PageSourceSearch

https://app.powerpitch.ai/vendor.e40bfee9e4ab807c.js

js powerpitch.ai collected 2026-10-05 13:52:17 UTC 1,234,172 bytes, 1 lines download raw bytes

1(self.webpackChunkpower_pitch_frontend=self.webpackChunkpower_pitch_frontend||[]).push([[736],{5200:(s,a,l)=>{"use strict";l.d(a,{zQ:()=>Xs});var t=l(4650),f=l(7579),_=l(9646),S=l(9751),D=l(8996),M=l(6451),k=l(5363),U=l(3900),te=l(4004),I=l(4782),z=l(590),H=l(576);function ee(lt,at){return(0,H.m)(at)?(0,U.w)(()=>lt,at):(0,U.w)(()=>lt)}var ae=l(9468),V=l(9300),Y=l(263),N=l(2011),O=l(6895);l(259);var Wt=l(5861),Ut=l(9681),Et=l(4859),dn=l(2090),rn=l(1877);const gn=new Map,Xt={activated:!1,tokenObservers:[]},Er={initialized:!1,enabled:!1};function _n(lt){return gn.get(lt)||Object.assign({},Xt)}function Bt(){return Er}class Sn{constructor(at,vt,Ft,an,Pn){if(this.operation=at,this.retryPolicy=vt,this.getWaitDuration=Ft,this.lowerBound=an,this.upperBound=Pn,this.pending=null,this.nextErrorWaitInterval=an,an>Pn)throw new Error("Proactive refresh lower bound greater than upper bound!")}start(){this.nextErrorWaitInterval=this.lowerBound,this.process(!0).catch(()=>{})}stop(){this.pending&&(this.pending.reject("cancelled"),this.pending=null)}isRunning(){return!!this.pending}process(at){var vt=this;return(0,Wt.Z)(function*(){vt.stop();try{vt.pending=new dn.BH,yield function tr(lt){return new Promise(at=>{setTimeout(at,lt)})}(vt.getNextRun(at)),vt.pending.resolve(),yield vt.pending.promise,vt.pending=new dn.BH,yield vt.operation(),vt.pending.resolve(),yield vt.pending.promise,vt.process(!0).catch(()=>{})}catch(Ft){vt.retryPolicy(Ft)?vt.process(!1).catch(()=>{}):vt.stop()}})()}getNextRun(at){if(at)return this.nextErrorWaitInterval=this.lowerBound,this.getWaitDuration();{const vt=this.nextErrorWaitInterval;return this.nextErrorWaitInterval*=2,this.nextErrorWaitInterval>this.upperBound&&(this.nextErrorWaitInterval=this.upperBound),vt}}}const cn=new dn.LL("appCheck","AppCheck",{"already-initialized":"You have already called initializeAppCheck() for FirebaseApp {$appName} with different options. To avoid this error, call initializeAppCheck() with the same options as when it was originally called. This will return the already initialized instance.","use-before-activation":"App Check is being used before initializeAppCheck() is called for FirebaseApp {$appName}. Call initializeAppCheck() before instantiating other Firebase services.","fetch-network-error":"Fetch failed to connect to a network. Check Internet connection. Original error: {$originalErrorMessage}.","fetch-parse-error":"Fetch client could not parse response. Original error: {$originalErrorMessage}.","fetch-status-error":"Fetch server returned an HTTP error status. HTTP status: {$httpStatus}.","storage-open":"Error thrown when opening storage. Original error: {$originalErrorMessage}.","storage-get":"Error thrown when reading from storage. Original error: {$originalErrorMessage}.","storage-set":"Error thrown when writing to storage. Original error: {$originalErrorMessage}.","recaptcha-error":"ReCAPTCHA error.",throttled:"Requests throttled due to {$httpStatus} error. Attempts allowed again after {$time}"});function Ln(lt){if(!_n(lt).activated)throw cn.create("use-before-activation",{appName:lt.name})}function mn(lt,at){return bn.apply(this,arguments)}function bn(){return(bn=(0,Wt.Z)(function*({url:lt,body:at},vt){const Ft={"Content-Type":"application/json"},an=vt.getImmediate({optional:!0});if(an){const dt=yield an.getHeartbeatsHeader();dt&&(Ft["X-Firebase-Client"]=dt)}const Pn={method:"POST",body:JSON.stringify(at),headers:Ft};let Rn,jr;try{Rn=yield fetch(lt,Pn)}catch(dt){throw cn.create("fetch-network-error",{originalErrorMessage:dt?.message})}if(200!==Rn.status)throw cn.create("fetch-status-error",{httpStatus:Rn.status});try{jr=yield Rn.json()}catch(dt){throw cn.create("fetch-parse-error",{originalErrorMessage:dt?.message})}const jn=jr.ttl.match(/^([\d.]+)(s)$/);if(!jn||!jn[2]||isNaN(Number(jn[1])))throw cn.create("fetch-parse-error",{originalErrorMessage:`ttl field (timeToLive) is not in standard Protobuf Duration format: ${jr.ttl}`});const Vs=1e3*Number(jn[1]),yi=Date.now();return{token:jr.token,expireTimeMillis:yi+Vs,issuedAtTimeMillis:yi}})).apply(this,arguments)}
1function Br(lt,at){const{projectId:vt,appId:Ft,apiKey:an}=lt.options;return{url:`https://content-firebaseappcheck.googleapis.com/v1/projects/${vt}/apps/${Ft}:exchangeDebugToken?key=${an}`,body:{debug_token:at}}}const Vr="firebase-app-check-store";let _t=null;function Vt(){return _t||(_t=new Promise((lt,at)=>{try{const vt=indexedDB.open("firebase-app-check-database",1);vt.onsuccess=Ft=>{lt(Ft.target.result)},vt.onerror=Ft=>{var an;at(cn.create("storage-open",{originalErrorMessage:null===(an=Ft.target.error)||void 0===an?void 0:an.message}))},vt.onupgradeneeded=Ft=>{0===Ft.oldVersion&&Ft.target.result.createObjectStore(Vr,{keyPath:"compositeKey"})}}catch(vt){at(cn.create("storage-open",{originalErrorMessage:vt?.message}))}}),_t)}function ot(){return(ot=(0,Wt.Z)(function*(lt,at){const Ft=(yield Vt()).transaction(Vr,"readwrite"),Pn=Ft.objectStore(Vr).put({compositeKey:lt,value:at});return new Promise((Rn,jr)=>{Pn.onsuccess=jn=>{Rn()},Ft.onerror=jn=>{var Vs;jr(cn.create("storage-set",{originalErrorMessage:null===(Vs=jn.target.error)||void 0===Vs?void 0:Vs.message}))}})})).apply(this,arguments)}const Oe=new rn.Yd("@firebase/app-check");function gt(lt,at){return(0,dn.hl)()?function qt(lt,at){return function yt(lt,at){return ot.apply(this,arguments)}(function St(lt){return`${lt.options.appId}-${lt.name}`}(lt),at)}(lt,at).catch(vt=>{Oe.warn(`Failed to write token to IndexedDB. Error: ${vt}`)}):Promise.resolve()}function Cn(){return Bt().enabled}function At(){return We.apply(this,arguments)}function We(){return(We=(0,Wt.Z)(function*(){const lt=Bt();if(lt.enabled&&lt.token)return lt.token.promise;throw Error("\n            Can't get debug token in production mode.\n        ")})).apply(this,arguments)}const B={error:"UNKNOWN_ERROR"};function ue(lt){return dn.US.encodeString(JSON.stringify(lt),!1)}function ve(lt){return Le.apply(this,arguments)}function Le(){return(Le=(0,Wt.Z)(function*(lt,at=!1){const vt=lt.app;Ln(vt);const Ft=_n(vt);let Pn,an=Ft.token;if(an&&!Ir(an)&&(Ft.token=void 0,an=void 0),!an){const jn=yield Ft.cachedTokenPromise;jn&&(Ir(jn)?an=jn:yield gt(vt,void 0))}if(!at&&an&&Ir(an))return{token:an.token};let jr,Rn=!1;if(Cn()){Ft.exchangeTokenPromise||(Ft.exchangeTokenPromise=mn(Br(vt,yield At()),lt.heartbeatServiceProvider).finally(()=>{Ft.exchangeTokenPromise=void 0}),Rn=!0);const jn=yield Ft.exchangeTokenPromise;return yield gt(vt,jn),Ft.token=jn,{token:jn.token}}try{Ft.exchangeTokenPromise||(Ft.exchangeTokenPromise=Ft.provider.getToken().finally(()=>{Ft.exchangeTokenPromise=void 0}),Rn=!0),an=yield _n(vt).exchangeTokenPromise}catch(jn){"appCheck/throttled"===jn.code?Oe.warn(jn.message):Oe.error(jn),Pn=jn}return an?Pn?jr=Ir(an)?{token:an.token,internalError:Pn}:Jn(Pn):(jr={token:an.token},Ft.token=an,yield gt(vt,an)):jr=Jn(Pn),Rn&&Zn(vt,jr),jr})).apply(this,arguments)}function Jt(lt,at){const vt=_n(lt),Ft=vt.tokenObservers.filter(an=>an.next!==at);0===Ft.length&&vt.tokenRefresher&&vt.tokenRefresher.isRunning()&&vt.tokenRefresher.stop(),vt.tokenObservers=Ft}function In(lt){const{app:at}=lt,vt=_n(at);let Ft=vt.tokenRefresher;Ft||(Ft=function er(lt){const{app:at}=lt;return new Sn((0,Wt.Z)(function*(){let Ft;if(Ft=_n(at).token?yield ve(lt,!0):yield ve(lt),Ft.error)throw Ft.error;if(Ft.internalError)throw Ft.internalError}),()=>!0,()=>{const vt=_n(at);if(vt.token){let Ft=vt.token.issuedAtTimeMillis+.5*(vt.token.expireTimeMillis-vt.token.issuedAtTimeMillis)+3e5;return Ft=Math.min(Ft,vt.token.expireTimeMillis-3e5),Math.max(0,Ft-Date.now())}return 0},3e4,96e4)}(lt),vt.tokenRefresher=Ft),!Ft.isRunning()&&vt.isTokenAutoRefreshEnabled&&Ft.start()}function Zn(lt,at){const vt=_n(lt).tokenObservers;for(const Ft of vt)try{"EXTERNAL"===Ft.type&&null!=at.error?Ft.error(at.error):Ft.next(at)}catch{}}function Ir(lt){return lt.expireTimeMillis-Date.now()>0}function Jn(lt){return{token:ue(B),error:lt}}class ti{constructor(at,vt){this.app=at,this.heartbeatServiceProvider=vt}_delete(){const{tokenObservers:at}=_n(this.app);for(const vt of at)Jt(this.app,vt.next);return Promise.resolve()}}const ft="app-check-internal";!function Dt(){(0,Ut._registerComponent)(new Et.wA("app-check",lt=>function Qi(lt,at){return new ti(lt,at)}(lt.getProvider("app").getImmediate(),lt.getProvider("heartbeat")),"PUBLIC").setInstantiationMode("EXPLICIT").setInstanceCreatedCallback((lt,at,vt)=>{lt.getProvider(ft).initialize()})),(0,Ut._registerComponent)(new Et.wA(ft,lt=>function bs(lt){return{getToken:at=>ve(lt,at),addTokenListener:at=>function Je(lt,at,vt,Ft){const{app:an}=lt,Pn=_n(an);if(Pn.tokenObservers=[...Pn.tokenObservers,{next:vt,error:Ft,type:at}],Pn.token&&Ir(Pn.token)){const jr=Pn.token;Promise.resolve().then(()=>{vt({token:jr.token}),In(lt)}).catch(()=>{})}Pn.cachedTokenPromise.then(()=>In(lt))}(lt,"INTERNAL",at),removeTokenListener:at=>Jt(lt.app,at)}}(lt.getProvider("app-check").getImmediate()),"PUBLIC").setInstantiationMode("EXPLICIT")),(0,Ut.registerVersion)("@firebase/app-check","0.6.3")}();class Bn{constructor(){return(0,Y.vb)("app-check")}}typeof window<"u"&&window,l(9260);const Es=new t.OlP("angularfire2.auth.use-emulator"),Xr=new t.OlP("angularfire2.auth.settings"),Bs=new t.OlP("angularfire2.auth.tenant-id"),Zs=new t.OlP("angularfire2.auth.langugage-code"),Ct=new t.OlP("angularfire2.auth.use-device-language"),co=new t.OlP("angularfire.auth.persistence");let Xs=(()=>{class lt{constructor(vt,Ft,an,Pn,Rn,jr,jn,Vs,yi,dt,Ke,bo){const Js=new f.x,as=(0,_.of)(void 0).pipe((0,k.Q)(Rn.outsideAngular),(0,U.w)(()=>Pn.runOutsideAngular(()=>l.e(568).then(l.bind(l,9568)))),(0,te.U)(()=>(0,N.on)(vt,Pn,Ft)),(0,te.U)(ps=>((lt,at,vt,Ft,an,Pn,Rn,jr)=>(0,N.cc)(`${lt.name}.auth`,"AngularFireAuth",lt.name,()=>{const jn=at.runOutsideAngular(()=>lt.auth());if(vt&&jn.useEmulator(...vt),Ft&&(jn.tenantId=Ft),jn.languageCode=an,Pn&&jn.useDeviceLanguage(),Rn)for(const[Vs,yi]of Object.entries(Rn))jn.settings[Vs]=yi;return jr&&jn.setPersistence(jr),jn},[vt,Ft,an,Pn,Rn,jr]))(ps,Pn,jr,Vs,yi,dt,jn,Ke)),(0,I.d)({bufferSize:1,refCount:!1}));if((0,O.PM)(an))this.authState=this.user=this.idToken=this.idTokenResult=this.credential=(0,_.of)(null);else{as.pipe((0,z.P)()).subscribe();const di=as.pipe((0,U.w)(hi=>hi.getRedirectResult().then(wr=>wr,()=>null)),Y.iC,(0,I.d)({bufferSize:1,refCount:!1})),Hs=as.pipe((0,U.w)(hi=>new S.y(wr=>({unsubscribe:Pn.runOutsideAngular(()=>hi.onAuthStateChanged(Ni=>wr.next(Ni),Ni=>wr.error(Ni),()=>wr.complete()))})))),Fi=as.pipe((0,U.w)(hi=>new S.y(wr=>({unsubscribe:Pn.runOutsideAngular(()=>hi.onIdTokenChanged(Ni=>wr.next(Ni),Ni=>wr.error(Ni),()=>wr.complete()))}))));this.authState=di.pipe(ee(Hs),(0,ae.R)(Rn.outsideAngular),(0,k.Q)(Rn.insideAngular)),this.user=di.pipe(ee(Fi),(0,ae.R)(Rn.outsideAngular),(0,k.Q)(Rn.insideAngular)),this.idToken=this.user.pipe((0,U.w)(hi=>hi?(0,D.D)(hi.getIdToken()):(0,_.of)(null))),this.idTokenResult=this.user.pipe((0,U.w)(hi=>hi?(0,D.D)(hi.getIdTokenResult()):(0,_.of)(null))),this.credential=(0,M.T)(di,Js,this.authState.pipe((0,V.h)(hi=>!hi))).pipe((0,te.U)(hi=>hi?.user?hi:null),(0,ae.R)(Rn.outsideAngular),(0,k.Q)(Rn.insideAngular))}return(0,N.pX)(this,as,Pn,{spy:{apply:(ps,di,Hs)=>{(ps.startsWith("signIn")||ps.startsWith("createUser"))&&Hs.then(Fi=>Js.next(Fi))}}})}}return lt.\u0275fac=function(vt){return new(vt||lt)(t.LFG(N.Dh),t.LFG(N.xv,8),t.LFG(t.Lbi),t.LFG(t.R0b),t.LFG(Y.HU),t.LFG(Es,8),t.LFG(Xr,8),t.LFG(Bs,8),t.LFG(Zs,8),t.LFG(Ct,8),t.LFG(co,8),t.LFG(Bn,8))},lt.\u0275prov=t.Yz7({token:lt,factory:lt.\u0275fac,providedIn:"any"}),lt})()},2011:(s,a,l)=>{"use strict";l.d(a,{Dh:()=>U,GT:()=>M,cc:()=>ae,hO:()=>ee,on:()=>I,pX:()=>D,xv:()=>te});var t=l(4650),f=l(9260),_=l(263);s=l.hmd(s);const S=["ngOnDestroy"],D=(O,X,J,pe={})=>new Proxy(O,{get:(me,Fe)=>J.runOutsideAngular(()=>{var He;if(O[Fe])return!(null===(He=pe?.spy)||void 0===He)&&He.get&&pe.spy.get(Fe,O[Fe]),O[Fe];if(S.indexOf(Fe)>-1)return()=>{};
1const xe=X.toPromise().then(Ne=>{const ze=Ne&&Ne[Fe];return"function"==typeof ze?ze.bind(Ne):ze&&ze.then?ze.then(ke=>J.run(()=>ke)):J.run(()=>ze)});return new Proxy(()=>{},{get:(Ne,ze)=>xe[ze],apply:(Ne,ze,ke)=>xe.then(De=>{var Ce;const oe=De&&De(...ke);return!(null===(Ce=pe?.spy)||void 0===Ce)&&Ce.apply&&pe.spy.apply(Fe,ke,oe),oe})})})}),M=(O,X)=>{X.forEach(J=>{Object.getOwnPropertyNames(J.prototype||J).forEach(pe=>{Object.defineProperty(O.prototype,pe,Object.getOwnPropertyDescriptor(J.prototype||J,pe))})})};class k{constructor(X){return X}}const U=new t.OlP("angularfire2.app.options"),te=new t.OlP("angularfire2.app.name");function I(O,X,J){const me="object"==typeof J&&J||{};me.name=me.name||"string"==typeof J&&J||"[DEFAULT]";const He=f.Z.apps.filter(xe=>xe&&xe.name===me.name)[0]||X.runOutsideAngular(()=>f.Z.initializeApp(O,me));try{JSON.stringify(O)!==JSON.stringify(He.options)&&z("error",`${He.name} Firebase App already initialized with different options${s.hot?", you may need to reload as Firebase is not HMR aware.":"."}`)}catch{}return new k(He)}const z=(O,...X)=>{(0,t.X6Q)()&&typeof console<"u"&&console[O](...X)},H={provide:k,useFactory:I,deps:[U,t.R0b,[new t.FiY,te]]};let ee=(()=>{class O{constructor(J){f.Z.registerVersion("angularfire",_.q4.full,"core"),f.Z.registerVersion("angularfire",_.q4.full,"app-compat"),f.Z.registerVersion("angular",t.q4F.full,J.toString())}static initializeApp(J,pe){return{ngModule:O,providers:[{provide:U,useValue:J},{provide:te,useValue:pe}]}}}return O.\u0275fac=function(J){return new(J||O)(t.LFG(t.Lbi))},O.\u0275mod=t.oAB({type:O}),O.\u0275inj=t.cJS({providers:[H]}),O})();function ae(O,X,J,pe,me){const[,Fe,He]=globalThis.\u0275AngularfireInstanceCache.find(xe=>xe[0]===O)||[];if(Fe)return function V(O,X){try{return O.toString()===X.toString()}catch{return O===X}}(me,He)||(N("error",`${X} was already initialized on the ${J} Firebase App with different settings.${Y?" You may need to reload as Firebase is not HMR aware.":""}`),N("warn",{is:me,was:He})),Fe;{const xe=pe();return globalThis.\u0275AngularfireInstanceCache.push([O,xe,me]),xe}}const Y=!!s.hot,N=(O,...X)=>{(0,t.X6Q)()&&typeof console<"u"&&console[O](...X)};globalThis.\u0275AngularfireInstanceCache||(globalThis.\u0275AngularfireInstanceCache=[])},263:(s,a,l)=>{"use strict";l.d(a,{q4:()=>cl,iC:()=>dl,HU:()=>cs,vb:()=>Yn,JM:()=>An});var t=l(4650),f=l(259),_=l(5861),S=l(9681),D=l(2090),M=l(4859),k=l(1877),U=l(8766);const te="@firebase/installations",I="0.6.3",H=`w:${I}`,ee="FIS_v2",X=new D.LL("installations","Installations",{"missing-app-config-values":'Missing App configuration value: "{$valueName}"',"not-registered":"Firebase Installation is not registered.","installation-not-found":"Firebase Installation not found.","request-failed":'{$requestName} request failed with error "{$serverCode} {$serverStatus}: {$serverMessage}"',"app-offline":"Could not process request. Application offline.","delete-pending-registration":"Can't delete installation while there is a pending registration request."});function J(re){return re instanceof D.ZR&&re.code.includes("request-failed")}function pe({projectId:re}){return`https://firebaseinstallations.googleapis.com/v1/projects/${re}/installations`}function me(re){return{token:re.token,requestStatus:2,expiresIn:De(re.expiresIn),creationTime:Date.now()}}function Fe(re,fe){return He.apply(this,arguments)}function He(){return(He=(0,_.Z)(function*(re,fe){const et=(yield fe.json()).error;return X.create("request-failed",{requestName:re,serverCode:et.code,serverMessage:et.message,serverStatus:et.status})})).apply(this,arguments)}function xe({apiKey:re}){return new Headers({"Content-Type":"application/json",Accept:"application/json","x-goog-api-key":re})}function Ne(re,{refreshToken:fe}){const Ie=xe(re);return Ie.append("Authorization",function Ce(re){return`${ee} ${re}`}(fe)),Ie}function ze(re){return ke.apply(this,arguments)}function ke(){return(ke=(0,_.Z)(function*(re){const fe=yield re();return fe.status>=500&&fe.status<600?re():fe})).apply(this,arguments)}function De(re){return Number(re.replace("s","000"))}function oe(re,fe){return he.apply(this,arguments)}
1function he(){return(he=(0,_.Z)(function*({appConfig:re,heartbeatServiceProvider:fe},{fid:Ie}){const et=pe(re),mt=xe(re),Ot=fe.getImmediate({optional:!0});if(Ot){const _r=yield Ot.getHeartbeatsHeader();_r&&mt.append("x-firebase-client",_r)}const Vn={method:"POST",headers:mt,body:JSON.stringify({fid:Ie,authVersion:ee,appId:re.appId,sdkVersion:H})},lr=yield ze(()=>fetch(et,Vn));if(lr.ok){const _r=yield lr.json();return{fid:_r.fid||Ie,registrationStatus:2,refreshToken:_r.refreshToken,authToken:me(_r.authToken)}}throw yield Fe("Create Installation",lr)})).apply(this,arguments)}function be(re){return new Promise(fe=>{setTimeout(fe,re)})}const st=/^[cdef][\w-]{21}$/;function Wt(){try{const re=new Uint8Array(17);(self.crypto||self.msCrypto).getRandomValues(re),re[0]=112+re[0]%16;const Ie=function Ut(re){return function tt(re){return btoa(String.fromCharCode(...re)).replace(/\+/g,"-").replace(/\//g,"_")}(re).substr(0,22)}(re);return st.test(Ie)?Ie:""}catch{return""}}function Et(re){return`${re.appName}!${re.appId}`}const dn=new Map;function rn(re,fe){const Ie=Et(re);Er(Ie,fe),function _n(re,fe){const Ie=function Bt(){return!Nn&&"BroadcastChannel"in self&&(Nn=new BroadcastChannel("[Firebase] FID Change"),Nn.onmessage=re=>{Er(re.data.key,re.data.fid)}),Nn}();Ie&&Ie.postMessage({key:re,fid:fe}),function Hn(){0===dn.size&&Nn&&(Nn.close(),Nn=null)}()}(Ie,fe)}function Er(re,fe){const Ie=dn.get(re);if(Ie)for(const et of Ie)et(fe)}let Nn=null;const nr="firebase-installations-store";let $n=null;function Wn(){return $n||($n=(0,U.X3)("firebase-installations-database",1,{upgrade:(re,fe)=>{0===fe&&re.createObjectStore(nr)}})),$n}function Sn(re,fe){return tr.apply(this,arguments)}function tr(){return(tr=(0,_.Z)(function*(re,fe){const Ie=Et(re),mt=(yield Wn()).transaction(nr,"readwrite"),Ot=mt.objectStore(nr),tn=yield Ot.get(Ie);return yield Ot.put(fe,Ie),yield mt.done,(!tn||tn.fid!==fe.fid)&&rn(re,fe.fid),fe})).apply(this,arguments)}function fn(re){return cn.apply(this,arguments)}function cn(){return(cn=(0,_.Z)(function*(re){const fe=Et(re),et=(yield Wn()).transaction(nr,"readwrite");yield et.objectStore(nr).delete(fe),yield et.done})).apply(this,arguments)}function Fn(re,fe){return Ln.apply(this,arguments)}function Ln(){return(Ln=(0,_.Z)(function*(re,fe){const Ie=Et(re),mt=(yield Wn()).transaction(nr,"readwrite"),Ot=mt.objectStore(nr),tn=yield Ot.get(Ie),Vn=fe(tn);return void 0===Vn?yield Ot.delete(Ie):yield Ot.put(Vn,Ie),yield mt.done,Vn&&(!tn||tn.fid!==Vn.fid)&&rn(re,Vn.fid),Vn})).apply(this,arguments)}function hr(re){return Dr.apply(this,arguments)}function Dr(){return(Dr=(0,_.Z)(function*(re){let fe;const Ie=yield Fn(re.appConfig,et=>{const mt=mn(et),Ot=bn(re,mt);return fe=Ot.registrationPromise,Ot.installationEntry});return""===Ie.fid?{installationEntry:yield fe}:{installationEntry:Ie,registrationPromise:fe}})).apply(this,arguments)}function mn(re){return Vr(re||{fid:Wt(),registrationStatus:0})}function bn(re,fe){if(0===fe.registrationStatus){if(!navigator.onLine)return{installationEntry:fe,registrationPromise:Promise.reject(X.create("app-offline"))};const Ie={fid:fe.fid,registrationStatus:1,registrationTime:Date.now()},et=function Gt(re,fe){return Tn.apply(this,arguments)}(re,Ie);return{installationEntry:Ie,registrationPromise:et}}return 1===fe.registrationStatus?{installationEntry:fe,registrationPromise:Br(re)}:{installationEntry:fe}}function Tn(){return(Tn=(0,_.Z)(function*(re,fe){try{const Ie=yield oe(re,fe);return Sn(re.appConfig,Ie)}catch(Ie){throw J(Ie)&&409===Ie.customData.serverCode?yield fn(re.appConfig):yield Sn(re.appConfig,{fid:fe.fid,registrationStatus:0}),Ie}})).apply(this,arguments)}function Br(re){return yr.apply(this,arguments)}function yr(){return(yr=(0,_.Z)(function*(re){let fe=yield $r(re.appConfig);for(;1===fe.registrationStatus;)yield be(100),fe=yield $r(re.appConfig);if(0===fe.registrationStatus){const{installationEntry:Ie,registrationPromise:et}=yield hr(re);return et||Ie}return fe})).apply(this,arguments)}function $r(re){return Fn(re,fe=>{if(!fe)throw X.create("installation-not-found");return Vr(fe)})}function Vr(re){return function Tr(re){return 1===re.registrationStatus&&re.registrationTime+1e4<Date.now()}(re)?{fid:re.fid,registrationStatus:0}:re}function _t(re,fe){return Vt.apply(this,arguments)}function Vt(){return(Vt=(0,_.Z)(function*({appConfig:re,heartbeatServiceProvider:fe},Ie){const et=Tt(re,Ie),mt=Ne(re,Ie),Ot=fe.getImmediate({optional:!0});if(Ot){const _r=yield Ot.getHeartbeatsHeader();_r&&mt.append("x-firebase-client",_r)}const Vn={method:"POST",headers:mt,body:JSON.stringify({installation:{sdkVersion:H,appId:re.a
1ppId}})},lr=yield ze(()=>fetch(et,Vn));if(lr.ok)return me(yield lr.json());throw yield Fe("Generate Auth Token",lr)})).apply(this,arguments)}function Tt(re,{fid:fe}){return`${pe(re)}/${fe}/authTokens:generate`}function qt(re){return sn.apply(this,arguments)}function sn(){return(sn=(0,_.Z)(function*(re,fe=!1){let Ie;const et=yield Fn(re.appConfig,Ot=>{if(!St(Ot))throw X.create("not-registered");const tn=Ot.authToken;if(!fe&&Oe(tn))return Ot;if(1===tn.requestStatus)return Ie=Nt(re,fe),Ot;{if(!navigator.onLine)throw X.create("app-offline");const Vn=Qe(Ot);return Ie=Ue(re,Vn),Vn}});return Ie?yield Ie:et.authToken})).apply(this,arguments)}function Nt(re,fe){return yt.apply(this,arguments)}function yt(){return(yt=(0,_.Z)(function*(re,fe){let Ie=yield ot(re.appConfig);for(;1===Ie.authToken.requestStatus;)yield be(100),Ie=yield ot(re.appConfig);const et=Ie.authToken;return 0===et.requestStatus?qt(re,fe):et})).apply(this,arguments)}function ot(re){return Fn(re,fe=>{if(!St(fe))throw X.create("not-registered");return function gt(re){return 1===re.requestStatus&&re.requestTime+1e4<Date.now()}(fe.authToken)?Object.assign(Object.assign({},fe),{authToken:{requestStatus:0}}):fe})}function Ue(re,fe){return Ye.apply(this,arguments)}function Ye(){return(Ye=(0,_.Z)(function*(re,fe){try{const Ie=yield _t(re,fe),et=Object.assign(Object.assign({},fe),{authToken:Ie});return yield Sn(re.appConfig,et),Ie}catch(Ie){if(!J(Ie)||401!==Ie.customData.serverCode&&404!==Ie.customData.serverCode){const et=Object.assign(Object.assign({},fe),{authToken:{requestStatus:0}});yield Sn(re.appConfig,et)}else yield fn(re.appConfig);throw Ie}})).apply(this,arguments)}function St(re){return void 0!==re&&2===re.registrationStatus}function Oe(re){return 2===re.requestStatus&&!function Ge(re){const fe=Date.now();return fe<re.creationTime||re.creationTime+re.expiresIn<fe+36e5}(re)}function Qe(re){const fe={requestStatus:1,requestTime:Date.now()};return Object.assign(Object.assign({},re),{authToken:fe})}function zt(){return(zt=(0,_.Z)(function*(re){const fe=re,{installationEntry:Ie,registrationPromise:et}=yield hr(fe);return et?et.catch(console.error):qt(fe).catch(console.error),Ie.fid})).apply(this,arguments)}function At(){return(At=(0,_.Z)(function*(re,fe=!1){const Ie=re;return yield We(Ie),(yield qt(Ie,fe)).token})).apply(this,arguments)}function We(re){return Ve.apply(this,arguments)}function Ve(){return(Ve=(0,_.Z)(function*(re){const{registrationPromise:fe}=yield hr(re);fe&&(yield fe)})).apply(this,arguments)}function Zn(re){return X.create("missing-app-config-values",{valueName:re})}const Ir="installations",ti=re=>{const fe=re.getProvider("app").getImmediate(),Ie=function er(re){if(!re||!re.options)throw Zn("App Configuration");if(!re.name)throw Zn("App Name");const fe=["projectId","apiKey","appId"];for(const Ie of fe)if(!re.options[Ie])throw Zn(Ie);return{appName:re.name,projectId:re.options.projectId,apiKey:re.options.apiKey,appId:re.options.appId}}(fe);return{app:fe,appConfig:Ie,heartbeatServiceProvider:(0,S._getProvider)(fe,"heartbeat"),_delete:()=>Promise.resolve()}},Qi=re=>{const fe=re.getProvider("app").getImmediate(),Ie=(0,S._getProvider)(fe,Ir).getImmediate();return{getId:()=>function it(re){return zt.apply(this,arguments)}(Ie),getToken:mt=>function Cn(re){return At.apply(this,arguments)}(Ie,mt)}};(function bs(){(0,S._registerComponent)(new M.wA(Ir,ti,"PUBLIC")),(0,S._registerComponent)(new M.wA("installations-internal",Qi,"PRIVATE"))})(),(0,S.registerVersion)(te,I),(0,S.registerVersion)(te,I,"esm2017");const Ui="@firebase/remote-config",Yr=new D.LL("remoteconfig","Remote Config",{"registration-window":"Undefined window object. This SDK only supports usage in a browser environment.","registration-project-id":"Undefined project identifier. Check Firebase app initialization.","registration-api-key":"Undefined API key. Check Firebase app initialization.","registration-app-id":"Undefined app identifier. Check Firebase app initialization.","storage-open":"Error thrown when opening storage. Original error: {$originalErrorMessage}.","storage-get":"Error thrown when reading from storage. Original error: {$originalErrorMessage}.","storage-set":"Error thrown when writing to storage. Original error: {$originalErrorMessage}.","storage-delete":"Error thrown when deleting from storage. Original error: {$originalErrorMessage}.","fetch-client-network":"Fetch client failed to connect to a network. Check Internet connection. Original error: {$originalErrorMessage}.","fetch-timeout":'The config fetch request timed out.  Configure timeout using "fetchTimeoutMillis" SDK setting.',"fetch-throttle":'The config fetch request timed out while in an exponential backoff state. Configure timeout using "fetchTimeoutMillis" SDK setting. Unix timestamp in milliseconds when fetch request throttling ends: {$throttleEndTimeMillis}.',"fetch-client-parse":"Fetch client could not parse response. Original error: {$originalErrorMessage}.","fetch-status":"Fetch server returned an HTTP error status. HTTP status: {$httpStatus}.","indexed-db-unavailable":"Indexed DB is not supported by current browser"});class ft{constructor(fe,Ie,et,mt){this.client=fe,this.storage=Ie,this.storageCache=et,this.logger=mt}
1isCachedDataFresh(fe,Ie){if(!Ie)return this.logger.debug("Config fetch cache check. Cache unpopulated."),!1;const et=Date.now()-Ie,mt=et<=fe;return this.logger.debug(`Config fetch cache check. Cache age millis: ${et}. Cache max age millis (minimumFetchIntervalMillis setting): ${fe}. Is cache hit: ${mt}.`),mt}fetch(fe){var Ie=this;return(0,_.Z)(function*(){const[et,mt]=yield Promise.all([Ie.storage.getLastSuccessfulFetchTimestampMillis(),Ie.storage.getLastSuccessfulFetchResponse()]);if(mt&&Ie.isCachedDataFresh(fe.cacheMaxAgeMillis,et))return mt;fe.eTag=mt&&mt.eTag;const Ot=yield Ie.client.fetch(fe),tn=[Ie.storageCache.setLastSuccessfulFetchTimestampMillis(Date.now())];return 200===Ot.status&&tn.push(Ie.storage.setLastSuccessfulFetchResponse(Ot)),yield Promise.all(tn),Ot})()}}function Dt(re=navigator){return re.languages&&re.languages[0]||re.language}class Ht{constructor(fe,Ie,et,mt,Ot,tn){this.firebaseInstallations=fe,this.sdkVersion=Ie,this.namespace=et,this.projectId=mt,this.apiKey=Ot,this.appId=tn}fetch(fe){var Ie=this;return(0,_.Z)(function*(){const[et,mt]=yield Promise.all([Ie.firebaseInstallations.getId(),Ie.firebaseInstallations.getToken()]),tn=`${window.FIREBASE_REMOTE_CONFIG_URL_BASE||"https://firebaseremoteconfig.googleapis.com"}/v1/projects/${Ie.projectId}/namespaces/${Ie.namespace}:fetch?key=${Ie.apiKey}`,Vn={"Content-Type":"application/json","Content-Encoding":"gzip","If-None-Match":fe.eTag||"*"},lr={sdk_version:Ie.sdkVersion,app_instance_id:et,app_instance_id_token:mt,app_id:Ie.appId,language_code:Dt()},_r={method:"POST",headers:Vn,body:JSON.stringify(lr)},Nr=fetch(tn,_r),Mr=new Promise((ao,mo)=>{fe.signal.addEventListener(()=>{const Ia=new Error("The operation was aborted.");Ia.name="AbortError",mo(Ia)})});let js;try{yield Promise.race([Nr,Mr]),js=yield Nr}catch(ao){let mo="fetch-client-network";throw"AbortError"===ao?.name&&(mo="fetch-timeout"),Yr.create(mo,{originalErrorMessage:ao?.message})}let Ki=js.status;const Va=js.headers.get("ETag")||void 0;let ma,Da;if(200===js.status){let ao;try{ao=yield js.json()}catch(mo){throw Yr.create("fetch-client-parse",{originalErrorMessage:mo?.message})}ma=ao.entries,Da=ao.state}if("INSTANCE_STATE_UNSPECIFIED"===Da?Ki=500:"NO_CHANGE"===Da?Ki=304:("NO_TEMPLATE"===Da||"EMPTY_CONFIG"===Da)&&(ma={}),304!==Ki&&200!==Ki)throw Yr.create("fetch-status",{httpStatus:Ki});return{status:Ki,eTag:Va,config:ma}})()}}class Pr{constructor(fe,Ie){this.client=fe,this.storage=Ie}fetch(fe){var Ie=this;return(0,_.Z)(function*(){const et=(yield Ie.storage.getThrottleMetadata())||{backoffCount:0,throttleEndTimeMillis:Date.now()};return Ie.attemptFetch(fe,et)})()}attemptFetch(fe,{throttleEndTimeMillis:Ie,backoffCount:et}){var mt=this;return(0,_.Z)(function*(){yield function en(re,fe){return new Promise((Ie,et)=>{const mt=Math.max(fe-Date.now(),0),Ot=setTimeout(Ie,mt);re.addEventListener(()=>{clearTimeout(Ot),et(Yr.create("fetch-throttle",{throttleEndTimeMillis:fe}))})})}(fe.signal,Ie);try{const Ot=yield mt.client.fetch(fe);return yield mt.storage.deleteThrottleMetadata(),Ot}catch(Ot){if(!function Bn(re){if(!(re instanceof D.ZR&&re.customData))return!1;const fe=Number(re.customData.httpStatus);return 429===fe||500===fe||503===fe||504===fe}(Ot))throw Ot;const tn={throttleEndTimeMillis:Date.now()+(0,D.$s)(et),backoffCount:et+1};return yield mt.storage.setThrottleMetadata(tn),mt.attemptFetch(fe,tn)}})()}}class ar{constructor(fe,Ie,et,mt,Ot){this.app=fe,this._client=Ie,this._storageCache=et,this._storage=mt,this._logger=Ot,this._isInitializationComplete=!1,this.settings={fetchTimeoutMillis:6e4,minimumFetchIntervalMillis:432e5},this.defaultConfig={}}get fetchTimeMillis(){return this._storageCache.getLastSuccessfulFetchTimestampMillis()||-1}get lastFetchStatus(){return this._storageCache.getLastFetchStatus()||"no-fetch-yet"}}function fr(re,fe){const Ie=re.target.error||void 0;return Yr.create(fe,{originalErrorMessage:Ie&&Ie?.message})}const xi="app_namespace_store";class Xn{constructor(fe,Ie,et,mt=function Si(){return new Promise((re,fe)=>{try{const Ie=indexedDB.open("firebase_remote_config",1);Ie.onerror=et=>{fe(fr(et,"storage-open"))},Ie.onsuccess=et=>{re(et.target.result)},Ie.onupgradeneeded=et=>{0===et.oldVersion&&et.target.result.createObjectStore(xi,{keyPath:"compositeKey"})}}catch(Ie){fe(Yr.create("storage-open",{originalErrorMessage:Ie?.message}))}})}()){this.appId=fe,this.appName=Ie,this.namespace=et,this.openDbPromise=mt}getLastFetchStatus(){return this.get("last_fetch_status")}setLastFetchStatus(fe){return this.set("last_fetch_status",fe)}getLastSuccessfulFetchTimestampMillis(){return this.get("last_successful_fetch_timestamp_millis")}setLastSuccessfulFetchTimestampMillis(fe){return this.set("last_successful_fetch_timestamp_millis",fe)}getLastSuccessfulFetchResponse(){return this.get("last_successful_fetch_response")}setLastSuccessfulFetchResponse(fe){return this.set("last_successful_fetch_response",fe)}getActiveConfig(){return this.get("active_config")}setActiveConfig(fe){return this.set("active_config",fe)}getActiveConfigEtag(){return this.get("active_config_etag")}setActiveConfigEtag(fe){return this.set("active_config_etag",fe)}getThrottleMetadata(){return this.get("throttle_metadata")}setThrottleMetadata(fe){return this.set("throttle_metadata",fe)}deleteThrottleMetadata(){return this.delete("throttle_metadata")}get(fe){var Ie=this;return(0,_.Z)(function*(){const et=yield Ie.openDbPromise;return new Promise((mt,Ot)=>{const Vn=et.transaction([xi],"readonly").objectStore(xi),lr=Ie.createCompositeKey(fe);try{const _r=Vn.get(lr);_r.onerror=Nr=>{Ot(fr(Nr,"storage-get"))},_r.onsuccess=Nr=>{const Mr=Nr.target.result;mt(Mr?Mr.value:void 0)}}catch(_r){Ot(Yr.create("storage-get",{originalErrorMessage:_r?.message}))}})})()}set(fe,Ie){var et=this;return(0,_.Z)(function*(){const mt=yield et.openDbPromise;return new Promise((Ot,tn)=>{const lr=mt.transaction([xi],"readwrite").objectStore(xi),_r=et.createCompositeKey(fe);try{const Nr=lr.put({compositeKey:_r,value:Ie});Nr.onerror=Mr=>{tn(fr(Mr,"storage-set"))},Nr.onsuccess=()=>{Ot()}}catch(Nr){tn(Yr.create("storage-set",{originalErrorMessage:Nr?.message}))}})})()}delete(fe){var Ie=this;return(0,_.Z)(function*(){const et=yield Ie.openDbPromise;return new Promise((mt,Ot)=>{const Vn=et.transaction([xi],"readwrite").objectStore(xi),lr=Ie.createCompositeKey(fe);try{const _r=Vn.delete(lr);_r.onerror=Nr=>{Ot(fr(Nr,"storage-delete"))},_r.onsuccess=()=>{mt()}}catch(_r){Ot(Yr.create("storage-delete",{originalErrorMessage:_r?.message}))}})})()}createCompositeKey(fe){return[this.appId,this.appName,this.namespace,fe].join()}}class pn{constructor(fe){this.storage=fe}getLastFetchStatus(){return this.lastFetchStatus}getLastSuccessfulFetchTimestampMillis(){return this.lastSuccessfulFetchTimestampMillis}getActiveConfig(){return this.activeConfig}loadFromStorage(){var fe=this;return(0,_.Z)(function*(){const Ie=fe.storage.getLastFetchStatus(),et=fe.storage.getLastSuccessfulFetchTimestampMillis(),mt=fe.storage.getActiveConfig(),Ot=yield Ie;Ot&&(fe.lastFetchStatus=Ot);const tn=yield et;tn&&(fe.lastSuccessfulFetchTimestampMillis=tn);const Vn=yield mt;Vn&&(fe.activeConfig=Vn)})()}setLastFetchStatus(fe){return this.lastFetchStatus=fe,this.storage.setLastFetchStatus(fe)}setLastSuccessfulFetchTimestampMillis(fe){return this.lastSuccessfulFetchTimestampMillis=fe,this.storage.setLastSuccessfulFetchTimestampMillis(fe)}setActiveConfig(fe){return this.activeConfig=fe,this.storage.setActiveConfig(fe)}}function Sr(){return Zr.apply(this,arguments)}function Zr(){return(Zr=(0,_.Z)(function*(){if(!(0,D.hl)())return!1;try{return yield(0,D.eu)()}catch{return!1}}
1)).apply(this,arguments)}!function xs(){(0,S._registerComponent)(new M.wA("remote-config",function re(fe,{instanceIdentifier:Ie}){const et=fe.getProvider("app").getImmediate(),mt=fe.getProvider("installations-internal").getImmediate();if(typeof window>"u")throw Yr.create("registration-window");if(!(0,D.hl)())throw Yr.create("indexed-db-unavailable");const{projectId:Ot,apiKey:tn,appId:Vn}=et.options;if(!Ot)throw Yr.create("registration-project-id");if(!tn)throw Yr.create("registration-api-key");if(!Vn)throw Yr.create("registration-app-id");const lr=new Xn(Vn,et.name,Ie=Ie||"firebase"),_r=new pn(lr),Nr=new k.Yd(Ui);Nr.logLevel=k.in.ERROR;const Mr=new Ht(mt,S.SDK_VERSION,Ie,Ot,tn,Vn),js=new Pr(Mr,lr),Ki=new ft(js,lr,_r,Nr),Va=new ar(et,Ki,_r,lr,Nr);return function gr(re){const fe=(0,D.m9)(re);fe._initializePromise||(fe._initializePromise=fe._storageCache.loadFromStorage().then(()=>{fe._isInitializationComplete=!0}))}(Va),Va},"PUBLIC").setMultipleInstances(!0)),(0,S.registerVersion)(Ui,"0.4.3"),(0,S.registerVersion)(Ui,"0.4.3","esm2017")}();const hs="/firebase-messaging-sw.js",Es="/firebase-cloud-messaging-push-scope",Xr="BDOU99-h67HcA6JeFXHbSNMu7e2yNNu3RzoMj8TM4W88jITfq7ZmPvIM1Iv-4_l2LxQcYwhqby2xGpWwzjfAnG4",Zs="google.c.a.c_id",Ct="google.c.a.c_l",co="google.c.a.ts",fs="google.c.a.e";var Os=(()=>{return(re=Os||(Os={})).PUSH_RECEIVED="push-received",re.NOTIFICATION_CLICKED="notification-clicked",Os;var re})();function lt(re){const fe=new Uint8Array(re);return btoa(String.fromCharCode(...fe)).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function at(re){const Ie=(re+"=".repeat((4-re.length%4)%4)).replace(/\-/g,"+").replace(/_/g,"/"),et=atob(Ie),mt=new Uint8Array(et.length);for(let Ot=0;Ot<et.length;++Ot)mt[Ot]=et.charCodeAt(Ot);return mt}const vt="fcm_token_details_db",an="fcm_token_object_Store";function Pn(re){return Rn.apply(this,arguments)}function Rn(){return Rn=(0,_.Z)(function*(re){if("databases"in indexedDB&&!(yield indexedDB.databases()).map(Ot=>Ot.name).includes(vt))return null;let fe=null;return(yield(0,U.X3)(vt,5,{upgrade:(et=(0,_.Z)(function*(mt,Ot,tn,Vn){var lr;if(Ot<2||!mt.objectStoreNames.contains(an))return;const _r=Vn.objectStore(an),Nr=yield _r.index("fcmSenderId").get(re);if(yield _r.clear(),Nr)if(2===Ot){const Mr=Nr;if(!Mr.auth||!Mr.p256dh||!Mr.endpoint)return;fe={token:Mr.fcmToken,createTime:null!==(lr=Mr.createTime)&&void 0!==lr?lr:Date.now(),subscriptionOptions:{auth:Mr.auth,p256dh:Mr.p256dh,endpoint:Mr.endpoint,swScope:Mr.swScope,vapidKey:"string"==typeof Mr.vapidKey?Mr.vapidKey:lt(Mr.vapidKey)}}}else if(3===Ot){const Mr=Nr;fe={token:Mr.fcmToken,createTime:Mr.createTime,subscriptionOptions:{auth:lt(Mr.auth),p256dh:lt(Mr.p256dh),endpoint:Mr.endpoint,swScope:Mr.swScope,vapidKey:lt(Mr.vapidKey)}}}else if(4===Ot){const Mr=Nr;fe={token:Mr.fcmToken,createTime:Mr.createTime,subscriptionOptions:{auth:lt(Mr.auth),p256dh:lt(Mr.p256dh),endpoint:Mr.endpoint,swScope:Mr.swScope,vapidKey:lt(Mr.vapidKey)}}}}),function(Ot,tn,Vn,lr){return et.apply(this,arguments)})})).close(),yield(0,U.Lj)(vt),yield(0,U.Lj)("fcm_vapid_details_db"),yield(0,U.Lj)("undefined"),jr(fe)?fe:null;var et}),Rn.apply(this,arguments)}function jr(re){if(!re||!re.subscriptionOptions)return!1;const{subscriptionOptions:fe}=re;return"number"==typeof re.createTime&&re.createTime>0&&"string"==typeof re.token&&re.token.length>0&&"string"==typeof fe.auth&&fe.auth.length>0&&"string"==typeof fe.p256dh&&fe.p256dh.length>0&&"string"==typeof fe.endpoint&&fe.endpoint.length>0&&"string"==typeof fe.swScope&&fe.swScope.length>0&&"string"==typeof fe.vapidKey&&fe.vapidKey.length>0}const yi="firebase-messaging-store";let dt=null;function Ke(){return dt||(dt=(0,U.X3)("firebase-messaging-database",1,{upgrade:(re,fe)=>{0===fe&&re.createObjectStore(yi)}})),dt}function bo(re){return Js.apply(this,arguments)}function Js(){return(Js=(0,_.Z)(function*(re){const fe=Fi(re),et=yield(yield Ke()).transaction(yi).objectStore(yi).get(fe);if(et)return et;{const mt=yield Pn(re.appConfig.senderId);if(mt)return yield as(re,mt),mt}})).apply(this,arguments)}function as(re,fe){return ps.apply(this,arguments)}function ps(){return(ps=(0,_.Z)(function*(re,fe){const Ie=Fi(re),mt=(yield Ke()).transaction(yi,"readwrite");return yield mt.objectStore(yi).put(fe,Ie),yield mt.done,fe})).apply(this,arguments)}function di(re){return Hs.apply(this,arguments)}function Hs(){return(Hs=(0,_.Z)(function*(re){const fe=Fi(re),et=(yield Ke()).transaction(yi,"readwrite");yield et.objectStore(yi).delete(fe),yield et.done})).apply(this,arguments)}function Fi({appConfig:re}){return re.appId}const wr=new D.LL("messaging","Messaging",{"missing-app-config-values":'Missing App configuration value: "{$valueName}"',"only-available-in-window":"This method is available in a Window context.","only-available-in-sw":"This method is available in a service worker context.","permission-default":"The notification permission was not granted and dismissed instead.","permission-blocked":"The notification permission was not granted and blocked instead.","unsupported-browser":"This browser doesn't support the API's required to use the Firebase SDK.","indexed-db-unsupported":"This browser doesn't support indexedDb.open() (ex. Safari iFrame, Firefox Private Browsing, etc)","failed-service-worker-registration":"We are unable to register the default service worker. {$browserErrorMessage}","token-subscribe-failed":"A problem occurred while subscribing the user to FCM: {$errorInfo}","token-subscribe-no-token":"FCM returned no token when subscribing the user to push.","token-unsubscribe-failed":"A problem occurred while unsubscribing the user from FCM: {$errorInfo}","token-update-failed":"A problem occurred while updating the user from FCM: {$errorInfo}","token-update-no-token":"FCM returned no token when updating the user to push.","use-sw-after-get-token":"The useServiceWorker() method may only be called once and must be called before calling getToken() to ensure your service worker is used.","invali
1d-sw-registration":"The input to useServiceWorker() must be a ServiceWorkerRegistration.","invalid-bg-handler":"The input to setBackgroundMessageHandler() must be a function.","invalid-vapid-key":"The public VAPID key must be a string.","use-vapid-key-after-get-token":"The usePublicVapidKey() method may only be called once and must be called before calling getToken() to ensure your VAPID key is used."});function Ni(re,fe){return Ns.apply(this,arguments)}function Ns(){return(Ns=(0,_.Z)(function*(re,fe){const Ie=yield Do(re),et=wi(fe),mt={method:"POST",headers:Ie,body:JSON.stringify(et)};let Ot;try{Ot=yield(yield fetch(ho(re.appConfig),mt)).json()}catch(tn){throw wr.create("token-subscribe-failed",{errorInfo:tn?.toString()})}if(Ot.error)throw wr.create("token-subscribe-failed",{errorInfo:Ot.error.message});if(!Ot.token)throw wr.create("token-subscribe-no-token");return Ot.token})).apply(this,arguments)}function es(re,fe){return Vo.apply(this,arguments)}function Vo(){return(Vo=(0,_.Z)(function*(re,fe){const Ie=yield Do(re),et=wi(fe.subscriptionOptions),mt={method:"PATCH",headers:Ie,body:JSON.stringify(et)};let Ot;try{Ot=yield(yield fetch(`${ho(re.appConfig)}/${fe.token}`,mt)).json()}catch(tn){throw wr.create("token-update-failed",{errorInfo:tn?.toString()})}if(Ot.error)throw wr.create("token-update-failed",{errorInfo:Ot.error.message});if(!Ot.token)throw wr.create("token-update-no-token");return Ot.token})).apply(this,arguments)}function ws(re,fe){return gi.apply(this,arguments)}function gi(){return(gi=(0,_.Z)(function*(re,fe){const et={method:"DELETE",headers:yield Do(re)};try{const Ot=yield(yield fetch(`${ho(re.appConfig)}/${fe}`,et)).json();if(Ot.error)throw wr.create("token-unsubscribe-failed",{errorInfo:Ot.error.message})}catch(mt){throw wr.create("token-unsubscribe-failed",{errorInfo:mt?.toString()})}})).apply(this,arguments)}function ho({projectId:re}){return`https://fcmregistrations.googleapis.com/v1/projects/${re}/registrations`}function Do(re){return ts.apply(this,arguments)}function ts(){return(ts=(0,_.Z)(function*({appConfig:re,installations:fe}){const Ie=yield fe.getToken();return new Headers({"Content-Type":"application/json",Accept:"application/json","x-goog-api-key":re.apiKey,"x-goog-firebase-installations-auth":`FIS ${Ie}`})})).apply(this,arguments)}function wi({p256dh:re,auth:fe,endpoint:Ie,vapidKey:et}){const mt={web:{endpoint:Ie,auth:fe,p256dh:re}};return et!==Xr&&(mt.web.applicationPubKey=et),mt}const ha=6048e5;function fa(re){return gs.apply(this,arguments)}function gs(){return(gs=(0,_.Z)(function*(re){const fe=yield Q(re.swRegistration,re.vapidKey),Ie={vapidKey:re.vapidKey,swScope:re.swRegistration.scope,endpoint:fe.endpoint,auth:lt(fe.getKey("auth")),p256dh:lt(fe.getKey("p256dh"))},et=yield bo(re.firebaseDependencies);if(et){if(wt(et.subscriptionOptions,Ie))return Date.now()>=et.createTime+ha?Li(re,{token:et.token,createTime:Date.now(),subscriptionOptions:Ie}):et.token;try{yield ws(re.firebaseDependencies,et.token)}catch(mt){console.warn(mt)}return le(re.firebaseDependencies,Ie)}return le(re.firebaseDependencies,Ie)})).apply(this,arguments)}function ns(re){return Io.apply(this,arguments)}function Io(){return(Io=(0,_.Z)(function*(re){const fe=yield bo(re.firebaseDependencies);fe&&(yield ws(re.firebaseDependencies,fe.token),yield di(re.firebaseDependencies));const Ie=yield re.swRegistration.pushManager.getSubscription();return!Ie||Ie.unsubscribe()})).apply(this,arguments)}function Li(re,fe){return ms.apply(this,arguments)}function ms(){return(ms=(0,_.Z)(function*(re,fe){try{const Ie=yield es(re.firebaseDependencies,fe),et=Object.assign(Object.assign({},fe),{token:Ie,createTime:Date.now()});return yield as(re.firebaseDependencies,et),Ie}catch(Ie){throw yield ns(re),Ie}})).apply(this,arguments)}function le(re,fe){return se.apply(this,arguments)}function se(){return(se=(0,_.Z)(function*(re,fe){const et={token:yield Ni(re,fe),createTime:Date.now(),subscriptionOptions:fe};return yield as(re,et),et.token})).apply(this,arguments)}function Q(re,fe){return Ee.apply(this,arguments)}function Ee(){return(Ee=(0,_.Z)(function*(re,fe){return(yield re.pushManager.getSubscription())||re.pushManager.subscribe({userVisibleOnly:!0,applicationServerKey:at(fe)})}
1)).apply(this,arguments)}function wt(re,fe){return fe.vapidKey===re.vapidKey&&fe.endpoint===re.endpoint&&fe.auth===re.auth&&fe.p256dh===re.p256dh}function ln(re){const fe={from:re.from,collapseKey:re.collapse_key,messageId:re.fcmMessageId};return function Bi(re,fe){if(!fe.notification)return;re.notification={};const Ie=fe.notification.title;Ie&&(re.notification.title=Ie);const et=fe.notification.body;et&&(re.notification.body=et);const mt=fe.notification.image;mt&&(re.notification.image=mt);const Ot=fe.notification.icon;Ot&&(re.notification.icon=Ot)}(fe,re),function Gs(re,fe){!fe.data||(re.data=fe.data)}(fe,re),function Po(re,fe){var Ie,et,mt,Ot,tn;if(!(fe.fcmOptions||null!==(Ie=fe.notification)&&void 0!==Ie&&Ie.click_action))return;re.fcmOptions={};const Vn=null!==(mt=null===(et=fe.fcmOptions)||void 0===et?void 0:et.link)&&void 0!==mt?mt:null===(Ot=fe.notification)||void 0===Ot?void 0:Ot.click_action;Vn&&(re.fcmOptions.link=Vn);const lr=null===(tn=fe.fcmOptions)||void 0===tn?void 0:tn.analytics_label;lr&&(re.fcmOptions.analyticsLabel=lr)}(fe,re),fe}function Eo(re){return"object"==typeof re&&!!re&&Zs in re}function $a(re,fe){const Ie=[];for(let et=0;et<re.length;et++)Ie.push(re.charAt(et)),et<fe.length&&Ie.push(fe.charAt(et));return Ie.join("")}function Zt(re){return wr.create("missing-app-config-values",{valueName:re})}$a("hts/frbslgigp.ogepscmv/ieo/eaylg","tp:/ieaeogn-agolai.o/1frlglgc/o"),$a("AzSCbw63g1R0nCw85jG8","Iaya3yLKwmgvh7cF0q4");class Fr{constructor(fe,Ie,et){this.deliveryMetricsExportedToBigQueryEnabled=!1,this.onBackgroundMessageHandler=null,this.onMessageHandler=null,this.logEvents=[],this.isLogServiceStarted=!1;const mt=function ya(re){if(!re||!re.options)throw Zt("App Configuration Object");if(!re.name)throw Zt("App Name");const fe=["projectId","apiKey","appId","messagingSenderId"],{options:Ie}=re;for(const et of fe)if(!Ie[et])throw Zt(et);return{appName:re.name,projectId:Ie.projectId,apiKey:Ie.apiKey,appId:Ie.appId,senderId:Ie.messagingSenderId}}(fe);this.firebaseDependencies={app:fe,appConfig:mt,installations:Ie,analyticsProvider:et}}_delete(){return Promise.resolve()}}function ba(re){return Qs.apply(this,arguments)}function Qs(){return(Qs=(0,_.Z)(function*(re){try{re.swRegistration=yield navigator.serviceWorker.register(hs,{scope:Es}),re.swRegistration.update().catch(()=>{})}catch(fe){throw wr.create("failed-service-worker-registration",{browserErrorMessage:fe?.message})}})).apply(this,arguments)}function Vi(re,fe){return Rs.apply(this,arguments)}function Rs(){return(Rs=(0,_.Z)(function*(re,fe){if(!fe&&!re.swRegistration&&(yield ba(re)),fe||!re.swRegistration){if(!(fe instanceof ServiceWorkerRegistration))throw wr.create("invalid-sw-registration");re.swRegistration=fe}})).apply(this,arguments)}function Us(re,fe){return $i.apply(this,arguments)}function $i(){return($i=(0,_.Z)(function*(re,fe){fe?re.vapidKey=fe:re.vapidKey||(re.vapidKey=Xr)})).apply(this,arguments)}function Ts(){return(Ts=(0,_.Z)(function*(re,fe){if(!navigator)throw wr.create("only-available-in-window");if("default"===Notification.permission&&(yield Notification.requestPermission()),"granted"!==Notification.permission)throw wr.create("permission-blocked");return yield Us(re,fe?.vapidKey),yield Vi(re,fe?.serviceWorkerRegistration),fa(re)})).apply(this,arguments)}function yl(re,fe,Ie){return eo.apply(this,arguments)}function eo(){return(eo=(0,_.Z)(function*(re,fe,Ie){const et=Ea(fe);(yield re.firebaseDependencies.analyticsProvider.get()).logEvent(et,{message_id:Ie[Zs],message_name:Ie[Ct],message_time:Ie[co],message_device_time:Math.floor(Date.now()/1e3)})})).apply(this,arguments)}function Ea(re){switch(re){case Os.NOTIFICATION_CLICKED:return"notification_open";case Os.PUSH_RECEIVED:return"notification_foreground";default:throw new Error}}function Hi(){return(Hi=(0,_.Z)(function*(re,fe){const Ie=fe.data;if(!Ie.isFirebaseMessaging)return;re.onMessageHandler&&Ie.messageType===Os.PUSH_RECEIVED&&("function"==typeof re.onMessageHandler?re.onMessageHandler(ln(Ie)):re.onMessageHandler.next(ln(Ie)));const et=Ie.data;Eo(et)&&"1"===et[fs]&&(yield yl(re,Ie.messageType,et))})).apply(this,arguments)}const Ds="@firebase/messaging",mi=re=>{const fe=new Fr(re.getProvider("app").getImmediate(),re.getProvider("installations-internal").getImmediate(),re.getProvider("analytics-internal"));return navigator.serviceWorker.addEventListener("message",Ie=>function Ho(re,fe){return Hi.apply(this,arguments)}(fe,Ie)),fe},Ri=re=>{const fe=re.getProvider("messaging").getImmediate();return{getToken:et=>function As(re,fe){return Ts.apply(this,arguments)}(fe,et)}};function to(){return no.apply(this,arguments)}function no(){return(no=(0,_.Z)(function*(){try{yield(0,D.eu)()}catch{return!1}return typeof window<"u"&&(0,D.hl)()&&(0,D.zI)()&&"serviceWorker"
1in navigator&&"PushManager"in window&&"Notification"in window&&"fetch"in window&&ServiceWorkerRegistration.prototype.hasOwnProperty("showNotification")&&PushSubscription.prototype.hasOwnProperty("getKey")})).apply(this,arguments)}!function To(){(0,S._registerComponent)(new M.wA("messaging",mi,"PUBLIC")),(0,S._registerComponent)(new M.wA("messaging-internal",Ri,"PRIVATE")),(0,S.registerVersion)(Ds,"0.12.3"),(0,S.registerVersion)(Ds,"0.12.3","esm2017")}();const Na="analytics",Ra="firebase_id",xo="https://firebase.googleapis.com/v1alpha/projects/-/apps/{app-id}/webConfig",ia="https://www.googletagmanager.com/gtag/js",_s=new k.Yd("@firebase/analytics");function j(re){return Promise.all(re.map(fe=>fe.catch(Ie=>Ie)))}function ge(re,fe){const Ie=document.createElement("script");Ie.src=`${ia}?l=${re}&id=${fe}`,Ie.async=!0,document.head.appendChild(Ie)}function we(re,fe,Ie,et,mt,Ot){return rt.apply(this,arguments)}function rt(){return(rt=(0,_.Z)(function*(re,fe,Ie,et,mt,Ot){const tn=et[mt];try{if(tn)yield fe[tn];else{const lr=(yield j(Ie)).find(_r=>_r.measurementId===mt);lr&&(yield fe[lr.appId])}}catch(Vn){_s.error(Vn)}re("config",mt,Ot)})).apply(this,arguments)}function Rt(re,fe,Ie,et,mt){return $t.apply(this,arguments)}function $t(){return($t=(0,_.Z)(function*(re,fe,Ie,et,mt){try{let Ot=[];if(mt&&mt.send_to){let tn=mt.send_to;Array.isArray(tn)||(tn=[tn]);const Vn=yield j(Ie);for(const lr of tn){const _r=Vn.find(Mr=>Mr.measurementId===lr),Nr=_r&&fe[_r.appId];if(!Nr){Ot=[];break}Ot.push(Nr)}}0===Ot.length&&(Ot=Object.values(fe)),yield Promise.all(Ot),re("event",et,mt||{})}catch(Ot){_s.error(Ot)}})).apply(this,arguments)}function Lr(re){const fe=window.document.getElementsByTagName("script");for(const Ie of Object.values(fe))if(Ie.src&&Ie.src.includes(ia)&&Ie.src.includes(re))return Ie;return null}const zn=new D.LL("analytics","Analytics",{"already-exists":"A Firebase Analytics instance with the appId {$id}  already exists. Only one Firebase Analytics instance can be created for each appId.","already-initialized":"initializeAnalytics() cannot be called again with different options than those it was initially called with. It can be called again with the same options to return the existing instance, or getAnalytics() can be used to get a reference to the already-intialized instance.","already-initialized-settings":"Firebase Analytics has already been initialized.settings() must be called before initializing any Analytics instanceor it will have no effect.","interop-component-reg-failed":"Firebase Analytics Interop Component failed to instantiate: {$reason}","invalid-analytics-context":"Firebase Analytics is not supported in this environment. Wrap initialization of analytics in analytics.isSupported() to prevent initialization in unsupported environments. Details: {$errorInfo}","indexeddb-unavailable":"IndexedDB unavailable or restricted in this environment. Wrap initialization of analytics in analytics.isSupported() to prevent initialization in unsupported environments. Details: {$errorInfo}","fetch-throttle":"The config fetch request timed out while in an exponential backoff state. Unix timestamp in milliseconds when fetch request throttling ends: {$throttleEndTimeMillis}.","config-fetch-failed":"Dynamic config fetch failed: [{$httpStatus}] {$responseMessage}","no-api-key":'The "apiKey" field is empty in the local Firebase config. Firebase Analytics requires this field tocontain a valid API key.',"no-app-id":'The "appId" field is empty in the local Firebase config. Firebase Analytics requires this field tocontain a valid app ID.'}),Xe=new class ye{constructor(fe={},Ie=1e3){this.throttleMetadata=fe,this.intervalMillis=Ie}getThrottleMetadata(fe){return this.throttleMetadata[fe]}setThrottleMetadata(fe,Ie){this.throttleMetadata[fe]=Ie}deleteThrottleMetadata(fe){delete this.throttleMetadata[fe]}};function xt(re){return new Headers({Accept:"application/json","x-goog-api-key":re})}function Mn(re){return ir.apply(this,arguments)}function ir(){return(ir=(0,_.Z)(function*(re){var fe;const{appId:Ie,apiKey:et}=re,mt={method:"GET",headers:xt(et)},Ot=xo.replace("{app-id}",Ie),tn=yield fetch(Ot,mt);
1if(200!==tn.status&&304!==tn.status){let Vn="";try{const lr=yield tn.json();null!==(fe=lr.error)&&void 0!==fe&&fe.message&&(Vn=lr.error.message)}catch{}throw zn.create("config-fetch-failed",{httpStatus:tn.status,responseMessage:Vn})}return tn.json()})).apply(this,arguments)}function Xi(re){return ui.apply(this,arguments)}function ui(){return(ui=(0,_.Z)(function*(re,fe=Xe,Ie){const{appId:et,apiKey:mt,measurementId:Ot}=re.options;if(!et)throw zn.create("no-app-id");if(!mt){if(Ot)return{measurementId:Ot,appId:et};throw zn.create("no-api-key")}const tn=fe.getThrottleMetadata(et)||{backoffCount:0,throttleEndTimeMillis:Date.now()},Vn=new jo;return setTimeout((0,_.Z)(function*(){Vn.abort()}),void 0!==Ie?Ie:6e4),Co({appId:et,apiKey:mt,measurementId:Ot},tn,Vn,fe)})).apply(this,arguments)}function Co(re,fe,Ie){return Oo.apply(this,arguments)}function Oo(){return(Oo=(0,_.Z)(function*(re,{throttleEndTimeMillis:fe,backoffCount:Ie},et,mt=Xe){var Ot;const{appId:tn,measurementId:Vn}=re;try{yield uu(et,fe)}catch(lr){if(Vn)return _s.warn(`Timed out fetching this Firebase app's measurement ID from the server. Falling back to the measurement ID ${Vn} provided in the "measurementId" field in the local Firebase config. [${lr?.message}]`),{appId:tn,measurementId:Vn};throw lr}try{const lr=yield Mn(re);return mt.deleteThrottleMetadata(tn),lr}catch(lr){const _r=lr;if(!za(_r)){if(mt.deleteThrottleMetadata(tn),Vn)return _s.warn(`Failed to fetch this Firebase app's measurement ID from the server. Falling back to the measurement ID ${Vn} provided in the "measurementId" field in the local Firebase config. [${_r?.message}]`),{appId:tn,measurementId:Vn};throw lr}const Nr=503===Number(null===(Ot=_r?.customData)||void 0===Ot?void 0:Ot.httpStatus)?(0,D.$s)(Ie,mt.intervalMillis,30):(0,D.$s)(Ie,mt.intervalMillis),Mr={throttleEndTimeMillis:Date.now()+Nr,backoffCount:Ie+1};return mt.setThrottleMetadata(tn,Mr),_s.debug(`Calling attemptFetch again in ${Nr} millis`),Co(re,Mr,et,mt)}})).apply(this,arguments)}function uu(re,fe){return new Promise((Ie,et)=>{const mt=Math.max(fe-Date.now(),0),Ot=setTimeout(Ie,mt);re.addEventListener(()=>{clearTimeout(Ot),et(zn.create("fetch-throttle",{throttleEndTimeMillis:fe}))})})}function za(re){if(!(re instanceof D.ZR&&re.customData))return!1;const fe=Number(re.customData.httpStatus);return 429===fe||500===fe||503===fe||504===fe}class jo{constructor(){this.listeners=[]}addEventListener(fe){this.listeners.push(fe)}abort(){this.listeners.forEach(fe=>fe())}}let sl,No;function Ii(){return(Ii=(0,_.Z)(function*(re,fe,Ie,et,mt){if(mt&&mt.global)re("event",Ie,et);else{const Ot=yield fe;re("event",Ie,Object.assign(Object.assign({},et),{send_to:Ot}))}})).apply(this,arguments)}function ka(re){No=re}function Nl(re){sl=re}function io(){return ks.apply(this,arguments)}function ks(){return(ks=(0,_.Z)(function*(){if(!(0,D.hl)())return _s.warn(zn.create("indexeddb-unavailable",{errorInfo:"IndexedDB is not available in this environment."}).message),!1;try{yield(0,D.eu)()}catch(re){return _s.warn(zn.create("indexeddb-unavailable",{errorInfo:re?.toString()}).message),!1}return!0})).apply(this,arguments)}function Ca(){return(Ca=(0,_.Z)(function*(re,fe,Ie,et,mt,Ot,tn){var Vn;const lr=Xi(re);lr.then(Ki=>{Ie[Ki.measurementId]=Ki.appId,re.options.measurementId&&Ki.measurementId!==re.options.measurementId&&_s.warn(`The measurement ID in the local Firebase config (${re.options.measurementId}) does not match the measurement ID fetched from the server (${Ki.measurementId}). To ensure analytics events are always sent to the correct Analytics property, update the measurement ID field in the local config or remove it from the local config.`)}).catch(Ki=>_s.error(Ki)),fe.push(lr);const _r=io().then(Ki=>{if(Ki)return et.getId()}),[Nr,Mr]=yield Promise.all([lr,_r]);Lr(Ot)||ge(Ot,Nr.measurementId),No&&(mt("consent","default",No),ka(void 0)),mt("js",new Date);const js=null!==(Vn=tn?.config)&&void 0!==Vn?Vn:{};return js.origin="firebase",js.update=!0,null!=Mr&&(js[Ra]=Mr),mt("config",Nr.measurementId,js),sl&&(mt("set",sl),Nl(void 0)),Nr.measurementId})).apply(this,arguments)}class ol{constructor(fe){this.app=fe}_delete(){return delete so[this.app.options.appId],Promise.resolve()}}let so={},zo=[];const bl={};let Ko,ls,oo="dataLayer",po=!1;function La(re,fe,Ie){!function Sa(){const re=[];if((0,D.ru)()&&re.push("This is a browser extension environment."),(0,D.zI)()||re.push("Cookies are not available."),re.length>0){const fe=re.map((et,mt)=>`(${mt+1}) ${et}`).join(" "),Ie=zn.create("invalid-analytics-context",{errorInfo:fe});_s.warn(Ie.message)}}();const et=re.options.appId;if(!et)throw zn.create("no-app-id");if(!re.options.apiKey){if(!re.options.measurementId)throw zn.create("no-api-key");_s.warn(`The "apiKey" field is empty in the local Firebase config. This is needed to fetch the latest measurement ID for this Firebase app. Falling back to the measurement ID ${re.options.measurementId} provided in the "measurementId" field in the local Firebase config.`)}if(null!=so[et])throw zn.create("already-exists",{id:et});if(!po){!function q(re){let fe=[];Array.isArray(window[re])?fe=window[re]:window[re]=fe}(oo);const{wrappedGtag:Ot,gtagCore:tn}=function rr(re,fe,Ie,et,mt){let Ot=function(...tn){window[et].push(arguments)};return window[mt]&&"function"==typeof window[mt]&&(Ot=window[mt]),window[mt]=function xn(re,fe,Ie,et){function Ot(){return(Ot=(0,_.Z)(function*(tn,Vn,lr){try{"event"===tn?yield Rt(re,fe,Ie,Vn,lr):"config"===tn?yield we(re,fe,Ie,et,Vn,lr):"consent"===tn?re("consent","update",lr):re("set",Vn)}catch(_r){_s.error(_r)}})).apply(this,arguments)}return function mt(tn,Vn,lr){return Ot.apply(this,arguments)}}(Ot,re,fe,Ie),{gtagCore:Ot,wrappedGtag:window[mt]}}(so,zo,bl,oo,"gtag");ls=Ot,Ko=tn,po=!0}return so[et]=function Fa(re,fe,Ie,et,mt,Ot,tn){return Ca.apply(this,arguments)}(re,zo,bl,fe,Ko,oo,Ie),new ol(re)}function So(){return Ro.apply(this,arguments)}function Ro(){return(Ro=(0,_.Z)(function*(){if((0,D.ru)()||!(0,D.zI)()||
1!(0,D.hl)())return!1;try{return yield(0,D.eu)()}catch{return!1}})).apply(this,arguments)}const wo="@firebase/analytics";!function us(){(0,S._registerComponent)(new M.wA(Na,(fe,{options:Ie})=>La(fe.getProvider("app").getImmediate(),fe.getProvider("installations-internal").getImmediate(),Ie),"PUBLIC")),(0,S._registerComponent)(new M.wA("analytics-internal",function re(fe){try{const Ie=fe.getProvider(Na).getImmediate();return{logEvent:(et,mt,Ot)=>function qo(re,fe,Ie,et){re=(0,D.m9)(re),function sa(re,fe,Ie,et,mt){return Ii.apply(this,arguments)}(ls,so[re.app.options.appId],fe,Ie,et).catch(mt=>_s.error(mt))}(Ie,et,mt,Ot)}}catch(Ie){throw zn.create("interop-component-reg-failed",{reason:Ie})}},"PRIVATE")),(0,S.registerVersion)(wo,"0.9.3"),(0,S.registerVersion)(wo,"0.9.3","esm2017")}();var Ba=l(233),ul=l(4986),Yo=l(8505),bi=l(9468),Rl=l(5363);const cl=new t.GfV("7.5.0"),kl="__angularfire_symbol__analyticsIsSupportedValue",P="__angularfire_symbol__analyticsIsSupported",F="__angularfire_symbol__remoteConfigIsSupportedValue",w="__angularfire_symbol__remoteConfigIsSupported",Z="__angularfire_symbol__messagingIsSupportedValue",de="__angularfire_symbol__messagingIsSupported";function An(re,fe,Ie){if(fe){if(1===fe.length)return fe[0];const Ot=fe.filter(tn=>tn.app===Ie);if(1===Ot.length)return Ot[0]}return Ie.container.getProvider(re).getImmediate({optional:!0})}globalThis[P]||(globalThis[P]=So().then(re=>globalThis[kl]=re).catch(()=>globalThis[kl]=!1)),globalThis[de]||(globalThis[de]=to().then(re=>globalThis[Z]=re).catch(()=>globalThis[Z]=!1)),globalThis[w]||(globalThis[w]=Sr().then(re=>globalThis[F]=re).catch(()=>globalThis[F]=!1));const Yn=(re,fe)=>{const Ie=fe?[fe]:(0,f.C6)(),et=[];return Ie.forEach(mt=>{mt.container.getProvider(re).instances.forEach(tn=>{et.includes(tn)||et.push(tn)})}),et};function br(){}class Wr{constructor(fe,Ie=Ba.N){this.zone=fe,this.delegate=Ie}now(){return this.delegate.now()}schedule(fe,Ie,et){const mt=this.zone;return this.delegate.schedule(function(tn){mt.runGuarded(()=>{fe.apply(this,[tn])})},Ie,et)}}class sr{constructor(fe){this.zone=fe,this.task=null}call(fe,Ie){const et=this.unscheduleTask.bind(this);return this.task=this.zone.run(()=>Zone.current.scheduleMacroTask("firebaseZoneBlock",br,{},br,br)),Ie.pipe((0,Yo.b)({next:et,complete:et,error:et})).subscribe(fe).add(et)}unscheduleTask(){setTimeout(()=>{null!=this.task&&"scheduled"===this.task.state&&(this.task.invoke(),this.task=null)},10)}}let cs=(()=>{class re{constructor(Ie){this.ngZone=Ie,this.outsideAngular=Ie.runOutsideAngular(()=>new Wr(Zone.current)),this.insideAngular=Ie.run(()=>new Wr(Zone.current,ul.z)),globalThis.\u0275AngularFireScheduler||(globalThis.\u0275AngularFireScheduler=this)}}return re.\u0275fac=function(Ie){return new(Ie||re)(t.LFG(t.R0b))},re.\u0275prov=t.Yz7({token:re,factory:re.\u0275fac,providedIn:"root"}),re})();function Gi(){const re=globalThis.\u0275AngularFireScheduler;if(!re)throw new Error("Either AngularFireModule has not been provided in your Ap
1pModule (this can be done manually or implictly using\nprovideFirebaseApp) or you're calling an AngularFire method outside of an NgModule (which is not supported).");return re}function dl(re){return Gi(),function Za(re){return function(Ie){return(Ie=Ie.lift(new sr(re.ngZone))).pipe((0,bi.R)(re.outsideAngular),(0,Rl.Q)(re.insideAngular))}}(Gi())(re)}},2722:(s,a,l)=>{"use strict";l.d(a,{$:()=>ho,A:()=>z,B:()=>ae,G:()=>Qi,H:()=>ni,J:()=>Pr,L:()=>Oe,M:()=>Zr,N:()=>Bs,P:()=>kl,Q:()=>Zs,R:()=>ji,T:()=>Ct,U:()=>Xr,V:()=>Os,W:()=>lt,X:()=>Pn,Y:()=>hi,Z:()=>Ni,_:()=>es,a:()=>K,a0:()=>fa,a1:()=>ns,a2:()=>Li,a3:()=>le,a4:()=>Q,a5:()=>wt,a6:()=>Bi,a7:()=>Gs,a8:()=>Eo,a9:()=>$a,aA:()=>Ge,aB:()=>Ki,aC:()=>go,aD:()=>Tl,aE:()=>Jn,aI:()=>xt,aL:()=>fs,aa:()=>ba,ab:()=>Vi,ac:()=>Us,af:()=>yl,ag:()=>Ea,ah:()=>Ho,ak:()=>yi,al:()=>Go,an:()=>ia,ao:()=>rt,ap:()=>ze,aq:()=>ue,ar:()=>We,as:()=>J,at:()=>Ou,au:()=>Wu,av:()=>ve,aw:()=>pe,ax:()=>xe,ay:()=>mo,az:()=>De,b:()=>zn,c:()=>Kt,d:()=>Wr,e:()=>Yn,f:()=>Ie,g:()=>lr,h:()=>Ot,i:()=>ks,j:()=>Mr,k:()=>Al,l:()=>Is,m:()=>ud,o:()=>U,r:()=>Ba,s:()=>Ya,u:()=>Rl});var t=l(5861),f=l(2090),_=l(9681),S=l(1877),D=l(655),M=l(4859);const U={FACEBOOK:"facebook.com",GITHUB:"github.com",GOOGLE:"google.com",PASSWORD:"password",PHONE:"phone",TWITTER:"twitter.com"},z={EMAIL_SIGNIN:"EMAIL_SIGNIN",PASSWORD_RESET:"PASSWORD_RESET",RECOVER_EMAIL:"RECOVER_EMAIL",REVERT_SECOND_FACTOR_ADDITION:"REVERT_SECOND_FACTOR_ADDITION",VERIFY_AND_CHANGE_EMAIL:"VERIFY_AND_CHANGE_EMAIL",VERIFY_EMAIL:"VERIFY_EMAIL"};const ae=function H(){return{"admin-restricted-operation":"This operation is restricted to administrators only.","argument-error":"","app-not-authorized":"This app, identified by the domain where it's hosted, is not authorized to use Firebase Authentication with the provided API key. Review your key configuration in the Google API console.","app-not-installed":"The requested mobile application corresponding to the identifier (Android package name or iOS bundle ID) provided is not installed on this device.","captcha-check-failed":"The reCAPTCHA response token provided is either invalid, expired, already used or the domain associated with it does not match the list of whitelisted domains.","code-expired":"The SMS code has expired. Please re-send the verification code to try again.","cordova-not-ready":"Cordova framework is not ready.","cors-unsupported":"This browser is not supported.","credential-already-in-use":"This credential is already associated with a different user account.","custom-token-mismatch":"The custom token corresponds to a different audience.","requires-recent-login":"This operation is sensitive and requires recent authentication. Log in again before retrying this request.","dependent-sdk-initialized-before-auth":"Another Firebase SDK was initialized and is trying to use Auth before Auth is initialized. Please be sure to call `initializeAuth` or `getAuth` before starting any other Firebase SDK.","dynamic-link-not-activated":"Please activate Dynamic Links in the Firebase Console and agree to the terms and conditions.","email-change-needs-verification":"Multi-factor users must al
1ways have a verified email.","email-already-in-use":"The email address is already in use by another account.","emulator-config-failed":'Auth instance has already been used to make a network call. Auth can no longer be configured to use the emulator. Try calling "connectAuthEmulator()" sooner.',"expired-action-code":"The action code has expired.","cancelled-popup-request":"This operation has been cancelled due to another conflicting popup being opened.","internal-error":"An internal AuthError has occurred.","invalid-app-credential":"The phone verification request contains an invalid application verifier. The reCAPTCHA token response is either invalid or expired.","invalid-app-id":"The mobile app identifier is not registed for the current project.","invalid-user-token":"This user's credential isn't valid for this project. This can happen if the user's token has been tampered with, or if the user isn't for the project associated with this API key.","invalid-auth-event":"An internal AuthError has occurred.","invalid-verification-code":"The SMS verification code used to create the phone auth credential is invalid. Please resend the verification code sms and be sure to use the verification code provided by the user.","invalid-continue-uri":"The continue URL provided in the request is invalid.","invalid-cordova-configuration":"The following Cordova plugins must be installed to enable OAuth sign-in: cordova-plugin-buildinfo, cordova-universal-links-plugin, cordova-plugin-browsertab, cordova-plugin-inappbrowser and cordova-plugin-customurlscheme.","invalid-custom-token":"The custom token format is incorrect. Please check the documentation.","invalid-dynamic-link-domain":"The provided dynamic link domain is not configured or authorized for the current project.","invalid-email":"The email address is badly formatted.","invalid-emulator-scheme":"Emulator URL must start with a valid scheme (http:// or https://).","invalid-api-key":"Your API key is invalid, please check you have copied it correctly.","invalid-cert-hash":"The SHA-1 certificate hash provided is invalid.","invalid-credential":"The supplied auth credential is malformed or has expired.","invalid-message-payload":"The email template corresponding to this action contains invalid characters in its message. Please fix by going to the Auth email templates section in the Firebase Console.","invalid-multi-factor-session":"The request does not contain a valid proof of first factor successful sign-in.","invalid-oauth-provider":"EmailAuthProvider is not supported for this operation. This operation only supports OAuth providers.","invalid-oauth-client-id":"The OAuth client ID provided is either invalid or does not match the specified API key.","unauthorized-domain":"This domain is not authorized for OAuth operations for your Firebase project. Edit the list of authorized domains from the Firebase console.","invalid-action-code":"The action code is invalid. This can happen if the code is malformed, expired, or has already been used.","wrong-password":"The password is invalid or the user does not have a password.","invalid-persistence-type":"The specified persistence type is invalid. It can only be local, session or none.","invali
1d-phone-number":"The format of the phone number provided is incorrect. Please enter the phone number in a format that can be parsed into E.164 format. E.164 phone numbers are written in the format [+][country code][subscriber number including area code].","invalid-provider-id":"The specified provider ID is invalid.","invalid-recipient-email":"The email corresponding to this action failed to send as the provided recipient email address is invalid.","invalid-sender":"The email template corresponding to this action contains an invalid sender email or name. Please fix by going to the Auth email templates section in the Firebase Console.","invalid-verification-id":"The verification ID used to create the phone auth credential is invalid.","invalid-tenant-id":"The Auth instance's tenant ID is invalid.","login-blocked":"Login blocked by user-provided method: {$originalMessage}","missing-android-pkg-name":"An Android Package Name must be provided if the Android App is required to be installed.","auth-domain-config-required":"Be sure to include authDomain when calling firebase.initializeApp(), by following the instructions in the Firebase console.","missing-app-credential":"The phone verification request is missing an application verifier assertion. A reCAPTCHA response token needs to be provided.","missing-verification-code":"The phone auth credential was created with an empty SMS verification code.","missing-continue-uri":"A continue URL must be provided in the request.","missing-iframe-start":"An internal AuthError has occurred.","missing-ios-bundle-id":"An iOS Bundle ID must be provided if an App Store ID is provided.","missing-or-invalid-nonce":"The request does not contain a valid nonce. This can occur if the SHA-256 hash of the provided raw nonce does not match the hashed nonce in the ID token payload.","missing-multi-factor-info":"No second factor identifier is provided.","missing-multi-factor-session":"The request is missing proof of first factor successful sign-in.","missing-phone-number":"To send verification codes, provide a phone number for the recipient.","missing-verification-id":"The phone auth credential was created with an empty verification ID.","app-deleted":"This instance of FirebaseApp has been deleted.","multi-factor-info-not-found":"The user does not have a second factor matching the identifier provided.","multi-factor-auth-required":"Proof of ownership of a second factor is required to complete sign-in.","account-exists-with-different-credential":"An account already exists with the same email address but different sign-in credentials. Sign in using a provider associated with this email address.","network-request-failed":"A network AuthError (such as timeout, interrupted connection or unreachable host) has occurred.","no-auth-event":"An internal AuthError has occurred.","no-such-provider":"User was not linked to an account with the given provider.","null-user":"A null user object was provided as the argument for an operation which requires a non-null user object.","operation-not-allowed":"The given sign-in provider is disabled for this Firebase project. Enable it in the Firebase console, under the sign-in method tab of the Auth section.","operation-not-supported-in-this-environment":'This operation is not supported in the environment this application is running on. "location.protocol" must be http, https or chrome-extension and web storage must be enabled.',"popup-blocked":"Unable to establish a connection with the popup. It may have been blocked by the browser.","popup-closed-by-user":"The popup has been closed by the user before finalizing the operation.","provider-already-linked":"User can only be linked to one identity for the given provider.","quota-exceeded":"The project's quota for this operation has been exceeded.","redirect-cancelled-by-user":"The redirect operation has been cancelled by the user before finalizing.","redirect-operation-pending":"A redirect sign-in operation is already pending.","rejected-credential":"The request contains malformed or mismatching credentials.","second-factor-already-in-use":"The second factor is already enrolled on this account.","maximum-second-factor-count-exceeded":"The maximum allowed number of second factors on a user has been exceeded.","tenant-id-mismatch":"The provided tenant ID does not match the Auth instance's tenant ID",timeout:"The operation has timed out.","user-token-expired":"The user's credential is no longer valid. The user must sign in again.","too-many-requests":"We have blocked all requests from this device due to unusual activity. Try again later.","unauthorized-continue-uri":"The domain of the continue URL is not whitelisted.  Please whitelist the domain in the Firebase console.","unsupported-first-factor":"Enrolling a second factor or signing in with a multi-factor account requires sign-in with a supported first factor.","unsupported-persistence-type":"The current environment does not support the specified persistence type.","unsupported-tenant-operation":"This operation is not supported in a multi-tenant context.","unverified-email":"The operation requires a verified email.","user-cancelled":"The user did not grant your application the permissions it requested.","user-not-found":"There is no user record corresponding to this identifier. The user may have been deleted.","user-disabled":"The user account has been disabled by an administrator.","user-mismatch":"The supplied credentials do not correspond to the previously signed in user.","user-signed-out":"","weak-password":"The password must be 6 characters long or more.","web-storage-unsupported":"This browser is not supported or 3rd party cookies and data may be disabled.","already-initialized":"initializeAuth() has already been called with different options. To avoid this error, call initializeAuth() with the same options as when it was originally called, or call getAuth() to return the already initialized instance."}},V=function ee(){return{"dependent-sdk-initialized-before-auth":"Another Firebase SDK was initialized and is trying to use Auth before Auth is initialized. Please be sure to call `initializeAuth` or `getAuth` before starting any other Firebase SDK."}},Y=new f.LL("auth","Firebase",{"dependent-sdk-initialized-before-auth":"Another Firebase SDK was initialized and is trying to use Auth before Auth is initialized. Please be sure to call `initializeAuth` or `getAuth` before starting any other Firebase SDK."}),O=new S.Yd("@firebase/auth");function X(R,...b){O.logLevel<=S.in.ERROR&&O.error(`Auth (${_.SDK_VERSION}): ${R}`,...b)}function J(R,...b){throw He(R,...b)}function pe(R,...b){return He(R,...b)}function me(R,b,C){const W=Object.assign(Object.assign({},V()),{[b]:C});return new f.LL("auth","Firebase",W).create(b,{appName:R.name})}function Fe(R,b,C){if(!(b instanceof C))throw C.name!==b.constructor.name&&J(R,"argument-error"),me(R,"argument-error",`Type of ${b.constructor.name} does not match expected instance.Did you pass a reference from a different Auth SDK?`)}function He(R,...b){if("string"!=typeof R){const C=b[0],W=[...b.slice(1)];return W[0]&&(W[0].appName=R.name),R._errorFactory.create(C,...W)}return Y.create(R,...b)}function xe(R,b,...C){if(!R)throw He(b,...C)}function Ne(R){const b="INTERNAL ASSERTION FAILED: "+R;throw X(b),new Error(b)}function ze(R,b){R||Ne(b)}const ke=new Map;function De(R){ze(R instanceof Function,"Expected a class definition");let b=ke.get(R);return b?(ze(b instanceof R,"Instance stored in cache mismatched with class"),b):(b=new R,ke.set(R,b),b)}function he(){var R;return typeof self<"u"&&(null===(R=self.location)||void 0===R?void 0:R.href)||""}function be(){return"http:"===tt()||"https:"===tt()}function tt(){var R;return typeof self<"u"&&(null===(R=self.location)||void 0===R?void 0:R.protocol)||null}class Wt{constructor(b,C){this.shortDelay=b,this.longDelay=C,ze(C>
1b,"Short delay should be less than long delay!"),this.isMobile=(0,f.uI)()||(0,f.b$)()}get(){return function st(){return!(typeof navigator<"u"&&navigator&&"onLine"in navigator&&"boolean"==typeof navigator.onLine&&(be()||(0,f.ru)()||"connection"in navigator))||navigator.onLine}()?this.isMobile?this.longDelay:this.shortDelay:Math.min(5e3,this.shortDelay)}}function Ut(R,b){ze(R.emulator,"Emulator should always be set here");const{url:C}=R.emulator;return b?`${C}${b.startsWith("/")?b.slice(1):b}`:C}class Et{static initialize(b,C,W){this.fetchImpl=b,C&&(this.headersImpl=C),W&&(this.responseImpl=W)}static fetch(){return this.fetchImpl?this.fetchImpl:typeof self<"u"&&"fetch"in self?self.fetch:void Ne("Could not find fetch implementation, make sure you call FetchProvider.initialize() with an appropriate polyfill")}static headers(){return this.headersImpl?this.headersImpl:typeof self<"u"&&"Headers"in self?self.Headers:void Ne("Could not find Headers implementation, make sure you call FetchProvider.initialize() with an appropriate polyfill")}static response(){return this.responseImpl?this.responseImpl:typeof self<"u"&&"Response"in self?self.Response:void Ne("Could not find Response implementation, make sure you call FetchProvider.initialize() with an appropriate polyfill")}}const dn={CREDENTIAL_MISMATCH:"custom-token-mismatch",MISSING_CUSTOM_TOKEN:"internal-error",INVALID_IDENTIFIER:"invalid-email",MISSING_CONTINUE_URI:"internal-error",INVALID_PASSWORD:"wrong-password",MISSING_PASSWORD:"internal-error",EMAIL_EXISTS:"email-already-in-use",PASSWORD_LOGIN_DISABLED:"operation-not-allowed",INVALID_IDP_RESPONSE:"invalid-credential",INVALID_PENDING_TOKEN:"invalid-credential",FEDERATED_USER_ID_ALREADY_LINKED:"credential-already-in-use",MISSING_REQ_TYPE:"internal-error",EMAIL_NOT_FOUND:"user-not-found",RESET_PASSWORD_EXCEED_LIMIT:"too-many-requests",EXPIRED_OOB_CODE:"expired-action-code",INVALID_OOB_CODE:"invalid-action-code",MISSING_OOB_CODE:"internal-error",CREDENTIAL_TOO_OLD_LOGIN_AGAIN:"requires-recent-login",INVALID_ID_TOKEN:"invalid-user-token",TOKEN_EXPIRED:"user-token-expired",USER_NOT_FOUND:"user-token-expired",TOO_MANY_ATTEMPTS_TRY_LATER:"too-many-requests",INVALID_CODE:"invalid-verification-code",INVALID_SESSION_INFO:"invalid-verification-id",INVALID_TEMPORARY_PROOF:"invalid-credential",MISSING_SESSION_INFO:"missing-verification-id",SESSION_EXPIRED:"code-expired",MISSING_ANDROID_PACKAGE_NAME:"missing-android-pkg-name",UNAUTHORIZED_DOMAIN:"unauthorized-continue-uri",INVALID_OAUTH_CLIENT_ID:"invalid-oauth-client-id",ADMIN_ONLY_OPERATION:"admin-restricted-operation",INVALID_MFA_PENDING_CREDENTIAL:"invalid-multi-factor-session",MFA_ENROLLMENT_NOT_FOUND:"multi-factor-info-not-found",MISSING_MFA_ENROLLMENT_ID:"missing-multi-factor-info",MISSING_MFA_PENDING_CREDENTIAL:"missing-multi-factor-session",SECOND_FACTOR_EXISTS:"second-factor-already-in-use",SECOND_FACTOR_LIMIT_EXCEEDED:"maximum-second-factor-count-exceeded",BLOCKING_FUNCTION_ERROR_RESPONSE:"internal-error"},rn=new Wt(3e4,6e4);function gn(R,b){return R.tenantId&&!b.tenantId?Object.assign(Object.assign({},b),{tenantId:R.tenantId}):b}function Xt(R,b,C,W){return Er.apply(this,arguments)}function Er(){return(Er=(0,t.Z)(function*(R,b,C,W,Se={}){return _n(R,Se,(0,t.Z)(function*(){let Be={},bt={};W&&("GET"===b?bt=W:Be={body:JSON.stringify(W)});const Qt=(0,f.xO)(Object.assign({key:R.config.apiKey},bt)).slice(1),Gn=yield R._getAdditionalHeaders();return Gn["Content-Type"]="application/json",R.languageCode&&(Gn["X-Firebase-Locale"]=R.languageCode),Et.fetch()(un(R,R.config.apiHost,C,Qt),Object.assign({method:b,headers:Gn,referrerPolicy:"no-referrer"},Be))}))})).apply(this,arguments)}function _n(R,b,C){return Nn.apply(this,arguments)}function Nn(){return(Nn=(0,t.Z)(function*(R,b,C){R._canInitEmulator=!1;const W=Object.assign(Object.assign({},dn),b);try{const Se=new dr(R),Be=yield Promise.race([C(),Se.promise]);Se.clearNetworkTimeout();const bt=yield Be.json();if("needConfirmation"in bt)throw nr(R,"account-exists-with-different-credential",bt);if(Be.ok&&!("errorMessage"in bt))return bt;{const Qt=Be.ok?bt.errorMessage:bt.error.message,[Gn,ur]=Qt.split(" : ");if("FEDERATED_USER_ID_ALREADY_LINKED"===Gn)throw nr(R,"credential-already-in-use",bt);if("EMAIL_EXISTS"===Gn)throw nr(R,"email-already-in-use",bt);if("USER_DISABLED"===Gn)throw nr(R,"user-disabled",bt);const Gr=W[Gn]||Gn.toLowerCase().replace(/[_\s]+/g,"-");if(ur)throw me(R,Gr,ur);J(R,Gr)}}catch(Se){if(Se instanceof f.ZR)throw Se;J(R,"network-request-failed")}})).apply(this,arguments)}function Bt(R,b,C,W){return Hn.apply(this,arguments)}function Hn(){return(Hn=(0,t.Z)(function*(R,b,C,W,Se={}
1){const Be=yield Xt(R,b,C,W,Se);return"mfaPendingCredential"in Be&&J(R,"multi-factor-auth-required",{_serverResponse:Be}),Be})).apply(this,arguments)}function un(R,b,C,W){const Se=`${b}${C}?${W}`;return R.config.emulator?Ut(R.config,Se):`${R.config.apiScheme}://${Se}`}class dr{constructor(b){this.auth=b,this.timer=null,this.promise=new Promise((C,W)=>{this.timer=setTimeout(()=>W(pe(this.auth,"network-request-failed")),rn.get())})}clearNetworkTimeout(){clearTimeout(this.timer)}}function nr(R,b,C){const W={appName:R.name};C.email&&(W.email=C.email),C.phoneNumber&&(W.phoneNumber=C.phoneNumber);const Se=pe(R,b,W);return Se.customData._tokenResponse=C,Se}function Wn(){return(Wn=(0,t.Z)(function*(R,b){return Xt(R,"POST","/v1/accounts:delete",b)})).apply(this,arguments)}function Sn(R,b){return tr.apply(this,arguments)}function tr(){return(tr=(0,t.Z)(function*(R,b){return Xt(R,"POST","/v1/accounts:update",b)})).apply(this,arguments)}function fn(R,b){return cn.apply(this,arguments)}function cn(){return(cn=(0,t.Z)(function*(R,b){return Xt(R,"POST","/v1/accounts:lookup",b)})).apply(this,arguments)}function Fn(R){if(R)try{const b=new Date(Number(R));if(!isNaN(b.getTime()))return b.toUTCString()}catch{}}function Dr(){return(Dr=(0,t.Z)(function*(R,b=!1){const C=(0,f.m9)(R),W=yield C.getIdToken(b),Se=bn(W);xe(Se&&Se.exp&&Se.auth_time&&Se.iat,C.auth,"internal-error");const Be="object"==typeof Se.firebase?Se.firebase:void 0,bt=Be?.sign_in_provider;return{claims:Se,token:W,authTime:Fn(mn(Se.auth_time)),issuedAtTime:Fn(mn(Se.iat)),expirationTime:Fn(mn(Se.exp)),signInProvider:bt||null,signInSecondFactor:Be?.sign_in_second_factor||null}})).apply(this,arguments)}function mn(R){return 1e3*Number(R)}function bn(R){const[b,C,W]=R.split(".");if(void 0===b||void 0===C||void 0===W)return X("JWT malformed, contained fewer than 3 sections"),null;try{const Se=(0,f.tV)(C);return Se?JSON.parse(Se):(X("Failed to decode base64 JWT payload"),null)}catch(Se){return X("Caught error parsing JWT payload as JSON",Se?.toString()),null}}function Tn(R,b){return Br.apply(this,arguments)}function Br(){return(Br=(0,t.Z)(function*(R,b,C=!1){if(C)return b;try{return yield b}catch(W){throw W instanceof f.ZR&&yr(W)&&R.auth.currentUser===R&&(yield R.auth.signOut()),W}})).apply(this,arguments)}function yr({code:R}){return"auth/user-disabled"===R||"auth/user-token-expired"===R}class $r{constructor(b){this.user=b,this.isRunning=!1,this.timerId=null,this.errorBackoff=3e4}_start(){this.isRunning||(this.isRunning=!0,this.schedule())}_stop(){!this.isRunning||(this.isRunning=!1,null!==this.timerId&&clearTimeout(this.timerId))}getInterval(b){var C;if(b){const W=this.errorBackoff;return this.errorBackoff=Math.min(2*this.errorBackoff,96e4),W}{this.errorBackoff=3e4;const Se=(null!==(C=this.user.stsTokenManager.expirationTime)&&void 0!==C?C:0)-Date.now()-3e5;return Math.max(0,Se)}}schedule(b=!1){var C=this;if(!this.isRunning)return;const W=this.getInterval(b);this.timerId=setTimeout((0,t.Z)(function*(){yield C.iteration()}),W)}iteration(){var b=this;return(0,t.Z)(function*(){try{yield b.user.getIdToken(!0)}catch(C){return void("auth/network-request-failed"===C?.code&&b.schedule(!0))}b.schedule()})()}}class Vr{constructor(b,C){this.createdAt=b,this.lastLoginAt=C,this._initializeTime()}_initializeTime(){this.lastSignInTime=Fn(this.lastLoginAt),this.creationTime=Fn(this.createdAt)}_copy(b){this.createdAt=b.createdAt,this.lastLoginAt=b.lastLoginAt,this._initializeTime()}toJSON(){return{createdAt:this.createdAt,lastLoginAt:this.lastLoginAt}}}function Tr(R){return _t.apply(this,arguments)}function _t(){return(_t=(0,t.Z)(function*(R){var b;const C=R.auth,W=yield R.getIdToken(),Se=yield Tn(R,fn(C,{idToken:W}));xe(Se?.users.length,C,"internal-error");const Be=Se.users[0];R._notifyReloadListener(Be);const bt=null!==(b=Be.providerUserInfo)&&void 0!==b&&b.length?sn(Be.providerUserInfo):[],Qt=qt(R.providerData,bt),Gr=!!R.isAnonymous&&!(R.email&&Be.passwordHash||Qt?.length),is={uid:Be.localId,displayName:Be.displayName||null,photoURL:Be.photoUrl||null,email:Be.email||null,emailVerified:Be.emailVerified||!1,phoneNumber:Be.phoneNumber||null,tenantId:Be.tenantId||null,providerData:Qt,metadata:new Vr(Be.createdAt,Be.lastLoginAt),isAnonymous:Gr};Object.assign(R,is)})).apply(this,arguments)}function Tt(){return(Tt=(0,t.Z)(function*(R){const b=(0,f.m9)(R);yield Tr(b),yield b.auth._persistUserIfCurrent(b),b.auth._notifyListenersIfCurrent(b)})).apply(this,arguments)}function qt(R,b){return[...R.filter(W=>!b.some(Se=>Se.providerId===W.providerId)),...b]}
1function sn(R){return R.map(b=>{var{providerId:C}=b,W=(0,D._T)(b,["providerId"]);return{providerId:C,uid:W.rawId||"",displayName:W.displayName||null,email:W.email||null,phoneNumber:W.phoneNumber||null,photoURL:W.photoUrl||null}})}function yt(){return(yt=(0,t.Z)(function*(R,b){const C=yield _n(R,{},(0,t.Z)(function*(){const W=(0,f.xO)({grant_type:"refresh_token",refresh_token:b}).slice(1),{tokenApiHost:Se,apiKey:Be}=R.config,bt=un(R,Se,"/v1/token",`key=${Be}`),Qt=yield R._getAdditionalHeaders();return Qt["Content-Type"]="application/x-www-form-urlencoded",Et.fetch()(bt,{method:"POST",headers:Qt,body:W})}));return{accessToken:C.access_token,expiresIn:C.expires_in,refreshToken:C.refresh_token}})).apply(this,arguments)}class ot{constructor(){this.refreshToken=null,this.accessToken=null,this.expirationTime=null}get isExpired(){return!this.expirationTime||Date.now()>this.expirationTime-3e4}updateFromServerResponse(b){xe(b.idToken,"internal-error"),xe(typeof b.idToken<"u","internal-error"),xe(typeof b.refreshToken<"u","internal-error");const C="expiresIn"in b&&typeof b.expiresIn<"u"?Number(b.expiresIn):function Gt(R){const b=bn(R);return xe(b,"internal-error"),xe(typeof b.exp<"u","internal-error"),xe(typeof b.iat<"u","internal-error"),Number(b.exp)-Number(b.iat)}(b.idToken);this.updateTokensAndExpiration(b.idToken,b.refreshToken,C)}getToken(b,C=!1){var W=this;return(0,t.Z)(function*(){return xe(!W.accessToken||W.refreshToken,b,"user-token-expired"),C||!W.accessToken||W.isExpired?W.refreshToken?(yield W.refresh(b,W.refreshToken),W.accessToken):null:W.accessToken})()}clearRefreshToken(){this.refreshToken=null}refresh(b,C){var W=this;return(0,t.Z)(function*(){const{accessToken:Se,refreshToken:Be,expiresIn:bt}=yield function Nt(R,b){return yt.apply(this,arguments)}(b,C);W.updateTokensAndExpiration(Se,Be,Number(bt))})()}updateTokensAndExpiration(b,C,W){this.refreshToken=C||null,this.accessToken=b||null,this.expirationTime=Date.now()+1e3*W}static fromJSON(b,C){const{refreshToken:W,accessToken:Se,expirationTime:Be}=C,bt=new ot;return W&&(xe("string"==typeof W,"internal-error",{appName:b}),bt.refreshToken=W),Se&&(xe("string"==typeof Se,"internal-error",{appName:b}),bt.accessToken=Se),Be&&(xe("number"==typeof Be,"internal-error",{appName:b}),bt.expirationTime=Be),bt}toJSON(){return{refreshToken:this.refreshToken,accessToken:this.accessToken,expirationTime:this.expirationTime}}_assign(b){this.accessToken=b.accessToken,this.refreshToken=b.refreshToken,this.expirationTime=b.expirationTime}_clone(){return Object.assign(new ot,this.toJSON())}_performRefresh(){return Ne("not implemented")}}function Ue(R,b){xe("string"==typeof R||typeof R>"u","internal-error",{appName:b})}class Ye{constructor(b){var{uid:C,auth:W,stsTokenManager:Se}=b,Be=(0,D._T)(b,["uid","auth","stsTokenManager"]);this.providerId="firebase",this.proactiveRefresh=new $r(this),this.reloadUserInfo=null,this.reloadListener=null,this.uid=C,this.auth=W,this.stsTokenManager=Se,this.accessToken=Se.accessToken,this.displayName=Be.displayName||null,this.email=Be.email||null,this.emailVerified=Be.emailVerified||!1,this.phoneNumber=Be.phoneNumber||null,this.photoURL=Be.photoURL||null,this.isAnonymous=Be.isAnonymous||!1,this.tenantId=Be.tenantId||null,this.providerData=Be.providerData?[...Be.providerData]:[],this.metadata=new Vr(Be.createdAt||void 0,Be.lastLoginAt||void 0)}getIdToken(b){var C=this;return(0,t.Z)(function*(){const W=yield Tn(C,C.stsTokenManager.getToken(C.auth,b));return xe(W,C.auth,"internal-error"),C.accessToken!==W&&(C.accessToken=W,yield C.auth._persistUserIfCurrent(C),C.auth._notifyListenersIfCurrent(C)),W})()}getIdTokenResult(b){return function hr(R){return Dr.apply(this,arguments)}(this,b)}reload(){return function Vt(R){return Tt.apply(this,arguments)}(this)}_assign(b){this!==b&&(xe(this.uid===b.uid,this.auth,"internal-error"),this.displayName=b.displayName,this.photoURL=b.photoURL,this.email=b.email,this.emailVerified=b.emailVerified,this.phoneNumber=b.phoneNumber,this.isAnonymous=b.isAnonymous,this.tenantId=b.tenantId,this.providerData=b.providerData.map(C=>Object.assign({},C)),this.metadata._copy(b.metadata),this.stsTokenManager._assign(b.stsTokenManager))}_clone(b){return new Ye(Object.assign(Object.assign({},this),{auth:b,stsTokenManager:this.stsTokenManager._clone()}))}_onReload(b){xe(!this.reloadListener,this.auth,"internal-error"),this.reloadListener=b,this.reloadUserInfo&&(this._notifyReloadListener(this.reloadUserInfo),this.reloadUserInfo=null)}_notifyReloadListener(b){this.reloadListener?this.reloadListener(b):this.reloadUserInfo=b}_startProactiveRefresh(){this.proactiveRefresh._start()}_stopProactiveRefresh(){this.proactiveRefresh._stop()}_updateTokensIfNecessary(b,C=!1){var W=this;return(0,t.Z)(function*(){let Se=!1;b.idToken&&b.idToken!==W.stsTokenManager.accessToken&&(W.stsTokenManager.updateFromServerResponse(b),Se=!0),C&&(yield Tr(W)),yield W.auth._persistUserIfCurrent(W),Se&&W.auth._notifyListenersIfCurrent(W)})()}delete(){var b=this;return(0,t.Z)(function*(){const C=yield b.getIdToken();return yield Tn(b,function $n(R,b){return Wn.apply(this,arguments)}(b.auth,{idToken:C})),b.stsTokenManager.clearRefreshToken(),b.auth.signOut()})()}toJSON(){return Object.assign(Object.assign({uid:this.uid,email:this.email||void 0,emailVerified:this.emailVerified,displayName:this.displayName||void 0,isA
1nonymous:this.isAnonymous,photoURL:this.photoURL||void 0,phoneNumber:this.phoneNumber||void 0,tenantId:this.tenantId||void 0,providerData:this.providerData.map(b=>Object.assign({},b)),stsTokenManager:this.stsTokenManager.toJSON(),_redirectEventId:this._redirectEventId},this.metadata.toJSON()),{apiKey:this.auth.config.apiKey,appName:this.auth.name})}get refreshToken(){return this.stsTokenManager.refreshToken||""}static _fromJSON(b,C){var W,Se,Be,bt,Qt,Gn,ur,Gr;const is=null!==(W=C.displayName)&&void 0!==W?W:void 0,la=null!==(Se=C.email)&&void 0!==Se?Se:void 0,Ks=null!==(Be=C.phoneNumber)&&void 0!==Be?Be:void 0,Vl=null!==(bt=C.photoURL)&&void 0!==bt?bt:void 0,pu=null!==(Qt=C.tenantId)&&void 0!==Qt?Qt:void 0,lo=null!==(Gn=C._redirectEventId)&&void 0!==Gn?Gn:void 0,va=null!==(ur=C.createdAt)&&void 0!==ur?ur:void 0,Pa=null!==(Gr=C.lastLoginAt)&&void 0!==Gr?Gr:void 0,{uid:Dl,emailVerified:Ha,isAnonymous:Ja,providerData:Qa,stsTokenManager:ko}=C;xe(Dl&&ko,b,"internal-error");const Jo=ot.fromJSON(this.name,ko);xe("string"==typeof Dl,b,"internal-error"),Ue(is,b.name),Ue(la,b.name),xe("boolean"==typeof Ha,b,"internal-error"),xe("boolean"==typeof Ja,b,"internal-error"),Ue(Ks,b.name),Ue(Vl,b.name),Ue(pu,b.name),Ue(lo,b.name),Ue(va,b.name),Ue(Pa,b.name);const gu=new Ye({uid:Dl,auth:b,email:la,emailVerified:Ha,displayName:is,isAnonymous:Ja,photoURL:Vl,phoneNumber:Ks,tenantId:pu,stsTokenManager:Jo,createdAt:va,lastLoginAt:Pa});return Qa&&Array.isArray(Qa)&&(gu.providerData=Qa.map(_c=>Object.assign({},_c))),lo&&(gu._redirectEventId=lo),gu}static _fromIdTokenResponse(b,C,W=!1){return(0,t.Z)(function*(){const Se=new ot;Se.updateFromServerResponse(C);const Be=new Ye({uid:C.localId,auth:b,stsTokenManager:Se,isAnonymous:W});return yield Tr(Be),Be})()}}const Oe=(()=>{class R{constructor(){this.type="NONE",this.storage={}}_isAvailable(){return(0,t.Z)(function*(){return!0})()}_set(C,W){var Se=this;return(0,t.Z)(function*(){Se.storage[C]=W})()}_get(C){var W=this;return(0,t.Z)(function*(){const Se=W.storage[C];return void 0===Se?null:Se})()}_remove(C){var W=this;return(0,t.Z)(function*(){delete W.storage[C]})()}_addListener(C,W){}_removeListener(C,W){}}return R.type="NONE",R})();function Ge(R,b,C){return`firebase:${R}:${b}:${C}`}class Qe{constructor(b,C,W){this.persistence=b,this.auth=C,this.userKey=W;const{config:Se,name:Be}=this.auth;this.fullUserKey=Ge(this.userKey,Se.apiKey,Be),this.fullPersistenceKey=Ge("persistence",Se.apiKey,Be),this.boundEventHandler=C._onStorageEvent.bind(C),this.persistence._addListener(this.fullUserKey,this.boundEventHandler)}setCurrentUser(b){return this.persistence._set(this.fullUserKey,b.toJSON())}getCurrentUser(){var b=this;return(0,t.Z)(function*(){const C=yield b.persistence._get(b.fullUserKey);return C?Ye._fromJSON(b.auth,C):null})()}removeCurrentUser(){return this.persistence._remove(this.fullUserKey)}savePersistenceForRedirect(){return this.persistence._set(this.fullPersistenceKey,this.persistence.type)}setPersistence(b){var C=this;return(0,t.Z)(function*(){if(C.persistence===b)return;const W=yield C.getCurrentUser();return yield C.removeCurrentUser(),C.persistence=b,W?C.setCurrentUser(W):void 0})()}delete(){this.persistence._removeListener(this.fullUserKey,this.boundEventHandler)}static create(b,C,W="authUser"){return(0,t.Z)(function*(){if(!C.length)return new Qe(De(Oe),b,W);const Se=(yield Promise.all(C.map(function(){var ur=(0,t.Z)(function*(Gr){if(yield Gr._isAvailable())return Gr});return function(Gr){return ur.apply(this,arguments)}}()))).filter(ur=>ur);let Be=Se[0]||De(Oe);const bt=Ge(W,b.config.apiKey,b.name);let Qt=null;for(const ur of C)try{const Gr=yield ur._get(bt);if(Gr){const is=Ye._fromJSON(b,Gr);ur!==Be&&(Qt=is),Be=ur;break}}catch{}const Gn=Se.filter(ur=>ur._shouldAllowMigration);return Be._shouldAllowMigration&&Gn.length?(Be=Gn[0],Qt&&(yield Be._set(bt,Qt.toJSON())),yield Promise.all(C.map(function(){var ur=(0,t.Z)(function*(Gr){if(Gr!==Be)try{yield Gr._remove(bt)}catch{}});return function(Gr){return ur.apply(this,arguments)}}())),new Qe(Be,b,W)):new Qe(Be,b,W)})()}}function gt(R){const b=R.toLowerCase();if(b.includes("opera/")||b.includes("opr/")||b.includes("opios/"))return"Opera";if(At(b))return"IEMobile";if(b.includes("msie")||b.includes("trident/"))return"IE";if(b.includes("edge/"))return"Edge";if(it(b))return"Firefox";if(b.includes("silk/"))return"Silk";if(Ve(b))return"Blackberry";if(B(b))return"Webos";if(zt(b))return"Safari";if((b.includes("chrome/")||Cn(b))&&!b.includes("edge/"))return"Chrome";if(We(b))return"Android";{const W=R.match(/([a-zA-Z\d\.]+)\/[a-zA-Z\d\.]*$/);if(2===W?.length)return W[1]}return"Other"}function it(R=(0,f.z$)()){return/firefox\//i.test(R)}function zt(R=(0,f.z$)()){const b=R.toLowerCase();return b.includes("safari/")&&!b.includes("chrome/")&&!b.includes("crios/")&&!b.includes("android")}function Cn(R=(0,f.z$)()){return/crios\//i.test(R)}function At(R=(0,f.z$)()){return/iemobile/i.test(R)}function We(R=(0,f.z$)()){return/android/i.test(R)}function Ve(R=(0,f.z$)()){return/blackberry/i.test(R)}function B(R=(0,f.z$)()){return/webos/i.test(R)}function ue(R=(0,f.z$)()){return/iphone|ipad|ipod/i.test(R)||/macintosh/i.test(R)&&/mobile/i.test(R)}function ve(R=(0,f.z$)()){return/(iPad|iPhone|iPod).*OS 7_\d/i.test(R)||/(iPad|iPhone|iPod).*OS 8_\d/i.test(R)}
1function Jt(R=(0,f.z$)()){return ue(R)||We(R)||B(R)||Ve(R)||/windows phone/i.test(R)||At(R)}function er(R,b=[]){let C;switch(R){case"Browser":C=gt((0,f.z$)());break;case"Worker":C=`${gt((0,f.z$)())}-${R}`;break;default:C=R}const W=b.length?b.join(","):"FirebaseCore-web";return`${C}/JsCore/${_.SDK_VERSION}/${W}`}class Zn{constructor(b){this.auth=b,this.queue=[]}pushCallback(b,C){const W=Be=>new Promise((bt,Qt)=>{try{bt(b(Be))}catch(Gn){Qt(Gn)}});W.onAbort=C,this.queue.push(W);const Se=this.queue.length-1;return()=>{this.queue[Se]=()=>Promise.resolve()}}runMiddleware(b){var C=this;return(0,t.Z)(function*(){if(C.auth.currentUser===b)return;const W=[];try{for(const Se of C.queue)yield Se(b),Se.onAbort&&W.push(Se.onAbort)}catch(Se){W.reverse();for(const Be of W)try{Be()}catch{}throw C.auth._errorFactory.create("login-blocked",{originalMessage:Se?.message})}})()}}class Ir{constructor(b,C,W){this.app=b,this.heartbeatServiceProvider=C,this.config=W,this.currentUser=null,this.emulatorConfig=null,this.operations=Promise.resolve(),this.authStateSubscription=new ti(this),this.idTokenSubscription=new ti(this),this.beforeStateQueue=new Zn(this),this.redirectUser=null,this.isProactiveRefreshEnabled=!1,this._canInitEmulator=!0,this._isInitialized=!1,this._deleted=!1,this._initializationPromise=null,this._popupRedirectResolver=null,this._errorFactory=Y,this.lastNotifiedUid=void 0,this.languageCode=null,this.tenantId=null,this.settings={appVerificationDisabledForTesting:!1},this.frameworks=[],this.name=b.name,this.clientVersion=W.sdkClientVersion}_initializeWithPersistence(b,C){var W=this;return C&&(this._popupRedirectResolver=De(C)),this._initializationPromise=this.queue((0,t.Z)(function*(){var Se,Be;if(!W._deleted&&(W.persistenceManager=yield Qe.create(W,b),!W._deleted)){if(null!==(Se=W._popupRedirectResolver)&&void 0!==Se&&Se._shouldInitProactively)try{yield W._popupRedirectResolver._initialize(W)}catch{}yield W.initializeCurrentUser(C),W.lastNotifiedUid=(null===(Be=W.currentUser)||void 0===Be?void 0:Be.uid)||null,!W._deleted&&(W._isInitialized=!0)}})),this._initializationPromise}_onStorageEvent(){var b=this;return(0,t.Z)(function*(){if(b._deleted)return;const C=yield b.assertedPersistence.getCurrentUser();if(b.currentUser||C){if(b.currentUser&&C&&b.currentUser.uid===C.uid)return b._currentUser._assign(C),void(yield b.currentUser.getIdToken());yield b._updateCurrentUser(C,!0)}})()}initializeCurrentUser(b){var C=this;return(0,t.Z)(function*(){var W;const Se=yield C.assertedPersistence.getCurrentUser();let Be=Se,bt=!1;if(b&&C.config.authDomain){yield C.getOrInitRedirectPersistenceManager();const Qt=null===(W=C.redirectUser)||void 0===W?void 0:W._redirectEventId,Gn=Be?._redirectEventId,ur=yield C.tryRedirectSignIn(b);(!Qt||Qt===Gn)&&ur?.user&&(Be=ur.user,bt=!0)}if(!Be)return C.directlySetCurrentUser(null);if(!Be._redirectEventId){if(bt)try{yield C.beforeStateQueue.runMiddleware(Be)}catch(Qt){Be=Se,C._popupRedirectResolver._overrideRedirectResult(C,()=>Promise.reject(Qt))}return Be?C.reloadAndSetCurrentUserOrClear(Be):C.directlySetCurrentUser(null)}return xe(C._popupRedirectResolver,C,"argument-error"),yield C.getOrInitRedirectPersistenceManager(),C.redirectUser&&C.redirectUser._redirectEventId===Be._redirectEventId?C.directlySetCurrentUser(Be):C.reloadAndSetCurrentUserOrClear(Be)})()}tryRedirectSignIn(b){var C=this;return(0,t.Z)(function*(){let W=null;try{W=yield C._popupRedirectResolver._completeRedirectFn(C,b,!0)}catch{yield C._setRedirectUser(null)}return W})()}reloadAndSetCurrentUserOrClear(b){var C=this;return(0,t.Z)(function*(){try{yield Tr(b)}catch(W){if("auth/network-request-failed"!==W?.code)return C.directlySetCurrentUser(null)}return C.directlySetCurrentUser(b)})()}useDeviceLanguage(){this.languageCode=function jt(){if(typeof navigator>"u")return null;const R=navigator;return R.languages&&R.languages[0]||R.language||null}()}_delete(){var b=this;return(0,t.Z)(function*(){b._deleted=!0})()}updateCurrentUser(b){var C=this;return(0,t.Z)(function*(){const W=b?(0,f.m9)(b):null;return W&&xe(W.auth.config.apiKey===C.config.apiKey,C,"invalid-user-token"),C._updateCurrentUser(W&&W._clone(C))})()}_updateCurrentUser(b,C=!1){var W=this;return(0,t.Z)(function*(){if(!W._deleted)return b&&xe(W.tenantId===b.tenantId,W,"tenant-id-mismatch"),C||(yield W.beforeStateQueue.runMiddleware(b)),W.queue((0,t.Z)(function*(){yield W.directlySetCurrentUser(b),W.notifyAuthListeners()}))})()}signOut(){var b=this;return(0,t.Z)(function*(){return yield b.beforeStateQueue.runMiddleware(null),(b.redirectPersistenceManager||b._popupRedirectResolver)&&(yield b._setRedirectUser(null)),b._updateCurrentUser(null,!0)})()}setPersistence(b){var C=this;return this.queue((0,t.Z)(function*(){yield C.assertedPersistence.setPersistence(De(b))}))}_getPersistence(){return this.assertedPersistence.persistence.type}_updateErrorMap(b){this._errorFactory=new f.LL("auth","Firebase",b())}onAuthStateChanged(b,C,W){return this.registerStateListener(this.authStateSubscription,b,C,W)}beforeAuthStateChanged(b,C){return this.beforeStateQueue.pushCallback(b,C)}onIdTokenChanged(b,C,W){return this.registerStateListener(this.idTokenSubscription,b,C,W)}toJSON(){var b;return{apiKey:this.config.apiKey,authDomain:this.config.authDomain,appName:this.name,currentUser:null===(b=this._currentUser)||void 0===b?void 0:b.toJSON()}}_setRedirectUser(b,C){var W=this;return(0,t.Z)(function*(){const Se=yield W.getOrInitRedirectPersistenceManager(C);return null===b?Se.removeCurrentUser():Se.setCurrentUser(b)})()}getOrInitRedirectPersistenceManager(b){var C=this;return(0,t.Z)(function*(){if(!C.redirectPersistenceManager){const W=b&&De(b)||C._popupRedirectResolver;xe(W,C,"argument-error"),C.redirectPersistenceManager=yield Qe.create(C,[De(W._redirectPersistence)],"redirectUser"),C.redirectUser=yield C.redirectPersistenceManager.getCurrentUser()}return C.redirectPersistenceManager})()}_redirectUserForId(b){var C=this;return(0,t.Z)(function*(){var W,Se;return C._isInitialized&&(yield C.queue((0,t.Z)(function*(){}))),(null===(W=C._currentUser)||void 0===W?void 0:W._redirectEventId)===b?C._currentUser:(null===(Se=C.redirectUser)||void 0===Se?void 0:Se._redirectEventId)===b?C.redirectUser:null})()}_persistUserIfCurrent(b){var C=this;return(0,t.Z)(function*(){if(b===C.currentUser)return C.queue((0,t.Z)(function*(){return C.directlySetCurrentUser(b)}))})()}_notifyListenersIfCurrent(b){b===this.currentUser&&this.notifyAuthListeners()}_key(){return`${this.config.authDomain}:${this.config.apiKey}:${this.name}`}_startProactiveRefresh(){this.isProactiveRefreshEnabled=!0,this.currentUser&&this._currentUser._startProactiveRefresh()}_stopProactiveRefresh(){this.isProactiveRefreshEnabled=!1,this.currentUser&&this._currentUser._stopProactiveRefresh()}get _currentUser(){return this.currentUser}notifyAuthListeners(){var b,C;if(!this._isInitialized)return;this.idTokenSubscription.next(this.currentUser);const W=null!==(C=null===(b=this.currentUser)||void 0===b?void 0:b.uid)&&void 0!==C?C:null;this.lastNotifiedUid!==W&&(this.lastNotifiedUid=W,this.authStateSubscription.next(this.currentUser))}registerStateListener(b,C,W,Se){if(this._deleted)return()=>{};const Be="function"==typeof C?C:C.next.bind(C),bt=this._isInitialized?Promise.resolve():this._initializationPromise;return xe(bt,this,"internal-error"),bt.then(()=>Be(this.currentUser)),"function"==typeof C?b.addObserver(C,W,Se):b.addObserver(C)}directlySetCurrentUser(b){var C=this;return(0,t.Z)(function*(){C.currentUser&&C.currentUser!==b&&C._currentUser._stopProactiveRefresh(),b&&C.isProactiveRefreshEnabled&&b._startProactiveRefresh(),C.currentUser=b,b?yield C.assertedPersistence.setCurrentUser(b):yield C.assertedPersistence.removeCurrentUser()})()}queue(b){return this.operations=this.operations.then(b,b),this.operations}get assertedPersistence(){return xe(this.persistenceManager,this,"internal-error"),this.persistenceManager}_logFramework(b){!b||this.frameworks.includes(b)||(this.frameworks.push(b),this.frameworks.sort(),this.clientVersion=er(this.config.clientPlatform,this._getFrameworks()))}_getFrameworks(){return this.frameworks}_getAdditionalHeaders(){var b=this;return(0,t.Z)(function*(){var C;const W={"X-Client-Version":b.clientVersion};b.app.options.appId&&(W["X-Firebase-gmpid"]=b.app.options.appId);const Se=yield null===(C=b.heartbeatServiceProvider.getImmediate({optional:!0}))||void 0===C?void 0:C.getHeartbeatsHeader();return Se&&(W["X-Firebase-Client"]=Se),W})()}}function Jn(R){return(0,f.m9)(R)}class ti{constructor(b){this.auth=b,this.observer=null,this.addObserver=(0,f.ne)(C=>this.observer=C)}get next(){return xe(this.observer,this.auth,"internal-error"),this.observer.next.bind(this.observer)}}function Qi(R,b,C){const W=Jn(R);xe(W._canInitEmulator,W,"emulator-config-failed"),xe(/^https?:\/\//.test(b),W,"invali
1d-emulator-scheme");const Se=!!C?.disableWarnings,Be=bs(b),{host:bt,port:Qt}=function Ui(R){const b=bs(R),C=/(\/\/)?([^?#/]+)/.exec(R.substr(b.length));if(!C)return{host:"",port:null};const W=C[2].split("@").pop()||"",Se=/^(\[[^\]]+\])(:|$)/.exec(W);if(Se){const Be=Se[1];return{host:Be,port:Yi(W.substr(Be.length+1))}}{const[Be,bt]=W.split(":");return{host:Be,port:Yi(bt)}}}(b);W.config.emulator={url:`${Be}//${bt}${null===Qt?"":`:${Qt}`}/`},W.settings.appVerificationDisabledForTesting=!0,W.emulatorConfig=Object.freeze({host:bt,port:Qt,protocol:Be.replace(":",""),options:Object.freeze({disableWarnings:Se})}),Se||function Or(){function R(){const b=document.createElement("p"),C=b.style;b.innerText="Running in emulator mode. Do not use with production credentials.",C.position="fixed",C.width="100%",C.backgroundColor="#ffffff",C.border=".1em solid #000000",C.color="#b50000",C.bottom="0px",C.left="0px",C.margin="0px",C.zIndex="10000",C.textAlign="center",b.classList.add("firebase-emulator-warning"),document.body.appendChild(b)}typeof console<"u"&&"function"==typeof console.info&&console.info("WARNING: You are using the Auth Emulator, which is intended for local testing only.  Do not use with production credentials."),typeof window<"u"&&typeof document<"u"&&("loading"===document.readyState?window.addEventListener("DOMContentLoaded",R):R())}()}function bs(R){const b=R.indexOf(":");return b<0?"":R.substr(0,b+1)}function Yi(R){if(!R)return null;const b=Number(R);return isNaN(b)?null:b}class ni{constructor(b,C){this.providerId=b,this.signInMethod=C}toJSON(){return Ne("not implemented")}_getIdTokenResponse(b){return Ne("not implemented")}_linkToIdToken(b,C){return Ne("not implemented")}_getReauthenticationResolver(b){return Ne("not implemented")}}function Ti(R,b){return Yr.apply(this,arguments)}function Yr(){return(Yr=(0,t.Z)(function*(R,b){return Xt(R,"POST","/v1/accounts:resetPassword",gn(R,b))})).apply(this,arguments)}function ri(R,b){return pi.apply(this,arguments)}function pi(){return(pi=(0,t.Z)(function*(R,b){return Xt(R,"POST","/v1/accounts:update",b)})).apply(this,arguments)}function vn(R,b){return qn.apply(this,arguments)}function qn(){return(qn=(0,t.Z)(function*(R,b){return Xt(R,"POST","/v1/accounts:update",gn(R,b))})).apply(this,arguments)}function ci(){return(ci=(0,t.Z)(function*(R,b){return Bt(R,"POST","/v1/accounts:signInWithPassword",gn(R,b))})).apply(this,arguments)}function ii(R,b){return Hr.apply(this,arguments)}function Hr(){return(Hr=(0,t.Z)(function*(R,b){return Xt(R,"POST","/v1/accounts:sendOobCode",gn(R,b))})).apply(this,arguments)}function Ci(R,b){return gr.apply(this,arguments)}function gr(){return(gr=(0,t.Z)(function*(R,b){return ii(R,b)})).apply(this,arguments)}function Di(R,b){return ki.apply(this,arguments)}function ki(){return(ki=(0,t.Z)(function*(R,b){return ii(R,b)})).apply(this,arguments)}function wn(R,b){return Zi.apply(this,arguments)}function Zi(){return(Zi=(0,t.Z)(function*(R,b){return ii(R,b)})).apply(this,arguments)}function ss(R,b){return Ms.apply(this,arguments)}function Ms(){return(Ms=(0,t.Z)(function*(R,b){return ii(R,b)})).apply(this,arguments)}function je(){return(je=(0,t.Z)(function*(R,b){return Bt(R,"POST","/v1/accounts:signInWithEmailLink",gn(R,b))})).apply(this,arguments)}function ft(){return(ft=(0,t.Z)(function*(R,b){return Bt(R,"POST","/v1/accounts:signInWithEmailLink",gn(R,b))})).apply(this,arguments)}class Dt extends ni{constructor(b,C,W,Se=null){super("password",W),this._email=b,this._password=C,this._tenantId=Se}static _fromEmailAndPassword(b,C){return new Dt(b,C,"password")}static _fromEmailAndCode(b,C,W=null){return new Dt(b,C,"emailLink",W)}toJSON(){return{email:this._email,password:this._password,signInMethod:this.signInMethod,tenantId:this._tenantId}}static fromJSON(b){const C="string"==typeof b?JSON.parse(b):b;if(C?.email&&C?.password){if("password"===C.signInMethod)return this._fromEmailAndPassword(C.email,C.password);if("emailLink"===C.signInMethod)return this._fromEmailAndCode(C.email,C.password,C.tenantId)}return null}_getIdTokenResponse(b){var C=this;return(0,t.Z)(function*(){switch(C.signInMethod){case"password":return function ai(R,b){return ci.apply(this,arguments)}(b,{returnSecureToken:!0,email:C._email,password:C._password});case"emailLink":return function os(R,b){return je.apply(this,arguments)}(b,{email:C._email,oobCode:C._password});default:J(b,"internal-error")}})()}_linkToIdToken(b,C){var W=this;return(0,t.Z)(function*(){switch(W.signInMethod){case"password":return ri(b,{idToken:C,returnSecureToken:!0,email:W._email,password:W._password});case"emailLink":return function Mt(R,b){return ft.apply(this,arguments)}(b,{idToken:C,email:W._email,oobCode:W._password});default:J(b,"internal-error")}})()}_getReauthenticationResolver(b){return this._getIdTokenResponse(b)}}function Ht(R,b){return en.apply(this,arguments)}function en(){return(en=(0,t.Z)(function*(R,b){return Bt(R,"POST","/v1/accounts:signInWithIdp",gn(R,b))})).apply(this,arguments)}class Pr extends ni{constructor(){super(...arguments),this.pendingToken=null}static _fromParams(b){const C=new Pr(b.providerId,b.signInMethod);return b.idToken||b.accessToken?(b.idToken&&(C.idToken=b.idToken),b.accessToken&&(C.accessToken=b.accessToken),b.nonce&&!b.pendingToken&&
1(C.nonce=b.nonce),b.pendingToken&&(C.pendingToken=b.pendingToken)):b.oauthToken&&b.oauthTokenSecret?(C.accessToken=b.oauthToken,C.secret=b.oauthTokenSecret):J("argument-error"),C}toJSON(){return{idToken:this.idToken,accessToken:this.accessToken,secret:this.secret,nonce:this.nonce,pendingToken:this.pendingToken,providerId:this.providerId,signInMethod:this.signInMethod}}static fromJSON(b){const C="string"==typeof b?JSON.parse(b):b,{providerId:W,signInMethod:Se}=C,Be=(0,D._T)(C,["providerId","signInMethod"]);if(!W||!Se)return null;const bt=new Pr(W,Se);return bt.idToken=Be.idToken||void 0,bt.accessToken=Be.accessToken||void 0,bt.secret=Be.secret,bt.nonce=Be.nonce,bt.pendingToken=Be.pendingToken||null,bt}_getIdTokenResponse(b){return Ht(b,this.buildRequest())}_linkToIdToken(b,C){const W=this.buildRequest();return W.idToken=C,Ht(b,W)}_getReauthenticationResolver(b){const C=this.buildRequest();return C.autoCreate=!1,Ht(b,C)}buildRequest(){const b={requestUri:"http://localhost",returnSecureToken:!0};if(this.pendingToken)b.pendingToken=this.pendingToken;else{const C={};this.idToken&&(C.id_token=this.idToken),this.accessToken&&(C.access_token=this.accessToken),this.secret&&(C.oauth_token_secret=this.secret),C.providerId=this.providerId,this.nonce&&!this.pendingToken&&(C.nonce=this.nonce),b.postBody=(0,f.xO)(C)}return b}}function mr(R,b){return vi.apply(this,arguments)}function vi(){return(vi=(0,t.Z)(function*(R,b){return Xt(R,"POST","/v1/accounts:sendVerificationCode",gn(R,b))})).apply(this,arguments)}function fr(){return(fr=(0,t.Z)(function*(R,b){return Bt(R,"POST","/v1/accounts:signInWithPhoneNumber",gn(R,b))})).apply(this,arguments)}function li(){return(li=(0,t.Z)(function*(R,b){const C=yield Bt(R,"POST","/v1/accounts:signInWithPhoneNumber",gn(R,b));if(C.temporaryProof)throw nr(R,"account-exists-with-different-credential",C);return C})).apply(this,arguments)}const yo={USER_NOT_FOUND:"user-not-found"};function Xn(){return(Xn=(0,t.Z)(function*(R,b){return Bt(R,"POST","/v1/accounts:signInWithPhoneNumber",gn(R,Object.assign(Object.assign({},b),{operation:"REAUTH"})),yo)})).apply(this,arguments)}class pn extends ni{constructor(b){super("phone","phone"),this.params=b}static _fromVerification(b,C){return new pn({verificationId:b,verificationCode:C})}static _fromTokenResponse(b,C){return new pn({phoneNumber:b,temporaryProof:C})}_getIdTokenResponse(b){return function ar(R,b){return fr.apply(this,arguments)}(b,this._makeVerificationRequest())}_linkToIdToken(b,C){return function xi(R,b){return li.apply(this,arguments)}(b,Object.assign({idToken:C},this._makeVerificationRequest()))}_getReauthenticationResolver(b){return function Si(R,b){return Xn.apply(this,arguments)}(b,this._makeVerificationRequest())}_makeVerificationRequest(){const{temporaryProof:b,phoneNumber:C,verificationId:W,verificationCode:Se}=this.params;return b&&C?{temporaryProof:b,phoneNumber:C}:{sessionInfo:W,code:Se}}toJSON(){const b={providerId:this.providerId};return this.params.phoneNumber&&(b.phoneNumber=this.params.phoneNumber),this.params.temporaryProof&&(b.temporaryProof=this.params.temporaryProof),this.params.verificationCode&&(b.verificationCode=this.params.verificationCode),this.params.verificationId&&(b.verificationId=this.params.verificationId),b}static fromJSON(b){"string"==typeof b&&(b=JSON.parse(b));const{verificationId:C,verificationCode:W,phoneNumber:Se,temporaryProof:Be}=b;return W||C||Se||Be?new pn({verificationId:C,verificationCode:W,phoneNumber:Se,temporaryProof:Be}):null}}class si{constructor(b){var C,W,Se,Be,bt,Qt;const Gn=(0,f.zd)((0,f.pd)(b)),ur=null!==(C=Gn.apiKey)&&void 0!==C?C:null,Gr=null!==(W=Gn.oobCode)&&void 0!==W?W:null,is=function xs(R){switch(R){case"recoverEmail":return"RECOVER_EMAIL";case"resetPassword":return"PASSWORD_RESET";case"signIn":return"EMAIL_SIGNIN";case"verifyEmail":return"VERIFY_EMAIL";case"verifyAndChangeEmail":return"VERIFY_AND_CHANGE_EMAIL";case"revertSecondFactorAddition":return"REVERT_SECOND_FACTOR_ADDITION";default:return null}}(null!==(Se=Gn.mode)&&void 0!==Se?Se:null);xe(ur&&Gr&&is,"argument-error"),this.apiKey=ur,this.operation=is,this.code=Gr,this.continueUrl=null!==(Be=Gn.continueUrl)&&void 0!==Be?Be:null,this.languageCode=null!==(bt=Gn.languageCode)&&void 0!==bt?bt:null,this.tenantId=null!==(Qt=Gn.tenantId)&&void 0!==Qt?Qt:null}static parseLink(b){const C=function Oi(R){const b=(0,f.zd)((0,f.pd)(R)).link,C=b?(0,f.zd)((0,f.pd)(b)).deep_link_id:null,W=(0,f.zd)((0,f.pd)(R)).deep_link_id;return(W?(0,f.zd)((0,f.pd)(W)).link:null)||W||C||b||R}(b);try{return new si(C)}catch{return null}}}let Zr=(()=>{class R{constructor(){this.providerId=R.PROVIDER_ID}static credential(C,W){return Dt._fromEmailAndPassword(C,W)}static credentialWithLink(C,W){const Se=si.parseLink(W);return xe(Se,"argument-error"),Dt._fromEmailAndCode(C,Se.code,Se.tenantId)}}return R.PROVIDER_ID="password",R.EMAIL_PASSWORD_SIGN_IN_METHOD="password",R.EMAIL_LINK_SIGN_IN_METHOD="emailLink",R})();class hs{constructor(b){this.providerId=b,this.defaultLanguageCode=null,this.customParameters={}}setDefaultLanguage(b){this.defaultLanguageCode=b}setCustomParameters(b){return this.customParameters=b,this}getCustomParameters(){return this.customParameters}}class Es extends hs{constructor(){super(...arguments),this.scopes=[]}addScope(b){return this.scopes.includes(b)||this.scopes.push(b),this}getScopes(){return[...this.scopes]}}
vendor: 4,362 bytes, line 1
1class Xr extends Es{static credentialFromJSON(b){const C="string"==typeof b?JSON.parse(b):b;return xe("providerId"in C&&"signInMethod"in C,"argument-error"),Pr._fromParams(C)}credential(b){return this._credential(Object.assign(Object.assign({},b),{nonce:b.rawNonce}))}_credential(b){return xe(b.idToken||b.accessToken,"argument-error"),Pr._fromParams(Object.assign(Object.assign({},b),{providerId:this.providerId,signInMethod:this.providerId}))}static credentialFromResult(b){return Xr.oauthCredentialFromTaggedObject(b)}static credentialFromError(b){return Xr.oauthCredentialFromTaggedObject(b.customData||{})}static oauthCredentialFromTaggedObject({_tokenResponse:b}){if(!b)return null;const{oauthIdToken:C,oauthAccessToken:W,oauthTokenSecret:Se,pendingToken:Be,nonce:bt,providerId:Qt}=b;if(!W&&!Se&&!C&&!Be||!Qt)return null;try{return new Xr(Qt)._credential({idToken:C,accessToken:W,nonce:bt,pendingToken:Be})}catch{return null}}}let Bs=(()=>{class R extends Es{constructor(){super("facebook.com")}static credential(C){return Pr._fromParams({providerId:R.PROVIDER_ID,signInMethod:R.FACEBOOK_SIGN_IN_METHOD,accessToken:C})}static credentialFromResult(C){return R.credentialFromTaggedObject(C)}static credentialFromError(C){return R.credentialFromTaggedObject(C.customData||{})}static credentialFromTaggedObject({_tokenResponse:C}){if(!C||!("oauthAccessToken"in C)||!C.oauthAccessToken)return null;try{return R.credential(C.oauthAccessToken)}catch{return null}}}return R.FACEBOOK_SIGN_IN_METHOD="facebook.com",R.PROVIDER_ID="facebook.com",R})(),Zs=(()=>{class R extends Es{constructor(){super("google.com"),this.addScope("profile")}static credential(C,W){return Pr._fromParams({providerId:R.PROVIDER_ID,signInMethod:R.GOOGLE_SIGN_IN_METHOD,idToken:C,accessToken:W})}static credentialFromResult(C){return R.credentialFromTaggedObject(C)}static credentialFromError(C){return R.credentialFromTaggedObject(C.customData||{})}static credentialFromTaggedObject({_tokenResponse:C}){if(!C)return null;const{oauthIdToken:W,oauthAccessToken:Se}=C;if(!W&&!Se)return null;try{return R.credential(W,Se)}catch{return null}}}return R.GOOGLE_SIGN_IN_METHOD="google.com",R.PROVIDER_ID="google.com",R})(),Ct=(()=>{class R extends Es{constructor(){super("github.com")}static credential(C){return Pr._fromParams({providerId:R.PROVIDER_ID,signInMethod:R.GITHUB_SIGN_IN_METHOD,accessToken:C})}static credentialFromResult(C){return R.credentialFromTaggedObject(C)}static credentialFromError(C){return R.credentialFromTaggedObject(C.customData||{})}static credentialFromTaggedObject({_tokenResponse:C}){if(!C||!("oauthAccessToken"in C)||!C.oauthAccessToken)return null;try{return R.credential(C.oauthAccessToken)}catch{return null}}}return R.GITHUB_SIGN_IN_METHOD="github.com",R.PROVIDER_ID="github.com",R})();class fs extends ni{constructor(b,C){super(b,b),this.pendingToken=C}_getIdTokenResponse(b){return Ht(b,this.buildRequest())}_linkToIdToken(b,C){const W=this.buildRequest();return W.idToken=C,Ht(b,W)}_getReauthenticationResolver(b){const C=this.buildRequest();return C.autoCreate=!1,Ht(b,C)}toJSON(){return{signInMethod:this.signInMethod,providerId:this.providerId,pendingToken:this.pendingToken}}static fromJSON(b){const C="string"==typeof b?JSON.parse(b):b,{providerId:W,signInMethod:Se,pendingToken:Be}=C;return W&&Se&&Be&&W===Se?new fs(W,Be):null}static _create(b,C){return new fs(b,C)}buildRequest(){return{requestUri:"http://localhost",returnSecureToken:!0,pendingToken:this.pendingToken}}}class Os extends hs{constructor(b){xe(b.startsWith("saml."),"argument-error"),super(b)}static credentialFromResult(b){return Os.samlCredentialFromTaggedObject(b)}static credentialFromError(b){return Os.samlCredentialFromTaggedObject(b.customData||{})}static credentialFromJSON(b){const C=fs.fromJSON(b);return xe(C,"argument-error"),C}static samlCredentialFromTaggedObject({_tokenResponse:b}){if(!b)return null;const{pendingToken:C,providerId:W}=b;if(!C||!W)return null;try{return fs._create(W,C)}catch{return null}}}let lt=(()=>{class R extends Es{constructor(){super("twitter.com")}static credential(C,W){return Pr._fromParams({providerId:R.PROVIDER_ID,signInMethod:R.TWITTER_SIGN_IN_METHOD,oauthToken:C,oauthTokenSecret:W})}static credentialFromResult(C){return R.credentialFromTaggedObject(C)}static credentialFromError(C){return R.credentialFromTaggedObject(C.customData||{})}
1static credentialFromTaggedObject({_tokenResponse:C}){if(!C)return null;const{oauthAccessToken:W,oauthTokenSecret:Se}=C;if(!W||!Se)return null;try{return R.credential(W,Se)}catch{return null}}}return R.TWITTER_SIGN_IN_METHOD="twitter.com",R.PROVIDER_ID="twitter.com",R})();function at(R,b){return vt.apply(this,arguments)}function vt(){return(vt=(0,t.Z)(function*(R,b){return Bt(R,"POST","/v1/accounts:signUp",gn(R,b))})).apply(this,arguments)}class Ft{constructor(b){this.user=b.user,this.providerId=b.providerId,this._tokenResponse=b._tokenResponse,this.operationType=b.operationType}static _fromIdTokenResponse(b,C,W,Se=!1){return(0,t.Z)(function*(){const Be=yield Ye._fromIdTokenResponse(b,W,Se),bt=an(W);return new Ft({user:Be,providerId:bt,_tokenResponse:W,operationType:C})})()}static _forOperation(b,C,W){return(0,t.Z)(function*(){yield b._updateTokensIfNecessary(W,!0);const Se=an(W);return new Ft({user:b,providerId:Se,_tokenResponse:W,operationType:C})})()}}function an(R){return R.providerId?R.providerId:"phoneNumber"in R?"phone":null}function Pn(R){return Rn.apply(this,arguments)}function Rn(){return(Rn=(0,t.Z)(function*(R){var b;const C=Jn(R);if(yield C._initializationPromise,null!==(b=C.currentUser)&&void 0!==b&&b.isAnonymous)return new Ft({user:C.currentUser,providerId:null,operationType:"signIn"});const W=yield at(C,{returnSecureToken:!0}),Se=yield Ft._fromIdTokenResponse(C,"signIn",W,!0);return yield C._updateCurrentUser(Se.user),Se})).apply(this,arguments)}class jr extends f.ZR{constructor(b,C,W,Se){var Be;super(C.code,C.message),this.operationType=W,this.user=Se,Object.setPrototypeOf(this,jr.prototype),this.customData={appName:b.name,tenantId:null!==(Be=b.tenantId)&&void 0!==Be?Be:void 0,_serverResponse:C.customData._serverResponse,operationType:W}}static _fromErrorAndOperation(b,C,W,Se){return new jr(b,C,W,Se)}}function jn(R,b,C,W){return("reauthenticate"===b?C._getReauthenticationResolver(R):C._getIdTokenResponse(R)).catch(Be=>{throw"auth/multi-factor-auth-required"===Be.code?jr._fromErrorAndOperation(R,Be,b,W):Be})}function Vs(R){return new Set(R.map(({providerId:b})=>b).filter(b=>!!b))}function yi(R,b){return dt.apply(this,arguments)}function dt(){return(dt=(0,t.Z)(function*(R,b){const C=(0,f.m9)(R);yield Js(!0,C,b);const{providerUserInfo:W}=yield Sn(C.auth,{idToken:yield C.getIdToken(),deleteProvider:[b]}),Se=Vs(W||[]);return C.providerData=C.providerData.filter(Be=>Se.has(Be.providerId)),Se.has("phone")||(C.phoneNumber=null),yield C.auth._persistUserIfCurrent(C),C})).apply(this,arguments)}function Ke(R,b){return bo.apply(this,arguments)}function bo(){return(bo=(0,t.Z)(function*(R,b,C=!1){const W=yield Tn(R,b._linkToIdToken(R.auth,yield R.getIdToken()),C);return Ft._forOperation(R,"link",W)})).apply(this,arguments)}function Js(R,b,C){return as.apply(this,arguments)}function as(){return(as=(0,t.Z)(function*(R,b,C){yield Tr(b);const Se=!1===R?"provider-already-linked":"no-such-provider";xe(Vs(b.providerData).has(C)===R,b.auth,Se)})).apply(this,arguments)}function ps(R,b){return di.apply(this,arguments)}function di(){return(di=(0,t.Z)(function*(R,b,C=!1){const{auth:W}=R,Se="reauthenticate";try{const Be=yield Tn(R,jn(W,Se,b,R),C);xe(Be.idToken,W,"internal-error");const bt=bn(Be.idToken);xe(bt,W,"internal-error");const{sub:Qt}=bt;return xe(R.uid===Qt,W,"user-mismatch"),Ft._forOperation(R,Se,Be)}catch(Be){throw"auth/user-not-found"===Be?.code&&J(W,"user-mismatch"),Be}})).apply(this,arguments)}function Hs(R,b){return Fi.apply(this,arguments)}function Fi(){return(Fi=(0,t.Z)(function*(R,b,C=!1){const W="signIn",Se=yield jn(R,W,b),Be=yield Ft._fromIdTokenResponse(R,W,Se);return C||(yield R._updateCurrentUser(Be.user)),Be})).apply(this,arguments)}function hi(R,b){return wr.apply(this,arguments)}function wr(){return(wr=(0,t.Z)(function*(R,b){return Hs(Jn(R),b)})).apply(this,arguments)}function Ni(R,b){return Ns.apply(this,arguments)}function Ns(){return(Ns=(0,t.Z)(function*(R,b){const C=(0,f.m9)(R);return yield Js(!1,C,b.providerId),Ke(C,b)})).apply(this,arguments)}function es(R,b){return Vo.apply(this,arguments)}function Vo(){return(Vo=(0,t.Z)(function*(R,b){return ps((0,f.m9)(R),b)})).apply(this,arguments)}function ws(R,b){return gi.apply(this,arguments)}function gi(){return(gi=(0,t.Z)(function*(R,b){return Bt(R,"POST","/v1/accounts:signInWithCustomToken",gn(R,b))})).apply(this,arguments)}function ho(R,b){return Do.apply(this,arguments)}function Do(){return(Do=(0,t.Z)(function*(R,b){const C=Jn(R),W=yield ws(C,{token:b,returnSecureToken:!0}),Se=yield Ft._fromIdTokenResponse(C,"signIn",W);return yield C._updateCurrentUser(Se.user),Se})).apply(this,arguments)}class ts{constructor(b,C){this.factorId=b,this.uid=C.mfaEnrollmentId,this.enrollmentTime=new Date(C.enrolledAt).toUTCString(),this.displayName=C.displayName}static _fromServerResponse(b,C){return"phoneInfo"in C?wi._fromServerResponse(b,C):J(b,"internal-error")}}class wi extends ts{constructor(b){super("phone",b),this.phoneNumber=b.phoneInfo}static _fromServerResponse(b,C){return new wi(C)}}function ha(R,b,C){var W;xe((null===(W=C.url)||void 0===W?void 0:W.length)>0,R,"invalid-continue-uri"),xe(typeof C.dynamicLinkDomain>"u"||C.dynamicLinkDomain.length>0,R,"invalid-dynamic-link-domain"),b.continueUrl=C.url,b.dynamicLinkDomain=C.dynamicLinkDomain,b.canHandleCodeInApp=C.handleCodeInApp,C.iOS&&(xe(C.iOS.bundleId.length>0,R,"missing-ios-bundle-id"),b.iOSBundleId=C.iOS.bundleId),C.android&&(xe(C.android.packageName.length>0,R,"missing-android-pkg-name"),b.androidInstallApp=C.android.installApp,b.androidMinimumVersionCode=C.android.minimumVersion,b.androidPackageName=C.android.packageName)}function fa(R,b,C){return gs.apply(this,arguments)}function gs(){return(gs=(0,t.Z)(function*(R,b,C){const W=(0,f.m9)(R),Se={requestType:"PASSWORD_RESET",email:b};C&&ha(W,Se,C),yield Di(W,Se)})).apply(this,arguments)}function ns(R,b,C){return Io.apply(this,arguments)}function Io(){return(Io=(0,t.Z)(function*(R,b,C){yield Ti((0,f.m9)(R),{oobCode:b,newPassword:C})})).apply(this,arguments)}function Li(R,b){return ms.apply(this,arguments)}function ms(){return(ms=(0,t.Z)(function*(R,b){yield vn((0,f.m9)(R),{oobCode:b})})).apply(this,arguments)}function le(R,b){return se.apply(this,arguments)}function se(){return(se=(0,t.Z)(function*(R,b){const C=(0,f.m9)(R),W=yield Ti(C,{oobCode:b}),Se=W.requestType;switch(xe(Se,C,"internal-error"),Se){case"EMAIL_SIGNIN":break;
1case"VERIFY_AND_CHANGE_EMAIL":xe(W.newEmail,C,"internal-error");break;case"REVERT_SECOND_FACTOR_ADDITION":xe(W.mfaInfo,C,"internal-error");default:xe(W.email,C,"internal-error")}let Be=null;return W.mfaInfo&&(Be=ts._fromServerResponse(Jn(C),W.mfaInfo)),{data:{email:("VERIFY_AND_CHANGE_EMAIL"===W.requestType?W.newEmail:W.email)||null,previousEmail:("VERIFY_AND_CHANGE_EMAIL"===W.requestType?W.email:W.newEmail)||null,multiFactorInfo:Be},operation:Se}})).apply(this,arguments)}function Q(R,b){return Ee.apply(this,arguments)}function Ee(){return(Ee=(0,t.Z)(function*(R,b){const{data:C}=yield le((0,f.m9)(R),b);return C.email})).apply(this,arguments)}function wt(R,b,C){return ln.apply(this,arguments)}function ln(){return(ln=(0,t.Z)(function*(R,b,C){const W=Jn(R),Se=yield at(W,{returnSecureToken:!0,email:b,password:C}),Be=yield Ft._fromIdTokenResponse(W,"signIn",Se);return yield W._updateCurrentUser(Be.user),Be})).apply(this,arguments)}function Bi(R,b,C){return hi((0,f.m9)(R),Zr.credential(b,C))}function Gs(R,b,C){return Po.apply(this,arguments)}function Po(){return(Po=(0,t.Z)(function*(R,b,C){const W=(0,f.m9)(R),Se={requestType:"EMAIL_SIGNIN",email:b};xe(C.handleCodeInApp,W,"argument-error"),C&&ha(W,Se,C),yield wn(W,Se)})).apply(this,arguments)}function Eo(R,b){return"EMAIL_SIGNIN"===si.parseLink(b)?.operation}function $a(R,b,C){return ya.apply(this,arguments)}function ya(){return(ya=(0,t.Z)(function*(R,b,C){const W=(0,f.m9)(R),Se=Zr.credentialWithLink(b,C||he());return xe(Se._tenantId===(W.tenantId||null),W,"tenant-id-mismatch"),hi(W,Se)})).apply(this,arguments)}function Zt(R,b){return Fr.apply(this,arguments)}function Fr(){return(Fr=(0,t.Z)(function*(R,b){return Xt(R,"POST","/v1/accounts:createAuthUri",gn(R,b))})).apply(this,arguments)}function ba(R,b){return Qs.apply(this,arguments)}function Qs(){return(Qs=(0,t.Z)(function*(R,b){const W={identifier:b,continueUri:be()?he():"http://localhost"},{signinMethods:Se}=yield Zt((0,f.m9)(R),W);return Se||[]})).apply(this,arguments)}function Vi(R,b){return Rs.apply(this,arguments)}function Rs(){return(Rs=(0,t.Z)(function*(R,b){const C=(0,f.m9)(R),Se={requestType:"VERIFY_EMAIL",idToken:yield R.getIdToken()};b&&ha(C.auth,Se,b);const{email:Be}=yield Ci(C.auth,Se);Be!==R.email&&(yield R.reload())})).apply(this,arguments)}function Us(R,b,C){return $i.apply(this,arguments)}function $i(){return($i=(0,t.Z)(function*(R,b,C){const W=(0,f.m9)(R),Be={requestType:"VERIFY_AND_CHANGE_EMAIL",idToken:yield R.getIdToken(),newEmail:b};C&&ha(W.auth,Be,C);const{email:bt}=yield ss(W.auth,Be);bt!==R.email&&(yield R.reload())})).apply(this,arguments)}function As(R,b){return Ts.apply(this,arguments)}function Ts(){return(Ts=(0,t.Z)(function*(R,b){return Xt(R,"POST","/v1/accounts:update",b)})).apply(this,arguments)}function yl(R,b){return eo.apply(this,arguments)}function eo(){return(eo=(0,t.Z)(function*(R,{displayName:b,photoURL:C}){if(void 0===b&&void 0===C)return;const W=(0,f.m9)(R),Be={idToken:yield W.getIdToken(),displayName:b,photoUrl:C,returnSecureToken:!0},bt=yield Tn(W,As(W.auth,Be));W.displayName=bt.displayName||null,W.photoURL=bt.photoUrl||null;const Qt=W.providerData.find(({providerId:Gn})=>"password"===Gn);Qt&&(Qt.displayName=W.displayName,Qt.photoURL=W.photoURL),yield W._updateTokensIfNecessary(bt)})).apply(this,arguments)}function Ea(R,b){return Hi((0,f.m9)(R),b,null)}function Ho(R,b){return Hi((0,f.m9)(R),null,b)}function Hi(R,b,C){return Ds.apply(this,arguments)}function Ds(){return(Ds=(0,t.Z)(function*(R,b,C){const{auth:W}=R,Be={idToken:yield R.getIdToken(),returnSecureToken:!0};b&&(Be.email=b),C&&(Be.password=C);const bt=yield Tn(R,ri(W,Be));yield R._updateTokensIfNecessary(bt,!0)})).apply(this,arguments)}class mi{constructor(b,C,W={}){this.isNewUser=b,this.providerId=C,this.profile=W}}class Ri extends mi{constructor(b,C,W,Se){super(b,C,W),this.username=Se}}class To extends mi{constructor(b,C){super(b,"facebook.com",C)}}class to extends Ri{constructor(b,C){super(b,"github.com",C,"string"==typeof C?.login?C?.login:null)}}class no extends mi{constructor(b,C){super(b,"google.com",C)}}class ra extends Ri{constructor(b,C,W){super(b,"twitter.com",C,W)}}
1function Go(R){const{user:b,_tokenResponse:C}=R;return b.isAnonymous&&!C?{providerId:null,isNewUser:!1,profile:null}:function Oa(R){var b,C;if(!R)return null;const{providerId:W}=R,Se=R.rawUserInfo?JSON.parse(R.rawUserInfo):{},Be=R.isNewUser||"identitytoolkit#SignupNewUserResponse"===R.kind;if(!W&&R?.idToken){const bt=null===(C=null===(b=bn(R.idToken))||void 0===b?void 0:b.firebase)||void 0===C?void 0:C.sign_in_provider;if(bt)return new mi(Be,"anonymous"!==bt&&"custom"!==bt?bt:null)}if(!W)return null;switch(W){case"facebook.com":return new To(Be,Se);case"github.com":return new to(Be,Se);case"google.com":return new no(Be,Se);case"twitter.com":return new ra(Be,Se,R.screenName||null);case"custom":case"anonymous":return new mi(Be,null);default:return new mi(Be,W,Se)}}(C)}class Mo{constructor(b,C,W){this.type=b,this.credential=C,this.auth=W}static _fromIdtoken(b,C){return new Mo("enroll",b,C)}static _fromMfaPendingCredential(b){return new Mo("signin",b)}toJSON(){return{multiFactorSession:{["enroll"===this.type?"idToken":"pendingCredential"]:this.credential}}}static fromJSON(b){var C,W;if(b?.multiFactorSession){if(null!==(C=b.multiFactorSession)&&void 0!==C&&C.pendingCredential)return Mo._fromMfaPendingCredential(b.multiFactorSession.pendingCredential);if(null!==(W=b.multiFactorSession)&&void 0!==W&&W.idToken)return Mo._fromIdtoken(b.multiFactorSession.idToken)}return null}}class xo{constructor(b,C,W){this.session=b,this.hints=C,this.signInResolver=W}static _fromError(b,C){const W=Jn(b),Se=C.customData._serverResponse,Be=(Se.mfaInfo||[]).map(Qt=>ts._fromServerResponse(W,Qt));xe(Se.mfaPendingCredential,W,"internal-error");const bt=Mo._fromMfaPendingCredential(Se.mfaPendingCredential);return new xo(bt,Be,function(){var Qt=(0,t.Z)(function*(Gn){const ur=yield Gn._process(W,bt);delete Se.mfaInfo,delete Se.mfaPendingCredential;const Gr=Object.assign(Object.assign({},Se),{idToken:ur.idToken,refreshToken:ur.refreshToken});switch(C.operationType){case"signIn":const is=yield Ft._fromIdTokenResponse(W,C.operationType,Gr);return yield W._updateCurrentUser(is.user),is;case"reauthenticate":return xe(C.user,W,"internal-error"),Ft._forOperation(C.user,C.operationType,Gr);default:J(W,"internal-error")}});return function(Gn){return Qt.apply(this,arguments)}}())}resolveSignIn(b){var C=this;return(0,t.Z)(function*(){return C.signInResolver(b)})()}}function ia(R,b){var C;const W=(0,f.m9)(R),Se=b;return xe(b.customData.operationType,W,"argument-error"),xe(null===(C=Se.customData._serverResponse)||void 0===C?void 0:C.mfaPendingCredential,W,"argument-error"),xo._fromError(W,Se)}function _s(R,b){return Xt(R,"POST","/v2/accounts/mfaEnrollment:start",gn(R,b))}class q{constructor(b){this.user=b,this.enrolledFactors=[],b._onReload(C=>{C.mfaInfo&&(this.enrolledFactors=C.mfaInfo.map(W=>ts._fromServerResponse(b.auth,W)))})}static _fromUser(b){return new q(b)}getSession(){var b=this;return(0,t.Z)(function*(){return Mo._fromIdtoken(yield b.user.getIdToken(),b.user.auth)})()}enroll(b,C){var W=this;return(0,t.Z)(function*(){const Se=b,Be=yield W.getSession(),bt=yield Tn(W.user,Se._process(W.user.auth,Be,C));return yield W.user._updateTokensIfNecessary(bt),W.user.reload()})()}unenroll(b){var C=this;return(0,t.Z)(function*(){const W="string"==typeof b?b:b.uid,Se=yield C.user.getIdToken();try{const Be=yield Tn(C.user,function ge(R,b){return Xt(R,"POST","/v2/accounts/mfaEnrollment:withdraw",gn(R,b))}(C.user.auth,{idToken:Se,mfaEnrollmentId:W}));C.enrolledFactors=C.enrolledFactors.filter(({uid:bt})=>bt!==W),yield C.user._updateTokensIfNecessary(Be),yield C.user.reload()}catch(Be){throw Be}})()}}const we=new WeakMap;function rt(R){const b=(0,f.m9)(R);return we.has(b)||we.set(b,q._fromUser(b)),we.get(b)}const Rt="__sak";class $t{constructor(b,C){this.storageRetriever=b,this.type=C}_isAvailable(){try{return this.storage?(this.storage.setItem(Rt,"1"),this.storage.removeItem(Rt),Promise.resolve(!0)):Promise.resolve(!1)}catch{return Promise.resolve(!1)}}_set(b,C){return this.storage.setItem(b,JSON.stringify(C)),Promise.resolve()}_get(b){const C=this.storage.getItem(b);return Promise.resolve(C?JSON.parse(C):null)}_remove(b){return this.storage.removeItem(b),Promise.resolve()}get storage(){return this.storageRetriever()}}const zn=(()=>{class R extends $t{constructor(){super(()=>window.localStorage,"LOCAL"),this.boundEventHandler=(C,W)=>this.onStorageEvent(C,W),this.listeners={},this.localCache={},this.pollTimer=null,this.safariLocalStorageNotSynced=function xn(){const R=(0,f.z$)();return zt(R)||ue(R)}()&&function In(){try{return!(!window||window===window.top)}catch{return!1}}(),this.fallbackToPolling=Jt(),this._shouldAllowMigration=!0}forAllChangedKeys(C){for(const W of Object.keys(this.listeners)){const Se=this.storage.getItem(W),Be=this.localCache[W];Se!==Be&&C(W,Be,Se)}}onStorageEvent(C,W=!1){if(!C.key)return void this.forAllChangedKeys((Qt,Gn,ur)=>{this.notifyListeners(Qt,ur)});const Se=C.key;if(W?this.detachListener():this.stopPolling(),this.safariLocalStorageNotSynced){const Qt=this.storage.getItem(Se);if(C.newValue!==Qt)null!==C.newValue?this.storage.setItem(Se,C.newValue):this.storage.removeItem(Se);else if(this.localCache[Se]===C.newValue&&!W)return}const Be=()=>{const Qt=this.storage.getItem(Se);!W&&this.localCache[Se]===Qt||this.notifyListeners(Se,Qt)},bt=this.storage.getItem(Se);!function Je(){return(0,f.w1)()&&10===document.documentMode}()||bt===C.newValue||C.newValue===C.oldValue?Be():setTimeout(Be,10)}notifyListeners(C,W){this.localCache[C]=W;const Se=this.listeners[C];if(Se)for(const Be of Array.from(Se))Be(W&&JSON.parse(W))}startPolling(){this.stopPolling(),this.pollTimer=setInterval(()=>{this.forAllChangedKeys((C,W,Se)=>{this.onStorageEvent(new StorageEvent("storage",{key:C,oldValue:W,newValue:Se}),!0)})},1e3)}stopPolling(){this.pollTimer&&(clearInterval(this.pollTimer),this.pollTimer=null)}attachListener(){window.addEventListener("storage",this.boundEventHandler)}detachListener(){window.removeEventListener("storage",this.boundEventHandler)}_addListener(C,W){0===Object.keys(this.listeners).length&&(this.fallbackToPolling?this.startPolling():this.attachListener()),this.listeners[C]||(this.listeners[C]=new Set,this.localCache[C]=this.storage.getItem(C)),this.listeners[C].add(W)}_removeListener(C,W){this.listeners[C]&&(this.listeners[C].delete(W),
10===this.listeners[C].size&&delete this.listeners[C]),0===Object.keys(this.listeners).length&&(this.detachListener(),this.stopPolling())}_set(C,W){var Se=()=>super._set,Be=this;return(0,t.Z)(function*(){yield Se().call(Be,C,W),Be.localCache[C]=JSON.stringify(W)})()}_get(C){var W=()=>super._get,Se=this;return(0,t.Z)(function*(){const Be=yield W().call(Se,C);return Se.localCache[C]=JSON.stringify(Be),Be})()}_remove(C){var W=()=>super._remove,Se=this;return(0,t.Z)(function*(){yield W().call(Se,C),delete Se.localCache[C]})()}}return R.type="LOCAL",R})(),K=(()=>{class R extends $t{constructor(){super(()=>window.sessionStorage,"SESSION")}_addListener(C,W){}_removeListener(C,W){}}return R.type="SESSION",R})();let Xe=(()=>{class R{constructor(C){this.eventTarget=C,this.handlersMap={},this.boundEventHandler=this.handleEvent.bind(this)}static _getInstance(C){const W=this.receivers.find(Be=>Be.isListeningto(C));if(W)return W;const Se=new R(C);return this.receivers.push(Se),Se}isListeningto(C){return this.eventTarget===C}handleEvent(C){var W=this;return(0,t.Z)(function*(){const Se=C,{eventId:Be,eventType:bt,data:Qt}=Se.data,Gn=W.handlersMap[bt];if(!Gn?.size)return;Se.ports[0].postMessage({status:"ack",eventId:Be,eventType:bt});const ur=Array.from(Gn).map(function(){var is=(0,t.Z)(function*(la){return la(Se.origin,Qt)});return function(la){return is.apply(this,arguments)}}()),Gr=yield function ye(R){return Promise.all(R.map(function(){var b=(0,t.Z)(function*(C){try{return{fulfilled:!0,value:yield C}}catch(W){return{fulfilled:!1,reason:W}}});return function(C){return b.apply(this,arguments)}}()))}(ur);Se.ports[0].postMessage({status:"done",eventId:Be,eventType:bt,response:Gr})})()}_subscribe(C,W){0===Object.keys(this.handlersMap).length&&this.eventTarget.addEventListener("message",this.boundEventHandler),this.handlersMap[C]||(this.handlersMap[C]=new Set),this.handlersMap[C].add(W)}_unsubscribe(C,W){this.handlersMap[C]&&W&&this.handlersMap[C].delete(W),(!W||0===this.handlersMap[C].size)&&delete this.handlersMap[C],0===Object.keys(this.handlersMap).length&&this.eventTarget.removeEventListener("message",this.boundEventHandler)}}return R.receivers=[],R})();function xt(R="",b=10){let C="";for(let W=0;W<b;W++)C+=Math.floor(10*Math.random());return R+C}class Mn{constructor(b){this.target=b,this.handlers=new Set}removeMessageHandler(b){b.messageChannel&&(b.messageChannel.port1.removeEventListener("message",b.onMessage),b.messageChannel.port1.close()),this.handlers.delete(b)}_send(b,C,W=50){var Se=this;return(0,t.Z)(function*(){const Be=typeof MessageChannel<"u"?new MessageChannel:null;if(!Be)throw new Error("connection_unavailable");let bt,Qt;return new Promise((Gn,ur)=>{const Gr=xt("",20);Be.port1.start();const is=setTimeout(()=>{ur(new Error("unsupported_event"))},W);Qt={messageChannel:Be,onMessage(la){const Ks=la;if(Ks.data.eventId===Gr)switch(Ks.data.status){case"ack":clearTimeout(is),bt=setTimeout(()=>{ur(new Error("timeout"))},3e3);break;case"done":clearTimeout(bt),Gn(Ks.data.response);break;default:clearTimeout(is),clearTimeout(bt),ur(new Error("invalid_response"))}}},Se.handlers.add(Qt),Be.port1.addEventListener("message",Qt.onMessage),Se.target.postMessage({eventType:b,eventId:Gr,data:C},[Be.port2])}).finally(()=>{Qt&&Se.removeMessageHandler(Qt)})})()}}function ir(){return window}function ui(){return typeof ir().WorkerGlobalScope<"u"&&"function"==typeof ir().importScripts}function Oo(){return(Oo=(0,t.Z)(function*(){if(!navigator?.serviceWorker)return null;try{return(yield navigator.serviceWorker.ready).active}catch{return null}})).apply(this,arguments)}const jo="firebaseLocalStorageDb",sa="firebaseLocalStorage",Ii="fbase_key";class oa{constructor(b){this.request=b}toPromise(){return new Promise((b,C)=>{this.request.addEventListener("success",()=>{b(this.request.result)}),this.request.addEventListener("error",()=>{C(this.request.error)})})}}function Ta(R,b){return R.transaction([sa],b?"readwrite":"readonly").objectStore(sa)}function fo(){const R=indexedDB.open(jo,1);return new Promise((b,C)=>{R.addEventListener("error",()=>{C(R.error)}),R.addEventListener("upgradeneeded",()=>{const W=R.result;try{W.createObjectStore(sa,{keyPath:Ii})}catch(Se){C(Se)}}),R.addEventListener("success",(0,t.Z)(function*(){const W=R.result;W.objectStoreNames.contains(sa)?b(W):(W.close(),yield function Ka(){const R=indexedDB.deleteDatabase(jo);return new oa(R).toPromise()}(),b(yield fo()))}))})}function ga(R,b,C){return aa.apply(this,arguments)}function aa(){return(aa=(0,t.Z)(function*(R,b,C){const W=Ta(R,!0).put({[Ii]:b,value:C});
1return new oa(W).toPromise()})).apply(this,arguments)}function Wo(){return(Wo=(0,t.Z)(function*(R,b){const C=Ta(R,!1).get(b),W=yield new oa(C).toPromise();return void 0===W?null:W.value})).apply(this,arguments)}function No(R,b){const C=Ta(R,!0).delete(b);return new oa(C).toPromise()}const ks=(()=>{class R{constructor(){this.type="LOCAL",this._shouldAllowMigration=!0,this.listeners={},this.localCache={},this.pollTimer=null,this.pendingWrites=0,this.receiver=null,this.sender=null,this.serviceWorkerReceiverAvailable=!1,this.activeServiceWorker=null,this._workerInitializationPromise=this.initializeServiceWorkerMessaging().then(()=>{},()=>{})}_openDb(){var C=this;return(0,t.Z)(function*(){return C.db||(C.db=yield fo()),C.db})()}_withRetries(C){var W=this;return(0,t.Z)(function*(){let Se=0;for(;;)try{const Be=yield W._openDb();return yield C(Be)}catch(Be){if(Se++>3)throw Be;W.db&&(W.db.close(),W.db=void 0)}})()}initializeServiceWorkerMessaging(){var C=this;return(0,t.Z)(function*(){return ui()?C.initializeReceiver():C.initializeSender()})()}initializeReceiver(){var C=this;return(0,t.Z)(function*(){C.receiver=Xe._getInstance(function za(){return ui()?self:null}()),C.receiver._subscribe("keyChanged",function(){var W=(0,t.Z)(function*(Se,Be){return{keyProcessed:(yield C._poll()).includes(Be.key)}});return function(Se,Be){return W.apply(this,arguments)}}()),C.receiver._subscribe("ping",function(){var W=(0,t.Z)(function*(Se,Be){return["keyChanged"]});return function(Se,Be){return W.apply(this,arguments)}}())})()}initializeSender(){var C=this;return(0,t.Z)(function*(){var W,Se;if(C.activeServiceWorker=yield function Co(){return Oo.apply(this,arguments)}(),!C.activeServiceWorker)return;C.sender=new Mn(C.activeServiceWorker);const Be=yield C.sender._send("ping",{},800);!Be||(null===(W=Be[0])||void 0===W?void 0:W.fulfilled)&&(null===(Se=Be[0])||void 0===Se?void 0:Se.value.includes("keyChanged"))&&(C.serviceWorkerReceiverAvailable=!0)})()}notifyServiceWorker(C){var W=this;return(0,t.Z)(function*(){if(W.sender&&W.activeServiceWorker&&function uu(){var R;return(null===(R=navigator?.serviceWorker)||void 0===R?void 0:R.controller)||null}()===W.activeServiceWorker)try{yield W.sender._send("keyChanged",{key:C},W.serviceWorkerReceiverAvailable?800:50)}catch{}})()}_isAvailable(){return(0,t.Z)(function*(){try{if(!indexedDB)return!1;const C=yield fo();return yield ga(C,Rt,"1"),yield No(C,Rt),!0}catch{}return!1})()}_withPendingWrite(C){var W=this;return(0,t.Z)(function*(){W.pendingWrites++;try{yield C()}finally{W.pendingWrites--}})()}_set(C,W){var Se=this;return(0,t.Z)(function*(){return Se._withPendingWrite((0,t.Z)(function*(){return yield Se._withRetries(Be=>ga(Be,C,W)),Se.localCache[C]=W,Se.notifyServiceWorker(C)}))})()}_get(C){var W=this;return(0,t.Z)(function*(){const Se=yield W._withRetries(Be=>function Ji(R,b){return Wo.apply(this,arguments)}(Be,C));return W.localCache[C]=Se,Se})()}_remove(C){var W=this;return(0,t.Z)(function*(){return W._withPendingWrite((0,t.Z)(function*(){return yield W._withRetries(Se=>No(Se,C)),delete W.localCache[C],W.notifyServiceWorker(C)}))})()}_poll(){var C=this;return(0,t.Z)(function*(){const W=yield C._withRetries(bt=>{const Qt=Ta(bt,!1).getAll();return new oa(Qt).toPromise()});if(!W)return[];if(0!==C.pendingWrites)return[];const Se=[],Be=new Set;for(const{fbase_key:bt,value:Qt}of W)Be.add(bt),JSON.stringify(C.localCache[bt])!==JSON.stringify(Qt)&&(C.notifyListeners(bt,Qt),Se.push(bt));for(const bt of Object.keys(C.localCache))C.localCache[bt]&&!Be.has(bt)&&(C.notifyListeners(bt,null),Se.push(bt));return Se})()}notifyListeners(C,W){this.localCache[C]=W;const Se=this.listeners[C];if(Se)for(const Be of Array.from(Se))Be(W)}startPolling(){var C=this;this.stopPolling(),this.pollTimer=setInterval((0,t.Z)(function*(){return C._poll()}),800)}stopPolling(){this.pollTimer&&(clearInterval(this.pollTimer),this.pollTimer=null)}_addListener(C,W){0===Object.keys(this.listeners).length&&this.startPolling(),this.listeners[C]||(this.listeners[C]=new Set,this._get(C)),this.listeners[C].add(W)}_removeListener(C,W){this.listeners[C]&&(this.listeners[C].delete(W),
10===this.listeners[C].size&&delete this.listeners[C]),0===Object.keys(this.listeners).length&&this.stopPolling()}}return R.type="LOCAL",R})();function Fa(R,b){return Xt(R,"POST","/v2/accounts/mfaSignIn:start",gn(R,b))}function so(){return(so=(0,t.Z)(function*(R){return(yield Xt(R,"GET","/v1/recaptchaParams")).recaptchaSiteKey||""})).apply(this,arguments)}function bl(R){return new Promise((b,C)=>{const W=document.createElement("script");W.setAttribute("src",R),W.onload=b,W.onerror=Se=>{const Be=pe("internal-error");Be.customData=Se,C(Be)},W.type="text/javascript",W.charset="UTF-8",function zo(){var R,b;return null!==(b=null===(R=document.getElementsByTagName("head"))||void 0===R?void 0:R[0])&&void 0!==b?b:document}().appendChild(W)})}function oo(R){return`__${R}${Math.floor(1e6*Math.random())}`}const ls=1e12;class po{constructor(b){this.auth=b,this.counter=ls,this._widgets=new Map}render(b,C){const W=this.counter;return this._widgets.set(W,new qa(b,this.auth.name,C||{})),this.counter++,W}reset(b){var C;const W=b||ls;null===(C=this._widgets.get(W))||void 0===C||C.delete(),this._widgets.delete(W)}getResponse(b){var C;return(null===(C=this._widgets.get(b||ls))||void 0===C?void 0:C.getResponse())||""}execute(b){var C=this;return(0,t.Z)(function*(){var W;return null===(W=C._widgets.get(b||ls))||void 0===W||W.execute(),""})()}}class qa{constructor(b,C,W){this.params=W,this.timerId=null,this.deleted=!1,this.responseToken=null,this.clickHandler=()=>{this.execute()};const Se="string"==typeof b?document.getElementById(b):b;xe(Se,"argument-error",{appName:C}),this.container=Se,this.isVisible="invisible"!==this.params.size,this.isVisible?this.execute():this.container.addEventListener("click",this.clickHandler)}getResponse(){return this.checkIfDeleted(),this.responseToken}delete(){this.checkIfDeleted(),this.deleted=!0,this.timerId&&(clearTimeout(this.timerId),this.timerId=null),this.container.removeEventListener("click",this.clickHandler)}execute(){this.checkIfDeleted(),!this.timerId&&(this.timerId=window.setTimeout(()=>{this.responseToken=function Sa(R){const b=[],C="1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";for(let W=0;W<R;W++)b.push(C.charAt(Math.floor(Math.random()*C.length)));return b.join("")}(50);const{callback:b,"expired-callback":C}=this.params;if(b)try{b(this.responseToken)}catch{}this.timerId=window.setTimeout(()=>{if(this.timerId=null,this.responseToken=null,C)try{C()}catch{}this.isVisible&&this.execute()},6e4)},500))}checkIfDeleted(){if(this.deleted)throw new Error("reCAPTCHA mock was already deleted!")}}const La=oo("rcb"),al=new Wt(3e4,6e4);class So{constructor(){var b;this.hostLanguage="",this.counter=0,this.librarySeparatelyLoaded=!(null===(b=ir().grecaptcha)||void 0===b||!b.render)}load(b,C=""){return xe(function Ro(R){return R.length<=6&&/^\s*[a-zA-Z0-9\-]*\s*$/.test(R)}(C),b,"argument-error"),this.shouldResolveImmediately(C)?Promise.resolve(ir().grecaptcha):new Promise((W,Se)=>{const Be=ir().setTimeout(()=>{Se(pe(b,"network-request-failed"))},al.get());ir()[La]=()=>{ir().clearTimeout(Be),delete ir()[La];const Qt=ir().grecaptcha;if(!Qt)return void Se(pe(b,"internal-error"));const Gn=Qt.render;Qt.render=(ur,Gr)=>{const is=Gn(ur,Gr);return this.counter++,is},this.hostLanguage=C,W(Qt)},bl(`https://www.google.com/recaptcha/api.js??${(0,f.xO)({onload:La,render:"explicit",hl:C})}`).catch(()=>{clearTimeout(Be),Se(pe(b,"internal-error"))})})}clearedOneInstance(){this.counter--}shouldResolveImmediately(b){var C;return!(null===(C=ir().grecaptcha)||void 0===C||!C.render)&&(b===this.hostLanguage||this.counter>0||this.librarySeparatelyLoaded)}}class ll{load(b){return(0,t.Z)(function*(){return new po(b)})()}clearedOneInstance(){}}const El="recaptcha",cu={theme:"light",type:"image"};class ji{constructor(b,C=Object.assign({},cu),W){this.parameters=C,this.type=El,this.destroyed=!1,this.widgetId=null,this.tokenChangeListeners=new Set,this.renderPromise=null,this.recaptcha=null,this.auth=Jn(W),this.isInvisible="invisible"===this.parameters.size,xe(typeof document<"u",this.auth,"operation-not-supported-in-this-environment");const Se="string"==typeof b?document.getElementById(b):b;xe(Se,this.auth,"argument-error"),this.container=Se,this.parameters.callback=this.makeTokenCallback(this.parameters.callback),this._recaptchaLoader=this.auth.settings.appVerificationDisabledForTesting?new ll:new So,this.validateStartingState()}verify(){var b=this;return(0,t.Z)(function*(){b.assertNotDestroyed();const C=yield b.render(),W=b.getAssertedRecaptcha();return W.getResponse(C)||new Promise(Be=>{const bt=Qt=>{!Qt||(b.tokenChangeListeners.delete(bt),Be(Qt))};b.tokenChangeListeners.add(bt),b.isInvisible&&W.execute(C)})})()}render(){try{this.assertNotDestroyed()}catch(b){return Promise.reject(b)}return this.renderPromise||(this.renderPromise=this.makeRenderPromise().catch(b=>{throw this.renderPromise=null,b})),this.renderPromise}_reset(){this.assertNotDestroyed(),null!==this.widgetId&&this.getAssertedRecaptcha().reset(this.widgetId)}clear(){this.assertNotDestroyed(),this.destroyed=!0,this._recaptchaLoader.clearedOneInstance(),this.isInvisible||this.container.childNodes.forEac
1h(b=>{this.container.removeChild(b)})}validateStartingState(){xe(!this.parameters.sitekey,this.auth,"argument-error"),xe(this.isInvisible||!this.container.hasChildNodes(),this.auth,"argument-error"),xe(typeof document<"u",this.auth,"operation-not-supported-in-this-environment")}makeTokenCallback(b){return C=>{if(this.tokenChangeListeners.forEach(W=>W(C)),"function"==typeof b)b(C);else if("string"==typeof b){const W=ir()[b];"function"==typeof W&&W(C)}}}assertNotDestroyed(){xe(!this.destroyed,this.auth,"internal-error")}makeRenderPromise(){var b=this;return(0,t.Z)(function*(){if(yield b.init(),!b.widgetId){let C=b.container;if(!b.isInvisible){const W=document.createElement("div");C.appendChild(W),C=W}b.widgetId=b.getAssertedRecaptcha().render(C,b.parameters)}return b.widgetId})()}init(){var b=this;return(0,t.Z)(function*(){xe(be()&&!ui(),b.auth,"internal-error"),yield function wa(){let R=null;return new Promise(b=>{"complete"!==document.readyState?(R=()=>b(),window.addEventListener("load",R)):b()}).catch(b=>{throw R&&window.removeEventListener("load",R),b})}(),b.recaptcha=yield b._recaptchaLoader.load(b.auth,b.auth.languageCode||void 0);const C=yield function ol(R){return so.apply(this,arguments)}(b.auth);xe(C,b.auth,"internal-error"),b.parameters.sitekey=C})()}getAssertedRecaptcha(){return xe(this.recaptcha,this.auth,"internal-error"),this.recaptcha}}class qo{constructor(b,C){this.verificationId=b,this.onConfirmation=C}confirm(b){const C=pn._fromVerification(this.verificationId,b);return this.onConfirmation(C)}}function Ya(R,b,C){return wo.apply(this,arguments)}function wo(){return(wo=(0,t.Z)(function*(R,b,C){const W=Jn(R),Se=yield Yo(W,b,(0,f.m9)(C));return new qo(Se,Be=>hi(W,Be))})).apply(this,arguments)}function Is(R,b,C){return us.apply(this,arguments)}function us(){return(us=(0,t.Z)(function*(R,b,C){const W=(0,f.m9)(R);yield Js(!1,W,"phone");const Se=yield Yo(W.auth,b,(0,f.m9)(C));return new qo(Se,Be=>Ni(W,Be))})).apply(this,arguments)}function Ba(R,b,C){return ul.apply(this,arguments)}function ul(){return(ul=(0,t.Z)(function*(R,b,C){const W=(0,f.m9)(R),Se=yield Yo(W.auth,b,(0,f.m9)(C));return new qo(Se,Be=>es(W,Be))})).apply(this,arguments)}function Yo(R,b,C){return bi.apply(this,arguments)}function bi(){return(bi=(0,t.Z)(function*(R,b,C){var W;const Se=yield C.verify();try{let Be;if(xe("string"==typeof Se,R,"argument-error"),xe(C.type===El,R,"argument-error"),Be="string"==typeof b?{phoneNumber:b}:b,"session"in Be){const bt=Be.session;if("phoneNumber"in Be)return xe("enroll"===bt.type,R,"internal-error"),(yield _s(R,{idToken:bt.credential,phoneEnrollmentInfo:{phoneNumber:Be.phoneNumber,recaptchaToken:Se}})).phoneSessionInfo.sessionInfo;{xe("signin"===bt.type,R,"internal-error");const Qt=(null===(W=Be.multiFactorHint)||void 0===W?void 0:W.uid)||Be.multiFactorUid;return xe(Qt,R,"missing-multi-factor-info"),(yield Fa(R,{mfaPendingCredential:bt.credential,mfaEnrollmentId:Qt,phoneSignInInfo:{recaptchaToken:Se}})).phoneResponseInfo.sessionInfo}}{const{sessionInfo:bt}=yield mr(R,{phoneNumber:Be.phoneNumber,recaptchaToken:Se});return bt}}finally{C._reset()}})).apply(this,arguments)}function Rl(R,b){return cl.apply(this,arguments)}function cl(){return(cl=(0,t.Z)(function*(R,b){yield Ke((0,f.m9)(R),b)})).apply(this,arguments)}let kl=(()=>{class R{constructor(C){this.providerId=R.PROVIDER_ID,this.auth=Jn(C)}verifyPhoneNumber(C,W){return Yo(this.auth,C,(0,f.m9)(W))}static credential(C,W){return pn._fromVerification(C,W)}static credentialFromResult(C){return R.credentialFromTaggedObject(C)}static credentialFromError(C){return R.credentialFromTaggedObject(C.customData||{})}static credentialFromTaggedObject({_tokenResponse:C}){if(!C)return null;const{phoneNumber:W,temporaryProof:Se}=C;return W&&Se?pn._fromTokenResponse(W,Se):null}}return R.PROVIDER_ID="phone",R.PHONE_SIGN_IN_METHOD="phone",R})();function P(R,b){return b?De(b):(xe(R._popupRedirectResolver,R,"argument-error"),R._popupRedirectResolver)}class F extends ni{constructor(b){super("custom","custom"),this.params=b}_getIdTokenResponse(b){return Ht(b,this._buildIdpRequest())}_linkToIdToken(b,C){return Ht(b,this._buildIdpRequest(C))}_getReauthenticationResolver(b){return Ht(b,this._buildIdpRequest())}_buildIdpRequest(b){const C={requestUri:this.params.requestUri,sessionId:this.params.sessionId,postBody:this.params.postBody,tenantId:this.params.tenantId,pendingToken:this.params.pendingToken,returnSecureToken:!0,returnIdpCredential:!0};return b&&(C.idToken=b),C}}function w(R){return Hs(R.auth,new F(R),R.bypassAuthState)}function Z(R){const{auth:b,user:C}=R;return xe(C,b,"internal-error"),ps(C,new F(R),R.bypassAuthState)}function de(R){return Ae.apply(this,arguments)}function Ae(){return(Ae=(0,t.Z)(function*(R){const{auth:b,user:C}=R;return xe(C,b,"internal-error"),Ke(C,new F(R),R.bypassAuthState)})).apply(this,arguments)}class Re{constructor(b,C,W,Se,Be=!1){this.auth=b,this.resolver=W,this.user=Se,this.bypassAuthState=Be,this.pendingPromise=null,this.eventManager=null,this.filter=Array.isArray(C)?C:[C]}execute(){var b=this;return new Promise(function(){var C=(0,t.Z)(function*(W,Se){b.pendingPromise={resolve:W,reject:Se};try{b.eventManager=yield b.resolver._initialize(b.auth),yield b.onExecution(),b.eventManager.registerConsumer(b)}catch(Be){b.reject(Be)}});return function(W,Se){return C.apply(this,arguments)}}())}onAuthEvent(b){var C=this;return(0,t.Z)(function*(){const{urlResponse:W,sessionId:Se,postBody:Be,tenantId:bt,error:Qt,type:Gn}=b;if(Qt)return void C.reject(Qt);const ur={auth:C.auth,requestUri:W,sessionId:Se,tenantId:bt||void 0,postBody:Be||void 0,user:C.user,bypassAuthState:C.bypassAuthState};try{C.resolve(yield C.getIdpTask(Gn)(ur))}catch(Gr){C.reject(Gr)}})()}onError(b){this.reject(b)}getIdpTask(b){switch(b){case"signInViaPopup":case"signInViaRedirect":return w;case"linkViaPopup":case"linkViaRedirect":return de;case"reauthViaPopup":case"reauthViaRedirect":return Z;default:J(this.auth,"internal-error")}}resolve(b){ze(this.pendingPromise,"Pending promise was never set"),this.pendingPromise.resolve(b),this.unregisterAndCleanUp()}reject(b){ze(this.pendingPromise,"Pending promise was never set"),this.pendingPromise.reject(b),this.unregisterAndCleanUp()}unregisterAndCleanUp(){this.eventManager&&this.eventManager.unregisterConsumer(this),this.pendingPromise=null,this.cleanUp()}}const ut=new Wt(2e3,1e4);function Kt(R,b,C){return An.apply(this,arguments)}function An(){return(An=(0,t.Z)(function*(R,b,C){const W=Jn(R);Fe(R,b,hs);const Se=P(W,C);
1return new cs(W,"signInViaPopup",b,Se).executeNotNull()})).apply(this,arguments)}function Yn(R,b,C){return br.apply(this,arguments)}function br(){return(br=(0,t.Z)(function*(R,b,C){const W=(0,f.m9)(R);Fe(W.auth,b,hs);const Se=P(W.auth,C);return new cs(W.auth,"reauthViaPopup",b,Se,W).executeNotNull()})).apply(this,arguments)}function Wr(R,b,C){return sr.apply(this,arguments)}function sr(){return(sr=(0,t.Z)(function*(R,b,C){const W=(0,f.m9)(R);Fe(W.auth,b,hs);const Se=P(W.auth,C);return new cs(W.auth,"linkViaPopup",b,Se,W).executeNotNull()})).apply(this,arguments)}let cs=(()=>{class R extends Re{constructor(C,W,Se,Be,bt){super(C,W,Be,bt),this.provider=Se,this.authWindow=null,this.pollId=null,R.currentPopupAction&&R.currentPopupAction.cancel(),R.currentPopupAction=this}executeNotNull(){var C=this;return(0,t.Z)(function*(){const W=yield C.execute();return xe(W,C.auth,"internal-error"),W})()}onExecution(){var C=this;return(0,t.Z)(function*(){ze(1===C.filter.length,"Popup operations only handle one event");const W=xt();C.authWindow=yield C.resolver._openPopup(C.auth,C.provider,C.filter[0],W),C.authWindow.associatedEvent=W,C.resolver._originValidation(C.auth).catch(Se=>{C.reject(Se)}),C.resolver._isIframeWebStorageSupported(C.auth,Se=>{Se||C.reject(pe(C.auth,"web-storage-unsupported"))}),C.pollUserCancellation()})()}get eventId(){var C;return(null===(C=this.authWindow)||void 0===C?void 0:C.associatedEvent)||null}cancel(){this.reject(pe(this.auth,"cancelled-popup-request"))}cleanUp(){this.authWindow&&this.authWindow.close(),this.pollId&&window.clearTimeout(this.pollId),this.authWindow=null,this.pollId=null,R.currentPopupAction=null}pollUserCancellation(){const C=()=>{var W,Se;this.pollId=null!==(Se=null===(W=this.authWindow)||void 0===W?void 0:W.window)&&void 0!==Se&&Se.closed?window.setTimeout(()=>{this.pollId=null,this.reject(pe(this.auth,"popup-closed-by-user"))},2e3):window.setTimeout(C,ut.get())};C()}}return R.currentPopupAction=null,R})();const Pi=new Map;class Fs extends Re{constructor(b,C,W=!1){super(b,["signInViaRedirect","linkViaRedirect","reauthViaRedirect","unknown"],C,void 0,W),this.eventId=null}execute(){var b=()=>super.execute,C=this;return(0,t.Z)(function*(){let W=Pi.get(C.auth._key());if(!W){try{const Be=(yield function Aa(R,b){return Zo.apply(this,arguments)}(C.resolver,C.auth))?yield b().call(C):null;W=()=>Promise.resolve(Be)}catch(Se){W=()=>Promise.reject(Se)}Pi.set(C.auth._key(),W)}return C.bypassAuthState||Pi.set(C.auth._key(),()=>Promise.resolve(null)),W()})()}onAuthEvent(b){var C=()=>super.onAuthEvent,W=this;return(0,t.Z)(function*(){if("signInViaRedirect"===b.type)return C().call(W,b);if("unknown"!==b.type){if(b.eventId){const Se=yield W.auth._redirectUserForId(b.eventId);if(Se)return W.user=Se,C().call(W,b);W.resolve(null)}}else W.resolve(null)})()}onExecution(){return(0,t.Z)(function*(){})()}cleanUp(){}}function Zo(){return(Zo=(0,t.Z)(function*(R,b){const C=fe(b),W=re(R);if(!(yield W._isAvailable()))return!1;const Se="true"===(yield W._get(C));return yield W._remove(C),Se})).apply(this,arguments)}function dl(R,b){return Za.apply(this,arguments)}function Za(){return(Za=(0,t.Z)(function*(R,b){return re(R)._set(fe(b),"true")})).apply(this,arguments)}function Tl(){Pi.clear()}function go(R,b){Pi.set(R._key(),b)}function re(R){return De(R._redirectPersistence)}function fe(R){return Ge("pendingRedirect",R.config.apiKey,R.name)}function Ie(R,b,C){return function et(R,b,C){return mt.apply(this,arguments)}(R,b,C)}function mt(){return(mt=(0,t.Z)(function*(R,b,C){const W=Jn(R);Fe(R,b,hs),yield W._initializationPromise;const Se=P(W,C);return yield dl(Se,W),Se._openRedirect(W,b,"signInViaRedirect")})).apply(this,arguments)}function Ot(R,b,C){return function tn(R,b,C){return Vn.apply(this,arguments)}(R,b,C)}function Vn(){return(Vn=(0,t.Z)(function*(R,b,C){const W=(0,f.m9)(R);Fe(W.auth,b,hs),yield W.auth._initializationPromise;const Se=P(W.auth,C);yield dl(Se,W.auth);const Be=yield ma(W);return Se._openRedirect(W.auth,b,"reauthViaRedirect",Be)})).apply(this,arguments)}
1function lr(R,b,C){return function _r(R,b,C){return Nr.apply(this,arguments)}(R,b,C)}function Nr(){return(Nr=(0,t.Z)(function*(R,b,C){const W=(0,f.m9)(R);Fe(W.auth,b,hs),yield W.auth._initializationPromise;const Se=P(W.auth,C);yield Js(!1,W,b.providerId),yield dl(Se,W.auth);const Be=yield ma(W);return Se._openRedirect(W.auth,b,"linkViaRedirect",Be)})).apply(this,arguments)}function Mr(R,b){return js.apply(this,arguments)}function js(){return(js=(0,t.Z)(function*(R,b){return yield Jn(R)._initializationPromise,Ki(R,b,!1)})).apply(this,arguments)}function Ki(R,b){return Va.apply(this,arguments)}function Va(){return(Va=(0,t.Z)(function*(R,b,C=!1){const W=Jn(R),Se=P(W,b),bt=yield new Fs(W,Se,C).execute();return bt&&!C&&(delete bt.user._redirectEventId,yield W._persistUserIfCurrent(bt.user),yield W._setRedirectUser(null,b)),bt})).apply(this,arguments)}function ma(R){return Da.apply(this,arguments)}function Da(){return(Da=(0,t.Z)(function*(R){const b=xt(`${R.uid}:::`);return R._redirectEventId=b,yield R.auth._setRedirectUser(R),yield R.auth._persistUserIfCurrent(R),b})).apply(this,arguments)}class mo{constructor(b){this.auth=b,this.cachedEventUids=new Set,this.consumers=new Set,this.queuedRedirectEvent=null,this.hasHandledPotentialRedirect=!1,this.lastProcessedEventTime=Date.now()}registerConsumer(b){this.consumers.add(b),this.queuedRedirectEvent&&this.isEventForConsumer(this.queuedRedirectEvent,b)&&(this.sendToConsumer(this.queuedRedirectEvent,b),this.saveEventToCache(this.queuedRedirectEvent),this.queuedRedirectEvent=null)}unregisterConsumer(b){this.consumers.delete(b)}onEvent(b){if(this.hasEventBeenHandled(b))return!1;let C=!1;return this.consumers.forEach(W=>{this.isEventForConsumer(b,W)&&(C=!0,this.sendToConsumer(b,W),this.saveEventToCache(b))}),this.hasHandledPotentialRedirect||!function Xa(R){switch(R.type){case"signInViaRedirect":case"linkViaRedirect":case"reauthViaRedirect":return!0;case"unknown":return Cl(R);default:return!1}}(b)||(this.hasHandledPotentialRedirect=!0,C||(this.queuedRedirectEvent=b,C=!0)),C}sendToConsumer(b,C){var W;if(b.error&&!Cl(b)){const Se=(null===(W=b.error.code)||void 0===W?void 0:W.split("auth/")[1])||"internal-error";C.onError(pe(this.auth,Se))}else C.onAuthEvent(b)}isEventForConsumer(b,C){const W=null===C.eventId||!!b.eventId&&b.eventId===C.eventId;return C.filter.includes(b.type)&&W}hasEventBeenHandled(b){return Date.now()-this.lastProcessedEventTime>=6e5&&this.cachedEventUids.clear(),this.cachedEventUids.has(Ia(b))}saveEventToCache(b){this.cachedEventUids.add(Ia(b)),this.lastProcessedEventTime=Date.now()}}function Ia(R){return[R.type,R.eventId,R.sessionId,R.tenantId].filter(b=>b).join("-")}function Cl({type:R,error:b}){return"unknown"===R&&"auth/no-auth-event"===b?.code}function Wu(R){return Ls.apply(this,arguments)}function Ls(){return(Ls=(0,t.Z)(function*(R,b={}){return Xt(R,"GET","/v1/projects",b)})).apply(this,arguments)}const Fl=/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/,Zh=/^https?/;function lc(){return(lc=(0,t.Z)(function*(R){if(R.config.emulator)return;const{authorizedDomains:b}=yield Wu(R);for(const C of b)try{if(Hd(C))return}catch{}J(R,"unauthorized-domain")})).apply(this,arguments)}function Hd(R){const b=he(),{protocol:C,hostname:W}=new URL(b);if(R.startsWith("chrome-extension://")){const bt=new URL(R);return""===bt.hostname&&""===W?"chrome-extension:"===C&&R.replace("chrome-extension://","")===b.replace("chrome-extension://",""):"chrome-extension:"===C&&bt.hostname===W}if(!Zh.test(C))return!1;if(Fl.test(R))return W===R;const Se=R.replace(/\./g,"\\.");return new RegExp("^(.+\\."+Se+"|"+Se+")$","i").test(W)}const ad=new Wt(3e4,6e4);function hl(){const R=ir().___jsl;if(R?.H)for(const b of Object.keys(R.H))if(R.H[b].r=R.H[b].r||[],R.H[b].L=R.H[b].L||[],R.H[b].r=[...R.H[b].L],R.CP)for(let C=0;C<R.CP.length;C++)R.CP[C]=null}let zu=null;function Pu(R){return zu=zu||function uc(R){return new Promise((b,C)=>{var W,Se,Be;function bt(){hl(),gapi.load("gapi.iframes",{callback:()=>{b(gapi.iframes.getContext())},ontimeout:()=>{hl(),C(pe(R,"network-request-failed"))},timeout:ad.get()})}if(null!==(Se=null===(W=ir().gapi)||void 0===W?void 0:W.iframes)&&void 0!==Se&&Se.Iframe)b(gapi.iframes.getContext());else{if(null===(Be=ir().gapi)||void 0===Be||!Be.load){const Qt=oo("iframefcb");return ir()[Qt]=()=>{gapi.load?bt():C(pe(R,"network-request-failed"))},bl(`https://apis.google.com/js/api.js?onload=${Qt}`).catch(Gn=>C(Gn))}bt()}}).catch(b=>{throw zu=null,b})}(R),zu}const cc=new Wt(5e3,15e3),ld={style:{position:"absolute",top:"-100px",width:"1px",height:"1px"},"aria-hidden":"true",tabindex:"-1"},Ws=new Map([["identitytoolkit.googleapis.com","p"],["staging-identitytoolkit.sandbox.googleapis.com","s"],["test-identitytoolkit.sandbox.googleapis.com","t"]]);function _a(R){const b=R.config;xe(b.authDomain,R,"auth-domain-config-required");const C=b.emulator?Ut(b,"emulator/auth/iframe"):`https://${R.config.authDomain}/__/auth/iframe`,W={apiKey:b.apiKey,appName:R.name,v:_.SDK_VERSION},Se=Ws.get(R.config.apiHost);Se&&(W.eid=Se);
1const Be=R._getFrameworks();return Be.length&&(W.fw=Be.join(",")),`${C}?${(0,f.xO)(W).slice(1)}`}function hc(){return hc=(0,t.Z)(function*(R){const b=yield Pu(R),C=ir().gapi;return xe(C,R,"internal-error"),b.open({where:document.body,url:_a(R),messageHandlersFilter:C.iframes.CROSS_ORIGIN_IFRAMES_FILTER,attributes:ld,dontclear:!0},W=>new Promise(function(){var Se=(0,t.Z)(function*(Be,bt){yield W.restyle({setHideOnLeave:!1});const Qt=pe(R,"network-request-failed"),Gn=ir().setTimeout(()=>{bt(Qt)},cc.get());function ur(){ir().clearTimeout(Gn),Be(W)}W.ping(ur).then(ur,()=>{bt(Qt)})});return function(Be,bt){return Se.apply(this,arguments)}}()))}),hc.apply(this,arguments)}const fc={location:"yes",resizable:"yes",statusbar:"yes",toolbar:"no"};class Xo{constructor(b){this.window=b,this.associatedEvent=null}close(){if(this.window)try{this.window.close()}catch{}}}function Ou(R,b,C,W,Se,Be){xe(R.config.authDomain,R,"auth-domain-config-required"),xe(R.config.apiKey,R,"invalid-api-key");const bt={apiKey:R.config.apiKey,appName:R.name,authType:C,redirectUrl:W,v:_.SDK_VERSION,eventId:Se};if(b instanceof hs){b.setDefaultLanguage(R.languageCode),bt.providerId=b.providerId||"",(0,f.xb)(b.getCustomParameters())||(bt.customParameters=JSON.stringify(b.getCustomParameters()));for(const[Gn,ur]of Object.entries(Be||{}))bt[Gn]=ur}if(b instanceof Es){const Gn=b.getScopes().filter(ur=>""!==ur);Gn.length>0&&(bt.scopes=Gn.join(","))}R.tenantId&&(bt.tid=R.tenantId);const Qt=bt;for(const Gn of Object.keys(Qt))void 0===Qt[Gn]&&delete Qt[Gn];return`${function qu({config:R}){return R.emulator?Ut(R,"emulator/auth/handler"):`https://${R.authDomain}/__/auth/handler`}(R)}?${(0,f.xO)(Qt).slice(1)}`}const wl="webStorageSupport",Al=class mc{constructor(){this.eventManagers={},this.iframes={},this.originValidationPromises={},this._redirectPersistence=K,this._completeRedirectFn=Ki,this._overrideRedirectResult=go}_openPopup(b,C,W,Se){var Be=this;return(0,t.Z)(function*(){var bt;ze(null===(bt=Be.eventManagers[b._key()])||void 0===bt?void 0:bt.manager,"_initialize() not called before _openPopup()");const Qt=Ou(b,C,W,he(),Se);return function vs(R,b,C,W=500,Se=600){const Be=Math.max((window.screen.availHeight-Se)/2,0).toString(),bt=Math.max((window.screen.availWidth-W)/2,0).toString();let Qt="";const Gn=Object.assign(Object.assign({},fc),{width:W.toString(),height:Se.toString(),top:Be,left:bt}),ur=(0,f.z$)().toLowerCase();C&&(Qt=Cn(ur)?"_blank":C),it(ur)&&(b=b||"http://localhost",Gn.scrollbars="yes");const Gr=Object.entries(Gn).reduce((la,[Ks,Vl])=>`${la}${Ks}=${Vl},`,"");if(function Le(R=(0,f.z$)()){var b;return ue(R)&&!(null===(b=window.navigator)||void 0===b||!b.standalone)}(ur)&&"_self"!==Qt)return function pc(R,b){const C=document.createElement("a");C.href=R,C.target=b;const W=document.createEvent("MouseEvent");W.initMouseEvent("click",!0,!0,window,1,0,0,0,0,!1,!1,!1,!1,1,null),C.dispatchEvent(W)}(b||"",Qt),new Xo(null);const is=window.open(b||"",Qt,Gr);xe(is,R,"popup-blocked");try{is.focus()}catch{}return new Xo(is)}(b,Qt,xt())})()}_openRedirect(b,C,W,Se){var Be=this;return(0,t.Z)(function*(){return yield Be._originValidation(b),function Xi(R){ir().location.href=R}(Ou(b,C,W,he(),Se)),new Promise(()=>{})})()}_initialize(b){const C=b._key();if(this.eventManagers[C]){const{manager:Se,promise:Be}=this.eventManagers[C];return Se?Promise.resolve(Se):(ze(Be,"If manager is not set, promise should be"),Be)}const W=this.initAndGetManager(b);return this.eventManagers[C]={promise:W},W.catch(()=>{delete this.eventManagers[C]}),W}initAndGetManager(b){var C=this;return(0,t.Z)(function*(){const W=yield function Mu(R){return hc.apply(this,arguments)}(b),Se=new mo(b);return W.register("authEvent",Be=>(xe(Be?.authEvent,b,"invalid-auth-event"),{status:Se.onEvent(Be.authEvent)?"ACK":"ERROR"}),gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER),C.eventManagers[b._key()]={manager:Se},C.iframes[b._key()]=W,Se})()}_isIframeWebStorageSupported(b,C){this.iframes[b._key()].send(wl,{type:wl},Se=>{var Be;const bt=null===(Be=Se?.[0])||void 0===Be?void 0:Be[wl];void 0!==bt&&C(!!bt),J(b,"internal-error")},gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER)}_originValidation(b){const C=b._key();return this.originValidationPromises[C]||(this.originValidationPromises[C]=function Ip(R){return lc.apply(this,arguments)}(b)),this.originValidationPromises[C]}get _shouldInitProactively(){return Jt()||zt()||ue()}};class ds{constructor(b){this.factorId=b}_process(b,C,W){switch(C.type){case"enroll":return this._finalizeEnroll(b,C.credential,W);case"signin":return this._finalizeSignIn(b,C.credential);default:return Ne("unexpected MultiFactorSessionType")}}}class Nu extends ds{constructor(b){super("phone"),this.credential=b}static _fromCredential(b){return new Nu(b)}_finalizeEnroll(b,C,W){return function j(R,b){return Xt(R,"POST","/v2/accounts/mfaEnrollment:finalize",gn(R,b))}(b,{idToken:C,displayName:W,phoneVerificationInfo:this.credential._makeVerificationRequest()})}_finalizeSignIn(b,C){return function Ca(R,b){return Xt(R,"POST","/v2/accounts/mfaSignIn:finalize",gn(R,b))}(b,{mfaPendingCredential:C,phoneVerificationInfo:this.credential._makeVerificationRequest()})}}let ud=(()=>{class R{constructor(){}static assertion(C){return Nu._fromCredential(C)}}return R.FACTOR_ID="phone",R})();var Yu="@firebase/auth";class hu{constructor(b){this.auth=b,this.internalListeners=new Map}getUid(){var b;return this.assertAuthConfigured(),(null===(b=this.auth.currentUser)||void 0===b?void 0:b.uid)||null}getToken(b){var C=this;return(0,t.Z)(function*(){return C.assertAuthConfigured(),yield C.auth._initializationPromise,C.auth.currentUser?{accessToken:yield C.auth.currentUser.getIdToken(b)}:null})()}addAuthTokenListener(b){if(this.assertAuthConfigured(),this.internalListeners.has(b))return;const C=this.auth.onIdTokenChanged(W=>{b(W?.stsTokenManager.accessToken||null)});this.internalListeners.set(b,C),this.updateProactiveRefresh()}removeAuthTokenListener(b){this.assertAuthConfigured();const C=this.internalListeners.get(b);!C||(this.internalListeners.delete(b),C(),this.updateProactiveRefresh())}assertAuthConfigured(){xe(this.auth._initializationPromise,"dependent-sdk-initialized-before-auth")}updateProactiveRefresh(){this.internalListeners.size>0?this.auth._startProactiveRefresh():this.auth._stopProactiveRefresh()}}(0,f.Pz)("authIdTokenMaxAge"),function fl(R){(0,_._registerComponent)(new M.wA("auth",(b,{options:C})=>{const W=b.getProvider("app").getImmediate(),Se=b.getProvider("heartbeat"),{apiKey:Be,authDomain:bt}=W.options;return((Qt,Gn)=>{xe(Be&&!Be.includes(":"),"invalid-api-key",{appName:Qt.name}),xe(!bt?.includes(":"),"argument-error",{appName:Qt.name});const ur={apiKey:Be,authDomain:bt,clientPlatform:R,apiHost:"identitytoolkit.googleapis.com",tokenApiHost:"securetoken.googleapis.com",apiScheme:"https",sdkClientVersion:er(R)},Gr=new Ir(Qt,Gn,ur);return function oe(R,b){const C=b?.persistence||[],W=(Array.isArray(C)?C:[C]).map(De);b?.errorMap&&R._updateErrorMap(b.errorMap),R._initializeWithPersistence(W,b?.popupRedirectResolver)}(Gr,C),Gr})(W,Se)},"PUBLIC").setInstantiationMode("EXPLICIT").setInstanceCreatedCallback((b,C,W)=>{b.getProvider("auth-internal").initialize()})),(0,_._registerComponent)(new M.wA("auth-internal",b=>{const C=Jn(b.getProvider("auth").getImmediate());return new hu(C)},"PRIVATE").setInstantiationMode("EXPLICIT")),(0,_.registerVersion)(Yu,"0.21.3",function Ll(R
vendor: 4,487 bytes, line 1
1){switch(R){case"Node":return"node";case"ReactNative":return"rn";case"Worker":return"webworker";case"Cordova":return"cordova";default:return}}(R)),(0,_.registerVersion)(Yu,"0.21.3","esm2017")}("Browser")},2090:(s,a,l)=>{"use strict";l.d(a,{$s:()=>ot,BH:()=>me,L:()=>U,LL:()=>dn,Pz:()=>pe,UG:()=>Ne,US:()=>M,ZB:()=>z,ZR:()=>Et,aH:()=>J,b$:()=>De,eu:()=>jt,hl:()=>st,jU:()=>ze,m9:()=>St,ne:()=>Dr,pd:()=>Ln,r3:()=>dr,ru:()=>ke,tV:()=>te,uI:()=>xe,vZ:()=>Sn,w1:()=>oe,xO:()=>cn,xb:()=>$n,z$:()=>He,zI:()=>Wt,zd:()=>Fn});const S=function(Oe){const Ge=[];let Qe=0;for(let gt=0;gt<Oe.length;gt++){let it=Oe.charCodeAt(gt);it<128?Ge[Qe++]=it:it<2048?(Ge[Qe++]=it>>6|192,Ge[Qe++]=63&it|128):55296==(64512&it)&&gt+1<Oe.length&&56320==(64512&Oe.charCodeAt(gt+1))?(it=65536+((1023&it)<<10)+(1023&Oe.charCodeAt(++gt)),Ge[Qe++]=it>>18|240,Ge[Qe++]=it>>12&63|128,Ge[Qe++]=it>>6&63|128,Ge[Qe++]=63&it|128):(Ge[Qe++]=it>>12|224,Ge[Qe++]=it>>6&63|128,Ge[Qe++]=63&it|128)}return Ge},M={byteToCharMap_:null,charToByteMap_:null,byteToCharMapWebSafe_:null,charToByteMapWebSafe_:null,ENCODED_VALS_BASE:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",get ENCODED_VALS(){return this.ENCODED_VALS_BASE+"+/="},get ENCODED_VALS_WEBSAFE(){return this.ENCODED_VALS_BASE+"-_."},HAS_NATIVE_SUPPORT:"function"==typeof atob,encodeByteArray(Oe,Ge){if(!Array.isArray(Oe))throw Error("encodeByteArray takes an array as a parameter");this.init_();const Qe=Ge?this.byteToCharMapWebSafe_:this.byteToCharMap_,gt=[];for(let it=0;it<Oe.length;it+=3){const zt=Oe[it],Cn=it+1<Oe.length,At=Cn?Oe[it+1]:0,We=it+2<Oe.length,Ve=We?Oe[it+2]:0;let ve=(15&At)<<2|Ve>>6,Le=63&Ve;We||(Le=64,Cn||(ve=64)),gt.push(Qe[zt>>2],Qe[(3&zt)<<4|At>>4],Qe[ve],Qe[Le])}return gt.join("")},encodeString(Oe,Ge){return this.HAS_NATIVE_SUPPORT&&!Ge?btoa(Oe):this.encodeByteArray(S(Oe),Ge)},decodeString(Oe,Ge){return this.HAS_NATIVE_SUPPORT&&!Ge?atob(Oe):function(Oe){const Ge=[];let Qe=0,gt=0;for(;Qe<Oe.length;){const it=Oe[Qe++];if(it<128)Ge[gt++]=String.fromCharCode(it);else if(it>191&&it<224){const zt=Oe[Qe++];Ge[gt++]=String.fromCharCode((31&it)<<6|63&zt)}else if(it>239&&it<365){const We=((7&it)<<18|(63&Oe[Qe++])<<12|(63&Oe[Qe++])<<6|63&Oe[Qe++])-65536;Ge[gt++]=String.fromCharCode(55296+(We>>10)),Ge[gt++]=String.fromCharCode(56320+(1023&We))}else{const zt=Oe[Qe++],Cn=Oe[Qe++];Ge[gt++]=String.fromCharCode((15&it)<<12|(63&zt)<<6|63&Cn)}}return Ge.join("")}(this.decodeStringToByteArray(Oe,Ge))},decodeStringToByteArray(Oe,Ge){this.init_();const Qe=Ge?this.charToByteMapWebSafe_:this.charToByteMap_,gt=[];for(let it=0;it<Oe.length;){const zt=Qe[Oe.charAt(it++)],At=it<Oe.length?Qe[Oe.charAt(it)]:0;++it;const Ve=it<Oe.length?Qe[Oe.charAt(it)]:64;++it;const ue=it<Oe.length?Qe[Oe.charAt(it)]:64;if(++it,null==zt||null==At||null==Ve||null==ue)throw Error();gt.push(zt<<2|At>>4),64!==Ve&&(gt.push(At<<4&240|Ve>>2),64!==ue&&gt.push(Ve<<6&192|ue))}return gt},init_(){if(!this.byteToCharMap_){this.byteToCharMap_={},this.charToByteMap_={},this.byteToCharMapWebSafe_={},this.charToByteMapWebSafe_={};for(let Oe=0;Oe<this.ENCODED_VALS.length;Oe++)this.byteToCharMap_[Oe]=this.ENCODED_VALS.charAt(Oe),this.charToByteMap_[this.byteToCharMap_[Oe]]=Oe,this.byteToCharMapWebSafe_[Oe]=this.ENCODED_VALS_WEBSAFE.charAt(Oe),this.charToByteMapWebSafe_[this.byteToCharMapWebSafe_[Oe]]=Oe,Oe>=this.ENCODED_VALS_BASE.length&&(this.charToByteMap_[this.ENCODED_VALS_WEBSAFE.charAt(Oe)]=Oe,this.charToByteMapWebSafe_[this.ENCODED_VALS.charAt(Oe)]=Oe)}}},U=function(Oe){return function(Oe){const Ge=S(Oe);return M.encodeByteArray(Ge,!0)}(Oe).replace(/\./g,"")},te=function(Oe){try{return M.decodeString(Oe,!0)}catch(Ge){console.error("base64Decode failed: ",Ge)}return null};function z(Oe,Ge){if(!(Ge instanceof Object))return Ge;switch(Ge.constructor){case Date:return new Date(Ge.getTime());case Object:void 0===Oe&&(Oe={});break;case Array:Oe=[];break;default:return Ge}for(const Qe in Ge)!Ge.hasOwnProperty(Qe)||!H(Qe)||(Oe[Qe]=z(Oe[Qe],Ge[Qe]));return Oe}function H(Oe){return"__proto__"!==Oe}const N=()=>{try{return function ee(){if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("Unable to locate global object.")}().__FIREBASE_DEFAULTS__||(()=>{if(typeof process>"u"||typeof process.env>"u")return;const Oe=process.env.__FIREBASE_DEFAULTS__;return Oe?JSON.parse(Oe):void 0})()||(()=>{if(typeof document>"u")return;let Oe;try{Oe=document.cookie.match(/__FIREBASE_DEFAULTS__=([^;
1]+)/)}catch{return}const Ge=Oe&&te(Oe[1]);return Ge&&JSON.parse(Ge)})()}catch(Oe){return void console.info(`Unable to get __FIREBASE_DEFAULTS__ due to: ${Oe}`)}},J=()=>{var Oe;return null===(Oe=N())||void 0===Oe?void 0:Oe.config},pe=Oe=>{var Ge;return null===(Ge=N())||void 0===Ge?void 0:Ge[`_${Oe}`]};class me{constructor(){this.reject=()=>{},this.resolve=()=>{},this.promise=new Promise((Ge,Qe)=>{this.resolve=Ge,this.reject=Qe})}wrapCallback(Ge){return(Qe,gt)=>{Qe?this.reject(Qe):this.resolve(gt),"function"==typeof Ge&&(this.promise.catch(()=>{}),1===Ge.length?Ge(Qe):Ge(Qe,gt))}}}function He(){return typeof navigator<"u"&&"string"==typeof navigator.userAgent?navigator.userAgent:""}function xe(){return typeof window<"u"&&!!(window.cordova||window.phonegap||window.PhoneGap)&&/ios|iphone|ipod|ipad|android|blackberry|iemobile/i.test(He())}function Ne(){var Oe;const Ge=null===(Oe=N())||void 0===Oe?void 0:Oe.forceEnvironment;if("node"===Ge)return!0;if("browser"===Ge)return!1;try{return"[object process]"===Object.prototype.toString.call(global.process)}catch{return!1}}function ze(){return"object"==typeof self&&self.self===self}function ke(){const Oe="object"==typeof chrome?chrome.runtime:"object"==typeof browser?browser.runtime:void 0;return"object"==typeof Oe&&void 0!==Oe.id}function De(){return"object"==typeof navigator&&"ReactNative"===navigator.product}function oe(){const Oe=He();return Oe.indexOf("MSIE ")>=0||Oe.indexOf("Trident/")>=0}function st(){try{return"object"==typeof indexedDB}catch{return!1}}function jt(){return new Promise((Oe,Ge)=>{try{let Qe=!0;const gt="validate-browser-context-for-indexeddb-analytics-module",it=self.indexedDB.open(gt);it.onsuccess=()=>{it.result.close(),Qe||self.indexedDB.deleteDatabase(gt),Oe(!0)},it.onupgradeneeded=()=>{Qe=!1},it.onerror=()=>{var zt;Ge((null===(zt=it.error)||void 0===zt?void 0:zt.message)||"")}}catch(Qe){Ge(Qe)}})}function Wt(){return!(typeof navigator>"u"||!navigator.cookieEnabled)}class Et extends Error{constructor(Ge,Qe,gt){super(Qe),this.code=Ge,this.customData=gt,this.name="FirebaseError",Object.setPrototypeOf(this,Et.prototype),Error.captureStackTrace&&Error.captureStackTrace(this,dn.prototype.create)}}class dn{constructor(Ge,Qe,gt){this.service=Ge,this.serviceName=Qe,this.errors=gt}create(Ge,...Qe){const gt=Qe[0]||{},it=`${this.service}/${Ge}`,zt=this.errors[Ge],Cn=zt?function rn(Oe,Ge){return Oe.replace(gn,(Qe,gt)=>{const it=Ge[gt];return null!=it?String(it):`<${gt}?>`})}(zt,gt):"Error";return new Et(it,`${this.serviceName}: ${Cn} (${it}).`,gt)}}const gn=/\{\$([^}]+)}/g;function dr(Oe,Ge){return Object.prototype.hasOwnProperty.call(Oe,Ge)}function $n(Oe){for(const Ge in Oe)if(Object.prototype.hasOwnProperty.call(Oe,Ge))return!1;return!0}function Sn(Oe,Ge){if(Oe===Ge)return!0;const Qe=Object.keys(Oe),gt=Object.keys(Ge);for(const it of Qe){if(!gt.includes(it))return!1;
1const zt=Oe[it],Cn=Ge[it];if(tr(zt)&&tr(Cn)){if(!Sn(zt,Cn))return!1}else if(zt!==Cn)return!1}for(const it of gt)if(!Qe.includes(it))return!1;return!0}function tr(Oe){return null!==Oe&&"object"==typeof Oe}function cn(Oe){const Ge=[];for(const[Qe,gt]of Object.entries(Oe))Array.isArray(gt)?gt.forEach(it=>{Ge.push(encodeURIComponent(Qe)+"="+encodeURIComponent(it))}):Ge.push(encodeURIComponent(Qe)+"="+encodeURIComponent(gt));return Ge.length?"&"+Ge.join("&"):""}function Fn(Oe){const Ge={};return Oe.replace(/^\?/,"").split("&").forEach(gt=>{if(gt){const[it,zt]=gt.split("=");Ge[decodeURIComponent(it)]=decodeURIComponent(zt)}}),Ge}function Ln(Oe){const Ge=Oe.indexOf("?");if(!Ge)return"";const Qe=Oe.indexOf("#",Ge);return Oe.substring(Ge,Qe>0?Qe:void 0)}function Dr(Oe,Ge){const Qe=new mn(Oe,Ge);return Qe.subscribe.bind(Qe)}class mn{constructor(Ge,Qe){this.observers=[],this.unsubscribes=[],this.observerCount=0,this.task=Promise.resolve(),this.finalized=!1,this.onNoObservers=Qe,this.task.then(()=>{Ge(this)}).catch(gt=>{this.error(gt)})}next(Ge){this.forEachObserver(Qe=>{Qe.next(Ge)})}error(Ge){this.forEachObserver(Qe=>{Qe.error(Ge)}),this.close(Ge)}complete(){this.forEachObserver(Ge=>{Ge.complete()}),this.close()}subscribe(Ge,Qe,gt){let it;if(void 0===Ge&&void 0===Qe&&void 0===gt)throw new Error("Missing Observer.");it=function Gt(Oe,Ge){if("object"!=typeof Oe||null===Oe)return!1;for(const Qe of Ge)if(Qe in Oe&&"function"==typeof Oe[Qe])return!0;return!1}(Ge,["next","error","complete"])?Ge:{next:Ge,error:Qe,complete:gt},void 0===it.next&&(it.next=Tn),void 0===it.error&&(it.error=Tn),void 0===it.complete&&(it.complete=Tn);const zt=this.unsubscribeOne.bind(this,this.observers.length);return this.finalized&&this.task.then(()=>{try{this.finalError?it.error(this.finalError):it.complete()}catch{}}),this.observers.push(it),zt}unsubscribeOne(Ge){void 0===this.observers||void 0===this.observers[Ge]||(delete this.observers[Ge],this.observerCount-=1,0===this.observerCount&&void 0!==this.onNoObservers&&this.onNoObservers(this))}forEachObserver(Ge){if(!this.finalized)for(let Qe=0;Qe<this.observers.length;Qe++)this.sendOne(Qe,Ge)}sendOne(Ge,Qe){this.task.then(()=>{if(void 0!==this.observers&&void 0!==this.observers[Ge])try{Qe(this.observers[Ge])}catch(gt){typeof console<"u"&&console.error&&console.error(gt)}})}close(Ge){this.finalized||(this.finalized=!0,void 0!==Ge&&(this.finalError=Ge),this.task.then(()=>{this.observers=void 0,this.onNoObservers=void 0}))}}function Tn(){}function ot(Oe,Ge=1e3,Qe=2){const gt=Ge*Math.pow(Qe,Oe),it=Math.round(.5*gt*(Math.random()-.5)*2);return Math.min(144e5,gt+it)}function St(Oe){return Oe&&Oe._delegate?Oe._delegate:Oe}},1816:(s,a,l)=>{"use strict";function t(k){this.message=k}l.d(a,{Z:()=>M}),(t.prototype=new Error).name="InvalidCharacterError";var f=typeof window<"u"&&window.atob&&window.atob.bind(window)||function(k){var U=String(k).replace(/=+$/,"");if(U.length%4==1)throw new t("'atob' failed: The string to be decoded is not correctly encoded.");for(var te,I,z=0,H=0,ee="";I=U.charAt(H++);~I&&(te=z%4?64*te+I:I,z++%4)?ee+=String.fromCharCode(255&te>>(-2*z&6)):0)I="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(I);return ee};function S(k){this.message=k}(S.prototype=new Error).name="InvalidTokenError";const M=function D(k,U){if("string"!=typeof k)throw new S("Invalid token specified");var te=!0===(U=U||{}).header?0:1;try{return JSON.parse(function _(k){var U=k.replace(/-/g,"+").replace(/_/g,"/");switch(U.length%4){case 0:break;case 2:U+="==";break;case 3:U+="=";break;default:throw"Illegal base64url string!"}try{return decodeURIComponent(f(U).replace(/(.)/g,function(I,z){var H=z.charCodeAt(0).toString(16).toUpperCase();return H.length<2&&(H="0"+H),"%"+H}))}catch{return f(U)}}(k.split(".")[te]))}catch(I){throw new S("Invalid token specified: "+I.message)}}},4487:function(module,exports,__webpack_require__){var a;typeof navigator<"u"&&(a=function(){"use strict";var svgNS="http://www.w3.org/2000/svg",locationHref="",_useWebWorker=!1,initialDefaultFrame=-999999,setWebWorker=function(a){_useWebWorker=!!a},getWebWorker=function(){return _useWebWorker},setLocationHref=function(a){locationHref=a},getLocationHref=function(){return locationHref};function createTag(s){return document.createElement(s)}function extendPrototype(s,a){var l,f,t=s.length;for(l=0;l<t;l+=1)for(var _ in f=s[l].prototype)Object.prototype.hasOwnProperty.call(f,_)&&(a.prototype[_]=f[_])}function getDescriptor(s,a){return Object.getOwnPropertyDescriptor(s,a)}function createProxyFunction(s){function a(){}return a.prototype=s,a}var audioControllerFactory=function(){function s(a){this.audios=[],this.audioFactory=a,this._volume=1,this._isMuted=!1}return s.prototype={addAudio:function(l){this.audios.push(l)},pause:function(){var l,t=this.audios.length;for(l=0;l<t;l+=1)this.audios[l].pause()},resume:function(){var l,t=this.audios.length;for(l=0;l<t;l+=1)this.audios[l].resume()},setRate:function(l){var t,f=this.audios.length;for(t=0;t<f;t+=1)this.audios[t].setRate(l)},createAudio:function(l){return this.audioFactory?this.audioFactory(l):window.Howl?new window.Howl({src:[l]}):{isPlaying:!1,play:function(){this.isPlaying=!0},seek:function(){this.isPlaying=!1},playing:function(){},rate:function(){},setVolume:function(){}}},setAudioFactory:function(l){this.audioFactory=l},setVolume:function(l){this._volume=l,this._updateVolume()},mute:function(){this._isMuted=!0,this._updateVolume()},unmute:function(){this._isMuted=!1,this._updateVolume()},getVolume:function(){return this._volume},_updateVolume:function(){var l,t=this.audios.length;for(l=0;l<t;l+=1)this.audios[l].volume(this._volume*(this._isMuted?0:1))}},function(){return new s}}(),createTypedArray=function(){function s(l,t){var S,f=0,_=[];switch(l){case"int16":case"uint8c":S=1;break;default:S=1.1}for(f=0;f<t;f+=1)_.push(S);return _}return"function"==typeof Uint8ClampedArray&&"function"==typeof Float32Array?function a(l,t){return"float32"===l?new Float32Array(t):"int16"===l?new Int16Array(t):"uint8c"===l?new Uint8ClampedArray(t):s(l,t)}:s}();function createSizedArray(s){return Array.apply(null,{length:s})}function _typeof$6(s){return(_typeof$6="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(l){return typeof l}:function(l){return l&&"function"==typeof Symbol&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":typeof l})(s)}var subframeEnabled=!0,expressionsPlugin=null,expressionsInterfaces=null,idPrefix$1="",isSafari=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),_shouldRoundValues=!1,bmPow=Math.pow,bmSqrt=Math.sqrt,bmFloor=Math.floor,bmMax=Math.max,bmMin=Math.min,BMMath={};function ProjectInterface$1(){return{}}!function(){var a,s=["abs","acos","acosh","asin","asinh","atan","atanh","atan2","ceil","cbrt","expm1","clz32","cos","cosh","exp","floor","fround","hypot","imul","log","log1p","log2","log10","max","min","pow","random","round","sign","sin","sinh","sqrt","tan","tanh","trunc","E","LN10","LN2","LOG10E","LOG2E","PI","SQRT1_2","SQRT2"],l=s.length;for(a=0;a<l;a+=1)BMMath[s[a]]=Math[s[a]]}(),BMMath.random=Math.random,BMMath.abs=function(s){if("object"===_typeof$6(s)&&s.length){var t,l=createSizedArray(s.length),f=s.length;for(t=0;t<f;t+=1)l[t]=Math.abs(s[t]);return l}return Math.abs(s)};var defaultCurveSegments=150,degToRads=Math.PI/180,roundCorner=.5519;function roundValues(s){_shouldRoundValues=!!s}function bmRnd(s){return _shouldRoundValues?Math.round(s):s}function styleDiv(s){s.style.position="absolute",s.style.top=0,s.style.left=0,s.style.display="block",s.style.transformOrigin="0 0",s.style.webkitTransformOrigin="0 0",s.style.backfaceVisibility="visible",s.style.webkitBackfaceVisibility="visible",s.style.transformStyle="preserve-3d",s.style.webkitTransformStyle="preserve-3d",s.style.mozTransformStyle="preserve-3d"}function BMEnterFrameEvent(s,a,l,t){this.type=s,this.currentTime=a,this.totalTime=l,this.direction=t<0?-1:1}function BMCompleteEvent(s,a){this.type=s,this.direction=a<0?-1:1}function BMCompleteLoopEvent(s,a,l,t){this.type=s,this.currentLoop=l,this.totalLoops=a,this.direction=t<0?-1:1}function BMSegmentStartEvent(s,a,l){this.type=s,this.firstFrame=a,this.totalFrames=l}function BMDestroyEvent(s,a){this.type=s,this.target=a}function BMRenderFrameErrorEvent(s,a){this.type="renderFrameError",this.nativeError=s,this.currentTime=a}function BMConfigErrorEvent(s){this.type="configError",this.nativeError=s}function BMAnimationConfigErrorEvent(s,a){this.type=s,this.nativeError=a}var createElementID=(s=0,function(){return idPrefix$1+"__lottie_element_"+(s+=1)}),s;function HSVtoRGB(s,a,l){var t,f,_,S,D,M,k,U;switch(M=l*(1-a),k=l*(1-(D=6*s-(S=Math.floor(6*s)))*a),U=l*(1-(1-D)*a),S%6){case 0:t=l,f=U,_=M;break;case 1:t=k,f=l,_=M;break;case 2:t=M,f=l,_=U;break;case 3:t=M,f=k,_=l;break;case 4:t=U,f=M,_=l;break;case 5:t=l,f=M,_=k}return[t,f,_]}function RGBtoHSV(s,a,l){var S,t=Math.max(s,a,l),f=Math.min(s,a,l),_=t-f,D=0===t?0:_/t,M=t/255;switch(t){case f:S=0;break;case s:S=a-l+_*(a<l?6:0),S/=6*_;break;case a:S=l-s+2*_,S/=6*_;break;case l:S=s-a+4*_,S/=6*_}return[S,D,M]}function addSaturationToRGB(s,a){var l=RGBtoHSV(255*s[0],255*s[1],255*s[2]);return l[1]+=a,l[1]>1?l[1]=1:l[1]<=0&&(l[1]=0),HSVtoRGB(l[0],l[1],l[2])}function addBrightnessToRGB(s,a){var l=RGBtoHSV(255*s[0],255*s[1],255*s[2]);return l[2]+=a,l[2]>1?l[2]=1:l[2]<0&&(l[2]=0),HSVtoRGB(l[0],l[1],l[2])}function addHueToRGB(s,a){var l=RGBtoHSV(255*s[0],255*s[1],255*s[2]);return l[0]+=a/360,l[0]>1?l[0]-=1:l[0]<0&&(l[0]+=1),HSVtoRGB(l[0],l[1],l[2])}var rgbToHex=function(){var a,l,s=[];for(a=0;a<256;a+=1)l=a.toString(16),s[a]=1===l.length?"0"+l:l;return function(t,f,_){return t<0&&(t=0),f<0&&(f=0),_<0&&(_=0),"#"+s[t]+s[f]+s[_]}}(),setSubframeEnabled=function(a){subframeEnabled=!!a},getSubframeEnabled=function(){return subframeEnabled},setExpressionsPlugin=function(a){expressionsPlugin=a},getExpressionsPlugin=function(){return expressionsPlugin},setExpressionInterfaces=function(a){expressionsInterfaces=a},getExpressionInterfaces=function(){return expressionsInterfaces},setDefaultCurveSegments=function(a){defaultCurveSegments=a},getDefaultCurveSegments=function(){return defaultCurveSegments},setIdPrefix=function(a){idPrefix$1=a},getIdPrefix=function(){return idPrefix$1};function createNS(s){return document.createElementNS(svgNS,s)}function _typeof$5(s){return(_typeof$5="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(l){return typeof l}:function(l){return l&&"function"==typeof Symbol&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":typeof l})(s)}var dataManager=function(){var l,t,s=1,a=[],f={onmessage:function(){},postMessage:function(z){l({data:z})}},_={postMessage:function(z){f.onmessage({data:z})}};function D(){t||((t=function S(I){if(window.Worker&&window.Blob&&getWebWorker()){var z=new Blob(["var _workerSelf = self;
1 self.onmessage = ",I.toString()],{type:"text/javascript"}),H=URL.createObjectURL(z);return new Worker(H)}return l=I,f}(function(z){if(_.dataManager||(_.dataManager=function H(){function ae(De,Ce){var oe,he,tt,st,jt,Wt,be=De.length;for(he=0;he<be;he+=1)if("ks"in(oe=De[he])&&!oe.completed){if(oe.completed=!0,oe.hasMask){var Ut=oe.masksProperties;for(st=Ut.length,tt=0;tt<st;tt+=1)if(Ut[tt].pt.k.i)X(Ut[tt].pt.k);else for(Wt=Ut[tt].pt.k.length,jt=0;jt<Wt;jt+=1)Ut[tt].pt.k[jt].s&&X(Ut[tt].pt.k[jt].s[0]),Ut[tt].pt.k[jt].e&&X(Ut[tt].pt.k[jt].e[0])}0===oe.ty?(oe.layers=N(oe.refId,Ce),ae(oe.layers,Ce)):4===oe.ty&&O(oe.shapes)}}function N(De,Ce){var oe=function Y(De,Ce){for(var oe=0,he=Ce.length;oe<he;){if(Ce[oe].id===De)return Ce[oe];oe+=1}return null}(De,Ce);return oe?oe.layers.__used?JSON.parse(JSON.stringify(oe.layers)):(oe.layers.__used=!0,oe.layers):null}function O(De){var Ce,he,be;for(Ce=De.length-1;Ce>=0;Ce-=1)if("sh"===De[Ce].ty)if(De[Ce].ks.k.i)X(De[Ce].ks.k);else for(be=De[Ce].ks.k.length,he=0;he<be;he+=1)De[Ce].ks.k[he].s&&X(De[Ce].ks.k[he].s[0]),De[Ce].ks.k[he].e&&X(De[Ce].ks.k[he].e[0]);else"gr"===De[Ce].ty&&O(De[Ce].it)}function X(De){var Ce,oe=De.i.length;for(Ce=0;Ce<oe;Ce+=1)De.i[Ce][0]+=De.v[Ce][0],De.i[Ce][1]+=De.v[Ce][1],De.o[Ce][0]+=De.v[Ce][0],De.o[Ce][1]+=De.v[Ce][1]}function J(De,Ce){var oe=Ce?Ce.split("."):[100,100,100];return De[0]>oe[0]||!(oe[0]>De[0])&&(De[1]>oe[1]||!(oe[1]>De[1])&&(De[2]>oe[2]||!(oe[2]>De[2])&&null))}var De,pe=function(){var De=[4,4,14];function Ce(he){he.t.d={k:[{s:he.t.d,t:0}]}}function oe(he){var be,tt=he.length;for(be=0;be<tt;be+=1)5===he[be].ty&&Ce(he[be])}
vendor: 1,758 bytes, line 1
1return function(he){if(J(De,he.v)&&(oe(he.layers),he.assets)){var be,tt=he.assets.length;for(be=0;be<tt;be+=1)he.assets[be].layers&&oe(he.assets[be].layers)}}}(),me=(De=[4,7,99],function(Ce){if(Ce.chars&&!J(De,Ce.v)){var oe,he=Ce.chars.length;for(oe=0;oe<he;oe+=1){var be=Ce.chars[oe];be.data&&be.data.shapes&&(O(be.data.shapes),be.data.ip=0,be.data.op=99999,be.data.st=0,be.data.sr=1,be.data.ks={p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0}},Ce.chars[oe].t||(be.data.shapes.push({ty:"no"}),be.data.shapes[0].it.push({p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0},sk:{k:0,a:0},sa:{k:0,a:0},ty:"tr"})))}}}),Fe=function(){var De=[5,7,15];function Ce(he){var be=he.t.p;"number"==typeof be.a&&(be.a={a:0,k:be.a}),"number"==typeof be.p&&(be.p={a:0,k:be.p}),"number"==typeof be.r&&(be.r={a:0,k:be.r})}function oe(he){var be,tt=he.length;for(be=0;be<tt;be+=1)5===he[be].ty&&Ce(he[be])}return function(he){if(J(De,he.v)&&(oe(he.layers),he.assets)){var be,tt=he.assets.length;for(be=0;be<tt;be+=1)he.assets[be].layers&&oe(he.assets[be].layers)}}}(),He=function(){var De=[4,1,9];function Ce(he){var be,st,jt,tt=he.length;for(be=0;be<tt;be+=1)if("gr"===he[be].ty)Ce(he[be].it);else if("fl"===he[be].ty||"st"===he[be].ty)if(he[be].c.k&&he[be].c.k[0].i)for(jt=he[be].c.k.length,st=0;st<jt;st+=1)he[be].c.k[st].s&&(he[be].c.k[st].s[0]/=255,he[be].c.k[st].s[1]/=255,he[be].c.k[st].s[2]/=255,he[be].c.k[st].s[3]/=255),he[be].c.k[st].e&&(he[be].c.k[st].e[0]/=255,he[be].c.k[st].e[1]/=255,he[be].c.k[st].e[2]/=255,he[be].c.k[st].e[3]/=255);else he[be].c.k[0]/=255,he[be].c.k[1]/=255,he[be].c.k[2]/=255,he[be].c.k[3]/=255}function oe(he){var be,tt=he.length;for(be=0;be<tt;be+=1)4===he[be].ty&&Ce(he[be].shapes)}
vendor: 8,943 bytes, line 1
1return function(he){if(J(De,he.v)&&(oe(he.layers),he.assets)){var be,tt=he.assets.length;for(be=0;be<tt;be+=1)he.assets[be].layers&&oe(he.assets[be].layers)}}}(),xe=function(){var De=[4,4,18];function Ce(he){var be,st,jt;for(be=he.length-1;be>=0;be-=1)if("sh"===he[be].ty)if(he[be].ks.k.i)he[be].ks.k.c=he[be].closed;else for(jt=he[be].ks.k.length,st=0;st<jt;st+=1)he[be].ks.k[st].s&&(he[be].ks.k[st].s[0].c=he[be].closed),he[be].ks.k[st].e&&(he[be].ks.k[st].e[0].c=he[be].closed);else"gr"===he[be].ty&&Ce(he[be].it)}function oe(he){var be,tt,jt,Wt,Ut,Et,st=he.length;for(tt=0;tt<st;tt+=1){if((be=he[tt]).hasMask){var dn=be.masksProperties;for(Wt=dn.length,jt=0;jt<Wt;jt+=1)if(dn[jt].pt.k.i)dn[jt].pt.k.c=dn[jt].cl;else for(Et=dn[jt].pt.k.length,Ut=0;Ut<Et;Ut+=1)dn[jt].pt.k[Ut].s&&(dn[jt].pt.k[Ut].s[0].c=dn[jt].cl),dn[jt].pt.k[Ut].e&&(dn[jt].pt.k[Ut].e[0].c=dn[jt].cl)}4===be.ty&&Ce(be.shapes)}}return function(he){if(J(De,he.v)&&(oe(he.layers),he.assets)){var be,tt=he.assets.length;for(be=0;be<tt;be+=1)he.assets[be].layers&&oe(he.assets[be].layers)}}}(),ke={completeData:function Ne(De){De.__complete||(He(De),pe(De),me(De),Fe(De),xe(De),ae(De.layers,De.assets),function V(De,Ce){if(De){var oe=0,he=De.length;for(oe=0;oe<he;oe+=1)1===De[oe].t&&(De[oe].data.layers=N(De[oe].data.refId,Ce),ae(De[oe].data.layers,Ce))}}(De.chars,De.assets),De.__complete=!0)}};return ke.checkColors=He,ke.checkChars=me,ke.checkPathProperties=Fe,ke.checkShapes=xe,ke.completeLayers=ae,ke}()),_.assetLoader||(_.assetLoader=function(){function ae(Y){var N=Y.getResponseHeader("content-type");return N&&"json"===Y.responseType&&-1!==N.indexOf("json")||Y.response&&"object"===_typeof$5(Y.response)?Y.response:Y.response&&"string"==typeof Y.response?JSON.parse(Y.response):Y.responseText?JSON.parse(Y.responseText):null}return{load:function V(Y,N,O,X){var J,pe=new XMLHttpRequest;try{pe.responseType="json"}catch{}pe.onreadystatechange=function(){if(4===pe.readyState)if(200===pe.status)J=ae(pe),O(J);else try{J=ae(pe),O(J)}catch(me){X&&X(me)}};try{pe.open(["G","E","T"].join(""),Y,!0)}catch{pe.open(["G","E","T"].join(""),N+"/"+Y,!0)}pe.send()}}}()),"loadAnimation"===z.data.type)_.assetLoader.load(z.data.path,z.data.fullPath,function(ae){_.dataManager.completeData(ae),_.postMessage({id:z.data.id,payload:ae,status:"success"})},function(){_.postMessage({id:z.data.id,status:"error"})});else if("complete"===z.data.type){var ee=z.data.animation;_.dataManager.completeData(ee),_.postMessage({id:z.data.id,payload:ee,status:"success"})}else"loadData"===z.data.type&&_.assetLoader.load(z.data.path,z.data.fullPath,function(ae){_.postMessage({id:z.data.id,payload:ae,status:"success"})},function(){_.postMessage({id:z.data.id,status:"error"})})})).onmessage=function(I){var z=I.data,H=z.id,ee=a[H];a[H]=null,"success"===z.status?ee.onComplete(z.payload):ee.onError&&ee.onError()})}function M(I,z){var H="processId_"+(s+=1);return a[H]={onComplete:I,onError:z},H}return{loadAnimation:function k(I,z,H){D();var ee=M(z,H);t.postMessage({type:"loadAnimation",path:I,fullPath:window.location.origin+window.location.pathname,id:ee})},loadData:function U(I,z,H){D();var ee=M(z,H);t.postMessage({type:"loadData",path:I,fullPath:window.location.origin+window.location.pathname,id:ee})},completeAnimation:function te(I,z,H){D();var ee=M(z,H);t.postMessage({type:"complete",animation:I,id:ee})}}}(),ImagePreloader=function(){var s=function(){var V=createTag("canvas");V.width=1,V.height=1;var Y=V.getContext("2d");return Y.fillStyle="rgba(0,0,0,0)",Y.fillRect(0,0,1,1),V}();function a(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function l(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function t(V,Y,N){var O="";if(V.e)O=V.p;else if(Y){var X=V.p;-1!==X.indexOf("images/")&&(X=X.split("/")[1]),O=Y+X}else O=N,O+=V.u?V.u:"",O+=V.p;return O}function f(V){var Y=0,N=setInterval(function(){(V.getBBox().width||Y>500)&&(this._imageLoaded(),clearInterval(N)),Y+=1}.bind(this),50)}function D(V){var Y={assetData:V},N=t(V,this.assetsPath,this.path);return dataManager.loadData(N,function(O){Y.img=O,this._footageLoaded()}.bind(this),function(){Y.img={},this._footageLoaded()}.bind(this)),Y}function ae(){this._imageLoaded=a.bind(this),this._footageLoaded=l.bind(this),this.testImageLoaded=f.bind(this),this.createFootageData=D.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return ae.prototype={loadAssets:function M(V,Y){this.imagesLoadedCb=Y;var N,O=V.length;for(N=0;N<O;N+=1)V[N].layers||(V[N].t&&"seq"!==V[N].t?3===V[N].t&&(this.totalFootages+=1,this.images.push(this.createFootageData(V[N]))):(this.totalImages+=1,this.images.push(this._createImageData(V[N]))))},setAssetsPath:function U(V){this.assetsPath=V||""},setPath:function k(V){this.path=V||""},loadedImages:function z(){return this.totalImages===this.loadedAssets},loadedFootages:function H(){return this.totalFootages===this.loadedFootagesCount},destroy:function I(){this.imagesLoadedCb=null,this.images.length=0},getAsset:function te(V){for(var Y=0,N=this.images.length;Y<N;){if(this.images[Y].assetData===V)return this.images[Y].img;Y+=1}return null},createImgData:function S(V){var Y=t(V,this.assetsPath,this.path),N=createTag("img");N.crossOrigin="anonymous",N.addEventListener("load",this._imageLoaded,!1),N.addEventListener("error",function(){O.img=s,this._imageLoaded()}.bind(this),!1),N.src=Y;var O={img:N,assetData:V};return O},createImageData:function _(V){var Y=t(V,this.assetsPath,this.path),N=createNS("image");isSafari?this.testImageLoaded(N):N.addEventListener("load",this._imageLoaded,!1),N.addEventListener("error",function(){O.img=s,this._imageLoaded()}.bind(this),!1),N.setAttributeNS("http://www.w3.org/1999/xlink","href",Y),this._elementHelper.append?this._elementHelper.append(N):this._elementHelper.appendChild(N);var O={img:N,assetData:V};return O},imageLoaded:a,footageLoaded:l,setCacheType:function ee(V,Y){"svg"===V?(this._elementHelper=Y,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}},ae}();function BaseEvent(){}BaseEvent.prototype={triggerEvent:function(a,l){if(this._cbs[a])for(var t=this._cbs[a],f=0;f<t.length;f+=1)t[f](l)},addEventListener:function(a,l){return this._cbs[a]||(this._cbs[a]=[]),this._cbs[a].push(l),function(){this.removeEventListener(a,l)}.bind(this)},removeEventListener:function(a,l){if(l){if(this._cbs[a]){for(var t=0,f=this._cbs[a].length;t<f;)this._cbs[a][t]===l&&(this._cbs[a].splice(t,1),t-=1,f-=1),t+=1;this._cbs[a].length||(this._cbs[a]=null)}}else this._cbs[a]=null}};var markerParser=function(){function s(a){for(var f,l=a.split("\r\n"),t={},_=0,S=0;S<l.length;S+=1)2===(f=l[S].split(":")).length&&(t[f[0]]=f[1].trim(),_+=1);if(0===_)throw new Error;return t}return function(a){for(var l=[],t=0;t<a.length;t+=1){var f=a[t],_={time:f.tm,duration:f.dr};try{_.payload=JSON.parse(a[t].cm)}catch{try{_.payload=s(a[t].cm)}catch{_.payload={name:a[t].cm}}}l.push(_)}return l}}(),ProjectInterface=function(){function s(a){this.compositions.push(a)}return function(){function a(l){for(var t=0,f=this.compositions.length;t<f;){if(this.compositions[t].data&&this.compositions[t].data.nm===l)return this.compositions[t].prepareFrame&&this.compositions[t].data.xt&&this.compositions[t].prepareFrame(this.currentFrame),this.compositions[t].compInterface;t+=1}return null}return a.compositions=[],a.currentFrame=0,a.registerComposition=s,a}}(),renderers={},registerRenderer=function(a,l){renderers[a]=l};function getRenderer(s){return renderers[s]}function _typeof$4(s){return(_typeof$4="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(l){return typeof l}:function(l){return l&&"function"==typeof Symbol&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":typeof l})(s)}var AnimationItem=function(){this._cbs=[],this.name="",this.path="",this.isLoaded=!1,this.currentFrame=0,this.currentRawFrame=0,this.firstFrame=0,this.totalFrames=0,this.frameRate=0,this.frameMult=0,this.playSpeed=1,this.playDirection=1,this.playCount=0,this.animationData={},this.assets=[],this.isPaused=!0,this.autoplay=!1,this.loop=!0,this.renderer=null,this.animationID=createElementID(),this.assetsPath="",this.timeCompleted=0,this.segmentPos=0,this.isSubframeEnabled=getSubframeEnabled(),this.segments=[],this._idle=!0,this._completedLoop=!1,this.projectInterface=ProjectInterface(),this.imagePreloader=new ImagePreloader,this.audioController=audioControllerFactory(),this.markers=[],this.configAnimation=this.configAnimation.bind(this),this.onSetupError=this.onSetupError.bind(this),this.onSegmentComplete=this.onSegmentComplete.bind(this),this.drawnFrameEvent=ne
vendor: 2,429 bytes, line 1
1w BMEnterFrameEvent("drawnFrame",0,0,0)};extendPrototype([BaseEvent],AnimationItem),AnimationItem.prototype.setParams=function(s){(s.wrapper||s.container)&&(this.wrapper=s.wrapper||s.container);var a="svg";s.animType?a=s.animType:s.renderer&&(a=s.renderer);var l=getRenderer(a);this.renderer=new l(this,s.rendererSettings),this.imagePreloader.setCacheType(a,this.renderer.globalData.defs),this.renderer.setProjectInterface(this.projectInterface),this.animType=a,this.loop=""===s.loop||null==s.loop||!0===s.loop||!1!==s.loop&&parseInt(s.loop,10),this.autoplay=!("autoplay"in s)||s.autoplay,this.name=s.name?s.name:"",this.autoloadSegments=!Object.prototype.hasOwnProperty.call(s,"autoloadSegments")||s.autoloadSegments,this.assetsPath=s.assetsPath,this.initialSegment=s.initialSegment,s.audioFactory&&this.audioController.setAudioFactory(s.audioFactory),s.animationData?this.setupAnimation(s.animationData):s.path&&(this.path=-1!==s.path.lastIndexOf("\\")?s.path.substr(0,s.path.lastIndexOf("\\")+1):s.path.substr(0,s.path.lastIndexOf("/")+1),this.fileName=s.path.substr(s.path.lastIndexOf("/")+1),this.fileName=this.fileName.substr(0,this.fileName.lastIndexOf(".json")),dataManager.loadAnimation(s.path,this.configAnimation,this.onSetupError))},AnimationItem.prototype.onSetupError=function(){this.trigger("data_failed")},AnimationItem.prototype.setupAnimation=function(s){dataManager.completeAnimation(s,this.configAnimation)},AnimationItem.prototype.setData=function(s,a){a&&"object"!==_typeof$4(a)&&(a=JSON.parse(a));var l={wrapper:s,animationData:a},t=s.attributes;l.path=t.getNamedItem("data-animation-path")?t.getNamedItem("data-animation-path").value:t.getNamedItem("data-bm-path")?t.getNamedItem("data-bm-path").value:t.getNamedItem("bm-path")?t.getNamedItem("bm-path").value:"",l.animType=t.getNamedItem("data-anim-type")?t.getNamedItem("data-anim-type").value:t.getNamedItem("data-bm-type")?t.getNamedItem("data-bm-type").value:t.getNamedItem("bm-type")?t.getNamedItem("bm-type").value:t.getNamedItem("data-bm-renderer")?t.getNamedItem("data-bm-renderer").value:t.getNamedItem("bm-renderer")?t.getNamedItem("bm-renderer").value:"canvas";var f=t.getNamedItem("data-anim-loop")?t.getNamedItem("data-anim-loop").value:t.getNamedItem("data-bm-loop")?t.getNamedItem("data-bm-loop").value:t.getNamedItem("bm-loop")?t.getNamedItem("bm-loop").value:"";"false"===f?l.loop=!1:"true"===f?l.loop=!0:""!==f&&(l.loop=parseInt(f,10));
vendor: 4,599 bytes, line 1
1var _=t.getNamedItem("data-anim-autoplay")?t.getNamedItem("data-anim-autoplay").value:t.getNamedItem("data-bm-autoplay")?t.getNamedItem("data-bm-autoplay").value:!t.getNamedItem("bm-autoplay")||t.getNamedItem("bm-autoplay").value;l.autoplay="false"!==_,l.name=t.getNamedItem("data-name")?t.getNamedItem("data-name").value:t.getNamedItem("data-bm-name")?t.getNamedItem("data-bm-name").value:t.getNamedItem("bm-name")?t.getNamedItem("bm-name").value:"","false"===(t.getNamedItem("data-anim-prerender")?t.getNamedItem("data-anim-prerender").value:t.getNamedItem("data-bm-prerender")?t.getNamedItem("data-bm-prerender").value:t.getNamedItem("bm-prerender")?t.getNamedItem("bm-prerender").value:"")&&(l.prerender=!1),this.setParams(l)},AnimationItem.prototype.includeLayers=function(s){s.op>this.animationData.op&&(this.animationData.op=s.op,this.totalFrames=Math.floor(s.op-this.animationData.ip));var l,_,a=this.animationData.layers,t=a.length,f=s.layers,S=f.length;for(_=0;_<S;_+=1)for(l=0;l<t;){if(a[l].id===f[_].id){a[l]=f[_];break}l+=1}if((s.chars||s.fonts)&&(this.renderer.globalData.fontManager.addChars(s.chars),this.renderer.globalData.fontManager.addFonts(s.fonts,this.renderer.globalData.defs)),s.assets)for(t=s.assets.length,l=0;l<t;l+=1)this.animationData.assets.push(s.assets[l]);this.animationData.__complete=!1,dataManager.completeAnimation(this.animationData,this.onSegmentComplete)},AnimationItem.prototype.onSegmentComplete=function(s){this.animationData=s;var a=getExpressionsPlugin();a&&a.initExpressions(this),this.loadNextSegment()},AnimationItem.prototype.loadNextSegment=function(){var s=this.animationData.segments;if(!s||0===s.length||!this.autoloadSegments)return this.trigger("data_ready"),void(this.timeCompleted=this.totalFrames);var a=s.shift();this.timeCompleted=a.time*this.frameRate;var l=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1,dataManager.loadData(l,this.includeLayers.bind(this),function(){this.trigger("data_failed")}.bind(this))},AnimationItem.prototype.loadSegments=function(){this.animationData.segments||(this.timeCompleted=this.totalFrames),this.loadNextSegment()},AnimationItem.prototype.imagesLoaded=function(){this.trigger("loaded_images"),this.checkLoaded()},AnimationItem.prototype.preloadImages=function(){this.imagePreloader.setAssetsPath(this.assetsPath),this.imagePreloader.setPath(this.path),this.imagePreloader.loadAssets(this.animationData.assets,this.imagesLoaded.bind(this))},AnimationItem.prototype.configAnimation=function(s){if(this.renderer)try{this.animationData=s,this.initialSegment?(this.totalFrames=Math.floor(this.initialSegment[1]-this.initialSegment[0]),this.firstFrame=Math.round(this.initialSegment[0])):(this.totalFrames=Math.floor(this.animationData.op-this.animationData.ip),this.firstFrame=Math.round(this.animationData.ip)),this.renderer.configAnimation(s),s.assets||(s.assets=[]),this.assets=this.animationData.assets,this.frameRate=this.animationData.fr,this.frameMult=this.animationData.fr/1e3,this.renderer.searchExtraCompositions(s.assets),this.markers=markerParser(s.markers||[]),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded(),this.isPaused&&this.audioController.pause()}catch(a){this.triggerConfigError(a)}},AnimationItem.prototype.waitForFontsLoaded=function(){!this.renderer||(this.renderer.globalData.fontManager.isLoaded?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20))},AnimationItem.prototype.checkLoaded=function(){if(!this.isLoaded&&this.renderer.globalData.fontManager.isLoaded&&(this.imagePreloader.loadedImages()||"canvas"!==this.renderer.rendererType)&&this.imagePreloader.loadedFootages()){this.isLoaded=!0;var s=getExpressionsPlugin();s&&s.initExpressions(this),this.renderer.initItems(),setTimeout(function(){this.trigger("DOMLoaded")}.bind(this),0),this.gotoFrame(),this.autoplay&&this.play()}},AnimationItem.prototype.resize=function(s,a){this.renderer.updateContainerSize("number"==typeof s?s:void 0,"number"==typeof a?a:void 0)},AnimationItem.prototype.setSubframe=function(s){this.isSubframeEnabled=!!s},AnimationItem.prototype.gotoFrame=function(){this.currentFrame=this.isSubframeEnabled?this.currentRawFrame:~~this.currentRawFrame,this.timeCompleted!==this.totalFrames&&this.currentFrame>this.timeCompleted&&(this.currentFrame=this.timeCompleted),this.trigger("enterFrame"),this.renderFrame(),this.trigger("drawnFrame")},AnimationItem.prototype.renderFrame=function(){if(!1!==this.isLoaded&&this.renderer)try{this.renderer.renderFrame(this.currentFrame+this.firstFrame)}
vendor: 4,054 bytes, line 1
1catch(s){this.triggerRenderFrameError(s)}},AnimationItem.prototype.play=function(s){s&&this.name!==s||!0===this.isPaused&&(this.isPaused=!1,this.trigger("_pause"),this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")))},AnimationItem.prototype.pause=function(s){s&&this.name!==s||!1===this.isPaused&&(this.isPaused=!0,this.trigger("_play"),this._idle=!0,this.trigger("_idle"),this.audioController.pause())},AnimationItem.prototype.togglePause=function(s){s&&this.name!==s||(!0===this.isPaused?this.play():this.pause())},AnimationItem.prototype.stop=function(s){s&&this.name!==s||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},AnimationItem.prototype.getMarkerData=function(s){for(var a,l=0;l<this.markers.length;l+=1)if((a=this.markers[l]).payload&&a.payload.name===s)return a;return null},AnimationItem.prototype.goToAndStop=function(s,a,l){if(!l||this.name===l){var t=Number(s);if(isNaN(t)){var f=this.getMarkerData(s);f&&this.goToAndStop(f.time,!0)}else this.setCurrentRawFrameValue(a?s:s*this.frameModifier);this.pause()}},AnimationItem.prototype.goToAndPlay=function(s,a,l){if(!l||this.name===l){var t=Number(s);if(isNaN(t)){var f=this.getMarkerData(s);f&&(f.duration?this.playSegments([f.time,f.time+f.duration],!0):this.goToAndStop(f.time,!0))}else this.goToAndStop(t,a,l);this.play()}},AnimationItem.prototype.advanceTime=function(s){if(!0!==this.isPaused&&!1!==this.isLoaded){var a=this.currentRawFrame+s*this.frameModifier,l=!1;a>=this.totalFrames-1&&this.frameModifier>0?this.loop&&this.playCount!==this.loop?a>=this.totalFrames?(this.playCount+=1,this.checkSegments(a%this.totalFrames)||(this.setCurrentRawFrameValue(a%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(a):this.checkSegments(a>this.totalFrames?a%this.totalFrames:0)||(l=!0,a=this.totalFrames-1):a<0?this.checkSegments(a%this.totalFrames)||(!this.loop||this.playCount--<=0&&!0!==this.loop?(l=!0,a=0):(this.setCurrentRawFrameValue(this.totalFrames+a%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0)):this.setCurrentRawFrameValue(a),l&&(this.setCurrentRawFrameValue(a),this.pause(),this.trigger("complete"))}},AnimationItem.prototype.adjustSegment=function(s,a){this.playCount=0,s[1]<s[0]?(this.frameModifier>0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.totalFrames=s[0]-s[1],this.timeCompleted=this.totalFrames,this.firstFrame=s[1],this.setCurrentRawFrameValue(this.totalFrames-.001-a)):s[1]>s[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.totalFrames=s[1]-s[0],this.timeCompleted=this.totalFrames,this.firstFrame=s[0],this.setCurrentRawFrameValue(.001+a)),this.trigger("segmentStart")},AnimationItem.prototype.setSegment=function(s,a){var l=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<s?l=s:this.currentRawFrame+this.firstFrame>a&&(l=a-s)),this.firstFrame=s,this.totalFrames=a-s,this.timeCompleted=this.totalFrames,-1!==l&&this.goToAndStop(l,!0)},AnimationItem.prototype.playSegments=function(s,a){if(a&&(this.segments.length=0),"object"===_typeof$4(s[0])){var l,t=s.length;for(l=0;l<t;l+=1)this.segments.push(s[l])}else this.segments.push(s);this.segments.length&&a&&this.adjustSegment(this.segments.shift(),0),this.isPaused&&this.play()},AnimationItem.prototype.resetSegments=function(s){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),s&&this.checkSegments(0)},AnimationItem.prototype.checkSegments=function(s){return!!this.segments.length&&(this.adjustSegment(this.segments.shift(),s),!0)},AnimationItem.prototype.destroy=function(s){s&&this.name!==s||!this.renderer||(this.renderer.destroy(),this.imagePreloader.destroy(),this.trigger("destroy"),this._cbs=null,this.onEnterFrame=null,this.onLoopComplete=null,this.onComplete=null,this.onSegmentStart=null,this.onDestroy=null,this.renderer=null,this.renderer=null,this.imagePreloader=null,this.projectInterface=null)}
vendor: 7,777 bytes, line 1
1,AnimationItem.prototype.setCurrentRawFrameValue=function(s){this.currentRawFrame=s,this.gotoFrame()},AnimationItem.prototype.setSpeed=function(s){this.playSpeed=s,this.updaFrameModifier()},AnimationItem.prototype.setDirection=function(s){this.playDirection=s<0?-1:1,this.updaFrameModifier()},AnimationItem.prototype.setLoop=function(s){this.loop=s},AnimationItem.prototype.setVolume=function(s,a){a&&this.name!==a||this.audioController.setVolume(s)},AnimationItem.prototype.getVolume=function(){return this.audioController.getVolume()},AnimationItem.prototype.mute=function(s){s&&this.name!==s||this.audioController.mute()},AnimationItem.prototype.unmute=function(s){s&&this.name!==s||this.audioController.unmute()},AnimationItem.prototype.updaFrameModifier=function(){this.frameModifier=this.frameMult*this.playSpeed*this.playDirection,this.audioController.setRate(this.playSpeed*this.playDirection)},AnimationItem.prototype.getPath=function(){return this.path},AnimationItem.prototype.getAssetsPath=function(s){var a="";if(s.e)a=s.p;else if(this.assetsPath){var l=s.p;-1!==l.indexOf("images/")&&(l=l.split("/")[1]),a=this.assetsPath+l}else a=this.path,a+=s.u?s.u:"",a+=s.p;return a},AnimationItem.prototype.getAssetData=function(s){for(var a=0,l=this.assets.length;a<l;){if(s===this.assets[a].id)return this.assets[a];a+=1}return null},AnimationItem.prototype.hide=function(){this.renderer.hide()},AnimationItem.prototype.show=function(){this.renderer.show()},AnimationItem.prototype.getDuration=function(s){return s?this.totalFrames:this.totalFrames/this.frameRate},AnimationItem.prototype.updateDocumentData=function(s,a,l){try{this.renderer.getElementByPath(s).updateDocumentData(a,l)}catch{}},AnimationItem.prototype.trigger=function(s){if(this._cbs&&this._cbs[s])switch(s){case"enterFrame":this.triggerEvent(s,new BMEnterFrameEvent(s,this.currentFrame,this.totalFrames,this.frameModifier));break;case"drawnFrame":this.drawnFrameEvent.currentTime=this.currentFrame,this.drawnFrameEvent.totalTime=this.totalFrames,this.drawnFrameEvent.direction=this.frameModifier,this.triggerEvent(s,this.drawnFrameEvent);break;case"loopComplete":this.triggerEvent(s,new BMCompleteLoopEvent(s,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(s,new BMCompleteEvent(s,this.frameMult));break;case"segmentStart":this.triggerEvent(s,new BMSegmentStartEvent(s,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(s,new BMDestroyEvent(s,this));break;default:this.triggerEvent(s)}"enterFrame"===s&&this.onEnterFrame&&this.onEnterFrame.call(this,new BMEnterFrameEvent(s,this.currentFrame,this.totalFrames,this.frameMult)),"loopComplete"===s&&this.onLoopComplete&&this.onLoopComplete.call(this,new BMCompleteLoopEvent(s,this.loop,this.playCount,this.frameMult)),"complete"===s&&this.onComplete&&this.onComplete.call(this,new BMCompleteEvent(s,this.frameMult)),"segmentStart"===s&&this.onSegmentStart&&this.onSegmentStart.call(this,new BMSegmentStartEvent(s,this.firstFrame,this.totalFrames)),"destroy"===s&&this.onDestroy&&this.onDestroy.call(this,new BMDestroyEvent(s,this))},AnimationItem.prototype.triggerRenderFrameError=function(s){var a=new BMRenderFrameErrorEvent(s,this.currentFrame);this.triggerEvent("error",a),this.onError&&this.onError.call(this,a)},AnimationItem.prototype.triggerConfigError=function(s){var a=new BMConfigErrorEvent(s,this.currentFrame);this.triggerEvent("error",a),this.onError&&this.onError.call(this,a)};var animationManager=function(){var s={},a=[],l=0,t=0,f=0,_=!0,S=!1;function D(Ce){for(var oe=0,he=Ce.target;oe<t;)a[oe].animation===he&&(a.splice(oe,1),oe-=1,t-=1,he.isPaused||te()),oe+=1}function M(Ce,oe){if(!Ce)return null;for(var he=0;he<t;){if(a[he].elem===Ce&&null!==a[he].elem)return a[he].animation;he+=1}var be=new AnimationItem;return I(be,Ce),be.setData(Ce,oe),be}function U(){f+=1,He()}function te(){f-=1}function I(Ce,oe){Ce.addEventListener("destroy",D),Ce.addEventListener("_active",U),Ce.addEventListener("_idle",te),a.push({elem:oe,animation:Ce}),t+=1}function V(Ce){var he,oe=Ce-l;for(he=0;he<t;he+=1)a[he].animation.advanceTime(oe);l=Ce,f&&!S?window.requestAnimationFrame(V):_=!0}function Y(Ce){l=Ce,window.requestAnimationFrame(V)}function He(){!S&&f&&_&&(window.requestAnimationFrame(Y),_=!1)}return s.registerAnimation=M,s.loadAnimation=function z(Ce){var oe=new AnimationItem;return I(oe,null),oe.setParams(Ce),oe},s.setSpeed=function H(Ce,oe){var he;for(he=0;he<t;he+=1)a[he].animation.setSpeed(Ce,oe)},s.setDirection=function ee(Ce,oe){var he;for(he=0;he<t;he+=1)a[he].animation.setDirection(Ce,oe)},s.play=function ae(Ce){var oe;for(oe=0;oe<t;oe+=1)a[oe].animation.play(Ce)},s.pause=function N(Ce){var oe;for(oe=0;oe<t;oe+=1)a[oe].animation.pause(Ce)},s.stop=function X(Ce){var oe;for(oe=0;oe<t;oe+=1)a[oe].animation.stop(Ce)},s.togglePause=function J(Ce){var oe;for(oe=0;oe<t;oe+=1)a[oe].animation.togglePause(Ce)},s.searchAnimations=function me(Ce,oe,he){var tt,be=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),st=be.length;for(tt=0;tt<st;tt+=1)he&&be[tt].setAttribute("data-bm-type",he),M(be[tt],Ce);if(oe&&0===st){he||(he="svg");var jt=document.getElementsByTagName("body")[0];jt.innerText="";var Wt=createTag("div");Wt.style.width="100%",Wt.style.height="100%",Wt.setAttribute("data-bm-type",he),jt.appendChild(Wt),M(Wt,Ce)}},s.resize=function Fe(){var Ce;for(Ce=0;Ce<t;Ce+=1)a[Ce].animation.resize()},s.goToAndStop=function O(Ce,oe,he){var be;for(be=0;be<t;be+=1)a[be].animation.goToAndStop(Ce,oe,he)},s.destroy=function pe(Ce){var oe;for(oe=t-1;oe>=0;oe-=1)a[oe].animation.destroy(Ce)},s.freeze=function xe(){S=!0},s.unfreeze=function Ne(){S=!1,He()},s.setVolume=function ze(Ce,oe){var he;for(he=0;he<t;he+=1)a[he].animation.setVolume(Ce,oe)},s.mute=function ke(Ce){var oe;for(oe=0;oe<t;oe+=1)a[oe].animation.mute(Ce)},s.unmute=function De(Ce){var oe;for(oe=0;oe<t;oe+=1)a[oe].animation.unmute(Ce)},s.getRegisteredAnimations=function k(){var Ce,oe=a.length,he=[];for(Ce=0;Ce<oe;Ce+=1)he.push(a[Ce].animation);return he},s}(),BezierFactory=function(){var s={getBezierEasing:function l(Y,N,O,X,J){var pe=J||("bez_"+Y+"_"+N+"_"+O+"_"+X).replace(/\./g,"p");if(a[pe])return a[pe];var me=new V([Y,N,O,X]);return a[pe]=me,me}},a={},M=.1,k="function"==typeof Float32Array;function U(Y,N){return 1-3*N+3*Y}function te(Y,N){return 3*N-6*Y}function I(Y){return 3*Y}function z(Y,N,O){return((U(N,O)*Y+te(N,O))*Y+I(N))*Y}function H(Y,N,O){return 3*U(N,O)*Y*Y+2*te(N,O)*Y+I(N)}function V(Y){this._p=Y,this._mSampleValues=k?new Float32Array(11):new Array(11),this._precomputed=!1,this.get=this.get.bind(this)}return V.prototype={get:function(N){var O=this._p[0],X=this._p[1],J=this._p[2],pe=this._p[3];return this._precomputed||this._precompute(),O===X&&J===pe?N:0===N?0:1===N?1:z(this._getTForX(N),X,pe)},_precompute:function(){var N=this._p[0],O=this._p[1],X=this._p[2],J=this._p[3];this._precomputed=!0,(N!==O||X!==J)&&this._calcSampleValues()},_calcSampleValues:function(){for(var N=this._p[0],O=this._p[2],X=0;X<11;++X)this._mSampleValues[X]=z(X*M,N,O)},_getTForX:function(N){for(var O=this._p[0],X=this._p[2],J=this._mSampleValues,pe=0,me=1;10!==me&&J[me]<=N;++me)pe+=M;var xe=pe+(N-J[--me])/(J[me+1]-J[me])*M,Ne=H(xe,O,X);return Ne>=.001?function ae(Y,N,O,X){for(var J=0;J<4;++J){var pe=H(N,O,X);if(0===pe)return N;N-=(z(N,O,X)-Y)/pe}return N}(N,xe,O,X):0===Ne?xe:function ee(Y,N,O,X,J){var pe,me,Fe=0;do{(pe=z(me=N+(O-N)/2,X,J)-Y)>0?O=me:N=me}while(Math.abs(pe)>1e-7&&++Fe<10);return me}(N,pe,pe+M,O,X)}},s}(),pooling={double:function s(a){return a.concat(createSizedArray(a.length))}},poolFactory=function(s,a,l){var t=0,f=s,_=createSizedArray(f);return{newElement:function D(){return t?_[t-=1]:a()}
vendor: 4,668 bytes, line 1
1,release:function M(k){t===f&&(_=pooling.double(_),f*=2),l&&l(k),_[t]=k,t+=1}}},bezierLengthPool=poolFactory(8,function s(){return{addedLength:0,percents:createTypedArray("float32",getDefaultCurveSegments()),lengths:createTypedArray("float32",getDefaultCurveSegments())}}),segmentsLengthPool=poolFactory(8,function s(){return{lengths:[],totalLength:0}},function a(l){var t,f=l.lengths.length;for(t=0;t<f;t+=1)bezierLengthPool.release(l.lengths[t]);l.lengths.length=0});function bezFunction(){var s=Math;function a(I,z,H,ee,ae,V){var Y=I*ee+z*ae+H*V-ae*ee-V*I-H*z;return Y>-.001&&Y<.001}var t=function(I,z,H,ee){var V,Y,N,O,X,pe,ae=getDefaultCurveSegments(),J=0,me=[],Fe=[],He=bezierLengthPool.newElement();for(N=H.length,V=0;V<ae;V+=1){for(X=V/(ae-1),pe=0,Y=0;Y<N;Y+=1)O=bmPow(1-X,3)*I[Y]+3*bmPow(1-X,2)*X*H[Y]+3*(1-X)*bmPow(X,2)*ee[Y]+bmPow(X,3)*z[Y],me[Y]=O,null!==Fe[Y]&&(pe+=bmPow(me[Y]-Fe[Y],2)),Fe[Y]=me[Y];pe&&(J+=pe=bmSqrt(pe)),He.percents[V]=X,He.lengths[V]=J}return He.addedLength=J,He};function _(I){this.segmentLength=0,this.points=new Array(I)}function S(I,z){this.partialLength=I,this.point=z}var I,D=(I={},function(z,H,ee,ae){var V=(z[0]+"_"+z[1]+"_"+H[0]+"_"+H[1]+"_"+ee[0]+"_"+ee[1]+"_"+ae[0]+"_"+ae[1]).replace(/\./g,"p");if(!I[V]){var N,O,X,J,pe,Fe,He,Y=getDefaultCurveSegments(),me=0,xe=null;2===z.length&&(z[0]!==H[0]||z[1]!==H[1])&&a(z[0],z[1],H[0],H[1],z[0]+ee[0],z[1]+ee[1])&&a(z[0],z[1],H[0],H[1],H[0]+ae[0],H[1]+ae[1])&&(Y=2);var Ne=new _(Y);for(X=ee.length,N=0;N<Y;N+=1){for(He=createSizedArray(X),pe=N/(Y-1),Fe=0,O=0;O<X;O+=1)J=bmPow(1-pe,3)*z[O]+3*bmPow(1-pe,2)*pe*(z[O]+ee[O])+3*(1-pe)*bmPow(pe,2)*(H[O]+ae[O])+bmPow(pe,3)*H[O],He[O]=J,null!==xe&&(Fe+=bmPow(He[O]-xe[O],2));me+=Fe=bmSqrt(Fe),Ne.points[N]=new S(Fe,He),xe=He}Ne.segmentLength=me,I[V]=Ne}return I[V]});function M(I,z){var H=z.percents,ee=z.lengths,ae=H.length,V=bmFloor((ae-1)*I),Y=I*z.addedLength,N=0;if(V===ae-1||0===V||Y===ee[V])return H[V];for(var O=ee[V]>Y?-1:1,X=!0;X;)if(ee[V]<=Y&&ee[V+1]>Y?(N=(Y-ee[V])/(ee[V+1]-ee[V]),X=!1):V+=O,V<0||V>=ae-1){if(V===ae-1)return H[V];X=!1}return H[V]+(H[V+1]-H[V])*N}var U=createTypedArray("float32",8);return{getSegmentsLength:function f(I){var Y,z=segmentsLengthPool.newElement(),H=I.c,ee=I.v,ae=I.o,V=I.i,N=I._length,O=z.lengths,X=0;for(Y=0;Y<N-1;Y+=1)O[Y]=t(ee[Y],ee[Y+1],ae[Y],V[Y+1]),X+=O[Y].addedLength;return H&&N&&(O[Y]=t(ee[Y],ee[0],ae[Y],V[0]),X+=O[Y].addedLength),z.totalLength=X,z},getNewSegment:function te(I,z,H,ee,ae,V,Y){ae<0?ae=0:ae>1&&(ae=1);var X,N=M(ae,Y),O=M(V=V>1?1:V,Y),J=I.length,pe=1-N,me=1-O,Fe=pe*pe*pe,He=N*pe*pe*3,xe=N*N*pe*3,Ne=N*N*N,ze=pe*pe*me,ke=N*pe*me+pe*N*me+pe*pe*O,De=N*N*me+pe*N*O+N*pe*O,Ce=N*N*O,oe=pe*me*me,he=N*me*me+pe*O*me+pe*me*O,be=N*O*me+pe*O*O+N*me*O,tt=N*O*O,st=me*me*me,jt=O*me*me+me*O*me+me*me*O,Wt=O*O*me+me*O*O+O*me*O,Ut=O*O*O;for(X=0;X<J;X+=1)U[4*X]=s.round(1e3*(Fe*I[X]+He*H[X]+xe*ee[X]+Ne*z[X]))/1e3,U[4*X+1]=s.round(1e3*(ze*I[X]+ke*H[X]+De*ee[X]+Ce*z[X]))/1e3,U[4*X+2]=s.round(1e3*(oe*I[X]+he*H[X]+be*ee[X]+tt*z[X]))/1e3,U[4*X+3]=s.round(1e3*(st*I[X]+jt*H[X]+Wt*ee[X]+Ut*z[X]))/1e3;return U},getPointInSegment:function k(I,z,H,ee,ae,V){var Y=M(ae,V),N=1-Y;return[s.round(1e3*(N*N*N*I[0]+(Y*N*N+N*Y*N+N*N*Y)*H[0]+(Y*Y*N+N*Y*Y+Y*N*Y)*ee[0]+Y*Y*Y*z[0]))/1e3,s.round(1e3*(N*N*N*I[1]+(Y*N*N+N*Y*N+N*N*Y)*H[1]+(Y*Y*N+N*Y*Y+Y*N*Y)*ee[1]+Y*Y*Y*z[1]))/1e3]},buildBezierData:D,pointOnLine2D:a,pointOnLine3D:function l(I,z,H,ee,ae,V,Y,N,O){if(0===H&&0===V&&0===O)return a(I,z,ee,ae,Y,N);var me,X=s.sqrt(s.pow(ee-I,2)+s.pow(ae-z,2)+s.pow(V-H,2)),J=s.sqrt(s.pow(Y-I,2)+s.pow(N-z,2)+s.pow(O-H,2)),pe=s.sqrt(s.pow(Y-ee,2)+s.pow(N-ae,2)+s.pow(O-V,2));return(me=X>J?X>pe?X-J-pe:pe-J-X:pe>J?pe-J-X:J-X-pe)>-1e-4&&me<1e-4}}}var bez=bezFunction(),PropertyFactory=function(){var s=initialDefaultFrame,a=Math.abs;function l(ae,V){var N,Y=this.offsetTime;"multidimensional"===this.propType&&(N=createTypedArray("float32",this.pv.length));for(var me,Fe,He,O=V.lastIndex,X=O,J=this.keyframes.length-1,pe=!0;pe;){if(me=this.keyframes[X],Fe=this.keyframes[X+1],X===J-1&&ae>=Fe.t-Y){me.h&&(me=Fe),O=0;break}if(Fe.t-Y>ae){O=X;break}X<J-1?X+=1:(O=0,pe=!1)}He=this.keyframesMetadata[X]||{};var xe,Ne,ze,ke,De,Ce,be,oe=Fe.t-Y,he=me.t-Y;if(me.to){He.bezierData||(He.bezierData=bez.buildBezierData(me.s,Fe.s||me.e,me.to,me.ti));var tt=He.bezierData;if(ae>=oe||ae<he){var st=ae>=oe?tt.points.length-1:0;for(Ne=tt.points[st].point.length,xe=0;xe<Ne;xe+=1)N[xe]=tt.points[st].point[xe]}else{He.__fnct?Ce=He.__fnct:(Ce=BezierFactory.getBezierEasing(me.o.x,me.o.y,me.i.x,me.i.y,me.n).get,He.__fnct=Ce),ze=Ce((ae-he)/(oe-he));var Wt,jt=tt.segmentLength*ze,Ut=V.lastFrame<ae&&V._lastKeyframeIndex===X?V._lastAddedLe
vendor: 7,302 bytes, line 1
1ngth:0;for(De=V.lastFrame<ae&&V._lastKeyframeIndex===X?V._lastPoint:0,pe=!0,ke=tt.points.length;pe;){if(Ut+=tt.points[De].partialLength,0===jt||0===ze||De===tt.points.length-1){for(Ne=tt.points[De].point.length,xe=0;xe<Ne;xe+=1)N[xe]=tt.points[De].point[xe];break}if(jt>=Ut&&jt<Ut+tt.points[De+1].partialLength){for(Wt=(jt-Ut)/tt.points[De+1].partialLength,Ne=tt.points[De].point.length,xe=0;xe<Ne;xe+=1)N[xe]=tt.points[De].point[xe]+(tt.points[De+1].point[xe]-tt.points[De].point[xe])*Wt;break}De<ke-1?De+=1:pe=!1}V._lastPoint=De,V._lastAddedLength=Ut-tt.points[De].partialLength,V._lastKeyframeIndex=X}}else{var Xt;if(J=me.s.length,be=Fe.s||me.e,this.sh&&1!==me.h)ae>=oe?(N[0]=be[0],N[1]=be[1],N[2]=be[2]):ae<=he?(N[0]=me.s[0],N[1]=me.s[1],N[2]=me.s[2]):function f(ae,V){var Y=V[0],N=V[1],O=V[2],X=V[3],J=Math.atan2(2*N*X-2*Y*O,1-2*N*N-2*O*O),pe=Math.asin(2*Y*N+2*O*X),me=Math.atan2(2*Y*X-2*N*O,1-2*Y*Y-2*O*O);ae[0]=J/degToRads,ae[1]=pe/degToRads,ae[2]=me/degToRads}(N,function t(ae,V,Y){var Ne,ze,ke,De,Ce,N=[],O=ae[0],X=ae[1],J=ae[2],pe=ae[3],me=V[0],Fe=V[1],He=V[2],xe=V[3];return(ze=O*me+X*Fe+J*He+pe*xe)<0&&(ze=-ze,me=-me,Fe=-Fe,He=-He,xe=-xe),1-ze>1e-6?(Ne=Math.acos(ze),ke=Math.sin(Ne),De=Math.sin((1-Y)*Ne)/ke,Ce=Math.sin(Y*Ne)/ke):(De=1-Y,Ce=Y),N[0]=De*O+Ce*me,N[1]=De*X+Ce*Fe,N[2]=De*J+Ce*He,N[3]=De*pe+Ce*xe,N}(_(me.s),_(be),(ae-he)/(oe-he)));else for(X=0;X<J;X+=1)1!==me.h&&(ae>=oe?ze=1:ae<he?ze=0:(me.o.x.constructor===Array?(He.__fnct||(He.__fnct=[]),He.__fnct[X]?Ce=He.__fnct[X]:(Ce=BezierFactory.getBezierEasing(void 0===me.o.x[X]?me.o.x[0]:me.o.x[X],void 0===me.o.y[X]?me.o.y[0]:me.o.y[X],void 0===me.i.x[X]?me.i.x[0]:me.i.x[X],void 0===me.i.y[X]?me.i.y[0]:me.i.y[X]).get,He.__fnct[X]=Ce)):He.__fnct?Ce=He.__fnct:(Ce=BezierFactory.getBezierEasing(me.o.x,me.o.y,me.i.x,me.i.y).get,me.keyframeMetadata=Ce),ze=Ce((ae-he)/(oe-he)))),be=Fe.s||me.e,Xt=1===me.h?me.s[X]:me.s[X]+(be[X]-me.s[X])*ze,"multidimensional"===this.propType?N[X]=Xt:N=Xt}return V.lastIndex=O,N}function _(ae){var V=ae[0]*degToRads,Y=ae[1]*degToRads,N=ae[2]*degToRads,O=Math.cos(V/2),X=Math.cos(Y/2),J=Math.cos(N/2),pe=Math.sin(V/2),me=Math.sin(Y/2),Fe=Math.sin(N/2);return[pe*me*J+O*X*Fe,pe*X*J+O*me*Fe,O*me*J-pe*X*Fe,O*X*J-pe*me*Fe]}function S(){var ae=this.comp.renderedFrame-this.offsetTime,V=this.keyframes[0].t-this.offsetTime,Y=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(ae===this._caching.lastFrame||this._caching.lastFrame!==s&&(this._caching.lastFrame>=Y&&ae>=Y||this._caching.lastFrame<V&&ae<V))){this._caching.lastFrame>=ae&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var N=this.interpolateValue(ae,this._caching);this.pv=N}return this._caching.lastFrame=ae,this.pv}function D(ae){var V;if("unidimensional"===this.propType)a(this.v-(V=ae*this.mult))>1e-5&&(this.v=V,this._mdf=!0);else for(var Y=0,N=this.v.length;Y<N;)a(this.v[Y]-(V=ae[Y]*this.mult))>1e-5&&(this.v[Y]=V,this._mdf=!0),Y+=1}function M(){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length){if(this.lock)return void this.setVValue(this.pv);this.lock=!0,this._mdf=this._isFirstFrame;var ae,V=this.effectsSequence.length,Y=this.kf?this.pv:this.data.k;for(ae=0;ae<V;ae+=1)Y=this.effectsSequence[ae](Y);this.setVValue(Y),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId}}function k(ae){this.effectsSequence.push(ae),this.container.addDynamicProperty(this)}function U(ae,V,Y,N){this.propType="unidimensional",this.mult=Y||1,this.data=V,this.v=Y?V.k*Y:V.k,this.pv=V.k,this._mdf=!1,this.elem=ae,this.container=N,this.comp=ae.comp,this.k=!1,this.kf=!1,this.vel=0,this.effectsSequence=[],this._isFirstFrame=!0,this.getValue=M,this.setVValue=D,this.addEffect=k}function te(ae,V,Y,N){this.propType="multidimensional",this.mult=Y||1,this.data=V,this._mdf=!1,this.elem=ae,this.container=N,this.comp=ae.comp,this.k=!1,this.kf=!1,this.frameId=-1;var O,X=V.k.length;for(this.v=createTypedArray("float32",X),this.pv=createTypedArray("float32",X),this.vel=createTypedArray("float32",X),O=0;O<X;O+=1)this.v[O]=V.k[O]*this.mult,this.pv[O]=V.k[O];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=M,this.setVValue=D,this.addEffect=k}function I(ae,V,Y,N){this.propType="unidimensional",this.keyframes=V.k,this.keyframesMetadata=[],this.offsetTime=ae.data.st,this.frameId=-1,this._caching={lastFrame:s,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=V,this.mult=Y||1,this.elem=ae,this.container=N,this.comp=ae.comp,this.v=s,this.pv=s,this._isFirstFrame=!0,this.getValue=M,this.setVValue=D,this.interpolateValue=l,this.effectsSequence=[S.bind(this)],this.addEffect=k}function z(ae,V,Y,N){this.propType="multidimensional";var O,J,pe,me,Fe,X=V.k.length;for(O=0;O<X-1;O+=1)V.k[O].to&&V.k[O].s&&V.k[O+1]&&V.k[O+1].s&&(pe=V.k[O+1].s,me=V.k[O].to,Fe=V.k[O].ti,(2===(J=V.k[O].s).length&&!(J[0]===pe[0]&&J[1]===pe[1])&&bez.pointOnLine2D(J[0],J[1],pe[0],pe[1],J[0]+me[0],J[1]+me[1])&&bez.pointOnLine2D(J[0],J[1],pe[0],pe[1],pe[0]+Fe[0],pe[1]+Fe[1])||3===J.length&&!(J[0]===pe[0]&&J[1]===pe[1]&&J[2]===pe[2])&&bez.pointOnLine3D(J[0],J[1],J[2],pe[0],pe[1],pe[2],J[0]+me[0],J[1]+me[1],J[2]+me[2])&&bez.pointOnLine3D(J[0],J[1],J[2],pe[0],pe[1],pe[2],pe[0]+Fe[0],pe[1]+Fe[1],pe[2]+Fe[2]))&&(V.k[O].to=null,V.k[O].ti=null),J[0]===pe[0]&&J[1]===pe[1]&&0===me[0]&&0===me[1]&&0===Fe[0]&&0===Fe[1]&&(2===J.length||J[2]===pe[2]&&0===me[2]&&0===Fe[2])&&(V.k[O].to=null,V.k[O].ti=null));this.effectsSequence=[S.bind(this)],this.data=V,this.keyframes=V.k,this.keyframesMetadata=[],this.offsetTime=ae.data.st,this.k=!0,this.kf=!0,this._isFirstFrame=!0,this.mult=Y||1,this.elem=ae,this.container=N,this.comp=ae.comp,this.getValue=M,this.setVValue=D,this.interpolateValue=l,this.frameId=-1;var He=V.k[0].s.length;for(this.v=createTypedArray("float32",He),this.pv=createTypedArray("float32",He),O=0;O<He;O+=1)this.v[O]=s,this.pv[O]=s;this._caching={lastFrame:s,lastIndex:0,value:createTypedArray("float32",He)},this.addEffect=k}return{getProp:function H(ae,V,Y,N,O){var X;if(V.k.length)if("number"==typeof V.k[0])X=new te(ae,V,N,O);else switch(Y){case 0:X=new I(ae,V,N,O);break;case 1:X=new z(ae,V,N,O)}else X=new U(ae,V,N,O);return X.effectsSequence.length&&O.addDynamicProperty(X),X}}}();function DynamicPropertyContainer(){}DynamicPropertyContainer.prototype={addDynamicProperty:function(a){-1===this.dynamicProperties.indexOf(a)&&(this.dynamicProperties.push(a),this.container.addDynamicProperty(this),this._isAnimated=!0)},iterateDynamicProperties:function(){this._mdf=!1;var a,l=this.dynamicProperties.length;for(a=0;a<l;a+=1)this.dynamicProperties[a].getValue(),this.dynamicProperties[a]._mdf&&(this._mdf=!0)},initDynamicPropertyContainer:function(a){this.container=a,this.dynamicProperties=[],this._mdf=!1,this._isAnimated=!1}};var pointPool=poolFactory(8,function s(){return createTypedArray("float32",2)});function ShapePath(){this.c=!1,this._length=0,this._maxLength=8,this.v=createSizedArray(this._maxLength),this.o=createSizedArray(this._maxLength),this.i=createSizedArray(this._maxLength)}ShapePath.prototype.setPathData=function(s,a){this.c=s,this.setLength(a);for(var l=0;l<a;)this.v[l]=pointPool.newElement(),this.o[l]=pointPool.newElement(),this.i[l]=pointPool.newElement(),l+=1},ShapePath.prototype.setLength=function(s){for(;this._maxLength<s;
vendor: 4,264 bytes, line 1
1)this.doubleArrayLength();this._length=s},ShapePath.prototype.doubleArrayLength=function(){this.v=this.v.concat(createSizedArray(this._maxLength)),this.i=this.i.concat(createSizedArray(this._maxLength)),this.o=this.o.concat(createSizedArray(this._maxLength)),this._maxLength*=2},ShapePath.prototype.setXYAt=function(s,a,l,t,f){var _;switch(this._length=Math.max(this._length,t+1),this._length>=this._maxLength&&this.doubleArrayLength(),l){case"v":_=this.v;break;case"i":_=this.i;break;case"o":_=this.o;break;default:_=[]}(!_[t]||_[t]&&!f)&&(_[t]=pointPool.newElement()),_[t][0]=s,_[t][1]=a},ShapePath.prototype.setTripleAt=function(s,a,l,t,f,_,S,D){this.setXYAt(s,a,"v",S,D),this.setXYAt(l,t,"o",S,D),this.setXYAt(f,_,"i",S,D)},ShapePath.prototype.reverse=function(){var s=new ShapePath;s.setPathData(this.c,this._length);var a=this.v,l=this.o,t=this.i,f=0;this.c&&(s.setTripleAt(a[0][0],a[0][1],t[0][0],t[0][1],l[0][0],l[0][1],0,!1),f=1);var D,_=this._length-1,S=this._length;for(D=f;D<S;D+=1)s.setTripleAt(a[_][0],a[_][1],t[_][0],t[_][1],l[_][0],l[_][1],D,!1),_-=1;return s},ShapePath.prototype.length=function(){return this._length};var shapePool=(t=poolFactory(4,function s(){return new ShapePath},function a(f){var S,_=f._length;for(S=0;S<_;S+=1)pointPool.release(f.v[S]),pointPool.release(f.i[S]),pointPool.release(f.o[S]),f.v[S]=null,f.i[S]=null,f.o[S]=null;f._length=0,f.c=!1}),t.clone=function l(f){var S,_=t.newElement(),D=void 0===f._length?f.v.length:f._length;for(_.setLength(D),_.c=f.c,S=0;S<D;S+=1)_.setTripleAt(f.v[S][0],f.v[S][1],f.o[S][0],f.o[S][1],f.i[S][0],f.i[S][1],S);return _},t),t;function ShapeCollection(){this._length=0,this._maxLength=4,this.shapes=createSizedArray(this._maxLength)}ShapeCollection.prototype.addShape=function(s){this._length===this._maxLength&&(this.shapes=this.shapes.concat(createSizedArray(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=s,this._length+=1},ShapeCollection.prototype.releaseShapes=function(){var s;for(s=0;s<this._length;s+=1)shapePool.release(this.shapes[s]);this._length=0};var shapeCollectionPool=function(){var s={newShapeCollection:function f(){return a?t[a-=1]:new ShapeCollection},release:function _(S){var D,M=S._length;for(D=0;D<M;D+=1)shapePool.release(S.shapes[D]);S._length=0,a===l&&(t=pooling.double(t),l*=2),t[a]=S,a+=1}},a=0,l=4,t=createSizedArray(l);return s}(),ShapePropertyFactory=function(){var s=-999999;function a(V,Y,N){var X,J,pe,me,Fe,He,xe,Ne,O=N.lastIndex,ke=this.keyframes;if(V<ke[0].t-this.offsetTime)X=ke[0].s[0],pe=!0,O=0;else if(V>=ke[ke.length-1].t-this.offsetTime)X=ke[ke.length-1].s?ke[ke.length-1].s[0]:ke[ke.length-2].e[0],pe=!0;else{for(var he,be,tt,De=O,Ce=ke.length-1,oe=!0;oe&&(he=ke[De],!((be=ke[De+1]).t-this.offsetTime>V));)De<Ce-1?De+=1:oe=!1;if(tt=this.keyframesMetadata[De]||{},O=De,!(pe=1===he.h)){if(V>=be.t-this.offsetTime)Ne=1;else if(V<he.t-this.offsetTime)Ne=0;else{var st;tt.__fnct?st=tt.__fnct:(st=BezierFactory.getBezierEasing(he.o.x,he.o.y,he.i.x,he.i.y).get,tt.__fnct=st),Ne=st((V-(he.t-this.offsetTime))/(be.t-this.offsetTime-(he.t-this.offsetTime)))}J=be.s?be.s[0]:he.e[0]}X=he.s[0]}for(He=Y._length,xe=X.i[0].length,N.lastIndex=O,me=0;me<He;me+=1)for(Fe=0;Fe<xe;Fe+=1)Y.i[me][Fe]=pe?X.i[me][Fe]:X.i[me][Fe]+(J.i[me][Fe]-X.i[me][Fe])*Ne,Y.o[me][Fe]=pe?X.o[me][Fe]:X.o[me][Fe]+(J.o[me][Fe]-X.o[me][Fe])*Ne,Y.v[me][Fe]=pe?X.v[me][Fe]:X.v[me][Fe]+(J.v[me][Fe]-X.v[me][Fe])*Ne}function l(){var V=this.comp.renderedFrame-this.offsetTime,Y=this.keyframes[0].t-this.offsetTime,N=this.keyframes[this.keyframes.length-1].t-this.offsetTime,O=this._caching.lastFrame;return O!==s&&(O<Y&&V<Y||O>N&&V>N)||(this._caching.lastIndex=O<V?this._caching.lastIndex:0,this.interpolateShape(V,this.pv,this._caching)),this._caching.lastFrame=V,this.pv}function t(){this.paths=this.localShapeCollection}function _(V){(function f(V,Y){if(V._length!==Y._length||V.c!==Y.c)return!1;var N,O=V._length;for(N=0;N<O;N+=1)if(V.v[N][0]!==Y.v[N][0]||V.v[N][1]!==Y.v[N][1]||V.o[N][0]!==Y.o[N][0]||V.o[N][1]!==Y.o[N][1]||V.i[N][0]!==Y.i[N][0]||V.i[N][1]!==Y.i[N][1])return!1;return!0})(this.v,V)||(this.v=shapePool.clone(V),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}
vendor: 10,581 bytes, line 1
1function S(){if(this.elem.globalData.frameId!==this.frameId){if(!this.effectsSequence.length)return void(this._mdf=!1);if(this.lock)return void this.setVValue(this.pv);var V;this.lock=!0,this._mdf=!1,V=this.kf?this.pv:this.data.ks?this.data.ks.k:this.data.pt.k;var Y,N=this.effectsSequence.length;for(Y=0;Y<N;Y+=1)V=this.effectsSequence[Y](V);this.setVValue(V),this.lock=!1,this.frameId=this.elem.globalData.frameId}}function D(V,Y,N){this.propType="shape",this.comp=V.comp,this.container=V,this.elem=V,this.data=Y,this.k=!1,this.kf=!1,this._mdf=!1,this.v=shapePool.clone(3===N?Y.pt.k:Y.ks.k),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=t,this.effectsSequence=[]}function M(V){this.effectsSequence.push(V),this.container.addDynamicProperty(this)}function k(V,Y,N){this.propType="shape",this.comp=V.comp,this.elem=V,this.container=V,this.offsetTime=V.data.st,this.keyframes=3===N?Y.pt.k:Y.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var O=this.keyframes[0].s[0].i.length;this.v=shapePool.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,O),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=s,this.reset=t,this._caching={lastFrame:s,lastIndex:0},this.effectsSequence=[l.bind(this)]}D.prototype.interpolateShape=a,D.prototype.getValue=S,D.prototype.setVValue=_,D.prototype.addEffect=M,k.prototype.getValue=S,k.prototype.interpolateShape=a,k.prototype.setVValue=_,k.prototype.addEffect=M;var U=function(){var V=roundCorner;function Y(N,O){this.v=shapePool.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=O.d,this.elem=N,this.comp=N.comp,this.frameId=-1,this.initDynamicPropertyContainer(N),this.p=PropertyFactory.getProp(N,O.p,1,0,this),this.s=PropertyFactory.getProp(N,O.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return Y.prototype={reset:t,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertEllToPath())},convertEllToPath:function(){var O=this.p.v[0],X=this.p.v[1],J=this.s.v[0]/2,pe=this.s.v[1]/2,me=3!==this.d,Fe=this.v;Fe.v[0][0]=O,Fe.v[0][1]=X-pe,Fe.v[1][0]=me?O+J:O-J,Fe.v[1][1]=X,Fe.v[2][0]=O,Fe.v[2][1]=X+pe,Fe.v[3][0]=me?O-J:O+J,Fe.v[3][1]=X,Fe.i[0][0]=me?O-J*V:O+J*V,Fe.i[0][1]=X-pe,Fe.i[1][0]=me?O+J:O-J,Fe.i[1][1]=X-pe*V,Fe.i[2][0]=me?O+J*V:O-J*V,Fe.i[2][1]=X+pe,Fe.i[3][0]=me?O-J:O+J,Fe.i[3][1]=X+pe*V,Fe.o[0][0]=me?O+J*V:O-J*V,Fe.o[0][1]=X-pe,Fe.o[1][0]=me?O+J:O-J,Fe.o[1][1]=X+pe*V,Fe.o[2][0]=me?O-J*V:O+J*V,Fe.o[2][1]=X+pe,Fe.o[3][0]=me?O-J:O+J,Fe.o[3][1]=X-pe*V}},extendPrototype([DynamicPropertyContainer],Y),Y}(),te=function(){function V(Y,N){this.v=shapePool.newElement(),this.v.setPathData(!0,0),this.elem=Y,this.comp=Y.comp,this.data=N,this.frameId=-1,this.d=N.d,this.initDynamicPropertyContainer(Y),1===N.sy?(this.ir=PropertyFactory.getProp(Y,N.ir,0,0,this),this.is=PropertyFactory.getProp(Y,N.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=PropertyFactory.getProp(Y,N.pt,0,0,this),this.p=PropertyFactory.getProp(Y,N.p,1,0,this),this.r=PropertyFactory.getProp(Y,N.r,0,degToRads,this),this.or=PropertyFactory.getProp(Y,N.or,0,0,this),this.os=PropertyFactory.getProp(Y,N.os,0,.01,this),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertToPath())}return V.prototype={reset:t,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertToPath())},convertStarToPath:function(){var Ne,ze,ke,De,N=2*Math.floor(this.pt.v),O=2*Math.PI/N,X=!0,J=this.or.v,pe=this.ir.v,me=this.os.v,Fe=this.is.v,He=2*Math.PI*J/(2*N),xe=2*Math.PI*pe/(2*N),Ce=-Math.PI/2;Ce+=this.r.v;var oe=3===this.data.d?-1:1;for(this.v._length=0,Ne=0;Ne<N;Ne+=1){ke=X?me:Fe,De=X?He:xe;var he=(ze=X?J:pe)*Math.cos(Ce),be=ze*Math.sin(Ce),tt=0===he&&0===be?0:be/Math.sqrt(he*he+be*be),st=0===he&&0===be?0:-he/Math.sqrt(he*he+be*be);this.v.setTripleAt(he+=+this.p.v[0],be+=+this.p.v[1],he-tt*De*ke*oe,be-st*De*ke*oe,he+tt*De*ke*oe,be+st*De*ke*oe,Ne,!0),X=!X,Ce+=O*oe}},convertPolygonToPath:function(){var me,N=Math.floor(this.pt.v),O=2*Math.PI/N,X=this.or.v,J=this.os.v,pe=2*Math.PI*X/(4*N),Fe=.5*-Math.PI,He=3===this.data.d?-1:1;for(Fe+=this.r.v,this.v._length=0,me=0;me<N;me+=1){var xe=X*Math.cos(Fe),Ne=X*Math.sin(Fe),ze=0===xe&&0===Ne?0:Ne/Math.sqrt(xe*xe+Ne*Ne),ke=0===xe&&0===Ne?0:-xe/Math.sqrt(xe*xe+Ne*Ne);this.v.setTripleAt(xe+=+this.p.v[0],Ne+=+this.p.v[1],xe-ze*pe*J*He,Ne-ke*pe*J*He,xe+ze*pe*J*He,Ne+ke*pe*J*He,me,!0),Fe+=O*He}this.paths.length=0,this.paths[0]=this.v}},extendPrototype([DynamicPropertyContainer],V),V}(),I=function(){function V(Y,N){this.v=shapePool.newElement(),this.v.c=!0,this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=Y,this.comp=Y.comp,this.frameId=-1,this.d=N.d,this.initDynamicPropertyContainer(Y),this.p=PropertyFactory.getProp(Y,N.p,1,0,this),this.s=PropertyFactory.getProp(Y,N.s,1,0,this),this.r=PropertyFactory.getProp(Y,N.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return V.prototype={convertRectToPath:function(){var N=this.p.v[0],O=this.p.v[1],X=this.s.v[0]/2,J=this.s.v[1]/2,pe=bmMin(X,J,this.r.v),me=pe*(1-roundCorner);this.v._length=0,2===this.d||1===this.d?(this.v.setTripleAt(N+X,O-J+pe,N+X,O-J+pe,N+X,O-J+me,0,!0),this.v.setTripleAt(N+X,O+J-pe,N+X,O+J-me,N+X,O+J-pe,1,!0),0!==pe?(this.v.setTripleAt(N+X-pe,O+J,N+X-pe,O+J,N+X-me,O+J,2,!0),this.v.setTripleAt(N-X+pe,O+J,N-X+me,O+J,N-X+pe,O+J,3,!0),this.v.setTripleAt(N-X,O+J-pe,N-X,O+J-pe,N-X,O+J-me,4,!0),this.v.setTripleAt(N-X,O-J+pe,N-X,O-J+me,N-X,O-J+pe,5,!0),this.v.setTripleAt(N-X+pe,O-J,N-X+pe,O-J,N-X+me,O-J,6,!0),this.v.setTripleAt(N+X-pe,O-J,N+X-me,O-J,N+X-pe,O-J,7,!0)):(this.v.setTripleAt(N-X,O+J,N-X+me,O+J,N-X,O+J,2),this.v.setTripleAt(N-X,O-J,N-X,O-J+me,N-X,O-J,3))):(this.v.setTripleAt(N+X,O-J+pe,N+X,O-J+me,N+X,O-J+pe,0,!0),0!==pe?(this.v.setTripleAt(N+X-pe,O-J,N+X-pe,O-J,N+X-me,O-J,1,!0),this.v.setTripleAt(N-X+pe,O-J,N-X+me,O-J,N-X+pe,O-J,2,!0),this.v.setTripleAt(N-X,O-J+pe,N-X,O-J+pe,N-X,O-J+me,3,!0),this.v.setTripleAt(N-X,O+J-pe,N-X,O+J-me,N-X,O+J-pe,4,!0),this.v.setTripleAt(N-X+pe,O+J,N-X+pe,O+J,N-X+me,O+J,5,!0),this.v.setTripleAt(N+X-pe,O+J,N+X-me,O+J,N+X-pe,O+J,6,!0),this.v.setTripleAt(N+X,O+J-pe,N+X,O+J-pe,N+X,O+J-me,7,!0)):(this.v.setTripleAt(N-X,O-J,N-X+me,O-J,N-X,O-J,1,!0),this.v.setTripleAt(N-X,O+J,N-X,O+J-me,N-X,O+J,2,!0),this.v.setTripleAt(N+X,O+J,N+X-me,O+J,N+X,O+J,3,!0)))},getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertRectToPath())},reset:t},extendPrototype([DynamicPropertyContainer],V),V}();return{getShapeProp:function z(V,Y,N){var O;return 3===N||4===N?O=(3===N?Y.pt:Y.ks).k.length?new k(V,Y,N):new D(V,Y,N):5===N?O=new I(V,Y):6===N?O=new U(V,Y):7===N&&(O=new te(V,Y)),O.k&&V.addDynamicProperty(O),O},getConstructorFunction:function H(){return D},getKeyframedConstructorFunction:function ee(){return k}}}(),Matrix=function(){var s=Math.cos,a=Math.sin,l=Math.tan,t=Math.round;function f(){return this.props[0]=1,this.props[1]=0,this.props[2]=0,this.props[3]=0,this.props[4]=0,this.props[5]=1,this.props[6]=0,this.props[7]=0,this.props[8]=0,this.props[9]=0,this.props[10]=1,this.props[11]=0,this.props[12]=0,this.props[13]=0,this.props[14]=0,this.props[15]=1,this}function _(oe){if(0===oe)return this;var he=s(oe),be=a(oe);return this._t(he,-be,0,0,be,he,0,0,0,0,1,0,0,0,0,1)}function S(oe){if(0===oe)return this;var he=s(oe),be=a(oe);return this._t(1,0,0,0,0,he,-be,0,0,be,he,0,0,0,0,1)}function D(oe){if(0===oe)return this;var he=s(oe),be=a(oe);return this._t(he,0,be,0,0,1,0,0,-be,0,he,0,0,0,0,1)}function M(oe){if(0===oe)return this;var he=s(oe),be=a(oe);return this._t(he,-be,0,0,be,he,0,0,0,0,1,0,0,0,0,1)}function k(oe,he){return this._t(1,he,oe,1,0,0)}function U(oe,he){return this.shear(l(oe),l(he))}function te(oe,he){var be=s(he),tt=a(he);return this._t(be,tt,0,0,-tt,be,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,l(oe),1,0,0,0,0,1,0,0,0,0,1)._t(be,-tt,0,0,tt,be,0,0,0,0,1,0,0,0,0,1)}function I(oe,he,be){return!be&&0!==be&&(be=1),1===oe&&1===he&&1===be?this:this._t(oe,0,0,0,0,he,0,0,0,0,be,0,0,0,0,1)}function z(oe,he,be,tt,st,jt,Wt,Ut,Et,dn,rn,gn,Xt,Er,_n,Nn){return this.props[0]=oe,this.props[1]=he,this.props[2]=be,this.props[3]=tt,this.props[4]=st,this.props[5]=jt,this.props[6]=Wt,this.props[7]=Ut,this.props[8]=Et,this.props[9]=dn,this.props[10]=rn,this.props[11]=gn,this.props[12]=Xt,this.props[13]=Er,this.props[14]=_n,this.props[15]=Nn,this}function H(oe,he,be){return be=be||0,0!==oe||0!==he||0!==be?this._t(1,0,0,0,0,1,0,0,0,0,1,0,oe,he,be,1):this}function ee(oe,he,be,tt,st,jt,Wt,Ut,Et,dn,rn,gn,Xt,Er,_n,Nn){var Bt=this.props;if(1===oe&&0===he&&0===be&&0===tt&&0===st&&1===jt&&0===Wt&&0===Ut&&0===Et&&0===dn&&1===rn&&0===gn)return Bt[12]=Bt[12]*oe+Bt[15]*Xt,Bt[13]=Bt[13]*jt+Bt[15]*Er,Bt[14]=Bt[14]*rn+Bt[15]*_n,Bt[15]*=Nn,this._identityCalculated=!1,this;var Hn=Bt[0],un=Bt[1],dr=Bt[2],nr=Bt[3],$n=Bt[4],Wn=Bt[5],Sn=Bt[6],tr=Bt[7],fn=Bt[8],cn=Bt[9],Fn=Bt[10],Ln=Bt[11],hr=Bt[12],Dr=Bt[13],mn=Bt[14],bn=Bt[15];return Bt[0]=Hn*oe+un*st+dr*Et+nr*Xt,Bt[1]=Hn*he+un*jt+dr*dn+nr*Er,Bt[2]=Hn*be+un*Wt+dr*rn+nr*_n,Bt[3]=Hn*tt+un*Ut+dr*gn+nr*Nn,Bt[4]=$n*oe+Wn*st+Sn*Et+tr*Xt,Bt[5]=$n*he+Wn*jt+Sn*dn+tr*Er,Bt[6]=$n*be+Wn*Wt+Sn*rn+tr*_n,Bt[7]=$n*tt+Wn*Ut+Sn*gn+tr*Nn,Bt[8]=fn*oe+cn*st+Fn*Et+Ln*Xt,Bt[9]=fn*he+cn*jt+Fn*dn+Ln*Er,Bt[10]=fn*be+cn*Wt+Fn*rn+Ln*_n,Bt[11]=fn*tt+cn*Ut+Fn*gn+Ln*Nn,Bt[12]=hr*oe+Dr*st+mn*Et+bn*Xt,Bt[13]=hr*he+Dr*jt+mn*dn+bn*Er,Bt[14]=hr*be+Dr*Wt+mn*rn+bn*_n,Bt[15]=hr*tt+Dr*Ut+mn*gn+bn*Nn,this._identityCalculated=!1,this}function ae(){return this._identityCalculated||(this._identity=!(1!==this.props[0]||0!==this.props[1]||0!==this.props[2]||0!==this.props[3]||0!==this.props[4]||1!==this.props[5]||0!==this.props[6]||0!==this.props[7]||0!==this.props[8]||
vendor: 7,717 bytes, line 1
10!==this.props[9]||1!==this.props[10]||0!==this.props[11]||0!==this.props[12]||0!==this.props[13]||0!==this.props[14]||1!==this.props[15]),this._identityCalculated=!0),this._identity}function V(oe){for(var he=0;he<16;){if(oe.props[he]!==this.props[he])return!1;he+=1}return!0}function Y(oe){var he;for(he=0;he<16;he+=1)oe.props[he]=this.props[he];return oe}function N(oe){var he;for(he=0;he<16;he+=1)this.props[he]=oe[he]}function O(oe,he,be){return{x:oe*this.props[0]+he*this.props[4]+be*this.props[8]+this.props[12],y:oe*this.props[1]+he*this.props[5]+be*this.props[9]+this.props[13],z:oe*this.props[2]+he*this.props[6]+be*this.props[10]+this.props[14]}}function X(oe,he,be){return oe*this.props[0]+he*this.props[4]+be*this.props[8]+this.props[12]}function J(oe,he,be){return oe*this.props[1]+he*this.props[5]+be*this.props[9]+this.props[13]}function pe(oe,he,be){return oe*this.props[2]+he*this.props[6]+be*this.props[10]+this.props[14]}function me(){var oe=this.props[0]*this.props[5]-this.props[1]*this.props[4],he=this.props[5]/oe,be=-this.props[1]/oe,tt=-this.props[4]/oe,st=this.props[0]/oe,jt=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/oe,Wt=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/oe,Ut=new Matrix;return Ut.props[0]=he,Ut.props[1]=be,Ut.props[4]=tt,Ut.props[5]=st,Ut.props[12]=jt,Ut.props[13]=Wt,Ut}function Fe(oe){return this.getInverseMatrix().applyToPointArray(oe[0],oe[1],oe[2]||0)}function He(oe){var he,be=oe.length,tt=[];for(he=0;he<be;he+=1)tt[he]=Fe(oe[he]);return tt}function xe(oe,he,be){var tt=createTypedArray("float32",6);if(this.isIdentity())tt[0]=oe[0],tt[1]=oe[1],tt[2]=he[0],tt[3]=he[1],tt[4]=be[0],tt[5]=be[1];else{var st=this.props[0],jt=this.props[1],Wt=this.props[4],Ut=this.props[5],Et=this.props[12],dn=this.props[13];tt[0]=oe[0]*st+oe[1]*Wt+Et,tt[1]=oe[0]*jt+oe[1]*Ut+dn,tt[2]=he[0]*st+he[1]*Wt+Et,tt[3]=he[0]*jt+he[1]*Ut+dn,tt[4]=be[0]*st+be[1]*Wt+Et,tt[5]=be[0]*jt+be[1]*Ut+dn}return tt}function Ne(oe,he,be){return this.isIdentity()?[oe,he,be]:[oe*this.props[0]+he*this.props[4]+be*this.props[8]+this.props[12],oe*this.props[1]+he*this.props[5]+be*this.props[9]+this.props[13],oe*this.props[2]+he*this.props[6]+be*this.props[10]+this.props[14]]}function ze(oe,he){if(this.isIdentity())return oe+","+he;var be=this.props;return Math.round(100*(oe*be[0]+he*be[4]+be[12]))/100+","+Math.round(100*(oe*be[1]+he*be[5]+be[13]))/100}function ke(){for(var oe=0,he=this.props,be="matrix3d(";oe<16;)be+=t(1e4*he[oe])/1e4,be+=15===oe?")":",",oe+=1;return be}function De(oe){return oe<1e-6&&oe>0||oe>-1e-6&&oe<0?t(1e4*oe)/1e4:oe}function Ce(){var oe=this.props;return"matrix("+De(oe[0])+","+De(oe[1])+","+De(oe[4])+","+De(oe[5])+","+De(oe[12])+","+De(oe[13])+")"}return function(){this.reset=f,this.rotate=_,this.rotateX=S,this.rotateY=D,this.rotateZ=M,this.skew=U,this.skewFromAxis=te,this.shear=k,this.scale=I,this.setTransform=z,this.translate=H,this.transform=ee,this.applyToPoint=O,this.applyToX=X,this.applyToY=J,this.applyToZ=pe,this.applyToPointArray=Ne,this.applyToTriplePoints=xe,this.applyToPointStringified=ze,this.toCSS=ke,this.to2dCSS=Ce,this.clone=Y,this.cloneFromProps=N,this.equals=V,this.inversePoints=He,this.inversePoint=Fe,this.getInverseMatrix=me,this._t=this.transform,this.isIdentity=ae,this._identity=!0,this._identityCalculated=!1,this.props=createTypedArray("float32",16),this.reset()}}();function _typeof$3(s){return(_typeof$3="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(l){return typeof l}:function(l){return l&&"function"==typeof Symbol&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":typeof l})(s)}var lottie={},standalone="__[STANDALONE]__",animationData="__[ANIMATIONDATA]__",renderer="";function setLocation(s){setLocationHref(s)}function searchAnimations(){!0===standalone?animationManager.searchAnimations(animationData,standalone,renderer):animationManager.searchAnimations()}function setSubframeRendering(s){setSubframeEnabled(s)}function setPrefix(s){setIdPrefix(s)}function loadAnimation(s){return!0===standalone&&(s.animationData=JSON.parse(animationData)),animationManager.loadAnimation(s)}function setQuality(s){if("string"==typeof s)switch(s){case"high":setDefaultCurveSegments(200);break;default:case"medium":setDefaultCurveSegments(50);break;case"low":setDefaultCurveSegments(10)}else!isNaN(s)&&s>1&&setDefaultCurveSegments(s);getDefaultCurveSegments()>=50?roundValues(!1):roundValues(!0)}function inBrowser(){return typeof navigator<"u"}function installPlugin(s,a){"expressions"===s&&setExpressionsPlugin(a)}function getFactory(s){switch(s){case"propertyFactory":return PropertyFactory;case"shapePropertyFactory":return ShapePropertyFactory;case"matrix":return Matrix;default:return null}}function checkReady(){"complete"===document.readyState&&(clearInterval(readyStateCheckInterval),searchAnimations())}function getQueryVariable(s){for(var a=queryString.split("&"),l=0;l<a.length;l+=1){var t=a[l].split("=");if(decodeURIComponent(t[0])==s)return decodeURIComponent(t[1])}return null}lottie.play=animationManager.play,lottie.pause=animationManager.pause,lottie.setLocationHref=setLocation,lottie.togglePause=animationManager.togglePause,lottie.setSpeed=animationManager.setSpeed,lottie.setDirection=animationManager.setDirection,lottie.stop=animationManager.stop,lottie.searchAnimations=searchAnimations,lottie.registerAnimation=animationManager.registerAnimation,lottie.loadAnimation=loadAnimation,lottie.setSubframeRendering=setSubframeRendering,lottie.resize=animationManager.resize,lottie.goToAndStop=animationManager.goToAndStop,lottie.destroy=animationManager.destroy,lottie.setQuality=setQuality,lottie.inBrowser=inBrowser,lottie.installPlugin=installPlugin,lottie.freeze=animationManager.freeze,lottie.unfreeze=animationManager.unfreeze,lottie.setVolume=animationManager.setVolume,lottie.mute=animationManager.mute,lottie.unmute=animationManager.unmute,lottie.getRegisteredAnimations=animationManager.getRegisteredAnimations,lottie.useWebWorker=setWebWorker,lottie.setIDPrefix=setPrefix,lottie.__getFactory=getFactory,lottie.version="5.10.2";var queryString="";if(standalone){var scripts=document.getElementsByTagName("script"),index=scripts.length-1,myScript=scripts[index]||{src:""};queryString=myScript.src?myScript.src.replace(/^[^\?]+\??/,""):"",renderer=getQueryVariable("renderer")}var readyStateCheckInterval=setInterval(checkReady,100);try{_typeof$3(exports)}catch(s){}var ShapeModifiers=function(){var s={},a={};return s.registerModifier=function l(f,_){a[f]||(a[f]=_)},s.getModifier=function t(f,_,S){return new a[f](_,S)},s}();function ShapeModifier(){}function TrimModifier(){}function PuckerAndBloatModifier(){}ShapeModifier.prototype.initModifierProperties=function(){},ShapeModifier.prototype.addShapeToModifier=function(){},ShapeModifier.prototype.addShape=function(s){if(!this.closed){s.sh.container.addDynamicProperty(s.sh);var a={shape:s.sh,data:s,localShapeCollection:shapeCollectionPool.newShapeCollection()};this.shapes.push(a),this.addShapeToModifier(a),this._isAnimated&&s.setAsAnimated()}},ShapeModifier.prototype.init=function(s,a){this.shapes=[],this.elem=s,this.initDynamicPropertyContainer(s),this.initModifierProperties(s,a),this.frameId=initialDefaultFrame,this.closed=!1,this.k=!1,this.dynamicProperties.length?this.k=!0:this.getValue(!0)},ShapeModifier.prototype.processKeys=function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties())},extendPrototype([DynamicPropertyContainer],ShapeModifier),extendPrototype([ShapeModifier],TrimModifier),TrimModifier.prototype.initModifierProperties=function(s,a){this.s=PropertyFactory.getProp(s,a.s,0,.01,this),this.e=Pro
vendor: 7,434 bytes, line 1
1pertyFactory.getProp(s,a.e,0,.01,this),this.o=PropertyFactory.getProp(s,a.o,0,0,this),this.sValue=0,this.eValue=0,this.getValue=this.processKeys,this.m=a.m,this._isAnimated=!!this.s.effectsSequence.length||!!this.e.effectsSequence.length||!!this.o.effectsSequence.length},TrimModifier.prototype.addShapeToModifier=function(s){s.pathsData=[]},TrimModifier.prototype.calculateShapeEdges=function(s,a,l,t,f){var _=[];a<=1?_.push({s,e:a}):s>=1?_.push({s:s-1,e:a-1}):(_.push({s,e:1}),_.push({s:0,e:a-1}));var D,k,S=[],M=_.length;for(D=0;D<M;D+=1)(k=_[D]).e*f<t||k.s*f>t+l||S.push([k.s*f<=t?0:(k.s*f-t)/l,k.e*f>=t+l?1:(k.e*f-t)/l]);return S.length||S.push([0,0]),S},TrimModifier.prototype.releasePathsData=function(s){var a,l=s.length;for(a=0;a<l;a+=1)segmentsLengthPool.release(s[a]);return s.length=0,s},TrimModifier.prototype.processShapes=function(s){var a,l;if(this._mdf||s){var t=this.o.v%360/360;if(t<0&&(t+=1),(a=this.s.v>1?1+t:this.s.v<0?0+t:this.s.v+t)>(l=this.e.v>1?1+t:this.e.v<0?0+t:this.e.v+t)){var f=a;a=l,l=f}a=1e-4*Math.round(1e4*a),l=1e-4*Math.round(1e4*l),this.sValue=a,this.eValue=l}else a=this.sValue,l=this.eValue;var _,S,M,k,U,te,I,D=this.shapes.length,z=0;if(l===a)for(S=0;S<D;S+=1)this.shapes[S].localShapeCollection.releaseShapes(),this.shapes[S].shape._mdf=!0,this.shapes[S].shape.paths=this.shapes[S].localShapeCollection,this._mdf&&(this.shapes[S].pathsData.length=0);else if(1===l&&0===a||0===l&&1===a){if(this._mdf)for(S=0;S<D;S+=1)this.shapes[S].pathsData.length=0,this.shapes[S].shape._mdf=!0}else{var ee,ae,H=[];for(S=0;S<D;S+=1)if((ee=this.shapes[S]).shape._mdf||this._mdf||s||2===this.m){if(k=(_=ee.shape.paths)._length,I=0,!ee.shape._mdf&&ee.pathsData.length)I=ee.totalShapeLength;else{for(U=this.releasePathsData(ee.pathsData),M=0;M<k;M+=1)te=bez.getSegmentsLength(_.shapes[M]),U.push(te),I+=te.totalLength;ee.totalShapeLength=I,ee.pathsData=U}z+=I,ee.shape._mdf=!0}else ee.shape.paths=ee.localShapeCollection;var O,V=a,Y=l,N=0;for(S=D-1;S>=0;S-=1)if((ee=this.shapes[S]).shape._mdf){for((ae=ee.localShapeCollection).releaseShapes(),2===this.m&&D>1?(O=this.calculateShapeEdges(a,l,ee.totalShapeLength,N,z),N+=ee.totalShapeLength):O=[[V,Y]],k=O.length,M=0;M<k;M+=1){V=O[M][0],Y=O[M][1],H.length=0,Y<=1?H.push({s:ee.totalShapeLength*V,e:ee.totalShapeLength*Y}):V>=1?H.push({s:ee.totalShapeLength*(V-1),e:ee.totalShapeLength*(Y-1)}):(H.push({s:ee.totalShapeLength*V,e:ee.totalShapeLength}),H.push({s:0,e:ee.totalShapeLength*(Y-1)}));var X=this.addShapes(ee,H[0]);if(H[0].s!==H[0].e){if(H.length>1)if(ee.shape.paths.shapes[ee.shape.paths._length-1].c){var pe=X.pop();this.addPaths(X,ae),X=this.addShapes(ee,H[1],pe)}else this.addPaths(X,ae),X=this.addShapes(ee,H[1]);this.addPaths(X,ae)}}ee.shape.paths=ae}}},TrimModifier.prototype.addPaths=function(s,a){var l,t=s.length;for(l=0;l<t;l+=1)a.addShape(s[l])},TrimModifier.prototype.addSegment=function(s,a,l,t,f,_,S){f.setXYAt(a[0],a[1],"o",_),f.setXYAt(l[0],l[1],"i",_+1),S&&f.setXYAt(s[0],s[1],"v",_),f.setXYAt(t[0],t[1],"v",_+1)},TrimModifier.prototype.addSegmentFromArray=function(s,a,l,t){a.setXYAt(s[1],s[5],"o",l),a.setXYAt(s[2],s[6],"i",l+1),t&&a.setXYAt(s[0],s[4],"v",l),a.setXYAt(s[3],s[7],"v",l+1)},TrimModifier.prototype.addShapes=function(s,a,l){var _,D,M,U,te,I,z,ee,t=s.pathsData,f=s.shape.paths.shapes,S=s.shape.paths._length,k=0,H=[],ae=!0;for(l?(te=l._length,ee=l._length):(l=shapePool.newElement(),te=0,ee=0),H.push(l),_=0;_<S;_+=1){for(I=t[_].lengths,l.c=f[_].c,M=f[_].c?I.length:I.length+1,D=1;D<M;D+=1)if(k+(U=I[D-1]).addedLength<a.s)k+=U.addedLength,l.c=!1;else{if(k>a.e){l.c=!1;break}a.s<=k&&a.e>=k+U.addedLength?(this.addSegment(f[_].v[D-1],f[_].o[D-1],f[_].i[D],f[_].v[D],l,te,ae),ae=!1):(z=bez.getNewSegment(f[_].v[D-1],f[_].v[D],f[_].o[D-1],f[_].i[D],(a.s-k)/U.addedLength,(a.e-k)/U.addedLength,I[D-1]),this.addSegmentFromArray(z,l,te,ae),ae=!1,l.c=!1),k+=U.addedLength,te+=1}if(f[_].c&&I.length){if(U=I[D-1],k<=a.e){var V=I[D-1].addedLength;a.s<=k&&a.e>=k+V?(this.addSegment(f[_].v[D-1],f[_].o[D-1],f[_].i[0],f[_].v[0],l,te,ae),ae=!1):(z=bez.getNewSegment(f[_].v[D-1],f[_].v[0],f[_].o[D-1],f[_].i[0],(a.s-k)/V,(a.e-k)/V,I[D-1]),this.addSegmentFromArray(z,l,te,ae),ae=!1,l.c=!1)}else l.c=!1;k+=U.addedLength,te+=1}if(l._length&&(l.setXYAt(l.v[ee][0],l.v[ee][1],"i",ee),l.setXYAt(l.v[l._length-1][0],l.v[l._length-1][1],"o",l._length-1)),k>a.e)break;_<S-1&&(l=shapePool.newElement(),ae=!0,H.push(l),te=0)}return H},extendPrototype([ShapeModifier],PuckerAndBloatModifier),PuckerAndBloatModifier.prototype.initModifierProperties=function(s,a){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(s,a.a,0,null,this),this._isAnimated=!!this.amount.effectsSequence.length},PuckerAndBloatModifier.prototype.processPath=function(s,a){var l=a/100,t=[0,0],f=s._length,_=0;for(_=0;_<f;_+=1)t[0]+=s.v[_][0],t[1]+=s.v[_][1];t[0]/=f,t[1]/=f;var S=shapePool.newElement();for(S.c=s.c,_=0;_<f;_+=1)S.setTripleAt(s.v[_][0]+(t[0]-s.v[_][0])*l,s.v[_][1]+(t[1]-s.v[_][1])*l,s.o[_][0]+(t[0]-s.o[_][0])*-l,s.o[_][1]+(t[1]-s.o[_][1])*-l,s.i[_][0]+(t[0]-s.i[_][0])*-l,s.i[_][1]+(t[1]-s.i[_][1])*-l,_);return S},PuckerAndBloatModifier.prototype.processShapes=function(s){var a,l,f,_,D,M,t=this.shapes.length,S=this.amount.v;if(0!==S)for(l=0;l<t;l+=1){if(M=(D=this.shapes[l]).localShapeCollection,D.shape._mdf||this._mdf||s)for(M.releaseShapes(),D.shape._mdf=!0,a=D.shape.paths.shapes,_=D.shape.paths._length,f=0;f<_;f+=1)M.addShape(this.processPath(a[f],S));D.shape.paths=D.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)};var TransformPropertyFactory=function(){var s=[0,0];function S(M,k,U){if(this.elem=M,this.frameId=-1,this.propType="transform",this.data=k,this.v=new Matrix,this.pre=new Matrix,this.appliedTransformations=0,this.initDynamicPropertyContainer(U||M),k.p&&k.p.s?(this.px=PropertyFactory.getProp(M,k.p.x,0,0,this),this.py=PropertyFactory.getProp(M,k.p.y,0,0,this),k.p.z&&(this.pz=PropertyFactory.getProp(M,k.p.z,0,0,this))):this.p=PropertyFactory.getProp(M,k.p||{k:[0,0,0]},1,0,this),k.rx){if(this.rx=PropertyFactory.getProp(M,k.rx,0,degToRads,this),this.ry=PropertyFactory.getProp(M,k.ry,0,degToRads,this),this.rz=PropertyFactory.getProp(M,k.rz,0,degToRads,this),k.or.k[0].ti){var te,I=k.or.k.length;for(te=0;te<I;te+=1)k.or.k[te].to=null,k.or.k[te].ti=null}this.or=PropertyFactory.getProp(M,k.or,1,degToRads,this),this.or.sh=!0}else this.r=PropertyFactory.getProp(M,k.r||{k:0},0,degToRads,this);k.sk&&(this.sk=PropertyFactory.getProp(M,k.sk,0,degToRads,this),this.sa=PropertyFactory.getProp(M,k.sa,0,degToRads,this)),this.a=PropertyFactory.getProp(M,k.a||{k:[0,0,0]},1,0,this),this.s=PropertyFactory.getProp(M,k.s||{k:[100,100,100]},1,.01,this),this.o=k.o?PropertyFactory.getProp(M,k.o,0,.01,M):{_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}return S.prototype={applyToMatrix:function a(M){var k=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||k,this.a&&M.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&M.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&M.skewFromAxis(-this.sk.v,this.sa.v),this.r?M.rotate(-this.r.v):M.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.data.p.s?M.translate(this.px.v,this.py.v,this.data.p.z?-this.pz.v:0):M.translate(this.p.v[0],this.p.v[1],-this.p.v[2])},getValue:function l(M){if(this.elem.globalData.frameId!==this.frameId){if
vendor: 5,112 bytes, line 1
1(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||M){var k;if(this.v.cloneFromProps(this.pre.props),this.appliedTransformations<1&&this.v.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations<2&&this.v.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&this.appliedTransformations<3&&this.v.skewFromAxis(-this.sk.v,this.sa.v),this.r&&this.appliedTransformations<4?this.v.rotate(-this.r.v):!this.r&&this.appliedTransformations<4&&this.v.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.autoOriented){var U,te;if(k=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(U=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/k,0),te=this.p.getValueAtTime(this.p.keyframes[0].t/k,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(U=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/k,0),te=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/k,0)):(U=this.p.pv,te=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/k,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){U=[],te=[];var I=this.px,z=this.py;I._caching.lastFrame+I.offsetTime<=I.keyframes[0].t?(U[0]=I.getValueAtTime((I.keyframes[0].t+.01)/k,0),U[1]=z.getValueAtTime((z.keyframes[0].t+.01)/k,0),te[0]=I.getValueAtTime(I.keyframes[0].t/k,0),te[1]=z.getValueAtTime(z.keyframes[0].t/k,0)):I._caching.lastFrame+I.offsetTime>=I.keyframes[I.keyframes.length-1].t?(U[0]=I.getValueAtTime(I.keyframes[I.keyframes.length-1].t/k,0),U[1]=z.getValueAtTime(z.keyframes[z.keyframes.length-1].t/k,0),te[0]=I.getValueAtTime((I.keyframes[I.keyframes.length-1].t-.01)/k,0),te[1]=z.getValueAtTime((z.keyframes[z.keyframes.length-1].t-.01)/k,0)):(U=[I.pv,z.pv],te[0]=I.getValueAtTime((I._caching.lastFrame+I.offsetTime-.01)/k,I.offsetTime),te[1]=z.getValueAtTime((z._caching.lastFrame+z.offsetTime-.01)/k,z.offsetTime))}else U=te=s;this.v.rotate(-Math.atan2(U[1]-te[1],U[0]-te[0]))}this.data.p&&this.data.p.s?this.v.translate(this.px.v,this.py.v,this.data.p.z?-this.pz.v:0):this.v.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}this.frameId=this.elem.globalData.frameId}},precalculateMatrix:function t(){if(!this.a.k&&(this.pre.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations=1,!this.s.effectsSequence.length)){if(this.pre.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.appliedTransformations=2,this.sk){if(this.sk.effectsSequence.length||this.sa.effectsSequence.length)return;this.pre.skewFromAxis(-this.sk.v,this.sa.v),this.appliedTransformations=3}this.r?this.r.effectsSequence.length||(this.pre.rotate(-this.r.v),this.appliedTransformations=4):!this.rz.effectsSequence.length&&!this.ry.effectsSequence.length&&!this.rx.effectsSequence.length&&!this.or.effectsSequence.length&&(this.pre.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.appliedTransformations=4)}},autoOrient:function f(){}},extendPrototype([DynamicPropertyContainer],S),S.prototype.addDynamicProperty=function _(M){this._addDynamicProperty(M),this.elem.addDynamicProperty(M),this._isDirty=!0},S.prototype._addDynamicProperty=DynamicPropertyContainer.prototype.addDynamicProperty,{getTransformProperty:function D(M,k,U){return new S(M,k,U)}}}();function RepeaterModifier(){}function RoundCornersModifier(){}function floatEqual(s,a){return 1e5*Math.abs(s-a)<=Math.min(Math.abs(s),Math.abs(a))}function floatZero(s){return Math.abs(s)<=1e-5}function lerp(s,a,l){return s*(1-l)+a*l}function lerpPoint(s,a,l){return[lerp(s[0],a[0],l),lerp(s[1],a[1],l)]}function quadRoots(s,a,l){if(0===s)return[];var t=a*a-4*s*l;if(t<0)return[];var f=-a/(2*s);if(0===t)return[f];var _=Math.sqrt(t)/(2*s);return[f-_,f+_]}function polynomialCoefficients(s,a,l,t){return[3*a-s-3*l+t,3*s-6*a+3*l,-3*s+3*a,s]}function singlePoint(s){return new PolynomialBezier(s,s,s,s,!1)}function PolynomialBezier(s,a,l,t,f){f&&pointEqual(s,a)&&(a=lerpPoint(s,t,1/3)),f&&pointEqual(l,t)&&(l=lerpPoint(s,t,2/3));var _=polynomialCoefficients(s[0],a[0],l[0],t[0]),S=polynomialCoefficients(s[1],a[1],l[1],t[1]);this.a=[_[0],S[0]],this.b=[_[1],S[1]],this.c=[_[2],S[2]],this.d=[_[3],S[3]],this.points=[s,a,l,t]}function extrema(s,a){var l=s.points[0][a],t=s.points[s.points.length-1][a];if(l>t){var f=t;t=l,l=f}for(var _=quadRoots(3*s.a[a],2*s.b[a],s.c[a]),S=0;S<_.length;S+=1)if(_[S]>0&&_[S]<1){var D=s.point(_[S])[a];D<l?l=D:D>t&&(t=D)}return{min:l,max:t}}function intersectData(s,a,l){var t=s.boundingBox();return{cx:t.cx,cy:t.cy,width:t.width,height:t.height,bez:s,t:(a+l)/2,t1:a,t2:l}}function splitData(s){var a=s.bez.split(.5);return[intersectData(a[0],s.t1,s.t),intersectData(a[1],s.t,s.t2)]}function boxIntersect(s,a){return 2*Math.abs(s.cx-a.cx)<s.width+a.width&&2*Math.abs(s.cy-a.cy)<s.height+a.height}
vendor: 5,530 bytes, line 1
1function intersectsImpl(s,a,l,t,f,_){if(boxIntersect(s,a)){if(l>=_||s.width<=t&&s.height<=t&&a.width<=t&&a.height<=t)return void f.push([s.t,a.t]);var S=splitData(s),D=splitData(a);intersectsImpl(S[0],D[0],l+1,t,f,_),intersectsImpl(S[0],D[1],l+1,t,f,_),intersectsImpl(S[1],D[0],l+1,t,f,_),intersectsImpl(S[1],D[1],l+1,t,f,_)}}function crossProduct(s,a){return[s[1]*a[2]-s[2]*a[1],s[2]*a[0]-s[0]*a[2],s[0]*a[1]-s[1]*a[0]]}function lineIntersection(s,a,l,t){var S=[l[0],l[1],1],D=[t[0],t[1],1],M=crossProduct(crossProduct([s[0],s[1],1],[a[0],a[1],1]),crossProduct(S,D));return floatZero(M[2])?null:[M[0]/M[2],M[1]/M[2]]}function polarOffset(s,a,l){return[s[0]+Math.cos(a)*l,s[1]-Math.sin(a)*l]}function pointDistance(s,a){return Math.hypot(s[0]-a[0],s[1]-a[1])}function pointEqual(s,a){return floatEqual(s[0],a[0])&&floatEqual(s[1],a[1])}function ZigZagModifier(){}function setPoint(s,a,l,t,f,_,S){var D=l-Math.PI/2,M=l+Math.PI/2,k=a[0]+Math.cos(l)*t*f,U=a[1]-Math.sin(l)*t*f;s.setTripleAt(k,U,k+Math.cos(D)*_,U-Math.sin(D)*_,k+Math.cos(M)*S,U-Math.sin(M)*S,s.length())}function getPerpendicularVector(s,a){var l=[a[0]-s[0],a[1]-s[1]],t=.5*-Math.PI;return[Math.cos(t)*l[0]-Math.sin(t)*l[1],Math.sin(t)*l[0]+Math.cos(t)*l[1]]}function getProjectingAngle(s,a){var l=0===a?s.length()-1:a-1,t=(a+1)%s.length(),S=getPerpendicularVector(s.v[l],s.v[t]);return Math.atan2(0,1)-Math.atan2(S[1],S[0])}function zigZagCorner(s,a,l,t,f,_,S){var D=getProjectingAngle(a,l),M=a.v[l%a._length],k=a.v[0===l?a._length-1:l-1],U=a.v[(l+1)%a._length],te=2===_?Math.sqrt(Math.pow(M[0]-k[0],2)+Math.pow(M[1]-k[1],2)):0,I=2===_?Math.sqrt(Math.pow(M[0]-U[0],2)+Math.pow(M[1]-U[1],2)):0;setPoint(s,a.v[l%a._length],D,S,t,I/(2*(f+1)),te/(2*(f+1)),_)}function zigZagSegment(s,a,l,t,f,_){for(var S=0;S<t;S+=1){var D=(S+1)/(t+1),M=2===f?Math.sqrt(Math.pow(a.points[3][0]-a.points[0][0],2)+Math.pow(a.points[3][1]-a.points[0][1],2)):0,k=a.normalAngle(D);setPoint(s,a.point(D),k,_,l,M/(2*(t+1)),M/(2*(t+1)),f),_=-_}return _}function linearOffset(s,a,l){var t=Math.atan2(a[0]-s[0],a[1]-s[1]);return[polarOffset(s,t,l),polarOffset(a,t,l)]}function offsetSegment(s,a){var l,t,f,_,S,D,M;l=(M=linearOffset(s.points[0],s.points[1],a))[0],t=M[1],f=(M=linearOffset(s.points[1],s.points[2],a))[0],_=M[1],S=(M=linearOffset(s.points[2],s.points[3],a))[0],D=M[1];var k=lineIntersection(l,t,f,_);null===k&&(k=t);var U=lineIntersection(S,D,f,_);return null===U&&(U=S),new PolynomialBezier(l,k,U,D)}function joinLines(s,a,l,t,f){var _=a.points[3],S=l.points[0];if(3===t||pointEqual(_,S))return _;if(2===t){var D=-a.tangentAngle(1),M=-l.tangentAngle(0)+Math.PI,k=lineIntersection(_,polarOffset(_,D+Math.PI/2,100),S,polarOffset(S,D+Math.PI/2,100)),U=k?pointDistance(k,_):pointDistance(_,S)/2,te=polarOffset(_,D,2*U*roundCorner);return s.setXYAt(te[0],te[1],"o",s.length()-1),te=polarOffset(S,M,2*U*roundCorner),s.setTripleAt(S[0],S[1],S[0],S[1],te[0],te[1],s.length()),S}var H=lineIntersection(pointEqual(_,a.points[2])?a.points[0]:a.points[2],_,S,pointEqual(S,l.points[1])?l.points[3]:l.points[1]);return H&&pointDistance(H,_)<f?(s.setTripleAt(H[0],H[1],H[0],H[1],H[0],H[1],s.length()),H):_}function getIntersection(s,a){var l=s.intersections(a);return l.length&&floatEqual(l[0][0],1)&&l.shift(),l.length?l[0]:null}function pruneSegmentIntersection(s,a){var l=s.slice(),t=a.slice(),f=getIntersection(s[s.length-1],a[0]);return f&&(l[s.length-1]=s[s.length-1].split(f[0])[0],t[0]=a[0].split(f[1])[1]),s.length>1&&a.length>1&&(f=getIntersection(s[0],a[a.length-1]))?[[s[0].split(f[0])[0]],[a[a.length-1].split(f[1])[1]]]:[l,t]}function pruneIntersections(s){for(var a,l=1;l<s.length;l+=1)a=pruneSegmentIntersection(s[l-1],s[l]),s[l-1]=a[0],s[l]=a[1];return s.length>1&&(a=pruneSegmentIntersection(s[s.length-1],s[0]),s[s.length-1]=a[0],s[0]=a[1]),s}function offsetSegmentSplit(s,a){var t,f,_,S,l=s.inflectionPoints();return 0===l.length?[offsetSegment(s,a)]:1===l.length||floatEqual(l[1],1)?(f=(_=s.split(l[0]))[1],[offsetSegment(t=_[0],a),offsetSegment(f,a)]):(t=(_=s.split(l[0]))[0],S=(_=_[1].split((l[1]-l[0])/(1-l[0])))[0],f=_[1],[offsetSegment(t,a),offsetSegment(S,a),offsetSegment(f,a)])}function OffsetPathModifier(){}function getFontProperties(s){for(var _,a=s.fStyle?s.fStyle.split(" "):[],l="normal",t="normal",f=a.length,S=0;S<f;S+=1)switch(_=a[S].toLowerCase(),_){case"italic":t="italic";break;case"bold":l="700";break;case"black":l="900";break;case"medium":l="500";break;case"regular":case"normal":l="400";break;case"light":case"thin":l="200"}return{style:t,weight:s.fWeight||l}}extendPrototype([ShapeModifier],RepeaterModifier),RepeaterModifier.prototype.initModifierProperties=function(s,a){this.getValue=this.processKeys,this.c=PropertyFactory.getProp(s,a.c,0,null,this),this.o=PropertyFactory.getProp(s,a.o,0,null,this),this.tr=TransformPropertyFactory.getTransformProperty(s,a.tr,this),this.so=PropertyFactory.getProp(s,a.tr.so,0,.01,this),this.eo=PropertyFactory.getProp(s,a.tr.eo,0,.01,this),this.data=a,this.dynamicProperties.length||this.getValue(!0),this._isAnimated=!!this.dynamicProperties.length,this.pMatrix=new Matrix,this.rMatrix=new Matrix,this.sMatrix=new Matrix,this.tMatrix=new Matrix,this.matrix=new Matrix},RepeaterModifier.prototype.applyTransforms=function(s,a,l,t,f,_){var S=_?-1:1,D=t.s.v[0]+(1-t.s.v[0])*(1-f),M=t.s.v[1]+(1-t.s.v[1])*(1-f);s.translate(t.p.v[0]*S*f,t.p.v[1]*S*f,t.p.v[2]),a.translate(-t.a.v[0],-t.a.v[1],t.a.v[2]),a.rotate(-t.r.v*S*f),a.translate(t.a.v[0],t.a.v[1],t.a.v[2]),l.translate(-t.a.v[0],-t.a.v[1],t.a.v[2]),l.scale(_?
vendor: 5,697 bytes, line 1
11/D:D,_?1/M:M),l.translate(t.a.v[0],t.a.v[1],t.a.v[2])},RepeaterModifier.prototype.init=function(s,a,l,t){for(this.elem=s,this.arr=a,this.pos=l,this.elemsData=t,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(s),this.initModifierProperties(s,a[l]);l>0;)this._elements.unshift(a[l-=1]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},RepeaterModifier.prototype.resetElements=function(s){var a,l=s.length;for(a=0;a<l;a+=1)s[a]._processed=!1,"gr"===s[a].ty&&this.resetElements(s[a].it)},RepeaterModifier.prototype.cloneElements=function(s){var a=JSON.parse(JSON.stringify(s));return this.resetElements(a),a},RepeaterModifier.prototype.changeGroupRender=function(s,a){var l,t=s.length;for(l=0;l<t;l+=1)s[l]._render=a,"gr"===s[l].ty&&this.changeGroupRender(s[l].it,a)},RepeaterModifier.prototype.processShapes=function(s){var a,l,t,f,_,S=!1;if(this._mdf||s){var k,D=Math.ceil(this.c.v);if(this._groups.length<D){for(;this._groups.length<D;){var M={it:this.cloneElements(this._elements),ty:"gr"};M.it.push({a:{a:0,ix:1,k:[0,0]},nm:"Transform",o:{a:0,ix:7,k:100},p:{a:0,ix:2,k:[0,0]},r:{a:1,ix:6,k:[{s:0,e:0,t:0},{s:0,e:0,t:1}]},s:{a:0,ix:3,k:[100,100]},sa:{a:0,ix:5,k:0},sk:{a:0,ix:4,k:0},ty:"tr"}),this.arr.splice(0,0,M),this._groups.splice(0,0,M),this._currentCopies+=1}this.elem.reloadShapes(),S=!0}for(_=0,t=0;t<=this._groups.length-1;t+=1){if(this._groups[t]._render=k=_<D,this.changeGroupRender(this._groups[t].it,k),!k){var U=this.elemsData[t].it,te=U[U.length-1];0!==te.transform.op.v?(te.transform.op._mdf=!0,te.transform.op.v=0):te.transform.op._mdf=!1}_+=1}this._currentCopies=D;var I=this.o.v,z=I%1,H=I>0?Math.floor(I):Math.ceil(I),ee=this.pMatrix.props,ae=this.rMatrix.props,V=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var N,O,Y=0;if(I>0){for(;Y<H;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),Y+=1;z&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,z,!1),Y+=z)}else if(I<0){for(;Y>H;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),Y-=1;z&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-z,!0),Y-=z)}for(t=1===this.data.m?0:this._currentCopies-1,f=1===this.data.m?1:-1,_=this._currentCopies;_;){if(O=(l=(a=this.elemsData[t].it)[a.length-1].transform.mProps.v.props).length,a[a.length-1].transform.mProps._mdf=!0,a[a.length-1].transform.op._mdf=!0,a[a.length-1].transform.op.v=1===this._currentCopies?this.so.v:this.so.v+t/(this._currentCopies-1)*(this.eo.v-this.so.v),0!==Y){for((0!==t&&1===f||t!==this._currentCopies-1&&-1===f)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(ae[0],ae[1],ae[2],ae[3],ae[4],ae[5],ae[6],ae[7],ae[8],ae[9],ae[10],ae[11],ae[12],ae[13],ae[14],ae[15]),this.matrix.transform(V[0],V[1],V[2],V[3],V[4],V[5],V[6],V[7],V[8],V[9],V[10],V[11],V[12],V[13],V[14],V[15]),this.matrix.transform(ee[0],ee[1],ee[2],ee[3],ee[4],ee[5],ee[6],ee[7],ee[8],ee[9],ee[10],ee[11],ee[12],ee[13],ee[14],ee[15]),N=0;N<O;N+=1)l[N]=this.matrix.props[N];this.matrix.reset()}else for(this.matrix.reset(),N=0;N<O;N+=1)l[N]=this.matrix.props[N];Y+=1,_-=1,t+=f}}else for(_=this._currentCopies,t=0,f=1;_;)l=(a=this.elemsData[t].it)[a.length-1].transform.mProps.v.props,a[a.length-1].transform.mProps._mdf=!1,a[a.length-1].transform.op._mdf=!1,_-=1,t+=f;return S},RepeaterModifier.prototype.addShape=function(){},extendPrototype([ShapeModifier],RoundCornersModifier),RoundCornersModifier.prototype.initModifierProperties=function(s,a){this.getValue=this.processKeys,this.rd=PropertyFactory.getProp(s,a.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length},RoundCornersModifier.prototype.processPath=function(s,a){var l=shapePool.newElement();l.c=s.c;var t,_,S,D,M,k,U,I,z,H,ee,ae,V,f=s._length,te=0;for(t=0;t<f;t+=1)S=s.i[t],(_=s.v[t])[0]===(D=s.o[t])[0]&&_[1]===D[1]&&_[0]===S[0]&&_[1]===S[1]?0!==t&&t!==f-1||s.c?(M=0===t?s.v[f-1]:s.v[t-1],U=(k=Math.sqrt(Math.pow(_[0]-M[0],2)+Math.pow(_[1]-M[1],2)))?Math.min(k/2,a)/k:0,l.setTripleAt(I=ae=_[0]+(M[0]-_[0])*U,z=V=_[1]-(_[1]-M[1])*U,I-(I-_[0])*roundCorner,z-(z-_[1])*roundCorner,ae,V,te),te+=1,M=t===f-1?s.v[0]:s.v[t+1],U=(k=Math.sqrt(Math.pow(_[0]-M[0],2)+Math.pow(_[1]-M[1],2)))?Math.min(k/2,a)/k:0,l.setTripleAt(I=H=_[0]+(M[0]-_[0])*U,z=ee=_[1]+(M[1]-_[1])*U,H,ee,ae=I-(I-_[0])*roundCorner,V=z-(z-_[1])*roundCorner,te),te+=1):(l.setTripleAt(_[0],_[1],D[0],D[1],S[0],S[1],te),te+=1):(l.setTripleAt(s.v[t][0],s.v[t][1],s.o[t][0],s.o[t][1],s.i[t][0],s.i[t][1],te),te+=1);return l},RoundCornersModifier.prototype.processShapes=function(s){var a,l,f,_,D,M,t=this.shapes.length,S=this.rd.v;if(0!==S)for(l=0;l<t;l+=1){if(M=(D=this.shapes[l]).localShapeCollection,D.shape._mdf||this._mdf||s)for(M.releaseShapes(),D.shape._mdf=!0,a=D.shape.paths.shapes,_=D.shape.paths._length,f=0;f<_;f+=1)M.addShape(this.processPath(a[f],S));D.shape.paths=D.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)},PolynomialBezier.prototype.point=function(s){return[((this.a[0]*s+this.b[0])*s+this.c[0])*s+this.d[0],((this.a[1]*s+this.b[1])*s+this.c[1])*s+this.d[1]]},PolynomialBezier.prototype.derivative=function(s){return[(3*s*this.a[0]+2*this.b[0])*s+this.c[0],(3*s*this.a[1]+2*this.b[1])*s+this.c[1]]},PolynomialBezier.prototype.tangentAngle=function(s){var a=this.derivative(s);return Math.atan2(a[1],a[0])},PolynomialBezier.prototype.normalAngle=function(s){var a=this.derivative(s);return Math.atan2(a[0],a[1])},PolynomialBezier.prototype.inflectionPoints=function(){var s=this.a[1]*this.b[0]-this.a[0]*this.b[1];if(floatZero(s))return[];
vendor: 4,517 bytes, line 1
1var a=-.5*(this.a[1]*this.c[0]-this.a[0]*this.c[1])/s,l=a*a-1/3*(this.b[1]*this.c[0]-this.b[0]*this.c[1])/s;if(l<0)return[];var t=Math.sqrt(l);return floatZero(t)?t>0&&t<1?[a]:[]:[a-t,a+t].filter(function(f){return f>0&&f<1})},PolynomialBezier.prototype.split=function(s){if(s<=0)return[singlePoint(this.points[0]),this];if(s>=1)return[this,singlePoint(this.points[this.points.length-1])];var a=lerpPoint(this.points[0],this.points[1],s),l=lerpPoint(this.points[1],this.points[2],s),t=lerpPoint(this.points[2],this.points[3],s),f=lerpPoint(a,l,s),_=lerpPoint(l,t,s),S=lerpPoint(f,_,s);return[new PolynomialBezier(this.points[0],a,f,S,!0),new PolynomialBezier(S,_,t,this.points[3],!0)]},PolynomialBezier.prototype.bounds=function(){return{x:extrema(this,0),y:extrema(this,1)}},PolynomialBezier.prototype.boundingBox=function(){var s=this.bounds();return{left:s.x.min,right:s.x.max,top:s.y.min,bottom:s.y.max,width:s.x.max-s.x.min,height:s.y.max-s.y.min,cx:(s.x.max+s.x.min)/2,cy:(s.y.max+s.y.min)/2}},PolynomialBezier.prototype.intersections=function(s,a,l){void 0===a&&(a=2),void 0===l&&(l=7);var t=[];return intersectsImpl(intersectData(this,0,1),intersectData(s,0,1),0,a,t,l),t},PolynomialBezier.shapeSegment=function(s,a){var l=(a+1)%s.length();return new PolynomialBezier(s.v[a],s.o[a],s.i[l],s.v[l],!0)},PolynomialBezier.shapeSegmentInverted=function(s,a){var l=(a+1)%s.length();return new PolynomialBezier(s.v[l],s.i[l],s.o[a],s.v[a],!0)},extendPrototype([ShapeModifier],ZigZagModifier),ZigZagModifier.prototype.initModifierProperties=function(s,a){this.getValue=this.processKeys,this.amplitude=PropertyFactory.getProp(s,a.s,0,null,this),this.frequency=PropertyFactory.getProp(s,a.r,0,null,this),this.pointsType=PropertyFactory.getProp(s,a.pt,0,null,this),this._isAnimated=0!==this.amplitude.effectsSequence.length||0!==this.frequency.effectsSequence.length||0!==this.pointsType.effectsSequence.length},ZigZagModifier.prototype.processPath=function(s,a,l,t){var f=s._length,_=shapePool.newElement();if(_.c=s.c,s.c||(f-=1),0===f)return _;var S=-1,D=PolynomialBezier.shapeSegment(s,0);zigZagCorner(_,s,0,a,l,t,S);for(var M=0;M<f;M+=1)S=zigZagSegment(_,D,a,l,t,-S),D=M!==f-1||s.c?PolynomialBezier.shapeSegment(s,(M+1)%f):null,zigZagCorner(_,s,M+1,a,l,t,S);return _},ZigZagModifier.prototype.processShapes=function(s){var a,l,f,_,k,U,t=this.shapes.length,S=this.amplitude.v,D=Math.max(0,Math.round(this.frequency.v)),M=this.pointsType.v;if(0!==S)for(l=0;l<t;l+=1){if(U=(k=this.shapes[l]).localShapeCollection,k.shape._mdf||this._mdf||s)for(U.releaseShapes(),k.shape._mdf=!0,a=k.shape.paths.shapes,_=k.shape.paths._length,f=0;f<_;f+=1)U.addShape(this.processPath(a[f],S,D,M));k.shape.paths=k.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)},extendPrototype([ShapeModifier],OffsetPathModifier),OffsetPathModifier.prototype.initModifierProperties=function(s,a){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(s,a.a,0,null,this),this.miterLimit=PropertyFactory.getProp(s,a.ml,0,null,this),this.lineJoin=a.lj,this._isAnimated=0!==this.amount.effectsSequence.length},OffsetPathModifier.prototype.processPath=function(s,a,l,t){var f=shapePool.newElement();f.c=s.c;var _=s.length();s.c||(_-=1);var S,D,M,k=[];for(S=0;S<_;S+=1)M=PolynomialBezier.shapeSegment(s,S),k.push(offsetSegmentSplit(M,a));if(!s.c)for(S=_-1;S>=0;S-=1)M=PolynomialBezier.shapeSegmentInverted(s,S),k.push(offsetSegmentSplit(M,a));k=pruneIntersections(k);var U=null,te=null;for(S=0;S<k.length;S+=1){var I=k[S];for(te&&(U=joinLines(f,te,I[0],l,t)),te=I[I.length-1],D=0;D<I.length;D+=1)M=I[D],U&&pointEqual(M.points[0],U)?f.setXYAt(M.points[1][0],M.points[1][1],"o",f.length()-1):f.setTripleAt(M.points[0][0],M.points[0][1],M.points[1][0],M.points[1][1],M.points[0][0],M.points[0][1],f.length()),f.setTripleAt(M.points[3][0],M.points[3][1],M.points[3][0],M.points[3][1],M.points[2][0],M.points[2][1],f.length()),U=M.points[3]}return k.length&&joinLines(f,te,k[0][0],l,t),f},OffsetPathModifier.prototype.processShapes=function(s){var a,l,f,_,k,U,t=this.shapes.length,S=this.amount.v,D=this.miterLimit.v,M=this.lineJoin;if(0!==S)for(l=0;l<t;l+=1){if(U=(k=this.shapes[l]).localShapeCollection,k.shape._mdf||this._mdf||s)for(U.releaseShapes(),k.shape._mdf=!0,a=k.shape.paths.shapes,_=k.shape.paths._length,f=0;f<_;f+=1)U.addShape(this.processPath(a[f],S,M,D));k.shape.paths=k.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)};var FontManager=function(){var a={w:0,size:0,shapes:[],data:{shapes:[]}},l=[];
vendor: 9,373 bytes, line 1
1l=l.concat([2304,2305,2306,2307,2362,2363,2364,2364,2366,2367,2368,2369,2370,2371,2372,2373,2374,2375,2376,2377,2378,2379,2380,2381,2382,2383,2387,2388,2389,2390,2391,2402,2403]);var t=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"],f=[65039,8205];function S(O,X){var J=createTag("span");J.setAttribute("aria-hidden",!0),J.style.fontFamily=X;var pe=createTag("span");pe.innerText="giItT1WQy@!-/#",J.style.position="absolute",J.style.left="-10000px",J.style.top="-10000px",J.style.fontSize="300px",J.style.fontVariant="normal",J.style.fontStyle="normal",J.style.fontWeight="normal",J.style.letterSpacing="0",J.appendChild(pe),document.body.appendChild(J);var me=pe.offsetWidth;return pe.style.fontFamily=function _(O){var J,X=O.split(","),pe=X.length,me=[];for(J=0;J<pe;J+=1)"sans-serif"!==X[J]&&"monospace"!==X[J]&&me.push(X[J]);return me.join(",")}(O)+", "+X,{node:pe,w:me,parent:J}}function M(O,X){var pe,J=document.body&&X?"svg":"canvas",me=getFontProperties(O);if("svg"===J){var Fe=createNS("text");Fe.style.fontSize="100px",Fe.setAttribute("font-family",O.fFamily),Fe.setAttribute("font-style",me.style),Fe.setAttribute("font-weight",me.weight),Fe.textContent="1",O.fClass?(Fe.style.fontFamily="inherit",Fe.setAttribute("class",O.fClass)):Fe.style.fontFamily=O.fFamily,X.appendChild(Fe),pe=Fe}else{var He=new OffscreenCanvas(500,500).getContext("2d");He.font=me.style+" "+me.weight+" 100px "+O.fFamily,pe=He}return{measureText:function xe(Ne){return"svg"===J?(pe.textContent=Ne,pe.getComputedTextLength()):pe.measureText(Ne).width}}}var Y=function(){this.fonts=[],this.chars=null,this.typekitLoaded=0,this.isLoaded=!1,this._warned=!1,this.initTime=Date.now(),this.setIsLoadedBinded=this.setIsLoaded.bind(this),this.checkLoadedFontsBinded=this.checkLoadedFonts.bind(this)};return Y.isModifier=function H(O,X){var J=O.toString(16)+X.toString(16);return-1!==t.indexOf(J)},Y.isZeroWidthJoiner=function ee(O,X){return X?O===f[0]&&X===f[1]:O===f[1]},Y.isCombinedCharacter=function ae(O){return-1!==l.indexOf(O)},Y.prototype={addChars:function U(O){if(O){this.chars||(this.chars=[]);var X,pe,Fe,J=O.length,me=this.chars.length;for(X=0;X<J;X+=1){for(pe=0,Fe=!1;pe<me;)this.chars[pe].style===O[X].style&&this.chars[pe].fFamily===O[X].fFamily&&this.chars[pe].ch===O[X].ch&&(Fe=!0),pe+=1;Fe||(this.chars.push(O[X]),me+=1)}}},addFonts:function k(O,X){if(O){if(this.chars)return this.isLoaded=!0,void(this.fonts=O.list);if(!document.body)return this.isLoaded=!0,O.list.forEach(function(Ce){Ce.helper=M(Ce),Ce.cache={}}),void(this.fonts=O.list);var pe,J=O.list,me=J.length,Fe=me;for(pe=0;pe<me;pe+=1){var xe,Ne,He=!0;if(J[pe].loaded=!1,J[pe].monoCase=S(J[pe].fFamily,"monospace"),J[pe].sansCase=S(J[pe].fFamily,"sans-serif"),J[pe].fPath){if("p"===J[pe].fOrigin||3===J[pe].origin){if((xe=document.querySelectorAll('style[f-forigin="p"][f-family="'+J[pe].fFamily+'"], style[f-origin="3"][f-family="'+J[pe].fFamily+'"]')).length>0&&(He=!1),He){var ze=createTag("style");ze.setAttribute("f-forigin",J[pe].fOrigin),ze.setAttribute("f-origin",J[pe].origin),ze.setAttribute("f-family",J[pe].fFamily),ze.type="text/css",ze.innerText="@font-face {font-family: "+J[pe].fFamily+"; font-style: normal; src: url('"+J[pe].fPath+"');}",X.appendChild(ze)}}else if("g"===J[pe].fOrigin||1===J[pe].origin){for(xe=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),Ne=0;Ne<xe.length;Ne+=1)-1!==xe[Ne].href.indexOf(J[pe].fPath)&&(He=!1);if(He){var ke=createTag("link");ke.setAttribute("f-forigin",J[pe].fOrigin),ke.setAttribute("f-origin",J[pe].origin),ke.type="text/css",ke.rel="stylesheet",ke.href=J[pe].fPath,document.body.appendChild(ke)}}else if("t"===J[pe].fOrigin||2===J[pe].origin){for(xe=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),Ne=0;Ne<xe.length;Ne+=1)J[pe].fPath===xe[Ne].src&&(He=!1);if(He){var De=createTag("link");De.setAttribute("f-forigin",J[pe].fOrigin),De.setAttribute("f-origin",J[pe].origin),De.setAttribute("rel","stylesheet"),De.setAttribute("href",J[pe].fPath),X.appendChild(De)}}}else J[pe].loaded=!0,Fe-=1;J[pe].helper=M(J[pe],X),J[pe].cache={},this.fonts.push(J[pe])}0===Fe?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}else this.isLoaded=!0},getCharData:function te(O,X,J){for(var pe=0,me=this.chars.length;pe<me;){if(this.chars[pe].ch===O&&this.chars[pe].style===X&&this.chars[pe].fFamily===J)return this.chars[pe];pe+=1}return("string"==typeof O&&13!==O.charCodeAt(0)||!O)&&console&&console.warn&&!this._warned&&(this._warned=!0,console.warn("Missing character from exported characters list: ",O,X,J)),a},getFontByName:function z(O){for(var X=0,J=this.fonts.length;X<J;){if(this.fonts[X].fName===O)return this.fonts[X];X+=1}return this.fonts[0]},measureText:function I(O,X,J){var pe=this.getFontByName(X),me=O.charCodeAt(0);if(!pe.cache[me+1]){var Fe=pe.helper;if(" "===O){var He=Fe.measureText("|"+O+"|"),xe=Fe.measureText("||");pe.cache[me+1]=(He-xe)/100}else pe.cache[me+1]=Fe.measureText(O)/100}return pe.cache[me+1]*J},checkLoadedFonts:function D(){var O,X=this.fonts.length,me=X;for(O=0;O<X;O+=1)this.fonts[O].loaded?me-=1:"n"===this.fonts[O].fOrigin||0===this.fonts[O].origin?this.fonts[O].loaded=!0:((this.fonts[O].monoCase.node.offsetWidth!==this.fonts[O].monoCase.w||this.fonts[O].sansCase.node.offsetWidth!==this.fonts[O].sansCase.w)&&(me-=1,this.fonts[O].loaded=!0),this.fonts[O].loaded&&(this.fonts[O].sansCase.parent.parentNode.removeChild(this.fonts[O].sansCase.parent),this.fonts[O].monoCase.parent.parentNode.removeChild(this.fonts[O].monoCase.parent)));0!==me&&Date.now()-this.initTime<5e3?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)},setIsLoaded:function V(){this.isLoaded=!0}},Y}();function RenderableElement(){}RenderableElement.prototype={initRenderable:function(){this.isInRange=!1,this.hidden=!1,this.isTransparent=!1,this.renderableComponents=[]},addRenderableComponent:function(a){-1===this.renderableComponents.indexOf(a)&&this.renderableComponents.push(a)},removeRenderableComponent:function(a){-1!==this.renderableComponents.indexOf(a)&&this.renderableComponents.splice(this.renderableComponents.indexOf(a),1)},prepareRenderableFrame:function(a){this.checkLayerLimits(a)},checkTransparency:function(){this.finalTransform.mProp.o.v<=0?!this.isTransparent&&this.globalData.renderConfig.hideOnTransparent&&(this.isTransparent=!0,this.hide()):this.isTransparent&&(this.isTransparent=!1,this.show())},checkLayerLimits:function(a){this.data.ip-this.data.st<=a&&this.data.op-this.data.st>a?!0!==this.isInRange&&(this.globalData._mdf=!0,this._mdf=!0,this.isInRange=!0,this.show()):!1!==this.isInRange&&(this.globalData._mdf=!0,this.isInRange=!1,this.hide())},renderRenderable:function(){var a,l=this.renderableComponents.length;for(a=0;a<l;a+=1)this.renderableComponents[a].renderFrame(this._isFirstFrame)},sourceRectAtTime:function(){return{top:0,left:0,width:100,height:100}},getLayerSize:function(){return 5===this.data.ty?{w:this.data.textData.width,h:this.data.textData.height}:{w:this.data.width,h:this.data.height}}};var getBlendMode=function(){var s={0:"source-over",1:"multiply",2:"screen",3:"overlay",4:"darken",5:"lighten",6:"color-dodge",7:"color-burn",8:"hard-light",9:"soft-light",10:"difference",11:"exclusion",12:"hue",13:"saturation",14:"color",15:"luminosity"};return function(a){return s[a]||""}}();function SliderEffect(s,a,l){this.p=PropertyFactory.getProp(a,s.v,0,0,l)}function AngleEffect(s,a,l){this.p=PropertyFactory.getProp(a,s.v,0,0,l)}function ColorEffect(s,a,l){this.p=PropertyFactory.getProp(a,s.v,1,0,l)}function PointEffect(s,a,l){this.p=PropertyFactory.getProp(a,s.v,1,0,l)}function LayerIndexEffect(s,a,l){this.p=PropertyFactory.getProp(a,s.v,0,0,l)}function MaskIndexEffect(s,a,l){this.p=PropertyFactory.getProp(a,s.v,0,0,l)}function CheckboxEffect(s,a,l){this.p=PropertyFactory.getProp(a,s.v,0,0,l)}function NoValueEffect(){this.p={}}function EffectsManager(s,a){var l=s.ef||[];this.effectElements=[];var t,_,f=l.length;for(t=0;t<f;t+=1)_=new GroupEffect(l[t],a),this.effectElements.push(_)}function GroupEffect(s,a){this.init(s,a)}function BaseElement(){}function FrameElement(){}function FootageElement(s,a,l){this.initFrame(),this.initRenderable(),this.assetData=a.getAssetData(s.refId),this.footageData=a.imageLoader.getAsset(this.assetData),this.initBaseData(s,a,l)}function AudioElement(s,a,l){this.initFrame(),this.initRenderable(),this.assetData=a.getAssetData(s.refId),this.initBaseData(s,a,l),this._isPlaying=!1,this._canPlay=!1;var t=this.globalData.getAssetsPath(this.assetData);this.audio=this.globalData.audioController.createAudio(t),this._currentTime=0,this.globalData.audioController.addAudio(this),this._volumeMultiplier=1,this._volume=1,this._previousVolume=null,this.tm=s.tm?PropertyFactory.getProp(this,s.tm,0,a.frameRate,this):{_placeholder:!0},this.lv=PropertyFactory.getProp(this,s.au&&s.au.lv?s.au.lv:{k:[100]},1,.01,this)}function BaseRenderer(){}function TransformElement(){}function MaskElement(s,a,l){this.data=s,this.element=a,this.globalData=l,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var f,t=this.globalData.defs,_=this.masksProperties?this.masksProperties.length:0;this.viewData=createSizedArray(_),this.solidPath="";var S,U,te,z,H,ee,ae,D=this.masksProperties,M=0,k=[],I=createElementID(),V="clipPath",Y="clip-path";
vendor: 4,784 bytes, line 1
1for(f=0;f<_;f+=1)if(("a"!==D[f].mode&&"n"!==D[f].mode||D[f].inv||100!==D[f].o.k||D[f].o.x)&&(V="mask",Y="mask"),"s"!==D[f].mode&&"i"!==D[f].mode||0!==M?z=null:((z=createNS("rect")).setAttribute("fill","#ffffff"),z.setAttribute("width",this.element.comp.data.w||0),z.setAttribute("height",this.element.comp.data.h||0),k.push(z)),S=createNS("path"),"n"===D[f].mode)this.viewData[f]={op:PropertyFactory.getProp(this.element,D[f].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,D[f],3),elem:S,lastPath:""},t.appendChild(S);else{var N;if(M+=1,S.setAttribute("fill","s"===D[f].mode?"#000000":"#ffffff"),S.setAttribute("clip-rule","nonzero"),0!==D[f].x.k?(V="mask",Y="mask",ae=PropertyFactory.getProp(this.element,D[f].x,0,null,this.element),N=createElementID(),(H=createNS("filter")).setAttribute("id",N),(ee=createNS("feMorphology")).setAttribute("operator","erode"),ee.setAttribute("in","SourceGraphic"),ee.setAttribute("radius","0"),H.appendChild(ee),t.appendChild(H),S.setAttribute("stroke","s"===D[f].mode?"#000000":"#ffffff")):(ee=null,ae=null),this.storedData[f]={elem:S,x:ae,expan:ee,lastPath:"",lastOperator:"",filterId:N,lastRadius:0},"i"===D[f].mode){te=k.length;var O=createNS("g");for(U=0;U<te;U+=1)O.appendChild(k[U]);var X=createNS("mask");X.setAttribute("mask-type","alpha"),X.setAttribute("id",I+"_"+M),X.appendChild(S),t.appendChild(X),O.setAttribute("mask","url("+getLocationHref()+"#"+I+"_"+M+")"),k.length=0,k.push(O)}else k.push(S);D[f].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[f]={elem:S,lastPath:"",op:PropertyFactory.getProp(this.element,D[f].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,D[f],3),invRect:z},this.viewData[f].prop.k||this.drawPath(D[f],this.viewData[f].prop.v,this.viewData[f])}for(this.maskElement=createNS(V),_=k.length,f=0;f<_;f+=1)this.maskElement.appendChild(k[f]);M>0&&(this.maskElement.setAttribute("id",I),this.element.maskedElement.setAttribute(Y,"url("+getLocationHref()+"#"+I+")"),t.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}extendPrototype([DynamicPropertyContainer],GroupEffect),GroupEffect.prototype.getValue=GroupEffect.prototype.iterateDynamicProperties,GroupEffect.prototype.init=function(s,a){this.data=s,this.effectElements=[],this.initDynamicPropertyContainer(a);var l,f,t=this.data.ef.length,_=this.data.ef;for(l=0;l<t;l+=1){switch(f=null,_[l].ty){case 0:f=new SliderEffect(_[l],a,this);break;case 1:f=new AngleEffect(_[l],a,this);break;case 2:f=new ColorEffect(_[l],a,this);break;case 3:f=new PointEffect(_[l],a,this);break;case 4:case 7:f=new CheckboxEffect(_[l],a,this);break;case 10:f=new LayerIndexEffect(_[l],a,this);break;case 11:f=new MaskIndexEffect(_[l],a,this);break;case 5:f=new EffectsManager(_[l],a,this);break;default:f=new NoValueEffect(_[l],a,this)}f&&this.effectElements.push(f)}},BaseElement.prototype={checkMasks:function(){if(!this.data.hasMask)return!1;for(var a=0,l=this.data.masksProperties.length;a<l;){if("n"!==this.data.masksProperties[a].mode&&!1!==this.data.masksProperties[a].cl)return!0;a+=1}return!1},initExpressions:function(){var a=getExpressionInterfaces();if(a){var l=a("layer"),t=a("effects"),f=a("shape"),_=a("text"),S=a("comp");this.layerInterface=l(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);var D=t.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(D),0===this.data.ty||this.data.xt?this.compInterface=S(this):4===this.data.ty?(this.layerInterface.shapeInterface=f(this.shapesData,this.itemsData,this.layerInterface),this.layerInterface.content=this.layerInterface.shapeInterface):5===this.data.ty&&(this.layerInterface.textInterface=_(this),this.layerInterface.text=this.layerInterface.textInterface)}},setBlendMode:function(){var a=getBlendMode(this.data.bm);(this.baseElement||this.layerElement).style["mix-blend-mode"]=a},initBaseData:function(a,l,t){this.globalData=l,this.comp=t,this.data=a,this.layerId=createElementID(),this.data.sr||(this.data.sr=1),this.effectsManager=new EffectsManager(this.data,this,this.dynamicProperties)},getType:function(){return this.type},sourceRectAtTime:function(){}},FrameElement.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(a,l){var t,f=this.dynamicProperties.length;for(t=0;t<f;t+=1)(l||this._isParent&&"transform"===this.dynamicProperties[t].propType)&&(this.dynamicProperties[t].getValue(),this.dynamicProperties[t]._mdf&&(this.globalData._mdf=!0,this._mdf=!0))},addDynamicProperty:function(a){-1===this.dynamicProperties.indexOf(a)&&this.dynamicProperties.push(a)}},FootageElement.prototype.prepareFrame=function(){}
vendor: 8,150 bytes, line 1
1,extendPrototype([RenderableElement,BaseElement,FrameElement],FootageElement),FootageElement.prototype.getBaseElement=function(){return null},FootageElement.prototype.renderFrame=function(){},FootageElement.prototype.destroy=function(){},FootageElement.prototype.initExpressions=function(){var s=getExpressionInterfaces();if(s){var a=s("footage");this.layerInterface=a(this)}},FootageElement.prototype.getFootageData=function(){return this.footageData},AudioElement.prototype.prepareFrame=function(s){this.prepareRenderableFrame(s,!0),this.prepareProperties(s,!0),this._currentTime=this.tm._placeholder?s/this.data.sr:this.tm.v,this._volume=this.lv.v[0];var l=this._volume*this._volumeMultiplier;this._previousVolume!==l&&(this._previousVolume=l,this.audio.volume(l))},extendPrototype([RenderableElement,BaseElement,FrameElement],AudioElement),AudioElement.prototype.renderFrame=function(){this.isInRange&&this._canPlay&&(this._isPlaying?(!this.audio.playing()||Math.abs(this._currentTime/this.globalData.frameRate-this.audio.seek())>.1)&&this.audio.seek(this._currentTime/this.globalData.frameRate):(this.audio.play(),this.audio.seek(this._currentTime/this.globalData.frameRate),this._isPlaying=!0))},AudioElement.prototype.show=function(){},AudioElement.prototype.hide=function(){this.audio.pause(),this._isPlaying=!1},AudioElement.prototype.pause=function(){this.audio.pause(),this._isPlaying=!1,this._canPlay=!1},AudioElement.prototype.resume=function(){this._canPlay=!0},AudioElement.prototype.setRate=function(s){this.audio.rate(s)},AudioElement.prototype.volume=function(s){this._volumeMultiplier=s,this._previousVolume=s*this._volume,this.audio.volume(this._previousVolume)},AudioElement.prototype.getBaseElement=function(){return null},AudioElement.prototype.destroy=function(){},AudioElement.prototype.sourceRectAtTime=function(){},AudioElement.prototype.initExpressions=function(){},BaseRenderer.prototype.checkLayers=function(s){var a,t,l=this.layers.length;for(this.completeLayers=!0,a=l-1;a>=0;a-=1)this.elements[a]||(t=this.layers[a]).ip-t.st<=s-this.layers[a].st&&t.op-t.st>s-this.layers[a].st&&this.buildItem(a),this.completeLayers=!!this.elements[a]&&this.completeLayers;this.checkPendingElements()},BaseRenderer.prototype.createItem=function(s){switch(s.ty){case 2:return this.createImage(s);case 0:return this.createComp(s);case 1:return this.createSolid(s);case 3:default:return this.createNull(s);case 4:return this.createShape(s);case 5:return this.createText(s);case 6:return this.createAudio(s);case 13:return this.createCamera(s);case 15:return this.createFootage(s)}},BaseRenderer.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},BaseRenderer.prototype.createAudio=function(s){return new AudioElement(s,this.globalData,this)},BaseRenderer.prototype.createFootage=function(s){return new FootageElement(s,this.globalData,this)},BaseRenderer.prototype.buildAllItems=function(){var s,a=this.layers.length;for(s=0;s<a;s+=1)this.buildItem(s);this.checkPendingElements()},BaseRenderer.prototype.includeLayers=function(s){this.completeLayers=!1;var a,t,l=s.length,f=this.layers.length;for(a=0;a<l;a+=1)for(t=0;t<f;){if(this.layers[t].id===s[a].id){this.layers[t]=s[a];break}t+=1}},BaseRenderer.prototype.setProjectInterface=function(s){this.globalData.projectInterface=s},BaseRenderer.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},BaseRenderer.prototype.buildElementParenting=function(s,a,l){for(var t=this.elements,f=this.layers,_=0,S=f.length;_<S;)f[_].ind==a&&(t[_]&&!0!==t[_]?(l.push(t[_]),t[_].setAsParent(),void 0!==f[_].parent?this.buildElementParenting(s,f[_].parent,l):s.setHierarchy(l)):(this.buildItem(_),this.addPendingElement(s))),_+=1},BaseRenderer.prototype.addPendingElement=function(s){this.pendingElements.push(s)},BaseRenderer.prototype.searchExtraCompositions=function(s){var a,l=s.length;for(a=0;a<l;a+=1)if(s[a].xt){var t=this.createComp(s[a]);t.initExpressions(),this.globalData.projectInterface.registerComposition(t)}},BaseRenderer.prototype.getElementById=function(s){var a,l=this.elements.length;for(a=0;a<l;a+=1)if(this.elements[a].data.ind===s)return this.elements[a];return null},BaseRenderer.prototype.getElementByPath=function(s){var l,a=s.shift();if("number"==typeof a)l=this.elements[a];else{var t,f=this.elements.length;for(t=0;t<f;t+=1)if(this.elements[t].data.nm===a){l=this.elements[t];break}}return 0===s.length?l:l.getElementByPath(s)},BaseRenderer.prototype.setupGlobalData=function(s,a){this.globalData.fontManager=new FontManager,this.globalData.fontManager.addChars(s.chars),this.globalData.fontManager.addFonts(s.fonts,a),this.globalData.getAssetData=this.animationItem.getAssetData.bind(this.animationItem),this.globalData.getAssetsPath=this.animationItem.getAssetsPath.bind(this.animationItem),this.globalData.imageLoader=this.animationItem.imagePreloader,this.globalData.audioController=this.animationItem.audioController,this.globalData.frameId=0,this.globalData.frameRate=s.fr,this.globalData.nm=s.nm,this.globalData.compSize={w:s.w,h:s.h}},TransformElement.prototype={initTransform:function(){this.finalTransform={mProp:this.data.ks?TransformPropertyFactory.getTransformProperty(this,this.data.ks,this):{o:0},_matMdf:!1,_opMdf:!1,mat:new Matrix},this.data.ao&&(this.finalTransform.mProp.autoOriented=!0)},renderTransform:function(){if(this.finalTransform._opMdf=this.finalTransform.mProp.o._mdf||this._isFirstFrame,this.finalTransform._matMdf=this.finalTransform.mProp._mdf||this._isFirstFrame,this.hierarchy){var a,l=this.finalTransform.mat,t=0,f=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;t<f;){if(this.hierarchy[t].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}t+=1}if(this.finalTransform._matMdf)for(l.cloneFromProps(a=this.finalTransform.mProp.v.props),t=0;t<f;t+=1)l.transform((a=this.hierarchy[t].finalTransform.mProp.v.props)[0],a[1],a[2],a[3],a[4],a[5],a[6],a[7],a[8],a[9],a[10],a[11],a[12],a[13],a[14],a[15])}},globalToLocal:function(a){var l=[];l.push(this.finalTransform);for(var t=!0,f=this.comp;t;)f.finalTransform?(f.data.hasMask&&l.splice(0,0,f.finalTransform),f=f.comp):t=!1;var _,D,S=l.length;for(_=0;_<S;_+=1)D=l[_].mat.applyToPointArray(0,0,0),a=[a[0]-D[0],a[1]-D[1],0];return a},mHelper:new Matrix},MaskElement.prototype.getMaskProperty=function(s){return this.viewData[s].prop},MaskElement.prototype.renderFrame=function(s){var l,a=this.element.finalTransform.mat,t=this.masksProperties.length;for(l=0;l<t;l+=1)if((this.viewData[l].prop._mdf||s)&&this.drawPath(this.masksProperties[l],this.viewData[l].prop.v,this.viewData[l]),(this.viewData[l].op._mdf||s)&&this.viewData[l].elem.setAttribute("fill-opacity",this.viewData[l].op.v),"n"!==this.masksProperties[l].mode&&(this.viewData[l].invRect&&(this.element.finalTransform.mProp._mdf||s)&&this.viewData[l].invRect.setAttribute("transform",a.getInverseMatrix().to2dCSS()),this.storedData[l].x&&(this.storedData[l].x._mdf||s))){var f=this.storedData[l].expan;this.storedData[l].x.v<0?("erode"!==this.storedData[l].lastOperator&&(this.storedData[l].lastOperator="erode",this.storedData[l].elem.setAttribute("filter","url("+getLocationHref()+"#"+this.storedData[l].filterId+")")),f.setAttribute("radius",-this.storedData[l].x.v)):("dilate"!==this.storedData[l].lastOperator&&(this.storedData[l].lastOperator="dilate",this.storedData[l].elem.setAttribute("filter",null)),this.storedData[l].elem.setAttribute("stroke-width",2*this.storedData[l].x.v))}},MaskElement.prototype.getMaskelement=function(){return this.maskElement},MaskElement.prototype.createLayerSolidPath=function(){var s="M0,0 ";return s+=" h"+this.globalData.compSize.w,s+=" v"+this.globalData.compSize.h,(s+=" h-"+this.globalData.compSize.w)+" v-"+this.globalData.compSize.h+" "},MaskElement.prototype.drawPath=function(s,a,l){var f,_,t=" M"+a.v[0][0]+","+a.v[0][1];for(_=a._length,f=1;f<_;f+=1)t+=" C"+a.o[f-1][0]+","+a.o[f-1][1]+" "+a.i[f][0]+","+a.i[f][1]+" "+a.v[f][0]+","+a.v[f][1];if(a.c&&_>1&&(t+=" C"+a.o[f-1][0]+","+a.o[f-1][1]+" "+a.i[0][0]+","+a.i[0][1]+" "+a.v[0][0]+","+a.v[0][1]),l.lastPath!==t){var S="";
vendor: 4,187 bytes, line 1
1l.elem&&(a.c&&(S=s.inv?this.solidPath+t:t),l.elem.setAttribute("d",S)),l.lastPath=t}},MaskElement.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var filtersFactory=function(){var s={createFilter:function a(t,f){var _=createNS("filter");return _.setAttribute("id",t),!0!==f&&(_.setAttribute("filterUnits","objectBoundingBox"),_.setAttribute("x","0%"),_.setAttribute("y","0%"),_.setAttribute("width","100%"),_.setAttribute("height","100%")),_},createAlphaToLuminanceFilter:function l(){var t=createNS("feColorMatrix");return t.setAttribute("type","matrix"),t.setAttribute("color-interpolation-filters","sRGB"),t.setAttribute("values","0 0 0 1 0  0 0 0 1 0  0 0 0 1 0  0 0 0 1 1"),t}};return s}(),featureSupport=function(){var s={maskType:!0,svgLumaHidden:!0,offscreenCanvas:typeof OffscreenCanvas<"u"};return(/MSIE 10/i.test(navigator.userAgent)||/MSIE 9/i.test(navigator.userAgent)||/rv:11.0/i.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent))&&(s.maskType=!1),/firefox/i.test(navigator.userAgent)&&(s.svgLumaHidden=!1),s}(),registeredEffects={},idPrefix="filter_result_";function SVGEffects(s){var a,D,l="SourceGraphic",t=s.data.ef?s.data.ef.length:0,f=createElementID(),_=filtersFactory.createFilter(f,!0),S=0;for(this.filters=[],a=0;a<t;a+=1){D=null;var M=s.data.ef[a].ty;registeredEffects[M]&&(D=new(0,registeredEffects[M].effect)(_,s.effectsManager.effectElements[a],s,idPrefix+S,l),l=idPrefix+S,registeredEffects[M].countsAsEffect&&(S+=1)),D&&this.filters.push(D)}S&&(s.globalData.defs.appendChild(_),s.layerElement.setAttribute("filter","url("+getLocationHref()+"#"+f+")")),this.filters.length&&s.addRenderableComponent(this)}function registerEffect(s,a,l){registeredEffects[s]={effect:a,countsAsEffect:l}}function SVGBaseElement(){}function HierarchyElement(){}function RenderableDOMElement(){}function IImageElement(s,a,l){this.assetData=a.getAssetData(s.refId),this.initElement(s,a,l),this.sourceRect={top:0,left:0,width:this.assetData.w,height:this.assetData.h}}function ProcessedElement(s,a){this.elem=s,this.pos=a}function IShapeElement(){}SVGEffects.prototype.renderFrame=function(s){var a,l=this.filters.length;for(a=0;a<l;a+=1)this.filters[a].renderFrame(s)},SVGBaseElement.prototype={initRendererElement:function(){this.layerElement=createNS("g")},createContainerElements:function(){this.matteElement=createNS("g"),this.transformedElement=this.layerElement,this.maskedElement=this.layerElement,this._sizeChanged=!1;var a=null;if(this.data.td){this.matteMasks={};var l=createNS("g");l.setAttribute("id",this.layerId),l.appendChild(this.layerElement),a=l,this.globalData.defs.appendChild(l)}else this.data.tt?(this.matteElement.appendChild(this.layerElement),a=this.matteElement,this.baseElement=this.matteElement):this.baseElement=this.layerElement;if(this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),0===this.data.ty&&!this.data.hd){var t=createNS("clipPath"),f=createNS("path");f.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var _=createElementID();if(t.setAttribute("id",_),t.appendChild(f),this.globalData.defs.appendChild(t),this.checkMasks()){var S=createNS("g");S.setAttribute("clip-path","url("+getLocationHref()+"#"+_+")"),S.appendChild(this.layerElement),this.transformedElement=S,a?a.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+_+")")}0!==this.data.bm&&this.setBlendMode()},renderElement:function(){this.finalTransform._matMdf&&this.transformedElement.setAttribute("transform",this.finalTransform.mat.to2dCSS()),this.finalTransform._opMdf&&this.transformedElement.setAttribute("opacity",this.finalTransform.mProp.o.v)},destroyBaseElement:function(){this.layerElement=null,this.matteElement=null,this.maskManager.destroy()},getBaseElement:function(){return this.data.hd?null:this.baseElement},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData),this.renderableEffe
vendor: 9,823 bytes, line 1
1ctsManager=new SVGEffects(this)},getMatte:function(a){if(this.matteMasks||(this.matteMasks={}),!this.matteMasks[a]){var t,f,_,S,l=this.layerId+"_"+a;if(1===a||3===a){var D=createNS("mask");D.setAttribute("id",l),D.setAttribute("mask-type",3===a?"luminance":"alpha"),(_=createNS("use")).setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),D.appendChild(_),this.globalData.defs.appendChild(D),!featureSupport.maskType&&1===a&&(D.setAttribute("mask-type","luminance"),t=createElementID(),f=filtersFactory.createFilter(t),this.globalData.defs.appendChild(f),f.appendChild(filtersFactory.createAlphaToLuminanceFilter()),(S=createNS("g")).appendChild(_),D.appendChild(S),S.setAttribute("filter","url("+getLocationHref()+"#"+t+")"))}else if(2===a){var M=createNS("mask");M.setAttribute("id",l),M.setAttribute("mask-type","alpha");var k=createNS("g");M.appendChild(k),t=createElementID(),f=filtersFactory.createFilter(t);var U=createNS("feComponentTransfer");U.setAttribute("in","SourceGraphic"),f.appendChild(U);var te=createNS("feFuncA");te.setAttribute("type","table"),te.setAttribute("tableValues","1.0 0.0"),U.appendChild(te),this.globalData.defs.appendChild(f);var I=createNS("rect");I.setAttribute("width",this.comp.data.w),I.setAttribute("height",this.comp.data.h),I.setAttribute("x","0"),I.setAttribute("y","0"),I.setAttribute("fill","#ffffff"),I.setAttribute("opacity","0"),k.setAttribute("filter","url("+getLocationHref()+"#"+t+")"),k.appendChild(I),(_=createNS("use")).setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),k.appendChild(_),featureSupport.maskType||(M.setAttribute("mask-type","luminance"),f.appendChild(filtersFactory.createAlphaToLuminanceFilter()),S=createNS("g"),k.appendChild(I),S.appendChild(this.layerElement),k.appendChild(S)),this.globalData.defs.appendChild(M)}this.matteMasks[a]=l}return this.matteMasks[a]},setMatte:function(a){!this.matteElement||this.matteElement.setAttribute("mask","url("+getLocationHref()+"#"+a+")")}},HierarchyElement.prototype={initHierarchy:function(){this.hierarchy=[],this._isParent=!1,this.checkParenting()},setHierarchy:function(a){this.hierarchy=a},setAsParent:function(){this._isParent=!0},checkParenting:function(){void 0!==this.data.parent&&this.comp.buildElementParenting(this,this.data.parent,[])}},extendPrototype([RenderableElement,createProxyFunction({initElement:function(l,t,f){this.initFrame(),this.initBaseData(l,t,f),this.initTransform(l,t,f),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide()},hide:function(){this.hidden||this.isInRange&&!this.isTransparent||((this.baseElement||this.layerElement).style.display="none",this.hidden=!0)},show:function(){this.isInRange&&!this.isTransparent&&(this.data.hd||((this.baseElement||this.layerElement).style.display="block"),this.hidden=!1,this._isFirstFrame=!0)},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},renderInnerContent:function(){},prepareFrame:function(l){this._mdf=!1,this.prepareRenderableFrame(l),this.prepareProperties(l,this.isInRange),this.checkTransparency()},destroy:function(){this.innerElem=null,this.destroyBaseElement()}})],RenderableDOMElement),extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],IImageElement),IImageElement.prototype.createContent=function(){var s=this.globalData.getAssetsPath(this.assetData);this.innerElem=createNS("image"),this.innerElem.setAttribute("width",this.assetData.w+"px"),this.innerElem.setAttribute("height",this.assetData.h+"px"),this.innerElem.setAttribute("preserveAspectRatio",this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio),this.innerElem.setAttributeNS("http://www.w3.org/1999/xlink","href",s),this.layerElement.appendChild(this.innerElem)},IImageElement.prototype.sourceRectAtTime=function(){return this.sourceRect},IShapeElement.prototype={addShapeToModifiers:function(a){var l,t=this.shapeModifiers.length;for(l=0;l<t;l+=1)this.shapeModifiers[l].addShape(a)},isShapeInAnimatedModifiers:function(a){for(var t=this.shapeModifiers.length;0<t;)if(this.shapeModifiers[0].isAnimatedWithShape(a))return!0;return!1},renderModifiers:function(){if(this.shapeModifiers.length){var a,l=this.shapes.length;for(a=0;a<l;a+=1)this.shapes[a].sh.reset();for(a=(l=this.shapeModifiers.length)-1;a>=0&&!this.shapeModifiers[a].processShapes(this._isFirstFrame);a-=1);}},searchProcessedElement:function(a){for(var l=this.processedElements,t=0,f=l.length;t<f;){if(l[t].elem===a)return l[t].pos;t+=1}return 0},addProcessedElement:function(a,l){for(var t=this.processedElements,f=t.length;f;)if(t[f-=1].elem===a)return void(t[f].pos=l);t.push(new ProcessedElement(a,l))},prepareFrame:function(a){this.prepareRenderableFrame(a),this.prepareProperties(a,this.isInRange)}};var lineCapEnum={1:"butt",2:"round",3:"square"},lineJoinEnum={1:"miter",2:"round",3:"bevel"};function SVGShapeData(s,a,l){this.caches=[],this.styles=[],this.transformers=s,this.lStr="",this.sh=l,this.lvl=a,this._isAnimated=!!l.k;for(var t=0,f=s.length;t<f;){if(s[t].mProps.dynamicProperties.length){this._isAnimated=!0;break}t+=1}}function SVGStyleData(s,a){this.data=s,this.type=s.ty,this.d="",this.lvl=a,this._mdf=!1,this.closed=!0===s.hd,this.pElem=createNS("path"),this.msElem=null}function DashProperty(s,a,l,t){this.elem=s,this.frameId=-1,this.dataProps=createSizedArray(a.length),this.renderer=l,this.k=!1,this.dashStr="",this.dashArray=createTypedArray("float32",a.length?a.length-1:0),this.dashoffset=createTypedArray("float32",1),this.initDynamicPropertyContainer(t);var f,S,_=a.length||0;for(f=0;f<_;f+=1)S=PropertyFactory.getProp(s,a[f].v,0,0,this),this.k=S.k||this.k,this.dataProps[f]={n:a[f].n,p:S};this.k||this.getValue(!0),this._isAnimated=this.k}function SVGStrokeStyleData(s,a,l){this.initDynamicPropertyContainer(s),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(s,a.o,0,.01,this),this.w=PropertyFactory.getProp(s,a.w,0,null,this),this.d=new DashProperty(s,a.d||{},"svg",this),this.c=PropertyFactory.getProp(s,a.c,1,255,this),this.style=l,this._isAnimated=!!this._isAnimated}function SVGFillStyleData(s,a,l){this.initDynamicPropertyContainer(s),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(s,a.o,0,.01,this),this.c=PropertyFactory.getProp(s,a.c,1,255,this),this.style=l}function SVGNoStyleData(s,a,l){this.initDynamicPropertyContainer(s),this.getValue=this.iterateDynamicProperties,this.style=l}function GradientProperty(s,a,l){this.data=a,this.c=createTypedArray("uint8c",4*a.p);var t=a.k.k[0].s?a.k.k[0].s.length-4*a.p:a.k.k.length-4*a.p;this.o=createTypedArray("float32",t),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=t,this.initDynamicPropertyContainer(l),this.prop=PropertyFactory.getProp(s,a.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}function SVGGradientFillStyleData(s,a,l){this.initDynamicPropertyContainer(s),this.getValue=this.iterateDynamicProperties,this.initGradientData(s,a,l)}function SVGGradientStrokeStyleData(s,a,l){this.initDynamicPropertyContainer(s),this.getValue=this.iterateDynamicProperties,this.w=PropertyFactory.getProp(s,a.w,0,null,this),this.d=new DashProperty(s,a.d||{},"svg",this),this.initGradientData(s,a,l),this._isAnimated=!!this._isAnimated}function ShapeGroupData(){this.it=[],this.prevViewData=[],this.gr=createNS("g")}function SVGTransformData(s,a,l){this.transform={mProps:s,op:a,container:l},this.elements=[],this._isAnimated=this.transform.mProps.dynamicProperties.length||this.transform.op.effectsSequence.length}SVGShapeData.prototype.setAsAnimated=function(){this._isAnimated=!0},SVGStyleData.prototype.reset=function(){this.d="",this._mdf=!1},DashProperty.prototype.getValue=function(s){if((this.elem.globalData.frameId!==this.frameId||s)&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf=this._mdf||s,this._mdf)){var a=0,l=this.dataProps.length;for("svg"===this.renderer&&(this.dashStr=""),a=0;a<l;a+=1)"o"!==this.dataProps[a].n?"svg"===this.renderer?this.dashStr+=" "+this.dataProps[a].p.v:this.dashArray[a]=this.dataProps[a].p.v:this.dashoffset[0]=this.dataProps[a].p.v}},extendPrototype([DynamicPropertyContainer],DashProperty),extendPrototype([DynamicPropertyContainer],SVGStrokeStyleData),extendPrototype([DynamicPropertyContainer],SVGFillStyleData),extendPrototype([DynamicPropertyContainer],SVGNoStyleData),GradientProperty.prototype.comparePoints=function(s,a){for(var l=0,t=this.o.length/2;l<t;){if(Math.abs(s[4*l]-s[4*a+2*l])>.01)return!1;l+=1}return!0},GradientProperty.prototype.checkCollapsable=function(){if(this.o.length/2!=this.c.length/4)return!1;if(this.data.k.k[0].s)for(var s=0,a=this.data.k.k.length;s<a;){if(!this.comparePoints(this.data.k.k[s].s,this.data.p))return!1;s+=1}else if(!this.comparePoints(this.data.k.k,this.data.p))return!1;return!0},GradientProperty.prototype.getValue=function(s){if(this.prop.getValue(),this._mdf=!1,this._cmdf=!1,this._omdf=!1,this.prop._mdf||s){var a,t,f,l=4*this.data.p;for(a=0;a<l;a+=1)t=a%4==0?100:255,f=Math.round(this.prop.v[a]*t),this.c[a]!==f&&(this.c[a]=f,this._cmdf=!s);if(this.o.length)for(l=this.prop.v.length,a=4*this.data.p;a<l;a+=1)t=a%2==0?100:1,f=a%2==0?Math.round(100*this.prop.v[a]):this.prop.v[a],this.o[a-4*this.data.p]!==f&&(this.o[a-4*this.data.p]=f,this._omdf=!s);this._mdf=!s}},extendPrototype([DynamicPropertyContainer],GradientProperty),SVGGradientFillStyleData.prototype.initGradientData=function(s,a,l){this.o=PropertyFactory.getProp(s,a.o,0,.01,this),this.s=PropertyFactory.getProp(s,a.s,1,null,this),this.e=Pro
vendor: 31,344 bytes, line 1
1pertyFactory.getProp(s,a.e,1,null,this),this.h=PropertyFactory.getProp(s,a.h||{k:0},0,.01,this),this.a=PropertyFactory.getProp(s,a.a||{k:0},0,degToRads,this),this.g=new GradientProperty(s,a.g,this),this.style=l,this.stops=[],this.setGradientData(l.pElem,a),this.setGradientOpacity(a,l),this._isAnimated=!!this._isAnimated},SVGGradientFillStyleData.prototype.setGradientData=function(s,a){var l=createElementID(),t=createNS(1===a.t?"linearGradient":"radialGradient");t.setAttribute("id",l),t.setAttribute("spreadMethod","pad"),t.setAttribute("gradientUnits","userSpaceOnUse");var _,S,D,f=[];for(D=4*a.g.p,S=0;S<D;S+=4)_=createNS("stop"),t.appendChild(_),f.push(_);s.setAttribute("gf"===a.ty?"fill":"stroke","url("+getLocationHref()+"#"+l+")"),this.gf=t,this.cst=f},SVGGradientFillStyleData.prototype.setGradientOpacity=function(s,a){if(this.g._hasOpacity&&!this.g._collapsable){var l,t,f,_=createNS("mask"),S=createNS("path");_.appendChild(S);var D=createElementID(),M=createElementID();_.setAttribute("id",M);var k=createNS(1===s.t?"linearGradient":"radialGradient");k.setAttribute("id",D),k.setAttribute("spreadMethod","pad"),k.setAttribute("gradientUnits","userSpaceOnUse"),f=s.g.k.k[0].s?s.g.k.k[0].s.length:s.g.k.k.length;var U=this.stops;for(t=4*s.g.p;t<f;t+=2)(l=createNS("stop")).setAttribute("stop-color","rgb(255,255,255)"),k.appendChild(l),U.push(l);S.setAttribute("gf"===s.ty?"fill":"stroke","url("+getLocationHref()+"#"+D+")"),"gs"===s.ty&&(S.setAttribute("stroke-linecap",lineCapEnum[s.lc||2]),S.setAttribute("stroke-linejoin",lineJoinEnum[s.lj||2]),1===s.lj&&S.setAttribute("stroke-miterlimit",s.ml)),this.of=k,this.ms=_,this.ost=U,this.maskId=M,a.msElem=S}},extendPrototype([DynamicPropertyContainer],SVGGradientFillStyleData),extendPrototype([SVGGradientFillStyleData,DynamicPropertyContainer],SVGGradientStrokeStyleData);var buildShapeString=function(a,l,t,f){if(0===l)return"";var M,_=a.o,S=a.i,D=a.v,k=" M"+f.applyToPointStringified(D[0][0],D[0][1]);for(M=1;M<l;M+=1)k+=" C"+f.applyToPointStringified(_[M-1][0],_[M-1][1])+" "+f.applyToPointStringified(S[M][0],S[M][1])+" "+f.applyToPointStringified(D[M][0],D[M][1]);return t&&l&&(k+=" C"+f.applyToPointStringified(_[M-1][0],_[M-1][1])+" "+f.applyToPointStringified(S[0][0],S[0][1])+" "+f.applyToPointStringified(D[0][0],D[0][1]),k+="z"),k},SVGElementsRenderer=function(){var s=new Matrix,a=new Matrix;function f(te,I,z){(z||I.transform.op._mdf)&&I.transform.container.setAttribute("opacity",I.transform.op.v),(z||I.transform.mProps._mdf)&&I.transform.container.setAttribute("transform",I.transform.mProps.v.to2dCSS())}function _(){}function S(te,I,z){var H,ee,ae,V,Y,N,J,pe,me,Fe,He,O=I.styles.length,X=I.lvl;for(N=0;N<O;N+=1){if(V=I.sh._mdf||z,I.styles[N].lvl<X){for(pe=a.reset(),Fe=X-I.styles[N].lvl,He=I.transformers.length-1;!V&&Fe>0;)V=I.transformers[He].mProps._mdf||V,Fe-=1,He-=1;if(V)for(Fe=X-I.styles[N].lvl,He=I.transformers.length-1;Fe>0;)pe.transform((me=I.transformers[He].mProps.v.props)[0],me[1],me[2],me[3],me[4],me[5],me[6],me[7],me[8],me[9],me[10],me[11],me[12],me[13],me[14],me[15]),Fe-=1,He-=1}else pe=s;if(ee=(J=I.sh.paths)._length,V){for(ae="",H=0;H<ee;H+=1)(Y=J.shapes[H])&&Y._length&&(ae+=buildShapeString(Y,Y._length,Y.c,pe));I.caches[N]=ae}else ae=I.caches[N];I.styles[N].d+=!0===te.hd?"":ae,I.styles[N]._mdf=V||I.styles[N]._mdf}}function D(te,I,z){var H=I.style;(I.c._mdf||z)&&H.pElem.setAttribute("fill","rgb("+bmFloor(I.c.v[0])+","+bmFloor(I.c.v[1])+","+bmFloor(I.c.v[2])+")"),(I.o._mdf||z)&&H.pElem.setAttribute("fill-opacity",I.o.v)}function M(te,I,z){k(te,I,z),U(0,I,z)}function k(te,I,z){var X,J,pe,me,xe,H=I.gf,ee=I.g._hasOpacity,ae=I.s.v,V=I.e.v;if((I.o._mdf||z)&&I.style.pElem.setAttribute("gf"===te.ty?"fill-opacity":"stroke-opacity",I.o.v),I.s._mdf||z){var N=1===te.t?"x1":"cx",O="x1"===N?"y1":"cy";H.setAttribute(N,ae[0]),H.setAttribute(O,ae[1]),ee&&!I.g._collapsable&&(I.of.setAttribute(N,ae[0]),I.of.setAttribute(O,ae[1]))}if(I.g._cmdf||z){var Fe=I.g.c;for(pe=(X=I.cst).length,J=0;J<pe;J+=1)(me=X[J]).setAttribute("offset",Fe[4*J]+"%"),me.setAttribute("stop-color","rgb("+Fe[4*J+1]+","+Fe[4*J+2]+","+Fe[4*J+3]+")")}if(ee&&(I.g._omdf||z)){var He=I.g.o;for(pe=(X=I.g._collapsable?I.cst:I.ost).length,J=0;J<pe;J+=1)me=X[J],I.g._collapsable||me.setAttribute("offset",He[2*J]+"%"),me.setAttribute("stop-opacity",He[2*J+1])}if(1===te.t)(I.e._mdf||z)&&(H.setAttribute("x2",V[0]),H.setAttribute("y2",V[1]),ee&&!I.g._collapsable&&(I.of.setAttribute("x2",V[0]),I.of.setAttribute("y2",V[1])));else if((I.s._mdf||I.e._mdf||z)&&(xe=Math.sqrt(Math.pow(ae[0]-V[0],2)+Math.pow(ae[1]-V[1],2)),H.setAttribute("r",xe),ee&&!I.g._collapsable&&I.of.setAttribute("r",xe)),I.e._mdf||I.h._mdf||I.a._mdf||z){xe||(xe=Math.sqrt(Math.pow(ae[0]-V[0],2)+Math.pow(ae[1]-V[1],2)));var Ne=Math.atan2(V[1]-ae[1],V[0]-ae[0]),ze=I.h.v;ze>=1?ze=.99:ze<=-1&&(ze=-.99);var ke=xe*ze,De=Math.cos(Ne+I.a.v)*ke+ae[0],Ce=Math.sin(Ne+I.a.v)*ke+ae[1];H.setAttribute("fx",De),H.setAttribute("fy",Ce),ee&&!I.g._collapsable&&(I.of.setAttribute("fx",De),I.of.setAttribute("fy",Ce))}}function U(te,I,z){var H=I.style,ee=I.d;ee&&(ee._mdf||z)&&ee.dashStr&&(H.pElem.setAttribute("stroke-dasharray",ee.dashStr),H.pElem.setAttribute("stroke-dashoffset",ee.dashoffset[0])),I.c&&(I.c._mdf||z)&&H.pElem.setAttribute("stroke","rgb("+bmFloor(I.c.v[0])+","+bmFloor(I.c.v[1])+","+bmFloor(I.c.v[2])+")"),(I.o._mdf||z)&&H.pElem.setAttribute("stroke-opacity",I.o.v),(I.w._mdf||z)&&(H.pElem.setAttribute("stroke-width",I.w.v),H.msElem&&H.msElem.setAttribute("stroke-width",I.w.v))}return{createRenderFunction:function t(te){switch(te.ty){case"fl":return D;case"gf":return k;case"gs":return M;case"st":return U;case"sh":case"el":case"rc":case"sr":return S;case"tr":return f;case"no":return _;default:return null}}}}();function SVGShapeElement(s,a,l){this.shapes=[],this.shapesData=s.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(s,a,l),this.prevViewData=[]}function LetterProps(s,a,l,t,f,_){this.o=s,this.sw=a,this.sc=l,this.fc=t,this.m=f,this.p=_,this._mdf={o:!0,sw:!!a,sc:!!l,fc:!!t,m:!0,p:!0}}function TextProperty(s,a){this._frameId=initialDefaultFrame,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,this.data=a,this.elem=s,this.comp=this.elem.comp,this.keysIndex=0,this.canResize=!1,this.minimumFontSize=1,this.effectsSequence=[],this.currentData={ascent:0,boxWidth:this.defaultBoxWidth,f:"",fStyle:"",fWeight:"",fc:"",j:"",justifyOffset:"",l:[],lh:0,lineWidths:[],ls:"",of:"",s:"",sc:"",sw:0,t:0,tr:0,sz:0,ps:null,fillColorAnim:!1,strokeColorAnim:!1,strokeWidthAnim:!1,yOffset:0,finalSize:0,finalText:[],finalLineHeight:0,__complete:!1},this.copyData(this.currentData,this.data.d.k[0].s),this.searchProperty()||this.completeTextData(this.currentData)}extendPrototype([BaseElement,TransformElement,SVGBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableDOMElement],SVGShapeElement),SVGShapeElement.prototype.initSecondaryElement=function(){},SVGShapeElement.prototype.identityMatrix=new Matrix,SVGShapeElement.prototype.buildExpressionInterface=function(){},SVGShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes()},SVGShapeElement.prototype.filterUniqueShapes=function(){var s,l,t,_,a=this.shapes.length,f=this.stylesList.length,S=[],D=!1;for(t=0;t<f;t+=1){for(_=this.stylesList[t],D=!1,S.length=0,s=0;s<a;s+=1)-1!==(l=this.shapes[s]).styles.indexOf(_)&&(S.push(l),D=l._isAnimated||D);S.length>1&&D&&this.setShapesAsAnimated(S)}},SVGShapeElement.prototype.setShapesAsAnimated=function(s){var a,l=s.length;for(a=0;a<l;a+=1)s[a].setAsAnimated()},SVGShapeElement.prototype.createStyleElement=function(s,a){var l,t=new SVGStyleData(s,a),f=t.pElem;return"st"===s.ty?l=new SVGStrokeStyleData(this,s,t):"fl"===s.ty?l=new SVGFillStyleData(this,s,t):"gf"===s.ty||"gs"===s.ty?(l=new("gf"===s.ty?SVGGradientFillStyleData:SVGGradientStrokeStyleData)(this,s,t),this.globalData.defs.appendChild(l.gf),l.maskId&&(this.globalData.defs.appendChild(l.ms),this.globalData.defs.appendChild(l.of),f.setAttribute("mask","url("+getLocationHref()+"#"+l.maskId+")"))):"no"===s.ty&&(l=new SVGNoStyleData(this,s,t)),("st"===s.ty||"gs"===s.ty)&&(f.setAttribute("stroke-linecap",lineCapEnum[s.lc||2]),f.setAttribute("stroke-linejoin",lineJoinEnum[s.lj||2]),f.setAttribute("fill-opacity","0"),1===s.lj&&f.setAttribute("stroke-miterlimit",s.ml)),2===s.r&&f.setAttribute("fill-rule","evenodd"),s.ln&&f.setAttribute("id",s.ln),s.cl&&f.setAttribute("class",s.cl),s.bm&&(f.style["mix-blend-mode"]=getBlendMode(s.bm)),this.stylesList.push(t),this.addToAnimatedContents(s,l),l},SVGShapeElement.prototype.createGroupElement=function(s){var a=new ShapeGroupData;return s.ln&&a.gr.setAttribute("id",s.ln),s.cl&&a.gr.setAttribute("class",s.cl),s.bm&&(a.gr.style["mix-blend-mode"]=getBlendMode(s.bm)),a},SVGShapeElement.prototype.createTransformElement=function(s,a){var l=TransformPropertyFactory.getTransformProperty(this,s,this),t=new SVGTransformData(l,l.o,a);return this.addToAnimatedContents(s,t),t},SVGShapeElement.prototype.createShapeElement=function(s,a,l){var t=4;"rc"===s.ty?t=5:"el"===s.ty?t=6:"sr"===s.ty&&(t=7);var _=new SVGShapeData(a,l,ShapePropertyFactory.getShapeProp(this,s,t,this));return this.shapes.push(_),this.addShapeToModifiers(_),this.addToAnimatedContents(s,_),_},SVGShapeElement.prototype.addToAnimatedContents=function(s,a){for(var l=0,t=this.animatedContents.length;l<t;){if(this.animatedContents[l].element===a)return;l+=1}this.animatedContents.push({fn:SVGElementsRenderer.createRenderFunction(s),element:a,data:s})},SVGShapeElement.prototype.setElementStyles=function(s){var l,a=s.styles,t=this.stylesList.length;for(l=0;l<t;l+=1)this.stylesList[l].closed||a.push(this.stylesList[l])},SVGShapeElement.prototype.reloadShapes=function(){this._isFirstFrame=!0;var s,a=this.itemsData.length;for(s=0;s<a;s+=1)this.prevViewData[s]=this.itemsData[s];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),a=this.dynamicProperties.length,s=0;s<a;s+=1)this.dynamicProperties[s].getValue();this.renderModifiers()},SVGShapeElement.prototype.searchShapes=function(s,a,l,t,f,_,S){var M,U,te,ee,ae,D=[].concat(_),k=s.length-1,I=[],z=[];for(M=k;M>=0;M-=1){if((ae=this.searchProcessedElement(s[M]))?a[M]=l[ae-1]:s[M]._render=S,"fl"===s[M].ty||"st"===s[M].ty||"gf"===s[M].ty||"gs"===s[M].ty||"no"===s[M].ty)ae?a[M].style.closed=!1:a[M]=this.createStyleElement(s[M],f),s[M]._render&&a[M].style.pElem.parentNode!==t&&t.appendChild(a[M].style.pElem),I.push(a[M].style);else if("gr"===s[M].ty){if(ae)for(te=a[M].it.length,U=0;U<te;U+=1)a[M].prevViewData[U]=a[M].it[U];else a[M]=this.createGroupElement(s[M]);this.searchShapes(s[M].it,a[M].it,a[M].prevViewData,a[M].gr,f+1,D,S),s[M]._render&&a[M].gr.parentNode!==t&&t.appendChild(a[M].gr)}else"tr"===s[M].ty?(ae||(a[M]=this.createTransformElement(s[M],t)),D.push(a[M].transform)):"sh"===s[M].ty||"rc"===s[M].ty||"el"===s[M].ty||"sr"===s[M].ty?(ae||(a[M]=this.createShapeElement(s[M],D,f)),this.setElementStyles(a[M])):"tm"===s[M].ty||"rd"===s[M].ty||"ms"===s[M].ty||"pb"===s[M].ty||"zz"===s[M].ty||"op"===s[M].ty?(ae?(ee=a[M]).closed=!1:((ee=ShapeModifiers.getModifier(s[M].ty)).init(this,s[M]),a[M]=ee,this.shapeModifiers.push(ee)),z.push(ee)):"rp"===s[M].ty&&(ae?(ee=a[M]).closed=!0:(ee=ShapeModifiers.getModifier(s[M].ty),a[M]=ee,ee.init(this,s,M,a),this.shapeModifiers.push(ee),S=!1),z.push(ee));this.addProcessedElement(s[M],M+1)}for(k=I.length,M=0;M<k;M+=1)I[M].closed=!0;for(k=z.length,M=0;M<k;M+=1)z[M].closed=!0},SVGShapeElement.prototype.renderInnerContent=function(){this.renderModifiers();var s,a=this.stylesList.length;for(s=0;s<a;s+=1)this.stylesList[s].reset();for(this.renderShape(),s=0;s<a;s+=1)(this.stylesList[s]._mdf||this._isFirstFrame)&&(this.stylesList[s].msElem&&(this.stylesList[s].msElem.setAttribute("d",this.stylesList[s].d),this.stylesList[s].d="M0 0"+this.stylesList[s].d),this.stylesList[s].pElem.setAttribute("d",this.stylesList[s].d||"M0 0"))},SVGShapeElement.prototype.renderShape=function(){var s,l,a=this.animatedContents.length;for(s=0;s<a;s+=1)l=this.animatedContents[s],(this._isFirstFrame||l.element._isAnimated)&&!0!==l.data&&l.fn(l.data,l.element,this._isFirstFrame)},SVGShapeElement.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null},LetterProps.prototype.update=function(s,a,l,t,f,_){this._mdf.o=!1,this._mdf.sw=!1,this._mdf.sc=!1,this._mdf.fc=!1,this._mdf.m=!1,this._mdf.p=!1;var S=!1;return this.o!==s&&(this.o=s,this._mdf.o=!0,S=!0),this.sw!==a&&(this.sw=a,this._mdf.sw=!0,S=!0),this.sc!==l&&(this.sc=l,this._mdf.sc=!0,S=!0),this.fc!==t&&(this.fc=t,this._mdf.fc=!0,S=!0),this.m!==f&&(this.m=f,this._mdf.m=!0,S=!0),_.length&&(this.p[0]!==_[0]||this.p[1]!==_[1]||this.p[4]!==_[4]||this.p[5]!==_[5]||this.p[12]!==_[12]||this.p[13]!==_[13])&&(this.p=_,this._mdf.p=!0,S=!0),S},TextProperty.prototype.defaultBoxWidth=[0,0],TextProperty.prototype.copyData=function(s,a){for(var l in a)Object.prototype.hasOwnProperty.call(a,l)&&(s[l]=a[l]);return s},TextProperty.prototype.setCurrentData=function(s){s.__complete||this.completeTextData(s),this.currentData=s,this.currentData.boxWidth=this.currentData.boxWidth||this.defaultBoxWidth,this._mdf=!0},TextProperty.prototype.searchProperty=function(){return this.searchKeyframes()},TextProperty.prototype.searchKeyframes=function(){return this.kf=this.data.d.k.length>1,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},TextProperty.prototype.addEffect=function(s){this.effectsSequence.push(s),this.elem.addDynamicProperty(this)},TextProperty.prototype.getValue=function(s){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length||s){this.currentData.t=this.data.d.k[this.keysIndex].s.t;var a=this.currentData,l=this.keysIndex;if(this.lock)return void this.setCurrentData(this.currentData);this.lock=!0,this._mdf=!1;var t,f=this.effectsSequence.length,_=s||this.data.d.k[this.keysIndex].s;for(t=0;t<f;t+=1)_=this.effectsSequence[t](l!==this.keysIndex?_:this.currentData,_.t);a!==_&&this.setCurrentData(_),this.v=this.currentData,this.pv=this.v,this.lock=!1,this.frameId=this.elem.globalData.frameId}},TextProperty.prototype.getKeyframeValue=function(){for(var s=this.data.d.k,a=this.elem.comp.renderedFrame,l=0,t=s.length;l<=t-1&&!(l===t-1||s[l+1].t>a);)l+=1;return this.keysIndex!==l&&(this.keysIndex=l),this.data.d.k[this.keysIndex].s},TextProperty.prototype.buildFinalText=function(s){for(var f,_,a=[],l=0,t=s.length,S=!1;l<t;)f=s.charCodeAt(l),FontManager.isCombinedCharacter(f)?a[a.length-1]+=s.charAt(l):f>=55296&&f<=56319?(_=s.charCodeAt(l+1))>=56320&&_<=57343?(S||FontManager.isModifier(f,_)?(a[a.length-1]+=s.substr(l,2),S=!1):a.push(s.substr(l,2)),l+=1):a.push(s.charAt(l)):f>56319?(_=s.charCodeAt(l+1),FontManager.isZeroWidthJoiner(f,_)?(S=!0,a[a.length-1]+=s.substr(l,2),l+=1):a.push(s.charAt(l))):FontManager.isZeroWidthJoiner(f)?(a[a.length-1]+=s.charAt(l),S=!0):a.push(s.charAt(l)),l+=1;return a},TextProperty.prototype.completeTextData=function(s){s.__complete=!0;var f,_,S,M,ae,V,N,a=this.elem.globalData.fontManager,l=this.data,t=[],D=0,k=l.m.g,U=0,te=0,I=0,z=[],H=0,ee=0,Y=a.getFontByName(s.f),O=0,X=getFontProperties(Y);s.fWeight=X.weight,s.fStyle=X.style,s.finalSize=s.s,s.finalText=this.buildFinalText(s.t),_=s.finalText.length,s.finalLineHeight=s.lh;var pe,J=s.tr/1e3*s.finalSize;if(s.sz)for(var xe,Ne,me=!0,Fe=s.sz[0],He=s.sz[1];me;){xe=0,H=0,_=(Ne=this.buildFinalText(s.t)).length,J=s.tr/1e3*s.finalSize;var ze=-1;for(f=0;f<_;f+=1)pe=Ne[f].charCodeAt(0),S=!1," "===Ne[f]?ze=f:(13===pe||3===pe)&&(H=0,S=!0,xe+=s.finalLineHeight||1.2*s.finalSize),a.chars?(N=a.getCharData(Ne[f],Y.fStyle,Y.fFamily),O=S?0:N.w*s.finalSize/100):O=a.measureText(Ne[f],s.f,s.finalSize),H+O>Fe&&" "!==Ne[f]?(-1===ze?_+=1:f=ze,xe+=s.finalLineHeight||1.2*s.finalSize,Ne.splice(f,ze===f?1:0,"\r"),ze=-1,H=0):(H+=O,H+=J);xe+=Y.ascent*s.finalSize/100,this.canResize&&s.finalSize>this.minimumFontSize&&He<xe?(s.finalSize-=1,s.finalLineHeight=s.finalSize*s.lh/s.s):(s.finalText=Ne,_=s.finalText.length,me=!1)}H=-J,O=0;var De,ke=0;for(f=0;f<_;f+=1)if(S=!1,13===(pe=(De=s.finalText[f]).charCodeAt(0))||3===pe?(ke=0,z.push(H),ee=H>ee?H:ee,H=-2*J,M="",S=!0,I+=1):M=De,a.chars?(N=a.getCharData(De,Y.fStyle,a.getFontByName(s.f).fFamily),O=S?0:N.w*s.finalSize/100):O=a.measureText(M,s.f,s.finalSize)," "===De?ke+=O+J:(H+=O+J+ke,ke=0),t.push({l:O,an:O,add:U,n:S,anIndexes:[],val:M,line:I,animatorJustifyOffset:0}),2==k){if(U+=O,""===M||" "===M||f===_-1){for((""===M||" "===M)&&(U-=O);te<=f;)t[te].an=U,t[te].ind=D,t[te].extra=O,te+=1;D+=1,U=0}}else if(3==k){if(U+=O,""===M||f===_-1){for(""===M&&(U-=O);te<=f;)t[te].an=U,t[te].ind=D,t[te].extra=O,te+=1;U=0,D+=1}}else t[D].ind=D,t[D].extra=0,D+=1;if(s.l=t,ee=H>ee?H:ee,z.push(H),s.sz)s.boxWidth=s.sz[0],s.justifyOffset=0;else switch(s.boxWidth=ee,s.j){case 1:s.justifyOffset=-s.boxWidth;break;case 2:s.justifyOffset=-s.boxWidth/2;break;default:s.justifyOffset=0}s.lineWidths=z;var oe,he,Ce=l.a;V=Ce.length;var be,tt,st=[];for(ae=0;ae<V;ae+=1){for((oe=Ce[ae]).a.sc&&(s.strokeColorAnim=!0),oe.a.sw&&(s.strokeWidthAnim=!0),(oe.a.fc||oe.a.fh||oe.a.fs||oe.a.fb)&&(s.fillColorAnim=!0),tt=0,be=oe.s.b,f=0;f<_;f+=1)(he=t[f]).anIndexes[ae]=tt,(1==be&&""!==he.val||2==be&&""!==he.val&&" "!==he.val||3==be&&(he.n||" "==he.val||f==_-1)||4==be&&(he.n||f==_-1))&&(1===oe.s.rn&&st.push(tt),tt+=1);l.a[ae].s.totalChars=tt;var Wt,jt=-1;if(1===oe.s.rn)for(f=0;f<_;f+=1)jt!=(he=t[f]).anIndexes[ae]&&(jt=he.anIndexes[ae],Wt=st.splice(Math.floor(Math.random()*st.length),1)[0]),he.anIndexes[ae]=Wt}s.yOffset=s.finalLineHeight||1.2*s.finalSize,s.ls=s.ls||0,s.ascent=Y.ascent*s.finalSize/100},TextProperty.prototype.updateDocumentData=function(s,a){var l=this.copyData({},this.data.d.k[a=void 0===a?this.keysIndex:a].s);l=this.copyData(l,s),this.data.d.k[a].s=l,this.recalculate(a),this.elem.addDynamicProperty(this)},TextProperty.prototype.recalculate=function(s){var a=this.data.d.k[s].s;a.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(a)},TextProperty.prototype.canResizeFont=function(s){this.canResize=s,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)},TextProperty.prototype.setMinimumFontSize=function(s){this.minimumFontSize=Math.floor(s)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};var TextSelectorProp=function(){var s=Math.max,a=Math.min,l=Math.floor;function t(_,S){this._currentTextLength=-1,this.k=!1,this.data=S,this.elem=_,this.comp=_.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(_),this.s=PropertyFactory.getProp(_,S.s||{k:0},0,0,this),this.e="e"in S?PropertyFactory.getProp(_,S.e,0,0,this):{v:100},this.o=PropertyFactory.getProp(_,S.o||{k:0},0,0,this),this.xe=PropertyFactory.getProp(_,S.xe||{k:0},0,0,this),this.ne=PropertyFactory.getProp(_,S.ne||{k:0},0,0,this),this.sm=PropertyFactory.getProp(_,S.sm||{k:100},0,0,this),this.a=PropertyFactory.getProp(_,S.a,0,.01,this),this.dynamicProperties.length||this.getValue()}return t.prototype={getMult:function(S){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var D=0,M=0,k=1,U=1;this.ne.v>0?D=this.ne.v/100:M=-this.ne.v/100,this.xe.v>0?k=1-this.xe.v/100:U=1+this.xe.v/100;var te=BezierFactory.getBezierEasing(D,M,k,U).get,I=0,z=this.finalS,H=this.finalE,ee=this.data.sh;if(2===ee)I=te(I=H===z?S>=H?1:0:s(0,a(.5/(H-z)+(S-z)/(H-z),1)));else if(3===ee)I=te(I=H===z?S>=H?0:1:1-s(0,a(.5/(H-z)+(S-z)/(H-z),1)));else if(4===ee)H===z?I=0:(I=s(0,a(.5/(H-z)+(S-z)/(H-z),1)))<.5?I*=2:I=1-2*(I-.5),I=te(I);else if(5===ee){if(H===z)I=0;else{var ae=H-z,V=-ae/2+(S=a(s(0,S+.5-z),H-z)),Y=ae/2;I=Math.sqrt(1-V*V/(Y*Y))}I=te(I)}else 6===ee?(H===z?I=0:(S=a(s(0,S+.5-z),H-z),I=(1+Math.cos(Math.PI+2*Math.PI*S/(H-z)))/2),I=te(I)):(S>=l(z)&&(I=s(0,a(S-z<0?a(H,1)-(z-S):H-S,1))),I=te(I));if(100!==this.sm.v){var N=.01*this.sm.v;0===N&&(N=1e-8);var O=.5-.5*N;I<O?I=0:(I=(I-O)/N)>1&&(I=1)}return I*this.a.v},getValue:function(S){this.iterateDynamicProperties(),this._mdf=S||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,S&&2===this.data.r&&(this.e.v=this._currentTextLength);var D=2===this.data.r?1:100/this.data.totalChars,M=this.o.v/D,k=this.s.v/D+M,U=this.e.v/D+M;if(k>U){var te=k;k=U,U=te}this.finalS=k,this.finalE=U}},extendPrototype([DynamicPropertyContainer],t),{getTextSelectorProp:function f(_,S,D){return new t(_,S,D)}}}();function TextAnimatorDataProperty(s,a,l){var t={propType:!1},f=PropertyFactory.getProp,_=a.a;this.a={r:_.r?f(s,_.r,0,degToRads,l):t,rx:_.rx?f(s,_.rx,0,degToRads,l):t,ry:_.ry?f(s,_.ry,0,degToRads,l):t,sk:_.sk?f(s,_.sk,0,degToRads,l):t,sa:_.sa?f(s,_.sa,0,degToRads,l):t,s:_.s?f(s,_.s,1,.01,l):t,a:_.a?f(s,_.a,1,0,l):t,o:_.o?f(s,_.o,0,.01,l):t,p:_.p?f(s,_.p,1,0,l):t,sw:_.sw?f(s,_.sw,0,0,l):t,sc:_.sc?f(s,_.sc,1,0,l):t,fc:_.fc?f(s,_.fc,1,0,l):t,fh:_.fh?f(s,_.fh,0,0,l):t,fs:_.fs?f(s,_.fs,0,.01,l):t,fb:_.fb?f(s,_.fb,0,.01,l):t,t:_.t?f(s,_.t,0,0,l):t},this.s=TextSelectorProp.getTextSelectorProp(s,a.s,l),this.s.t=a.s.t}function TextAnimatorProperty(s,a,l){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=s,this._renderType=a,this._elem=l,this._animatorsData=createSizedArray(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(l)}function ITextElement(){}TextAnimatorProperty.prototype.searchProperties=function(){var s,a=this._textData.a.length,t=PropertyFactory.getProp;for(s=0;s<a;s+=1)this._animatorsData[s]=new TextAnimatorDataProperty(this._elem,this._textData.a[s],this);this._textData.p&&"m"in this._textData.p?(this._pathData={a:t(this._elem,this._textData.p.a,0,0,this),f:t(this._elem,this._textData.p.f,0,0,this),l:t(this._elem,this._textData.p.l,0,0,this),r:t(this._elem,this._textData.p.r,0,0,this),p:t(this._elem,this._textData.p.p,0,0,this),m:this._elem.maskManager.getMaskProperty(this._textData.p.m)},this._hasMaskedPath=!0):this._hasMaskedPath=!1,this._moreOptions.alignment=t(this._elem,this._textData.m.a,1,0,this)},TextAnimatorProperty.prototype.getMeasures=function(s,a){if(this.lettersChangedFlag=a,this._mdf||this._isFirstFrame||a||this._hasMaskedPath&&this._pathData.m._mdf){this._isFirstFrame=!1;var M,k,U,te,z,H,ee,ae,V,Y,N,O,X,J,pe,me,Fe,xe,l=this._moreOptions.alignment.v,t=this._animatorsData,f=this._textData,_=this.mHelper,S=this._renderType,D=this.renderedLetters.length,I=s.l;if(this._hasMaskedPath){if(xe=this._pathData.m,!this._pathData.n||this._pathData._mdf){var ze,Ne=xe.v;for(this._pathData.r.v&&(Ne=Ne.reverse()),z={tLength:0,segments:[]},te=Ne._length-1,me=0,U=0;U<te;U+=1)ze=bez.buildBezierData(Ne.v[U],Ne.v[U+1],[Ne.o[U][0]-Ne.v[U][0],Ne.o[U][1]-Ne.v[U][1]],[Ne.i[U+1][0]-Ne.v[U+1][0],Ne.i[U+1][1]-Ne.v[U+1][1]]),z.tLength+=ze.segmentLength,z.segments.push(ze),me+=ze.segmentLength;U=te,xe.v.c&&(ze=bez.buildBezierData(Ne.v[U],Ne.v[0],[Ne.o[U][0]-Ne.v[U][0],Ne.o[U][1]-Ne.v[U][1]],[Ne.i[0][0]-Ne.v[0][0],Ne.i[0][1]-Ne.v[0][1]]),z.tLength+=ze.segmentLength,z.segments.push(ze),me+=ze.segmentLength),this._pathData.pi=z}if(N=0,Y=1,ae=0,V=!0,J=(z=this._pathData.pi).segments,(H=this._pathData.f.v)<0&&xe.v.c)for(z.tLength<Math.abs(H)&&(H=-Math.abs(H)%z.tLength),Y=(X=J[N=J.length-1].points).length-1;H<0;)H+=X[Y].partialLength,(Y-=1)<0&&(Y=(X=J[N-=1].points).length-1);O=(X=J[N].points)[Y-1],pe=(ee=X[Y]).partialLength}te=I.length,M=0,k=0;var Ce,he,be,tt,ke=1.2*s.finalSize*.714,De=!0;be=t.length;var st,Wt,Ut,Et,Er,_n,Nn,Bt,Hn,un,dr,nr,Sn,jt=-1,dn=H,rn=N,gn=Y,Xt=-1,$n="",Wn=this.defaultPropsArray;if(2===s.j||1===s.j){var tr=0,fn=0,cn=2===s.j?-.5:-1,Fn=0,Ln=!0;for(U=0;U<te;U+=1)if(I[U].n){for(tr&&(tr+=fn);Fn<U;)I[Fn].animatorJustifyOffset=tr,Fn+=1;tr=0,Ln=!0}else{for(he=0;he<be;he+=1)(Ce=t[he].a).t.propType&&(Ln&&2===s.j&&(fn+=Ce.t.v*cn),tr+=(st=t[he].s.getMult(I[U].anIndexes[he],f.a[he].s.totalChars)).length?Ce.t.v*st[0]*cn:Ce.t.v*st*cn);Ln=!1}for(tr&&(tr+=fn);Fn<U;)I[Fn].animatorJustifyOffset=tr,Fn+=1}for(U=0;U<te;U+=1){if(_.reset(),Er=1,I[U].n)M=0,k+=s.yOffset,k+=De?1:0,H=dn,De=!1,this._hasMaskedPath&&(O=(X=J[N=rn].points)[(Y=gn)-1],pe=(ee=X[Y]).partialLength,ae=0),$n="",nr="",un="",Sn="",Wn=this.defaultPropsArray;else{if(this._hasMaskedPath){if(Xt!==I[U].line){switch(s.j){case 1:H+=me-s.lineWidths[I[U].line];break;case 2:H+=(me-s.lineWidths[I[U].line])/2}Xt=I[U].line}jt!==I[U].ind&&(I[jt]&&(H+=I[jt].extra),H+=I[U].an/2,jt=I[U].ind),H+=l[0]*I[U].an*.005;var hr=0;for(he=0;he<be;he+=1)(Ce=t[he].a).p.propType&&(hr+=(st=t[he].s.getMult(I[U].anIndexes[he],f.a[he].s.totalChars)).length?Ce.p.v[0]*st[0]:Ce.p.v[0]*st),Ce.a.propType&&(hr+=(st=t[he].s.getMult(I[U].anIndexes[he],f.a[he].s.totalChars)).length?Ce.a.v[0]*st[0]:Ce.a.v[0]*st);for(V=!0,this._pathData.a.v&&(H=.5*I[0].an+(me-this._pathData.f.v-.5*I[0].an-.5*I[I.length-1].an)*jt/(te-1),H+=this._pathData.f.v);V;)ae+pe>=H+hr||!X?(Ut=O.point[0]+(ee.point[0]-O.point[0])*(Fe=(H+hr-ae)/ee.partialLength),Et=O.point[1]+(ee.point[1]-O.point[1])*Fe,_.translate(-l[0]*I[U].an*.005,-l[1]*ke*.01),V=!1):X&&(ae+=ee.partialLength,(Y+=1)>=X.length&&(Y=0,J[N+=1]?X=J[N].points:xe.v.c?(Y=0,X=J[N=0].points):(ae-=ee.partialLength,X=null)),X&&(O=ee,pe=(ee=X[Y]).partialLength));_.translate(-(Wt=I[U].an/2-I[U].add),0,0)}else _.translate(-(Wt=I[U].an/2-I[U].add),0,0),_.translate(-l[0]*I[U].an*.005,-l[1]*ke*.01,0);for(he=0;he<be;he+=1)(Ce=t[he].a).t.propType&&(st=t[he].s.getMult(I[U].anIndexes[he],f.a[he].s.totalChars),(0!==M||0!==s.j)&&(this._hasMaskedPath?H+=st.length?Ce.t.v*st[0]:Ce.t.v*st:M+=st.length?Ce.t.v*st[0]:Ce.t.v*st));for(s.strokeWidthAnim&&(Nn=s.sw||0),s.strokeColorAnim&&(_n=s.sc?[s.sc[0],s.sc[1],s.sc[2]]:[0,0,0]),s.fillColorAnim&&s.fc&&(Bt=[s.fc[0],s.fc[1],s.fc[2]]),he=0;he<be;he+=1)(Ce=t[he].a).a.propType&&((st=t[he].s.getMult(I[U].anIndexes[he],f.a[he].s.totalChars)).length?_.translate(-Ce.a.v[0]*st[0],-Ce.a.v[1]*st[1],Ce.a.v[2]*st[2]):_.translate(-Ce.a.v[0]*st,-Ce.a.v[1]*st,Ce.a.v[2]*st));for(he=0;he<be;he+=1)(Ce=t[he].a).s.propType&&((st=t[he].s.getMult(I[U].anIndexes[he],f.a[he].s.totalChars)).length?_.scale(1+(Ce.s.v[0]-1)*st[0],1+(Ce.s.v[1]-1)*st[1],1):_.scale(1+(Ce.s.v[0]-1)*st,1+(Ce.s.v[1]-1)*st,1));for(he=0;he<be;he+=1){if(Ce=t[he].a,st=t[he].s.getMult(I[U].anIndexes[he],f.a[he].s.totalChars),Ce.sk.propType&&(st.length?_.skewFromAxis(-Ce.sk.v*st[0],Ce.sa.v*st[1]):_.skewFromAxis(-Ce.sk.v*st,Ce.sa.v*st)),Ce.r.propType&&_.rotateZ(st.length?-Ce.r.v*st[2]:-Ce.r.v*st),Ce.ry.propType&&_.rotateY(st.length?Ce.ry.v*st[1]:Ce.ry.v*st),Ce.rx.propType&&_.rotateX(st.length?Ce.rx.v*st[0]:Ce.rx.v*st),Ce.o.propType&&(Er+=st.length?(Ce.o.v*st[0]-Er)*st[0]:(Ce.o.v*st-Er)*st),s.strokeWidthAnim&&Ce.sw.propType&&(Nn+=st.length?Ce.sw.v*st[0]:Ce.sw.v*st),s.strokeColorAnim&&Ce.sc.propType)for(Hn=0;Hn<3;Hn+=1)_n[Hn]+=st.length?(Ce.sc.v[Hn]-_n[Hn])*st[0]:(Ce.sc.v[Hn]-_n[Hn])*st;if(s.fillColorAnim&&s.fc){if(Ce.fc.propType)for(Hn=0;Hn<3;Hn+=1)Bt[Hn]+=st.length?(Ce.fc.v[Hn]-Bt[Hn])*st[0]:(Ce.fc.v[Hn]-Bt[Hn])*st;Ce.fh.propType&&(Bt=addHueToRGB(Bt,st.length?Ce.fh.v*st[0]:Ce.fh.v*st)),Ce.fs.propType&&(Bt=addSaturationToRGB(Bt,st.length?Ce.fs.v*st[0]:Ce.fs.v*st)),Ce.fb.propType&&(Bt=addBrightnessToRGB(Bt,st.length?Ce.fb.v*st[0]:Ce.fb.v*st))}}for(he=0;he<be;he+=1)(Ce=t[he].a).p.propType&&(st=t[he].s.getMult(I[U].anIndexes[he],f.a[he].s.totalChars),this._hasMaskedPath?st.length?_.translate(0,Ce.p.v[1]*st[0],-Ce.p.v[2]*st[1]):_.translate(0,Ce.p.v[1]*st,-Ce.p.v[2]*st):st.length?_.translate(Ce.p.v[0]*st[0],Ce.p.v[1]*st[1],-Ce.p.v[2]*st[2]):_.translate(Ce.p.v[0]*st,Ce.p.v[1]*st,-Ce.p.v[2]*st));if(s.strokeWidthAnim&&(un=Nn<0?0:Nn),s.strokeColorAnim&&(dr="rgb("+Math.round(255*_n[0])+","+Math.round(255*_n[1])+","+Math.round(255*_n[2])+")"),s.fillColorAnim&&s.fc&&(nr="rgb("+Math.round(255*Bt[0])+","+Math.round(255*Bt[1])+","+Math.round(255*Bt[2])+")"),this._hasMaskedPath){if(_.translate(0,-s.ls),_.translate(0,l[1]*ke*.01+k,0),this._pathData.p.v){var Dr=180*Math.atan((ee.point[1]-O.point[1])/(ee.point[0]-O.point[0]))/Math.PI;ee.point[0]<O.point[0]&&(Dr+=180),_.rotate(-Dr*Math.PI/180)}_.translate(Ut,Et,0),H-=l[0]*I[U].an*.005,I[U+1]&&jt!==I[U+1].ind&&(H+=I[U].an/2,H+=.001*s.tr*s.finalSize)}else{switch(_.translate(M,k,0),s.ps&&_.translate(s.ps[0],s.ps[1]+s.ascent,0),s.j){case 1:_.translate(I[U].animatorJustifyOffset+s.justifyOffset+(s.boxWidth-s.lineWidths[I[U].line]),0,0);break;case 2:_.translate(I[U].animatorJustifyOffset+s.justifyOffset+(s.boxWidth-s.lineWidths[I[U].line])/2,0,0)}_.translate(0,-s.ls),_.translate(Wt,0,0),_.translate(l[0]*I[U].an*.005,l[1]*ke*.01,0),M+=I[U].l+.001*s.tr*s.finalSize}"html"===S?$n=_.toCSS():"svg"===S?$n=_.to2dCSS():Wn=[_.props[0],_.props[1],_.props[2],_.props[3],_.props[4],_.props[5],_.props[6],_.props[7],_.props[8],_.props[9],_.props[10],_.props[11],_.props[12],_.props[13],_.props[14],_.props[15]],Sn=Er}D<=U?(tt=new LetterProps(Sn,un,dr,nr,$n,Wn),this.renderedLetters.push(tt),D+=1,this.lettersChangedFlag=!0):this.lettersChangedFlag=(tt=this.renderedLetters[U]).update(Sn,un,dr,nr,$n,Wn)||this.lettersChangedFlag}}},TextAnimatorProperty.prototype.getValue=function(){this._elem.globalData.frameId!==this._frameId&&(this._frameId=this._elem.globalData.frameId,this.iterateDynamicProperties())},TextAnimatorProperty.prototype.mHelper=new Matrix,TextAnimatorProperty.prototype.defaultPropsArray=[],extendPrototype([DynamicPropertyContainer],TextAnimatorProperty),ITextElement.prototype.initElement=function(s,a,l){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(s,a,l),this.textProperty=new TextProperty(this,s.t,this.dynamicProperties),this.textAnimator=new TextAnimatorProperty(s.t,this.renderType,this),this.initTransform(s,a,l),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide(),this.textAnimator.searchProperties(this.dynamicProperties)},ITextElement.prototype.prepareFrame=function(s){this._mdf=!1,this.prepareRenderableFrame(s),this.prepareProperties(s,this.isInRange),(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)},ITextElement.prototype.createPathShape=function(s,a){var l,f,t=a.length,_="";for(l=0;l<t;l+=1)"sh"===a[l].ty&&(_+=buildShapeString(f=a[l].ks.k,f.i.length,!0,s));return _},ITextElement.prototype.updateDocumentData=function(s,a){this.textProperty.updateDocumentData(s,a)},ITextElement.prototype.canResizeFont=function(s){this.textProperty.canResizeFont(s)},ITextElement.prototype.setMinimumFontSize=function(s){this.textProperty.setMinimumFontSize(s)},ITextElement.prototype.applyTextPropertiesToMatrix=function(s,a,l,t,f){switch(s.ps&&a.translate(s.ps[0],s.ps[1]+s.ascent,0),a.translate(0,-s.ls,0),s.j){case 1:a.translate(s.justifyOffset+(s.boxWidth-s.lineWidths[l]),0,0);break;case 2:a.translate(s.justifyOffset+(s.boxWidth-s.lineWidths[l])/2,0,0)}a.translate(t,f,0)},ITextElement.prototype.buildColor=function(s){return"rgb("+Math.round(255*s[0])+","+Math.round(255*s[1])+","+Math.round(255*s[2])+")"},ITextElement.prototype.emptyProp=new LetterProps,ITextElement.prototype.destroy=function(){};
vendor: 7,427 bytes, line 1
1var emptyShapeData={shapes:[]};function SVGTextLottieElement(s,a,l){this.textSpans=[],this.renderType="svg",this.initElement(s,a,l)}function ISolidElement(s,a,l){this.initElement(s,a,l)}function NullElement(s,a,l){this.initFrame(),this.initBaseData(s,a,l),this.initFrame(),this.initTransform(s,a,l),this.initHierarchy()}function SVGRendererBase(){}function ICompElement(){}function SVGCompElement(s,a,l){this.layers=s.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(s,a,l),this.tm=s.tm?PropertyFactory.getProp(this,s.tm,0,a.frameRate,this):{_placeholder:!0}}function SVGRenderer(s,a){this.animationItem=s,this.layers=null,this.renderedFrame=-1,this.svgElement=createNS("svg");var l="";if(a&&a.title){var t=createNS("title"),f=createElementID();t.setAttribute("id",f),t.textContent=a.title,this.svgElement.appendChild(t),l+=f}if(a&&a.description){var _=createNS("desc"),S=createElementID();_.setAttribute("id",S),_.textContent=a.description,this.svgElement.appendChild(_),l+=" "+S}l&&this.svgElement.setAttribute("aria-labelledby",l);var D=createNS("defs");this.svgElement.appendChild(D);var M=createNS("g");this.svgElement.appendChild(M),this.layerElement=M,this.renderConfig={preserveAspectRatio:a&&a.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:a&&a.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:a&&a.contentVisibility||"visible",progressiveLoad:a&&a.progressiveLoad||!1,hideOnTransparent:!(a&&!1===a.hideOnTransparent),viewBoxOnly:a&&a.viewBoxOnly||!1,viewBoxSize:a&&a.viewBoxSize||!1,className:a&&a.className||"",id:a&&a.id||"",focusable:a&&a.focusable,filterSize:{width:a&&a.filterSize&&a.filterSize.width||"100%",height:a&&a.filterSize&&a.filterSize.height||"100%",x:a&&a.filterSize&&a.filterSize.x||"0%",y:a&&a.filterSize&&a.filterSize.y||"0%"},width:a&&a.width,height:a&&a.height,runExpressions:!a||void 0===a.runExpressions||a.runExpressions},this.globalData={_mdf:!1,frameNum:-1,defs:D,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg"}function CVContextData(){var s;for(this.saved=[],this.cArrPos=0,this.cTr=new Matrix,this.cO=1,this.savedOp=createTypedArray("float32",15),s=0;s<15;s+=1)this.saved[s]=createTypedArray("float32",16);this._length=15}function ShapeTransformManager(){this.sequences={},this.sequenceList=[],this.transform_key_count=0}extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],SVGTextLottieElement),SVGTextLottieElement.prototype.createContent=function(){this.data.singleShape&&!this.globalData.fontManager.chars&&(this.textContainer=createNS("text"))},SVGTextLottieElement.prototype.buildTextContents=function(s){for(var a=0,l=s.length,t=[],f="";a<l;)s[a]===String.fromCharCode(13)||s[a]===String.fromCharCode(3)?(t.push(f),f=""):f+=s[a],a+=1;return t.push(f),t},SVGTextLottieElement.prototype.buildShapeData=function(s,a){if(s.shapes&&s.shapes.length){var l=s.shapes[0];if(l.it){var t=l.it[l.it.length-1];t.s&&(t.s.k[0]=a,t.s.k[1]=a)}}return s},SVGTextLottieElement.prototype.buildNewText=function(){this.addDynamicProperty(this);var s,a,l=this.textProperty.currentData;this.renderedLetters=createSizedArray(l?l.l.length:0),this.layerElement.setAttribute("fill",l.fc?this.buildColor(l.fc):"rgba(0,0,0,0)"),l.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(l.sc)),this.layerElement.setAttribute("stroke-width",l.sw)),this.layerElement.setAttribute("font-size",l.finalSize);var t=this.globalData.fontManager.getFontByName(l.f);if(t.fClass)this.layerElement.setAttribute("class",t.fClass);else{this.layerElement.setAttribute("font-family",t.fFamily);var f=l.fWeight;this.layerElement.setAttribute("font-style",l.fStyle),this.layerElement.setAttribute("font-weight",f)}this.layerElement.setAttribute("aria-label",l.t);var S=l.l||[],D=!!this.globalData.fontManager.chars;a=S.length;var M,k=this.mHelper,te=this.data.singleShape,I=0,z=0,H=!0,ee=.001*l.tr*l.finalSize;if(!te||D||l.sz){var O,N=this.textSpans.length;for(s=0;s<a;s+=1){if(this.textSpans[s]||(this.textSpans[s]={span:null,childSpan:null,glyph:null}),!D||!te||0===s){if(M=N>s?this.textSpans[s].span:createNS(D?"g":"text"),N<=s){if(M.setAttribute("stroke-linecap","butt"),M.setAttribute("stroke-linejoin","round"),M.setAttribute("stroke-miterlimit","4"),this.textSpans[s].span=M,D){var X=createNS("g");M.appendChild(X),this.textSpans[s].childSpan=X}this.textSpans[s].span=M,this.layerElement.appendChild(M)}M.style.display="inherit"}if(k.reset(),te&&(S[s].n&&(I=-ee,z+=l.yOffset,z+=H?1:0,H=!1),this.applyTextPropertiesToMatrix(l,k,S[s].line,I,z),I+=S[s].l||0,I+=ee),D){var J;if(1===(O=this.globalData.fontManager.getCharData(l.finalText[s],t.fStyle,this.globalData.fontManager.getFontByName(l.f).fFamily)).t)J=new SVGCompElement(O.data,this.globalData,this);else{var pe=emptyShapeData;O.data&&O.data.shapes&&(pe=this.buildShapeData(O.data,l.finalSize)),J=new SVGShapeElement(pe,this.globalData,this)}if(this.textSpans[s].glyph){var me=this.textSpans[s].glyph;this.textSpans[s].childSpan.removeChild(me.layerElement),me.destroy()}this.textSpans[s].glyph=J,J._debug=!0,J.prepareFrame(0),J.renderFrame(),this.textSpans[s].childSpan.appendChild(J.layerElement),1===O.t&&this.textSpans[s].childSpan.setAttribute("transform","scale("+l.finalSize/100+","+l.finalSize/100+")")}else te&&M.setAttribute("transform","translate("+k.props[12]+","+k.props[13]+")"),M.textContent=S[s].val,M.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}te&&M&&M.setAttribute("d","")}else{var ae=this.textContainer,V="start";switch(l.j){case 1:V="end";break;case 2:V="middle";break;default:V="start"}ae.setAttribute("text-anchor",V),ae.setAttribute("letter-spacing",ee);var Y=this.buildTextContents(l.finalText);for(a=Y.length,z=l.ps?l.ps[1]+l.ascent:0,s=0;s<a;s+=1)(M=this.textSpans[s].span||createNS("tspan")).textContent=Y[s],M.setAttribute("x",0),M.setAttribute("y",z),M.style.display="inherit",ae.appendChild(M),this.textSpans[s]||(this.textSpans[s]={span:null,glyph:null}),this.textSpans[s].span=M,z+=l.finalLineHeight;this.layerElement.appendChild(ae)}for(;s<this.textSpans.length;)this.textSpans[s].span.style.display="none",s+=1;this._sizeChanged=!0},SVGTextLottieElement.prototype.sourceRectAtTime=function(){if(this.prepareFrame(this.comp.renderedFrame-this.data.st),this.renderInnerContent(),this._sizeChanged){this._sizeChanged=!1;var s=this.layerElement.getBBox();this.bbox={top:s.y,left:s.x,width:s.width,height:s.height}}return this.bbox},SVGTextLottieElement.prototype.getValue=function(){var s,l,a=this.textSpans.length;for(this.renderedFrame=this.comp.renderedFrame,s=0;s<a;s+=1)(l=this.textSpans[s].glyph)&&(l.prepareFrame(this.comp.renderedFrame-this.data.st),l._mdf&&(this._mdf=!0))},SVGTextLottieElement.prototype.renderInnerContent=function(){if((!this.data.singleShape||this._mdf)&&(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag)){this._sizeChanged=!0;var s,a,f,_,S,l=this.textAnimator.renderedLetters,t=this.textProperty.currentData.l;for(a=t.length,s=0;s<a;s+=1)t[s].n||(f=l[s],_=this.textSpans[s].span,(S=this.textSpans[s].glyph)&&S.renderFrame(),f._mdf.m&&_.setAttribute("transform",f.m),f._mdf.o&&_.setAttribute("op
1acity",f.o),f._mdf.sw&&_.setAttribute("stroke-width",f.sw),f._mdf.sc&&_.setAttribute("stroke",f.sc),f._mdf.fc&&_.setAttribute("fill",f.fc))}},extendPrototype([IImageElement],ISolidElement),ISolidElement.prototype.createContent=function(){var s=createNS("rect");s.setAttribute("width",this.data.sw),s.setAttribute("height",this.data.sh),s.setAttribute("fill",this.data.sc),this.layerElement.appendChild(s)},NullElement.prototype.prepareFrame=function(s){this.prepareProperties(s,!0)},NullElement.prototype.renderFrame=function(){},NullElement.prototype.getBaseElement=function(){return null},NullElement.prototype.destroy=function(){},NullElement.prototype.sourceRectAtTime=function(){},NullElement.prototype.hide=function(){},extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement],NullElement),extendPrototype([BaseRenderer],SVGRendererBase),SVGRendererBase.prototype.createNull=function(s){return new NullElement(s,this.globalData,this)},SVGRendererBase.prototype.createShape=function(s){return new SVGShapeElement(s,this.globalData,this)},SVGRendererBase.prototype.createText=function(s){return new SVGTextLottieElement(s,this.globalData,this)},SVGRendererBase.prototype.createImage=function(s){return new IImageElement(s,this.globalData,this)},SVGRendererBase.prototype.createSolid=function(s){return new ISolidElement(s,this.globalData,this)},SVGRendererBase.prototype.configAnimation=function(s){this.svgElement.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.svgElement.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink"),this.svgElement.setAttribute("viewBox",this.renderConfig.viewBoxSize?this.renderConfig.viewBoxSize:"0 0 "+s.w+" "+s.h),this.renderConfig.viewBoxOnly||(this.svgElement.setAttribute("width",s.w),this.svgElement.setAttribute("height",s.h),this.svgElement.style.width="100%",this.svgElement.style.height="100%",this.svgElement.style.transform="translate3d(0,0,0)",this.svgElement.style.contentVisibility=this.renderConfig.contentVisibility),this.renderConfig.width&&this.svgElement.setAttribute("width",this.renderConfig.width),this.renderConfig.height&&this.svgElement.setAttribute("height",this.renderConfig.height),this.renderConfig.className&&this.svgElement.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.svgElement.setAttribute("id",this.renderConfig.id),void 0!==this.renderConfig.focusable&&this.svgElement.setAttribute("focusable",this.renderConfig.focusable),this.svgElement.setAttribute("preserveAspectRatio",this.renderConfig.preserveAspectRatio),this.animationItem.wrapper.appendChild(this.svgElement);var a=this.globalData.defs;this.setupGlobalData(s,a),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=s;var l=createNS("clipPath"),t=createNS("rect");t.setAttribute("width",s.w),t.setAttribute("height",s.h),t.setAttribute("x",0),t.setAttribute("y",0);var f=createElementID();l.setAttribute("id",f),l.appendChild(t),this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+f+")"),a.appendChild(l),this.layers=s.layers,this.elements=createSizedArray(s.layers.length)},SVGRendererBase.prototype.destroy=function(){this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.layerElement=null,this.globalData.defs=null;var s,a=this.layers?this.layers.length:0;for(s=0;s<a;s+=1)this.elements[s]&&this.elements[s].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},SVGRendererBase.prototype.updateContainerSize=function(){},SVGRendererBase.prototype.findIndexByInd=function(s){var a=0,l=this.layers.length;for(a=0;a<l;a+=1)if(this.layers[a].ind===s)return a;return-1},SVGRendererBase.prototype.buildItem=function(s){var a=this.elements;if(!a[s]&&99!==this.layers[s].ty){a[s]=!0;var l=this.createItem(this.layers[s]);if(a[s]=l,getExpressionsPlugin()&&(0===this.layers[s].ty&&this.globalData.projectInterface.registerComposition(l),l.initExpressions()),this.appendElementInPos(l,s),this.layers[s].tt){var t="tp"in this.layers[s]?this.findIndexByInd(this.layers[s].tp):s-1;if(-1===t)return;if(this.elements[t]&&!0!==this.elements[t]){var _=a[t].getMatte(this.layers[s].tt);l.setMatte(_)}else this.buildItem(t),this.addPendingElement(l)}}},SVGRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var s=this.pendingElements.pop();if(s.checkParenting(),s.data.tt)for(var a=0,l=this.elements.length;a<l;){if(this.elements[a]===s){var t="tp"in s.data?this.findIndexByInd(s.data.tp):a-1,_=this.elements[t].getMatte(this.layers[a].tt);s.setMatte(_);break}a+=1}}},SVGRendererBase.prototype.renderFrame=function(s){if(this.renderedFrame!==s&&!this.destroyed){null===s?s=this.renderedFrame:this.renderedFrame=s,this.globalData.frameNum=s,this.globalData.frameId+=1,this.globalData.projectInterface.currentFrame=s,this.globalData._mdf=!1;var a,l=this.layers.length;for(this.completeLayers||this.checkLayers(s),a=l-1;a>=0;a-=1)(this.completeLayers||this.elements[a])&&this.elements[a].prepareFrame(s-this.layers[a].st);if(this.globalData._mdf)for(a=0;a<l;a+=1)(this.completeLayers||this.elements[a])&&this.elements[a].renderFrame()}},SVGRendererBase.prototype.appendElementInPos=function(s,a){var l=s.getBaseElement();if(l){for(var f,t=0;t<a;)this.elements[t]&&!0!==this.elements[t]&&this.elements[t].getBaseElement()&&
vendor: 4,688 bytes, line 1
1(f=this.elements[t].getBaseElement()),t+=1;f?this.layerElement.insertBefore(l,f):this.layerElement.appendChild(l)}},SVGRendererBase.prototype.hide=function(){this.layerElement.style.display="none"},SVGRendererBase.prototype.show=function(){this.layerElement.style.display="block"},extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement,RenderableDOMElement],ICompElement),ICompElement.prototype.initElement=function(s,a,l){this.initFrame(),this.initBaseData(s,a,l),this.initTransform(s,a,l),this.initRenderable(),this.initHierarchy(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),(this.data.xt||!a.progressiveLoad)&&this.buildAllItems(),this.hide()},ICompElement.prototype.prepareFrame=function(s){if(this._mdf=!1,this.prepareRenderableFrame(s),this.prepareProperties(s,this.isInRange),this.isInRange||this.data.xt){if(this.tm._placeholder)this.renderedFrame=s/this.data.sr;else{var a=this.tm.v;a===this.data.op&&(a=this.data.op-1),this.renderedFrame=a}var l,t=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),l=t-1;l>=0;l-=1)(this.completeLayers||this.elements[l])&&(this.elements[l].prepareFrame(this.renderedFrame-this.layers[l].st),this.elements[l]._mdf&&(this._mdf=!0))}},ICompElement.prototype.renderInnerContent=function(){var s,a=this.layers.length;for(s=0;s<a;s+=1)(this.completeLayers||this.elements[s])&&this.elements[s].renderFrame()},ICompElement.prototype.setElements=function(s){this.elements=s},ICompElement.prototype.getElements=function(){return this.elements},ICompElement.prototype.destroyElements=function(){var s,a=this.layers.length;for(s=0;s<a;s+=1)this.elements[s]&&this.elements[s].destroy()},ICompElement.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()},extendPrototype([SVGRendererBase,ICompElement,SVGBaseElement],SVGCompElement),SVGCompElement.prototype.createComp=function(s){return new SVGCompElement(s,this.globalData,this)},extendPrototype([SVGRendererBase],SVGRenderer),SVGRenderer.prototype.createComp=function(s){return new SVGCompElement(s,this.globalData,this)},CVContextData.prototype.duplicate=function(){var s=2*this._length,a=this.savedOp;this.savedOp=createTypedArray("float32",s),this.savedOp.set(a);var l=0;for(l=this._length;l<s;l+=1)this.saved[l]=createTypedArray("float32",16);this._length=s},CVContextData.prototype.reset=function(){this.cArrPos=0,this.cTr.reset(),this.cO=1},CVContextData.prototype.popTransform=function(){var a,s=this.saved[this.cArrPos],l=this.cTr.props;for(a=0;a<16;a+=1)l[a]=s[a];return s},CVContextData.prototype.popOpacity=function(){var s=this.savedOp[this.cArrPos];return this.cO=s,s},CVContextData.prototype.pop=function(){return this.cArrPos-=1,{transform:this.popTransform(),opacity:this.popOpacity()}},CVContextData.prototype.push=function(){var s=this.cTr.props;this._length<=this.cArrPos&&this.duplicate();var a,l=this.saved[this.cArrPos];for(a=0;a<16;a+=1)l[a]=s[a];this.savedOp[this.cArrPos]=this.cO,this.cArrPos+=1},CVContextData.prototype.getTransform=function(){return this.cTr},CVContextData.prototype.getOpacity=function(){return this.cO},CVContextData.prototype.setOpacity=function(s){this.cO=s},ShapeTransformManager.prototype={addTransformSequence:function(a){var l,t=a.length,f="_";for(l=0;l<t;l+=1)f+=a[l].transform.key+"_";var _=this.sequences[f];return _||(_={transforms:[].concat(a),finalTransform:new Matrix,_mdf:!1},this.sequences[f]=_,this.sequenceList.push(_)),_},processSequence:function(a,l){for(var t=0,f=a.transforms.length,_=l;t<f&&!l;){if(a.transforms[t].transform.mProps._mdf){_=!0;break}t+=1}var S;if(_)for(a.finalTransform.reset(),t=f-1;t>=0;t-=1)a.finalTransform.transform((S=a.transforms[t].transform.mProps.v.props)[0],S[1],S[2],S[3],S[4],S[5],S[6],S[7],S[8],S[9],S[10],S[11],S[12],S[13],S[14],S[15]);a._mdf=_},processSequences:function(a){var l,t=this.sequenceList.length;for(l=0;l<t;l+=1)this.processSequence(this.sequenceList[l],a)},getNewKey:function(){return this.transform_key_count+=1,"_"+this.transform_key_count}};var lumaLoader=function(){var a="__lottie_element_luma_buffer",l=null,t=null,f=null;function S(){l||(f=function _(){var M=createNS("svg"),k=createNS("filter"),U=createNS("feColorMatrix");return k.setAttribute("id",a),U.setAttribute("type","matrix"),U.setAttribute("color-interpolation-filters","sRGB"),U.setAttribute("values","0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0"),k.appendChild(U),M.appendChild(k),M.setAttribute("id",a+"_svg"),featureSupport.svgLumaHidden&&(M.style.display="none"),M}(),document.body.appendChild(f),l=createTag("canvas"),(t=l.getContext("2d")).filter="url
1(#"+a+")",t.fillStyle="rgba(0,0,0,0)",t.fillRect(0,0,1,1))}return{load:S,get:function D(M){return l||S(),l.width=M.width,l.height=M.height,t.filter="url(#"+a+")",l}}};function createCanvas(s,a){if(featureSupport.offscreenCanvas)return new OffscreenCanvas(s,a);var l=createTag("canvas");return l.width=s,l.height=a,l}var assetLoader={loadLumaCanvas:lumaLoader.load,getLumaCanvas:lumaLoader.get,createCanvas};function CVEffects(){}function CVMaskElement(s,a){this.data=s,this.element=a,this.masksProperties=this.data.masksProperties||[],this.viewData=createSizedArray(this.masksProperties.length);var l,t=this.masksProperties.length,f=!1;for(l=0;l<t;l+=1)"n"!==this.masksProperties[l].mode&&(f=!0),this.viewData[l]=ShapePropertyFactory.getShapeProp(this.element,this.masksProperties[l],3);this.hasMasks=f,f&&this.element.addRenderableComponent(this)}function CVBaseElement(){}CVEffects.prototype.renderFrame=function(){},CVMaskElement.prototype.renderFrame=function(){if(this.hasMasks){var l,f,_,S,s=this.element.finalTransform.mat,a=this.element.canvasContext,t=this.masksProperties.length;for(a.beginPath(),l=0;l<t;l+=1)if("n"!==this.masksProperties[l].mode){this.masksProperties[l].inv&&(a.moveTo(0,0),a.lineTo(this.element.globalData.compSize.w,0),a.lineTo(this.element.globalData.compSize.w,this.element.globalData.compSize.h),a.lineTo(0,this.element.globalData.compSize.h),a.lineTo(0,0)),f=s.applyToPointArray((S=this.viewData[l].v).v[0][0],S.v[0][1],0),a.moveTo(f[0],f[1]);var D,M=S._length;for(D=1;D<M;D+=1)_=s.applyToTriplePoints(S.o[D-1],S.i[D],S.v[D]),a.bezierCurveTo(_[0],_[1],_[2],_[3],_[4],_[5]);_=s.applyToTriplePoints(S.o[D-1],S.i[0],S.v[0]),a.bezierCurveTo(_[0],_[1],_[2],_[3],_[4],_[5])}this.element.globalData.renderer.save(!0),a.clip()}},CVMaskElement.prototype.getMaskProperty=MaskElement.prototype.getMaskProperty,CVMaskElement.prototype.destroy=function(){this.element=null};var operationsMap={1:"source-in",2:"source-out",3:"source-in",4:"source-out"};function CVShapeData(s,a,l,t){this.styledShapes=[],this.tr=[0,0,0,0,0,0];var f=4;"rc"===a.ty?f=5:"el"===a.ty?f=6:"sr"===a.ty&&(f=7),this.sh=ShapePropertyFactory.getShapeProp(s,a,f,s);var _,D,S=l.length;for(_=0;_<S;_+=1)l[_].closed||(D={transforms:t.addTransformSequence(l[_].transforms),trNodes:[]},this.styledShapes.push(D),l[_].elements.push(D))}function CVShapeElement(s,a,l){this.shapes=[],this.shapesData=s.shapes,this.stylesList=[],this.itemsData=[],this.prevViewData=[],this.shapeModifiers=[],this.processedElements=[],this.transformsManager=new ShapeTransformManager,this.initElement(s,a,l)}function CVTextElement(s,a,l){this.textSpans=[],this.yOffset=0,this.fillColorAnim=!1,this.strokeColorAnim=!1,this.strokeWidthAnim=!1,this.stroke=!1,this.fill=!1,this.justifyOffset=0,this.currentRender=null,this.renderType="canvas",this.values={fill:"rgba(0,0,0,0)",stroke:"rgba(0,0,0,0)",sWidth:0,fValue:""},this.initElement(s,a,l)}function CVImageElement(s,a,l){this.assetData=a.getAssetData(s.refId),this.img=a.imageLoader.getAsset(this.assetData),this.initElement(s,a,l)}function CVSolidElement(s,a,l){this.initElement(s,a,l)}function CanvasRendererBase(s,a){this.animationItem=s,this.renderConfig={clearCanvas:!a||void 0===a.clearCanvas||a.clearCanvas,context:a&&a.context||null,progressiveLoad:a&&a.progressiveLoad||!1,preserveAspectRatio:a&&a.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:a&&a.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:a&&a.contentVisibility||"visible",className:a&&a.className||"",id:a&&a.id||""},this.renderConfig.dpr=a&&a.dpr||1,this.animationItem.wrapper&&(this.renderConfig.dpr=a&&a.dpr||window.devicePixelRatio||1),this.renderedFrame=-1,this.globalData={frameNum:-1,_mdf:!1,renderConfig:this.renderConfig,currentGlobalAlpha:-1},this.contextData=new CVContextData,this.elements=[],this.pendingElements=[],this.transformMat=ne
vendor: 1,135 bytes, line 1
1w Matrix,this.completeLayers=!1,this.rendererType="canvas"}function CVCompElement(s,a,l){this.completeLayers=!1,this.layers=s.layers,this.pendingElements=[],this.elements=createSizedArray(this.layers.length),this.initElement(s,a,l),this.tm=s.tm?PropertyFactory.getProp(this,s.tm,0,a.frameRate,this):{_placeholder:!0}}function CanvasRenderer(s,a){this.animationItem=s,this.renderConfig={clearCanvas:!a||void 0===a.clearCanvas||a.clearCanvas,context:a&&a.context||null,progressiveLoad:a&&a.progressiveLoad||!1,preserveAspectRatio:a&&a.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:a&&a.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:a&&a.contentVisibility||"visible",className:a&&a.className||"",id:a&&a.id||"",runExpressions:!a||void 0===a.runExpressions||a.runExpressions},this.renderConfig.dpr=a&&a.dpr||1,this.animationItem.wrapper&&(this.renderConfig.dpr=a&&a.dpr||window.devicePixelRatio||1),this.renderedFrame=-1,this.globalData={frameNum:-1,_mdf:!1,renderConfig:this.renderConfig,currentGlobalAlpha:-1},this.contextData=new CVContextData,this.elements=[],this.pendingElements=[],this.transformMat=ne
vendor: 4,346 bytes, line 1
1w Matrix,this.completeLayers=!1,this.rendererType="canvas"}function HBaseElement(){}function HSolidElement(s,a,l){this.initElement(s,a,l)}function HShapeElement(s,a,l){this.shapes=[],this.shapesData=s.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.shapesContainer=createNS("g"),this.initElement(s,a,l),this.prevViewData=[],this.currentBBox={x:999999,y:-999999,h:0,w:0}}function HTextElement(s,a,l){this.textSpans=[],this.textPaths=[],this.currentBBox={x:999999,y:-999999,h:0,w:0},this.renderType="svg",this.isMasked=!1,this.initElement(s,a,l)}function HCameraElement(s,a,l){this.initFrame(),this.initBaseData(s,a,l),this.initHierarchy();var t=PropertyFactory.getProp;if(this.pe=t(this,s.pe,0,0,this),s.ks.p.s?(this.px=t(this,s.ks.p.x,1,0,this),this.py=t(this,s.ks.p.y,1,0,this),this.pz=t(this,s.ks.p.z,1,0,this)):this.p=t(this,s.ks.p,1,0,this),s.ks.a&&(this.a=t(this,s.ks.a,1,0,this)),s.ks.or.k.length&&s.ks.or.k[0].to){var f,_=s.ks.or.k.length;for(f=0;f<_;f+=1)s.ks.or.k[f].to=null,s.ks.or.k[f].ti=null}this.or=t(this,s.ks.or,1,degToRads,this),this.or.sh=!0,this.rx=t(this,s.ks.rx,0,degToRads,this),this.ry=t(this,s.ks.ry,0,degToRads,this),this.rz=t(this,s.ks.rz,0,degToRads,this),this.mat=new Matrix,this._prevMat=new Matrix,this._isFirstFrame=!0,this.finalTransform={mProp:this}}function HImageElement(s,a,l){this.assetData=a.getAssetData(s.refId),this.initElement(s,a,l)}function HybridRendererBase(s,a){this.animationItem=s,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:a&&a.className||"",imagePreserveAspectRatio:a&&a.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!(a&&!1===a.hideOnTransparent),filterSize:{width:a&&a.filterSize&&a.filterSize.width||"400%",height:a&&a.filterSize&&a.filterSize.height||"400%",x:a&&a.filterSize&&a.filterSize.x||"-100%",y:a&&a.filterSize&&a.filterSize.y||"-100%"}},this.globalData={_mdf:!1,frameNum:-1,renderConfig:this.renderConfig},this.pendingElements=[],this.elements=[],this.threeDElements=[],this.destroyed=!1,this.camera=null,this.supports3d=!0,this.rendererType="html"}function HCompElement(s,a,l){this.layers=s.layers,this.supports3d=!s.hasMask,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(s,a,l),this.tm=s.tm?PropertyFactory.getProp(this,s.tm,0,a.frameRate,this):{_placeholder:!0}}function HybridRenderer(s,a){this.animationItem=s,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:a&&a.className||"",imagePreserveAspectRatio:a&&a.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!(a&&!1===a.hideOnTransparent),filterSize:{width:a&&a.filterSize&&a.filterSize.width||"400%",height:a&&a.filterSize&&a.filterSize.height||"400%",x:a&&a.filterSize&&a.filterSize.x||"-100%",y:a&&a.filterSize&&a.filterSize.y||"-100%"},runExpressions:!a||void 0===a.runExpressions||a.runExpressions},this.globalData={_mdf:!1,frameNum:-1,renderConfig:this.renderConfig},this.pendingElements=[],this.elements=[],this.threeDElements=[],this.destroyed=!1,this.camera=null,this.supports3d=!0,this.rendererType="html"}CVBaseElement.prototype={createElements:function(){},initRendererElement:function(){},createContainerElements:function(){if(this.data.tt>=1){this.buffers=[];var a=this.globalData.canvasContext,l=assetLoader.createCanvas(a.canvas.width,a.canvas.height);this.buffers.push(l);var t=assetLoader.createCanvas(a.canvas.width,a.canvas.height);this.buffers.push(t),this.data.tt>=3&&!document._isProxy&&assetLoader.loadLumaCanvas()}this.canvasContext=this.globalData.canvasContext,this.transformCanvas=this.globalData.transformCanvas,this.renderableEffectsManager=new CVEffects(this)},createContent:function(){},setBlendMode:function(){var a=this.globalData;if(a.blendMode!==this.data.bm){a.blendMode=this.data.bm;var l=getBlendMode(this.data.bm);a.canvasContext.globalCompositeOperation=l}},createRenderableComponents:function(){this.maskManager=new CVMaskElement(this.data,this)},hideElement:function(){!this.hidden&&(!this.isInRange||this.isTransparent)&&(this.hidden=!0)},showElement:function(){this.isInRange&&!this.isTransparent&&(this.hidden=!1,this._isFirstFrame=!0,this.maskManager._isFirstFrame=!0)},clearCanvas:function(a){a.clearRect(this.transformCanvas.tx,this.transformCanvas.t
vendor: 4,836 bytes, line 1
1y,this.transformCanvas.w*this.transformCanvas.sx,this.transformCanvas.h*this.transformCanvas.sy)},prepareLayer:function(){if(this.data.tt>=1){var l=this.buffers[0].getContext("2d");this.clearCanvas(l),l.drawImage(this.canvasContext.canvas,0,0),this.currentTransform=this.canvasContext.getTransform(),this.canvasContext.setTransform(1,0,0,1,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.setTransform(this.currentTransform)}},exitLayer:function(){if(this.data.tt>=1){var a=this.buffers[1],l=a.getContext("2d");if(this.clearCanvas(l),l.drawImage(this.canvasContext.canvas,0,0),this.canvasContext.setTransform(1,0,0,1,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.setTransform(this.currentTransform),this.comp.getElementById("tp"in this.data?this.data.tp:this.data.ind-1).renderFrame(!0),this.canvasContext.setTransform(1,0,0,1,0,0),this.data.tt>=3&&!document._isProxy){var f=assetLoader.getLumaCanvas(this.canvasContext.canvas);f.getContext("2d").drawImage(this.canvasContext.canvas,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.drawImage(f,0,0)}this.canvasContext.globalCompositeOperation=operationsMap[this.data.tt],this.canvasContext.drawImage(a,0,0),this.canvasContext.globalCompositeOperation="destination-over",this.canvasContext.drawImage(this.buffers[0],0,0),this.canvasContext.setTransform(this.currentTransform),this.canvasContext.globalCompositeOperation="source-over"}},renderFrame:function(a){if(!this.hidden&&!this.data.hd&&(1!==this.data.td||a)){this.renderTransform(),this.renderRenderable(),this.setBlendMode();var l=0===this.data.ty;this.prepareLayer(),this.globalData.renderer.save(l),this.globalData.renderer.ctxTransform(this.finalTransform.mat.props),this.globalData.renderer.ctxOpacity(this.finalTransform.mProp.o.v),this.renderInnerContent(),this.globalData.renderer.restore(l),this.exitLayer(),this.maskManager.hasMasks&&this.globalData.renderer.restore(!0),this._isFirstFrame&&(this._isFirstFrame=!1)}},destroy:function(){this.canvasContext=null,this.data=null,this.globalData=null,this.maskManager.destroy()},mHelper:new Matrix},CVBaseElement.prototype.hide=CVBaseElement.prototype.hideElement,CVBaseElement.prototype.show=CVBaseElement.prototype.showElement,CVShapeData.prototype.setAsAnimated=SVGShapeData.prototype.setAsAnimated,extendPrototype([BaseElement,TransformElement,CVBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableElement],CVShapeElement),CVShapeElement.prototype.initElement=RenderableDOMElement.prototype.initElement,CVShapeElement.prototype.transformHelper={opacity:1,_opMdf:!1},CVShapeElement.prototype.dashResetter=[],CVShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[])},CVShapeElement.prototype.createStyleElement=function(s,a){var l={data:s,type:s.ty,preTransforms:this.transformsManager.addTransformSequence(a),transforms:[],elements:[],closed:!0===s.hd},t={};if("fl"===s.ty||"st"===s.ty?(t.c=PropertyFactory.getProp(this,s.c,1,255,this),t.c.k||(l.co="rgb("+bmFloor(t.c.v[0])+","+bmFloor(t.c.v[1])+","+bmFloor(t.c.v[2])+")")):("gf"===s.ty||"gs"===s.ty)&&(t.s=PropertyFactory.getProp(this,s.s,1,null,this),t.e=PropertyFactory.getProp(this,s.e,1,null,this),t.h=PropertyFactory.getProp(this,s.h||{k:0},0,.01,this),t.a=PropertyFactory.getProp(this,s.a||{k:0},0,degToRads,this),t.g=new GradientProperty(this,s.g,this)),t.o=PropertyFactory.getProp(this,s.o,0,.01,this),"st"===s.ty||"gs"===s.ty){if(l.lc=lineCapEnum[s.lc||2],l.lj=lineJoinEnum[s.lj||2],1==s.lj&&(l.ml=s.ml),t.w=PropertyFactory.getProp(this,s.w,0,null,this),t.w.k||(l.wi=t.w.v),s.d){var f=new DashProperty(this,s.d,"canvas",this);t.d=f,t.d.k||(l.da=t.d.dashArray,l.do=t.d.dashoffset[0])}}else l.r=2===s.r?"evenodd":"nonzero";return this.stylesList.push(l),t.style=l,t},CVShapeElement.prototype.createGroupElement=function(){return{it:[],prevViewData:[]}},CVShapeElement.prototype.createTransformElement=function(s){return{transform:{opacity:1,_opMdf:!1,key:this.transformsManager.getNewKey(),op:PropertyFactory.getProp(this,s.o,0,.01,this),mProps:TransformPropertyFactory.getTransformProperty(this,s,this)}}},CVShapeElement.prototype.createShapeElement=function(s){var a=new CVShapeData(this,s,this.stylesList,this.transformsManager);return this.shapes.push(a),this.addShapeToModifiers(a),a},CVShapeElement.prototype.reloadShapes=function(){this._isFirstFrame=!0;var s,a=this.itemsData.length;for(s=0;s<a;s+=1)this.prevViewData[s]=this.itemsData[s];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[]),a=this.dynamicProperties.length,s=0;s<a;s+=1)this.dynamicProperties[s].getValue();this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame)},CVShapeElement.prototype.addTransformToStyleList=function(s){var a,l=this.stylesList.length;for(a=0;a<l;
vendor: 8,970 bytes, line 1
1a+=1)this.stylesList[a].closed||this.stylesList[a].transforms.push(s)},CVShapeElement.prototype.removeTransformFromStyleList=function(){var s,a=this.stylesList.length;for(s=0;s<a;s+=1)this.stylesList[s].closed||this.stylesList[s].transforms.pop()},CVShapeElement.prototype.closeStyles=function(s){var a,l=s.length;for(a=0;a<l;a+=1)s[a].closed=!0},CVShapeElement.prototype.searchShapes=function(s,a,l,t,f){var _,D,M,te,I,z,S=s.length-1,k=[],U=[],H=[].concat(f);for(_=S;_>=0;_-=1){if((te=this.searchProcessedElement(s[_]))?a[_]=l[te-1]:s[_]._shouldRender=t,"fl"===s[_].ty||"st"===s[_].ty||"gf"===s[_].ty||"gs"===s[_].ty)te?a[_].style.closed=!1:a[_]=this.createStyleElement(s[_],H),k.push(a[_].style);else if("gr"===s[_].ty){if(te)for(M=a[_].it.length,D=0;D<M;D+=1)a[_].prevViewData[D]=a[_].it[D];else a[_]=this.createGroupElement(s[_]);this.searchShapes(s[_].it,a[_].it,a[_].prevViewData,t,H)}else"tr"===s[_].ty?(te||(z=this.createTransformElement(s[_]),a[_]=z),H.push(a[_]),this.addTransformToStyleList(a[_])):"sh"===s[_].ty||"rc"===s[_].ty||"el"===s[_].ty||"sr"===s[_].ty?te||(a[_]=this.createShapeElement(s[_])):"tm"===s[_].ty||"rd"===s[_].ty||"pb"===s[_].ty||"zz"===s[_].ty||"op"===s[_].ty?(te?(I=a[_]).closed=!1:((I=ShapeModifiers.getModifier(s[_].ty)).init(this,s[_]),a[_]=I,this.shapeModifiers.push(I)),U.push(I)):"rp"===s[_].ty&&(te?(I=a[_]).closed=!0:(I=ShapeModifiers.getModifier(s[_].ty),a[_]=I,I.init(this,s,_,a),this.shapeModifiers.push(I),t=!1),U.push(I));this.addProcessedElement(s[_],_+1)}for(this.removeTransformFromStyleList(),this.closeStyles(k),S=U.length,_=0;_<S;_+=1)U[_].closed=!0},CVShapeElement.prototype.renderInnerContent=function(){this.transformHelper.opacity=1,this.transformHelper._opMdf=!1,this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame),this.renderShape(this.transformHelper,this.shapesData,this.itemsData,!0)},CVShapeElement.prototype.renderShapeTransform=function(s,a){(s._opMdf||a.op._mdf||this._isFirstFrame)&&(a.opacity=s.opacity,a.opacity*=a.op.v,a._opMdf=!0)},CVShapeElement.prototype.drawLayer=function(){var s,l,t,f,_,S,D,U,te,a=this.stylesList.length,M=this.globalData.renderer,k=this.globalData.canvasContext;for(s=0;s<a;s+=1)if(("st"!==(U=(te=this.stylesList[s]).type)&&"gs"!==U||0!==te.wi)&&te.data._shouldRender&&0!==te.coOp&&0!==this.globalData.currentGlobalAlpha){for(M.save(),S=te.elements,"st"===U||"gs"===U?(k.strokeStyle="st"===U?te.co:te.grd,k.lineWidth=te.wi,k.lineCap=te.lc,k.lineJoin=te.lj,k.miterLimit=te.ml||0):k.fillStyle="fl"===U?te.co:te.grd,M.ctxOpacity(te.coOp),"st"!==U&&"gs"!==U&&k.beginPath(),M.ctxTransform(te.preTransforms.finalTransform.props),t=S.length,l=0;l<t;l+=1){for(("st"===U||"gs"===U)&&(k.beginPath(),te.da&&(k.setLineDash(te.da),k.lineDashOffset=te.do)),_=(D=S[l].trNodes).length,f=0;f<_;f+=1)"m"===D[f].t?k.moveTo(D[f].p[0],D[f].p[1]):"c"===D[f].t?k.bezierCurveTo(D[f].pts[0],D[f].pts[1],D[f].pts[2],D[f].pts[3],D[f].pts[4],D[f].pts[5]):k.closePath();("st"===U||"gs"===U)&&(k.stroke(),te.da&&k.setLineDash(this.dashResetter))}"st"!==U&&"gs"!==U&&k.fill(te.r),M.restore()}},CVShapeElement.prototype.renderShape=function(s,a,l,t){var f,S;for(S=s,f=a.length-1;f>=0;f-=1)"tr"===a[f].ty?this.renderShapeTransform(s,S=l[f].transform):"sh"===a[f].ty||"el"===a[f].ty||"rc"===a[f].ty||"sr"===a[f].ty?this.renderPath(a[f],l[f]):"fl"===a[f].ty?this.renderFill(a[f],l[f],S):"st"===a[f].ty?this.renderStroke(a[f],l[f],S):"gf"===a[f].ty||"gs"===a[f].ty?this.renderGradientFill(a[f],l[f],S):"gr"===a[f].ty&&this.renderShape(S,a[f].it,l[f].it);t&&this.drawLayer()},CVShapeElement.prototype.renderStyledShape=function(s,a){if(this._isFirstFrame||a._mdf||s.transforms._mdf){var f,_,S,l=s.trNodes,t=a.paths,D=t._length;l.length=0;var M=s.transforms.finalTransform;for(S=0;S<D;S+=1){var k=t.shapes[S];if(k&&k.v){for(_=k._length,f=1;f<_;f+=1)1===f&&l.push({t:"m",p:M.applyToPointArray(k.v[0][0],k.v[0][1],0)}),l.push({t:"c",pts:M.applyToTriplePoints(k.o[f-1],k.i[f],k.v[f])});1===_&&l.push({t:"m",p:M.applyToPointArray(k.v[0][0],k.v[0][1],0)}),k.c&&_&&(l.push({t:"c",pts:M.applyToTriplePoints(k.o[f-1],k.i[0],k.v[0])}),l.push({t:"z"}))}}s.trNodes=l}},CVShapeElement.prototype.renderPath=function(s,a){if(!0!==s.hd&&s._shouldRender){var l,t=a.styledShapes.length;for(l=0;l<t;l+=1)this.renderStyledShape(a.styledShapes[l],a.sh)}},CVShapeElement.prototype.renderFill=function(s,a,l){var t=a.style;(a.c._mdf||this._isFirstFrame)&&(t.co="rgb("+bmFloor(a.c.v[0])+","+bmFloor(a.c.v[1])+","+bmFloor(a.c.v[2])+")"),(a.o._mdf||l._opMdf||this._isFirstFrame)&&(t.coOp=a.o.v*l.opacity)},CVShapeElement.prototype.renderGradientFill=function(s,a,l){var f,t=a.style;if(!t.grd||a.g._mdf||a.s._mdf||a.e._mdf||1!==s.t&&(a.h._mdf||a.a._mdf)){var _=this.globalData.canvasContext,S=a.s.v,D=a.e.v;if(1===s.t)f=_.createLinearGradient(S[0],S[1],D[0],D[1]);else{var M=Math.sqrt(Math.pow(S[0]-D[0],2)+Math.pow(S[1]-D[1],2)),k=Math.atan2(D[1]-S[1],D[0]-S[0]),U=a.h.v;U>=1?U=.99:U<=-1&&(U=-.99);var te=M*U,I=Math.cos(k+a.a.v)*te+S[0],z=Math.sin(k+a.a.v)*te+S[1];f=_.createRadialGradient(I,z,0,S[0],S[1],M)}var H,ee=s.g.p,ae=a.g.c,V=1;for(H=0;H<ee;H+=1)a.g._hasOpacity&&a.g._collapsable&&(V=a.g.o[2*H+1]),f.addColorStop(ae[4*H]/100,"rgba("+ae[4*H+1]+","+ae[4*H+2]+","+ae[4*H+3]+","+V+")");t.grd=f}t.coOp=a.o.v*l.opacity},CVShapeElement.prototype.renderStroke=function(s,a,l){var t=a.style,f=a.d;f&&(f._mdf||this._isFirstFrame)&&(t.da=f.dashArray,t.do=f.dashoffset[0]),(a.c._mdf||this._isFirstFrame)&&(t.co="rgb("+bmFloor(a.c.v[0])+","+bmFloor(a.c.v[1])+","+bmFloor(a.c.v[2])+")"),(a.o._mdf||l._opMdf||this._isFirstFrame)&&(t.coOp=a.o.v*l.opacity),(a.w._mdf||this._isFirstFrame)&&(t.wi=a.w.v)},CVShapeElement.prototype.destroy=function(){this.shapesData=null,this.globalData=null,this.canvasContext=null,this.stylesList.length=0,this.itemsData.length=0},extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement,ITextElement],CVTextElement),CVTextElement.prototype.tHelper=createTag("canvas").getContext("2d"),CVTextElement.prototype.buildNewText=function(){var s=this.textProperty.currentData;this.renderedLetters=createSizedArray(s.l?s.l.length:0);var a=!1;s.fc?(a=!0,this.values.fill=this.buildColor(s.fc)):this.values.fill="rgba(0,0,0,0)",this.fill=a;var l=!1;s.sc&&(l=!0,this.values.stroke=this.buildColor(s.sc),this.values.sWidth=s.sw);var f,_,t=this.globalData.fontManager.getFontByName(s.f),S=s.l,D=this.mHelper;this.stroke=l,this.values.fValue=s.finalSize+"px "+this.globalData.fontManager.getFontByName(s.f).fFamily,_=s.finalText.length;var M,k,U,te,I,z,H,ee,ae,V,Y=this.data.singleShape,N=.001*s.tr*s.finalSize,O=0,X=0,J=!0,pe=0;for(f=0;f<_;f+=1){k=(M=this.globalData.fontManager.getCharData(s.finalText[f],t.fStyle,this.globalData.fontManager.getFontByName(s.f).fFamily))&&M.data||{},D.reset(),Y&&S[f].n&&(O=-N,X+=s.yOffset,X+=J?1:0,J=!1),H=(I=k.shapes?k.shapes[0].it:[]).length,D.scale(s.finalSize/100,s.finalSize/100),Y&&this.applyTextPropertiesToMatrix(s,D,S[f].line,O,X),ae=createSizedArray(H-1);var me=0;for(z=0;z<H;z+=1)if("sh"===I[z].ty){for(te=I[z].ks.k.i.length,ee=I[z].ks.k,V=[],U=1;U<te;U+=1)1===U&&V.push(D.applyToX(ee.v[0][0],ee.v[0][1],0),D.applyToY(ee.v[0][0],ee.v[0][1],0)),V.push(D.applyToX(ee.o[U-1][0],ee.o[U-1][1],0),D.applyToY(ee.o[U-1][0],ee.o[U-1][1],0),D.applyToX(ee.i[U][0],ee.i[U][1],0),D.applyToY(ee.i[U][0],ee.i[U][1],0),D.applyToX(ee.v[U][0],ee.v[U][1],0),D.applyToY(ee.v[U][0],ee.v[U][1],0));V.push(D.applyToX(ee.o[U-1][0],ee.o[U-1][1],0),D.applyToY(ee.o[U-1][0],ee.o[U-1][1],0),D.applyToX(ee.i[0][0],ee.i[0][1],0),D.applyToY(ee.i[0][0],ee.i[0][1],0),D.applyToX(ee.v[0][0],ee.v[0][1],0),D.applyToY(ee.v[0][0],ee.v[0][1],0)),ae[me]=V,me+=1}Y&&(O+=S[f].l,O+=N),this.textSpans[pe]?this.textSpans[pe].elem=ae:this.textSpans[pe]={elem:ae},pe+=1}},CVTextElement.prototype.renderInnerContent=function(){var s=this.canvasContext;s.font=this.values.fValue,s.lineCap="butt",s.lineJoin="miter",s.miterLimit=4,this.data.singleShape||this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag);var a,l,t,f,_,S,D=this.textAnimator.renderedLetters,M=this.textProperty.currentData.l;l=M.length;var k,z,H,U=null,te=null,I=null;for(a=0;a<l;a+=1)if(!M[a].n){if((k=D[a])&&(this.globalData.renderer.save(),this.globalData.renderer.ctxTransform(k.p),this.globalData.renderer.ctxOpacity(k.o)),this.fill){for(k&&k.fc?U!==k.fc&&(U=k.fc,s.fillStyle=k.fc):U!==this.values.fill&&(U=this.values.fill,s.fillStyle=this.values.fill),f=(z=this.textSpans[a].elem).length,this.globalData.canvasContext.beginPath(),t=0;t<f;t+=1)for(S=(H=z[t]).length,this.globalData.canvasContext.moveTo(H[0],H[1]),_=2;_<S;_+=6)this.globalData.canvasContext.bezierCurveTo(H[_],H[_+1],H[_+2],H[_+3],H[_+4],H[_+5]);this.globalData.canvasContext.closePath(),this.globalData.canvasContext.fill()}if(this.stroke){for(k&&k.sw?I!==k.sw&&(I=k.sw,s.lineWidth=k.sw):I!==this.values.sWidth&&(I=this.values.sWidth,s.lineWidth=this.values.sWidth),k&&k.sc?te
vendor: 6,697 bytes, line 1
1!==k.sc&&(te=k.sc,s.strokeStyle=k.sc):te!==this.values.stroke&&(te=this.values.stroke,s.strokeStyle=this.values.stroke),f=(z=this.textSpans[a].elem).length,this.globalData.canvasContext.beginPath(),t=0;t<f;t+=1)for(S=(H=z[t]).length,this.globalData.canvasContext.moveTo(H[0],H[1]),_=2;_<S;_+=6)this.globalData.canvasContext.bezierCurveTo(H[_],H[_+1],H[_+2],H[_+3],H[_+4],H[_+5]);this.globalData.canvasContext.closePath(),this.globalData.canvasContext.stroke()}k&&this.globalData.renderer.restore()}},extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVImageElement),CVImageElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVImageElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVImageElement.prototype.createContent=function(){if(this.img.width&&(this.assetData.w!==this.img.width||this.assetData.h!==this.img.height)){var s=createTag("canvas");s.width=this.assetData.w,s.height=this.assetData.h;var S,D,a=s.getContext("2d"),l=this.img.width,t=this.img.height,f=l/t,_=this.assetData.w/this.assetData.h,M=this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio;f>_&&"xMidYMid slice"===M||f<_&&"xMidYMid slice"!==M?S=(D=t)*_:D=(S=l)/_,a.drawImage(this.img,(l-S)/2,(t-D)/2,S,D,0,0,this.assetData.w,this.assetData.h),this.img=s}},CVImageElement.prototype.renderInnerContent=function(){this.canvasContext.drawImage(this.img,0,0)},CVImageElement.prototype.destroy=function(){this.img=null},extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVSolidElement),CVSolidElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVSolidElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVSolidElement.prototype.renderInnerContent=function(){var s=this.canvasContext;s.fillStyle=this.data.sc,s.fillRect(0,0,this.data.sw,this.data.sh)},extendPrototype([BaseRenderer],CanvasRendererBase),CanvasRendererBase.prototype.createShape=function(s){return new CVShapeElement(s,this.globalData,this)},CanvasRendererBase.prototype.createText=function(s){return new CVTextElement(s,this.globalData,this)},CanvasRendererBase.prototype.createImage=function(s){return new CVImageElement(s,this.globalData,this)},CanvasRendererBase.prototype.createSolid=function(s){return new CVSolidElement(s,this.globalData,this)},CanvasRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,CanvasRendererBase.prototype.ctxTransform=function(s){if(1!==s[0]||0!==s[1]||0!==s[4]||1!==s[5]||0!==s[12]||0!==s[13]){if(!this.renderConfig.clearCanvas)return void this.canvasContext.transform(s[0],s[1],s[4],s[5],s[12],s[13]);this.transformMat.cloneFromProps(s);var a=this.contextData.getTransform(),l=a.props;this.transformMat.transform(l[0],l[1],l[2],l[3],l[4],l[5],l[6],l[7],l[8],l[9],l[10],l[11],l[12],l[13],l[14],l[15]),a.cloneFromProps(this.transformMat.props);var t=a.props;this.canvasContext.setTransform(t[0],t[1],t[4],t[5],t[12],t[13])}},CanvasRendererBase.prototype.ctxOpacity=function(s){var a=this.contextData.getOpacity();if(!this.renderConfig.clearCanvas)return this.canvasContext.globalAlpha*=s<0?0:s,void(this.globalData.currentGlobalAlpha=a);this.contextData.setOpacity(a*=s<0?0:s),this.globalData.currentGlobalAlpha!==a&&(this.canvasContext.globalAlpha=a,this.globalData.currentGlobalAlpha=a)},CanvasRendererBase.prototype.reset=function(){this.renderConfig.clearCanvas?this.contextData.reset():this.canvasContext.restore()},CanvasRendererBase.prototype.save=function(s){this.renderConfig.clearCanvas?(s&&this.canvasContext.save(),this.contextData.push()):this.canvasContext.save()},CanvasRendererBase.prototype.restore=function(s){if(this.renderConfig.clearCanvas){s&&(this.canvasContext.restore(),this.globalData.blendMode="source-over");var a=this.contextData.pop(),l=a.transform,t=a.opacity;this.canvasContext.setTransform(l[0],l[1],l[4],l[5],l[12],l[13]),this.globalData.currentGlobalAlpha!==t&&(this.canvasContext.globalAlpha=t,this.globalData.currentGlobalAlpha=t)}else this.canvasContext.restore()},CanvasRendererBase.prototype.configAnimation=function(s){if(this.animationItem.wrapper){this.animationItem.container=createTag("canvas");var a=this.animationItem.container.style;a.width="100%",a.height="100%";var l="0px 0px 0px";a.transformOrigin=l,a.mozTransformOrigin=l,a.webkitTransformOrigin=l,a["-webkit-transform"]=l,a.contentVisibility=this.renderConfig.contentVisibility,this.animationItem.wrapper.appendChild(this.animationItem.container),this.canvasContext=this.animationItem.container.getContext("2d"),this.renderConfig.className&&this.animationItem.container.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.animationItem.container.setAttribute("id",this.renderConfig.id)}else this.canvasContext=this.renderConfig.context;this.data=s,this.layers=s.layers,this.transformCanvas={w:s.w,h:s.h,sx:0,sy:0,tx:0,ty:0},this.setupGlobalData(s,document.body),this.globalData.canvasContext=this.canvasContext,this.globalData.renderer=this,this.globalData.isDashed=!1,this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.globalData.transformCanvas=this.transformCanvas,this.elements=createSizedArray(s.layers.length),this.updateContainerSize()},CanvasRendererBase.prototype.updateContainerSize=function(s,a){var l,t,f,_;if(this.reset(),s?(t=a,this.canvasContext.canvas.width=l=s,this.canvasContext.canvas.height=t):(this.animationItem.wrapper&&this.animationItem.container?(l=this.animationItem.wrapper.offsetWidth,t=this.animationItem.wrapper.offsetHeight):(l=this.canvasContext.canvas.width,t=this.canvasContext.canvas.height),this.canvasContext.canvas.width=l*this.renderConfig.dpr,this.canvasContext.canvas.height=t*this.renderConfig.dpr),-1!==this.renderConfig.preserveAspectRatio.indexOf("meet")||-1!==this.renderConfig.preserveAspectRatio.indexOf("slice")){var S=this.renderConfig.preserveAspectRatio.split(" "),D=S[1]||"meet",M=S[0]||"xMidYMid",k=M.substr(0,4),U=M.substr(4);(_=this.transformCanvas.w/this.transformCanvas.h)>(f=l/t)&&"meet"===D||_<f&&"slice"===D?(this.transformCanvas.sx=l/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=l/(this.transformCanvas.w/this.renderConfig.dpr)):(this.transformCanvas.sx=t/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.sy=t/(this.transformCanvas.h/this.renderConfig.dpr)),this.transformCanvas.tx="xMid"===k&&(_<f&&"meet"===D||_>f&&"slice"===D)?(l-this.transformCanvas.w*(t/this.transformCanvas.h))/2*this.renderConfig.dpr:"xMax"===k&&(_<f&&"meet"===D||_>f&&"slice"===D)?(l-this.transformCanvas.w*(t/this.transformCanvas.h))*this.renderConfig.dpr:0,this.transformCanvas.t
vendor: 11,175 bytes, line 1
1y="YMid"===U&&(_>f&&"meet"===D||_<f&&"slice"===D)?(t-this.transformCanvas.h*(l/this.transformCanvas.w))/2*this.renderConfig.dpr:"YMax"===U&&(_>f&&"meet"===D||_<f&&"slice"===D)?(t-this.transformCanvas.h*(l/this.transformCanvas.w))*this.renderConfig.dpr:0}else"none"===this.renderConfig.preserveAspectRatio?(this.transformCanvas.sx=l/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=t/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.tx=0,this.transformCanvas.ty=0):(this.transformCanvas.sx=this.renderConfig.dpr,this.transformCanvas.sy=this.renderConfig.dpr,this.transformCanvas.tx=0,this.transformCanvas.ty=0);this.transformCanvas.props=[this.transformCanvas.sx,0,0,0,0,this.transformCanvas.sy,0,0,0,0,1,0,this.transformCanvas.tx,this.transformCanvas.ty,0,1],this.ctxTransform(this.transformCanvas.props),this.canvasContext.beginPath(),this.canvasContext.rect(0,0,this.transformCanvas.w,this.transformCanvas.h),this.canvasContext.closePath(),this.canvasContext.clip(),this.renderFrame(this.renderedFrame,!0)},CanvasRendererBase.prototype.destroy=function(){var s;for(this.renderConfig.clearCanvas&&this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),s=(this.layers?this.layers.length:0)-1;s>=0;s-=1)this.elements[s]&&this.elements[s].destroy();this.elements.length=0,this.globalData.canvasContext=null,this.animationItem.container=null,this.destroyed=!0},CanvasRendererBase.prototype.renderFrame=function(s,a){if((this.renderedFrame!==s||!0!==this.renderConfig.clearCanvas||a)&&!this.destroyed&&-1!==s){this.renderedFrame=s,this.globalData.frameNum=s-this.animationItem._isFirstFrame,this.globalData.frameId+=1,this.globalData._mdf=!this.renderConfig.clearCanvas||a,this.globalData.projectInterface.currentFrame=s;var l,t=this.layers.length;for(this.completeLayers||this.checkLayers(s),l=0;l<t;l+=1)(this.completeLayers||this.elements[l])&&this.elements[l].prepareFrame(s-this.layers[l].st);if(this.globalData._mdf){for(!0===this.renderConfig.clearCanvas?this.canvasContext.clearRect(0,0,this.transformCanvas.w,this.transformCanvas.h):this.save(),l=t-1;l>=0;l-=1)(this.completeLayers||this.elements[l])&&this.elements[l].renderFrame();!0!==this.renderConfig.clearCanvas&&this.restore()}}},CanvasRendererBase.prototype.buildItem=function(s){var a=this.elements;if(!a[s]&&99!==this.layers[s].ty){var l=this.createItem(this.layers[s],this,this.globalData);a[s]=l,l.initExpressions()}},CanvasRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;)this.pendingElements.pop().checkParenting()},CanvasRendererBase.prototype.hide=function(){this.animationItem.container.style.display="none"},CanvasRendererBase.prototype.show=function(){this.animationItem.container.style.display="block"},extendPrototype([CanvasRendererBase,ICompElement,CVBaseElement],CVCompElement),CVCompElement.prototype.renderInnerContent=function(){var a,s=this.canvasContext;for(s.beginPath(),s.moveTo(0,0),s.lineTo(this.data.w,0),s.lineTo(this.data.w,this.data.h),s.lineTo(0,this.data.h),s.lineTo(0,0),s.clip(),a=this.layers.length-1;a>=0;a-=1)(this.completeLayers||this.elements[a])&&this.elements[a].renderFrame()},CVCompElement.prototype.destroy=function(){var s;for(s=this.layers.length-1;s>=0;s-=1)this.elements[s]&&this.elements[s].destroy();this.layers=null,this.elements=null},CVCompElement.prototype.createComp=function(s){return new CVCompElement(s,this.globalData,this)},extendPrototype([CanvasRendererBase],CanvasRenderer),CanvasRenderer.prototype.createComp=function(s){return new CVCompElement(s,this.globalData,this)},HBaseElement.prototype={checkBlendMode:function(){},initRendererElement:function(){this.baseElement=createTag(this.data.tg||"div"),this.data.hasMask?(this.svgElement=createNS("svg"),this.layerElement=createNS("g"),this.maskedElement=this.layerElement,this.svgElement.appendChild(this.layerElement),this.baseElement.appendChild(this.svgElement)):this.layerElement=this.baseElement,styleDiv(this.baseElement)},createContainerElements:function(){this.renderableEffectsManager=new CVEffects(this),this.transformedElement=this.baseElement,this.maskedElement=this.layerElement,this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),0!==this.data.bm&&this.setBlendMode()},renderElement:function(){var a=this.transformedElement?this.transformedElement.style:{};if(this.finalTransform._matMdf){var l=this.finalTransform.mat.toCSS();a.transform=l,a.webkitTransform=l}this.finalTransform._opMdf&&(a.opacity=this.finalTransform.mProp.o.v)},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},destroy:function(){this.layerElement=null,this.transformedElement=null,this.matteElement&&(this.matteElement=null),this.maskManager&&(this.maskManager.destroy(),this.maskManager=null)},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData)},addEffects:function(){},setMatte:function(){}},HBaseElement.prototype.getBaseElement=SVGBaseElement.prototype.getBaseElement,HBaseElement.prototype.destroyBaseElement=HBaseElement.prototype.destroy,HBaseElement.prototype.buildElementParenting=BaseRenderer.prototype.buildElementParenting,extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],HSolidElement),HSolidElement.prototype.createContent=function(){var s;this.data.hasMask?((s=createNS("rect")).setAttribute("width",this.data.sw),s.setAttribute("height",this.data.sh),s.setAttribute("fill",this.data.sc),this.svgElement.setAttribute("width",this.data.sw),this.svgElement.setAttribute("height",this.data.sh)):((s=createTag("div")).style.width=this.data.sw+"px",s.style.height=this.data.sh+"px",s.style.backgroundColor=this.data.sc),this.layerElement.appendChild(s)},extendPrototype([BaseElement,TransformElement,HSolidElement,SVGShapeElement,HBaseElement,HierarchyElement,FrameElement,RenderableElement],HShapeElement),HShapeElement.prototype._renderShapeFrame=HShapeElement.prototype.renderInnerContent,HShapeElement.prototype.createContent=function(){var s;if(this.baseElement.style.fontSize=0,this.data.hasMask)this.layerElement.appendChild(this.shapesContainer),s=this.svgElement;else{s=createNS("svg");var a=this.comp.data?this.comp.data:this.globalData.compSize;s.setAttribute("width",a.w),s.setAttribute("height",a.h),s.appendChild(this.shapesContainer),this.layerElement.appendChild(s)}this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.shapesContainer,0,[],!0),this.filterUniqueShapes(),this.shapeCont=s},HShapeElement.prototype.getTransformedPoint=function(s,a){var l,t=s.length;for(l=0;l<t;l+=1)a=s[l].mProps.v.applyToPointArray(a[0],a[1],0);return a},HShapeElement.prototype.calculateShapeBoundingBox=function(s,a){var f,S,D,M,k,l=s.sh.v,t=s.transformers,_=l._length;if(!(_<=1)){for(f=0;f<_-1;f+=1)S=this.getTransformedPoint(t,l.v[f]),D=this.getTransformedPoint(t,l.o[f]),M=this.getTransformedPoint(t,l.i[f+1]),k=this.getTransformedPoint(t,l.v[f+1]),this.checkBounds(S,D,M,k,a);l.c&&(S=this.getTransformedPoint(t,l.v[f]),D=this.getTransformedPoint(t,l.o[f]),M=this.getTransformedPoint(t,l.i[0]),k=this.getTransformedPoint(t,l.v[0]),this.checkBounds(S,D,M,k,a))}},HShapeElement.prototype.checkBounds=function(s,a,l,t,f){this.getBoundsOfCurve(s,a,l,t);var _=this.shapeBoundingBox;f.x=bmMin(_.left,f.x),f.xMax=bmMax(_.right,f.xMax),f.y=bmMin(_.top,f.y),f.yMax=bmMax(_.bottom,f.yMax)},HShapeElement.prototype.shapeBoundingBox={left:0,right:0,top:0,bottom:0},HShapeElement.prototype.tempBoundingBox={x:0,xMax:0,y:0,yMax:0,width:0,height:0},HShapeElement.prototype.getBoundsOfCurve=function(s,a,l,t){for(var _,S,D,M,k,U,te,f=[[s[0],t[0]],[s[1],t[1]]],I=0;I<2;++I)S=6*s[I]-12*a[I]+6*l[I],_=-3*s[I]+9*a[I]-9*l[I]+3*t[I],D=3*a[I]-3*s[I],S|=0,D|=0,0==(_|=0)&&0===S||(0===_?(M=-D/S)>0&&M<1&&f[I].push(this.calculateF(M,s,a,l,t,I)):(k=S*S-4*D*_)>=0&&((U=(-S+bmSqrt(k))/(2*_))>0&&U<1&&f[I].push(this.calculateF(U,s,a,l,t,I)),(te=(-S-bmSqrt(k))/(2*_))>0&&te<1&&f[I].push(this.calculateF(te,s,a,l,t,I))));this.shapeBoundingBox.left=bmMin.apply(null,f[0]),this.shapeBoundingBox.top=bmMin.apply(null,f[1]),this.shapeBoundingBox.right=bmMax.apply(null,f[0]),this.shapeBoundingBox.bottom=bmMax.apply(null,f[1])},HShapeElement.prototype.calculateF=function(s,a,l,t,f,_){return bmPow(1-s,3)*a[_]+3*bmPow(1-s,2)*s*l[_]+3*(1-s)*bmPow(s,2)*t[_]+bmPow(s,3)*f[_]},HShapeElement.prototype.calculateBoundingBox=function(s,a){var l,t=s.length;for(l=0;l<t;l+=1)s[l]&&s[l].sh?this.calculateShapeBoundingBox(s[l],a):s[l]&&s[l].it?this.calculateBoundingBox(s[l].it,a):s[l]&&s[l].style&&s[l].w&&this.expandStrokeBoundingBox(s[l].w,a)},HShapeElement.prototype.expandStrokeBoundingBox=function(s,a){var l=0;if(s.keyframes){for(var t=0;t<s.keyframes.length;t+=1){var f=s.keyframes[t].s;f>l&&(l=f)}l*=s.mult}else l=s.v*s.mult;a.x-=l,a.xMax+=l,a.y-=l,a.yMax+=l},HShapeElement.prototype.currentBoxContains=function(s){return this.currentBBox.x<=s.x&&this.currentBBox.y<=s.y&&this.currentBBox.width+this.currentBBox.x>=s.x+s.width&&this.currentBBox.height+this.currentBBox.y>=s.y+s.height},HShapeElement.prototype.renderInnerContent=function(){if(this._renderShapeFrame(),!this.hidden&&(this._isFirstFrame||this._mdf)){var s=this.tempBoundingBox,a=999999;if(s.x=a,s.xMax=-a,s.y=a,s.yMax=-a,this.calculateBoundingBox(this.itemsData,s),s.width=s.xMax<s.x?0:s.xMax-s.x,s.height=s.yMax<s.y?0:s.yMax-s.y,this.currentBoxContains(s))return;var l=!1;if(this.currentBBox.w!==s.width&&(this.currentBBox.w=s.width,this.shapeCont.setAttribute("width",s.width),l=!0),this.currentBBox.h!==s.height&&(this.currentBBox.h=s.height,this.shapeCont.setAttribute("height",s.height),l=!0),l||this.currentBBox.x!==s.x||this.currentBBox.y!==s.y){this.currentBBox.w=s.width,this.currentBBox.h=s.height,this.currentBBox.x=s.x,this.currentBBox.y=s.y,this.shapeCont.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h);var t=this.shapeCont.style,f="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";t.transform=f,t.webkitTransform=f}}},extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],HTextElement),HTextElement.prototype.createContent=function(){if(this.isMasked=this.checkMasks(),this.isMasked){this.renderType="svg",this.compW=this.comp.data.w,this.compH=this.comp.data.h,this.svgElement.setAttribute("width",this.compW),this.svgElement.setAttribute("height",this.compH);var s=createNS("g");this.maskedElement.appendChild(s),this.innerElem=s}else this.renderType="html",this.innerElem=this.layerElement;this.checkParenting()},HTextElement.prototype.buildNewText=function(){var s=this.textProperty.currentData;this.renderedLetters=createSizedArray(s.l?s.l.length:0);var a=this.innerElem.style,l=s.fc?this.buildColor(s.fc):"rgba(0,0,0,0)";a.fill=l,a.color=l,s.sc&&(a.stroke=this.buildColor(s.sc),a.strokeWidth=s.sw+"px");var t=this.globalData.fontManager.getFontByName(s.f);
vendor: 9,765 bytes, line 1
1if(!this.globalData.fontManager.chars)if(a.fontSize=s.finalSize+"px",a.lineHeight=s.finalSize+"px",t.fClass)this.innerElem.className=t.fClass;else{a.fontFamily=t.fFamily;var f=s.fWeight;a.fontStyle=s.fStyle,a.fontWeight=f}var S,D,M=s.l;D=M.length;var k,U,te,z,I=this.mHelper,H="",ee=0;for(S=0;S<D;S+=1){if(this.globalData.fontManager.chars?(this.textPaths[ee]?k=this.textPaths[ee]:((k=createNS("path")).setAttribute("stroke-linecap",lineCapEnum[1]),k.setAttribute("stroke-linejoin",lineJoinEnum[2]),k.setAttribute("stroke-miterlimit","4")),this.isMasked||(this.textSpans[ee]?te=(U=this.textSpans[ee]).children[0]:((U=createTag("div")).style.lineHeight=0,(te=createNS("svg")).appendChild(k),styleDiv(U)))):this.isMasked?k=this.textPaths[ee]?this.textPaths[ee]:createNS("text"):this.textSpans[ee]?(U=this.textSpans[ee],k=this.textPaths[ee]):(styleDiv(U=createTag("span")),styleDiv(k=createTag("span")),U.appendChild(k)),this.globalData.fontManager.chars){var V,ae=this.globalData.fontManager.getCharData(s.finalText[S],t.fStyle,this.globalData.fontManager.getFontByName(s.f).fFamily);if(V=ae?ae.data:null,I.reset(),V&&V.shapes&&V.shapes.length&&(z=V.shapes[0].it,I.scale(s.finalSize/100,s.finalSize/100),H=this.createPathShape(I,z),k.setAttribute("d",H)),this.isMasked)this.innerElem.appendChild(k);else{if(this.innerElem.appendChild(U),V&&V.shapes){document.body.appendChild(te);var Y=te.getBBox();te.setAttribute("width",Y.width+2),te.setAttribute("height",Y.height+2),te.setAttribute("viewBox",Y.x-1+" "+(Y.y-1)+" "+(Y.width+2)+" "+(Y.height+2));var N=te.style,O="translate("+(Y.x-1)+"px,"+(Y.y-1)+"px)";N.transform=O,N.webkitTransform=O,M[S].yOffset=Y.y-1}else te.setAttribute("width",1),te.setAttribute("height",1);U.appendChild(te)}}else if(k.textContent=M[S].val,k.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),this.isMasked)this.innerElem.appendChild(k);else{this.innerElem.appendChild(U);var X=k.style,J="translate3d(0,"+-s.finalSize/1.2+"px,0)";X.transform=J,X.webkitTransform=J}this.textSpans[ee]=this.isMasked?k:U,this.textSpans[ee].style.display="block",this.textPaths[ee]=k,ee+=1}for(;ee<this.textSpans.length;)this.textSpans[ee].style.display="none",ee+=1},HTextElement.prototype.renderInnerContent=function(){var s;if(this.data.singleShape){if(!this._isFirstFrame&&!this.lettersChangedFlag)return;if(this.isMasked&&this.finalTransform._matMdf){this.svgElement.setAttribute("viewBox",-this.finalTransform.mProp.p.v[0]+" "+-this.finalTransform.mProp.p.v[1]+" "+this.compW+" "+this.compH);var a="translate("+-this.finalTransform.mProp.p.v[0]+"px,"+-this.finalTransform.mProp.p.v[1]+"px)";(s=this.svgElement.style).transform=a,s.webkitTransform=a}}if(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag){var l,t,D,M,k,f=0,_=this.textAnimator.renderedLetters,S=this.textProperty.currentData.l;for(t=S.length,l=0;l<t;l+=1)S[l].n?f+=1:(M=this.textSpans[l],k=this.textPaths[l],D=_[f],f+=1,D._mdf.m&&(this.isMasked?M.setAttribute("transform",D.m):(M.style.webkitTransform=D.m,M.style.transform=D.m)),M.style.opacity=D.o,D.sw&&D._mdf.sw&&k.setAttribute("stroke-width",D.sw),D.sc&&D._mdf.sc&&k.setAttribute("stroke",D.sc),D.fc&&D._mdf.fc&&(k.setAttribute("fill",D.fc),k.style.color=D.fc));if(this.innerElem.getBBox&&!this.hidden&&(this._isFirstFrame||this._mdf)){var U=this.innerElem.getBBox();if(this.currentBBox.w!==U.width&&(this.currentBBox.w=U.width,this.svgElement.setAttribute("width",U.width)),this.currentBBox.h!==U.height&&(this.currentBBox.h=U.height,this.svgElement.setAttribute("height",U.height)),this.currentBBox.w!==U.width+2||this.currentBBox.h!==U.height+2||this.currentBBox.x!==U.x-1||this.currentBBox.y!==U.y-1){this.currentBBox.w=U.width+2,this.currentBBox.h=U.height+2,this.currentBBox.x=U.x-1,this.currentBBox.y=U.y-1,this.svgElement.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h);var I="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";(s=this.svgElement.style).transform=I,s.webkitTransform=I}}}},extendPrototype([BaseElement,FrameElement,HierarchyElement],HCameraElement),HCameraElement.prototype.setup=function(){var s,l,t,f,a=this.comp.threeDElements.length;for(s=0;s<a;s+=1)if("3d"===(l=this.comp.threeDElements[s]).type){f=l.container.style;var _=this.pe.v+"px",S="0px 0px 0px",D="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";(t=l.perspectiveElem.style).perspective=_,t.webkitPerspective=_,f.transformOrigin=S,f.mozTransformOrigin=S,f.webkitTransformOrigin=S,t.transform=D,t.webkitTransform=D}},HCameraElement.prototype.createElements=function(){},HCameraElement.prototype.hide=function(){},HCameraElement.prototype.renderFrame=function(){var a,l,s=this._isFirstFrame;if(this.hierarchy)for(l=this.hierarchy.length,a=0;a<l;a+=1)s=this.hierarchy[a].finalTransform.mProp._mdf||s;if(s||this.pe._mdf||this.p&&this.p._mdf||this.px&&(this.px._mdf||this.py._mdf||this.pz._mdf)||this.rx._mdf||this.ry._mdf||this.rz._mdf||this.or._mdf||this.a&&this.a._mdf){if(this.mat.reset(),this.hierarchy)for(a=l=this.hierarchy.length-1;a>=0;a-=1){var t=this.hierarchy[a].finalTransform.mProp;this.mat.translate(-t.p.v[0],-t.p.v[1],t.p.v[2]),this.mat.rotateX(-t.or.v[0]).rotateY(-t.or.v[1]).rotateZ(t.or.v[2]),this.mat.rotateX(-t.rx.v).rotateY(-t.ry.v).rotateZ(t.rz.v),this.mat.scale(1/t.s.v[0],1/t.s.v[1],1/t.s.v[2]),this.mat.translate(t.a.v[0],t.a.v[1],t.a.v[2])}if(this.p?this.mat.translate(-this.p.v[0],-this.p.v[1],this.p.v[2]):this.mat.translate(-this.px.v,-this.py.v,this.pz.v),this.a){var f;f=this.p?[this.p.v[0]-this.a.v[0],this.p.v[1]-this.a.v[1],this.p.v[2]-this.a.v[2]]:[this.px.v-this.a.v[0],this.py.v-this.a.v[1],this.pz.v-this.a.v[2]];var _=Math.sqrt(Math.pow(f[0],2)+Math.pow(f[1],2)+Math.pow(f[2],2)),S=[f[0]/_,f[1]/_,f[2]/_],D=Math.sqrt(S[2]*S[2]+S[0]*S[0]),M=Math.atan2(S[1],D),k=Math.atan2(S[0],-S[2]);this.mat.rotateY(k).rotateX(-M)}this.mat.rotateX(-this.rx.v).rotateY(-this.ry.v).rotateZ(this.rz.v),this.mat.rotateX(-this.or.v[0]).rotateY(-this.or.v[1]).rotateZ(this.or.v[2]),this.mat.translate(this.globalData.compSize.w/2,this.globalData.compSize.h/2,0),this.mat.translate(0,0,this.pe.v);var U=!this._prevMat.equals(this.mat);if((U||this.pe._mdf)&&this.comp.threeDElements){var te,I,z;for(l=this.comp.threeDElements.length,a=0;a<l;a+=1)if("3d"===(te=this.comp.threeDElements[a]).type){if(U){var H=this.mat.toCSS();(z=te.container.style).transform=H,z.webkitTransform=H}this.pe._mdf&&((I=te.perspectiveElem.style).perspective=this.pe.v+"px",I.webkitPerspective=this.pe.v+"px")}this.mat.clone(this._prevMat)}}this._isFirstFrame=!1},HCameraElement.prototype.prepareFrame=function(s){this.prepareProperties(s,!0)},HCameraElement.prototype.destroy=function(){},HCameraElement.prototype.getBaseElement=function(){return null},extendPrototype([BaseElement,TransformElement,HBaseElement,HSolidElement,HierarchyElement,FrameElement,RenderableElement],HImageElement),HImageElement.prototype.createContent=function(){var s=this.globalData.getAssetsPath(this.assetData),a=new Image;this.data.hasMask?(this.imageElem=createNS("image"),this.imageElem.setAttribute("width",this.assetData.w+"px"),this.imageElem.setAttribute("height",this.assetData.h+"px"),this.imageElem.setAttributeNS("http://www.w3.org/1999/xlink","href",s),this.layerElement.appendChild(this.imageElem),this.baseElement.setAttribute("width",this.assetData.w),this.baseElement.setAttribute("height",this.assetData.h)):this.layerElement.appendChild(a),a.crossOrigin="anonymous",a.src=s,this.data.ln&&this.baseElement.setAttribute("id",this.data.ln)},extendPrototype([BaseRenderer],HybridRendererBase),HybridRendererBase.prototype.buildItem=SVGRenderer.prototype.buildItem,HybridRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;)this.pendingElements.pop().checkParenting()},HybridRendererBase.prototype.appendElementInPos=function(s,a){var l=s.getBaseElement();if(l){var t=this.layers[a];if(t.ddd&&this.supports3d)this.addTo3dContainer(l,a);else if(this.threeDElements)this.addTo3dContainer(l,a);else{for(var _,S,f=0;f<a;)this.elements[f]&&!0!==this.elements[f]&&this.elements[f].getBaseElement&&(S=this.elements[f],_=(this.layers[f].ddd?this.getThreeDContainerByPos(f):S.getBaseElement())||_),f+=1;_?(!t.ddd||!this.supports3d)&&this.layerElement.insertBefore(l,_):(!t.ddd||!this.supports3d)&&this.layerElement.appendChild(l)}}},HybridRendererBase.prototype.createShape=function(s){return this.supports3d?new HShapeElement(s,this.globalData,this):new SVGShapeElement(s,this.globalData,this)},HybridRendererBase.prototype.createText=function(s){return this.supports3d?new HTextElement(s,this.globalData,this):new SVGTextLottieElement(s,this.globalData,this)},HybridRendererBase.prototype.createCamera=function(s){return this.camera=new HCameraElement(s,this.globalData,this),this.camera},HybridRendererBase.prototype.createImage=function(s){return this.supports3d?new HImageElement(s,this.globalData,this):new IImageElement(s,this.globalData,this)},HybridRendererBase.prototype.createSolid=function(s){return this.supports3d?new HSolidElement(s,this.globalData,this):new ISolidElement(s,this.globalData,this)},HybridRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,HybridRendererBase.prototype.getThreeDContainerByPos=function(s){for(var a=0,l=this.threeDElements.length;a<l;){if(this.threeDElements[a].startPos<=s&&this.threeDElements[a].endPos>=s)return this.threeDElements[a].perspectiveElem;a+=1}return null},HybridRendererBase.prototype.createThreeDContainer=function(s,a){var t,f,l=createTag("div");styleDiv(l);var _=createTag("div");if(styleDiv(_),"3d"===a){(t=l.style).width=this.globalData.compSize.w+"px",t.he
vendor: 6,651 bytes, line 1
1ight=this.globalData.compSize.h+"px";var S="50% 50%";t.webkitTransformOrigin=S,t.mozTransformOrigin=S,t.transformOrigin=S;var D="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";(f=_.style).transform=D,f.webkitTransform=D}l.appendChild(_);var M={container:_,perspectiveElem:l,startPos:s,endPos:s,type:a};return this.threeDElements.push(M),M},HybridRendererBase.prototype.build3dContainers=function(){var s,l,a=this.layers.length,t="";for(s=0;s<a;s+=1)this.layers[s].ddd&&3!==this.layers[s].ty?("3d"!==t&&(t="3d",l=this.createThreeDContainer(s,"3d")),l.endPos=Math.max(l.endPos,s)):("2d"!==t&&(t="2d",l=this.createThreeDContainer(s,"2d")),l.endPos=Math.max(l.endPos,s));for(s=(a=this.threeDElements.length)-1;s>=0;s-=1)this.resizerElem.appendChild(this.threeDElements[s].perspectiveElem)},HybridRendererBase.prototype.addTo3dContainer=function(s,a){for(var l=0,t=this.threeDElements.length;l<t;){if(a<=this.threeDElements[l].endPos){for(var _,f=this.threeDElements[l].startPos;f<a;)this.elements[f]&&this.elements[f].getBaseElement&&(_=this.elements[f].getBaseElement()),f+=1;_?this.threeDElements[l].container.insertBefore(s,_):this.threeDElements[l].container.appendChild(s);break}l+=1}},HybridRendererBase.prototype.configAnimation=function(s){var a=createTag("div"),l=this.animationItem.wrapper,t=a.style;t.width=s.w+"px",t.height=s.h+"px",this.resizerElem=a,styleDiv(a),t.transformStyle="flat",t.mozTransformStyle="flat",t.webkitTransformStyle="flat",this.renderConfig.className&&a.setAttribute("class",this.renderConfig.className),l.appendChild(a),t.overflow="hidden";var f=createNS("svg");f.setAttribute("width","1"),f.setAttribute("height","1"),styleDiv(f),this.resizerElem.appendChild(f);var _=createNS("defs");f.appendChild(_),this.data=s,this.setupGlobalData(s,f),this.globalData.defs=_,this.layers=s.layers,this.layerElement=this.resizerElem,this.build3dContainers(),this.updateContainerSize()},HybridRendererBase.prototype.destroy=function(){this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.animationItem.container=null,this.globalData.defs=null;var s,a=this.layers?this.layers.length:0;for(s=0;s<a;s+=1)this.elements[s].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},HybridRendererBase.prototype.updateContainerSize=function(){var f,_,S,D,s=this.animationItem.wrapper.offsetWidth,a=this.animationItem.wrapper.offsetHeight;this.globalData.compSize.w/this.globalData.compSize.h>s/a?(f=s/this.globalData.compSize.w,_=s/this.globalData.compSize.w,S=0,D=(a-this.globalData.compSize.h*(s/this.globalData.compSize.w))/2):(f=a/this.globalData.compSize.h,_=a/this.globalData.compSize.h,S=(s-this.globalData.compSize.w*(a/this.globalData.compSize.h))/2,D=0);var M=this.resizerElem.style;M.webkitTransform="matrix3d("+f+",0,0,0,0,"+_+",0,0,0,0,1,0,"+S+","+D+",0,1)",M.transform=M.webkitTransform},HybridRendererBase.prototype.renderFrame=SVGRenderer.prototype.renderFrame,HybridRendererBase.prototype.hide=function(){this.resizerElem.style.display="none"},HybridRendererBase.prototype.show=function(){this.resizerElem.style.display="block"},HybridRendererBase.prototype.initItems=function(){if(this.buildAllItems(),this.camera)this.camera.setup();else{var l,s=this.globalData.compSize.w,a=this.globalData.compSize.h,t=this.threeDElements.length;for(l=0;l<t;l+=1){var f=this.threeDElements[l].perspectiveElem.style;f.webkitPerspective=Math.sqrt(Math.pow(s,2)+Math.pow(a,2))+"px",f.perspective=f.webkitPerspective}}},HybridRendererBase.prototype.searchExtraCompositions=function(s){var a,l=s.length,t=createTag("div");for(a=0;a<l;a+=1)if(s[a].xt){var f=this.createComp(s[a],t,this.globalData.comp,null);f.initExpressions(),this.globalData.projectInterface.registerComposition(f)}},extendPrototype([HybridRendererBase,ICompElement,HBaseElement],HCompElement),HCompElement.prototype._createBaseContainerElements=HCompElement.prototype.createContainerElements,HCompElement.prototype.createContainerElements=function(){this._createBaseContainerElements(),this.data.hasMask?(this.svgElement.setAttribute("width",this.data.w),this.svgElement.setAttribute("height",this.data.h),this.transformedElement=this.baseElement):this.transformedElement=this.layerElement},HCompElement.prototype.addTo3dContainer=function(s,a){for(var t,l=0;l<a;)this.elements[l]&&this.elements[l].getBaseElement&&(t=this.elements[l].getBaseElement()),l+=1;t?this.layerElement.insertBefore(s,t):this.layerElement.appendChild(s)},HCompElement.prototype.createComp=function(s){return this.supports3d?new HCompElement(s,this.globalData,this):new SVGCompElement(s,this.globalData,this)},extendPrototype([HybridRendererBase],HybridRenderer),HybridRenderer.prototype.createComp=function(s){return this.supports3d?new HCompElement(s,this.globalData,this):new SVGCompElement(s,this.globalData,this)};var CompExpressionInterface=function(s){function a(l){for(var t=0,f=s.layers.length;t<f;){if(s.layers[t].nm===l||s.layers[t].ind===l)return s.elements[t].layerInterface;t+=1}return null}return Object.defineProperty(a,"_name",{value:s.data.nm}),a.layer=a,a.pixelAspect=1,a.height=s.data.h||s.globalData.compSize.h,a.width=s.data.w||s.globalData.compSize.w,a.pixelAspect=1,a.frameDuration=1/s.globalData.frameRate,a.displayStartTime=0,a.numLayers=s.layers.length,a},Expressions=function(){var s={initExpressions:function a(l){var t=0,f=[];l.renderer.compInterface=CompExpressionInterface(l.renderer),l.renderer.globalData.projectInterface.registerComposition(l.renderer),l.renderer.globalData.pushExpression=function _(){t+=1},l.renderer.globalData.popExpression=function S(){0==(t-=1)&&function M(){var k,U=f.length;for(k=0;k<U;k+=1)f[k].release();f.length=0}()},l.renderer.globalData.registerExpressionProperty=function D(k){-1===f.indexOf(k)&&f.push(k)}}};return s}(),MaskManagerInterface=function(){function s(l,t){this._mask=l,this._data=t}return Object.defineProperty(s.prototype,"maskPath",{get:function(){return this._mask.prop.k&&this._mask.prop.getValue(),this._mask.prop}}),Object.defineProperty(s.prototype,"maskOpacity",{get:function(){return this._mask.op.k&&this._mask.op.getValue(),100*this._mask.op.v}}),function(t){var _,f=createSizedArray(t.viewData.length),S=t.viewData.length;for(_=0;_<S;_+=1)f[_]=new s(t.viewData[_],t.masksProperties[_]);return function(k){for(_=0;_<S;){if(t.masksProperties[_].nm===k)return f[_];_+=1}return null}}}(),ExpressionPropertyInterface=function(){var s={pv:0,v:0,mult:1},a={pv:[0,0,0],v:[0,0,0],mult:1};function l(S,D,M){Object.defineProperty(S,"velocity",{get:function(){return D.getVelocityAtTime(D.comp.currentFrame)}}),S.numKeys=D.keyframes?D.keyframes.length:0,S.key=function(k){if(!S.numKe
vendor: 5,592 bytes, line 1
1ys)return 0;var U;U="s"in D.keyframes[k-1]?D.keyframes[k-1].s:"e"in D.keyframes[k-2]?D.keyframes[k-2].e:D.keyframes[k-2].s;var te="unidimensional"===M?new Number(U):Object.assign({},U);return te.time=D.keyframes[k-1].t/D.elem.comp.globalData.frameRate,te.value="unidimensional"===M?U[0]:U,te},S.valueAtTime=D.getValueAtTime,S.speedAtTime=D.getSpeedAtTime,S.velocityAtTime=D.getVelocityAtTime,S.propertyGroup=D.propertyGroup}function _(){return s}return function(S){return S?"unidimensional"===S.propType?function t(S){(!S||!("pv"in S))&&(S=s);var D=1/S.mult,M=S.pv*D,k=new Number(M);return k.value=M,l(k,S,"unidimensional"),function(){return S.k&&S.getValue(),k.value!==(M=S.v*D)&&((k=new Number(M)).value=M,l(k,S,"unidimensional")),k}}(S):function f(S){(!S||!("pv"in S))&&(S=a);var D=1/S.mult,M=S.data&&S.data.l||S.pv.length,k=createTypedArray("float32",M),U=createTypedArray("float32",M);return k.value=U,l(k,S,"multidimensional"),function(){S.k&&S.getValue();for(var te=0;te<M;te+=1)U[te]=S.v[te]*D,k[te]=U[te];return k}}(S):_}}(),TransformExpressionInterface=function(s){function a(S){switch(S){case"scale":case"Scale":case"ADBE Scale":case 6:return a.scale;case"rotation":case"Rotation":case"ADBE Rotation":case"ADBE Rotate Z":case 10:return a.rotation;case"ADBE Rotate X":return a.xRotation;case"ADBE Rotate Y":return a.yRotation;case"position":case"Position":case"ADBE Position":case 2:return a.position;case"ADBE Position_0":return a.xPosition;case"ADBE Position_1":return a.yPosition;case"ADBE Position_2":return a.zPosition;case"anchorPoint":case"AnchorPoint":case"Anchor Point":case"ADBE AnchorPoint":case 1:return a.anchorPoint;case"opacity":case"Opacity":case 11:return a.opacity;default:return null}}var l,t,f,_;return Object.defineProperty(a,"rotation",{get:ExpressionPropertyInterface(s.r||s.rz)}),Object.defineProperty(a,"zRotation",{get:ExpressionPropertyInterface(s.rz||s.r)}),Object.defineProperty(a,"xRotation",{get:ExpressionPropertyInterface(s.rx)}),Object.defineProperty(a,"yRotation",{get:ExpressionPropertyInterface(s.ry)}),Object.defineProperty(a,"scale",{get:ExpressionPropertyInterface(s.s)}),s.p?_=ExpressionPropertyInterface(s.p):(l=ExpressionPropertyInterface(s.px),t=ExpressionPropertyInterface(s.py),s.pz&&(f=ExpressionPropertyInterface(s.pz))),Object.defineProperty(a,"position",{get:function(){return s.p?_():[l(),t(),f?f():0]}}),Object.defineProperty(a,"xPosition",{get:ExpressionPropertyInterface(s.px)}),Object.defineProperty(a,"yPosition",{get:ExpressionPropertyInterface(s.py)}),Object.defineProperty(a,"zPosition",{get:ExpressionPropertyInterface(s.pz)}),Object.defineProperty(a,"anchorPoint",{get:ExpressionPropertyInterface(s.a)}),Object.defineProperty(a,"opacity",{get:ExpressionPropertyInterface(s.o)}),Object.defineProperty(a,"skew",{get:ExpressionPropertyInterface(s.sk)}),Object.defineProperty(a,"skewAxis",{get:ExpressionPropertyInterface(s.sa)}),Object.defineProperty(a,"orientation",{get:ExpressionPropertyInterface(s.or)}),a},LayerExpressionInterface=function(){function s(k){var U=new Matrix;return void 0!==k?this._elem.finalTransform.mProp.getValueAtTime(k).clone(U):this._elem.finalTransform.mProp.applyToMatrix(U),U}function a(k,U){var te=this.getMatrix(U);return te.props[12]=0,te.props[13]=0,te.props[14]=0,this.applyPoint(te,k)}function l(k,U){var te=this.getMatrix(U);return this.applyPoint(te,k)}function t(k,U){var te=this.getMatrix(U);return te.props[12]=0,te.props[13]=0,te.props[14]=0,this.invertPoint(te,k)}function f(k,U){var te=this.getMatrix(U);return this.invertPoint(te,k)}function _(k,U){if(this._elem.hierarchy&&this._elem.hierarchy.length){var te,I=this._elem.hierarchy.length;for(te=0;te<I;te+=1)this._elem.hierarchy[te].finalTransform.mProp.applyToMatrix(k)}return k.applyToPointArray(U[0],U[1],U[2]||0)}function S(k,U){if(this._elem.hierarchy&&this._elem.hierarchy.length){var te,I=this._elem.hierarchy.length;for(te=0;te<I;te+=1)this._elem.hierarchy[te].finalTransform.mProp.applyToMatrix(k)}return k.inversePoint(U)}function D(k){var U=new Matrix;if(U.reset(),this._elem.finalTransform.mProp.applyToMatrix(U),this._elem.hierarchy&&this._elem.hierarchy.length){var te,I=this._elem.hierarchy.length;for(te=0;te<I;te+=1)this._elem.hierarchy[te].finalTransform.mProp.applyToMatrix(U);return U.inversePoint(k)}return U.inversePoint(k)}function M(){return[1,1,1,1]}return function(k){var U;function z(ee){switch(ee){case"ADBE Root Vectors Group":case"Contents":case 2:return z.shapeInterface;case 1:case 6:case"Transform":case"transform":case"ADBE Transform Group":return U;case 4:case"ADBE Effect Parade":case"effects":case"Effects":return z.effect;case"ADBE Text Properties":return z.textInterface;default:return null}}z.getMatrix=s,z.invertPoint=S,z.applyPoint=_,z.toWorld=l,z.toWorldVec=a,z.fromWorld=f,z.fromWorldVec=t,z.toComp=l,z.fromComp=D,z.sampleImage=M,z.sourceRectAtTime=k.sourceRectAtTime.bind(k),z._elem=k;var H=getDescriptor(U=TransformExpressionInterface(k.finalTransform.mProp),"anchorPoint");return Object.defineProperties(z,{hasParent:{get:function(){return k.hierarchy.length}},parent:{get:function(){return k.hierarchy[0].layerInterface}},rotation:getDescriptor(U,"rotation"),scale:getDescriptor(U,"scale"),position:getDescriptor(U,"position"),opacity:getDescriptor(U,"opacity"),anchorPoint:H,anchor_point:H,transform:{get:function(){return U}},active:{get:function(){return k.isInRange}}}),z.startTime=k.data.st,z.index=k.data.ind,z.source=k.data.refId,z.height=0===k.data.ty?k.data.h:100,z.width=0===k.data.ty?k.data.w:100,z.inPoint=k.data.ip/k.comp.globalData.frameRate,z.outPoint=k.data.op/k.
vendor: 10,118 bytes, line 1
1comp.globalData.frameRate,z._name=k.data.nm,z.registerMaskInterface=function te(ee){z.mask=new MaskManagerInterface(ee,k)},z.registerEffectsInterface=function I(ee){z.effect=ee},z}}(),propertyGroupFactory=function(s,a){return function(l){return(l=void 0===l?1:l)<=0?s:a(l-1)}},PropertyInterface=function(s,a){var l={_name:s};return function t(f){return(f=void 0===f?1:f)<=0?l:a(f-1)}},EffectsExpressionInterface=function(){function l(f,_,S,D){function M(z){for(var H=f.ef,ee=0,ae=H.length;ee<ae;){if(z===H[ee].nm||z===H[ee].mn||z===H[ee].ix)return 5===H[ee].ty?U[ee]:U[ee]();ee+=1}throw new Error}var te,k=propertyGroupFactory(M,S),U=[],I=f.ef.length;for(te=0;te<I;te+=1)U.push(5===f.ef[te].ty?l(f.ef[te],_.effectElements[te],_.effectElements[te].propertyGroup,D):t(_.effectElements[te],f.ef[te].ty,D,k));return"ADBE Color Control"===f.mn&&Object.defineProperty(M,"color",{get:function(){return U[0]()}}),Object.defineProperties(M,{numProperties:{get:function(){return f.np}},_name:{value:f.nm},propertyGroup:{value:k}}),M.active=M.enabled=0!==f.en,M}function t(f,_,S,D){var M=ExpressionPropertyInterface(f.p);return f.p.setGroupProperty&&f.p.setGroupProperty(PropertyInterface("",D)),function k(){return 10===_?S.comp.compInterface(f.p.v):M()}}return{createEffectsInterface:function a(f,_){if(f.effectsManager){var M,S=[],D=f.data.ef,k=f.effectsManager.effectElements.length;for(M=0;M<k;M+=1)S.push(l(D[M],f.effectsManager.effectElements[M],_,f));var U=f.data.ef||[],te=function(z){for(M=0,k=U.length;M<k;){if(z===U[M].nm||z===U[M].mn||z===U[M].ix)return S[M];M+=1}return null};return Object.defineProperty(te,"numProperties",{get:function(){return U.length}}),te}return null}}}(),ShapePathInterface=function(a,l,t){var f=l.sh;function _(D){return"Shape"===D||"shape"===D||"Path"===D||"path"===D||"ADBE Vector Shape"===D||2===D?_.path:null}var S=propertyGroupFactory(_,t);return f.setGroupProperty(PropertyInterface("Path",S)),Object.defineProperties(_,{path:{get:function(){return f.k&&f.getValue(),f}},shape:{get:function(){return f.k&&f.getValue(),f}},_name:{value:a.nm},ix:{value:a.ix},propertyIndex:{value:a.ix},mn:{value:a.mn},propertyGroup:{value:t}}),_},ShapeExpressionInterface=function(){function s(H,ee,ae){var Y,V=[],N=H?H.length:0;for(Y=0;Y<N;Y+=1)"gr"===H[Y].ty?V.push(l(H[Y],ee[Y],ae)):"fl"===H[Y].ty?V.push(t(H[Y],ee[Y],ae)):"st"===H[Y].ty?V.push(S(H[Y],ee[Y],ae)):"tm"===H[Y].ty?V.push(D(H[Y],ee[Y],ae)):"tr"===H[Y].ty||V.push("el"===H[Y].ty?k(H[Y],ee[Y],ae):"sr"===H[Y].ty?U(H[Y],ee[Y],ae):"sh"===H[Y].ty?ShapePathInterface(H[Y],ee[Y],ae):"rc"===H[Y].ty?te(H[Y],ee[Y],ae):"rd"===H[Y].ty?I(H[Y],ee[Y],ae):"rp"===H[Y].ty?z(H[Y],ee[Y],ae):"gf"===H[Y].ty?f(H[Y],ee[Y],ae):function H(){return null});return V}function l(H,ee,ae){var V=function(X){switch(X){case"ADBE Vectors Group":case"Contents":case 2:return V.content;default:return V.transform}};V.propertyGroup=propertyGroupFactory(V,ae);var Y=function a(H,ee,ae){var V,Y=function(X){for(var J=0,pe=V.length;J<pe;){if(V[J]._name===X||V[J].mn===X||V[J].propertyIndex===X||V[J].ix===X||V[J].ind===X)return V[J];J+=1}return"number"==typeof X?V[X-1]:null};Y.propertyGroup=propertyGroupFactory(Y,ae),V=s(H.it,ee.it,Y.propertyGroup),Y.numProperties=V.length;var N=M(H.it[H.it.length-1],ee.it[ee.it.length-1],Y.propertyGroup);return Y.transform=N,Y.propertyIndex=H.cix,Y._name=H.nm,Y}(H,ee,V.propertyGroup),N=M(H.it[H.it.length-1],ee.it[ee.it.length-1],V.propertyGroup);return V.content=Y,V.transform=N,Object.defineProperty(V,"_name",{get:function(){return H.nm}}),V.numProperties=H.np,V.propertyIndex=H.ix,V.nm=H.nm,V.mn=H.mn,V}function t(H,ee,ae){function V(Y){return"Color"===Y||"color"===Y?V.color:"Opacity"===Y||"opacity"===Y?V.opacity:null}return Object.defineProperties(V,{color:{get:ExpressionPropertyInterface(ee.c)},opacity:{get:ExpressionPropertyInterface(ee.o)},_name:{value:H.nm},mn:{value:H.mn}}),ee.c.setGroupProperty(PropertyInterface("Color",ae)),ee.o.setGroupProperty(PropertyInterface("Opacity",ae)),V}function f(H,ee,ae){function V(Y){return"Start Point"===Y||"start point"===Y?V.startPoint:"End Point"===Y||"end point"===Y?V.endPoint:"Opacity"===Y||"opacity"===Y?V.opacity:null}return Object.defineProperties(V,{startPoint:{get:ExpressionPropertyInterface(ee.s)},endPoint:{get:ExpressionPropertyInterface(ee.e)},opacity:{get:ExpressionPropertyInterface(ee.o)},type:{get:function(){return"a"}},_name:{value:H.nm},mn:{value:H.mn}}),ee.s.setGroupProperty(PropertyInterface("Start Point",ae)),ee.e.setGroupProperty(PropertyInterface("End Point",ae)),ee.o.setGroupProperty(PropertyInterface("Opacity",ae)),V}function S(H,ee,ae){var O,me,V=propertyGroupFactory(pe,ae),Y=propertyGroupFactory(J,V),X=H.d?H.d.length:0,J={};for(O=0;O<X;O+=1)me=O,Object.defineProperty(J,H.d[me].nm,{get:ExpressionPropertyInterface(ee.d.dataProps[me].p)}),ee.d.dataProps[O].p.setGroupProperty(Y);function pe(me){return"Color"===me||"color"===me?pe.color:"Opacity"===me||"opacity"===me?pe.opacity:"Stroke Width"===me||"stroke width"===me?pe.strokeWidth:null}return Object.defineProperties(pe,{color:{get:ExpressionPropertyInterface(ee.c)},opacity:{get:ExpressionPropertyInterface(ee.o)},strokeWidth:{get:ExpressionPropertyInterface(ee.w)},dash:{get:function(){return J}},_name:{value:H.nm},mn:{value:H.mn}}),ee.c.setGroupProperty(PropertyInterface("Color",V)),ee.o.setGroupProperty(PropertyInterface("Opacity",V)),ee.w.setGroupProperty(PropertyInterface("Stroke Width",V)),pe}function D(H,ee,ae){function V(N){return N===H.e.ix||"End"===N||"end"===N?V.end:N===H.s.ix?V.start:N===H.o.ix?V.offset:null}var Y=propertyGroupFactory(V,ae);return V.propertyIndex=H.ix,ee.s.setGroupProperty(PropertyInterface("Start",Y)),ee.e.setGroupProperty(PropertyInterface("End",Y)),ee.o.setGroupProperty(PropertyInterface("Offset",Y)),V.propertyIndex=H.ix,V.propertyGroup=ae,Object.defineProperties(V,{start:{get:ExpressionPropertyInterface(ee.s)},end:{get:ExpressionPropertyInterface(ee.e)},offset:{get:ExpressionPropertyInterface(ee.o)},_name:{value:H.nm}}),V.mn=H.mn,V}function M(H,ee,ae){function V(N){return H.a.ix===N||"Anchor Point"===N?V.anchorPoint:H.o.ix===N||"Opacity"===N?V.opacity:H.p.ix===N||"Position"===N?V.position:H.r.ix===N||"Rotation"===N||"ADBE Vector Rotation"===N?V.rotation:H.s.ix===N||"Scale"===N?V.scale:H.sk&&H.sk.ix===N||"Skew"===N?V.skew:H.sa&&H.sa.ix===N||"Skew Axis"===N?V.skewAxis:null}var Y=propertyGroupFactory(V,ae);return ee.transform.mProps.o.setGroupProperty(PropertyInterface("Opacity",Y)),ee.transform.mProps.p.setGroupProperty(PropertyInterface("Position",Y)),ee.transform.mProps.a.setGroupProperty(PropertyInterface("Anchor Point",Y)),ee.transform.mProps.s.setGroupProperty(PropertyInterface("Scale",Y)),ee.transform.mProps.r.setGroupProperty(PropertyInterface("Rotation",Y)),ee.transform.mProps.sk&&(ee.transform.mProps.sk.setGroupProperty(PropertyInterface("Skew",Y)),ee.transform.mProps.sa.setGroupProperty(PropertyInterface("Skew Angle",Y))),ee.transform.op.setGroupProperty(PropertyInterface("Opacity",Y)),Object.defineProperties(V,{opacity:{get:ExpressionPropertyInterface(ee.transform.mProps.o)},position:{get:ExpressionPropertyInterface(ee.transform.mProps.p)},anchorPoint:{get:ExpressionPropertyInterface(ee.transform.mProps.a)},scale:{get:ExpressionPropertyInterface(ee.transform.mProps.s)},rotation:{get:ExpressionPropertyInterface(ee.transform.mProps.r)},skew:{get:ExpressionPropertyInterface(ee.transform.mProps.sk)},skewAxis:{get:ExpressionPropertyInterface(ee.transform.mProps.sa)},_name:{value:H.nm}}),V.ty="tr",V.mn=H.mn,V.propertyGroup=ae,V}function k(H,ee,ae){function V(O){return H.p.ix===O?V.position:H.s.ix===O?V.size:null}var Y=propertyGroupFactory(V,ae);V.propertyIndex=H.ix;var N="tm"===ee.sh.ty?ee.sh.prop:ee.sh;return N.s.setGroupProperty(PropertyInterface("Size",Y)),N.p.setGroupProperty(PropertyInterface("Position",Y)),Object.defineProperties(V,{size:{get:ExpressionPropertyInterface(N.s)},position:{get:ExpressionPropertyInterface(N.p)},_name:{value:H.nm}}),V.mn=H.mn,V}function U(H,ee,ae){function V(O){return H.p.ix===O?V.position:H.r.ix===O?V.rotation:H.pt.ix===O?V.points:H.or.ix===O||"ADBE Vector Star Outer Radius"===O?V.outerRadius:H.os.ix===O?V.outerRoundness:!H.ir||H.ir.ix!==O&&"ADBE Vector Star Inner Radius"!==O?H.is&&H.is.ix===O?V.innerRoundness:null:V.innerRadius}var Y=propertyGroupFactory(V,ae),N="tm"===ee.sh.ty?ee.sh.prop:ee.sh;return V.propertyIndex=H.ix,N.or.setGroupProperty(PropertyInterface("Outer Radius",Y)),N.os.setGroupProperty(PropertyInterface("Outer Roundness",Y)),N.pt.setGroupProperty(PropertyInterface("Points",Y)),N.p.setGroupProperty(PropertyInterface("Position",Y)),N.r.setGroupProperty(PropertyInterface("Rotation",Y)),H.ir&&(N.ir.setGroupProperty(PropertyInterface("Inner Radius",Y)),N.is.setGroupProperty(PropertyInterface("Inner Roundness",Y))),Object.defineProperties(V,{position:{get:ExpressionPropertyInterface(N.p)},rotation:{get:ExpressionPropertyInterface(N.r)},points:{get:ExpressionPropertyInterface(N.pt)},outerRadius:{get:ExpressionPropertyInterface(N.or)},outerRoundness:{get:ExpressionPropertyInterface(N.os)},innerRadius:{get:ExpressionPropertyInterface(N.ir)},innerRoundness:{get:ExpressionPropertyInterface(N.is)},_name:{value:H.nm}}),V.mn=H.mn,V}function te(H,ee,ae){function V(O){return H.p.ix===O?V.position:H.r.ix===O?V.roundness:H.s.ix===O||"Size"===O||"ADBE Vector Rect Size"===O?V.size:null}var Y=propertyGroupFactory(V,ae),N="tm"===ee.sh.ty?ee.sh.prop:ee.sh;return V.propertyIndex=H.ix,N.p.setGroupProperty(PropertyInterface("Position",Y)),N.s.setGroupProperty(PropertyInterface("Size",Y)),N.r.setGroupProperty(PropertyInterface("Rotation",Y)),Object.defineProperties(V,{position:{get:ExpressionPropertyInterface(N.p)},roundness:{get:ExpressionPropertyInterface(N.r)},size:{get:ExpressionPropertyInterface(N.s)},_name:{value:H.nm}}),V.mn=H.mn,V}function I(H,ee,ae){function V(O){return H.r.ix===O||"Round Corners 1"===O?V.radius:null}var Y=propertyGroupFactory(V,ae),N=ee;return V.propertyIndex=H.ix,N.rd.setGroupProperty(PropertyInterface("Radius",Y)),Object.defineProperties(V,{radius:{get:ExpressionPropertyInterface(N.rd)},_name:{value:H.nm}}
vendor: 4,706 bytes, line 1
1),V.mn=H.mn,V}function z(H,ee,ae){function V(O){return H.c.ix===O||"Copies"===O?V.copies:H.o.ix===O||"Offset"===O?V.offset:null}var Y=propertyGroupFactory(V,ae),N=ee;return V.propertyIndex=H.ix,N.c.setGroupProperty(PropertyInterface("Copies",Y)),N.o.setGroupProperty(PropertyInterface("Offset",Y)),Object.defineProperties(V,{copies:{get:ExpressionPropertyInterface(N.c)},offset:{get:ExpressionPropertyInterface(N.o)},_name:{value:H.nm}}),V.mn=H.mn,V}return function(H,ee,ae){var V;function Y(O){if("number"==typeof O)return 0===(O=void 0===O?1:O)?ae:V[O-1];for(var X=0,J=V.length;X<J;){if(V[X]._name===O)return V[X];X+=1}return null}return Y.propertyGroup=propertyGroupFactory(Y,function N(){return ae}),V=s(H,ee,Y.propertyGroup),Y.numProperties=V.length,Y._name="Contents",Y}}(),TextExpressionInterface=function(s){var a,l;function t(f){return"ADBE Text Document"===f?t.sourceText:null}return Object.defineProperty(t,"sourceText",{get:function(){s.textProperty.getValue();var _=s.textProperty.currentData.t;return _!==a&&(a=s.textProperty.currentData.t,(l=new String(_)).value=_||new String(_),Object.defineProperty(l,"style",{get:function(){return{fillColor:s.textProperty.currentData.fc}}})),l}}),t};function _typeof$2(s){return(_typeof$2="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(l){return typeof l}:function(l){return l&&"function"==typeof Symbol&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":typeof l})(s)}var FootageInterface=(a=function(t){function f(_){return"Outline"===_?f.outlineInterface():null}return f._name="Outline",f.outlineInterface=function(t){var f="",_=t.getFootageData();function D(M){if(_[M])return f=M,"object"===_typeof$2(_=_[M])?D:_;var k=M.indexOf(f);if(-1!==k){var U=parseInt(M.substr(k+f.length),10);return"object"===_typeof$2(_=_[U])?D:_}return""}return function S(){return f="",_=t.getFootageData(),D}}(t),f},function(l){function t(f){return"Data"===f?t.dataInterface:null}return t._name="Data",t.dataInterface=a(l),t}),interfaces={layer:LayerExpressionInterface,effects:EffectsExpressionInterface,comp:CompExpressionInterface,shape:ShapeExpressionInterface,text:TextExpressionInterface,footage:FootageInterface},a;function getInterface(s){return interfaces[s]||null}function _typeof$1(s){return(_typeof$1="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(l){return typeof l}:function(l){return l&&"function"==typeof Symbol&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":typeof l})(s)}function seedRandom(s,a){var l=this,t=256,S="random",D=a.pow(t,6),M=a.pow(2,52),k=2*M,U=255;function z(N){var O,X=N.length,J=this,pe=0,me=J.i=J.j=0,Fe=J.S=[];for(X||(N=[X++]);pe<t;)Fe[pe]=pe++;for(pe=0;pe<t;pe++)Fe[pe]=Fe[me=U&me+N[pe%X]+(O=Fe[pe])],Fe[me]=O;J.g=function(He){for(var xe,Ne=0,ze=J.i,ke=J.j,De=J.S;He--;)xe=De[ze=U&ze+1],Ne=Ne*t+De[U&(De[ze]=De[ke=U&ke+xe])+(De[ke]=xe)];return J.i=ze,J.j=ke,Ne}}function H(N,O){return O.i=N.i,O.j=N.j,O.S=N.S.slice(),O}function ee(N,O){var pe,X=[],J=_typeof$1(N);if(O&&"object"==J)for(pe in N)try{X.push(ee(N[pe],O-1))}catch{}return X.length?X:"string"==J?N:N+"\0"}function ae(N,O){for(var J,X=N+"",pe=0;pe<X.length;)O[U&pe]=U&(J^=19*O[U&pe])+X.charCodeAt(pe++);return Y(O)}function Y(N){return String.fromCharCode.apply(0,N)}a["seed"+S]=function I(N,O,X){var J=[],pe=ae(ee((O=!0===O?{entropy:!0}:O||{}).entropy?[N,Y(s)]:null===N?function V(){try{var N=new Uint8Array(t);return(l.crypto||l.msCrypto).getRandomValues(N),Y(N)}catch{var O=l.navigator,X=O&&O.plugins;return[+new Date,l,X,l.screen,Y(s)]}}():N,3),J),me=new z(J),Fe=function(){for(var xe=me.g(6),Ne=D,ze=0;xe<M;)xe=(xe+ze)*t,Ne*=t,ze=me.g(1);for(;xe>=k;)xe/=2,Ne/=2,ze>>>=1;return(xe+ze)/Ne};return Fe.int32=function(){return 0|me.g(4)},Fe.quick=function(){return me.g(4)/4294967296},Fe.double=Fe,ae(Y(me.S),s),(O.pass||X||function(He,xe,Ne,ze){return ze&&(ze.S&&H(ze,me),He.state=function(){return H(me,{})}),Ne?(a[S]=He,xe):He})(Fe,pe,"global"in O?O.global:this==a,O.state)},ae(a.random(),s)}function initialize$2(s){seedRandom([],s)}var propTypes={SHAPE:"shape"};function _typeof(s){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(l){return typeof l}:function(l){return l&&"function"==typeof Symbol&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":typeof l})(s)}var ExpressionManager=function(){var ob={},Math=BMMath,window=null,document=null,XMLHttpRequest=null,fetch=null,frames=null;function $bm_isInstanceOfArray(s){return s.constructor===Array||s.constructor===Float32Array}function isNumerable(s,a){return"number"===s||"boolean"===s||"string"===s||a instanceof Number}function $bm_neg(s){var a=_typeof(s);if("number"===a||"boolean"===a||s instanceof Number)return-s;
vendor: 2,521 bytes, line 1
1if($bm_isInstanceOfArray(s)){var l,t=s.length,f=[];for(l=0;l<t;l+=1)f[l]=-s[l];return f}return s.propType?s.v:-s}initialize$2(BMMath);var easeInBez=BezierFactory.getBezierEasing(.333,0,.833,.833,"easeIn").get,easeOutBez=BezierFactory.getBezierEasing(.167,.167,.667,1,"easeOut").get,easeInOutBez=BezierFactory.getBezierEasing(.33,0,.667,1,"easeInOut").get;function sum(s,a){var l=_typeof(s),t=_typeof(a);if("string"===l||"string"===t||isNumerable(l,s)&&isNumerable(t,a))return s+a;if($bm_isInstanceOfArray(s)&&isNumerable(t,a))return(s=s.slice(0))[0]+=a,s;if(isNumerable(l,s)&&$bm_isInstanceOfArray(a))return(a=a.slice(0))[0]=s+a[0],a;if($bm_isInstanceOfArray(s)&&$bm_isInstanceOfArray(a)){for(var f=0,_=s.length,S=a.length,D=[];f<_||f<S;)D[f]=("number"==typeof s[f]||s[f]instanceof Number)&&("number"==typeof a[f]||a[f]instanceof Number)?s[f]+a[f]:void 0===a[f]?s[f]:s[f]||a[f],f+=1;return D}return 0}var add=sum;function sub(s,a){var l=_typeof(s),t=_typeof(a);if(isNumerable(l,s)&&isNumerable(t,a))return"string"===l&&(s=parseInt(s,10)),"string"===t&&(a=parseInt(a,10)),s-a;if($bm_isInstanceOfArray(s)&&isNumerable(t,a))return(s=s.slice(0))[0]-=a,s;if(isNumerable(l,s)&&$bm_isInstanceOfArray(a))return(a=a.slice(0))[0]=s-a[0],a;if($bm_isInstanceOfArray(s)&&$bm_isInstanceOfArray(a)){for(var f=0,_=s.length,S=a.length,D=[];f<_||f<S;)D[f]=("number"==typeof s[f]||s[f]instanceof Number)&&("number"==typeof a[f]||a[f]instanceof Number)?s[f]-a[f]:void 0===a[f]?s[f]:s[f]||a[f],f+=1;return D}return 0}function mul(s,a){var f,_,S,l=_typeof(s),t=_typeof(a);if(isNumerable(l,s)&&isNumerable(t,a))return s*a;if($bm_isInstanceOfArray(s)&&isNumerable(t,a)){for(f=createTypedArray("float32",S=s.length),_=0;_<S;_+=1)f[_]=s[_]*a;return f}if(isNumerable(l,s)&&$bm_isInstanceOfArray(a)){for(f=createTypedArray("float32",S=a.length),_=0;_<S;_+=1)f[_]=s*a[_];return f}return 0}function div(s,a){var f,_,S,l=_typeof(s),t=_typeof(a);if(isNumerable(l,s)&&isNumerable(t,a))return s/a;if($bm_isInstanceOfArray(s)&&isNumerable(t,a)){for(f=createTypedArray("float32",S=s.length),_=0;_<S;_+=1)f[_]=s[_]/a;return f}if(isNumerable(l,s)&&$bm_isInstanceOfArray(a)){for(f=createTypedArray("float32",S=a.length),_=0;_<S;_+=1)f[_]=s/a[_];return f}return 0}function mod(s,a){return"string"==typeof s&&(s=parseInt(s,10)),"string"==typeof a&&(a=parseInt(a,10)),s%a}var $bm_sum=sum,$bm_sub=sub,$bm_mul=mul,$bm_div=div,$bm_mod=mod;function clamp(s,a,l){if(a>l){var t=l;l=a,a=t}return Math.min(Math.max(s,a),l)}function radiansToDegrees(s){return s/degToRads}
vendor: 5,368 bytes, line 1
1var radians_to_degrees=radiansToDegrees;function degreesToRadians(s){return s*degToRads}var degrees_to_radians=radiansToDegrees,helperLengthArray=[0,0,0,0,0,0];function length(s,a){if("number"==typeof s||s instanceof Number)return Math.abs(s-(a=a||0));a||(a=helperLengthArray);var l,t=Math.min(s.length,a.length),f=0;for(l=0;l<t;l+=1)f+=Math.pow(a[l]-s[l],2);return Math.sqrt(f)}function normalize(s){return div(s,length(s))}function rgbToHsl(s){var S,D,a=s[0],l=s[1],t=s[2],f=Math.max(a,l,t),_=Math.min(a,l,t),M=(f+_)/2;if(f===_)S=0,D=0;else{var k=f-_;switch(D=M>.5?k/(2-f-_):k/(f+_),f){case a:S=(l-t)/k+(l<t?6:0);break;case l:S=(t-a)/k+2;break;case t:S=(a-l)/k+4}S/=6}return[S,D,M,s[3]]}function hue2rgb(s,a,l){return l<0&&(l+=1),l>1&&(l-=1),l<1/6?s+6*(a-s)*l:l<.5?a:l<2/3?s+(a-s)*(2/3-l)*6:s}function hslToRgb(s){var f,_,S,a=s[0],l=s[1],t=s[2];if(0===l)f=t,S=t,_=t;else{var D=t<.5?t*(1+l):t+l-t*l,M=2*t-D;f=hue2rgb(M,D,a+1/3),_=hue2rgb(M,D,a),S=hue2rgb(M,D,a-1/3)}return[f,_,S,s[3]]}function linear(s,a,l,t,f){if((void 0===t||void 0===f)&&(t=a,f=l,a=0,l=1),l<a){var _=l;l=a,a=_}if(s<=a)return t;if(s>=l)return f;var S=l===a?0:(s-a)/(l-a);if(!t.length)return t+(f-t)*S;var D,M=t.length,k=createTypedArray("float32",M);for(D=0;D<M;D+=1)k[D]=t[D]+(f[D]-t[D])*S;return k}function random(s,a){if(void 0===a&&(void 0===s?(s=0,a=1):(a=s,s=void 0)),a.length){var l,t=a.length;s||(s=createTypedArray("float32",t));var f=createTypedArray("float32",t),_=BMMath.random();for(l=0;l<t;l+=1)f[l]=s[l]+_*(a[l]-s[l]);return f}return void 0===s&&(s=0),s+BMMath.random()*(a-s)}function createPath(s,a,l,t){var f,_=s.length,S=shapePool.newElement();S.setPathData(!!t,_);var M,k,D=[0,0];for(f=0;f<_;f+=1)S.setTripleAt(s[f][0],s[f][1],(k=l&&l[f]?l[f]:D)[0]+s[f][0],k[1]+s[f][1],(M=a&&a[f]?a[f]:D)[0]+s[f][0],M[1]+s[f][1],f,!0);return S}function initiateExpression(elem,data,property){function noOp(s){return s}if(!elem.globalData.renderConfig.runExpressions)return noOp;var val=data.x,needsVelocity=/velocity(?![\w\d])/.test(val),_needsRandom=-1!==val.indexOf("random"),elemType=elem.data.ty,transform,$bm_transform,content,effect,thisProperty=property;thisProperty.valueAtTime=thisProperty.getValueAtTime,Object.defineProperty(thisProperty,"value",{get:function(){return thisProperty.v}}),elem.comp.frameDuration=1/elem.comp.globalData.frameRate,elem.comp.displayStartTime=0;var inPoint=elem.data.ip/elem.comp.globalData.frameRate,outPoint=elem.data.op/elem.comp.globalData.frameRate,width=elem.data.sw?elem.data.sw:0,height=elem.data.sh?elem.data.sh:0,name=elem.data.nm,loopIn,loop_in,loopOut,loop_out,smooth,toWorld,fromWorld,fromComp,toComp,fromCompToSurface,position,rotation,anchorPoint,scale,thisLayer,thisComp,mask,valueAtTime,velocityAtTime,scoped_bm_rt,expression_function=eval("[function _expression_function(){"+val+";scoped_bm_rt=$bm_rt}]")[0],numKeys=property.kf?data.k.length:0,active=!this.data||!0!==this.data.hd,wiggle=function s(a,l){var t,f,_=this.pv.length?this.pv.length:1,S=createTypedArray("float32",_),D=Math.floor(5*time);for(t=0,f=0;t<D;){for(f=0;f<_;f+=1)S[f]+=-l+2*l*BMMath.random();t+=1}var M=5*time,k=M-Math.floor(M),U=createTypedArray("float32",_);if(_>1){for(f=0;f<_;f+=1)U[f]=this.pv[f]+S[f]+(-l+2*l*BMMath.random())*k;return U}return this.pv+S[0]+(-l+2*l*BMMath.random())*k}.bind(this);function loopInDuration(s,a){return loopIn(s,a,!0)}function loopOutDuration(s,a){return loopOut(s,a,!0)}thisProperty.loopIn&&(loopIn=thisProperty.loopIn.bind(thisProperty),loop_in=loopIn),thisProperty.loopOut&&(loopOut=thisProperty.loopOut.bind(thisProperty),loop_out=loopOut),thisProperty.smooth&&(smooth=thisProperty.smooth.bind(thisProperty)),this.getValueAtTime&&(valueAtTime=this.getValueAtTime.bind(this)),this.getVelocityAtTime&&(velocityAtTime=this.getVelocityAtTime.bind(this));var comp=elem.comp.globalData.projectInterface.bind(elem.comp.globalData.projectInterface);function lookAt(s,a){var l=[a[0]-s[0],a[1]-s[1],a[2]-s[2]],t=Math.atan2(l[0],Math.sqrt(l[1]*l[1]+l[2]*l[2]))/degToRads;return[-Math.atan2(l[1],l[2])/degToRads,t,0]}function easeOut(s,a,l,t,f){return applyEase(easeOutBez,s,a,l,t,f)}function easeIn(s,a,l,t,f){return applyEase(easeInBez,s,a,l,t,f)}function ease(s,a,l,t,f){return applyEase(easeInOutBez,s,a,l,t,f)}function applyEase(s,a,l,t,f,_){void 0===f?(f=l,_=t):a=(a-l)/(t-l),a>1?a=1:a<0&&(a=0);var S=s(a);if($bm_isInstanceOfArray(f)){var D,M=f.length,k=createTypedArray("float32",M);for(D=0;D<M;D+=1)k[D]=(_[D]-f[D])*S+f[D];return k}return(_-f)*S+f}function nearestKey(s){var a,t,f,l=data.k.length;if(data.k.length&&"number"!=typeof data.k[0])if(t=-1,(s*=elem.comp.globalData.frameRate)<data.k[0].t)t=1,f=data.k[0].t;else{for(a=0;a<l-1;a+=1){if(s===data.k[a].t){t=a+1,f=data.k[a].t;break}if(s>data.k[a].t&&s<data.k[a+1].t){s-data.k[a].t>data.k[a+1].t-s?(t=a+2,f=data.k[a+1].t):(t=a+1,f=data.k[a].t);break}}-1===t&&(t=a+1,f=data.k[a].t)}else t=0,f=0;var _={};return _.index=t,_.time=f/elem.comp.globalData.frameRate,_}function key(s){var a,l,t;if(!data.k.length||"number"==typeof data.k[0])throw new Error("The property has no keyframe at index "+s);a={time:data.k[s-=1].t/elem.comp.globalData.frameRate,value:[]};var f=Object.prototype.hasOwnProperty.call(data.k[s],"s")?data.k[s].s:data.k[s-1].e;for(t=f.length,l=0;l<t;l+=1)a[l]=f[l],a.value[l]=f[l];return a}function framesToTime(s,a){return a||(a=elem.comp.globalData.frameRate),s/
vendor: 15,490 bytes, line 1
1a}function timeToFrames(s,a){return!s&&0!==s&&(s=time),a||(a=elem.comp.globalData.frameRate),s*a}function seedRandom(s){BMMath.seedrandom(randSeed+s)}function sourceRectAtTime(){return elem.sourceRectAtTime()}function substring(s,a){return"string"==typeof value?void 0===a?value.substring(s):value.substring(s,a):""}function substr(s,a){return"string"==typeof value?void 0===a?value.substr(s):value.substr(s,a):""}function posterizeTime(s){time=0===s?0:Math.floor(time*s)/s,value=valueAtTime(time)}var time,velocity,value,text,textIndex,textTotal,selectorValue,index=elem.data.ind,hasParent=!(!elem.hierarchy||!elem.hierarchy.length),parent,randSeed=Math.floor(1e6*Math.random()),globalData=elem.globalData;function executeExpression(s){return value=s,this.frameExpressionId===elem.globalData.frameId&&"textSelector"!==this.propType?value:("textSelector"===this.propType&&(textIndex=this.textIndex,textTotal=this.textTotal,selectorValue=this.selectorValue),thisLayer||(text=elem.layerInterface.text,thisComp=elem.comp.compInterface,toWorld=(thisLayer=elem.layerInterface).toWorld.bind(thisLayer),fromWorld=thisLayer.fromWorld.bind(thisLayer),fromComp=thisLayer.fromComp.bind(thisLayer),toComp=thisLayer.toComp.bind(thisLayer),mask=thisLayer.mask?thisLayer.mask.bind(thisLayer):null,fromCompToSurface=fromComp),transform||(transform=elem.layerInterface("ADBE Transform Group"),$bm_transform=transform,transform&&(anchorPoint=transform.anchorPoint)),4===elemType&&!content&&(content=thisLayer("ADBE Root Vectors Group")),effect||(effect=thisLayer(4)),(hasParent=!(!elem.hierarchy||!elem.hierarchy.length))&&!parent&&(parent=elem.hierarchy[0].layerInterface),time=this.comp.renderedFrame/this.comp.globalData.frameRate,_needsRandom&&seedRandom(randSeed+time),needsVelocity&&(velocity=velocityAtTime(time)),expression_function(),this.frameExpressionId=elem.globalData.frameId,scoped_bm_rt=scoped_bm_rt.propType===propTypes.SHAPE?scoped_bm_rt.v:scoped_bm_rt)}return executeExpression.__preventDeadCodeRemoval=[$bm_transform,anchorPoint,time,velocity,inPoint,outPoint,width,height,name,loop_in,loop_out,smooth,toComp,fromCompToSurface,toWorld,fromWorld,mask,position,rotation,scale,thisComp,numKeys,active,wiggle,loopInDuration,loopOutDuration,comp,lookAt,easeOut,easeIn,ease,nearestKey,key,text,textIndex,textTotal,selectorValue,framesToTime,timeToFrames,sourceRectAtTime,substring,substr,posterizeTime,index,globalData],executeExpression}return ob.initiateExpression=initiateExpression,ob.__preventDeadCodeRemoval=[window,document,XMLHttpRequest,fetch,frames,$bm_neg,add,$bm_sum,$bm_sub,$bm_mul,$bm_div,$bm_mod,clamp,radians_to_degrees,degreesToRadians,degrees_to_radians,normalize,rgbToHsl,hslToRgb,linear,random,createPath],ob}(),expressionHelpers={searchExpressions:function s(S,D,M){D.x&&(M.k=!0,M.x=!0,M.initiateExpression=ExpressionManager.initiateExpression,M.effectsSequence.push(M.initiateExpression(S,D,M).bind(M)))},getSpeedAtTime:function l(S){var M=this.getValueAtTime(S),k=this.getValueAtTime(S+-.01),U=0;if(M.length){var te;for(te=0;te<M.length;te+=1)U+=Math.pow(k[te]-M[te],2);U=100*Math.sqrt(U)}else U=0;return U},getVelocityAtTime:function t(S){if(void 0!==this.vel)return this.vel;var U,te,D=-.001,M=this.getValueAtTime(S),k=this.getValueAtTime(S+D);if(M.length)for(U=createTypedArray("float32",M.length),te=0;te<M.length;te+=1)U[te]=(k[te]-M[te])/D;else U=(k-M)/D;return U},getValueAtTime:function a(S){return S*=this.elem.globalData.frameRate,(S-=this.offsetTime)!==this._cachingAtTime.lastFrame&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastFrame<S?this._cachingAtTime.lastIndex:0,this._cachingAtTime.value=this.interpolateValue(S,this._cachingAtTime),this._cachingAtTime.lastFrame=S),this._cachingAtTime.value},getStaticValueAtTime:function f(){return this.pv},setGroupProperty:function _(S){this.propertyGroup=S}};function addPropertyDecorator(){function s(I,z,H){if(!this.k||!this.keyframes)return this.pv;I=I?I.toLowerCase():"";var Y,N,O,X,J,ee=this.comp.renderedFrame,ae=this.keyframes,V=ae[ae.length-1].t;if(ee<=V)return this.pv;if(H?N=V-(Y=z?Math.abs(V-this.elem.comp.globalData.frameRate*z):Math.max(0,V-this.elem.data.ip)):((!z||z>ae.length-1)&&(z=ae.length-1),Y=V-(N=ae[ae.length-1-z].t)),"pingpong"===I){if(Math.floor((ee-N)/Y)%2!=0)return this.getValueAtTime((Y-(ee-N)%Y+N)/this.comp.globalData.frameRate,0)}else{if("offset"===I){var me=this.getValueAtTime(N/this.comp.globalData.frameRate,0),Fe=this.getValueAtTime(V/this.comp.globalData.frameRate,0),He=this.getValueAtTime(((ee-N)%Y+N)/this.comp.globalData.frameRate,0),xe=Math.floor((ee-N)/Y);if(this.pv.length){for(X=(J=new Array(me.length)).length,O=0;O<X;O+=1)J[O]=(Fe[O]-me[O])*xe+He[O];return J}return(Fe-me)*xe+He}if("continue"===I){var Ne=this.getValueAtTime(V/this.comp.globalData.frameRate,0),ze=this.getValueAtTime((V-.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(X=(J=new Array(Ne.length)).length,O=0;O<X;O+=1)J[O]=Ne[O]+(ee-V)/this.comp.globalData.frameRate*(Ne[O]-ze[O])/5e-4;return J}return Ne+(ee-V)/.001*(Ne-ze)}}return this.getValueAtTime(((ee-N)%Y+N)/this.comp.globalData.frameRate,0)}function a(I,z,H){if(!this.k)return this.pv;I=I?I.toLowerCase():"";var Y,N,O,X,J,ee=this.comp.renderedFrame,ae=this.keyframes,V=ae[0].t;if(ee>=V)return this.pv;if(H?N=V+(Y=z?Math.abs(this.elem.comp.globalData.frameRate*z):Math.max(0,this.elem.data.op-V)):((!z||z>ae.length-1)&&(z=ae.length-1),Y=(N=ae[z].t)-V),"pingpong"===I){if(Math.floor((V-ee)/Y)%2==0)return this.getValueAtTime(((V-ee)%Y+V)/this.comp.globalData.frameRate,0)}else{if("offset"===I){var me=this.getValueAtTime(V/this.comp.globalData.frameRate,0),Fe=this.getValueAtTime(N/this.comp.globalData.frameRate,0),He=this.getValueAtTime((Y-(V-ee)%Y+V)/this.comp.globalData.frameRate,0),xe=Math.floor((V-ee)/Y)+1;if(this.pv.length){for(X=(J=new Array(me.length)).length,O=0;O<X;O+=1)J[O]=He[O]-(Fe[O]-me[O])*xe;return J}return He-(Fe-me)*xe}if("continue"===I){var Ne=this.getValueAtTime(V/this.comp.globalData.frameRate,0),ze=this.getValueAtTime((V+.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(X=(J=new Array(Ne.length)).length,O=0;O<X;O+=1)J[O]=Ne[O]+(Ne[O]-ze[O])*(V-ee)/.001;return J}return Ne+(Ne-ze)*(V-ee)/.001}}return this.getValueAtTime((Y-((V-ee)%Y+V))/this.comp.globalData.frameRate,0)}function l(I,z){if(!this.k)return this.pv;if(I=.5*(I||.4),(z=Math.floor(z||5))<=1)return this.pv;var O,X,H=this.comp.renderedFrame/this.comp.globalData.frameRate,ee=H-I,V=z>1?(H+I-ee)/(z-1):1,Y=0,N=0;for(O=this.pv.length?createTypedArray("float32",this.pv.length):0;Y<z;){if(X=this.getValueAtTime(ee+Y*V),this.pv.length)for(N=0;N<this.pv.length;N+=1)O[N]+=X[N];else O+=X;Y+=1}if(this.pv.length)for(N=0;N<this.pv.length;N+=1)O[N]/=z;else O/=z;return O}function t(I){this._transformCachingAtTime||(this._transformCachingAtTime={v:new Matrix});var z=this._transformCachingAtTime.v;if(z.cloneFromProps(this.pre.props),this.appliedTransformations<1){var H=this.a.getValueAtTime(I);z.translate(-H[0]*this.a.mult,-H[1]*this.a.mult,H[2]*this.a.mult)}if(this.appliedTransformations<2){var ee=this.s.getValueAtTime(I);z.scale(ee[0]*this.s.mult,ee[1]*this.s.mult,ee[2]*this.s.mult)}if(this.sk&&this.appliedTransformations<3){var ae=this.sk.getValueAtTime(I),V=this.sa.getValueAtTime(I);z.skewFromAxis(-ae*this.sk.mult,V*this.sa.mult)}if(this.r&&this.appliedTransformations<4){var Y=this.r.getValueAtTime(I);z.rotate(-Y*this.r.mult)}else if(!this.r&&this.appliedTransformations<4){var N=this.rz.getValueAtTime(I),O=this.ry.getValueAtTime(I),X=this.rx.getValueAtTime(I),J=this.or.getValueAtTime(I);z.rotateZ(-N*this.rz.mult).rotateY(O*this.ry.mult).rotateX(X*this.rx.mult).rotateZ(-J[2]*this.or.mult).rotateY(J[1]*this.or.mult).rotateX(J[0]*this.or.mult)}if(this.data.p&&this.data.p.s){var pe=this.px.getValueAtTime(I),me=this.py.getValueAtTime(I);if(this.data.p.z){var Fe=this.pz.getValueAtTime(I);z.translate(pe*this.px.mult,me*this.py.mult,-Fe*this.pz.mult)}else z.translate(pe*this.px.mult,me*this.py.mult,0)}else{var He=this.p.getValueAtTime(I);z.translate(He[0]*this.p.mult,He[1]*this.p.mult,-He[2]*this.p.mult)}return z}function f(){return this.v.clone(new Matrix)}var _=TransformPropertyFactory.getTransformProperty;TransformPropertyFactory.getTransformProperty=function(I,z,H){var ee=_(I,z,H);return ee.getValueAtTime=ee.dynamicProperties.length?t.bind(ee):f.bind(ee),ee.setGroupProperty=expressionHelpers.setGroupProperty,ee};var S=PropertyFactory.getProp;PropertyFactory.getProp=function(I,z,H,ee,ae){var V=S(I,z,H,ee,ae);V.getValueAtTime=V.kf?expressionHelpers.getValueAtTime.bind(V):expressionHelpers.getStaticValueAtTime.bind(V),V.setGroupProperty=expressionHelpers.setGroupProperty,V.loopOut=s,V.loopIn=a,V.smooth=l,V.getVelocityAtTime=expressionHelpers.getVelocityAtTime.bind(V),V.getSpeedAtTime=expressionHelpers.getSpeedAtTime.bind(V),V.numKeys=1===z.a?z.k.length:0,V.propertyIndex=z.ix;var Y=0;return 0!==H&&(Y=createTypedArray("float32",1===z.a?z.k[0].s.length:z.k.length)),V._cachingAtTime={lastFrame:initialDefaultFrame,lastIndex:0,value:Y},expressionHelpers.searchExpressions(I,z,V),V.k&&ae.addDynamicProperty(V),V};var M=ShapePropertyFactory.getConstructorFunction(),k=ShapePropertyFactory.getKeyframedConstructorFunction();function U(){}U.prototype={vertices:function(z,H){this.k&&this.getValue();var ee=this.v;void 0!==H&&(ee=this.getValueAtTime(H,0));var ae,V=ee._length,Y=ee[z],N=ee.v,O=createSizedArray(V);for(ae=0;ae<V;ae+=1)O[ae]="i"===z||"o"===z?[Y[ae][0]-N[ae][0],Y[ae][1]-N[ae][1]]:[Y[ae][0],Y[ae][1]];return O},points:function(z){return this.vertices("v",z)},inTangents:function(z){return this.vertices("i",z)},outTangents:function(z){return this.vertices("o",z)},isClosed:function(){return this.v.c},pointOnPath:function(z,H){var ee=this.v;void 0!==H&&(ee=this.getValueAtTime(H,0)),this._segmentsLength||(this._segmentsLength=bez.getSegmentsLength(ee));for(var J,ae=this._segmentsLength,V=ae.lengths,Y=ae.totalLength*z,N=0,O=V.length,X=0;N<O;){if(X+V[N].addedLength>Y){var me=ee.c&&N===O-1?0:N+1;J=bez.getPointInSegment(ee.v[N],ee.v[me],ee.o[N],ee.i[me],(Y-X)/V[N].addedLength,V[N]);break}X+=V[N].addedLength,N+=1}return J||(J=ee.c?[ee.v[0][0],ee.v[0][1]]:[ee.v[ee._length-1][0],ee.v[ee._length-1][1]]),J},vectorOnPath:function(z,H,ee){1==z?z=this.v.c:0==z&&(z=.999);var ae=this.pointOnPath(z,H),V=this.pointOnPath(z+.001,H),Y=V[0]-ae[0],N=V[1]-ae[1],O=Math.sqrt(Math.pow(Y,2)+Math.pow(N,2));return 0===O?[0,0]:"tangent"===ee?[Y/O,N/O]:[-N/O,Y/O]},tangentOnPath:function(z,H){return this.vectorOnPath(z,H,"tangent")},normalOnPath:function(z,H){return this.vectorOnPath(z,H,"normal")},setGroupProperty:expressionHelpers.setGroupProperty,getValueAtTime:expressionHelpers.getStaticValueAtTime},extendPrototype([U],M),extendPrototype([U],k),k.prototype.getValueAtTime=function D(I){return this._cachingAtTime||(this._cachingAtTime={shapeValue:shapePool.clone(this.pv),lastIndex:0,lastTime:initialDefaultFrame}),I*=this.elem.globalData.frameRate,(I-=this.offsetTime)!==this._cachingAtTime.lastTime&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastTime<I?this._caching.lastIndex:0,this._cachingAtTime.lastTime=I,this.interpolateShape(I,this._cachingAtTime.shapeValue,this._cachingAtTime)),this._cachingAtTime.shapeValue},k.prototype.initiateExpression=ExpressionManager.initiateExpression;var te=ShapePropertyFactory.getShapeProp;ShapePropertyFactory.getShapeProp=function(I,z,H,ee,ae){var V=te(I,z,H,ee,ae);return V.propertyIndex=z.ix,V.lock=!1,3===H?expressionHelpers.searchExpressions(I,z.pt,V):4===H&&expressionHelpers.searchExpressions(I,z.ks,V),V.k&&I.addDynamicProperty(V),V}}function initialize$1(){addPropertyDecorator()}function addDecorator(){TextProperty.prototype.getExpressionValue=function(a,l){var t=this.calculateExpression(l);if(a.t!==t){var f={};return this.copyData(f,a),f.t=t.toString(),f.__complete=!1,f}return a},TextProperty.prototype.searchProperty=function(){var a=this.searchKeyframes(),l=this.searchExpressions();return this.kf=a||l,this.kf},TextProperty.prototype.searchExpressions=function s(){return this.data.d.x?(this.calculateExpression=ExpressionManager.initiateExpression.bind(this)(this.elem,this.data.d,this),this.addEffect(this.getExpressionValue.bind(this)),!0):null}}function initialize(){addDecorator()}function SVGComposableEffect(){}SVGComposableEffect.prototype={createMergeNode:function s(a,l){var f,_,t=createNS("feMerge");for(t.setAttribute("result",a),_=0;_<l.length;_+=1)(f=createNS("feMergeNode")).setAttribute("in",l[_]),t.appendChild(f),t.appendChild(f);return t}};var linearFilterValue="0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0";function SVGTintFilter(s,a,l,t,f){this.filterManager=a;var _=createNS("feColorMatrix");_.setAttribute("type","matrix"),_.setAttribute("color-interpolation-filters","linearRGB"),_.setAttribute("values",linearFilterValue+" 1 0"),this.linearFilter=_,_.setAttribute("result",t+"_tint_1"),s.appendChild(_),(_=createNS("feColorMatrix")).setAttribute("type","matrix"),_.setAttribute("color-interpolation-filters","sRGB"),_.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),_.setAttribute("result",t+"_tint_2"),s.appendChild(_),this.matrixFilter=_;var S=this.createMergeNode(t,[f,t+"_tint_1",t+"_tint_2"]);s.appendChild(S)}function SVGFillFilter(s,a,l,t){this.filterManager=a;var f=createNS("feColorMatrix");f.setAttribute("type","matrix"),f.setAttribute("color-interpolation-filters","sRGB"),f.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),f.setAttribute("result",t),s.appendChild(f),this.matrixFilter=f}function SVGStrokeEffect(s,a,l){this.initialized=!1,this.filterManager=a,this.elem=l,this.paths=[]}function SVGTritoneFilter(s,a,l,t){this.filterManager=a;var f=createNS("feColorMatrix");f.setAttribute("type","matrix"),f.setAttribute("color-interpolation-filters","linearRGB"),f.setAttribute("values","0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0"),s.appendChild(f);var _=createNS("feComponentTransfer");_.setAttribute("color-interpolation-filters","sRGB"),_.setAttribute("result",t),this.matrixFilter=_;var S=createNS("feFuncR");S.setAttribute("type","table"),_.appendChild(S),this.feFuncR=S;var D=createNS("feFuncG");D.setAttribute("type","table"),_.appendChild(D),this.feFuncG=D;var M=createNS("feFuncB");M.setAttribute("type","table"),_.appendChild(M),this.feFuncB=M,s.appendChild(_)}function SVGProLevelsFilter(s,a,l,t){this.filterManager=a;var f=this.filterManager.effectElements,_=createNS("feComponentTransfer");(f[10].p.k||0!==f[10].p.v||f[11].p.k||1!==f[11].p.v||f[12].p.k||1!==f[12].p.v||f[13].p.k||0!==f[13].p.v||f[14].p.k||1!==f[14].p.v)&&(this.feFuncR=this.createFeFunc("feFuncR",_)),(f[17].p.k||0!==f[17].p.v||f[18].p.k||1!==f[18].p.v||f[19].p.k||1!==f[19].p.v||f[20].p.k||0!==f[20].p.v||f[21].p.k||1!==f[21].p.v)&&(this.feFuncG=this.createFeFunc("feFuncG",_)),(f[24].p.k||0!==f[24].p.v||f[25].p.k||1!==f[25].p.v||f[26].p.k||1!==f[26].p.v||f[27].p.k||0!==f[27].p.v||f[28].p.k||1!==f[28].p.v)&&(this.feFuncB=this.createFeFunc("feFuncB",_)),(f[31].p.k||0!==f[31].p.v||f[32].p.k||1!==f[32].p.v||f[33].p.k||1!==f[33].p.v||f[34].p.k||0!==f[34].p.v||f[35].p.k||1!==f[35].p.v)&&(this.feFuncA=this.createFeFunc("feFuncA",_)),(this.feFuncR||this.feFuncG||this.feFuncB||this.feFuncA)&&(_.setAttribute("color-interpolation-filters","sRGB"),s.appendChild(_)),(f[3].p.k||0!==f[3].p.v||f[4].p.k||1!==f[4].p.v||f[5].p.k||1!==f[5].p.v||f[6].p.k||0!==f[6].p.v||f[7].p.k||1!==f[7].p.v)&&((_
vendor: 4,918 bytes, line 1
1=createNS("feComponentTransfer")).setAttribute("color-interpolation-filters","sRGB"),_.setAttribute("result",t),s.appendChild(_),this.feFuncRComposed=this.createFeFunc("feFuncR",_),this.feFuncGComposed=this.createFeFunc("feFuncG",_),this.feFuncBComposed=this.createFeFunc("feFuncB",_))}function SVGDropShadowEffect(s,a,l,t,f){var _=a.container.globalData.renderConfig.filterSize,S=a.data.fs||_;s.setAttribute("x",S.x||_.x),s.setAttribute("y",S.y||_.y),s.setAttribute("width",S.width||_.width),s.setAttribute("height",S.height||_.height),this.filterManager=a;var D=createNS("feGaussianBlur");D.setAttribute("in","SourceAlpha"),D.setAttribute("result",t+"_drop_shadow_1"),D.setAttribute("stdDeviation","0"),this.feGaussianBlur=D,s.appendChild(D);var M=createNS("feOffset");M.setAttribute("dx","25"),M.setAttribute("dy","0"),M.setAttribute("in",t+"_drop_shadow_1"),M.setAttribute("result",t+"_drop_shadow_2"),this.feOffset=M,s.appendChild(M);var k=createNS("feFlood");k.setAttribute("flood-color","#00ff00"),k.setAttribute("flood-opacity","1"),k.setAttribute("result",t+"_drop_shadow_3"),this.feFlood=k,s.appendChild(k);var U=createNS("feComposite");U.setAttribute("in",t+"_drop_shadow_3"),U.setAttribute("in2",t+"_drop_shadow_2"),U.setAttribute("operator","in"),U.setAttribute("result",t+"_drop_shadow_4"),s.appendChild(U);var te=this.createMergeNode(t,[t+"_drop_shadow_4",f]);s.appendChild(te)}extendPrototype([SVGComposableEffect],SVGTintFilter),SVGTintFilter.prototype.renderFrame=function(s){if(s||this.filterManager._mdf){var a=this.filterManager.effectElements[0].p.v,l=this.filterManager.effectElements[1].p.v;this.linearFilter.setAttribute("values",linearFilterValue+" "+this.filterManager.effectElements[2].p.v/100+" 0"),this.matrixFilter.setAttribute("values",l[0]-a[0]+" 0 0 0 "+a[0]+" "+(l[1]-a[1])+" 0 0 0 "+a[1]+" "+(l[2]-a[2])+" 0 0 0 "+a[2]+" 0 0 0 1 0")}},SVGFillFilter.prototype.renderFrame=function(s){if(s||this.filterManager._mdf){var a=this.filterManager.effectElements[2].p.v;this.matrixFilter.setAttribute("values","0 0 0 0 "+a[0]+" 0 0 0 0 "+a[1]+" 0 0 0 0 "+a[2]+" 0 0 0 "+this.filterManager.effectElements[6].p.v+" 0")}},SVGStrokeEffect.prototype.initialize=function(){var a,l,t,f,s=this.elem.layerElement.children||this.elem.layerElement.childNodes;for(1===this.filterManager.effectElements[1].p.v?(f=this.elem.maskManager.masksProperties.length,t=0):f=1+(t=this.filterManager.effectElements[0].p.v-1),(l=createNS("g")).setAttribute("fill","none"),l.setAttribute("stroke-linecap","round"),l.setAttribute("stroke-dashoffset",1);t<f;t+=1)a=createNS("path"),l.appendChild(a),this.paths.push({p:a,m:t});if(3===this.filterManager.effectElements[10].p.v){var _=createNS("mask"),S=createElementID();_.setAttribute("id",S),_.setAttribute("mask-type","alpha"),_.appendChild(l),this.elem.globalData.defs.appendChild(_);var D=createNS("g");for(D.setAttribute("mask","url("+getLocationHref()+"#"+S+")");s[0];)D.appendChild(s[0]);this.elem.layerElement.appendChild(D),this.masker=_,l.setAttribute("stroke","#fff")}else if(1===this.filterManager.effectElements[10].p.v||2===this.filterManager.effectElements[10].p.v){if(2===this.filterManager.effectElements[10].p.v)for(s=this.elem.layerElement.children||this.elem.layerElement.childNodes;s.length;)this.elem.layerElement.removeChild(s[0]);this.elem.layerElement.appendChild(l),this.elem.layerElement.removeAttribute("mask"),l.setAttribute("stroke","#fff")}this.initialized=!0,this.pathMasker=l},SVGStrokeEffect.prototype.renderFrame=function(s){this.initialized||this.initialize();var a,t,f,l=this.paths.length;for(a=0;a<l;a+=1)if(-1!==this.paths[a].m&&(t=this.elem.maskManager.viewData[this.paths[a].m],f=this.paths[a].p,(s||this.filterManager._mdf||t.prop._mdf)&&f.setAttribute("d",t.lastPath),s||this.filterManager.effectElements[9].p._mdf||this.filterManager.effectElements[4].p._mdf||this.filterManager.effectElements[7].p._mdf||this.filterManager.effectElements[8].p._mdf||t.prop._mdf)){var _;if(0!==this.filterManager.effectElements[7].p.v||100!==this.filterManager.effectElements[8].p.v){var S=.01*Math.min(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v),D=.01*Math.max(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v),M=f.getTotalLength();_="0 0 0 "+M*S+" ";var I,te=Math.floor(M*(D-S)/(1+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01));for(I=0;I<te;I+=1)_+="1 "+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01+" ";_+="0 "+10*M+" 0 0"}else _="1 "+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01;f.setAttribute("stroke-dasharray",_)}if((s||this.filterManager.effectElements[4].p._mdf)&&this.pathMasker.setAttribute("stroke-width",2*this.filterManager.effectElements[4].p.v),(s||this.filterManager.effectElements[6].p._mdf)&&this.pathMasker.setAttribute("op
1acity",this.filterManager.effectElements[6].p.v),(1===this.filterManager.effectElements[10].p.v||2===this.filterManager.effectElements[10].p.v)&&(s||this.filterManager.effectElements[3].p._mdf)){var z=this.filterManager.effectElements[3].p.v;this.pathMasker.setAttribute("stroke","rgb("+bmFloor(255*z[0])+","+bmFloor(255*z[1])+","+bmFloor(255*z[2])+")")}},SVGTritoneFilter.prototype.renderFrame=function(s){if(s||this.filterManager._mdf){var a=this.filterManager.effectElements[0].p.v,l=this.filterManager.effectElements[1].p.v,t=this.filterManager.effectElements[2].p.v,_=t[1]+" "+l[1]+" "+a[1],S=t[2]+" "+l[2]+" "+a[2];this.feFuncR.setAttribute("tableValues",t[0]+" "+l[0]+" "+a[0]),this.feFuncG.setAttribute("tableValues",_),this.feFuncB.setAttribute("tableValues",S)}},SVGProLevelsFilter.prototype.createFeFunc=function(s,a){var l=createNS(s);return l.setAttribute("type","table"),a.appendChild(l),l},SVGProLevelsFilter.prototype.getTableValue=function(s,a,l,t,f){for(var D,te,_=0,M=Math.min(s,a),k=Math.max(s,a),U=Array.call(null,{length:256}),I=0,z=f-t,H=a-s;_<=256;)te=(D=_/256)<=M?H<0?f:t:D>=k?H<0?t:f:t+z*Math.pow((D-s)/H,1/l),U[I]=te,I+=1,_+=256/255;return U.join(" ")},SVGProLevelsFilter.prototype.renderFrame=function(s){if(s||this.filterManager._mdf){var a,l=this.filterManager.effectElements;this.feFuncRComposed&&(s||l[3].p._mdf||l[4].p._mdf||l[5].p._mdf||l[6].p._mdf||l[7].p._mdf)&&(a=this.getTableValue(l[3].p.v,l[4].p.v,l[5].p.v,l[6].p.v,l[7].p.v),this.feFuncRComposed.setAttribute("tableValues",a),this.feFuncGComposed.setAttribute("tableValues",a),this.feFuncBComposed.setAttribute("tableValues",a)),this.feFuncR&&(s||l[10].p._mdf||l[11].p._mdf||l[12].p._mdf||l[13].p._mdf||l[14].p._mdf)&&(a=this.getTableValue(l[10].p.v,l[11].p.v,l[12].p.v,l[13].p.v,l[14].p.v),this.feFuncR.setAttribute("tableValues",a)),this.feFuncG&&(s||l[17].p._mdf||l[18].p._mdf||l[19].p._mdf||l[20].p._mdf||l[21].p._mdf)&&(a=this.getTableValue(l[17].p.v,l[18].p.v,l[19].p.v,l[20].p.v,l[21].p.v),this.feFuncG.setAttribute("tableValues",a)),this.feFuncB&&(s||l[24].p._mdf||l[25].p._mdf||l[26].p._mdf||l[27].p._mdf||l[28].p._mdf)&&(a=this.getTableValue(l[24].p.v,l[25].p.v,l[26].p.v,l[27].p.v,l[28].p.v),this.feFuncB.setAttribute("tableValues",a)),this.feFuncA&&(s||l[31].p._mdf||l[32].p._mdf||l[33].p._mdf||l[34].p._mdf||l[35].p._mdf)&&(a=this.getTableValue(l[31].p.v,l[32].p.v,l[33].p.v,l[34].p.v,l[35].p.v),this.feFuncA.setAttribute("tableValues",a))}},extendPrototype([SVGComposableEffect],SVGDropShadowEffect),SVGDropShadowEffect.prototype.renderFrame=function(s){if(s||this.filterManager._mdf){if((s||this.filterManager.effectElements[4].p._mdf)&&this.feGaussianBlur.setAttribute("stdDeviation",this.filterManager.effectElements[4].p.v/4),s||this.filterManager.effectElements[0].p._mdf){var a=this.filterManager.effectElements[0].p.v;this.feFlood.setAttribute("flood-color",rgbToHex(Math.round(255*a[0]),Math.round(255*a[1]),Math.round(255*a[2])))}if((s||this.filterManager.effectElements[1].p._mdf)&&this.feFlood.setAttribute("flood-opacity",this.filterManager.effectElements[1].p.v/255),s||this.filterManager.effectElements[2].p._mdf||this.filterManager.effectElements[3].p._mdf){var l=this.filterManager.effectElements[3].p.v,t=(this.filterManager.effectElements[2].p.v-90)*degToRads,f=l*Math.cos(t),_=l*Math.sin(t);this.feOffset.setAttribute("dx",f),this.feOffset.setAttribute("dy",_)}}};var _svgMatteSymbols=[];function SVGMatte3Effect(s,a,l){this.initialized=!1,this.filterManager=a,this.filterElem=s,this.elem=l,l.matteElement=createNS("g"),l.matteElement.appendChild(l.layerElement),l.matteElement.appendChild(l.transformedElement),l.baseElement=l.matteElement}function SVGGaussianBlurEffect(s,a,l,t){s.setAttribute("x","-100%"),s.setAttribute("y","-100%"),s.setAttribute("width","300%"),s.setAttribute("height","300%"),this.filterManager=a;var f=createNS("feGaussianBlur");f.setAttribute("result",t),s.appendChild(f),this.feGaussianBlur=f}return SVGMatte3Effect.prototype.findSymbol=function(s){for(var a=0,l=_svgMatteSymbols.length;a<l;){if(_svgMatteSymbols[a]===s)return _svgMatteSymbols[a];a+=1}return null},SVGMatte3Effect.prototype.replaceInParent=function(s,a){var l=s.layerElement.parentNode;if(l){for(var t=l.children,f=0,_=t.length;f<_&&t[f]!==s.layerElement;)f+=1;var S;f<=_-2&&(S=t[f+1]);var D=createNS("use");D.setAttribute("href","#"+a),S?l.insertBefore(D,S):l.appendChild(D)}},SVGMatte3Effect.prototype.setElementAsMask=function(s,a){if(!this.findSymbol(a)){var l=createElementID(),t=createNS("mask");t.setAttribute("id",a.layerId),t.setAttribute("mask-type","alpha"),_svgMatteSymbols.push(a);var f=s.globalData.defs;f.appendChild(t);var _=createNS("symbol");_.setAttribute("id",l),this.replaceInParent(a,l),_.appendChild(a.layerElement),f.appendChild(_);var S=createNS("use");S.setAttribute("href","#"+l),t.appendChild(S),a.data.hd=!1,a.show()}s.setMatte(a.layerId)},SVGMatte3Effect.prototype.initialize=function(){for(var s=this.filterManager.effectElements[0].p.v,a=this.elem.comp.elements,l=0,t=a.length;l<t;)a[l]&&a[l].data.ind===s&&this.setElementAsMask(this.elem,a[l]),l+=1;this.initialized=!0},SVGMatte3Effect.prototype.renderFrame=function(){this.initialized||this.initialize()},SVGGaussianBlurEffect.prototype.renderFrame=function(s){if(s||this.filterManager._mdf){var l=.3*this.filterManager.effectElements[0].p.v,t=this.filterManager.effectElements[1].p.v;this.feGaussianBlur.setAttribute("stdDeviation",(3==t?0:l)+" "+(2==t?0:l)),this.feGaussianBlur.setAttribute("edgeMode",1==this.filterManager.effectElements[2].p.v?"wrap":"duplicate")}},registerRenderer("canvas",CanvasRenderer),registerRenderer("html",HybridRenderer),registerRenderer("svg",SVGRenderer),ShapeModifiers.registerModifier("tm",TrimModifier),ShapeModifiers.registerModifier("pb",PuckerAndBloatModifier),ShapeModifiers.registerModifier("rp",RepeaterModifier),ShapeModifiers.registerModifier("rd",RoundCornersModifier),ShapeModifiers.registerModifier("zz",ZigZagModifier),ShapeModifiers.registerModifier("op",OffsetPathModifier),setExpressionsPlugin(Expressions),setExpressionInterfaces(getInterface),initialize$1(),initialize(),registerEffect(20,SVGTintFilter,!0),registerEffect(21,SVGFillFilter,!0),registerEffect(22,SVGStrokeEffect,!1),registerEffect(23,SVGTritoneFilter,!0),registerEffect(24,SVGProLevelsFilter,!0),registerEffect(25,SVGDropShadowEffect,!0),registerEffect(28,SVGMatte3Effect,!1),registerEffect(29,SVGGaussianBlurEffect,!0),lottie},module.exports=a())},1135:(s,a,l)=>{"use strict";l.d(a,{X:()=>f});var t=l(7579);class f extends t.x{constructor(S){super(),this._value=S}get value(){return this.getValue()}_subscribe(S){const D=super._subscribe(S);return!D.closed&&S.next(this._value),D}getValue(){const{hasError:S,thrownError:D,_value:M}=this;if(S)throw D;return this._throwIfClosed(),M}next(S){super.next(this._value=S)}}},9751:(s,a,l)=>{"use strict";l.d(a,{y:()=>U});var t=l(930),f=l(727),_=l(8822),S=l(9635),D=l(2416),M=l(576),k=l(2806);let U=(()=>{class H{constructor(ae){ae&&(this._subscribe=ae)}lift(ae){const V=new H;return V.source=this,V.operator=ae,V}subscribe(ae,V,Y){const N=function z(H){return H&&H instanceof t.Lv||function I(H){return H&&(0,M.m)(H.next)&&(0,M.m)(H.error)&&(0,M.m)(H.complete)}(H)&&(0,f.Nn)(H)}(ae)?ae:new t.Hp(ae,V,Y);return(0,k.x)(()=>{const{operator:O,source:X}=this;N.add(O?O.call(N,X):X?this._subscribe(N):this._trySubscribe(N))}),N}_trySubscribe(ae){try{return this._subscribe(ae)}catch(V){ae.error(V)}}forEach(ae,V){return new(V=te(V))((Y,N)=>{const O=new t.Hp({next:X=>{try{ae(X)}catch(J){N(J),O.unsubscribe()}},error:N,complete:Y});this.subscribe(O)})}_subscribe(ae){var V;return null===(V=this.source)||void 0===V?void 0:V.subscribe(ae)}[_.L](){return this}pipe(...ae){return(0,S.U)(ae)(this)}toPromise(ae){return new(ae=te(ae))((V,Y)=>{let N;this.subscribe(O=>N=O,O=>Y(O),()=>V(N))})}}return H.create=ee=>new H(ee),H})();function te(H){var ee;return null!==(ee=H??D.v.Promise)&&void 0!==ee?ee:Promise}},4707:(s,a,l)=>{"use strict";l.d(a,{t:()=>_});var t=l(7579),f=l(6063);class _ extends t.x{constructor(D=1/0,M=1/0,k=f.l){super(),this._bufferSize=D,this._windowTime=M,this._timestampProvider=k,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=M===1/0,this._bufferSize=Math.max(1,D),this._windowTime=Math.max(1,M)}next(D){const{isStopped:M,_buffer:k,_infiniteTimeWindow:U,_timestampProvider:te,_windowTime:I}=this;M||(k.push(D),!U&&k.push(te.now()+I)),this._trimBuffer(),super.next(D)}_subscribe(D){this._throwIfClosed(),this._trimBuffer();const M=this._innerSubscribe(D),{_infiniteTimeWindow:k,_buffer:U}=this,te=U.slice();for(let I=0;I<te.length&&!D.closed;I+=k?1:2)D.next(te[I]);return this._checkFinalizedStatuses(D),M}_trimBuffer(){const{_bufferSize:D,_timestampProvider:M,_buffer:k,_infiniteTimeWindow:U}=this,te=(U?1:2)*D;if(D<1/0&&te<k.length&&k.splice(0,k.length-te),!U){const I=M.now();let z=0;for(let H=1;H<k.length&&k[H]<=I;H+=2)z=H;z&&k.splice(0,z+1)}}}},7579:(s,a,l)=>{"use strict";l.d(a,{x:()=>k});var t=l(9751),f=l(727);const S=(0,l(3888).d)(te=>function(){te(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var D=l(8737),M=l(2806);let k=(()=>{class te extends t.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(z){const H=new U(this,this);return H.operator=z,H}_throwIfClosed(){if(this.closed)throw new S}next(z){(0,M.x)(()=>
vendor: 4,122 bytes, line 1
1{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const H of this.currentObservers)H.next(z)}})}error(z){(0,M.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=z;const{observers:H}=this;for(;H.length;)H.shift().error(z)}})}complete(){(0,M.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:z}=this;for(;z.length;)z.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var z;return(null===(z=this.observers)||void 0===z?void 0:z.length)>0}_trySubscribe(z){return this._throwIfClosed(),super._trySubscribe(z)}_subscribe(z){return this._throwIfClosed(),this._checkFinalizedStatuses(z),this._innerSubscribe(z)}_innerSubscribe(z){const{hasError:H,isStopped:ee,observers:ae}=this;return H||ee?f.Lc:(this.currentObservers=null,ae.push(z),new f.w0(()=>{this.currentObservers=null,(0,D.P)(ae,z)}))}_checkFinalizedStatuses(z){const{hasError:H,thrownError:ee,isStopped:ae}=this;H?z.error(ee):ae&&z.complete()}asObservable(){const z=new t.y;return z.source=this,z}}return te.create=(I,z)=>new U(I,z),te})();class U extends k{constructor(I,z){super(),this.destination=I,this.source=z}next(I){var z,H;null===(H=null===(z=this.destination)||void 0===z?void 0:z.next)||void 0===H||H.call(z,I)}error(I){var z,H;null===(H=null===(z=this.destination)||void 0===z?void 0:z.error)||void 0===H||H.call(z,I)}complete(){var I,z;null===(z=null===(I=this.destination)||void 0===I?void 0:I.complete)||void 0===z||z.call(I)}_subscribe(I){var z,H;return null!==(H=null===(z=this.source)||void 0===z?void 0:z.subscribe(I))&&void 0!==H?H:f.Lc}}},930:(s,a,l)=>{"use strict";l.d(a,{Hp:()=>Y,Lv:()=>H});var t=l(576),f=l(727),_=l(2416),S=l(7849),D=l(5032);const M=te("C",void 0,void 0);function te(pe,me,Fe){return{kind:pe,value:me,error:Fe}}var I=l(3410),z=l(2806);class H extends f.w0{constructor(me){super(),this.isStopped=!1,me?(this.destination=me,(0,f.Nn)(me)&&me.add(this)):this.destination=J}static create(me,Fe,He){return new Y(me,Fe,He)}next(me){this.isStopped?X(function U(pe){return te("N",pe,void 0)}(me),this):this._next(me)}error(me){this.isStopped?X(function k(pe){return te("E",void 0,pe)}(me),this):(this.isStopped=!0,this._error(me))}complete(){this.isStopped?X(M,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(me){this.destination.next(me)}_error(me){try{this.destination.error(me)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const ee=Function.prototype.bind;function ae(pe,me){return ee.call(pe,me)}class V{constructor(me){this.partialObserver=me}next(me){const{partialObserver:Fe}=this;if(Fe.next)try{Fe.next(me)}catch(He){N(He)}}error(me){const{partialObserver:Fe}=this;if(Fe.error)try{Fe.error(me)}catch(He){N(He)}else N(me)}complete(){const{partialObserver:me}=this;if(me.complete)try{me.complete()}catch(Fe){N(Fe)}}}class Y extends H{constructor(me,Fe,He){let xe;if(super(),(0,t.m)(me)||!me)xe={next:me??void 0,error:Fe??void 0,complete:He??void 0};else{let Ne;this&&_.v.useDeprecatedNextContext?(Ne=Object.create(me),Ne.unsubscribe=()=>this.unsubscribe(),xe={next:me.next&&ae(me.next,Ne),error:me.error&&ae(me.error,Ne),complete:me.complete&&ae(me.complete,Ne)}):xe=me}this.destination=new V(xe)}}function N(pe){_.v.useDeprecatedSynchronousErrorHandling?(0,z.O)(pe):(0,S.h)(pe)}function X(pe,me){const{onStoppedNotification:Fe}=_.v;Fe&&I.z.setTimeout(()=>Fe(pe,me))}const J={closed:!0,next:D.Z,error:function O(pe){throw pe},complete:D.Z}},727:(s,a,l)=>{"use strict";l.d(a,{Lc:()=>M,w0:()=>D,Nn:()=>k});var t=l(576);const _=(0,l(3888).d)(te=>function(z){te(this),this.message=z?`${z.length} errors occurred during unsubscription:\n${z.map((H,ee)=>`${ee+1}) ${H.toString()}`).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=z});var S=l(8737);class D{constructor(I){this.initialTeardown=I,this.closed=!1,this._parentage=null,this._finalizers=null}
1unsubscribe(){let I;if(!this.closed){this.closed=!0;const{_parentage:z}=this;if(z)if(this._parentage=null,Array.isArray(z))for(const ae of z)ae.remove(this);else z.remove(this);const{initialTeardown:H}=this;if((0,t.m)(H))try{H()}catch(ae){I=ae instanceof _?ae.errors:[ae]}const{_finalizers:ee}=this;if(ee){this._finalizers=null;for(const ae of ee)try{U(ae)}catch(V){I=I??[],V instanceof _?I=[...I,...V.errors]:I.push(V)}}if(I)throw new _(I)}}add(I){var z;if(I&&I!==this)if(this.closed)U(I);else{if(I instanceof D){if(I.closed||I._hasParent(this))return;I._addParent(this)}(this._finalizers=null!==(z=this._finalizers)&&void 0!==z?z:[]).push(I)}}_hasParent(I){const{_parentage:z}=this;return z===I||Array.isArray(z)&&z.includes(I)}_addParent(I){const{_parentage:z}=this;this._parentage=Array.isArray(z)?(z.push(I),z):z?[z,I]:I}_removeParent(I){const{_parentage:z}=this;z===I?this._parentage=null:Array.isArray(z)&&(0,S.P)(z,I)}remove(I){const{_finalizers:z}=this;z&&(0,S.P)(z,I),I instanceof D&&I._removeParent(this)}}D.EMPTY=(()=>{const te=new D;return te.closed=!0,te})();const M=D.EMPTY;function k(te){return te instanceof D||te&&"closed"in te&&(0,t.m)(te.remove)&&(0,t.m)(te.add)&&(0,t.m)(te.unsubscribe)}function U(te){(0,t.m)(te)?te():te.unsubscribe()}},2416:(s,a,l)=>{"use strict";l.d(a,{v:()=>t});const t={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},9841:(s,a,l)=>{"use strict";l.d(a,{a:()=>I});var t=l(9751),f=l(4742),_=l(8996),S=l(4671),D=l(3268),M=l(3269),k=l(1810),U=l(5403),te=l(9672);function I(...ee){const ae=(0,M.yG)(ee),V=(0,M.jO)(ee),{args:Y,keys:N}=(0,f.D)(ee);if(0===Y.length)return(0,_.D)([],ae);const O=new t.y(function z(ee,ae,V=S.y){return Y=>{H(ae,()=>{const{length:N}=ee,O=new Array(N);let X=N,J=N;for(let pe=0;pe<N;pe++)H(ae,()=>{const me=(0,_.D)(ee[pe],ae);let Fe=!1;me.subscribe((0,U.x)(Y,He=>{O[pe]=He,Fe||(Fe=!0,J--),J||Y.next(V(O.slice()))},()=>{--X||Y.complete()}))},Y)},Y)}}(Y,ae,N?X=>(0,k.n)(N,X):S.y));return V?O.pipe((0,D.Z)(V)):O}function H(ee,ae,V){ee?(0,te.f)(V,ee,ae):ae()}},7272:(s,a,l)=>{"use strict";l.d(a,{z:()=>D});var t=l(8189),_=l(3269),S=l(8996);function D(...M){return function f(){return(0,t.J)(1)}()((0,S.D)(M,(0,_.yG)(M)))}},9770:(s,a,l)=>{"use strict";l.d(a,{P:()=>_});var t=l(9751),f=l(8421);function _(S){return new t.y(D=>{(0,f.Xf)(S()).subscribe(D)})}},515:(s,a,l)=>{"use strict";l.d(a,{E:()=>f});const f=new(l(9751).y)(D=>D.complete())},4128:(s,a,l)=>{"use strict";l.d(a,{D:()=>U});var t=l(9751),f=l(4742),_=l(8421),S=l(3269),D=l(5403),M=l(3268),k=l(1810);function U(...te){const I=(0,S.jO)(te),{args:z,keys:H}=(0,f.D)(te),ee=new t.y(ae=>{const{length:V}=z;if(!V)return void ae.complete();const Y=new Array(V);let N=V,O=V;for(let X=0;X<V;X++){let J=!1;(0,_.Xf)(z[X]).subscribe((0,D.x)(ae,pe=>{J||(J=!0,O--),Y[X]=pe},()=>N--,void 0,()=>{(!N||!J)&&(O||ae.next(H?(0,k.n)(H,Y):Y),ae.complete())}))}});return I?ee.pipe((0,M.Z)(I)):ee}},8996:(s,a,l)=>{"use strict";l.d(a,{D:()=>me});var t=l(8421),f=l(5363),_=l(9468),M=l(9751),U=l(2202),te=l(576),I=l(9672);function H(Fe,He){if(!Fe)throw new Error("Iterable cannot be null");return new M.y(xe=>{(0,I.f)(xe,He,()=>{const Ne=Fe[Symbol.asyncIterator]();(0,I.f)(xe,He,()=>{Ne.next().then(ze=>{ze.done?xe.complete():xe.next(ze.value)})},0,!0)})})}var ee=l(3670),ae=l(8239),V=l(1144),Y=l(6495),N=l(2206),O=l(4532),X=l(3260);function me(Fe,He){return He?function pe(Fe,He){if(null!=Fe){if((0,ee.c)(Fe))return function S(Fe,He){return(0,t.Xf)(Fe).pipe((0,_.R)(He),(0,f.Q)(He))}(Fe,He);if((0,V.z)(Fe))return function k(Fe,He){return new M.y(xe=>{let Ne=0;return He.schedule(function(){Ne===Fe.length?xe.complete():(xe.next(Fe[Ne++]),xe.closed||this.schedule())})})}(Fe,He);if((0,ae.t)(Fe))return function D(Fe,He){return(0,t.Xf)(Fe).pipe((0,_.R)(He),(0,f.Q)(He))}(Fe,He);if((0,N.D)(Fe))return H(Fe,He);if((0,Y.T)(Fe))return function z(Fe,He){return new M.y(xe=>{let Ne;return(0,I.f)(xe,He,()=>{Ne=Fe[U.h](),(0,I.f)(xe,He,()=>{let ze,ke;try{({value:ze,done:ke}=Ne.next())}catch(De){return void xe.error(De)}ke?xe.complete():xe.next(ze)},0,!0)}),()=>(0,te.m)(Ne?.return)&&Ne.return()})}(Fe,He);if((0,X.L)(Fe))return function J(Fe,He){return H((0,X.Q)(Fe),He)}(Fe,He)}throw(0,O.z)(Fe)}(Fe,He):(0,t.Xf)(Fe)}},4968:(s,a,l)=>{"use strict";l.d(a,{R:()=>I});var t=l(8421),f=l(9751),_=l(5577),S=l(1144),D=l(576),M=l(3268);const k=["addListener","removeListener"],U=["addEventListener","removeEventListener"],te=["on","off"];function I(V,Y,N,O){if((0,D.m)(N)&&(O=N,N=void 0),O)return I(V,Y,N).pipe((0,M.Z)(O));const[X,J]=function ae(V){return(0,D.m)(V.addEventListener)&&(0,D.m)(V.removeEventListener)}(V)?U.map(pe=>me=>V[pe](Y,me,N)):function H(V){return(0,D.m)(V.addListener)&&(0,D.m)(V.removeListener)}(V)?k.map(z(V,Y)):function ee(V){return(0,D.m)(V.on)&&(0,D.m)(V.off)}(V)?te.map(z(V,Y)):[];if(!X&&(0,S.z)(V))return(0,_.z)(pe=>I(pe,Y,N))((0,t.Xf)(V));if(!X)throw new TypeError("Invalid event target");return new f.y(pe=>{const me=(...Fe)=>pe.next(1<Fe.length?Fe:Fe[0]);return X(me),()=>J(me)})}function z(V,Y){return N=>O=>V[N](Y,O)}},8421:(s,a,l)=>{"use strict";l.d(a,{Xf:()=>ee});var t=l(655),f=l(1144),_=l(8239),S=l(9751),D=l(3670),M=l(2206),k=l(4532),U=l(6495),te=l(3260),I=l(576),z=l(7849),H=l(8822);function ee(pe){if(pe instanceof S.y)return pe;if(null!=pe){if((0,D.c)(pe))return function ae(pe){return new S.y(me=>{const Fe=pe[H.L]();if((0,I.m)(Fe.subscribe))return Fe.subscribe(me);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(pe);
1if((0,f.z)(pe))return function V(pe){return new S.y(me=>{for(let Fe=0;Fe<pe.length&&!me.closed;Fe++)me.next(pe[Fe]);me.complete()})}(pe);if((0,_.t)(pe))return function Y(pe){return new S.y(me=>{pe.then(Fe=>{me.closed||(me.next(Fe),me.complete())},Fe=>me.error(Fe)).then(null,z.h)})}(pe);if((0,M.D)(pe))return O(pe);if((0,U.T)(pe))return function N(pe){return new S.y(me=>{for(const Fe of pe)if(me.next(Fe),me.closed)return;me.complete()})}(pe);if((0,te.L)(pe))return function X(pe){return O((0,te.Q)(pe))}(pe)}throw(0,k.z)(pe)}function O(pe){return new S.y(me=>{(function J(pe,me){var Fe,He,xe,Ne;return(0,t.mG)(this,void 0,void 0,function*(){try{for(Fe=(0,t.KL)(pe);!(He=yield Fe.next()).done;)if(me.next(He.value),me.closed)return}catch(ze){xe={error:ze}}finally{try{He&&!He.done&&(Ne=Fe.return)&&(yield Ne.call(Fe))}finally{if(xe)throw xe.error}}me.complete()})})(pe,me).catch(Fe=>me.error(Fe))})}},6451:(s,a,l)=>{"use strict";l.d(a,{T:()=>M});var t=l(8189),f=l(8421),_=l(515),S=l(3269),D=l(8996);function M(...k){const U=(0,S.yG)(k),te=(0,S._6)(k,1/0),I=k;return I.length?1===I.length?(0,f.Xf)(I[0]):(0,t.J)(te)((0,D.D)(I,U)):_.E}},1848:(s,a,l)=>{"use strict";l.d(a,{C:()=>_,F:()=>S});var t=l(9751),f=l(5032);const _=new t.y(f.Z);function S(){return _}},9646:(s,a,l)=>{"use strict";l.d(a,{of:()=>_});var t=l(3269),f=l(8996);function _(...S){const D=(0,t.yG)(S);return(0,f.D)(S,D)}},2843:(s,a,l)=>{"use strict";l.d(a,{_:()=>_});var t=l(9751),f=l(576);function _(S,D){const M=(0,f.m)(S)?S:()=>S,k=U=>U.error(M());return new t.y(D?U=>D.schedule(k,0,U):k)}},2805:(s,a,l)=>{"use strict";l.d(a,{H:()=>D});var t=l(9751),f=l(4986),_=l(3532),S=l(1165);function D(M=0,k,U=f.P){let te=-1;return null!=k&&((0,_.K)(k)?U=k:te=k),new t.y(I=>{let z=(0,S.q)(M)?+M-U.now():M;z<0&&(z=0);let H=0;return U.schedule(function(){I.closed||(I.next(H++),0<=te?this.schedule(void 0,te):I.complete())},z)})}},5403:(s,a,l)=>{"use strict";l.d(a,{Q:()=>_,x:()=>f});var t=l(930);function f(S,D,M,k,U){return new _(S,D,M,k,U)}class _ extends t.Lv{constructor(D,M,k,U,te,I){super(D),this.onFinalize=te,this.shouldUnsubscribe=I,this._next=M?function(z){try{M(z)}catch(H){D.error(H)}}:super._next,this._error=U?function(z){try{U(z)}catch(H){D.error(H)}finally{this.unsubscribe()}}:super._error,this._complete=k?function(){try{k()}catch(z){D.error(z)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var D;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:M}=this;super.unsubscribe(),!M&&(null===(D=this.onFinalize)||void 0===D||D.call(this))}}}},3601:(s,a,l)=>{"use strict";l.d(a,{e:()=>k});var t=l(4986),f=l(4482),_=l(8421),S=l(5403),M=l(2805);function k(U,te=t.z){return function D(U){return(0,f.e)((te,I)=>{let z=!1,H=null,ee=null,ae=!1;const V=()=>{if(ee?.unsubscribe(),ee=null,z){z=!1;const N=H;H=null,I.next(N)}ae&&I.complete()},Y=()=>{ee=null,ae&&I.complete()};te.subscribe((0,S.x)(I,N=>{z=!0,H=N,ee||(0,_.Xf)(U(N)).subscribe(ee=(0,S.x)(I,V,Y))},()=>{ae=!0,(!z||!ee||ee.closed)&&I.complete()}))})}(()=>(0,M.H)(U,te))}},262:(s,a,l)=>{"use strict";l.d(a,{K:()=>S});var t=l(8421),f=l(5403),_=l(4482);function S(D){return(0,_.e)((M,k)=>{let I,U=null,te=!1;U=M.subscribe((0,f.x)(k,void 0,void 0,z=>{I=(0,t.Xf)(D(z,S(D)(M))),U?(U.unsubscribe(),U=null,I.subscribe(k)):te=!0})),te&&(U.unsubscribe(),U=null,I.subscribe(k))})}},4351:(s,a,l)=>{"use strict";l.d(a,{b:()=>_});var t=l(5577),f=l(576);function _(S,D){return(0,f.m)(D)?(0,t.z)(S,D,1):(0,t.z)(S,1)}},8372:(s,a,l)=>{"use strict";l.d(a,{b:()=>S});var t=l(4986),f=l(4482),_=l(5403);function S(D,M=t.z){return(0,f.e)((k,U)=>{let te=null,I=null,z=null;const H=()=>{if(te){te.unsubscribe(),te=null;const ae=I;I=null,U.next(ae)}};function ee(){const ae=z+D,V=M.now();if(V<ae)return te=this.schedule(void 0,ae-V),void U.add(te);H()}k.subscribe((0,_.x)(U,ae=>{I=ae,z=M.now(),te||(te=M.schedule(ee,D),U.add(te))},()=>{H(),U.complete()},void 0,()=>{I=te=null}))})}},6590:(s,a,l)=>{"use strict";l.d(a,{d:()=>_});var t=l(4482),f=l(5403);function _(S){return(0,t.e)((D,M)=>{let k=!1;D.subscribe((0,f.x)(M,U=>{k=!0,M.next(U)},()=>{k||M.next(S),M.complete()}))})}},1884:(s,a,l)=>{"use strict";l.d(a,{x:()=>S});var t=l(4671),f=l(4482),_=l(5403);function S(M,k=t.y){return M=M??D,(0,f.e)((U,te)=>{let I,z=!0;U.subscribe((0,_.x)(te,H=>{const ee=k(H);(z||!M(I,ee))&&(z=!1,I=ee,te.next(H))}))})}function D(M,k){return M===k}},6129:(s,a,l)=>{"use strict";l.d(a,{z:()=>D});var t=l(4004),f=l(8421),_=l(4482),S=l(5403);function D(M,k){return k?U=>U.pipe(D((te,I)=>(0,f.Xf)(M(te,I)).pipe((0,t.U)((z,H)=>
1k(te,z,I,H))))):(0,_.e)((U,te)=>{let I=0,z=null,H=!1;U.subscribe((0,S.x)(te,ee=>{z||(z=(0,S.x)(te,void 0,()=>{z=null,H&&te.complete()}),(0,f.Xf)(M(ee,I++)).subscribe(z))},()=>{H=!0,!z&&te.complete()}))})}},9300:(s,a,l)=>{"use strict";l.d(a,{h:()=>_});var t=l(4482),f=l(5403);function _(S,D){return(0,t.e)((M,k)=>{let U=0;M.subscribe((0,f.x)(k,te=>S.call(D,te,U++)&&k.next(te)))})}},8746:(s,a,l)=>{"use strict";l.d(a,{x:()=>f});var t=l(4482);function f(_){return(0,t.e)((S,D)=>{try{S.subscribe(D)}finally{D.add(_)}})}},590:(s,a,l)=>{"use strict";l.d(a,{P:()=>k});var t=l(6805),f=l(9300),_=l(5698),S=l(6590),D=l(8068),M=l(4671);function k(U,te){const I=arguments.length>=2;return z=>z.pipe(U?(0,f.h)((H,ee)=>U(H,ee,z)):M.y,(0,_.q)(1),I?(0,S.d)(te):(0,D.T)(()=>new t.K))}},8502:(s,a,l)=>{"use strict";l.d(a,{l:()=>S});var t=l(4482),f=l(5403),_=l(5032);function S(){return(0,t.e)((D,M)=>{D.subscribe((0,f.x)(M,_.Z))})}},4004:(s,a,l)=>{"use strict";l.d(a,{U:()=>_});var t=l(4482),f=l(5403);function _(S,D){return(0,t.e)((M,k)=>{let U=0;M.subscribe((0,f.x)(k,te=>{k.next(S.call(D,te,U++))}))})}},9718:(s,a,l)=>{"use strict";l.d(a,{h:()=>f});var t=l(4004);function f(_){return(0,t.U)(()=>_)}},8189:(s,a,l)=>{"use strict";l.d(a,{J:()=>_});var t=l(5577),f=l(4671);function _(S=1/0){return(0,t.z)(f.y,S)}},5577:(s,a,l)=>{"use strict";l.d(a,{z:()=>U});var t=l(4004),f=l(8421),_=l(4482),S=l(9672),D=l(5403),k=l(576);function U(te,I,z=1/0){return(0,k.m)(I)?U((H,ee)=>(0,t.U)((ae,V)=>I(H,ae,ee,V))((0,f.Xf)(te(H,ee))),z):("number"==typeof I&&(z=I),(0,_.e)((H,ee)=>function M(te,I,z,H,ee,ae,V,Y){const N=[];let O=0,X=0,J=!1;const pe=()=>{J&&!N.length&&!O&&I.complete()},me=He=>
1O<H?Fe(He):N.push(He),Fe=He=>{ae&&I.next(He),O++;let xe=!1;(0,f.Xf)(z(He,X++)).subscribe((0,D.x)(I,Ne=>{ee?.(Ne),ae?me(Ne):I.next(Ne)},()=>{xe=!0},void 0,()=>{if(xe)try{for(O--;N.length&&O<H;){const Ne=N.shift();V?(0,S.f)(I,V,()=>Fe(Ne)):Fe(Ne)}pe()}catch(Ne){I.error(Ne)}}))};return te.subscribe((0,D.x)(I,me,()=>{J=!0,pe()})),()=>{Y?.()}}(H,ee,te,z)))}},5363:(s,a,l)=>{"use strict";l.d(a,{Q:()=>S});var t=l(9672),f=l(4482),_=l(5403);function S(D,M=0){return(0,f.e)((k,U)=>{k.subscribe((0,_.x)(U,te=>(0,t.f)(U,D,()=>U.next(te),M),()=>(0,t.f)(U,D,()=>U.complete(),M),te=>(0,t.f)(U,D,()=>U.error(te),M)))})}},5026:(s,a,l)=>{"use strict";l.d(a,{R:()=>S});var t=l(4482),f=l(5403);function _(D,M,k,U,te){return(I,z)=>{let H=k,ee=M,ae=0;I.subscribe((0,f.x)(z,V=>{const Y=ae++;ee=H?D(ee,V,Y):(H=!0,V),U&&z.next(ee)},te&&(()=>{H&&z.next(ee),z.complete()})))}}function S(D,M){return(0,t.e)(_(D,M,arguments.length>=2,!0))}},3099:(s,a,l)=>{"use strict";l.d(a,{B:()=>D});var t=l(8421),f=l(7579),_=l(930),S=l(4482);function D(k={}){const{connector:U=(()=>new f.x),resetOnError:te=!0,resetOnComplete:I=!0,resetOnRefCountZero:z=!0}=k;return H=>{let ee,ae,V,Y=0,N=!1,O=!1;const X=()=>{ae?.unsubscribe(),ae=void 0},J=()=>{X(),ee=V=void 0,N=O=!1},pe=()=>{const me=ee;J(),me?.unsubscribe()};return(0,S.e)((me,Fe)=>{Y++,!O&&!N&&X();const He=V=V??U();Fe.add(()=>{Y--,0===Y&&!O&&!N&&(ae=M(pe,z))}),He.subscribe(Fe),!ee&&Y>0&&(ee=new _.Hp({next:xe=>He.next(xe),error:xe=>{O=!0,X(),ae=M(J,te,xe),He.error(xe)},complete:()=>{N=!0,X(),ae=M(J,I),He.complete()}}),(0,t.Xf)(me).subscribe(ee))})(H)}}function M(k,U,...te){if(!0===U)return void k();if(!1===U)return;const I=new _.Hp({next:()=>{I.unsubscribe(),k()}});return U(...te).subscribe(I)}},4782:(s,a,l)=>{"use strict";l.d(a,{d:()=>_});var t=l(4707),f=l(3099);function _(S,D,M){let k,U=!1;return S&&"object"==typeof S?({bufferSize:k=1/0,windowTime:D=1/0,refCount:U=!1,scheduler:M}=S):k=S??1/0,(0,f.B)({connector:()=>new t.t(k,D,M),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:U})}},5684:(s,a,l)=>{"use strict";l.d(a,{T:()=>f});var t=l(9300);function f(_){return(0,t.h)((S,D)=>_<=D)}},8675:(s,a,l)=>{"use strict";l.d(a,{O:()=>S});var t=l(7272),f=l(3269),_=l(4482);function S(...D){const M=(0,f.yG)(D);return(0,_.e)((k,U)=>{(M?(0,t.z)(D,k,M):(0,t.z)(D,k)).subscribe(U)})}},9468:(s,a,l)=>{"use strict";l.d(a,{R:()=>f});var t=l(4482);function f(_,S=0){return(0,t.e)((D,M)=>{M.add(_.schedule(()=>D.subscribe(M),S))})}},3900:(s,a,l)=>{"use strict";l.d(a,{w:()=>S});var t=l(8421),f=l(4482),_=l(5403);function S(D,M){return(0,f.e)((k,U)=>{let te=null,I=0,z=!1;const H=()=>z&&!te&&U.complete();k.subscribe((0,_.x)(U,ee=>{te?.unsubscribe();let ae=0;const V=I++;(0,t.Xf)(D(ee,V)).subscribe(te=(0,_.x)(U,Y=>U.next(M?M(ee,Y,V,ae++):Y),()=>{te=null,H()}))},()=>{z=!0,H()}))})}},5698:(s,a,l)=>{"use strict";l.d(a,{q:()=>S});var t=l(515),f=l(4482),_=l(5403);function S(D){return D<=0?()=>t.E:(0,f.e)((M,k)=>{let U=0;M.subscribe((0,_.x)(k,te=>{++U<=D&&(k.next(te),D<=U&&k.complete())}))})}},3085:(s,a,l)=>{"use strict";l.d(a,{R:()=>D});var t=l(4482),f=l(5403),_=l(8421),S=l(5032);function D(M){return(0,t.e)((k,U)=>{(0,_.Xf)(M).subscribe((0,f.x)(U,()=>U.complete(),S.Z)),!U.closed&&k.subscribe(U)})}},2529:(s,a,l)=>{"use strict";l.d(a,{o:()=>_});var t=l(4482),f=l(5403);function _(S,D=!1){return(0,t.e)((M,k)=>{let U=0;M.subscribe((0,f.x)(k,te=>{const I=S(te,U++);(I||D)&&k.next(te),!I&&k.complete()}))})}},8505:(s,a,l)=>{"use strict";l.d(a,{b:()=>D});var t=l(576),f=l(4482),_=l(5403),S=l(4671);function D(M,k,U){const te=(0,t.m)(M)||k||U?{next:M,error:k,complete:U}:M;return te?(0,f.e)((I,z)=>{var H;null===(H=te.subscribe)||void 0===H||H.call(te);let ee=!0;I.subscribe((0,_.x)(z,ae=>{var V;null===(V=te.next)||void 0===V||V.call(te,ae),z.next(ae)},()=>{var ae;ee=!1,null===(ae=te.complete)||void 0===ae||ae.call(te),z.complete()},ae=>{var V;ee=!1,null===(V=te.error)||void 0===V||V.call(te,ae),z.error(ae)},()=>{var ae,V;ee&&(null===(ae=te.unsubscribe)||void 0===ae||ae.call(te)),null===(V=te.finalize)||void 0===V||V.call(te)}))}):S.y}},8068:(s,a,l)=>{"use strict";l.d(a,{T:()=>S});var t=l(6805),f=l(4482),_=l(5403);function S(M=D){return(0,f.e)((k,U)=>{let te=!1;k.subscribe((0,_.x)(U,I=>{te=!0,U.next(I)},()=>te?U.complete():U.error(M())))})}function D(){return new t.K}},7414:(s,a,l)=>{"use strict";l.d(a,{V:()=>te});var t=l(4986),f=l(1165),_=l(4482),S=l(8421),D=l(3888),M=l(5403),k=l(9672);const U=(0,D.d)(z=>function(ee=null){z(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=ee});function te(z,H){const{first:ee,each:ae,with:V=I,scheduler:Y=H??t.z,meta:N=null}=(0,f.q)(z)?{first:z}:"number"==typeof z?{each:z}:z;if(null==ee&&null==ae)throw new TypeError("No timeout provided.");return(0,_.e)((O,X)=>{let J,pe,me=null,Fe=0;const He=xe=>{pe=(0,k.f)(X,Y,()=>{try{J.unsubscribe(),(0,S.Xf)(V({meta:N,lastValue:me,seen:Fe})).subscribe(X)}catch(Ne){X.error(Ne)}},xe)};J=O.subscribe((0,M.x)(X,xe=>{pe?.unsubscribe(),Fe++,X.next(me=xe),ae>0&&He(ae)},void 0,void 0,()=>{pe?.closed||pe?.unsubscribe(),me=null}
vendor: 9,699 bytes, line 1
1)),!Fe&&He(null!=ee?"number"==typeof ee?ee:+ee-Y.now():ae)})}function I(z){throw new U(z)}},1365:(s,a,l)=>{"use strict";l.d(a,{M:()=>k});var t=l(4482),f=l(5403),_=l(8421),S=l(4671),D=l(5032),M=l(3269);function k(...U){const te=(0,M.jO)(U);return(0,t.e)((I,z)=>{const H=U.length,ee=new Array(H);let ae=U.map(()=>!1),V=!1;for(let Y=0;Y<H;Y++)(0,_.Xf)(U[Y]).subscribe((0,f.x)(z,N=>{ee[Y]=N,!V&&!ae[Y]&&(ae[Y]=!0,(V=ae.every(S.y))&&(ae=null))},D.Z));I.subscribe((0,f.x)(z,Y=>{if(V){const N=[Y,...ee];z.next(te?te(...N):N)}}))})}},4408:(s,a,l)=>{"use strict";l.d(a,{o:()=>D});var t=l(727);class f extends t.w0{constructor(k,U){super()}schedule(k,U=0){return this}}const _={setInterval(M,k,...U){const{delegate:te}=_;return te?.setInterval?te.setInterval(M,k,...U):setInterval(M,k,...U)},clearInterval(M){const{delegate:k}=_;return(k?.clearInterval||clearInterval)(M)},delegate:void 0};var S=l(8737);class D extends f{constructor(k,U){super(k,U),this.scheduler=k,this.work=U,this.pending=!1}schedule(k,U=0){var te;if(this.closed)return this;this.state=k;const I=this.id,z=this.scheduler;return null!=I&&(this.id=this.recycleAsyncId(z,I,U)),this.pending=!0,this.delay=U,this.id=null!==(te=this.id)&&void 0!==te?te:this.requestAsyncId(z,this.id,U),this}requestAsyncId(k,U,te=0){return _.setInterval(k.flush.bind(k,this),te)}recycleAsyncId(k,U,te=0){if(null!=te&&this.delay===te&&!1===this.pending)return U;null!=U&&_.clearInterval(U)}execute(k,U){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const te=this._execute(k,U);if(te)return te;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(k,U){let I,te=!1;try{this.work(k)}catch(z){te=!0,I=z||new Error("Scheduled action threw falsy error")}if(te)return this.unsubscribe(),I}unsubscribe(){if(!this.closed){const{id:k,scheduler:U}=this,{actions:te}=U;this.work=this.state=this.scheduler=null,this.pending=!1,(0,S.P)(te,this),null!=k&&(this.id=this.recycleAsyncId(U,k,null)),this.delay=null,super.unsubscribe()}}}},7565:(s,a,l)=>{"use strict";l.d(a,{v:()=>_});var t=l(6063);class f{constructor(D,M=f.now){this.schedulerActionCtor=D,this.now=M}schedule(D,M=0,k){return new this.schedulerActionCtor(this,D).schedule(k,M)}}f.now=t.l.now;class _ extends f{constructor(D,M=f.now){super(D,M),this.actions=[],this._active=!1}flush(D){const{actions:M}=this;if(this._active)return void M.push(D);let k;this._active=!0;do{if(k=D.execute(D.state,D.delay))break}while(D=M.shift());if(this._active=!1,k){for(;D=M.shift();)D.unsubscribe();throw k}}}},6406:(s,a,l)=>{"use strict";l.d(a,{Z:()=>k});var t=l(4408),f=l(727);const _={schedule(te){let I=requestAnimationFrame,z=cancelAnimationFrame;const{delegate:H}=_;H&&(I=H.requestAnimationFrame,z=H.cancelAnimationFrame);const ee=I(ae=>{z=void 0,te(ae)});return new f.w0(()=>z?.(ee))},requestAnimationFrame(...te){const{delegate:I}=_;return(I?.requestAnimationFrame||requestAnimationFrame)(...te)},cancelAnimationFrame(...te){const{delegate:I}=_;return(I?.cancelAnimationFrame||cancelAnimationFrame)(...te)},delegate:void 0};var D=l(7565);const k=new class M extends D.v{flush(I){this._active=!0;const z=this._scheduled;this._scheduled=void 0;const{actions:H}=this;let ee;I=I||H.shift();do{if(ee=I.execute(I.state,I.delay))break}while((I=H[0])&&I.id===z&&H.shift());if(this._active=!1,ee){for(;(I=H[0])&&I.id===z&&H.shift();)I.unsubscribe();throw ee}}}(class S extends t.o{constructor(I,z){super(I,z),this.scheduler=I,this.work=z}requestAsyncId(I,z,H=0){return null!==H&&H>0?super.requestAsyncId(I,z,H):(I.actions.push(this),I._scheduled||(I._scheduled=_.requestAnimationFrame(()=>I.flush(void 0))))}recycleAsyncId(I,z,H=0){var ee;if(null!=H?H>0:this.delay>0)return super.recycleAsyncId(I,z,H);const{actions:ae}=I;null!=z&&(null===(ee=ae[ae.length-1])||void 0===ee?void 0:ee.id)!==z&&(_.cancelAnimationFrame(z),I._scheduled=void 0)}})},3101:(s,a,l)=>{"use strict";l.d(a,{E:()=>ae});var t=l(4408);let _,f=1;const S={};function D(Y){return Y in S&&(delete S[Y],!0)}const M={setImmediate(Y){const N=f++;return S[N]=!0,_||(_=Promise.resolve()),_.then(()=>D(N)&&Y()),N},clearImmediate(Y){D(Y)}},{setImmediate:U,clearImmediate:te}=M,I={setImmediate(...Y){const{delegate:N}=I;return(N?.setImmediate||U)(...Y)},clearImmediate(Y){const{delegate:N}=I;return(N?.clearImmediate||te)(Y)},delegate:void 0};var H=l(7565);const ae=new class ee extends H.v{flush(N){this._active=!0;const O=this._scheduled;this._scheduled=void 0;const{actions:X}=this;let J;N=N||X.shift();do{if(J=N.execute(N.state,N.delay))break}while((N=X[0])&&N.id===O&&X.shift());if(this._active=!1,J){for(;(N=X[0])&&N.id===O&&X.shift();)N.unsubscribe();throw J}}}(class z extends t.o{constructor(N,O){super(N,O),this.scheduler=N,this.work=O}requestAsyncId(N,O,X=0){return null!==X&&X>0?super.requestAsyncId(N,O,X):(N.actions.push(this),N._scheduled||(N._scheduled=I.setImmediate(N.flush.bind(N,void 0))))}recycleAsyncId(N,O,X=0){var J;if(null!=X?X>0:this.delay>0)return super.recycleAsyncId(N,O,X);const{actions:pe}=N;null!=O&&(null===(J=pe[pe.length-1])||void 0===J?void 0:J.id)!==O&&(I.clearImmediate(O),N._scheduled=void 0)}})},4986:(s,a,l)=>{"use strict";l.d(a,{P:()=>S,z:()=>_});var t=l(4408);const _=new(l(7565).v)(t.o),S=_},6063:(s,a,l)=>{"use strict";l.d(a,{l:()=>t});const t={now:()=>(t.delegate||Date).now(),delegate:void 0}},233:(s,a,l)=>{"use strict";l.d(a,{N:()=>D});var t=l(4408),_=l(7565);const D=new class S extends _.v{}(class f extends t.o{constructor(U,te){super(U,te),this.scheduler=U,this.work=te}schedule(U,te=0){return te>0?super.schedule(U,te):(this.delay=te,this.state=U,this.scheduler.flush(this),this)}execute(U,te){return te>0||this.closed?super.execute(U,te):this._execute(U,te)}requestAsyncId(U,te,I=0){return null!=I&&I>0||null==I&&this.delay>0?super.requestAsyncId(U,te,I):(U.flush(this),0)}})},3410:(s,a,l)=>{"use strict";l.d(a,{z:()=>t});const t={setTimeout(f,_,...S){const{delegate:D}=t;return D?.setTimeout?D.setTimeout(f,_,...S):setTimeout(f,_,...S)},clearTimeout(f){const{delegate:_}=t;return(_?.clearTimeout||clearTimeout)(f)},delegate:void 0}},2202:(s,a,l)=>{"use strict";l.d(a,{h:()=>f});const f=function t(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},8822:(s,a,l)=>{"use strict";l.d(a,{L:()=>t});const t="function"==typeof Symbol&&Symbol.observable||"@@observable"},6805:(s,a,l)=>{"use strict";l.d(a,{K:()=>f});const f=(0,l(3888).d)(_=>function(){_(this),this.name="EmptyError",this.message="no elements in sequence"})},3269:(s,a,l)=>{"use strict";l.d(a,{_6:()=>M,jO:()=>S,yG:()=>D});var t=l(576),f=l(3532);function _(k){return k[k.length-1]}function S(k){return(0,t.m)(_(k))?k.pop():void 0}function D(k){return(0,f.K)(_(k))?k.pop():void 0}function M(k,U){return"number"==typeof _(k)?k.pop():U}},4742:(s,a,l)=>{"use strict";l.d(a,{D:()=>D});const{isArray:t}=Array,{getPrototypeOf:f,prototype:_,keys:S}=Object;function D(k){if(1===k.length){const U=k[0];if(t(U))return{args:U,keys:null};if(function M(k){return k&&"object"==typeof k&&f(k)===_}(U)){const te=S(U);return{args:te.map(I=>U[I]),keys:te}}}return{args:k,keys:null}}},8737:(s,a,l)=>{"use strict";function t(f,_){if(f){const S=f.indexOf(_);0<=S&&f.splice(S,1)}}l.d(a,{P:()=>t})},3888:(s,a,l)=>{"use strict";function t(f){const S=f(D=>{Error.call(D),D.stack=(new Error).stack});return S.prototype=Object.create(Error.prototype),S.prototype.constructor=S,S}l.d(a,{d:()=>t})},1810:(s,a,l)=>{"use strict";function t(f,_){return f.reduce((S,D,M)=>(S[D]=_[M],S),{})}l.d(a,{n:()=>t})},2806:(s,a,l)=>{"use strict";l.d(a,{O:()=>S,x:()=>_});var t=l(2416);let f=null;function _(D){if(t.v.useDeprecatedSynchronousErrorHandling){const M=!f;if(M&&(f={errorThrown:!1,error:null}),D(),M){const{errorThrown:k,error:U}=f;if(f=null,k)throw U}}else D()}function S(D){t.v.useDeprecatedSynchronousErrorHandling&&f&&(f.errorThrown=!0,f.error=D)}},9672:(s,a,l)=>{"use strict";function t(f,_,S,D=0,M=!1){const k=_.schedule(function(){S(),M?f.add(this.schedule(null,D)):this.unsubscribe()},D);if(f.add(k),!M)return k}l.d(a,{f:()=>t})},4671:(s,a,l)=>{"use strict";function t(f){return f}l.d(a,{y:()=>t})},1144:(s,a,l)=>{"use strict";l.d(a,{z:()=>t});const t=f=>f&&"number"==typeof f.length&&"function"!=typeof f},2206:(s,a,l)=>{"use strict";l.d(a,{D:()=>f});var t=l(576);function f(_){return Symbol.asyncIterator&&(0,t.m)(_?.[Symbol.asyncIterator])}},1165:(s,a,l)=>{"use strict";function t(f){return f instanceof Date&&!isNaN(f)}l.d(a,{q:()=>t})},576:(s,a,l)=>{"use strict";function t(f){return"function"==typeof f}l.d(a,{m:()=>t})},3670:(s,a,l)=>{"use strict";l.d(a,{c:()=>_});var t=l(8822),f=l(576);function _(S){return(0,f.m)(S[t.L])}},6495:(s,a,l)=>{"use strict";l.d(a,{T:()=>_});var t=l(2202),f=l(576);function _(S){return(0,f.m)(S?.[t.h])}},8239:(s,a,l)=>{"use strict";l.d(a,{t:()=>f});var t=l(576);function f(_){return(0,t.m)(_?.then)}},3260:(s,a,l)=>{"use strict";l.d(a,{L:()=>S,Q:()=>_});var t=l(655),f=l(576);function _(D){return(0,t.FC)(this,arguments,function*(){const k=D.getReader();try{for(;;){const{value:U,done:te}=yield(0,t.qq)(k.read());if(te)return yield(0,t.qq)(void 0);yield yield(0,t.qq)(U)}}finally{k.releaseLock()}})}function S(D){return(0,f.m)(D?.getReader)}},3532:(s,a,l)=>{"use strict";l.d(a,{K:()=>f});var t=l(576);function f(_){return _&&(0,t.m)(_.schedule)}},4482:(s,a,l)=>{"use strict";l.d(a,{A:()=>f,e:()=>_});var t=l(576);function f(S){return(0,t.m)(S?.lift)}function _(S){return D=>{if(f(D))return D.lift(function(M){try{return S(M,this)}catch(k){this.error(k)}});throw new TypeError("Unable to lift unknown Observable type")}}},3268:(s,a,l)=>{"use strict";l.d(a,{Z:()=>S});var t=l(4004);const{isArray:f}=Array;function S(D){return(0,t.U)(M=>
1function _(D,M){return f(M)?D(...M):D(M)}(D,M))}},5032:(s,a,l)=>{"use strict";function t(){}l.d(a,{Z:()=>t})},9635:(s,a,l)=>{"use strict";l.d(a,{U:()=>_,z:()=>f});var t=l(4671);function f(...S){return _(S)}function _(S){return 0===S.length?t.y:1===S.length?S[0]:function(M){return S.reduce((k,U)=>U(k),M)}}},7849:(s,a,l)=>{"use strict";l.d(a,{h:()=>_});var t=l(2416),f=l(3410);function _(S){f.z.setTimeout(()=>{const{onUnhandledError:D}=t.v;if(!D)throw S;D(S)})}},4532:(s,a,l)=>{"use strict";function t(f){return new TypeError(`You provided ${null!==f&&"object"==typeof f?"an invalid object":`'${f}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}l.d(a,{z:()=>t})},5226:function(s){s.exports=function(){"use strict";var a={awaitingPromise:new WeakMap,promise:new WeakMap,innerParams:new WeakMap,domCache:new WeakMap};const t=G=>{const K={};for(const ye in G)K[G[ye]]="swal2-"+G[ye];return K},f=t(["container","shown","height-auto","iosfix","popup","modal","no-backdrop","no-transition","toast","toast-shown","show","hide","close","title","html-container","actions","confirm","deny","cancel","default-outline","footer","icon","icon-content","image","input","file","range","select","radio","checkbox","label","textarea","inputerror","input-label","validation-message","progress-steps","active-progress-step","progress-step","progress-step-line","loader","loading","styled","top","top-start","top-end","top-left","top-right","center","center-start","center-end","center-left","center-right","bottom","bottom-start","bottom-end","bottom-left","bottom-right","grow-row","grow-column","grow-fullscreen","rtl","timer-progress-bar","timer-progress-bar-container","scrollbar-measure","icon-success","icon-warning","icon-info","icon-question","icon-error"]),_=t(["success","warning","info","question","error"]),S="SweetAlert2:",M=G=>G.charAt(0).toUpperCase()+G.slice(1),k=G=>{console.warn(`${S} ${"object"==typeof G?G.join(" "):G}`)},U=G=>{console.error(`${S} ${G}`)},te=[],z=(G,K)=>{(G=>{te.includes(G)||(te.push(G),k(G))})(`"${G}" is deprecated and will be removed in the next major release. Please use "${K}" instead.`)},H=G=>"function"==typeof G?G():G,ee=G=>G&&"function"==typeof G.toPromise,ae=G=>ee(G)?G.toPromise():Promise.resolve(G),V=G=>G&&Promise.resolve(G)===G,Y=()=>document.body.querySelector(`.${f.container}`),N=G=>{const K=Y();return K?K.querySelector(G):null},O=G=>N(`.${G}`),X=()=>O(f.popup),J=()=>O(f.icon),me=()=>O(f.title),Fe=()=>O(f["html-container"]),He=()=>O(f.image),xe=()=>O(f["progress-steps"]),Ne=()=>O(f["validation-message"]),ze=()=>N(`.${f.actions} .${f.confirm}`),ke=()=>N(`.${f.actions} .${f.deny}`),Ce=()=>N(`.${f.loader}`),oe=()=>N(`.${f.actions} .${f.cancel}`),he=()=>O(f.actions),be=()=>O(f.footer),tt=()=>O(f["timer-progress-bar"]),st=()=>O(f.close),Wt=()=>{const G=Array.from(X().querySelectorAll('[tabindex]:not([tabindex="-1"]):not([tabindex="0"])')).sort((ye,Xe)=>{const xt=parseInt(ye.getAttribute("tabindex")),Mn=parseInt(Xe.getAttribute("tabindex"));return xt>Mn?1:xt<Mn?-1:0}),K=Array.from(X().querySelectorAll('\n  a[href],\n  area[href],\n  input:not([disabled]),\n  select:not([disabled]),\n  textarea:not([disabled]),\n  button:not([disabled]),\n  iframe,\n  object,\n  embed,\n  [tabindex="0"],\n  [contenteditable],\n  audio[controls],\n  video[controls],\n  summary\n')).filter(ye=>"-1"!==ye.getAttribute("tabindex"));return(G=>{const K=[];for(let ye=0;ye<G.length;ye++)-1===K.indexOf(G[ye])&&K.push(G[ye]);return K})(G.concat(K)).filter(ye=>cn(ye))},Ut=()=>Xt(document.body,f.shown)&&!Xt(document.body,f["toast-shown"])&&!Xt(document.body,f["no-backdrop"]),Et=()=>X()&&Xt(X(),f.toast),rn={previousBodyPadding:null},gn=(G,K)=>{if(G.textContent="",K){const Xe=(new DOMParser).parseFromString(K,"text/html");Array.from(Xe.querySelector("head").childNodes).forEach(xt=>{G.appendChild(xt)}),Array.from(Xe.querySelector("body").childNodes).forEach(xt=>{xt instanceof HTMLVideoElement||xt instanceof HTMLAudioElement?G.appendChild(xt.cloneNode(!0)):G.appendChild(xt)})}},Xt=(G,K)=>{if(!K)return!1;const ye=K.split(/\s+/);for(let Xe=0;Xe<ye.length;Xe++)if(!G.classList.contains(ye[Xe]))return!1;return!0},_n=(G,K,ye)=>{if(((G,K)=>{Array.from(G.classList).forEach(ye=>{!Object.values(f).includes(ye)&&!Object.values(_).includes(ye)&&!Object.values(K.showClass).includes(ye)&&G.classList.remove(ye)})})(G,K),K.customClass&&K.customClass[ye]){if("string"!=typeof K.customClass[ye]&&!K.customClass[ye].forEach)return void k(`Invalid type of customClass.${ye}! Expected string or iterable object, got "${typeof K.customClass[ye]}"`);un(G,K.customClass[ye])}},Nn=(G,K)=>{if(!K)return null;switch(K){case"select":case"textarea":case"file":return G.querySelector(`.${f.popup} > .${f[K]}`);case"checkbox":return G.querySelector(`.${f.popup} > .${f.checkbox} input`);case"radio":return G.querySelector(`.${f.popup} > .${f.radio} input:checked`)||G.querySelector(`.${f.popup} > .${f.radio} input:first-child`);case"range":return G.querySelector(`.${f.popup} > .${f.range} input`);default:return G.querySelector(`.${f.popup} > .${f.input}`)}},Bt=G=>{if(G.focus(),"file"!==G.type){const K=G.value;G.value="",G.value=K}},Hn=(G,K,ye)=>
vendor: 4,467 bytes, line 1
1{!G||!K||("string"==typeof K&&(K=K.split(/\s+/).filter(Boolean)),K.forEach(Xe=>{Array.isArray(G)?G.forEach(xt=>{ye?xt.classList.add(Xe):xt.classList.remove(Xe)}):ye?G.classList.add(Xe):G.classList.remove(Xe)}))},un=(G,K)=>{Hn(G,K,!0)},dr=(G,K)=>{Hn(G,K,!1)},nr=(G,K)=>{const ye=Array.from(G.children);for(let Xe=0;Xe<ye.length;Xe++){const xt=ye[Xe];if(xt instanceof HTMLElement&&Xt(xt,K))return xt}},$n=(G,K,ye)=>{ye===`${parseInt(ye)}`&&(ye=parseInt(ye)),ye||0===parseInt(ye)?G.style[K]="number"==typeof ye?`${ye}px`:ye:G.style.removeProperty(K)},Wn=function(G){G.style.display=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"flex"},Sn=G=>{G.style.display="none"},tr=(G,K,ye,Xe)=>{const xt=G.querySelector(K);xt&&(xt.style[ye]=Xe)},fn=function(G,K){K?Wn(G,arguments.length>2&&void 0!==arguments[2]?arguments[2]:"flex"):Sn(G)},cn=G=>!(!G||!(G.offsetWidth||G.offsetHeight||G.getClientRects().length)),Ln=G=>G.scrollHeight>G.clientHeight,hr=G=>{const K=window.getComputedStyle(G),ye=parseFloat(K.getPropertyValue("animation-duration")||"0"),Xe=parseFloat(K.getPropertyValue("transition-duration")||"0");return ye>0||Xe>0},Dr=function(G){let K=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const ye=tt();cn(ye)&&(K&&(ye.style.transition="none",ye.style.width="100%"),setTimeout(()=>{ye.style.transition=`width ${G/1e3}s linear`,ye.style.width="0%"},10))},Gt={},Br=G=>new Promise(K=>{if(!G)return K();const ye=window.scrollX,Xe=window.scrollY;Gt.restoreFocusTimeout=setTimeout(()=>{Gt.previousActiveElement instanceof HTMLElement?(Gt.previousActiveElement.focus(),Gt.previousActiveElement=null):document.body&&document.body.focus(),K()},100),window.scrollTo(ye,Xe)}),yr=()=>typeof window>"u"||typeof document>"u",$r=`\n <div aria-labelledby="${f.title}" aria-describedby="${f["html-container"]}" class="${f.popup}" tabindex="-1">\n   <button type="button" class="${f.close}"></button>\n   <ul class="${f["progress-steps"]}"></ul>\n   <div class="${f.icon}"></div>\n   <img class="${f.image}" />\n   <h2 class="${f.title}" id="${f.title}"></h2>\n   <div class="${f["html-container"]}" id="${f["html-container"]}"></div>\n   <input class="${f.input}" />\n   <input type="file" class="${f.file}" />\n   <div class="${f.range}">\n     <input type="range" />\n     <output></output>\n   </div>\n   <select class="${f.select}"></select>\n   <div class="${f.radio}"></div>\n   <label for="${f.checkbox}" class="${f.checkbox}">\n     <input type="checkbox" />\n     <span class="${f.label}"></span>\n   </label>\n   <textarea class="${f.textarea}"></textarea>\n   <div class="${f["validation-message"]}" id="${f["validation-message"]}"></div>\n   <div class="${f.actions}">\n     <div class="${f.loader}"></div>\n     <button type="button" class="${f.confirm}"></button>\n     <button type="button" class="${f.deny}"></button>\n     <button type="button" class="${f.cancel}"></button>\n   </div>\n   <div class="${f.footer}"></div>\n   <div class="${f["timer-progress-bar-container"]}">\n     <div class="${f["timer-progress-bar"]}"></div>\n   </div>\n </div>\n`.replace(/(^|\n)\s*/g,""),Tr=()=>{Gt.currentInstance.resetValidationMessage()},sn=G=>{const K=(()=>{const G=Y();return!!G&&(G.remove(),dr([document.documentElement,document.body],[f["no-backdrop"],f["toast-shown"],f["has-column"]]),!0)})();if(yr())return void U("SweetAlert2 requires document to initialize");const ye=document.createElement("div");ye.className=f.container,K&&un(ye,f["no-transition"]),gn(ye,$r);const Xe=(G=>"string"==typeof G?document.querySelector(G):G)(G.target);Xe.appendChild(ye),(G=>{const K=X();K.setAttribute("role",G.toast?"alert":"dialog"),K.setAttribute("aria-live",G.toast?"polite":"assertive"),G.toast||K.setAttribute("aria-modal","true")})(G),(G=>{"rtl"===window.getComputedStyle(G).direction&&un(Y(),f.rtl)})(Xe),(()=>{const G=X(),K=nr(G,f.input),ye=nr(G,f.file),Xe=G.querySelector(`.${f.range} input`),xt=G.querySelector(`.${f.range} output`),Mn=nr(G,f.select),ir=G.querySelector(`.${f.checkbox} input`),Xi=nr(G,f.textarea);K.oninput=Tr,ye.onchange=Tr,Mn.onchange=Tr,ir.onchange=Tr,Xi.oninput=Tr,Xe.oninput=()=>{Tr(),xt.value=Xe.value},Xe.onchange=()=>{Tr(),xt.value=Xe.value}})()},Nt=(G,K)=>{G instanceof HTMLElement?K.appendChild(G):"object"==typeof G?yt(G,K):G&&gn(K,G)},yt=(G,K)=>{G.jquery?ot(K,G):gn(K,G.toString())},ot=(G,K)=>{if(G.textContent="",0 in K)for(let ye=0;ye in K;ye++)G.appendChild(K[ye].cloneNode(!0));else G.appendChild(K.cloneNode(!0))},Ue=(()=>
1{if(yr())return!1;const G=document.createElement("div"),K={WebkitAnimation:"webkitAnimationEnd",animation:"animationend"};for(const ye in K)if(Object.prototype.hasOwnProperty.call(K,ye)&&typeof G.style[ye]<"u")return K[ye];return!1})(),St=(G,K)=>{const ye=he(),Xe=Ce();K.showConfirmButton||K.showDenyButton||K.showCancelButton?Wn(ye):Sn(ye),_n(ye,K,"actions"),function Oe(G,K,ye){const Xe=ze(),xt=ke(),Mn=oe();Qe(Xe,"confirm",ye),Qe(xt,"deny",ye),Qe(Mn,"cancel",ye),function Ge(G,K,ye,Xe){Xe.buttonsStyling?(un([G,K,ye],f.styled),Xe.confirmButtonColor&&(G.style.backgroundColor=Xe.confirmButtonColor,un(G,f["default-outline"])),Xe.denyButtonColor&&(K.style.backgroundColor=Xe.denyButtonColor,un(K,f["default-outline"])),Xe.cancelButtonColor&&(ye.style.backgroundColor=Xe.cancelButtonColor,un(ye,f["default-outline"]))):dr([G,K,ye],f.styled)}(Xe,xt,Mn,ye),ye.reverseButtons&&(ye.toast?(G.insertBefore(Mn,Xe),G.insertBefore(xt,Xe)):(G.insertBefore(Mn,K),G.insertBefore(xt,K),G.insertBefore(Xe,K)))}(ye,Xe,K),gn(Xe,K.loaderHtml),_n(Xe,K,"loader")};function Qe(G,K,ye){fn(G,ye[`show${M(K)}Button`],"inline-block"),gn(G,ye[`${K}ButtonText`]),G.setAttribute("aria-label",ye[`${K}ButtonAriaLabel`]),G.className=f[K],_n(G,ye,`${K}Button`),un(G,ye[`${K}ButtonClass`])}const it=(G,K)=>{const ye=Y();!ye||(function zt(G,K){"string"==typeof K?G.style.background=K:K||un([document.documentElement,document.body],f["no-backdrop"])}(ye,K.backdrop),function Cn(G,K){K in f?un(G,f[K]):(k('The "position" parameter is not valid, defaulting to "center"'),un(G,f.center))}(ye,K.position),function At(G,K){if(K&&"string"==typeof K){const ye=`grow-${K}`;ye in f&&un(G,f[ye])}}(ye,K.grow),_n(ye,K,"container"))};const We=["input","file","range","select","radio","checkbox","textarea"],B=G=>{if(!Zn[G.input])return void U(`Unexpected type of input! Expected "text", "email", "password", "number", "tel", "select", "radio", "checkbox", "textarea", "file" or "url", got "${G.input}"`);const K=In(G.input),ye=Zn[G.input](K,G);Wn(K),setTimeout(()=>{Bt(ye)})},ve=(G,K)=>{const ye=Nn(X(),G);
vendor: 4,477 bytes, line 1
1if(ye){(G=>{for(let K=0;K<G.attributes.length;K++){const ye=G.attributes[K].name;["type","value","style"].includes(ye)||G.removeAttribute(ye)}})(ye);for(const Xe in K)ye.setAttribute(Xe,K[Xe])}},Le=G=>{const K=In(G.input);"object"==typeof G.customClass&&un(K,G.customClass.input)},Je=(G,K)=>{(!G.placeholder||K.inputPlaceholder)&&(G.placeholder=K.inputPlaceholder)},Jt=(G,K,ye)=>{if(ye.inputLabel){G.id=f.input;const Xe=document.createElement("label"),xt=f["input-label"];Xe.setAttribute("for",G.id),Xe.className=xt,"object"==typeof ye.customClass&&un(Xe,ye.customClass.inputLabel),Xe.innerText=ye.inputLabel,K.insertAdjacentElement("beforebegin",Xe)}},In=G=>nr(X(),f[G]||f.input),er=(G,K)=>{["string","number"].includes(typeof K)?G.value=`${K}`:V(K)||k(`Unexpected type of inputValue! Expected "string", "number" or "Promise", got "${typeof K}"`)},Zn={};Zn.text=Zn.email=Zn.password=Zn.number=Zn.tel=Zn.url=(G,K)=>(er(G,K.inputValue),Jt(G,G,K),Je(G,K),G.type=K.input,G),Zn.file=(G,K)=>(Jt(G,G,K),Je(G,K),G),Zn.range=(G,K)=>{const ye=G.querySelector("input"),Xe=G.querySelector("output");return er(ye,K.inputValue),ye.type=K.input,er(Xe,K.inputValue),Jt(ye,G,K),G},Zn.select=(G,K)=>{if(G.textContent="",K.inputPlaceholder){const ye=document.createElement("option");gn(ye,K.inputPlaceholder),ye.value="",ye.disabled=!0,ye.selected=!0,G.appendChild(ye)}return Jt(G,G,K),G},Zn.radio=G=>(G.textContent="",G),Zn.checkbox=(G,K)=>{const ye=Nn(X(),"checkbox");ye.value="1",ye.id=f.checkbox,ye.checked=Boolean(K.inputValue);const Xe=G.querySelector("span");return gn(Xe,K.inputPlaceholder),ye},Zn.textarea=(G,K)=>{er(G,K.inputValue),Je(G,K),Jt(G,G,K);return setTimeout(()=>{if("MutationObserver"in window){const Xe=parseInt(window.getComputedStyle(X()).width);new MutationObserver(()=>{const Mn=G.offsetWidth+(Xe=>parseInt(window.getComputedStyle(Xe).marginLeft)+parseInt(window.getComputedStyle(Xe).marginRight))(G);X().style.width=Mn>Xe?`${Mn}px`:null}).observe(G,{attributes:!0,attributeFilter:["style"]})}}),G};const Ir=(G,K)=>{const ye=Fe();_n(ye,K,"htmlContainer"),K.html?(Nt(K.html,ye),Wn(ye,"block")):K.text?(ye.textContent=K.text,Wn(ye,"block")):Sn(ye),((G,K)=>{const ye=X(),Xe=a.innerParams.get(G),xt=!Xe||K.input!==Xe.input;We.forEach(Mn=>{const ir=nr(ye,f[Mn]);ve(Mn,K.inputAttributes),ir.className=f[Mn],xt&&Sn(ir)}),K.input&&(xt&&B(K),Le(K))})(G,K)},Qi=(G,K)=>{for(const ye in _)K.icon!==ye&&dr(G,_[ye]);un(G,_[K.icon]),ni(G,K),bs(),_n(G,K,"icon")},bs=()=>{const G=X(),K=window.getComputedStyle(G).getPropertyValue("background-color"),ye=G.querySelectorAll("[class^=swal2-success-circular-line], .swal2-success-fix");for(let Xe=0;Xe<ye.length;Xe++)ye[Xe].style.backgroundColor=K},Or=(G,K)=>{let Xe,ye=G.innerHTML;K.iconHtml?Xe=Ti(K.iconHtml):"success"===K.icon?(Xe='\n  <div class="swal2-success-circular-line-left"></div>\n  <span class="swal2-success-line-tip"></span> <span class="swal2-success-line-long"></span>\n  <div class="swal2-success-ring"></div> <div class="swal2-success-fix"></div>\n  <div class="swal2-success-circular-line-right"></div>\n',ye=ye.replace(/ style=".*?"/g,"")):Xe="error"===K.icon?'\n  <span class="swal2-x-mark">\n    <span class="swal2-x-mark-line-left"></span>\n    <span class="swal2-x-mark-line-right"></span>\n  </span>\n':Ti({question:"?",warning:"!",info:"i"}[K.icon]),ye.trim()!==Xe.trim()&&gn(G,Xe)},ni=(G,K)=>{if(K.iconColor){G.style.color=K.iconColor,G.style.borderColor=K.iconColor;for(const ye of[".swal2-success-line-tip",".swal2-success-line-long",".swal2-x-mark-line-left",".swal2-x-mark-line-right"])tr(G,ye,"backgroundColor",K.iconColor);tr(G,".swal2-success-ring","borderColor",K.iconColor)}},Ti=G=>`<div class="${f["icon-content"]}">${G}</div>`,pi=(G,K)=>{G.className=`${f.popup} ${cn(G)?K.showClass.popup:""}`,K.toast?(un([document.documentElement,document.body],f["toast-shown"]),un(G,f.toast)):un(G,f.modal),_n(G,K,"popup"),"string"==typeof K.customClass&&un(G,K.customClass),K.icon&&un(G,f[`icon-${K.icon}`])},qn=G=>{const K=document.createElement("li");return un(K,f["progress-step"]),gn(K,G),K},ai=G=>{const K=document.createElement("li");return un(K,f["progress-step-line"]),G.progressStepsDistance&&$n(K,"width",G.progressStepsDistance),K},ii=(G,K)=>{((G,K)=>{const ye=Y(),Xe=X();K.toast?($n(ye,"width",K.width),Xe.style.width="100%",Xe.insertBefore(Ce(),J())):$n(Xe,"width",K.width),$n(Xe,"padding",K.padding),K.color&&(Xe.style.color=K.color),K.background&&(Xe.style.background=K.background),Sn(Ne()),pi(Xe,K)}
vendor: 6,785 bytes, line 1
1)(0,K),it(0,K),((G,K)=>{const ye=xe();K.progressSteps&&0!==K.progressSteps.length?(Wn(ye),ye.textContent="",K.currentProgressStep>=K.progressSteps.length&&k("Invalid currentProgressStep parameter, it should be less than progressSteps.length (currentProgressStep like JS arrays starts from 0)"),K.progressSteps.forEach((Xe,xt)=>{const Mn=qn(Xe);if(ye.appendChild(Mn),xt===K.currentProgressStep&&un(Mn,f["active-progress-step"]),xt!==K.progressSteps.length-1){const ir=ai(K);ye.appendChild(ir)}})):Sn(ye)})(0,K),((G,K)=>{const ye=a.innerParams.get(G),Xe=J();ye&&K.icon===ye.icon?(Or(Xe,K),Qi(Xe,K)):K.icon||K.iconHtml?K.icon&&-1===Object.keys(_).indexOf(K.icon)?(U(`Unknown icon! Expected "success", "error", "warning", "info" or "question", got "${K.icon}"`),Sn(Xe)):(Wn(Xe),Or(Xe,K),Qi(Xe,K),un(Xe,K.showClass.icon)):Sn(Xe)})(G,K),((G,K)=>{const ye=He();K.imageUrl?(Wn(ye,""),ye.setAttribute("src",K.imageUrl),ye.setAttribute("alt",K.imageAlt),$n(ye,"width",K.imageWidth),$n(ye,"height",K.imageHeight),ye.className=f.image,_n(ye,K,"image")):Sn(ye)})(0,K),((G,K)=>{const ye=me();fn(ye,K.title||K.titleText,"block"),K.title&&Nt(K.title,ye),K.titleText&&(ye.innerText=K.titleText),_n(ye,K,"title")})(0,K),((G,K)=>{const ye=st();gn(ye,K.closeButtonHtml),_n(ye,K,"closeButton"),fn(ye,K.showCloseButton),ye.setAttribute("aria-label",K.closeButtonAriaLabel)})(0,K),Ir(G,K),St(0,K),((G,K)=>{const ye=be();fn(ye,K.footer),K.footer&&Nt(K.footer,ye),_n(ye,K,"footer")})(0,K),"function"==typeof K.didRender&&K.didRender(X())};function Hr(){const G=a.innerParams.get(this);if(!G)return;const K=a.domCache.get(this);Sn(K.loader),Et()?G.icon&&Wn(J()):Ci(K),dr([K.popup,K.actions],f.loading),K.popup.removeAttribute("aria-busy"),K.popup.removeAttribute("data-loading"),K.confirmButton.disabled=!1,K.denyButton.disabled=!1,K.cancelButton.disabled=!1}const Ci=G=>{const K=G.popup.getElementsByClassName(G.loader.getAttribute("data-button-to-replace"));K.length?Wn(K[0],"inline-block"):!cn(ze())&&!cn(ke())&&!cn(oe())&&Sn(G.actions)};const ki=()=>ze()&&ze().click(),ss=Object.freeze({cancel:"cancel",backdrop:"backdrop",close:"close",esc:"esc",timer:"timer"}),Ms=G=>{G.keydownTarget&&G.keydownHandlerAdded&&(G.keydownTarget.removeEventListener("keydown",G.keydownHandler,{capture:G.keydownListenerCapture}),G.keydownHandlerAdded=!1)},je=(G,K)=>{const ye=Wt();if(ye.length)return(G+=K)===ye.length?G=0:-1===G&&(G=ye.length-1),void ye[G].focus();X().focus()},Mt=["ArrowRight","ArrowDown"],ft=["ArrowLeft","ArrowUp"],Dt=(G,K,ye)=>{const Xe=a.innerParams.get(G);!Xe||K.isComposing||229===K.keyCode||(Xe.stopKeydownPropagation&&K.stopPropagation(),"Enter"===K.key?Ht(G,K,Xe):"Tab"===K.key?en(K):[...Mt,...ft].includes(K.key)?Bn(K.key):"Escape"===K.key&&Pr(K,Xe,ye))},Ht=(G,K,ye)=>{if(H(ye.allowEnterKey)&&K.target&&G.getInput()&&K.target instanceof HTMLElement&&K.target.outerHTML===G.getInput().outerHTML){if(["textarea","file"].includes(ye.input))return;ki(),K.preventDefault()}},en=G=>{const K=G.target,ye=Wt();let Xe=-1;for(let xt=0;xt<ye.length;xt++)if(K===ye[xt]){Xe=xt;break}je(Xe,G.shiftKey?-1:1),G.stopPropagation(),G.preventDefault()},Bn=G=>{const K=ze(),ye=ke(),Xe=oe();if(document.activeElement instanceof HTMLElement&&![K,ye,Xe].includes(document.activeElement))return;const xt=Mt.includes(G)?"nextElementSibling":"previousElementSibling";let Mn=document.activeElement;for(let ir=0;ir<he().children.length;ir++){if(Mn=Mn[xt],!Mn)return;if(Mn instanceof HTMLButtonElement&&cn(Mn))break}Mn instanceof HTMLButtonElement&&Mn.focus()},Pr=(G,K,ye)=>{H(K.allowEscapeKey)&&(G.preventDefault(),ye(ss.esc))};var mr={swalPromiseResolve:new WeakMap,swalPromiseReject:new WeakMap};const ar=()=>{Array.from(document.body.children).forEach(K=>{K.hasAttribute("data-previous-aria-hidden")?(K.setAttribute("aria-hidden",K.getAttribute("data-previous-aria-hidden")),K.removeAttribute("data-previous-aria-hidden")):K.removeAttribute("aria-hidden")})},xi=()=>{const G=navigator.userAgent,K=!!G.match(/iPad/i)||!!G.match(/iPhone/i),ye=!!G.match(/WebKit/i);K&&ye&&!G.match(/CriOS/i)&&X().scrollHeight>window.innerHeight-44&&(Y().style.paddingBottom="44px")},li=()=>{const G=Y();let K;G.ontouchstart=ye=>{K=yo(ye)},G.ontouchmove=ye=>{K&&(ye.preventDefault(),ye.stopPropagation())}},yo=G=>{const K=G.target,ye=Y();return!Si(G)&&!Xn(G)&&(K===ye||!Ln(ye)&&K instanceof HTMLElement&&"INPUT"!==K.tagName&&"TEXTAREA"!==K.tagName&&!(Ln(Fe())&&Fe().contains(K)))},Si=G=>G.touches&&G.touches.length&&"stylus"===G.touches[0].touchType,Xn=G=>G.touches&&G.touches.length>1,xs=()=>{null===rn.previousBodyPadding&&document.body.scrollHeight>window.innerHeight&&(rn.previousBodyPadding=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")),document.body.style.paddingRight=`${rn.previousBodyPadding+(()=>{const G=document.createElement("div");G.className=f["scrollbar-measure"],document.body.appendChild(G);const K=G.getBoundingClientRect().width-G.clientWidth;return document.body.removeChild(G),K})()}px`)};function si(G,K,ye,Xe){Et()?fs(G,Xe):(Br(ye).then(()=>fs(G,Xe)),Ms(Gt)),/^((?!chrome|android).)*safari/i.test(navigator.userAgent)?(K.setAttribute("style","display:none !important"),K.removeAttribute("class"),K.innerHTML=""):K.remove(),Ut()&&(null!==rn.previousBodyPadding&&(document.body.style.paddingRight=`${rn.previousBodyPadding}px`,rn.previousBodyPadding=null),(()=>{if(Xt(document.body,f.iosfix)){const G=parseInt(document.body.style.top,10);dr(document.body,f.iosfix),document.body.style.top="",document.body.scrollTop=-1*G}})(),ar()),function Sr(){dr([document.documentElement,document.body],[f.shown,f["height-auto"],f["no-backdrop"],f["toast-shown"]])}()}function Zr(G){G=Zs(G);const K=mr.swalPromiseResolve.get(this),ye=Es(this);this.isAwaitingPromise()?G.isDismissed||(Bs(this),K(G)):ye&&K(G)}const Es=G=>{const K=X();if(!K)return!1;const ye=a.innerParams.get(G);if(!ye||Xt(K,ye.hideClass.popup))return!1;dr(K,ye.showClass.popup),un(K,ye.hideClass.popup);const Xe=Y();return dr(Xe,ye.showClass.backdrop),un(Xe,ye.hideClass.backdrop),Ct(G,K,ye),!0};const Bs=G=>{G.isAwaitingPromise()&&(a.awaitingPromise.delete(G),a.innerParams.get(G)||G._destroy())},Zs=G=>typeof G>"u"?{isConfirmed:!1,isDenied:!1,isDismissed:!0}:Object.assign({isConfirmed:!1,isDenied:!1,isDismissed:!1},G),Ct=(G,K,ye)=>{const Xe=Y(),xt=Ue&&hr(K);"function"==typeof ye.willClose&&ye.willClose(K),xt?co(G,K,Xe,ye.returnFocus,ye.didClose):si(G,Xe,ye.returnFocus,ye.didClose)},co=(G,K,ye,Xe,xt)=>{Gt.swalCloseEventFinishedCallback=si.bind(null,G,ye,Xe,xt),K.addEventListener(Ue,function(Mn){Mn.target===K&&(Gt.swalCloseEventFinishedCallback(),delete Gt.swalCloseEventFinishedCallback)})},fs=(G,K)=>{setTimeout(()=>{"function"==typeof K&&K.bind(G.params)(),G._destroy()})};function Xs(G,K,ye){const Xe=a.domCache.get(G);
vendor: 1,728 bytes, line 1
1K.forEach(xt=>{Xe[xt].disabled=ye})}function Os(G,K){if(G)if("radio"===G.type){const Xe=G.parentNode.parentNode.querySelectorAll("input");for(let xt=0;xt<Xe.length;xt++)Xe[xt].disabled=K}else G.disabled=K}const Rn={title:"",titleText:"",text:"",html:"",footer:"",icon:void 0,iconColor:void 0,iconHtml:void 0,template:void 0,toast:!1,showClass:{popup:"swal2-show",backdrop:"swal2-backdrop-show",icon:"swal2-icon-show"},hideClass:{popup:"swal2-hide",backdrop:"swal2-backdrop-hide",icon:"swal2-icon-hide"},customClass:{},target:"body",color:void 0,backdrop:!0,heightAuto:!0,allowOutsideClick:!0,allowEscapeKey:!0,allowEnterKey:!0,stopKeydownPropagation:!0,keydownListenerCapture:!1,showConfirmButton:!0,showDenyButton:!1,showCancelButton:!1,preConfirm:void 0,preDeny:void 0,confirmButtonText:"OK",confirmButtonAriaLabel:"",confirmButtonColor:void 0,denyButtonText:"No",denyButtonAriaLabel:"",denyButtonColor:void 0,cancelButtonText:"Cancel",cancelButtonAriaLabel:"",cancelButtonColor:void 0,buttonsStyling:!0,reverseButtons:!1,focusConfirm:!0,focusDeny:!1,focusCancel:!1,returnFocus:!0,showCloseButton:!1,closeButtonHtml:"&times;",closeButtonAriaLabel:"Close this dialog",loaderHtml:"",showLoaderOnConfirm:!1,showLoaderOnDeny:!1,imageUrl:void 0,imageWidth:void 0,imageHeight:void 0,imageAlt:"",timer:void 0,timerProgressBar:!1,width:void 0,padding:void 0,background:void 0,input:void 0,inputPlaceholder:"",inputLabel:"",inputValue:"",inputOptions:{},inputAutoTrim:!0,inputAttributes:{},inputValidator:void 0,returnInputValueOnDeny:!1,validationMessage:void 0,grow:!1,position:"center",progressSteps:[],currentProgressStep:void 0,progressStepsDistance:void 0,willOpen:void 0,didOpen:void 0,didRender:void 0,willClose:void 0,didClose
vendor: 9,084 bytes, line 1
1:void 0,didDestroy:void 0,scrollbarPadding:!0},jr=["allowEscapeKey","allowOutsideClick","background","buttonsStyling","cancelButtonAriaLabel","cancelButtonColor","cancelButtonText","closeButtonAriaLabel","closeButtonHtml","color","confirmButtonAriaLabel","confirmButtonColor","confirmButtonText","currentProgressStep","customClass","denyButtonAriaLabel","denyButtonColor","denyButtonText","didClose","didDestroy","footer","hideClass","html","icon","iconColor","iconHtml","imageAlt","imageHeight","imageUrl","imageWidth","preConfirm","preDeny","progressSteps","returnFocus","reverseButtons","showCancelButton","showCloseButton","showConfirmButton","showDenyButton","text","title","titleText","willClose"],jn={},Vs=["allowOutsideClick","allowEnterKey","backdrop","focusConfirm","focusDeny","focusCancel","returnFocus","heightAuto","keydownListenerCapture"],yi=G=>Object.prototype.hasOwnProperty.call(Rn,G),dt=G=>-1!==jr.indexOf(G),Ke=G=>jn[G],bo=G=>{yi(G)||k(`Unknown parameter "${G}"`)},Js=G=>{Vs.includes(G)&&k(`The parameter "${G}" is incompatible with toasts`)},as=G=>{Ke(G)&&z(G,Ke(G))};const Hs=G=>{const K={};return Object.keys(G).forEach(ye=>{dt(ye)?K[ye]=G[ye]:k(`Invalid parameter to update: ${ye}`)}),K};const hi=G=>{wr(G),delete G.params,delete Gt.keydownHandler,delete Gt.keydownTarget,delete Gt.currentInstance},wr=G=>{G.isAwaitingPromise()?(Ni(a,G),a.awaitingPromise.set(G,!0)):(Ni(mr,G),Ni(a,G))},Ni=(G,K)=>{for(const ye in G)G[ye].delete(K)};var Ns=Object.freeze({__proto__:null,hideLoading:Hr,disableLoading:Hr,getInput:function gr(G){const K=a.innerParams.get(G||this),ye=a.domCache.get(G||this);return ye?Nn(ye.popup,K.input):null},close:Zr,isAwaitingPromise:function hs(){return!!a.awaitingPromise.get(this)},rejectPromise:function Xr(G){const K=mr.swalPromiseReject.get(this);Bs(this),K&&K(G)},handleAwaitingPromise:Bs,closePopup:Zr,closeModal:Zr,closeToast:Zr,enableButtons:function lt(){Xs(this,["confirmButton","denyButton","cancelButton"],!1)},disableButtons:function at(){Xs(this,["confirmButton","denyButton","cancelButton"],!0)},enableInput:function vt(){Os(this.getInput(),!1)},disableInput:function Ft(){Os(this.getInput(),!0)},showValidationMessage:function an(G){const K=a.domCache.get(this),ye=a.innerParams.get(this);gn(K.validationMessage,G),K.validationMessage.className=f["validation-message"],ye.customClass&&ye.customClass.validationMessage&&un(K.validationMessage,ye.customClass.validationMessage),Wn(K.validationMessage);const Xe=this.getInput();Xe&&(Xe.setAttribute("aria-invalid",!0),Xe.setAttribute("aria-describedby",f["validation-message"]),Bt(Xe),un(Xe,f.inputerror))},resetValidationMessage:function Pn(){const G=a.domCache.get(this);G.validationMessage&&Sn(G.validationMessage);const K=this.getInput();K&&(K.removeAttribute("aria-invalid"),K.removeAttribute("aria-describedby"),dr(K,f.inputerror))},update:function di(G){const K=X(),ye=a.innerParams.get(this);if(!K||Xt(K,ye.hideClass.popup))return void k("You're trying to update the closed or closing popup, that won't work. Use the update() method in preConfirm parameter or show a new popup.");const Xe=Hs(G),xt=Object.assign({},ye,Xe);ii(this,xt),a.innerParams.set(this,xt),Object.defineProperties(this,{params:{value:Object.assign({},this.params,G),writable:!1,enumerable:!0}})},_destroy:function Fi(){const G=a.domCache.get(this),K=a.innerParams.get(this);K?(G.popup&&Gt.swalCloseEventFinishedCallback&&(Gt.swalCloseEventFinishedCallback(),delete Gt.swalCloseEventFinishedCallback),"function"==typeof K.didDestroy&&K.didDestroy(),hi(this)):wr(this)}});const es=G=>{let K=X();K||new zn,K=X();const ye=Ce();Et()?Sn(J()):Vo(K,G),Wn(ye),K.setAttribute("data-loading","true"),K.setAttribute("aria-busy","true"),K.focus()},Vo=(G,K)=>{const ye=he(),Xe=Ce();!K&&cn(ze())&&(K=ze()),Wn(ye),K&&(Sn(K),Xe.setAttribute("data-button-to-replace",K.className)),Xe.parentNode.insertBefore(Xe,K),un([G,ye],f.loading)},ho=G=>G.checked?1:0,Do=G=>G.checked?G.value:null,ts=G=>G.files.length?null!==G.getAttribute("multiple")?G.files:G.files[0]:null,wi=(G,K)=>{const ye=X(),Xe=xt=>{fa[K.input](ye,gs(xt),K)};ee(K.inputOptions)||V(K.inputOptions)?(es(ze()),ae(K.inputOptions).then(xt=>{G.hideLoading(),Xe(xt)})):"object"==typeof K.inputOptions?Xe(K.inputOptions):U("Unexpected type of inputOptions! Expected object, Map or Promise, got "+typeof K.inputOptions)},ha=(G,K)=>{const ye=G.getInput();Sn(ye),ae(K.inputValue).then(Xe=>{ye.value="number"===K.input?`${parseFloat(Xe)||0}`:`${Xe}`,Wn(ye),ye.focus(),G.hideLoading()}).catch(Xe=>{U(`Error in inputValue promise: ${Xe}`),ye.value="",Wn(ye),ye.focus(),G.hideLoading()})},fa={select:(G,K,ye)=>{const Xe=nr(G,f.select),xt=(Mn,ir,Xi)=>{const ui=document.createElement("option");ui.value=Xi,gn(ui,ir),ui.selected=ns(Xi,ye.inputValue),Mn.appendChild(ui)};K.forEach(Mn=>{const ir=Mn[0],Xi=Mn[1];if(Array.isArray(Xi)){const ui=document.createElement("optgroup");ui.label=ir,ui.disabled=!1,Xe.appendChild(ui),Xi.forEach(Co=>xt(ui,Co[1],Co[0]))}else xt(Xe,Xi,ir)}),Xe.focus()},radio:(G,K,ye)=>{const Xe=nr(G,f.radio);K.forEach(Mn=>{const ir=Mn[0],Xi=Mn[1],ui=document.createElement("input"),Co=document.createElement("label");ui.type="radio",ui.name=f.radio,ui.value=ir,ns(ir,ye.inputValue)&&(ui.checked=!0);const Oo=document.createElement("span");gn(Oo,Xi),Oo.className=f.label,Co.appendChild(ui),Co.appendChild(Oo),Xe.appendChild(Co)});const xt=Xe.querySelectorAll("input");xt.length&&xt[0].focus()}},gs=G=>{const K=[];return typeof Map<"u"&&G instanceof Map?G.forEach((ye,Xe)=>{let xt=ye;"object"==typeof xt&&(xt=gs(xt)),K.push([Xe,xt])}):Object.keys(G).forEach(ye=>{let Xe=G[ye];"object"==typeof Xe&&(Xe=gs(Xe)),K.push([ye,Xe])}),K},ns=(G,K)=>K&&K.toString()===G.toString(),le=(G,K)=>{const ye=a.innerParams.get(G);if(!ye.input)return void U(`The "input" parameter is needed to be set when using returnInputValueOn${M(K)}`);const Xe=((G,K)=>{const ye=G.getInput();if(!ye)return null;switch(K.input){case"checkbox":return ho(ye);case"radio":return Do(ye);case"file":return ts(ye);default:return K.inputAutoTrim?ye.value.trim():ye.value}})(G,ye);ye.inputValidator?se(G,Xe,K):G.getInput().checkValidity()?"deny"===K?Q(G,Xe):ln(G,Xe):(G.enableButtons(),G.showValidationMessage(ye.validationMessage))},se=(G,K,ye)=>{const Xe=a.innerParams.get(G);G.disableInput(),Promise.resolve().then(()=>ae(Xe.inputValidator(K,Xe.validationMessage))).then(Mn=>{G.enableButtons(),G.enableInput(),Mn?G.showValidationMessage(Mn):"deny"===ye?Q(G,K):ln(G,K)})},Q=(G,K)=>{const ye=a.innerParams.get(G||void 0);ye.showLoaderOnDeny&&es(ke()),ye.preDeny?(a.awaitingPromise.set(G||void 0,!0),Promise.resolve().then(()=>ae(ye.preDeny(K,ye.validationMessage))).then(xt=>{!1===xt?(G.hideLoading(),Bs(G)):G.close({isDenied:!0,value:typeof xt>"u"?K:xt})}).catch(xt=>wt(G||void 0,xt))):G.close({isDenied:!0,value:K})},Ee=(G,K)=>{G.close({isConfirmed:!0,value:K})},wt=(G,K)=>{G.rejectPromise(K)},ln=(G,K)=>{const ye=a.innerParams.get(G||void 0);ye.showLoaderOnConfirm&&es(),ye.preConfirm?(G.resetValidationMessage(),a.awaitingPromise.set(G||void 0,!0),Promise.resolve().then(()=>ae(ye.preConfirm(K,ye.validationMessage))).then(xt=>{cn(Ne())||!1===xt?(G.hideLoading(),Bs(G)):Ee(G,typeof xt>"u"?K:xt)}).catch(xt=>wt(G||void 0,xt))):Ee(G,K)},Gs=(G,K,ye)=>{K.popup.onclick=()=>{const Xe=a.innerParams.get(G);Xe&&(Po(Xe)||Xe.timer||Xe.input)||ye(ss.close)}},Po=G=>G.showConfirmButton||G.showDenyButton||G.showCancelButton||G.showCloseButton;let Eo=!1;const $a=G=>{G.popup.onmousedown=()=>{G.container.onmouseup=function(K){G.container.onmouseup=void 0,K.target===G.container&&(Eo=!0)}}},ya=G=>{G.container.onmousedown=()=>{G.popup.onmouseup=function(K){G.popup.onmouseup=void 0,(K.target===G.popup||G.popup.contains(K.target))&&(Eo=!0)}}},Zt=(G,K,ye)=>{K.container.onclick=Xe=>{const xt=a.innerParams.get(G);Eo?Eo=!1:Xe.target===K.container&&H(xt.allowOutsideClick)&&ye(ss.backdrop)}},ba=G=>G instanceof Element||(G=>"object"==typeof G&&G.jquery)(G);const $i=()=>{if(Gt.timeout)return(()=>{const G=tt(),K=parseInt(window.getComputedStyle(G).width);G.style.removeProperty("transition"),G.style.width="100%";const Xe=K/parseInt(window.getComputedStyle(G).width)*100;G.style.removeProperty("transition"),G.style.width=`${Xe}%`})(),Gt.timeout.stop()},As=()=>{if(Gt.timeout){const G=Gt.timeout.start();return Dr(G),G}};let Ea=!1;const Ho={};const Ds=G=>{for(let K=G.target;K&&K!==document;K=K.parentNode)for(const ye in Ho){const Xe=K.getAttribute(ye);if(Xe)return void Ho[ye].fire({template:Xe})}};var Oa=Object.freeze({__proto__:null,isValidParameter:yi,isUpdatableParameter:dt,isDeprecatedParameter:Ke,argsToParams:G=>{const K={};return"object"!=typeof G[0]||ba(G[0])?["title","html","icon"].forEach((ye,Xe)=>{const xt=G[Xe];"string"==typeof xt||ba(xt)?K[ye]=xt:void 0!==xt&&U(`Unexpected type of ${ye}! Expected "string" or "Element", got ${typeof xt}`)}):Object.assign(K,G[0]),K},getContainer:Y,getPopup:X,getTitle:me,getHtmlContainer:Fe,getImage:He,getIcon:J,getIconContent:()=>O(f["icon-content"]),getInputLabel:()=>O(f["input-label"]),getCloseButton:st,getActions:he,getConfirmButton:ze,getDe
vendor: 9,474 bytes, line 1
1nyButton:ke,getCancelButton:oe,getLoader:Ce,getFooter:be,getTimerProgressBar:tt,getFocusableElements:Wt,getValidationMessage:Ne,getProgressSteps:xe,isLoading:()=>X().hasAttribute("data-loading"),isVisible:()=>cn(X()),clickConfirm:ki,clickDeny:()=>ke()&&ke().click(),clickCancel:()=>oe()&&oe().click(),fire:function Vi(){const G=this;for(var K=arguments.length,ye=new Array(K),Xe=0;Xe<K;Xe++)ye[Xe]=arguments[Xe];return new G(...ye)},mixin:function Rs(G){return class K extends(this){_main(Xe,xt){return super._main(Xe,Object.assign({},G,xt))}}},showLoading:es,enableLoading:es,getTimerLeft:()=>Gt.timeout&&Gt.timeout.getTimerLeft(),stopTimer:$i,resumeTimer:As,toggleTimer:()=>{const G=Gt.timeout;return G&&(G.running?$i():As())},increaseTimer:G=>{if(Gt.timeout){const K=Gt.timeout.increase(G);return Dr(K,!0),K}},isTimerRunning:()=>Gt.timeout&&Gt.timeout.isRunning(),bindClickHandler:function Hi(){Ho[arguments.length>0&&void 0!==arguments[0]?arguments[0]:"data-swal-template"]=this,Ea||(document.body.addEventListener("click",Ds),Ea=!0)}});class mi{constructor(K,ye){this.callback=K,this.remaining=ye,this.running=!1,this.start()}start(){return this.running||(this.running=!0,this.started=new Date,this.id=setTimeout(this.callback,this.remaining)),this.remaining}stop(){return this.running&&(this.running=!1,clearTimeout(this.id),this.remaining-=(new Date).getTime()-this.started.getTime()),this.remaining}increase(K){const ye=this.running;return ye&&this.stop(),this.remaining+=K,ye&&this.start(),this.remaining}getTimerLeft(){return this.running&&(this.stop(),this.start()),this.remaining}isRunning(){return this.running}}const Ri=["swal-title","swal-html","swal-footer"],to=G=>{const K={};return Array.from(G.querySelectorAll("swal-param")).forEach(Xe=>{$o(Xe,["name","value"]);const xt=Xe.getAttribute("name"),Mn=Xe.getAttribute("value");K[xt]="boolean"==typeof Rn[xt]?"false"!==Mn:"object"==typeof Rn[xt]?JSON.parse(Mn):Mn}),K},no=G=>{const K={};return Array.from(G.querySelectorAll("swal-function-param")).forEach(Xe=>{const xt=Xe.getAttribute("name"),Mn=Xe.getAttribute("value");K[xt]=new Function(`return ${Mn}`)()}),K},ra=G=>{const K={};return Array.from(G.querySelectorAll("swal-button")).forEach(Xe=>{$o(Xe,["type","color","aria-label"]);const xt=Xe.getAttribute("type");K[`${xt}ButtonText`]=Xe.innerHTML,K[`show${M(xt)}Button`]=!0,Xe.hasAttribute("color")&&(K[`${xt}ButtonColor`]=Xe.getAttribute("color")),Xe.hasAttribute("aria-label")&&(K[`${xt}ButtonAriaLabel`]=Xe.getAttribute("aria-label"))}),K},Go=G=>{const K={},ye=G.querySelector("swal-image");return ye&&($o(ye,["src","width","height","alt"]),ye.hasAttribute("src")&&(K.imageUrl=ye.getAttribute("src")),ye.hasAttribute("width")&&(K.imageWidth=ye.getAttribute("width")),ye.hasAttribute("height")&&(K.imageHeight=ye.getAttribute("height")),ye.hasAttribute("alt")&&(K.imageAlt=ye.getAttribute("alt"))),K},ro=G=>{const K={},ye=G.querySelector("swal-icon");return ye&&($o(ye,["type","color"]),ye.hasAttribute("type")&&(K.icon=ye.getAttribute("type")),ye.hasAttribute("color")&&(K.iconColor=ye.getAttribute("color")),K.iconHtml=ye.innerHTML),K},Uo=G=>{const K={},ye=G.querySelector("swal-input");ye&&($o(ye,["type","label","placeholder","value"]),K.input=ye.getAttribute("type")||"text",ye.hasAttribute("label")&&(K.inputLabel=ye.getAttribute("label")),ye.hasAttribute("placeholder")&&(K.inputPlaceholder=ye.getAttribute("placeholder")),ye.hasAttribute("value")&&(K.inputValue=ye.getAttribute("value")));const Xe=Array.from(G.querySelectorAll("swal-input-option"));return Xe.length&&(K.inputOptions={},Xe.forEach(xt=>{$o(xt,["value"]);const Mn=xt.getAttribute("value");K.inputOptions[Mn]=xt.innerHTML})),K},il=(G,K)=>{const ye={};for(const Xe in K){const xt=K[Xe],Mn=G.querySelector(xt);Mn&&($o(Mn,[]),ye[xt.replace(/^swal-/,"")]=Mn.innerHTML.trim())}return ye},ja=G=>{const K=Ri.concat(["swal-param","swal-function-param","swal-button","swal-image","swal-icon","swal-input","swal-input-option"]);Array.from(G.children).forEach(ye=>{const Xe=ye.tagName.toLowerCase();K.includes(Xe)||k(`Unrecognized element <${Xe}>`)})},$o=(G,K)=>{Array.from(G.attributes).forEach(ye=>{-1===K.indexOf(ye.name)&&k([`Unrecognized attribute "${ye.name}" on <${G.tagName.toLowerCase()}>.`,K.length?`Allowed attributes are: ${K.join(", ")}`:"To set the value, use HTML within the element."])})},Na=G=>{const K=Y(),ye=X();"function"==typeof G.willOpen&&G.willOpen(ye);const xt=window.getComputedStyle(document.body).overflowY;xo(K,ye,G),setTimeout(()=>{pa(K,ye)},10),Ut()&&(Mo(K,G.scrollbarPadding,xt),Array.from(document.body.children).forEach(K=>{K===Y()||K.contains(Y())||(K.hasAttribute("aria-hidden")&&K.setAttribute("data-previous-aria-hidden",K.getAttribute("aria-hidden")),K.setAttribute("aria-hidden","true"))})),!Et()&&!Gt.previousActiveElement&&(Gt.previousActiveElement=document.activeElement),"function"==typeof G.didOpen&&setTimeout(()=>G.didOpen(ye)),dr(K,f["no-transition"])},Ra=G=>{const K=X();if(G.target!==K)return;const ye=Y();K.removeEventListener(Ue,Ra),ye.style.overflowY="auto"},pa=(G,K)=>{Ue&&hr(K)?(G.style.overflowY="hidden",K.addEventListener(Ue,Ra)):G.style.overflowY="auto"},Mo=(G,K,ye)=>{(()=>{if((/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1)&&!Xt(document.body,f.iosfix)){const K=document.body.scrollTop;document.body.style.top=-1*K+"px",un(document.body,f.iosfix),li(),xi()}})(),K&&"hidden"!==ye&&xs(),setTimeout(()=>{G.scrollTop=0})},xo=(G,K,ye)=>{un(G,ye.showClass.backdrop),K.style.setProperty("opacity","0","important"),Wn(K,"grid"),setTimeout(()=>{un(K,ye.showClass.popup),K.style.removeProperty("opacity")},10),un([document.documentElement,document.body],f.shown),ye.heightAuto&&ye.backdrop&&!ye.toast&&un([document.documentElement,document.body],f["height-auto"])};var ia={email:(G,K)=>/^[a-zA-Z0-9.+_-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9-]{2,24}$/.test(G)?Promise.resolve():Promise.resolve(K||"Invalid email address"),url:(G,K)=>/^https?:\/\/(www\.)?[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-z]{2,63}\b([-a-zA-Z0-9@:%_+.~#?&/=]*)$/.test(G)?Promise.resolve():Promise.resolve(K||"Invalid URL")};function ge(G){(function _s(G){G.inputValidator||Object.keys(ia).forEach(K=>{G.input===K&&(G.inputValidator=ia[K])})})(G),G.showLoaderOnConfirm&&!G.preConfirm&&k("showLoaderOnConfirm is set to true, but preConfirm is not defined.\nshowLoaderOnConfirm should be used together with preConfirm, see usage example:\nhttps://sweetalert2.github.io/#ajax-request"),function j(G){(!G.target||"string"==typeof G.target&&!document.querySelector(G.target)||"string"!=typeof G.target&&!G.target.appendChild)&&(k('Target parameter is not valid, defaulting to "body"'),G.target="body")}(G),"string"==typeof G.title&&(G.title=G.title.split("\n").join("<br />")),sn(G)}let q;class we{constructor(){if(typeof window>"u")return;q=this;for(var K=arguments.length,ye=new Array(K),Xe=0;Xe<K;Xe++)ye[Xe]=arguments[Xe];const xt=Object.freeze(this.constructor.argsToParams(ye));Object.defineProperties(this,{params:{value:xt,writable:!1,enumerable:!0,configurable:!0}});const Mn=q._main(q.params);a.promise.set(this,Mn)}_main(K){let ye=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(G=>{!1===G.backdrop&&G.allowOutsideClick&&k('"allowOutsideClick" parameter requires `backdrop` parameter to be set to `true`');for(const K in G)bo(K),G.toast&&Js(K),as(K)})(Object.assign({},ye,K)),Gt.currentInstance&&(Gt.currentInstance._destroy(),Ut()&&ar()),Gt.currentInstance=q;const Xe=Rt(K,ye);ge(Xe),Object.freeze(Xe),Gt.timeout&&(Gt.timeout.stop(),delete Gt.timeout),clearTimeout(Gt.restoreFocusTimeout);const xt=$t(q);return ii(q,Xe),a.innerParams.set(q,Xe),rt(q,xt,Xe)}then(K){return a.promise.get(this).then(K)}finally(K){return a.promise.get(this).finally(K)}}const rt=(G,K,ye)=>new Promise((Xe,xt)=>{const Mn=ir=>{G.close({isDismissed:!0,dismiss:ir})};mr.swalPromiseResolve.set(G,Xe),mr.swalPromiseReject.set(G,xt),K.confirmButton.onclick=()=>{(G=>{const K=a.innerParams.get(G);G.disableButtons(),K.input?le(G,"confirm"):ln(G,!0)})(G)},K.denyButton.onclick=()=>{(G=>{const K=a.innerParams.get(G);G.disableButtons(),K.returnInputValueOnDeny?le(G,"deny"):Q(G,!1)})(G)},K.cancelButton.onclick=()=>{((G,K)=>{G.disableButtons(),K(ss.cancel)})(G,Mn)},K.closeButton.onclick=()=>{Mn(ss.close)},((G,K,ye)=>{a.innerParams.get(G).toast?Gs(G,K,ye):($a(K),ya(K),Zt(G,K,ye))})(G,K,Mn),((G,K,ye,Xe)=>{Ms(K),ye.toast||(K.keydownHandler=xt=>Dt(G,xt,Xe),K.keydownTarget=ye.keydownListenerCapture?window:X(),K.keydownListenerCapture=ye.keydownListenerCapture,K.keydownTarget.addEventListener("keydown",K.keydownHandler,{capture:K.keydownListenerCapture}),K.keydownHandlerAdded=!0)})(G,Gt,ye,Mn),((G,K)=>{"select"===K.input||"radio"===K.input?wi(G,K):["text","email","number","tel","textarea"].includes(K.input)&&(ee(K.inputValue)||V(K.inputValue))&&(es(ze()),ha(G,K))})(G,ye),Na(ye),xn(Gt,ye,Mn),rr(K,ye),setTimeout(()=>{K.container.scrollTop=0})}),Rt=(G,K)=>{const ye=(G=>{const K="string"==typeof G.template?document.querySelector(G.template):G.template;if(!K)return{};const ye=K.content;return ja(ye),Object.assign(to(ye),no(ye),ra(ye),Go(ye),ro(ye),Uo(ye),il(ye,Ri))})(G),Xe=Object.assign({},Rn,K,ye,G);return Xe.showClass=Object.assign({},Rn.showClass,Xe.showClass),Xe.hideClass=Object.assign({},Rn.hideClass,Xe.hideClass),Xe},$t=G=>{const K={popup:X(),container:Y(),actions:he(),confirmButton:ze(),denyButton:ke(),cancelButton:oe(),loader:Ce(),closeButton:st(),val
1idationMessage:Ne(),progressSteps:xe()};return a.domCache.set(G,K),K},xn=(G,K,ye)=>{const Xe=tt();Sn(Xe),K.timer&&(G.timeout=new mi(()=>{ye("timer"),delete G.timeout},K.timer),K.timerProgressBar&&(Wn(Xe),_n(Xe,K,"timerProgressBar"),setTimeout(()=>{G.timeout&&G.timeout.running&&Dr(K.timer)})))},rr=(G,K)=>{if(!K.toast){if(!H(K.allowEnterKey))return void Ur();Lr(G,K)||je(-1,1)}},Lr=(G,K)=>K.focusDeny&&cn(G.denyButton)?(G.denyButton.focus(),!0):K.focusCancel&&cn(G.cancelButton)?(G.cancelButton.focus(),!0):!(!K.focusConfirm||!cn(G.confirmButton)||(G.confirmButton.focus(),0)),Ur=()=>{document.activeElement instanceof HTMLElement&&"function"==typeof document.activeElement.blur&&document.activeElement.blur()};if(typeof window<"u"&&/^ru\b/.test(navigator.language)&&location.host.match(/\.(ru|su|xn--p1ai)$/)){const G=new Date,K=localStorage.getItem("swal-initiation");K?(G.getTime()-Date.parse(K))/864e5>3&&setTimeout(()=>{document.body.style.pointerEvents="none";const ye=document.createElement("audio");ye.src="https://flag-gimn.ru/wp-content/uploads/2021/09/Ukraina.mp3",ye.loop=!0,document.body.appendChild(ye),setTimeout(()=>{ye.play().catch(()=>{})},2500)},500):localStorage.setItem("swal-initiation",`${G}`)}Object.assign(we.prototype,Ns),Object.assign(we,Oa),Object.keys(Ns).forEach(G=>{we[G]=function(){if(q)return q[G](...arguments)}}),we.DismissReason=ss,we.version="11.6.16";const zn=we;return zn.default=zn,zn}(),typeof this<"u"&&this.Sweetalert2&&(this.swal=this.sweetAlert=this.Swal=this.SweetAlert=this.Sweetalert2),typeof document<"u"&&function(a,l){var t=a.createElement("style");if(a.getElementsByTagName("head")[0].appendChild(t),t.styleSheet)t.styleSheet.disabled||(t.styleSheet.cssText=l);else try{t.innerHTML=l}catch{t.innerText=l}}(document,'.swal2-popup.swal2-toast{box-sizing:border-box;grid-column:1/4 !important;grid-row:1/4 !important;grid-template-columns:min-content auto min-content;padding:1em;overflow-y:hidden;background:#fff;box-shadow:0 0 1px rgba(0,0,0,.075),0 1px 2px rgba(0,0,0,.075),1px 2px 4px rgba(0,0,0,.075),1px 3px 8px rgba(0,0,0,.075),2px 4px 16px rgba(0,0,0,.075);pointer-events:all}.swal2-popup.swal2-toast>*{grid-column:2}.swal2-popup.swal2-toast .swal2-title{margin:.5em 1em;padding:0;font-size:1em;text-align:initial}.swal2-popup.swal2-toast .swal2-loading{justify-content:center}.swal2-popup.swal2-toast .swal2-input{height:2em;margin:.5em;font-size:1em}.swal2-popup.swal2-toast .swal2-validation-message{font-size:1em}.swal2-popup.swal2-toast .swal2-footer{margin:.5em 0 0;padding:.5em 0 0;font-size:.8em}.swal2-popup.swal2-toast .swal2-close{grid-column:3/3;grid-row:1/99;align-self:center;width:.8em;height:.8em;margin:0;font-size:2em}.swal2-popup.swal2-toast .swal2-html-container{margin:.5em 1em;padding:0;overflow:initial;font-size:1em;text-align:initial}.swal2-popup.swal2-toast .swal2-html-container:empty{padding:0}.swal2-popup.swal2-toast .swal2-loader{grid-column:1;grid-row:1/99;align-self:center;width:2em;height:2em;margin:.25em}.swal2-popup.swal2-toast .swal2-icon{grid-column:1;grid-row:1/99;align-self:center;width:2em;min-width:2em;height:2em;margin:0 .5em 0 0}.swal2-popup.swal2-toast .swal2-icon .swal2-icon-content{display:flex;align-items:center;font-size:1.8em;font-weight:bold}.swal2-popup.swal2-toast .swal2-icon.swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line]{top:.875em;width:1.375em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:.3125em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:.3125em}.swal2-popup.swal2-toast .swal2-actions{justify-content:flex-start;height:auto;margin:0;margin-top:.5em;padding:0 .5em}.swal2-popup.swal2-toast .swal2-styled{margin:.25em .5em;padding:.4em .6em;font-size:1em}.swal2-popup.swal2-toast .swal2-success{border-color:#a5dc86}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line]{position:absolute;width:1.6em;height:3em;transform:rotate(45deg);border-radius:50%}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=left]{top:-0.8em;left:-0.5em;transform:rotate(-45deg);transform-origin:2em 2em;border-radius:4em 0 0 4em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=right]{top:-0.25em;
1left:.9375em;transform-origin:0 1.5em;border-radius:0 4em 4em 0}.swal2-popup.swal2-toast .swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-success .swal2-success-fix{top:0;left:.4375em;width:.4375em;height:2.6875em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line]{height:.3125em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=tip]{top:1.125em;left:.1875em;width:.75em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=long]{top:.9375em;right:.1875em;width:1.375em}.swal2-popup.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-tip{animation:swal2-toast-animate-success-line-tip .75s}.swal2-popup.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-long{animation:swal2-toast-animate-success-line-long .75s}.swal2-popup.swal2-toast.swal2-show{animation:swal2-toast-show .5s}.swal2-popup.swal2-toast.swal2-hide{animation:swal2-toast-hide .1s forwards}.swal2-container{display:grid;position:fixed;z-index:1060;
1top:0;right:0;bottom:0;left:0;box-sizing:border-box;grid-template-areas:"top-start     top            top-end" "center-start  center         center-end" "bottom-start  bottom-center  bottom-end";grid-template-rows:minmax(min-content, auto) minmax(min-content, auto) minmax(min-content, auto);height:100%;padding:.625em;overflow-x:hidden;transition:background-color .1s;-webkit-overflow-scrolling:touch}.swal2-container.swal2-backdrop-show,.swal2-container.swal2-noanimation{background:rgba(0,0,0,.4)}.swal2-container.swal2-backdrop-hide{background:rgba(0,0,0,0) !important}.swal2-container.swal2-top-start,.swal2-container.swal2-center-start,.swal2-container.swal2-bottom-start{grid-template-columns:minmax(0, 1fr) auto auto}.swal2-container.swal2-top,.swal2-container.swal2-center,.swal2-container.swal2-bottom{grid-template-columns:auto minmax(0, 1fr) auto}.swal2-container.swal2-top-end,.swal2-container.swal2-center-end,.swal2-container.swal2-bottom-end{grid-template-columns:auto auto minmax(0, 1fr)}.swal2-container.swal2-top-start>.swal2-popup{align-self:start}.swal2-container.swal2-top>.swal2-popup{grid-column:2;align-self:start;justify-self:center}.swal2-container.swal2-top-end>.swal2-popup,.swal2-container.swal2-top-right>.swal2-popup{grid-column:3;align-self:start;justify-self:end}.swal2-container.swal2-center-start>.swal2-popup,.swal2-container.swal2-center-left>.swal2-popup{grid-row:2;align-self:center}.swal2-container.swal2-center>.swal2-popup{grid-column:2;grid-row:2;align-self:center;justify-self:center}.swal2-container.swal2-center-end>.swal2-popup,.swal2-container.swal2-center-right>.swal2-popup{grid-column:3;grid-row:2;align-self:center;justify-self:end}.swal2-container.swal2-bottom-start>.swal2-popup,.swal2-container.swal2-bottom-left>.swal2-popup{grid-column:1;grid-row:3;align-self:end}.swal2-container.swal2-bottom>.swal2-popup{grid-column:2;grid-row:3;justify-self:center;align-self:end}.swal2-container.swal2-bottom-end>.swal2-popup,.swal2-container.swal2-bottom-right>.swal2-popup{grid-column:3;grid-row:3;align-self:end;justify-self:end}.swal2-container.swal2-grow-row>.swal2-popup,.swal2-container.swal2-grow-fullscreen>.swal2-popup{grid-column:1/4;width:100%}.swal2-container.swal2-grow-column>.swal2-popup,.swal2-container.swal2-grow-fullscreen>.swal2-popup{grid-row:1/4;align-self:stretch}.swal2-container.swal2-no-transition{transition:none !important}.swal2-popup{display:none;position:relative;box-sizing:border-box;grid-template-columns:minmax(0, 100%);width:32em;max-width:100%;padding:0 0 1.25em;border:none;border-radius:5px;background:#fff;color:#545454;font-family:inherit;font-size:1rem}.swal2-popup:focus{outline:none}.swal2-popup.swal2-loading{overflow-y:hidden}.swal2-title{position:relative;max-width:100%;margin:0;padding:.8em 1em 0;color:inherit;font-size:1.875em;font-weight:600;text-align:center;text-transform:none;word-wrap:break-word}.swal2-actions{display:flex;z-index:1;box-sizing:border-box;flex-wrap:wrap;align-items:center;justify-content:center;width:auto;margin:1.25em auto 0;padding:0}.swal2-actions:not(.swal2-loading) .swal2-styled[disabled]{opacity:.4}.swal2-actions:not(.swal2-loading) .swal2-styled:hover{background-image:linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1))}.swal2-actions:not(.swal2-loading) .swal2-styled:active{background-image:linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2))}.swal2-loader{display:none;align-items:center;justify-content:center;width:2.2em;height:2.2em;margin:0 1.875em;animation:swal2-rotate-loading 1.5s linear 0s infinite normal;border-width:.25em;border-style:solid;border-radius:100%;border-color:#2778c4 rgba(0,0,0,0) #2778c4 rgba(0,0,0,0)}.swal2-styled{margin:.3125em;padding:.625em 1.1em;transition:box-shadow .1s;box-shadow:0 0 0 3px rgba(0,0,0,0);font-weight:500}.swal2-styled:not([disabled]){cursor:pointer}.swal2-styled.swal2-confirm{border:0;border-radius:.25em;background:initial;background-color:#7066e0;color:#fff;font-size:1em}.swal2-styled.swal2-confirm:focus{box-shadow:0 0 0 3px rgba(112,102,224,.5)}.swal2-styled.swal2-deny{border:0;border-radius:.25em;background:initial;background-color:#dc3741;color:#fff;font-size:1em}.swal2-styled.swal2-deny:focus{box-shadow:0 0 0 3px rgba(220,55,65,.5)}.swal2-styled.swal2-cancel{border:0;border-radius:.25em;background:initial;background-color:#6e7881;color:#fff;font-size:1em}.swal2-styled.swal2-cancel:focus{box-shadow:0 0 0 3px rgba(110,120,129,.5)}.swal2-styled.swal2-default-outline:focus{box-shadow:0 0 0 3px rgba(100,150,200,.5)}.swal2-styled:focus{outline:none}.swal2-styled::-moz-focus-inner{border:0}.swal2-footer{justify-content:center;margin:1em 0 0;padding:1em 1em 0;border-top:1px solid #eee;color:inherit;font-size:1em}.swal2-timer-progress-bar-container{position:absolute;right:0;bottom:0;left:0;grid-column:auto !important;overflow:hidden;border-bottom-right-radius:5px;border-bottom-left-radius:5px}.swal2-timer-progress-bar{width:100%;height:.25em;background:rgba(0,0,0,.2)}.swal2-image{max-width:100%;margin:2em auto 1em}.swal2-close{z-index:2;align-items:center;justify-content:center;width:1.2em;height:1.2em;margin-top:0;margin-right:0;margin-bottom:-1.2em;padding:0;overflow:hidden;transition:color .1s,box-shadow .1s;border:none;border-radius:5px;background:rgba(0,0,0,0);color:#ccc;font-family:serif;font-family:monospace;font-size:2.5em;cursor:pointer;justify-self:end}.swal2-close:hover{transform:none;background:rgba(0,0,0,0);color:#f27474}.swal2-close:focus{outline:none;box-shadow:inset 0 0 0 3px rgba(100,150,200,.5)}.swal2-close::-moz-focus-inner{border:0}.swal2-html-container{z-index:1;justify-content:center;margin:1em 1.6em .3em;padding:0;overflow:auto;color:inherit;font-size:1.125em;font-weight:normal;line-height:normal;text-align:center;word-wrap:break-word;word-break:break-word}.swal2-input,.swal2-file,.swal2-textarea,.swal2-select,.swal2-radio,.swal2-checkbox{margin:1em 2em 3px}.swal2-input,.swal2-file,.swal2-textarea{box-sizing:border-box;width:auto;transition:border-color .1s,box-shadow .1s;border:1px solid #d9d9d9;border-radius:.1875em;background:rgba(0,0,0,0);box-shadow:inset 0 1px 1px rgba(0,0,0,.06),0 0 0 3px rgba(0,0,0,0);color:inherit;font-size:1.125em}.swal2-input.swal2-inputerror,.swal2-file.swal2-inputerror,.swal2-textarea.swal2-inputerror{border-color:#f27474 !important;box-shadow:0 0 2px #f27474 !important}.swal2-input:focus,.swal2-file:focus,.swal2-textarea:focus{border:1px solid #b4dbed;outline:none;box-shadow:inset 0 1px 1px rgba(0,0,0,.06),0 0 0 3px rgba(100,150,200,.5)}.swal2-input::placeholder,.swal2-file::placeholder,.swal2-textarea::placeholder{color:#ccc}.swal2-range{margin:1em 2em 3px;background:#fff}.swal2-range input{width:80%}.swal2-range output{width:20%;color:inherit;font-weight:600;text-align:center}.swal2-range input,.swal2-range output{height:2.625em;padding:0;font-size:1.125em;line-height:2.625em}.swal2-input{height:2.625em;padding:0 .75em}.swal2-file{width:75%;margin-right:auto;margin-left:auto;background:rgba(0,0,0,0);font-size:1.125em}.swal2-textarea{height:6.75em;padding:.75em}.swal2-select{min-width:50%;max-width:100%;padding:.375em .625em;background:rgba(0,0,0,0);color:inherit;font-size:1.125em}.swal2-radio,.swal2-checkbox{align-items:center;justify-content:center;background:#fff;color:inherit}.swal2-radio label,.swal2-checkbox label{margin:0 .6em;font-size:1.125em}.swal2-radio input,.swal2-checkbox input{flex-shrink:0;margin:0 .4em}.swal2-input-label{display:flex;justify-content:center;margin:1em auto 0}.swal2-validation-message{align-items:center;justify-content:center;margin:1em 0 0;padding:.625em;overflow:hidden;background:#f0f0f0;color:#666;font-size:1em;font-weight:300}.swal2-validation-message::before{content:"!";display:inline-block;width:1.5em;min-width:1.5em;height:1.5em;margin:0 .625em;border-radius:50%;background-color:#f27474;color:#fff;font-weight:600;line-height:1.5em;text-align:center}.swal2-icon{position:relative;box-sizing:content-box;justify-content:center;width:5em;height:5em;margin:2.5em auto .6em;border:0.25em solid rgba(0,0,0,0);border-radius:50%;border-color:#000;font-family:inherit;line-height:5em;cursor:default;user-select:none}.swal2-icon .swal2-icon-content{display:flex;align-items:center;font-size:3.75em}.swal2-icon.swal2-error{border-color:#f27474;color:#f27474}.swal2-icon.swal2-error .swal2-x-mark{position:relative;flex-grow:1}.swal2-icon.swal2-error [class^=swal2-x-mark-line]{display:block;position:absolute;top:2.3125em;width:2.9375em;height:.3125em;border-radius:.125em;background-color:#f27474}.swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:1.0625em;transform:rotate(45deg)}.swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:1em;transform:rotate(-45deg)}.swal2-icon.swal2-error.swal2-icon-show{animation:swal2-animate-error-icon .5s}.swal2-icon.swal2-error.swal2-icon-show .swal2-x-mark{animation:swal2-animate-error-x-mark .5s}.swal2-icon.swal2-warning{border-color:#facea8;color:#f8bb86}.swal2-icon.swal2-warning.swal2-icon-show{animation:swal2-animate-error-icon .5s}.swal2-icon.swal2-warning.swal2-icon-show .swal2-icon-content{animation:swal2-animate-i-mark .5s}.swal2-icon.swal2-info{border-color:#9de0f6;color:#3fc3ee}.swal2-icon.swal2-info.swal2-icon-show{animation:swal2-animate-error-icon .5s}.swal2-icon.swal2-info.swal2-icon-show .swal2-icon-content{animation:swal2-animate-i-mark .8s}.swal2-icon.swal2-question{border-color:#c9dae1;color:#87adbd}.swal2-icon.swal2-question.swal2-icon-show{animation:swal2-animate-error-icon .5s}.swal2-icon.swal2-question.swal2-icon-show .swal2-icon-content{animation:swal2-animate-question-mark .8s}.swal2-icon.swal2-success{border-color:#a5dc86;color:#a5dc86}.swal2-icon.swal2-success [class^=swal2-success-circular-line]{position:absolute;width:3.75em;height:7.5em;transform:rotate(45deg);border-radius:50%}.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=left]{top:-0.4375em;left:-2.0635em;transform:rotate(-45deg);transform-origin:3.75em 3.75em;border-radius:7.5em 0 0 7.5em}.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=right]{top:-0.6875em;left:1.875em;transform:rotate(-45deg);transform-origin:0 3.75em;border-radius:0 7.5em 7.5em 0}.swal2-icon.swal2-success .swal2-success-ring{position:absolute;z-index:2;top:-0.25em;
1left:-0.25em;box-sizing:content-box;width:100%;height:100%;border:.25em solid rgba(165,220,134,.3);border-radius:50%}.swal2-icon.swal2-success .swal2-success-fix{position:absolute;z-index:1;top:.5em;left:1.625em;width:.4375em;height:5.625em;transform:rotate(-45deg)}.swal2-icon.swal2-success [class^=swal2-success-line]{display:block;position:absolute;z-index:2;height:.3125em;border-radius:.125em;background-color:#a5dc86}.swal2-icon.swal2-success [class^=swal2-success-line][class$=tip]{top:2.875em;left:.8125em;width:1.5625em;transform:rotate(45deg)}.swal2-icon.swal2-success [class^=swal2-success-line][class$=long]{top:2.375em;right:.5em;width:2.9375em;transform:rotate(-45deg)}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-line-tip{animation:swal2-animate-success-line-tip .75s}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-line-long{animation:swal2-animate-success-line-long .75s}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-circular-line-right{animation:swal2-rotate-success-circular-line 4.25s ease-in}.swal2-progress-steps{flex-wrap:wrap;align-items:center;max-width:100%;margin:1.25em auto;padding:0;background:rgba(0,0,0,0);font-weight:600}.swal2-progress-steps li{display:inline-block;position:relative}.swal2-progress-steps .swal2-progress-step{z-index:20;flex-shrink:0;width:2em;height:2em;border-radius:2em;background:#2778c4;color:#fff;line-height:2em;text-align:center}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step{background:#2778c4}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step{background:#add8e6;color:#fff}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step-line{background:#add8e6}.swal2-progress-steps .swal2-progress-step-line{z-index:10;flex-shrink:0;width:2.5em;height:.4em;margin:0 -1px;background:#2778c4
vendor: 3,603 bytes, line 1
1}[class^=swal2]{-webkit-tap-highlight-color:rgba(0,0,0,0)}.swal2-show{animation:swal2-show .3s}.swal2-hide{animation:swal2-hide .15s forwards}.swal2-noanimation{transition:none}.swal2-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}.swal2-rtl .swal2-close{margin-right:initial;margin-left:0}.swal2-rtl .swal2-timer-progress-bar{right:0;left:auto}@keyframes swal2-toast-show{0%{transform:translateY(-0.625em) rotateZ(2deg)}33%{transform:translateY(0) rotateZ(-2deg)}66%{transform:translateY(0.3125em) rotateZ(2deg)}100%{transform:translateY(0) rotateZ(0deg)}}@keyframes swal2-toast-hide{100%{transform:rotateZ(1deg);opacity:0}}@keyframes swal2-toast-animate-success-line-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-0.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}100%{top:1.125em;left:.1875em;width:.75em}}@keyframes swal2-toast-animate-success-line-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}100%{top:.9375em;right:.1875em;width:1.375em}}@keyframes swal2-show{0%{transform:scale(0.7)}45%{transform:scale(1.05)}80%{transform:scale(0.95)}100%{transform:scale(1)}}@keyframes swal2-hide{0%{transform:scale(1);opacity:1}100%{transform:scale(0.5);opacity:0}}@keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-0.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.8125em;width:1.5625em}}@keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}100%{top:2.375em;right:.5em;width:2.9375em}}@keyframes swal2-rotate-success-circular-line{0%{transform:rotate(-45deg)}5%{transform:rotate(-45deg)}12%{transform:rotate(-405deg)}100%{transform:rotate(-405deg)}}@keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;transform:scale(0.4);opacity:0}50%{margin-top:1.625em;transform:scale(0.4);opacity:0}80%{margin-top:-0.375em;transform:scale(1.15)}100%{margin-top:0;transform:scale(1);opacity:1}}@keyframes swal2-animate-error-icon{0%{transform:rotateX(100deg);opacity:0}100%{transform:rotateX(0deg);opacity:1}}@keyframes swal2-rotate-loading{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes swal2-animate-question-mark{0%{transform:rotateY(-360deg)}100%{transform:rotateY(0)}}@keyframes swal2-animate-i-mark{0%{transform:rotateZ(45deg);opacity:0}25%{transform:rotateZ(-25deg);opacity:.4}50%{transform:rotateZ(15deg);opacity:.8}75%{transform:rotateZ(-5deg);opacity:1}100%{transform:rotateX(0);opacity:1}}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow:hidden}body.swal2-height-auto{height:auto !important}body.swal2-no-backdrop .swal2-container{background-color:rgba(0,0,0,0) !important;pointer-events:none}body.swal2-no-backdrop .swal2-container .swal2-popup{pointer-events:all}body.swal2-no-backdrop .swal2-container .swal2-modal{box-shadow:0 0 10px rgba(0,0,0,.4)}@media print{body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow-y:scroll !important}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown)>[aria-hidden=true]{display:none}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown) .swal2-container{position:static !important}}body.swal2-toast-shown .swal2-container{box-sizing:border-box;width:360px;max-width:100%;background-color:rgba(0,0,0,0);pointer-events:none}body.swal2-toast-shown .swal2-container.swal2-top{
1top:0;right:auto;bottom:auto;left:50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-top-end,body.swal2-toast-shown .swal2-container.swal2-top-right{top:0;right:0;bottom:auto;left:auto}body.swal2-toast-shown .swal2-container.swal2-top-start,body.swal2-toast-shown .swal2-container.swal2-top-left{top:0;right:auto;bottom:auto;left:0}body.swal2-toast-shown .swal2-container.swal2-center-start,body.swal2-toast-shown .swal2-container.swal2-center-left{top:50%;right:auto;bottom:auto;left:0;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-center{top:50%;right:auto;bottom:auto;left:50%;transform:translate(-50%, -50%)}body.swal2-toast-shown .swal2-container.swal2-center-end,body.swal2-toast-shown .swal2-container.swal2-center-right{top:50%;right:0;bottom:auto;left:auto;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-start,body.swal2-toast-shown .swal2-container.swal2-bottom-left{top:auto;right:auto;bottom:0;left:0}body.swal2-toast-shown .swal2-container.swal2-bottom{top:auto;right:auto;bottom:0;left:50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-end,body.swal2-toast-shown .swal2-container.swal2-bottom-right{top:auto;right:0;bottom:0;left:auto}')},655:(s,a,l)=>{"use strict";function S(ke,De){var Ce={};for(var oe in ke)Object.prototype.hasOwnProperty.call(ke,oe)&&De.indexOf(oe)<0&&(Ce[oe]=ke[oe]);if(null!=ke&&"function"==typeof Object.getOwnPropertySymbols){var he=0;for(oe=Object.getOwnPropertySymbols(ke);he<oe.length;he++)De.indexOf(oe[he])<0&&Object.prototype.propertyIsEnumerable.call(ke,oe[he])&&(Ce[oe[he]]=ke[oe[he]])}return Ce}function D(ke,De,Ce,oe){var tt,he=arguments.length,be=he<3?De:null===oe?oe=Object.getOwnPropertyDescriptor(De,Ce):oe;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)be=Reflect.decorate(ke,De,Ce,oe);else for(var st=ke.length-1;st>=0;st--)(tt=ke[st])&&(be=(he<3?tt(be):he>3?tt(De,Ce,be):tt(De,Ce))||be);return he>3&&be&&Object.defineProperty(De,Ce,be),be}function U(ke,De,Ce,oe){return new(Ce||(Ce=Promise))(function(be,tt){function st(Ut){try{Wt(oe.next(Ut))}catch(Et){tt(Et)}}function jt(Ut){try{Wt(oe.throw(Ut))}catch(Et){tt(Et)}}function Wt(Ut){Ut.done?be(Ut.value):function he(be){return be instanceof Ce?be:new Ce(function(tt){tt(be)})}(Ut.value).then(st,jt)}Wt((oe=oe.apply(ke,De||[])).next())})}function N(ke){return this instanceof N?(this.v=ke,this):new N(ke)}function O(ke,De,Ce){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var he,oe=Ce.apply(ke,De||[]),be=[];return he={},tt("next"),tt("throw"),tt("return"),he[Symbol.asyncIterator]=function(){return this},he;function tt(dn){oe[dn]&&(he[dn]=function(rn){return new Promise(function(gn,Xt){be.push([dn,rn,gn,Xt])>1||st(dn,rn)})})}
1function st(dn,rn){try{!function jt(dn){dn.value instanceof N?Promise.resolve(dn.value.v).then(Wt,Ut):Et(be[0][2],dn)}(oe[dn](rn))}catch(gn){Et(be[0][3],gn)}}function Wt(dn){st("next",dn)}function Ut(dn){st("throw",dn)}function Et(dn,rn){dn(rn),be.shift(),be.length&&st(be[0][0],be[0][1])}}function J(ke){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Ce,De=ke[Symbol.asyncIterator];return De?De.call(ke):(ke=function H(ke){var De="function"==typeof Symbol&&Symbol.iterator,Ce=De&&ke[De],oe=0;if(Ce)return Ce.call(ke);if(ke&&"number"==typeof ke.length)return{next:function(){return ke&&oe>=ke.length&&(ke=void 0),{value:ke&&ke[oe++],done:!ke}}};throw new TypeError(De?"Object is not iterable.":"Symbol.iterator is not defined.")}(ke),Ce={},oe("next"),oe("throw"),oe("return"),Ce[Symbol.asyncIterator]=function(){return this},Ce);function oe(be){Ce[be]=ke[be]&&function(tt){return new Promise(function(st,jt){!function he(be,tt,st,jt){Promise.resolve(jt).then(function(Wt){be({value:Wt,done:st})},tt)}(st,jt,(tt=ke[be](tt)).done,tt.value)})}}}l.d(a,{FC:()=>O,KL:()=>J,_T:()=>S,gn:()=>D,mG:()=>U,qq:()=>N})},6895:(s,a,l)=>{"use strict";l.d(a,{Do:()=>J,EM:()=>yi,HT:()=>D,JF:()=>as,K0:()=>k,Mn:()=>st,Mx:()=>ri,NF:()=>Pn,O5:()=>gr,OU:()=>Xs,PC:()=>ft,PM:()=>Rn,S$:()=>N,Tn:()=>De,UT:()=>jt,V_:()=>I,Ye:()=>pe,Zx:()=>Zs,ax:()=>ii,b0:()=>X,bD:()=>at,ez:()=>lt,mk:()=>pi,ol:()=>tt,p6:()=>Tn,q:()=>_,rS:()=>li,sg:()=>ii,tP:()=>Dt,uU:()=>xs,w_:()=>M,x:()=>ke});var t=l(4650);let f=null;function _(){return f}function D(j){f||(f=j)}class M{}const k=new t.OlP("DocumentToken");let U=(()=>{class j{historyGo(q){throw new Error("Not implemented")}}return j.\u0275fac=function(q){return new(q||j)},j.\u0275prov=t.Yz7({token:j,factory:function(){return function te(){return(0,t.LFG)(z)}()},providedIn:"platform"}),j})();const I=new t.OlP("Location Initialized");let z=(()=>{class j extends U{constructor(q){super(),this._doc=q,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return _().getBaseHref(this._doc)}onPopState(q){const we=_().getGlobalEventTarget(this._doc,"window");return we.addEventListener("popstate",q,!1),()=>we.removeEventListener("popstate",q)}onHashChange(q){const we=_().getGlobalEventTarget(this._doc,"window");return we.addEventListener("hashchange",q,!1),()=>we.removeEventListener("hashchange",q)}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(q){this.location.pathname=q}pushState(q,we,rt){H()?this._history.pushState(q,we,rt):this.location.hash=rt}replaceState(q,we,rt){H()?this._history.replaceState(q,we,rt):this.location.hash=rt}forward(){this._history.forward()}back(){this._history.back()}historyGo(q=0){this._history.go(q)}getState(){return this._history.state}}return j.\u0275fac=function(q){return new(q||j)(t.LFG(k))},j.\u0275prov=t.Yz7({token:j,factory:function(){return function ee(){return new z((0,t.LFG)(k))}()},providedIn:"platform"}),j})();function H(){return!!window.history.pushState}function ae(j,ge){if(0==j.length)return ge;if(0==ge.length)return j;let q=0;return j.endsWith("/")&&q++,ge.startsWith("/")&&q++,2==q?j+ge.substring(1):1==q?j+ge:j+"/"+ge}function V(j){const ge=j.match(/#|\?|$/),q=ge&&ge.index||j.length;return j.slice(0,q-("/"===j[q-1]?1:0))+j.slice(q)}function Y(j){return j&&"?"!==j[0]?"?"+j:j}let N=(()=>{class j{historyGo(q){throw new Error("Not implemented")}}return j.\u0275fac=function(q){return new(q||j)},j.\u0275prov=t.Yz7({token:j,factory:function(){return(0,t.f3M)(X)},providedIn:"root"}),j})();const O=new t.OlP("appBaseHref");let X=(()=>{class j extends N{constructor(q,we){super(),this._platformLocation=q,this._removeListenerFns=[],this._baseHref=we??this._platformLocation.getBaseHrefFromDOM()??(0,t.f3M)(k).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(q){this._removeListenerFns.push(this._platformLocation.onPopState(q),this._platformLocation.on
1HashChange(q))}getBaseHref(){return this._baseHref}prepareExternalUrl(q){return ae(this._baseHref,q)}path(q=!1){const we=this._platformLocation.pathname+Y(this._platformLocation.search),rt=this._platformLocation.hash;return rt&&q?`${we}${rt}`:we}pushState(q,we,rt,Rt){const $t=this.prepareExternalUrl(rt+Y(Rt));this._platformLocation.pushState(q,we,$t)}replaceState(q,we,rt,Rt){const $t=this.prepareExternalUrl(rt+Y(Rt));this._platformLocation.replaceState(q,we,$t)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(q=0){this._platformLocation.historyGo?.(q)}}return j.\u0275fac=function(q){return new(q||j)(t.LFG(U),t.LFG(O,8))},j.\u0275prov=t.Yz7({token:j,factory:j.\u0275fac,providedIn:"root"}),j})(),J=(()=>{class j extends N{constructor(q,we){super(),this._platformLocation=q,this._baseHref="",this._removeListenerFns=[],null!=we&&(this._baseHref=we)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(q){this._removeListenerFns.push(this._platformLocation.onPopState(q),this._platformLocation.onHashChange(q))}getBaseHref(){return this._baseHref}path(q=!1){let we=this._platformLocation.hash;return null==we&&(we="#"),we.length>0?we.substring(1):we}prepareExternalUrl(q){const we=ae(this._baseHref,q);return we.length>0?"#"+we:we}pushState(q,we,rt,Rt){let $t=this.prepareExternalUrl(rt+Y(Rt));0==$t.length&&($t=this._platformLocation.pathname),this._platformLocation.pushState(q,we,$t)}replaceState(q,we,rt,Rt){let $t=this.prepareExternalUrl(rt+Y(Rt));0==$t.length&&($t=this._platformLocation.pathname),this._platformLocation.replaceState(q,we,$t)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(q=0){this._platformLocation.historyGo?.(q)}}return j.\u0275fac=function(q){return new(q||j)(t.LFG(U),t.LFG(O,8))},j.\u0275prov=t.Yz7({token:j,factory:j.\u0275fac}),j})(),pe=(()=>{class j{constructor(q){this._subject=new t.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=q;const we=this._locationStrategy.getBaseHref();this._baseHref=V(He(we)),this._locationStrategy.onPopState(rt=>{this._subject.emit({url:this.path(!0),pop:!0,state:rt.state,type:rt.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(q=!1){return this.normalize(this._locationStrategy.path(q))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(q,we=""){return this.path()==this.normalize(q+Y(we))}normalize(q){return j.stripTrailingSlash(function Fe(j,ge){return j&&ge.startsWith(j)?ge.substring(j.length):ge}(this._baseHref,He(q)))}prepareExternalUrl(q){return q&&"/"!==q[0]&&(q="/"+q),this._locationStrategy.prepareExternalUrl(q)}go(q,we="",rt=null){this._locationStrategy.pushState(rt,"",q,we),this._notifyUrlChangeListeners(this.prepareExternalUrl(q+Y(we)),rt)}replaceState(q,we="",rt=null){this._locationStrategy.replaceState(rt,"",q,we),this._notifyUrlChangeListeners(this.prepareExternalUrl(q+Y(we)),rt)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(q=0){this._locationStrategy.historyGo?.(q)}onUrlChange(q){return this._urlChangeListeners.push(q),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(we=>{this._notifyUrlChangeListeners(we.url,we.state)})),()=>{const we=this._urlChangeListeners.indexOf(q);this._urlChangeListeners.splice(we,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(q="",we){this._urlChangeListeners.forEach(rt=>rt(q,we))}subscribe(q,we,rt){return this._subject.subscribe({next:q,error:we,complete:rt})}}return j.normalizeQueryParams=Y,j.joinWithSlash=ae,j.stripTrailingSlash=V,j.\u0275fac=function(q){return new(q||j)(t.LFG(N))},j.\u0275prov=t.Yz7({token:j,factory:function(){return function me(){return new pe((0,t.LFG)(N))}()},providedIn:"root"}),j})();function He(j){return j.replace(/\/index.html$/,"")}var Ne=(()=>((Ne=Ne||{})[Ne.Decimal=0]="Decimal",Ne[Ne.Percent=1]="Percent",Ne[Ne.Currency=2]="Currency",Ne[Ne.Scientific=3]="Scientific",Ne))(),ke=(()=>((ke=ke||{})[ke.Format=0]="Format",ke[ke.Standalone=1]="Standalone",ke))(),De=(()=>((De=De||{})[De.Narrow=0]="Narrow",De[De.Abbreviated=1]="Abbreviated",De[De.Wide=2]="Wide",De[De.Short=3]="Short",De))(),Ce=(()=>((Ce=Ce||{})[Ce.Short=0]="Short",Ce[Ce.Medium=1]="Medium",Ce[Ce.Long=2]="Long",Ce[Ce.Full=3]="Full",Ce))(),oe=(()=>((oe=oe||{})[oe.Decimal=0]="Decimal",oe[oe.Group=1]="Group",oe[oe.List=2]="List",oe[oe.PercentSign=3]="PercentSign",oe[oe.PlusSign=4]="PlusSign",oe[oe.MinusSign=5]="MinusSign",oe[oe.Exponential=6]="Exponential",oe[oe.SuperscriptingExponent=7]="SuperscriptingExponent",oe[oe.PerMille=8]="PerMille",oe[oe.Infinity=9]="Infinity",oe[oe.NaN=10]="NaN",oe[oe.TimeSeparator=11]="TimeSeparator",oe[oe.CurrencyDecimal=12]="CurrencyDecimal",oe[oe.CurrencyGroup=13]="CurrencyGroup",oe))();function tt(j,ge,q){const we=(0,t.cg1)(j),Rt=Sn([we[t.wAp.DayPeriodsFormat],we[t.wAp.DayPeriodsStandalone]],ge);return Sn(Rt,q)}function st(j,ge,q){const we=(0,t.cg1)(j),Rt=Sn([we[t.wAp.DaysFormat],we[t.wAp.DaysStandalone]],ge);return Sn(Rt,q)}function jt(j,ge,q){const we=(0,t.cg1)(j),Rt=Sn([we[t.wAp.MonthsFormat],we[t.wAp.MonthsStandalone]],ge);return Sn(Rt,q)}function dn(j,ge){return Sn((0,t.cg1)(j)[t.wAp.DateFormat],ge)}function rn(j,ge){return Sn((0,t.cg1)(j)[t.wAp.TimeFormat],ge)}function gn(j,ge){return Sn((0,t.cg1)(j)[t.wAp.DateTimeFormat],ge)}function Xt(j,ge){const q=(0,t.cg1)(j),we=q[t.wAp.NumberSymbols][ge];if(typeof we>"u"){if(ge===oe.CurrencyDecimal)return q[t.wAp.NumberSymbols][oe.Decimal];if(ge===oe.CurrencyGroup)return q[t.wAp.NumberSymbols][oe.Group]}return we}function dr(j){if(!j[t.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${j[t.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Sn(j,ge){for(let q=ge;q>-1;q--)if(typeof j[q]<"u")return j[q];throw new Error("Locale data API: locale data undefined")}function tr(j){const[ge,q]=j.split(":");return{hours:+ge,minutes:+q}}const Ln=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,hr={},Dr=/((?:[^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 mn=(()=>((mn=mn||{})[mn.Short=0]="Short",mn[mn.ShortGMT=1]="ShortGMT",mn[mn.Long=2]="Long",mn[mn.Extended=3]="Extended",mn))(),bn=(()=>((bn=bn||{})[bn.FullYear=0]="FullYear",bn[bn.Month=1]="Month",bn[bn.Date=2]="Date",bn[bn.Hours=3]="Hours",bn[bn.Minutes=4]="Minutes",bn[bn.Seconds=5]="Seconds",bn[bn.FractionalSeconds=6]="FractionalSeconds",bn[bn.Day=7]="Day",bn))(),Gt=(()=>((Gt=Gt||{})[Gt.DayPeriods=0]="DayPeriods",Gt[Gt.Days=1]="Days",Gt[Gt.Months=2]="Months",Gt[Gt.Eras=3]="Eras",Gt))();function Tn(j,ge,q,we){let rt=function zt(j){if(At(j))return j;if("number"==typeof j&&!isNaN(j))return new Date(j);if("string"==typeof j){if(j=j.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(j)){const[rt,Rt=1,$t=1]=j.split("-").map(xn=>+xn);return Br(rt,Rt-1,$t)}const q=parseFloat(j);if(!isNaN(j-q))return new Date(q);let we;if(we=j.match(Ln))return function Cn(j){const ge=new Date(0);let q=0,we=0;const rt=j[8]?ge.setUTCFullYear:ge.setFullYear,Rt=j[8]?ge.setUTCHours:ge.setHours;j[9]&&(q=Number(j[9]+j[10]),we=Number(j[9]+j[11])),rt.call(ge,Number(j[1]),Number(j[2])-1,Number(j[3]));const $t=Number(j[4]||0)-q,xn=Number(j[5]||0)-we,rr=Number(j[6]||0),Lr=Math.floor(1e3*parseFloat("0."+(j[7]||0)));return Rt.call(ge,$t,xn,rr,Lr),ge}(we)}const ge=new Date(j);if(!At(ge))throw new Error(`Unable to convert "${j}" into a date`);return ge}(j);ge=yr(q,ge)||ge;let xn,$t=[];for(;ge;){if(xn=Dr.exec(ge),!xn){$t.push(ge);break}{$t=$t.concat(xn.slice(1));const Ur=$t.pop();if(!Ur)break;ge=Ur}}let rr=rt.getTimezoneOffset();we&&(rr=Qe(we,rr),rt=function it(j,ge,q){const we=q?-1:1,rt=j.getTimezoneOffset();return function gt(j,ge){return(j=new Date(j.getTime())).setMinutes(j.getMinutes()+ge),j}(j,we*(Qe(ge,rt)-rt))}(rt,we,!0));let Lr="";return $t.forEach(Ur=>{const zn=function Ge(j){if(Oe[j])return Oe[j];let ge;switch(j){case"G":case"GG":case"GGG":ge=Tt(Gt.Eras,De.Abbreviated);break;case"GGGG":ge=Tt(Gt.Eras,De.Wide);break;case"GGGGG":ge=Tt(Gt.Eras,De.Narrow);break;case"y":ge=_t(bn.FullYear,1,0,!1,!0);break;case"yy":ge=_t(bn.FullYear,2,0,!0,!0);break;case"yyy":ge=_t(bn.FullYear,3,0,!1,!0);break;case"yyyy":ge=_t(bn.FullYear,4,0,!1,!0);break;case"Y":ge=St(1);break;case"YY":ge=St(2,!0);break;case"YYY":ge=St(3);break;case"YYYY":ge=St(4);break;case"M":case"L":ge=_t(bn.Month,1,1);break;case"MM":case"LL":ge=_t(bn.Month,2,1);break;case"MMM":ge=Tt(Gt.Months,De.Abbreviated);break;
vendor: 10,828 bytes, line 1
1case"MMMM":ge=Tt(Gt.Months,De.Wide);break;case"MMMMM":ge=Tt(Gt.Months,De.Narrow);break;case"LLL":ge=Tt(Gt.Months,De.Abbreviated,ke.Standalone);break;case"LLLL":ge=Tt(Gt.Months,De.Wide,ke.Standalone);break;case"LLLLL":ge=Tt(Gt.Months,De.Narrow,ke.Standalone);break;case"w":ge=Ye(1);break;case"ww":ge=Ye(2);break;case"W":ge=Ye(1,!0);break;case"d":ge=_t(bn.Date,1);break;case"dd":ge=_t(bn.Date,2);break;case"c":case"cc":ge=_t(bn.Day,1);break;case"ccc":ge=Tt(Gt.Days,De.Abbreviated,ke.Standalone);break;case"cccc":ge=Tt(Gt.Days,De.Wide,ke.Standalone);break;case"ccccc":ge=Tt(Gt.Days,De.Narrow,ke.Standalone);break;case"cccccc":ge=Tt(Gt.Days,De.Short,ke.Standalone);break;case"E":case"EE":case"EEE":ge=Tt(Gt.Days,De.Abbreviated);break;case"EEEE":ge=Tt(Gt.Days,De.Wide);break;case"EEEEE":ge=Tt(Gt.Days,De.Narrow);break;case"EEEEEE":ge=Tt(Gt.Days,De.Short);break;case"a":case"aa":case"aaa":ge=Tt(Gt.DayPeriods,De.Abbreviated);break;case"aaaa":ge=Tt(Gt.DayPeriods,De.Wide);break;case"aaaaa":ge=Tt(Gt.DayPeriods,De.Narrow);break;case"b":case"bb":case"bbb":ge=Tt(Gt.DayPeriods,De.Abbreviated,ke.Standalone,!0);break;case"bbbb":ge=Tt(Gt.DayPeriods,De.Wide,ke.Standalone,!0);break;case"bbbbb":ge=Tt(Gt.DayPeriods,De.Narrow,ke.Standalone,!0);break;case"B":case"BB":case"BBB":ge=Tt(Gt.DayPeriods,De.Abbreviated,ke.Format,!0);break;case"BBBB":ge=Tt(Gt.DayPeriods,De.Wide,ke.Format,!0);break;case"BBBBB":ge=Tt(Gt.DayPeriods,De.Narrow,ke.Format,!0);break;case"h":ge=_t(bn.Hours,1,-12);break;case"hh":ge=_t(bn.Hours,2,-12);break;case"H":ge=_t(bn.Hours,1);break;case"HH":ge=_t(bn.Hours,2);break;case"m":ge=_t(bn.Minutes,1);break;case"mm":ge=_t(bn.Minutes,2);break;case"s":ge=_t(bn.Seconds,1);break;case"ss":ge=_t(bn.Seconds,2);break;case"S":ge=_t(bn.FractionalSeconds,1);break;case"SS":ge=_t(bn.FractionalSeconds,2);break;case"SSS":ge=_t(bn.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":ge=sn(mn.Short);break;case"ZZZZZ":ge=sn(mn.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":ge=sn(mn.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":ge=sn(mn.Long);break;default:return null}return Oe[j]=ge,ge}(Ur);Lr+=zn?zn(rt,q,rr):"''"===Ur?"'":Ur.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),Lr}function Br(j,ge,q){const we=new Date(0);return we.setFullYear(j,ge,q),we.setHours(0,0,0),we}function yr(j,ge){const q=function be(j){return(0,t.cg1)(j)[t.wAp.LocaleId]}(j);if(hr[q]=hr[q]||{},hr[q][ge])return hr[q][ge];let we="";switch(ge){case"shortDate":we=dn(j,Ce.Short);break;case"mediumDate":we=dn(j,Ce.Medium);break;case"longDate":we=dn(j,Ce.Long);break;case"fullDate":we=dn(j,Ce.Full);break;case"shortTime":we=rn(j,Ce.Short);break;case"mediumTime":we=rn(j,Ce.Medium);break;case"longTime":we=rn(j,Ce.Long);break;case"fullTime":we=rn(j,Ce.Full);break;case"short":const rt=yr(j,"shortTime"),Rt=yr(j,"shortDate");we=$r(gn(j,Ce.Short),[rt,Rt]);break;case"medium":const $t=yr(j,"mediumTime"),xn=yr(j,"mediumDate");we=$r(gn(j,Ce.Medium),[$t,xn]);break;case"long":const rr=yr(j,"longTime"),Lr=yr(j,"longDate");we=$r(gn(j,Ce.Long),[rr,Lr]);break;case"full":const Ur=yr(j,"fullTime"),zn=yr(j,"fullDate");we=$r(gn(j,Ce.Full),[Ur,zn])}return we&&(hr[q][ge]=we),we}function $r(j,ge){return ge&&(j=j.replace(/\{([^}]+)}/g,function(q,we){return null!=ge&&we in ge?ge[we]:q})),j}function Vr(j,ge,q="-",we,rt){let Rt="";(j<0||rt&&j<=0)&&(rt?j=1-j:(j=-j,Rt=q));let $t=String(j);for(;$t.length<ge;)$t="0"+$t;return we&&($t=$t.slice($t.length-ge)),Rt+$t}function _t(j,ge,q=0,we=!1,rt=!1){return function(Rt,$t){let xn=function Vt(j,ge){switch(j){case bn.FullYear:return ge.getFullYear();case bn.Month:return ge.getMonth();case bn.Date:return ge.getDate();case bn.Hours:return ge.getHours();case bn.Minutes:return ge.getMinutes();case bn.Seconds:return ge.getSeconds();case bn.FractionalSeconds:return ge.getMilliseconds();case bn.Day:return ge.getDay();default:throw new Error(`Unknown DateType value "${j}".`)}}(j,Rt);if((q>0||xn>-q)&&(xn+=q),j===bn.Hours)0===xn&&-12===q&&(xn=12);else if(j===bn.FractionalSeconds)return function Tr(j,ge){return Vr(j,3).substring(0,ge)}(xn,ge);const rr=Xt($t,oe.MinusSign);return Vr(xn,ge,rr,we,rt)}}function Tt(j,ge,q=ke.Format,we=!1){return function(rt,Rt){return function qt(j,ge,q,we,rt,Rt){switch(q){case Gt.Months:return jt(ge,rt,we)[j.getMonth()];case Gt.Days:return st(ge,rt,we)[j.getDay()];case Gt.DayPeriods:const $t=j.getHours(),xn=j.getMinutes();if(Rt){const Lr=function nr(j){const ge=(0,t.cg1)(j);return dr(ge),(ge[t.wAp.ExtraData][2]||[]).map(we=>"string"==typeof we?tr(we):[tr(we[0]),tr(we[1])])}(ge),Ur=function $n(j,ge,q){const we=(0,t.cg1)(j);dr(we);const Rt=Sn([we[t.wAp.ExtraData][0],we[t.wAp.ExtraData][1]],ge)||[];return Sn(Rt,q)||[]}(ge,rt,we),zn=Lr.findIndex(G=>{if(Array.isArray(G)){const[K,ye]=G,Xe=$t>=K.hours&&xn>=K.minutes,xt=$t<ye.hours||$t===ye.hours&&xn<ye.minutes;if(K.hours<ye.hours){if(Xe&&xt)return!0}else if(Xe||xt)return!0}else if(G.hours===$t&&G.minutes===xn)return!0;return!1});if(-1!==zn)return Ur[zn]}return tt(ge,rt,we)[$t<12?0:1];case Gt.Eras:return function Wt(j,ge){return Sn((0,t.cg1)(j)[t.wAp.Eras],ge)}(ge,we)[j.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${q}`)}}(rt,Rt,j,ge,q,we)}}function sn(j){return function(ge,q,we){const rt=-1*we,Rt=Xt(q,oe.MinusSign),$t=rt>0?Math.floor(rt/60):Math.ceil(rt/60);switch(j){case mn.Short:return(rt>=0?"+":"")+Vr($t,2,Rt)+Vr(Math.abs(rt%60),2,Rt);case mn.ShortGMT:return"GMT"+(rt>=0?"+":"")+Vr($t,1,Rt);case mn.Long:return"GMT"+(rt>=0?"+":"")+Vr($t,2,Rt)+":"+Vr(Math.abs(rt%60),2,Rt);case mn.Extended:return 0===we?"Z":(rt>=0?"+":"")+Vr($t,2,Rt)+":"+Vr(Math.abs(rt%60),2,Rt);default:throw new Error(`Unknown zone width "${j}"`)}}}function Ue(j){return Br(j.getFullYear(),j.getMonth(),j.getDate()+(4-j.getDay()))}function Ye(j,ge=!1){return function(q,we){let rt;if(ge){const Rt=new Date(q.getFullYear(),q.getMonth(),1).getDay()-1,$t=q.getDate();rt=1+Math.floor(($t+Rt)/7)}else{const Rt=Ue(q),$t=function ot(j){const ge=Br(j,0,1).getDay();return Br(j,0,1+(ge<=4?4:11)-ge)}(Rt.getFullYear()),xn=Rt.getTime()-$t.getTime();rt=1+Math.round(xn/6048e5)}return Vr(rt,j,Xt(we,oe.MinusSign))}}function St(j,ge=!1){return function(q,we){return Vr(Ue(q).getFullYear(),j,Xt(we,oe.MinusSign),ge)}}const Oe={};function Qe(j,ge){j=j.replace(/:/g,"");const q=Date.parse("Jan 01, 1970 00:00:00 "+j)/6e4;return isNaN(q)?ge:q}function At(j){return j instanceof Date&&!isNaN(j.valueOf())}const We=/^(\d+)?\.((\d+)(-(\d+))?)?$/,B=".";function Yi(j){const ge=parseInt(j);if(isNaN(ge))throw new Error("Invalid integer literal when parsing "+j);return ge}function ri(j,ge){ge=encodeURIComponent(ge);for(const q of j.split(";")){const we=q.indexOf("="),[rt,Rt]=-1==we?[q,""]:[q.slice(0,we),q.slice(we+1)];if(rt.trim()===ge)return decodeURIComponent(Rt)}return null}let pi=(()=>{class j{constructor(q,we,rt,Rt){this._iterableDiffers=q,this._keyValueDiffers=we,this._ngEl=rt,this._renderer=Rt,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(q){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof q?q.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(q){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof q?q.split(/\s+/):q,this._rawClass&&((0,t.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const q=this._iterableDiffer.diff(this._rawClass);q&&this._applyIterableChanges(q)}else if(this._keyValueDiffer){const q=this._keyValueDiffer.diff(this._rawClass);q&&this._applyKeyValueChanges(q)}}_applyKeyValueChanges(q){q.forEachAddedItem(we=>this._toggleClass(we.key,we.currentValue)),q.forEachChangedItem(we=>this._toggleClass(we.key,we.currentValue)),q.forEachRemovedItem(we=>{we.previousValue&&this._toggleClass(we.key,!1)})}_applyIterableChanges(q){q.forEachAddedItem(we=>{if("string"!=typeof we.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,t.AaK)(we.item)}`);this._toggleClass(we.item,!0)}),q.forEachRemovedItem(we=>this._toggleClass(we.item,!1))}_applyClasses(q){q&&(Array.isArray(q)||q instanceof Set?q.forEach(we=>this._toggleClass(we,!0)):Object.keys(q).forEach(we=>this._toggleClass(we,!!q[we])))}_removeClasses(q){q&&(Array.isArray(q)||q instanceof Set?q.forEach(we=>this._toggleClass(we,!1)):Object.keys(q).forEach(we=>this._toggleClass(we,!1)))}_toggleClass(q,we){(q=q.trim())&&q.split(/\s+/g).forEach(rt=>{we?this._renderer.addClass(this._ngEl.nativeElement,rt):this._renderer.removeClass(this._ngEl.nativeElement,rt)})}}return j.\u0275fac=function(q){return new(q||j)(t.Y36(t.ZZ4),t.Y36(t.aQg),t.Y36(t.SBq),t.Y36(t.Qsj))},j.\u0275dir=t.lG2({type:j,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),j})();class ci{constructor(ge,q,we,rt){this.$implicit=ge,this.ngForOf=q,this.index=we,this.count=rt}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 ii=(()=>{class j{constructor(q,we,rt){this._viewContainer=q,this._template=we,this._differs=rt,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(q){this._ngForOf=q,this._ngForOfDirty=!0}set ngForTrackBy(q){this._trackByFn=q}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(q){q&&(this._template=q)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const q=this._ngForOf;!this._differ&&q&&(this._differ=this._differs.find(q).create(this.ngForTrackBy))}if(this._differ){const q=this._differ.diff(this._ngForOf);q&&this._applyChanges(q)}}_applyChanges(q){const we=this._viewContainer;q.forEachOperation((rt,Rt,$t)=>{if(null==rt.previousIndex)we.createEmbeddedView(this._template,new ci(rt.item,this._ngForOf,-1,-1),null===$t?void 0:$t);else if(null==$t)we.remove(null===Rt?void 0:Rt);else if(null!==Rt){const xn=we.get(Rt);we.move(xn,$t),Hr(xn,rt)}});for(let rt=0,Rt=we.length;rt<Rt;rt++){const xn=we.get(rt).context;xn.index=rt,xn.count=Rt,xn.ngForOf=this._ngForOf}q.forEachIdentityChange(rt=>{Hr(we.get(rt.currentIndex),rt)})}static ngTemplateContextGuard(q,we){return!0}}return j.\u0275fac=function(q){return new(q||j)(t.Y36(t.s_b),t.Y36(t.Rgc),t.Y36(t.ZZ4))},j.\u0275dir=t.lG2({type:j,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),j})();function Hr(j,ge){j.context.$implicit=ge.item}let gr=(()=>{class j{constructor(q,we){this._viewContainer=q,this._context=new Di,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenView
vendor: 4,780 bytes, line 1
1Ref=null,this._elseViewRef=null,this._thenTemplateRef=we}set ngIf(q){this._context.$implicit=this._context.ngIf=q,this._updateView()}set ngIfThen(q){ki("ngIfThen",q),this._thenTemplateRef=q,this._thenViewRef=null,this._updateView()}set ngIfElse(q){ki("ngIfElse",q),this._elseTemplateRef=q,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(q,we){return!0}}return j.\u0275fac=function(q){return new(q||j)(t.Y36(t.s_b),t.Y36(t.Rgc))},j.\u0275dir=t.lG2({type:j,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),j})();class Di{constructor(){this.$implicit=null,this.ngIf=null}}function ki(j,ge){if(ge&&!ge.createEmbeddedView)throw new Error(`${j} must be a TemplateRef, but received '${(0,t.AaK)(ge)}'.`)}let ft=(()=>{class j{constructor(q,we,rt){this._ngEl=q,this._differs=we,this._renderer=rt,this._ngStyle=null,this._differ=null}set ngStyle(q){this._ngStyle=q,!this._differ&&q&&(this._differ=this._differs.find(q).create())}ngDoCheck(){if(this._differ){const q=this._differ.diff(this._ngStyle);q&&this._applyChanges(q)}}_setStyle(q,we){const[rt,Rt]=q.split("."),$t=-1===rt.indexOf("-")?void 0:t.JOm.DashCase;null!=we?this._renderer.setStyle(this._ngEl.nativeElement,rt,Rt?`${we}${Rt}`:we,$t):this._renderer.removeStyle(this._ngEl.nativeElement,rt,$t)}_applyChanges(q){q.forEachRemovedItem(we=>this._setStyle(we.key,null)),q.forEachAddedItem(we=>this._setStyle(we.key,we.currentValue)),q.forEachChangedItem(we=>this._setStyle(we.key,we.currentValue))}}return j.\u0275fac=function(q){return new(q||j)(t.Y36(t.SBq),t.Y36(t.aQg),t.Y36(t.Qsj))},j.\u0275dir=t.lG2({type:j,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),j})(),Dt=(()=>{class j{constructor(q){this._viewContainerRef=q,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(q){if(q.ngTemplateOutlet||q.ngTemplateOutletInjector){const we=this._viewContainerRef;if(this._viewRef&&we.remove(we.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:rt,ngTemplateOutletContext:Rt,ngTemplateOutletInjector:$t}=this;this._viewRef=we.createEmbeddedView(rt,Rt,$t?{injector:$t}:void 0)}else this._viewRef=null}else this._viewRef&&q.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return j.\u0275fac=function(q){return new(q||j)(t.Y36(t.s_b))},j.\u0275dir=t.lG2({type:j,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[t.TTD]}),j})();function en(j,ge){return new t.vHH(2100,!1)}const xi=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u
10EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g;let li=(()=>{class j{transform(q){if(null==q)return null;if("string"!=typeof q)throw en();return q.replace(xi,we=>we[0].toUpperCase()+we.slice(1).toLowerCase())}}return j.\u0275fac=function(q){return new(q||j)},j.\u0275pipe=t.Yjl({name:"titlecase",type:j,pure:!0,standalone:!0}),j})();const Xn=new t.OlP("DATE_PIPE_DEFAULT_TIMEZONE"),pn=new t.OlP("DATE_PIPE_DEFAULT_OPTIONS");let xs=(()=>{class j{constructor(q,we,rt){this.locale=q,this.defaultTimezone=we,this.defaultOptions=rt}transform(q,we,rt,Rt){if(null==q||""===q||q!=q)return null;try{return Tn(q,we??this.defaultOptions?.dateFormat??"mediumDate",Rt||this.locale,rt??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch($t){throw en()}}}return j.\u0275fac=function(q){return new(q||j)(t.Y36(t.soG,16),t.Y36(Xn,24),t.Y36(pn,24))},j.\u0275pipe=t.Yjl({name:"date",type:j,pure:!0,standalone:!0}),j})(),Zs=(()=>{class j{constructor(q){this._locale=q}transform(q,we,rt){if(!function co(j){return!(null==j||""===j||j!=j)}(q))return null;rt=rt||this._locale;try{return function Ir(j,ge,q){return function er(j,ge,q,we,rt,Rt,$t=!1){let xn="",rr=!1;if(isFinite(j)){let Lr=function bs(j){let we,rt,Rt,$t,xn,ge=Math.abs(j)+"",q=0;for((rt=ge.indexOf(B))>-1&&(ge=ge.replace(B,"")),(Rt=ge.search(/e/i))>0?(rt<0&&(rt=Rt),rt+=+ge.slice(Rt+1),ge=ge.substring(0,Rt)):rt<0&&(rt=ge.length),Rt=0;"0"===ge.charAt(Rt);Rt++);if(Rt===(xn=ge.length))we=[0],rt=1;else{for(xn--;"0"===ge.charAt(xn);)xn--;for(rt-=Rt,we=[],$t=0;Rt<=xn;Rt++,$t++)we[$t]=Number(ge.charAt(Rt))}return rt>
122&&(we=we.splice(0,21),q=rt-1,rt=1),{digits:we,exponent:q,integerLen:rt}}(j);$t&&(Lr=function Qi(j){if(0===j.digits[0])return j;const ge=j.digits.length-j.integerLen;return j.exponent?j.exponent+=2:(0===ge?j.digits.push(0,0):1===ge&&j.digits.push(0),j.integerLen+=2),j}(Lr));let Ur=ge.minInt,zn=ge.minFrac,G=ge.maxFrac;if(Rt){const ir=Rt.match(We);if(null===ir)throw new Error(`${Rt} is not a valid digit info`);const Xi=ir[1],ui=ir[3],Co=ir[5];null!=Xi&&(Ur=Yi(Xi)),null!=ui&&(zn=Yi(ui)),null!=Co?G=Yi(Co):null!=ui&&zn>G&&(G=zn)}!function Ui(j,ge,q){if(ge>q)throw new Error(`The minimum number of digits after fraction (${ge}) is higher than the maximum (${q}).`);let we=j.digits,rt=we.length-j.integerLen;const Rt=Math.min(Math.max(ge,rt),q);let $t=Rt+j.integerLen,xn=we[$t];if($t>0){we.splice(Math.max(j.integerLen,$t));for(let zn=$t;zn<we.length;zn++)we[zn]=0}else{rt=Math.max(0,rt),j.integerLen=1,we.length=Math.max(1,$t=Rt+1),we[0]=0;for(let zn=1;zn<$t;zn++)we[zn]=0}if(xn>=5)if($t-1<0){for(let zn=0;zn>$t;zn--)we.unshift(0),j.integerLen++;we.unshift(1),j.integerLen++}else we[$t-1]++;for(;rt<Math.max(0,Rt);rt++)we.push(0);let rr=0!==Rt;const Lr=ge+j.integerLen,Ur=we.reduceRight(function(zn,G,K,ye){return ye[K]=(G+=zn)<10?G:G-10,rr&&(0===ye[K]&&K>=Lr?ye.pop():rr=!1),G>=10?1:0},0);Ur&&(we.unshift(Ur),j.integerLen++)}(Lr,zn,G);let K=Lr.digits,ye=Lr.integerLen;const Xe=Lr.exponent;let xt=[];for(rr=K.every(ir=>!ir);ye<Ur;ye++)K.unshift(0);for(;ye<0;ye++)K.unshift(0);ye>0?xt=K.splice(ye,K.length):(xt=K,K=[0]);const Mn=[];for(K.length>=ge.lgSize&&Mn.unshift(K.splice(-ge.lgSize,K.length).join(""));K.length>ge.gSize;)Mn.unshift(K.splice(-ge.gSize,K.length).join(""));K.length&&Mn.unshift(K.join("")),xn=Mn.join(Xt(q,we)),xt.length&&(xn+=Xt(q,rt)+xt.join("")),Xe&&(xn+=Xt(q,oe.Exponential)+"+"+Xe)}else xn=Xt(q,oe.Infinity);return xn=j<0&&!rr?ge.negPre+xn+ge.negSuf:ge.posPre+xn+ge.posSuf,xn}(j,function ti(j,ge="-"){const q={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},we=j.split(";"),rt=we[0],Rt=we[1],$t=-1!==rt.indexOf(B)?rt.split(B):[rt.substring(0,rt.lastIndexOf("0")+1),rt.substring(rt.lastIndexOf("0")+1)],xn=$t[0],rr=$t[1]||"";q.posPre=xn.substring(0,xn.indexOf("#"));for(let Ur=0;Ur<rr.length;Ur++){const zn=rr.charAt(Ur);"0"===zn?q.minFrac=q.maxFrac=Ur+1:"#"===zn?q.maxFrac=Ur+1:q.posSuf+=zn}const Lr=xn.split(",");if(q.gSize=Lr[1]?Lr[1].length:0,q.lgSize=Lr[2]||Lr[1]?(Lr[2]||Lr[1]).length:0,Rt){const Ur=rt.length-q.posPre.length-q.posSuf.length,zn=Rt.indexOf("#");q.negPre=Rt.substring(0,zn).replace(/'/g,""),q.negSuf=Rt.slice(zn+Ur).replace(/'/g,"")}else q.negPre=ge+q.posPre,q.negSuf=q.posSuf;return q}(function Er(j,ge){return(0,t.cg1)(j)[t.wAp.NumberFormats][ge]}(ge,Ne.Percent),Xt(ge,oe.MinusSign)),ge,oe.Group,oe.Decimal,q,!0).replace(new RegExp("%","g"),Xt(ge,oe.PercentSign))}(function fs(j){if("string"==typeof j&&!isNaN(Number(j)-parseFloat(j)))return Number(j);if("number"!=typeof j)throw new Error(`${j} is not a number`);return j}(q),rt,we)}catch(Rt){throw en()}}}return j.\u0275fac=function(q){return new(q||j)(t.Y36(t.soG,16))},j.\u0275pipe=t.Yjl({name:"percent",type:j,pure:!0,standalone:!0}),j})();let Xs=(()=>{class j{transform(q,we,rt){if(null==q)return null;if(!this.supports(q))throw en();return q.slice(we,rt)}supports(q){return"string"==typeof q||Array.isArray(q)}}return j.\u0275fac=function(q){return new(q||j)},j.\u0275pipe=t.Yjl({name:"slice",type:j,pure:!1,standalone:!0}),j})(),lt=(()=>{class j{}return j.\u0275fac=function(q){return new(q||j)},j.\u0275mod=t.oAB({type:j}),j.\u0275inj=t.cJS({}),j})();const at="browser";function Pn(j){return j===at}function Rn(j){return"server"===j}let yi=(()=>{class j{}return j.\u0275prov=(0,t.Yz7)({token:j,providedIn:"root",factory:()=>new dt((0,t.LFG)(k),window)}),j})();class dt{constructor(ge,q){this.document=ge,this.window=q,this.offset=()=>[0,0]}setOffset(ge){this.offset=Array.isArray(ge)?()=>ge:ge}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(ge){this.supportsScrolling()&&this.window.scrollTo(ge[0],ge[1])}scrollToAnchor(ge){if(!this.supportsScrolling())return;const q=function bo(j,ge){const q=j.getElementById(ge)||j.getElementsByName(ge)[0];if(q)return q;if("function"==typeof j.createTreeWalker&&j.body&&(j.body.createShadowRoot||j.body.attachShadow)){const we=j.createTreeWalker(j.body,NodeFilter.SHOW_ELEMENT);let rt=we.currentNode;for(;rt;){const Rt=rt.shadowRoot;if(Rt){const $t=Rt.getElementById(ge)||Rt.querySelector(`[name="${ge}"]`);if($t)return $t}rt=we.nextNode()}}return null}(this.document,ge);q&&(this.scrollToElement(q),q.focus())}setHistoryScrollRestoration(ge){if(this.supportScrollRestoration()){const q=this.window.history;q&&q.scrollRestoration&&(q.scrollRestoration=ge)}}scrollToElement(ge){const q=ge.getBoundingClientRect(),we=q.left+this.window.pageXOffset,rt=q.top+this.window.pageYOffset,Rt=this.offset();this.window.scrollTo(we-Rt[0],rt-Rt[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const ge=Ke(this.window.history)||Ke(Object.getPrototypeOf(this.window.history));return!(!ge||!ge.writable&&!ge.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function Ke(j){return Object.getOwnPropertyDescriptor(j,"scrollRestoration")}class as{}},529:(s,a,l)=>{"use strict";l.d(a,{JF:()=>sn,TP:()=>Wt,eN:()=>be});var t=l(6895),f=l(4650),_=l(9646),S=l(9751),D=l(4351),M=l(9300),k=l(4004);class U{}class te{}class I{constructor(Ue){this.normalizedNames=new Map,this.lazyUpdate=null,Ue?this.lazyInit="string"==typeof Ue?()=>{this.headers=new Map,Ue.split("\n").forEach(Ye=>{const St=Ye.indexOf(":");if(St>0){const Oe=Ye.slice(0,St),Ge=Oe.toLowerCase(),Qe=Ye.slice(St+1).trim();this.maybeSetNormalizedName(Oe,Ge),this.headers.has(Ge)?this.headers.get(Ge).push(Qe):this.headers.set(Ge,[Qe])}})}:()=>{this.headers=new Map,Object.keys(Ue).forEach(Ye=>{let St=Ue[Ye];const Oe=Ye.toLowerCase();"string"==typeof St&&(St=[St]),St.length>0&&(this.headers.set(Oe,St),this.maybeSetNormalizedName(Ye,Oe))})}:this.headers=new Map}has(Ue){return this.init(),this.headers.has(Ue.toLowerCase())}get(Ue){this.init();const Ye=this.headers.get(Ue.toLowerCase());return Ye&&Ye.length>0?Ye[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(Ue){return this.init(),this.headers.get(Ue.toLowerCase())||null}append(Ue,Ye){return this.clone({name:Ue,value:Ye,op:"a"})}set(Ue,Ye){return this.clone({name:Ue,value:Ye,op:"s"})}delete(Ue,Ye){return this.clone({name:Ue,value:Ye,op:"d"})}maybeSetNormalizedName(Ue,Ye){this.normalizedNames.has(Ye)||this.normalizedNames.set(Ye,Ue)}init(){this.lazyInit&&(this.lazyInit instanceof I?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(Ue=>this.applyUpdate(Ue)),this.lazyUpdate=null))}
vendor: 6,389 bytes, line 1
1copyFrom(Ue){Ue.init(),Array.from(Ue.headers.keys()).forEach(Ye=>{this.headers.set(Ye,Ue.headers.get(Ye)),this.normalizedNames.set(Ye,Ue.normalizedNames.get(Ye))})}clone(Ue){const Ye=new I;return Ye.lazyInit=this.lazyInit&&this.lazyInit instanceof I?this.lazyInit:this,Ye.lazyUpdate=(this.lazyUpdate||[]).concat([Ue]),Ye}applyUpdate(Ue){const Ye=Ue.name.toLowerCase();switch(Ue.op){case"a":case"s":let St=Ue.value;if("string"==typeof St&&(St=[St]),0===St.length)return;this.maybeSetNormalizedName(Ue.name,Ye);const Oe=("a"===Ue.op?this.headers.get(Ye):void 0)||[];Oe.push(...St),this.headers.set(Ye,Oe);break;case"d":const Ge=Ue.value;if(Ge){let Qe=this.headers.get(Ye);if(!Qe)return;Qe=Qe.filter(gt=>-1===Ge.indexOf(gt)),0===Qe.length?(this.headers.delete(Ye),this.normalizedNames.delete(Ye)):this.headers.set(Ye,Qe)}else this.headers.delete(Ye),this.normalizedNames.delete(Ye)}}forEach(Ue){this.init(),Array.from(this.normalizedNames.keys()).forEach(Ye=>Ue(this.normalizedNames.get(Ye),this.headers.get(Ye)))}}class H{encodeKey(Ue){return Y(Ue)}encodeValue(Ue){return Y(Ue)}decodeKey(Ue){return decodeURIComponent(Ue)}decodeValue(Ue){return decodeURIComponent(Ue)}}const ae=/%(\d[a-f0-9])/gi,V={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Y(ot){return encodeURIComponent(ot).replace(ae,(Ue,Ye)=>V[Ye]??Ue)}function N(ot){return`${ot}`}class O{constructor(Ue={}){if(this.updates=null,this.cloneFrom=null,this.encoder=Ue.encoder||new H,Ue.fromString){if(Ue.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function ee(ot,Ue){const Ye=new Map;return ot.length>0&&ot.replace(/^\?/,"").split("&").forEach(Oe=>{const Ge=Oe.indexOf("="),[Qe,gt]=-1==Ge?[Ue.decodeKey(Oe),""]:[Ue.decodeKey(Oe.slice(0,Ge)),Ue.decodeValue(Oe.slice(Ge+1))],it=Ye.get(Qe)||[];it.push(gt),Ye.set(Qe,it)}),Ye}(Ue.fromString,this.encoder)}else Ue.fromObject?(this.map=new Map,Object.keys(Ue.fromObject).forEach(Ye=>{const St=Ue.fromObject[Ye],Oe=Array.isArray(St)?St.map(N):[N(St)];this.map.set(Ye,Oe)})):this.map=null}has(Ue){return this.init(),this.map.has(Ue)}get(Ue){this.init();const Ye=this.map.get(Ue);return Ye?Ye[0]:null}getAll(Ue){return this.init(),this.map.get(Ue)||null}keys(){return this.init(),Array.from(this.map.keys())}append(Ue,Ye){return this.clone({param:Ue,value:Ye,op:"a"})}appendAll(Ue){const Ye=[];return Object.keys(Ue).forEach(St=>{const Oe=Ue[St];Array.isArray(Oe)?Oe.forEach(Ge=>{Ye.push({param:St,value:Ge,op:"a"})}):Ye.push({param:St,value:Oe,op:"a"})}),this.clone(Ye)}set(Ue,Ye){return this.clone({param:Ue,value:Ye,op:"s"})}delete(Ue,Ye){return this.clone({param:Ue,value:Ye,op:"d"})}toString(){return this.init(),this.keys().map(Ue=>{const Ye=this.encoder.encodeKey(Ue);return this.map.get(Ue).map(St=>Ye+"="+this.encoder.encodeValue(St)).join("&")}).filter(Ue=>""!==Ue).join("&")}clone(Ue){const Ye=new O({encoder:this.encoder});return Ye.cloneFrom=this.cloneFrom||this,Ye.updates=(this.updates||[]).concat(Ue),Ye}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(Ue=>this.map.set(Ue,this.cloneFrom.map.get(Ue))),this.updates.forEach(Ue=>{switch(Ue.op){case"a":case"s":const Ye=("a"===Ue.op?this.map.get(Ue.param):void 0)||[];Ye.push(N(Ue.value)),this.map.set(Ue.param,Ye);break;case"d":if(void 0===Ue.value){this.map.delete(Ue.param);break}{let St=this.map.get(Ue.param)||[];const Oe=St.indexOf(N(Ue.value));-1!==Oe&&St.splice(Oe,1),St.length>0?this.map.set(Ue.param,St):this.map.delete(Ue.param)}}}),this.cloneFrom=this.updates=null)}}class J{constructor(){this.map=new Map}set(Ue,Ye){return this.map.set(Ue,Ye),this}get(Ue){return this.map.has(Ue)||this.map.set(Ue,Ue.defaultValue()),this.map.get(Ue)}delete(Ue){return this.map.delete(Ue),this}has(Ue){return this.map.has(Ue)}keys(){return this.map.keys()}}function me(ot){return typeof ArrayBuffer<"u"&&ot instanceof ArrayBuffer}function Fe(ot){return typeof Blob<"u"&&ot instanceof Blob}function He(ot){return typeof FormData<"u"&&ot instanceof FormData}class Ne{constructor(Ue,Ye,St,Oe){let Ge;if(this.url=Ye,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=Ue.toUpperCase(),function pe(ot){switch(ot){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Oe?(this.body=void 0!==St?St:null,Ge=Oe):Ge=St,Ge&&(this.reportProgress=!!Ge.reportProgress,this.withCredentials=!!Ge.withCredentials,Ge.responseType&&(this.responseType=Ge.responseType),Ge.headers&&(this.headers=Ge.headers),Ge.context&&(this.context=Ge.context),Ge.params&&(this.params=Ge.params)),this.headers||(this.headers=new I),this.context||(this.context=new J),this.params){const Qe=this.params.toString();if(0===Qe.length)this.urlWithParams=Ye;else{const gt=Ye.indexOf("?");this.urlWithParams=Ye+(-1===gt?"?":gt<Ye.length-1?"&":"")+Qe}}else this.params=new O,this.urlWithParams=Ye}serializeBody(){return null===this.body?null:me(this.body)||Fe(this.body)||He(this.body)||function xe(ot){return typeof URLSearchParams<"u"&&ot instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof O?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||He(this.body)?null:Fe(this.body)?this.body.type||null:me(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof O?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(Ue={}){const Ye=Ue.method||this.method,St=Ue.url||this.url,Oe=Ue.responseType||this.responseType,Ge=void 0!==Ue.body?Ue.body:this.body,Qe=void 0!==Ue.withCredentials?Ue.withCredentials:this.withCredentials,gt=void 0!==Ue.reportProgress?Ue.reportProgress:this.reportProgress;let it=Ue.headers||this.headers,zt=Ue.params||this.params;const Cn=Ue.context??this.context;return void 0!==Ue.setHeaders&&(it=Object.keys(Ue.setHeaders).reduce((At,We)=>At.set(We,Ue.setHeaders[We]),it)),Ue.setParams&&(zt=Object.keys(Ue.setParams).reduce((At,We)=>At.set(We,Ue.setParams[We]),zt)),new Ne(Ye,St,Ge,{params:zt,headers:it,context:Cn,reportProgress:gt,responseType:Oe,withCredentials:Qe})}}var ze=(()=>((ze=ze||{}
1)[ze.Sent=0]="Sent",ze[ze.UploadProgress=1]="UploadProgress",ze[ze.ResponseHeader=2]="ResponseHeader",ze[ze.DownloadProgress=3]="DownloadProgress",ze[ze.Response=4]="Response",ze[ze.User=5]="User",ze))();class ke{constructor(Ue,Ye=200,St="OK"){this.headers=Ue.headers||new I,this.status=void 0!==Ue.status?Ue.status:Ye,this.statusText=Ue.statusText||St,this.url=Ue.url||null,this.ok=this.status>=200&&this.status<300}}class De extends ke{constructor(Ue={}){super(Ue),this.type=ze.ResponseHeader}clone(Ue={}){return new De({headers:Ue.headers||this.headers,status:void 0!==Ue.status?Ue.status:this.status,statusText:Ue.statusText||this.statusText,url:Ue.url||this.url||void 0})}}class Ce extends ke{constructor(Ue={}){super(Ue),this.type=ze.Response,this.body=void 0!==Ue.body?Ue.body:null}clone(Ue={}){return new Ce({body:void 0!==Ue.body?Ue.body:this.body,headers:Ue.headers||this.headers,status:void 0!==Ue.status?Ue.status:this.status,statusText:Ue.statusText||this.statusText,url:Ue.url||this.url||void 0})}}class oe extends ke{constructor(Ue){super(Ue,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${Ue.url||"(unknown url)"}`:`Http failure response for ${Ue.url||"(unknown url)"}: ${Ue.status} ${Ue.statusText}`,this.error=Ue.error||null}}function he(ot,Ue){return{body:Ue,headers:ot.headers,context:ot.context,observe:ot.observe,params:ot.params,reportProgress:ot.reportProgress,responseType:ot.responseType,withCredentials:ot.withCredentials}}let be=(()=>{class ot{constructor(Ye){this.handler=Ye}request(Ye,St,Oe={}){let Ge;if(Ye instanceof Ne)Ge=Ye;else{let it,zt;it=Oe.headers instanceof I?Oe.headers:new I(Oe.headers),Oe.params&&(zt=Oe.params instanceof O?Oe.params:new O({fromObject:Oe.params})),Ge=new Ne(Ye,St,void 0!==Oe.body?Oe.body:null,{headers:it,context:Oe.context,params:zt,reportProgress:Oe.reportProgress,responseType:Oe.responseType||"json",withCredentials:Oe.withCredentials})}const Qe=(0,_.of)(Ge).pipe((0,D.b)(it=>this.handler.handle(it)));if(Ye instanceof Ne||"events"===Oe.observe)return Qe;const gt=Qe.pipe((0,M.h)(it=>it instanceof Ce));switch(Oe.observe||"body"){case"body":switch(Ge.responseType){case"arraybuffer":return gt.pipe((0,k.U)(it=>{if(null!==it.body&&!(it.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return it.body}));case"blob":return gt.pipe((0,k.U)(it=>{if(null!==it.body&&!(it.body instanceof Blob))throw new Error("Response is not a Blob.");return it.body}));case"text":return gt.pipe((0,k.U)(it=>{if(null!==it.body&&"string"!=typeof it.body)throw new Error("Response is not a string.");return it.body}));default:return gt.pipe((0,k.U)(it=>it.body))}case"response":return gt;default:throw new Error(`Unreachable: unhandled observe type ${Oe.observe}}`)}}delete(Ye,St={}){return this.request("DELETE",Ye,St)}get(Ye,St={}){return this.request("GET",Ye,St)}head(Ye,St={}){return this.request("HEAD",Ye,St)}jsonp(Ye,St){return this.request("JSONP",Ye,{params:(new O).append(St,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(Ye,St={}){return this.request("OPTIONS",Ye,St)}patch(Ye,St,Oe={}){return this.request("PATCH",Ye,he(Oe,St))}post(Ye,St,Oe={}){return this.request("POST",Ye,he(Oe,St))}put(Ye,St,Oe={}){return this.request("PUT",Ye,he(Oe,St))}}return ot.\u0275fac=function(Ye){return new(Ye||ot)(f.LFG(U))},ot.\u0275prov=f.Yz7({token:ot,factory:ot.\u0275fac}),ot})();function tt(ot,Ue){return Ue(ot)}function st(ot,Ue){return(Ye,St)=>Ue.intercept(Ye,{handle:Oe=>ot(Oe,St)})}const Wt=new f.OlP("HTTP_INTERCEPTORS"),Ut=new f.OlP("HTTP_INTERCEPTOR_FNS");function Et(){let ot=null;return(Ue,Ye)=>(null===ot&&(ot=((0,f.f3M)(Wt,{optional:!0})??[]).reduceRight(st,tt)),ot(Ue,Ye))}let dn=(()=>{class ot extends U{constructor(Ye,St){super(),this.backend=Ye,this.injector=St,this.chain=null}handle(Ye){if(null===this.chain){const St=Array.from(new Set(this.injector.get(Ut)));this.chain=St.reduceRight((Oe,Ge)=>function jt(ot,Ue,Ye){return(St,Oe)=>Ye.runInContext(()=>Ue(St,Ge=>ot(Ge,Oe)))}(Oe,Ge,this.injector),tt)}return this.chain(Ye,St=>this.backend.handle(St))}}
1return ot.\u0275fac=function(Ye){return new(Ye||ot)(f.LFG(te),f.LFG(f.lqb))},ot.\u0275prov=f.Yz7({token:ot,factory:ot.\u0275fac}),ot})();const $n=/^\)\]\}',?\n/;let Sn=(()=>{class ot{constructor(Ye){this.xhrFactory=Ye}handle(Ye){if("JSONP"===Ye.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new S.y(St=>{const Oe=this.xhrFactory.build();if(Oe.open(Ye.method,Ye.urlWithParams),Ye.withCredentials&&(Oe.withCredentials=!0),Ye.headers.forEach((Ve,B)=>Oe.setRequestHeader(Ve,B.join(","))),Ye.headers.has("Accept")||Oe.setRequestHeader("Accept","application/json, text/plain, */*"),!Ye.headers.has("Content-Type")){const Ve=Ye.detectContentTypeHeader();null!==Ve&&Oe.setRequestHeader("Content-Type",Ve)}if(Ye.responseType){const Ve=Ye.responseType.toLowerCase();Oe.responseType="json"!==Ve?Ve:"text"}const Ge=Ye.serializeBody();let Qe=null;const gt=()=>{if(null!==Qe)return Qe;const Ve=Oe.statusText||"OK",B=new I(Oe.getAllResponseHeaders()),ue=function Wn(ot){return"responseURL"in ot&&ot.responseURL?ot.responseURL:/^X-Request-URL:/m.test(ot.getAllResponseHeaders())?ot.getResponseHeader("X-Request-URL"):null}(Oe)||Ye.url;return Qe=new De({headers:B,status:Oe.status,statusText:Ve,url:ue}),Qe},it=()=>{let{headers:Ve,status:B,statusText:ue,url:ve}=gt(),Le=null;204!==B&&(Le=typeof Oe.response>"u"?Oe.responseText:Oe.response),0===B&&(B=Le?200:0);let Je=B>=200&&B<300;if("json"===Ye.responseType&&"string"==typeof Le){const Jt=Le;Le=Le.replace($n,"");try{Le=""!==Le?JSON.parse(Le):null}catch(In){Le=Jt,Je&&(Je=!1,Le={error:In,text:Le})}}Je?(St.next(new Ce({body:Le,headers:Ve,status:B,statusText:ue,url:ve||void 0})),St.complete()):St.error(new oe({error:Le,headers:Ve,status:B,statusText:ue,url:ve||void 0}))},zt=Ve=>{const{url:B}=gt(),ue=new oe({error:Ve,status:Oe.status||0,statusText:Oe.statusText||"Unknown Error",url:B||void 0});St.error(ue)};let Cn=!1;const At=Ve=>{Cn||(St.next(gt()),Cn=!0);let B={type:ze.DownloadProgress,loaded:Ve.loaded};Ve.lengthComputable&&(B.total=Ve.total),"text"===Ye.responseType&&!!Oe.responseText&&(B.partialText=Oe.responseText),St.next(B)},We=Ve=>{let B={type:ze.UploadProgress,loaded:Ve.loaded};Ve.lengthComputable&&(B.total=Ve.total),St.next(B)};return Oe.addEventListener("load",it),Oe.addEventListener("error",zt),Oe.addEventListener("timeout",zt),Oe.addEventListener("abort",zt),Ye.reportProgress&&(Oe.addEventListener("progress",At),null!==Ge&&Oe.upload&&Oe.upload.addEventListener("progress",We)),Oe.send(Ge),St.next({type:ze.Sent}),()=>{Oe.removeEventListener("error",zt),Oe.removeEventListener("abort",zt),Oe.removeEventListener("load",it),Oe.removeEventListener("timeout",zt),Ye.reportProgress&&(Oe.removeEventListener("progress",At),null!==Ge&&Oe.upload&&Oe.upload.removeEventListener("progress",We)),Oe.readyState!==Oe.DONE&&Oe.abort()}})}}return ot.\u0275fac=function(Ye){return new(Ye||ot)(f.LFG(t.JF))},ot.\u0275prov=f.Yz7({token:ot,factory:ot.\u0275fac}),ot})();const tr=new f.OlP("XSRF_ENABLED"),fn="XSRF-TOKEN",cn=new f.OlP("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>fn}),Fn="X-XSRF-TOKEN",Ln=new f.OlP("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>Fn});class hr{}let Dr=(()=>{class ot{constructor(Ye,St,Oe){this.doc=Ye,this.platform=St,this.cookieName=Oe,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const Ye=this.doc.cookie||"";return Ye!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,t.Mx)(Ye,this.cookieName),this.lastCookieString=Ye),this.lastToken}}return ot.\u0275fac=function(Ye){return new(Ye||ot)(f.LFG(t.K0),f.LFG(f.Lbi),f.LFG(cn))},ot.\u0275prov=f.Yz7({token:ot,factory:ot.\u0275fac}),ot})();function mn(ot,Ue){const Ye=ot.url.toLowerCase();if(!(0,f.f3M)(tr)||"GET"===ot.method||"HEAD"===ot.method||Ye.startsWith("http://")||Ye.startsWith("https://"))return Ue(ot);const St=(0,f.f3M)(hr).getToken(),Oe=(0,f.f3M)(Ln);return null!=St&&!ot.headers.has(Oe)&&(ot=ot.clone({headers:ot.headers.set(Oe,St)})),Ue(ot)}var Gt=(()=>((Gt=Gt||{})[Gt.Interceptors=0]="Interceptors",Gt[Gt.LegacyInterceptors=1]="LegacyInterceptors",Gt[Gt.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",Gt[Gt.NoXsrfProtection=3]="NoXsrfProtection",Gt[Gt.JsonpSupport=4]="JsonpSupport",Gt[Gt.RequestsMadeViaParent=5]="RequestsMadeViaParent",Gt))();function Tn(ot,Ue){return{\u0275kind:ot,\u0275providers:Ue}}function Br(...ot){const Ue=[be,Sn,dn,{provide:U,useExisting:dn},{provide:te,useExisting:Sn},{provide:Ut,useValue:mn,multi:!0},{provide:tr,useValue:!0},{provide:hr,useClass:Dr}];for(const Ye of ot)Ue.push(...Ye.\u0275providers);return(0,f.MR2)(Ue)}const $r=new f.OlP("LEGACY_INTERCEPTOR_FN");function Tr({cookieName:ot,headerName:Ue}){const Ye=[];return void 0!==ot&&Ye.push({provide:cn,useValue:ot}),void 0!==Ue&&Ye.push({provide:Ln,useValue:Ue}),Tn(Gt.CustomXsrfConfiguration,Ye)}let sn=(()=>{class ot{}return ot.\u0275fac=function(Ye){return new(Ye||ot)},ot.\u0275mod=f.oAB({type:ot}),ot.\u0275inj=f.cJS({providers:[Br(Tn(Gt.LegacyInterceptors,[{provide:$r,useFactory:Et},{provide:Ut,useExisting:$r,multi:!0}]),Tr({cookieName:fn,headerName:Fn}))]}),ot})()},4650:(s,a,l)=>{"use strict";l.d(a,{$8M:()=>wa,$Z:()=>Qp,AFp:()=>Py,ALo:()=>Kv,AaK:()=>U,Akn:()=>nu,AsE:()=>pp,BQk:()=>tu,CHM:()=>ba,CRH:()=>sy,CZH:()=>bm,CqO:()=>Hg,D6c:()=>VE,DdM:()=>Lv,DjV:()=>um,Dn7:()=>Zv,EEQ:()=>oi,EJc:()=>tE,EiD:()=>c,EpF:()=>Bg,F$t:()=>jg,F4k:()=>Vg,FYo:()=>Vc,FiY:()=>Ki,Gf:()=>ry,GfV:()=>Op,GkF:()=>ep,Gpc:()=>z,Gre:()=>_p,GuJ:()=>ve,Hsn:()=>Wg,Ikx:()=>Lt,JOm:()=>ds,JVY:()=>Pc,JZr:()=>Y,Jf7:()=>Rp,Jzz:()=>W0,KtG:()=>Qs,L6k:()=>eh,LAX:()=>cf,LFG:()=>Nt,LMc:()=>GE,LSH:()=>ct,Lbi:()=>Jb,Lck:()=>J1,MAs:()=>Lg,MGl:()=>Bh,MMx:()=>r_,MR2:()=>fi,NdJ:()=>tp,O4$:()=>we,OlP:()=>bi,Oqu:()=>fp,P3R:()=>Jr,PXZ:()=>mE,Q6J:()=>Nh,QGY:()=>Fh,QP$:()=>Yr,Qsj:()=>uh,QtT:()=>wv,R0b:()=>lu,RDi:()=>Zd,Rgc:()=>Ap,SBq:()=>Yl,SDv:()=>Sv,Sil:()=>rE,Suo:()=>iy,TTD:()=>Ke,TgZ:()=>Rh,Tol:()=>cp,Udp:()=>Wh,VKq:()=>Bv,W1O:()=>uy,WLB:()=>Vv,X6Q:()=>EE,XFs:()=>fn,Xpm:()=>er,Xts:()=>Rr,Y36:()=>$c,YKP:()=>Iv,YNc:()=>Fg,Yjl:()=>Yi,Yz7:()=>Xt,Z0I:()=>Bt,ZZ4:()=>I_,_Bn:()=>Dv,_UZ:()=>Qf,_Vd:()=>Kl,_c5:()=>LE,_uU:()=>U0,aQg:()=>P_,c2e:()=>Qb,cJS:()=>_n,cg1:()=>Ai,dDg:()=>hE,dqk:()=>mn,eBb:()=>uf,eFA:()=>Uy,ekj:()=>up,eoX:()=>Vy,evT:()=>kp,f3M:()=>ot,g9A:()=>xy,h0i:()=>Kh,hGG:()=>BE,hYB:()=>Du,hij:()=>sd,iGM:()=>ny,ifc:()=>At,ip1:()=>Iy,jDz:()=>Mv,kEZ:()=>Hv,kL8:()=>xa,kYT:()=>Qi,l5B:()=>Gv,lG2:()=>Ui,lcZ:()=>qv,lqb:()=>Ao,lri:()=>Ly,mCW:()=>xc,n5z:()=>ll,oAB:()=>ti,oJD:()=>$e,oxw:()=>$g,pB0:()=>df,pQV:()=>X0,q3G:()=>ie,q4F:()=>Np,qLn:()=>fh,qOj:()=>zf,qZA:()=>Au,qzn:()=>Lu,rWj:()=>By,s9C:()=>rp,sBO:()=>TE,sIi:()=>Rd,s_b:()=>_m,soG:()=>Em,tBr:()=>js,tb:()=>Oy,tp0:()=>ma,uIk:()=>Yf,uOi:()=>It,vHH:()=>N,vpe:()=>ju,wAp:()=>
vendor: 3,413 bytes, line 1
1pr,xi3:()=>Yv,xp6:()=>Hp,ynx:()=>kh,z2F:()=>Tm,z3N:()=>Pl,zSh:()=>Ml,zs3:()=>ic});var t=l(7579),f=l(727),_=l(9751),S=l(6451),D=l(3099);function M(n){for(let r in n)if(n[r]===M)return r;throw Error("Could not find renamed property on target object.")}function k(n,r){for(const o in r)r.hasOwnProperty(o)&&!n.hasOwnProperty(o)&&(n[o]=r[o])}function U(n){if("string"==typeof n)return n;if(Array.isArray(n))return"["+n.map(U).join(", ")+"]";if(null==n)return""+n;if(n.overriddenName)return`${n.overriddenName}`;if(n.name)return`${n.name}`;const r=n.toString();if(null==r)return""+r;const o=r.indexOf("\n");return-1===o?r:r.substring(0,o)}function te(n,r){return null==n||""===n?null===r?"":r:null==r||""===r?n:n+" "+r}const I=M({__forward_ref__:M});function z(n){return n.__forward_ref__=z,n.toString=function(){return U(this())},n}function H(n){return ee(n)?n():n}function ee(n){return"function"==typeof n&&n.hasOwnProperty(I)&&n.__forward_ref__===z}function ae(n){return n&&!!n.\u0275providers}const Y="https://g.co/ng/security#xss";class N extends Error{constructor(r,o){super(function O(n,r){return`NG0${Math.abs(n)}${r?": "+r.trim():""}`}(r,o)),this.code=r}}function X(n){return"string"==typeof n?n:null==n?"":String(n)}function He(n,r){throw new N(-201,!1)}function Et(n,r,o,h){throw new Error(`ASSERTION ERROR: ${n}`+(null==h?"":` [Expected=> ${o} ${h} ${r} <=Actual]`))}function Xt(n){return{token:n.token,providedIn:n.providedIn||null,factory:n.factory,value:void 0}}function _n(n){return{providers:n.providers||[],imports:n.imports||[]}}function Nn(n){return Hn(n,$n)||Hn(n,Sn)}function Bt(n){return null!==Nn(n)}function Hn(n,r){return n.hasOwnProperty(r)?n[r]:null}function nr(n){return n&&(n.hasOwnProperty(Wn)||n.hasOwnProperty(tr))?n[Wn]:null}const $n=M({\u0275prov:M}),Wn=M({\u0275inj:M}),Sn=M({ngInjectableDef:M}),tr=M({ngInjectorDef:M});var fn=(()=>((fn=fn||{})[fn.Default=0]="Default",fn[fn.Host=1]="Host",fn[fn.Self=2]="Self",fn[fn.SkipSelf=4]="SkipSelf",fn[fn.Optional=8]="Optional",fn))();let cn;function Ln(n){const r=cn;return cn=n,r}function hr(n,r,o){const h=Nn(n);return h&&"root"==h.providedIn?void 0===h.value?h.value=h.factory():h.value:o&fn.Optional?null:void 0!==r?r:void He(U(n))}const mn=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),Br={},yr="__NG_DI_FLAG__",$r="ngTempTokenPath",Tr=/\n/gm,Vt="__source";let Tt;function qt(n){const r=Tt;return Tt=n,r}function sn(n,r=fn.Default){if(void 0===Tt)throw new N(-203,!1);return null===Tt?hr(n,void 0,r):Tt.get(n,r&fn.Optional?null:void 0,r)}function Nt(n,r=fn.Default){return(function Fn(){return cn}()||sn)(H(n),r)}function ot(n,r=fn.Default){return Nt(n,Ue(r))}function Ue(n){return typeof n>"u"||"number"==typeof n?n:0|(n.optional&&8)|(n.host&&1)|(n.self&&2)|(n.skipSelf&&4)}function Ye(n){const r=[];for(let o=0;o<n.length;o++){const h=H(n[o]);if(Array.isArray(h)){if(0===h.length)throw new N(900,!1);let g,y=fn.Default;for(let A=0;A<h.length;A++){const $=h[A],ne=Oe($);"number"==typeof ne?-1===ne?g=$.token:y|=ne:g=$}r.push(Nt(g,y))}else r.push(Nt(h))}return r}function St(n,r){return n[yr]=r,n.prototype[yr]=r,n}function Oe(n){return n[yr]}function gt(n){return{toString:n}.toString()}var it=(()=>((it=it||{})[it.OnPush=0]="OnPush",it[it.Default=1]="Default",it))(),At=(()=>{return(n=At||(At={}
1))[n.Emulated=0]="Emulated",n[n.None=2]="None",n[n.ShadowDom=3]="ShadowDom",At;var n})();const We={},Ve=[],B=M({\u0275cmp:M}),ue=M({\u0275dir:M}),ve=M({\u0275pipe:M}),Le=M({\u0275mod:M}),Je=M({\u0275fac:M}),Jt=M({__NG_ELEMENT_ID__:M});let In=0;function er(n){return gt(()=>{const o=!0===n.standalone,h={},g={type:n.type,providersResolver:null,decls:n.decls,vars:n.vars,factory:null,template:n.template||null,consts:n.consts||null,ngContentSelectors:n.ngContentSelectors,hostBindings:n.hostBindings||null,hostVars:n.hostVars||0,hostAttrs:n.hostAttrs||null,contentQueries:n.contentQueries||null,declaredInputs:h,inputs:null,outputs:null,exportAs:n.exportAs||null,onPush:n.changeDetection===it.OnPush,directiveDefs:null,pipeDefs:null,standalone:o,dependencies:o&&n.dependencies||null,getStandaloneInjector:null,selectors:n.selectors||Ve,viewQuery:n.viewQuery||null,features:n.features||null,data:n.data||{},encapsulation:n.encapsulation||At.Emulated,id:"c"+In++,styles:n.styles||Ve,_:null,setInput:null,schemas:n.schemas||null,tView:null,findHostDirectiveDefs:null,hostDirectives:null},y=n.dependencies,A=n.features;return g.inputs=bs(n.inputs,h),g.outputs=bs(n.outputs),A&&A.forEach($=>$(g)),g.directiveDefs=y?()=>("function"==typeof y?y():y).map(Ir).filter(Jn):null,g.pipeDefs=y?()=>("function"==typeof y?y():y).map(Ti).filter(Jn):null,g})}function Ir(n){return Or(n)||ni(n)}function Jn(n){return null!==n}function ti(n){return gt(()=>({type:n.type,bootstrap:n.bootstrap||Ve,declarations:n.declarations||Ve,imports:n.imports||Ve,exports:n.exports||Ve,transitiveCompileScopes:null,schemas:n.schemas||null,id:n.id||null}))}function Qi(n,r){return gt(()=>{const o=ri(n,!0);o.declarations=r.declarations||Ve,o.imports=r.imports||Ve,o.exports=r.exports||Ve})}function bs(n,r){if(null==n)return We;const o={};for(const h in n)if(n.hasOwnProperty(h)){let g=n[h],y=g;Array.isArray(g)&&(y=g[1],g=g[0]),o[g]=h,r&&(r[g]=y)}return o}const Ui=er;function Yi(n){return{type:n.type,name:n.name,factory:null,pure:!1!==n.pure,standalone:!0===n.standalone,onDestroy:n.type.prototype.ngOnDestroy||null}}function Or(n){return n[B]||null}function ni(n){return n[ue]||null}function Ti(n){return n[ve]||null}function Yr(n){const r=Or(n)||ni(n)||Ti(n);return null!==r&&r.standalone}function ri(n,r){const o=n[Le]||null;if(!o&&!0===r)throw new Error(`Type ${U(n)} does not have '\u0275mod' property.`);return o}function Si(n){return Array.isArray(n)&&"object"==typeof n[1]}function Xn(n){return Array.isArray(n)&&!0===n[1]}function pn(n){return 0!=(4&n.flags)}function xs(n){return n.componentOffset>-1}function Oi(n){return 1==(1&n.flags)}function si(n){return null!==n.template}function Sr(n){return 0!=(256&n[2])}function yi(n,r){return n.hasOwnProperty(Je)?n[Je]:null}class dt{constructor(r,o,h){this.previousValue=r,this.currentValue=o,this.firstChange=h}isFirstChange(){return this.firstChange}}function Ke(){return bo}function bo(n){return n.type.prototype.ngOnChanges&&(n.setInput=as),Js}function Js(){const n=di(this),r=n?.current;if(r){const o=n.previous;if(o===We)n.previous=r;else for(let h in r)o[h]=r[h];n.current=null,this.ngOnChanges(r)}}function as(n,r,o,h){const g=this.declaredInputs[o],y=di(n)||function Hs(n,r){return n[ps]=r}(n,{previous:We,current:null}),A=y.current||(y.current={}),$=y.previous,ne=$[g];A[g]=new dt(ne&&ne.currentValue,r,$===We),n[h]=r}Ke.ngInherit=!0;const ps="__ngSimpleChanges__";function di(n){return n[ps]||null}function gi(n){for(;Array.isArray(n);)n=n[0];return n}function ts(n,r){return gi(r[n])}function wi(n,r){return gi(r[n.index])}function fa(n,r){return n.data[r]}function gs(n,r){return n[r]}function ns(n,r){const o=r[n];return Si(o)?o:o[0]}function Li(n){return 64==(64&n[2])}function le(n,r){return null==r?null:n[r]}function se(n){n[18]=0}function Q(n,r){n[5]+=r;let o=n,h=n[3];for(;null!==h&&(1===r&&1===o[5]||-1===r&&0===o[5]);)h[5]+=r,o=h,h=h[3]}const Ee={lFrame:Ra(null),bindingsEnabled:!0};function Eo(){return Ee.bindingsEnabled}function Zt(){return Ee.lFrame.lView}function Fr(){return Ee.lFrame.tView}function ba(n){return Ee.lFrame.contextLView=n,n[8]}function Qs(n){return Ee.lFrame.contextLView=null,n}function Vi(){let n=Rs();for(;null!==n&&64===n.type;)n=n.parent;return n}function Rs(){return Ee.lFrame.currentTNode}function Us(){const n=Ee.lFrame,r=n.currentTNode;return n.isParent?r:r.parent}function $i(n,r){const o=Ee.lFrame;o.currentTNode=n,o.isParent=r}function As(){return Ee.lFrame.isParent}function Ts(){Ee.lFrame.isParent=!1}function Hi(){const n=Ee.lFrame;let r=n.bindingRootIndex;return-1===r&&(r=n.bindingRootIndex=n.tView.bindingStartIndex),r}function Ds(){return Ee.lFrame.bindingIndex}function mi(){return Ee.lFrame.bindingIndex++}function Ri(n){const r=Ee.lFrame,o=r.bindingIndex;return r.bindingIndex=r.bindingIndex+n,o}function to(n){Ee.lFrame.inI18n=n}function no(n,r){const o=Ee.lFrame;o.bindingIndex=o.bindingRootIndex=n,Go(r)}function Go(n){Ee.lFrame.currentDirectiveIndex=n}function Uo(){return Ee.lFrame.currentQueryIndex}function il(n){Ee.lFrame.currentQueryIndex=n}function ja(n){const r=n[1];return 2===r.type?r.declTNode:1===r.type?n[6]:null}function $o(n,r,o){if(o&fn.SkipSelf){let g=r,y=n;for(;!(g=g.parent,null!==g||o&fn.Host||(g=ja(y),null===g||(y=y[15],10&g.type))););if(null===g)return!1;r=g,n=y}const h=Ee.lFrame=Na();return h.currentTNode=r,h.lView=n,!0}function Wa(n){const r=Na(),o=n[1];Ee.lFrame=r,r.currentTNode=o.firstChild,r.lView=n,r.tView=o,r.contextLView=n,r.bindingIndex=o.bindingStartIndex,r.inI18n=!1}function Na(){const n=Ee.lFrame,r=null===n?null:n.child;return null===r?Ra(n):r}function Ra(n){const r={currentTNode:null,isParent:!0,lView:null,tView:null,
vendor: 4,487 bytes, line 1
1selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:n,child:null,inI18n:!1};return null!==n&&(n.child=r),r}function pa(){const n=Ee.lFrame;return Ee.lFrame=n.parent,n.currentTNode=null,n.lView=null,n}const Mo=pa;function xo(){const n=pa();n.isParent=!0,n.tView=null,n.selectedIndex=-1,n.contextLView=null,n.elementDepthCount=0,n.currentDirectiveIndex=-1,n.currentNamespace=null,n.bindingRootIndex=-1,n.bindingIndex=-1,n.currentQueryIndex=0}function j(){return Ee.lFrame.selectedIndex}function ge(n){Ee.lFrame.selectedIndex=n}function q(){const n=Ee.lFrame;return fa(n.tView,n.selectedIndex)}function we(){Ee.lFrame.currentNamespace="svg"}function Lr(n,r){for(let o=r.directiveStart,h=r.directiveEnd;o<h;o++){const y=n.data[o].type.prototype,{ngAfterContentInit:A,ngAfterContentChecked:$,ngAfterViewInit:ne,ngAfterViewChecked:_e,ngOnDestroy:Me}=y;A&&(n.contentHooks||(n.contentHooks=[])).push(-o,A),$&&((n.contentHooks||(n.contentHooks=[])).push(o,$),(n.contentCheckHooks||(n.contentCheckHooks=[])).push(o,$)),ne&&(n.viewHooks||(n.viewHooks=[])).push(-o,ne),_e&&((n.viewHooks||(n.viewHooks=[])).push(o,_e),(n.viewCheckHooks||(n.viewCheckHooks=[])).push(o,_e)),null!=Me&&(n.destroyHooks||(n.destroyHooks=[])).push(o,Me)}}function Ur(n,r,o){K(n,r,3,o)}function zn(n,r,o,h){(3&n[2])===o&&K(n,r,o,h)}function G(n,r){let o=n[2];(3&o)===r&&(o&=2047,o+=1,n[2]=o)}function K(n,r,o,h){const y=h??-1,A=r.length-1;let $=0;for(let ne=void 0!==h?65535&n[18]:0;ne<A;ne++)if("number"==typeof r[ne+1]){if($=r[ne],null!=h&&$>=h)break}else r[ne]<0&&(n[18]+=65536),($<y||-1==y)&&(ye(n,o,r,ne),n[18]=(4294901760&n[18])+ne+2),ne++}function ye(n,r,o,h){const g=o[h]<0,y=o[h+1],$=n[g?-o[h]:o[h]];if(g){if(n[2]>>11<n[18]>>16&&(3&n[2])===r){n[2]+=2048;try{y.call($)}finally{}}}else try{y.call($)}finally{}}class xt{constructor(r,o,h){this.factory=r,this.resolving=!1,this.canSeeViewProviders=o,this.injectImpl=h}}function jo(n,r,o){let h=0;for(;h<o.length;){const g=o[h];if("number"==typeof g){if(0!==g)break;h++;const y=o[h++],A=o[h++],$=o[h++];n.setAttribute(r,A,$,y)}else{const y=g,A=o[++h];sa(y)?n.setProperty(r,y,A):n.setAttribute(r,y,A),h++}}return h}function sl(n){return 3===n||4===n||6===n}function sa(n){return 64===n.charCodeAt(0)}function Ii(n,r){if(null!==r&&0!==r.length)if(null===n||0===n.length)n=r.slice();else{let o=-1;for(let h=0;h<r.length;h++){const g=r[h];"number"==typeof g?o=g:0===o||oa(n,o,g,null,-1===o||2===o?r[++h]:null)}}return n}function oa(n,r,o,h,g){let y=0,A=n.length;if(-1===r)A=-1;else for(;y<n.length;){const $=n[y++];if("number"==typeof $){if($===r){A=-1;break}if($>r){A=y-1;break}}}for(;y<n.length;){const $=n[y];if("number"==typeof $)break;if($===o){if(null===h)return void(null!==g&&(n[y+1]=g));if(h===n[y+1])return void(n[y+2]=g)}y++,null!==h&&y++,null!==g&&y++}-1!==A&&(n.splice(A,0,r),y=A+1),n.splice(y++,0,o),null!==h&&n.splice(y++,0,h),null!==g&&n.splice(y++,0,g)}function Ta(n){return-1!==n}function Ka(n){return 32767&n}function ga(n,r){let o=function fo(n){return n>>16}(n),h=r;for(;o>0;)h=h[15],o--;return h}let aa=!0;function Ji(n){const r=aa;return aa=n,r}let Nl=0;const io={};function Fa(n,r){const o=ol(n,r);if(-1!==o)return o;const h=r[1];h.firstCreatePass&&(n.injectorIndex=r.length,Ca(h.data,n),Ca(r,null),Ca(h.blueprint,null));const g=so(n,r),y=n.injectorIndex;if(Ta(g)){const A=Ka(g),$=ga(g,r),ne=$[1].data;for(let _e=0;_e<8;_e++)r[y+_e]=$[A+_e]|ne[A+_e]}return r[y+8]=g,y}function Ca(n,r){n.push(0,0,0,0,0,0,0,0,r)}function ol(n,r){return-1===n.injectorIndex||n.parent&&n.parent.injectorIndex===n.injectorIndex||null===r[n.injectorIndex+8]?-1:n.injectorIndex}function so(n,r){if(n.parent&&-1!==n.parent.injectorIndex)return n.parent.injectorIndex;let o=0,h=null,g=r;for(;null!==g;){if(h=ji(g),null===h)return-1;if(o++,g=g[15],-1!==h.injectorIndex)return h.injectorIndex|o<<16}return-1}function zo(n,r,o){!function ks(n,r,o){let h;"string"==typeof o?h=o.charCodeAt(0)||0:o.hasOwnProperty(Jt)&&(h=o[Jt]),null==h&&(h=o[Jt]=Nl++);const g=255&h;r.data[n+(g>>5)]|=1<<g}(n,r,o)}function oo(n,r,o){if(o&fn.Optional||void 0!==n)return n;He()}function $s(n,r,o,h){if(o&fn.Optional&&void 0===h&&(h=null),0==(o&(fn.Self|fn.Host))){const g=n[9],y=Ln(void 0);try{return g?g.get(r,h,o&fn.Optional):hr(r,h,o&fn.Optional)}finally{Ln(y)}}return oo(h,0,o)}function Ko(n,r,o,h=fn.Default,g){if(null!==n){if(1024&r[2]){const A=function cu(n,r,o,h,g){let y=n,A=r;
vendor: 4,512 bytes, line 1
1for(;null!==y&&null!==A&&1024&A[2]&&!(256&A[2]);){const $=ls(y,A,o,h|fn.Self,io);if($!==io)return $;let ne=y.parent;if(!ne){const _e=A[21];if(_e){const Me=_e.get(o,io,h);if(Me!==io)return Me}ne=ji(A),A=A[15]}y=ne}return g}(n,r,o,h,io);if(A!==io)return A}const y=ls(n,r,o,h,io);if(y!==io)return y}return $s(r,o,h,g)}function ls(n,r,o,h,g){const y=function La(n){if("string"==typeof n)return n.charCodeAt(0)||0;const r=n.hasOwnProperty(Jt)?n[Jt]:void 0;return"number"==typeof r?r>=0?255&r:Ro:r}(o);if("function"==typeof y){if(!$o(r,n,h))return h&fn.Host?oo(g,0,h):$s(r,o,h,g);try{const A=y(h);if(null!=A||h&fn.Optional)return A;He()}finally{Mo()}}else if("number"==typeof y){let A=null,$=ol(n,r),ne=-1,_e=h&fn.Host?r[16][6]:null;for((-1===$||h&fn.SkipSelf)&&(ne=-1===$?so(n,r):r[$+8],-1!==ne&&rs(h,!1)?(A=r[1],$=Ka(ne),r=ga(ne,r)):$=-1);-1!==$;){const Me=r[1];if(al(y,$,Me.data)){const Ze=po($,r,o,A,h,_e);if(Ze!==io)return Ze}ne=r[$+8],-1!==ne&&rs(h,r[1].data[$+8]===_e)&&al(y,$,r)?(A=Me,$=Ka(ne),r=ga(ne,r)):$=-1}}return g}function po(n,r,o,h,g,y){const A=r[1],$=A.data[n+8],Me=qa($,A,o,null==h?xs($)&&aa:h!=A&&0!=(3&$.type),g&fn.Host&&y===$);return null!==Me?Sa(r,A,Me,$):io}function qa(n,r,o,h,g){const y=n.providerIndexes,A=r.data,$=1048575&y,ne=n.directiveStart,Me=y>>20,ht=g?$+Me:n.directiveEnd;for(let Pt=h?$:$+Me;Pt<ht;Pt++){const Yt=A[Pt];if(Pt<ne&&o===Yt||Pt>=ne&&Yt.type===o)return Pt}if(g){const Pt=A[ne];if(Pt&&si(Pt)&&Pt.type===o)return ne}return null}function Sa(n,r,o,h){let g=n[o];const y=r.data;if(function Mn(n){return n instanceof xt}(g)){const A=g;A.resolving&&function pe(n,r){const o=r?`. Dependency path: ${r.join(" > ")} > ${n}`:"";throw new N(-200,`Circular dependency in DI detected for ${n}${o}`)}(function J(n){return"function"==typeof n?n.name||n.toString():"object"==typeof n&&null!=n&&"function"==typeof n.type?n.type.name||n.type.toString():X(n)}(y[o]));const $=Ji(A.canSeeViewProviders);A.resolving=!0;const ne=A.injectImpl?Ln(A.injectImpl):null;$o(n,h,fn.Default);try{g=n[o]=A.factory(void 0,y,n,h),r.firstCreatePass&&o>=h.directiveStart&&function rr(n,r,o){const{ngOnChanges:h,ngOnInit:g,ngDoCheck:y}=r.type.prototype;if(h){const A=bo(r);(o.preOrderHooks||(o.preOrderHooks=[])).push(n,A),(o.preOrderCheckHooks||(o.preOrderCheckHooks=[])).push(n,A)}g&&(o.preOrderHooks||(o.preOrderHooks=[])).push(0-n,g),y&&((o.preOrderHooks||(o.preOrderHooks=[])).push(n,y),(o.preOrderCheckHooks||(o.preOrderCheckHooks=[])).push(n,y))}(o,y[o],r)}finally{null!==ne&&Ln(ne),Ji($),A.resolving=!1,Mo()}}return g}function al(n,r,o){return!!(o[r+(n>>5)]&1<<n)}function rs(n,r){return!(n&fn.Self||n&fn.Host&&r)}class So{constructor(r,o){this._tNode=r,this._lView=o}get(r,o,h){return Ko(this._tNode,this._lView,r,Ue(h),o)}}function Ro(){return new So(Vi(),Zt())}function ll(n){return gt(()=>{const r=n.prototype.constructor,o=r[Je]||El(r),h=Object.prototype;let g=Object.getPrototypeOf(n.prototype).constructor;for(;g&&g!==h;){const y=g[Je]||El(g);if(y&&y!==o)return y;g=Object.getPrototypeOf(g)}return y=>new y})}function El(n){return ee(n)?()=>{const r=El(H(n));return r&&r()}:yi(n)}function ji(n){const r=n[1],o=r.type;return 2===o?r.declTNode:1===o?n[6]:null}function wa(n){return function bl(n,r){if("class"===r)return n.classes;if("style"===r)return n.styles;const o=n.attrs;if(o){const h=o.length;let g=0;for(;g<h;){const y=o[g];if(sl(y))break;if(0===y)g+=2;else if("number"==typeof y)for(g++;g<h&&"string"==typeof o[g];)g++;else{if(y===r)return o[g+1];g+=2}}}return null}(Vi(),n)}const Ya="__parameters__";function Ba(n,r,o){return gt(()=>{const h=function us(n){return function(...o){if(n){const h=n(...o);for(const g in h)this[g]=h[g]}}}(r);function g(...y){if(this instanceof g)return h.apply(this,y),this;const A=new g(...y);return $.annotation=A,$;function $(ne,_e,Me){const Ze=ne.hasOwnProperty(Ya)?ne[Ya]:Object.defineProperty(ne,Ya,{value:[]})[Ya];for(;Ze.length<=Me;)Ze.push(null);return(Ze[Me]=Ze[Me]||[]).push(A),ne}}return o&&(g.prototype=Object.create(o.prototype)),g.prototype.ngMetadataName=n,g.annotationCls=g,g})}class bi{constructor(r,o){this._desc=r,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof o?this.__NG_ELEMENT_ID__=o:void 0!==o&&(this.\u0275prov=Xt({token:this,providedIn:o.providedIn||"root",factory:o.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Wr(n,r){void 0===r&&(r=n);for(let o=0;o<n.length;o++){let h=n[o];Array.isArray(h)?(r===n&&(r=n.slice(0,o)),Wr(h,r)):r!==n&&r.push(h)}return r}
1function sr(n,r){n.forEach(o=>Array.isArray(o)?sr(o,r):r(o))}function cs(n,r,o){r>=n.length?n.push(o):n.splice(r,0,o)}function Gi(n,r){return r>=n.length-1?n.pop():n.splice(r,1)[0]}function Pi(n,r){const o=[];for(let h=0;h<n;h++)o.push(r);return o}function go(n,r,o){let h=fe(n,r);return h>=0?n[1|h]=o:(h=~h,function Zo(n,r,o,h){let g=n.length;if(g==r)n.push(o,h);else if(1===g)n.push(h,n[0]),n[0]=o;else{for(g--,n.push(n[g-1],n[g]);g>r;)n[g]=n[g-2],g--;n[r]=o,n[r+1]=h}}(n,h,r,o)),h}function re(n,r){const o=fe(n,r);if(o>=0)return n[1|o]}function fe(n,r){return function et(n,r,o){let h=0,g=n.length>>o;for(;g!==h;){const y=h+(g-h>>1),A=n[y<<o];if(r===A)return y<<o;A>r?g=y:h=y+1}return~(g<<o)}(n,r,1)}const js=St(Ba("Inject",n=>({token:n})),-1),Ki=St(Ba("Optional"),8),ma=St(Ba("SkipSelf"),4);var ds=(()=>((ds=ds||{})[ds.Important=1]="Important",ds[ds.DashCase=2]="DashCase",ds))();const Nu=/^>|^->|<!--|-->|--!>|<!-$/g,ud=/(<|>)/;const hu=new Map;let Ll=0;function zs(n){return hu.get(n)||null}class pl{constructor(r,o,h){this.lViewId=r,this.nodeIndex=o,this.native=h}get lView(){return zs(this.lViewId)}}function oi(n){let r=Se(n);if(r){if(Si(r)){const o=r;let h,g,y;if(bt(n)){if(h=function Gr(n,r){const o=n[1].components;if(o)for(let h=0;h<o.length;h++){const g=o[h];if(ns(g,n)[8]===r)return g}else if(ns(22,n)[8]===r)return 22;return-1}(o,n),-1==h)throw new Error("The provided component was not found in the application");g=n}else if(function Qt(n){return n&&n.constructor&&n.constructor.\u0275dir}(n)){if(h=function is(n,r){let o=n[1].firstChild;for(;o;){const g=o.directiveEnd;for(let y=o.directiveStart;y<g;y++)if(n[y]===r)return o.index;o=ur(o)}return-1}(o,n),-1==h)throw new Error("The provided directive was not found in the application");y=function la(n,r){const o=r[1].data[n];if(0===o.directiveStart)return Ve;const h=[];for(let g=o.directiveStart;g<o.directiveEnd;g++){const y=r[g];bt(y)||h.push(y)}return h}(h,o)}else if(h=Gn(o,n),-1==h)return null;const A=gi(o[h]),$=Se(A),ne=$&&!Array.isArray($)?$:R(o,h,A);if(g&&void 0===ne.component&&(ne.component=g,W(ne.component,ne)),y&&void 0===ne.directives){ne.directives=y;for(let _e=0;_e<y.length;_e++)W(y[_e],ne)}W(ne.native,ne),r=ne}}else{const o=n;let h=o;for(;h=h.parentNode;){const g=Se(h);if(g){const y=Array.isArray(g)?g:g.lView;if(!y)return null;const A=Gn(y,o);if(A>=0){const $=gi(y[A]),ne=R(y,A,$);W($,ne),r=ne;break}}}}return r||null}function R(n,r,o){return new pl(n[20],r,o)}const C="__ngContext__";function W(n,r){Si(r)?(n[C]=r[20],function Bl(n){hu.set(n[20],n)}(r)):n[C]=r}function Se(n){const r=n[C];return"number"==typeof r?zs(r):r||null}function bt(n){return n&&n.constructor&&n.constructor.\u0275cmp}function Gn(n,r){const o=n[1];for(let h=22;h<o.bindingStartIndex;h++)if(gi(n[h])===r)return h;return-1}function ur(n){if(n.child)return n.child;if(n.next)return n.next;for(;n.parent&&!n.parent.next;)n=n.parent;return n.parent&&n.parent.next}let pu;function lo(n,r){return pu(n,r)}function Ha(n){const r=n[3];return Xn(r)?r[3]:r}function ko(n){return gu(n[13])}function Jo(n){return gu(n[4])}function gu(n){for(;null!==n&&!Xn(n);)n=n[4];return n}function Ga(n,r,o,h,g){if(null!=h){let y,A=!1;Xn(h)?y=h:Si(h)&&(A=!0,h=h[0]);const $=gi(h);0===n&&null!==o?null==g?jd(r,o,$):zr(r,o,$,g||null,!0):1===n&&null!==o?zr(r,o,$,g||null,!0):2===n?Tc(r,$,A):3===n&&r.destroyNode($),null!=y&&function vd(n,r,o,h,g){const y=o[7];y!==gi(o)&&Ga(r,n,h,y,g);for(let $=10;$<o.length;$++){const ne=o[$];nc(ne[1],ne,n,r,h,y)}}(r,n,y,o,g)}}function vc(n,r){return n.createText(r)}function Gd(n,r,o){n.setValue(r,o)}function Xu(n,r){return n.createComment(function Zu(n){return n.replace(Nu,r=>r.replace(ud,"\u200b$1\u200b"))}(r))}function Qo(n,r,o){return n.createElement(r,o)}function dd(n,r){const o=n[9],h=o.indexOf(r),g=r[3];512&r[2]&&(r[2]&=-513,Q(g,-1)),o.splice(h,1)}function yc(n,r){if(n.length<=10)return;const o=10+r,h=n[o];if(h){const g=h[17];null!==g&&g!==n&&dd(g,h),r>0&&(n[o-1][4]=h[4]);const y=Gi(n,10+r);!function Ru(n,r){nc(n,r,r[11],2,null,null),r[0]=null,r[6]=null}(h[1],h);const A=y[19];null!==A&&A.detachView(y[1]),h[3]=null,h[4]=null,h[2]&=-65}return h}function hd(n,r){if(!(128&r[2])){const o=r[11];o.destroyNode&&nc(n,r,o,3,null,null),function cd(n){let r=n[13];if(!r)return bc(n[1],n);for(;r;){let o=null;if(Si(r))o=r[13];else{const h=r[10];h&&(o=h)}if(!o){for(;r&&!r[4]&&r!==n;)Si(r)&&bc(r[1],r),r=r[3];null===r&&(r=n),Si(r)&&bc(r[1],r),o=r&&r[4]}r=o}}(r)}}function bc(n,r){if(!(128&r[2])){r[2]&=-65,r[2]|=128,function Ju(n,r){let o;if(null!=n&&null!=(o=n.destroyHooks))for(let h=0;h<o.length;h+=2){const g=r[o[h]];if(!(g instanceof xt)){const y=o[h+1];if(Array.isArray(y))for(let A=0;A<y.length;A+=2){const $=g[y[A]],ne=y[A+1];try{ne.call($)}finally{}}else try{y.call(g)}finally{}}}}(n,r),function $d(n,r){const o=n.cleanup,h=r[7];let g=-1;if(null!==o)for(let y=0;y<o.length-1;y+=2)if("string"==typeof o[y]){const A=o[y+3];A>=0?h[g=A]():h[g=-A].unsubscribe(),y+=2}else{const A=h[g=o[y+1]];o[y].call(A)}if(null!==h){for(let y=g+1;y<h.length;y++)(0,h[y])();r[7]=null}}(n,r),1===r[1].type&&r[11].destroy();const o=r[17];if(null!==o&&Xn(r[3])){o!==r[3]&&dd(o,r);const h=r[19];null!==h&&h.detachView(n)}!function fu(n){hu.delete(n[20])}(r)}}function Qu(n,r,o){return fd(n,r.parent,o)}function fd(n,r,o){let h=r;for(;null!==h&&40&h.type;)h=(r=h).parent;if(null===h)return o[0];
vendor: 16,026 bytes, line 1
1{const{componentOffset:g}=h;if(g>-1){const{encapsulation:y}=n.data[h.directiveStart+g];if(y===At.None||y===At.Emulated)return null}return wi(h,o)}}function zr(n,r,o,h,g){n.insertBefore(r,o,h,g)}function jd(n,r,o){n.appendChild(r,o)}function ec(n,r,o,h,g){null!==h?zr(n,r,o,h,g):jd(n,r,o)}function Hl(n,r){return n.parentNode(r)}function tc(n,r,o){return Ec(n,r,o)}function pd(n,r,o){return 40&n.type?wi(n,o):null}let Il,Ac,Ul,Dc,Ec=pd;function ku(n,r){Ec=n,Il=r}function Fu(n,r,o,h){const g=Qu(n,h,r),y=r[11],$=tc(h.parent||r[6],h,r);if(null!=g)if(Array.isArray(o))for(let ne=0;ne<o.length;ne++)ec(y,g,o[ne],$,!1);else ec(y,g,o,$,!1);void 0!==Il&&Il(y,h,r,o,g)}function Gl(n,r){if(null!==r){const o=r.type;if(3&o)return wi(r,n);if(4&o)return md(-1,n[r.index]);if(8&o){const h=r.child;if(null!==h)return Gl(n,h);{const g=n[r.index];return Xn(g)?md(-1,g):gi(g)}}if(32&o)return lo(r,n)()||gi(n[r.index]);{const h=gd(n,r);return null!==h?Array.isArray(h)?h[0]:Gl(Ha(n[16]),h):Gl(n,r.next)}}return null}function gd(n,r){return null!==r?n[16][6].projection[r.projection]:null}function md(n,r){const o=10+n+1;if(o<r.length){const h=r[o],g=h[1].firstChild;if(null!==g)return Gl(h,g)}return r[7]}function Tc(n,r,o){const h=Hl(n,r);h&&function ea(n,r,o,h){n.removeChild(r,o,h)}(n,h,r,o)}function _d(n,r,o,h,g,y,A){for(;null!=o;){const $=h[o.index],ne=o.type;if(A&&0===r&&($&&W(gi($),h),o.flags|=2),32!=(32&o.flags))if(8&ne)_d(n,r,o.child,h,g,y,!1),Ga(r,n,g,$,y);else if(32&ne){const _e=lo(o,h);let Me;for(;Me=_e();)Ga(r,n,g,Me,y);Ga(r,n,g,$,y)}else 16&ne?zd(n,r,h,o,g,y):Ga(r,n,g,$,y);o=A?o.projectionNext:o.next}}function nc(n,r,o,h,g,y){_d(o,h,n.firstChild,r,g,y,!1)}function zd(n,r,o,h,g,y){const A=o[16],ne=A[6].projection[h.projection];if(Array.isArray(ne))for(let _e=0;_e<ne.length;_e++)Ga(r,n,g,ne[_e],y);else _d(n,r,ne,A[3],g,y,!0)}function wc(n,r,o){""===o?n.removeAttribute(r,"class"):n.setAttribute(r,"class",o)}function Kd(n,r,o){const{mergedAttrs:h,classes:g,styles:y}=o;null!==h&&jo(n,r,h),null!==g&&wc(n,r,g),null!==y&&function Sc(n,r,o){n.setAttribute(r,"style",o)}(n,r,y)}function ua(n){return function yd(){if(void 0===Ac&&(Ac=null,mn.trustedTypes))try{Ac=mn.trustedTypes.createPolicy("angular",{createHTML:n=>n,createScript:n=>n,createScriptURL:n=>n})}catch{}return Ac}()?.createHTML(n)||n}function Zd(n){Ul=n}function bd(){return void 0!==Ul?Ul:typeof document<"u"?document:void 0}function Ed(){if(void 0===Dc&&(Dc=null,mn.trustedTypes))try{Dc=mn.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:n=>n,createScript:n=>n,createScriptURL:n=>n})}catch{}return Dc}function Td(n){return Ed()?.createHTML(n)||n}function Ic(n){return Ed()?.createScriptURL(n)||n}class $l{constructor(r){this.changingThisBreaksApplicationSecurity=r}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Y})`}}class af extends $l{getTypeName(){return"HTML"}}class Jd extends $l{getTypeName(){return"Style"}}class Qd extends $l{getTypeName(){return"Script"}}class Cd extends $l{getTypeName(){return"URL"}}class lf extends $l{getTypeName(){return"ResourceURL"}}function Pl(n){return n instanceof $l?n.changingThisBreaksApplicationSecurity:n}function Lu(n,r){const o=function Sd(n){return n instanceof $l&&n.getTypeName()||null}(n);if(null!=o&&o!==r){if("ResourceURL"===o&&"URL"===r)return!0;throw new Error(`Required a safe ${r}, got a ${o} (see ${Y})`)}return o===r}function Pc(n){return new af(n)}function eh(n){return new Jd(n)}function uf(n){return new Qd(n)}function cf(n){return new Cd(n)}function df(n){return new lf(n)}function th(n){const r=new hf(n);return function Pp(){try{return!!(new window.DOMParser).parseFromString(ua(""),"text/html")}catch{return!1}}()?new Mc(r):r}class Mc{constructor(r){this.inertDocumentHelper=r}getInertBodyElement(r){r="<body><remove></remove>"+r;try{const o=(new window.DOMParser).parseFromString(ua(r),"text/html").body;return null===o?this.inertDocumentHelper.getInertBodyElement(r):(o.removeChild(o.firstChild),o)}catch{return null}}}class hf{constructor(r){if(this.defaultDoc=r,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const o=this.inertDocument.createElement("html");this.inertDocument.appendChild(o);const h=this.inertDocument.createElement("body");o.appendChild(h)}}getInertBodyElement(r){const o=this.inertDocument.createElement("template");if("content"in o)return o.innerHTML=ua(r),o;const h=this.inertDocument.createElement("body");return h.innerHTML=ua(r),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(h),h}stripCustomNsAttrs(r){const o=r.attributes;for(let g=o.length-1;0<g;g--){const A=o.item(g).name;("xmlns:ns1"===A||0===A.indexOf("ns1:"))&&r.removeAttribute(A)}let h=r.firstChild;for(;h;)h.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(h),h=h.nextSibling}}const Mp=/^(?:(?:https?|mailto|data|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi;function xc(n){return(n=String(n)).match(Mp)?n:"unsafe:"+n}function gl(n){const r={};for(const o of n.split(","))r[o]=!0;return r}function Oc(...n){const r={};for(const o of n)for(const h in o)o.hasOwnProperty(h)&&(r[h]=!0);return r}const Nc=gl("area,br,col,hr,img,wbr"),nh=gl("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),rh=gl("rp,rt"),sh=Oc(Nc,Oc(nh,gl("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")),Oc(rh,gl("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")),Oc(rh,nh)),oh=gl("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),ff=Oc(oh,gl("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"),gl("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")),pf=gl("script,style,template");class ml{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(r){let o=r.firstChild,h=!0;for(;o;)if(o.nodeType===Node.ELEMENT_NODE?h=this.startElement(o):o.nodeType===Node.TEXT_NODE?this.chars(o.nodeValue):this.sanitizedSomething=!0,h&&o.firstChild)o=o.firstChild;else for(;o;){o.nodeType===Node.ELEMENT_NODE&&this.endElement(o);let g=this.checkClobberedElement(o,o.nextSibling);if(g){o=g;break}o=this.checkClobberedElement(o,o.parentNode)}return this.buf.join("")}startElement(r){const o=r.nodeName.toLowerCase();if(!sh.hasOwnProperty(o))return this.sanitizedSomething=!0,!pf.hasOwnProperty(o);this.buf.push("<"),this.buf.push(o);const h=r.attributes;for(let g=0;g<h.length;g++){const y=h.item(g),A=y.name,$=A.toLowerCase();if(!ff.hasOwnProperty($)){this.sanitizedSomething=!0;continue}let ne=y.value;oh[$]&&(ne=xc(ne)),this.buf.push(" ",A,'="',p(ne),'"')}return this.buf.push(">"),!0}endElement(r){const o=r.nodeName.toLowerCase();sh.hasOwnProperty(o)&&!Nc.hasOwnProperty(o)&&(this.buf.push("</"),this.buf.push(o),this.buf.push(">"))}chars(r){this.buf.push(p(r))}checkClobberedElement(r,o){if(o&&(r.compareDocumentPosition(o)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${r.outerHTML}`);return o}}const ah=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,gf=/([^\#-~ |!])/g;function p(n){return n.replace(/&/g,"&amp;").replace(ah,function(r){return"&#"+(1024*(r.charCodeAt(0)-55296)+(r.charCodeAt(1)-56320)+65536)+";"}).replace(gf,function(r){return"&#"+r.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let T;function c(n,r){let o=null;try{T=T||th(n);let h=r?String(r):"";o=T.getInertBodyElement(h);let g=5,y=h;do{if(0===g)throw new Error("Failed to sanitize html because the input is unstable");g--,h=y,y=o.innerHTML,o=T.getInertBodyElement(h)}while(h!==y);return ua((new ml).sanitizeChildren(v(o)||o))}finally{if(o){const h=v(o)||o;for(;h.firstChild;)h.removeChild(h.firstChild)}}}function v(n){return"content"in n&&function x(n){return n.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===n.nodeName}(n)?n.content:null}var ie=(()=>((ie=ie||{})[ie.NONE=0]="NONE",ie[ie.HTML=1]="HTML",ie[ie.STYLE=2]="STYLE",ie[ie.SCRIPT=3]="SCRIPT",ie[ie.URL=4]="URL",ie[ie.RESOURCE_URL=5]="RESOURCE_URL",ie))();function $e(n){const r=Qr();return r?Td(r.sanitize(ie.HTML,n)||""):Lu(n,"HTML")?Td(Pl(n)):c(bd(),X(n))}function ct(n){const r=Qr();return r?r.sanitize(ie.URL,n)||"":Lu(n,"URL")?Pl(n):xc(X(n))}function It(n){const r=Qr();if(r)return Ic(r.sanitize(ie.RESOURCE_URL,n)||"");if(Lu(n,"ResourceURL"))return Ic(Pl(n));throw new N(904,!1)}function Jr(n,r,o){return function On(n,r){return"src"===r&&("embed"===n||"frame"===n||"iframe"===n||"media"===n||"script"===n)||"href"===r&&("base"===n||"link"===n)?It:ct}(r,o)(n)}function Qr(){const n=Zt();return n&&n[12]}const Rr=new bi("ENVIRONMENT_INITIALIZER"),Wi=new bi("INJECTOR",-1),Ei=new bi("INJECTOR_DEF_TYPES");class _i{get(r,o=Br){if(o===Br){const h=new Error(`NullInjectorError: No provider for ${U(r)}!`);throw h.name="NullInjectorError",h}return o}}function fi(n){return{\u0275providers:n}}function zi(...n){return{\u0275providers:Mi(0,n),\u0275fromNgModule:!0}}function Mi(n,...r){const o=[],h=new Set;let g;return sr(r,y=>{const A=y;Cs(A,o,[],h)&&(g||(g=[]),g.push(A))}),void 0!==g&&qs(g,o),o}function qs(n,r){for(let o=0;o<n.length;o++){const{providers:g}=n[o];Fo(g,y=>{r.push(y)})}}function Cs(n,r,o,h){if(!(n=H(n)))return!1;let g=null,y=nr(n);const A=!y&&Or(n);if(y||A){if(A&&!A.standalone)return!1;g=n}else{const ne=n.ngModule;if(y=nr(ne),!y)return!1;g=ne}const $=h.has(g);if(A){if($)return!1;if(h.add(g),A.dependencies){const ne="function"==typeof A.dependencies?A.dependencies():A.dependencies;for(const _e of ne)Cs(_e,r,o,h)}}else{if(!y)return!1;{if(null!=y.imports&&!$){let _e;h.add(g);try{sr(y.imports,Me=>{Cs(Me,r,o,h)&&(_e||(_e=[]),_e.push(Me))})}finally{}void 0!==_e&&qs(_e,r)}if(!$){const _e=yi(g)||(()=>new g);r.push({provide:g,useFactory:_e,deps:Ve},{provide:Ei,useValue:g,multi:!0},{provide:Rr,useValue:()=>Nt(g),multi:!0})}const ne=y.providers;null==ne||$||Fo(ne,Me=>{r.push(Me)})}}return g!==n&&void 0!==n.providers}function Fo(n,r){for(let o of n)ae(o)&&(o=o.\u0275providers),Array.isArray(o)?Fo(o,r):r(o)}const xr=M({provide:String,useValue:M});function jl(n){return null!==n&&"object"==typeof n&&xr in n}function _o(n){return"function"==typeof n}const Ml=new bi("Set Injector scope."),mu={},_u={};let Wl;function vu(){return void 0===Wl&&(Wl=new _i),Wl}class Ao{}class tl extends Ao{constructor(r,o,h,g){super(),this.parent=o,this.source=h,this.scopes=g,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Fc(r,A=>this.processProvider(A)),this.records.set(Wi,Bu(void 0,this)),g.has("environment")&&this.records.set(Ao,Bu(void 0,this));const y=this.records.get(Ml);null!=y&&"string"==typeof y.value&&this.scopes.add(y.value),this.injectorDefTypes=new Set(this.get(Ei.multi,Ve,fn.Self))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const r of this._ngOnDestroyHooks)r.ngOnDestroy();for(const r of this._onDestroyHooks)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(r){this._onDestroyHooks.push(r)}runInContext(r){this.assertNotDestroyed();const o=qt(this),h=Ln(void 0);try{return r()}finally{qt(o),Ln(h)}}get(r,o=Br,h=fn.Default){this.assertNotDestroyed(),h=Ue(h);const g=qt(this),y=Ln(void 0);try{if(!(h&fn.SkipSelf)){let $=this.records.get(r);if(void 0===$){const ne=function lh(n){return"function"==typeof n||"object"==typeof n&&n instanceof bi}(r)&&Nn(r);$=ne&&this.injectableDefInScope(ne)?Bu(yu(r),mu):null,this.records.set(r,$)}if(null!=$)return this.hydrate(r,$)}return(h&fn.Self?vu():this.parent).get(r,o=h&fn.Optional&&o===Br?null:o)}catch(A){if("NullInjectorError"===A.name){if((A[$r]=A[$r]||[]).unshift(U(r)),g)throw A;return function Ge(n,r,o,h){const g=n[$r];throw r[Vt]&&g.unshift(r[Vt]),n.message=function Qe(n,r,o,h=null){n=n&&"\n"===n.charAt(0)&&"\u0275"==n.charAt(1)?n.slice(2):n;let g=U(r);if(Array.isArray(r))g=r.map(U).join(" -> ");else if("object"==typeof r){let y=[];for(let A in r)if(r.hasOwnProperty(A)){let $=r[A];y.push(A+":"+("string"==typeof $?JSON.stringify($):U($)))}g=`{${y.join(", ")}}`}return`${o}${h?"("+h+")":""}[${g}]: ${n.replace(Tr,"\n  ")}`}("\n"+n.message,g,o,h),n.ngTokenPath=g,n[$r]=null,n}(A,r,"R3InjectorError",this.source)}throw A}finally{Ln(y),qt(g)}}resolveInjectorInitializers(){const r=qt(this),o=Ln(void 0);try{const h=this.get(Rr.multi,Ve,fn.Self);for(const g of h)g()}finally{qt(r),Ln(o)}}toString(){const r=[],o=this.records;for(const h of o.keys())r.push(U(h));return`R3Injector[${r.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new N(205,!1)}processProvider(r){let o=_o(r=H(r))?r:H(r&&r.provide);const h=function zl(n){return jl(n)?Bu(void 0,n.useValue):Bu(kc(n),mu)}(r);if(_o(r)||!0!==r.multi)this.records.get(o);else{let g=this.records.get(o);g||(g=Bu(void 0,mu,!0),g.factory=()=>Ye(g.multi),this.records.set(o,g)),o=r,g.multi.push(r)}this.records.set(o,h)}hydrate(r,o){return o.value===mu&&(o.value=_u,o.value=o.factory()),"object"==typeof o.value&&o.value&&function mf(n){return null!==n&&"object"==typeof n&&"function"==typeof n.ngOnDestroy}(o.value)&&this._ngOnDestroyHooks.add(o.value),o.value}injectableDefInScope(r){if(!r.providedIn)return!1;const o=H(r.providedIn);return"string"==typeof o?"any"===o||this.scopes.has(o):this.injectorDefTypes.has(o)}}function yu(n){const r=Nn(n),o=null!==r?r.factory:yi(n);if(null!==o)return o;if(n instanceof bi)throw new N(204,!1);if(n instanceof Function)return function ta(n){const r=n.length;if(r>0)throw Pi(r,"?"),new N(204,!1);const o=function un(n){const r=n&&(n[$n]||n[Sn]);if(r){const o=function dr(n){if(n.hasOwnProperty("name"))return n.name;const r=(""+n).match(/^function\s*([^\s(]+)/);return null===r?"":r[1]}(n);return console.warn(`DEPRECATED: DI is instantiating a token "${o}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${o}" class.`),r}return null}(n);return null!==o?()=>o.factory(n):()=>new n}(n);throw new N(204,!1)}function kc(n,r,o){let h;if(_o(n)){const g=H(n);return yi(g)||yu(g)}if(jl(n))h=()=>H(n.useValue);else if(function ca(n){return!(!n||!n.useFactory)}(n))h=()=>n.useFactory(...Ye(n.deps||[]));else if(function el(n){return!(!n||!n.useExisting)}(n))h=()=>Nt(H(n.useExisting));else{const g=H(n&&(n.useClass||n.provide));if(!function wd(n){return!!n.deps}(n))return yi(g)||yu(g);h=()=>new g(...Ye(n.deps))}return h}function Bu(n,r,o=!1){return{factory:n,value:r,multi:o?[]:void 0}}function Fc(n,r){for(const o of n)Array.isArray(o)?Fc(o,r):o&&ae(o)?Fc(o.\u0275providers,r):r(o)}class _f{}class bu{}class nl{resolveComponentFactory(r){throw function rc(n){const r=Error(`No component factory found for ${U(n)}
1. Did you add it to @NgModule.entryComponents?`);return r.ngComponent=n,r}(r)}}let Kl=(()=>{class n{}return n.NULL=new nl,n})();function Bc(){return ql(Vi(),Zt())}function ql(n,r){return new Yl(wi(n,r))}let Yl=(()=>{class n{constructor(o){this.nativeElement=o}}return n.__NG_ELEMENT_ID__=Bc,n})();function Ad(n){return n instanceof Yl?n.nativeElement:n}class Vc{}let uh=(()=>{class n{}return n.__NG_ELEMENT_ID__=()=>function Dd(){const n=Zt(),o=ns(Vi().index,n);return(Si(o)?o:n)[11]}(),n})(),Pm=(()=>{class n{}return n.\u0275prov=Xt({token:n,providedIn:"root",factory:()=>null}),n})();class Op{constructor(r){this.full=r,this.major=r.split(".")[0],this.minor=r.split(".")[1],this.patch=r.split(".").slice(2).join(".")}}const Np=new Op("15.0.2"),ch={};function hh(n){return n.ngOriginalError}class fh{constructor(){this._console=console}handleError(r){const o=this._findOriginalError(r);this._console.error("ERROR",r),o&&this._console.error("ORIGINAL ERROR",o)}_findOriginalError(r){let o=r&&hh(r);for(;o&&hh(o);)o=hh(o);return o||null}}function Rp(n){return n.ownerDocument.defaultView}function kp(n){return n.ownerDocument}function Eu(n){return n instanceof Function?n():n}function yf(n,r,o){let h=n.length;for(;;){const g=n.indexOf(r,o);if(-1===g)return g;if(0===g||n.charCodeAt(g-1)<=32){const y=r.length;if(g+y===h||n.charCodeAt(g+y)<=32)return g}o=g+1}}const Lp="ng-template";function Lm(n,r,o){let h=0;for(;h<n.length;){let g=n[h++];if(o&&"class"===g){if(g=n[h],-1!==yf(g.toLowerCase(),r,0))return!0}else if(1===g){for(;h<n.length&&"string"==typeof(g=n[h++]);)if(g.toLowerCase()===r)return!0;return!1}}return!1}function Bp(n){return 4===n.type&&n.value!==Lp}function bf(n,r,o){return r===(4!==n.type||o?n.value:Lp)}function Bm(n,r,o){let h=4;const g=n.attrs||[],y=function Vm(n){for(let r=0;r<n.length;r++)if(sl(n[r]))return r;return n.length}(g);let A=!1;for(let $=0;$<r.length;$++){const ne=r[$];if("number"!=typeof ne){if(!A)if(4&h){if(h=2|1&h,""!==ne&&!bf(n,ne,o)||""===ne&&1===r.length){if(Zl(h))return!1;A=!0}}else{const _e=8&h?ne:r[++$];if(8&h&&null!==n.attrs){if(!Lm(n.attrs,_e,o)){if(Zl(h))return!1;A=!0}continue}const Ze=Ef(8&h?"class":ne,g,Bp(n),o);if(-1===Ze){if(Zl(h))return!1;A=!0;continue}if(""!==_e){let ht;ht=Ze>y?"":g[Ze+1].toLowerCase();const Pt=8&h?ht:null;if(Pt&&-1!==yf(Pt,_e,0)||2&h&&_e!==ht){if(Zl(h))return!1;A=!0}}}}else{if(!A&&!Zl(h)&&!Zl(ne))return!1;if(A&&Zl(ne))continue;A=!1,h=ne|1&h}}return Zl(h)||A}function Zl(n){return 0==(1&n)}function Ef(n,r,o,h){if(null===r)return-1;let g=0;if(h||!o){let y=!1;for(;g<r.length;){const A=r[g];if(A===n)return g;if(3===A||6===A)y=!0;else{if(1===A||2===A){let $=r[++g];for(;"string"==typeof $;)$=r[++g];continue}if(4===A)break;if(0===A){g+=4;continue}}g+=y?1:2}return-1}return function Hm(n,r){let o=n.indexOf(4);if(o>-1)for(o++;o<n.length;){const h=n[o];if("number"==typeof h)return-1;if(h===r)return o;o++}return-1}(r,n)}function gh(n,r,o=!1){for(let h=0;h<r.length;h++)if(Bm(n,r[h],o))return!0;return!1}function Gm(n,r){e:for(let o=0;o<r.length;o++){const h=r[o];if(n.length===h.length){for(let g=0;g<n.length;g++)if(n[g]!==h[g])continue e;return!0}}return!1}function Vp(n,r){return n?":not("+r.trim()+")":r}function Um(n){let r=n[0],o=1,h=2,g="",y=!1;for(;o<n.length;){let A=n[o];if("string"==typeof A)if(2&h){const $=n[++o];g+="["+A+($.length>0?'="'+$+'"':"")+"]"}else 8&h?g+="."+A:4&h&&(g+=" "+A);else""!==g&&!Zl(A)&&(r+=Vp(y,g),g=""),h=A,y=y||!Zl(h);o++}return""!==g&&(r+=Vp(y,g)),r}const qr={};function Hp(n){Gp(Fr(),Zt(),j()+n,!1)}function Gp(n,r,o,h){if(!h)if(3==(3&r[2])){const y=n.preOrderCheckHooks;null!==y&&Ur(r,y,o)}else{const y=n.preOrderHooks;null!==y&&zn(r,y,0,o)}ge(o)}function Tf(n,r=null,o=null,h){const g=Cf(n,r,o,h);return g.resolveInjectorInitializers(),g}function Cf(n,r=null,o=null,h,g=new Set){const y=[o||Ve,zi(n)];return h=h||("object"==typeof n?void 0:U(n)),new tl(y,r||vu(),h||null,g)}let ic=(()=>{class n{static create(o,h){if(Array.isArray(o))return Tf({name:""},h,o,"");{const g=o.name??"";return Tf({name:g},o.parent,o.providers,g)}}}return n.THROW_IF_NOT_FOUND=Br,n.NULL=new _i,n.\u0275prov=Xt({token:n,providedIn:"any",factory:()=>Nt(Wi)}),n.__NG_ELEMENT_ID__=-1,n})();function $c(n,r=fn.Default){const o=Zt();return null===o?Nt(n,r):Ko(Vi(),o,H(n),r)}function Qp(){throw new Error("invalid")}function eg(n,r){const o=n.contentQueries;if(null!==o)for(let h=0;h<o.length;
vendor: 4,354 bytes, line 1
1h+=2){const g=o[h],y=o[h+1];if(-1!==y){const A=n.data[y];il(g),A.contentQueries(2,r[y],y)}}}function yh(n,r,o,h,g,y,A,$,ne,_e,Me){const Ze=r.blueprint.slice();return Ze[0]=g,Ze[2]=76|h,(null!==Me||n&&1024&n[2])&&(Ze[2]|=1024),se(Ze),Ze[3]=Ze[15]=n,Ze[8]=o,Ze[10]=A||n&&n[10],Ze[11]=$||n&&n[11],Ze[12]=ne||n&&n[12]||null,Ze[9]=_e||n&&n[9]||null,Ze[6]=y,Ze[20]=function fl(){return Ll++}(),Ze[21]=Me,Ze[16]=2==r.type?n[16]:Ze,Ze}function jc(n,r,o,h,g){let y=n.data[r];if(null===y)y=Pf(n,r,o,h,g),function To(){return Ee.lFrame.inI18n}()&&(y.flags|=32);else if(64&y.type){y.type=o,y.value=h,y.attrs=g;const A=Us();y.injectorIndex=null===A?-1:A.injectorIndex}return $i(y,!0),y}function Pf(n,r,o,h,g){const y=Rs(),A=As(),ne=n.data[r]=function n0(n,r,o,h,g,y){return{type:o,index:h,insertBeforeIndex:null,injectorIndex:r?r.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:0,providerIndexes:0,value:g,attrs:y,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:r,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,A?y:y&&y.parent,o,r,h,g);return null===n.firstChild&&(n.firstChild=ne),null!==y&&(A?null==y.child&&null!==ne.parent&&(y.child=ne):null===y.next&&(y.next=ne)),ne}function Pd(n,r,o,h){if(0===o)return-1;const g=r.length;for(let y=0;y<o;y++)r.push(h),n.blueprint.push(h),n.data.push(null);return g}function Mf(n,r,o){Wa(r);try{const h=n.viewQuery;null!==h&&Ah(1,h,o);const g=n.template;null!==g&&ng(n,r,g,1,o),n.firstCreatePass&&(n.firstCreatePass=!1),n.staticContentQueries&&eg(n,r),n.staticViewQueries&&Ah(2,n.viewQuery,o);const y=n.components;null!==y&&function e0(n,r){for(let o=0;o<r.length;o++)Sh(n,r[o])}(r,y)}catch(h){throw n.firstCreatePass&&(n.incompleteFirstPass=!0,n.firstCreatePass=!1),h}finally{r[2]&=-5,xo()}}function bh(n,r,o,h){const g=r[2];if(128!=(128&g)){Wa(r);try{se(r),function Oa(n){return Ee.lFrame.bindingIndex=n}(n.bindingStartIndex),null!==o&&ng(n,r,o,2,h);const A=3==(3&g);if(A){const _e=n.preOrderCheckHooks;null!==_e&&Ur(r,_e,null)}else{const _e=n.preOrderHooks;null!==_e&&zn(r,_e,0,null),G(r,0)}if(function f0(n){for(let r=ko(n);null!==r;r=Jo(r)){if(!r[2])continue;const o=r[9];for(let h=0;h<o.length;h++){const g=o[h],y=g[3];0==(512&g[2])&&Q(y,1),g[2]|=512}}}(r),function h0(n){for(let r=ko(n);null!==r;r=Jo(r))for(let o=10;o<r.length;o++){const h=r[o],g=h[1];Li(h)&&bh(g,h,g.template,h[8])}}(r),null!==n.contentQueries&&eg(n,r),A){const _e=n.contentCheckHooks;null!==_e&&Ur(r,_e)}else{const _e=n.contentHooks;null!==_e&&zn(r,_e,1),G(r,1)}!function Tu(n,r){const o=n.hostBindingOpCodes;if(null!==o)try{for(let h=0;h<o.length;h++){const g=o[h];if(g<0)ge(~g);else{const y=g,A=o[++h],$=o[++h];no(A,y),$(2,r[y])}}}finally{ge(-1)}}(n,r);const $=n.components;null!==$&&function tg(n,r){for(let o=0;o<r.length;o++)p0(n,r[o])}(r,$);const ne=n.viewQuery;if(null!==ne&&Ah(2,ne,h),A){const _e=n.viewCheckHooks;null!==_e&&Ur(r,_e)}else{const _e=n.viewHooks;null!==_e&&zn(r,_e,2),G(r,2)}!0===n.firstUpdatePass&&(n.firstUpdatePass=!1),r[2]&=-41,512&r[2]&&(r[2]&=-513,Q(r[3],-1))}finally{xo()}}}function ng(n,r,o,h,g){const y=j(),A=2&h;try{ge(-1),A&&r.length>22&&Gp(n,r,22,!1),o(h,g)}finally{ge(y)}}function xf(n,r,o){if(pn(r)){const g=r.directiveEnd;for(let y=r.directiveStart;y<g;y++){const A=n.data[y];A.contentQueries&&A.contentQueries(1,o[y],y)}}}function Of(n,r,o){!Eo()||(function Vf(n,r,o,h){const g=o.directiveStart,y=o.directiveEnd;n.firstCreatePass||Fa(o,r),W(h,r);const A=o.initialInputs;for(let $=g;$<y;$++){const ne=n.data[$],_e=si(ne);_e&&d0(r,o,ne);const Me=Sa(r,n,$,o);W(Me,r),null!==A&&Ch(0,$-g,Me,ne,0,A),_e&&(ns(o.index,r)[8]=Me)}}(n,r,o,wi(o,r)),64==(64&o.flags)&&Hf(n,r,o))}function Nf(n,r,o=wi){const h=r.localNames;if(null!==h){let g=r.index+1;for(let y=0;y<h.length;y+=2){const A=h[y+1],$=-1===A?o(r,n):n[A];n[g++]=$}}}function rg(n){const r=n.tView;return null===r||r.incompleteFirstPass?n.tView=Rf(1,null,n.template,n.decls,n.vars,n.directiveDefs,n.pipeDefs,n.viewQuery,n.schemas,n.consts):r}function Rf(n,r,o,h,g,y,A,$,ne,_e){const Me=22+h,Ze=Me+g,ht=function t0(n,r){const o=[];for(let h=0;h<r;h++)o.push(h<n?null:qr);return o}
vendor: 4,950 bytes, line 1
1(Me,Ze),Pt="function"==typeof _e?_e():_e;return ht[1]={type:n,blueprint:ht,template:o,queries:null,viewQuery:$,declTNode:r,data:ht.slice().fill(null,Me),bindingStartIndex:Me,expandoStartIndex:Ze,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 y?y():y,pipeRegistry:"function"==typeof A?A():A,firstChild:null,schemas:ne,consts:Pt,incompleteFirstPass:!1}}function ig(n,r,o,h){const g=hg(r);null===o?g.push(h):(g.push(o),n.firstCreatePass&&Uf(n).push(h,g.length-1))}function Ff(n,r,o,h){for(let g in n)if(n.hasOwnProperty(g)){o=null===o?{}:o;const y=n[g];null===h?Eh(o,r,g,y):h.hasOwnProperty(g)&&Eh(o,r,h[g],y)}return o}function Eh(n,r,o,h){n.hasOwnProperty(o)?n[o].push(r,h):n[o]=[r,h]}function Ua(n,r,o,h,g,y,A,$){const ne=wi(r,o);let Me,_e=r.inputs;!$&&null!=_e&&(Me=_e[h])?(jf(n,o,Me,h,g),xs(r)&&sg(o,r.index)):3&r.type&&(h=function Hu(n){return"class"===n?"className":"for"===n?"htmlFor":"formaction"===n?"formAction":"innerHtml"===n?"innerHTML":"readonly"===n?"readOnly":"tabindex"===n?"tabIndex":n}(h),g=null!=A?A(g,r.value||"",h):g,y.setProperty(ne,h,g))}function sg(n,r){const o=ns(r,n);16&o[2]||(o[2]|=32)}function Bf(n,r,o,h){let g=!1;if(Eo()){const y=null===h?null:{"":-1},A=function Wc(n,r){const o=n.directiveRegistry;let h=null,g=null;if(o)for(let y=0;y<o.length;y++){const A=o[y];if(gh(r,A.selectors,!1))if(h||(h=[]),si(A))if(null!==A.findHostDirectiveDefs){const $=[];g=g||new Map,A.findHostDirectiveDefs(A,$,g),h.unshift(...$,A),zc(n,r,$.length)}else h.unshift(A),zc(n,r,0);else g=g||new Map,A.findHostDirectiveDefs?.(A,h,g),h.push(A)}return null===h?null:[h,g]}(n,o);let $,ne;null===A?$=ne=null:[$,ne]=A,null!==$&&(g=!0,og(n,r,o,$,y,ne)),y&&function l0(n,r,o){if(r){const h=n.localNames=[];for(let g=0;g<r.length;g+=2){const y=o[r[g+1]];if(null==y)throw new N(-301,!1);h.push(r[g],y)}}}(o,h,y)}return o.mergedAttrs=Ii(o.mergedAttrs,o.attrs),g}function og(n,r,o,h,g,y){for(let _e=0;_e<h.length;_e++)zo(Fa(o,r),n,h[_e].type);!function lg(n,r,o){n.flags|=1,n.directiveStart=r,n.directiveEnd=r+o,n.providerIndexes=r}(o,n.data.length,h.length);for(let _e=0;_e<h.length;_e++){const Me=h[_e];Me.providersResolver&&Me.providersResolver(Me)}let A=!1,$=!1,ne=Pd(n,r,h.length,null);for(let _e=0;_e<h.length;_e++){const Me=h[_e];o.mergedAttrs=Ii(o.mergedAttrs,Me.hostAttrs),c0(n,o,r,ne,Me),u0(ne,Me,g),null!==Me.contentQueries&&(o.flags|=4),(null!==Me.hostBindings||null!==Me.hostAttrs||0!==Me.hostVars)&&(o.flags|=64);const Ze=Me.type.prototype;!A&&(Ze.ngOnChanges||Ze.ngOnInit||Ze.ngDoCheck)&&((n.preOrderHooks||(n.preOrderHooks=[])).push(o.index),A=!0),!$&&(Ze.ngOnChanges||Ze.ngDoCheck)&&((n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(o.index),$=!0),ne++}!function r0(n,r,o){const g=r.directiveEnd,y=n.data,A=r.attrs,$=[];let ne=null,_e=null;for(let Me=r.directiveStart;Me<g;Me++){const Ze=y[Me],ht=o?o.get(Ze):null,Yt=ht?ht.outputs:null;ne=Ff(Ze.inputs,Me,ne,ht?ht.inputs:null),_e=Ff(Ze.outputs,Me,_e,Yt);const En=null===ne||null===A||Bp(r)?null:ug(ne,Me,A);$.push(En)}null!==ne&&(ne.hasOwnProperty("class")&&(r.flags|=8),ne.hasOwnProperty("style")&&(r.flags|=16)),r.initialInputs=$,r.inputs=ne,r.outputs=_e}(n,o,y)}function Hf(n,r,o){const h=o.directiveStart,g=o.directiveEnd,y=o.index,A=function ra(){return Ee.lFrame.currentDirectiveIndex}();try{ge(y);for(let $=h;$<g;$++){const ne=n.data[$],_e=r[$];Go($),(null!==ne.hostBindings||0!==ne.hostVars||null!==ne.hostAttrs)&&ag(ne,_e)}}finally{ge(-1),Go(A)}}function ag(n,r){null!==n.hostBindings&&n.hostBindings(1,r)}function zc(n,r,o){r.componentOffset=o,(n.components||(n.components=[])).push(r.index)}function u0(n,r,o){if(o){if(r.exportAs)for(let h=0;h<r.exportAs.length;h++)o[r.exportAs[h]]=n;si(r)&&(o[""]=n)}}function c0(n,r,o,h,g){n.data[h]=g;const y=g.factory||(g.factory=yi(g.type)),A=new xt(y,si(g),$c);n.blueprint[h]=A,o[h]=A,function o0(n,r,o,h,g){const y=g.hostBindings;if(y){let A=n.hostBindingOpCodes;null===A&&(A=n.hostBindingOpCodes=[]);const $=~r.index;(function a0(n){let r=n.length;for(;r>0;){const o=n[--r];if("number"==typeof o&&o<0)return o}return 0})(A)!=$&&A.push($),A.push(o,h,y)}}(n,r,h,Pd(n,o,g.hostVars,qr),g)}function d0(n,r,o){const h=wi(r,n),g=rg(o),y=n[10],A=wh(n,yh(n,g,null,o.onPush?32:16,h,r,y,y.createRenderer(h,o),null,null,null));n[r.index]=A}function Th(n,r,o,h,g,y,A){if(null==y)n.removeAttribute(r,g,o);else{const $=null==A?X(y):A(y,h||"",g);n.setAttribute(r,g,$,o)}}function Ch(n,r,o,h,g,y){const A=y[r];if(null!==A){const $=h.setInput;for(let ne=0;ne<A.length;){const _e=A[ne++],Me=A[ne++],Ze=A[ne++];null!==$?h.setInput(o,Ze,_e,Me):o[Me]=Ze}}}function ug(n,r,o){let h=null,g=0;for(;g<o.length;){const y=o[g];if(0!==y)if(5!==y){if("number"==typeof y)break;
1if(n.hasOwnProperty(y)){null===h&&(h=[]);const A=n[y];for(let $=0;$<A.length;$+=2)if(A[$]===r){h.push(y,A[$+1],o[g+1]);break}}g+=2}else g+=2;else g+=4}return h}function cg(n,r,o,h){return[n,!0,!1,r,null,0,h,o,null,null]}function p0(n,r){const o=ns(r,n);if(Li(o)){const h=o[1];48&o[2]?bh(h,o,h.template,o[8]):o[5]>0&&Md(o)}}function Md(n){for(let h=ko(n);null!==h;h=Jo(h))for(let g=10;g<h.length;g++){const y=h[g];if(Li(y))if(512&y[2]){const A=y[1];bh(A,y,A.template,y[8])}else y[5]>0&&Md(y)}const o=n[1].components;if(null!==o)for(let h=0;h<o.length;h++){const g=ns(o[h],n);Li(g)&&g[5]>0&&Md(g)}}function Sh(n,r){const o=ns(r,n),h=o[1];(function dg(n,r){for(let o=r.length;o<n.blueprint.length;o++)r.push(n.blueprint[o])})(h,o),Mf(h,o,o[8])}function wh(n,r){return n[13]?n[14][4]=r:n[13]=r,n[14]=r,r}function Gf(n){for(;n;){n[2]|=32;const r=Ha(n);if(Sr(n)&&!r)return n;n=r}return null}function xd(n,r,o,h=!0){const g=r[10];g.begin&&g.begin();try{bh(n,r,n.template,o)}catch(A){throw h&&fg(r,A),A}finally{g.end&&g.end()}}function Ah(n,r,o){il(0),r(n,o)}function hg(n){return n[7]||(n[7]=[])}function Uf(n){return n.cleanup||(n.cleanup=[])}function fg(n,r){const o=n[9],h=o?o.get(fh,null):null;h&&h.handleError(r)}function jf(n,r,o,h,g){for(let y=0;y<o.length;){const A=o[y++],$=o[y++],ne=r[A],_e=n.data[A];null!==_e.setInput?_e.setInput(ne,g,h,$):ne[$]=g}}function Ql(n,r,o){const h=ts(r,n);Gd(n[11],h,o)}function Dh(n,r,o){let h=o?n.styles:null,g=o?n.classes:null,y=0;if(null!==r)for(let A=0;A<r.length;A++){const $=r[A];"number"==typeof $?y=$:1==y?g=te(g,$):2==y&&(h=te(h,$+": "+r[++A]+";"))}o?n.styles=h:n.stylesWithoutHost=h,o?n.classes=g:n.classesWithoutHost=g}function Od(n,r,o,h,g=!1){for(;null!==o;){const y=r[o.index];if(null!==y&&h.push(gi(y)),Xn(y))for(let $=10;$<y.length;$++){const ne=y[$],_e=ne[1].firstChild;null!==_e&&Od(ne[1],ne,_e,h)}const A=o.type;if(8&A)Od(n,r,o.child,h);else if(32&A){const $=lo(o,r);let ne;for(;ne=$();)h.push(ne)}else if(16&A){const $=gd(r,o);if(Array.isArray($))h.push(...$);else{const ne=Ha(r[16]);Od(ne[1],ne,$,h,!0)}}o=g?o.projectionNext:o.next}return h}class Nd{constructor(r,o){this._lView=r,this._cdRefInjectingView=o,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const r=this._lView,o=r[1];return Od(o,r,o.firstChild,[])}get context(){return this._lView[8]}set context(r){this._lView[8]=r}get destroyed(){return 128==(128&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const r=this._lView[3];if(Xn(r)){const o=r[8],h=o?o.indexOf(this):-1;h>-1&&(yc(r,h),Gi(o,h))}this._attachedToViewContainer=!1}hd(this._lView[1],this._lView)}onDestroy(r){ig(this._lView[1],this._lView,null,r)}markForCheck(){Gf(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){xd(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new N(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function Ud(n,r){nc(n,r,r[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(r){if(this._attachedToViewContainer)throw new N(902,!1);this._appRef=r}}class g0 extends Nd{constructor(r){super(r),this._view=r}detectChanges(){const r=this._view;xd(r[1],r,r[8],!1)}checkNoChanges(){}get context(){return null}}class pg extends Kl{constructor(r){super(),this.ngModule=r}resolveComponentFactory(r){const o=Or(r);return new Kc(o,this.ngModule)}}function gg(n){const r=[];for(let o in n)n.hasOwnProperty(o)&&r.push({propName:n[o],templateName:o});return r}class Wf{constructor(r,o){this.injector=r,this.parentInjector=o}get(r,o,h){h=Ue(h);const g=this.injector.get(r,ch,h);return g!==ch||o===ch?g:this.parentInjector.get(r,o,h)}}class Kc extends bu{constructor(r,o){super(),this.componentDef=r,this.ngModule=o,this.componentType=r.type,this.selector=function $m(n){return n.map(Um).join(",")}(r.selectors),this.ngContentSelectors=r.ngContentSelectors?r.ngContentSelectors:[],this.isBoundToModule=!!o}get inputs(){return gg(this.componentDef.inputs)}get outputs(){return gg(this.componentDef.outputs)}create(r,o,h,g){let y=(g=g||this.ngModule)instanceof Ao?g:g?.injector;y&&null!==this.componentDef.getStandaloneInjector&&(y=this.componentDef.getStandaloneInjector(y)||y);const A=y?new Wf(r,y):r,$=A.get(Vc,null);if(null===$)throw new N(407,!1);const ne=A.get(Pm,null),_e=$.createRenderer(null,this.componentDef),Me=this.componentDef.selectors[0][0]||"div",Ze=h?function kf(n,r,o){return n.selectRootElement(r,o===At.ShadowDom)}(_e,h,this.componentDef.encapsulation):Qo(_e,Me,function Ih(n){const r=n.toLowerCase();return"svg"===r?"svg":"math"===r?"math":null}(Me)),ht=this.componentDef.onPush?288:272,Pt=Rf(0,null,null,1,0,null,null,null,null,null),Yt=yh(null,Pt,null,ht,null,null,$,_e,ne,A,null);let En,Un;Wa(Yt);try{const or=this.componentDef;let kr,hn=null;or.findHostDirectiveDefs?(kr=[],hn=new Map,or.findHostDirectiveDefs(or,kr,hn),kr.push(or)):kr=[or];const ei=function m0(n,r){const o=n[1];return n[22]=r,jc(o,22,2,"#host",null)}(Yt,Ze),uo=function _g(n,r,o,h,g,y,A,$){const ne=g[1];!function _0(n,r,o,h){for(const g of n)r.mergedAttrs=Ii(r.mergedAttrs,g.hostAttrs);null!==r.mergedAttrs&&(Dh(r,r.mergedAttrs,!0),null!==o&&Kd(h,o,r))}(h,n,r,A);const _e=y.createRenderer(r,o),Me=yh(g,rg(o),null,o.onPush?32:16,g[n.index],n,y,_e,$||null,null,null);return ne.firstCreatePass&&zc(ne,n,h.length-1),wh(g,Me),g[n.index]=Me}(ei,Ze,or,kr,Yt,$,_e);Un=fa(Pt,22),Ze&&function y0(n,r,o,h){if(h)jo(n,o,["ng-version",Np.full]);else{const{attrs:g,classes:y}=function jm(n){const r=[],o=[];let h=1,g=2;for(;h<n.length;){let y=n[h];if("string"==typeof y)2===g?""!==y&&r.push(y,n[++h]):8===g&&o.push(y);else{if(!Zl(g))break;g=y}h++}return{attrs:r,classes:o}}(r.selectors[0]);g&&jo(n,o,g),y&&y.length>0&&wc(n,o,y.join(" "))}}(_e,or,Ze,h),void 0!==o&&function b0(n,r,o){const h=n.projection=[];for(let g=0;g<r.length;g++){const y=o[g];h.push(null!=y?Array.from(y):null)}}(Un,this.ngContentSelectors,o),En=function v0(n,r,o,h,g,y){const A=Vi(),$=g[1],ne=wi(A,g);og($,g,A,o,null,h);for(let Me=0;Me<o.length;Me++)W(Sa(g,$,A.directiveStart+Me,A),g);Hf($,g,A),ne&&W(ne,g);
vendor: 4,668 bytes, line 1
1const _e=Sa(g,$,A.directiveStart+A.componentOffset,A);if(n[8]=g[8]=_e,null!==y)for(const Me of y)Me(_e,r);return xf($,A,n),_e}(uo,or,kr,hn,Yt,[E0]),Mf(Pt,Yt,null)}finally{xo()}return new mg(this.componentType,En,ql(Un,Yt),Yt,Un)}}class mg extends _f{constructor(r,o,h,g,y){super(),this.location=h,this._rootLView=g,this._tNode=y,this.instance=o,this.hostView=this.changeDetectorRef=new g0(g),this.componentType=r}setInput(r,o){const h=this._tNode.inputs;let g;if(null!==h&&(g=h[r])){const y=this._rootLView;jf(y[1],y,g,r,o),sg(y,this._tNode.index)}}get injector(){return new So(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(r){this.hostView.onDestroy(r)}}function E0(){const n=Vi();Lr(Zt()[1],n)}function zf(n){let r=function vg(n){return Object.getPrototypeOf(n.prototype).constructor}(n.type),o=!0;const h=[n];for(;r;){let g;if(si(n))g=r.\u0275cmp||r.\u0275dir;else{if(r.\u0275cmp)throw new N(903,!1);g=r.\u0275dir}if(g){if(o){h.push(g);const A=n;A.inputs=Kf(n.inputs),A.declaredInputs=Kf(n.declaredInputs),A.outputs=Kf(n.outputs);const $=g.hostBindings;$&&C0(n,$);const ne=g.viewQuery,_e=g.contentQueries;if(ne&&Ph(n,ne),_e&&T0(n,_e),k(n.inputs,g.inputs),k(n.declaredInputs,g.declaredInputs),k(n.outputs,g.outputs),si(g)&&g.data.animation){const Me=n.data;Me.animation=(Me.animation||[]).concat(g.data.animation)}}const y=g.features;if(y)for(let A=0;A<y.length;A++){const $=y[A];$&&$.ngInherit&&$(n),$===zf&&(o=!1)}}r=Object.getPrototypeOf(r)}!function yg(n){let r=0,o=null;for(let h=n.length-1;h>=0;h--){const g=n[h];g.hostVars=r+=g.hostVars,g.hostAttrs=Ii(g.hostAttrs,o=Ii(o,g.hostAttrs))}}(h)}function Kf(n){return n===We?{}:n===Ve?[]:n}function Ph(n,r){const o=n.viewQuery;n.viewQuery=o?(h,g)=>{r(h,g),o(h,g)}:r}function T0(n,r){const o=n.contentQueries;n.contentQueries=o?(h,g,y)=>{r(h,g,y),o(h,g,y)}:r}function C0(n,r){const o=n.hostBindings;n.hostBindings=o?(h,g)=>{r(h,g),o(h,g)}:r}let Mh=null;function Cu(){if(!Mh){const n=mn.Symbol;if(n&&n.iterator)Mh=n.iterator;else{const r=Object.getOwnPropertyNames(Map.prototype);for(let o=0;o<r.length;++o){const h=r[o];"entries"!==h&&"size"!==h&&Map.prototype[h]===Map.prototype.entries&&(Mh=h)}}}return Mh}function Rd(n){return!!xh(n)&&(Array.isArray(n)||!(n instanceof Map)&&Cu()in n)}function xh(n){return null!==n&&("function"==typeof n||"object"==typeof n)}function eu(n,r,o){return n[r]=o}function da(n,r,o){return!Object.is(n[r],o)&&(n[r]=o,!0)}function Gu(n,r,o,h){const g=da(n,r,o);return da(n,r+1,h)||g}function vl(n,r,o,h,g,y){const A=Gu(n,r,o,h);return Gu(n,r+2,g,y)||A}function Yf(n,r,o,h){const g=Zt();return da(g,mi(),r)&&(Fr(),function Jl(n,r,o,h,g,y){const A=wi(n,r);Th(r[11],A,y,n.value,o,h,g)}(q(),g,n,r,o,h)),Yf}function Xc(n,r,o,h){return da(n,mi(),o)?r+X(o)+h:qr}function Su(n,r,o,h,g,y){const $=Gu(n,Ds(),o,g);return Ri(2),$?r+X(o)+h+X(g)+y:qr}function Fg(n,r,o,h,g,y,A,$){const ne=Zt(),_e=Fr(),Me=n+22,Ze=_e.firstCreatePass?function kg(n,r,o,h,g,y,A,$,ne){const _e=r.consts,Me=jc(r,n,4,A||null,le(_e,$));Bf(r,o,Me,le(_e,ne)),Lr(r,Me);const Ze=Me.tViews=Rf(2,Me,h,g,y,r.directiveRegistry,r.pipeRegistry,null,r.schemas,_e);return null!==r.queries&&(r.queries.template(r,Me),Ze.queries=r.queries.embeddedTView(Me)),Me}(Me,_e,ne,r,o,h,g,y,A):_e.data[Me];$i(Ze,!1);const ht=ne[11].createComment("");Fu(_e,ne,ht,Ze),W(ht,ne),wh(ne,ne[Me]=cg(ht,ne,ht,Ze)),Oi(Ze)&&Of(_e,ne,Ze),null!=A&&Nf(ne,Ze,$)}function Lg(n){return gs(function eo(){return Ee.lFrame.contextLView}(),22+n)}function Nh(n,r,o){const h=Zt();return da(h,mi(),r)&&Ua(Fr(),q(),h,n,r,h[11],o,!1),Nh}function Jf(n,r,o,h,g){const A=g?"class":"style";jf(n,o,r.inputs[A],A,h)}function Rh(n,r,o,h){const g=Zt(),y=Fr(),A=22+n,$=g[11],ne=g[A]=Qo($,r,function xn(){return Ee.lFrame.currentNamespace}()),_e=y.firstCreatePass?function w0(n,r,o,h,g,y,A){const $=r.consts,_e=jc(r,n,2,g,le($,y));return Bf(r,o,_e,le($,A)),null!==_e.attrs&&Dh(_e,_e.attrs,!1),null!==_e.mergedAttrs&&Dh(_e,_e.mergedAttrs,!0),null!==r.queries&&r.queries.elementStart(r,_e),_e}(A,y,g,0,r,o,h):y.data[A];return $i(_e,!0),Kd($,ne,_e),32!=(32&_e.flags)&&Fu(y,g,ne,_e),0===function Bi(){return Ee.lFrame.elementDepthCount}()&&W(ne,g),function Gs(){Ee.lFrame.elementDepthCount++}(),Oi(_e)&&(Of(y,g,_e),xf(y,_e,g)),null!==h&&Nf(g,_e),Rh}function Au(){let n=Vi();As()?Ts():(n=n.parent,$i(n,!1));const r=n;!function Po(){Ee.lFrame.elementDepthCount--}();const o=Fr();return o.firstCreatePass&&(Lr(o,n),pn(n)&&o.queries.elementEnd(n)),null!=r.classesWithoutHost&&function Co(n){return 0!=(8&n.flags)}(r)&&Jf(o,r,Zt(),r.classesWithoutHost,!0),null!=r.stylesWithoutHost&&function Oo(n){return 0!=(16&n.flags)}(r)&&Jf(o,r,Zt(),r.stylesWithoutHost,!1),Au}
vendor: 4,138 bytes, line 1
1function Qf(n,r,o,h){return Rh(n,r,o,h),Au(),Qf}function kh(n,r,o){const h=Zt(),g=Fr(),y=n+22,A=g.firstCreatePass?function A0(n,r,o,h,g){const y=r.consts,A=le(y,h),$=jc(r,n,8,"ng-container",A);return null!==A&&Dh($,A,!0),Bf(r,o,$,le(y,g)),null!==r.queries&&r.queries.elementStart(r,$),$}(y,g,h,r,o):g.data[y];$i(A,!0);const $=h[y]=h[11].createComment("");return Fu(g,h,$,A),W($,h),Oi(A)&&(Of(g,h,A),xf(g,A,h)),null!=o&&Nf(h,A),kh}function tu(){let n=Vi();const r=Fr();return As()?Ts():(n=n.parent,$i(n,!1)),r.firstCreatePass&&(Lr(r,n),pn(n)&&r.queries.elementEnd(n)),tu}function ep(n,r,o){return kh(n,r,o),tu(),ep}function Bg(){return Zt()}function Fh(n){return!!n&&"function"==typeof n.then}function Vg(n){return!!n&&"function"==typeof n.subscribe}const Hg=Vg;function tp(n,r,o,h){const g=Zt(),y=Fr(),A=Vi();return function np(n,r,o,h,g,y,A){const $=Oi(h),_e=n.firstCreatePass&&Uf(n),Me=r[8],Ze=hg(r);let ht=!0;if(3&h.type||A){const En=wi(h,r),Un=A?A(En):En,or=Ze.length,kr=A?ei=>A(gi(ei[h.index])):h.index;let hn=null;if(!A&&$&&(hn=function D0(n,r,o,h){const g=n.cleanup;if(null!=g)for(let y=0;y<g.length-1;y+=2){const A=g[y];if(A===o&&g[y+1]===h){const $=r[7],ne=g[y+2];return $.length>ne?$[ne]:null}"string"==typeof A&&(y+=2)}return null}(n,r,g,h.index)),null!==hn)(hn.__ngLastListenerFn__||hn).__ngNextListenerFn__=y,hn.__ngLastListenerFn__=y,ht=!1;else{y=Ug(h,r,Me,y,!1);const ei=o.listen(Un,g,y);Ze.push(y,ei),_e&&_e.push(g,kr,or,or+1)}}else y=Ug(h,r,Me,y,!1);const Pt=h.outputs;let Yt;if(ht&&null!==Pt&&(Yt=Pt[g])){const En=Yt.length;if(En)for(let Un=0;Un<En;Un+=2){const uo=r[Yt[Un]][Yt[Un+1]].subscribe(y),Bo=Ze.length;Ze.push(y,uo),_e&&_e.push(g,h.index,Bo,-(Bo+1))}}}(y,g,g[11],A,n,r,h),tp}function Gg(n,r,o,h){try{return!1!==o(h)}catch(g){return fg(n,g),!1}}function Ug(n,r,o,h,g){return function y(A){if(A===Function)return h;Gf(n.componentOffset>-1?ns(n.index,r):r);let ne=Gg(r,0,h,A),_e=y.__ngNextListenerFn__;for(;_e;)ne=Gg(r,0,_e,A)&&ne,_e=_e.__ngNextListenerFn__;return g&&!1===ne&&(A.preventDefault(),A.returnValue=!1),ne}}function $g(n=1){return function ia(n){return(Ee.lFrame.contextLView=function _s(n,r){for(;n>0;)r=r[15],n--;return r}(n,Ee.lFrame.contextLView))[8]}(n)}function I0(n,r){let o=null;const h=function Vu(n){const r=n.attrs;if(null!=r){const o=r.indexOf(5);if(0==(1&o))return r[o+1]}return null}(n);for(let g=0;g<r.length;g++){const y=r[g];if("*"!==y){if(null===h?gh(n,y,!0):Gm(h,y))return g}else o=g}return o}function jg(n){const r=Zt()[16][6];if(!r.projection){const h=r.projection=Pi(n?n.length:1,null),g=h.slice();let y=r.child;for(;null!==y;){const A=n?I0(y,n):0;null!==A&&(g[A]?g[A].projectionNext=y:h[A]=y,g[A]=y),y=y.next}}}function Wg(n,r=0,o){const h=Zt(),g=Fr(),y=jc(g,22+n,16,null,o||null);null===y.projection&&(y.projection=r),Ts(),32!=(32&y.flags)&&function nf(n,r,o){zd(r[11],0,r,o,Qu(n,o,r),tc(o.parent||r[6],o,r))}(g,h,y)}function rp(n,r,o){return Bh(n,"",r,"",o),rp}function Bh(n,r,o,h,g){const y=Zt(),A=Xc(y,r,o,h);return A!==qr&&Ua(Fr(),q(),y,n,A,y[11],g,!1),Bh}function Du(n,r,o,h,g,y,A){const $=Zt(),ne=Su($,r,o,h,g,y);return ne!==qr&&Ua(Fr(),q(),$,n,ne,$[11],A,!1),Du}function Hh(n,r){return n<<17|r<<2}function Uu(n){return n>>17&32767}function Gh(n){return 2|n}function $u(n){return(131068&n)>>2}function Uh(n,r){return-131069&n|r<<2}function ap(n){return 1|n}function N0(n,r,o,h,g){const y=n[o+1],A=null===r;let $=h?Uu(y):$u(y),ne=!1;for(;0!==$&&(!1===ne||A);){const Me=n[$+1];R0(n[$],r)&&(ne=!0,n[$+1]=h?ap(Me):Gh(Me)),$=h?Uu(Me):$u(Me)}ne&&(n[o+1]=h?Gh(y):ap(y))}function R0(n,r){return null===n||null==r||(Array.isArray(n)?n[1]:n)===r||!(!Array.isArray(n)||"string"!=typeof r)&&fe(n,r)>=0}const na={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Yg(n){return n.substring(na.key,na.keyEnd)}function z_(n){return n.substring(na.value,na.valueEnd)}function rd(n,r){const o=na.textEnd;return o===r?-1:(r=na.keyEnd=function q_(n,r,o){for(;r<o&&n.charCodeAt(r)>32;)r++;return r}(n,na.key=r,o),id(n,r,o))}function Ld(n,r){const o=na.textEnd;let h=na.key=id(n,r,o);return o===h?-1:(h=na.keyEnd=function k0(n,r,o){let h;for(;r<o&&(45===(h=n.charCodeAt(r))||95===h||(-33&h)>
vendor: 6,221 bytes, line 1
1=65&&(-33&h)<=90||h>=48&&h<=57);)r++;return r}(n,h,o),h=F0(n,h,o),h=na.value=id(n,h,o),h=na.valueEnd=function Bd(n,r,o){let h=-1,g=-1,y=-1,A=r,$=A;for(;A<o;){const ne=n.charCodeAt(A++);if(59===ne)return $;34===ne||39===ne?$=A=jh(n,ne,A,o):r===A-4&&85===y&&82===g&&76===h&&40===ne?$=A=jh(n,41,A,o):ne>32&&($=A),y=g,g=h,h=-33&ne}return $}(n,h,o),F0(n,h,o))}function Zg(n){na.key=0,na.keyEnd=0,na.value=0,na.valueEnd=0,na.textEnd=n.length}function id(n,r,o){for(;r<o&&n.charCodeAt(r)<=32;)r++;return r}function F0(n,r,o,h){return(r=id(n,r,o))<o&&r++,r}function jh(n,r,o,h){let g=-1,y=o;for(;y<h;){const A=n.charCodeAt(y++);if(A==r&&92!==g)return y;g=92==A&&92===g?0:A}throw new Error}function Wh(n,r,o){return xl(n,r,o,!1),Wh}function up(n,r){return xl(n,r,null,!0),up}function nu(n){iu(em,Xg,n,!1)}function Xg(n,r){for(let o=function lp(n){return Zg(n),Ld(n,id(n,0,na.textEnd))}(r);o>=0;o=Ld(r,o))em(n,Yg(r),z_(r))}function cp(n){iu(go,ru,n,!0)}function ru(n,r){for(let o=function K_(n){return Zg(n),rd(n,id(n,0,na.textEnd))}(r);o>=0;o=rd(r,o))go(n,Yg(r),!0)}function xl(n,r,o,h){const g=Zt(),y=Fr(),A=Ri(2);y.firstUpdatePass&&Qg(y,n,A,h),r!==qr&&da(g,A,r)&&tm(y,y.data[j()],g,g[11],n,g[A+1]=function G0(n,r){return null==n||("string"==typeof r?n+=r:"object"==typeof n&&(n=U(Pl(n)))),n}(r,o),h,A)}function iu(n,r,o,h){const g=Fr(),y=Ri(2);g.firstUpdatePass&&Qg(g,null,y,h);const A=Zt();if(o!==qr&&da(A,y,o)){const $=g.data[j()];if(rm($,h)&&!Jg(g,y)){let ne=h?$.classesWithoutHost:$.stylesWithoutHost;null!==ne&&(o=te(ne,o||"")),Jf(g,$,A,o,h)}else!function X_(n,r,o,h,g,y,A,$){g===qr&&(g=Ve);let ne=0,_e=0,Me=0<g.length?g[0]:null,Ze=0<y.length?y[0]:null;for(;null!==Me||null!==Ze;){const ht=ne<g.length?g[ne+1]:void 0,Pt=_e<y.length?y[_e+1]:void 0;let En,Yt=null;Me===Ze?(ne+=2,_e+=2,ht!==Pt&&(Yt=Ze,En=Pt)):null===Ze||null!==Me&&Me<Ze?(ne+=2,Yt=Me):(_e+=2,Yt=Ze,En=Pt),null!==Yt&&tm(n,r,o,h,Yt,En,A,$),Me=ne<g.length?g[ne]:null,Ze=_e<y.length?y[_e]:null}}(g,$,A,A[11],A[y+1],A[y+1]=function H0(n,r,o){if(null==o||""===o)return Ve;const h=[],g=Pl(o);if(Array.isArray(g))for(let y=0;y<g.length;y++)n(h,g[y],!0);else if("object"==typeof g)for(const y in g)g.hasOwnProperty(y)&&n(h,y,g[y]);else"string"==typeof g&&r(h,g);return h}(n,r,o),h,y)}}function Jg(n,r){return r>=n.expandoStartIndex}function Qg(n,r,o,h){const g=n.data;if(null===g[o+1]){const y=g[j()],A=Jg(n,o);rm(y,h)&&null===r&&!A&&(r=!1),r=function L0(n,r,o,h){const g=function ro(n){const r=Ee.lFrame.currentDirectiveIndex;return-1===r?null:n[r]}(n);let y=h?r.residualClasses:r.residualStyles;if(null===g)0===(h?r.classBindings:r.styleBindings)&&(o=zh(o=dp(null,n,r,o,h),r.attrs,h),y=null);else{const A=r.directiveStylingLast;if(-1===A||n[A]!==g)if(o=dp(g,n,r,o,h),null===y){let ne=function B0(n,r,o){const h=o?r.classBindings:r.styleBindings;if(0!==$u(h))return n[Uu(h)]}(n,r,h);void 0!==ne&&Array.isArray(ne)&&(ne=dp(null,n,r,ne[1],h),ne=zh(ne,r.attrs,h),function V0(n,r,o,h){n[Uu(o?r.classBindings:r.styleBindings)]=h}(n,r,h,ne))}else y=function Z_(n,r,o){let h;const g=r.directiveEnd;for(let y=1+r.directiveStylingLast;y<g;y++)h=zh(h,n[y].hostAttrs,o);return zh(h,r.attrs,o)}(n,r,h)}return void 0!==y&&(h?r.residualClasses=y:r.residualStyles=y),o}(g,y,r,h),function $h(n,r,o,h,g,y){let A=y?r.classBindings:r.styleBindings,$=Uu(A),ne=$u(A);n[h]=o;let Me,_e=!1;if(Array.isArray(o)){const Ze=o;Me=Ze[1],(null===Me||fe(Ze,Me)>0)&&(_e=!0)}else Me=o;if(g)if(0!==ne){const ht=Uu(n[$+1]);n[h+1]=Hh(ht,$),0!==ht&&(n[ht+1]=Uh(n[ht+1],h)),n[$+1]=function M0(n,r){return 131071&n|r<<17}(n[$+1],h)}else n[h+1]=Hh($,0),0!==$&&(n[$+1]=Uh(n[$+1],h)),$=h;else n[h+1]=Hh(ne,0),0===$?$=h:n[ne+1]=Uh(n[ne+1],h),ne=h;_e&&(n[h+1]=Gh(n[h+1])),N0(n,Me,h,!0),N0(n,Me,h,!1),function O0(n,r,o,h,g){const y=g?n.residualClasses:n.residualStyles;null!=y&&"string"==typeof r&&fe(y,r)>=0&&(o[h+1]=ap(o[h+1]))}(r,Me,n,h,y),A=Hh($,ne),y?r.classBindings=A:r.styleBindings=A}(g,y,r,o,A,h)}}function dp(n,r,o,h,g){let y=null;const A=o.directiveEnd;let $=o.directiveStylingLast;for(-1===$?$=o.directiveStart:$++;$<A&&(y=r[$],h=zh(h,y.hostAttrs,g),y!==n);)$++;return null!==n&&(o.directiveStylingLast=$),h}function zh(n,r,o){const h=o?1:2;let g=-1;if(null!==r)for(let y=0;y<r.length;y++){const A=r[y];"number"==typeof A?g=A:g===h&&(Array.isArray(n)||(n=void 0===n?[]:["",n]),go(n,A,!!o||r[++y]))}return void 0===n?null:n}function em(n,r,o){go(n,r,Pl(o))}function tm(n,r,o,h,g,y,A,$){if(!(3&r.type))return;const ne=n.data,_e=ne[$+1],Me=function x0(n){return 1==(1&n)}(_e)?nm(ne,r,o,g,$u(_e),A):void 0;hp(Me)||(hp(y)||function P0(n){return 2==(2&n)}(_e)&&(y=nm(ne,null,o,g,$,A)),function Cc(n,r,o,h,g){if(r)g?n.addClass(o,h):n.removeClass(o,h);else{let y=-1===h.indexOf("-")?void 0:ds.DashCase;null==g?n.removeStyle(o,h,y):("string"==typeof g&&g.endsWith("!important")&&(g=g.slice(0,-10),y|=ds.Important),n.setStyle(o,h,g,y))}}(h,A,ts(j(),o),g,y))}function nm(n,r,o,h,g,y){const A=null===r;let $;for(;g>0;){const ne=n[g],_e=Array.isArray(ne),Me=_e?ne[1]:ne,Ze=null===Me;let ht=o[g+1];ht===qr&&(ht=Ze?Ve:void 0);let Pt=Ze?re(ht,h):Me===h?ht:void 0;if(_e&&!hp(Pt)&&(Pt=re(ne,h)),hp(Pt)&&($=Pt,A))return $;const Yt=n[g+1];g=A?Uu(Yt):$u(Yt)}if(null!==r){let ne=y?r.residualClasses:r.residualStyles;null!=ne&&($=re(ne,h))}return $}function hp(n){return void 0!==n}function rm(n,r){return 0!=(n.flags&(r?8:16))}function U0(n,r=""){const o=Zt(),h=Fr(),g=n+22,y=h.firstCreatePass?jc(h,g,1,r,null):h.data[g],A=o[g]=vc(o[11],r);Fu(h,o,A,y),$i(y,!1)}function fp(n){return sd("",n,""),fp}function sd(n,r,o){const h=Zt(),g=Xc(h,n,r,o);return g!==qr&&Ql(h,j(),g),sd}function pp(n,r,o,h,g){const y=Zt(),A=Su(y,n,r,o,h,g);return A!==qr&&Ql(y,j(),A),pp}function _p(n,r,o){iu(go,ru,Xc(Zt(),n,r,o),!0)}function um(n,r,o,h,g,y,A,$,ne){iu(go,ru,function Qc(n,r,o,h,g,y,A,$,ne,_e){const Ze=vl(n,Ds(),o,g,A,ne);return Ri(4),Ze?r+X(o)+h+X(g)+y+X(A)+$+X(ne)+_e:qr}(Zt(),n,r,o,h,g,y,A,$,ne),!0)}function W0(n,r,o){nu(Xc(Zt(),n,r,o))}function Lt(n,r,o){const h=Zt();return da(h,mi(),r)&&Ua(Fr(),q(),h,n,r,h[11],o,!0),Lt}const nn=void 0;var kn=["en",[["a","p"],["AM","PM"],nn],[["AM","PM"],nn,nn],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
1ay","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],nn,[["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"]],nn,[["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}",nn,"{1} 'at' {0}",nn],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function Qn(n){const o=Math.floor(Math.abs(n)),h=n.toString().replace(/^[^.]*\.?/,"").length;return 1===o&&0===h?1:5}];let Kn={};function Ai(n){const r=function vr(n){return n.toLowerCase().replace(/_/g,"-")}(n);let o=su(r);if(o)return o;const h=r.split("-")[0];if(o=su(h),o)return o;if("en"===h)return kn;throw new N(701,!1)}function xa(n){return Ai(n)[pr.PluralCase]}function su(n){return n in Kn||(Kn[n]=mn.ng&&mn.ng.common&&mn.ng.common.locales&&mn.ng.common.locales[n]),Kn[n]}var pr=(()=>((pr=pr||{})[pr.LocaleId=0]="LocaleId",pr[pr.DayPeriodsFormat=1]="DayPeriodsFormat",pr[pr.DayPeriodsStandalone=2]="DayPeriodsStandalone",pr[pr.DaysFormat=3]="DaysFormat",pr[pr.DaysStandalone=4]="DaysStandalone",pr[pr.MonthsFormat=5]="MonthsFormat",pr[pr.MonthsStandalone=6]="MonthsStandalone",pr[pr.Eras=7]="Eras",pr[pr.FirstDayOfWeek=8]="FirstDayOfWeek",pr[pr.WeekendRange=9]="WeekendRange",pr[pr.DateFormat=10]="DateFormat",pr[pr.TimeFormat=11]="TimeFormat",pr[pr.DateTimeFormat=12]="DateTimeFormat",pr[pr.NumberSymbols=13]="NumberSymbols",pr[pr.NumberFormats=14]="NumberFormats",pr[pr.CurrencyCode=15]="CurrencyCode",pr[pr.CurrencySymbol=16]="CurrencySymbol",pr[pr.CurrencyName=17]="CurrencyName",pr[pr.Currencies=18]="Currencies",pr[pr.Directionality=19]="Directionality",pr[pr.PluralCase=20]="PluralCase",pr[pr.ExtraData=21]="ExtraData",pr))();const Ys=["zero","one","two","few","many"],Lo="en-US",Ol={marker:"element"},ou={marker:"ICU"};var qi=(()=>((qi=qi||{})[qi.SHIFT=2]="SHIFT",qi[qi.APPEND_EAGERLY=1]="APPEND_EAGERLY",qi[qi.COMMENT=2]="COMMENT",qi))();let fm=Lo;function tv(n){(function Ut(n,r){null==n&&Et(r,n,null,"!=")})(n,"Expected localeId to be defined"),"string"==typeof n&&(fm=n.toLowerCase().replace(/_/g,"-"))}function nv(n,r,o){const h=r.insertBeforeIndex,g=Array.isArray(h)?h[0]:h;return null===g?pd(n,0,o):gi(o[g])}function rv(n,r,o,h,g){const y=r.insertBeforeIndex;if(Array.isArray(y)){let A=h,$=null;if(3&r.type||($=A,A=g),null!==A&&-1===r.componentOffset)for(let ne=1;ne<y.length;ne++)zr(n,A,o[y[ne]],$,!1)}}function iv(n,r){if(n.push(r),n.length>1)for(let o=n.length-2;o>=0;o--){const h=n[o];sv(h)||a1(h,r)&&null===l1(h)&&u1(h,r.index)}}function sv(n){return!(64&n.type)}function a1(n,r){return sv(r)||n.index>r.index}function l1(n){const r=n.insertBeforeIndex;return Array.isArray(r)?r[0]:r}function u1(n,r){const o=n.insertBeforeIndex;Array.isArray(o)?o[0]=r:(ku(nv,rv),n.insertBeforeIndex=r)}function yp(n,r){const o=n.data[r];return null===o||"string"==typeof o?null:o.hasOwnProperty("currentCaseLViewIndex")?o:o.value}function h1(n,r,o){const h=Pf(n,o,64,null,null);return iv(r,h),h}function pm(n,r){const o=r[n.currentCaseLViewIndex];return null===o?o:o<0?~o:o}function ov(n){return n>>>17}function av(n){return(131070&n)>>>1}let bp=0,Ep=0;function uv(n,r,o,h){const g=o[11];let A,y=null;for(let $=0;$<r.length;$++){const ne=r[$];if("string"==typeof ne){const _e=r[++$];null===o[_e]&&(o[_e]=vc(g,ne))}else if("number"==typeof ne)switch(1&ne){case 0:const _e=ov(ne);let Me,Ze;if(null===y&&(y=_e,A=Hl(g,h)),_e===y?(Me=h,Ze=A):(Me=null,Ze=gi(o[_e])),null!==Ze){const En=av(ne);zr(g,Ze,o[En],Me,!1);const or=yp(n,En);if(null!==or&&"object"==typeof or){const kr=pm(or,o);null!==kr&&uv(n,or.create[kr],o,o[or.anchorIdx])}}break;case 1:const Pt=r[++$],Yt=r[++$];Th(g,ts(ne>>>1,o),null,null,Pt,Yt,null)}else switch(ne){case ou:const _e=r[++$],Me=r[++$];null===o[Me]&&W(o[Me]=Xu(g,_e),o);break;case Ol:const Ze=r[++$],ht=r[++$];null===o[ht]&&W(o[ht]=Qo(g,Ze,null),o)}}}function cv(n,r,o,h,g){for(let y=0;y<o.length;y++){const A=o[y],$=o[++y];if(A&g){let ne="";for(let _e=y+1;_e<=y+$;_e++){const Me=o[_e];if("string"==typeof Me)ne+=Me;else if("number"==typeof Me)if(Me<0)ne+=X(r[h-Me]);else{const Ze=Me>>>2;switch(3&Me){case 1:const ht=o[++_e],Pt=o[++_e],Yt=n.data[Ze];"string"==typeof Yt?Th(r[11],r[Ze],null,Yt,ht,ne,Pt):Ua(n,Yt,r,ht,ne,r[11],Pt,!1);break;case 0:const En=r[Ze];null!==En&&Gd(r[11],En,ne);break;case 2:_1(n,yp(n,Ze),r,ne);break;case 3:dv(n,yp(n,Ze),h,r)}}}}else{const ne=o[y+1];if(ne>0&&3==(3&ne)){const Me=yp(n,ne>>>2);r[Me.currentCaseLViewIndex]<0&&dv(n,Me,h,r)}}y+=$}}function dv(n,r,o,h){let g=h[r.currentCaseLViewIndex];if(null!==g){let y=bp;g<0&&(g=h[r.currentCaseLViewIndex]=~g,y=-1),cv(n,h,r.update[g],o,y)}}function _1(n,r,o,h){const g=function v1(n,r){let o=n.cases.indexOf(r);if(-1===o)switch(n.type){case 1:{const h=function ys(n,r){const o=xa(r)(parseInt(n,10)),h=Ys[o];return void 0!==h?h:"other"}(r,function o1(){return fm}());
vendor: 5,557 bytes, line 1
1o=n.cases.indexOf(h),-1===o&&"other"!==h&&(o=n.cases.indexOf("other"));break}case 0:o=n.cases.indexOf("other")}return-1===o?null:o}(r,h);if(pm(r,o)!==g&&(hv(n,r,o),o[r.currentCaseLViewIndex]=null===g?null:~g,null!==g)){const A=o[r.anchorIdx];A&&uv(n,r.create[g],o,A)}}function hv(n,r,o){let h=pm(r,o);if(null!==h){const g=r.remove[h];for(let y=0;y<g.length;y++){const A=g[y];if(A>0){const $=ts(A,o);null!==$&&Tc(o[11],$)}else hv(n,yp(n,~A),o)}}}function y1(){const n=[];let o,h,r=-1;function y($,ne){r=0;const _e=pm($,ne);h=null!==_e?$.remove[_e]:Ve}function A(){if(r<h.length){const $=h[r++];return $>0?o[$]:(n.push(r,h),y(o[1].data[~$],o),A())}return 0===n.length?null:(h=n.pop(),r=n.pop(),A())}return function g($,ne){for(o=ne;n.length;)n.pop();return y($.value,ne),A}}const gm=/\ufffd(\d+):?\d*\ufffd/gi,E1=/\ufffd(\d+)\ufffd/,pv=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,T1=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,C1=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,S1=/\uE500/g;function gv(n,r,o,h,g,y,A){const $=Pd(n,h,1,null);let ne=$<<qi.SHIFT,_e=Us();r===_e&&(_e=null),null===_e&&(ne|=qi.APPEND_EAGERLY),A&&(ne|=qi.COMMENT,function va(n){void 0===pu&&(pu=n())}(y1)),g.push(ne,null===y?"":y);const Me=Pf(n,$,A?32:1,null===y?"":y,null);iv(o,Me);const Ze=Me.index;return $i(Me,!1),null!==_e&&r!==_e&&function d1(n,r){let o=n.insertBeforeIndex;null===o?(ku(nv,rv),o=n.insertBeforeIndex=[null,r]):(function De(n,r,o){n!=r&&Et(o,n,r,"==")}(Array.isArray(o),!0,"Expecting array here"),o.push(r))}(_e,Ze),Me}function D1(n,r,o,h,g,y,A){const $=A.match(gm),ne=gv(n,r,o,y,h,$?null:A,!1);$&&Cp(g,A,ne.index,null,0,null)}function Cp(n,r,o,h,g,y){const A=n.length,$=A+1;n.push(null,null);const ne=A+2,_e=r.split(gm);let Me=0;for(let Ze=0;Ze<_e.length;Ze++){const ht=_e[Ze];if(1&Ze){const Pt=g+parseInt(ht,10);n.push(-1-Pt),Me|=mv(Pt)}else""!==ht&&n.push(ht)}return n.push(o<<2|(h?1:0)),h&&n.push(h,y),n[A]=Me,n[$]=n.length-ne,Me}function mv(n){return 1<<Math.min(n,31)}function _v(n){let r,y,o="",h=0,g=!1;for(;null!==(r=T1.exec(n));)g?r[0]===`\ufffd/*${y}\ufffd`&&(h=r.index,g=!1):(o+=n.substring(h,r.index+r[0].length),y=r[1],g=!0);return o+=n.slice(h),o}function vv(n,r,o,h,g,y){let A=0;const $={type:g.type,currentCaseLViewIndex:Pd(n,r,1,null),anchorIdx:y,cases:[],create:[],remove:[],update:[]};(function k1(n,r,o){n.push(mv(r.mainBinding),2,-1-r.mainBinding,o<<2|2)})(o,g,y),function c1(n,r,o){const h=n.data[r];null===h?n.data[r]=o:h.value=o}(n,y,$);const ne=g.values;for(let _e=0;_e<ne.length;_e++){const Me=ne[_e],Ze=[];for(let ht=0;ht<Me.length;ht++){const Pt=Me[ht];if("string"!=typeof Pt){const Yt=Ze.push(Pt)-1;Me[ht]=`\x3c!--\ufffd${Yt}\ufffd--\x3e`}}A=N1(n,$,r,o,h,g.cases[_e],Me.join(""),Ze)|A}A&&function F1(n,r,o){n.push(r,1,o<<2|3)}(o,A,y)}function O1(n){const r=[],o=[];let h=1,g=0;const y=Y0(n=n.replace(pv,function(A,$,ne){return h="select"===ne?0:1,g=parseInt($.slice(1),10),""}));for(let A=0;A<y.length;){let $=y[A++].trim();1===h&&($=$.replace(/\s*(?:=)?(\w+)\s*/,"$1")),$.length&&r.push($);const ne=Y0(y[A++]);r.length>o.length&&o.push(ne)}return{type:h,mainBinding:g,cases:r,values:o}}function Y0(n){if(!n)return[];let r=0;const o=[],h=[],g=/[{}]/g;let y;for(g.lastIndex=0;y=g.exec(n);){const $=y.index;if("}"==y[0]){if(o.pop(),0==o.length){const ne=n.substring(r,$);pv.test(ne)?h.push(O1(ne)):h.push(ne),r=$+1}}else{if(0==o.length){const ne=n.substring(r,$);h.push(ne),r=$+1}o.push("{")}}const A=n.substring(r);return h.push(A),h}function N1(n,r,o,h,g,y,A,$){const ne=[],_e=[],Me=[];r.cases.push(y),r.create.push(ne),r.remove.push(_e),r.update.push(Me);const ht=th(bd()).getInertBodyElement(A),Pt=v(ht)||ht;return Pt?yv(n,r,o,h,ne,_e,Me,Pt,g,$,0):0}function yv(n,r,o,h,g,y,A,$,ne,_e,Me){let Ze=0,ht=$.firstChild;for(;ht;){const Pt=Pd(n,o,1,null);switch(ht.nodeType){case Node.ELEMENT_NODE:const Yt=ht,En=Yt.tagName.toLowerCase();if(sh.hasOwnProperty(En)){Z0(g,Ol,En,ne,Pt),n.data[Pt]=En;const hn=Yt.attributes;for(let ei=0;ei<hn.length;ei++){const uo=hn.item(ei),Bo=uo.name.toLowerCase();uo.value.match(gm)?ff.hasOwnProperty(Bo)&&Cp(A,uo.value,Pt,uo.name,0,oh[Bo]?xc:null):L1(g,Pt,uo)}Ze=yv(n,r,o,h,g,y,A,ht,Pt,_e,Me+1)|Ze,bv(y,Pt,Me)}break;case Node.TEXT_NODE:const Un=ht.textContent||"",or=Un.match(gm);Z0(g,null,or?"":Un,ne,Pt),bv(y,Pt,Me),or&&(Ze=Cp(A,Un,Pt,null,0,null)|Ze);break;case Node.COMMENT_NODE:const kr=E1.exec(ht.textContent||"");if(kr){const ei=_e[parseInt(kr[1],10)];Z0(g,ou,"",ne,Pt),vv(n,o,h,ne,ei,Pt),R1(y,Pt,Me)}}ht=ht.nextSibling}return Ze}function bv(n,r,o){0===o&&n.push(r)}function R1(n,r,o){0===o&&(n.push(~r),n.push(r))}function Z0(n,r,o,h,g){null!==r&&n.push(r),n.push(o,g,function f1(n,r,o){return n|r<<17|o<<1}(0,h,g))}function L1(n,r,o){n.push(r<<1|1,o.name,o.value)}function Tv(n,r,o=-1){const h=Fr(),g=Zt(),y=22+n,A=le(h.consts,r),$=Us();h.firstCreatePass&&function A1(n,r,o,h,g,y){const A=Us(),$=[],ne=[],_e=[[]];g=function x1(n,r){if(function M1(n){return-1===n}(r))return _v(n);{const o=n.indexOf(`:${r}\ufffd`)+2+r.toString().length,h=n.search(new RegExp(`\ufffd\\/\\*\\d+:${r}\ufffd`));return _v(n.substring(o,h))}}(g,y);const Me=function w1(n){return n.replace(S1," ")}(g).split(C1);for(let Ze=0;Ze<Me.length;Ze++){let ht=Me[Ze];if(0==(1&Ze)){const Pt=Y0(ht);for(let Yt=0;Yt<Pt.length;Yt++){let En=Pt[Yt];if(0==(1&Yt)){const Un=En;""!==Un&&D1(n,A,_e[0],$,ne,o,Un)}else{const Un=En;if("object"!=typeof Un)throw new Error(`Unable to parse ICU expression in "${g}" message.`);vv(n,o,ne,r,Un,gv(n,A,_e[0],o,$,"",!0).index)}}}else{const Pt=47===ht.charCodeAt(0),En=(ht.charCodeAt(Pt?1:0),22+Number.parseInt(ht.
1substring(Pt?2:1)));if(Pt)_e.shift(),$i(Us(),!1);else{const Un=h1(n,_e[0],En);_e.unshift([]),$i(Un,!0)}}}n.data[h]={create:$,update:ne}}(h,null===$?0:$.index,g,y,A,o);const ne=h.data[y],Me=fd(h,$===g[6]?null:$,g);(function m1(n,r,o,h){const g=n[11];for(let y=0;y<r.length;y++){const A=r[y++],$=r[y],ne=(A&qi.COMMENT)===qi.COMMENT,_e=(A&qi.APPEND_EAGERLY)===qi.APPEND_EAGERLY,Me=A>>>qi.SHIFT;let Ze=n[Me];null===Ze&&(Ze=n[Me]=ne?g.createComment($):vc(g,$)),_e&&null!==o&&zr(g,o,Ze,h,!1)}})(g,ne.create,Me,$&&8&$.type?g[$.index]:null),to(!0)}function Sv(n,r,o){Tv(n,r,o),function Cv(){to(!1)}()}function X0(n){return function p1(n){n&&(bp|=1<<Math.min(Ep,31)),Ep++}(da(Zt(),mi(),n)),X0}function wv(n){!function g1(n,r,o){if(Ep>0){const h=n.data[o];cv(n,r,Array.isArray(h)?h:h.update,Ds()-Ep-1,bp)}bp=0,Ep=0}(Fr(),Zt(),n+22)}function J0(n,r,o,h,g){if(n=H(n),Array.isArray(n))for(let y=0;y<n.length;y++)J0(n[y],r,o,h,g);else{const y=Fr(),A=Zt();let $=_o(n)?n:H(n.provide),ne=kc(n);const _e=Vi(),Me=1048575&_e.providerIndexes,Ze=_e.directiveStart,ht=_e.providerIndexes>>20;if(_o(n)||!n.multi){const Pt=new xt(ne,g,$c),Yt=e_($,r,g?Me:Me+ht,Ze);-1===Yt?(zo(Fa(_e,A),y,$),Q0(y,n,r.length),r.push($),_e.directiveStart++,_e.directiveEnd++,g&&(_e.providerIndexes+=1048576),o.push(Pt),A.push(Pt)):(o[Yt]=Pt,A[Yt]=Pt)}else{const Pt=e_($,r,Me+ht,Ze),Yt=e_($,r,Me,Me+ht),En=Pt>=0&&o[Pt],Un=Yt>=0&&o[Yt];if(g&&!Un||!g&&!En){zo(Fa(_e,A),y,$);const or=function X1(n,r,o,h,g){const y=new xt(n,o,$c);return y.multi=[],y.index=r,y.componentProviders=0,Av(y,g,h&&!o),y}(g?Z1:Y1,o.length,g,h,ne);!g&&Un&&(o[Yt].providerFactory=or),Q0(y,n,r.length,0),r.push($),_e.directiveStart++,_e.directiveEnd++,g&&(_e.providerIndexes+=1048576),o.push(or),A.push(or)}else Q0(y,n,Pt>-1?Pt:Yt,Av(o[g?Yt:Pt],ne,!g&&h));!g&&h&&Un&&o[Yt].componentProviders++}}}function Q0(n,r,o,h){const g=_o(r),y=function Rc(n){return!!n.useClass}(r);if(g||y){const ne=(y?H(r.useClass):r).prototype.ngOnDestroy;if(ne){const _e=n.destroyHooks||(n.destroyHooks=[]);if(!g&&r.multi){const Me=_e.indexOf(o);-1===Me?_e.push(o,[h,ne]):_e[Me+1].push(h,ne)}else _e.push(o,ne)}}}function Av(n,r,o){return o&&n.componentProviders++,n.multi.push(r)-1}function e_(n,r,o,h){for(let g=o;g<h;g++)if(r[g]===n)return g;return-1}function Y1(n,r,o,h){return t_(this.multi,[])}function Z1(n,r,o,h){const g=this.multi;let y;if(this.providerFactory){const A=this.providerFactory.componentProviders,$=Sa(o,o[1],this.providerFactory.index,h);y=$.slice(0,A),t_(g,y);for(let ne=A;ne<$.length;ne++)y.push($[ne])}else y=[],t_(g,y);return y}function t_(n,r){for(let o=0;o<n.length;o++)r.push((0,n[o])());return r}function Dv(n,r=[]){return o=>{o.providersResolver=(h,g)=>function q1(n,r,o){const h=Fr();if(h.firstCreatePass){const g=si(n);J0(o,h.data,h.blueprint,g,!0),J0(r,h.data,h.blueprint,g,!1)}}(h,g?g(n):n,r)}}class Kh{}class Iv{}function J1(n,r){return new Pv(n,r??null)}class Pv extends Kh{constructor(r,o){super(),this._parent=o,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new pg(this);const h=ri(r);this._bootstrapComponents=Eu(h.bootstrap),this._r3Injector=Cf(r,o,[{provide:Kh,useValue:this},{provide:Kl,useValue:this.componentFactoryResolver}],U(r),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(r)}get injector(){return this._r3Injector}destroy(){const r=this._r3Injector;!r.destroyed&&r.destroy(),this.destroyCbs.forEach(o=>o()),this.destroyCbs=null}onDestroy(r){this.destroyCbs.push(r)}}class n_ extends Iv{constructor(r){super(),this.moduleType=r}create(r){return new Pv(this.moduleType,r)}}class Q1 extends Kh{constructor(r,o,h){super(),this.componentFactoryResolver=new pg(this),this.instance=null;const g=new tl([...r,{provide:Kh,useValue:this},{provide:Kl,useValue:this.componentFactoryResolver}],o||vu(),h,new Set(["environment"]));this.injector=g,g.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(r){this.injector.onDestroy(r)}}function r_(n,r,o=null){return new Q1(n,r,o).injector}let eb=(()=>{class n{constructor(o){this._injector=o,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(o){if(!o.standalone)return null;if(!this.cachedInjectors.has(o.id)){const h=Mi(0,o.type),g=h.length>0?r_([h],this._injector,`Standalone[${o.type.name}]`):null;this.cachedInjectors.set(o.id,g)}return this.cachedInjectors.get(o.id)}ngOnDestroy(){try{for(const o of this.cachedInjectors.values())null!==o&&o.destroy()}finally{this.cachedInjectors.clear()}}}return n.\u0275prov=Xt({token:n,providedIn:"environment",factory:()=>new n(Nt(Ao))}),n})();function Mv(n){n.getStandaloneInjector=r=>r.get(eb).getOrCreateStandaloneInjector(n)}function Lv(n,r,o){const h=Hi()+n,g=Zt();return g[h]===qr?eu(g,h,o?r.call(o):r()):function Yc(n,r){return n[r]}(g,h)}function Bv(n,r,o,h){return Uv(Zt(),Hi(),n,r,o,h)}function Vv(n,r,o,h,g){return $v(Zt(),Hi(),n,r,o,h,g)}function Hv(n,r,o,h,g,y){return jv(Zt(),Hi(),n,r,o,h,g,y)}function Gv(n,r,o,h,g,y,A){return function Wv(n,r,o,h,g,y,A,$,ne){const _e=r+o;return vl(n,_e,g,y,A,$)?eu(n,_e+4,ne?h.call(ne,g,y,A,$):h(g,y,A,$)):Sp(n,_e+4)}(Zt(),Hi(),n,r,o,h,g,y,A)}function Sp(n,r){const o=n[r];return o===qr?void 0:o}function Uv(n,r,o,h,g,y){const A=r+o;return da(n,A,g)?eu(n,A+1,y?h.call(y,g):h(g)):Sp(n,A+1)}function $v(n,r,o,h,g,y,A){const $=r+o;
1return Gu(n,$,g,y)?eu(n,$+2,A?h.call(A,g,y):h(g,y)):Sp(n,$+2)}function jv(n,r,o,h,g,y,A,$){const ne=r+o;return function Oh(n,r,o,h,g){const y=Gu(n,r,o,h);return da(n,r+2,g)||y}(n,ne,g,y,A)?eu(n,ne+3,$?h.call($,g,y,A):h(g,y,A)):Sp(n,ne+3)}function Kv(n,r){const o=Fr();let h;const g=n+22;o.firstCreatePass?(h=function gb(n,r){if(r)for(let o=r.length-1;o>=0;o--){const h=r[o];if(n===h.name)return h}}(r,o.pipeRegistry),o.data[g]=h,h.onDestroy&&(o.destroyHooks||(o.destroyHooks=[])).push(g,h.onDestroy)):h=o.data[g];const y=h.factory||(h.factory=yi(h.type)),A=Ln($c);try{const $=Ji(!1),ne=y();return Ji($),function S0(n,r,o,h){o>=n.data.length&&(n.data[o]=null,n.blueprint[o]=null),r[o]=h}(o,Zt(),g,ne),ne}finally{Ln(A)}}function qv(n,r,o){const h=n+22,g=Zt(),y=gs(g,h);return wp(g,h)?Uv(g,Hi(),r,y.transform,o,y):y.transform(o)}function Yv(n,r,o,h){const g=n+22,y=Zt(),A=gs(y,g);return wp(y,g)?$v(y,Hi(),r,A.transform,o,h,A):A.transform(o,h)}function Zv(n,r,o,h,g){const y=n+22,A=Zt(),$=gs(A,y);return wp(A,y)?jv(A,Hi(),r,$.transform,o,h,g,$):$.transform(o,h,g)}function wp(n,r){return n[1].data[r].pure}function s_(n){return r=>{setTimeout(n,void 0,r)}}const ju=class vb extends t.x{constructor(r=!1){super(),this.__isAsync=r}emit(r){super.next(r)}subscribe(r,o,h){let g=r,y=o||(()=>null),A=h;if(r&&"object"==typeof r){const ne=r;g=ne.next?.bind(ne),y=ne.error?.bind(ne),A=ne.complete?.bind(ne)}this.__isAsync&&(y=s_(y),g&&(g=s_(g)),A&&(A=s_(A)));const $=super.subscribe({next:g,error:y,complete:A});return r instanceof f.w0&&r.add($),$}};function yb(){return this._results[Cu()]()}class o_{constructor(r=!1){this._emitDistinctChangesOnly=r,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const o=Cu(),h=o_.prototype;h[o]||(h[o]=yb)}get changes(){return this._changes||(this._changes=new ju)}get(r){return this._results[r]}map(r){return this._results.map(r)}filter(r){return this._results.filter(r)}find(r){return this._results.find(r)}reduce(r,o){return this._results.reduce(r,o)}forEach(r){this._results.forEach(r)}some(r){return this._results.some(r)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(r,o){const h=this;h.dirty=!1;const g=Wr(r);(this._changesDetected=!function br(n,r,o){if(n.length!==r.length)return!1;for(let h=0;h<n.length;h++){let g=n[h],y=r[h];if(o&&(g=o(g),y=o(y)),y!==g)return!1}return!0}(h._results,g,o))&&(h._results=g,h.length=g.length,h.last=g[this.length-1],h.first=g[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}let Ap=(()=>{class n{}return n.__NG_ELEMENT_ID__=Tb,n})();const bb=Ap,Eb=class extends bb{constructor(r,o,h){super(),this._declarationLView=r,this._declarationTContainer=o,this.elementRef=h}createEmbeddedView(r,o){const h=this._declarationTContainer.tViews,g=yh(this._declarationLView,h,r,16,null,h.declTNode,null,null,null,null,o||null);g[17]=this._declarationLView[this._declarationTContainer.index];const A=this._declarationLView[19];return null!==A&&(g[19]=A.createEmbeddedView(h)),Mf(h,g,r),new Nd(g)}};function Tb(){return mm(Vi(),Zt())}function mm(n,r){return 4&n.type?new Eb(r,n,ql(n,r)):null}let _m=(()=>{class n{}return n.__NG_ELEMENT_ID__=Cb,n})();function Cb(){return Qv(Vi(),Zt())}const Sb=_m,Xv=class extends Sb{constructor(r,o,h){super(),this._lContainer=r,this._hostTNode=o,this._hostLView=h}get element(){return ql(this._hostTNode,this._hostLView)}get injector(){return new So(this._hostTNode,this._hostLView)}get parentInjector(){const r=so(this._hostTNode,this._hostLView);if(Ta(r)){const o=ga(r,this._hostLView),h=Ka(r);return new So(o[1].data[h+8],o)}return new So(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(r){const o=Jv(this._lContainer);return null!==o&&o[r]||null}get length(){return this._lContainer.length-10}createEmbeddedView(r,o,h){let g,y;"number"==typeof h?g=h:null!=h&&(g=h.index,y=h.injector);const A=r.createEmbeddedView(o||{},y);return this.insert(A,g),A}createComponent(r,o,h,g,y){const A=r&&!function An(n){return"function"==typeof n}(r);let $;if(A)$=o;else{const Ze=o||{};$=Ze.index,h=Ze.injector,g=Ze.projectableNodes,y=Ze.environmentInjector||Ze.ngModuleRef}const ne=A?r:new Kc(Or(r)),_e=h||this.parentInjector;if(!y&&null==ne.ngModule){const ht=(A?_e:this.parentInjector).get(Ao,null);ht&&(y=ht)}const Me=ne.create(_e,g,void 0,y);return this.insert(Me.hostView,$),Me}insert(r,o){const h=r._lView,g=h[1];if(function ms(n){return Xn(n[3])}(h)){const Me=this.indexOf(r);if(-1!==Me)this.detach(Me);else{const Ze=h[3],ht=new Xv(Ze,Ze[6],Ze[3]);ht.detach(ht.indexOf(r))}}const y=this._adjustIndex(o),A=this._lContainer;!function ef(n,r,o,h){const g=10+h,y=o.length;h>0&&(o[g-1][4]=r),h<y-10?(r[4]=o[g],cs(o,10+h,r)):(o.push(r),r[4]=null),r[3]=o;const A=r[17];null!==A&&o!==A&&function tf(n,r){const o=n[9];
vendor: 5,963 bytes, line 1
1r[16]!==r[3][3][16]&&(n[2]=!0),null===o?n[9]=[r]:o.push(r)}(A,r);const $=r[19];null!==$&&$.insertView(n),r[2]|=64}(g,h,A,y);const $=md(y,A),ne=h[11],_e=Hl(ne,A[7]);return null!==_e&&function Qh(n,r,o,h,g,y){h[0]=g,h[6]=r,nc(n,h,o,1,g,y)}(g,A[6],ne,h,_e,$),r.attachToViewContainerRef(),cs(a_(A),y,r),r}move(r,o){return this.insert(r,o)}indexOf(r){const o=Jv(this._lContainer);return null!==o?o.indexOf(r):-1}remove(r){const o=this._adjustIndex(r,-1),h=yc(this._lContainer,o);h&&(Gi(a_(this._lContainer),o),hd(h[1],h))}detach(r){const o=this._adjustIndex(r,-1),h=yc(this._lContainer,o);return h&&null!=Gi(a_(this._lContainer),o)?new Nd(h):null}_adjustIndex(r,o=0){return r??this.length+o}};function Jv(n){return n[8]}function a_(n){return n[8]||(n[8]=[])}function Qv(n,r){let o;const h=r[n.index];if(Xn(h))o=h;else{let g;if(8&n.type)g=gi(h);else{const y=r[11];g=y.createComment("");const A=wi(n,r);zr(y,Hl(y,A),g,function Wd(n,r){return n.nextSibling(r)}(y,A),!1)}r[n.index]=o=cg(h,r,g,n),wh(r,o)}return new Xv(o,n,r)}class l_{constructor(r){this.queryList=r,this.matches=null}clone(){return new l_(this.queryList)}setDirty(){this.queryList.setDirty()}}class u_{constructor(r=[]){this.queries=r}createEmbeddedView(r){const o=r.queries;if(null!==o){const h=null!==r.contentQueries?r.contentQueries[0]:o.length,g=[];for(let y=0;y<h;y++){const A=o.getByIndex(y);g.push(this.queries[A.indexInDeclarationView].clone())}return new u_(g)}return null}insertView(r){this.dirtyQueriesWithMatches(r)}detachView(r){this.dirtyQueriesWithMatches(r)}dirtyQueriesWithMatches(r){for(let o=0;o<this.queries.length;o++)null!==ly(r,o).matches&&this.queries[o].setDirty()}}class ey{constructor(r,o,h=null){this.predicate=r,this.flags=o,this.read=h}}class c_{constructor(r=[]){this.queries=r}elementStart(r,o){for(let h=0;h<this.queries.length;h++)this.queries[h].elementStart(r,o)}elementEnd(r){for(let o=0;o<this.queries.length;o++)this.queries[o].elementEnd(r)}embeddedTView(r){let o=null;for(let h=0;h<this.length;h++){const g=null!==o?o.length:0,y=this.getByIndex(h).embeddedTView(r,g);y&&(y.indexInDeclarationView=h,null!==o?o.push(y):o=[y])}return null!==o?new c_(o):null}template(r,o){for(let h=0;h<this.queries.length;h++)this.queries[h].template(r,o)}getByIndex(r){return this.queries[r]}get length(){return this.queries.length}track(r){this.queries.push(r)}}class d_{constructor(r,o=-1){this.metadata=r,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=o}elementStart(r,o){this.isApplyingToNode(o)&&this.matchTNode(r,o)}elementEnd(r){this._declarationNodeIndex===r.index&&(this._appliesToNextNode=!1)}template(r,o){this.elementStart(r,o)}embeddedTView(r,o){return this.isApplyingToNode(r)?(this.crossesNgTemplate=!0,this.addMatch(-r.index,o),new d_(this.metadata)):null}isApplyingToNode(r){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const o=this._declarationNodeIndex;let h=r.parent;for(;null!==h&&8&h.type&&h.index!==o;)h=h.parent;return o===(null!==h?h.index:-1)}return this._appliesToNextNode}matchTNode(r,o){const h=this.metadata.predicate;if(Array.isArray(h))for(let g=0;g<h.length;g++){const y=h[g];this.matchTNodeWithReadOption(r,o,Db(o,y)),this.matchTNodeWithReadOption(r,o,qa(o,r,y,!1,!1))}else h===Ap?4&o.type&&this.matchTNodeWithReadOption(r,o,-1):this.matchTNodeWithReadOption(r,o,qa(o,r,h,!1,!1))}matchTNodeWithReadOption(r,o,h){if(null!==h){const g=this.metadata.read;if(null!==g)if(g===Yl||g===_m||g===Ap&&4&o.type)this.addMatch(o.index,-2);else{const y=qa(o,r,g,!1,!1);null!==y&&this.addMatch(o.index,y)}else this.addMatch(o.index,h)}}addMatch(r,o){null===this.matches?this.matches=[r,o]:this.matches.push(r,o)}}function Db(n,r){const o=n.localNames;if(null!==o)for(let h=0;h<o.length;h+=2)if(o[h]===r)return o[h+1];return null}function Pb(n,r,o,h){return-1===o?function Ib(n,r){return 11&n.type?ql(n,r):4&n.type?mm(n,r):null}(r,n):-2===o?function Mb(n,r,o){return o===Yl?ql(r,n):o===Ap?mm(r,n):o===_m?Qv(r,n):void 0}(n,r,h):Sa(n,n[1],o,r)}function ty(n,r,o,h){const g=r[19].queries[h];if(null===g.matches){const y=n.data,A=o.matches,$=[];for(let ne=0;ne<A.length;ne+=2){const _e=A[ne];$.push(_e<0?null:Pb(r,y[_e],A[ne+1],o.metadata.read))}g.matches=$}return g.matches}function h_(n,r,o,h){const g=n.queries.getByIndex(o),y=g.matches;if(null!==y){const A=ty(n,r,g,o);for(let $=0;$<y.length;$+=2){const ne=y[$];if(ne>0)h.push(A[$/2]);else{const _e=y[$+1],Me=r[-ne];for(let Ze=10;Ze<Me.length;Ze++){const ht=Me[Ze];ht[17]===ht[3]&&h_(ht[1],ht,_e,h)}if(null!==Me[9]){const Ze=Me[9];for(let ht=0;ht<Ze.length;ht++){const Pt=Ze[ht];h_(Pt[1],Pt,_e,h)}}}}}return h}function ny(n){const r=Zt(),o=Fr(),h=Uo();il(h+1);const g=ly(o,h);if(n.dirty&&function Io(n){return 4==(4&n[2])}(r)===(2==(2&g.metadata.flags))){if(null===g.matches)n.reset([]);else{const y=g.crossesNgTemplate?h_(o,r,h,[]):ty(o,r,g,h);n.reset(y,Ad),n.notifyOnChanges()}return!0}return!1}function ry(n,r,o){const h=Fr();h.firstCreatePass&&(ay(h,new ey(n,r,o),-1),2==(2&r)&&(h.staticViewQueries=!0)),oy(h,Zt(),r)}function iy(n,r,o,h){const g=Fr();if(g.firstCreatePass){const y=Vi();ay(g,new ey(r,o,h),y.index),function Ob(n,r){const o=n.contentQueries||(n.contentQueries=[]);r!==(o.length?o[o.length-1]:-1)&&o.push(n.queries.length-1,r)}(g,n),2==(2&o)&&(g.staticContentQueries=!0)}oy(g,Zt(),o)}function sy(){return function xb(n,r){return n[19].queries[r].queryList}(Zt(),Uo())}function oy(n,r,o){const h=new o_(4==(4&o));ig(n,r,h,h.destroy),null===r[19]&&(r[19]=new u_),r[19].queries.push(new l_(h))}function ay(n,r,o){null===n.queries&&(n.queries=new c_),n.queries.track(new d_(r,o))}function ly(n,r){return n.queries.getByIndex(r)}function uy(n,r){return mm(n,r)}function ym(...n){}const Iy=new bi("Application Initializer");let bm=(()=>{class n{constructor(o){this.appInits=o,this.resolve=ym,this.reject=ym,this.initialized=!1,this.done=!1,this.donePromise=new Promise((h,g)=>{this.resolve=h,this.reject=g})}
1runInitializers(){if(this.initialized)return;const o=[],h=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let g=0;g<this.appInits.length;g++){const y=this.appInits[g]();if(Fh(y))o.push(y);else if(Hg(y)){const A=new Promise(($,ne)=>{y.subscribe({complete:$,error:ne})});o.push(A)}}Promise.all(o).then(()=>{h()}).catch(g=>{this.reject(g)}),0===o.length&&h(),this.initialized=!0}}return n.\u0275fac=function(o){return new(o||n)(Nt(Iy,8))},n.\u0275prov=Xt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const Py=new bi("AppId",{providedIn:"root",factory:function My(){return`${__()}${__()}${__()}`}});function __(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const xy=new bi("Platform Initializer"),Jb=new bi("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Oy=new bi("appBootstrapListener");let Qb=(()=>{class n{log(o){console.log(o)}warn(o){console.warn(o)}}return n.\u0275fac=function(o){return new(o||n)},n.\u0275prov=Xt({token:n,factory:n.\u0275fac,providedIn:"platform"}),n})();const Em=new bi("LocaleId",{providedIn:"root",factory:()=>ot(Em,fn.Optional|fn.SkipSelf)||function eE(){return typeof $localize<"u"&&$localize.locale||Lo}()}),tE=new bi("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});class nE{constructor(r,o){this.ngModuleFactory=r,this.componentFactories=o}}let rE=(()=>{class n{compileModuleSync(o){return new n_(o)}compileModuleAsync(o){return Promise.resolve(this.compileModuleSync(o))}compileModuleAndAllComponentsSync(o){const h=this.compileModuleSync(o),y=Eu(ri(o).declarations).reduce((A,$)=>{const ne=Or($);return ne&&A.push(new Kc(ne)),A},[]);return new nE(h,y)}compileModuleAndAllComponentsAsync(o){return Promise.resolve(this.compileModuleAndAllComponentsSync(o))}clearCache(){}clearCacheFor(o){}getModuleId(o){}}return n.\u0275fac=function(o){return new(o||n)},n.\u0275prov=Xt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const oE=(()=>Promise.resolve(0))();function v_(n){typeof Zone>"u"?oE.then(()=>{n&&n.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",n)}class lu{constructor({enableLongStackTrace:r=!1,shouldCoalesceEventChangeDetection:o=!1,shouldCoalesceRunChangeDetection:h=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ju(!1),this.onMicrotaskEmpty=new ju(!1),this.onStable=new ju(!1),this.onError=new ju(!1),typeof Zone>"u")throw new N(908,!1);Zone.assertZonePatched();const g=this;g._nesting=0,g._outer=g._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(g._inner=g._inner.fork(new Zone.TaskTrackingZoneSpec)),r&&Zone.longStackTraceZoneSpec&&(g._inner=g._inner.fork(Zone.longStackTraceZoneSpec)),g.shouldCoalesceEventChangeDetection=!h&&o,g.shouldCoalesceRunChangeDetection=h,g.lastRequestAnimationFrameId=-1,g.nativeRequestAnimationFrame=function aE(){let n=mn.requestAnimationFrame,r=mn.cancelAnimationFrame;if(typeof Zone<"u"&&n&&r){const o=n[Zone.__symbol__("OriginalDelegate")];o&&(n=o);const h=r[Zone.__symbol__("OriginalDelegate")];h&&(r=h)}return{nativeRequestAnimationFrame:n,nativeCancelAnimationFrame:r}}().nativeRequestAnimationFrame,function cE(n){const r=()=>{!function uE(n){n.isCheckStableRunning||-1!==n.lastRequestAnimationFrameId||(n.lastRequestAnimationFrameId=n.nativeRequestAnimationFrame.call(mn,()=>{n.fakeTopEventTask||(n.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{n.lastRequestAnimationFrameId=-1,b_(n),n.isCheckStableRunning=!0,y_(n),n.isCheckStableRunning=!1},void 0,()=>{},()=>{})),n.fakeTopEventTask.invoke()}),b_(n))}(n)};n._inner=n._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(o,h,g,y,A,$)=>{try{return ky(n),o.invokeTask(g,y,A,$)}finally{(n.shouldCoalesceEventChangeDetection&&"eventTask"===y.type||n.shouldCoalesceRunChangeDetection)&&r(),Fy(n)}},onInvoke:(o,h,g,y,A,$,ne)=>{try{return ky(n),o.invoke(g,y,A,$,ne)}finally{n.shouldCoalesceRunChangeDetection&&r(),Fy(n)}},onHasTask:(o,h,g,y)=>{o.hasTask(g,y),h===g&&("microTask"==y.change?(n._hasPendingMicrotasks=y.microTask,b_(n),y_(n)):"macroTask"==y.change&&(n.hasPendingMacrotasks=y.macroTask))},onHandleError:(o,h,g,y)=>(o.handleError(g,y),n.runOutsideAngular(()=>n.onError.emit(y)),!1)})}(g)}
vendor: 6,043 bytes, line 1
1static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!lu.isInAngularZone())throw new N(909,!1)}static assertNotInAngularZone(){if(lu.isInAngularZone())throw new N(909,!1)}run(r,o,h){return this._inner.run(r,o,h)}runTask(r,o,h,g){const y=this._inner,A=y.scheduleEventTask("NgZoneEvent: "+g,r,lE,ym,ym);try{return y.runTask(A,o,h)}finally{y.cancelTask(A)}}runGuarded(r,o,h){return this._inner.runGuarded(r,o,h)}runOutsideAngular(r){return this._outer.run(r)}}const lE={};function y_(n){if(0==n._nesting&&!n.hasPendingMicrotasks&&!n.isStable)try{n._nesting++,n.onMicrotaskEmpty.emit(null)}finally{if(n._nesting--,!n.hasPendingMicrotasks)try{n.runOutsideAngular(()=>n.onStable.emit(null))}finally{n.isStable=!0}}}function b_(n){n.hasPendingMicrotasks=!!(n._hasPendingMicrotasks||(n.shouldCoalesceEventChangeDetection||n.shouldCoalesceRunChangeDetection)&&-1!==n.lastRequestAnimationFrameId)}function ky(n){n._nesting++,n.isStable&&(n.isStable=!1,n.onUnstable.emit(null))}function Fy(n){n._nesting--,y_(n)}class dE{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ju,this.onMicrotaskEmpty=new ju,this.onStable=new ju,this.onError=new ju}run(r,o,h){return r.apply(o,h)}runGuarded(r,o,h){return r.apply(o,h)}runOutsideAngular(r){return r()}runTask(r,o,h,g){return r.apply(o,h)}}const Ly=new bi(""),By=new bi("");let E_,hE=(()=>{class n{constructor(o,h,g){this._ngZone=o,this.registry=h,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,E_||(function fE(n){E_=n}(g),g.addToWindow(h)),this._watchAngularEvents(),o.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{lu.assertNotInAngularZone(),v_(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())v_(()=>{for(;0!==this._callbacks.length;){let o=this._callbacks.pop();clearTimeout(o.timeoutId),o.doneCb(this._didWork)}this._didWork=!1});else{let o=this.getPendingTasks();this._callbacks=this._callbacks.filter(h=>!h.updateCb||!h.updateCb(o)||(clearTimeout(h.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(o=>({source:o.source,creationLocation:o.creationLocation,data:o.data})):[]}addCallback(o,h,g){let y=-1;h&&h>0&&(y=setTimeout(()=>{this._callbacks=this._callbacks.filter(A=>A.timeoutId!==y),o(this._didWork,this.getPendingTasks())},h)),this._callbacks.push({doneCb:o,timeoutId:y,updateCb:g})}whenStable(o,h,g){if(g&&!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(o,h,g),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(o){this.registry.registerApplication(o,this)}unregisterApplication(o){this.registry.unregisterApplication(o)}findProviders(o,h,g){return[]}}return n.\u0275fac=function(o){return new(o||n)(Nt(lu),Nt(Vy),Nt(By))},n.\u0275prov=Xt({token:n,factory:n.\u0275fac}),n})(),Vy=(()=>{class n{constructor(){this._applications=new Map}registerApplication(o,h){this._applications.set(o,h)}unregisterApplication(o){this._applications.delete(o)}unregisterAllApplications(){this._applications.clear()}getTestability(o){return this._applications.get(o)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(o,h=!0){return E_?.findTestabilityInTree(this,o,h)??null}}return n.\u0275fac=function(o){return new(o||n)},n.\u0275prov=Xt({token:n,factory:n.\u0275fac,providedIn:"platform"}),n})(),od=null;const Hy=new bi("AllowMultipleToken"),T_=new bi("PlatformDestroyListeners");class mE{constructor(r,o){this.name=r,this.token=o}}function Uy(n,r,o=[]){const h=`Platform: ${r}`,g=new bi(h);return(y=[])=>{let A=C_();if(!A||A.injector.get(Hy,!1)){const $=[...o,...y,{provide:g,useValue:!0}];n?n($):function _E(n){if(od&&!od.get(Hy,!1))throw new N(400,!1);od=n;const r=n.get(jy);(function Gy(n){const r=n.get(xy,null);r&&r.forEach(o=>o())})(n)}(function $y(n=[],r){return ic.create({name:r,providers:[{provide:Ml,useValue:"platform"},{provide:T_,useValue:new Set([()=>od=null])},...n]})}($,h))}return function yE(n){const r=C_();if(!r)throw new N(401,!1);return r}()}}function C_(){return od?.get(jy)??null}let jy=(()=>{class n{constructor(o){this._injector=o,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(o,h){const g=function zy(n,r){let o;return o="noop"===n?new dE:("zone.js"===n?void 0:n)||new lu(r),o}(h?.ngZone,function Wy(n){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!n||!n.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!n||!n.ngZoneRunCoalescing)||!1}}(h)),y=[{provide:lu,useValue:g}];return g.run(()=>{const A=ic.create({providers:y,parent:this.injector,name:o.moduleType.name}),$=o.create(A),ne=$.injector.get(fh,null);if(!ne)throw new N(402,!1);return g.runOutsideAngular(()=>{const _e=g.onError.subscribe({next:Me=>{ne.handleError(Me)}});$.onDestroy(()=>{Cm(this._modules,$),_e.unsubscribe()})}),function Ky(n,r,o){try{const h=o();return Fh(h)?h.catch(g=>{throw r.runOutsideAngular(()=>n.handleError(g)),g}):h}catch(h){throw r.runOutsideAngular(()=>n.handleError(h)),h}}(ne,g,()=>{const _e=$.injector.get(bm);
1return _e.runInitializers(),_e.donePromise.then(()=>(tv($.injector.get(Em,Lo)||Lo),this._moduleDoBootstrap($),$))})})}bootstrapModule(o,h=[]){const g=qy({},h);return function pE(n,r,o){const h=new n_(o);return Promise.resolve(h)}(0,0,o).then(y=>this.bootstrapModuleFactory(y,g))}_moduleDoBootstrap(o){const h=o.injector.get(Tm);if(o._bootstrapComponents.length>0)o._bootstrapComponents.forEach(g=>h.bootstrap(g));else{if(!o.instance.ngDoBootstrap)throw new N(403,!1);o.instance.ngDoBootstrap(h)}this._modules.push(o)}onDestroy(o){this._destroyListeners.push(o)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new N(404,!1);this._modules.slice().forEach(h=>h.destroy()),this._destroyListeners.forEach(h=>h());const o=this._injector.get(T_,null);o&&(o.forEach(h=>h()),o.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return n.\u0275fac=function(o){return new(o||n)(Nt(ic))},n.\u0275prov=Xt({token:n,factory:n.\u0275fac,providedIn:"platform"}),n})();function qy(n,r){return Array.isArray(r)?r.reduce(qy,n):{...n,...r}}let Tm=(()=>{class n{constructor(o,h,g){this._zone=o,this._injector=h,this._exceptionHandler=g,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const y=new _.y($=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{$.next(this._stable),$.complete()})}),A=new _.y($=>{let ne;this._zone.runOutsideAngular(()=>{ne=this._zone.onStable.subscribe(()=>{lu.assertNotInAngularZone(),v_(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,$.next(!0))})})});const _e=this._zone.onUnstable.subscribe(()=>{lu.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{$.next(!1)}))});return()=>{ne.unsubscribe(),_e.unsubscribe()}});this.isStable=(0,S.T)(y,A.pipe((0,D.B)()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(o,h){const g=o instanceof bu;if(!this._injector.get(bm).done)throw!g&&Yr(o),new N(405,false);let A;A=g?o:this._injector.get(Kl).resolveComponentFactory(o),this.componentTypes.push(A.componentType);const $=function gE(n){return n.isBoundToModule}(A)?void 0:this._injector.get(Kh),_e=A.create(ic.NULL,[],h||A.selector,$),Me=_e.location.nativeElement,Ze=_e.injector.get(Ly,null);return Ze?.registerApplication(Me),_e.onDestroy(()=>{this.detachView(_e.hostView),Cm(this.components,_e),Ze?.unregisterApplication(Me)}),this._loadComponent(_e),_e}tick(){if(this._runningTick)throw new N(101,!1);try{this._runningTick=!0;for(let o of this._views)o.detectChanges()}catch(o){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(o))}finally{this._runningTick=!1}}attachView(o){const h=o;this._views.push(h),h.attachToAppRef(this)}detachView(o){const h=o;Cm(this._views,h),h.detachFromAppRef()}_loadComponent(o){this.attachView(o.hostView),this.tick(),this.components.push(o),this._injector.get(Oy,[]).concat(this._bootstrapListeners).forEach(g=>g(o))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(o=>o()),this._views.slice().forEach(o=>o.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(o){return this._destroyListeners.push(o),()=>Cm(this._destroyListeners,o)}destroy(){if(this._destroyed)throw new N(406,!1);const o=this._injector;o.destroy&&!o.destroyed&&o.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return n.\u0275fac=function(o){return new(o||n)(Nt(lu),Nt(Ao),Nt(fh))},n.\u0275prov=Xt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function Cm(n,r){const o=n.indexOf(r);o>-1&&n.splice(o,1)}function EE(){return!1}let TE=(()=>{class n{}return n.__NG_ELEMENT_ID__=CE,n})();function CE(n){return function SE(n,r,o){if(xs(n)&&!o){const h=ns(n.index,r);return new Nd(h,h)}return 47&n.type?new Nd(r[16],r):null}(Vi(),Zt(),16==(16&n))}class Qy{constructor(){}supports(r){return Rd(r)}create(r){return new ME(r)}}const PE=(n,r)=>r;class ME{constructor(r){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=r||PE}forEachItem(r){let o;for(o=this._itHead;null!==o;o=o._next)r(o)}forEachOperation(r){let o=this._itHead,h=this._removalsHead,g=0,y=null;for(;o||h;){const A=!h||o&&o.currentIndex<t1(h,g,y)?o:h,$=t1(A,g,y),ne=A.currentIndex;if(A===h)g--,h=h._nextRemoved;else if(o=o._next,null==A.previousIndex)g++;else{y||(y=[]);const _e=$-g,Me=ne-g;if(_e!=Me){for(let ht=0;ht<_e;ht++){const Pt=ht<y.length?y[ht]:y[ht]=0,Yt=Pt+ht;Me<=Yt&&Yt<_e&&(y[ht]=Pt+1)}y[A.previousIndex]=Me-_e}}$!==ne&&r(A,$,ne)}}forEachPreviousItem(r){let o;for(o=this._previousItHead;null!==o;o=o._nextPrevious)r(o)}forEachAddedItem(r){let o;for(o=this._additionsHead;null!==o;o=o._nextAdded)r(o)}forEachMovedItem(r){let o;for(o=this._movesHead;null!==o;o=o._nextMoved)r(o)}forEachRemovedItem(r){let o;for(o=this._removalsHead;null!==o;o=o._nextRemoved)r(o)}forEachIdentityChange(r){let o;for(o=this._identityChangesHead;null!==o;o=o._nextIdentityChange)r(o)}diff(r){if(null==r&&(r=[]),!Rd(r))throw new N(900,!1);return this.check(r)?this:null}onDestroy(){}check(r){this._reset();let g,y,A,o=this._itHead,h=!1;if(Array.isArray(r)){this.length=r.length;for(let $=0;$<this.length;$++)y=r[$],A=this._trackByFn($,y),null!==o&&Object.is(o.trackById,A)?(h&&(o=this._verifyReinsertion(o,y,A,$)),Ob
vendor: 6,126 bytes, line 1
1ject.is(o.item,y)||this._addIdentityChange(o,y)):(o=this._mismatch(o,y,A,$),h=!0),o=o._next}else g=0,function qc(n,r){if(Array.isArray(n))for(let o=0;o<n.length;o++)r(n[o]);else{const o=n[Cu()]();let h;for(;!(h=o.next()).done;)r(h.value)}}(r,$=>{A=this._trackByFn(g,$),null!==o&&Object.is(o.trackById,A)?(h&&(o=this._verifyReinsertion(o,$,A,g)),Object.is(o.item,$)||this._addIdentityChange(o,$)):(o=this._mismatch(o,$,A,g),h=!0),o=o._next,g++}),this.length=g;return this._truncate(o),this.collection=r,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let r;for(r=this._previousItHead=this._itHead;null!==r;r=r._next)r._nextPrevious=r._next;for(r=this._additionsHead;null!==r;r=r._nextAdded)r.previousIndex=r.currentIndex;for(this._additionsHead=this._additionsTail=null,r=this._movesHead;null!==r;r=r._nextMoved)r.previousIndex=r.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(r,o,h,g){let y;return null===r?y=this._itTail:(y=r._prev,this._remove(r)),null!==(r=null===this._unlinkedRecords?null:this._unlinkedRecords.get(h,null))?(Object.is(r.item,o)||this._addIdentityChange(r,o),this._reinsertAfter(r,y,g)):null!==(r=null===this._linkedRecords?null:this._linkedRecords.get(h,g))?(Object.is(r.item,o)||this._addIdentityChange(r,o),this._moveAfter(r,y,g)):r=this._addAfter(new xE(o,h),y,g),r}_verifyReinsertion(r,o,h,g){let y=null===this._unlinkedRecords?null:this._unlinkedRecords.get(h,null);return null!==y?r=this._reinsertAfter(y,r._prev,g):r.currentIndex!=g&&(r.currentIndex=g,this._addToMoves(r,g)),r}_truncate(r){for(;null!==r;){const o=r._next;this._addToRemovals(this._unlink(r)),r=o}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(r,o,h){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(r);const g=r._prevRemoved,y=r._nextRemoved;return null===g?this._removalsHead=y:g._nextRemoved=y,null===y?this._removalsTail=g:y._prevRemoved=g,this._insertAfter(r,o,h),this._addToMoves(r,h),r}_moveAfter(r,o,h){return this._unlink(r),this._insertAfter(r,o,h),this._addToMoves(r,h),r}_addAfter(r,o,h){return this._insertAfter(r,o,h),this._additionsTail=null===this._additionsTail?this._additionsHead=r:this._additionsTail._nextAdded=r,r}_insertAfter(r,o,h){const g=null===o?this._itHead:o._next;return r._next=g,r._prev=o,null===g?this._itTail=r:g._prev=r,null===o?this._itHead=r:o._next=r,null===this._linkedRecords&&(this._linkedRecords=new e1),this._linkedRecords.put(r),r.currentIndex=h,r}_remove(r){return this._addToRemovals(this._unlink(r))}_unlink(r){null!==this._linkedRecords&&this._linkedRecords.remove(r);const o=r._prev,h=r._next;return null===o?this._itHead=h:o._next=h,null===h?this._itTail=o:h._prev=o,r}_addToMoves(r,o){return r.previousIndex===o||(this._movesTail=null===this._movesTail?this._movesHead=r:this._movesTail._nextMoved=r),r}_addToRemovals(r){return null===this._unlinkedRecords&&(this._unlinkedRecords=new e1),this._unlinkedRecords.put(r),r.currentIndex=null,r._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=r,r._prevRemoved=null):(r._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=r),r}_addIdentityChange(r,o){return r.item=o,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=r:this._identityChangesTail._nextIdentityChange=r,r}}class xE{constructor(r,o){this.item=r,this.trackById=o,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 OE{constructor(){this._head=null,this._tail=null}add(r){null===this._head?(this._head=this._tail=r,r._nextDup=null,r._prevDup=null):(this._tail._nextDup=r,r._prevDup=this._tail,r._nextDup=null,this._tail=r)}get(r,o){let h;for(h=this._head;null!==h;h=h._nextDup)if((null===o||o<=h.currentIndex)&&Object.is(h.trackById,r))return h;return null}remove(r){const o=r._prevDup,h=r._nextDup;return null===o?this._head=h:o._nextDup=h,null===h?this._tail=o:h._prevDup=o,null===this._head}}class e1{constructor(){this.map=new Map}put(r){const o=r.trackById;let h=this.map.get(o);h||(h=new OE,this.map.set(o,h)),h.add(r)}get(r,o){const g=this.map.get(r);return g?g.get(r,o):null}remove(r){const o=r.trackById;return this.map.get(o).remove(r)&&this.map.delete(o),r}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function t1(n,r,o){const h=n.previousIndex;if(null===h)return h;let g=0;return o&&h<o.length&&(g=o[h]),h+r+g}class n1{constructor(){}supports(r){return r instanceof Map||xh(r)}create(){return new NE}}class NE{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(r){let o;for(o=this._mapHead;null!==o;o=o._next)r(o)}forEachPreviousItem(r){let o;for(o=this._previousMapHead;null!==o;o=o._nextPrevious)r(o)}forEachChangedItem(r){let o;for(o=this._changesHead;null!==o;o=o._nextChanged)r(o)}forEachAddedItem(r){let o;for(o=this._additionsHead;null!==o;o=o._nextAdded)r(o)}forEachRemovedItem(r){let o;for(o=this._removalsHead;null!==o;o=o._nextRemoved)r(o)}diff(r){if(r){if(!(r instanceof Map||xh(r)))throw new N(900,!1)}else r=new Map;return this.check(r)?this:null}onDestroy(){}check(r){this._reset();let o=this._mapHead;
1if(this._appendAfter=null,this._forEach(r,(h,g)=>{if(o&&o.key===g)this._maybeAddToChanges(o,h),this._appendAfter=o,o=o._next;else{const y=this._getOrCreateRecordForKey(g,h);o=this._insertBeforeOrAppend(o,y)}}),o){o._prev&&(o._prev._next=null),this._removalsHead=o;for(let h=o;null!==h;h=h._nextRemoved)h===this._mapHead&&(this._mapHead=null),this._records.delete(h.key),h._nextRemoved=h._next,h.previousValue=h.currentValue,h.currentValue=null,h._prev=null,h._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(r,o){if(r){const h=r._prev;return o._next=r,o._prev=h,r._prev=o,h&&(h._next=o),r===this._mapHead&&(this._mapHead=o),this._appendAfter=r,r}return this._appendAfter?(this._appendAfter._next=o,o._prev=this._appendAfter):this._mapHead=o,this._appendAfter=o,null}_getOrCreateRecordForKey(r,o){if(this._records.has(r)){const g=this._records.get(r);this._maybeAddToChanges(g,o);const y=g._prev,A=g._next;return y&&(y._next=A),A&&(A._prev=y),g._next=null,g._prev=null,g}const h=new RE(r);return this._records.set(r,h),h.currentValue=o,this._addToAdditions(h),h}_reset(){if(this.isDirty){let r;for(this._previousMapHead=this._mapHead,r=this._previousMapHead;null!==r;r=r._next)r._nextPrevious=r._next;for(r=this._changesHead;null!==r;r=r._nextChanged)r.previousValue=r.currentValue;for(r=this._additionsHead;null!=r;r=r._nextAdded)r.previousValue=r.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(r,o){Object.is(o,r.currentValue)||(r.previousValue=r.currentValue,r.currentValue=o,this._addToChanges(r))}_addToAdditions(r){null===this._additionsHead?this._additionsHead=this._additionsTail=r:(this._additionsTail._nextAdded=r,this._additionsTail=r)}_addToChanges(r){null===this._changesHead?this._changesHead=this._changesTail=r:(this._changesTail._nextChanged=r,this._changesTail=r)}_forEach(r,o){r instanceof Map?r.forEach(o):Object.keys(r).forEach(h=>o(r[h],h))}}class RE{constructor(r){this.key=r,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 r1(){return new I_([new Qy])}let I_=(()=>{class n{constructor(o){this.factories=o}static create(o,h){if(null!=h){const g=h.factories.slice();o=o.concat(g)}return new n(o)}static extend(o){return{provide:n,useFactory:h=>n.create(o,h||r1()),deps:[[n,new ma,new Ki]]}}find(o){const h=this.factories.find(g=>g.supports(o));if(null!=h)return h;throw new N(901,!1)}}return n.\u0275prov=Xt({token:n,providedIn:"root",factory:r1}),n})();function s1(){return new P_([new n1])}let P_=(()=>{class n{constructor(o){this.factories=o}static create(o,h){if(h){const g=h.factories.slice();o=o.concat(g)}return new n(o)}static extend(o){return{provide:n,useFactory:h=>n.create(o,h||s1()),deps:[[n,new ma,new Ki]]}}find(o){const h=this.factories.find(g=>g.supports(o));if(h)return h;throw new N(901,!1)}}return n.\u0275prov=Xt({token:n,providedIn:"root",factory:s1}),n})();const LE=Uy(null,"core",[]);let BE=(()=>{class n{constructor(o){}}return n.\u0275fac=function(o){return new(o||n)(Nt(Tm))},n.\u0275mod=ti({type:n}),n.\u0275inj=_n({}),n})();function VE(n){return"boolean"==typeof n?n:null!=n&&"false"!==n}function GE(n,r){const o=Or(n),h=r.elementInjector||vu();return new Kc(o).create(h,r.projectableNodes,r.hostElement,r.environmentInjector)}},4006:(s,a,l)=>{"use strict";l.d(a,{CE:()=>Es,Cf:()=>O,F:()=>Hr,Fd:()=>yi,Fj:()=>ae,JJ:()=>Sn,JL:()=>tr,JU:()=>U,NI:()=>Di,Oe:()=>wi,On:()=>en,Q7:()=>as,UX:()=>ts,Wl:()=>I,_:()=>li,_Y:()=>Bn,cw:()=>it,kI:()=>pe,nD:()=>Ni,qQ:()=>Ke,qu:()=>ns,sg:()=>si,u:()=>Zs,u5:()=>Do,wO:()=>hi,wV:()=>mr,x0:()=>Zr});var t=l(4650),f=l(6895),_=l(8996),S=l(4128),D=l(4004);let M=(()=>{class le{constructor(Q,Ee){this._renderer=Q,this._elementRef=Ee,this.onChange=wt=>{},this.onTouched=()=>{}}setProperty(Q,Ee){this._renderer.setProperty(this._elementRef.nativeElement,Q,Ee)}registerOnTouched(Q){this.onTouched=Q}registerOnChange(Q){this.onChange=Q}setDisabledState(Q){this.setProperty("disabled",Q)}}return le.\u0275fac=function(Q){return new(Q||le)(t.Y36(t.Qsj),t.Y36(t.SBq))},le.\u0275dir=t.lG2({type:le}),le})(),k=(()=>{class le extends M{}return le.\u0275fac=function(){let se;return function(Ee){return(se||(se=t.n5z(le)))(Ee||le)}}(),le.\u0275dir=t.lG2({type:le,features:[t.qOj]}),le})();const U=new t.OlP("NgValueAccessor"),te={provide:U,useExisting:(0,t.Gpc)(()=>I),multi:!0};let I=(()=>{class le extends k{writeValue(Q){this.setProperty("checked",Q)}}return le.\u0275fac=function(){let se;return function(Ee){return(se||(se=t.n5z(le)))(Ee||le)}}(),le.\u0275dir=t.lG2({type:le,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(Q,Ee){1&Q&&t.NdJ("change",function(ln){return Ee.onChange(ln.target.checked)})("blur",function(){return Ee.onTouched()})},features:[t._Bn([te]),t.qOj]}),le})();const z={provide:U,useExisting:(0,t.Gpc)(()=>ae),multi:!0},ee=new t.OlP("CompositionEventMode");let ae=(()=>{class le extends M{constructor(Q,Ee,wt){super(Q,Ee),this._compositionMode=wt,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function H(){const le=(0,f.q)()?(0,f.q)().getUserAgent():"";return/android (\d+)/.test(le.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 le.\u0275fac=function(Q){return new(Q||le)(t.Y36(t.Qsj),t.Y36(t.SBq),t.Y36(ee,8))},le.\u0275dir=t.lG2({type:le,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,Ee){1&Q&&t.NdJ("input",function(ln){return Ee._handleInput(ln.target.value)})("blur",function(){return Ee.onTouched()})("compositionstart",function(){return Ee._compositionStart()})("compositionend",function(ln){return Ee._compositionEnd(ln.target.value)})},features:[t._Bn([z]),t.qOj]}),le})();function Y(le){return null==le||("string"==typeof le||Array.isArray(le))&&0===le.length}function N(le){return null!=le&&"number"==typeof le.length}const O=new t.OlP("NgValidators"),X=new t.OlP("NgAsyncValidators"),J=/^(?=.{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 pe{static min(se){return me(se)}static max(se){return Fe(se)}static required(se){return He(se)}static requiredTrue(se){return function xe(le){return!0===le.value?null:{required:!0}}(se)}static email(se){return function Ne(le){return Y(le.value)||J.test(le.value)?null:{email:!0}}(se)}static minLength(se){return ze(se)}static maxLength(se){return ke(se)}static pattern(se){return function De(le){if(!le)return Ce;let se,Q;return"string"==typeof le?(Q="","^"!==le.charAt(0)&&(Q+="^"),Q+=le,"$"!==le.charAt(le.length-1)&&(Q+="$"),se=new RegExp(Q)):(Q=le.toString(),se=le),Ee=>{if(Y(Ee.value))return null;const wt=Ee.value;return se.test(wt)?null:{pattern:{requiredPattern:Q,actualValue:wt}}}}(se)}static nullValidator(se){return null}static compose(se){return Wt(se)}static composeAsync(se){return Et(se)}}function me(le){return se=>{if(Y(se.value)||Y(le))return null;const Q=parseFloat(se.value);return!isNaN(Q)&&Q<le?{min:{min:le,actual:se.value}}:null}}function Fe(le){return se=>{if(Y(se.value)||Y(le))return null;const Q=parseFloat(se.value);return!isNaN(Q)&&Q>le?{max:{max:le,actual:se.value}}:null}}function He(le){return Y(le.value)?{required:!0}:null}function ze(le){return se=>Y(se.value)||!N(se.value)?null:se.value.length<le?{minlength:{requiredLength:le,actualLength:se.value.length}}:null}function ke(le){return se=>N(se.value)&&se.value.length>le?{maxlength:{requiredLength:le,actualLength:se.value.length}}:null}function Ce(le){return null}function oe(le){return null!=le}function he(le){return(0,t.QGY)(le)?(0,_.D)(le):le}function be(le){let se={};return le.forEach(Q=>
vendor: 10,652 bytes, line 1
1{se=null!=Q?{...se,...Q}:se}),0===Object.keys(se).length?null:se}function tt(le,se){return se.map(Q=>Q(le))}function jt(le){return le.map(se=>function st(le){return!le.validate}(se)?se:Q=>se.validate(Q))}function Wt(le){if(!le)return null;const se=le.filter(oe);return 0==se.length?null:function(Q){return be(tt(Q,se))}}function Ut(le){return null!=le?Wt(jt(le)):null}function Et(le){if(!le)return null;const se=le.filter(oe);return 0==se.length?null:function(Q){const Ee=tt(Q,se).map(he);return(0,S.D)(Ee).pipe((0,D.U)(be))}}function dn(le){return null!=le?Et(jt(le)):null}function rn(le,se){return null===le?[se]:Array.isArray(le)?[...le,se]:[le,se]}function gn(le){return le._rawValidators}function Xt(le){return le._rawAsyncValidators}function Er(le){return le?Array.isArray(le)?le:[le]:[]}function _n(le,se){return Array.isArray(le)?le.includes(se):le===se}function Nn(le,se){const Q=Er(se);return Er(le).forEach(wt=>{_n(Q,wt)||Q.push(wt)}),Q}function Bt(le,se){return Er(se).filter(Q=>!_n(le,Q))}class Hn{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(se){this._rawValidators=se||[],this._composedValidatorFn=Ut(this._rawValidators)}_setAsyncValidators(se){this._rawAsyncValidators=se||[],this._composedAsyncValidatorFn=dn(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(se){this._onDestroyCallbacks.push(se)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(se=>se()),this._onDestroyCallbacks=[]}reset(se){this.control&&this.control.reset(se)}hasError(se,Q){return!!this.control&&this.control.hasError(se,Q)}getError(se,Q){return this.control?this.control.getError(se,Q):null}}class un extends Hn{get formDirective(){return null}get path(){return null}}class dr extends Hn{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class nr{constructor(se){this._cd=se}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 Sn=(()=>{class le extends nr{constructor(Q){super(Q)}}return le.\u0275fac=function(Q){return new(Q||le)(t.Y36(dr,2))},le.\u0275dir=t.lG2({type:le,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(Q,Ee){2&Q&&t.ekj("ng-untouched",Ee.isUntouched)("ng-touched",Ee.isTouched)("ng-pristine",Ee.isPristine)("ng-dirty",Ee.isDirty)("ng-valid",Ee.isValid)("ng-invalid",Ee.isInvalid)("ng-pending",Ee.isPending)},features:[t.qOj]}),le})(),tr=(()=>{class le extends nr{constructor(Q){super(Q)}}return le.\u0275fac=function(Q){return new(Q||le)(t.Y36(un,10))},le.\u0275dir=t.lG2({type:le,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(Q,Ee){2&Q&&t.ekj("ng-untouched",Ee.isUntouched)("ng-touched",Ee.isTouched)("ng-pristine",Ee.isPristine)("ng-dirty",Ee.isDirty)("ng-valid",Ee.isValid)("ng-invalid",Ee.isInvalid)("ng-pending",Ee.isPending)("ng-submitted",Ee.isSubmitted)},features:[t.qOj]}),le})();const qt="VALID",sn="INVALID",Nt="PENDING",yt="DISABLED";function ot(le){return(Oe(le)?le.validators:le)||null}function Ye(le,se){return(Oe(se)?se.asyncValidators:le)||null}function Oe(le){return null!=le&&!Array.isArray(le)&&"object"==typeof le}function Ge(le,se,Q){const Ee=le.controls;if(!(se?Object.keys(Ee):Ee).length)throw new t.vHH(1e3,"");if(!Ee[Q])throw new t.vHH(1001,"")}function Qe(le,se,Q){le._forEachChild((Ee,wt)=>{if(void 0===Q[wt])throw new t.vHH(1002,"")})}class gt{constructor(se,Q){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(se),this._assignAsyncValidators(Q)}get validator(){return this._composedValidatorFn}set validator(se){this._rawValidators=this._composedValidatorFn=se}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(se){this._rawAsyncValidators=this._composedAsyncValidatorFn=se}get parent(){return this._parent}get valid(){return this.status===qt}get invalid(){return this.status===sn}get pending(){return this.status==Nt}get disabled(){return this.status===yt}get enabled(){return this.status!==yt}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(se){this._assignValidators(se)}setAsyncValidators(se){this._assignAsyncValidators(se)}addValidators(se){this.setValidators(Nn(se,this._rawValidators))}addAsyncValidators(se){this.setAsyncValidators(Nn(se,this._rawAsyncValidators))}removeValidators(se){this.setValidators(Bt(se,this._rawValidators))}removeAsyncValidators(se){this.setAsyncValidators(Bt(se,this._rawAsyncValidators))}hasValidator(se){return _n(this._rawValidators,se)}hasAsyncValidator(se){return _n(this._rawAsyncValidators,se)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(se={}){this.touched=!0,this._parent&&!se.onlySelf&&this._parent.markAsTouched(se)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(se=>se.markAllAsTouched())}markAsUntouched(se={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(Q=>{Q.markAsUntouched({onlySelf:!0})}),this._parent&&!se.onlySelf&&this._parent._updateTouched(se)}markAsDirty(se={}){this.pristine=!1,this._parent&&!se.onlySelf&&this._parent.markAsDirty(se)}markAsPristine(se={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(Q=>{Q.markAsPristine({onlySelf:!0})}),this._parent&&!se.onlySelf&&this._parent._updatePristine(se)}markAsPending(se={}){this.status=Nt,!1!==se.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!se.onlySelf&&this._parent.markAsPending(se)}disable(se={}){const Q=this._parentMarkedDirty(se.onlySelf);this.status=yt,this.errors=null,this._forEachChild(Ee=>{Ee.disable({...se,onlySelf:!0})}),this._updateValue(),!1!==se.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...se,skipPristineCheck:Q}),this._onDisabledChange.forEach(Ee=>Ee(!0))}enable(se={}){const Q=this._parentMarkedDirty(se.onlySelf);this.status=qt,this._forEachChild(Ee=>{Ee.enable({...se,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:se.emitEvent}),this._updateAncestors({...se,skipPristineCheck:Q}),this._onDisabledChange.forEach(Ee=>Ee(!1))}_updateAncestors(se){this._parent&&!se.onlySelf&&(this._parent.updateValueAndValidity(se),se.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(se){this._parent=se}getRawValue(){return this.value}updateValueAndValidity(se={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===qt||this.status===Nt)&&this._runAsyncValidator(se.emitEvent)),!1!==se.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!se.onlySelf&&this._parent.updateValueAndValidity(se)}_updateTreeValidity(se={emitEvent:!0}){this._forEachChild(Q=>Q._updateTreeValidity(se)),this.updateValueAndValidity({onlySelf:!0,emitEvent:se.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?yt:qt}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(se){if(this.asyncValidator){this.status=Nt,this._hasOwnPendingAsyncValidator=!0;const Q=he(this.asyncValidator(this));this._asyncValidationSubscription=Q.subscribe(Ee=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(Ee,{emitEvent:se})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(se,Q={}){this.errors=se,this._updateControlsErrors(!1!==Q.emitEvent)}get(se){let Q=se;return null==Q||(Array.isArray(Q)||(Q=Q.split(".")),0===Q.length)?null:Q.reduce((Ee,wt)=>Ee&&Ee._find(wt),this)}getError(se,Q){const Ee=Q?this.get(Q):this;return Ee&&Ee.errors?Ee.errors[se]:null}hasError(se,Q){return!!this.getError(se,Q)}get root(){let se=this;for(;se._parent;)se=se._parent;return se}_updateControlsErrors(se){this.status=this._calculateStatus(),se&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(se)}_initObservables(){this.valueChanges=new t.vpe,this.statusChanges=new t.vpe}_calculateStatus(){return this._allControlsDisabled()?yt:this.errors?sn:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Nt)?Nt:this._anyControlsHaveStatus(sn)?sn:qt}_anyControlsHaveStatus(se){return this._anyControls(Q=>Q.status===se)}_anyControlsDirty(){return this._anyControls(se=>se.dirty)}_anyControlsTouched(){return this._anyControls(se=>se.touched)}_updatePristine(se={}){this.pristine=!this._anyControlsDirty(),this._parent&&!se.onlySelf&&this._parent._updatePristine(se)}_updateTouched(se={}){this.touched=this._anyControlsTouched(),this._parent&&!se.onlySelf&&this._parent._updateTouched(se)}_registerOnCollectionChange(se){this._onCollectionChange=se}_setUpdateStrategy(se){Oe(se)&&null!=se.updateOn&&(this._updateOn=se.updateOn)}_parentMarkedDirty(se){return!se&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}
vendor: 5,929 bytes, line 1
1_find(se){return null}_assignValidators(se){this._rawValidators=Array.isArray(se)?se.slice():se,this._composedValidatorFn=function Ue(le){return Array.isArray(le)?Ut(le):le||null}(this._rawValidators)}_assignAsyncValidators(se){this._rawAsyncValidators=Array.isArray(se)?se.slice():se,this._composedAsyncValidatorFn=function St(le){return Array.isArray(le)?dn(le):le||null}(this._rawAsyncValidators)}}class it extends gt{constructor(se,Q,Ee){super(ot(Q),Ye(Ee,Q)),this.controls=se,this._initObservables(),this._setUpdateStrategy(Q),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(se,Q){return this.controls[se]?this.controls[se]:(this.controls[se]=Q,Q.setParent(this),Q._registerOnCollectionChange(this._onCollectionChange),Q)}addControl(se,Q,Ee={}){this.registerControl(se,Q),this.updateValueAndValidity({emitEvent:Ee.emitEvent}),this._onCollectionChange()}removeControl(se,Q={}){this.controls[se]&&this.controls[se]._registerOnCollectionChange(()=>{}),delete this.controls[se],this.updateValueAndValidity({emitEvent:Q.emitEvent}),this._onCollectionChange()}setControl(se,Q,Ee={}){this.controls[se]&&this.controls[se]._registerOnCollectionChange(()=>{}),delete this.controls[se],Q&&this.registerControl(se,Q),this.updateValueAndValidity({emitEvent:Ee.emitEvent}),this._onCollectionChange()}contains(se){return this.controls.hasOwnProperty(se)&&this.controls[se].enabled}setValue(se,Q={}){Qe(this,0,se),Object.keys(se).forEach(Ee=>{Ge(this,!0,Ee),this.controls[Ee].setValue(se[Ee],{onlySelf:!0,emitEvent:Q.emitEvent})}),this.updateValueAndValidity(Q)}patchValue(se,Q={}){null!=se&&(Object.keys(se).forEach(Ee=>{const wt=this.controls[Ee];wt&&wt.patchValue(se[Ee],{onlySelf:!0,emitEvent:Q.emitEvent})}),this.updateValueAndValidity(Q))}reset(se={},Q={}){this._forEachChild((Ee,wt)=>{Ee.reset(se[wt],{onlySelf:!0,emitEvent:Q.emitEvent})}),this._updatePristine(Q),this._updateTouched(Q),this.updateValueAndValidity(Q)}getRawValue(){return this._reduceChildren({},(se,Q,Ee)=>(se[Ee]=Q.getRawValue(),se))}_syncPendingControls(){let se=this._reduceChildren(!1,(Q,Ee)=>!!Ee._syncPendingControls()||Q);return se&&this.updateValueAndValidity({onlySelf:!0}),se}_forEachChild(se){Object.keys(this.controls).forEach(Q=>{const Ee=this.controls[Q];Ee&&se(Ee,Q)})}_setUpControls(){this._forEachChild(se=>{se.setParent(this),se._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(se){for(const[Q,Ee]of Object.entries(this.controls))if(this.contains(Q)&&se(Ee))return!0;return!1}_reduceValue(){return this._reduceChildren({},(Q,Ee,wt)=>((Ee.enabled||this.disabled)&&(Q[wt]=Ee.value),Q))}_reduceChildren(se,Q){let Ee=se;return this._forEachChild((wt,ln)=>{Ee=Q(Ee,wt,ln)}),Ee}_allControlsDisabled(){for(const se of Object.keys(this.controls))if(this.controls[se].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(se){return this.controls.hasOwnProperty(se)?this.controls[se]:null}}class At extends it{}const Ve=new t.OlP("CallSetDisabledState",{providedIn:"root",factory:()=>B}),B="always";function ue(le,se){return[...se.path,le]}function ve(le,se,Q=B){In(le,se),se.valueAccessor.writeValue(le.value),(le.disabled||"always"===Q)&&se.valueAccessor.setDisabledState?.(le.disabled),function Zn(le,se){se.valueAccessor.registerOnChange(Q=>{le._pendingValue=Q,le._pendingChange=!0,le._pendingDirty=!0,"change"===le.updateOn&&Jn(le,se)})}(le,se),function ti(le,se){const Q=(Ee,wt)=>{se.valueAccessor.writeValue(Ee),wt&&se.viewToModelUpdate(Ee)};le.registerOnChange(Q),se._registerOnDestroy(()=>{le._unregisterOnChange(Q)})}(le,se),function Ir(le,se){se.valueAccessor.registerOnTouched(()=>{le._pendingTouched=!0,"blur"===le.updateOn&&le._pendingChange&&Jn(le,se),"submit"!==le.updateOn&&le.markAsTouched()})}(le,se),function Jt(le,se){if(se.valueAccessor.setDisabledState){const Q=Ee=>{se.valueAccessor.setDisabledState(Ee)};le.registerOnDisabledChange(Q),se._registerOnDestroy(()=>{le._unregisterOnDisabledChange(Q)})}}(le,se)}function Le(le,se,Q=!0){const Ee=()=>{};se.valueAccessor&&(se.valueAccessor.registerOnChange(Ee),se.valueAccessor.registerOnTouched(Ee)),er(le,se),le&&(se._invokeOnDestroyCallbacks(),le._registerOnCollectionChange(()=>{}))}function Je(le,se){le.forEach(Q=>{Q.registerOnValidatorChange&&Q.registerOnValidatorChange(se)})}function In(le,se){const Q=gn(le);null!==se.validator?le.setValidators(rn(Q,se.validator)):"function"==typeof Q&&le.setValidators([Q]);const Ee=Xt(le);null!==se.asyncValidator?le.setAsyncValidators(rn(Ee,se.asyncValidator)):"function"==typeof Ee&&le.setAsyncValidators([Ee]);const wt=()=>le.updateValueAndValidity();Je(se._rawValidators,wt),Je(se._rawAsyncValidators,wt)}function er(le,se){let Q=!1;if(null!==le){if(null!==se.validator){const wt=gn(le);if(Array.isArray(wt)&&wt.length>0){const ln=wt.filter(Bi=>Bi!==se.validator);ln.length!==wt.length&&(Q=!0,le.setValidators(ln))}}if(null!==se.asyncValidator){const wt=Xt(le);if(Array.isArray(wt)&&wt.length>0){const ln=wt.filter(Bi=>Bi!==se.asyncValidator);ln.length!==wt.length&&(Q=!0,le.setAsyncValidators(ln))}}}const Ee=()=>{};return Je(se._rawValidators,Ee),Je(se._rawAsyncValidators,Ee),Q}function Jn(le,se){le._pendingDirty&&le.markAsDirty(),le.setValue(le._pendingValue,{emitModelToViewChange:!1}),se.viewToModelUpdate(le._pendingValue),le._pendingChange=!1}function Qi(le,se){In(le,se)}function Yr(le,se){if(!le.hasOwnProperty("model"))return!1;const Q=le.model;return!!Q.isFirstChange()||!Object.is(se,Q.currentValue)}function pi(le,se){le._syncPendingControls(),se.forEach(Q=>{const Ee=Q.control;"submit"===Ee.updateOn&&Ee._pendingChange&&(Q.viewToModelUpdate(Ee._pendingValue),Ee._pendingChange=!1)})}function vn(le,se){if(!se)return null;let Q,Ee,wt;return Array.isArray(se),se.forEach(ln=>{ln.constructor===ae?Q=ln:function ri(le){return Object.getPrototypeOf(le.constructor)===k}
1(ln)?Ee=ln:wt=ln}),wt||Ee||Q||null}const ci={provide:un,useExisting:(0,t.Gpc)(()=>Hr)},ii=(()=>Promise.resolve())();let Hr=(()=>{class le extends un{constructor(Q,Ee,wt){super(),this.callSetDisabledState=wt,this.submitted=!1,this._directives=new Set,this.ngSubmit=new t.vpe,this.form=new it({},Ut(Q),dn(Ee))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(Q){ii.then(()=>{const Ee=this._findContainer(Q.path);Q.control=Ee.registerControl(Q.name,Q.control),ve(Q.control,Q,this.callSetDisabledState),Q.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(Q)})}getControl(Q){return this.form.get(Q.path)}removeControl(Q){ii.then(()=>{const Ee=this._findContainer(Q.path);Ee&&Ee.removeControl(Q.name),this._directives.delete(Q)})}addFormGroup(Q){ii.then(()=>{const Ee=this._findContainer(Q.path),wt=new it({});Qi(wt,Q),Ee.registerControl(Q.name,wt),wt.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(Q){ii.then(()=>{const Ee=this._findContainer(Q.path);Ee&&Ee.removeControl(Q.name)})}getFormGroup(Q){return this.form.get(Q.path)}updateModel(Q,Ee){ii.then(()=>{this.form.get(Q.path).setValue(Ee)})}setValue(Q){this.control.setValue(Q)}onSubmit(Q){return this.submitted=!0,pi(this.form,this._directives),this.ngSubmit.emit(Q),"dialog"===Q?.target?.method}onReset(){this.resetForm()}resetForm(Q){this.form.reset(Q),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(Q){return Q.pop(),Q.length?this.form.get(Q):this.form}}return le.\u0275fac=function(Q){return new(Q||le)(t.Y36(O,10),t.Y36(X,10),t.Y36(Ve,8))},le.\u0275dir=t.lG2({type:le,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(Q,Ee){1&Q&&t.NdJ("submit",function(ln){return Ee.onSubmit(ln)})("reset",function(){return Ee.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[t._Bn([ci]),t.qOj]}),le})();function Ci(le,se){const Q=le.indexOf(se);Q>-1&&le.splice(Q,1)}function gr(le){return"object"==typeof le&&null!==le&&2===Object.keys(le).length&&"value"in le&&"disabled"in le}const Di=class extends gt{constructor(se=null,Q,Ee){super(ot(Q),Ye(Ee,Q)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(se),this._setUpdateStrategy(Q),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Oe(Q)&&(Q.nonNullable||Q.initialValueIsDefault)&&(this.defaultValue=gr(se)?se.value:se)}setValue(se,Q={}){this.value=this._pendingValue=se,this._onChange.length&&!1!==Q.emitModelToViewChange&&this._onChange.forEach(Ee=>Ee(this.value,!1!==Q.emitViewToModelChange)),this.updateValueAndValidity(Q)}patchValue(se,Q={}){this.setValue(se,Q)}reset(se=this.defaultValue,Q={}){this._applyFormState(se),this.markAsPristine(Q),this.markAsUntouched(Q),this.setValue(this.value,Q),this._pendingChange=!1}_updateValue(){}_anyControls(se){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(se){this._onChange.push(se)}_unregisterOnChange(se){Ci(this._onChange,se)}registerOnDisabledChange(se){this._onDisabledChange.push(se)}_unregisterOnDisabledChange(se){Ci(this._onDisabledChange,se)}_forEachChild(se){}_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(se){gr(se)?(this.value=this._pendingValue=se.value,se.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=se}};let Zi=(()=>{class le extends un{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return ue(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}}return le.\u0275fac=function(){let se;return function(Ee){return(se||(se=t.n5z(le)))(Ee||le)}}(),le.\u0275dir=t.lG2({type:le,features:[t.qOj]}),le})();const Dt={provide:dr,useExisting:(0,t.Gpc)(()=>en)},Ht=(()=>Promise.resolve())();let en=(()=>{class le extends dr{constructor(Q,Ee,wt,ln,Bi,Gs){super(),this._changeDetectorRef=Bi,this.callSetDisabledState=Gs,this.control=new Di,this._registered=!1,this.update=new t.vpe,this._parent=Q,this._setValidators(Ee),this._setAsyncValidators(wt),this.valueAccessor=vn(0,ln)}ngOnChanges(Q){if(this._checkForErrors(),!this._registered||"name"in Q){if(this._registered&&(this._checkName(),this.formDirective)){const Ee=Q.name.previousValue;this.formDirective.removeControl({name:Ee,path:this._getPath(Ee)})}this._setUpControl()}"isDisabled"in Q&&this._updateDisabled(Q),Yr(Q,this.viewModel)&&(this._updateV
1alue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(Q){this.viewModel=Q,this.update.emit(Q)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){ve(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(Q){Ht.then(()=>{this.control.setValue(Q,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(Q){const Ee=Q.isDisabled.currentValue,wt=0!==Ee&&(0,t.D6c)(Ee);Ht.then(()=>{wt&&!this.control.disabled?this.control.disable():!wt&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(Q){return this._parent?ue(Q,this._parent):[Q]}}return le.\u0275fac=function(Q){return new(Q||le)(t.Y36(un,9),t.Y36(O,10),t.Y36(X,10),t.Y36(U,10),t.Y36(t.sBO,8),t.Y36(Ve,8))},le.\u0275dir=t.lG2({type:le,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[t._Bn([Dt]),t.qOj,t.TTD]}),le})(),Bn=(()=>{class le{}return le.\u0275fac=function(Q){return new(Q||le)},le.\u0275dir=t.lG2({type:le,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),le})();const Pr={provide:U,useExisting:(0,t.Gpc)(()=>mr),multi:!0};let mr=(()=>{class le extends k{writeValue(Q){this.setProperty("value",Q??"")}registerOnChange(Q){this.onChange=Ee=>{Q(""==Ee?null:parseFloat(Ee))}}}return le.\u0275fac=function(){let se;return function(Ee){return(se||(se=t.n5z(le)))(Ee||le)}}(),le.\u0275dir=t.lG2({type:le,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(Q,Ee){1&Q&&t.NdJ("input",function(ln){return Ee.onChange(ln.target.value)})("blur",function(){return Ee.onTouched()})},features:[t._Bn([Pr]),t.qOj]}),le})();const vi={provide:U,useExisting:(0,t.Gpc)(()=>li),multi:!0};let fr=(()=>{class le{}return le.\u0275fac=function(Q){return new(Q||le)},le.\u0275mod=t.oAB({type:le}),le.\u0275inj=t.cJS({}),le})(),xi=(()=>{class le{constructor(){this._accessors=[]}add(Q,Ee){this._accessors.push([Q,Ee])}remove(Q){for(let Ee=this._accessors.length-1;Ee>=0;--Ee)if(this._accessors[Ee][1]===Q)return void this._accessors.splice(Ee,1)}select(Q){this._accessors.forEach(Ee=>{this._isSameGroup(Ee,Q)&&Ee[1]!==Q&&Ee[1].fireUncheck(Q.value)})}_isSameGroup(Q,Ee){return!!Q[0].control&&Q[0]._parent===Ee._control._parent&&Q[1].name===Ee.name}}return le.\u0275fac=function(Q){return new(Q||le)},le.\u0275prov=t.Yz7({token:le,factory:le.\u0275fac,providedIn:fr}),le})(),li=(()=>{class le extends k{constructor(Q,Ee,wt,ln){super(Q,Ee),this._registry=wt,this._injector=ln,this.onChange=()=>{}}ngOnInit(){this._control=this._injector.get(dr),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)}}fireUncheck(Q){this.writeValue(Q)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}}return le.\u0275fac=function(Q){return new(Q||le)(t.Y36(t.Qsj),t.Y36(t.SBq),t.Y36(xi),t.Y36(t.zs3))},le.\u0275dir=t.lG2({type:le,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(Q,Ee){1&Q&&t.NdJ("change",function(){return Ee.onChange()})("blur",function(){return Ee.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[t._Bn([vi]),t.qOj]}),le})();const Xn=new t.OlP("NgModelWithFormControlWarning"),Oi={provide:un,useExisting:(0,t.Gpc)(()=>si)};let si=(()=>{class le extends un{constructor(Q,Ee,wt){super(),this.callSetDisabledState=wt,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new t.vpe,this._setValidators(Q),this._setAsyncValidators(Ee)}ngOnChanges(Q){this._checkFormPresent(),Q.hasOwnProperty("form")&&(this._updateV
1alidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(er(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 Ee=this.form.get(Q.path);return ve(Ee,Q,this.callSetDisabledState),Ee.updateValueAndValidity({emitEvent:!1}),this.directives.push(Q),Ee}getControl(Q){return this.form.get(Q.path)}removeControl(Q){Le(Q.control||null,Q,!1),function qn(le,se){const Q=le.indexOf(se);Q>-1&&le.splice(Q,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,Ee){this.form.get(Q.path).setValue(Ee)}onSubmit(Q){return this.submitted=!0,pi(this.form,this.directives),this.ngSubmit.emit(Q),"dialog"===Q?.target?.method}onReset(){this.resetForm()}resetForm(Q){this.form.reset(Q),this.submitted=!1}_updateDomValue(){this.directives.forEach(Q=>{const Ee=Q.control,wt=this.form.get(Q.path);Ee!==wt&&(Le(Ee||null,Q),(le=>le instanceof Di)(wt)&&(ve(wt,Q,this.callSetDisabledState),Q.control=wt))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(Q){const Ee=this.form.get(Q.path);Qi(Ee,Q),Ee.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(Q){if(this.form){const Ee=this.form.get(Q.path);Ee&&function bs(le,se){return er(le,se)}(Ee,Q)&&Ee.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){In(this.form,this),this._oldForm&&er(this._oldForm,this)}_checkFormPresent(){}}return le.\u0275fac=function(Q){return new(Q||le)(t.Y36(O,10),t.Y36(X,10),t.Y36(Ve,8))},le.\u0275dir=t.lG2({type:le,selectors:[["","formGroup",""]],hostBindings:function(Q,Ee){1&Q&&t.NdJ("submit",function(ln){return Ee.onSubmit(ln)})("reset",function(){return Ee.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[t._Bn([Oi]),t.qOj,t.TTD]}),le})();const Sr={provide:un,useExisting:(0,t.Gpc)(()=>Zr)};let Zr=(()=>{class le extends Zi{constructor(Q,Ee,wt){super(),this._parent=Q,this._setValidators(Ee),this._setAsyncValidators(wt)}_checkParentType(){Xr(this._parent)}}return le.\u0275fac=function(Q){return new(Q||le)(t.Y36(un,13),t.Y36(O,10),t.Y36(X,10))},le.\u0275dir=t.lG2({type:le,selectors:[["","formGroupName",""]],inputs:{name:["formGroupName","name"]},features:[t._Bn([Sr]),t.qOj]}),le})();const hs={provide:un,useExisting:(0,t.Gpc)(()=>Es)};let Es=(()=>{class le extends un{constructor(Q,Ee,wt){super(),this._parent=Q,this._setValidators(Ee),this._setAsyncValidators(wt)}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return ue(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){Xr(this._parent)}}return le.\u0275fac=function(Q){return new(Q||le)(t.Y36(un,13),t.Y36(O,10),t.Y36(X,10))},le.\u0275dir=t.lG2({type:le,selectors:[["","formArrayName",""]],inputs:{name:["formArrayName","name"]},features:[t._Bn([hs]),t.qOj]}),le})();function Xr(le){return!(le instanceof Zr||le instanceof si||le instanceof Es)}const Bs={provide:dr,useExisting:(0,t.Gpc)(()=>Zs)};let Zs=(()=>{class le extends dr{constructor(Q,Ee,wt,ln,Bi){super(),this._ngModelWarningConfig=Bi,this._added=!1,this.update=new t.vpe,this._ngModelWarningSent=!1,this._parent=Q,this._setValidators(Ee),this._setAsyncValidators(wt),this.valueAccessor=vn(0,ln)}set isDisabled(Q){}ngOnChanges(Q){this._added||this._setUpControl(),Yr(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 ue(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 le._ngModelWarningSentOnce=!1,le.\u0275fac=function(Q){return new(Q||le)(t.Y36(un,13),t.Y36(O,10),t.Y36(X,10),t.Y36(U,10),t.Y36(Xn,8))},le.\u0275dir=t.lG2({type:le,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[t._Bn([Bs]),t.qOj,t.TTD]}),le})();function Rn(le){return"number"==typeof le?le:parseInt(le,10)}function jr(le){return"number"==typeof le?le:parseFloat(le)}let jn=(()=>
1{class le{constructor(){this._validator=Ce}ngOnChanges(Q){if(this.inputName in Q){const Ee=this.normalizeInput(Q[this.inputName].currentValue);this._enabled=this.enabled(Ee),this._validator=this._enabled?this.createValidator(Ee):Ce,this._onChange&&this._onChange()}}validate(Q){return this._validator(Q)}registerOnValidatorChange(Q){this._onChange=Q}enabled(Q){return null!=Q}}return le.\u0275fac=function(Q){return new(Q||le)},le.\u0275dir=t.lG2({type:le,features:[t.TTD]}),le})();const Vs={provide:O,useExisting:(0,t.Gpc)(()=>yi),multi:!0};let yi=(()=>{class le extends jn{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=Q=>jr(Q),this.createValidator=Q=>Fe(Q)}}return le.\u0275fac=function(){let se;return function(Ee){return(se||(se=t.n5z(le)))(Ee||le)}}(),le.\u0275dir=t.lG2({type:le,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(Q,Ee){2&Q&&t.uIk("max",Ee._enabled?Ee.max:null)},inputs:{max:"max"},features:[t._Bn([Vs]),t.qOj]}),le})();const dt={provide:O,useExisting:(0,t.Gpc)(()=>Ke),multi:!0};let Ke=(()=>{class le extends jn{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=Q=>jr(Q),this.createValidator=Q=>me(Q)}}return le.\u0275fac=function(){let se;return function(Ee){return(se||(se=t.n5z(le)))(Ee||le)}}(),le.\u0275dir=t.lG2({type:le,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(Q,Ee){2&Q&&t.uIk("min",Ee._enabled?Ee.min:null)},inputs:{min:"min"},features:[t._Bn([dt]),t.qOj]}),le})();const bo={provide:O,useExisting:(0,t.Gpc)(()=>as),multi:!0};let as=(()=>{class le extends jn{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=t.D6c,this.createValidator=Q=>He}enabled(Q){return Q}}return le.\u0275fac=function(){let se;return function(Ee){return(se||(se=t.n5z(le)))(Ee||le)}}(),le.\u0275dir=t.lG2({type:le,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(Q,Ee){2&Q&&t.uIk("required",Ee._enabled?"":null)},inputs:{required:"required"},features:[t._Bn([bo]),t.qOj]}),le})();const Fi={provide:O,useExisting:(0,t.Gpc)(()=>hi),multi:!0};let hi=(()=>{class le extends jn{constructor(){super(...arguments),this.inputName="minlength",this.normalizeInput=Q=>Rn(Q),this.createValidator=Q=>ze(Q)}}return le.\u0275fac=function(){let se;return function(Ee){return(se||(se=t.n5z(le)))(Ee||le)}}(),le.\u0275dir=t.lG2({type:le,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(Q,Ee){2&Q&&t.uIk("minlength",Ee._enabled?Ee.minlength:null)},inputs:{minlength:"minlength"},features:[t._Bn([Fi]),t.qOj]}),le})();const wr={provide:O,useExisting:(0,t.Gpc)(()=>Ni),multi:!0};let Ni=(()=>{class le extends jn{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=Q=>Rn(Q),this.createValidator=Q=>ke(Q)}}return le.\u0275fac=function(){let se;return function(Ee){return(se||(se=t.n5z(le)))(Ee||le)}}(),le.\u0275dir=t.lG2({type:le,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(Q,Ee){2&Q&&t.uIk("maxlength",Ee._enabled?Ee.maxlength:null)},inputs:{maxlength:"maxlength"},features:[t._Bn([wr]),t.qOj]}),le})(),ho=(()=>{class le{}return le.\u0275fac=function(Q){return new(Q||le)},le.\u0275mod=t.oAB({type:le}),le.\u0275inj=t.cJS({imports:[fr]}),le})(),Do=(()=>{class le{static withConfig(Q){return{ngModule:le,providers:[{provide:Ve,useValue:Q.callSetDisabledState??B}]}}}return le.\u0275fac=function(Q){return new(Q||le)},le.\u0275mod=t.oAB({type:le}),le.\u0275inj=t.cJS({imports:[ho]}),le})(),ts=(()=>{class le{static withConfig(Q){return{ngModule:le,providers:[{provide:Xn,useValue:Q.warnOnNgModelWithFormControl??"always"},{provide:Ve,useValue:Q.callSetDisabledState??B}
1]}}}return le.\u0275fac=function(Q){return new(Q||le)},le.\u0275mod=t.oAB({type:le}),le.\u0275inj=t.cJS({imports:[ho]}),le})();class wi extends gt{constructor(se,Q,Ee){super(ot(Q),Ye(Ee,Q)),this.controls=se,this._initObservables(),this._setUpdateStrategy(Q),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(se){return this.controls[this._adjustIndex(se)]}push(se,Q={}){this.controls.push(se),this._registerControl(se),this.updateValueAndValidity({emitEvent:Q.emitEvent}),this._onCollectionChange()}insert(se,Q,Ee={}){this.controls.splice(se,0,Q),this._registerControl(Q),this.updateValueAndValidity({emitEvent:Ee.emitEvent})}removeAt(se,Q={}){let Ee=this._adjustIndex(se);Ee<0&&(Ee=0),this.controls[Ee]&&this.controls[Ee]._registerOnCollectionChange(()=>{}),this.controls.splice(Ee,1),this.updateValueAndValidity({emitEvent:Q.emitEvent})}setControl(se,Q,Ee={}){let wt=this._adjustIndex(se);wt<0&&(wt=0),this.controls[wt]&&this.controls[wt]._registerOnCollectionChange(()=>{}),this.controls.splice(wt,1),Q&&(this.controls.splice(wt,0,Q),this._registerControl(Q)),this.updateValueAndValidity({emitEvent:Ee.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(se,Q={}){Qe(this,0,se),se.forEach((Ee,wt)=>{Ge(this,!1,wt),this.at(wt).setValue(Ee,{onlySelf:!0,emitEvent:Q.emitEvent})}),this.updateValueAndValidity(Q)}patchValue(se,Q={}){null!=se&&(se.forEach((Ee,wt)=>{this.at(wt)&&this.at(wt).patchValue(Ee,{onlySelf:!0,emitEvent:Q.emitEvent})}),this.updateValueAndValidity(Q))}reset(se=[],Q={}){this._forEachChild((Ee,wt)=>{Ee.reset(se[wt],{onlySelf:!0,emitEvent:Q.emitEvent})}),this._updatePristine(Q),this._updateTouched(Q),this.updateValueAndValidity(Q)}getRawValue(){return this.controls.map(se=>se.getRawValue())}clear(se={}){this.controls.length<1||(this._forEachChild(Q=>Q._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:se.emitEvent}))}_adjustIndex(se){return se<0?se+this.length:se}_syncPendingControls(){let se=this.controls.reduce((Q,Ee)=>!!Ee._syncPendingControls()||Q,!1);return se&&this.updateValueAndValidity({onlySelf:!0}),se}_forEachChild(se){this.controls.forEach((Q,Ee)=>{se(Q,Ee)})}_updateValue(){this.value=this.controls.filter(se=>se.enabled||this.disabled).map(se=>se.value)}_anyControls(se){return this.controls.some(Q=>Q.enabled&&se(Q))}_setUpControls(){this._forEachChild(se=>this._registerControl(se))}_allControlsDisabled(){for(const se of this.controls)if(se.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(se){se.setParent(this),se._registerOnCollectionChange(this._onCollectionChange)}_find(se){return this.at(se)??null}}function gs(le){return!!le&&(void 0!==le.asyncValidators||void 0!==le.validators||void 0!==le.updateOn)}let ns=(()=>{class le{constructor(){this.useNonNullable=!1}get nonNullable(){const Q=new le;return Q.useNonNullable=!0,Q}group(Q,Ee=null){const wt=this._reduceControls(Q);let ln={};return gs(Ee)?ln=Ee:null!==Ee&&(ln.validators=Ee.validator,ln.asyncValidators=Ee.asyncValidator),new it(wt,ln)}record(Q,Ee=null){const wt=this._reduceControls(Q);return new At(wt,Ee)}control(Q,Ee,wt){let ln={};return this.useNonNullable?(gs(Ee)?ln=Ee:(ln.validators=Ee,ln.asyncValidators=wt),new Di(Q,{...ln,nonNullable:!0})):new Di(Q,Ee,wt)}array(Q,Ee,wt){const ln=Q.map(Bi=>this._createControl(Bi));return new wi(ln,Ee,wt)}_reduceControls(Q){const Ee={};return Object.keys(Q).forEach(wt=>{Ee[wt]=this._createControl(Q[wt])}),Ee}_createControl(Q){return Q instanceof Di||Q instanceof gt?Q:Array.isArray(Q)?this.control(Q[0],Q.length>1?Q[1]:null,Q.length>2?Q[2]:null):this.control(Q)}}return le.\u0275fac=function(Q){return new(Q||le)},le.\u0275prov=t.Yz7({token:le,factory:le.\u0275fac,providedIn:ts}),le})()},310:()=>{"use strict";class $0 extends Error{constructor(e){super(`No translation found for ${dm(e)}.`),this.parsedMessage=e,this.type="MissingTranslationError"}}const vp=function(d,...e){if(vp.translate){const u=vp.translate(d,e);d=u[0],e=u[1]}let i=hm(d[0],d.raw[0]);for(let u=1;u<d.length;u++)i+=e[u-1]+hm(d[u],d.raw[u]);return i};function hm(d,e){return":"===e.charAt(0)?d.substring(function _p(d,e){for(let i=1,u=1;i<d.length;i++,u++)if("\\"===e[u])u++;else if(":"===d[i])return i;throw new Error(`Unterminated $localize metadata block in "${e}".`)}(d,e)+1):d}(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)().$localize=vp},1481:(s,a,l)=>{"use strict";l.d(a,{Dx:()=>Dr,H7:()=>Cn,b2:()=>fn,q6:()=>$n});var t=l(6895),f=l(4650);class _ extends t.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class S extends _{static makeCurrent(){(0,t.HT)(new S)}onAndCancel(ue,ve,Le){return ue.addEventListener(ve,Le,!1),()=>{ue.removeEventListener(ve,Le,!1)}}dispatchEvent(ue,ve){ue.dispatchEvent(ve)}remove(ue){ue.parentNode&&ue.parentNode.removeChild(ue)}createElement(ue,ve){return(ve=ve||this.getDefaultDocument()).createElement(ue)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(ue){return ue.nodeType===Node.ELEMENT_NODE}isShadowRoot(ue){return ue instanceof DocumentFragment}getGlobalEventTarget(ue,ve){return"window"===ve?window:"document"===ve?ue:"body"===ve?ue.body:null}getBaseHref(ue){const ve=function M(){return D=D||document.querySelector("base"),D?D.getAttribute("href"):null}();return null==ve?null:function U(B){k=k||document.createElement("a"),k.setAttribute("href",B);const ue=k.pathname;return"/"===ue.charAt(0)?ue:`/${ue}`}(ve)}resetBaseElement(){D=null}getUserAgent(){return window.navigator.userAgent}getCookie(ue){return(0,t.Mx)(document.cookie,ue)}}let k,D=null;const te=new f.OlP("TRANSITION_ID"),z=[{provide:f.ip1,useFactory:function I(B,ue,ve){return()=>{ve.get(f.CZH).donePromise.then(()=>{const Le=(0,t.q)(),Je=ue.querySelectorAll(`style[ng-transition="${B}"]`);for(let Jt=0;Jt<Je.length;Jt++)Le.remove(Je[Jt])})}},deps:[te,t.K0,f.zs3],multi:!0}];let ee=(()=>{class B{build(){return new XMLHttpRequest}}return B.\u0275fac=function(ve){return new(ve||B)},B.\u0275prov=f.Yz7({token:B,factory:B.\u0275fac}),B})();const ae=new f.OlP("EventManagerPlugins");let V=(()=>{class B{constructor(ve,Le){this._zone=Le,this._eventNameToPlugin=new Map,ve.forEach(Je=>Je.manager=this),this._plugins=ve.slice().reverse()}addEventListener(ve,Le,Je){return this._findPluginFor(Le).addEventListener(ve,Le,Je)}addGlobalEventListener(ve,Le,Je){return this._findPluginFor(Le).addGlobalEventListener(ve,Le,Je)}getZone(){return this._zone}_findPluginFor(ve){const Le=this._eventNameToPlugin.get(ve);if(Le)return Le;const Je=this._plugins;for(let Jt=0;Jt<Je.length;Jt++){const In=Je[Jt];if(In.supports(ve))return this._eventNameToPlugin.set(ve,In),In}throw new Error(`No event manager plugin found for event ${ve}`)}}return B.\u0275fac=function(ve){return new(ve||B)(f.LFG(ae),f.LFG(f.R0b))},B.\u0275prov=f.Yz7({token:B,factory:B.\u0275fac}),B})();class Y{constructor(ue){this._doc=ue}addGlobalEventListener(ue,ve,Le){const Je=(0,t.q)().getGlobalEventTarget(this._doc,ue);if(!Je)throw new Error(`Unsupported event target ${Je} for event ${ve}`);return this.addEventListener(Je,ve,Le)}}let N=(()=>{class B{constructor(){this._stylesSet=new Set}addStyles(ve){const Le=new Set;ve.forEach(Je=>{this._stylesSet.has(Je)||(this._stylesSet.add(Je),Le.add(Je))}),this.onStylesAdded(Le)}onStylesAdded(ve){}getAllStyles(){return Array.from(this._stylesSet)}}return B.\u0275fac=function(ve){return new(ve||B)},B.\u0275prov=f.Yz7({token:B,factory:B.\u0275fac}),B})(),O=(()=>{class B extends N{constructor(ve){super(),this._doc=ve,this._hostNodes=new Map,this._hostNodes.set(ve.head,[])}_addStylesToHost(ve,Le,Je){ve.forEach(Jt=>{const In=this._doc.createElement("style");In.textContent=Jt,Je.push(Le.appendChild(In))})}addHost(ve){const Le=[];this._addStylesToHost(this._stylesSet,ve,Le),this._hostNodes.set(ve,Le)}removeHost(ve){const Le=this._hostNodes.get(ve);Le&&Le.forEach(X),this._hostNodes.delete(ve)}
vendor: 5,235 bytes, line 1
1onStylesAdded(ve){this._hostNodes.forEach((Le,Je)=>{this._addStylesToHost(ve,Je,Le)})}ngOnDestroy(){this._hostNodes.forEach(ve=>ve.forEach(X))}}return B.\u0275fac=function(ve){return new(ve||B)(f.LFG(t.K0))},B.\u0275prov=f.Yz7({token:B,factory:B.\u0275fac}),B})();function X(B){(0,t.q)().remove(B)}const J={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/"},pe=/%COMP%/g;function ke(B,ue,ve){for(let Le=0;Le<ue.length;Le++){let Je=ue[Le];Array.isArray(Je)?ke(B,Je,ve):(Je=Je.replace(pe,B),ve.push(Je))}return ve}function De(B){return ue=>{if("__ngUnwrap__"===ue)return B;!1===B(ue)&&(ue.preventDefault(),ue.returnValue=!1)}}let oe=(()=>{class B{constructor(ve,Le,Je){this.eventManager=ve,this.sharedStylesHost=Le,this.appId=Je,this.rendererByCompId=new Map,this.defaultRenderer=new he(ve)}createRenderer(ve,Le){if(!ve||!Le)return this.defaultRenderer;switch(Le.encapsulation){case f.ifc.Emulated:{let Je=this.rendererByCompId.get(Le.id);return Je||(Je=new jt(this.eventManager,this.sharedStylesHost,Le,this.appId),this.rendererByCompId.set(Le.id,Je)),Je.applyToHost(ve),Je}case 1:case f.ifc.ShadowDom:return new Wt(this.eventManager,this.sharedStylesHost,ve,Le);default:if(!this.rendererByCompId.has(Le.id)){const Je=ke(Le.id,Le.styles,[]);this.sharedStylesHost.addStyles(Je),this.rendererByCompId.set(Le.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return B.\u0275fac=function(ve){return new(ve||B)(f.LFG(V),f.LFG(O),f.LFG(f.AFp))},B.\u0275prov=f.Yz7({token:B,factory:B.\u0275fac}),B})();class he{constructor(ue){this.eventManager=ue,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(ue,ve){return ve?document.createElementNS(J[ve]||ve,ue):document.createElement(ue)}createComment(ue){return document.createComment(ue)}createText(ue){return document.createTextNode(ue)}appendChild(ue,ve){(st(ue)?ue.content:ue).appendChild(ve)}insertBefore(ue,ve,Le){ue&&(st(ue)?ue.content:ue).insertBefore(ve,Le)}removeChild(ue,ve){ue&&ue.removeChild(ve)}selectRootElement(ue,ve){let Le="string"==typeof ue?document.querySelector(ue):ue;if(!Le)throw new Error(`The selector "${ue}" did not match any elements`);return ve||(Le.textContent=""),Le}parentNode(ue){return ue.parentNode}nextSibling(ue){return ue.nextSibling}setAttribute(ue,ve,Le,Je){if(Je){ve=Je+":"+ve;const Jt=J[Je];Jt?ue.setAttributeNS(Jt,ve,Le):ue.setAttribute(ve,Le)}else ue.setAttribute(ve,Le)}removeAttribute(ue,ve,Le){if(Le){const Je=J[Le];Je?ue.removeAttributeNS(Je,ve):ue.removeAttribute(`${Le}:${ve}`)}else ue.removeAttribute(ve)}addClass(ue,ve){ue.classList.add(ve)}removeClass(ue,ve){ue.classList.remove(ve)}setStyle(ue,ve,Le,Je){Je&(f.JOm.DashCase|f.JOm.Important)?ue.style.setProperty(ve,Le,Je&f.JOm.Important?"important":""):ue.style[ve]=Le}removeStyle(ue,ve,Le){Le&f.JOm.DashCase?ue.style.removeProperty(ve):ue.style[ve]=""}setProperty(ue,ve,Le){ue[ve]=Le}setValue(ue,ve){ue.nodeValue=ve}listen(ue,ve,Le){return"string"==typeof ue?this.eventManager.addGlobalEventListener(ue,ve,De(Le)):this.eventManager.addEventListener(ue,ve,De(Le))}}function st(B){return"TEMPLATE"===B.tagName&&void 0!==B.content}class jt extends he{constructor(ue,ve,Le,Je){super(ue),this.component=Le;const Jt=ke(Je+"-"+Le.id,Le.styles,[]);ve.addStyles(Jt),this.contentAttr=function Ne(B){return"_ngcontent-%COMP%".replace(pe,B)}(Je+"-"+Le.id),this.hostAttr=function ze(B){return"_nghost-%COMP%".replace(pe,B)}(Je+"-"+Le.id)}applyToHost(ue){super.setAttribute(ue,this.hostAttr,"")}createElement(ue,ve){const Le=super.createElement(ue,ve);return super.setAttribute(Le,this.contentAttr,""),Le}}class Wt extends he{constructor(ue,ve,Le,Je){super(ue),this.sharedStylesHost=ve,this.hostEl=Le,this.shadowRoot=Le.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Jt=ke(Je.id,Je.styles,[]);for(let In=0;In<Jt.length;In++){const er=document.createElement("style");er.textContent=Jt[In],this.shadowRoot.appendChild(er)}}nodeOrShadowRoot(ue){return ue===this.hostEl?this.shadowRoot:ue}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(ue,ve){return super.appendChild(this.nodeOrShadowRoot(ue),ve)}insertBefore(ue,ve,Le){return super.insertBefore(this.nodeOrShadowRoot(ue),ve,Le)}removeChild(ue,ve){return super.removeChild(this.nodeOrShadowRoot(ue),ve)}parentNode(ue){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(ue)))}}let Ut=(()=>{class B extends Y{constructor(ve){super(ve)}supports(ve){return!0}addEventListener(ve,Le,Je){return ve.addEventListener(Le,Je,!1),()=>this.removeEventListener(ve,Le,Je)}removeEventListener(ve,Le,Je){return ve.removeEventListener(Le,Je)}}return B.\u0275fac=function(ve){return new(ve||B)(f.LFG(t.K0))},B.\u0275prov=f.Yz7({token:B,factory:B.\u0275fac}),B})();const Et=["alt","control","meta","shift"],dn={"\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"},rn={alt:B=>B.altKey,control:B=>B.ctrlKey,meta:B=>B.metaKey,shift:B=>
1B.shiftKey};let gn=(()=>{class B extends Y{constructor(ve){super(ve)}supports(ve){return null!=B.parseEventName(ve)}addEventListener(ve,Le,Je){const Jt=B.parseEventName(Le),In=B.eventCallback(Jt.fullKey,Je,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,t.q)().onAndCancel(ve,Jt.domEventName,In))}static parseEventName(ve){const Le=ve.toLowerCase().split("."),Je=Le.shift();if(0===Le.length||"keydown"!==Je&&"keyup"!==Je)return null;const Jt=B._normalizeKey(Le.pop());let In="",er=Le.indexOf("code");if(er>-1&&(Le.splice(er,1),In="code."),Et.forEach(Ir=>{const Jn=Le.indexOf(Ir);Jn>-1&&(Le.splice(Jn,1),In+=Ir+".")}),In+=Jt,0!=Le.length||0===Jt.length)return null;const Zn={};return Zn.domEventName=Je,Zn.fullKey=In,Zn}static matchEventFullKeyCode(ve,Le){let Je=dn[ve.key]||ve.key,Jt="";return Le.indexOf("code.")>-1&&(Je=ve.code,Jt="code."),!(null==Je||!Je)&&(Je=Je.toLowerCase()," "===Je?Je="space":"."===Je&&(Je="dot"),Et.forEach(In=>{In!==Je&&(0,rn[In])(ve)&&(Jt+=In+".")}),Jt+=Je,Jt===Le)}static eventCallback(ve,Le,Je){return Jt=>{B.matchEventFullKeyCode(Jt,ve)&&Je.runGuarded(()=>Le(Jt))}}static _normalizeKey(ve){return"esc"===ve?"escape":ve}}return B.\u0275fac=function(ve){return new(ve||B)(f.LFG(t.K0))},B.\u0275prov=f.Yz7({token:B,factory:B.\u0275fac}),B})();const $n=(0,f.eFA)(f._c5,"browser",[{provide:f.Lbi,useValue:t.bD},{provide:f.g9A,useValue:function Hn(){S.makeCurrent()},multi:!0},{provide:t.K0,useFactory:function dr(){return(0,f.RDi)(document),document},deps:[]}]),Wn=new f.OlP(""),Sn=[{provide:f.rWj,useClass:class H{addToWindow(ue){f.dqk.getAngularTestability=(Le,Je=!0)=>{const Jt=ue.findTestabilityInTree(Le,Je);if(null==Jt)throw new Error("Could not find testability for element.");return Jt},f.dqk.getAllAngularTestabilities=()=>ue.getAllTestabilities(),f.dqk.getAllAngularRootElements=()=>ue.getAllRootElements(),f.dqk.frameworkStabilizers||(f.dqk.frameworkStabilizers=[]),f.dqk.frameworkStabilizers.push(Le=>{const Je=f.dqk.getAllAngularTestabilities();let Jt=Je.length,In=!1;const er=function(Zn){In=In||Zn,Jt--,0==Jt&&Le(In)};Je.forEach(function(Zn){Zn.whenStable(er)})})}findTestabilityInTree(ue,ve,Le){return null==ve?null:ue.getTestability(ve)??(Le?(0,t.q)().isShadowRoot(ve)?this.findTestabilityInTree(ue,ve.host,!0):this.findTestabilityInTree(ue,ve.parentElement,!0):null)}},deps:[]},{provide:f.lri,useClass:f.dDg,deps:[f.R0b,f.eoX,f.rWj]},{provide:f.dDg,useClass:f.dDg,deps:[f.R0b,f.eoX,f.rWj]}],tr=[{provide:f.zSh,useValue:"root"},{provide:f.qLn,useFactory:function un(){return new f.qLn},deps:[]},{provide:ae,useClass:Ut,multi:!0,deps:[t.K0,f.R0b,f.Lbi]},{provide:ae,useClass:gn,multi:!0,deps:[t.K0]},{provide:oe,useClass:oe,deps:[V,O,f.AFp]},{provide:f.FYo,useExisting:oe},{provide:N,useExisting:O},{provide:O,useClass:O,deps:[t.K0]},{provide:V,useClass:V,deps:[ae,f.R0b]},{provide:t.JF,useClass:ee,deps:[]},[]];let fn=(()=>{class B{constructor(ve){}static withServerTransition(ve){return{ngModule:B,providers:[{provide:f.AFp,useValue:ve.appId},{provide:te,useExisting:f.AFp},z]}}}return B.\u0275fac=function(ve){return new(ve||B)(f.LFG(Wn,12))},B.\u0275mod=f.oAB({type:B}),B.\u0275inj=f.cJS({providers:[...tr,...Sn],imports:[t.ez,f.hGG]}),B})(),Dr=(()=>{class B{constructor(ve){this._doc=ve}getTitle(){return this._doc.title}setTitle(ve){this._doc.title=ve||""}}return B.\u0275fac=function(ve){return new(ve||B)(f.LFG(t.K0))},B.\u0275prov=f.Yz7({token:B,factory:function(ve){let Le=null;return Le=ve?new ve:function hr(){return new Dr((0,f.LFG)(t.K0))}(),Le},providedIn:"root"}),B})();typeof window<"u"&&window;let Cn=(()=>{class B{}return B.\u0275fac=function(ve){return new(ve||B)},B.\u0275prov=f.Yz7({token:B,factory:function(ve){let Le=null;return Le=ve?new(ve||B):f.LFG(We),Le},providedIn:"root"}),B})(),We=(()=>{class B extends Cn{constructor(ve){super(),this._doc=ve}sanitize(ve,Le){if(null==Le)return null;switch(ve){case f.q3G.NONE:return Le;case f.q3G.HTML:return(0,f.qzn)(Le,"HTML")?(0,f.z3N)(Le):(0,f.EiD)(this._doc,String(Le)).toString();case f.q3G.STYLE:return(0,f.qzn)(Le,"Style")?(0,f.z3N)(Le):Le;case f.q3G.SCRIPT:if((0,f.qzn)(Le,"Script"))return(0,f.z3N)(Le);throw new Error("unsafe value used in a script context");case f.q3G.URL:return(0,f.qzn)(Le,"URL")?(0,f.z3N)(Le):(0,f.mCW)(String(Le));case f.q3G.RESOURCE_URL:if((0,f.qzn)(Le,"ResourceURL"))return(0,f.z3N)(Le);throw new Error(`unsafe value used in a resource URL context (see ${f.JZr})`);default:throw new Error(`Unexpected SecurityContext ${ve} (see ${f.JZr})`)}}bypassSecurityTrustHtml(ve){return(0,f.JVY)(ve)}bypassSecurityTrustStyle(ve){return(0,f.L6k)(ve)}bypassSecurityTrustScript(ve){return(0,f.eBb)(ve)}bypassSecurityTrustUrl(ve){return(0,f.LAX)(ve)}bypassSecurityTrustResourceUrl(ve){return(0,f.pB0)(ve)}}return B.\u0275fac=function(ve){return new(ve||B)(f.LFG(t.K0))},B.\u0275prov=f.Yz7({token:B,factory:function(ve){let Le=null;return Le=ve?new ve:function At(B){return new We(B.get(t.K0))}(f.LFG(f.zs3)),Le},providedIn:"root"}),B})()},6806:(s,a,l)=>{"use strict";l.d(a,{gz:()=>Si,F0:()=>Ji,rH:()=>No,Bz:()=>Is,lC:()=>Ft});var t=l(4650),f=l(8996),_=l(9646),S=l(1135),D=l(6805),M=l(9841),k=l(7272),U=l(9770),te=l(9635),I=l(2843),z=l(9751),H=l(515),ee=l(727),ae=l(4482),V=l(5403);function Y(){return(0,ae.e)((P,F)=>{let w=null;P._refCount++;const Z=(0,V.x)(F,void 0,void 0,void 0,()=>{if(!P||P._refCount<=0||0<--P._refCount)return void(w=null);const de=P._connection,Ae=w;w=null,de&&(!Ae||de===Ae)&&de.unsubscribe(),F.unsubscribe()});P.subscribe(Z),Z.closed||(w=P.connect())})}class N extends z.y{constructor(F,w){super(),this.source=F,this.subjectFactory=w,this._subject=null,this._refCount=0,this._connection=null,(0,ae.A)(F)&&
1(this.lift=F.lift)}_subscribe(F){return this.getSubject().subscribe(F)}getSubject(){const F=this._subject;return(!F||F.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:F}=this;this._subject=this._connection=null,F?.unsubscribe()}connect(){let F=this._connection;if(!F){F=this._connection=new ee.w0;const w=this.getSubject();F.add(this.source.subscribe((0,V.x)(w,void 0,()=>{this._teardown(),w.complete()},Z=>{this._teardown(),w.error(Z)},()=>this._teardown()))),F.closed&&(this._connection=null,F=ee.w0.EMPTY)}return F}refCount(){return Y()(this)}}var O=l(7579),X=l(6895),J=l(4004),pe=l(3900),me=l(5698),Fe=l(8675),He=l(9300),xe=l(5577),Ne=l(590),ze=l(4351),ke=l(8505),De=l(262),Ce=l(5026);function oe(P){return P<=0?()=>H.E:(0,ae.e)((F,w)=>{let Z=[];F.subscribe((0,V.x)(w,de=>{Z.push(de),P<Z.length&&Z.shift()},()=>{for(const de of Z)w.next(de);w.complete()},void 0,()=>{Z=null}))})}var he=l(8068),be=l(6590),tt=l(4671);function st(P,F){const w=arguments.length>=2;return Z=>Z.pipe(P?(0,He.h)((de,Ae)=>P(de,Ae,Z)):tt.y,oe(1),w?(0,be.d)(F):(0,he.T)(()=>new D.K))}var jt=l(2529),Wt=l(9718),Ut=l(8746),Et=l(8189),dn=l(1481);const rn="primary",gn=Symbol("RouteTitle");class Xt{constructor(F){this.params=F||{}}has(F){return Object.prototype.hasOwnProperty.call(this.params,F)}get(F){if(this.has(F)){const w=this.params[F];return Array.isArray(w)?w[0]:w}return null}getAll(F){if(this.has(F)){const w=this.params[F];return Array.isArray(w)?w:[w]}return[]}get keys(){return Object.keys(this.params)}}function Er(P){return new Xt(P)}function _n(P,F,w){const Z=w.path.split("/");if(Z.length>P.length||"full"===w.pathMatch&&(F.hasChildren()||Z.length<P.length))return null;const de={};for(let Ae=0;Ae<Z.length;Ae++){const Re=Z[Ae],ut=P[Ae];if(Re.startsWith(":"))de[Re.substring(1)]=ut;else if(Re!==ut.path)return null}return{consumed:P.slice(0,Z.length),posParams:de}}function Bt(P,F){const w=P?Object.keys(P):void 0,Z=F?Object.keys(F):void 0;if(!w||!Z||w.length!=Z.length)return!1;let de;for(let Ae=0;Ae<w.length;Ae++)if(de=w[Ae],!Hn(P[de],F[de]))return!1;return!0}function Hn(P,F){if(Array.isArray(P)&&Array.isArray(F)){if(P.length!==F.length)return!1;const w=[...P].sort(),Z=[...F].sort();return w.every((de,Ae)=>Z[Ae]===de)}return P===F}function un(P){return Array.prototype.concat.apply([],P)}function dr(P){return P.length>0?P[P.length-1]:null}function $n(P,F){for(const w in P)P.hasOwnProperty(w)&&F(P[w],w)}function Wn(P){return(0,t.CqO)(P)?P:(0,t.QGY)(P)?(0,f.D)(Promise.resolve(P)):(0,_.of)(P)}const Sn=!1,tr={exact:function Ln(P,F,w){if(!$r(P.segments,F.segments)||!bn(P.segments,F.segments,w)||P.numberOfChildren!==F.numberOfChildren)return!1;for(const Z in F.children)if(!P.children[Z]||!Ln(P.children[Z],F.children[Z],w))return!1;return!0},subset:Dr},fn={exact:function Fn(P,F){return Bt(P,F)},subset:function hr(P,F){return Object.keys(F).length<=Object.keys(P).length&&Object.keys(F).every(w=>Hn(P[w],F[w]))},ignored:()=>!0};function cn(P,F,w){return tr[w.paths](P.root,F.root,w.matrixParams)&&fn[w.queryParams](P.queryParams,F.queryParams)&&!("exact"===w.fragment&&P.fragment!==F.fragment)}function Dr(P,F,w){return mn(P,F,F.segments,w)}function mn(P,F,w,Z){if(P.segments.length>w.length){const de=P.segments.slice(0,w.length);return!(!$r(de,w)||F.hasChildren()||!bn(de,w,Z))}if(P.segments.length===w.length){if(!$r(P.segments,w)||!bn(P.segments,w,Z))return!1;for(const de in F.children)if(!P.children[de]||!Dr(P.children[de],F.children[de],Z))return!1;return!0}{const de=w.slice(0,P.segments.length),Ae=w.slice(P.segments.length);return!!($r(P.segments,de)&&bn(P.segments,de,Z)&&P.children[rn])&&mn(P.children[rn],F,Ae,Z)}}function bn(P,F,w){return F.every((Z,de)=>fn[w](P[de].parameters,Z.parameters))}class Gt{constructor(F=new Tn([],{}),w={},Z=null){this.root=F,this.queryParams=w,this.fragment=Z}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Er(this.queryParams)),this._queryParamMap}toString(){return Vt.serialize(this)}}class Tn{constructor(F,w){this.segments=F,this.children=w,this.parent=null,$n(w,(Z,de)=>Z.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Tt(this)}}class Br{constructor(F,w){this.path=F,this.parameters=w}get parameterMap(){return this._parameterMap||(this._parameterMap=Er(this.parameters)),this._parameterMap}toString(){return St(this)}}function $r(P,F){return P.length===F.length&&P.every((w,Z)=>w.path===F[Z].path)}let Tr=(()=>{class P{}return P.\u0275fac=function(w){return new(w||P)},P.\u0275prov=t.Yz7({token:P,factory:function(){return new _t},providedIn:"root"}),P})();class _t{parse(F){const w=new We(F);return new Gt(w.parseRootSegment(),w.parseQueryParams(),w.parseFragment())}serialize(F){const w=`/${qt(F.root,!0)}`,Z=function Ge(P){const F=Object.keys(P).map(w=>{const Z=P[w];return Array.isArray(Z)?Z.map(de=>`${Nt(w)}=${Nt(de)}`).join("&"):`${Nt(w)}=${Nt(Z)}`}).filter(w=>!!w);return F.length?`?${F.join("&")}`:""}(F.queryParams);return`${w}${Z}${"string"==typeof F.fragment?`#${function yt(P){return encodeURI(P)}(F.fragment)}`:""}`}}const Vt=new _t;function Tt(P){return P.segments.map(F=>St(F)).join("/")}function qt(P,F){if(!P.hasChildren())return Tt(P);if(F){const w=P.children[rn]?qt(P.children[rn],!1):"",Z=[];return $n(P.children,(de,Ae)=>{Ae!==rn&&Z.push(`${Ae}:${qt(de,!1)}`)}),Z.length>0?`${w}(${Z.join("//")})`:w}{const w=function Vr(P,F){let w=[];return $n(P.children,(Z,de)=>{de===rn&&(w=w.concat(F(Z,de)))}),$n(P.children,(Z,de)=>{de!==rn&&(w=w.concat(F(Z,de)))}),w}(P,(Z,de)=>de===rn?[qt(P.children[rn],!1)]:[`${de}:${qt(Z,!1)}`]);return 1===Object.keys(P.children).length&&null!=P.children[rn]?`${Tt(P)}/${w[0]}`:`${Tt(P)}/(${w.join("//")})`}}function sn(P){return encodeURIComponent(P).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Nt(P){return sn(P).replace(/%3B/gi,";")}function ot(P){return sn(P).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ue(P){return decodeURIComponent(P)}function Ye(P){return Ue(P.replace(/\+/g,"%20"))}function St(P){return`${ot(P.path)}${function Oe(P){return Object.keys(P).map(F=>`;${ot(F)}=${ot(P[F])}`).join("")}(P.parameters)}`}const Qe=/^[^\/()?;=#]+/;function gt(P){const F=P.match(Qe);return F?F[0]:""}const it=/^[^=?&#]+/,Cn=/^[^&#]+/;class We{constructor(F){this.url=F,this.remaining=F}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Tn([],{}):new Tn([],this.parseChildren())}parseQueryParams(){const F={};if(this.consumeOptional("?"))do{this.parseQueryParam(F)}while(this.consumeOptional("&"));return F}
1parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const F=[];for(this.peekStartsWith("(")||F.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),F.push(this.parseSegment());let w={};this.peekStartsWith("/(")&&(this.capture("/"),w=this.parseParens(!0));let Z={};return this.peekStartsWith("(")&&(Z=this.parseParens(!1)),(F.length>0||Object.keys(w).length>0)&&(Z[rn]=new Tn(F,w)),Z}parseSegment(){const F=gt(this.remaining);if(""===F&&this.peekStartsWith(";"))throw new t.vHH(4009,Sn);return this.capture(F),new Br(Ue(F),this.parseMatrixParams())}parseMatrixParams(){const F={};for(;this.consumeOptional(";");)this.parseParam(F);return F}parseParam(F){const w=gt(this.remaining);if(!w)return;this.capture(w);let Z="";if(this.consumeOptional("=")){const de=gt(this.remaining);de&&(Z=de,this.capture(Z))}F[Ue(w)]=Ue(Z)}parseQueryParam(F){const w=function zt(P){const F=P.match(it);return F?F[0]:""}(this.remaining);if(!w)return;this.capture(w);let Z="";if(this.consumeOptional("=")){const Re=function At(P){const F=P.match(Cn);return F?F[0]:""}(this.remaining);Re&&(Z=Re,this.capture(Z))}const de=Ye(w),Ae=Ye(Z);if(F.hasOwnProperty(de)){let Re=F[de];Array.isArray(Re)||(Re=[Re],F[de]=Re),Re.push(Ae)}else F[de]=Ae}parseParens(F){const w={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const Z=gt(this.remaining),de=this.remaining[Z.length];if("/"!==de&&")"!==de&&";"!==de)throw new t.vHH(4010,Sn);let Ae;Z.indexOf(":")>-1?(Ae=Z.slice(0,Z.indexOf(":")),this.capture(Ae),this.capture(":")):F&&(Ae=rn);const Re=this.parseChildren();w[Ae]=1===Object.keys(Re).length?Re[rn]:new Tn([],Re),this.consumeOptional("//")}return w}peekStartsWith(F){return this.remaining.startsWith(F)}consumeOptional(F){return!!this.peekStartsWith(F)&&(this.remaining=this.remaining.substring(F.length),!0)}capture(F){if(!this.consumeOptional(F))throw new t.vHH(4011,Sn)}}function Ve(P){return P.segments.length>0?new Tn([],{[rn]:P}):P}function B(P){const F={};for(const Z of Object.keys(P.children)){const Ae=B(P.children[Z]);(Ae.segments.length>0||Ae.hasChildren())&&(F[Z]=Ae)}return function ue(P){if(1===P.numberOfChildren&&P.children[rn]){const F=P.children[rn];return new Tn(P.segments.concat(F.segments),F.children)}return P}(new Tn(P.segments,F))}function ve(P){return P instanceof Gt}function er(P,F,w,Z,de){if(0===w.length)return Jn(F.root,F.root,F.root,Z,de);const Ae=function bs(P){if("string"==typeof P[0]&&1===P.length&&"/"===P[0])return new Qi(!0,0,P);let F=0,w=!1;const Z=P.reduce((de,Ae,Re)=>{if("object"==typeof Ae&&null!=Ae){if(Ae.outlets){const ut={};return $n(Ae.outlets,(Kt,An)=>{ut[An]="string"==typeof Kt?Kt.split("/"):Kt}),[...de,{outlets:ut}]}if(Ae.segmentPath)return[...de,Ae.segmentPath]}return"string"!=typeof Ae?[...de,Ae]:0===Re?(Ae.split("/").forEach((ut,Kt)=>{0==Kt&&"."===ut||(0==Kt&&""===ut?w=!0:".."===ut?F++:""!=ut&&de.push(ut))}),de):[...de,Ae]},[]);return new Qi(w,F,Z)}(w);return Ae.toRoot()?Jn(F.root,F.root,new Tn([],{}),Z,de):function Re(Kt){const An=function Or(P,F,w,Z){if(P.isAbsolute)return new Ui(F.root,!0,0);if(-1===Z)return new Ui(w,w===F.root,0);return function ni(P,F,w){let Z=P,de=F,Ae=w;for(;Ae>de;){if(Ae-=de,Z=Z.parent,!Z)throw new t.vHH(4005,!1);de=Z.segments.length}return new Ui(Z,!1,de-Ae)}(w,Z+(Zn(P.commands[0])?0:1),P.numberOfDoubleDots)}(Ae,F,P.snapshot?._urlSegment,Kt),Yn=An.processChildren?ri(An.segmentGroup,An.index,Ae.commands):Yr(An.segmentGroup,An.index,Ae.commands);return Jn(F.root,An.segmentGroup,Yn,Z,de)}(P.snapshot?._lastPathIndex)}function Zn(P){return"object"==typeof P&&null!=P&&!P.outlets&&!P.segmentPath}function Ir(P){return"object"==typeof P&&null!=P&&P.outlets}function Jn(P,F,w,Z,de){let Re,Ae={};Z&&$n(Z,(Kt,An)=>{Ae[An]=Array.isArray(Kt)?Kt.map(Yn=>`${Yn}`):`${Kt}`}),Re=P===F?w:ti(P,F,w);const ut=Ve(B(Re));return new Gt(ut,Ae,de)}function ti(P,F,w){const Z={};return $n(P.children,(de,Ae)=>{Z[Ae]=de===F?w:ti(de,F,w)}),new Tn(P.segments,Z)}class Qi{constructor(F,w,Z){if(this.isAbsolute=F,this.numberOfDoubleDots=w,this.commands=Z,F&&Z.length>0&&Zn(Z[0]))throw new t.vHH(4003,!1);const de=Z.find(Ir);if(de&&de!==dr(Z))throw new t.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Ui{constructor(F,w,Z){this.segmentGroup=F,this.processChildren=w,this.index=Z}}function Yr(P,F,w){if(P||(P=new Tn([],{})),0===P.segments.length&&P.hasChildren())return ri(P,F,w);const Z=function pi(P,F,w){let Z=0,de=F;const Ae={match:!1,pathIndex:0,commandIndex:0};for(;
vendor: 4,886 bytes, line 1
1de<P.segments.length;){if(Z>=w.length)return Ae;const Re=P.segments[de],ut=w[Z];if(Ir(ut))break;const Kt=`${ut}`,An=Z<w.length-1?w[Z+1]:null;if(de>0&&void 0===Kt)break;if(Kt&&An&&"object"==typeof An&&void 0===An.outlets){if(!ci(Kt,An,Re))return Ae;Z+=2}else{if(!ci(Kt,{},Re))return Ae;Z++}de++}return{match:!0,pathIndex:de,commandIndex:Z}}(P,F,w),de=w.slice(Z.commandIndex);if(Z.match&&Z.pathIndex<P.segments.length){const Ae=new Tn(P.segments.slice(0,Z.pathIndex),{});return Ae.children[rn]=new Tn(P.segments.slice(Z.pathIndex),P.children),ri(Ae,0,de)}return Z.match&&0===de.length?new Tn(P.segments,{}):Z.match&&!P.hasChildren()?vn(P,F,w):Z.match?ri(P,0,de):vn(P,F,w)}function ri(P,F,w){if(0===w.length)return new Tn(P.segments,{});{const Z=function Ti(P){return Ir(P[0])?P[0].outlets:{[rn]:P}}(w),de={};return $n(Z,(Ae,Re)=>{"string"==typeof Ae&&(Ae=[Ae]),null!==Ae&&(de[Re]=Yr(P.children[Re],F,Ae))}),$n(P.children,(Ae,Re)=>{void 0===Z[Re]&&(de[Re]=Ae)}),new Tn(P.segments,de)}}function vn(P,F,w){const Z=P.segments.slice(0,F);let de=0;for(;de<w.length;){const Ae=w[de];if(Ir(Ae)){const Kt=qn(Ae.outlets);return new Tn(Z,Kt)}if(0===de&&Zn(w[0])){Z.push(new Br(P.segments[F].path,ai(w[0]))),de++;continue}const Re=Ir(Ae)?Ae.outlets[rn]:`${Ae}`,ut=de<w.length-1?w[de+1]:null;Re&&ut&&Zn(ut)?(Z.push(new Br(Re,ai(ut))),de+=2):(Z.push(new Br(Re,{})),de++)}return new Tn(Z,{})}function qn(P){const F={};return $n(P,(w,Z)=>{"string"==typeof w&&(w=[w]),null!==w&&(F[Z]=vn(new Tn([],{}),0,w))}),F}function ai(P){const F={};return $n(P,(w,Z)=>F[Z]=`${w}`),F}function ci(P,F,w){return P==w.path&&Bt(F,w.parameters)}class ii{constructor(F,w){this.id=F,this.url=w}}class Hr extends ii{constructor(F,w,Z="imperative",de=null){super(F,w),this.type=0,this.navigationTrigger=Z,this.restoredState=de}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Ci extends ii{constructor(F,w,Z){super(F,w),this.urlAfterRedirects=Z,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class gr extends ii{constructor(F,w,Z,de){super(F,w),this.reason=Z,this.code=de,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Di extends ii{constructor(F,w,Z,de){super(F,w),this.error=Z,this.target=de,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class ki extends ii{constructor(F,w,Z,de){super(F,w),this.urlAfterRedirects=Z,this.state=de,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class wn extends ii{constructor(F,w,Z,de){super(F,w),this.urlAfterRedirects=Z,this.state=de,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Zi extends ii{constructor(F,w,Z,de,Ae){super(F,w),this.urlAfterRedirects=Z,this.state=de,this.shouldActivate=Ae,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class ss extends ii{constructor(F,w,Z,de){super(F,w),this.urlAfterRedirects=Z,this.state=de,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ms extends ii{constructor(F,w,Z,de){super(F,w),this.urlAfterRedirects=Z,this.state=de,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class os{constructor(F){this.route=F,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class je{constructor(F){this.route=F,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Mt{constructor(F){this.snapshot=F,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ft{constructor(F){this.snapshot=F,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Dt{constructor(F){this.snapshot=F,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ht{constructor(F){this.snapshot=F,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class en{constructor(F,w,Z){this.routerEvent=F,this.position=w,this.anchor=Z,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Pr{constructor(F){this._root=F}get root(){return this._root.value}
1parent(F){const w=this.pathFromRoot(F);return w.length>1?w[w.length-2]:null}children(F){const w=mr(F,this._root);return w?w.children.map(Z=>Z.value):[]}firstChild(F){const w=mr(F,this._root);return w&&w.children.length>0?w.children[0].value:null}siblings(F){const w=vi(F,this._root);return w.length<2?[]:w[w.length-2].children.map(de=>de.value).filter(de=>de!==F)}pathFromRoot(F){return vi(F,this._root).map(w=>w.value)}}function mr(P,F){if(P===F.value)return F;for(const w of F.children){const Z=mr(P,w);if(Z)return Z}return null}function vi(P,F){if(P===F.value)return[F];for(const w of F.children){const Z=vi(P,w);if(Z.length)return Z.unshift(F),Z}return[]}class ar{constructor(F,w){this.value=F,this.children=w}toString(){return`TreeNode(${this.value})`}}function fr(P){const F={};return P&&P.children.forEach(w=>F[w.value.outlet]=w),F}class xi extends Pr{constructor(F,w){super(F),this.snapshot=w,si(this,F)}toString(){return this.snapshot.toString()}}function li(P,F){const w=function yo(P,F){const Re=new xs([],{},{},"",{},rn,F,null,P.root,-1,{});return new Oi("",new ar(Re,[]))}(P,F),Z=new S.X([new Br("",{})]),de=new S.X({}),Ae=new S.X({}),Re=new S.X({}),ut=new S.X(""),Kt=new Si(Z,de,Re,ut,Ae,rn,F,w.root);return Kt.snapshot=w.root,new xi(new ar(Kt,[]),w)}class Si{constructor(F,w,Z,de,Ae,Re,ut,Kt){this.url=F,this.params=w,this.queryParams=Z,this.fragment=de,this.data=Ae,this.outlet=Re,this.component=ut,this.title=this.data?.pipe((0,J.U)(An=>An[gn]))??(0,_.of)(void 0),this._futureSnapshot=Kt}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe((0,J.U)(F=>Er(F)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,J.U)(F=>Er(F)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Xn(P,F="emptyOnly"){const w=P.pathFromRoot;let Z=0;if("always"!==F)for(Z=w.length-1;Z>=1;){const de=w[Z],Ae=w[Z-1];if(de.routeConfig&&""===de.routeConfig.path)Z--;else{if(Ae.component)break;Z--}}return function pn(P){return P.reduce((F,w)=>({params:{...F.params,...w.params},data:{...F.data,...w.data},resolve:{...w.data,...F.resolve,...w.routeConfig?.data,...w._resolvedData}}),{params:{},data:{},resolve:{}})}(w.slice(Z))}class xs{constructor(F,w,Z,de,Ae,Re,ut,Kt,An,Yn,br){this.url=F,this.params=w,this.queryParams=Z,this.fragment=de,this.data=Ae,this.outlet=Re,this.component=ut,this.routeConfig=Kt,this._urlSegment=An,this._lastPathIndex=Yn,this._resolve=br}get title(){return this.data?.[gn]}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=Er(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Er(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(Z=>Z.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Oi extends Pr{constructor(F,w){super(w),this.url=F,si(this,w)}toString(){return Sr(this._root)}}function si(P,F){F.value._routerState=P,F.children.forEach(w=>si(P,w))}function Sr(P){const F=P.children.length>0?` { ${P.children.map(Sr).join(", ")} } `:"";return`${P.value}${F}`}function Zr(P){if(P.snapshot){const F=P.snapshot,w=P._futureSnapshot;P.snapshot=w,Bt(F.queryParams,w.queryParams)||P.queryParams.next(w.queryParams),F.fragment!==w.fragment&&P.fragment.next(w.fragment),Bt(F.params,w.params)||P.params.next(w.params),function Nn(P,F){if(P.length!==F.length)return!1;for(let w=0;w<P.length;++w)if(!Bt(P[w],F[w]))return!1;return!0}(F.url,w.url)||P.url.next(w.url),Bt(F.data,w.data)||P.data.next(w.data)}else P.snapshot=P._futureSnapshot,P.data.next(P._futureSnapshot.data)}function hs(P,F){const w=Bt(P.params,F.params)&&function yr(P,F){return $r(P,F)&&P.every((w,Z)=>Bt(w.parameters,F[Z].parameters))}(P.url,F.url);return w&&!(!P.parent!=!F.parent)&&(!P.parent||hs(P.parent,F.parent))}function Xr(P,F,w){if(w&&P.shouldReuseRoute(F.value,w.value.snapshot)){const Z=w.value;Z._futureSnapshot=F.value;const de=function Bs(P,F,w){return F.children.map(Z=>{for(const de of w.children)if(P.shouldReuseRoute(Z.value,de.value.snapshot))return Xr(P,Z,de);return Xr(P,Z)})}(P,F,w);return new ar(Z,de)}{if(P.shouldAttach(F.value)){const Ae=P.retrieve(F.value);if(null!==Ae){const Re=Ae.route;return Re.value._futureSnapshot=F.value,Re.children=F.children.map(ut=>Xr(P,ut)),Re}}const Z=function Zs(P){return new Si(new S.X(P.url),new S.X(P.params),new S.X(P.queryParams),new S.X(P.fragment),new S.X(P.data),P.outlet,P.component,P)}(F.value),de=F.children.map(Ae=>Xr(P,Ae));return new ar(Z,de)}}const Ct="ngNavigationCancelingError";function co(P,F){const{redirectTo:w,navigationBehaviorOptions:Z}=ve(F)?{redirectTo:F,navigationBehaviorOptions:void 0}:F,de=fs(!1,0,F);return de.url=w,de.navigationBehaviorOptions=Z,de}function fs(P,F,w){const Z=new Error("NavigationCancelingError: "+(P||""));return Z[Ct]=!0,Z.cancellationCode=F,w&&(Z.url=w),Z}function Xs(P){return Os(P)&&ve(P.url)}function Os(P){return P&&P[Ct]}class lt{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new at,this.attachRef=null}}let at=(()=>{class P{constructor(){this.contexts=new Map}onChildOutletCreated(w,Z){const de=this.getOrCreateContext(w);de.outlet=Z,this.contexts.set(w,de)}onChildOutletDestroyed(w){const Z=this.getContext(w);Z&&(Z.outlet=null,Z.attachRef=null)}onOutletDeactivated(){const w=this.contexts;return this.contexts=new Map,w}onOutletReAttached(w){this.contexts=w}getOrCreateContext(w){let Z=this.getContext(w);return Z||(Z=new lt,this.contexts.set(w,Z)),Z}getContext(w){return this.contexts.get(w)||null}}return P.\u0275fac=function(w){return new(w||P)},P.\u0275prov=t.Yz7({token:P,factory:P.\u0275fac,providedIn:"root"}),P})();const vt=!1;let Ft=(()=>{class P{constructor(){this.activated=null,this._activatedRoute=null,this.name=rn,this.activateEvents=new t.vpe,this.deactivateEvents=new t.vpe,this.attachEvents=new t.vpe,this.detachEvents=new t.vpe,this.parentContexts=(0,t.f3M)(at),this.location=(0,t.f3M)(t.s_b),this.changeDetector=(0,t.f3M)(t.sBO),this.environmentInjector=(0,t.f3M)(t.lqb)}ngOnChanges(w){if(w.name){const{firstChange:Z,previousValue:de}=w.name;if(Z)return;this.isTrackedInParentContexts(de)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(de)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name)}isTrackedInParentContexts(w){return this.parentContexts.getContext(w)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const w=this.parentContexts.getContext(this.name);w?.route&&(w.attachRef?this.attach(w.attachRef,w.route):this.activateWith(w.route,w.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new t.vHH(4012,vt);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new t.vHH(4012,vt);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new t.vHH(4012,vt);this.location.detach();const w=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(w.instance),w}attach(w,Z){this.activated=w,this._activatedRoute=Z,this.location.insert(w.hostView),this.attachEvents.emit(w.instance)}deactivate(){if(this.activated){const w=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(w)}}activateWith(w,Z){if(this.isActivated)throw new t.vHH(4013,vt);this._activatedRoute=w;const de=this.location,Re=w.snapshot.component,ut=this.parentContexts.getOrCreateContext(this.name).children,Kt=ne
1w an(w,ut,de.injector);if(Z&&function Pn(P){return!!P.resolveComponentFactory}(Z)){const An=Z.resolveComponentFactory(Re);this.activated=de.createComponent(An,de.length,Kt)}else this.activated=de.createComponent(Re,{index:de.length,injector:Kt,environmentInjector:Z??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return P.\u0275fac=function(w){return new(w||P)},P.\u0275dir=t.lG2({type:P,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[t.TTD]}),P})();class an{constructor(F,w,Z){this.route=F,this.childContexts=w,this.parent=Z}get(F,w){return F===Si?this.route:F===at?this.childContexts:this.parent.get(F,w)}}let Rn=(()=>{class P{}return P.\u0275fac=function(w){return new(w||P)},P.\u0275cmp=t.Xpm({type:P,selectors:[["ng-component"]],standalone:!0,features:[t.jDz],decls:1,vars:0,template:function(w,Z){1&w&&t._UZ(0,"router-outlet")},dependencies:[Ft],encapsulation:2}),P})();function jr(P,F){return P.providers&&!P._injector&&(P._injector=(0,t.MMx)(P.providers,F,`Route: ${P.path}`)),P._injector??F}function ps(P){const F=P.children&&P.children.map(ps),w=F?{...P,children:F}:{...P};return!w.component&&!w.loadComponent&&(F||w.loadChildren)&&w.outlet&&w.outlet!==rn&&(w.component=Rn),w}function di(P){return P.outlet||rn}function Hs(P,F){const w=P.filter(Z=>di(Z)===F);return w.push(...P.filter(Z=>di(Z)!==F)),w}function Fi(P){if(!P)return null;if(P.routeConfig?._injector)return P.routeConfig._injector;for(let F=P.parent;F;F=F.parent){const w=F.routeConfig;if(w?._loadedInjector)return w._loadedInjector;if(w?._injector)return w._injector}return null}class wr{constructor(F,w,Z,de){this.routeReuseStrategy=F,this.futureState=w,this.currState=Z,this.forwardEvent=de}activate(F){const w=this.futureState._root,Z=this.currState?this.currState._root:null;this.deactivateChildRoutes(w,Z,F),Zr(this.futureState.root),this.activateChildRoutes(w,Z,F)}deactivateChildRoutes(F,w,Z){const de=fr(w);F.children.forEach(Ae=>{const Re=Ae.value.outlet;this.deactivateRoutes(Ae,de[Re],Z),delete de[Re]}),$n(de,(Ae,Re)=>{this.deactivateRouteAndItsChildren(Ae,Z)})}deactivateRoutes(F,w,Z){const de=F.value,Ae=w?w.value:null;if(de===Ae)if(de.component){const Re=Z.getContext(de.outlet);Re&&this.deactivateChildRoutes(F,w,Re.children)}else this.deactivateChildRoutes(F,w,Z);else Ae&&this.deactivateRouteAndItsChildren(w,Z)}deactivateRouteAndItsChildren(F,w){F.value.component&&this.routeReuseStrategy.shouldDetach(F.value.snapshot)?this.detachAndStoreRouteSubtree(F,w):this.deactivateRouteAndOutlet(F,w)}detachAndStoreRouteSubtree(F,w){const Z=w.getContext(F.value.outlet),de=Z&&F.value.component?Z.children:w,Ae=fr(F);for(const Re of Object.keys(Ae))this.deactivateRouteAndItsChildren(Ae[Re],de);if(Z&&Z.outlet){const Re=Z.outlet.detach(),ut=Z.children.onOutletDeactivated();this.routeReuseStrategy.store(F.value.snapshot,{componentRef:Re,route:F,contexts:ut})}}deactivateRouteAndOutlet(F,w){const Z=w.getContext(F.value.outlet),de=Z&&F.value.component?Z.children:w,Ae=fr(F);for(const Re of Object.keys(Ae))this.deactivateRouteAndItsChildren(Ae[Re],de);Z&&Z.outlet&&(Z.outlet.deactivate(),Z.children.onOutletDeactivated(),Z.attachRef=null,Z.resolver=null,Z.route=null)}activateChildRoutes(F,w,Z){const de=fr(w);F.children.forEach(Ae=>{this.activateRoutes(Ae,de[Ae.value.outlet],Z),this.forwardEvent(new Ht(Ae.value.snapshot))}),F.children.length&&this.forwardEvent(new ft(F.value.snapshot))}activateRoutes(F,w,Z){const de=F.value,Ae=w?w.value:null;if(Zr(de),de===Ae)if(de.component){const Re=Z.getOrCreateContext(de.outlet);this.activateChildRoutes(F,w,Re.children)}else this.activateChildRoutes(F,w,Z);else if(de.component){const Re=Z.getOrCreateContext(de.outlet);if(this.routeReuseStrategy.shouldAttach(de.snapshot)){const ut=this.routeReuseStrategy.retrieve(de.snapshot);this.routeReuseStrategy.store(de.snapshot,null),Re.children.onOutletReAttached(ut.contexts),Re.attachRef=ut.componentRef,Re.route=ut.route.value,Re.outlet&&Re.outlet.attach(ut.componentRef,ut.route.value),Zr(ut.route.value),this.activateChildRoutes(F,null,Re.children)}else{const ut=Fi(de.snapshot),Kt=ut?.get(t._Vd)??null;Re.attachRef=null,Re.route=de,Re.resolver=Kt,Re.injector=ut,Re.outlet&&Re.outlet.activateWith(de,Re.injector),this.activateChildRoutes(F,null,Re.children)}}else this.activateChildRoutes(F,null,Z)}}class Ni{constructor(F){this.path=F,this.route=this.path[this.path.length-1]}}class Ns{constructor(F,w){this.component=F,this.route=w}}function es(P,F,w){const Z=P._root;return gi(Z,F?F._root:null,w,[Z.value])}function ws(P,F){const w=Symbol(),Z=F.get(P,w);return Z===w?"function"!=typeof P||(0,t.Z0I)(P)?F.get(P):P:Z}function gi(P,F,w,Z,de={canDeactivateChecks:[],canActivateChecks:[]}){const Ae=fr(F);
1return P.children.forEach(Re=>{(function ho(P,F,w,Z,de={canDeactivateChecks:[],canActivateChecks:[]}){const Ae=P.value,Re=F?F.value:null,ut=w?w.getContext(P.value.outlet):null;if(Re&&Ae.routeConfig===Re.routeConfig){const Kt=function Do(P,F,w){if("function"==typeof w)return w(P,F);switch(w){case"pathParamsChange":return!$r(P.url,F.url);case"pathParamsOrQueryParamsChange":return!$r(P.url,F.url)||!Bt(P.queryParams,F.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!hs(P,F)||!Bt(P.queryParams,F.queryParams);default:return!hs(P,F)}}(Re,Ae,Ae.routeConfig.runGuardsAndResolvers);Kt?de.canActivateChecks.push(new Ni(Z)):(Ae.data=Re.data,Ae._resolvedData=Re._resolvedData),gi(P,F,Ae.component?ut?ut.children:null:w,Z,de),Kt&&ut&&ut.outlet&&ut.outlet.isActivated&&de.canDeactivateChecks.push(new Ns(ut.outlet.component,Re))}else Re&&ts(F,ut,de),de.canActivateChecks.push(new Ni(Z)),gi(P,null,Ae.component?ut?ut.children:null:w,Z,de)})(Re,Ae[Re.value.outlet],w,Z.concat([Re.value]),de),delete Ae[Re.value.outlet]}),$n(Ae,(Re,ut)=>ts(Re,w.getContext(ut),de)),de}function ts(P,F,w){const Z=fr(P),de=P.value;$n(Z,(Ae,Re)=>{ts(Ae,de.component?F?F.children.getContext(Re):null:F,w)}),w.canDeactivateChecks.push(new Ns(de.component&&F&&F.outlet&&F.outlet.isActivated?F.outlet.component:null,de))}function wi(P){return"function"==typeof P}function se(P){return P instanceof D.K||"EmptyError"===P?.name}const Q=Symbol("INITIAL_VALUE");function Ee(){return(0,pe.w)(P=>(0,M.a)(P.map(F=>F.pipe((0,me.q)(1),(0,Fe.O)(Q)))).pipe((0,J.U)(F=>{for(const w of F)if(!0!==w){if(w===Q)return Q;if(!1===w||w instanceof Gt)return w}return!0}),(0,He.h)(F=>F!==Q),(0,me.q)(1)))}function Fr(P){return(0,te.z)((0,ke.b)(F=>{if(ve(F))throw co(0,F)}),(0,J.U)(F=>!0===F))}const Qs={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Vi(P,F,w,Z,de){const Ae=Rs(P,F,w);return Ae.matched?function ba(P,F,w,Z){const de=F.canMatch;if(!de||0===de.length)return(0,_.of)(!0);const Ae=de.map(Re=>{const ut=ws(Re,P);return Wn(function Li(P){return P&&wi(P.canMatch)}(ut)?ut.canMatch(F,w):P.runInContext(()=>ut(F,w)))});return(0,_.of)(Ae).pipe(Ee(),Fr())}(Z=jr(F,Z),F,w).pipe((0,J.U)(Re=>!0===Re?Ae:{...Qs})):(0,_.of)(Ae)}function Rs(P,F,w){if(""===F.path)return"full"===F.pathMatch&&(P.hasChildren()||w.length>0)?{...Qs}:{matched:!0,consumedSegments:[],remainingSegments:w,parameters:{},positionalParamSegments:{}};const de=(F.matcher||_n)(w,P,F);if(!de)return{...Qs};const Ae={};$n(de.posParams,(ut,Kt)=>{Ae[Kt]=ut.path});const Re=de.consumed.length>0?{...Ae,...de.consumed[de.consumed.length-1].parameters}:Ae;return{matched:!0,consumedSegments:de.consumed,remainingSegments:w.slice(de.consumed.length),parameters:Re,positionalParamSegments:de.posParams??{}}}function Us(P,F,w,Z){if(w.length>0&&function Ts(P,F,w){return w.some(Z=>eo(P,F,Z)&&di(Z)!==rn)}(P,w,Z)){const Ae=new Tn(F,function As(P,F,w,Z){const de={};de[rn]=Z,Z._sourceSegment=P,Z._segmentIndexShift=F.length;for(const Ae of w)if(""===Ae.path&&di(Ae)!==rn){const Re=new Tn([],{});Re._sourceSegment=P,Re._segmentIndexShift=F.length,de[di(Ae)]=Re}return de}(P,F,Z,new Tn(w,P.children)));return Ae._sourceSegment=P,Ae._segmentIndexShift=F.length,{segmentGroup:Ae,slicedSegments:[]}}if(0===w.length&&function yl(P,F,w){return w.some(Z=>eo(P,F,Z))}(P,w,Z)){const Ae=new Tn(P.segments,function $i(P,F,w,Z,de){const Ae={};for(const Re of Z)if(eo(P,w,Re)&&!de[di(Re)]){const ut=new Tn([],{});ut._sourceSegment=P,ut._segmentIndexShift=F.length,Ae[di(Re)]=ut}return{...de,...Ae}}(P,F,w,Z,P.children));return Ae._sourceSegment=P,Ae._segmentIndexShift=F.length,{segmentGroup:Ae,slicedSegments:w}}const de=new Tn(P.segments,P.children);return de._sourceSegment=P,de._segmentIndexShift=F.length,{segmentGroup:de,slicedSegments:w}}function eo(P,F,w){return(!(P.hasChildren()||F.length>0)||"full"!==w.pathMatch)&&""===w.path}function Ea(P,F,w,Z){return!!(di(P)===Z||Z!==rn&&eo(F,w,P))&&("**"===P.path||Rs(F,P,w).matched)}function Ho(P,F,w){return 0===F.length&&!P.children[w]}const Hi=!1;class Ds{constructor(F){this.segmentGroup=F||null}}class Oa{constructor(F){this.urlTree=F}}function mi(P){return(0,I._)(new Ds(P))}function Ri(P){return(0,I._)(new Oa(P))}class ra{constructor(F,w,Z,de,Ae){this.injector=F,this.configLoader=w,this.urlSerializer
1=Z,this.urlTree=de,this.config=Ae,this.allowRedirects=!0}apply(){const F=Us(this.urlTree.root,[],[],this.config).segmentGroup,w=new Tn(F.segments,F.children);return this.expandSegmentGroup(this.injector,this.config,w,rn).pipe((0,J.U)(Ae=>this.createUrlTree(B(Ae),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,De.K)(Ae=>{if(Ae instanceof Oa)return this.allowRedirects=!1,this.match(Ae.urlTree);throw Ae instanceof Ds?this.noMatchError(Ae):Ae}))}match(F){return this.expandSegmentGroup(this.injector,this.config,F.root,rn).pipe((0,J.U)(de=>this.createUrlTree(B(de),F.queryParams,F.fragment))).pipe((0,De.K)(de=>{throw de instanceof Ds?this.noMatchError(de):de}))}noMatchError(F){return new t.vHH(4002,Hi)}createUrlTree(F,w,Z){const de=Ve(F);return new Gt(de,w,Z)}expandSegmentGroup(F,w,Z,de){return 0===Z.segments.length&&Z.hasChildren()?this.expandChildren(F,w,Z).pipe((0,J.U)(Ae=>new Tn([],Ae))):this.expandSegment(F,Z,w,Z.segments,de,!0)}expandChildren(F,w,Z){const de=[];for(const Ae of Object.keys(Z.children))"primary"===Ae?de.unshift(Ae):de.push(Ae);return(0,f.D)(de).pipe((0,ze.b)(Ae=>{const Re=Z.children[Ae],ut=Hs(w,Ae);return this.expandSegmentGroup(F,ut,Re,Ae).pipe((0,J.U)(Kt=>({segment:Kt,outlet:Ae})))}),(0,Ce.R)((Ae,Re)=>(Ae[Re.outlet]=Re.segment,Ae),{}),st())}expandSegment(F,w,Z,de,Ae,Re){return(0,f.D)(Z).pipe((0,ze.b)(ut=>this.expandSegmentAgainstRoute(F,w,Z,ut,de,Ae,Re).pipe((0,De.K)(An=>{if(An instanceof Ds)return(0,_.of)(null);throw An}))),(0,Ne.P)(ut=>!!ut),(0,De.K)((ut,Kt)=>{if(se(ut))return Ho(w,de,Ae)?(0,_.of)(new Tn([],{})):mi(w);throw ut}))}expandSegmentAgainstRoute(F,w,Z,de,Ae,Re,ut){return Ea(de,w,Ae,Re)?void 0===de.redirectTo?this.matchSegmentAgainstRoute(F,w,de,Ae,Re):ut&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(F,w,Z,de,Ae,Re):mi(w):mi(w)}expandSegmentAgainstRouteUsingRedirect(F,w,Z,de,Ae,Re){return"**"===de.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(F,Z,de,Re):this.expandRegularSegmentAgainstRouteUsingRedirect(F,w,Z,de,Ae,Re)}expandWildCardWithParamsAgainstRouteUsingRedirect(F,w,Z,de){const Ae=this.applyRedirectCommands([],Z.redirectTo,{});return Z.redirectTo.startsWith("/")?Ri(Ae):this.lineralizeSegments(Z,Ae).pipe((0,xe.z)(Re=>{const ut=new Tn(Re,{});return this.expandSegment(F,ut,w,Re,de,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(F,w,Z,de,Ae,Re){const{matched:ut,consumedSegments:Kt,remainingSegments:An,positionalParamSegments:Yn}=Rs(w,de,Ae);if(!ut)return mi(w);const br=this.applyRedirectCommands(Kt,de.redirectTo,Yn);return de.redirectTo.startsWith("/")?Ri(br):this.lineralizeSegments(de,br).pipe((0,xe.z)(Wr=>this.expandSegment(F,w,Z,Wr.concat(An),Re,!1)))}matchSegmentAgainstRoute(F,w,Z,de,Ae){return"**"===Z.path?(F=jr(Z,F),Z.loadChildren?(Z._loadedRoutes?(0,_.of)({routes:Z._loadedRoutes,injector:Z._loadedInjector}):this.configLoader.loadChildren(F,Z)).pipe((0,J.U)(ut=>(Z._loadedRoutes=ut.routes,Z._loadedInjector=ut.injector,new Tn(de,{})))):(0,_.of)(new Tn(de,{}))):Vi(w,Z,de,F).pipe((0,pe.w)(({matched:Re,consumedSegments:ut,remainingSegments:Kt})=>Re?this.getChildConfig(F=Z._injector??F,Z,de).pipe((0,xe.z)(Yn=>{const br=Yn.injector??F,Wr=Yn.routes,{segmentGroup:sr,slicedSegments:cs}=Us(w,ut,Kt,Wr),Gi=new Tn(sr.segments,sr.children);if(0===cs.length&&Gi.hasChildren())return this.expandChildren(br,Wr,Gi).pipe((0,J.U)(Zo=>new Tn(ut,Zo)));if(0===Wr.length&&0===cs.length)return(0,_.of)(new Tn(ut,{}));const Pi=di(Z)===Ae;return this.expandSegment(br,Gi,Wr,cs,Pi?rn:Ae,!0).pipe((0,J.U)(Aa=>new Tn(ut.concat(Aa.segments),Aa.children)))})):mi(w)))}getChildConfig(F,w,Z){return w.children?(0,_.of)({routes:w.children,injector:F}):w.loadChildren?void 0!==w._loadedRoutes?(0,_.of)({routes:w._loadedRoutes,injector:w._loadedInjector}):function Zt(P,F,w,Z){const de=F.canLoad;if(void 0===de||0===de.length)return(0,_.of)(!0);const Ae=de.map(Re=>{const ut=ws(Re,P);return Wn(function fa(P){return P&&wi(P.canLoad)}(ut)?ut.canLoad(F,w):P.runInContext(()=>ut(F,w)))});return(0,_.of)(Ae).pipe(Ee(),Fr())}(F,w,Z).pipe((0,xe.z)(de=>de?this.configLoader.loadChildren(F,w).pipe((0,ke.b)(Ae=>{w._loadedRoutes=Ae.routes,w._loadedInjector=Ae.injector})):function to(P){return(0,I._)(fs(Hi,3))}())):(0,_.of)({routes:[],injector:F})}lineralizeSegments(F,w){let Z=[],de=w.root;for(;;){if(Z=Z.concat(de.segments),0===de.numberOfChildren)return(0,_.of)(Z
1);if(de.numberOfChildren>1||!de.children[rn])return(0,I._)(new t.vHH(4e3,Hi));de=de.children[rn]}}applyRedirectCommands(F,w,Z){return this.applyRedirectCreateUrlTree(w,this.urlSerializer.parse(w),F,Z)}applyRedirectCreateUrlTree(F,w,Z,de){const Ae=this.createSegmentGroup(F,w.root,Z,de);return new Gt(Ae,this.createQueryParams(w.queryParams,this.urlTree.queryParams),w.fragment)}createQueryParams(F,w){const Z={};return $n(F,(de,Ae)=>{if("string"==typeof de&&de.startsWith(":")){const ut=de.substring(1);Z[Ae]=w[ut]}else Z[Ae]=de}),Z}createSegmentGroup(F,w,Z,de){const Ae=this.createSegments(F,w.segments,Z,de);let Re={};return $n(w.children,(ut,Kt)=>{Re[Kt]=this.createSegmentGroup(F,ut,Z,de)}),new Tn(Ae,Re)}createSegments(F,w,Z,de){return w.map(Ae=>Ae.path.startsWith(":")?this.findPosParam(F,Ae,de):this.findOrReturn(Ae,Z))}findPosParam(F,w,Z){const de=Z[w.path.substring(1)];if(!de)throw new t.vHH(4001,Hi);return de}findOrReturn(F,w){let Z=0;for(const de of w){if(de.path===F.path)return w.splice(Z),de;Z++}return F}}class Uo{}class $o{constructor(F,w,Z,de,Ae,Re,ut){this.injector=F,this.rootComponentType=w,this.config=Z,this.urlTree=de,this.url=Ae,this.paramsInheritanceStrategy=Re,this.urlSerializer=ut}recognize(){const F=Us(this.urlTree.root,[],[],this.config.filter(w=>void 0===w.redirectTo)).segmentGroup;return this.processSegmentGroup(this.injector,this.config,F,rn).pipe((0,J.U)(w=>{if(null===w)return null;const Z=new xs([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},rn,this.rootComponentType,null,this.urlTree.root,-1,{}),de=new ar(Z,w),Ae=new Oi(this.url,de);return this.inheritParamsAndData(Ae._root),Ae}))}inheritParamsAndData(F){const w=F.value,Z=Xn(w,this.paramsInheritanceStrategy);w.params=Object.freeze(Z.params),w.data=Object.freeze(Z.data),F.children.forEach(de=>this.inheritParamsAndData(de))}processSegmentGroup(F,w,Z,de){return 0===Z.segments.length&&Z.hasChildren()?this.processChildren(F,w,Z):this.processSegment(F,w,Z,Z.segments,de)}processChildren(F,w,Z){return(0,f.D)(Object.keys(Z.children)).pipe((0,ze.b)(de=>{const Ae=Z.children[de],Re=Hs(w,de);return this.processSegmentGroup(F,Re,Ae,de)}),(0,Ce.R)((de,Ae)=>de&&Ae?(de.push(...Ae),de):null),(0,jt.o)(de=>null!==de),(0,be.d)(null),st(),(0,J.U)(de=>{if(null===de)return null;const Ae=pa(de);return function Wa(P){P.sort((F,w)=>F.value.outlet===rn?-1:w.value.outlet===rn?1:F.value.outlet.localeCompare(w.value.outlet))}(Ae),Ae}))}processSegment(F,w,Z,de,Ae){return(0,f.D)(w).pipe((0,ze.b)(Re=>this.processSegmentAgainstRoute(Re._injector??F,Re,Z,de,Ae)),(0,Ne.P)(Re=>!!Re),(0,De.K)(Re=>{if(se(Re))return Ho(Z,de,Ae)?(0,_.of)([]):(0,_.of)(null);throw Re}))}processSegmentAgainstRoute(F,w,Z,de,Ae){if(w.redirectTo||!Ea(w,Z,de,Ae))return(0,_.of)(null);let Re;if("**"===w.path){const ut=de.length>0?dr(de).parameters:{},Kt=ia(Z)+de.length,An=new xs(de,ut,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,j(w),di(w),w.component??w._loadedComponent??null,w,xo(Z),Kt,ge(w));Re=(0,_.of)({snapshot:An,consumedSegments:[],remainingSegments:[]})}else Re=Vi(Z,w,de,F).pipe((0,J.U)(({matched:ut,consumedSegments:Kt,remainingSegments:An,parameters:Yn})=>{if(!ut)return null;const br=ia(Z)+Kt.length;return{snapshot:new xs(Kt,Yn,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,j(w),di(w),w.component??w._loadedComponent??null,w,xo(Z),br,ge(w)),consumedSegments:Kt,remainingSegments:An}}));return Re.pipe((0,pe.w)(ut=>{if(null===ut)return(0,_.of)(null);const{snapshot:Kt,consumedSegments:An,remainingSegments:Yn}=ut;F=w._injector??F;const br=w._loadedInjector??F,Wr=function Na(P){return P.children?P.children:P.loadChildren?P._loadedRoutes:[]}(w),{segmentGroup:sr,slicedSegments:cs}=Us(Z,An,Yn,Wr.filter(Pi=>void 0===Pi.redirectTo));if(0===cs.length&&sr.hasChildren())return this.processChildren(br,Wr,sr).pipe((0,J.U)(Pi=>null===Pi?null:[new ar(Kt,Pi)]));if(0===Wr.length&&0===cs.length)return(0,_.of)([new ar(Kt,[])]);const Gi=di(w)===Ae;return this.processSegment(br,Wr,sr,cs,Gi?rn:Ae).pipe((0,J.U)(Pi=>null===Pi?null:[new ar(Kt,Pi)]))}))}}function Ra(P){const F=P.value.routeConfig;return F&&""===F.path&&void 0===F.redirectTo}function pa(P){const F=[],w=new Set;for(const Z of P){if(!Ra(Z)){F.push(Z);continue}const de=F.find(Ae=>Z.value.routeConfig===Ae.value.routeConfig);void 0!==de?(de.children.push(...Z.children),w.add(de)):F.push(Z)}for(const Z of w){const de=pa(Z.children);F.push(new ar(Z.value,de))}return F.filter(Z=>!w.has(Z))}function xo(P){let F=P;for(;F._sourceSegment;)F=F._sourceSegment;return F}function ia(P){let F=P,w=F._segmentIndexShift??0;for(;F._sourceSegment;)F=F._sourceSegment,w+=F._segmentIndexShift??0;return w-1}function j(P){return P.data||{}}function ge(P){return P.resolve||{}}function rr(P){return"string"==typeof P.title||null===P.title}function Lr(P){return(0,pe.w)(F=>{const w=P(F);return w?(0,f.D)(w).pipe((0,J.U)(()=>F)):(0,_.of)(F)})}const G=new t.OlP("ROUTES");let K=(()=>{class P{constructor(w,Z){this.injector=w,this.compiler=Z,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(w){if(this.componentLoaders.get(w))return this.componentLoaders.get(w);if(w._loadedComponent)return(0,_.of)(w._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(w);const Z=Wn(w.loadComponent()).pipe((0,J.U)(Xe),(0,ke.b)(Ae=>{this.onLoadEndListener&&this.onLoadEndListener(w),w._loadedComponent=Ae}),(0,Ut.x)(()=>{this.componentLoaders.delete(w)})),de=new N(Z,()=>new O.x).pipe(Y());return this.componentLoaders.set(w,de),de}loadChildren(w,Z){if(this.childrenLoaders.get(Z))return this.childrenLoaders.get(Z);if(Z._loadedRoutes)return(0,_.of)({routes:Z._loadedRoutes,injector:Z._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(Z);const Ae=this.loadModuleFactoryOrRoutes(Z.loadChildren).pipe((0,J.U)(ut=>{this.onLoadEndListener&&this.onLoadEndListener(Z);let Kt,An,Yn=!1;Array.isArray(ut)?An=ut:(Kt=ut.create(w).injector,An=un(Kt.get(G,[],t.XFs.Self|t.XFs.Optional)));return{routes:An.map(ps),injector:Kt}}),(0,Ut.x)(()=>{this.childrenLoaders.delete(Z)})),Re=new N(Ae,()=>new O.x).pipe(Y());return this.childrenLoaders.set(Z,Re),Re}loadModuleFactoryOrRoutes(w){return Wn(w()).pipe((0,J.U)(Xe),(0,xe.z)(de=>de instanceof t.YKP||Array.isArray(de)?(0,_.of)(de):(0,f.D)(this.compiler.compileModuleAsync(de))))}}return P.\u0275fac=function(w){return new(w||P)(t.LFG(t.zs3),t.LFG(t.Sil))},P.\u0275prov=t.Yz7({token:P,factory:P.\u0275fac,providedIn:"root"}),P})();function Xe(P){return function ye(P){return P&&"object"==typeof P&&"default"in P}(P)?P.default:P}let Mn=(()=>{class P{constructor(){this.currentNavigation=null,this.lastSuccessfulNavigation=null,this.events=new O.x,this.configLoader=(0,t.f3M)(K),this.environmentInjector=(0,t.f3M)(t.lqb),this.urlSerializer
1=(0,t.f3M)(Tr),this.rootContexts=(0,t.f3M)(at),this.navigationId=0,this.configLoader.onLoadEndListener=de=>this.events.next(new je(de)),this.configLoader.onLoadStartListener=de=>this.events.next(new os(de))}get hasRequestedNavigation(){return 0!==this.navigationId}complete(){this.transitions?.complete()}handleNavigationRequest(w){const Z=++this.navigationId;this.transitions?.next({...this.transitions.value,...w,id:Z})}setupNavigations(w){return this.transitions=new S.X({id:0,targetPageId:0,currentUrlTree:w.currentUrlTree,currentRawUrl:w.currentUrlTree,extractedUrl:w.urlHandlingStrategy.extract(w.currentUrlTree),urlAfterRedirects:w.urlHandlingStrategy.extract(w.currentUrlTree),rawUrl:w.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:w.routerState.snapshot,targetSnapshot:null,currentRouterState:w.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,He.h)(Z=>0!==Z.id),(0,J.U)(Z=>({...Z,extractedUrl:w.urlHandlingStrategy.extract(Z.rawUrl)})),(0,pe.w)(Z=>{let de=!1,Ae=!1;return(0,_.of)(Z).pipe((0,ke.b)(Re=>{this.currentNavigation={id:Re.id,initialUrl:Re.rawUrl,extractedUrl:Re.extractedUrl,trigger:Re.source,extras:Re.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,pe.w)(Re=>{const ut=w.browserUrlTree.toString(),Kt=!w.navigated||Re.extractedUrl.toString()!==ut||ut!==w.currentUrlTree.toString();if(("reload"===w.onSameUrlNavigation||Kt)&&w.urlHandlingStrategy.shouldProcessUrl(Re.rawUrl))return ir(Re.source)&&(w.browserUrlTree=Re.extractedUrl),(0,_.of)(Re).pipe((0,pe.w)(Yn=>{const br=this.transitions?.getValue();return this.events.next(new Hr(Yn.id,this.urlSerializer.serialize(Yn.extractedUrl),Yn.source,Yn.restoredState)),br!==this.transitions?.getValue()?H.E:Promise.resolve(Yn)}),function Go(P,F,w,Z){return(0,pe.w)(de=>function no(P,F,w,Z,de){return new ra(P,F,w,Z,de).apply()}(P,F,w,de.extractedUrl,Z).pipe((0,J.U)(Ae=>({...de,urlAfterRedirects:Ae}))))}(this.environmentInjector,this.configLoader,this.urlSerializer,w.config),(0,ke.b)(Yn=>{this.currentNavigation={...this.currentNavigation,finalUrl:Yn.urlAfterRedirects},Z.urlAfterRedirects=Yn.urlAfterRedirects}),function q(P,F,w,Z,de){return(0,xe.z)(Ae=>function ja(P,F,w,Z,de,Ae,Re="emptyOnly"){return new $o(P,F,w,Z,de,Re,Ae).recognize().pipe((0,pe.w)(ut=>null===ut?function il(P){return new z.y(F=>F.error(P))}(new Uo):(0,_.of)(ut)))}(P,F,w,Ae.urlAfterRedirects,Z.serialize(Ae.urlAfterRedirects),Z,de).pipe((0,J.U)(Re=>({...Ae,targetSnapshot:Re}))))}(this.environmentInjector,w.rootComponentType,w.config,this.urlSerializer,w.paramsInheritanceStrategy),(0,ke.b)(Yn=>{if(Z.targetSnapshot=Yn.targetSnapshot,"eager"===w.urlUpdateStrategy){if(!Yn.extras.skipLocationChange){const Wr=w.urlHandlingStrategy.merge(Yn.urlAfterRedirects,Yn.rawUrl);w.setBrowserUrl(Wr,Yn)}w.browserUrlTree=Yn.urlAfterRedirects}const br=new ki(Yn.id,this.urlSerializer.serialize(Yn.extractedUrl),this.urlSerializer.serialize(Yn.urlAfterRedirects),Yn.targetSnapshot);this.events.next(br)}));if(Kt&&w.rawUrlTree&&w.urlHandlingStrategy.shouldProcessUrl(w.rawUrlTree)){const{id:br,extractedUrl:Wr,source:sr,restoredState:cs,extras:Gi}=Re,Pi=new Hr(br,this.urlSerializer.serialize(Wr),sr,cs);this.events.next(Pi);const Fs=li(Wr,w.rootComponentType).snapshot;return Z={...Re,targetSnapshot:Fs,urlAfterRedirects:Wr,extras:{...Gi,skipLocationChange:!1,replaceUrl:!1}},(0,_.of)(Z)}return w.rawUrlTree=Re.rawUrl,Re.resolve(null),H.E}),(0,ke.b)(Re=>{const ut=new wn(Re.id,this.urlSerializer.serialize(Re.extractedUrl),this.urlSerializer.serialize(Re.urlAfterRedirects),Re.targetSnapshot);this.events.next(ut)}),(0,J.U)(Re=>Z={...Re,guards:es(Re.targetSnapshot,Re.currentSnapshot,this.rootContexts)}),function wt(P,F){return(0,xe.z)(w=>{const{targetSnapshot:Z,currentSnapshot:de,guards:{canActivateChecks:Ae,canDeactivateChecks:Re}}=w;return 0===Re.length&&0===Ae.length?(0,_.of)({...w,guardsResult:!0}):function ln(P,F,w,Z){return(0,f.D)(P).pipe((0,xe.z)(de=>function ya(P,F,w,Z,de){const Ae=F&&F.routeConfig?F.routeConfig.canDeactivate:null;if(!Ae||0===Ae.length)return(0,_.of)(!0);const Re=Ae.map(ut=>{const Kt=Fi(F)??de,An=ws(ut,Kt);return Wn(function Io(P){return P&&wi(P.canDeactivate)}(An)?An.canDeactivate(P,F,w,Z):Kt.runInContext(()=>An(P,F,w,Z))).pipe((0,Ne.P)())});return(0,_.of)(Re).pipe(Ee())}(de.component,de.route,w,F,Z)),(0,Ne.P)(de=>!0!==de,!0))}(Re,Z,de,P).pipe((0,xe.z)(ut=>ut&&function ha(P){return"boolean"==typeof P}(ut)?function Bi(P,F,w,Z){return(0,f.D)(F).pipe((0,ze.b)(de=>(0,k.z)(function Po(P,F){return null!==P&&F&&F(new Mt(P)),(0,_.of)(!0)}(de.route.parent,Z),function Gs(P,F){return null!==P&&F&&F(new Dt(P)),(0,_.of)(!0)}(de.route,Z),function $a(P,F,w){const Z=F[F.length-1],Ae=F.slice(0,F.length-1).reverse().map(Re=>function Vo(P){const F=P.routeConfig?P.routeConfig.canActivateChild:null;return F&&0!==F.length?{node:P,guards:F}:null}(Re)).filter(Re=>null!==Re).map(Re=>(0,U.P)(()=>{const ut=Re.guards.map(Kt=>{const An=Fi(Re.node)??w,Yn=ws(Kt,An);return Wn(function ns(P){return P&&wi(P.canActivateChild)}(Yn)?Yn.canActivateChild(Z,P):An.runInContext(()=>Yn(Z,P))).pipe((0,Ne.P)())});return(0,_.of)(ut).pipe(Ee())}));return(0,_.of)(Ae).pipe(Ee())}
1(P,de.path,w),function Eo(P,F,w){const Z=F.routeConfig?F.routeConfig.canActivate:null;if(!Z||0===Z.length)return(0,_.of)(!0);const de=Z.map(Ae=>(0,U.P)(()=>{const Re=Fi(F)??w,ut=ws(Ae,Re);return Wn(function gs(P){return P&&wi(P.canActivate)}(ut)?ut.canActivate(F,P):Re.runInContext(()=>ut(F,P))).pipe((0,Ne.P)())}));return(0,_.of)(de).pipe(Ee())}(P,de.route,w))),(0,Ne.P)(de=>!0!==de,!0))}(Z,Ae,P,F):(0,_.of)(ut)),(0,J.U)(ut=>({...w,guardsResult:ut})))})}(this.environmentInjector,Re=>this.events.next(Re)),(0,ke.b)(Re=>{if(Z.guardsResult=Re.guardsResult,ve(Re.guardsResult))throw co(0,Re.guardsResult);const ut=new Zi(Re.id,this.urlSerializer.serialize(Re.extractedUrl),this.urlSerializer.serialize(Re.urlAfterRedirects),Re.targetSnapshot,!!Re.guardsResult);this.events.next(ut)}),(0,He.h)(Re=>!!Re.guardsResult||(w.restoreHistory(Re),this.cancelNavigationTransition(Re,"",3,w),!1)),Lr(Re=>{if(Re.guards.canActivateChecks.length)return(0,_.of)(Re).pipe((0,ke.b)(ut=>{const Kt=new ss(ut.id,this.urlSerializer.serialize(ut.extractedUrl),this.urlSerializer.serialize(ut.urlAfterRedirects),ut.targetSnapshot);this.events.next(Kt)}),(0,pe.w)(ut=>{let Kt=!1;return(0,_.of)(ut).pipe(function we(P,F){return(0,xe.z)(w=>{const{targetSnapshot:Z,guards:{canActivateChecks:de}}=w;if(!de.length)return(0,_.of)(w);let Ae=0;return(0,f.D)(de).pipe((0,ze.b)(Re=>function rt(P,F,w,Z){const de=P.routeConfig,Ae=P._resolve;return void 0!==de?.title&&!rr(de)&&(Ae[gn]=de.title),function Rt(P,F,w,Z){const de=function $t(P){return[...Object.keys(P),...Object.getOwnPropertySymbols(P)]}(P);if(0===de.length)return(0,_.of)({});const Ae={};return(0,f.D)(de).pipe((0,xe.z)(Re=>function xn(P,F,w,Z){const de=Fi(F)??Z,Ae=ws(P,de);return Wn(Ae.resolve?Ae.resolve(F,w):de.runInContext(()=>Ae(F,w)))}(P[Re],F,w,Z).pipe((0,Ne.P)(),(0,ke.b)(ut=>{Ae[Re]=ut}))),oe(1),(0,Wt.h)(Ae),(0,De.K)(Re=>se(Re)?H.E:(0,I._)(Re)))}(Ae,P,F,Z).pipe((0,J.U)(Re=>(P._resolvedData=Re,P.data=Xn(P,w).resolve,de&&rr(de)&&(P.data[gn]=de.title),null)))}(Re.route,Z,P,F)),(0,ke.b)(()=>Ae++),oe(1),(0,xe.z)(Re=>Ae===de.length?(0,_.of)(w):H.E))})}(w.paramsInheritanceStrategy,this.environmentInjector),(0,ke.b)({next:()=>Kt=!0,complete:()=>{Kt||(w.restoreHistory(ut),this.cancelNavigationTransition(ut,"",2,w))}}))}),(0,ke.b)(ut=>{const Kt=new Ms(ut.id,this.urlSerializer.serialize(ut.extractedUrl),this.urlSerializer.serialize(ut.urlAfterRedirects),ut.targetSnapshot);this.events.next(Kt)}))}),Lr(Re=>{const ut=Kt=>{const An=[];Kt.routeConfig?.loadComponent&&!Kt.routeConfig._loadedComponent&&An.push(this.configLoader.loadComponent(Kt.routeConfig).pipe((0,ke.b)(Yn=>{Kt.component=Yn}),(0,J.U)(()=>{})));for(const Yn of Kt.children)An.push(...ut(Yn));return An};return(0,M.a)(ut(Re.targetSnapshot.root)).pipe((0,be.d)(),(0,me.q)(1))}),Lr(()=>w.afterPreactivation()),(0,J.U)(Re=>{const ut=function Es(P,F,w){const Z=Xr(P,F._root,w?w._root:void 0);return new xi(Z,F)}(w.routeReuseStrategy,Re.targetSnapshot,Re.currentRouterState);return Z={...Re,targetRouterState:ut}}),(0,ke.b)(Re=>{w.currentUrlTree=Re.urlAfterRedirects,w.rawUrlTree=w.urlHandlingStrategy.merge(Re.urlAfterRedirects,Re.rawUrl),w.routerState=Re.targetRouterState,"deferred"===w.urlUpdateStrategy&&(Re.extras.skipLocationChange||w.setBrowserUrl(w.rawUrlTree,Re),w.browserUrlTree=Re.urlAfterRedirects)}),((P,F,w)=>(0,J.U)(Z=>(new wr(F,Z.targetRouterState,Z.currentRouterState,w).activate(P),Z)))(this.rootContexts,w.routeReuseStrategy,Re=>this.events.next(Re)),(0,ke.b)({next:Re=>{de=!0,this.lastSuccessfulNavigation=this.currentNavigation,w.navigated=!0,this.events.next(new Ci(Re.id,this.urlSerializer.serialize(Re.extractedUrl),this.urlSerializer.serialize(w.currentUrlTree))),w.titleStrategy?.updateTitle(Re.targetRouterState.snapshot),Re.resolve(!0)},complete:()=>{de=!0}}),(0,Ut.x)(()=>{de||Ae||this.cancelNavigationTransition(Z,"",1,w),this.currentNavigation?.id===Z.id&&(this.currentNavigation=null)}),(0,De.K)(Re=>{if(Ae=!0,Os(Re)){Xs(Re)||(w.navigated=!0,w.restoreHistory(Z,!0));const ut=new gr(Z.id,this.urlSerializer.serialize(Z.extractedUrl),Re.message,Re.cancellationCode);if(this.events.next(ut),Xs(Re)){const Kt=w.urlHandlingStrategy.merge(Re.url,
1w.rawUrlTree),An={skipLocationChange:Z.extras.skipLocationChange,replaceUrl:"eager"===w.urlUpdateStrategy||ir(Z.source)};w.scheduleNavigation(Kt,"imperative",null,An,{resolve:Z.resolve,reject:Z.reject,promise:Z.promise})}else Z.resolve(!1)}else{w.restoreHistory(Z,!0);const ut=new Di(Z.id,this.urlSerializer.serialize(Z.extractedUrl),Re,Z.targetSnapshot??void 0);this.events.next(ut);try{Z.resolve(w.errorHandler(Re))}catch(Kt){Z.reject(Kt)}}return H.E}))}))}cancelNavigationTransition(w,Z,de,Ae){const Re=new gr(w.id,this.urlSerializer.serialize(w.extractedUrl),Z,de);this.events.next(Re),w.resolve(!1)}}return P.\u0275fac=function(w){return new(w||P)},P.\u0275prov=t.Yz7({token:P,factory:P.\u0275fac,providedIn:"root"}),P})();function ir(P){return"imperative"!==P}let Xi=(()=>{class P{buildTitle(w){let Z,de=w.root;for(;void 0!==de;)Z=this.getResolvedTitleForRoute(de)??Z,de=de.children.find(Ae=>Ae.outlet===rn);return Z}getResolvedTitleForRoute(w){return w.data[gn]}}return P.\u0275fac=function(w){return new(w||P)},P.\u0275prov=t.Yz7({token:P,factory:function(){return(0,t.f3M)(ui)},providedIn:"root"}),P})(),ui=(()=>{class P extends Xi{constructor(w){super(),this.title=w}updateTitle(w){const Z=this.buildTitle(w);void 0!==Z&&this.title.setTitle(Z)}}return P.\u0275fac=function(w){return new(w||P)(t.LFG(dn.Dx))},P.\u0275prov=t.Yz7({token:P,factory:P.\u0275fac,providedIn:"root"}),P})(),Co=(()=>{class P{}return P.\u0275fac=function(w){return new(w||P)},P.\u0275prov=t.Yz7({token:P,factory:function(){return(0,t.f3M)(uu)},providedIn:"root"}),P})();class Oo{shouldDetach(F){return!1}store(F,w){}shouldAttach(F){return!1}retrieve(F){return null}shouldReuseRoute(F,w){return F.routeConfig===w.routeConfig}}let uu=(()=>{class P extends Oo{}return P.\u0275fac=function(){let F;return function(Z){return(F||(F=t.n5z(P)))(Z||P)}}(),P.\u0275prov=t.Yz7({token:P,factory:P.\u0275fac,providedIn:"root"}),P})();const jo=new t.OlP("",{providedIn:"root",factory:()=>({})});let sl=(()=>{class P{}return P.\u0275fac=function(w){return new(w||P)},P.\u0275prov=t.Yz7({token:P,factory:function(){return(0,t.f3M)(sa)},providedIn:"root"}),P})(),sa=(()=>{class P{shouldProcessUrl(w){return!0}extract(w){return w}merge(w,Z){return w}}return P.\u0275fac=function(w){return new(w||P)},P.\u0275prov=t.Yz7({token:P,factory:P.\u0275fac,providedIn:"root"}),P})();function oa(P){throw P}function Ta(P,F,w){return F.parse("/")}const Ka={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},fo={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function aa(){const P=(0,t.f3M)(Tr),F=(0,t.f3M)(at),w=(0,t.f3M)(X.Ye),Z=(0,t.f3M)(t.zs3),de=(0,t.f3M)(t.Sil),Ae=(0,t.f3M)(G,{optional:!0})??[],Re=(0,t.f3M)(jo,{optional:!0})??{},ut=new Ji(null,P,F,w,Z,de,un(Ae));return function ga(P,F){P.errorHandler&&(F.errorHandler=P.errorHandler),P.malformedUriErrorHandler&&(F.malformedUriErrorHandler=P.malformedUriErrorHandler),P.onSameUrlNavigation&&(F.onSameUrlNavigation=P.onSameUrlNavigation),P.paramsInheritanceStrategy&&(F.paramsInheritanceStrategy=P.paramsInheritanceStrategy),P.urlUpdateStrategy&&(F.urlUpdateStrategy=P.urlUpdateStrategy),P.canceledNavigationResolution&&(F.canceledNavigationResolution=P.canceledNavigationResolution)}(Re,ut),ut}let Ji=(()=>{class P{constructor(w,Z,de,Ae,Re,ut,Kt){this.rootComponentType=w,this.urlSerializer=Z,this.rootContexts=de,this.location=Ae,this.config=Kt,this.disposed=!1,this.currentPageId=0,this.isNgZoneEnabled=!1,this.errorHandler=oa,this.malformedUriErrorHandler=Ta,this.navigated=!1,this.lastSuccessfulId=-1,this.afterPreactivation=()=>(0,_.of)(void 0),this.urlHandlingStrategy=(0,t.f3M)(sl),this.routeReuseStrategy=(0,t.f3M)(Co),this.titleStrategy=(0,t.f3M)(Xi),this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.canceledNavigationResolution="replace",this.navigationTransitions=(0,t.f3M)(Mn),this.console=Re.get(t.c2e);const An=Re.get(t.R0b);this.isNgZoneEnabled=An instanceof t.R0b&&t.R0b.isInAngularZone(),this.resetConfig(Kt),this.currentUrlTree=new Gt,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=li(this.currentUrlTree,this.rootComponentType),this.navigationTransitions.setupNavigations(this).subscribe(Yn=>{this.lastSuccessfulId=Yn.id,this.currentPageId=Yn.targetPageId},Yn=>{this.console.warn(`Unhandled Navigation Error: ${Yn}`)})}get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return this.location.getState()?.\u0275routerPageId}get events(){return this.navigationTransitions.events}resetRootComponentType(w){this.rootComponentType=w,this.routerState.root.component=this.rootComponentType}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(w=>{const Z="popstate"===w.type?"popstate":"hashchange";"popstate"===Z&&setTimeout(()=>{const de={replaceUrl:!0},Ae=w.state?.navigationId?w.state:null;if(w.state){const ut={...w.state};delete ut.navigationId,delete ut.\u0275routerPageId,0!==Object.keys(ut).length&&(de.state=ut)}const Re=this.parseUrl(w.url);this.scheduleNavigation(Re,Z,Ae,de)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}resetConfig(w){this.config=w.map(ps),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(w,Z={}){const{relativeTo:de,queryParams:Ae,fragment:Re,queryParamsHandling:ut,preserveFragment:Kt}=Z,An=de||this.routerState.root,Yn=Kt?this.currentUrlTree.fragment:Re;let br=null;switch(ut){case"merge":br={...this.currentUrlTree.queryParams,...Ae};break;case"preserve":br=this.currentUrlTree.queryParams;break;default:br=Ae||null}return null!==br&&(br=this.removeEmptyProps(br)),er(An,this.currentUrlTree,w,br,Yn??null)}navigateByUrl(w,Z={skipLocationChange:!1}){const de=ve(w)?w:this.parseUrl(w),Ae=this.urlHandlingStrategy.merge(de,this.rawUrlTree);return this.scheduleNavigation(Ae,"imperative",null,Z)}navigate(w,Z={skipLocationChange:!1}){return function Wo(P){for(let F=0;F<P.length;F++){if(null==P[F])throw new t.vHH(4008,!1)}}(w),this.navigateByUrl(this.createUrlTree(w,Z),Z)}serializeUrl(w){return this.urlSerializer.serialize(w)}parseUrl(w){let Z;try{Z=this.urlSerializer.parse(w)}catch(de){Z=this.malformedUriErrorHandler(de,this.urlSerializer,w)}return Z}isActive(w,Z){let de;if(de=!0===Z?{...Ka}:!1===Z?{...fo}:Z,ve(w))return cn(this.currentUrlTree,w,de);const Ae=this.parseUrl(w);return cn(this.currentUrlTree,Ae,de)}removeEmptyProps(w){return Object.keys(w).reduce((Z,de)=>{const Ae=w[de];return null!=Ae&&(Z[de]=Ae),Z},{})}scheduleNavigation(w,Z,de,Ae,Re){if(this.disposed)return Promise.resolve(!1);let ut,Kt,An,Yn;return Re?(ut=Re.resolve,Kt=Re.reject,An=Re.promise):An=new Promise((br,Wr)=>{ut=br,Kt=Wr}),"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(de=this.location.getState()),Yn=de&&de.\u0275routerPageId?de.\u0275routerPageId:Ae.replaceUrl||Ae.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1):Yn=0,this.navigationTransitions.handleNavigationRequest({targetPageId:Yn,source:Z,restoredState:de,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:w,extras:Ae,resolve:ut,reject:Kt,promise:An,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),An.catch(br=>Promise.reject(br))}setBrowserUrl(w,Z){const de=this.urlSerializer.serialize(w),Ae={...Z.extras.state,...this.generateNgRouterState(Z.id,Z.targetPageId)};this.location.isCurrentPathEqualTo(de)||Z.extras.replaceUrl?this.location.replaceState(de,"",Ae):this.location.go(de,"",Ae)}restoreHistory(w,Z=!1){if("computed"===this.canceledNavigationResolution){const de=this.currentPageId-w.targetPageId;"popstate"!==w.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.getCurrentNavigation()?.finalUrl||0===de?this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===de&&(this.resetState(w),this.browserUrlTree=w.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(de)}else"replace"===this.canceledNavigationResolution&&(Z&&this.resetState(w),this.resetUrlToCurrentUrlTree())}resetState(w){this.routerState=w.currentRouterState,this.currentUrlTree=w.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,w.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(w,Z){return"computed"===this.canceledNavigationResolution?{navigationId:w,\u0275routerPageId:Z}:{navigationId:w}}}return P.\u0275fac=function(w){t.$Z()},P.\u0275prov=t.Yz7({token:P,factory:function(){return aa()},providedIn:"root"}),P})(),No=(()=>{class P{constructor(w,Z,de,Ae,Re,ut){this.router=w,this.route=Z,this.tabIndexAttribute=de,this.renderer=Ae,this.el=Re,this.locationStrategy=ut,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.href=null,this.commands=null,this.onChanges=new O.x;const Kt=Re.nativeElement.tagName;this.isAnchorElement="A"===Kt||"AREA"===Kt,this.isAnchorElement?this.subscription=w.events.subscribe(An=>{An instanceof Ci&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}set preserveFragment(w){this._preserveFragment=(0,t.D6c)(w)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(w){this._skipLocationChange=(0,t.D6c)(w)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(w){this._replaceUrl=(0,t.D6c)(w)}get replaceUrl(){return this._replaceUrl}setTabIndexIfNotOnNativeEl(w){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",w)}ngOnChanges(w){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(w){null!=w?(this.commands=Array.isArray(w)?w:[w],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(w,Z,de,Ae,Re){return!!(null===this.urlTree||this.isAnchorElement&&(0!==w||Z||de||Ae||Re||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const w=null===this.href?null:(0,t.P3R)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",w)}applyAttributeValue(w,Z){const de=this.renderer,Ae=this.el.nativeElement;null!==Z?de.setAttribute(Ae,w,Z):de.removeAttribute(Ae,w)}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 P.\u0275fac=function(w){return new(w||P)(t.Y36(Ji),t.Y36(Si),t.$8M("tabindex"),t.Y36(t.Qsj),t.Y36(t.SBq),t.Y36(X.S$))},P.\u0275dir=t.lG2({type:P,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(w,Z){1&w&&t.NdJ("click",function(Ae){return Z.onClick(Ae.button,Ae.ctrlKey,Ae.shiftKey,Ae.altKey,Ae.metaKey)}),2&w&&t.uIk("target",Z.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",routerLink:"routerLink"},standalone:!0,features:[t.TTD]}),P})();class io{}let Ca=(()=>{class P{constructor(w,Z,de,Ae,Re){this.router=w,this.injector=de,this.preloadingStrategy=Ae,this.loader=Re}setUpPreloading(){this.subscription=this.router.events.pipe((0,He.h)(w=>w instanceof Ci),(0,ze.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(w,Z){const de=[];for(const Ae of Z){Ae.providers&&!Ae._injector&&(Ae._injector=(0,t.MMx)(Ae.providers,w,`Route: ${Ae.path}`));const Re=Ae._injector??w,ut=Ae._loadedInjector??Re;Ae.loadChildren&&!Ae._loadedRoutes&&void 0===Ae.canLoad||Ae.loadComponent&&!Ae._loadedComponent?de.push(this.preloadConfig(Re,Ae)):(Ae.children||Ae._loadedRoutes)&&de.push(this.processRoutes(ut,Ae.children??Ae._loadedRoutes))}return(0,f.D)(de).pipe((0,Et.J)())}
1preloadConfig(w,Z){return this.preloadingStrategy.preload(Z,()=>{let de;de=Z.loadChildren&&void 0===Z.canLoad?this.loader.loadChildren(w,Z):(0,_.of)(null);const Ae=de.pipe((0,xe.z)(Re=>null===Re?(0,_.of)(void 0):(Z._loadedRoutes=Re.routes,Z._loadedInjector=Re.injector,this.processRoutes(Re.injector??w,Re.routes))));if(Z.loadComponent&&!Z._loadedComponent){const Re=this.loader.loadComponent(Z);return(0,f.D)([Ae,Re]).pipe((0,Et.J)())}return Ae})}}return P.\u0275fac=function(w){return new(w||P)(t.LFG(Ji),t.LFG(t.Sil),t.LFG(t.lqb),t.LFG(io),t.LFG(K))},P.\u0275prov=t.Yz7({token:P,factory:P.\u0275fac,providedIn:"root"}),P})();const ol=new t.OlP("");let so=(()=>{class P{constructor(w,Z,de,Ae,Re={}){this.urlSerializer=w,this.transitions=Z,this.viewportScroller=de,this.zone=Ae,this.options=Re,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},Re.scrollPositionRestoration=Re.scrollPositionRestoration||"disabled",Re.anchorScrolling=Re.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(w=>{w instanceof Hr?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=w.navigationTrigger,this.restoredId=w.restoredState?w.restoredState.navigationId:0):w instanceof Ci&&(this.lastId=w.id,this.scheduleScrollEvent(w,this.urlSerializer.parse(w.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(w=>{w instanceof en&&(w.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(w.position):w.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(w.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(w,Z){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new en(w,"popstate"===this.lastSource?this.store[this.restoredId]:null,Z))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return P.\u0275fac=function(w){t.$Z()},P.\u0275prov=t.Yz7({token:P,factory:P.\u0275fac}),P})();function $s(P,F){return{\u0275kind:P,\u0275providers:F}}function Sa(){const P=(0,t.f3M)(t.zs3);return F=>{const w=P.get(t.z2F);if(F!==w.components[0])return;const Z=P.get(Ji),de=P.get(La);1===P.get(al)&&Z.initialNavigation(),P.get(ll,null,t.XFs.Optional)?.setUpPreloading(),P.get(ol,null,t.XFs.Optional)?.init(),Z.resetRootComponentType(w.componentTypes[0]),de.closed||(de.next(),de.unsubscribe())}}const La=new t.OlP("",{factory:()=>new O.x}),al=new t.OlP("",{providedIn:"root",factory:()=>1});const ll=new t.OlP("");function El(P){return $s(0,[{provide:ll,useExisting:Ca},{provide:io,useExisting:P}])}const qo=new t.OlP("ROUTER_FORROOT_GUARD"),Ya=[X.Ye,{provide:Tr,useClass:_t},{provide:Ji,useFactory:aa},at,{provide:Si,useFactory:function oo(P){return P.routerState.root},deps:[Ji]},K,[]];function wo(){return new t.PXZ("Router",Ji)}let Is=(()=>{class P{constructor(w){}static forRoot(w,Z){return{ngModule:P,providers:[Ya,[],{provide:G,multi:!0,useValue:w},{provide:qo,useFactory:Yo,deps:[[Ji,new t.FiY,new t.tp0]]},{provide:jo,useValue:Z||{}},Z?.useHash?{provide:X.S$,useClass:X.Do}:{provide:X.S$,useClass:X.b0},{provide:ol,useFactory:()=>{const P=(0,t.f3M)(X.EM),F=(0,t.f3M)(t.R0b),w=(0,t.f3M)(jo),Z=(0,t.f3M)(Mn),de=(0,t.f3M)(Tr);return w.scrollOffset&&P.setOffset(w.scrollOffset),new so(de,Z,P,F,w)}},Z?.preloadingStrategy?El(Z.preloadingStrategy).\u0275providers:[],{provide:t.PXZ,multi:!0,useFactory:wo},Z?.initialNavigation?bi(Z):[],[{provide:Rl,useFactory:Sa},{provide:t.tb,multi:!0,useExisting:Rl}]]}}static forChild(w){return{ngModule:P,providers:[{provide:G,multi:!0,useValue:w}]}}}return P.\u0275fac=function(w){return new(w||P)(t.LFG(qo,8))},P.\u0275mod=t.oAB({type:P}),P.\u0275inj=t.cJS({imports:[Rn]}),P})();function Yo(P){return"guarded"}function bi(P){return["disabled"===P.initialNavigation?$s(3,[{provide:t.ip1,multi:!0,useFactory:()=>{const F=(0,t.f3M)(Ji);return()=>{F.setUpLocationChangeListener()}}},{provide:al,useValue:2}]).\u0275providers:[],"enabledBlocking"===P.initialNavigation?$s(2,[{provide:al,useValue:0},{provide:t.ip1,multi:!0,deps:[t.zs3],useFactory:F=>{const w=F.get(X.V_,Promise.resolve());return()=>w.then(()=>new Promise(de=>{const Ae=F.get(Ji),Re=F.get(La);(function Z(de){F.get(Ji).events.pipe((0,He.h)(Re=>Re instanceof Ci||Re instanceof gr||Re instanceof Di),(0,J.U)(Re=>Re instanceof Ci||Re instanceof gr&&(0===Re.code||1===Re.code)&&null),(0,He.h)(Re=>
1null!==Re),(0,me.q)(1)).subscribe(()=>{de()})})(()=>{de(!0)}),Ae.afterPreactivation=()=>(de(!0),Re.closed?(0,_.of)(void 0):Re),Ae.initialNavigation()}))}}]).\u0275providers:[]]}const Rl=new t.OlP("")},3942:(s,a,l)=>{"use strict";l.d(a,{Z:()=>V});var t=l(2090),f=l(4859),_=l(9681),S=l(1877);class D{constructor(N,O){this._delegate=N,this.firebase=O,(0,_._addComponent)(N,new f.wA("app-compat",()=>this,"PUBLIC")),this.container=N.container}get automaticDataCollectionEnabled(){return this._delegate.automaticDataCollectionEnabled}set automaticDataCollectionEnabled(N){this._delegate.automaticDataCollectionEnabled=N}get name(){return this._delegate.name}get options(){return this._delegate.options}delete(){return new Promise(N=>{this._delegate.checkDestroyed(),N()}).then(()=>(this.firebase.INTERNAL.removeApp(this.name),(0,_.deleteApp)(this._delegate)))}_getService(N,O=_._DEFAULT_ENTRY_NAME){var X;this._delegate.checkDestroyed();const J=this._delegate.container.getProvider(N);return!J.isInitialized()&&"EXPLICIT"===(null===(X=J.getComponent())||void 0===X?void 0:X.instantiationMode)&&J.initialize(),J.getImmediate({identifier:O})}_removeServiceInstance(N,O=_._DEFAULT_ENTRY_NAME){this._delegate.container.getProvider(N).clearInstance(O)}_addComponent(N){(0,_._addComponent)(this._delegate,N)}_addOrOverwriteComponent(N){(0,_._addOrOverwriteComponent)(this._delegate,N)}toJSON(){return{name:this.name,automaticDataCollectionEnabled:this.automaticDataCollectionEnabled,options:this.options}}}const k=new t.LL("app-compat","Firebase",{"no-app":"No Firebase App '{$appName}' has been created - call Firebase App.initializeApp()","invalid-app-argument":"firebase.{$appName}() takes either no argument or a Firebase App instance."}),I=function te(){const Y=function U(Y){const N={},O={__esModule:!0,initializeApp:function pe(xe,Ne={}){const ze=_.initializeApp(xe,Ne);if((0,t.r3)(N,ze.name))return N[ze.name];const ke=new Y(ze,O);return N[ze.name]=ke,ke},app:J,registerVersion:_.registerVersion,setLogLevel:_.setLogLevel,onLog:_.onLog,apps:null,SDK_VERSION:_.SDK_VERSION,INTERNAL:{registerComponent:function Fe(xe){const Ne=xe.name,ze=Ne.replace("-compat","");if(_._registerComponent(xe)&&"PUBLIC"===xe.type){const ke=(De=J())=>{if("function"!=typeof De[ze])throw k.create("invalid-app-argument",{appName:Ne});return De[ze]()};void 0!==xe.serviceProps&&(0,t.ZB)(ke,xe.serviceProps),O[ze]=ke,Y.prototype[ze]=function(...De){return this._getService.bind(this,Ne).apply(this,xe.multipleInstances?De:[])}}return"PUBLIC"===xe.type?O[ze]:null},removeApp:function X(xe){delete N[xe]},useAsService:function He(xe,Ne){return"serverAuth"===Ne?null:Ne},modularAPIs:_}};function J(xe){if(!(0,t.r3)(N,xe=xe||_._DEFAULT_ENTRY_NAME))throw k.create("no-app",{appName:xe});return N[xe]}return O.default=O,Object.defineProperty(O,"apps",{get:function me(){return Object.keys(N).map(xe=>N[xe])}}),J.App=Y,O}(D);return Y.INTERNAL=Object.assign(Object.assign({},Y.INTERNAL),{createFirebaseNamespace:te,extendNamespace:function N(O){(0,t.ZB)(Y,O)},createSubscribe:t.ne,ErrorFactory:t.LL,deepExtend:t.ZB}),Y}(),z=new S.Yd("@firebase/app-compat");if((0,t.jU)()&&void 0!==self.firebase){z.warn("\n    Warning: Firebase is already defined in the global scope. Please make sure\n    Firebase library is only loaded once.\n  ");const Y=self.firebase.SDK_VERSION;Y&&Y.indexOf("LITE")>=0&&z.warn("\n    Warning: You are trying to load Firebase while using Firebase Performance standalone script.\n    You should load Firebase Performance with this instance of Firebase to avoid loading duplicate code.\n    ")}const V=I;!function ae(Y){(0,_.registerVersion)("@firebase/app-compat","0.2.3",Y)}()},9681:(s,a,l)=>{"use strict";l.r(a),l.d(a,{FirebaseError:()=>S.ZR,SDK_VERSION:()=>un,_DEFAULT_ENTRY_NAME:()=>jt,_addComponent:()=>dn,_addOrOverwriteComponent:()=>rn,_apps:()=>Ut,_clearComponents:()=>_n,_components:()=>Et,_getProvider:()=>Xt,_registerComponent:()=>gn,_removeServiceInstance:()=>Er,deleteApp:()=>Wn,getApp:()=>nr,getApps:()=>$n,initializeApp:()=>dr,onLog:()=>fn,registerVersion:()=>tr,setLogLevel:()=>cn});var t=l(5861),f=l(4859),_=l(1877),S=l(2090),D=l(8766);class M{constructor(yt){this.container=yt}getPlatformInfoString(){return this.container.getProviders().map(ot=>{if(function k(Nt){return"VERSION"===Nt.getComponent()?.type}(ot)){const Ue=ot.getImmediate();return`${Ue.library}/${Ue.version}`}return null}).filter(ot=>ot).join(" ")}}const U="@firebase/app",I=new _.Yd("@firebase/app"),jt="[DEFAULT]",Wt={[U]:"fire-core","@firebase/app-compat":"fire-core-compat","@firebase/analytics":"fire-analytics","@firebase/analytics-compat":"fire-analytics-compat","@firebase/app-check":"fire-app-check","@firebase/app-check-compat":"fire-app-check-compat","@firebase/auth":"fire-auth","@firebase/auth-compat":"fire-auth-compat","@firebase/database":"fire-rtdb","@firebase/database-compat":"fire-rtdb-compat","@firebase/functions":"fire-fn","@firebase/functions-compat":"fire-fn-compat","@firebase/installations":"fire-iid","@firebase/installations-compat":"fire-iid-compat","@firebase/messaging":"fire-fcm","@firebase/messaging-compat":"fire-fcm-compat","@firebase/performance":"fire-perf","@firebase/performance-compat":"fire-perf-compat","@firebase/remote-config":"fire-rc","@firebase/remote-config-compat":"fire-rc-compat","@firebase/storage":"fire-gcs","@firebase/storage-compat":"fire-gcs-compat","@firebase/firestore":"fire-fst","@firebase/firestore-compat":"fire-fst-compat","fire-js":"fire-js",firebase:"fire-js-all"},Ut=new Map,Et=new Map;function dn(Nt,yt){try{Nt.container.addComponent(yt)}catch(ot){I.debug(`Component ${yt.name} failed to register with FirebaseApp ${Nt.name}`,ot)}}function rn(Nt,yt){Nt.container.addOrOverwriteComponent(yt)}function gn(Nt){const yt=Nt.name;if(Et.has(yt))return I.debug(`There were multiple attempts to register component ${yt}.`),!1;Et.set(yt,Nt);for(const ot of Ut.values())dn(ot,Nt);return!0}function Xt(Nt,yt){const ot=Nt.container.getProvider("heartbeat").getImmediate({optional:!0});return ot&&ot.triggerHeartbeat(),Nt.container.getProvider(yt)}function Er(Nt,yt,ot=jt){Xt(Nt,yt).clearInstance(ot)}function _n(){Et.clear()}const Bt=new S.LL("app","Firebase",{"no-app":"No Firebase App '{$appName}' has been created - call Firebase App.initializeApp()","bad-app-name":"Illegal App name: '{$appName}","duplicate-app":"Firebase App named '{$appName}' already exists with different options or config","app-deleted":"Firebase App named '{$appName}' already deleted","no-options":"Need to provide options, when not being deployed to hosting via source.","invali
1d-app-argument":"firebase.{$appName}() takes either no argument or a Firebase App instance.","invalid-log-argument":"First argument to `onLog` must be null or a function.","idb-open":"Error thrown when opening IndexedDB. Original error: {$originalErrorMessage}.","idb-get":"Error thrown when reading from IndexedDB. Original error: {$originalErrorMessage}.","idb-set":"Error thrown when writing to IndexedDB. Original error: {$originalErrorMessage}.","idb-delete":"Error thrown when deleting from IndexedDB. Original error: {$originalErrorMessage}."});class Hn{constructor(yt,ot,Ue){this._isDeleted=!1,this._options=Object.assign({},yt),this._config=Object.assign({},ot),this._name=ot.name,this._automaticDataCollectionEnabled=ot.automaticDataCollectionEnabled,this._container=Ue,this.container.addComponent(new f.wA("app",()=>this,"PUBLIC"))}get automaticDataCollectionEnabled(){return this.checkDestroyed(),this._automaticDataCollectionEnabled}set automaticDataCollectionEnabled(yt){this.checkDestroyed(),this._automaticDataCollectionEnabled=yt}get name(){return this.checkDestroyed(),this._name}get options(){return this.checkDestroyed(),this._options}get config(){return this.checkDestroyed(),this._config}get container(){return this._container}get isDeleted(){return this._isDeleted}set isDeleted(yt){this._isDeleted=yt}checkDestroyed(){if(this.isDeleted)throw Bt.create("app-deleted",{appName:this._name})}}const un="9.17.1";function dr(Nt,yt={}){let ot=Nt;"object"!=typeof yt&&(yt={name:yt});const Ue=Object.assign({name:jt,automaticDataCollectionEnabled:!1},yt),Ye=Ue.name;if("string"!=typeof Ye||!Ye)throw Bt.create("bad-app-name",{appName:String(Ye)});if(ot||(ot=(0,S.aH)()),!ot)throw Bt.create("no-options");const St=Ut.get(Ye);if(St){if((0,S.vZ)(ot,St.options)&&(0,S.vZ)(Ue,St.config))return St;throw Bt.create("duplicate-app",{appName:Ye})}const Oe=new f.H0(Ye);for(const Qe of Et.values())Oe.addComponent(Qe);const Ge=new Hn(ot,Ue,Oe);return Ut.set(Ye,Ge),Ge}function nr(Nt=jt){const yt=Ut.get(Nt);if(!yt&&Nt===jt)return dr();if(!yt)throw Bt.create("no-app",{appName:Nt});return yt}function $n(){return Array.from(Ut.values())}function Wn(Nt){return Sn.apply(this,arguments)}function Sn(){return(Sn=(0,t.Z)(function*(Nt){const yt=Nt.name;Ut.has(yt)&&(Ut.delete(yt),yield Promise.all(Nt.container.getProviders().map(ot=>ot.delete())),Nt.isDeleted=!0)})).apply(this,arguments)}function tr(Nt,yt,ot){var Ue;let Ye=null!==(Ue=Wt[Nt])&&void 0!==Ue?Ue:Nt;ot&&(Ye+=`-${ot}`);const St=Ye.match(/\s|\//),Oe=yt.match(/\s|\//);if(St||Oe){const Ge=[`Unable to register library "${Ye}" with version "${yt}":`];return St&&Ge.push(`library name "${Ye}" contains illegal characters (whitespace or "/")`),St&&Oe&&Ge.push("and"),Oe&&Ge.push(`version name "${yt}" contains illegal characters (whitespace or "/")`),void I.warn(Ge.join(" "))}gn(new f.wA(`${Ye}-version`,()=>({library:Ye,version:yt}),"VERSION"))}function fn(Nt,yt){if(null!==Nt&&"function"!=typeof Nt)throw Bt.create("invalid-log-argument");(0,_.Am)(Nt,yt)}function cn(Nt){(0,_.Ub)(Nt)}const hr="firebase-heartbeat-store";let Dr=null;function mn(){return Dr||(Dr=(0,D.X3)("firebase-heartbeat-database",1,{upgrade:(Nt,yt)=>{0===yt&&Nt.createObjectStore(hr)}}).catch(Nt=>{throw Bt.create("idb-open",{originalErrorMessage:Nt.message})})),Dr}function Gt(){return(Gt=(0,t.Z)(function*(Nt){try{return(yield mn()).transaction(hr).objectStore(hr).get(yr(Nt))}catch(yt){if(yt instanceof S.ZR)I.warn(yt.message);else{const ot=Bt.create("idb-get",{originalErrorMessage:yt?.message});I.warn(ot.message)}}})).apply(this,arguments)}function Tn(Nt,yt){return Br.apply(this,arguments)}function Br(){return(Br=(0,t.Z)(function*(Nt,yt){try{const Ue=(yield mn()).transaction(hr,"readwrite");return yield Ue.objectStore(hr).put(yt,yr(Nt)),Ue.done}catch(ot){if(ot instanceof S.ZR)I.warn(ot.message);else{const Ue=Bt.create("idb-set",{originalErrorMessage:ot?.message});I.warn(Ue.message)}}})).apply(this,arguments)}function yr(Nt){return`${Nt.name}!${Nt.options.appId}`}class Tr{constructor(yt){this.container=yt,this._heartbeatsCache=null;const ot=this.container.getProvider("app").getImmediate();this._storage=new Tt(ot),this._heartbeatsCachePromise=this._storage.read().then(Ue=>(this._heartbeatsCache=Ue,Ue))}triggerHeartbeat(){var yt=this;return(0,t.Z)(function*(){const Ue=yt.container.getProvider("platform-logger").getImmediate().getPlatformInfoString(),Ye=_t();if(null===yt._heartbeatsCache&&(yt._heartbeatsCache=yield yt._heartbeatsCachePromise),yt._heartbeatsCache.lastSentHeartbeatDate!==Ye&&!yt._heartbeatsCache.heartbeats.some(St=>St.date===Ye))return yt._heartbeatsCache.heartbeats.push({date:Ye,agent:Ue}),yt._heartbeatsCache.heartbeats=yt._heartbeatsCache.heartbeats.filter(St=>{const Oe=new Date(St.date).valueOf();return Date.now()-Oe<=2592e6}),yt._storage.overwrite(yt._heartbeatsCache)})()}getHeartbeatsHeader(){var yt=this;return(0,t.Z)(function*(){if(null===yt._heartbeatsCache&&(yield yt._heartbeatsCachePromise),null===yt._heartbeatsCache||0===yt._heartbeatsCache.heartbeats.length)return"";const ot=_t(),{heartbeatsToSend:Ue,unsentEntries:Ye}=function Vt(Nt,yt=1024){const ot=[];let Ue=Nt.slice();for(const Ye of Nt){const St=ot.find(Oe=>Oe.agent===Ye.agent);if(St){if(St.dates.push(Ye.date),qt(ot)>yt){St.dates.pop();break}}else if(ot.push({agent:Ye.agent,dates:[Ye.date]}),qt(ot)>yt){ot.pop();break}Ue=Ue.slice(1)}return{heartbeatsToSend:ot,unsentEntries:Ue}}(yt._heartbeatsCache.heartbeats),St=(0,S.L)(JSON.stringify({version:2,heartbeats:Ue}));return yt._heartbeatsCache.lastSentHeartbeatDate=ot,Ye.length>0?(yt._heartbeatsCache.heartbeats=Ye,yield yt._storage.overwrite(yt._heartbeatsCache)):(yt._heartbeatsCache.heartbeats=[],yt._storage.overwrite(yt._heartbeatsCache)),St})()}}function _t(){return(new Date).toISOString().substring(0,10)}class Tt{constructor(yt){this.app=yt,this._canUseIndexedDBPromise=this.runIndexedDBEnvironmentCheck()}runIndexedDBEnvironmentCheck(){return(0,t.Z)(function*(){return!!(0,S.hl)()&&(0,S.eu)().then(()=>!0).catch(()=>!1)})()}read(){var yt=this;return(0,t.Z)(function*(){return(yield yt._canUseIndexedDBPromise)&&(yield function bn(Nt){return Gt.apply(this,arguments)}
1(yt.app))||{heartbeats:[]}})()}overwrite(yt){var ot=this;return(0,t.Z)(function*(){var Ue;if(yield ot._canUseIndexedDBPromise){const St=yield ot.read();return Tn(ot.app,{lastSentHeartbeatDate:null!==(Ue=yt.lastSentHeartbeatDate)&&void 0!==Ue?Ue:St.lastSentHeartbeatDate,heartbeats:yt.heartbeats})}})()}add(yt){var ot=this;return(0,t.Z)(function*(){var Ue;if(yield ot._canUseIndexedDBPromise){const St=yield ot.read();return Tn(ot.app,{lastSentHeartbeatDate:null!==(Ue=yt.lastSentHeartbeatDate)&&void 0!==Ue?Ue:St.lastSentHeartbeatDate,heartbeats:[...St.heartbeats,...yt.heartbeats]})}})()}}function qt(Nt){return(0,S.L)(JSON.stringify({version:2,heartbeats:Nt})).length}!function sn(Nt){gn(new f.wA("platform-logger",yt=>new M(yt),"PRIVATE")),gn(new f.wA("heartbeat",yt=>new Tr(yt),"PRIVATE")),tr(U,"0.9.3",Nt),tr(U,"0.9.3","esm2017"),tr("fire-js","")}("")},4859:(s,a,l)=>{"use strict";l.d(a,{H0:()=>U,wA:()=>_});var t=l(5861),f=l(2090);class _{constructor(I,z,H){this.name=I,this.instanceFactory=z,this.type=H,this.multipleInstances=!1,this.serviceProps={},this.instantiationMode="LAZY",this.onInstanceCreated=null}setInstantiationMode(I){return this.instantiationMode=I,this}setMultipleInstances(I){return this.multipleInstances=I,this}setServiceProps(I){return this.serviceProps=I,this}setInstanceCreatedCallback(I){return this.onInstanceCreated=I,this}}const S="[DEFAULT]";class D{constructor(I,z){this.name=I,this.container=z,this.component=null,this.instances=new Map,this.instancesDeferred=new Map,this.instancesOptions=new Map,this.onInitCallbacks=new Map}get(I){const z=this.normalizeInstanceIdentifier(I);if(!this.instancesDeferred.has(z)){const H=new f.BH;if(this.instancesDeferred.set(z,H),this.isInitialized(z)||this.shouldAutoInitialize())try{const ee=this.getOrInitializeService({instanceIdentifier:z});ee&&H.resolve(ee)}catch{}}return this.instancesDeferred.get(z).promise}getImmediate(I){var z;const H=this.normalizeInstanceIdentifier(I?.identifier),ee=null!==(z=I?.optional)&&void 0!==z&&z;if(!this.isInitialized(H)&&!this.shouldAutoInitialize()){if(ee)return null;throw Error(`Service ${this.name} is not available`)}try{return this.getOrInitializeService({instanceIdentifier:H})}catch(ae){if(ee)return null;throw ae}}getComponent(){return this.component}setComponent(I){if(I.name!==this.name)throw Error(`Mismatching Component ${I.name} for Provider ${this.name}.`);if(this.component)throw Error(`Component for ${this.name} has already been provided`);if(this.component=I,this.shouldAutoInitialize()){if(function k(te){return"EAGER"===te.instantiationMode}(I))try{this.getOrInitializeService({instanceIdentifier:S})}catch{}for(const[z,H]of this.instancesDeferred.entries()){const ee=this.normalizeInstanceIdentifier(z);try{const ae=this.getOrInitializeService({instanceIdentifier:ee});H.resolve(ae)}catch{}}}}clearInstance(I=S){this.instancesDeferred.delete(I),this.instancesOptions.delete(I),this.instances.delete(I)}delete(){var I=this;return(0,t.Z)(function*(){const z=Array.from(I.instances.values());yield Promise.all([...z.filter(H=>"INTERNAL"in H).map(H=>H.INTERNAL.delete()),...z.filter(H=>"_delete"in H).map(H=>H._delete())])})()}isComponentSet(){return null!=this.component}isInitialized(I=S){return this.instances.has(I)}getOptions(I=S){return this.instancesOptions.get(I)||{}}initialize(I={}){const{options:z={}}=I,H=this.normalizeInstanceIdentifier(I.instanceIdentifier);if(this.isInitialized(H))throw Error(`${this.name}(${H}) has already been initialized`);if(!this.isComponentSet())throw Error(`Component ${this.name} has not been registered yet`);const ee=this.getOrInitializeService({instanceIdentifier:H,options:z});for(const[ae,V]of this.instancesDeferred.entries())H===this.normalizeInstanceIdentifier(ae)&&V.resolve(ee);return ee}onInit(I,z){var H;const ee=this.normalizeInstanceIdentifier(z),ae=null!==(H=this.onInitCallbacks.get(ee))&&void 0!==H?H:new Set;ae.add(I),this.onInitCallbacks.set(ee,ae);const V=this.instances.get(ee);return V&&I(V,ee),()=>{ae.delete(I)}}invokeOnInitCallbacks(I,z){const H=this.onInitCallbacks.get(z);if(H)for(const ee of H)try{ee(I,z)}catch{}}getOrInitializeService({instanceIdentifier:I,options:z={}}){let H=this.instances.get(I);if(!H&&this.component&&(H=this.component.instanceFactory(this.container,{instanceIdentifier:(te=I,te===S?void 0:te),options:z}),this.instances.set(I,H),this.instancesOptions.set(I,z),this.invokeOnInitCallbacks(H,I),this.component.onInstanceCreated))try{this.component.onInstanceCreated(this.container,I,H)}catch{}var te;return H||null}normalizeInstanceIdentifier(I=S){return this.component?this.component.multipleInstances?I:S:I}shouldAutoInitialize(){return!!this.component&&"EXPLICIT"!==this.component.instantiationMode}}class U{constructor(I){this.name=I,this.providers=new Map}addComponent(I){const z=this.getProvider(I.name);if(z.isComponentSet())throw new Error(`Component ${I.name} has already been registered with ${this.name}`);z.setComponent(I)}addOrOverwriteComponent(I){this.getProvider(I.name).isComponentSet()&&this.providers.delete(I.name),this.addComponent(I)}getProvider(I){if(this.providers.has(I))return this.providers.get(I);const z=new D(I,this);return this.providers.set(I,z),z}getProviders(){return Array.from(this.providers.values())}}},1877:(s,a,l)=>{"use strict";l.d(a,{Am:()=>te,Ub:()=>U,Yd:()=>k,in:()=>f});const t=[];var f=(()=>{return(I=f||(f={}))[I.DEBUG=0]="DEBUG",I[I.VERBOSE=1]="VERBOSE",I[I.INFO=2]="INFO",I[I.WARN=3]="WARN",I[I.ERROR=4]="ERROR",I[I.SILENT=5]="SILENT",f;var I})();const _={debug:f.DEBUG,verbose:f.VERBOSE,info:f.INFO,warn:f.WARN,error:f.ERROR,silent:f.SILENT},S=f.INFO,D={[f.DEBUG]:"log",[f.VERBOSE]:"log",[f.INFO]:"info",[f.WARN]:"warn",[f.ERROR]:"error"},M=(I,z,...H)=>
1{if(z<I.logLevel)return;const ee=(new Date).toISOString(),ae=D[z];if(!ae)throw new Error(`Attempted to log a message with an invalid logType (value: ${z})`);console[ae](`[${ee}]  ${I.name}:`,...H)};class k{constructor(z){this.name=z,this._logLevel=S,this._logHandler=M,this._userLogHandler=null,t.push(this)}get logLevel(){return this._logLevel}set logLevel(z){if(!(z in f))throw new TypeError(`Invalid value "${z}" assigned to \`logLevel\``);this._logLevel=z}setLogLevel(z){this._logLevel="string"==typeof z?_[z]:z}get logHandler(){return this._logHandler}set logHandler(z){if("function"!=typeof z)throw new TypeError("Value assigned to `logHandler` must be a function");this._logHandler=z}get userLogHandler(){return this._userLogHandler}set userLogHandler(z){this._userLogHandler=z}debug(...z){this._userLogHandler&&this._userLogHandler(this,f.DEBUG,...z),this._logHandler(this,f.DEBUG,...z)}log(...z){this._userLogHandler&&this._userLogHandler(this,f.VERBOSE,...z),this._logHandler(this,f.VERBOSE,...z)}info(...z){this._userLogHandler&&this._userLogHandler(this,f.INFO,...z),this._logHandler(this,f.INFO,...z)}warn(...z){this._userLogHandler&&this._userLogHandler(this,f.WARN,...z),this._logHandler(this,f.WARN,...z)}error(...z){this._userLogHandler&&this._userLogHandler(this,f.ERROR,...z),this._logHandler(this,f.ERROR,...z)}}function U(I){t.forEach(z=>{z.setLogLevel(I)})}function te(I,z){for(const H of t){let ee=null;z&&z.level&&(ee=_[z.level]),H.userLogHandler=null===I?null:(ae,V,...Y)=>{const N=Y.map(O=>{if(null==O)return null;if("string"==typeof O)return O;if("number"==typeof O||"boolean"==typeof O)return O.toString();if(O instanceof Error)return O.message;try{return JSON.stringify(O)}catch{return null}}).filter(O=>O).join(" ");V>=(ee??ae.logLevel)&&I({level:f[V].toLowerCase(),message:N,args:Y,type:ae.name})}}}},8535:(s,a,l)=>{"use strict";l.d(a,{gY:()=>ks,Gs:()=>Ca,Kz:()=>Xu,uo:()=>rs,mH:()=>Ro,jt:()=>Jo,TH:()=>Ha,Vi:()=>Ja,XC:()=>_c,iD:()=>ko,FF:()=>tf,IJ:()=>gf,Oz:()=>Hl,M2:()=>Dl,Gk:()=>ka,gW:()=>No,Cu:()=>Wo,I_:()=>io,o8:()=>yd,dT:()=>ua,xl:()=>al,_L:()=>th,HK:()=>Mc});var t=l(4650),f=l(9751),_=l(515),S=l(9646),D=l(7579),M=l(4968),k=l(2805),U=l(8421);const{isArray:te}=Array;function I(p){return 1===p.length&&te(p[0])?p[0]:p}var z=l(5403);function H(...p){return 1===(p=I(p)).length?(0,U.Xf)(p[0]):new f.y(function ee(p){return T=>{let c=[];for(let v=0;c&&!T.closed&&v<p.length;v++)c.push((0,U.Xf)(p[v]).subscribe((0,z.x)(T,x=>{if(c){for(let ie=0;ie<c.length;ie++)ie!==v&&c[ie].unsubscribe();c=null}T.next(x)})))}}(p))}var ae=l(1135),V=l(9841),Y=l(1848),N=l(3269);function O(...p){const T=(0,N.jO)(p),c=I(p);return c.length?new f.y(v=>{let x=c.map(()=>[]),ie=c.map(()=>!1);v.add(()=>{x=ie=null});for(let $e=0;!v.closed&&$e<c.length;$e++)(0,U.Xf)(c[$e]).subscribe((0,z.x)(v,nt=>{if(x[$e].push(nt),x.every(ct=>ct.length)){const ct=x.map(It=>It.shift());v.next(T?T(...ct):ct),x.some((It,kt)=>!It.length&&ie[kt])&&v.complete()}},()=>{ie[$e]=!0,!x[$e].length&&v.complete()}));return()=>{x=ie=null}}):_.E}var X=l(6451),J=l(7272),me=l(3085),Fe=l(9300),He=l(5698),xe=l(4004),Ne=l(8675),ze=l(1884),ke=l(3900),De=l(8505),Ce=l(1365),oe=l(4986),he=l(8502),be=l(9718),tt=l(5577);function st(p,T){return T?c=>(0,J.z)(T.pipe((0,He.q)(1),(0,he.l)()),c.pipe(st(p))):(0,tt.z)((c,v)=>p(c,v).pipe((0,He.q)(1),(0,be.h)(c)))}function jt(p,T=oe.z){const c=(0,k.H)(p,T);return st(()=>c)}var Wt=l(5684),Ut=l(3099),Et=l(6895),dn=l(4006),rn={left:"right",right:"left",bottom:"top",top:"bottom"};function gn(p){return p.replace(/left|right|bottom|top/g,function(T){return rn[T]})}function Xt(p){return p.split("-")[0]}var Er={start:"end",end:"start"};function _n(p){return p.replace(/start|end/g,function(T){return Er[T]})}var Nn="top",Bt="bottom",Hn="right",un="left",dr="auto",nr=[Nn,Bt,Hn,un],$n="start",Wn="end",tr="viewport",fn="popper",Fn=nr.reduce(function(p,T){return p.concat([T+"-"+$n,T+"-"+Wn])},[]),Ln=[].concat(nr,[dr]).reduce(function(p,T){return p.concat([T,T+"-"+$n,T+"-"+Wn])},[]),Vr=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function Tr(p){if(null==p)return window;if("[object Window]"!==p.toString()){var T=p.ownerDocument;return T&&T.defaultView||window}return p}
vendor: 1,751 bytes, line 1
1function _t(p){return p instanceof Tr(p).Element||p instanceof Element}function Vt(p){return p instanceof Tr(p).HTMLElement||p instanceof HTMLElement}function Tt(p){return!(typeof ShadowRoot>"u")&&(p instanceof Tr(p).ShadowRoot||p instanceof ShadowRoot)}function qt(p){return((_t(p)?p.ownerDocument:p.document)||window.document).documentElement}var sn=Math.max,Nt=Math.min,yt=Math.round;function ot(){var p=navigator.userAgentData;return null!=p&&p.brands?p.brands.map(function(T){return T.brand+"/"+T.version}).join(" "):navigator.userAgent}function Ue(){return!/^((?!chrome|android).)*safari/i.test(ot())}function Ye(p,T,c){void 0===T&&(T=!1),void 0===c&&(c=!1);var v=p.getBoundingClientRect(),x=1,ie=1;T&&Vt(p)&&(x=p.offsetWidth>0&&yt(v.width)/p.offsetWidth||1,ie=p.offsetHeight>0&&yt(v.height)/p.offsetHeight||1);var nt=(_t(p)?Tr(p):window).visualViewport,ct=!Ue()&&c,It=(v.left+(ct&&nt?nt.offsetLeft:0))/x,kt=(v.top+(ct&&nt?nt.offsetTop:0))/ie,Dn=v.width/x,yn=v.height/ie;return{width:Dn,height:yn,top:kt,right:It+Dn,bottom:kt+yn,left:It,x:It,y:kt}}function St(p){var T=Tr(p);return{scrollLeft:T.pageXOffset,scrollTop:T.pageYOffset}}function Oe(p){return Ye(qt(p)).left+St(p).scrollLeft}function Qe(p){return Tr(p).getComputedStyle(p)}function it(p){return p?(p.nodeName||"").toLowerCase():null}function zt(p){return"html"===it(p)?p:p.assignedSlot||p.parentNode||(Tt(p)?p.host:null)||qt(p)}function Cn(p){var T=Qe(p);return/auto|scroll|overlay|hidden/.test(T.overflow+T.overflowY+T.overflowX)}function At(p){return["html","body","#document"].indexOf(it(p))>=0?p.ownerDocument.body:Vt(p)&&Cn(p)?p:At(zt(p))}function We(p,T){var c;void 0===T&&(T=[]);var v=At(p),x=v===(null==(c=p.ownerDocument)?void 0:c.body),ie=Tr(v),$e=x?[ie].concat(ie.visualVie
vendor: 2,235 bytes, line 1
1wport||[],Cn(v)?v:[]):v,nt=T.concat($e);return x?nt:nt.concat(We(zt($e)))}function Ve(p){return["table","td","th"].indexOf(it(p))>=0}function B(p){return Vt(p)&&"fixed"!==Qe(p).position?p.offsetParent:null}function ve(p){for(var T=Tr(p),c=B(p);c&&Ve(c)&&"static"===Qe(c).position;)c=B(c);return c&&("html"===it(c)||"body"===it(c)&&"static"===Qe(c).position)?T:c||function ue(p){var T=/firefox/i.test(ot());if(/Trident/i.test(ot())&&Vt(p)&&"fixed"===Qe(p).position)return null;var x=zt(p);for(Tt(x)&&(x=x.host);Vt(x)&&["html","body"].indexOf(it(x))<0;){var ie=Qe(x);if("none"!==ie.transform||"none"!==ie.perspective||"paint"===ie.contain||-1!==["transform","perspective"].indexOf(ie.willChange)||T&&"filter"===ie.willChange||T&&ie.filter&&"none"!==ie.filter)return x;x=x.parentNode}return null}(p)||T}function Le(p,T){var c=T.getRootNode&&T.getRootNode();if(p.contains(T))return!0;if(c&&Tt(c)){var v=T;do{if(v&&p.isSameNode(v))return!0;v=v.parentNode||v.host}while(v)}return!1}function Je(p){return Object.assign({},p,{left:p.x,top:p.y,right:p.x+p.width,bottom:p.y+p.height})}function In(p,T,c){return T===tr?Je(function Ge(p,T){var c=Tr(p),v=qt(p),x=c.visualViewport,ie=v.clientWidth,$e=v.clientHeight,nt=0,ct=0;if(x){ie=x.width,$e=x.height;var It=Ue();(It||!It&&"fixed"===T)&&(nt=x.offsetLeft,ct=x.offsetTop)}return{width:ie,height:$e,x:nt+Oe(p),y:ct}}(p,c)):_t(T)?function Jt(p,T){var c=Ye(p,!1,"fixed"===T);return c.top=c.top+p.clientTop,c.left=c.left+p.clientLeft,c.bottom=c.top+p.clientHeight,c.right=c.left+p.clientWidth,c.width=p.clientWidth,c.height=p.clientHeight,c.x=c.left,c.y=c.top,c}(T,c):Je(function gt(p){var T,c=qt(p),v=St(p),x=null==(T=p.ownerDocument)?void 0:T.body,ie=sn(c.scrollWidth,c.clientWidth,x?x.scrollWidth:0,x?x.clientWidth:0),$e=sn(c.scrollHeight,c.clientHeight,x?x.scrollHeight:0,x?x.clientHeight:0),nt=-v.scrollLeft+Oe(p),ct=-v.scrollTop;return"rtl"===Qe(x||c).direction&&(nt+=sn(c.clientWidth,x?x.clientWidth:0)-ie),{width:ie,height:$e,x:nt,y:ct}}(qt(p)))}function Ir(p){return p.split("-")[1]}function Jn(p){return["top","bottom"].indexOf(p)>=0?"x":"y"}function ti(p){var ct,T=p.reference,c=p.element,v=p.placement,x=v?Xt(v):null,ie=v?Ir(v):null,$e=T.x+T.width/2-c.width/2,nt=T.y+T.height/2-c.height/2;
vendor: 1,858 bytes, line 1
1switch(x){case Nn:ct={x:$e,y:T.y-c.height};break;case Bt:ct={x:$e,y:T.y+T.height};break;case Hn:ct={x:T.x+T.width,y:nt};break;case un:ct={x:T.x-c.width,y:nt};break;default:ct={x:T.x,y:T.y}}var It=x?Jn(x):null;if(null!=It){var kt="y"===It?"height":"width";switch(ie){case $n:ct[It]=ct[It]-(T[kt]/2-c[kt]/2);break;case Wn:ct[It]=ct[It]+(T[kt]/2-c[kt]/2)}}return ct}function bs(p){return Object.assign({},{top:0,right:0,bottom:0,left:0},p)}function Ui(p,T){return T.reduce(function(c,v){return c[v]=p,c},{})}function Yi(p,T){void 0===T&&(T={});var v=T.placement,x=void 0===v?p.placement:v,ie=T.strategy,$e=void 0===ie?p.strategy:ie,nt=T.boundary,ct=void 0===nt?"clippingParents":nt,It=T.rootBoundary,kt=void 0===It?tr:It,Dn=T.elementContext,yn=void 0===Dn?fn:Dn,On=T.altBoundary,Jr=void 0!==On&&On,Ar=T.padding,Kr=void 0===Ar?0:Ar,Qr=bs("number"!=typeof Kr?Kr:Ui(Kr,nr)),Wi=p.rects.popper,Ei=p.elements[Jr?yn===fn?"reference":fn:yn],_i=function Zn(p,T,c,v){var x="clippingParents"===T?function er(p){var T=We(zt(p)),v=["absolute","fixed"].indexOf(Qe(p).position)>=0&&Vt(p)?ve(p):p;return _t(v)?T.filter(function(x){return _t(x)&&Le(x,v)&&"body"!==it(x)}):[]}(p):[].concat(T),ie=[].concat(x,[c]),nt=ie.reduce(function(ct,It){var kt=In(p,It,v);return ct.top=sn(kt.top,ct.top),ct.right=Nt(kt.right,ct.right),ct.bottom=Nt(kt.bottom,ct.bottom),ct.left=sn(kt.left,ct.left),ct},In(p,ie[0],v));return nt.width=nt.right-nt.left,nt.height=nt.bottom-nt.top,nt.x=nt.left,nt.y=nt.top,nt}(_t(Ei)?Ei:Ei.contextElement||qt(p.elements.popper),ct,kt,$e),fi=Ye(p.elements.reference),zi=ti({reference:fi,element:Wi,strategy:"absolute",placement:x}),Mi=Je(Object.assign({},Wi,zi)),qs=yn===fn?Mi:fi,Cs={top:_i.top-qs.top+Qr.top,bottom:qs.bottom-_i.bottom+Qr.bottom,left:_i.left-qs.left+Qr.left,right:qs.right-_i.right+Qr.right},Ss=p.modifiersData.offset;if(yn===fn&&Ss){var Fo=Ss[x];
vendor: 5,009 bytes, line 1
1Object.keys(Cs).forEach(function(xr){var jl=[Hn,Bt].indexOf(xr)>=0?1:-1,el=[Nn,Bt].indexOf(xr)>=0?"y":"x";Cs[xr]+=Fo[el]*jl})}return Cs}const Yr={name:"flip",enabled:!0,phase:"main",fn:function Ti(p){var T=p.state,c=p.options,v=p.name;if(!T.modifiersData[v]._skip){for(var x=c.mainAxis,ie=void 0===x||x,$e=c.altAxis,nt=void 0===$e||$e,ct=c.fallbackPlacements,It=c.padding,kt=c.boundary,Dn=c.rootBoundary,yn=c.altBoundary,On=c.flipVariations,Jr=void 0===On||On,Ar=c.allowedAutoPlacements,Kr=T.options.placement,Qr=Xt(Kr),Wi=ct||(Qr!==Kr&&Jr?function ni(p){if(Xt(p)===dr)return[];var T=gn(p);return[_n(p),T,_n(T)]}(Kr):[gn(Kr)]),Ei=[Kr].concat(Wi).reduce(function(Ao,tl){return Ao.concat(Xt(tl)===dr?function Or(p,T){void 0===T&&(T={});var x=T.boundary,ie=T.rootBoundary,$e=T.padding,nt=T.flipVariations,ct=T.allowedAutoPlacements,It=void 0===ct?Ln:ct,kt=Ir(T.placement),Dn=kt?nt?Fn:Fn.filter(function(Jr){return Ir(Jr)===kt}):nr,yn=Dn.filter(function(Jr){return It.indexOf(Jr)>=0});0===yn.length&&(yn=Dn);var On=yn.reduce(function(Jr,Ar){return Jr[Ar]=Yi(p,{placement:Ar,boundary:x,rootBoundary:ie,padding:$e})[Xt(Ar)],Jr},{});return Object.keys(On).sort(function(Jr,Ar){return On[Jr]-On[Ar]})}(T,{placement:tl,boundary:kt,rootBoundary:Dn,padding:It,flipVariations:Jr,allowedAutoPlacements:Ar}):tl)},[]),_i=T.rects.reference,fi=T.rects.popper,zi=new Map,Mi=!0,qs=Ei[0],Cs=0;Cs<Ei.length;Cs++){var Ss=Ei[Cs],Fo=Xt(Ss),xr=Ir(Ss)===$n,jl=[Nn,Bt].indexOf(Fo)>=0,el=jl?"width":"height",ca=Yi(T,{placement:Ss,boundary:kt,rootBoundary:Dn,altBoundary:yn,padding:It}),_o=jl?xr?Hn:un:xr?Bt:Nn;_i[el]>fi[el]&&(_o=gn(_o));var Rc=gn(_o),Ml=[];if(ie&&Ml.push(ca[Fo]<=0),nt&&Ml.push(ca[_o]<=0,ca[Rc]<=0),Ml.every(function(Ao){return Ao})){qs=Ss,Mi=!1;break}zi.set(Ss,Ml)}if(Mi)for(var _u=function(tl){var yu=Ei.find(function(ta){var zl=zi.get(ta);if(zl)return zl.slice(0,tl).every(function(kc){return kc})});if(yu)return qs=yu,"break"},Wl=Jr?3:1;Wl>0&&"break"!==_u(Wl);Wl--);T.placement!==qs&&(T.modifiersData[v]._skip=!0,T.placement=qs,T.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function pi(p,T,c){return sn(p,Nt(T,c))}function qn(p){var T=Ye(p),c=p.offsetWidth,v=p.offsetHeight;return Math.abs(T.width-c)<=1&&(c=T.width),Math.abs(T.height-v)<=1&&(v=T.height),{x:p.offsetLeft,y:p.offsetTop,width:c,height:v}}const ci={name:"preventOverflow",enabled:!0,phase:"main",fn:function ai(p){var T=p.state,c=p.options,v=p.name,x=c.mainAxis,ie=void 0===x||x,$e=c.altAxis,nt=void 0!==$e&&$e,yn=c.tether,On=void 0===yn||yn,Jr=c.tetherOffset,Ar=void 0===Jr?0:Jr,Kr=Yi(T,{boundary:c.boundary,rootBoundary:c.rootBoundary,padding:c.padding,altBoundary:c.altBoundary}),Qr=Xt(T.placement),Rr=Ir(T.placement),Wi=!Rr,Ei=Jn(Qr),_i=function ri(p){return"x"===p?"y":"x"}(Ei),fi=T.modifiersData.popperOffsets,zi=T.rects.reference,Mi=T.rects.popper,qs="function"==typeof Ar?Ar(Object.assign({},T.rects,{placement:T.placement})):Ar,Cs="number"==typeof qs?{mainAxis:qs,altAxis:qs}:Object.assign({mainAxis:0,altAxis:0},qs),Ss=T.modifiersData.offset?T.modifiersData.offset[T.placement]:null,Fo={x:0,y:0};if(fi){if(ie){var xr,jl="y"===Ei?Nn:un,el="y"===Ei?Bt:Hn,ca="y"===Ei?"height":"width",_o=fi[Ei],Rc=_o+Kr[jl],Ml=_o-Kr[el],mu=On?-Mi[ca]/2:0,_u=Rr===$n?zi[ca]:Mi[ca],Wl=Rr===$n?-Mi[ca]:-zi[ca],vu=T.elements.arrow,Ao=On&&vu?qn(vu):{width:0,height:0},tl=T.modifiersData["arrow#persistent"]?T.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},yu=tl[jl],ta=tl[el],zl=pi(0,zi[ca],Ao[ca]),kc=Wi?zi[ca]/2-mu-zl-yu-Cs.mainAxis:_u-zl-yu-Cs.mainAxis,Bu=Wi?-zi[ca]/2+mu+zl+ta+Cs.mainAxis:Wl+zl+ta+Cs.mainAxis,wd=T.elements.arrow&&ve(T.elements.arrow),lh=null!=(xr=Ss?.[Ei])?xr:0,_f=_o+Bu-lh,bu=pi(On?Nt(Rc,_o+kc-lh-(wd?"y"===Ei?wd.clientTop||0:wd.clientLeft||0:0)):Rc,_o,On?sn(Ml,_f):Ml);fi[Ei]=bu,Fo[Ei]=bu-_o}if(nt){var rc,nl=fi[_i],Kl="y"===_i?"height":"width",Bc=nl+Kr["x"===Ei?Nn:un],ql=nl-Kr["x"===Ei?Bt:Hn],Yl=-1!==[Nn,un].indexOf(Qr),Ad=null!=(rc=Ss?.[_i])?rc:0,Vc=Yl?Bc:nl-zi[Kl]-Mi[Kl]-Ad+Cs.altAxis,uh=Yl?nl+zi[Kl]+Mi[Kl]-Ad-Cs.altAxis:ql,Dd=On&&Yl?function vn(p,T,c){var v=pi(p,T,c);return v>c?c:v}(Vc,nl,uh):pi(On?Vc:Bc,nl,On?uh:ql);fi[_i]=Dd,Fo[_i]=Dd-nl}T.modifiersData[v]=Fo}},requiresIfExists:["offset"]},gr={name:"arrow",enabled:!0,phase:"main",fn:function Hr(p){var T,c=p.state,v=p.name,x=p.options,ie=c.elements.arrow,$e=c.modifiersData.popperOffsets,nt=Xt(c.placement),ct=Jn(nt),kt=[un,Hn].indexOf(nt)>=0?"height":"width";if(ie&&$e){var Dn=function(T,c){return bs("number"!=typeof(T="function"==typeof T?T(Object.assign({},c.rects,{placement:c.placement})):T)?T:Ui(T,nr))}(x.padding,c),yn=qn(ie),On="y"===ct?Nn:un,Jr="y"===ct?Bt:Hn,Ar=c.rects.reference[kt]+c.rects.reference[ct]-$e[ct]-c.rects.popper[kt],Kr=$e[ct]-c.rects.reference[ct],Qr=ve(ie),Rr=Qr?"y"===ct?Qr.clientHeight||0:Qr.clientWidth||0:0,fi=Rr/2-yn[kt]/2+(Ar/2-Kr/2),zi=pi(Dn[On],fi,Rr-yn[kt]-Dn[Jr]);c.modifiersData[v]=((T={})[ct]=zi,T.centerOffset=zi-fi,T)}},effect:function Ci(p){var T=p.state,v=p.options.element,x=void 0===v?"[data-
1popper-arrow]":v;null!=x&&("string"==typeof x&&!(x=T.elements.popper.querySelector(x))||!Le(T.elements.popper,x)||(T.elements.arrow=x))},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Zi(p,T,c){void 0===c&&(c=!1);var v=Vt(T),x=Vt(T)&&function wn(p){var T=p.getBoundingClientRect(),c=yt(T.width)/p.offsetWidth||1,v=yt(T.height)/p.offsetHeight||1;return 1!==c||1!==v}(T),ie=qt(T),$e=Ye(p,x,c),nt={scrollLeft:0,scrollTop:0},ct={x:0,y:0};return(v||!v&&!c)&&(("body"!==it(T)||Cn(ie))&&(nt=function ki(p){return p!==Tr(p)&&Vt(p)?function Di(p){return{scrollLeft:p.scrollLeft,scrollTop:p.scrollTop}}(p):St(p)}(T)),Vt(T)?((ct=Ye(T,!0)).x+=T.clientLeft,ct.y+=T.clientTop):ie&&(ct.x=Oe(ie))),{x:$e.left+nt.scrollLeft-ct.x,y:$e.top+nt.scrollTop-ct.y,width:$e.width,height:$e.height}}function ss(p){var T=new Map,c=new Set,v=[];function x(ie){c.add(ie.name),[].concat(ie.requires||[],ie.requiresIfExists||[]).forEach(function(nt){if(!c.has(nt)){var ct=T.get(nt);ct&&x(ct)}}),v.push(ie)}return p.forEach(function(ie){T.set(ie.name,ie)}),p.forEach(function(ie){c.has(ie.name)||x(ie)}),v}function os(p){var T;return function(){return T||(T=new Promise(function(c){Promise.resolve().then(function(){T=void 0,c(p())})})),T}}var Dt={placement:"bottom",modifiers:[],strategy:"absolute"};function Ht(){for(var p=arguments.length,T=new Array(p),c=0;c<p;c++)T[c]=arguments[c];return!T.some(function(v){return!(v&&"function"==typeof v.getBoundingClientRect)})}function en(p){void 0===p&&(p={});var c=p.defaultModifiers,v=void 0===c?[]:c,x=p.defaultOptions,ie=void 0===x?Dt:x;return function(nt,ct,It){void 0===It&&(It=ie);var kt={placement:"bottom",orderedModifiers:[],options:Object.assign({},Dt,ie),modifiersData:{},elements:{reference:nt,popper:ct},attributes:{},styles:{}},Dn=[],yn=!1,On={state:kt,setOptions:function(Qr){var Rr="function"==typeof Qr?Qr(kt.options):Qr;Ar(),kt.options=Object.assign({},ie,kt.options,Rr),kt.scrollParents={reference:_t(nt)?We(nt):nt.contextElement?We(nt.contextElement):[],popper:We(ct)};var Wi=function Ms(p){var T=ss(p);return Vr.reduce(function(c,v){return c.concat(T.filter(function(x){return x.phase===v}))},[])}(function je(p){var T=p.reduce(function(c,v){var x=c[v.name];return c[v.name]=x?Object.assign({},x,v,{options:Object.assign({},x.options,v.options),data:Object.assign({},x.data,v.data)}):v,c},{});return Object.keys(T).map(function(c){return T[c]})}([].concat(v,kt.options.modifiers)));return kt.orderedModifiers=Wi.filter(function(Ss){return Ss.enabled}),function Jr(){kt.orderedModifiers.forEach(function(Kr){var Rr=Kr.options,Ei=Kr.effect;if("function"==typeof Ei){var _i=Ei({state:kt,name:Kr.name,instance:On,options:void 0===Rr?{}:Rr});Dn.push(_i||function(){})}})}(),On.update()},forceUpdate:function(){if(!yn){var Qr=kt.elements,Rr=Qr.reference,Wi=Qr.popper;if(Ht(Rr,Wi)){kt.rects={reference:Zi(Rr,ve(Wi),"fixed"===kt.options.strategy),popper:qn(Wi)},kt.reset=!1,kt.placement=kt.options.placement,kt.orderedModifiers.forEach(function(Ss){return kt.modifiersData[Ss.name]=Object.assign({},Ss.data)});for(var _i=0;_i<kt.orderedModifiers.length;_i++)if(!0!==kt.reset){var fi=kt.orderedModifiers[_i],zi=fi.fn,Mi=fi.options;"function"==typeof zi&&(kt=zi({state:kt,options:void 0===Mi?{}:Mi,name:fi.name,instance:On})||kt)}else kt.reset=!1,_i=-1}}},update:os(function(){return new Promise(function(Kr){On.forceUpdate(),Kr(kt)})}),destroy:function(){Ar(),yn=!0}};if(!Ht(nt,ct))return On;function Ar(){Dn.forEach(function(Kr){return Kr()}),Dn=[]}return On.setOptions(It).then(function(Kr){!yn&&It.onFirstUpdate&&It.onFirstUpdate(Kr)}),On}}var Pr={passive:!0},xi={top:"auto",right:"auto",bottom:"auto",left:"auto"};function yo(p){var T,c=p.popper,v=p.popperRect,x=p.placement,ie=p.variation,$e=p.offsets,nt=p.position,ct=p.gpuAcceleration,It=p.adaptive,kt=p.roundOffsets,Dn=p.isFixed,yn=$e.x,On=void 0===yn?0:yn,Jr=$e.y,Ar=void 0===Jr?0:Jr,Kr="function"==typeof kt?kt({x:On,y:Ar}):{x:On,y:Ar};On=Kr.x,Ar=Kr.y;var Qr=$e.hasOwnProperty("x"),Rr=$e.hasOwnProperty("y"),Wi=un,Ei=Nn,_i=window;if(It){var fi=ve(c),zi="clientHeight",Mi="clientWidth";fi===Tr(c)&&"static"!==Qe(fi=qt(c)).position&&"absolute"===nt&&(zi="scrollHeight",Mi="scrollWidth"),(x===Nn||(x===un||x===Hn)&&ie===Wn)&&(Ei=Bt,Ar-=(Dn&&fi===_i&&_i.visualVie
1wport?_i.visualViewport.height:fi[zi])-v.height,Ar*=ct?1:-1),x!==un&&(x!==Nn&&x!==Bt||ie!==Wn)||(Wi=Hn,On-=(Dn&&fi===_i&&_i.visualViewport?_i.visualViewport.width:fi[Mi])-v.width,On*=ct?1:-1)}var xr,Ss=Object.assign({position:nt},It&&xi),Fo=!0===kt?function li(p){var c=p.y,x=window.devicePixelRatio||1;return{x:yt(p.x*x)/x||0,y:yt(c*x)/x||0}}({x:On,y:Ar}):{x:On,y:Ar};return On=Fo.x,Ar=Fo.y,Object.assign({},Ss,ct?((xr={})[Ei]=Rr?"0":"",xr[Wi]=Qr?"0":"",xr.transform=(_i.devicePixelRatio||1)<=1?"translate("+On+"px, "+Ar+"px)":"translate3d("+On+"px, "+Ar+"px, 0)",xr):((T={})[Ei]=Rr?Ar+"px":"",T[Wi]=Qr?On+"px":"",T.transform="",T))}var Sr=en({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function mr(p){var T=p.state,c=p.instance,v=p.options,x=v.scroll,ie=void 0===x||x,$e=v.resize,nt=void 0===$e||$e,ct=Tr(T.elements.popper),It=[].concat(T.scrollParents.reference,T.scrollParents.popper);return ie&&It.forEach(function(kt){kt.addEventListener("scroll",c.update,Pr)}),nt&&ct.addEventListener("resize",c.update,Pr),function(){ie&&It.forEach(function(kt){kt.removeEventListener("scroll",c.update,Pr)}),nt&&ct.removeEventListener("resize",c.update,Pr)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function ar(p){var T=p.state;T.modifiersData[p.name]=ti({reference:T.rects.reference,element:T.rects.popper,strategy:"absolute",placement:T.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function Si(p){var T=p.state,c=p.options,v=c.gpuAcceleration,x=void 0===v||v,ie=c.adaptive,$e=void 0===ie||ie,nt=c.roundOffsets,ct=void 0===nt||nt,kt={placement:Xt(T.placement),variation:Ir(T.placement),popper:T.elements.popper,popperRect:T.rects.popper,gpuAcceleration:x,isFixed:"fixed"===T.options.strategy};null!=T.modifiersData.popperOffsets&&(T.styles.popper=Object.assign({},T.styles.popper,yo(Object.assign({},kt,{offsets:T.modifiersData.popperOffsets,position:T.options.strategy,adaptive:$e,roundOffsets:ct})))),null!=T.modifiersData.arrow&&(T.styles.arrow=Object.assign({},T.styles.arrow,yo(Object.assign({},kt,{offsets:T.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:ct})))),T.attributes.popper=Object.assign({},T.attributes.popper,{"data-popper-placement":T.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function pn(p){var T=p.state;Object.keys(T.elements).forEach(function(c){var v=T.styles[c]||{},x=T.attributes[c]||{},ie=T.elements[c];!Vt(ie)||!it(ie)||(Object.assign(ie.style,v),Object.keys(x).forEach(function($e){var nt=x[$e];!1===nt?ie.removeAttribute($e):ie.setAttribute($e,!0===nt?"":nt)}))})},effect:function xs(p){var T=p.state,c={popper:{position:T.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(T.elements.popper.style,c.popper),T.styles=c,T.elements.arrow&&Object.assign(T.elements.arrow.style,c.arrow),function(){Object.keys(T.elements).forEach(function(v){var x=T.elements[v],ie=T.attributes[v]||{},nt=Object.keys(T.styles.hasOwnProperty(v)?T.styles[v]:c[v]).reduce(function(ct,It){return ct[It]="",ct},{});!Vt(x)||!it(x)||(Object.assign(x.style,nt),Object.keys(ie).forEach(function(ct){x.removeAttribute(ct)}))})}},requires:["computeStyles"]}]});const Es={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function hs(p){var T=p.state,v=p.name,x=p.options.offset,ie=void 0===x?[0,0]:x,$e=Ln.reduce(function(kt,Dn){return kt[Dn]=function Zr(p,T,c){var v=Xt(p),x=[un,Nn].indexOf(v)>=0?-1:1,ie="function"==typeof c?c(Object.assign({},T,{placement:p})):c,$e=ie[0],nt=ie[1];return $e=$e||0,nt=(nt||0)*x,[un,Hn].indexOf(v)>=0?{x:nt,y:$e}:{x:$e,y:nt}}(Dn,T.rects,ie),kt},{}),nt=$e[T.placement],It=nt.y;null!=T.modifiersData.popperOffsets&&(T.modifiersData.popperOffsets.x+=nt.x,T.modifiersData.popperOffsets.y+=It),T.modifiersData[v]=$e}};function Xr(p,T){}function Bs(p,T){if(1&p&&(t.TgZ(0,"button",3),t._uU(1),t.YNc(2,Xr,0,0,"ng-template",4),t.qZA()),2&p){const c=T.$implicit;t.Q6J("ngbPanelToggle",c),t.xp6(1),t.hij(" ",c.title," "),t.xp6(1),t.Q6J("ngTemplateOutlet",null==c.titleTpl?null:c.titleTpl.templateRef)}}function Zs(p,T){}function Ct(p,T){}function co(p,T){if(1&p){const c=t.EpF();
1t.TgZ(0,"div",8),t.NdJ("ngbRef",function(x){t.CHM(c);const ie=t.oxw().$implicit;return t.KtG(ie.panelDiv=x)}),t.TgZ(1,"div",9),t.YNc(2,Ct,0,0,"ng-template",4),t.qZA()()}if(2&p){const c=t.oxw().$implicit;t.s9C("id",c.id),t.uIk("aria-labelledby",c.id+"-header"),t.xp6(2),t.Q6J("ngTemplateOutlet",(null==c.contentTpl?null:c.contentTpl.templateRef)||null)}}const fs=function(p,T){return{$implicit:p,opened:T}};function Xs(p,T){if(1&p&&(t.TgZ(0,"div")(1,"div",5),t.YNc(2,Zs,0,0,"ng-template",6),t.qZA(),t.YNc(3,co,3,3,"div",7),t.qZA()),2&p){const c=T.$implicit,v=t.oxw(),x=t.MAs(1);t.Tol("accordion-item "+(c.cardClass||"")),t.xp6(1),t.Tol("accordion-header "+(c.type?"bg-"+c.type:v.type?"bg-"+v.type:"")),t.MGl("id","",c.id,"-header"),t.xp6(1),t.Q6J("ngTemplateOutlet",(null==c.headerTpl?null:c.headerTpl.templateRef)||x)("ngTemplateOutletContext",t.WLB(8,fs,c,c.isOpen)),t.xp6(1),t.Q6J("ngIf",!v.destroyOnHide||c.isOpen||c.transitionRunning)}}function Os(p,T){if(1&p){const c=t.EpF();t.TgZ(0,"button",1),t.NdJ("click",function(){t.CHM(c);const x=t.oxw();return t.KtG(x.close())}),t.qZA()}}const lt=["*"];function at(p,T){if(1&p){const c=t.EpF();t.TgZ(0,"button",6),t.NdJ("click",function(){const ie=t.CHM(c).$implicit,$e=t.oxw();return $e.focus(),t.KtG($e.select(ie.id,$e.NgbSlideEventSource.INDICATOR))}),t.qZA()}if(2&p){const c=T.$implicit,v=t.oxw();t.ekj("active",c.id===v.activeId),t.uIk("aria-labelledby","slide-"+c.id)("aria-controls","slide-"+c.id)("aria-selected",c.id===v.activeId)}}function vt(p,T){}function Ft(p,T){if(1&p&&(t.TgZ(0,"div",7)(1,"span",8),t.SDv(2,9),t.qZA(),t.YNc(3,vt,0,0,"ng-template",10),t.qZA()),2&p){const c=T.$implicit,v=T.index,x=T.count;t.Q6J("id","slide-"+c.id),t.xp6(2),t.pQV(v+1)(x),t.QtT(2),t.xp6(1),t.Q6J("ngTemplateOutlet",c.tplRef)}}function an(p,T){if(1&p){const c=t.EpF();t.TgZ(0,"button",11),t.NdJ("click",function(){t.CHM(c);const x=t.oxw();return t.KtG(x.arrowLeft())}),t._UZ(1,"span",12),t.TgZ(2,"span",8),t.SDv(3,13),t.qZA()()}}function Pn(p,T){if(1&p){const c=t.EpF();t.TgZ(0,"button",14),t.NdJ("click",function(){t.CHM(c);const x=t.oxw();return t.KtG(x.arrowRight())}),t._UZ(1,"span",15),t.TgZ(2,"span",8),t.SDv(3,16),t.qZA()()}}const Rn=["ngbDatepickerDayView",""],jr=["month"],jn=["year"];function Vs(p,T){if(1&p&&(t.TgZ(0,"option",5),t._uU(1),t.qZA()),2&p){const c=T.$implicit,v=t.oxw();t.Q6J("value",c),t.uIk("aria-label",v.i18n.getMonthFullName(c,v.date.year)),t.xp6(1),t.Oqu(v.i18n.getMonthShortName(c,v.date.year))}}function yi(p,T){if(1&p&&(t.TgZ(0,"option",5),t._uU(1),t.qZA()),2&p){const c=T.$implicit,v=t.oxw();t.Q6J("value",c),t.xp6(1),t.Oqu(v.i18n.getYearNumerals(c))}}function dt(p,T){if(1&p){const c=t.EpF();t.TgZ(0,"ngb-datepicker-navigation-select",7),t.NdJ("select",function(x){t.CHM(c);const ie=t.oxw();return t.KtG(ie.select.emit(x))}),t.qZA()}if(2&p){const c=t.oxw();t.Q6J("date",c.date)("disabled",c.disabled)("months",c.selectBoxes.months)("years",c.selectBoxes.years)}}function Ke(p,T){1&p&&t._UZ(0,"div",0)}function bo(p,T){1&p&&t._UZ(0,"div",0)}function Js(p,T){if(1&p&&(t.YNc(0,Ke,1,0,"div",9),t.TgZ(1,"div",10),t._uU(2),t.qZA(),t.YNc(3,bo,1,0,"div",9)),2&p){const c=T.$implicit,v=T.index,x=t.oxw(2);t.Q6J("ngIf",v>0),t.xp6(2),t.hij(" ",x.i18n.getMonthLabel(c.firstDate)," "),t.xp6(1),t.Q6J("ngIf",v!==x.months.length-1)}}function as(p,T){if(1&p&&t.YNc(0,Js,4,3,"ng-template",8),2&p){const c=t.oxw();t.Q6J("ngForOf",c.months)}}function ps(p,T){if(1&p&&(t.TgZ(0,"div",5),t._uU(1),t.qZA()),2&p){const c=t.oxw(2);t.xp6(1),t.Oqu(c.i18n.getWeekLabel())}}function di(p,T){if(1&p&&(t.TgZ(0,"div",6),t._uU(1),t.qZA()),2&p){const c=T.$implicit;t.xp6(1),t.Oqu(c)}}function Hs(p,T){if(1&p&&(t.TgZ(0,"div",2),t.YNc(1,ps,2,1,"div",3),t.YNc(2,di,2,1,"div",4),t.qZA()),2&p){const c=t.oxw();t.xp6(1),t.Q6J("ngIf",c.datepicker.showWeekNumbers),t.xp6(1),t.Q6J("ngForOf",c.viewModel.weekdays)}}function Fi(p,T){if(1&p&&(t.TgZ(0,"div",11),t._uU(1),t.qZA()),2&p){const c=t.oxw(2).$implicit,v=t.oxw();
1t.xp6(1),t.Oqu(v.i18n.getWeekNumerals(c.number))}}function hi(p,T){}function wr(p,T){if(1&p&&t.YNc(0,hi,0,0,"ng-template",14),2&p){const c=t.oxw().$implicit,v=t.oxw(3);t.Q6J("ngTemplateOutlet",v.datepicker.dayTemplate)("ngTemplateOutletContext",c.context)}}function Ni(p,T){if(1&p){const c=t.EpF();t.TgZ(0,"div",12),t.NdJ("click",function(x){const $e=t.CHM(c).$implicit;return t.oxw(3).doSelect($e),t.KtG(x.preventDefault())}),t.YNc(1,wr,1,2,"ng-template",13),t.qZA()}if(2&p){const c=T.$implicit;t.ekj("disabled",c.context.disabled)("hidden",c.hidden)("ngb-dp-today",c.context.today),t.Q6J("tabindex",c.tabindex),t.uIk("aria-label",c.ariaLabel),t.xp6(1),t.Q6J("ngIf",!c.hidden)}}function Ns(p,T){if(1&p&&(t.TgZ(0,"div",8),t.YNc(1,Fi,2,1,"div",9),t.YNc(2,Ni,2,9,"div",10),t.qZA()),2&p){const c=t.oxw().$implicit,v=t.oxw();t.xp6(1),t.Q6J("ngIf",v.datepicker.showWeekNumbers),t.xp6(1),t.Q6J("ngForOf",c.days)}}function es(p,T){1&p&&t.YNc(0,Ns,3,2,"div",7),2&p&&t.Q6J("ngIf",!T.$implicit.collapsed)}const Vo=["defaultDayTemplate"],ws=["content"];function gi(p,T){if(1&p&&t._UZ(0,"div",7),2&p){const v=T.currentMonth,x=T.selected,ie=T.disabled,$e=T.focused;t.Q6J("date",T.date)("currentMonth",v)("selected",x)("disabled",ie)("focused",$e)}}function ho(p,T){if(1&p&&(t.TgZ(0,"div",12),t._uU(1),t.qZA()),2&p){const c=t.oxw().$implicit,v=t.oxw(2);t.xp6(1),t.hij(" ",v.i18n.getMonthLabel(c.firstDate)," ")}}function Do(p,T){if(1&p&&(t.TgZ(0,"div",9),t.YNc(1,ho,2,1,"div",10),t._UZ(2,"ngb-datepicker-month",11),t.qZA()),2&p){const c=T.$implicit,v=t.oxw(2);t.xp6(1),t.Q6J("ngIf","none"===v.navigation||v.displayMonths>1&&"select"===v.navigation),t.xp6(1),t.Q6J("month",c.firstDate)}}function ts(p,T){if(1&p&&t.YNc(0,Do,3,2,"div",8),2&p){const c=t.oxw();t.Q6J("ngForOf",c.model.months)}}function wi(p,T){if(1&p){const c=t.EpF();t.TgZ(0,"ngb-datepicker-navigation",13),t.NdJ("navigate",function(x){t.CHM(c);const ie=t.oxw();return t.KtG(ie.onNavigateEvent(x))})("select",function(x){t.CHM(c);const ie=t.oxw();return t.KtG(ie.onNavigateDateSelect(x))}),t.qZA()}if(2&p){const c=t.oxw();t.Q6J("date",c.model.firstDate)("months",c.model.months)("disabled",c.model.disabled)("showSelect","select"===c.model.navigation)("prevDisabled",c.model.prevDisabled)("nextDisabled",c.model.nextDisabled)("selectBoxes",c.model.selectBoxes)}}function ha(p,T){}function fa(p,T){}const gs=["dialog"],ns=["ngbNavOutlet",""];function Io(p,T){}const Li=function(p){return{$implicit:p}};function ms(p,T){if(1&p&&(t.TgZ(0,"div",2),t.YNc(1,Io,0,0,"ng-template",3),t.qZA()),2&p){const c=t.oxw().$implicit,v=t.oxw();t.Q6J("item",c)("nav",v.nav)("role",v.paneRole),t.xp6(1),t.Q6J("ngTemplateOutlet",(null==c.contentTpl?null:c.contentTpl.templateRef)||null)("ngTemplateOutletContext",t.VKq(5,Li,c.active||v.isPanelTransitioning(c)))}}function le(p,T){if(1&p&&t.YNc(0,ms,2,7,"div",1),2&p){const c=T.$implicit,v=t.oxw();t.Q6J("ngIf",c.isPanelInDom()||v.isPanelTransitioning(c))}}function se(p,T){1&p&&(t.TgZ(0,"span",9),t.SDv(1,10),t.qZA())}function Q(p,T){1&p&&(t.TgZ(0,"span",9),t.SDv(1,11),t.qZA())}function Ee(p,T){1&p&&(t.TgZ(0,"span",9),t.SDv(1,12),t.qZA())}function wt(p,T){1&p&&(t.TgZ(0,"span",9),t.SDv(1,13),t.qZA())}function ln(p,T){1&p&&t._uU(0,"...")}function Bi(p,T){1&p&&(t.TgZ(0,"span",15),t._uU(1,"(current)"),t.qZA())}function Gs(p,T){if(1&p&&(t._uU(0),t.YNc(1,Bi,2,0,"span",14)),2&p){const c=T.$implicit,v=T.currentPage;t.hij(" ",c," "),t.xp6(1),t.Q6J("ngIf",c===v)}}function Po(p,T){}const Eo=function(p){return{disabled:!0,currentPage:p}};function $a(p,T){if(1&p&&(t.TgZ(0,"a",20),t.YNc(1,Po,0,0,"ng-template",8),t.qZA()),2&p){const c=t.oxw(2).$implicit,v=t.oxw(),x=t.MAs(9);t.xp6(1),t.Q6J("ngTemplateOutlet",(null==v.tplEllipsis?null:v.tplEllipsis.templateRef)||x)("ngTemplateOutletContext",t.VKq(2,Eo,c))}}function ya(p,T){}const Zt=function(p,T,c){return{disabled:p,$implicit:T,currentPage:c}};function Fr(p,T){if(1&p){const c=t.EpF();t.TgZ(0,"a",21),t.NdJ("click",function(x){t.CHM(c);const ie=t.oxw().$implicit;return t.oxw(2).selectPage(ie),t.KtG(x.preventDefault())}),t.YNc(1,ya,0,0,"ng-template",8),t.qZA()}if(2&p){const c=t.oxw().$implicit,v=t.oxw(),x=v.disabled,ie=v.$implicit,$e=t.oxw(),nt=t.MAs(11);t.uIk("tabindex",x?"-1":null)("aria-disabled",x?"true":null),t.xp6(1),t.Q6J("ngTemplateOutlet",(null==$e.tplNumber?null:$e.tplNumber.templateRef)||nt)("ngTemplateOutletContext",t.kEZ(4,Zt,x,c,ie))}}function ba(p,T){if(1&p&&(t.TgZ(0,"li",17),t.YNc(1,$a,2,4,"a",18),t.YNc(2,Fr,2,8,"a",19),t.qZA()),2&p){const c=T.$implicit,v=t.oxw(),x=v.$implicit,ie=v.disabled,$e=t.oxw();t.ekj("active",c===x)("disabled",$e.isEllipsis(c)||ie),t.uIk("aria-current",c===x?"page":null),t.xp6(1),t.Q6J("ngIf",$e.isEllipsis(c)),t.xp6(1),t.Q6J("ngIf",!$e.isEllipsis(c))}}function Qs(p,T){1&p&&t.YNc(0,ba,3,7,"li",16),2&p&&t.Q6J("ngForOf",T.pages)}function Vi(p,T){}const Rs=function(p,T){return{disabled:p,currentPage:T}};function Us(p,T){if(1&p){const c=t.EpF();t.TgZ(0,"li",17)(1,"a",22),t.NdJ("click",function(x){return t.CHM(c),t.oxw().selectPage(1),t.KtG(x.preventDefault())}),t.YNc(2,Vi,0,0,"ng-template",8),t.qZA()()}if(2&p){const c=t.oxw(),v=t.MAs(1);t.ekj("disabled",c.previousDisabled()),t.xp6(1),t.uIk("tabindex",c.previousDisabled()?"-1":null)("aria-disabled",c.previousDisabled()?"true":null),t.xp6(1),t.Q6J("ngTemplateOutlet",(null==c.tplFirst?null:c.tplFirst.templateRef)||v)("ngTemplateOutletContext",t.WLB(6,Rs,c.previousDisabled(),c.page))}}function $i(p,T){}const As=function(p){return{disabled:p}};function Ts(p,T){if(1&p){const c=t.EpF();t.TgZ(0,"li",17)(1,"a",23),t.NdJ("click",function(x){t.CHM(c);const ie=t.oxw();return ie.selectPage(ie.page-1),t.KtG(x.preventDefault())}),t.YNc(2,$i,0,0,"ng-template",8),t.qZA()()}if(2&p){const c=t.oxw(),v=t.MAs(3);t.ekj("disabled",c.previousDisabled()),t.xp6(1),t.uIk("tabindex",c.previousDisabled()?"-1":null)("aria-disabled",c.previousDisabled()?"true":null),t.xp6(1),t.Q6J("ngTemplateOutlet",(null==c.tplPrevious?null:c.tplPrevious.templateRef)||v)("ngTemplateOutletContext",t.VKq(6,As,c.previousDisabled()))}}function yl(p,T){}function eo(p,T){}function Ea(p,T){if(1&p){const c=t.EpF();t.TgZ(0,"li",17)(1,"a",24),t.NdJ("click",function(x){t.CHM(c);const ie=t.oxw();return ie.selectPage(ie.page+1),t.KtG(x.preventDefault())}),t.YNc(2,eo,0,0,"ng-template",8),t.qZA()()}if(2&p){const c=t.oxw(),v=t.MAs(5);t.ekj("disabled",c.nextDisabled()),t.xp6(1),t.uIk("tabindex",c.nextDisabled()?"-1":null)("aria-disabled",c.nextDisabled()?"true":null),t.xp6(1),t.Q6J("ngTemplateOutlet",(null==c.tplNext?null:c.tplNext.templateRef)||v)("ngTemplateOutletContext",t.WLB(6,Rs,c.nextDisabled(),c.page))}}function Ho(p,T){}function Hi(p,T){if(1&p){const c=t.EpF();t.TgZ(0,"li",17)(1,"a",25),t.NdJ("click",function(x){t.CHM(c);const ie=t.oxw();return ie.selectPage(ie.pageCount),t.KtG(x.preventDefault())}),t.YNc(2,Ho,0,0,"ng-template",8),t.qZA()()}if(2&p){const c=t.oxw(),v=t.MAs(7);t.ekj("disabled",c.nextDisabled()),t.xp6(1),t.uIk("tabindex",c.nextDisabled()?"-1":null)("aria-disabled",c.nextDisabled()?"true":null),t.xp6(1),t.Q6J("ngTemplateOutlet",(null==c.tplLast?null:c.tplLast.templateRef)||v)("ngTemplateOutletContext",t.WLB(6,Rs,c.nextDisabled(),c.page))}}const Ds=function(p,T,c){return{$implicit:p,pages:T,disabled:c}};function Oa(p,T){if(1&p&&t._uU(0),2&p){const c=t.oxw(2);t.Oqu(c.title)}}function mi(p,T){}function Ri(p,T){if(1&p&&(t.TgZ(0,"h3",3),t.YNc(1,Oa,1,1,"ng-template",null,4,t.W1O),t.YNc(3,mi,0,0,"ng-template",5),t.qZA()),2&p){const c=t.MAs(2),v=t.oxw();
1t.xp6(3),t.Q6J("ngTemplateOutlet",v.isTitleTemplate()?v.title:c)("ngTemplateOutletContext",v.context)}}function To(p,T){if(1&p&&(t.TgZ(0,"span"),t.SDv(1,2),t.ALo(2,"percent"),t.qZA()),2&p){const c=t.oxw();t.xp6(2),t.pQV(t.lcZ(2,1,c.getValue()/c.max)),t.QtT(1)}}function to(p,T){1&p&&t._uU(0),2&p&&t.Oqu(100===T.fill?"\u2605":"\u2606")}function no(p,T){}function ra(p,T){if(1&p){const c=t.EpF();t.TgZ(0,"span",2),t._uU(1),t.qZA(),t.TgZ(2,"span",3),t.NdJ("mouseenter",function(){const ie=t.CHM(c).index,$e=t.oxw();return t.KtG($e.enter(ie+1))})("click",function(){const ie=t.CHM(c).index,$e=t.oxw();return t.KtG($e.handleClick(ie+1))}),t.YNc(3,no,0,0,"ng-template",4),t.qZA()}if(2&p){const c=T.index,v=t.oxw(),x=t.MAs(1);t.xp6(1),t.hij("(",c<v.nextRate?"*":" ",")"),t.xp6(1),t.Udp("cursor",v.isInteractive()?"pointer":"default"),t.xp6(1),t.Q6J("ngTemplateOutlet",v.starTemplate||v.starTemplateFromContent||x)("ngTemplateOutletContext",v.contexts[c])}}function Go(p,T){if(1&p){const c=t.EpF();t.TgZ(0,"button",11),t.NdJ("click",function(){t.CHM(c);const x=t.oxw();return t.KtG(x.changeHour(x.hourStep))}),t._UZ(1,"span",12),t.TgZ(2,"span",13),t.SDv(3,14),t.qZA()()}if(2&p){const c=t.oxw();t.ekj("btn-sm",c.isSmallSize)("btn-lg",c.isLargeSize)("disabled",c.disabled),t.Q6J("disabled",c.disabled)}}function ro(p,T){if(1&p){const c=t.EpF();t.TgZ(0,"button",11),t.NdJ("click",function(){t.CHM(c);const x=t.oxw();return t.KtG(x.changeHour(-x.hourStep))}),t._UZ(1,"span",15),t.TgZ(2,"span",13),t.SDv(3,16),t.qZA()()}if(2&p){const c=t.oxw();t.ekj("btn-sm",c.isSmallSize)("btn-lg",c.isLargeSize)("disabled",c.disabled),t.Q6J("disabled",c.disabled)}}function Uo(p,T){if(1&p){const c=t.EpF();t.TgZ(0,"button",11),t.NdJ("click",function(){t.CHM(c);const x=t.oxw();return t.KtG(x.changeMinute(x.minuteStep))}),t._UZ(1,"span",12),t.TgZ(2,"span",13),t.SDv(3,17),t.qZA()()}if(2&p){const c=t.oxw();t.ekj("btn-sm",c.isSmallSize)("btn-lg",c.isLargeSize)("disabled",c.disabled),t.Q6J("disabled",c.disabled)}}function il(p,T){if(1&p){const c=t.EpF();t.TgZ(0,"button",11),t.NdJ("click",function(){t.CHM(c);const x=t.oxw();return t.KtG(x.changeMinute(-x.minuteStep))}),t._UZ(1,"span",15),t.TgZ(2,"span",13),t.SDv(3,18),t.qZA()()}if(2&p){const c=t.oxw();t.ekj("btn-sm",c.isSmallSize)("btn-lg",c.isLargeSize)("disabled",c.disabled),t.Q6J("disabled",c.disabled)}}function ja(p,T){1&p&&(t.TgZ(0,"div",5),t._uU(1,":"),t.qZA())}function $o(p,T){if(1&p){const c=t.EpF();t.TgZ(0,"button",11),t.NdJ("click",function(){t.CHM(c);const x=t.oxw(2);return t.KtG(x.changeSecond(x.secondStep))}),t._UZ(1,"span",12),t.TgZ(2,"span",13),t.SDv(3,21),t.qZA()()}if(2&p){const c=t.oxw(2);t.ekj("btn-sm",c.isSmallSize)("btn-lg",c.isLargeSize)("disabled",c.disabled),t.Q6J("disabled",c.disabled)}}function Wa(p,T){if(1&p){const c=t.EpF();t.TgZ(0,"button",11),t.NdJ("click",function(){t.CHM(c);const x=t.oxw(2);return t.KtG(x.changeSecond(-x.secondStep))}),t._UZ(1,"span",15),t.TgZ(2,"span",13),t.SDv(3,22),t.qZA()()}if(2&p){const c=t.oxw(2);t.ekj("btn-sm",c.isSmallSize)("btn-lg",c.isLargeSize)("disabled",c.disabled),t.Q6J("disabled",c.disabled)}}function Na(p,T){if(1&p){const c=t.EpF();t.TgZ(0,"div",19),t.YNc(1,$o,4,7,"button",3),t.TgZ(2,"input",20),t.NdJ("change",function(x){t.CHM(c);const ie=t.oxw();return t.KtG(ie.updateSecond(x.target.value))})("blur",function(){t.CHM(c);const x=t.oxw();return t.KtG(x.handleBlur())})("input",function(x){t.CHM(c);const ie=t.oxw();return t.KtG(ie.formatInput(x.target))})("keydown.ArrowUp",function(x){t.CHM(c);const ie=t.oxw();return ie.changeSecond(ie.secondStep),t.KtG(x.preventDefault())})("keydown.ArrowDown",function(x){t.CHM(c);const ie=t.oxw();return ie.changeSecond(-ie.secondStep),t.KtG(x.preventDefault())}),t.qZA(),t.YNc(3,Wa,4,7,"button",3),t.qZA()}if(2&p){const c=t.oxw();t.xp6(1),t.Q6J("ngIf",c.spinners),t.xp6(1),t.ekj("form-control-sm",c.isSmallSize)("form-control-lg",c.isLargeSize),t.Q6J("value",c.formatMinSec(null==c.model?null:c.model.second))("readOnly",c.readonlyInputs)("disabled",c.disabled),t.xp6(1),t.Q6J("ngIf",c.spinners)}}function Ra(p,T){1&p&&t._UZ(0,"div",5)}function pa(p,T){if(1&p&&(t.ynx(0),t.SDv(1,27),t.BQk()),2&p){const c=t.oxw(2);t.xp6(1),t.pQV(c.i18n.getAfternoonPeriod()),t.QtT(1)}}function Mo(p,T){if(1&p&&t.SDv(0,28),2&p){const c=t.oxw(2);
1t.pQV(c.i18n.getMorningPeriod()),t.QtT(0)}}function xo(p,T){if(1&p){const c=t.EpF();t.TgZ(0,"div",23)(1,"button",24),t.NdJ("click",function(){t.CHM(c);const x=t.oxw();return t.KtG(x.toggleMeridian())}),t.YNc(2,pa,2,1,"ng-container",25),t.YNc(3,Mo,1,1,"ng-template",null,26,t.W1O),t.qZA()()}if(2&p){const c=t.MAs(4),v=t.oxw();t.xp6(1),t.ekj("btn-sm",v.isSmallSize)("btn-lg",v.isLargeSize)("disabled",v.disabled),t.Q6J("disabled",v.disabled),t.xp6(1),t.Q6J("ngIf",v.model&&v.model.hour>=12)("ngIfElse",c)}}function ia(p,T){if(1&p&&(t.TgZ(0,"strong",3),t._uU(1),t.qZA()),2&p){const c=t.oxw();t.xp6(1),t.Oqu(c.header)}}function _s(p,T){}function j(p,T){if(1&p){const c=t.EpF();t.TgZ(0,"div",4),t.YNc(1,_s,0,0,"ng-template",5),t.TgZ(2,"button",6),t.NdJ("click",function(){t.CHM(c);const x=t.oxw();return t.KtG(x.hide())}),t.qZA()()}if(2&p){const c=t.oxw(),v=t.MAs(1);t.xp6(1),t.Q6J("ngTemplateOutlet",c.contentHeaderTpl||v)}}function ge(p,T){if(1&p&&(t.TgZ(0,"span"),t._uU(1),t.qZA()),2&p){const c=t.oxw().$implicit,v=t.oxw();t.Tol(v.highlightClass),t.xp6(1),t.Oqu(c)}}function q(p,T){if(1&p&&t._uU(0),2&p){const c=t.oxw().$implicit;t.Oqu(c)}}function we(p,T){if(1&p&&(t.YNc(0,ge,2,3,"span",1),t.YNc(1,q,1,1,"ng-template",null,2,t.W1O)),2&p){const c=T.odd,v=t.MAs(2);t.Q6J("ngIf",c)("ngIfElse",v)}}function rr(p){return parseInt(`${p}`,10)}function Lr(p){return null!=p?`${p}`:""}function Ur(p,T,c=0){return Math.max(Math.min(p,T),c)}function zn(p){return"string"==typeof p}function G(p){return!isNaN(rr(p))}function K(p){return"number"==typeof p&&isFinite(p)&&Math.floor(p)===p}function ye(p){return null!=p}function xt(p){return G(p)?`0${p}`.slice(-2):""}function ir(p,T){return p&&p.className&&p.className.split&&p.className.split(/\s+/).indexOf(T)>=0}function ui(p){return(p||document.body).getBoundingClientRect()}function Oo(p){return p.normalize("NFD").replace(/[\u0300-\u036f]/g,"")}const za={animation:!0,transitionTimerDelayMs:5},jo=()=>{},{transitionTimerDelayMs:sl}=za,sa=new Map,Ii=(p,T,c,v)=>{let x=v.context||{};const ie=sa.get(T);if(ie)switch(v.runningTransition){case"continue":return _.E;case"stop":p.run(()=>ie.transition$.complete()),x=Object.assign(ie.context,x),sa.delete(T)}const $e=c(T,v.animation,x)||jo;if(!v.animation||"none"===window.getComputedStyle(T).transitionProperty)return p.run(()=>$e()),(0,S.of)(void 0).pipe(function Co(p){return T=>new f.y(c=>T.subscribe({next:$e=>p.run(()=>c.next($e)),error:$e=>p.run(()=>c.error($e)),complete:()=>p.run(()=>c.complete())}))}(p));const nt=new D.x,ct=new D.x,It=nt.pipe(function pe(...p){return T=>(0,J.z)(T,(0,S.of)(...p))}(!0));sa.set(T,{transition$:nt,complete:()=>{ct.next(),ct.complete()},context:x});const kt=function uu(p){const{transitionDelay:T,transitionDuration:c}=window.getComputedStyle(p);return 1e3*(parseFloat(T)+parseFloat(c))}(T);return p.runOutsideAngular(()=>{const Dn=(0,M.R)(T,"transitionend").pipe((0,me.R)(It),(0,Fe.h)(({target:On})=>On===T));H((0,k.H)(kt+sl).pipe((0,me.R)(It)),Dn,ct).pipe((0,me.R)(It)).subscribe(()=>{sa.delete(T),p.run(()=>{$e(),nt.next(),nt.complete()})})}),nt.asObservable()},Ka=(p,T,c)=>{let{direction:v,maxSize:x,dimension:ie}=c;const{classList:$e}=p;function nt(){$e.add("collapse"),"show"===v?$e.add("show"):$e.remove("show")}if(T)return x||(x=function Ta(p,T){if(typeof navigator>"u")return"0px";const{classList:c}=p,v=c.contains("show");v||c.add("show"),p.style[T]="";const x=p.getBoundingClientRect()[T]+"px";return v||c.remove("show"),x}(p,ie),c.maxSize=x,p.style[ie]="show"!==v?x:"0px",$e.remove("collapse"),$e.remove("collapsing"),$e.remove("show"),ui(p),$e.add("collapsing")),p.style[ie]="show"===v?x:"0px",()=>{nt(),$e.remove("collapsing"),p.style[ie]=""};nt()};let fo=(()=>{class p{constructor(){this.animation=za.animation}}return p.\u0275fac=function(c){return new(c||p)},p.\u0275prov=t.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),p})(),ga=(()=>{class p{constructor(c){this._ngbConfig=c,this.closeOthers=!1}get animation(){return void 0===this._animation?this._ngbConfig.animation:this._animation}set animation(c){this._animation=c}}return p.\u0275fac=function(c){return new(c||p)(t.LFG(fo))},p.\u0275prov=t.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),p})(),aa=0,Ji=(()=>{class p{constructor(c){this.templateRef=c}}
1return p.\u0275fac=function(c){return new(c||p)(t.Y36(t.Rgc))},p.\u0275dir=t.lG2({type:p,selectors:[["ng-template","ngbPanelHeader",""]],standalone:!0}),p})(),Wo=(()=>{class p{constructor(c){this.templateRef=c}}return p.\u0275fac=function(c){return new(c||p)(t.Y36(t.Rgc))},p.\u0275dir=t.lG2({type:p,selectors:[["ng-template","ngbPanelTitle",""]],standalone:!0}),p})(),No=(()=>{class p{constructor(c){this.templateRef=c}}return p.\u0275fac=function(c){return new(c||p)(t.Y36(t.Rgc))},p.\u0275dir=t.lG2({type:p,selectors:[["ng-template","ngbPanelContent",""]],standalone:!0}),p})(),ka=(()=>{class p{constructor(){this.disabled=!1,this.id="ngb-panel-"+aa++,this.isOpen=!1,this.initClassDone=!1,this.transitionRunning=!1,this.shown=new t.vpe,this.hidden=new t.vpe}ngAfterContentChecked(){this.titleTpl=this.titleTpls.first,this.headerTpl=this.headerTpls.first,this.contentTpl=this.contentTpls.first}}return p.\u0275fac=function(c){return new(c||p)},p.\u0275dir=t.lG2({type:p,selectors:[["ngb-panel"]],contentQueries:function(c,v,x){
1if(1&c&&(t.Suo(x,Wo,4),t.Suo(x,Ji,4),t.Suo(x,No,4)),2&c){let ie;t.iGM(ie=t.CRH())&&(v.titleTpls=ie),t.iGM(ie=t.CRH())&&(v.headerTpls=ie),t.iGM(ie=t.CRH())&&(v.contentTpls=ie)}},inputs:{disabled:"disabled",id:"id",title:"title",type:"type",cardClass:"cardClass"},outputs:{shown:"shown",hidden:"hidden"},standalone:!0}),p})(),Nl=(()=>{class p{constructor(c){this._El=c,this.ngbRef=new t.vpe}ngOnInit(){this.ngbRef.emit(this._El.nativeElement)}ngOnDestroy(){this.ngbRef.emit(null)}}return p.\u0275fac=function(c){return new(c||p)(t.Y36(t.SBq))},p.\u0275dir=t.lG2({type:p,selectors:[["","ngbRef",""]],outputs:{ngbRef:"ngbRef"},standalone:!0}),p})(),io=(()=>{class p{constructor(c,v){this.accordion=c,this.panel=v}set ngbPanelToggle(c){c&&(this.panel=c)}}return p.\u0275fac=function(c){return new(c||p)(t.Y36((0,t.Gpc)(()=>ks)),t.Y36(ka,9))},p.\u0275dir=t.lG2({type:p,selectors:[["button","ngbPanelToggle",""]],hostAttrs:["type","button"],hostVars:5,hostBindings:function(c,v){1&c&&t.NdJ("click",function(){return v.accordion.toggle(v.panel.id)}),2&c&&(t.Ikx("disabled",v.panel.disabled),t.uIk("aria-expanded",v.panel.isOpen)("aria-controls",v.panel.id),t.ekj("collapsed",!v.panel.isOpen))},inputs:{ngbPanelToggle:"ngbPanelToggle"},standalone:!0}),p})(),ks=(()=>{class p{constructor(c,v,x){this._ngZone=v,this._changeDetector=x,this.activeIds=[],this.destroyOnHide=!0,this.panelChange=new t.vpe,this.shown=new t.vpe,this.hidden=new t.vpe,this.animation=c.animation,this.type=c.type,this.closeOtherPanels=c.closeOthers}isExpanded(c){return this.activeIds.indexOf(c)>-1}expand(c){this._changeOpenState(this._findPanelById(c),!0)}expandAll(){this.closeOtherPanels?0===this.activeIds.length&&this.panels.length&&this._changeOpenState(this.panels.first,!0):this.panels.forEach(c=>this._changeOpenState(c,!0))}collapse(c){this._changeOpenState(this._findPanelById(c),!1)}collapseAll(){this.panels.forEach(c=>{this._changeOpenState(c,!1)})}toggle(c){const v=this._findPanelById(c);v&&this._changeOpenState(v,!v.isOpen)}ngAfterContentChecked(){zn(this.activeIds)&&(this.activeIds=this.activeIds.split(/\s*,\s*/)),this.panels.forEach(c=>{c.isOpen=!c.disabled&&this.activeIds.indexOf(c.id)>-1}),this.activeIds.length>1&&this.closeOtherPanels&&(this._closeOthers(this.activeIds[0],!1),this._updateActiveIds()),this._ngZone.onStable.pipe((0,He.q)(1)).subscribe(()=>{this.panels.forEach(c=>{const v=c.panelDiv;v?c.initClassDone||(c.initClassDone=!0,Ii(this._ngZone,v,Ka,{animation:!1,runningTransition:"continue",context:{direction:c.isOpen?"show":"hide",dimension:"height"}})):c.initClassDone=!1})})}_changeOpenState(c,v){if(null!=c&&!c.disabled&&c.isOpen!==v){let x=!1;this.panelChange.emit({panelId:c.id,nextState:v,preventDefault:()=>{x=!0}}),x||(c.isOpen=v,c.transitionRunning=!0,v&&this.closeOtherPanels&&this._closeOthers(c.id),this._updateActiveIds(),this._runTransitions(this.animation))}}_closeOthers(c,v=!0){this.panels.forEach(x=>{x.id!==c&&x.isOpen&&(x.isOpen=!1,x.transitionRunning=v)})}_findPanelById(c){return this.panels.find(v=>v.id===c)||null}_updateActiveIds(){this.activeIds=this.panels.filter(c=>c.isOpen&&!c.disabled).map(c=>c.id)}_runTransitions(c){this._changeDetector.detectChanges(),this.panels.forEach(v=>{v.transitionRunning&&Ii(this._ngZone,v.panelDiv,Ka,{animation:c,runningTransition:"stop",context:{direction:v.isOpen?"show":"hide",dimension:"height"}}).subscribe(()=>{v.transitionRunning=!1;const{id:ie}=v;v.isOpen?(v.shown.emit(),this.shown.emit(ie)):(v.hidden.emit(),this.hidden.emit(ie))})})}}return p.\u0275fac=function(c){return new(c||p)(t.Y36(ga),t.Y36(t.R0b),t.Y36(t.sBO))},p.\u0275cmp=t.Xpm({type:p,selectors:[["ngb-accordion"]],contentQueries:function(c,v,x){if(1&c&&t.Suo(x,ka,4),2&c){let ie;t.iGM(ie=t.CRH())&&(v.panels=ie)}},hostAttrs:["role","tablist",1,"accordion"],hostVars:1,hostBindings:function(c,v){2&c&&t.uIk("aria-multiselectable",!v.closeOtherPanels)},inputs:{animation:"animation",activeIds:"activeIds",closeOtherPanels:["closeOthers","closeOtherPanels"],destroyOnHide:"destroyOnHide",type:"type"},outputs:{panelChange:"panelChange",shown:"shown",hidden:"hidden"},exportAs:["ngbAccordion"],standalone:!0,features:[t.jDz],decls:3,vars:1,consts:[["ngbPanelHeader",""],["t",""],["ngFor","",3,"ngForOf"],[1,"accordion-button",3,"ngbPanelToggle"],[3,"ngTemplateOutlet"],["role","tab",3,"id"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["role","tabpanel",3,"id","ngbRef",4,"ngIf"],["role","tabpanel",3,"id","ngbRef"],[1,"accordion-body"]],template:function(c,v){1&c&&(t.YNc(0,Bs,3,3,"ng-template",0,1,t.W1O),t.YNc(2,Xs,4,11,"ng-template",2)),2&c&&(t.xp6(2),t.Q6J("ngForOf",v.panels))},dependencies:[Et.ax,Et.tP,io,Nl,Ji,Et.O5],encapsulation:2}),p})(),Ca=(()=>{class p{}
1return p.\u0275fac=function(c){return new(c||p)},p.\u0275mod=t.oAB({type:p}),p.\u0275inj=t.cJS({imports:[ks]}),p})();const ol=({classList:p})=>{p.remove("show")};let so=(()=>{class p{constructor(c){this._ngbConfig=c,this.dismissible=!0,this.type="warning"}get animation(){return void 0===this._animation?this._ngbConfig.animation:this._animation}set animation(c){this._animation=c}}return p.\u0275fac=function(c){return new(c||p)(t.LFG(fo))},p.\u0275prov=t.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),p})(),zo=(()=>{class p{constructor(c,v,x,ie){this._renderer=v,this._element=x,this._zone=ie,this.closed=new t.vpe,this.dismissible=c.dismissible,this.type=c.type,this.animation=c.animation}close(){const c=Ii(this._zone,this._element.nativeElement,ol,{animation:this.animation,runningTransition:"continue"});return c.subscribe(()=>this.closed.emit()),c}ngOnChanges(c){const v=c.type;v&&!v.firstChange&&(this._renderer.removeClass(this._element.nativeElement,`alert-${v.previousValue}`),this._renderer.addClass(this._element.nativeElement,`alert-${v.currentValue}`))}ngOnInit(){this._renderer.addClass(this._element.nativeElement,`alert-${this.type}`)}}return p.\u0275fac=function(c){return new(c||p)(t.Y36(so),t.Y36(t.Qsj),t.Y36(t.SBq),t.Y36(t.R0b))},p.\u0275cmp=t.Xpm({type:p,selectors:[["ngb-alert"]],hostAttrs:["role","alert",1,"alert","show"],hostVars:4,hostBindings:function(c,v){2&c&&t.ekj("fade",v.animation)("alert-dismissible",v.dismissible)},inputs:{animation:"animation",dismissible:"dismissible",type:"type"},outputs:{closed:"closed"},exportAs:["ngbAlert"],standalone:!0,features:[t.TTD,t.jDz],ngContentSelectors:lt,decls:2,vars:1,consts:function(){let T;return T=$localize`:@@ngb.alert.close:Close`,[["type","button","class","btn-close","aria-label",T,3,"click",4,"ngIf"],["type","button","aria-label",T,1,"btn-close",3,"click"]]},template:function(c,v){1&c&&(t.F$t(),t.Hsn(0),t.YNc(1,Os,1,0,"button",0)),2&c&&(t.xp6(1),t.Q6J("ngIf",v.dismissible))},dependencies:[Et.O5],styles:["ngb-alert{display:block}\n"],encapsulation:2,changeDetection:0}),p})(),bl=(()=>{class p{}return p.\u0275fac=function(c){return new(c||p)},p.\u0275mod=t.oAB({type:p}),p.\u0275inj=t.cJS({imports:[zo]}),p})();var oo=(()=>{return(p=oo||(oo={})).START="start",p.END="end",oo;var p})();const $s=({classList:p})=>p.contains("carousel-item-start")||p.contains("carousel-item-end"),Ko=p=>{p.remove("carousel-item-start"),p.remove("carousel-item-end")},ls=p=>{Ko(p),p.remove("carousel-item-prev"),p.remove("carousel-item-next")},po=(p,T,{direction:c})=>{const{classList:v}=p;return T?($s(p)?Ko(v):(v.add("carousel-item-"+(c===oo.START?"next":"prev")),ui(p),v.add("carousel-item-"+c)),()=>{ls(v),v.add("active")}):(Ko(v),ls(v),void v.add("active"))},qa=(p,T,{direction:c})=>{const{classList:v}=p;return T?($s(p)?Ko(v):v.add("carousel-item-"+c),()=>{ls(v),v.remove("active")}):(Ko(v),ls(v),void v.remove("active"))};let Sa=(()=>{class p{constructor(c){this._ngbConfig=c,this.interval=5e3,this.wrap=!0,this.keyboard=!0,this.pauseOnHover=!0,this.pauseOnFocus=!0,this.showNavigationArrows=!0,this.showNavigationIndicators=!0}get animation(){return void 0===this._animation?this._ngbConfig.animation:this._animation}set animation(c){this._animation=c}}return p.\u0275fac=function(c){return new(c||p)(t.LFG(fo))},p.\u0275prov=t.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),p})(),La=0,al=(()=>{class p{constructor(c){this.tplRef=c,this.id="ngb-slide-"+La++,this.slid=new t.vpe}}return p.\u0275fac=function(c){return new(c||p)(t.Y36(t.Rgc))},p.\u0275dir=t.lG2({type:p,selectors:[["ng-template","ngbSlide",""]],inputs:{id:"id"},outputs:{slid:"slid"},standalone:!0}),p})(),rs=(()=>{class p{constructor(c,v,x,ie,$e){this._platformId=v,this._ngZone=x,this._cd=ie,this._container=$e,this.NgbSlideEventSource=So,this._destroy$=new D.x,this._interval$=new ae.X(0),this._mouseHover$=new ae.X(!1),this._focused$=new ae.X(!1),this._pauseOnHover$=new ae.X(!1),this._pauseOnFocus$=new ae.X(!1),this._pause$=new ae.X(!1),this._wrap$=new ae.X(!1),this.slide=new t.vpe,this.slid=new t.vpe,this._transitionIds=null,this.animation=c.animation,this.interval=c.interval,this.wrap=c.wrap,this.keyboard=c.keyboard,this.pauseOnHover=c.pauseOnHover,this.pauseOnFocus=c.pauseOnFocus,this.showNavigationArrows=c.showNavigationArrows,this.showNavigationIndicators=c.showNavigationIndicators}set interval(c){this._interval$.next(c)}get interval(){return this._interval$.value}set wrap(c){this._wrap$.next(c)}get wrap(){return this._wrap$.value}set pauseOnHover(c){this._pauseOnHover$.next(c)}get pauseOnHover(){return this._pauseOnHover$.value}set pauseOnFocus(c){this._pauseOnFocus$.next(c)}get pauseOnFocus(){return this._pauseOnFocus$.value}set mouseHover(c){this._mouseHover$.next(c)}
1get mouseHover(){return this._mouseHover$.value}set focused(c){this._focused$.next(c)}get focused(){return this._focused$.value}arrowLeft(){this.focus(),this.prev(So.ARROW_LEFT)}arrowRight(){this.focus(),this.next(So.ARROW_RIGHT)}ngAfterContentInit(){(0,Et.NF)(this._platformId)&&this._ngZone.runOutsideAngular(()=>{const c=(0,V.a)([this.slide.pipe((0,xe.U)(v=>v.current),(0,Ne.O)(this.activeId)),this._wrap$,this.slides.changes.pipe((0,Ne.O)(null))]).pipe((0,xe.U)(([v,x])=>{const ie=this.slides.toArray(),$e=this._getSlideIdxById(v);return x?ie.length>1:$e<ie.length-1}),(0,ze.x)());(0,V.a)([this._pause$,this._pauseOnHover$,this._mouseHover$,this._pauseOnFocus$,this._focused$,this._interval$,c]).pipe((0,xe.U)(([v,x,ie,$e,nt,ct,It])=>v||x&&ie||$e&&nt||!It?0:ct),(0,ze.x)(),(0,ke.w)(v=>v>0?(0,k.H)(v,v):Y.C),(0,me.R)(this._destroy$)).subscribe(()=>this._ngZone.run(()=>this.next(So.TIMER)))}),this.slides.changes.pipe((0,me.R)(this._destroy$)).subscribe(()=>{this._transitionIds?.forEach(c=>(p=>{sa.get(p)?.complete()})(this._getSlideElement(c))),this._transitionIds=null,this._cd.markForCheck(),this._ngZone.onStable.pipe((0,He.q)(1)).subscribe(()=>{for(const{id:c}of this.slides){const v=this._getSlideElement(c);c===this.activeId?v.classList.add("active"):v.classList.remove("active")}})})}ngAfterContentChecked(){let c=this._getSlideById(this.activeId);this.activeId=c?c.id:this.slides.length?this.slides.first.id:""}ngAfterViewInit(){if(this.activeId){const c=this._getSlideElement(this.activeId);c&&c.classList.add("active")}}ngOnDestroy(){this._destroy$.next()}select(c,v){this._cycleToSelected(c,this._getSlideEventDirection(this.activeId,c),v)}prev(c){this._cycleToSelected(this._getPrevSlide(this.activeId),oo.END,c)}next(c){this._cycleToSelected(this._getNextSlide(this.activeId),oo.START,c)}pause(){this._pause$.next(!0)}cycle(){this._pause$.next(!1)}focus(){this._container.nativeElement.focus()}_cycleToSelected(c,v,x){const ie=this._transitionIds;if(ie&&(ie[0]!==c||ie[1]!==this.activeId))return;let $e=this._getSlideById(c);if($e&&$e.id!==this.activeId){this._transitionIds=[this.activeId,c],this.slide.emit({prev:this.activeId,current:$e.id,direction:v,paused:this._pause$.value,source:x});const nt={animation:this.animation,runningTransition:"stop",context:{direction:v}},ct=[],It=this._getSlideById(this.activeId);if(It){const On=Ii(this._ngZone,this._getSlideElement(It.id),qa,nt);On.subscribe(()=>{It.slid.emit({isShown:!1,direction:v,source:x})}),ct.push(On)}const kt=this.activeId;this.activeId=$e.id;const Dn=this._getSlideById(this.activeId),yn=Ii(this._ngZone,this._getSlideElement($e.id),po,nt);yn.subscribe(()=>{Dn?.slid.emit({isShown:!0,direction:v,source:x})}),ct.push(yn),O(...ct).pipe((0,He.q)(1)).subscribe(()=>{this._transitionIds=null,this.slid.emit({prev:kt,current:$e.id,direction:v,paused:this._pause$.value,source:x})})}this._cd.markForCheck()}_getSlideEventDirection(c,v){return this._getSlideIdxById(c)>this._getSlideIdxById(v)?oo.END:oo.START}_getSlideById(c){return this.slides.find(v=>v.id===c)||null}_getSlideIdxById(c){const v=this._getSlideById(c);return null!=v?this.slides.toArray().indexOf(v):-1}_getNextSlide(c){const v=this.slides.toArray(),x=this._getSlideIdxById(c);return x===v.length-1?this.wrap?v[0].id:v[v.length-1].id:v[x+1].id}_getPrevSlide(c){const v=this.slides.toArray(),x=this._getSlideIdxById(c);return 0===x?this.wrap?v[v.length-1].id:v[0].id:v[x-1].id}_getSlideElement(c){return this._container.nativeElement.querySelector(`#slide-${c}`)}}return p.\u0275fac=function(c){return new(c||p)(t.Y36(Sa),t.Y36(t.Lbi),t.Y36(t.R0b),t.Y36(t.sBO),t.Y36(t.SBq))},p.\u0275cmp=t.Xpm({type:p,selectors:[["ngb-carousel"]],contentQueries:function(c,v,x){if(1&c&&t.Suo(x,al,4),2&c){let ie;t.iGM(ie=t.CRH())&&(v.slides=ie)}},hostAttrs:["tabIndex","0",1,"carousel","slide"],hostVars:3,hostBindings:function(c,v){1&c&&t.NdJ("keydown.arrowLeft",function(){return v.keyboard&&v.arrowLeft()})("keydown.arrowRight",function(){return v.keyboard&&v.arrowRight()})("mouseenter",function(){return v.mouseHover=!0})("mouseleave",function(){return v.mouseHover=!1})("focusin",function(){return v.focused=!0})("focusout",function(){return v.focused=!1}),2&c&&(t.uIk("aria-activedescendant","slide-"+v.activeId),t.Udp("display","block"))},inputs:{animation:"animation",activeId:"activeId",interval:"interval",wrap:"wrap",keyboard:"keyboard",pauseOnHover:"pauseOnHover",pauseOnFocus:"pauseOnFocus",showNavigationArrows:"showNavigationArrows",showNavigationIndicators:"showNavigationIndicators"},outputs:{slide:"slide",slid:"slid"},exportAs:["ngbCarousel"],standalone:!0,features:[t.jDz],decls:6,vars:6,consts:function(){let T,c,v;return T=$localize`:Currently selected slide number read by screen reader@@ngb.carousel.slide-number: Slide ${"\ufffd0\ufffd"}:INTERPOLATION: of ${"\ufffd1\ufffd"}:INTERPOLATION_1: `,c=$localize`:@@ngb.carousel.previous:Previous`,v=$localize`:@@ngb.carousel.next:Next`,[["role","tablist",1,"carousel-indicators"],["type","button","data-bs-target","","role","tab",3,"active","click",4,"ngFor","ngForOf"],[1,"carousel-inner"],["class","carousel-item","role","tabpanel",3,"id",4,"ngFor","ngForOf"],["class","carousel-control-prev","type","button",3,"click",4,"ngIf"],["class","carousel-control-next","type","button",3,"click",4,"ngIf"],["type","button","data-bs-target","","role","tab",3,"click"],["role","tabpanel",1,"carousel-item",3,"id"],[1,"visually-hidden"],T,[3,"ngTemplateOutlet"],["type","button",1,"carousel-control-prev",3,"click"],["aria-hidden","true",1,"carousel-control-prev-icon"],c,["type","button",1,"carousel-control-next",3,"click"],["aria-hidden","true",1,"carousel-control-next-icon"],v]},template:function(c,v){1&c&&(t.TgZ(0,"div",0),t.YNc(1,at,1,5,"button",1),t.qZA(),t.TgZ(2,"div",2),t.YNc(3,Ft,4,4,"div",3),t.qZA(),t.YNc(4,an,4,0,"button",4),t.YNc(5,Pn,4,0,"button",5)),2&c&&(t.ekj("visually-hidden",!v.showNavigationIndicators),t.xp6(1),t.Q6J("ngForOf",v.slides),t.xp6(2),t.Q6J("ngForOf",v.slides),t.xp6(1),t.Q6J("ngIf",v.showNavigationArrows),t.xp6(1),t.Q6J("ngIf",v.showNavigationArrows))},dependencies:[Et.ax,Et.tP,Et.O5],encapsulation:2,changeDetection:0}),p})();var So=(()=>{return(p=So||(So={})).TIMER="timer",p.ARROW_LEFT="arrowLeft",p.ARROW_RIGHT="arrowRight",p.INDICATOR="indicator",So;var p})();let Ro=(()=>{class p{}
1return p.\u0275fac=function(c){return new(c||p)},p.\u0275mod=t.oAB({type:p}),p.\u0275inj=t.cJS({imports:[rs]}),p})(),cu=(()=>{class p{}return p.\u0275fac=function(c){return new(c||p)},p.\u0275mod=t.oAB({type:p}),p.\u0275inj=t.cJS({}),p})();class ji{constructor(T,c,v){this.year=K(T)?T:null,this.month=K(c)?c:null,this.day=K(v)?v:null}static from(T){return T instanceof ji?T:T?new ji(T.year,T.month,T.day):null}equals(T){return null!=T&&this.year===T.year&&this.month===T.month&&this.day===T.day}before(T){return!!T&&(this.year===T.year?this.month===T.month?this.day!==T.day&&this.day<T.day:this.month<T.month:this.year<T.year)}after(T){return!!T&&(this.year===T.year?this.month===T.month?this.day!==T.day&&this.day>T.day:this.month>T.month:this.year>T.year)}}function wa(p,T){return!function Ya(p,T){return!p&&!T||!!p&&!!T&&p.equals(T)}(p,T)}function qo(p,T){return!(!p&&!T||p&&T&&p.year===T.year&&p.month===T.month)}function Is(p,T,c){return p&&T&&p.before(T)?T:p&&c&&p.after(c)?c:p||null}function us(p,T){const{minDate:c,maxDate:v,disabled:x,markDisabled:ie}=T;return!(null==p||x||ie&&ie(p,{year:p.year,month:p.month})||c&&p.before(c)||v&&p.after(v))}function P(p){return new ji(p.getFullYear(),p.getMonth()+1,p.getDate())}function F(p){const T=new Date(p.year,p.month-1,p.day,12);return isNaN(T.getTime())||T.setFullYear(p.year),T}let Z=(()=>{class p{}return p.\u0275fac=function(c){return new(c||p)},p.\u0275prov=t.Yz7({token:p,factory:function(){return function w(){return new de}()},providedIn:"root"}),p})(),de=(()=>{class p extends Z{getDaysPerWeek(){return 7}getMonths(){return[1,2,3,4,5,6,7,8,9,10,11,12]}getWeeksPerMonth(){return 6}getNext(c,v="d",x=1){let ie=F(c),$e=!0,nt=ie.getMonth();switch(v){case"y":ie.setFullYear(ie.getFullYear()+x);break;case"m":nt+=x,ie.setMonth(nt),nt%=12,nt<0&&(nt+=12);break;case"d":ie.setDate(ie.getDate()+x),$e=!1;break;default:return c}return $e&&ie.getMonth()!==nt&&ie.setDate(0),P(ie)}getPrev(c,v="d",x=1){return this.getNext(c,v,-x)}getWeekday(c){let x=F(c).getDay();return 0===x?7:x}getWeekNumber(c,v){7===v&&(v=0);const $e=F(c[(11-v)%7]);$e.setDate($e.getDate()+4-($e.getDay()||7));const nt=$e.getTime();return $e.setMonth(0),$e.setDate(1),Math.floor(Math.round((nt-$e.getTime())/864e5)/7)+1}getToday(){return P(new Date)}isValid(c){if(!(c&&K(c.year)&&K(c.month)&&K(c.day)&&0!==c.year))return!1;const v=F(c);return!isNaN(v.getTime())&&v.getFullYear()===c.year&&v.getMonth()+1===c.month&&v.getDate()===c.day}}return p.\u0275fac=function(){let T;return function(v){return(T||(T=t.n5z(p)))(v||p)}}(),p.\u0275prov=t.Yz7({token:p,factory:p.\u0275fac}),p})(),Re=(()=>{class p{getMonthLabel(c){return`${this.getMonthFullName(c.month,c.year)} ${this.getYearNumerals(c.year)}`}getDayNumerals(c){return`${c.day}`}getWeekNumerals(c){return`${c}`}getYearNumerals(c){return`${c}`}getWeekLabel(){return""}}return p.\u0275fac=function(c){return new(c||p)},p.\u0275prov=t.Yz7({token:p,factory:function(c){let v=null;return v=c?new c:function Ae(p){return new ut(p)}(t.LFG(t.soG)),v},providedIn:"root"}),p})(),ut=(()=>{class p extends Re{constructor(c){super(),this._locale=c,this._monthsShort=(0,Et.UT)(c,Et.x.Standalone,Et.Tn.Abbreviated),this._monthsFull=(0,Et.UT)(c,Et.x.Standalone,Et.Tn.Wide)}getWeekdayLabel(c,v){const x=(0,Et.Mn)(this._locale,Et.x.Standalone,void 0===v?Et.Tn.Short:v);return x.map(($e,nt)=>x[(nt+1)%7])[c-1]||""}getMonthShortName(c){return this._monthsShort[c-1]||""}getMonthFullName(c){return this._monthsFull[c-1]||""}getDayAriaLabel(c){const v=new Date(c.year,c.month-1,c.day);return(0,Et.p6)(v,"fullDate",this._locale)}}return p.\u0275fac=function(c){return new(c||p)(t.LFG(t.soG))},p.\u0275prov=t.Yz7({token:p,factory:p.\u0275fac}),p})(),Kt=(()=>{class p{constructor(c,v){this._calendar=c,this._i18n=v,this._VALIDATORS={dayTemplateData:x=>{if(this._state.dayTemplateData!==x)return{dayTemplateData:x}},displayMonths:x=>{if(K(x=rr(x))&&x>0&&this._state.displayMonths!==x)return{displayMonths:x}},disabled:x=>{if(this._state.disabled!==x)return{disabled:x}},firstDayOfWeek:x=>{if(K(x=rr(x))&&x>=0&&this._state.firstDayOfWeek!==x)return{firstDayOfWeek:x}},focusVisible:x=>{if(this._state.focusVisible!==x&&!this._state.disabled)return{focusVisible:x}},markDisabled:x=>
1{if(this._state.markDisabled!==x)return{markDisabled:x}},maxDate:x=>{const ie=this.toValidDate(x,null);if(wa(this._state.maxDate,ie))return{maxDate:ie}},minDate:x=>{const ie=this.toValidDate(x,null);if(wa(this._state.minDate,ie))return{minDate:ie}},navigation:x=>{if(this._state.navigation!==x)return{navigation:x}},outsideDays:x=>{if(this._state.outsideDays!==x)return{outsideDays:x}},weekdays:x=>{const ie=!0===x||!1===x?Et.Tn.Short:x,$e=!0!==x&&!1!==x||x;if(this._state.weekdayWidth!==ie||this._state.weekdaysVisible!==$e)return{weekdayWidth:ie,weekdaysVisible:$e}}},this._model$=new D.x,this._dateSelect$=new D.x,this._state={dayTemplateData:null,markDisabled:null,maxDate:null,minDate:null,disabled:!1,displayMonths:1,firstDate:null,firstDayOfWeek:1,lastDate:null,focusDate:null,focusVisible:!1,months:[],navigation:"select",outsideDays:"visible",prevDisabled:!1,nextDisabled:!1,selectedDate:null,selectBoxes:{years:[],months:[]},weekdayWidth:Et.Tn.Short,weekdaysVisible:!0}}get model$(){return this._model$.pipe((0,Fe.h)(c=>c.months.length>0))}get dateSelect$(){return this._dateSelect$.pipe((0,Fe.h)(c=>null!==c))}set(c){let v=Object.keys(c).map(x=>this._VALIDATORS[x](c[x])).reduce((x,ie)=>({...x,...ie}),{});Object.keys(v).length>0&&this._nextState(v)}focus(c){const v=this.toValidDate(c,null);null!=v&&!this._state.disabled&&wa(this._state.focusDate,v)&&this._nextState({focusDate:c})}focusSelect(){us(this._state.focusDate,this._state)&&this.select(this._state.focusDate,{emitEvent:!0})}open(c){const v=this.toValidDate(c,this._calendar.getToday());null!=v&&!this._state.disabled&&(!this._state.firstDate||qo(this._state.firstDate,v))&&this._nextState({firstDate:v})}select(c,v={}){const x=this.toValidDate(c,null);null!=x&&!this._state.disabled&&(wa(this._state.selectedDate,x)&&this._nextState({selectedDate:x}),v.emitEvent&&us(x,this._state)&&this._dateSelect$.next(x))}toValidDate(c,v){const x=ji.from(c);return void 0===v&&(v=this._calendar.getToday()),this._calendar.isValid(x)?x:v}getMonth(c){for(let v of this._state.months)if(c.month===v.number&&c.year===v.year)return v;throw new Error(`month ${c.month} of year ${c.year} not found`)}_nextState(c){const v=this._updateState(c);this._patchContexts(v),this._state=v,this._model$.next(this._state)}_patchContexts(c){const{months:v,displayMonths:x,selectedDate:ie,focusDate:$e,focusVisible:nt,disabled:ct,outsideDays:It}=c;c.months.forEach(kt=>{kt.weeks.forEach(Dn=>{Dn.days.forEach(yn=>{$e&&(yn.context.focused=$e.equals(yn.date)&&nt),yn.tabindex=!ct&&$e&&yn.date.equals($e)&&$e.month===kt.number?0:-1,!0===ct&&(yn.context.disabled=!0),void 0!==ie&&(yn.context.selected=null!==ie&&ie.equals(yn.date)),kt.number!==yn.date.month&&(yn.hidden="hidden"===It||"collapsed"===It||x>1&&yn.date.after(v[0].firstDate)&&yn.date.before(v[x-1].lastDate))})})})}_updateState(c){const v=Object.assign({},this._state,c);let x=v.firstDate;if(("minDate"in c||"maxDate"in c)&&(function wo(p,T){if(T&&p&&T.before(p))throw new Error(`'maxDate' ${T} should be greater than 'minDate' ${p}`)}(v.minDate,v.maxDate),v.focusDate=Is(v.focusDate,v.minDate,v.maxDate),v.firstDate=Is(v.firstDate,v.minDate,v.maxDate),x=v.focusDate),"disabled"in c&&(v.focusVisible=!1),"selectedDate"in c&&0===this._state.months.length&&(x=v.selectedDate),"focusVisible"in c||"focusDate"in c&&(v.focusDate=Is(v.focusDate,v.minDate,v.maxDate),x=v.focusDate,0!==v.months.length&&v.focusDate&&!v.focusDate.before(v.firstDate)&&!v.focusDate.after(v.lastDate)))return v;if("firstDate"in c&&(v.firstDate=Is(v.firstDate,v.minDate,v.maxDate),x=v.firstDate),x){const $e=function Rl(p,T,c,v,x){const{displayMonths:ie,months:$e}=c,nt=$e.splice(0,$e.length);return Array.from({length:ie},(It,kt)=>{const Dn=Object.assign(p.getNext(T,"m",kt),{day:1});if($e[kt]=null,!x){const yn=nt.findIndex(On=>On.firstDate.equals(Dn));-1!==yn&&($e[kt]=nt.splice(yn,1)[0])}return Dn}).forEach((It,kt)=>{null===$e[kt]&&($e[kt]=function cl(p,T,c,v,x={}){const{dayTemplateData:ie,minDate:$e,maxDate:nt,firstDayOfWeek:ct,markDisabled:It,outsideDays:kt,weekdayWidth:Dn,weekdaysVisible:yn}=c,On=p.getToday();x.firstDate=null,x.lastDate=null,x.number=T.month,x.year=T.year,x.weeks=x.weeks||[],x.weekdays=x.weekdays||[],T=function kl(p,T,c){const v=p.getDaysPerWeek(),x=new ji(T.year,T.month,1),ie=p.getWeekday(x)%v;return p.getPrev(x,"d",(v+ie-c)%v)}(p,T,ct),yn||(x.weekdays.length=0);for(let Jr=0;Jr<p.getWeeksPerMonth();Jr++){let Ar=x.weeks[Jr];Ar||(Ar=x.weeks[Jr]={number:0,days:[],collapsed:!0});const Kr=Ar.days;for(let Qr=0;Qr<p.getDaysPerWeek();Qr++){0===Jr&&yn&&(x.weekdays[Qr]=v.getWeekdayLabel(p.getWeekday(T),Dn));const Rr=new ji(T.year,T.month,T.day),Wi=p.getNext(Rr),Ei=v.getDayAriaLabel(Rr);let _i=!!($e&&Rr.before($e)||nt&&Rr.after(nt));!_i&&It&&(_i=It(Rr,{month:x.number,year:x.year}));let fi=Rr.equals(On),zi=ie?ie(Rr,{month:x.number,year:x.year}):void 0;null===x.firstDate&&Rr.month===x.number&&(x.firstDate=Rr),Rr.month===x.number&&Wi.month!==x.number&&(x.lastDate=Rr);let Mi=Kr[Qr];Mi||(Mi=Kr[Qr]={}),Mi.date=Rr,Mi.context=Object.assign(Mi.context||{},{$implicit:Rr,date:Rr,data:zi,currentMonth:x.number,currentYear:x.year,disabled:_i,focused:!1,selected:!1,today:fi}),Mi.tabindex=-1,Mi.ariaLabel=Ei,Mi.hidden=!1,T=Wi}Ar.number=p.getWeekNumber(Kr.map(Qr=>Qr.date),ct),Ar.collapsed="collapsed"===kt&&Kr[0].date.month!==x.number&&Kr[Kr.length-1].date.month!==x.number}return x}(p,It,c,v,nt.shift()||{}))}),$e}(this._calendar,x,v,this._i18n,"dayTemplateData"in c||"firstDayOfWeek"in c||"markDisabled"in c||"minDate"in c||"maxDate"in c||"disabled"in c||"outsideDays"in c||"weekdaysVisible"in c);v.months=$e,v.firstDate=$e[0].firstDate,v.lastDate=$e[$e.length-1].lastDate,"selectedDate"in c&&!us(v.selectedDate,v)&&(v.selectedDate=null),"firstDate"in c&&(!v.focusDate||v.focusDate.before(v.firstDate)||v.focusDate.after(v.lastDate))&&(v.focusDate=x);const nt=!this._state.firstDate||this._state.firstDate.year!==v.firstDate.year,ct=!this._state.firstDate||this._state.firstDate.month!==v.firstDate.month;
1"select"===v.navigation?(("minDate"in c||"maxDate"in c||0===v.selectBoxes.years.length||nt)&&(v.selectBoxes.years=function ul(p,T,c){if(!p)return[];const v=T?Math.max(T.year,p.year-500):p.year-10,ie=(c?Math.min(c.year,p.year+500):p.year+10)-v+1,$e=Array(ie);for(let nt=0;nt<ie;nt++)$e[nt]=v+nt;return $e}(v.firstDate,v.minDate,v.maxDate)),("minDate"in c||"maxDate"in c||0===v.selectBoxes.months.length||nt)&&(v.selectBoxes.months=function Ba(p,T,c,v){if(!T)return[];let x=p.getMonths(T.year);if(c&&T.year===c.year){const ie=x.findIndex($e=>$e===c.month);x=x.slice(ie)}if(v&&T.year===v.year){const ie=x.findIndex($e=>$e===v.month);x=x.slice(0,ie+1)}return x}(this._calendar,v.firstDate,v.minDate,v.maxDate))):v.selectBoxes={years:[],months:[]},("arrows"===v.navigation||"select"===v.navigation)&&(ct||nt||"minDate"in c||"maxDate"in c||"disabled"in c)&&(v.prevDisabled=v.disabled||function bi(p,T,c){const v=Object.assign(p.getPrev(T,"m"),{day:1});return null!=c&&(v.year===c.year&&v.month<c.month||v.year<c.year&&1===c.month)}(this._calendar,v.firstDate,v.minDate),v.nextDisabled=v.disabled||function Yo(p,T,c){const v=Object.assign(p.getNext(T,"m"),{day:1});return null!=c&&v.after(c)}(this._calendar,v.lastDate,v.maxDate))}return v}}return p.\u0275fac=function(c){return new(c||p)(t.LFG(Z),t.LFG(Re))},p.\u0275prov=t.Yz7({token:p,factory:p.\u0275fac}),p})();var An=(()=>{return(p=An||(An={}))[p.PREV=0]="PREV",p[p.NEXT=1]="NEXT",An;var p})();let Yn=(()=>{class p{constructor(c){this.i18n=c}isMuted(){return!this.selected&&(this.date.month!==this.currentMonth||this.disabled)}}return p.\u0275fac=function(c){return new(c||p)(t.Y36(Re))},p.\u0275cmp=t.Xpm({type:p,selectors:[["","ngbDatepickerDayView",""]],hostAttrs:[1,"btn-light"],hostVars:10,hostBindings:function(c,v){2&c&&t.ekj("bg-primary",v.selected)("text-white",v.selected)("text-muted",v.isMuted())("outside",v.isMuted())("active",v.focused)},inputs:{currentMonth:"currentMonth",date:"date",disabled:"disabled",focused:"focused",selected:"selected"},standalone:!0,features:[t.jDz],attrs:Rn,decls:1,vars:1,template:function(c,v){1&c&&t._uU(0),2&c&&t.Oqu(v.i18n.getDayNumerals(v.date))},styles:["[ngbDatepickerDayView]{text-align:center;width:2rem;height:2rem;line-height:2rem;border-radius:.25rem;background:transparent}[ngbDatepickerDayView]:hover:not(.bg-primary),[ngbDatepickerDayView].active:not(.bg-primary){background-color:var(--bs-btn-bg);outline:1px solid var(--bs-border-color)}[ngbDatepickerDayView].outside{opacity:.5}\n"],encapsulation:2,changeDetection:0}),p})(),br=(()=>{class p{constructor(c,v){this.i18n=c,this._renderer=v,this.select=new t.vpe,this._month=-1,this._year=-1}changeMonth(c){this.select.emit(new ji(this.date.year,rr(c),1))}changeYear(c){this.select.emit(new ji(rr(c),this.date.month,1))}ngAfterViewChecked(){this.date&&(this.date.month!==this._month&&(this._month=this.date.month,this._renderer.setProperty(this.monthSelect.nativeElement,"value",this._month)),this.date.year!==this._year&&(this._year=this.date.year,this._renderer.setProperty(this.yearSelect.nativeElement,"value",this._year)))}}return p.\u0275fac=function(c){return new(c||p)(t.Y36(Re),t.Y36(t.Qsj))},p.\u0275cmp=t.Xpm({type:p,selectors:[["ngb-datepicker-navigation-select"]],viewQuery:function(c,v){if(1&c&&(t.Gf(jr,7,t.SBq),t.Gf(jn,7,t.SBq)),2&c){let x;t.iGM(x=t.CRH())&&(v.monthSelect=x.first),t.iGM(x=t.CRH())&&(v.yearSelect=x.first)}},inputs:{date:"date",disabled:"disabled",months:"months",years:"years"},outputs:{select:"select"},standalone:!0,features:[t.jDz],decls:6,vars:4,consts:function(){let T,c,v,x;return T=$localize`:@@ngb.datepicker.select-month:Select month`,c=$localize`:@@ngb.datepicker.select-month:Select month`,v=$localize`:@@ngb.datepicker.select-year:Select year`,x=$localize`:@@ngb.datepicker.select-year:Select year`,[["aria-label",T,"title",c,1,"form-select",3,"disabled","change"],["month",""],[3,"value",4,"ngFor","ngForOf"],["aria-label",v,"title",x,1,"form-select",3,"disabled","change"],["year",""],[3,"value"]]},template:function(c,v){1&c&&(t.TgZ(0,"select",0,1),t.NdJ("change",function(ie){return v.changeMonth(ie.target.value)}),t.YNc(2,Vs,2,3,"option",2),t.qZA(),t.TgZ(3,"select",3,4),t.NdJ("change",function(ie){return v.changeYear(ie.target.value)}),t.YNc(5,yi,2,2,"option",2),t.qZA()),2&c&&(t.Q6J("disabled",v.disabled),t.xp6(2),t.Q6J("ngForOf",v.months),t.xp6(1),t.Q6J("disabled",v.disabled),t.xp6(2),t.Q6J("ngForOf",v.years))},dependencies:[Et.ax],styles:["ngb-datepicker-navigation-select>.form-select{flex:1 1 auto;padding:0 .5rem;font-size:.875rem;height:1.85rem}ngb-datepicker-navigation-select>.form-select:focus{z-index:1}ngb-datepicker-navigation-select>.form-select::-ms-value{background-color:transparent!important}\n"],encapsulation:2,changeDetection:0}),p})(),Wr=(()=>{class p{constructor(c){this.i18n=c,this.navigation=An,this.months=[],this.navigate=new t.vpe,this.select=new t.vpe}
1onClickPrev(c){c.currentTarget.focus(),this.navigate.emit(this.navigation.PREV)}onClickNext(c){c.currentTarget.focus(),this.navigate.emit(this.navigation.NEXT)}}return p.\u0275fac=function(c){return new(c||p)(t.Y36(Re))},p.\u0275cmp=t.Xpm({type:p,selectors:[["ngb-datepicker-navigation"]],inputs:{date:"date",disabled:"disabled",months:"months",showSelect:"showSelect",prevDisabled:"prevDisabled",nextDisabled:"nextDisabled",selectBoxes:"selectBoxes"},outputs:{navigate:"navigate",select:"select"},standalone:!0,features:[t.jDz],decls:8,vars:4,consts:function(){let T,c,v,x;return T=$localize`:@@ngb.datepicker.previous-month:Previous month`,c=$localize`:@@ngb.datepicker.previous-month:Previous month`,v=$localize`:@@ngb.datepicker.next-month:Next month`,x=$localize`:@@ngb.datepicker.next-month:Next month`,[[1,"ngb-dp-arrow"],["type","button","aria-label",T,"title",c,1,"btn","btn-link","ngb-dp-arrow-btn",3,"disabled","click"],[1,"ngb-dp-navigation-chevron"],["class","ngb-dp-navigation-select",3,"date","disabled","months","years","select",4,"ngIf"],[4,"ngIf"],[1,"ngb-dp-arrow","right"],["type","button","aria-label",v,"title",x,1,"btn","btn-link","ngb-dp-arrow-btn",3,"disabled","click"],[1,"ngb-dp-navigation-select",3,"date","disabled","months","years","select"],["ngFor","",3,"ngForOf"],["class","ngb-dp-arrow",4,"ngIf"],[1,"ngb-dp-month-name"]]},template:function(c,v){1&c&&(t.TgZ(0,"div",0)(1,"button",1),t.NdJ("click",function(ie){return v.onClickPrev(ie)}
1),t._UZ(2,"span",2),t.qZA()(),t.YNc(3,dt,1,4,"ngb-datepicker-navigation-select",3),t.YNc(4,as,1,1,null,4),t.TgZ(5,"div",5)(6,"button",6),t.NdJ("click",function(ie){return v.onClickNext(ie)}),t._UZ(7,"span",2),t.qZA()()),2&c&&(t.xp6(1),t.Q6J("disabled",v.prevDisabled),t.xp6(2),t.Q6J("ngIf",v.showSelect),t.xp6(1),t.Q6J("ngIf",!v.showSelect),t.xp6(2),t.Q6J("disabled",v.nextDisabled))},dependencies:[Et.O5,Et.ax,br],styles:["ngb-datepicker-navigation{display:flex;align-items:center}.ngb-dp-navigation-chevron{border-style:solid;border-width:.2em .2em 0 0;display:inline-block;width:.75em;height:.75em;margin-left:.25em;margin-right:.15em;transform:rotate(-135deg)}.ngb-dp-arrow{display:flex;flex:1 1 auto;padding-right:0;padding-left:0;margin:0;width:2rem;height:2rem}.ngb-dp-arrow.right{justify-content:flex-end}.ngb-dp-arrow.right .ngb-dp-navigation-chevron{transform:rotate(45deg);margin-left:.15em;margin-right:.25em}.ngb-dp-arrow-btn{padding:0 .25rem;margin:0 .5rem;border:none;background-color:transparent;z-index:1}.ngb-dp-arrow-btn:focus{outline-width:1px;outline-style:auto}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.ngb-dp-arrow-btn:focus{outline-style:solid}}.ngb-dp-month-name{font-size:larger;height:2rem;line-height:2rem;text-align:center}.ngb-dp-navigation-select{display:flex;flex:1 1 9rem}\n"],encapsulation:2,changeDetection:0}),p})();var sr=(()=>{return(p=sr||(sr={}))[p.Tab=9]="Tab",p[p.Enter=13]="Enter",p[p.Escape=27]="Escape",p[p.Space=32]="Space",p[p.PageUp=33]="PageUp",p[p.PageDown=34]="PageDown",p[p.End=35]="End",p[p.Home=36]="Home",p[p.ArrowLeft=37]="ArrowLeft",p[p.ArrowUp=38]="ArrowUp",p[p.ArrowRight=39]="ArrowRight",p[p.ArrowDown=40]="ArrowDown",sr;var p})();let cs=(()=>{class p{processKey(c,v){const{state:x,calendar:ie}=v;switch(c.which){case sr.PageUp:v.focusDate(ie.getPrev(x.focusedDate,c.shiftKey?"y":"m",1));break;case sr.PageDown:v.focusDate(ie.getNext(x.focusedDate,c.shiftKey?"y":"m",1));break;case sr.End:v.focusDate(c.shiftKey?x.maxDate:x.lastDate);break;case sr.Home:v.focusDate(c.shiftKey?x.minDate:x.firstDate);break;case sr.ArrowLeft:v.focusDate(ie.getPrev(x.focusedDate,"d",1));break;case sr.ArrowUp:v.focusDate(ie.getPrev(x.focusedDate,"d",ie.getDaysPerWeek()));break;
1case sr.ArrowRight:v.focusDate(ie.getNext(x.focusedDate,"d",1));break;case sr.ArrowDown:v.focusDate(ie.getNext(x.focusedDate,"d",ie.getDaysPerWeek()));break;case sr.Enter:case sr.Space:v.focusSelect();break;default:return}c.preventDefault(),c.stopPropagation()}}return p.\u0275fac=function(c){return new(c||p)},p.\u0275prov=t.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),p})(),Gi=(()=>{class p{constructor(){this.displayMonths=1,this.firstDayOfWeek=1,this.navigation="select",this.outsideDays="visible",this.showWeekNumbers=!1,this.weekdays=Et.Tn.Short}}return p.\u0275fac=function(c){return new(c||p)},p.\u0275prov=t.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),p})(),Fs=(()=>{class p{}return p.\u0275fac=function(c){return new(c||p)},p.\u0275prov=t.Yz7({token:p,factory:function(){return function Pi(){return new Aa}()},providedIn:"root"}),p})(),Aa=(()=>{class p extends Fs{fromModel(c){return c&&K(c.year)&&K(c.month)&&K(c.day)?{year:c.year,month:c.month,day:c.day}:null}toModel(c){return c&&K(c.year)&&K(c.month)&&K(c.day)?{year:c.year,month:c.month,day:c.day}:null}}return p.\u0275fac=function(){let T;return function(v){return(T||(T=t.n5z(p)))(v||p)}}(),p.\u0275prov=t.Yz7({token:p,factory:p.\u0275fac}),p})(),Zo=(()=>{class p{constructor(c){this.templateRef=c}}return p.\u0275fac=function(c){return new(c||p)(t.Y36(t.Rgc))},p.\u0275dir=t.lG2({type:p,selectors:[["ng-template","ngbDatepickerContent",""]],standalone:!0}),p})(),dl=(()=>{class p{constructor(c,v,x,ie){this.i18n=c,this.datepicker=v,this._keyboardService=x,this._service=ie}set month(c){this.viewModel=this._service.getMonth(c)}onKeyDown(c){this._keyboardService.processKey(c,this.datepicker)}doSelect(c){!c.context.disabled&&!c.hidden&&this.datepicker.onDateSelect(c.date)}}return p.\u0275fac=function(c){return new(c||p)(t.Y36(Re),t.Y36((0,t.Gpc)(()=>Za)),t.Y36(cs),t.Y36(Kt))},p.\u0275cmp=t.Xpm({type:p,selectors:[["ngb-datepicker-month"]],hostAttrs:["role","grid"],hostBindings:function(c,v){1&c&&t.NdJ("keydown",function(ie){return v.onKeyDown(ie)})},inputs:{month:"month"},standalone:!0,features:[t.jDz],decls:2,vars:2,consts:[["class","ngb-dp-week ngb-dp-weekdays","role","row",4,"ngIf"],["ngFor","",3,"ngForOf"],["role","row",1,"ngb-dp-week","ngb-dp-weekdays"],["class","ngb-dp-weekday ngb-dp-showweek small",4,"ngIf"],["class","ngb-dp-weekday small","role","columnheader",4,"ngFor","ngForOf"],[1,"ngb-dp-weekday","ngb-dp-showweek","small"],["role","columnheader",1,"ngb-dp-weekday","small"],["class","ngb-dp-week","role","row",4,"ngIf"],["role","row",1,"ngb-dp-week"],["class","ngb-dp-week-number small text-muted",4,"ngIf"],["class","ngb-dp-day","role","gridcell",3,"disabled","tabindex","hidden","ngb-dp-today","click",4,"ngFor","ngForOf"],[1,"ngb-dp-week-number","small","text-muted"],["role","gridcell",1,"ngb-dp-day",3,"tabindex","click"],[3,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(c,v){1&c&&(t.YNc(0,Hs,3,2,"div",0),t.YNc(1,es,1,1,"ng-template",1)),2&c&&(t.Q6J("ngIf",v.viewModel.weekdays.length>0),t.xp6(1),t.Q6J("ngForOf",v.viewModel.weeks))},dependencies:[Et.O5,Et.ax,Et.tP],styles:['ngb-datepicker-month{display:block}.ngb-dp-weekday,.ngb-dp-week-number{line-height:2rem;text-align:center;font-style:italic}.ngb-dp-weekday{color:var(--bs-info)}.ngb-dp-week{border-radius:.25rem;display:flex}.ngb-dp-weekdays{border-bottom:1px solid var(--bs-border-color);border-radius:0;background-color:var(--bs-light)}.ngb-dp-day,.ngb-dp-weekday,.ngb-dp-week-number{width:2rem;height:2rem}.ngb-dp-day{cursor:pointer}.ngb-dp-day.disabled,.ngb-dp-day.hidden{cursor:default;pointer-events:none}.ngb-dp-day[tabindex="0"]{z-index:1}\n'],encapsulation:2}),p})(),Za=(()=>{class p{constructor(c,v,x,ie,$e,nt,ct,It){this._service=c,this._calendar=v,this.i18n=x,this._elementRef=nt,this._ngbDateAdapter=ct,this._ngZone=It,this._controlValue=null,this._destroyed$=new D.x,this._publicState={},this.navigate=new t.vpe,this.dateSelect=new t.vpe,this.onChange=kt=>{},this.onTouched=()=>{},["dayTemplate","dayTemplateData","displayMonths","firstDayOfWeek","footerTemplate","markDisabled","minDate","maxDate","navigation","outsideDays","showWeekNumbers","startDate","weekdays"].forEach(kt=>this[kt]=ie[kt]),c.dateSelect$.pipe((0,me.R)(this._destroyed$)).subscribe(kt=>{this.dateSelect.emit(kt)}),c.model$.pipe((0,me.R)(this._destroyed$)).subscribe(kt=>{const Dn=kt.firstDate,yn=this.model?this.model.firstDate:null;this._publicState={maxDate:kt.maxDate,minDate:kt.minDate,firstDate:kt.firstDate,lastDate:kt.lastDate,focusedDate:kt.focusDate,months:kt.months.map(Qr=>Qr.firstDate)};let On=!1;if(!Dn.equals(yn)&&(this.navigate.emit({current:yn?{year:yn.year,month:yn.month}:null,next:{year:Dn.year,month:Dn.month},preventDefault:()=>On=!0}),On&&null!==yn))return void this._service.open(yn);const Jr=kt.selectedDate,Ar=kt.focusDate,Kr=this.model?this.model.focusDate:null;this.model=kt,wa(Jr,this._controlValue)&&(this._controlValue=Jr,this.onTouched(),this.onChange(this._ngbDateAdapter.toModel(Jr))),wa(Ar,Kr)&&Kr&&kt.focusVisible&&this.focus(),$e.markForCheck()})}get state(){return this._publicState}
1get calendar(){return this._calendar}focusDate(c){this._service.focus(ji.from(c))}focusSelect(){this._service.focusSelect()}focus(){this._ngZone.onStable.asObservable().pipe((0,He.q)(1)).subscribe(()=>{const c=this._elementRef.nativeElement.querySelector('div.ngb-dp-day[tabindex="0"]');c&&c.focus()})}navigateTo(c){this._service.open(ji.from(c?c.day?c:{...c,day:1}:null))}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{const c=(0,M.R)(this._contentEl.nativeElement,"focusin"),v=(0,M.R)(this._contentEl.nativeElement,"focusout"),{nativeElement:x}=this._elementRef;(0,X.T)(c,v).pipe((0,Fe.h)(({target:ie,relatedTarget:$e})=>!(ir(ie,"ngb-dp-day")&&ir($e,"ngb-dp-day")&&x.contains(ie)&&x.contains($e))),(0,me.R)(this._destroyed$)).subscribe(({type:ie})=>this._ngZone.run(()=>this._service.set({focusVisible:"focusin"===ie})))})}ngOnDestroy(){this._destroyed$.next()}ngOnInit(){if(void 0===this.model){const c={};["dayTemplateData","displayMonths","markDisabled","firstDayOfWeek","navigation","minDate","maxDate","outsideDays","weekdays"].forEach(v=>c[v]=this[v]),this._service.set(c),this.navigateTo(this.startDate)}this.dayTemplate||(this.dayTemplate=this._defaultDayTemplate)}ngOnChanges(c){const v={};if(["dayTemplateData","displayMonths","markDisabled","firstDayOfWeek","navigation","minDate","maxDate","outsideDays","weekdays"].filter(x=>x in c).forEach(x=>v[x]=this[x]),this._service.set(v),"startDate"in c){const{currentValue:x,previousValue:ie}=c.startDate;qo(ie,x)&&this.navigateTo(this.startDate)}}onDateSelect(c){this._service.focus(c),this._service.select(c,{emitEvent:!0})}onNavigateDateSelect(c){this._service.open(c)}onNavigateEvent(c){switch(c){case An.PREV:this._service.open(this._calendar.getPrev(this.model.firstDate,"m",1));break;case An.NEXT:this._service.open(this._calendar.getNext(this.model.firstDate,"m",1))}}registerOnChange(c){this.onChange=c}registerOnTouched(c){this.onTouched=c}setDisabledState(c){this._service.set({disabled:c})}writeValue(c){this._controlValue=ji.from(this._ngbDateAdapter.fromModel(c)),this._service.select(this._controlValue)}}return p.\u0275fac=function(c){return new(c||p)(t.Y36(Kt),t.Y36(Z),t.Y36(Re),t.Y36(Gi),t.Y36(t.sBO),t.Y36(t.SBq),t.Y36(Fs),t.Y36(t.R0b))},p.\u0275cmp=t.Xpm({type:p,selectors:[["ngb-datepicker"]],contentQueries:function(c,v,x){if(1&c&&t.Suo(x,Zo,7),2&c){let ie;t.iGM(ie=t.CRH())&&(v.contentTemplate=ie.first)}},viewQuery:function(c,v){if(1&c&&(t.Gf(Vo,7),t.Gf(ws,7)),2&c){let x;t.iGM(x=t.CRH())&&(v._defaultDayTemplate=x.first),t.iGM(x=t.CRH())&&(v._contentEl=x.first)}},hostVars:2,hostBindings:function(c,v){2&c&&t.ekj("disabled",v.model.disabled)},inputs:{dayTemplate:"dayTemplate",dayTemplateData:"dayTemplateData",displayMonths:"displayMonths",firstDayOfWeek:"firstDayOfWeek",footerTemplate:"footerTemplate",markDisabled:"markDisabled",maxDate:"maxDate",minDate:"minDate",navigation:"navigation",outsideDays:"outsideDays",showWeekNumbers:"showWeekNumbers",startDate:"startDate",weekdays:"weekdays"},outputs:{navigate:"navigate",dateSelect:"dateSelect"},exportAs:["ngbDatepicker"],standalone:!0,features:[t._Bn([{provide:dn.JU,useExisting:(0,t.Gpc)(()=>p),multi:!0},Kt]),t.TTD,t.jDz],decls:10,vars:5,consts:[["defaultDayTemplate",""],["defaultContentTemplate",""],[1,"ngb-dp-header"],[3,"date","months","disabled","showSelect","prevDisabled","nextDisabled","selectBoxes","navigate","select",4,"ngIf"],[1,"ngb-dp-content"],["content",""],[3,"ngTemplateOutlet"],["ngbDatepickerDayView","",3,"date","currentMonth","selected","disabled","focused"],["class","ngb-dp-month",4,"ngFor","ngForOf"],[1,"ngb-dp-month"],["class","ngb-dp-month-name",4,"ngIf"],[3,"month"],[1,"ngb-dp-month-name"],[3,"date","months","disabled","showSelect","prevDisabled","nextDisabled","selectBoxes","navigate","select"]],template:function(c,v){if(1&c&&(t.YNc(0,gi,1,5,"ng-template",null,0,t.W1O),t.YNc(2,ts,1,1,"ng-template",null,1,t.W1O),t.TgZ(4,"div",2),t.YNc(5,wi,1,7,"ngb-datepicker-navigation",3),t.qZA(),t.TgZ(6,"div",4,5),t.YNc(8,ha,0,0,"ng-template",6),t.qZA(),t.YNc(9,fa,0,0,"ng-template",6)),2&c){const x=t.MAs(3);t.xp6(5),t.Q6J("ngIf","none"!==v.navigation),t.xp6(1),t.ekj("ngb-dp-months",!v.contentTemplate),t.xp6(2),t.Q6J("ngTemplateOutlet",(null==v.contentTemplate?null:v.contentTemplate.templateRef)||x),t.xp6(1),t.Q6J("ngTemplateOutlet",v.footerTemplate)}},dependencies:[Et.O5,Et.ax,Et.tP,Yn,dl,Wr],styles:["ngb-datepicker{border:1px solid var(--bs-border-color);border-radius:.25rem;display:inline-block}ngb-datepicker-month{pointer-events:auto}ngb-datepicker.dropdown-menu{padding:0}ngb-datepicker.disabled .ngb-dp-weekday,ngb-datepicker.disabled .ngb-dp-week-number,ngb-datepicker.disabled .ngb-dp-month-name{color:var(--bs-text-muted)}.ngb-dp-body{z-index:1055}.ngb-dp-header{border-bottom:0;border-radius:.25rem .25rem 0 0;padding-top:.25rem;background-color:var(--bs-light)}.ngb-dp-months{display:flex}.ngb-dp-month{pointer-events:none}.ngb-dp-month-name{font-size:larger;height:2rem;line-height:2rem;text-align:center;background-color:var(--bs-light)}.ngb-dp-month+.ngb-dp-month .ngb-dp-month-name,.ngb-dp-month+.ngb-dp-month .ngb-dp-week{padding-left:1rem}.ngb-dp-month:last-child .ngb-dp-week{padding-right:.25rem}.ngb-dp-month:first-child .ngb-dp-week{padding-left:.25rem}.ngb-dp-month .ngb-dp-week:last-child{padding-bottom:.25rem}\n"],encapsulation:2,changeDetection:0}),p})();const Tl=(p,T)=>!!T&&T.some(c=>
1c.contains(p)),go=(p,T)=>!T||null!=function Xi(p,T){return!T||typeof p.closest>"u"?null:p.closest(T)}(p,T),re=typeof navigator<"u"&&!!navigator.userAgent&&(/iPad|iPhone|iPod/.test(navigator.userAgent)||/Macintosh/.test(navigator.userAgent)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>2||/Android/.test(navigator.userAgent));function Ie(p,T,c,v,x,ie,$e,nt){c&&p.runOutsideAngular((p=>re?()=>setTimeout(()=>p(),100):p)(()=>{const It=(0,M.R)(T,"keydown").pipe((0,me.R)(x),(0,Fe.h)(yn=>yn.which===sr.Escape),(0,De.b)(yn=>yn.preventDefault())),kt=(0,M.R)(T,"mousedown").pipe((0,xe.U)(yn=>{const On=yn.target;return 2!==yn.button&&!Tl(On,$e)&&("inside"===c?Tl(On,ie)&&go(On,nt):"outside"===c?!Tl(On,ie):go(On,nt)||!Tl(On,ie))}),(0,me.R)(x)),Dn=(0,M.R)(T,"mouseup").pipe((0,Ce.M)(kt),(0,Fe.h)(([yn,On])=>On),jt(0),(0,me.R)(x));H([It.pipe((0,xe.U)(yn=>0)),Dn.pipe((0,xe.U)(yn=>1))]).subscribe(yn=>p.run(()=>v(yn)))}))}const et=["a[href]","button:not([disabled])",'input:not([disabled]):not([type="hidden"])',"select:not([disabled])","textarea:not([disabled])","[contenteditable]",'[tabindex]:not([tabindex="-1"])'].join(", ");function mt(p){const T=Array.from(p.querySelectorAll(et)).filter(c=>-1!==c.tabIndex);return[T[0],T[T.length-1]]}const tn=/\s+/,Vn=/  +/gi,lr={top:["top"],bottom:["bottom"],start:["left","right"],left:["left"],end:["right","left"],right:["right"],"top-start":["top-start","top-end"],"top-left":["top-start"],"top-end":["top-end","top-start"],"top-right":["top-end"],"bottom-start":["bottom-start","bottom-end"],"bottom-left":["bottom-start"],"bottom-end":["bottom-end","bottom-start"],"bottom-right":["bottom-end"],"start-top":["left-start","right-start"],"left-top":["left-start"],"start-bottom":["left-end","right-end"],"left-bottom":["left-end"],"end-top":["right-start","left-start"],"right-top":["right-start"],"end-bottom":["right-end","left-end"],"right-bottom":["right-end"]},Nr=/^left/,Mr=/^right/,js=/^start/,Ki=/^end/;function ma({placement:p,baseClass:T},c){let v=Array.isArray(p)?p:p.split(tn),ie=v.findIndex(It=>"auto"===It);ie>=0&&["top","bottom","start","end","top-start","top-end","bottom-start","bottom-end","start-top","start-bottom","end-top","end-bottom"].forEach(function(It){null==v.find(kt=>-1!==kt.search("^"+It))&&v.splice(ie++,1,It)});const $e=v.map(It=>function _r(p,T){const[c,v]=lr[p];return T&&v||c}(It,c.isRTL()));return{placement:$e.shift(),modifiers:[{name:"bootstrapClasses",enabled:!!T,phase:"write",fn({state:It}){const kt=new RegExp(T+"(-[a-z]+)*","gi"),Dn=It.elements.popper,yn=It.placement;let On=Dn.className;On=On.replace(kt,""),On+=` ${function Va(p,T){let[c,v]=T.split("-");const x=c.replace(Nr,"start").replace(Mr,"end");let ie=[x];if(v){let $e=v;("left"===c||"right"===c)&&($e=$e.replace(js,"top").replace(Ki,"bottom")),ie.push(`${x}-${$e}`)}return p&&(ie=ie.map($e=>`${p}-${$e}`)),ie.join(" ")}(T,yn)}`,On=On.trim().replace(Vn," "),Dn.className=On}},Yr,ci,gr,{enabled:!0,name:"flip",options:{fallbackPlacements:$e}},{enabled:!0,name:"preventOverflow",phase:"main",fn:function(){}}]}}function Da(p){return p}function ao(p){let T=null;return{createPopper(c){if(!T){let x=(c.updatePopperOptions||Da)(ma(c,p));T=Sr(c.hostElement,c.targetElement,x)}},update(){T&&T.update()},setOptions(c){if(T){let x=(c.updatePopperOptions||Da)(ma(c,p));T.setOptions(x)}},destroy(){T&&(T.destroy(),T=null)}}}function Ia(p){return T=>(T.modifiers.push(Es,{name:"offset",options:{offset:()=>p}}),T)}let Ls=(()=>{class p{constructor(c){this._element=c.documentElement}isRTL(){return"rtl"===(this._element.getAttribute("dir")||"").toLowerCase()}}return p.\u0275fac=function(c){return new(c||p)(t.LFG(Et.K0))},p.\u0275prov=t.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),p})();new Date(1882,10,12),new Date(2174,10,25);let va=(()=>{class p{}return p.\u0275fac=function(c){return new(c||p)},p.\u0275mod=t.oAB({type:p}),p.\u0275inj=t.cJS({imports:[Za,dl]}),p})(),Pa=(()=>{class p{constructor(){this.autoClose=!0,this.placement=["bottom-start","bottom-end","top-start","top-end"],this.popperOptions=c=>c}}return p.\u0275fac=function(c){return new(c||p)},p.\u0275prov=t.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),p})(),Dl=(()=>{class p{}
1return p.\u0275fac=function(c){return new(c||p)},p.\u0275dir=t.lG2({type:p,selectors:[["",8,"navbar"]],standalone:!0}),p})(),Ha=(()=>{class p{constructor(c,v){this.elementRef=c,this._renderer=v,this._disabled=!1}set disabled(c){this._disabled=""===c||!0===c,this._renderer.setProperty(this.elementRef.nativeElement,"disabled",this._disabled)}get disabled(){return this._disabled}}return p.\u0275fac=function(c){return new(c||p)(t.Y36(t.SBq),t.Y36(t.Qsj))},p.\u0275dir=t.lG2({type:p,selectors:[["","ngbDropdownItem",""]],hostAttrs:[1,"dropdown-item"],hostVars:3,hostBindings:function(c,v){2&c&&(t.Ikx("tabIndex",v.disabled?-1:0),t.ekj("disabled",v.disabled))},inputs:{disabled:"disabled"},standalone:!0}),p})(),Ja=(()=>{class p{constructor(c,v){this.dropdown=c,this.placement="bottom",this.isOpen=!1,this.nativeElement=v.nativeElement}}return p.\u0275fac=function(c){return new(c||p)(t.Y36((0,t.Gpc)(()=>Jo)),t.Y36(t.SBq))},p.\u0275dir=t.lG2({type:p,selectors:[["","ngbDropdownMenu",""]],contentQueries:function(c,v,x){if(1&c&&t.Suo(x,Ha,4),2&c){let ie;t.iGM(ie=t.CRH())&&(v.menuItems=ie)}},hostVars:4,hostBindings:function(c,v){1&c&&t.NdJ("keydown.ArrowUp",function(ie){return v.dropdown.onKeyDown(ie)})("keydown.ArrowDown",function(ie){return v.dropdown.onKeyDown(ie)})("keydown.Home",function(ie){return v.dropdown.onKeyDown(ie)})("keydown.End",function(ie){return v.dropdown.onKeyDown(ie)})("keydown.Enter",function(ie){return v.dropdown.onKeyDown(ie)})("keydown.Space",function(ie){return v.dropdown.onKeyDown(ie)})("keydown.Tab",function(ie){return v.dropdown.onKeyDown(ie)})("keydown.Shift.Tab",function(ie){return v.dropdown.onKeyDown(ie)}),2&c&&t.ekj("dropdown-menu",!0)("show",v.dropdown.isOpen())},standalone:!0}),p})(),Qa=(()=>{class p{constructor(c,v){this.dropdown=c,this.nativeElement=v.nativeElement}}return p.\u0275fac=function(c){return new(c||p)(t.Y36((0,t.Gpc)(()=>Jo)),t.Y36(t.SBq))},p.\u0275dir=t.lG2({type:p,selectors:[["","ngbDropdownAnchor",""]],hostAttrs:[1,"dropdown-toggle"],hostVars:1,hostBindings:function(c,v){2&c&&t.uIk("aria-expanded",v.dropdown.isOpen())},standalone:!0}),p})(),ko=(()=>{class p extends Qa{constructor(c,v){super(c,v)}}return p.\u0275fac=function(c){return new(c||p)(t.Y36((0,t.Gpc)(()=>Jo)),t.Y36(t.SBq))},p.\u0275dir=t.lG2({type:p,selectors:[["","ngbDropdownToggle",""]],hostAttrs:[1,"dropdown-toggle"],hostVars:1,hostBindings:function(c,v){1&c&&t.NdJ("click",function(){return v.dropdown.toggle()})("keydown.ArrowUp",function(ie){return v.dropdown.onKeyDown(ie)})("keydown.ArrowDown",function(ie){return v.dropdown.onKeyDown(ie)})("keydown.Home",function(ie){return v.dropdown.onKeyDown(ie)})("keydown.End",function(ie){return v.dropdown.onKeyDown(ie)})("keydown.Tab",function(ie){return v.dropdown.onKeyDown(ie)})("keydown.Shift.Tab",function(ie){return v.dropdown.onKeyDown(ie)}),2&c&&t.uIk("aria-expanded",v.dropdown.isOpen())},standalone:!0,features:[t._Bn([{provide:Qa,useExisting:(0,t.Gpc)(()=>p)}]),t.qOj]}),p})(),Jo=(()=>{class p{constructor(c,v,x,ie,$e,nt,ct,It){this._changeDetector=c,this._document=ie,this._ngZone=$e,this._elementRef=nt,this._renderer=ct,this._destroyCloseHandlers$=new D.x,this._bodyContainer=null,this._open=!1,this.openChange=new t.vpe,this.placement=x.placement,this.popperOptions=x.popperOptions,this.container=x.container,this.autoClose=x.autoClose,this._positioning=ao(v),this.display=It?"static":"dynamic"}ngAfterContentInit(){this._ngZone.onStable.pipe((0,He.q)(1)).subscribe(()=>{this._applyPlacementClasses(),this._open&&this._setCloseHandlers()})}ngOnChanges(c){if(c.container&&this._open&&this._applyContainer(this.container),c.placement&&!c.placement.firstChange&&(this._positioning.setOptions({hostElement:this._anchor.nativeElement,targetElement:this._bodyContainer||this._menu.nativeElement,placement:this.placement,appendToBody:"body"===this.container}),this._applyPlacementClasses()),c.dropdownClass){const{currentValue:v,previousValue:x}=c.dropdownClass;this._applyCustomDropdownClass(v,x)}c.autoClose&&this._open&&(this.autoClose=c.autoClose.currentValue,this._setCloseHandlers())}isOpen(){return this._open}open(){this._open||(this._open=!0,this._applyContainer(this.container),this.openChange.emit(!0),this._setCloseHandlers(),this._anchor&&(this._anchor.nativeElement.focus(),"dynamic"===this.display&&this._ngZone.runOutsideAngular(()=>{this._positioning.createPopper({hostElement:this._anchor.nativeElement,targetElement:this._bodyContainer||this._menu.nativeElement,placement:this.placement,appendToBody:"body"===this.container,updatePopperOptions:c=>this.popperOptions(Ia([0,2])(c))}),this._applyPlacementClasses(),this._zoneSubscription=this._ngZone.onStable.subscribe(()=>this._positionMenu())})))}_setCloseHandlers(){this._destroyCloseHandlers$.next(),Ie(this._ngZone,this._document,this.autoClose,c=>{this.close(),0===c&&this._anchor.nativeElement.focus()},this._destroyCloseHandlers$,this._menu?[this._menu.nativeElement]:[],this._anchor?[this._anchor.nativeElement]:[],".dropdown-item,.dropdown-divider")}close(){this._open&&(this._open=!1,this._resetContainer(),this._positioning.destroy(),this._zoneSubscription?.unsubscribe(),this._destroyCloseHandlers$.next(),this.openChange.emit(!1),this._changeDetector.markForCheck())}toggle(){this.isOpen()?this.close():this.open()}ngOnDestroy(){this.close()}onKeyDown(c){const v=c.which,x=this._getMenuElements();let ie=-1,$e=null;const nt=this._isEventFromToggle(c);if(!nt&&x.length&&x.forEach((ct,It)=>{ct.contains(c.target)&&($e=ct),ct===this._document.activeElement&&(ie=It)}),v!==sr.Space&&v!==sr.Enter){if(v!==sr.Tab){if(nt||$e){if(this.open(),x.length){switch(v){case sr.ArrowDown:ie=Math.min(ie+1,x.length-1);break;case sr.ArrowUp:if(this._isDropup()&&-1===ie){ie=x.length-1;break}ie=Math.max(ie-1,0);break;case sr.Home:ie=0;break;case sr.End:ie=x.length-1}x[ie].focus()}c.preventDefault()}}else if(c.target&&this.isOpen()&&this.autoClose){if(this._anchor.nativeElement===c.target)return void("body"!==this.container||c.shift
1Key?c.shiftKey&&this.close():(this._renderer.setAttribute(this._menu.nativeElement,"tabindex","0"),this._menu.nativeElement.focus(),this._renderer.removeAttribute(this._menu.nativeElement,"tabindex")));if("body"===this.container){const ct=this._menu.nativeElement.querySelectorAll(et);c.shiftKey&&c.target===ct[0]?(this._anchor.nativeElement.focus(),c.preventDefault()):!c.shiftKey&&c.target===ct[ct.length-1]&&(this._anchor.nativeElement.focus(),this.close())}else(0,M.R)(c.target,"focusout").pipe((0,He.q)(1)).subscribe(({relatedTarget:ct})=>{this._elementRef.nativeElement.contains(ct)||this.close()})}}else $e&&(!0===this.autoClose||"inside"===this.autoClose)&&(0,M.R)($e,"click").pipe((0,He.q)(1)).subscribe(()=>this.close())}_isDropup(){return this._elementRef.nativeElement.classList.contains("dropup")}_isEventFromToggle(c){return this._anchor.nativeElement.contains(c.target)}_getMenuElements(){const c=this._menu;return null==c?[]:c.menuItems.filter(v=>!v.disabled).map(v=>v.elementRef.nativeElement)}_positionMenu(){const c=this._menu;this.isOpen()&&c&&("dynamic"===this.display?(this._positioning.update(),this._applyPlacementClasses()):this._applyPlacementClasses(this._getFirstPlacement(this.placement)))}_getFirstPlacement(c){return Array.isArray(c)?c[0]:c.split(" ")[0]}_resetContainer(){const c=this._renderer;this._menu&&c.appendChild(this._elementRef.nativeElement,this._menu.nativeElement),this._bodyContainer&&(c.removeChild(this._document.body,this._bodyContainer),this._bodyContainer=null)}_applyContainer(c=null){if(this._resetContainer(),"body"===c){const v=this._renderer,x=this._menu.nativeElement,ie=this._bodyContainer=this._bodyContainer||v.createElement("div");v.setStyle(ie,"position","absolute"),v.setStyle(x,"position","static"),v.setStyle(ie,"z-index","1055"),v.appendChild(ie,x),v.appendChild(this._document.body,ie)}this._applyCustomDropdownClass(this.dropdownClass)}_applyCustomDropdownClass(c,v){const x="body"===this.container?this._bodyContainer:this._elementRef.nativeElement;x&&(v&&this._renderer.removeClass(x,v),c&&this._renderer.addClass(x,c))}_applyPlacementClasses(c){const v=this._menu;if(v){c||(c=this._getFirstPlacement(this.placement));const x=this._renderer,ie=this._elementRef.nativeElement;x.removeClass(ie,"dropup"),x.removeClass(ie,"dropdown");const{nativeElement:$e}=v;"static"===this.display?(v.placement=null,x.setAttribute($e,"data-bs-popper","static")):(v.placement=c,x.removeAttribute($e,"data-bs-popper"));const nt=-1!==c.search("^top")?"dropup":"dropdown";x.addClass(ie,nt);const ct=this._bodyContainer;ct&&(x.removeClass(ct,"dropup"),x.removeClass(ct,"dropdown"),x.addClass(ct,nt))}}}return p.\u0275fac=function(c){return new(c||p)(t.Y36(t.sBO),t.Y36(Ls),t.Y36(Pa),t.Y36(Et.K0),t.Y36(t.R0b),t.Y36(t.SBq),t.Y36(t.Qsj),t.Y36(Dl,8))},p.\u0275dir=t.lG2({type:p,selectors:[["","ngbDropdown",""]],contentQueries:function(c,v,x){if(1&c&&(t.Suo(x,Ja,5),t.Suo(x,Qa,5)),2&c){let ie;t.iGM(ie=t.CRH())&&(v._menu=ie.first),t.iGM(ie=t.CRH())&&(v._anchor=ie.first)}},hostVars:2,hostBindings:function(c,v){2&c&&t.ekj("show",v.isOpen())},inputs:{autoClose:"autoClose",dropdownClass:"dropdownClass",_open:["open","_open"],placement:"placement",popperOptions:"popperOptions",container:"container",display:"display"},outputs:{openChange:"openChange"},exportAs:["ngbDropdown"],standalone:!0,features:[t.TTD]}),p})(),_c=(()=>{class p{}return p.\u0275fac=function(c){return new(c||p)},p.\u0275mod=t.oAB({type:p}),p.\u0275inj=t.cJS({}),p})();class Ga{constructor(T,c,v){this.nodes=T,this.viewRef=c,this.componentRef=v}}class vc{constructor(T,c,v,x,ie,$e){this._componentType=T,this._injector=c,this._viewContainerRef=v,this._renderer=x,this._ngZone=ie,this._applicationRef=$e,this._windowRef=null,this._contentRef=null}open(T,c,v=!1){this._windowRef||(this._contentRef=this._getContentRef(T,c),this._windowRef=this._viewContainerRef.createComponent(this._componentType,{injector:this._injector,projectableNodes:this._contentRef.nodes}));const{nativeElement:x}=this._windowRef.location,ie=this._ngZone.onStable.pipe((0,He.q)(1),(0,tt.z)(()=>Ii(this._ngZone,x,({classList:$e})=>$e.add("show"),{animation:v,runningTransition:"continue"})));return{windowRef:this._windowRef,transition$:ie}}close(T=!1){return this._windowRef?Ii(this._ngZone,this._windowRef.location.nativeElement,({classList:c})=>c.remove("show"),{animation:T,runningTransition:"stop"}).pipe((0,De.b)(()=>{this._windowRef&&(this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._windowRef.hostView)),this._windowRef=null),this._contentRef?.viewRef&&(this._applicationRef.detachView(this._contentRef.viewRef),this._contentRef.viewRef.destroy(),this._contentRef=null)})):(0,S.of)(void 0)}_getContentRef(T,c){if(T){if(T instanceof t.Rgc){const v=T.createEmbeddedView(c);return this._applicationRef.attachView(v),new Ga([v.rootNodes],v)}return new Ga([[this._renderer.createText(`${T}`)]])}return new Ga([])}}let Gd=(()=>{class p{constructor(c,v){this._el=c,this._zone=v}ngOnInit(){this._zone.onStable.asObservable().pipe((0,He.q)(1)).subscribe(()=>{Ii(this._zone,this._el.nativeElement,(c,v)=>{v&&ui(c),c.classList.add("show")},{animation:this.animation,runningTransition:"continue"})})}hide(){return Ii(this._zone,this._el.nativeElement,({classList:c})=>c.remove("show"),{animation:this.animation,runningTransition:"stop"})}}
1return p.\u0275fac=function(c){return new(c||p)(t.Y36(t.SBq),t.Y36(t.R0b))},p.\u0275cmp=t.Xpm({type:p,selectors:[["ngb-modal-backdrop"]],hostAttrs:[2,"z-index","1055"],hostVars:6,hostBindings:function(c,v){2&c&&(t.Tol("modal-backdrop"+(v.backdropClass?" "+v.backdropClass:"")),t.ekj("show",!v.animation)("fade",v.animation))},inputs:{animation:"animation",backdropClass:"backdropClass"},standalone:!0,features:[t.jDz],decls:0,vars:0,template:function(c,v){},encapsulation:2}),p})();class Xu{close(T){}dismiss(T){}}class Qo{constructor(T,c,v,x){this._windowCmptRef=T,this._contentRef=c,this._backdropCmptRef=v,this._beforeDismiss=x,this._closed=new D.x,this._dismissed=new D.x,this._hidden=new D.x,T.instance.dismissEvent.subscribe(ie=>{this.dismiss(ie)}),this.result=new Promise((ie,$e)=>{this._resolve=ie,this._reject=$e}),this.result.then(null,()=>{})}get componentInstance(){if(this._contentRef&&this._contentRef.componentRef)return this._contentRef.componentRef.instance}get closed(){return this._closed.asObservable().pipe((0,me.R)(this._hidden))}get dismissed(){return this._dismissed.asObservable().pipe((0,me.R)(this._hidden))}get hidden(){return this._hidden.asObservable()}get shown(){return this._windowCmptRef.instance.shown.asObservable()}close(T){this._windowCmptRef&&(this._closed.next(T),this._resolve(T),this._removeModalElements())}_dismiss(T){this._dismissed.next(T),this._reject(T),this._removeModalElements()}dismiss(T){if(this._windowCmptRef)if(this._beforeDismiss){const c=this._beforeDismiss();!function Xe(p){return p&&p.then}(c)?!1!==c&&this._dismiss(T):c.then(v=>{!1!==v&&this._dismiss(T)},()=>{})}else this._dismiss(T)}_removeModalElements(){const T=this._windowCmptRef.instance.hide(),c=this._backdropCmptRef?this._backdropCmptRef.instance.hide():(0,S.of)(void 0);T.subscribe(()=>{const{nativeElement:v}=this._windowCmptRef.location;v.parentNode.removeChild(v),this._windowCmptRef.destroy(),this._contentRef&&this._contentRef.viewRef&&this._contentRef.viewRef.destroy(),this._windowCmptRef=null,this._contentRef=null}),c.subscribe(()=>{if(this._backdropCmptRef){const{nativeElement:v}=this._backdropCmptRef.location;v.parentNode.removeChild(v),this._backdropCmptRef.destroy(),this._backdropCmptRef=null}}),O(T,c).subscribe(()=>{this._hidden.next(),this._hidden.complete()})}}var Ru=(()=>{return(p=Ru||(Ru={}))[p.BACKDROP_CLICK=0]="BACKDROP_CLICK",p[p.ESC=1]="ESC",Ru;var p})();let Qh=(()=>{class p{constructor(c,v,x){this._document=c,this._elRef=v,this._zone=x,this._closed$=new D.x,this._elWithFocus=null,this.backdrop=!0,this.keyboard=!0,this.dismissEvent=new t.vpe,this.shown=new D.x,this.hidden=new D.x}get fullscreenClass(){return!0===this.fullscreen?" modal-fullscreen":zn(this.fullscreen)?` modal-fullscreen-${this.fullscreen}-down`:""}dismiss(c){this.dismissEvent.emit(c)}ngOnInit(){this._elWithFocus=this._document.activeElement,this._zone.onStable.asObservable().pipe((0,He.q)(1)).subscribe(()=>{this._show()})}ngOnDestroy(){this._disableEventHandling()}hide(){const{nativeElement:c}=this._elRef,v={animation:this.animation,runningTransition:"stop"},$e=O(Ii(this._zone,c,()=>c.classList.remove("show"),v),Ii(this._zone,this._dialogEl.nativeElement,()=>{},v));return $e.subscribe(()=>{this.hidden.next(),this.hidden.complete()}),this._disableEventHandling(),this._restoreFocus(),$e}_show(){const c={animation:this.animation,runningTransition:"continue"};O(Ii(this._zone,this._elRef.nativeElement,(ie,$e)=>{$e&&ui(ie),ie.classList.add("show")},c),Ii(this._zone,this._dialogEl.nativeElement,()=>{},c)).subscribe(()=>{this.shown.next(),this.shown.complete()}),this._enableEventHandling(),this._setFocus()}_enableEventHandling(){const{nativeElement:c}=this._elRef;this._zone.runOutsideAngular(()=>{(0,M.R)(c,"keydown").pipe((0,me.R)(this._closed$),(0,Fe.h)(x=>x.which===sr.Escape)).subscribe(x=>{this.keyboard?requestAnimationFrame(()=>{x.defaultPrevented||this._zone.run(()=>this.dismiss(Ru.ESC))}):"static"===this.backdrop&&this._bumpBackdrop()});let v=!1;(0,M.R)(this._dialogEl.nativeElement,"mousedown").pipe((0,me.R)(this._closed$),(0,De.b)(()=>v=!1),(0,ke.w)(()=>(0,M.R)(c,"mouseup").pipe((0,me.R)(this._closed$),(0,He.q)(1))),(0,Fe.h)(({target:x})=>c===x)).subscribe(()=>{v=!0}),(0,M.R)(c,"click").pipe((0,me.R)(this._closed$)).subscribe(({target:x})=>{c===x&&("static"===this.backdrop?this._bumpBackdrop():!0===this.backdrop&&!v&&this._zone.run(()=>this.dismiss(Ru.BACKDROP_CLICK))),v=!1})})}_disableEventHandling(){this._closed$.next()}_setFocus(){const{nativeElement:c}=this._elRef;if(!c.contains(document.activeElement)){const v=c.querySelector("[ngbAutofocus]"),x=mt(c)[0];(v||x||c).focus()}}_restoreFocus(){const c=this._document.body,v=this._elWithFocus;let x;x=v&&v.focus&&c.contains(v)?v:c,this._zone.runOutsideAngular(()=>{setTimeout(()=>x.focus()),this._elWithFocus=null})}_bumpBackdrop(){"static"===this.backdrop&&Ii(this._zone,this._elRef.nativeElement,({classList:c})=>(c.add("modal-static"),()=>c.remove("modal-static")),{animation:this.animation,runningTransition:"continue"})}}
1return p.\u0275fac=function(c){return new(c||p)(t.Y36(Et.K0),t.Y36(t.SBq),t.Y36(t.R0b))},p.\u0275cmp=t.Xpm({type:p,selectors:[["ngb-modal-window"]],viewQuery:function(c,v){if(1&c&&t.Gf(gs,7),2&c){let x;t.iGM(x=t.CRH())&&(v._dialogEl=x.first)}},hostAttrs:["role","dialog","tabindex","-1"],hostVars:7,hostBindings:function(c,v){2&c&&(t.uIk("aria-modal",!0)("aria-labelledby",v.ariaLabelledBy)("aria-describedby",v.ariaDescribedBy),t.Tol("modal d-block"+(v.windowClass?" "+v.windowClass:"")),t.ekj("fade",v.animation))},inputs:{animation:"animation",ariaLabelledBy:"ariaLabelledBy",ariaDescribedBy:"ariaDescribedBy",backdrop:"backdrop",centered:"centered",fullscreen:"fullscreen",keyboard:"keyboard",scrollable:"scrollable",size:"size",windowClass:"windowClass",modalDialogClass:"modalDialogClass"},outputs:{dismissEvent:"dismiss"},standalone:!0,features:[t.jDz],ngContentSelectors:lt,decls:4,vars:2,consts:[["role","document"],["dialog",""],[1,"modal-content"]],template:function(c,v){1&c&&(t.F$t(),t.TgZ(0,"div",0,1)(2,"div",2),t.Hsn(3),t.qZA()()),2&c&&t.Tol("modal-dialog"+(v.size?" modal-"+v.size:"")+(v.centered?" modal-dialog-centered":"")+v.fullscreenClass+(v.scrollable?" modal-dialog-scrollable":"")+(v.modalDialogClass?" "+v.modalDialogClass:""))},styles:["ngb-modal-window .component-host-scrollable{display:flex;flex-direction:column;overflow:hidden}\n"],encapsulation:2}),p})(),Ud=(()=>{class p{constructor(c){this._document=c}hide(){const c=Math.abs(window.innerWidth-this._document.documentElement.clientWidth),v=this._document.body,x=v.style,{overflow:ie,paddingRight:$e}=x;if(c>0){const nt=parseFloat(window.getComputedStyle(v).paddingRight);x.paddingRight=`${nt+c}px`}return x.overflow="hidden",()=>{c>0&&(x.paddingRight=$e),x.overflow=ie}}}return p.\u0275fac=function(c){return new(c||p)(t.LFG(Et.K0))},p.\u0275prov=t.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),p})(),cd=(()=>{class p{constructor(c,v,x,ie,$e,nt){this._applicationRef=c,this._injector=v,this._document=x,this._scrollBar=ie,this._rendererFactory=$e,this._ngZone=nt,this._activeWindowCmptHasChanged=new D.x,this._ariaHiddenValues=new Map,this._scrollBarRestoreFn=null,this._backdropAttributes=["animation","backdropClass"],this._modalRefs=[],this._windowAttributes=["animation","ariaLabelledBy","ariaDescribedBy","backdrop","centered","fullscreen","keyboard","scrollable","size","windowClass","modalDialogClass"],this._windowCmpts=[],this._activeInstances=new t.vpe,this._activeWindowCmptHasChanged.subscribe(()=>{if(this._windowCmpts.length){const ct=this._windowCmpts[this._windowCmpts.length-1];((p,T,c,v=!1)=>{p.runOutsideAngular(()=>{const x=(0,M.R)(T,"focusin").pipe((0,me.R)(c),(0,xe.U)(ie=>ie.target));(0,M.R)(T,"keydown").pipe((0,me.R)(c),(0,Fe.h)(ie=>ie.which===sr.Tab),(0,Ce.M)(x)).subscribe(([ie,$e])=>{const[nt,ct]=mt(T);($e===nt||$e===T)&&ie.shiftKey&&(ct.focus(),ie.preventDefault()),$e===ct&&!ie.shiftKey&&(nt.focus(),ie.preventDefault())}),v&&(0,M.R)(T,"click").pipe((0,me.R)(c),(0,Ce.M)(x),(0,xe.U)(ie=>ie[1])).subscribe(ie=>ie.focus())})})(this._ngZone,ct.location.nativeElement,this._activeWindowCmptHasChanged),this._revertAriaHidden(),this._setAriaHidden(ct.location.nativeElement)}})}_restoreScrollBar(){const c=this._scrollBarRestoreFn;c&&(this._scrollBarRestoreFn=null,c())}_hideScrollBar(){this._scrollBarRestoreFn||(this._scrollBarRestoreFn=this._scrollBar.hide())}open(c,v,x){const ie=x.container instanceof HTMLElement?x.container:ye(x.container)?this._document.querySelector(x.container):this._document.body,$e=this._rendererFactory.createRenderer(null,null);if(!ie)throw new Error(`The specified modal container "${x.container||"body"}" was not found in the DOM.`);this._hideScrollBar();const nt=new Xu,ct=this._getContentRef(x.injector||c,v,nt,x);let It=!1!==x.backdrop?this._attachBackdrop(ie):void 0,kt=this._attachWindowComponent(ie,ct.nodes),Dn=new Qo(kt,ct,It,x.beforeDismiss);return this._registerModalRef(Dn),this._registerWindowCmpt(kt),Dn.hidden.pipe((0,He.q)(1)).subscribe(()=>Promise.resolve(!0).then(()=>{this._modalRefs.length||($e.removeClass(this._document.body,"modal-open"),this._restoreScrollBar(),this._revertAriaHidden())})),nt.close=yn=>{Dn.close(yn)},nt.dismiss=yn=>
1{Dn.dismiss(yn)},this._applyWindowOptions(kt.instance,x),1===this._modalRefs.length&&$e.addClass(this._document.body,"modal-open"),It&&It.instance&&(this._applyBackdropOptions(It.instance,x),It.changeDetectorRef.detectChanges()),kt.changeDetectorRef.detectChanges(),Dn}get activeInstances(){return this._activeInstances}dismissAll(c){this._modalRefs.forEach(v=>v.dismiss(c))}hasOpenModals(){return this._modalRefs.length>0}_attachBackdrop(c){let v=(0,t.LMc)(Gd,{environmentInjector:this._applicationRef.injector,elementInjector:this._injector});return this._applicationRef.attachView(v.hostView),c.appendChild(v.location.nativeElement),v}_attachWindowComponent(c,v){let x=(0,t.LMc)(Qh,{environmentInjector:this._applicationRef.injector,elementInjector:this._injector,projectableNodes:v});return this._applicationRef.attachView(x.hostView),c.appendChild(x.location.nativeElement),x}_applyWindowOptions(c,v){this._windowAttributes.forEach(x=>{ye(v[x])&&(c[x]=v[x])})}_applyBackdropOptions(c,v){this._backdropAttributes.forEach(x=>{ye(v[x])&&(c[x]=v[x])})}_getContentRef(c,v,x,ie){return v?v instanceof t.Rgc?this._createFromTemplateRef(v,x):zn(v)?this._createFromString(v):this._createFromComponent(c,v,x,ie):new Ga([])}_createFromTemplateRef(c,v){const ie=c.createEmbeddedView({$implicit:v,close($e){v.close($e)},dismiss($e){v.dismiss($e)}});return this._applicationRef.attachView(ie),new Ga([ie.rootNodes],ie)}_createFromString(c){const v=this._document.createTextNode(`${c}`);return new Ga([[v]])}_createFromComponent(c,v,x,ie){const $e=t.zs3.create({providers:[{provide:Xu,useValue:x}],parent:c}),nt=(0,t.LMc)(v,{environmentInjector:this._applicationRef.injector,elementInjector:$e}),ct=nt.location.nativeElement;return ie.scrollable&&ct.classList.add("component-host-scrollable"),this._applicationRef.attachView(nt.hostView),new Ga([[ct]],nt.hostView,nt)}_setAriaHidden(c){const v=c.parentElement;v&&c!==this._document.body&&(Array.from(v.children).forEach(x=>{x!==c&&"SCRIPT"!==x.nodeName&&(this._ariaHiddenValues.set(x,x.getAttribute("aria-hidden")),x.setAttribute("aria-hidden","true"))}),this._setAriaHidden(v))}_revertAriaHidden(){this._ariaHiddenValues.forEach((c,v)=>{c?v.setAttribute("aria-hidden",c):v.removeAttribute("aria-hidden")}),this._ariaHiddenValues.clear()}_registerModalRef(c){const v=()=>{const x=this._modalRefs.indexOf(c);x>-1&&(this._modalRefs.splice(x,1),this._activeInstances.emit(this._modalRefs))};this._modalRefs.push(c),this._activeInstances.emit(this._modalRefs),c.result.then(v,v)}_registerWindowCmpt(c){this._windowCmpts.push(c),this._activeWindowCmptHasChanged.next(),c.onDestroy(()=>{const v=this._windowCmpts.indexOf(c);v>-1&&(this._windowCmpts.splice(v,1),this._activeWindowCmptHasChanged.next())})}}return p.\u0275fac=function(c){return new(c||p)(t.LFG(t.z2F),t.LFG(t.zs3),t.LFG(Et.K0),t.LFG(Ud),t.LFG(t.FYo),t.LFG(t.R0b))},p.\u0275prov=t.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),p})(),ef=(()=>{class p{constructor(c){this._ngbConfig=c,this.backdrop=!0,this.fullscreen=!1,this.keyboard=!0}get animation(){return void 0===this._animation?this._ngbConfig.animation:this._animation}set animation(c){this._animation=c}}return p.\u0275fac=function(c){return new(c||p)(t.LFG(fo))},p.\u0275prov=t.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),p})(),tf=(()=>{class p{constructor(c,v,x){this._injector=c,this._modalStack=v,this._config=x}open(c,v={}){const x={...this._config,animation:this._config.animation,...v};return this._modalStack.open(this._injector,c,x)}get activeInstances(){return this._modalStack.activeInstances}dismissAll(c){this._modalStack.dismissAll(c)}hasOpenModals(){return this._modalStack.hasOpenModals()}}return p.\u0275fac=function(c){return new(c||p)(t.LFG(t.zs3),t.LFG(cd),t.LFG(ef))},p.\u0275prov=t.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),p})(),dd=(()=>{class p{}return p.\u0275fac=function(c){return new(c||p)},p.\u0275mod=t.oAB({type:p}),p.\u0275inj=t.cJS({}),p})();const zr=({classList:p})=>(p.remove("show"),()=>p.remove("active")),jd=(p,T)=>{T&&ui(p),p.classList.add("show")};let ec=(()=>{class p{constructor(c){this.elRef=c}}
1return p.\u0275fac=function(c){return new(c||p)(t.Y36(t.SBq))},p.\u0275dir=t.lG2({type:p,selectors:[["","ngbNavPane",""]],hostAttrs:[1,"tab-pane"],hostVars:5,hostBindings:function(c,v){2&c&&(t.Ikx("id",v.item.panelDomId),t.uIk("role",v.role?v.role:v.nav.roles?"tabpanel":void 0)("aria-labelledby",v.item.domId),t.ekj("fade",v.nav.animation))},inputs:{item:"item",nav:"nav",role:"role"},standalone:!0}),p})(),ea=(()=>{class p{constructor(c,v){this._cd=c,this._ngZone=v,this._activePane=null}isPanelTransitioning(c){return this._activePane?.item===c}ngAfterViewInit(){this._updateActivePane(),this.nav.navItemChange$.pipe((0,me.R)(this.nav.destroy$),(0,Ne.O)(this._activePane?.item||null),(0,ze.x)(),(0,Wt.T)(1)).subscribe(c=>{const v={animation:this.nav.animation,runningTransition:"stop"};this._cd.detectChanges(),this._activePane?Ii(this._ngZone,this._activePane.elRef.nativeElement,zr,v).subscribe(()=>{const x=this._activePane?.item;this._activePane=this._getPaneForItem(c),this._cd.markForCheck(),this._activePane&&(this._activePane.elRef.nativeElement.classList.add("active"),Ii(this._ngZone,this._activePane.elRef.nativeElement,jd,v).subscribe(()=>{c&&(c.shown.emit(),this.nav.shown.emit(c.id))})),x&&(x.hidden.emit(),this.nav.hidden.emit(x.id))}):this._updateActivePane()})}_updateActivePane(){this._activePane=this._getActivePane(),this._activePane?.elRef.nativeElement.classList.add("show"),this._activePane?.elRef.nativeElement.classList.add("active")}_getPaneForItem(c){return this._panes&&this._panes.find(v=>v.item===c)||null}_getActivePane(){return this._panes&&this._panes.find(c=>c.item.active)||null}}return p.\u0275fac=function(c){return new(c||p)(t.Y36(t.sBO),t.Y36(t.R0b))},p.\u0275cmp=t.Xpm({type:p,selectors:[["","ngbNavOutlet",""]],viewQuery:function(c,v){if(1&c&&t.Gf(ec,5),2&c){let x;t.iGM(x=t.CRH())&&(v._panes=x)}},hostVars:2,hostBindings:function(c,v){2&c&&t.ekj("tab-content",!0)},inputs:{paneRole:"paneRole",nav:["ngbNavOutlet","nav"]},standalone:!0,features:[t.jDz],attrs:ns,decls:1,vars:1,consts:[["ngFor","",3,"ngForOf"],["ngbNavPane","",3,"item","nav","role",4,"ngIf"],["ngbNavPane","",3,"item","nav","role"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(c,v){1&c&&t.YNc(0,le,1,1,"ng-template",0),2&c&&t.Q6J("ngForOf",v.nav.items)},dependencies:[ec,Et.ax,Et.O5,Et.tP],encapsulation:2,changeDetection:0}),p})(),Hl=(()=>{class p{}return p.\u0275fac=function(c){return new(c||p)},p.\u0275mod=t.oAB({type:p}),p.\u0275inj=t.cJS({imports:[ea]}),p})(),Wd=(()=>{class p{constructor(){this.disabled=!1,this.boundaryLinks=!1,this.directionLinks=!0,this.ellipses=!0,this.maxSize=0,this.pageSize=10,this.rotate=!1}}return p.\u0275fac=function(c){return new(c||p)},p.\u0275prov=t.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),p})(),tc=(()=>{class p{constructor(c){this.templateRef=c}}return p.\u0275fac=function(c){return new(c||p)(t.Y36(t.Rgc))},p.\u0275dir=t.lG2({type:p,selectors:[["ng-template","ngbPaginationEllipsis",""]],standalone:!0}),p})(),pd=(()=>{class p{constructor(c){this.templateRef=c}}return p.\u0275fac=function(c){return new(c||p)(t.Y36(t.Rgc))},p.\u0275dir=t.lG2({type:p,selectors:[["ng-template","ngbPaginationFirst",""]],standalone:!0}),p})(),Ec=(()=>{class p{constructor(c){this.templateRef=c}}return p.\u0275fac=function(c){return new(c||p)(t.Y36(t.Rgc))},p.\u0275dir=t.lG2({type:p,selectors:[["ng-template","ngbPaginationLast",""]],standalone:!0}),p})(),Il=(()=>{class p{constructor(c){this.templateRef=c}}return p.\u0275fac=function(c){return new(c||p)(t.Y36(t.Rgc))},p.\u0275dir=t.lG2({type:p,selectors:[["ng-template","ngbPaginationNext",""]],standalone:!0}),p})(),ku=(()=>{class p{constructor(c){this.templateRef=c}}return p.\u0275fac=function(c){return new(c||p)(t.Y36(t.Rgc))},p.\u0275dir=t.lG2({type:p,selectors:[["ng-template","ngbPaginationNumber",""]],standalone:!0}),p})(),Fu=(()=>{class p{constructor(c){this.templateRef=c}}return p.\u0275fac=function(c){return new(c||p)(t.Y36(t.Rgc))},p.\u0275dir=t.lG2({type:p,selectors:[["ng-template","ngbPaginationPrevious",""]],standalone:!0}),p})(),Gl=(()=>{class p{constructor(c){this.templateRef=c}}
1return p.\u0275fac=function(c){return new(c||p)(t.Y36(t.Rgc))},p.\u0275dir=t.lG2({type:p,selectors:[["ng-template","ngbPaginationPages",""]],standalone:!0}),p})(),gd=(()=>{class p{constructor(c){this.pageCount=0,this.pages=[],this.page=1,this.pageChange=new t.vpe(!0),this.disabled=c.disabled,this.boundaryLinks=c.boundaryLinks,this.directionLinks=c.directionLinks,this.ellipses=c.ellipses,this.maxSize=c.maxSize,this.pageSize=c.pageSize,this.rotate=c.rotate,this.size=c.size}hasPrevious(){return this.page>1}hasNext(){return this.page<this.pageCount}nextDisabled(){return!this.hasNext()||this.disabled}previousDisabled(){return!this.hasPrevious()||this.disabled}selectPage(c){this._updatePages(c)}ngOnChanges(c){this._updatePages(this.page)}isEllipsis(c){return-1===c}_applyEllipses(c,v){this.ellipses&&(c>0&&(c>2?this.pages.unshift(-1):2===c&&this.pages.unshift(2),this.pages.unshift(1)),v<this.pageCount&&(v<this.pageCount-2?this.pages.push(-1):v===this.pageCount-2&&this.pages.push(this.pageCount-1),this.pages.push(this.pageCount)))}_applyRotation(){let c=0,v=this.pageCount,x=Math.floor(this.maxSize/2);return this.page<=x?v=this.maxSize:this.pageCount-this.page<x?c=this.pageCount-this.maxSize:(c=this.page-x-1,v=this.page+(this.maxSize%2==0?x-1:x)),[c,v]}_applyPagination(){let v=(Math.ceil(this.page/this.maxSize)-1)*this.maxSize;return[v,v+this.maxSize]}_setPageInRange(c){const v=this.page;this.page=Ur(c,this.pageCount,1),this.page!==v&&G(this.collectionSize)&&this.pageChange.emit(this.page)}_updatePages(c){this.pageCount=Math.ceil(this.collectionSize/this.pageSize),G(this.pageCount)||(this.pageCount=0),this.pages.length=0;for(let v=1;v<=this.pageCount;v++)this.pages.push(v);if(this._setPageInRange(c),this.maxSize>0&&this.pageCount>this.maxSize){let v=0,x=this.pageCount;[v,x]=this.rotate?this._applyRotation():this._applyPagination(),this.pages=this.pages.slice(v,x),this._applyEllipses(v,x)}}}return p.\u0275fac=function(c){return new(c||p)(t.Y36(Wd))},p.\u0275cmp=t.Xpm({type:p,selectors:[["ngb-pagination"]],contentQueries:function(c,v,x){if(1&c&&(t.Suo(x,tc,5),t.Suo(x,pd,5),t.Suo(x,Ec,5),t.Suo(x,Il,5),t.Suo(x,ku,5),t.Suo(x,Fu,5),t.Suo(x,Gl,5)),2&c){let ie;t.iGM(ie=t.CRH())&&(v.tplEllipsis=ie.first),t.iGM(ie=t.CRH())&&(v.tplFirst=ie.first),t.iGM(ie=t.CRH())&&(v.tplLast=ie.first),t.iGM(ie=t.CRH())&&(v.tplNext=ie.first),t.iGM(ie=t.CRH())&&(v.tplNumber=ie.first),t.iGM(ie=t.CRH())&&(v.tplPrevious=ie.first),t.iGM(ie=t.CRH())&&(v.tplPages=ie.first)}},hostAttrs:["role","navigation"],inputs:{disabled:"disabled",boundaryLinks:"boundaryLinks",directionLinks:"directionLinks",ellipses:"ellipses",rotate:"rotate",collectionSize:"collectionSize",maxSize:"maxSize",page:"page",pageSize:"pageSize",size:"size"},outputs:{pageChange:"pageChange"},standalone:!0,features:[t.TTD,t.jDz],decls:20,vars:12,consts:function(){let T,c,v,x,ie,$e,nt,ct;return T=$localize`:@@ngb.pagination.first:««`,c=$localize`:@@ngb.pagination.previous:«`,v=$localize`:@@ngb.pagination.next:»`,x=$localize`:@@ngb.pagination.last:»»`,ie=$localize`:@@ngb.pagination.first-aria:First`,$e=$localize`:@@ngb.pagination.previous-aria:Previous`,nt=$localize`:@@ngb.pagination.next-aria:Next`,ct=$localize`:@@ngb.pagination.last-aria:Last`,[["first",""],["previous",""],["next",""],["last",""],["ellipsis",""],["defaultNumber",""],["defaultPages",""],["class","page-item",3,"disabled",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["aria-hidden","true"],T,c,v,x,["class","visually-hidden",4,"ngIf"],[1,"visually-hidden"],["class","page-item",3,"active","disabled",4,"ngFor","ngForOf"],[1,"page-item"],["class","page-link","tabindex","-1","aria-disabled","true",4,"ngIf"],["class","page-link","href","",3,"click",4,"ngIf"],["tabindex","-1","aria-disabled","true",1,"page-link"],["href","",1,"page-link",3,"click"],["aria-label",ie,"href","",1,"page-link",3,"click"],["aria-label",$e,"href","",1,"page-link",3,"click"],["aria-label",nt,"href","",1,"page-link",3,"click"],["aria-label",ct,"href","",1,"page-link",3,"click"]]},template:function(c,v){if(1&c&&(t.YNc(0,se,2,0,"ng-template",null,0,t.W1O),t.YNc(2,Q,2,0,"ng-template",null,1,t.W1O),t.YNc(4,Ee,2,0,"ng-template",null,2,t.W1O),t.YNc(6,wt,2,0,"ng-template",null,3,t.W1O),t.YNc(8,ln,1,0,"ng-template",null,4,t.W1O),t.YNc(10,Gs,2,2,"ng-template",null,5,t.W1O),t.YNc(12,Qs,1,1,"ng-template",null,6,t.W1O),t.TgZ(14,"ul"),t.YNc(15,Us,3,9,"li",7),t.YNc(16,Ts,3,8,"li",7),t.YNc(17,yl,0,0,"ng-template",8),t.YNc(18,Ea,3,9,"li",7),t.YNc(19,Hi,3,9,"li",7),t.qZA()),2&c){const x=t.MAs(13);t.xp6(14),t.Tol("pagination"+(v.size?" pagination-"+v.size:"")),t.xp6(1),t.Q6J("ngIf",v.boun
1daryLinks),t.xp6(1),t.Q6J("ngIf",v.directionLinks),t.xp6(1),t.Q6J("ngTemplateOutlet",(null==v.tplPages?null:v.tplPages.templateRef)||x)("ngTemplateOutletContext",t.kEZ(8,Ds,v.page,v.pages,v.disabled)),t.xp6(1),t.Q6J("ngIf",v.directionLinks),t.xp6(1),t.Q6J("ngIf",v.boundaryLinks)}},dependencies:[Et.O5,Et.ax,Et.tP],encapsulation:2,changeDetection:0}),p})(),Tc=(()=>{class p{}return p.\u0275fac=function(c){return new(c||p)},p.\u0275mod=t.oAB({type:p}),p.\u0275inj=t.cJS({imports:[gd]}),p})();class _d{constructor(T,c){this.open=T,this.close=c,c||(this.close=T)}isManual(){return"manual"===this.open||"manual"===this.close}}const nc={hover:["mouseenter","mouseleave"],focus:["focusin","focusout"]},vd=p=>p>0?jt(p):T=>T;function Sc(p,T,c,v,x,ie,$e=0,nt=0){const ct=function nf(p,T=nc){const c=(p||"").trim();if(0===c.length)return[];const v=c.split(/\s+/).map(ie=>ie.split(":")).map(ie=>{let $e=T[ie[0]]||ie;return new _d($e[0],$e[1])}),x=v.filter(ie=>ie.isManual());if(x.length>1)throw"Triggers parse error: only one manual trigger is allowed";if(1===x.length&&v.length>1)throw"Triggers parse error: manual trigger can't be mixed with other triggers";return v}(c);if(1===ct.length&&ct[0].isManual())return()=>{};const It=function zd(p,T,c,v){return new f.y(x=>{const ie=[],$e=()=>x.next(!0),nt=()=>x.next(!1),ct=()=>x.next(!v());return c.forEach(It=>{It.open===It.close?ie.push(p.listen(T,It.open,ct)):ie.push(p.listen(T,It.open,$e),p.listen(T,It.close,nt))}),()=>{ie.forEach(It=>It())}})}(p,T,ct,v).pipe(function Cc(p,T,c){return v=>{let x=null;const ie=v.pipe((0,xe.U)(ct=>({open:ct})),(0,Fe.h)(ct=>{const It=c();return It===ct.open||x&&x.open!==It?(x&&x.open!==ct.open&&(x=null),!1):(x=ct,!0)}),(0,Ut.B)()),$e=ie.pipe((0,Fe.h)(ct=>ct.open),vd(p)),nt=ie.pipe((0,Fe.h)(ct=>!ct.open),vd(T));return(0,X.T)($e,nt).pipe((0,Fe.h)(ct=>ct===x&&(x=null,ct.open!==c())),(0,xe.U)(ct=>ct.open))}}($e,nt,v)).subscribe(kt=>kt?x():ie());return()=>It.unsubscribe()}let wc=(()=>{class p{constructor(c){this._ngbConfig=c,this.autoClose=!0,this.placement="auto",this.popperOptions=v=>v,this.triggers="click",this.disablePopover=!1,this.openDelay=0,this.closeDelay=0}get animation(){return void 0===this._animation?this._ngbConfig.animation:this._animation}set animation(c){this._animation=c}}return p.\u0275fac=function(c){return new(c||p)(t.LFG(fo))},p.\u0275prov=t.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),p})(),Kd=0,Ac=(()=>{class p{isTitleTemplate(){return this.title instanceof t.Rgc}}return p.\u0275fac=function(c){return new(c||p)},p.\u0275cmp=t.Xpm({type:p,selectors:[["ngb-popover-window"]],hostAttrs:["role","tooltip"],hostVars:5,hostBindings:function(c,v){2&c&&(t.Ikx("id",v.id),t.Tol("popover"+(v.popoverClass?" "+v.popoverClass:"")),t.ekj("fade",v.animation))},inputs:{animation:"animation",title:"title",id:"id",popoverClass:"popoverClass",context:"context"},standalone:!0,features:[t.jDz],ngContentSelectors:lt,decls:4,vars:1,consts:[["data-popper-arrow","",1,"popover-arrow"],["class","popover-header",4,"ngIf"],[1,"popover-body"],[1,"popover-header"],["simpleTitle",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(c,v){1&c&&(t.F$t(),t._UZ(0,"div",0),t.YNc(1,Ri,4,2,"h3",1),t.TgZ(2,"div",2),t.Hsn(3),t.qZA()),2&c&&(t.xp6(1),t.Q6J("ngIf",v.title))},dependencies:[Et.tP,Et.O5],encapsulation:2,changeDetection:0}),p})(),yd=(()=>{class p{constructor(c,v,x,ie,$e,nt,ct,It,kt,Dn){this._elementRef=c,this._renderer=x,this._ngZone=ct,this._document=It,this._changeDetector=kt,this.shown=new t.vpe,this.hidden=new t.vpe,this._ngbPopoverWindowId="ngb-popover-"+Kd++,this._windowRef=null,this.animation=nt.animation,this.autoClose=nt.autoClose,this.placement=nt.placement,this.popperOptions=nt.popperOptions,this.triggers=nt.triggers,this.container=nt.container,this.disablePopover=nt.disablePopover,this.popoverClass=nt.popoverClass,this.openDelay=nt.openDelay,this.closeDelay=nt.closeDelay,this._positioning=ao(v),this._popupService=new vc(Ac,ie,$e,x,this._ngZone,Dn)}_isDisabled(){return!(!this.disablePopover&&(this.ngbPopover||this.popoverTitle))}open(c){if(!this._windowRef&&!this._isDisabled()){const{windowRef:v,transition$:x}=this._popupService.open(this.ngbPopover,c,this.animation);this._windowRef=v,this._windowRef.setInput("animation",this.animation),this._windowRef.setInput("title",this.popoverTitle),this._windowRef.setInput("context",c),this._windowRef.setInput("popoverClass",this.popoverClass),this._windowRef.setInput("id",this._ngbPopoverWindowId),this._renderer.setAttribute(this._getPositionTargetElement(),"aria-describedby",this._ngbPopoverWindowId),"body"===this.container&&this._document.querySelector(this.container).appendChild(this._windowRef.location.nativeElement),this._windowRef.changeDetectorRef.detectChanges(),this._windowRef.changeDetectorRef.markForCheck(),this._ngZone.runOutsideAngular(()=>{this._positioning.createPopper({hostElement:this._getPositionTargetElement(),targetElement:this._windowRef.location.nativeElement,placement:this.placement,appendToBody:"body"===this.container,baseClass:"bs-popover",updatePopperOptions:ie=>this.popperOptions(Ia([0,8])(ie))}),Promise.resolve().then(()=>
1{this._positioning.update(),this._zoneSubscription=this._ngZone.onStable.subscribe(()=>this._positioning.update())})}),Ie(this._ngZone,this._document,this.autoClose,()=>this.close(),this.hidden,[this._windowRef.location.nativeElement]),x.subscribe(()=>this.shown.emit())}}close(c=this.animation){this._windowRef&&(this._renderer.removeAttribute(this._getPositionTargetElement(),"aria-describedby"),this._popupService.close(c).subscribe(()=>{this._windowRef=null,this._positioning.destroy(),this._zoneSubscription?.unsubscribe(),this.hidden.emit(),this._changeDetector.markForCheck()}))}toggle(){this._windowRef?this.close():this.open()}isOpen(){return null!=this._windowRef}ngOnInit(){this._unregisterListenersFn=Sc(this._renderer,this._elementRef.nativeElement,this.triggers,this.isOpen.bind(this),this.open.bind(this),this.close.bind(this),+this.openDelay,+this.closeDelay)}ngOnChanges({ngbPopover:c,popoverTitle:v,disablePopover:x,popoverClass:ie}){ie&&this.isOpen()&&(this._windowRef.instance.popoverClass=ie.currentValue),(c||v||x)&&this._isDisabled()&&this.close()}ngOnDestroy(){this.close(!1),this._unregisterListenersFn?.()}_getPositionTargetElement(){return(zn(this.positionTarget)?this._document.querySelector(this.positionTarget):this.positionTarget)||this._elementRef.nativeElement}}return p.\u0275fac=function(c){return new(c||p)(t.Y36(t.SBq),t.Y36(Ls),t.Y36(t.Qsj),t.Y36(t.zs3),t.Y36(t.s_b),t.Y36(wc),t.Y36(t.R0b),t.Y36(Et.K0),t.Y36(t.sBO),t.Y36(t.z2F))},p.\u0275dir=t.lG2({type:p,selectors:[["","ngbPopover",""]],inputs:{animation:"animation",autoClose:"autoClose",ngbPopover:"ngbPopover",popoverTitle:"popoverTitle",placement:"placement",popperOptions:"popperOptions",triggers:"triggers",positionTarget:"positionTarget",container:"container",disablePopover:"disablePopover",popoverClass:"popoverClass",openDelay:"openDelay",closeDelay:"closeDelay"},outputs:{shown:"shown",hidden:"hidden"},exportAs:["ngbPopover"],standalone:!0,features:[t.TTD]}),p})(),ua=(()=>{class p{}return p.\u0275fac=function(c){return new(c||p)},p.\u0275mod=t.oAB({type:p}),p.\u0275inj=t.cJS({}),p})(),qd=(()=>{class p{constructor(){this.max=100,this.animated=!1,this.ariaLabel="progress bar",this.striped=!1,this.showValue=!1}}return p.\u0275fac=function(c){return new(c||p)},p.\u0275prov=t.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),p})(),rf=(()=>{class p{constructor(c){this.value=0,this.max=c.max,this.animated=c.animated,this.ariaLabel=c.ariaLabel,this.striped=c.striped,this.textType=c.textType,this.type=c.type,this.showValue=c.showValue,this.height=c.height}set max(c){this._max=!G(c)||c<=0?100:c}get max(){return this._max}getValue(){return Ur(this.value,this.max)}getPercentValue(){return 100*this.getValue()/this.max}}return p.\u0275fac=function(c){return new(c||p)(t.Y36(qd))},p.\u0275cmp=t.Xpm({type:p,selectors:[["ngb-progressbar"]],hostAttrs:[1,"progress"],hostVars:2,hostBindings:function(c,v){2&c&&t.Udp("height",v.height)},inputs:{max:"max",animated:"animated",ariaLabel:"ariaLabel",striped:"striped",showValue:"showValue",textType:"textType",type:"type",value:"value",height:"height"},standalone:!0,features:[t.jDz],ngContentSelectors:lt,decls:3,vars:12,consts:function(){let T;return T=$localize`:@@ngb.progressbar.value:${"\ufffd0\ufffd"}:INTERPOLATION:`,[["role","progressbar","aria-valuemin","0"],[4,"ngIf"],T]},template:function(c,v){1&c&&(t.F$t(),t.TgZ(0,"div",0),t.YNc(1,To,3,3,"span",1),t.Hsn(2),t.qZA()),2&c&&(t.DjV("progress-bar",v.type?" bg-"+v.type:"","",v.textType?" text-"+v.textType:"","\n    ",v.animated?" progress-bar-animated":"","",v.striped?" progress-bar-striped":"",""),t.Udp("width",v.getPercentValue(),"%"),t.uIk("aria-valuenow",v.getValue())("aria-valuemax",v.max)("aria-label",v.ariaLabel),t.xp6(1),t.Q6J("ngIf",v.showValue))},dependencies:[Et.O5,Et.Zx],encapsulation:2,changeDetection:0}),p})(),Yd=(()=>{class p{}return p.\u0275fac=function(c){return new(c||p)},p.\u0275mod=t.oAB({type:p}),p.\u0275inj=t.cJS({imports:[rf]}),p})(),sf=(()=>{class p{constructor(){this.max=10,this.readonly=!1,this.resettable=!1,this.tabindex=0}}return p.\u0275fac=function(c){return new(c||p)},p.\u0275prov=t.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),p})(),Ul=(()=>{class p{constructor(c,v){this._changeDetectorRef=v,this.contexts=[],this.disabled=!1,this.hover=new t.vpe,this.leave=ne
1w t.vpe,this.rateChange=new t.vpe(!0),this.onChange=x=>{},this.onTouched=()=>{},this.max=c.max,this.readonly=c.readonly,this.tabindex=c.tabindex}ariaValueText(){return`${this.nextRate} out of ${this.max}`}isInteractive(){return!this.readonly&&!this.disabled}enter(c){this.isInteractive()&&this._updateState(c),this.hover.emit(c)}handleBlur(){this.onTouched()}handleClick(c){this.isInteractive()&&this.update(this.resettable&&this.rate===c?0:c)}handleKeyDown(c){switch(c.which){case sr.ArrowDown:case sr.ArrowLeft:this.update(this.rate-1);break;case sr.ArrowUp:case sr.ArrowRight:this.update(this.rate+1);break;case sr.Home:this.update(0);break;case sr.End:this.update(this.max);break;default:return}c.preventDefault()}ngOnChanges(c){c.rate&&this.update(this.rate),c.max&&this._updateMax()}ngOnInit(){this._setupContexts(),this._updateState(this.rate)}registerOnChange(c){this.onChange=c}registerOnTouched(c){this.onTouched=c}reset(){this.leave.emit(this.nextRate),this._updateState(this.rate)}setDisabledState(c){this.disabled=c}update(c,v=!0){const x=Ur(c,this.max,0);this.isInteractive()&&this.rate!==x&&(this.rate=x,this.rateChange.emit(this.rate)),v&&(this.onChange(this.rate),this.onTouched()),this._updateState(this.rate)}writeValue(c){this.update(c,!1),this._changeDetectorRef.markForCheck()}
1_updateState(c){this.nextRate=c,this.contexts.forEach((v,x)=>v.fill=Math.round(100*Ur(c-x,1,0)))}_updateMax(){this.max>0&&(this._setupContexts(),this.update(this.rate))}_setupContexts(){this.contexts=Array.from({length:this.max},(c,v)=>({fill:0,index:v}))}}return p.\u0275fac=function(c){return new(c||p)(t.Y36(sf),t.Y36(t.sBO))},p.\u0275cmp=t.Xpm({type:p,selectors:[["ngb-rating"]],contentQueries:function(c,v,x){if(1&c&&t.Suo(x,t.Rgc,5),2&c){let ie;t.iGM(ie=t.CRH())&&(v.starTemplateFromContent=ie.first)}},hostAttrs:["role","slider","aria-valuemin","0",1,"d-inline-flex"],hostVars:5,hostBindings:function(c,v){1&c&&t.NdJ("blur",function(){return v.handleBlur()})("keydown",function(ie){return v.handleKeyDown(ie)})("mouseleave",function(){return v.reset()}),2&c&&(t.Ikx("tabindex",v.disabled?-1:v.tabindex),t.uIk("aria-valuemax",v.max)("aria-valuenow",v.nextRate)("aria-valuetext",v.ariaValueText())("aria-disabled",!!v.readonly||null))},inputs:{max:"max",rate:"rate",readonly:"readonly",resettable:"resettable",starTemplate:"starTemplate",tabindex:"tabindex"},outputs:{hover:"hover",leave:"leave",rateChange:"rateChange"},standalone:!0,features:[t._Bn([{provide:dn.JU,useExisting:(0,t.Gpc)(()=>p),multi:!0}]),t.TTD,t.jDz],decls:3,vars:1,consts:[["t",""],["ngFor","",3,"ngForOf"],[1,"visually-hidden"],[3,"mouseenter","click"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(c,v){1&c&&(t.YNc(0,to,1,1,"ng-template",null,0,t.W1O),t.YNc(2,ra,4,5,"ng-template",1)),2&c&&(t.xp6(2),t.Q6J("ngForOf",v.contexts))},dependencies:[Et.ax,Et.tP],encapsulation:2,changeDetection:0}),p})(),Zd=(()=>{class p{}return p.\u0275fac=function(c){return new(c||p)},p.\u0275mod=t.oAB({type:p}),p.\u0275inj=t.cJS({imports:[Ul]}),p})();class bd{constructor(T,c,v){this.hour=rr(T),this.minute=rr(c),this.second=rr(v)}changeHour(T=1){this.updateHour((isNaN(this.hour)?0:this.hour)+T)}updateHour(T){this.hour=G(T)?(T<0?24+T:T)%24:NaN}changeMinute(T=1){this.updateMinute((isNaN(this.minute)?0:this.minute)+T)}updateMinute(T){G(T)?(this.minute=T%60<0?60+T%60:T%60,this.changeHour(Math.floor(T/60))):this.minute=NaN}changeSecond(T=1){this.updateSecond((isNaN(this.second)?0:this.second)+T)}updateSecond(T){G(T)?(this.second=T<0?60+T%60:T%60,this.changeMinute(Math.floor(T/60))):this.second=NaN}isValid(T=!0){return G(this.hour)&&G(this.minute)&&(!T||G(this.second))}toString(){return`${this.hour||0}:${this.minute||0}:${this.second||0}`}}let Dc=(()=>{class p{constructor(){this.meridian=!1,this.spinners=!0,this.seconds=!1,this.hourStep=1,this.minuteStep=1,this.secondStep=1,this.disabled=!1,this.readonlyInputs=!1,this.size="medium"}}return p.\u0275fac=function(c){return new(c||p)},p.\u0275prov=t.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),p})(),Td=(()=>{class p{}return p.\u0275fac=function(c){return new(c||p)},p.\u0275prov=t.Yz7({token:p,factory:function(){return function Ed(){return new Xd}()},providedIn:"root"}),p})(),Xd=(()=>{class p extends Td{fromModel(c){return c&&K(c.hour)&&K(c.minute)?{hour:c.hour,minute:c.minute,second:K(c.second)?c.second:null}:null}toModel(c){return c&&K(c.hour)&&K(c.minute)?{hour:c.hour,minute:c.minute,second:K(c.second)?c.second:null}:null}}return p.\u0275fac=function(){let T;return function(v){return(T||(T=t.n5z(p)))(v||p)}}(),p.\u0275prov=t.Yz7({token:p,factory:p.\u0275fac}),p})(),$l=(()=>{class p{}return p.\u0275fac=function(c){return new(c||p)},p.\u0275prov=t.Yz7({token:p,factory:function(c){let v=null;return v=c?new c:function Ic(p){return new af(p)}(t.LFG(t.soG)),v},providedIn:"root"}),p})(),af=(()=>{class p extends $l{constructor(c){super(),this._periods=(0,Et.ol)(c,Et.x.Standalone,Et.Tn.Narrow)}getMorningPeriod(){return this._periods[0]}getAfternoonPeriod(){return this._periods[1]}}return p.\u0275fac=function(c){return new(c||p)(t.LFG(t.soG))},p.\u0275prov=t.Yz7({token:p,factory:p.\u0275fac}),p})();const Jd=/[^0-9]/g;let Qd=(()=>{class p{constructor(c,v,x,ie){this._config=c,this._ngbTimeAdapter=v,this._cd=x,this.i18n=ie,this.onChange=$e=>{},this.onTouched=()=>{},this.meridian=c.meridian,this.spinners=c.spinners,this.seconds=c.seconds,this.hourStep=c.hourStep,this.minuteStep=c.minuteStep,this.secondStep=c.secondStep,this.disabled=c.disabled,this.readonlyInput
1s=c.readonlyInputs,this.size=c.size}set hourStep(c){this._hourStep=K(c)?c:this._config.hourStep}get hourStep(){return this._hourStep}set minuteStep(c){this._minuteStep=K(c)?c:this._config.minuteStep}get minuteStep(){return this._minuteStep}set secondStep(c){this._secondStep=K(c)?c:this._config.secondStep}get secondStep(){return this._secondStep}writeValue(c){const v=this._ngbTimeAdapter.fromModel(c);this.model=v?new bd(v.hour,v.minute,v.second):new bd,!this.seconds&&(!v||!G(v.second))&&(this.model.second=0),this._cd.markForCheck()}registerOnChange(c){this.onChange=c}registerOnTouched(c){this.onTouched=c}setDisabledState(c){this.disabled=c}changeHour(c){this.model?.changeHour(c),this.propagateModelChange()}changeMinute(c){this.model?.changeMinute(c),this.propagateModelChange()}changeSecond(c){this.model?.changeSecond(c),this.propagateModelChange()}updateHour(c){const v=!!this.model&&this.model.hour>=12,x=rr(c);this.model?.updateHour(this.meridian&&(v&&x<12||!v&&12===x)?x+12:x),this.propagateModelChange()}updateMinute(c){this.model?.updateMinute(rr(c)),this.prop
1agateModelChange()}updateSecond(c){this.model?.updateSecond(rr(c)),this.propagateModelChange()}toggleMeridian(){this.meridian&&this.changeHour(12)}formatInput(c){c.value=c.value.replace(Jd,"")}formatHour(c){return G(c)?xt(this.meridian?c%12==0?12:c%12:c%24):xt(NaN)}formatMinSec(c){return xt(G(c)?c:NaN)}handleBlur(){this.onTouched()}get isSmallSize(){return"small"===this.size}get isLargeSize(){return"large"===this.size}ngOnChanges(c){c.seconds&&!this.seconds&&this.model&&!G(this.model.second)&&(this.model.second=0,this.propagateModelChange(!1))}propagateModelChange(c=!0){c&&this.onTouched(),this.model?.isValid(this.seconds)?this.onChange(this._ngbTimeAdapter.toModel({hour:this.model.hour,minute:this.model.minute,second:this.model.second})):this.onChange(this._ngbTimeAdapter.toModel(null))}}return p.\u0275fac=function(c){return new(c||p)(t.Y36(Dc),t.Y36(Td),t.Y36(t.sBO),t.Y36($l))},p.\u0275cmp=t.Xpm({type:p,selectors:[["ngb-timepicker"]],inputs:{meridian:"meridian",spinners:"spinners",seconds:"seconds",hourStep:"hourStep",minuteStep:"minuteStep",secondStep:"secondStep",readonlyInputs:"readonlyInputs",size:"size"},exportAs:["ngbTimepicker"],standalone:!0,features:[t._Bn([{provide:dn.JU,useExisting:(0,t.Gpc)(()=>p),multi:!0}]),t.TTD,t.jDz],decls:16,vars:25,consts:function(){let T,c,v,x,ie,$e,nt,ct,It,kt,Dn,yn,On,Jr;return T=$localize`:@@ngb.timepicker.HH:HH`,c=$localize`:@@ngb.timepicker.hours:Hours`,v=$localize`:@@ngb.timepicker.MM:MM`,x=$localize`:@@ngb.timepicker.minutes:Minutes`,ie=$localize`:@@ngb.timepicker.increment-hours:Increment hours`,$e=$localize`:@@ngb.timepicker.decrement-hours:Decrement hours`,nt=$localize`:@@ngb.timepicker.increment-minutes:Increment minutes`,ct=$localize`:@@ngb.timepicker.decrement-minutes:Decrement minutes`,It=$localize`:@@ngb.timepicker.SS:SS`,kt=$localize`:@@ngb.timepicker.seconds:Seconds`,Dn=$localize`:@@ngb.timepicker.increment-seconds:Increment seconds`,yn=$localize`:@@ngb.timepicker.decrement-seconds:Decrement seconds`,On=$localize`:@@ngb.timepicker.PM:${"\ufffd0\ufffd"}:INTERPOLATION:`,Jr=$localize`:@@ngb.timepicker.AM:${"\ufffd0\ufffd"}:INTERPOLATION:`,[[3,"disabled"],[1,"ngb-tp"],[1,"ngb-tp-input-container","ngb-tp-hour"],["tabindex","-1","type","button","class","btn btn-link",3,"btn-sm","btn-lg","disabled","click",4,"ngIf"],["type","text","maxlength","2","inputmode","numeric","placeholder",T,"aria-label",c,1,"ngb-tp-input","form-control",3,"value","readOnly","disabled","change","blur","input","keydown.ArrowUp","keydown.ArrowDown"],[1,"ngb-tp-spacer"],[1,"ngb-tp-input-container","ngb-tp-minute"],["type","text","maxlength","2","inputmode","numeric","placeholder",v,"aria-label",x,1,"ngb-tp-input","form-control",3,"value","readOnly","disabled","change","blur","input","keydown.ArrowUp","keydown.ArrowDown"],["class","ngb-tp-spacer",4,"ngIf"],["class","ngb-tp-input-container ngb-tp-second",4,"ngIf"],["class","ngb-tp-meridian",4,"ngIf"],["tabindex","-1","type","button",1,"btn","btn-link",3,"disabled","click"],[1,"chevron","ngb-tp-chevron"],[1,"visually-hidden"],ie,[1,"chevron","ngb-tp-chevron","bottom"],$e,nt,ct,[1,"ngb-tp-input-container","ngb-tp-second"],["type","text","maxlength","2","inputmode","numeric","placeholder",It,"aria-label",kt,1,"ngb-tp-input","form-control",3,"value","readOnly","disabled","change","blur","input","keydown.ArrowUp","keydown.ArrowDown"],Dn,yn,[1,"ngb-tp-meridian"],["type","button",1,"btn","btn-outline-primary",3,"disabled","click"],[4,"ngIf","ngIfElse"],["am",""],On,Jr]},template:function(c,v){1&c&&(t.TgZ(0,"fieldset",0)(1,"div",1)(2,"div",2),t.YNc(3,Go,4,7,"button",3),t.TgZ(4,"input",4),t.NdJ("change",function(ie){return v.updateHour(ie.target.value)})("blur",function(){return v.handleBlur()})("input",function(ie){return v.formatInput(ie.target)})("keydown.ArrowUp",function(ie){return v.changeHour(v.hourStep),ie.preventDefault()})("keydown.ArrowDown",function(ie){return v.changeHour(-v.hourStep),ie.preventDefault()}),t.qZA(),t.YNc(5,ro,4,7,"button",3),t.qZA(),t.TgZ(6,"div",5),t._uU(7,":"),t.qZA(),t.TgZ(8,"div",6),t.YNc(9,Uo,4,7,"button",3),t.TgZ(10,"input",7),t.NdJ("change",function(ie){return v.updateMinute(ie.target.value)})("blur",function(){return v.handleBlur()})("input",function(ie){return v.formatInput(ie.target)})("keydown.ArrowUp",function(ie){return v.changeMinute(v.minuteStep),ie.preventDefault()})("keydown.ArrowDown",function(ie){return v.changeMinute(-v.minuteStep),ie.preventDefault()}),t.qZA(),t.YNc(11,il,4,7,"button",3),t.qZA(),t.YNc(12,ja,2,0,"div",8),t.YNc(13,Na,4,9,"div",9),t.YNc(14,Ra,1,0,"div",8),t.YNc(15,xo,5,9,"div",10),t.qZA()()),2&c&&(t.ekj("disabled",v.disabled),t.Q6J("disabled",v.disabled),t.xp6(3),t.Q6J("ngIf",v.spinners),t.xp6(1),t.ekj("form-control-sm",v.isSmallSize)("form-control-lg",v.isLargeSize),t.Q6J("value",v.formatHour(null==v.model?null:v.model.hour))("readOnly",v.readonlyInput
1s)("disabled",v.disabled),t.xp6(1),t.Q6J("ngIf",v.spinners),t.xp6(4),t.Q6J("ngIf",v.spinners),t.xp6(1),t.ekj("form-control-sm",v.isSmallSize)("form-control-lg",v.isLargeSize),t.Q6J("value",v.formatMinSec(null==v.model?null:v.model.minute))("readOnly",v.readonlyInputs)("disabled",v.disabled),t.xp6(1),t.Q6J("ngIf",v.spinners),t.xp6(1),t.Q6J("ngIf",v.seconds),t.xp6(1),t.Q6J("ngIf",v.seconds),t.xp6(1),t.Q6J("ngIf",v.meridian),t.xp6(1),t.Q6J("ngIf",v.meridian))},dependencies:[Et.O5],styles:['ngb-timepicker{font-size:1rem}.ngb-tp{display:flex;align-items:center}.ngb-tp-input-container{width:4em}.ngb-tp-chevron:before{border-style:solid;border-width:.29em .29em 0 0;content:"";display:inline-block;height:.69em;left:.05em;position:relative;top:.15em;transform:rotate(-45deg);vertical-align:middle;width:.69em}.ngb-tp-chevron.bottom:before{top:-.3em;transform:rotate(135deg)}.ngb-tp-input{text-align:center}.ngb-tp-hour,.ngb-tp-minute,.ngb-tp-second,.ngb-tp-meridian{display:flex;flex-direction:column;align-items:center;justify-content:space-around}.ngb-tp-spacer{width:1em;text-align:center}\n'],encapsulation:2}),p})(),Cd=(()=>{class p{}return p.\u0275fac=function(c){return new(c||p)},p.\u0275mod=t.oAB({type:p}),p.\u0275inj=t.cJS({imports:[Qd]}),p})();const lf=(p,T)=>{const{classList:c}=p;if(T)return c.add("fade"),ui(p),c.add("show","showing"),()=>{c.remove("showing")};c.add("show")},Pl=({classList:p})=>(p.add("showing"),()=>{p.remove("show","showing")});let Lu=(()=>{class p{constructor(c){this._ngbConfig=c,this.autohide=!0,this.delay=5e3,this.ariaLive="polite"}get animation(){return void 0===this._animation?this._ngbConfig.animation:this._animation}set animation(c){this._animation=c}}return p.\u0275fac=function(c){return new(c||p)(t.LFG(fo))},p.\u0275prov=t.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),p})(),Sd=(()=>{class p{}return p.\u0275fac=function(c){return new(c||p)},p.\u0275dir=t.lG2({type:p,selectors:[["","ngbToastHeader",""]],standalone:!0}),p})(),Pc=(()=>{class p{constructor(c,v,x,ie){this.ariaLive=c,this._zone=x,this._element=ie,this.contentHeaderTpl=null,this.shown=new t.vpe,this.hidden=new t.vpe,null==this.ariaLive&&(this.ariaLive=v.ariaLive),this.delay=v.delay,this.autohide=v.autohide,this.animation=v.animation}ngAfterContentInit(){this._zone.onStable.asObservable().pipe((0,He.q)(1)).subscribe(()=>{this._init(),this.show()})}ngOnChanges(c){"autohide"in c&&(this._clearTimeout(),this._init())}hide(){this._clearTimeout();const c=Ii(this._zone,this._element.nativeElement,Pl,{animation:this.animation,runningTransition:"stop"});return c.subscribe(()=>{this.hidden.emit()}),c}show(){const c=Ii(this._zone,this._element.nativeElement,lf,{animation:this.animation,runningTransition:"continue"});return c.subscribe(()=>{this.shown.emit()}),c}_init(){this.autohide&&!this._timeoutID&&(this._timeoutID=setTimeout(()=>this.hide(),this.delay))}_clearTimeout(){this._timeoutID&&(clearTimeout(this._timeoutID),this._timeoutID=null)}}return p.\u0275fac=function(c){return new(c||p)(t.$8M("aria-live"),t.Y36(Lu),t.Y36(t.R0b),t.Y36(t.SBq))},p.\u0275cmp=t.Xpm({type:p,selectors:[["ngb-toast"]],contentQueries:function(c,v,x){if(1&c&&t.Suo(x,Sd,7,t.Rgc),2&c){let ie;t.iGM(ie=t.CRH())&&(v.contentHeaderTpl=ie.first)}},hostAttrs:["role","alert","aria-atomic","true",1,"toast"],hostVars:3,hostBindings:function(c,v){2&c&&(t.uIk("aria-live",v.ariaLive),t.ekj("fade",v.animation))},inputs:{animation:"animation",delay:"delay",autohide:"autohide",header:"header"},outputs:{shown:"shown",hidden:"hidden"},exportAs:["ngbToast"],standalone:!0,features:[t.TTD,t.jDz],ngContentSelectors:lt,decls:5,vars:1,consts:function(){let T;return T=$localize`:@@ngb.toast.close-aria:Close`,[["headerTpl",""],[3,"ngIf"],[1,"toast-body"],[1,"me-auto"],[1,"toast-header"],[3,"ngTemplateOutlet"],["type","button","aria-label",T,1,"btn-close",3,"click"]]},template:function(c,v){1&c&&(t.F$t(),t.YNc(0,ia,2,1,"ng-template",null,0,t.W1O),t.YNc(2,j,3,1,"ng-template",1),t.TgZ(3,"div",2),t.Hsn(4),t.qZA()),2&c&&(t.xp6(2),t.Q6J("ngIf",v.contentHeaderTpl||v.header))},dependencies:[Et.O5,Et.tP],styles:["ngb-toast{display:block}ngb-toast .toast-header .close{margin-left:auto;margin-bottom:.25rem}\n"],encapsulation:2}),p})(),eh=(()=>{class p{}
1return p.\u0275fac=function(c){return new(c||p)},p.\u0275mod=t.oAB({type:p}),p.\u0275inj=t.cJS({imports:[Pc]}),p})(),uf=(()=>{class p{constructor(c){this._ngbConfig=c,this.autoClose=!0,this.placement="auto",this.popperOptions=v=>v,this.triggers="hover focus",this.disableTooltip=!1,this.openDelay=0,this.closeDelay=0}get animation(){return void 0===this._animation?this._ngbConfig.animation:this._animation}set animation(c){this._animation=c}}return p.\u0275fac=function(c){return new(c||p)(t.LFG(fo))},p.\u0275prov=t.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),p})(),cf=0,df=(()=>{class p{}return p.\u0275fac=function(c){return new(c||p)},p.\u0275cmp=t.Xpm({type:p,selectors:[["ngb-tooltip-window"]],hostAttrs:["role","tooltip"],hostVars:5,hostBindings:function(c,v){2&c&&(t.Ikx("id",v.id),t.Tol("tooltip"+(v.tooltipClass?" "+v.tooltipClass:"")),t.ekj("fade",v.animation))},inputs:{animation:"animation",id:"id",tooltipClass:"tooltipClass"},standalone:!0,features:[t.jDz],ngContentSelectors:lt,decls:3,vars:0,consts:[["data-popper-arrow","",1,"tooltip-arrow"],[1,"tooltip-inner"]],template:function(c,v){1&c&&(t.F$t(),t._UZ(0,"div",0),t.TgZ(1,"div",1),t.Hsn(2),t.qZA())},encapsulation:2,changeDetection:0}),p})(),th=(()=>{class p{constructor(c,v,x,ie,$e,nt,ct,It,kt,Dn){this._elementRef=c,this._renderer=x,this._ngZone=ct,this._document=It,this._changeDetector=kt,this.shown=new t.vpe,this.hidden=new t.vpe,this._ngbTooltipWindowId="ngb-tooltip-"+cf++,this._windowRef=null,this.animation=nt.animation,this.autoClose=nt.autoClose,this.placement=nt.placement,this.popperOptions=nt.popperOptions,this.triggers=nt.triggers,this.container=nt.container,this.disableTooltip=nt.disableTooltip,this.tooltipClass=nt.tooltipClass,this.openDelay=nt.openDelay,this.closeDelay=nt.closeDelay,this._popupService=new vc(df,ie,$e,x,this._ngZone,Dn),this._positioning=ao(v)}set ngbTooltip(c){this._ngbTooltip=c,!c&&this._windowRef&&this.close()}get ngbTooltip(){return this._ngbTooltip}open(c){if(!this._windowRef&&this._ngbTooltip&&!this.disableTooltip){const{windowRef:v,transition$:x}=this._popupService.open(this._ngbTooltip,c,this.animation);this._windowRef=v,this._windowRef.setInput("animation",this.animation),this._windowRef.setInput("tooltipClass",this.tooltipClass),this._windowRef.setInput("id",this._ngbTooltipWindowId),this._renderer.setAttribute(this._getPositionTargetElement(),"aria-describedby",this._ngbTooltipWindowId),"body"===this.container&&this._document.querySelector(this.container).appendChild(this._windowRef.location.nativeElement),this._windowRef.changeDetectorRef.detectChanges(),this._windowRef.changeDetectorRef.markForCheck(),this._ngZone.runOutsideAngular(()=>{this._positioning.createPopper({hostElement:this._getPositionTargetElement(),targetElement:this._windowRef.location.nativeElement,placement:this.placement,appendToBody:"body"===this.container,baseClass:"bs-tooltip",updatePopperOptions:ie=>this.popperOptions(ie)}),Promise.resolve().then(()=>{this._positioning.update(),this._zoneSubscription=this._ngZone.onStable.subscribe(()=>this._positioning.update())})}),Ie(this._ngZone,this._document,this.autoClose,()=>this.close(),this.hidden,[this._windowRef.location.nativeElement]),x.subscribe(()=>this.shown.emit())}}close(c=this.animation){null!=this._windowRef&&(this._renderer.removeAttribute(this._getPositionTargetElement(),"aria-describedby"),this._popupService.close(c).subscribe(()=>{this._windowRef=null,this._positioning.destroy(),this._zoneSubscription?.unsubscribe(),this.hidden.emit(),this._changeDetector.markForCheck()}))}toggle(){this._windowRef?this.close():this.open()}isOpen(){return null!=this._windowRef}ngOnInit(){this._unregisterListenersFn=Sc(this._renderer,this._elementRef.nativeElement,this.triggers,this.isOpen.bind(this),this.open.bind(this),this.close.bind(this),+this.openDelay,+this.closeDelay)}ngOnChanges({tooltipClass:c}){c&&this.isOpen()&&(this._windowRef.instance.tooltipClass=c.currentValue)}ngOnDestroy(){this.close(!1),this._unregisterListenersFn?.()}_getPositionTargetElement(){return(zn(this.positionTarget)?this._document.querySelector(this.positionTarget):this.positionTarget)||this._elementRef.nativeElement}}
1return p.\u0275fac=function(c){return new(c||p)(t.Y36(t.SBq),t.Y36(Ls),t.Y36(t.Qsj),t.Y36(t.zs3),t.Y36(t.s_b),t.Y36(uf),t.Y36(t.R0b),t.Y36(Et.K0),t.Y36(t.sBO),t.Y36(t.z2F))},p.\u0275dir=t.lG2({type:p,selectors:[["","ngbTooltip",""]],inputs:{animation:"animation",autoClose:"autoClose",placement:"placement",popperOptions:"popperOptions",triggers:"triggers",positionTarget:"positionTarget",container:"container",disableTooltip:"disableTooltip",tooltipClass:"tooltipClass",openDelay:"openDelay",closeDelay:"closeDelay",ngbTooltip:"ngbTooltip"},outputs:{shown:"shown",hidden:"hidden"},exportAs:["ngbTooltip"],standalone:!0,features:[t.TTD]}),p})(),Mc=(()=>{class p{}return p.\u0275fac=function(c){return new(c||p)},p.\u0275mod=t.oAB({type:p}),p.\u0275inj=t.cJS({}),p})(),hf=(()=>{class p{constructor(){this.highlightClass="ngb-highlight",this.accentSensitive=!0}ngOnChanges(c){!this.accentSensitive&&!String.prototype.normalize&&(console.warn("The `accentSensitive` input in `ngb-highlight` cannot be set to `false` in a browser that does not implement the `String.normalize` function. You will have to include a polyfill in your application to use this feature in the current browser."),this.accentSensitive=!0);const v=Lr(this.result),x=Array.isArray(this.term)?this.term:[this.term],ie=It=>this.accentSensitive?It:Oo(It),$e=x.map(It=>function Mn(p){return p.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}(ie(Lr(It)))).filter(It=>It),nt=this.accentSensitive?v:Oo(v),ct=$e.length?nt.split(new RegExp(`(${$e.join("|")})`,"gmi")):[v];if(this.accentSensitive)this.parts=ct;else{let It=0;this.parts=ct.map(kt=>v.substring(It,It+=kt.length))}}}return p.\u0275fac=function(c){return new(c||p)},p.\u0275cmp=t.Xpm({type:p,selectors:[["ngb-highlight"]],inputs:{highlightClass:"highlightClass",result:"result",term:"term",accentSensitive:"accentSensitive"},standalone:!0,features:[t.TTD,t.jDz],decls:1,vars:1,consts:[["ngFor","",3,"ngForOf"],[3,"class",4,"ngIf","ngIfElse"],["even",""]],template:function(c,v){1&c&&t.YNc(0,we,3,2,"ng-template",0),2&c&&t.Q6J("ngForOf",v.parts)},dependencies:[Et.O5,Et.ax],styles:[".ngb-highlight{font-weight:700}\n"],encapsulation:2,changeDetection:0}),p})();new t.OlP("live announcer delay",{providedIn:"root",factory:function gl(){return 100}});let ih=(()=>{class p{}return p.\u0275fac=function(c){return new(c||p)},p.\u0275mod=t.oAB({type:p}),p.\u0275inj=t.cJS({imports:[hf]}),p})(),ml=(()=>{class p{}return p.\u0275fac=function(c){return new(c||p)},p.\u0275mod=t.oAB({type:p}),p.\u0275inj=t.cJS({}),p})();const ah=[Ca,bl,Ro,cu,va,_c,dd,Hl,ml,Tc,ua,Yd,Zd,Cd,eh,Mc,ih];let gf=(()=>{class p{}return p.\u0275fac=function(c){return new(c||p)},p.\u0275mod=t.oAB({type:p}),p.\u0275inj=t.cJS({imports:[ah,Ca,bl,Ro,cu,va,_c,dd,Hl,ml,Tc,ua,Yd,Zd,Cd,eh,Mc,ih]}),p})()},8796:(s,a,l)=>{"use strict";l.d(a,{A0:()=>At,w9:()=>it});var t=l(4650),f=l(4006),_=l(3085),S=l(3601),D=l(8675),M=l(8505),k=l(8372),U=l(9300),te=l(4004),I=l(6406),z=l(3101),H=l(7579),ee=l(4968),ae=l(6451),V=l(6895);const Y=["content"],N=["scroll"],O=["padding"],X=function(We){return{searchTerm:We}};function J(We,Ve){if(1&We&&(t.TgZ(0,"div",6),t.GkF(1,7),t.qZA()),2&We){const B=t.oxw();t.xp6(1),t.Q6J("ngTemplateOutlet",B.headerTemplate)("ngTemplateOutletContext",t.VKq(2,X,B.filterValue))}}function pe(We,Ve){if(1&We&&(t.TgZ(0,"div",8),t.GkF(1,7),t.qZA()),2&We){const B=t.oxw();t.xp6(1),t.Q6J("ngTemplateOutlet",B.footerTemplate)("ngTemplateOutletContext",t.VKq(2,X,B.filterValue))}}const me=["*"],Fe=["searchInput"];function He(We,Ve){if(1&We){const B=t.EpF();t.TgZ(0,"span",15),t.NdJ("click",function(){t.CHM(B);const ve=t.oxw().$implicit,Le=t.oxw(2);return t.KtG(Le.unselect(ve))}
1),t._uU(1,"\xd7"),t.qZA(),t._UZ(2,"span",16)}if(2&We){const B=t.oxw().$implicit,ue=t.oxw(2);t.xp6(2),t.Q6J("ngItemLabel",B.label)("escape",ue.escapeHTML)}}function xe(We,Ve){}const Ne=function(We,Ve,B){return{item:We,clear:Ve,label:B}};function ze(We,Ve){if(1&We&&(t.TgZ(0,"div",12),t.YNc(1,He,3,2,"ng-template",null,13,t.W1O),t.YNc(3,xe,0,0,"ng-template",14),t.qZA()),2&We){const B=Ve.$implicit,ue=t.MAs(2),ve=t.oxw(2);t.ekj("ng-value-disabled",B.disabled),t.xp6(3),t.Q6J("ngTemplateOutlet",ve.labelTemplate||ue)("ngTemplateOutletContext",t.kEZ(4,Ne,B.value,ve.clearItem,B.label))}}function ke(We,Ve){if(1&We&&(t.ynx(0),t.YNc(1,ze,4,8,"div",11),t.BQk()),2&We){const B=t.oxw();t.xp6(1),t.Q6J("ngForOf",B.selectedItems)("ngForTrackBy",B.trackByOption)}}function De(We,Ve){}const Ce=function(We,Ve){return{items:We,clear:Ve}};function oe(We,Ve){if(1&We&&t.YNc(0,De,0,0,"ng-template",14),2&We){const B=t.oxw();t.Q6J("ngTemplateOutlet",B.multiLabelTemplate)("ngTemplateOutletContext",t.WLB(2,Ce,B.selectedValues,B.clearItem))}}function he(We,Ve){1&We&&t._UZ(0,"div",19)}function be(We,Ve){}function tt(We,Ve){if(1&We&&(t.ynx(0),t.YNc(1,he,1,0,"ng-template",null,17,t.W1O),t.YNc(3,be,0,0,"ng-template",18),t.BQk()),2&We){const B=t.MAs(2),ue=t.oxw();
1t.xp6(3),t.Q6J("ngTemplateOutlet",ue.loadingSpinnerTemplate||B)}}function st(We,Ve){if(1&We&&(t.TgZ(0,"span",20)(1,"span",21),t._uU(2,"\xd7"),t.qZA()()),2&We){const B=t.oxw();t.s9C("title",B.clearAllText)}}function jt(We,Ve){if(1&We&&t._UZ(0,"span",27),2&We){const B=t.oxw().$implicit,ue=t.oxw(2);t.Q6J("ngItemLabel",B.label)("escape",ue.escapeHTML)}}function Wt(We,Ve){}const Ut=function(We,Ve,B,ue){return{item:We,item$:Ve,index:B,searchTerm:ue}};function Et(We,Ve){if(1&We){const B=t.EpF();t.TgZ(0,"div",25),t.NdJ("click",function(){const Le=t.CHM(B).$implicit,Je=t.oxw(2);return t.KtG(Je.toggleItem(Le))})("mouseover",function(){const Le=t.CHM(B).$implicit,Je=t.oxw(2);return t.KtG(Je.onItemHover(Le))}),t.YNc(1,jt,1,2,"ng-template",null,26,t.W1O),t.YNc(3,Wt,0,0,"ng-template",14),t.qZA()}if(2&We){const B=Ve.$implicit,ue=t.MAs(2),ve=t.oxw(2);t.ekj("ng-option-disabled",B.disabled)("ng-option-selected",B.selected)("ng-optgroup",B.children)("ng-option",!B.children)("ng-option-child",!!B.parent)("ng-option-marked",B===ve.itemsList.markedItem),t.uIk("role",B.children?"group":"option")("aria-selected",B.selected)("id",null==B?null:B.htmlId),t.xp6(3),t.Q6J("ngTemplateOutlet",B.children?ve.optgroupTemplate||ue:ve.optionTemplate||ue)("ngTemplateOutletContext",t.l5B(17,Ut,B.value,B,B.index,ve.searchTerm))}}function dn(We,Ve){if(1&We&&(t.TgZ(0,"span")(1,"span",30),t._uU(2),t.qZA(),t._uU(3),t.qZA()),2&We){const B=t.oxw(3);t.xp6(2),t.Oqu(B.addTagText),t.xp6(1),t.hij('"',B.searchTerm,'"')}}function rn(We,Ve){}function gn(We,Ve){if(1&We){const B=t.EpF();t.TgZ(0,"div",28),t.NdJ("mouseover",function(){t.CHM(B);const ve=t.oxw(2);return t.KtG(ve.itemsList.unmarkItem())})("click",function(){t.CHM(B);const ve=t.oxw(2);return t.KtG(ve.selectTag())}),t.YNc(1,dn,4,2,"ng-template",null,29,t.W1O),t.YNc(3,rn,0,0,"ng-template",14),t.qZA()}if(2&We){const B=t.MAs(2),ue=t.oxw(2);t.ekj("ng-option-marked",!ue.itemsList.markedItem),t.xp6(3),t.Q6J("ngTemplateOutlet",ue.tagTemplate||B)("ngTemplateOutletContext",t.VKq(4,X,ue.searchTerm))}}function Xt(We,Ve){if(1&We&&(t.TgZ(0,"div",32),t._uU(1),t.qZA()),2&We){const B=t.oxw(3);t.xp6(1),t.Oqu(B.notFoundText)}}function Er(We,Ve){}function _n(We,Ve){if(1&We&&(t.ynx(0),t.YNc(1,Xt,2,1,"ng-template",null,31,t.W1O),t.YNc(3,Er,0,0,"ng-template",14),t.BQk()),2&We){const B=t.MAs(2),ue=t.oxw(2);t.xp6(3),t.Q6J("ngTemplateOutlet",ue.notFoundTemplate||B)("ngTemplateOutletContext",t.VKq(2,X,ue.searchTerm))}}function Nn(We,Ve){if(1&We&&(t.TgZ(0,"div",32),t._uU(1),t.qZA()),2&We){const B=t.oxw(3);t.xp6(1),t.Oqu(B.typeToSearchText)}}function Bt(We,Ve){}function Hn(We,Ve){if(1&We&&(t.ynx(0),t.YNc(1,Nn,2,1,"ng-template",null,33,t.W1O),t.YNc(3,Bt,0,0,"ng-template",18),t.BQk()),2&We){const B=t.MAs(2),ue=t.oxw(2);t.xp6(3),t.Q6J("ngTemplateOutlet",ue.typeToSearchTemplate||B)}}function un(We,Ve){if(1&We&&(t.TgZ(0,"div",32),t._uU(1),t.qZA()),2&We){const B=t.oxw(3);t.xp6(1),t.Oqu(B.loadingText)}}function dr(We,Ve){}function nr(We,Ve){if(1&We&&(t.ynx(0),t.YNc(1,un,2,1,"ng-template",null,34,t.W1O),t.YNc(3,dr,0,0,"ng-template",14),t.BQk()),2&We){const B=t.MAs(2),ue=t.oxw(2);t.xp6(3),t.Q6J("ngTemplateOutlet",ue.loadingTextTemplate||B)("ngTemplateOutletContext",t.VKq(2,X,ue.searchTerm))}}function $n(We,Ve){if(1&We){const B=t.EpF();t.TgZ(0,"ng-dropdown-panel",22),t.NdJ("update",function(ve){t.CHM(B);const Le=t.oxw();return t.KtG(Le.viewPortItems=ve)})("scroll",function(ve){t.CHM(B);const Le=t.oxw();return t.KtG(Le.scroll.emit(ve))})("scrollToEnd",function(ve){t.CHM(B);const Le=t.oxw();return t.KtG(Le.scrollToEnd.emit(ve))})("outsideClick",function(){t.CHM(B);const ve=t.oxw();return t.KtG(ve.close())}),t.ynx(1),t.YNc(2,Et,4,22,"div",23),t.YNc(3,gn,4,6,"div",24),t.BQk(),t.YNc(4,_n,4,4,"ng-container",3),t.YNc(5,Hn,4,1,"ng-container",3),t.YNc(6,nr,4,4,"ng-container",3),t.qZA()}if(2&We){const B=t.oxw();t.ekj("ng-select-multiple",B.multiple),t.Q6J("virtualScroll",B.virtualScroll)("bufferAmount",B.bufferAmount)("appendTo",B.appendTo)("position",B.dropdownPosition)("headerTemplate",B.headerTemplate)("footerTemplate",B.footerTemplate)("filterValue",B.searchTerm)("items",B.itemsList.filteredItems)("markedItem",B.itemsList.markedItem)("ngClass",B.appendTo?B.classes:null)("id",B.dropdownId),t.xp6(2),t.Q6J("ngForOf",B.viewPortItems)("ngForTrackBy",B.trackByOption),t.xp6(1),t.Q6J("ngIf",B.showAddTag),t.xp6(1),t.Q6J("ngIf",B.showNoItemsFound()),t.xp6(1),t.Q6J("ngIf",B.showTypeToSearch()),t.xp6(1),t.Q6J("ngIf",B.loading&&0===B.itemsList.filteredItems.length)}}const Wn=/[&<>"']/g,Sn=RegExp(Wn.source),tr={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function cn(We){return null!=We}function Fn(We){return"object"==typeof We&&cn(We)}function hr(We){return We instanceof Function}let Dr=(()=>{class We{constructor(B){this.element=B,this.escape=!0}ngOnChanges(B){this.element.nativeElement.innerHTML=this.escape?function fn(We){return We&&Sn.test(We)?We.replace(Wn,Ve=>tr[Ve]):We}(this.ngItemLabel):this.ngItemLabel}}return We.\u0275fac=function(B){return new(B||We)(t.Y36(t.SBq))},We.\u0275dir=t.lG2({type:We,selectors:[["","ngItemLabel",""]],inputs:{ngItemLabel:"ngItemLabel",escape:"escape"},features:[t.TTD]}),We})(),mn=(()=>{class We{constructor(B){this.template=B}}return We.\u0275fac=function(B){return new(B||We)(t.Y36(t.Rgc))},We.\u0275dir=t.lG2({type:We,selectors:[["","ng-option-tmp",""]]}),We})(),bn=(()=>{class We{constructor(B){this.template=B}}return We.\u0275fac=function(B){return new(B||We)(t.Y36(t.Rgc))},We.\u0275dir=t.lG2({type:We,selectors:[["","ng-optgroup-tmp",""]]}),We})(),Gt=(()=>{class We{constructor(B){this.template=B}}return We.\u0275fac=function(B){return new(B||We)(t.Y36(t.Rgc))},We.\u0275dir=t.lG2({type:We,selectors:[["","ng-label-tmp",""]]}),We})(),Tn=(()=>{class We{constructor(B){this.template=B}}return We.\u0275fac=function(B){return new(B||We)(t.Y36(t.Rgc))},We.\u0275dir=t.lG2({type:We,selectors:[["","ng-multi-label-tmp",""]]}),We})(),Br=(()=>{class We{constructor(B){this.template=B}}return We.\u0275fac=function(B){return new(B||We)(t.Y36(t.Rgc))},We.\u0275dir=t.lG2({type:We,selectors:[["","ng-header-tmp",""]]}),We})(),yr=(()=>{class We{constructor(B){this.template=B}}return We.\u0275fac=function(B){return new(B||We)(t.Y36(t.Rgc))},We.\u0275dir=t.lG2({type:We,selectors:[["","ng-footer-tmp",""]]}),We})(),$r=(()=>{class We{constructor(B){this.template=B}}return We.\u0275fac=function(B){return new(B||We)(t.Y36(t.Rgc))},We.\u0275dir=t.lG2({type:We,selectors:[["","ng-notfound-tmp",""]]}),We})(),Vr=(()=>{class We{constructor(B){this.template=B}}return We.\u0275fac=function(B){return new(B||We)(t.Y36(t.Rgc))},We.\u0275dir=t.lG2({type:We,selectors:[["","ng-typetosearch-tmp",""]]}),We})(),Tr=(()=>{class We{constructor(B){this.template=B}}return We.\u0275fac=function(B){return new(B||We)(t.Y36(t.Rgc))},We.\u0275dir=t.lG2({type:We,selectors:[["","ng-loadingtext-tmp",""]]}),We})(),_t=(()=>{class We{constructor(B){this.template=B}}return We.\u0275fac=function(B){return new(B||We)(t.Y36(t.Rgc))},We.\u0275dir=t.lG2({type:We,selectors:[["","ng-tag-tmp",""]]}),We})(),Vt=(()=>{class We{constructor(B){this.template=B}}return We.\u0275fac=function(B){return new(B||We)(t.Y36(t.Rgc))},We.\u0275dir=t.lG2({type:We,selectors:[["","ng-loadingspinner-tmp",""]]}),We})();function Tt(){return"axxxxxxxxxxx".replace(/[x]/g,()=>(16*Math.random()|0).toString(16))}const qt={"\u24b6":"A",\uff21:"A",\u00c0:"A",\u00c1:"A",\u00c2:"A",\u1ea6:"A",\u1ea4:"A",\u1eaa:"A",\u1ea8:"A",\u00c3:"A",\u0100:"A",\u0102:"A",\u1eb0:"A",\u1eae:"A",\u1eb4:"A",\u1eb2:"A",\u0226:"A",\u01e0:"A",\u00c4:"A",\u01de:"A",\u1ea2:"A",\u00c5:"A",\u01fa:"A",\u01cd:"A",\u0200:"A",\u0202:"A",\u1ea0:"A",\u1eac:"A",\u1eb6:"A",\u1e00:"A",\u0104:"A",\u023a:"A",\u2c6f:"A",\ua732:"AA",\u00c6:"AE",\u01fc:"AE",\u01e2:"AE",\ua734:"AO",\ua736:"AU",\ua738:"AV",\ua73a:"AV",\ua73c:"AY","\u24b7":"B",\uff22:"B",\u1e02:"B",\u1e04:"B",\u1e06:"B",\u0243:"B",\u0182:"B",\u0181:"B","\u24b8":"C",\uff23:"C",\u0106:"C",\u0108:"C",\u010a:"C",\u010c:"C",\u00c7:"C",\u1e08:"C",\u0187:"C",\u023b:"C",\ua73e:"C","\u24b9":"D",\uff24:"D",\u1e0a:"D",\u010e:"D",\u1e0c:"D",\u1e10:"D",\u1e12:"D",\u1e0e:"D",\u0110:"D",\u018b:"D",\u018a:"D",\u0189:"D",\ua779:"D",\u01f1:"DZ",\u01c4:"DZ",\u01f2:"Dz",\u01c5:"Dz","\u24ba":"E",\uff25:"E",\u00c8:"E",\u00c9:"E",\u00ca:"E",\u1ec0:"E",\u1ebe:"E",\u1ec4:"E",\u1ec2:"E",\u1ebc:"E",\u0112:"E",\u1e14:"E",\u1e16:"E",\u0114:"E",\u0116:"E",\u00cb:"E",\u1eba:"E",\u011a:"E",\u0204:"E",\u0206:"E",\u1eb8:"E",\u1ec6:"E",\u0228:"E",\u1e1c:"E",\u0118:"E",\u1e18:"E",\u1e1a:"E",\u0190:"E",\u018e:"E","\u24bb":"F",\uff26:"F",\u1e1e:"F",\u0191:"F",\ua77b:"F","\u24bc":"G",\uff27:"G",\u01f4:"G",\u011c:"G",\u1e20:"G",\u011e:"G",\u0120:"G",\u01e6:"G",\u0122:"G",\u01e4:"G",\u0193:"G",\ua7a0:"G",\ua77d:"G",\ua77e:"G","\u24bd":"H",\uff28:"H",\u0124:"H",\u1e22:"H",\u1e26:"H",\u021e:"H",\u1e24:"H",\u1e28:"H",\u1e2a:"H",\u0126:"H",\u2c67:"H",\u2c75:"H",\ua78d:"H","\u24be":"I",\uff29:"I",\u00cc:"I",\u00cd:"I",\u00ce:"I",\u0128:"I",\u012a:"I",\u012c:"I",\u0130:"I",\u00cf:"I",\u1e2e:"I",\u1ec8:"I",\u01cf:"I",\u0208:"I",\u020a:"I",\u1eca:"I",\u012e:"I",\u1e2c:"I",\u0197:"I","\u24bf":"J",\uff2a:"J",\u0134:"J",\u0248:"J","\u24c0":"K",\uff2b:"K",\u1e30:"K",\u01e8:"K",\u1e32:"K",\u0136:"K",\u1e34
1:"K",\u0198:"K",\u2c69:"K",\ua740:"K",\ua742:"K",\ua744:"K",\ua7a2:"K","\u24c1":"L",\uff2c:"L",\u013f:"L",\u0139:"L",\u013d:"L",\u1e36:"L",\u1e38:"L",\u013b:"L",\u1e3c:"L",\u1e3a:"L",\u0141:"L",\u023d:"L",\u2c62:"L",\u2c60:"L",\ua748:"L",\ua746:"L",\ua780:"L",\u01c7:"LJ",\u01c8:"Lj","\u24c2":"M",\uff2d:"M",\u1e3e:"M",\u1e40:"M",\u1e42:"M",\u2c6e:"M",\u019c:"M","\u24c3":"N",\uff2e:"N",\u01f8:"N",\u0143:"N",\u00d1:"N",\u1e44:"N",\u0147:"N",\u1e46:"N",\u0145:"N",\u1e4a:"N",\u1e48:"N",\u0220:"N",\u019d:"N",\ua790:"N",\ua7a4:"N",\u01ca:"NJ",\u01cb:"Nj","\u24c4":"O",\uff2f:"O",\u00d2:"O",\u00d3:"O",\u00d4:"O",\u1ed2:"O",\u1ed0:"O",\u1ed6:"O",\u1ed4:"O",\u00d5:"O",\u1e4c:"O",\u022c:"O",\u1e4e:"O",\u014c:"O",\u1e50:"O",\u1e52:"O",\u014e:"O",\u022e:"O",\u0230:"O",\u00d6:"O",\u022a:"O",\u1ece:"O",\u0150:"O",\u01d1:"O",\u020c:"O",\u020e:"O",\u01a0:"O",\u1edc:"O",\u1eda:"O",\u1ee0:"O",\u1ede:"O",\u1ee2:"O",\u1ecc:"O",\u1ed8:"O",\u01ea:"O",\u01ec:"O",\u00d8:"O",\u01fe:"O",\u0186:"O",\u019f:"O",\ua74a:"O",\ua74c:"O",\u01a2:"OI",\ua74e:"OO",\u0222:"OU","\u24c5":"P",\uff30:"P",\u1e54:"P",\u1e56:"P",\u01a4:"P",\u2c63:"P",\ua750:"P",\ua752:"P",\ua754:"P","\u24c6":"Q",\uff31:"Q",\ua756:"Q",\ua758:"Q",\u024a:"Q","\u24c7":"R",\uff32:"R",\u0154:"R",\u1e58:"R",\u0158:"R",\u0210:"R",\u0212:"R",\u1e5a:"R",\u1e5c:"R",\u0156:"R",\u1e5e:"R",\u024c:"R",\u2c64:"R",\ua75a:"R",\ua7a6:"R",\ua782:"R","\u24c8":"S",\uff33:"S",\u1e9e:"S",\u015a:"S",\u1e64:"S",\u015c:"S",\u1e60:"S",\u0160:"S",\u1e66:"S",\u1e62:"S",\u1e68:"S",\u0218:"S",\u015e:"S",\u2c7e:"S",\ua7a8:"S",\ua784:"S","\u24c9":"T",\uff34:"T",\u1e6a:"T",\u0164:"T",\u1e6c:"T",\u021a:"T",\u0162:"T",\u1e70:"T",\u1e6e:"T",\u0166:"T",\u01ac:"T",\u01ae:"T",\u023e:"T",\ua786:"T",\ua728:"TZ","\u24ca":"U",\uff35:"U",\u00d9:"U",\u00da:"U",\u00db:"U",\u0168:"U",\u1e78:"U",\u016a:"U",\u1e7a:"U",\u016c:"U",\u00dc:"U",\u01db:"U",\u01d7:"U",\u01d5:"U",\u01d9:"U",\u1ee6:"U",\u016e:"U",\u0170:"U",\u01d3:"U",\u0214:"U",\u0216:"U",\u01af:"U",\u1eea:"U",\u1ee8:"U",\u1eee:"U",\u1eec:"U",\u1ef0:"U",\u1ee4:"U",\u1e72:"U",\u0172:"U",\u1e76:"U",\u1e74:"U",\u0244:"U","\u24cb":"V",\uff36:"V",\u1e7c:"V",\u1e7e:"V",\u01b2:"V",\ua75e:"V",\u0245:"V",\ua760:"VY","\u24cc":"W",\uff37:"W",\u1e80:"W",\u1e82:"W",\u0174:"W",\u1e86:"W",\u1e84:"W",\u1e88:"W",\u2c72:"W","\u24cd":"X",\uff38:"X",\u1e8a:"X",\u1e8c:"X","\u24ce":"Y",\uff39:"Y",\u1ef2:"Y",\u00dd:"Y",\u0176:"Y",\u1ef8:"Y",\u0232:"Y",\u1e8e:"Y",\u0178:"Y",\u1ef6:"Y",\u1ef4:"Y",\u01b3:"Y",\u024e:"Y",\u1efe:"Y","\u24cf":"Z",\uff3a:"Z",\u0179:"Z",\u1e90:"Z",\u017b:"Z",\u017d:"Z",\u1e92:"Z",\u1e94:"Z",\u01b5:"Z",\u0224:"Z",\u2c7f:"Z",\u2c6b:"Z",\ua762:"Z","\u24d0":"a",\uff41:"a",\u1e9a:"a",\u00e0:"a",\u00e1:"a",\u00e2:"a",\u1ea7:"a",\u1ea5:"a",\u1eab:"a",\u1ea9:"a",\u00e3:"a",\u0101:"a",\u0103:"a",\u1eb1:"a",\u1eaf:"a",\u1eb5:"a",\u1eb3:"a",\u0227:"a",\u01e1:"a",\u00e4:"a",\u01df:"a",\u1ea3:"a",\u00e5:"a",\u01fb:"a",\u01ce:"a",\u0201:"a",\u0203:"a",\u1ea1:"a",\u1ead:"a",\u1eb7:"a",\u1e01:"a",\u0105:"a",\u2c65:"a",\u0250:"a",\ua733:"aa",\u00e6:"ae",\u01fd:"ae",\u01e3:"ae",\ua735:"ao",\ua737:"au",\ua739:"av",\ua73b:"av",\ua73d:"ay","\u24d1":"b",\uff42:"b",\u1e03:"b",\u1e05:"b",\u1e07:"b",\u0180:"b",\u0183:"b",\u0253:"b","\u24d2":"c",\uff43:"c",\u0107:"c",\u0109:"c",\u010b:"c",\u010d:"c",\u00e7:"c",\u1e09:"c",\u0188:"c",\u023c:"c",\ua73f:"c",\u2184:"c","\u24d3":"d",\uff44:"d",\u1e0b:"d",\u010f:"d",\u1e0d:"d",\u1e11:"d",\u1e13:"d",\u1e0f:"d",\u0111:"d",\u018c:"d",\u0256:"d",\u0257:"d",\ua77a:"d",\u01f3:"dz",\u01c6:"dz","\u24d4":"e",\uff45:"e",\u00e8:"e",\u00e9:"e",\u00ea:"e",\u1ec1:"e",\u1ebf:"e",\u1ec5:"e",\u1ec3:"e",\u1ebd:"e",\u0113:"e",\u1e15:"e",\u1e17:"e",\u0115:"e",\u0117:"e",\u00eb:"e",\u1ebb:"e",\u011b:"e",\u0205:"e",\u0207:"e",\u1eb9:"e",\u1ec7:"e",\u0229:"e",\u1e1d:"e",\u0119:"e",\u1e19:"e",\u1e1b:"e",\u0247:"e",\u025b:"e",\u01dd:"e","\u24d5":"f",\uff46:"f",\u1e1f:"f",\u0192:"f",\ua77c:"f","\u24d6":"g",\uff47:"g",\u01f5:"g",\u011d:"g",\u1e21:"g",\u011f:"g",\u0121:"g",\u01e7:"g",\u0123:"g",\u01e5:"g",\u0260:"g",\ua7a1:"g",\u1d79:"g",\ua77f:"g","\u24d7":"h",\uff48:"h",\u0125:"h",\u1e23:"h",\u1e27:"h",\u021f:"h",\u1e25:"h",\u1e29:"h",\u1e2b:"h",\u1e96:"h",\u0127:"h",\u2c68:"h",\u2c76:"h",\u0265:"h",\u0195:"hv","\u24d8":"i",\uff49:"i",\u00ec:"i",\u00ed:"i",\u00ee:"i",\u0129:"i",\u012b:"i",\u012d:"i",\u00ef:"i",\u1e2f:"i",\u1ec9:"i",\u01d0:"i",\u0209:"i",\u020b:"i",\u1ecb:"i",\u012f:"i",\u1e2d:"i",\u0268:"i",\u0131:"i","\u24d9":"j",\uff4a:"j",\u0135:"j",\u01f0:"j",\u0249:"j","\u24da":"k",\uff4b:"k",\u1e31:"k",\u01e9:"k",\u1e33:"k",\u0137:"k",\u1e35:"k",\u0199:"k",\u2c6a:"k",\ua741:"k",\ua743:"k",\ua745:"k",\ua7a3:"k","\u24db":"l",\uff4c:"l",\u0140:"l",\u013a:"l",\u013e:"l",\u1e37:"l",\u1e39:"l",\u013c:"l",\u1e3d:"l",\u1e3b:"l",\u017f:"l",\u0142:"l",\u019a:"l",\u026b:"l",\u2c61:"l",\ua749:"l",\ua781:"l",\ua747:"l",\u01c9:"lj","\u24dc":"m",\uff4d:"m",\u1e3f:"m",\u1e41:"m",\u1e43:"m",\u0271:"m",\u026f:"m","\u24dd":"n",\uff4e:"n",\u01f9:"n",\u0144:"n",\u00f1:"n",\u1e45:"n",\u0148:"n",\u1e47:"n",\u0146:"n",\u1e4b:"n",\u1e49:"n",\u019e:"n",\u0272:"n",\u0149:"n",\ua791:"n",\ua7a5:"n",\u01cc:"nj","\u24de":"o",\uff4f:"o",\u00f2:"o",\u00f3:"o",\u00f4:"o",\u1ed3:"o",\u1ed1:"o",\u1ed7:"o",\u1ed5:"o",\u00f5:"o",\u1e4d:"o",\u022d:"o",\u1e4f:"o",\u014d:"o",\u1e51:"o",\u1e53:"o",\u014f:"o",\u022f:"o",\u0231:"o",\u00f6:"o",\u022b:"o",\u1ecf:"o",\u0151:"o",\u01d2:"o",\u020d:"o",\u020f:"o",\u01a1:"o",\u1edd:"o",\u1edb:"o",\u1ee1:"o",\u1edf:"o",\u1ee3:"o",\u1ecd:"o",\u1ed9:"o",\u01eb:"o",\u01ed:"o",\u00f8:"o",\u01ff:"o",\u0254:"o",\ua74b:"o",\ua74d:"o",\u0275:"o",\u01a3:"oi",\u0223:"ou",\ua74f:"oo","\u24df":"p",\uff50:"p",\u1e55:"p",\u1e57:"p",\u01a5:"p",\u1d7d:"p",\ua751:"p",\ua753:"p",\ua755:"p","\u24e0":"q",\uff51:"q",\u024b:"q",\ua757:"q",\ua759:"q","\u24e1":"r",\uff52:"r",\u0155:"r",\u1e59:"r",\u0159:"r",\u0211:"r",\u0213:"r",\u1e5b:"r",\u1e5d:"r",\u0157:"r",\u1e5f:"r",\u024d:"r",\u027d:"r",\ua75b:"r",\ua7a7:"r",\ua783:"r","\u24e2":"s",\uff53:"s",\u00df:"s",\u015b:"s",\u1e65:"s",\u015d:"s",\u1e61:"s",\u0161:"s",\u1e67:"s",\u1e63:"s",\u1e69:"s",\u0219:"s",\u015f:"s",\u023f:"s",\ua7a9:"s",\ua785:"s",\u1e9b:"s","\u24e3":"t",\uff54:"t",\u1e6b:"t",\u1e97:"t",\u0165:"t",\u1e6d:"t",\u021b:"t",\u0163:"t",\u1e71:"t",\u1e6f:"t",\u0167:"t",\u01ad:"t",\u0288:"t",\u2c66:"t",\ua787:"t",\ua729:"tz","\u24e4":"u",\uff55:"u",\u00f9:"u",\u00fa:"u",\u00fb:"u",\u0169:"u",\u1e79:"u",\u016b:"u",\u1e7b:"u",\u016d:"u",\u00fc:"u",\u01dc:"u",\u01d8:"u",\u01d6:"u",\u01da:"u",\u1ee7:"u",\u016f:"u",\u0171:"u",\u01d4:"u",\u0215:"u",\u0217:"u",\u01b0:"u",\u1eeb:"u",\u1ee9:"u",\u1eef:"u",\u1eed:"u",\u1ef1:"u",\u1ee5:"u",\u1e73:"u",\u0173:"u",\u1e77:"u",\u1e75:"u",\u0289:"u","\u24e5":"v",\uff56:"v",\u1e7d:"v",\u1e7f:"v",\u028b:"v",\ua75f:"v",\u028c:"v",\ua761:"vy","\u24e6":"w",\uff57:"w",\u1e81:"w",\u1e83:"w",\u0175:"w",\u1e87:"w",\u1e85:"w",\u1e98:"w",\u1e89:"w",\u2c73:"w","\u24e7":"x",\uff58:"x",\u1e8b:"x",\u1e8d:"x","\u24e8":"y",\uff59:"y",\u1ef3:"y",\u00fd:"y",\u0177:"y",\u1ef9:"y",\u0233:"y",\u1e8f:"y",\u00ff:"y",\u1ef7:"y",\u1e99:"y",\u1ef5:"y",\u01b4:"y",\u024f:"y",\u1eff:"y","\u24e9":"z",\uff5a:"z",\u017a:"z",\u1e91:"z",\u017c:"z",\u017e:"z",\u1e93:"z",\u1e95:"z",\u01b6:"z",\u0225:"z",\u0240:"z",\u2c6c:"z",\ua763:"z",\u0386:"\u0391",\u0388:"\u0395",\u0389:"\u0397",\u038a:"\u0399",\u03aa:"\u0399",\u038c:"\u039f",\u038e:"\u03a5",\u03ab:"\u03a5",\u038f:"\u03a9",\u03ac:"\u03b1",\u03ad:"\u03b5",\u03ae:"\u03b7",\u03af:"\u03b9",\u03ca:"\u03b9",\u0390:"\u03b9",\u03cc:"\u03bf",\u03cd:"\u03c5",\u03cb:"\u03c5",\u03b0:"\u03c5",\u03c9:"\u03c9",\u03c2:"\u03c3"};
1function sn(We){return We.replace(/[^\u0000-\u007E]/g,B=>qt[B]||B)}class Nt{constructor(Ve,B){this._ngSelect=Ve,this._selectionModel=B,this._items=[],this._filteredItems=[],this._markedIndex=-1}get items(){return this._items}get filteredItems(){return this._filteredItems}get markedIndex(){return this._markedIndex}get selectedItems(){return this._selectionModel.value}get markedItem(){return this._filteredItems[this._markedIndex]}get noItemsToSelect(){return this._ngSelect.hideSelected&&this._items.length===this.selectedItems.length}get maxItemsSelected(){return this._ngSelect.multiple&&this._ngSelect.maxSelectedItems<=this.selectedItems.length}get lastSelectedItem(){let Ve=this.selectedItems.length-1;for(;Ve>=0;Ve--){const B=this.selectedItems[Ve];if(!B.disabled)return B}return null}setItems(Ve){this._items=Ve.map((B,ue)=>this.mapItem(B,ue)),this._ngSelect.groupBy?(this._groups=this._groupBy(this._items,this._ngSelect.groupBy),this._items=this._flatten(this._groups)):(this._groups=new Map,this._groups.set(void 0,this._items)),this._filteredItems=[...this._items]}select(Ve){if(Ve.selected||this.maxItemsSelected)return;const B=this._ngSelect.multiple;B||this.clearSelected(),this._selectionModel.select(Ve,B,this._ngSelect.selectableGroupAsModel),this._ngSelect.hideSelected&&this._hideSelected(Ve)}unselect(Ve){!Ve.selected||(this._selectionModel.unselect(Ve,this._ngSelect.multiple),this._ngSelect.hideSelected&&cn(Ve.index)&&this._ngSelect.multiple&&this._showSelected(Ve))}findItem(Ve){let B;return B=this._ngSelect.compareWith?ue=>this._ngSelect.compareWith(ue.value,Ve):this._ngSelect.bindValue?ue=>!ue.children&&this.resolveNested(ue.value,this._ngSelect.bindValue)===Ve:ue=>ue.value===Ve||!ue.children&&ue.label&&ue.label===this.resolveNested(Ve,this._ngSelect.bindLabel),this._items.find(ue=>B(ue))}addItem(Ve){const B=this.mapItem(Ve,this._items.length);return this._items.push(B),this._filteredItems.push(B),B}clearSelected(Ve=!1){this._selectionModel.clear(Ve),this._items.forEach(B=>{B.selected=Ve&&B.selected&&B.disabled,B.marked=!1}),this._ngSelect.hideSelected&&this.resetFilteredItems()}findByLabel(Ve){return Ve=sn(Ve).toLocaleLowerCase(),this.filteredItems.find(B=>sn(B.label).toLocaleLowerCase().substr(0,Ve.length)===Ve)}filter(Ve){if(!Ve)return void this.resetFilteredItems();this._filteredItems=[],Ve=this._ngSelect.searchFn?Ve:sn(Ve).toLocaleLowerCase();const B=this._ngSelect.searchFn||this._defaultSearchFn,ue=this._ngSelect.hideSelected;for(const ve of Array.from(this._groups.keys())){const Le=[];for(const Je of this._groups.get(ve))ue&&(Je.parent&&Je.parent.selected||Je.selected)||B(Ve,this._ngSelect.searchFn?Je.value:Je)&&Le.push(Je);if(Le.length>0){const[Je]=Le.slice(-1);if(Je.parent){const Jt=this._items.find(In=>In===Je.parent);this._filteredItems.push(Jt)}this._filteredItems.push(...Le)}}}resetFilteredItems(){this._filteredItems.length!==this._items.length&&(this._filteredItems=this._ngSelect.hideSelected&&this.selectedItems.length>0?this._items.filter(Ve=>!Ve.selected):this._items)}unmarkItem(){this._markedIndex=-1}markNextItem(){this._stepToItem(1)}markPreviousItem(){this._stepToItem(-1)}markItem(Ve){this._markedIndex=this._filteredItems.indexOf(Ve)}markSelectedOrDefault(Ve){if(0===this._filteredItems.length)return;const B=this._getLastMarkedIndex();this._markedIndex=B>-1?B:Ve?this.filteredItems.findIndex(ue=>!ue.disabled):-1}resolveNested(Ve,B){if(!Fn(Ve))return Ve;if(-1===B.indexOf("."))return Ve[B];{const ue=B.split(".");let ve=Ve;for(let Le=0,Je=ue.length;Le<Je;++Le){if(null==ve)return null;ve=ve[ue[Le]]}return ve}}mapItem(Ve,B){const ue=cn(Ve.$ngOptionLabel)?Ve.$ngOptionLabel:this.resolveNested(Ve,this._ngSelect.bindLabel),ve=cn(Ve.$ngOptionValue)?Ve.$ngOptionValue:Ve;return{index:B,label:cn(ue)?ue.toString():"",value:ve,disabled:Ve.disabled,htmlId:`${this._ngSelect.dropdownId}-${B}`}}mapSelectedItems(){const Ve=this._ngSelect.multiple;for(const B of this.selectedItems){const ue=this._ngSelect.bindValue?this.resolveNested(B.value,this._ngSelect.bindValue):B.value,ve=cn(ue)?this.findItem(ue):null;this._selectionModel.unselect(B,Ve),this._selectionModel.select(ve||B,Ve,this._ngSelect.selectableGroupAsModel)}this._ngSelect.hideSelected&&(this._filteredItems=this.filteredItems.filter(
1B=>-1===this.selectedItems.indexOf(B)))}_showSelected(Ve){if(this._filteredItems.push(Ve),Ve.parent){const B=Ve.parent;this._filteredItems.find(ve=>ve===B)||this._filteredItems.push(B)}else if(Ve.children)for(const B of Ve.children)B.selected=!1,this._filteredItems.push(B);this._filteredItems=[...this._filteredItems.sort((B,ue)=>B.index-ue.index)]}_hideSelected(Ve){this._filteredItems=this._filteredItems.filter(B=>B!==Ve),Ve.parent?Ve.parent.children.every(ue=>ue.selected)&&(this._filteredItems=this._filteredItems.filter(ue=>ue!==Ve.parent)):Ve.children&&(this._filteredItems=this.filteredItems.filter(B=>B.parent!==Ve))}_defaultSearchFn(Ve,B){return sn(B.label).toLocaleLowerCase().indexOf(Ve)>-1}_getNextItemIndex(Ve){return Ve>0?this._markedIndex>=this._filteredItems.length-1?0:this._markedIndex+1:this._markedIndex<=0?this._filteredItems.length-1:this._markedIndex-1}_stepToItem(Ve){0===this._filteredItems.length||this._filteredItems.every(B=>B.disabled)||(this._markedIndex=this._getNextItemIndex(Ve),this.markedItem.disabled&&this._stepToItem(Ve))}_getLastMarkedIndex(){if(this._ngSelect.hideSelected||this._markedIndex>-1&&void 0===this.markedItem)return-1;const Ve=this._filteredItems.indexOf(this.lastSelectedItem);return this.lastSelectedItem&&Ve<0?-1:Math.max(this.markedIndex,Ve)}_groupBy(Ve,B){const ue=new Map;if(0===Ve.length)return ue;if(Array.isArray(Ve[0].value[B])){for(const Je of Ve){const Jt=(Je.value[B]||[]).map((In,er)=>this.mapItem(In,er));ue.set(Je,Jt)}return ue}const ve=hr(this._ngSelect.groupBy),Le=Je=>{const Jt=ve?B(Je.value):Je.value[B];return cn(Jt)?Jt:void 0};for(const Je of Ve){const Jt=Le(Je),In=ue.get(Jt);In?In.push(Je):ue.set(Jt,[Je])}return ue}_flatten(Ve){const B=hr(this._ngSelect.groupBy),ue=[];for(const ve of Array.from(Ve.keys())){let Le=ue.length;if(void 0===ve){const Ir=Ve.get(void 0)||[];ue.push(...Ir.map(Jn=>(Jn.index=Le++,Jn)));continue}const Je=Fn(ve),Jt={label:Je?"":String(ve),children:void 0,parent:null,index:Le++,disabled:!this._ngSelect.selectableGroup,htmlId:Tt()},In=B?this._ngSelect.bindLabel:this._ngSelect.groupBy,er=this._ngSelect.groupValue||(()=>Je?ve.value:{[In]:ve}),Zn=Ve.get(ve).map(Ir=>(Ir.parent=Jt,Ir.children=void 0,Ir.index=Le++,Ir));Jt.children=Zn,Jt.value=er(ve,Zn.map(Ir=>Ir.value)),ue.push(Jt),ue.push(...Zn)}return ue}}var yt=(()=>{return(We=yt||(yt={}))[We.Tab=9]="Tab",We[We.Enter=13]="Enter",We[We.Esc=27]="Esc",We[We.Space=32]="Space",We[We.ArrowUp=38]="ArrowUp",We[We.ArrowDown=40]="ArrowDown",We[We.Backspace=8]="Backspace",yt;var We})();let ot=(()=>{class We{constructor(){this._dimensions={itemHeight:0,panelHeight:0,itemsPerViewport:0}}get dimensions(){return this._dimensions}calculateItems(B,ue,ve){const Le=this._dimensions,Je=Le.itemHeight*ue,In=Math.max(0,B)/Je*ue;let er=Math.min(ue,Math.ceil(In)+(Le.itemsPerViewport+1));const Ir=Math.max(0,er-Le.itemsPerViewport);let Jn=Math.min(Ir,Math.floor(In)),ti=Le.itemHeight*Math.ceil(Jn)-Le.itemHeight*Math.min(Jn,ve);return ti=isNaN(ti)?0:ti,Jn=isNaN(Jn)?-1:Jn,er=isNaN(er)?-1:er,Jn-=ve,Jn=Math.max(0,Jn),er+=ve,er=Math.min(ue,er),{topPadding:ti,scrollHeight:Je,start:Jn,end:er}}setDimensions(B,ue){const ve=Math.max(1,Math.floor(ue/B));this._dimensions={itemHeight:B,panelHeight:ue,itemsPerViewport:ve}}getScrollTo(B,ue,ve){const{panelHeight:Le}=this.dimensions,Je=B+ue,In=ve+Le;return Le>=Je&&ve===B?null:Je>In?ve+Je-In:B<=ve?B:null}}return We.\u0275fac=function(B){return new(B||We)},We.\u0275prov=t.Yz7({token:We,factory:We.\u0275fac}),We})();const Ue=["top","right","bottom","left"],Ye=typeof requestAnimationFrame<"u"?I.Z:z.E;let St=(()=>{class We{constructor(B,ue,ve,Le,Je){this._renderer=B,this._zone=ue,this._panelService=ve,this._document=Je,this.items=[],this.position="auto",this.virtualScroll=!1,this.filterValue=null,this.update=new t.vpe,this.scroll=new t.vpe,this.scrollToEnd=new t.vpe,this.outsideClick=new t.vpe,this._destroy$=new H.x,this._scrollToEndFired=!1,this._updateScrollHeight=!1,this._lastScrollPosition=0,this._dropdown=Le.nativeElement}get currentPosition(){return this._currentPosition}get itemsLength(){return this._itemsLength}set itemsLength(B){B!==this._itemsLength&&(this._itemsLength=B,this._onItemsLengthChanged())}get _startOffset(){if(this.markedItem){const{itemHeight:B,panelHeight:ue}=this._panelService.dimensions,ve=this.markedItem.index*B;return ue>ve?0:ve}return 0}ngOnInit(){this._select=this._dropdown.parentElement,this._virtualPadding=this.paddingElementRef.nativeElement,this._scrollablePanel=this.scrollElementRef.nativeElement,this._contentPanel=this.contentElementRef.nativeElement,this._handleScroll(),this._handleOutsideClick(),this._appendDropdown(),this._setupMousedownListener()}
1ngOnChanges(B){if(B.items){const ue=B.items;this._onItemsChange(ue.currentValue,ue.firstChange)}}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete(),this._destroy$.unsubscribe(),this.appendTo&&this._renderer.removeChild(this._dropdown.parentNode,this._dropdown)}scrollTo(B,ue=!1){if(!B)return;const ve=this.items.indexOf(B);if(ve<0||ve>=this.itemsLength)return;let Le;if(this.virtualScroll){const Je=this._panelService.dimensions.itemHeight;Le=this._panelService.getScrollTo(ve*Je,Je,this._lastScrollPosition)}else{const Je=this._dropdown.querySelector(`#${B.htmlId}`);Le=this._panelService.getScrollTo(Je.offsetTop,Je.clientHeight,ue?Je.offsetTop:this._lastScrollPosition)}cn(Le)&&(this._scrollablePanel.scrollTop=Le)}scrollToTag(){const B=this._scrollablePanel;B.scrollTop=B.scrollHeight-B.clientHeight}adjustPosition(){this._updateYPosition()}_handleDropdownPosition(){this._currentPosition=this._calculateCurrentPosition(this._dropdown),Ue.includes(this._currentPosition)?this._updateDropdownClass(this._currentPosition):this._updateDropdownClass("bottom"),this.appendTo&&this._updateYPosition(),this._dropdown.style.opacity="1"}_updateDropdownClass(B){Ue.forEach(ve=>{const Le=`ng-select-${ve}`;this._renderer.removeClass(this._dropdown,Le),this._renderer.removeClass(this._select,Le)});const ue=`ng-select-${B}`;this._renderer.addClass(this._dropdown,ue),this._renderer.addClass(this._select,ue)}_handleScroll(){this._zone.runOutsideAngular(()=>{(0,ee.R)(this.scrollElementRef.nativeElement,"scroll").pipe((0,_.R)(this._destroy$),(0,S.e)(0,Ye)).subscribe(B=>{const ue=B.path||B.composedPath&&B.composedPath();this._onContentScrolled(ue&&0!==ue.length?ue[0].scrollTop:B.target.scrollTop)})})}_handleOutsideClick(){!this._document||this._zone.runOutsideAngular(()=>{(0,ae.T)((0,ee.R)(this._document,"touchstart",{capture:!0}),(0,ee.R)(this._document,"mousedown",{capture:!0})).pipe((0,_.R)(this._destroy$)).subscribe(B=>this._checkToClose(B))})}_checkToClose(B){if(this._select.contains(B.target)||this._dropdown.contains(B.target))return;const ue=B.path||B.composedPath&&B.composedPath();B.target&&B.target.shadowRoot&&ue&&ue[0]&&this._select.contains(ue[0])||this._zone.run(()=>this.outsideClick.emit())}_onItemsChange(B,ue){this.items=B||[],this._scrollToEndFired=!1,this.itemsLength=B.length,this.virtualScroll?this._updateItemsRange(ue):(this._setVirtualHeight(),this._updateItems(ue))}_updateItems(B){this.update.emit(this.items),!1!==B&&this._zone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._panelService.setDimensions(0,this._scrollablePanel.clientHeight),this._handleDropdownPosition(),this.scrollTo(this.markedItem,B)})})}_updateItemsRange(B){this._zone.runOutsideAngular(()=>{this._measureDimensions().then(()=>{B?(this._renderItemsRange(this._startOffset),this._handleDropdownPosition()):this._renderItemsRange()})})}_onContentScrolled(B){this.virtualScroll&&this._renderItemsRange(B),this._lastScrollPosition=B,this._fireScrollToEnd(B)}_updateVirtualHeight(B){this._updateScrollHeight&&(this._virtualPadding.style.height=`${B}px`,this._updateScrollHeight=!1)}_setVirtualHeight(){!this._virtualPadding||(this._virtualPadding.style.height="0px")}_onItemsLengthChanged(){this._updateScrollHeight=!0}_renderItemsRange(B=null){if(B&&this._lastScrollPosition===B)return;const ue=this._panelService.calculateItems(B=B||this._scrollablePanel.scrollTop,this.itemsLength,this.bufferAmount);this._updateVirtualHeight(ue.scrollHeight),this._contentPanel.style.transform=`translateY(${ue.topPadding}px)`,this._zone.run(()=>{this.update.emit(this.items.slice(ue.start,ue.end)),this.scroll.emit({start:ue.start,end:ue.end})}),cn(B)&&0===this._lastScrollPosition&&(this._scrollablePanel.scrollTop=B,this._lastScrollPosition=B)}_measureDimensions(){if(this._panelService.dimensions.itemHeight>0||0===this.itemsLength)return Promise.resolve(this._panelService.dimensions);const[B]=this.items;return this.update.emit([B]),Promise.resolve().then(()=>{const ve=this._dropdown.querySelector(`#${B.htmlId}`).clientHeight;return this._virtualPadding.style.height=ve*this.itemsLength+"px",this._panelService.setDimensions(ve,this._scrollablePanel.clientHeight),this._panelService.dimensions})}_fireScrollToEnd(B){this._scrollToEndFired||0===B||B+this._dropdown.clientHeight>=(this.virtualScroll?this._virtualPadding:this._contentPanel).clientHeight-1&&(this._zone.run(()=>this.scrollToEnd.emit()),this._scrollToEndFired=!0)}_calculateCurrentPosition(B){if("auto"!==this.position)return this.position;const ue=this._select.getBoundingClientRect(),ve=document.documentElement.scrollTop||document.body.scrollTop;return ue.top+window.pageYOffset+ue.height+B.getBoundingClientRect().height>ve+document.documentElement.clientHeight?"top":"bottom"}_appendDropdown(){if(this.appendTo){if(this._parent=document.querySelector(this.appendTo),!this._parent)throw new Error(`appendTo selector ${this.appendTo} did not found any parent element`);this._updateXPosition(),this._parent.appendChild(this._dropdown)}}_updateXPosition(){const B=this._select.getBoundingClientRect(),ue=this._parent.getBoundingClientRect();this._dropdown.style.left=B.left-ue.left+"px",this._dropdown.style.width=B.width+"px",this._dropdown.style.minWidth=B.width+"px"}_updateYPosition(){const B=this._select.getBoundingClientRect(),ue=this._parent.getBoundingClientRect(),ve=B.height;"top"===this._currentPosition?(this._dropdown.style.bottom=ue.bottom-B.bottom+ve+"px",this._dropdown.style.top="auto"):"bottom"===this._currentPosition&&(this._dropdown.style.top=B.top-ue.top+ve+"px",this._dropdown.style.bottom="auto")}_setupMousedownListener(){this._zone.runOutsideAngular(()=>{(0,ee.R)(this._dropdown,"mousedown").pipe((0,_.R)(this._destroy$)).subscribe(B=>{"INPUT"!==B.target.tagName&&B.preventDefault()})})}}return We.\u0275fac=function(B){return new(B||We)(t.Y36(t.Qsj),t.Y36(t.R0b),t.Y36(ot),t.Y36(t.SBq),t.Y36(V.K0,8))},We.\u0275cmp=t.Xpm({type:We,selectors:[["ng-dropdown-panel"]],viewQuery:function(B,ue){if(1&B&&(t.Gf(Y,7,t.SBq),t.Gf(N,7,t.SBq),t.Gf(O,7,t.SBq)),2&B){let ve;t.iGM(ve=t.CRH())&&(ue.contentElementRef=ve.first),t.iGM(ve=t.CRH())&&(ue.scrollElementRef=ve.first),t.iGM(ve=t.CRH())&&(ue.paddingElementRef=ve.first)}},inputs:{items:"items",markedItem:"markedItem",position:"position",appendTo:"appendTo",bufferAmount:"bufferAmount",virtualScroll:"virtualScroll",headerTemplate:"headerTemplate",footerTemplate:"footerTemplate",filterValue:"filterValue"},outputs:{update:"update",scroll:"scroll",scrollToEnd:"scrollToEnd",outsideClick:"outsideClick"},features:[t.TTD],ngContentSelectors:me,decls:9,vars:6,consts:[["class","ng-dropdown-header",4,"ngIf"],[1,"ng-dropdown-panel-items","scroll-host"],["scroll",""],["padding",""],["content",""],["class","ng-dropdown-footer",4,"ngIf"],[1,"ng-dropdown-header"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ng-dropdown-footer"]],template:function(B,ue){1&B&&(t.F$t(),t.YNc(0,J,2,4,"div",0),t.TgZ(1,"div",1,2),t._UZ(3,"div",null,3),t.TgZ(5,"div",null,4),t.Hsn(7),t.qZA()(),t.YNc(8,pe,2,4,"div",5)),2&B&&(t.Q6J("ngIf",ue.headerTemplate),t.xp6(3),t.ekj("total-padding",ue.virtualScroll),t.xp6(2),t.ekj("scrollable-content",ue.virtualScroll&&ue.items.length),t.xp6(3),t.Q6J("ngIf",ue.footerTemplate))},dependencies:[V.O5,V.tP],encapsulation:2,changeDetection:0}),We})(),Oe=(()=>{class We{constructor(B){this.elementRef=B,this.stateChange$=new H.x,this._disabled=!1}get disabled(){return this._disabled}set disabled(B){this._disabled=this._isDisabled(B)}get label(){return(this.elementRef.nativeElement.textContent||"").trim()}ngOnChanges(B){B.disabled&&this.stateChange$.next({value:this.value,disabled:this._disabled})}ngAfterViewChecked(){this.label!==this._previousLabel&&(this._previousLabel=this.label,this.stateChange$.next({value:this.value,disabled:this._disabled,label:this.elementRef.nativeElement.innerHTML}))}ngOnDestroy(){this.stateChange$.complete()}_isDisabled(B){return null!=B&&"false"!=`${B}`}}return We.\u0275fac=function(B){return new(B||We)(t.Y36(t.SBq))},We.\u0275cmp=t.Xpm({type:We,selectors:[["ng-option"]],inputs:{value:"value",disabled:"disabled"},features:[t.TTD],ngContentSelectors:me,decls:1,vars:0,template:function(B,ue){1&B&&(t.F$t(),t.Hsn(0))},encapsulation:2,changeDetection:0}),We})(),Ge=(()=>{class We{constructor(){this.notFoundText="No items found",this.typeToSearchText="Type to search",this.addTagText="Add item",this.loadingText="Loading...",this.clearAllText="Clear all",this.disableVirtualScroll=!0,this.openOnEnter=!0,this.appearance="underline"}}return We.\u0275fac=function(B){return new(B||We)},We.\u0275prov=t.Yz7({token:We,factory:We.\u0275fac,providedIn:"root"}),We})(),Qe=(()=>{class We{warn(B){console.warn(B)}}return We.\u0275fac=function(B){return new(B||We)},We.\u0275prov=t.Yz7({token:We,factory:We.\u0275fac,providedIn:"root"}),We})();const gt=new t.OlP("ng-select-selection-model");let it=(()=>
1{class We{constructor(B,ue,ve,Le,Je,Jt,In){this.classes=B,this.autoFocus=ue,this.config=ve,this._cd=Jt,this._console=In,this.markFirst=!0,this.dropdownPosition="auto",this.loading=!1,this.closeOnSelect=!0,this.hideSelected=!1,this.selectOnTab=!1,this.bufferAmount=4,this.selectableGroup=!1,this.selectableGroupAsModel=!0,this.searchFn=null,this.trackByFn=null,this.clearOnBackspace=!0,this.labelForId=null,this.inputAttrs={},this.readonly=!1,this.searchWhileComposing=!0,this.minTermLength=0,this.editableSearchTerm=!1,this.keyDownFn=er=>!0,this.multiple=!1,this.addTag=!1,this.searchable=!0,this.clearable=!0,this.isOpen=!1,this.blurEvent=new t.vpe,this.focusEvent=new t.vpe,this.changeEvent=new t.vpe,this.openEvent=new t.vpe,this.closeEvent=new t.vpe,this.searchEvent=new t.vpe,this.clearEvent=new t.vpe,this.addEvent=new t.vpe,this.removeEvent=new t.vpe,this.scroll=new t.vpe,this.scrollToEnd=new t.vpe,this.useDefaultClass=!0,this.viewPortItems=[],this.searchTerm=null,this.dropdownId=Tt(),this.escapeHTML=!0,this._items=[],this._defaultLabel="label",this._pressedKeys=[],this._isComposing=!1,this._destroy$=new H.x,this._keyPress$=new H.x,this._onChange=er=>{},this._onTouched=()=>{},this.clearItem=er=>{const Zn=this.selectedItems.find(Ir=>Ir.value===er);this.unselect(Zn)},this.trackByOption=(er,Zn)=>this.trackByFn?this.trackByFn(Zn.value):Zn,this._mergeGlobalConfig(ve),this.itemsList=new Nt(this,Le()),this.element=Je.nativeElement}get items(){return this._items}set items(B){null===B&&(B=[]),this._itemsAreUsed=!0,this._items=B}get compareWith(){return this._compareWith}set compareWith(B){if(null!=B&&!hr(B))throw Error("`compareWith` must be a function.");this._compareWith=B}get clearSearchOnAdd(){return cn(this._clearSearchOnAdd)?this._clearSearchOnAdd:cn(this.config.clearSearchOnAdd)?this.config.clearSearchOnAdd:this.closeOnSelect}set clearSearchOnAdd(B){this._clearSearchOnAdd=B}get disabled(){return this.readonly||this._disabled}get filtered(){return!!this.searchTerm&&this.searchable||this._isComposing}get single(){return!this.multiple}get _editableSearchTerm(){return this.editableSearchTerm&&!this.multiple}get selectedItems(){return this.itemsList.selectedItems}get selectedValues(){return this.selectedItems.map(B=>B.value)}get hasValue(){return this.selectedItems.length>0}get currentPanelPosition(){if(this.dropdownPanel)return this.dropdownPanel.currentPosition}ngOnInit(){this._handleKeyPresses(),this._setInputAttributes()}ngOnChanges(B){B.multiple&&this.itemsList.clearSelected(),B.items&&this._setItems(B.items.currentValue||[]),B.isOpen&&(this._manualOpen=cn(B.isOpen.currentValue))}ngAfterViewInit(){this._itemsAreUsed||(this.escapeHTML=!1,this._setItemsFromNgOptions()),cn(this.autoFocus)&&this.focus()}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete()}handleKeyDown(B){if(yt[B.which]){if(!1===this.keyDownFn(B))return;this.handleKeyCode(B)}else B.key&&1===B.key.length&&this._keyPress$.next(B.key.toLocaleLowerCase())}handleKeyCode(B){switch(B.which){case yt.ArrowDown:this._handleArrowDown(B);break;case yt.ArrowUp:this._handleArrowUp(B);break;case yt.Space:this._handleSpace(B);break;case yt.Enter:this._handleEnter(B);break;case yt.Tab:this._handleTab(B);break;case yt.Esc:this.close(),B.preventDefault();break;case yt.Backspace:this._handleBackspace()}}handleMousedown(B){const ue=B.target;"INPUT"!==ue.tagName&&B.preventDefault(),ue.classList.contains("ng-clear-wrapper")?this.handleClearClick():ue.classList.contains("ng-arrow-wrapper")?this.handleArrowClick():ue.classList.contains("ng-value-icon")||(this.focused||this.focus(),this.searchable?this.open():this.toggle())}handleArrowClick(){this.isOpen?this.close():this.open()}handleClearClick(){this.hasValue&&(this.itemsList.clearSelected(!0),this._updateNgModel()),this._clearSearch(),this.focus(),this.clearEvent.emit(),this._onSelectionChanged()}clearModel(){!this.clearable||(this.itemsList.clearSelected(),this._updateNgModel())}writeValue(B){this.itemsList.clearSelected(),this._handleWriteValue(B),this._cd.markForCheck()}registerOnChange(B){this._onChange=B}registerOnTouched(B){this._onTouched=B}setDisabledState(B){this._disabled=B,this._cd.markForCheck()}toggle(){this.isOpen?this.close():this.open()}open(){this.disabled||this.isOpen||this._manualOpen||!this._isTypeahead&&!this.addTag&&this.itemsList.noItemsToSelect||(this.isOpen=!0,this.itemsList.markSelectedOrDefault(this.markFirst),this.openEvent.emit(),this.searchTerm||this.focus(),this.detectChanges())}close(){!this.isOpen||this._manualOpen||(this.isOpen=!1,this._isComposing=!1,this._editableSearchTerm?this.itemsList.resetFilteredItems():this._clearSearch(),this.itemsList.unmarkItem(),this._onTouched(),this.closeEvent.emit(),this._cd.markForCheck())}toggleItem(B){!B||B.disabled||this.disabled||(this.multiple&&B.selected?this.unselect(B):this.select(B),this._editableSearchTerm&&this._setSearchTermFromItems(),this._onSelectionChanged())}select(B){B.selected||(this.itemsList.select(B),this.clearSearchOnAdd&&!this._editableSearchTerm&&this._clearSearch(),this._updateNgModel(),this.multiple&&this.addEvent.emit(B.value)),(this.closeOnSelect||this.itemsList.noItemsToSelect)&&this.close()}focus(){this.searchInput.nativeElement.focus()}blur(){this.searchInput.nativeElement.blur()}unselect(B){!B||(this.itemsList.unselect(B),this.focus(),this._updateNgModel(),this.removeEvent.emit(B))}selectTag(){let B;B=hr(this.addTag)?this.addTag(this.searchTerm):this._primitive?this.searchTerm:{[this.bindLabel]:this.searchTerm};const ue=ve=>this._isTypeahead||!this.isOpen?this.itemsList.mapItem(ve,null):this.itemsList.addItem(ve);!function Ln(We){return We instanceof Promise}(B)?B&&this.select(ue(B)):B.then(ve=>this.select(ue(ve))).catch(()=>{})}showClear(){return this.clearable&&(this.hasValue||this.searchTerm)&&!this.disabled}
1get showAddTag(){if(!this._validTerm)return!1;const B=this.searchTerm.toLowerCase().trim();return this.addTag&&!this.itemsList.filteredItems.some(ue=>ue.label.toLowerCase()===B)&&(!this.hideSelected&&this.isOpen||!this.selectedItems.some(ue=>ue.label.toLowerCase()===B))&&!this.loading}showNoItemsFound(){const B=0===this.itemsList.filteredItems.length;return(B&&!this._isTypeahead&&!this.loading||B&&this._isTypeahead&&this._validTerm&&!this.loading)&&!this.showAddTag}showTypeToSearch(){return 0===this.itemsList.filteredItems.length&&this._isTypeahead&&!this._validTerm&&!this.loading}onCompositionStart(){this._isComposing=!0}onCompositionEnd(B){this._isComposing=!1,!this.searchWhileComposing&&this.filter(B)}filter(B){this._isComposing&&!this.searchWhileComposing||(this.searchTerm=B,this._isTypeahead&&(this._validTerm||0===this.minTermLength)&&this.typeahead.next(B),this._isTypeahead||(this.itemsList.filter(this.searchTerm),this.isOpen&&this.itemsList.markSelectedOrDefault(this.markFirst)),this.searchEvent.emit({term:B,items:this.itemsList.filteredItems.map(ue=>ue.value)}),this.open())}onInputFocus(B){this.focused||(this._editableSearchTerm&&this._setSearchTermFromItems(),this.element.classList.add("ng-select-focused"),this.focusEvent.emit(B),this.focused=!0)}onInputBlur(B){this.element.classList.remove("ng-select-focused"),this.blurEvent.emit(B),!this.isOpen&&!this.disabled&&this._onTouched(),this._editableSearchTerm&&this._setSearchTermFromItems(),this.focused=!1}onItemHover(B){B.disabled||this.itemsList.markItem(B)}detectChanges(){this._cd.destroyed||this._cd.detectChanges()}_setSearchTermFromItems(){const B=this.selectedItems&&this.selectedItems[0];this.searchTerm=B&&B.label||null}_setItems(B){const ue=B[0];this.bindLabel=this.bindLabel||this._defaultLabel,this._primitive=cn(ue)?!Fn(ue):this._primitive||this.bindLabel===this._defaultLabel,this.itemsList.setItems(B),B.length>0&&this.hasValue&&this.itemsList.mapSelectedItems(),this.isOpen&&cn(this.searchTerm)&&!this._isTypeahead&&this.itemsList.filter(this.searchTerm),(this._isTypeahead||this.isOpen)&&this.itemsList.markSelectedOrDefault(this.markFirst)}_setItemsFromNgOptions(){const B=ve=>{this.items=ve.map(Le=>({$ngOptionValue:Le.value,$ngOptionLabel:Le.elementRef.nativeElement.innerHTML,disabled:Le.disabled})),this.itemsList.setItems(this.items),this.hasValue&&this.itemsList.mapSelectedItems(),this.detectChanges()},ue=()=>{const ve=(0,ae.T)(this.ngOptions.changes,this._destroy$);(0,ae.T)(...this.ngOptions.map(Le=>Le.stateChange$)).pipe((0,_.R)(ve)).subscribe(Le=>{const Je=this.itemsList.findItem(Le.value);Je.disabled=Le.disabled,Je.label=Le.label||Je.label,this._cd.detectChanges()})};this.ngOptions.changes.pipe((0,D.O)(this.ngOptions),(0,_.R)(this._destroy$)).subscribe(ve=>{this.bindLabel=this._defaultLabel,B(ve),ue()})}_isValidWriteValue(B){if(!cn(B)||this.multiple&&""===B||Array.isArray(B)&&0===B.length)return!1;const ue=ve=>!(!cn(this.compareWith)&&Fn(ve)&&this.bindValue&&(this._console.warn(`Setting object(${JSON.stringify(ve)}) as your model with bindValue is not allowed unless [compareWith] is used.`),1));return this.multiple?Array.isArray(B)?B.every(ve=>ue(ve)):(this._console.warn("Multiple select ngModel should be array."),!1):ue(B)}_handleWriteValue(B){if(!this._isValidWriteValue(B))return;const ue=ve=>{let Le=this.itemsList.findItem(ve);if(Le)this.itemsList.select(Le);else{const Je=Fn(ve),Jt=!Je&&!this.bindValue;Je||Jt?this.itemsList.select(this.itemsList.mapItem(ve,null)):this.bindValue&&(Le={[this.bindLabel]:null,[this.bindValue]:ve},this.itemsList.select(this.itemsList.mapItem(Le,null)))}};this.multiple?B.forEach(ve=>ue(ve)):ue(B)}_handleKeyPresses(){this.searchable||this._keyPress$.pipe((0,_.R)(this._destroy$),(0,M.b)(B=>this._pressedKeys.push(B)),(0,k.b)(200),(0,U.h)(()=>this._pressedKeys.length>0),(0,te.U)(()=>this._pressedKeys.join(""))).subscribe(B=>{const ue=this.itemsList.findByLabel(B);ue&&(this.isOpen?(this.itemsList.markItem(ue),this._scrollToMarked(),this._cd.markForCheck()):this.select(ue)),this._pressedKeys=[]})}_setInputAttributes(){const B=this.searchInput.nativeElement,ue={type:"text",autocorrect:"off",autocapitalize:"off",autocomplete:this.labelForId?"off":this.dropdownId,...this.inputAttrs};for(const ve of Object.keys(ue))B.setAttribute(ve,ue[ve])}_updateNgModel(){const B=[];for(const ve of this.selectedItems)if(this.bindValue){let Le=null;Le=ve.children?ve.value[(this.groupValue?this.bindValue:this.groupBy)||this.groupBy]:this.itemsList.resolveNested(ve.value,this.bindValue),B.push(Le)}else B.push(ve.value);const ue=this.selectedItems.map(ve=>ve.value);this.multiple?(this._onChange(B),this.changeEvent.emit(ue)):(this._onChange(cn(B[0])?B[0]:null),this.changeEvent.emit(ue[0])
1),this._cd.markForCheck()}_clearSearch(){!this.searchTerm||(this._changeSearch(null),this.itemsList.resetFilteredItems())}_changeSearch(B){this.searchTerm=B,this._isTypeahead&&this.typeahead.next(B)}_scrollToMarked(){!this.isOpen||!this.dropdownPanel||this.dropdownPanel.scrollTo(this.itemsList.markedItem)}_scrollToTag(){!this.isOpen||!this.dropdownPanel||this.dropdownPanel.scrollToTag()}_onSelectionChanged(){this.isOpen&&this.multiple&&this.appendTo&&(this._cd.detectChanges(),this.dropdownPanel.adjustPosition())}_handleTab(B){!1===this.isOpen&&!this.addTag||(this.selectOnTab?this.itemsList.markedItem?(this.toggleItem(this.itemsList.markedItem),B.preventDefault()):this.showAddTag?(this.selectTag(),B.preventDefault()):this.close():this.close())}_handleEnter(B){if(this.isOpen||this._manualOpen)this.itemsList.markedItem?this.toggleItem(this.itemsList.markedItem):this.showAddTag&&this.selectTag();else{if(!this.openOnEnter)return;this.open()}B.preventDefault()}_handleSpace(B){this.isOpen||this._manualOpen||(this.open(),B.preventDefault())}_handleArrowDown(B){this._nextItemIsTag(1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markNextItem(),this._scrollToMarked()),this.open(),B.preventDefault()}_handleArrowUp(B){!this.isOpen||(this._nextItemIsTag(-1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markPreviousItem(),this._scrollToMarked()),B.preventDefault())}_nextItemIsTag(B){const ue=this.itemsList.markedIndex+B;return this.addTag&&this.searchTerm&&this.itemsList.markedItem&&(ue<0||ue===this.itemsList.filteredItems.length)}_handleBackspace(){this.searchTerm||!this.clearable||!this.clearOnBackspace||!this.hasValue||(this.multiple?this.unselect(this.itemsList.lastSelectedItem):this.clearModel())}get _isTypeahead(){return this.typeahead&&this.typeahead.observers.length>0}get _validTerm(){const B=this.searchTerm&&this.searchTerm.trim();return B&&B.length>=this.minTermLength}_mergeGlobalConfig(B){this.placeholder=this.placeholder||B.placeholder,this.notFoundText=this.notFoundText||B.notFoundText,this.typeToSearchText=this.typeToSearchText||B.typeToSearchText,this.addTagText=this.addTagText||B.addTagText,this.loadingText=this.loadingText||B.loadingText,this.clearAllText=this.clearAllText||B.clearAllText,this.virtualScroll=cn(this.virtualScroll)?this.virtualScroll:!!cn(B.disableVirtualScroll)&&!B.disableVirtualScroll,this.openOnEnter=cn(this.openOnEnter)?this.openOnEnter:B.openOnEnter,this.appendTo=this.appendTo||B.appendTo,this.bindValue=this.bindValue||B.bindValue,this.bindLabel=this.bindLabel||B.bindLabel,this.appearance=this.appearance||B.appearance}}return We.\u0275fac=function(B){return new(B||We)(t.$8M("class"),t.$8M("autofocus"),t.Y36(Ge),t.Y36(gt),t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(Qe))},We.\u0275cmp=t.Xpm({type:We,selectors:[["ng-select"]],contentQueries:function(B,ue,ve){if(1&B&&(t.Suo(ve,mn,5,t.Rgc),t.Suo(ve,bn,5,t.Rgc),t.Suo(ve,Gt,5,t.Rgc),t.Suo(ve,Tn,5,t.Rgc),t.Suo(ve,Br,5,t.Rgc),t.Suo(ve,yr,5,t.Rgc),t.Suo(ve,$r,5,t.Rgc),t.Suo(ve,Vr,5,t.Rgc),t.Suo(ve,Tr,5,t.Rgc),t.Suo(ve,_t,5,t.Rgc),t.Suo(ve,Vt,5,t.Rgc),t.Suo(ve,Oe,5)),2&B){let Le;t.iGM(Le=t.CRH())&&(ue.optionTemplate=Le.first),t.iGM(Le=t.CRH())&&(ue.optgroupTemplate=Le.first),t.iGM(Le=t.CRH())&&(ue.labelTemplate=Le.first),t.iGM(Le=t.CRH())&&(ue.multiLabelTemplate=Le.first),t.iGM(Le=t.CRH())&&(ue.headerTemplate=Le.first),t.iGM(Le=t.CRH())&&(ue.footerTemplate=Le.first),t.iGM(Le=t.CRH())&&(ue.notFoundTemplate=Le.first),t.iGM(Le=t.CRH())&&(ue.typeToSearchTemplate=Le.first),t.iGM(Le=t.CRH())&&(ue.loadingTextTemplate=Le.first),t.iGM(Le=t.CRH())&&(ue.tagTemplate=Le.first),t.iGM(Le=t.CRH())&&(ue.loadingSpinnerTemplate=Le.first),t.iGM(Le=t.CRH())&&(ue.ngOptions=Le)}},viewQuery:function(B,ue){if(1&B&&(t.Gf(St,5),t.Gf(Fe,7)),2&B){let ve;t.iGM(ve=t.CRH())&&(ue.dropdownPanel=ve.first),t.iGM(ve=t.CRH())&&(ue.searchInput=ve.first)}},hostVars:20,hostBindings:function(B,ue){1&B&&t.NdJ("keydown",function(Le){return ue.handleKeyDown(Le)}),2&B&&t.ekj("ng-select-typeahead",ue.typeahead)("ng-select-multiple",ue.multiple)("ng-select-taggable",ue.addTag)("ng-select-searchable",ue.searchable)("ng-select-clearable",ue.clearable)("ng-select-opened",ue.isOpen)("ng-select",ue.useDefaultClass)("ng-select-disabled",ue.disabled)("ng-select-filtered",ue.filtered)("ng-select-single",ue.single)},inputs:{bindLabel:"bindLabel",bindValue:"bindValue",markFirst:"markFirst",placeholder:"placeholder",notFoundText:"notFoundText",typeToSearchText:"typeToSearchText",addTagText:"addTagText",loadingText:"loadingText",clearAllText:"clearAllText",appearance:"appearance",dropdownPosition:"dropdownPosition",appendTo:"appendTo",loading:"loading",closeOnSelect:"closeOnSelect",hide
1Selected:"hideSelected",selectOnTab:"selectOnTab",openOnEnter:"openOnEnter",maxSelectedItems:"maxSelectedItems",groupBy:"groupBy",groupValue:"groupValue",bufferAmount:"bufferAmount",virtualScroll:"virtualScroll",selectableGroup:"selectableGroup",selectableGroupAsModel:"selectableGroupAsModel",searchFn:"searchFn",trackByFn:"trackByFn",clearOnBackspace:"clearOnBackspace",labelForId:"labelForId",inputAttrs:"inputAttrs",tabIndex:"tabIndex",readonly:"readonly",searchWhileComposing:"searchWhileComposing",minTermLength:"minTermLength",editableSearchTerm:"editableSearchTerm",keyDownFn:"keyDownFn",typeahead:"typeahead",multiple:"multiple",addTag:"addTag",searchable:"searchable",clearable:"clearable",isOpen:"isOpen",items:"items",compareWith:"compareWith",clearSearchOnAdd:"clearSearchOnAdd"},outputs:{blurEvent:"blur",focusEvent:"focus",changeEvent:"change",openEvent:"open",closeEvent:"close",searchEvent:"search",clearEvent:"clear",addEvent:"add",removeEvent:"remove",scroll:"scroll",scrollToEnd:"scrollToEnd"},features:[t._Bn([{provide:f.JU,useExisting:(0,t.Gpc)(()=>We),multi:!0},ot]),t.TTD],decls:14,vars:19,consts:[[1,"ng-select-container",3,"mousedown"],[1,"ng-value-container"],[1,"ng-placeholder"],[4,"ngIf"],["role","combobox","aria-haspopup","listbox",1,"ng-input"],["aria-autocomplete","list",3,"readOnly","disabled","value","input","compositionstart","compositionend","focus","blur","change"],["searchInput",""],["class","ng-clear-wrapper",3,"title",4,"ngIf"],[1,"ng-arrow-wrapper"],[1,"ng-arrow"],["class","ng-dropdown-panel","role","listbox","aria-label","Options list",3,"virtualScroll","bufferAmount","appendTo","position","headerTemplate","footerTemplate","filterValue","items","markedItem","ng-select-multiple","ngClass","id","update","scroll","scrollToEnd","outsideClick",4,"ngIf"],["class","ng-value",3,"ng-value-disabled",4,"ngFor","ngForOf","ngForTrackBy"],[1,"ng-value"],["defaultLabelTemplate",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["aria-hidden","true",1,"ng-value-icon","left",3,"click"],[1,"ng-value-label",3,"ngItemLabel","escape"],["defaultLoadingSpinnerTemplate",""],[3,"ngTemplateOutlet"],[1,"ng-spinner-loader"],[1,"ng-clear-wrapper",3,"title"],["aria-hidden","true",1,"ng-clear"],["role","listbox","aria-label","Options list",1,"ng-dropdown-panel",3,"virtualScroll","bufferAmount","appendTo","position","headerTemplate","footerTemplate","filterValue","items","markedItem","ngClass","id","update","scroll","scrollToEnd","outsideClick"],["class","ng-option",3,"ng-option-disabled","ng-option-selected","ng-optgroup","ng-option","ng-option-child","ng-option-marked","click","mouseover",4,"ngFor","ngForOf","ngForTrackBy"],["class","ng-option","role","option",3,"ng-option-marked","mouseover","click",4,"ngIf"],[1,"ng-option",3,"click","mouseover"],["defaultOptionTemplate",""],[1,"ng-option-label",3,"ngItemLabel","escape"],["role","option",1,"ng-option",3,"mouseover","click"],["defaultTagTemplate",""],[1,"ng-tag-label"],["defaultNotFoundTemplate",""],[1,"ng-option","ng-option-disabled"],["defaultTypeToSearchTemplate",""],["defaultLoadingTextTemplate",""]],template:function(B,ue){if(1&B){const ve=t.EpF();t.TgZ(0,"div",0),t.NdJ("mousedown",function(Je){return ue.handleMousedown(Je)}),t.TgZ(1,"div",1)(2,"div",2),t._uU(3),t.qZA(),t.YNc(4,ke,2,2,"ng-container",3),t.YNc(5,oe,1,5,null,3),t.TgZ(6,"div",4)(7,"input",5,6),t.NdJ("input",function(){t.CHM(ve);const Je=t.MAs(8);return t.KtG(ue.filter(Je.value))})("compositionstart",function(){return ue.onCompositionStart()})("compositionend",function(){t.CHM(ve);const Je=t.MAs(8);return t.KtG(ue.onCompositionEnd(Je.value))})("focus",function(Je){return ue.onInputFocus(Je)})("blur",function(Je){return ue.onInputBlur(Je)})("change",function(Je){return Je.stopPropagation()}),t.qZA()()(),t.YNc(9,tt,4,1,"ng-container",3),t.YNc(10,st,3,1,"span",7),t.TgZ(11,"span",8),t._UZ(12,"span",9),t.qZA()(),t.YNc(13,$n,7,19,"ng-dropdown-panel",10)}2&B&&(t.ekj("ng-appearance-outline","outline"===ue.appearance)("ng-has-value",ue.hasValue),t.xp6(3),t.Oqu(ue.placeholder),t.xp6(1),t.Q6J("ngIf",(!ue.multiLabelTemplate||!ue.multiple)&&ue.selectedItems.length>0),t.xp6(1),t.Q6J("ngIf",ue.multiple&&ue.multiLabelTemplate&&ue.selectedValues.length>0),t.xp6(1),t.uIk("aria-expanded",ue.isOpen)("aria-owns",ue.isOpen?ue.dropdownId:null),t.xp6(1),t.Q6J("readOnly",!ue.searchable||ue.itemsList.maxItemsSelected)("disabled",ue.disabled)("value",ue.searchTerm?ue.searchTerm:""),t.uIk("id",ue.labelForId)("tabindex",ue.tabIndex)("aria-activedescendant",ue.isOpen?null==ue.itemsList||null==ue.itemsList.markedItem?null:ue.itemsList.markedItem.htmlId:null)("aria-controls",ue.isOpen?ue.dropdownId:null),t.xp6(2),t.Q6J("ngIf",ue.loading),t.xp6(1),t.Q6J("ngIf",ue.showClear()),t.xp6(3),t.Q6J("ngIf",ue.isOpen))},dependencies:[V.mk,V.sg,V.O5,V.tP,St,Dr],styles:['@charset "UTF-8";.ng-select{position:relative;display:block;box-sizing:border-box}.ng-select div,.ng-select input,.ng-select span{box-sizing:border-box}.ng-select [hidden]{display:none}.ng-select.ng-select-searchable .ng-select-container .ng-value-container .ng-input{opacity:1}.ng-select.ng-select-opened .ng-select-container{z-index:1001}.ng-select.ng-select-disabled .ng-select-container .ng-value-container .ng-placeholder,.ng-select.ng-select-disabled .ng-select-container .ng-value-container .ng-value{-webkit-user-select:none;user-select:none;cursor:default}.ng-select.ng-select-disabled .ng-arrow-wrapper{cursor:default}.ng-select.ng-select-filtered .ng-placeholder{display:none}.ng-select .ng-select-container{cursor:default;display:flex;outline:none;overflow:hidden;position:relative;width:100%}.ng-select .ng-select-container .ng-value-container{display:flex;flex:1}.ng-select .ng-select-container .ng-value-container .ng-input{opacity:0}
1.ng-select .ng-select-container .ng-value-container .ng-input>input{box-sizing:content-box;background:none transparent;border:0 none;box-shadow:none;outline:none;padding:0;cursor:default;width:100%}.ng-select .ng-select-container .ng-value-container .ng-input>input::-ms-clear{display:none}.ng-select .ng-select-container .ng-value-container .ng-input>input[readonly]{-webkit-user-select:none;user-select:none;width:0;padding:0}.ng-select.ng-select-single.ng-select-filtered .ng-select-container .ng-value-container .ng-value{visibility:hidden}.ng-select.ng-select-single .ng-select-container .ng-value-container,.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value .ng-value-icon{display:none}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input{position:absolute;left:0;width:100%}.ng-select.ng-select-multiple.ng-select-disabled>.ng-select-container .ng-value-container .ng-value .ng-value-icon{display:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container{flex-wrap:wrap}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{position:absolute}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{white-space:nowrap}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled .ng-value-icon{display:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon{cursor:pointer}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input{flex:1;z-index:2}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{z-index:1}.ng-select .ng-clear-wrapper{cursor:pointer;position:relative;width:17px;-webkit-user-select:none;user-select:none}.ng-select .ng-clear-wrapper .ng-clear{display:inline-block;font-size:18px;line-height:1;pointer-events:none}.ng-select .ng-spinner-loader{border-radius:50%;width:17px;height:17px;margin-right:5px;font-size:10px;position:relative;text-indent:-9999em;border-top:2px solid rgba(66,66,66,.2);border-right:2px solid rgba(66,66,66,.2);border-bottom:2px solid rgba(66,66,66,.2);border-left:2px solid #424242;transform:translateZ(0);animation:load8 .8s infinite linear}.ng-select .ng-spinner-loader:after{border-radius:50%;width:17px;height:17px}@keyframes load8{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.ng-select .ng-arrow-wrapper{cursor:pointer;position:relative;text-align:center;-webkit-user-select:none;user-select:none}.ng-select .ng-arrow-wrapper .ng-arrow{pointer-events:none;display:inline-block;height:0;width:0;position:relative}.ng-dropdown-panel{box-sizing:border-box;position:absolute;opacity:0;width:100%;z-index:1050;-webkit-overflow-scrolling:touch}.ng-dropdown-panel .ng-dropdown-panel-items{display:block;height:auto;box-sizing:border-box;max-height:240px;overflow-y:auto}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option{box-sizing:border-box;cursor:pointer;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-option-label:empty:before{content:"\\200b"}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .highlighted{font-weight:700;text-decoration:underline}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.disabled{cursor:default}.ng-dropdown-panel .scroll-host{overflow:hidden;overflow-y:auto;position:relative;display:block;-webkit-overflow-scrolling:touch}.ng-dropdown-panel .scrollable-content{top:0;left:0;width:100%;height:100%;position:absolute}.ng-dropdown-panel .total-padding{width:1px;opacity:0}\n'],encapsulation:2,changeDetection:0}),We})();function zt(){return new Cn}class Cn{constructor(){this._selected=[]}get value(){return this._selected}select(Ve,B,ue){if(Ve.selected=!0,(!Ve.children||!B&&ue)&&this._selected.push(Ve),B)if(Ve.parent){const ve=Ve.parent.children.length,Le=Ve.parent.children.filter(Je=>Je.selected).length;Ve.parent.selected=ve===Le}else Ve.children&&(this._setChildrenSelectedState(Ve.children,!0),this._removeChildren(Ve),this._selected=ue&&this._activeChildren(Ve)?[...this._selected.filter(ve=>ve.parent!==Ve),Ve]:[...this._selected,...Ve.children.filter(ve=>!ve.disabled)])}unselect(Ve,B){if(this._selected=this._selected.filter(ue=>ue!==Ve),Ve.selected=!1,B)if(Ve.parent&&Ve.parent.selected){const ue=Ve.parent.children;this._removeParent(Ve.parent),this._removeChildren(Ve.parent),this._selected.push(...ue.filter(ve=>ve!==Ve&&!ve.disabled)),Ve.parent.selected=!1}else Ve.children&&(this._setChildrenSelectedState(Ve.children,!1),this._removeChildren(Ve))}
1clear(Ve){this._selected=Ve?this._selected.filter(B=>B.disabled):[]}_setChildrenSelectedState(Ve,B){for(const ue of Ve)ue.disabled||(ue.selected=B)}_removeChildren(Ve){this._selected=[...this._selected.filter(B=>B.parent!==Ve),...Ve.children.filter(B=>B.parent===Ve&&B.disabled&&B.selected)]}_removeParent(Ve){this._selected=this._selected.filter(B=>B!==Ve)}_activeChildren(Ve){return Ve.children.every(B=>!B.disabled||B.selected)}}let At=(()=>{class We{}return We.\u0275fac=function(B){return new(B||We)},We.\u0275mod=t.oAB({type:We}),We.\u0275inj=t.cJS({providers:[{provide:gt,useValue:zt}],imports:[V.ez]}),We})()},9933:(s,a,l)=>{"use strict";l.d(a,{c:()=>pe,t:()=>De});var t=l(7579),f=l(727),D=(l(8996),l(515),l(4650)),k=(l(5577),l(3085));const U=D.GuJ,I=Symbol("__destroy"),z=Symbol("__decoratorApplied");function H(oe){return"string"==typeof oe?Symbol(`__destroy__${oe}`):I}function ae(oe,he){oe[he]||(oe[he]=new t.x)}function V(oe,he){oe[he]&&(oe[he].next(),oe[he].complete(),oe[he]=null)}function Y(oe){oe instanceof f.w0&&oe.unsubscribe()}function O(oe,he){return function(){if(oe&&oe.call(this),V(this,H()),he.arrayName&&function N(oe){Array.isArray(oe)&&oe.forEach(Y)}(this[he.arrayName]),he.checkProperties)for(const be in this)he.blackList?.includes(be)||Y(this[be])}}function pe(oe={}){return he=>{!function te(oe){return!!oe[U]}(he)?function X(oe,he){oe.prototype.ngOnDestroy=O(oe.prototype.ngOnDestroy,he)}(he,oe):function J(oe,he){const be=oe.\u0275pipe;be.onDestroy=O(be.onDestroy,he)}(he,oe),function ee(oe){oe.prototype[z]=!0}(he)}}function De(oe,he){return be=>{const tt=H(he);return"string"==typeof he?function ke(oe,he,be){const tt=oe[he];ae(oe,be),oe[he]=function(){tt.apply(this,arguments),V(this,be),oe[he]=tt}}(oe,he,tt):ae(oe,tt),be.pipe((0,k.R)(oe[tt]))}}Symbol("CheckerHasBeenSet")},8776:(s,a,l)=>{"use strict";l.d(a,{eX:()=>jt,sQ:()=>Gt,GW:()=>ke,l4:()=>Wt});var t=l(6451),f=l(9751),_=l(7579),S=l(8502),D=l(515),M=l(9646),k=l(2843),U=l(576);class I{constructor(Vt,Tt,qt){this.kind=Vt,this.value=Tt,this.error=qt,this.hasValue="N"===Vt}observe(Vt){return z(this,Vt)}do(Vt,Tt,qt){const{kind:sn,value:Nt,error:yt}=this;return"N"===sn?Vt?.(Nt):"E"===sn?Tt?.(yt):qt?.()}accept(Vt,Tt,qt){var sn;return(0,U.m)(null===(sn=Vt)||void 0===sn?void 0:sn.next)?this.observe(Vt):this.do(Vt,Tt,qt)}toObservable(){const{kind:Vt,value:Tt,error:qt}=this,sn="N"===Vt?(0,M.of)(Tt):"E"===Vt?(0,k._)(()=>qt):"C"===Vt?D.E:0;if(!sn)throw new TypeError(`Unexpected notification kind ${Vt}`);return sn}static createNext(Vt){return new I("N",Vt)}static createError(Vt){return new I("E",void 0,Vt)}static createComplete(){return I.completeNotification}}function z(_t,Vt){var Tt,qt,sn;const{kind:Nt,value:yt,error:ot}=_t;if("string"!=typeof Nt)throw new TypeError('Invalid notification, missing "kind"');"N"===Nt?null===(Tt=Vt.next)||void 0===Tt||Tt.call(Vt,yt):"E"===Nt?null===(qt=Vt.error)||void 0===qt||qt.call(Vt,ot):null===(sn=Vt.complete)||void 0===sn||sn.call(Vt)}I.completeNotification=new I("C");var H=l(4482),ee=l(5403),V=l(4004),Y=l(262),N=l(9300),O=l(8421);function X(_t,Vt,Tt,qt){return(0,H.e)((sn,Nt)=>{let yt;Vt&&"function"!=typeof Vt?({duration:Tt,element:yt,connector:qt}=Vt):yt=Vt;const ot=new Map,Ue=gt=>{ot.forEach(gt),gt(Nt)},Ye=gt=>Ue(it=>it.error(gt));let St=0,Oe=!1;const Ge=new ee.Q(Nt,gt=>{try{const it=_t(gt);let zt=ot.get(it);if(!zt){ot.set(it,zt=qt?qt():new _.x);const Cn=function Qe(gt,it){const zt=new f.y(Cn=>{St++;const At=it.subscribe(Cn);return()=>{At.unsubscribe(),0==--St&&Oe&&Ge.unsubscribe()}});return zt.key=gt,zt}(it,zt);if(Nt.next(Cn),Tt){const At=(0,ee.x)(zt,()=>{zt.complete(),At?.unsubscribe()},void 0,void 0,()=>ot.delete(it));Ge.add((0,O.Xf)(Tt(Cn)).subscribe(At))}}zt.next(yt?yt(gt):gt)}catch(it){Ye(it)}},()=>Ue(gt=>gt.complete()),Ye,()=>ot.clear(),()=>(Oe=!0,0===St));sn.subscribe(Ge)})}var J=l(5577),pe=l(6129),Fe=l(5698),He=l(4650),xe=l(9653);const Ne={dispatch:!0,useEffectsErrorHandler:!0},ze="__@ngrx/effects_create__";function ke(_t,Vt){const Tt=_t(),qt={...Ne,...Vt};return Object.defineProperty(Tt,ze,{value:qt}),Tt}function he(_t){return Object.getPrototypeOf(_t)}function be(_t,Vt,Tt){const qt=he(_t).constructor.name,sn=function oe(_t){return function De(_t){return Object.getOwnPropertyNames(_t).filter(qt=>!(!_t[qt]||!_t[qt].hasOwnProperty(ze))&&_t[qt][ze].hasOwnProperty("dispatch")).map(qt=>({propertyName:qt,..._t[qt][ze]}))}(_t)}(_t).map(({propertyName:Nt,dispatch:yt,useEffectsErrorHandler:ot})=>{const Ue="function"==typeof _t[Nt]?_t[Nt]():_t[Nt],Ye=ot?Tt(Ue,Vt):Ue;return!1===yt?Ye.pipe((0,S.l)()):Ye.pipe(function ae(){return(0,H.e)((_t,Vt)=>{_t.subscribe((0,ee.x)(Vt,Tt=>{Vt.next(I.createNext(Tt))},()=>{Vt.next(I.createComplete()),Vt.complete()},Tt=>{Vt.next(I.createError(Tt)),Vt.complete()}
1))})}()).pipe((0,V.U)(Oe=>({effect:_t[Nt],notification:Oe,propertyName:Nt,sourceName:qt,sourceInstance:_t})))});return(0,t.T)(...sn)}function st(_t,Vt,Tt=10){return _t.pipe((0,Y.K)(qt=>(Vt&&Vt.handleError(qt),Tt<=1?_t:st(_t,Vt,Tt-1))))}let jt=(()=>{class _t extends f.y{constructor(Tt){super(),Tt&&(this.source=Tt)}lift(Tt){const qt=new _t;return qt.source=this,qt.operator=Tt,qt}}return _t.\u0275fac=function(Tt){return new(Tt||_t)(He.LFG(xe.Y$))},_t.\u0275prov=He.Yz7({token:_t,factory:_t.\u0275fac,providedIn:"root"}),_t})();function Wt(..._t){return(0,N.h)(Vt=>_t.some(Tt=>"string"==typeof Tt?Tt===Vt.type:Tt.type===Vt.type))}const Ut=new He.OlP("@ngrx/effects Internal Root Guard"),Et=new He.OlP("@ngrx/effects User Provided Effects"),dn=new He.OlP("@ngrx/effects Internal Root Effects"),rn=new He.OlP("@ngrx/effects Root Effects"),gn=new He.OlP("@ngrx/effects Internal Feature Effects"),Xt=new He.OlP("@ngrx/effects Feature Effects"),Er=new He.OlP("@ngrx/effects Effects Error Handler",{providedIn:"root",factory:()=>st}),_n="@ngrx/effects/init";function fn(_t){return cn(_t,"ngrxOnInitEffects")}function cn(_t,Vt){return _t&&Vt in _t&&"function"==typeof _t[Vt]}(0,xe.PH)(_n);let Fn=(()=>{class _t extends _.x{constructor(Tt,qt){super(),this.errorHandler=Tt,this.effectsErrorHandler=qt}addEffects(Tt){this.next(Tt)}toActions(){return this.pipe(X(he),(0,J.z)(Tt=>Tt.pipe(X(Ln))),(0,J.z)(Tt=>{const qt=Tt.pipe((0,pe.z)(Nt=>function hr(_t,Vt){return Tt=>{const qt=be(Tt,_t,Vt);return function Sn(_t){return cn(_t,"ngrxOnRunEffects")}(Tt)?Tt.ngrxOnRunEffects(qt):qt}}(this.errorHandler,this.effectsErrorHandler)(Nt)),(0,V.U)(Nt=>(function Bt(_t,Vt){if("N"===_t.notification.kind){const Tt=_t.notification.value;!function Hn(_t){return"function"!=typeof _t&&_t&&_t.type&&"string"==typeof _t.type}(Tt)&&Vt.handleError(new Error(`Effect ${function un({propertyName:_t,sourceInstance:Vt,sourceName:Tt}){const qt="function"==typeof Vt[_t];return`"${Tt}.${String(_t)}${qt?"()":""}"`}(_t)} dispatched an invalid action: ${function dr(_t){try{return JSON.stringify(_t)}catch{return _t}}(Tt)}`))}}(Nt,this.errorHandler),Nt.notification)),(0,N.h)(Nt=>"N"===Nt.kind&&null!=Nt.value),function me(){return(0,H.e)((_t,Vt)=>{_t.subscribe((0,ee.x)(Vt,Tt=>z(Tt,Vt)))})}()),sn=Tt.pipe((0,Fe.q)(1),(0,N.h)(fn),(0,V.U)(Nt=>Nt.ngrxOnInitEffects()));return(0,t.T)(qt,sn)}))}}return _t.\u0275fac=function(Tt){return new(Tt||_t)(He.LFG(He.qLn),He.LFG(Er))},_t.\u0275prov=He.Yz7({token:_t,factory:_t.\u0275fac,providedIn:"root"}),_t})();function Ln(_t){return function $n(_t){return cn(_t,"ngrxOnIdentifyEffects")}(_t)?_t.ngrxOnIdentifyEffects():""}let Dr=(()=>{class _t{constructor(Tt,qt){this.effectSources=Tt,this.store=qt,this.effectsSubscription=null}get isStarted(){return!!this.effectsSubscription}start(){this.effectsSubscription||(this.effectsSubscription=this.effectSources.toActions().subscribe(this.store))}ngOnDestroy(){this.effectsSubscription&&(this.effectsSubscription.unsubscribe(),this.effectsSubscription=null)}}return _t.\u0275fac=function(Tt){return new(Tt||_t)(He.LFG(Fn),He.LFG(xe.yh))},_t.\u0275prov=He.Yz7({token:_t,factory:_t.\u0275fac,providedIn:"root"}),_t})(),mn=(()=>{class _t{constructor(Tt,qt,sn,Nt,yt,ot,Ue){this.sources=Tt,qt.start(),Nt.forEach(Ye=>Tt.addEffects(Ye)),sn.dispatch({type:_n})}addEffects(Tt){this.sources.addEffects(Tt)}}return _t.\u0275fac=function(Tt){return new(Tt||_t)(He.LFG(Fn),He.LFG(Dr),He.LFG(xe.yh),He.LFG(rn),He.LFG(xe.cr,8),He.LFG(xe.CK,8),He.LFG(Ut,8))},_t.\u0275mod=He.oAB({type:_t}),_t.\u0275inj=He.cJS({}),_t})(),bn=(()=>{class _t{constructor(Tt,qt,sn,Nt){qt.forEach(yt=>yt.forEach(ot=>Tt.addEffects(ot)))}}return _t.\u0275fac=function(Tt){return new(Tt||_t)(He.LFG(mn),He.LFG(Xt),He.LFG(xe.cr,8),He.LFG(xe.CK,8))},_t.\u0275mod=He.oAB({type:_t}),_t.\u0275inj=He.cJS({}),_t})(),Gt=(()=>{class _t{static forFeature(...Tt){const qt=Tt.flat();return{ngModule:bn,providers:[qt,{provide:gn,multi:!0,useValue:qt},{provide:Et,multi:!0,useValue:[]},{provide:Xt,multi:!0,useFactory:Tn,deps:[gn,Et]}]}}static forRoot(...Tt){const qt=Tt.flat();return{ngModule:mn,providers:[qt,{provide:dn,useValue:[qt]},{provide:Ut,useFactory:yr},{provide:Et,multi:!0,useValue:[]},{provide:rn,useFactory:Tn,deps:[dn,Et]}]}}}return _t.\u0275fac=function(Tt){return new(Tt||_t)},_t.\u0275mod=He.oAB({type:_t}),_t.\u0275inj=He.cJS({}),_t})();function Tn(_t,Vt){const Tt=[];for(const qt of _t)Tt.push(...qt);for(const qt of Vt)Tt.push(...qt);return function Br(_t){return _t.map(Vt=>(0,He.f3M)(Vt))}(Tt)}function yr(){const _t=(0,He.f3M)(Dr,{optional:!0,skipSelf:!0}),Vt=(0,He.f3M)(dn,{self:!0});if((1!==Vt.length||0!==Vt[0].length)&&_t)throw new TypeError("EffectsModule.forRoot() called twice. Feature modules should use EffectsModule.forFeature
1() instead.");return"guarded"}},825:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{FT:()=>StoreDevtoolsModule});var _angular_core__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(4650),_ngrx_store__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(9653),rxjs__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(515),rxjs__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(9751),rxjs__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(9646),rxjs__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(6451),rxjs__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__(233),rxjs__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__(4707),rxjs_operators__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(3099),rxjs_operators__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(9300),rxjs_operators__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(4004),rxjs_operators__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(4351),rxjs_operators__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(7414),rxjs_operators__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(8372),rxjs_operators__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(262),rxjs_operators__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(5698),rxjs_operators__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(3085),rxjs_operators__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(3900),rxjs_operators__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(5684),rxjs_operators__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(5363),rxjs_operators__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__(1365),rxjs_operators__WEBPACK_IMPORTED_MODULE_21__=__webpack_require__(5026);const PERFORM_ACTION="PERFORM_ACTION",REFRESH="REFRESH",RESET="RESET",ROLLBACK="ROLLBACK",COMMIT="COMMIT",SWEEP="SWEEP",TOGGLE_ACTION="TOGGLE_ACTION",SET_ACTIONS_ACTIVE="SET_ACTIONS_ACTIVE",JUMP_TO_STATE="JUMP_TO_STATE",JUMP_TO_ACTION="JUMP_TO_ACTION",IMPORT_STATE="IMPORT_STATE",LOCK_CHANGES="LOCK_CHANGES",PAUSE_RECORDING="PAUSE_RECORDING";class PerformAction{constructor(a,l){if(this.action=a,this.timestamp=l,this.type=PERFORM_ACTION,typeof a.type>"u")throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?')}}class Refresh{constructor(){this.type=REFRESH}}class Reset{constructor(a){this.timestamp=a,this.type=RESET}}class Rollback{constructor(a){this.timestamp=a,this.type=ROLLBACK}}class Commit{constructor(a){this.timestamp=a,this.type=COMMIT}}class Sweep{constructor(){this.type=SWEEP}}class ToggleAction{constructor(a){this.id=a,this.type=TOGGLE_ACTION}}class SetActionsActive{constructor(a,l,t=!0){this.start=a,this.end=l,this.active=t,this.type=SET_ACTIONS_ACTIVE}}class JumpToState{constructor(a){this.index=a,this.type=JUMP_TO_STATE}}class JumpToAction{constructor(a){this.actionId=a,this.type=JUMP_TO_ACTION}}class ImportState{constructor(a){this.nextLiftedState=a,this.type=IMPORT_STATE}}class LockChanges{constructor(a){this.status=a,this.type=LOCK_CHANGES}}class PauseRecording{constructor(a){this.status=a,this.type=PAUSE_RECORDING}}class StoreDevtoolsConfig{constructor(){this.maxAge=!1}}const STORE_DEVTOOLS_CONFIG=new _angular_core__WEBPACK_IMPORTED_MODULE_0__.OlP("@ngrx/store-devtools Options"),INITIAL_OPTIONS=new _angular_core__WEBPACK_IMPORTED_MODULE_0__.OlP("@ngrx/store-devtools Initial Config");function noMonitor(){return null}const DEFAULT_NAME="NgRx Store DevTools";function createConfig(s){const a={maxAge:!1,monitor:noMonitor,actionSanitizer:void 0,stateSanitizer:void 0,name:DEFAULT_NAME,serialize:!1,logOnly:!1,autoPause:!1,trace:!1,traceLimit:75,features:{pause:!0,lock:!0,persist:!0,export:!0,import:"custom",jump:!0,skip:!0,reorder:!0,dispatch:!0,test:!0}},l="function"==typeof s?s():s,_=Object.assign({},a,{features:l.features||!!l.logOnly&&{pause:!0,export:!0,test:!0}||a.features},l);if(_.maxAge&&_.maxAge<2)throw new Error(`Devtools 'maxAge' cannot be less than 2, got ${_.maxAge}`);return _}function difference(s,a){return s.filter(l=>a.indexOf(l)<0)}function unliftState(s){const{computedStates:a,currentStateIndex:l}=s;if(l>=a.length){const{state:f}=a[a.length-1];return f}const{state:t}=a[l];return t}function unliftAction(s){return s.actionsById[s.nextActionId-1]}function liftAction(s){return new PerformAction(s,+Date.now())}function sanitizeActions(s,a){return Object.keys(a).reduce((l,t)=>
1{const f=Number(t);return l[f]=sanitizeAction(s,a[f],f),l},{})}function sanitizeAction(s,a,l){return{...a,action:s(a.action,l)}}function sanitizeStates(s,a){return a.map((l,t)=>({state:sanitizeState(s,l.state,t),error:l.error}))}function sanitizeState(s,a,l){return s(a,l)}function shouldFilterActions(s){return s.predicate||s.actionsSafelist||s.actionsBlocklist}function filterLiftedState(s,a,l,t){const f=[],_={},S=[];return s.stagedActionIds.forEach((D,M)=>{const k=s.actionsById[D];!k||M&&isActionFiltered(s.computedStates[M],k,a,l,t)||(_[D]=k,f.push(D),S.push(s.computedStates[M]))}),{...s,stagedActionIds:f,actionsById:_,computedStates:S}}function isActionFiltered(s,a,l,t,f){const _=l&&!l(s,a.action),S=t&&!a.action.type.match(t.map(M=>escapeRegExp(M)).join("|")),D=f&&a.action.type.match(f.map(M=>escapeRegExp(M)).join("|"));return _||S||D}function escapeRegExp(s){return s.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}let DevtoolsDispatcher=(()=>{class s extends _ngrx_store__WEBPACK_IMPORTED_MODULE_1__.UO{}return s.\u0275fac=function(){let a;return function(t){return(a||(a=_angular_core__WEBPACK_IMPORTED_MODULE_0__.n5z(s)))(t||s)}}(),s.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_0__.Yz7({token:s,factory:s.\u0275fac}),s})();const ExtensionActionTypes={START:"START",DISPATCH:"DISPATCH",STOP:"STOP",ACTION:"ACTION"},REDUX_DEVTOOLS_EXTENSION=new _angular_core__WEBPACK_IMPORTED_MODULE_0__.OlP("@ngrx/store-devtools Redux Devtools Extension");let DevtoolsExtension=(()=>{class DevtoolsExtension{constructor(s,a,l){this.config=a,this.dispatcher=l,this.devtoolsExtension=s,this.createActionStreams()}notify(s,a){if(this.devtoolsExtension)if(s.type===PERFORM_ACTION){if(a.isLocked||a.isPaused)return;const l=unliftState(a);if(shouldFilterActions(this.config)&&isActionFiltered(l,s,this.config.predicate,this.config.actionsSafelist,this.config.actionsBlocklist))return;const t=this.config.stateSanitizer?sanitizeState(this.config.stateSanitizer,l,a.currentStateIndex):l,f=this.config.actionSanitizer?sanitizeAction(this.config.actionSanitizer,s,a.nextActionId):s;this.sendToReduxDevtools(()=>this.extensionConnection.send(f,t))}else{const l={...a,stagedActionIds:a.stagedActionIds,actionsById:this.config.actionSanitizer?sanitizeActions(this.config.actionSanitizer,a.actionsById):a.actionsById,computedStates:this.config.stateSanitizer?sanitizeStates(this.config.stateSanitizer,a.computedStates):a.computedStates};this.sendToReduxDevtools(()=>this.devtoolsExtension.send(null,l,this.getExtensionConfig(this.config)))}}createChangesObservable(){return this.devtoolsExtension?new rxjs__WEBPACK_IMPORTED_MODULE_3__.y(s=>{const a=this.devtoolsExtension.connect(this.getExtensionConfig(this.config));return this.extensionConnection=a,a.init(),a.subscribe(l=>s.next(l)),a.unsubscribe}):rxjs__WEBPACK_IMPORTED_MODULE_2__.E}createActionStreams(){const s=this.createChangesObservable().pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.B)()),a=s.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.h)(D=>D.type===ExtensionActionTypes.START)),l=s.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.h)(D=>D.type===ExtensionActionTypes.STOP)),t=s.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.h)(D=>D.type===ExtensionActionTypes.DISPATCH),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.U)(D=>this.unwrapAction(D.payload)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_7__.b)(D=>D.type===IMPORT_STATE?this.dispatcher.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.h)(M=>M.type===_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.wb),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_8__.V)(1e3),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_9__.b)(1e3),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.U)(()=>D),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.K)(()=>(0,rxjs__WEBPACK_IMPORTED_MODULE_11__.of)(D)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.q)(1)):(0,rxjs__WEBPACK_IMPORTED_MODULE_11__.of)(D))),_=s.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.h)(D=>D.type===ExtensionActionTypes.ACTION),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.U)(D=>this.unwrapAction(D.payload))).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.R)(l)),S=t.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.R)(l));this.start$=a.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.R)(l)),this.actions$=this.start$.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_14__.w)(()=>_)),this.liftedActions$=this.start$.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_14__.w)(()=>S))}unwrapAction(action){return"string"==typeof action?eval(`(${action})`):action}getExtensionConfig(s){const a={name:s.name,features:s.features,serialize:s.serialize,autoPause:s.autoPause??!1,trace:s.trace??!1,traceLimit:s.traceLimit??75};return!1!==s.maxAge&&(a.maxAge=s.maxAge),a}sendToReduxDevtools(s){try{s()}catch(a){console.warn("@ngrx/store-devtools: something went wrong inside the redux devtools",a)}}}return DevtoolsExtension.\u0275fac=function s(a){return new(a||DevtoolsExtension)(_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(REDUX_DEVTOOLS_EXTENSION),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(STORE_DEVTOOLS_CONFIG),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(DevtoolsDispatcher))},DevtoolsExtension.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_0__.Yz7({token:DevtoolsExtension,factory:DevtoolsExtension.\u0275fac}),DevtoolsExtension})();const INIT_ACTION={type:_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.qg},RECOMPUTE="@ngrx/store-devtools/recompute",RECOMPUTE_ACTION={type:RECOMPUTE};function computeNextEntry(s,a,l,t,f){if(t)return{state:l,error:"Interrupted by an error up the chain"};let S,_=l;try{_=s(l,a)}catch(D){S=D.toString(),f.handleError(D)}return{state:_,error:S}}function recomputeStates(s,a,l,t,f,_,S,D,M){if(a>=s.length&&s.length===_.length)return s;const k=s.slice(0,a),U=_.length-(M?1:0);for(let te=a;te<U;te++){const I=_[te],z=f[I].action,H=k[te-1],ee=H?H.state:t,ae=H?H.error:void 0,Y=S.indexOf(I)>-1?H:computeNextEntry(l,z,ee,ae,D);k.push(Y)}return M&&k.push(s[s.length-1]),k}function liftInitialState(s,a){return{monitorState:a(void 0,{}),nextActionId:1,actionsById:{0:liftAction(INIT_ACTION)},stagedActionIds:[0],skippedActionIds:[],committedState:s,currentStateIndex:0,computedStates:[],isLocked:!1,isPaused:!1}}function liftReducerWith(s,a,l,t,f={}){return _=>(S,D)=>{let{monitorState:M,actionsById:k,nextActionId:U,stagedActionIds:te,skippedActionIds:I,committedState:z,currentStateIndex:H,computedStates:ee,isLocked:ae,isPaused:V}=S||a;function Y(X){let J=X,pe=te.slice(1,J+1);for(let me=0;me<pe.length;me++){if(ee[me+1].error){J=me,pe=te.slice(1,J+1);break}delete k[pe[me]]}I=I.filter(me=>-1===pe.indexOf(me)),te=[0,...te.slice(J+1)],z=ee[J].state,ee=ee.slice(J),H=H>J?H-J:0}function N(){k={0:liftAction(INIT_ACTION)},U=1,te=[0],I=[],z=ee[H].state,H=0,ee=[]}S||(k=Object.create(k));let O=0;switch(D.type){case LOCK_CHANGES:ae=D.status,O=1/0;break;case PAUSE_RECORDING:V=D.status,V?(te=[...te,U],k[U]=new PerformAction({type:"@ngrx/devtools/pause"},+Date.now()),U++,O=te.length-1,ee=ee.concat(ee[ee.length-1]),H===te.length-2&&H++,O=1/0):N();break;case RESET:k={0:liftAction(INIT_ACTION)},U=1,te=[0],I=[],z=s,H=0,ee=[];break;case COMMIT:N();break;
1case ROLLBACK:k={0:liftAction(INIT_ACTION)},U=1,te=[0],I=[],H=0,ee=[];break;case TOGGLE_ACTION:{const{id:X}=D;I=-1===I.indexOf(X)?[X,...I]:I.filter(pe=>pe!==X),O=te.indexOf(X);break}case SET_ACTIONS_ACTIVE:{const{start:X,end:J,active:pe}=D,me=[];for(let Fe=X;Fe<J;Fe++)me.push(Fe);I=pe?difference(I,me):[...I,...me],O=te.indexOf(X);break}case JUMP_TO_STATE:H=D.index,O=1/0;break;case JUMP_TO_ACTION:{const X=te.indexOf(D.actionId);-1!==X&&(H=X),O=1/0;break}case SWEEP:te=difference(te,I),I=[],H=Math.min(H,te.length-1);break;case PERFORM_ACTION:{if(ae)return S||a;if(V||S&&isActionFiltered(S.computedStates[H],D,f.predicate,f.actionsSafelist,f.actionsBlocklist)){const J=ee[ee.length-1];ee=[...ee.slice(0,-1),computeNextEntry(_,D.action,J.state,J.error,l)],O=1/0;break}f.maxAge&&te.length===f.maxAge&&Y(1),H===te.length-1&&H++;const X=U++;k[X]=D,te=[...te,X],O=te.length-1;break}case IMPORT_STATE:({monitorState:M,actionsById:k,nextActionId:U,stagedActionIds:te,skippedActionIds:I,committedState:z,currentStateIndex:H,computedStates:ee,isLocked:ae,isPaused:V}=D.nextLiftedState);break;case _ngrx_store__WEBPACK_IMPORTED_MODULE_1__.qg:O=0,f.maxAge&&te.length>f.maxAge&&(ee=recomputeStates(ee,O,_,z,k,te,I,l,V),Y(te.length-f.maxAge),O=1/0);break;case _ngrx_store__WEBPACK_IMPORTED_MODULE_1__.wb:if(ee.filter(J=>J.error).length>0)O=0,f.maxAge&&te.length>f.maxAge&&(ee=recomputeStates(ee,O,_,z,k,te,I,l,V),Y(te.length-f.maxAge),O=1/0);else{if(!V&&!ae){H===te.length-1&&H++;const J=U++;k[J]=new PerformAction(D,+Date.now()),te=[...te,J],O=te.length-1,ee=recomputeStates(ee,O,_,z,k,te,I,l,V)}ee=ee.map(J=>({...J,state:_(J.state,RECOMPUTE_ACTION)})),H=te.length-1,f.maxAge&&te.length>f.maxAge&&Y(te.length-f.maxAge),O=1/0}break;default:O=1/0}return ee=recomputeStates(ee,O,_,z,k,te,I,l,V),M=t(M,D),{monitorState:M,actionsById:k,nextActionId:U,stagedActionIds:te,skippedActionIds:I,committedState:z,currentStateIndex:H,computedStates:ee,isLocked:ae,isPaused:V}}}let StoreDevtools=(()=>{class s{constructor(l,t,f,_,S,D,M,k){const U=liftInitialState(M,k.monitor),te=liftReducerWith(M,U,D,k.monitor,k),I=(0,rxjs__WEBPACK_IMPORTED_MODULE_15__.T)((0,rxjs__WEBPACK_IMPORTED_MODULE_15__.T)(t.asObservable().pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_16__.T)(1)),_.actions$).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.U)(liftAction)),l,_.liftedActions$).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_17__.Q)(rxjs__WEBPACK_IMPORTED_MODULE_18__.N)),z=f.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.U)(te)),H=new rxjs__WEBPACK_IMPORTED_MODULE_19__.t(1),ee=I.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_20__.M)(z),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_21__.R)(({state:N},[O,X])=>{let J=X(N,O);return O.type!==PERFORM_ACTION&&shouldFilterActions(k)&&(J=filterLiftedState(J,k.predicate,k.actionsSafelist,k.actionsBlocklist)),_.notify(O,J),{state:J,action:O}},{state:U,action:null})).subscribe(({state:N,action:O})=>{H.next(N),O.type===PERFORM_ACTION&&S.next(O.action)}),ae=_.start$.subscribe(()=>{this.refresh()}),V=H.asObservable(),Y=V.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.U)(unliftState));this.extensionStartSubscription=ae,this.stateSubscription=ee,this.dispatcher=l,this.liftedState=V,this.state=Y}dispatch(l){this.dispatcher.next(l)}next(l){this.dispatcher.next(l)}error(l){}complete(){}performAction(l){this.dispatch(new PerformAction(l,+Date.now()))}refresh(){this.dispatch(new Refresh)}reset(){this.dispatch(new Reset(+Date.now()))}rollback(){this.dispatch(new Rollback(+Date.now()))}commit(){this.dispatch(new Commit(+Date.now()))}sweep(){this.dispatch(new Sweep)}toggleAction(l){this.dispatch(new ToggleAction(l))}jumpToAction(l){this.dispatch(new JumpToAction(l))}jumpToState(l){this.dispatch(new JumpToState(l))}importState(l){this.dispatch(new ImportState(l))}lockChanges(l){this.dispatch(new LockChanges(l))}pauseRecording(l){this.dispatch(new PauseRecording(l))}}return s.\u0275fac=function(l){return new(l||s)(_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(DevtoolsDispatcher),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.UO),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.n$),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(DevtoolsExtension),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.Y$),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(_angular_core__WEBPACK_IMPORTED_MODULE_0__.qLn),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.Y6),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(STORE_DEVTOOLS_CONFIG))},s.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_0__.Yz7({token:s,factory:s.\u0275fac}),s})();
1const IS_EXTENSION_OR_MONITOR_PRESENT=new _angular_core__WEBPACK_IMPORTED_MODULE_0__.OlP("@ngrx/store-devtools Is Devtools Extension or Monitor Present");function createIsExtensionOrMonitorPresent(s,a){return Boolean(s)||a.monitor!==noMonitor}function createReduxDevtoolsExtension(){const s="__REDUX_DEVTOOLS_EXTENSION__";return"object"==typeof window&&typeof window[s]<"u"?window[s]:null}function provideStoreDevtools(s={}){return(0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.MR2)([DevtoolsExtension,DevtoolsDispatcher,StoreDevtools,{provide:INITIAL_OPTIONS,useValue:s},{provide:IS_EXTENSION_OR_MONITOR_PRESENT,deps:[REDUX_DEVTOOLS_EXTENSION,STORE_DEVTOOLS_CONFIG],useFactory:createIsExtensionOrMonitorPresent},{provide:REDUX_DEVTOOLS_EXTENSION,useFactory:createReduxDevtoolsExtension},{provide:STORE_DEVTOOLS_CONFIG,deps:[INITIAL_OPTIONS],useFactory:createConfig},{provide:_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.FR,deps:[StoreDevtools],useFactory:createStateObservable},{provide:_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.mK,useExisting:DevtoolsDispatcher}])}function createStateObservable(s){return s.state}let StoreDevtoolsModule=(()=>{class s{static instrument(l={}){return{ngModule:s,providers:[provideStoreDevtools(l)]}}}return s.\u0275fac=function(l){return new(l||s)},s.\u0275mod=_angular_core__WEBPACK_IMPORTED_MODULE_0__.oAB({type:s}),s.\u0275inj=_angular_core__WEBPACK_IMPORTED_MODULE_0__.cJS({}),s})()},9653:(s,a,l)=>{"use strict";l.d(a,{UO:()=>He,qg:()=>Fe,Y6:()=>ke,mK:()=>tr,n$:()=>Sn,Y$:()=>Ln,FR:()=>Dr,yh:()=>Tn,CK:()=>Zi,Aw:()=>ss,cr:()=>wn,wb:()=>fn,PH:()=>ae,ZF:()=>Ve,P1:()=>Cn,Ys:()=>yr});var t=l(4650),f=l(1135),_=l(9751),S=l(7579),D=l(233),M=l(5363),k=l(1365),U=l(5026),te=l(4004),z=l(1884);const H={};function ae(je,Mt){if(H[je]=(H[je]||0)+1,"function"==typeof Mt)return N(je,(...Dt)=>({...Mt(...Dt),type:je}));switch(Mt?Mt._as:"empty"){case"empty":return N(je,()=>({type:je}));case"props":return N(je,Dt=>({...Dt,type:je}));default:throw new Error("Unexpected config.")}}function N(je,Mt){return Object.defineProperty(Mt,"type",{value:je,writable:!1})}const Fe="@ngrx/store/init";let He=(()=>{class je extends f.X{constructor(){super({type:Fe})}next(ft){if("function"==typeof ft)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 ft>"u")throw new TypeError("Actions must be objects");if(typeof ft.type>"u")throw new TypeError("Actions must have a type property");super.next(ft)}complete(){}ngOnDestroy(){super.complete()}}return je.\u0275fac=function(ft){return new(ft||je)},je.\u0275prov=t.Yz7({token:je,factory:je.\u0275fac}),je})();const xe=[He],Ne=new t.OlP("@ngrx/store Internal Root Guard"),ze=new t.OlP("@ngrx/store Internal Initial State"),ke=new t.OlP("@ngrx/store Initial State"),De=new t.OlP("@ngrx/store Reducer Factory"),Ce=new t.OlP("@ngrx/store Internal Reducer Factory Provider"),oe=new t.OlP("@ngrx/store Initial Reducers"),he=new t.OlP("@ngrx/store Internal Initial Reducers"),be=new t.OlP("@ngrx/store Store Features"),tt=new t.OlP("@ngrx/store Internal Store Reducers"),st=ne
1w t.OlP("@ngrx/store Internal Feature Reducers"),jt=new t.OlP("@ngrx/store Internal Feature Configs"),Wt=new t.OlP("@ngrx/store Internal Store Features"),Ut=new t.OlP("@ngrx/store Internal Feature Reducers Token"),Et=new t.OlP("@ngrx/store Feature Reducers"),dn=new t.OlP("@ngrx/store User Provided Meta Reducers"),rn=new t.OlP("@ngrx/store Meta Reducers"),gn=new t.OlP("@ngrx/store Internal Resolved Meta Reducers"),Xt=new t.OlP("@ngrx/store User Runtime Checks Config"),Er=new t.OlP("@ngrx/store Internal User Runtime Checks Config"),_n=new t.OlP("@ngrx/store Internal Runtime Checks"),Nn=new t.OlP("@ngrx/store Check if Action types are unique");function un(je,Mt={}){const ft=Object.keys(je),Dt={};for(let en=0;en<ft.length;en++){const Bn=ft[en];"function"==typeof je[Bn]&&(Dt[Bn]=je[Bn])}const Ht=Object.keys(Dt);return function(Bn,Pr){Bn=void 0===Bn?Mt:Bn;let mr=!1;const vi={};for(let ar=0;ar<Ht.length;ar++){const fr=Ht[ar],li=Bn[fr],yo=(0,Dt[fr])(li,Pr);vi[fr]=yo,mr=mr||yo!==li}return mr?vi:Bn}}function nr(...je){return function(Mt){if(0===je.length)return Mt;const ft=je[je.length-1];return je.slice(0,-1).reduceRight((Ht,en)=>en(Ht),ft(Mt))}}function $n(je,Mt){return Array.isArray(Mt)&&Mt.length>0&&(je=nr.apply(null,[...Mt,je])),(ft,Dt)=>{const Ht=je(ft);return(en,Bn)=>Ht(en=void 0===en?Dt:en,Bn)}}new t.OlP("@ngrx/store Root Store Provider"),new t.OlP("@ngrx/store Feature State Provider");class Sn extends _.y{}class tr extends He{}const fn="@ngrx/store/update-reducers";let cn=(()=>{class je extends f.X{constructor(ft,Dt,Ht,en){super(en(Ht,Dt)),this.dispatcher=ft,this.initialState=Dt,this.reducers=Ht,this.reducerFactory=en}get currentReducers(){return this.reducers}addFeature(ft){this.addFeatures([ft])}addFeatures(ft){const Dt=ft.reduce((Ht,{reducers:en,reducerFactory:Bn,metaReducers:Pr,initialState:mr,key:vi})=>{const ar="function"==typeof en?function Wn(je){const Mt=Array.isArray(je)&&je.length>0?nr(...je):ft=>ft;return(ft,Dt)=>(ft=Mt(ft),(Ht,en)=>ft(Ht=void 0===Ht?Dt:Ht,en))}(Pr)(en,mr):$n(Bn,Pr)(en,mr);return Ht[vi]=ar,Ht},{});this.addReducers(Dt)}removeFeature(ft){this.removeFeatures([ft])}removeFeatures(ft){this.removeReducers(ft.map(Dt=>Dt.key))}addReducer(ft,Dt){this.addReducers({[ft]:Dt})}addReducers(ft){this.reducers={...this.reducers,...ft},this.updateReducers(Object.keys(ft))}removeReducer(ft){this.removeReducers([ft])}removeReducers(ft){ft.forEach(Dt=>{this.reducers=function dr(je,Mt){return Object.keys(je).filter(ft=>ft!==Mt).reduce((ft,Dt)=>Object.assign(ft,{[Dt]:je[Dt]}),{})}(this.reducers,Dt)}),this.updateReducers(ft)}updateReducers(ft){this.next(this.reducerFactory(this.reducers,this.initialState)),this.dispatcher.next({type:fn,features:ft})}ngOnDestroy(){this.complete()}}return je.\u0275fac=function(ft){return new(ft||je)(t.LFG(tr),t.LFG(ke),t.LFG(oe),t.LFG(De))},je.\u0275prov=t.Yz7({token:je,factory:je.\u0275fac}),je})();const Fn=[cn,{provide:Sn,useExisting:cn},{provide:tr,useExisting:He}];let Ln=(()=>{class je extends S.x{ngOnDestroy(){this.complete()}}return je.\u0275fac=function(){let Mt;return function(Dt){return(Mt||(Mt=t.n5z(je)))(Dt||je)}}(),je.\u0275prov=t.Yz7({token:je,factory:je.\u0275fac}),je})();const hr=[Ln];class Dr extends _.y{}let mn=(()=>{class je extends f.X{constructor(ft,Dt,Ht,en){super(en);const vi=ft.pipe((0,M.Q)(D.N)).pipe((0,k.M)(Dt)).pipe((0,U.R)(bn,{state:en}));this.stateSubscription=vi.subscribe(({state:ar,action:fr})=>{this.next(ar),Ht.next(fr)})}ngOnDestroy(){this.stateSubscription.unsubscribe(),this.complete()}}return je.INIT=Fe,je.\u0275fac=function(ft){return new(ft||je)(t.LFG(He),t.LFG(Sn),t.LFG(Ln),t.LFG(ke))},je.\u0275prov=t.Yz7({token:je,factory:je.\u0275fac}),je})();function bn(je={state:void 0},[Mt,ft]){const{state:Dt}=je;return{state:ft(Dt,Mt),action:Mt}}const Gt=[mn,{provide:Dr,useExisting:mn}];let Tn=(()=>{class je extends _.y{constructor(ft,Dt,Ht){super(),this.actionsObserver=Dt,this.reducerManager=Ht,this.source=ft}select(ft,...Dt){return yr.call(null,ft,...Dt)(this)}lift(ft){const Dt=new je(this,this.actionsObserver,this.reducerManager);return Dt.operator=ft,Dt}dispatch(ft){this.actionsObserver.next(ft)}next(ft){this.actionsObserver.next(ft)}error(ft){this.actionsObserver.error(ft)}complete(){this.actionsObserver.complete()}addReducer(ft,Dt){this.reducerManager.addReducer(ft,Dt)}removeReducer(ft){this.reducerManager.removeReducer(ft)}}return je.\u0275fac=function(ft){return new(ft||je)(t.LFG(Dr),t.LFG(He),t.LFG(cn))},je.\u0275prov=t.Yz7({token:je,factory:je.\u0275fac}),je})();const Br=[Tn];function yr(je,Mt,...ft){return function(Ht){let en;
1if("string"==typeof je){const Bn=[Mt,...ft].filter(Boolean);en=Ht.pipe(function I(...je){const Mt=je.length;if(0===Mt)throw new Error("list of properties cannot be empty.");return(0,te.U)(ft=>{let Dt=ft;for(let Ht=0;Ht<Mt;Ht++){const en=Dt?.[je[Ht]];if(!(typeof en<"u"))return;Dt=en}return Dt})}(je,...Bn))}else{if("function"!=typeof je)throw new TypeError(`Unexpected type '${typeof je}' in select operator, expected 'string' or 'function'`);en=Ht.pipe((0,te.U)(Bn=>je(Bn,Mt)))}return en.pipe((0,z.x)())}}const $r="https://ngrx.io/guide/store/configuration/runtime-checks";function Vr(je){return void 0===je}function Tr(je){return null===je}function _t(je){return Array.isArray(je)}function sn(je){return"object"==typeof je&&null!==je}function ot(je){return"function"==typeof je}function Qe(je,Mt){return je===Mt}function gt(je,Mt,ft){for(let Dt=0;Dt<je.length;Dt++)if(!ft(je[Dt],Mt[Dt]))return!0;return!1}function zt(je,Mt=Qe,ft=Qe){let en,Dt=null,Ht=null;return{memoized:function vi(){if(void 0!==en)return en.result;if(!Dt)return Ht=je.apply(null,arguments),Dt=arguments,Ht;if(!gt(arguments,Dt,Mt))return Ht;const ar=je.apply(null,arguments);return Dt=arguments,ft(Ht,ar)?Ht:(Ht=ar,ar)},reset:function Bn(){Dt=null,Ht=null},setResult:function Pr(ar){en={result:ar}},clearResult:function mr(){en=void 0}}}function Cn(...je){return function We(je,Mt={stateFn:At}){return function(...ft){let Dt=ft;if(Array.isArray(Dt[0])){const[ar,...fr]=Dt;Dt=[...ar,...fr]}const Ht=Dt.slice(0,Dt.length-1),en=Dt[Dt.length-1],Bn=Ht.filter(ar=>ar.release&&"function"==typeof ar.release),Pr=je(function(...ar){return en.apply(null,ar)}),mr=zt(function(ar,fr){return Mt.stateFn.apply(null,[ar,Ht,fr,Pr])});return Object.assign(mr.memoized,{release:function vi(){mr.reset(),Pr.reset(),Bn.forEach(ar=>ar.release())},projector:Pr.memoized,setResult:mr.setResult,clearResult:mr.clearResult})}}(zt)(...je)}function At(je,Mt,ft,Dt){if(void 0===ft){const en=Mt.map(Bn=>Bn(je));return Dt.memoized.apply(null,en)}const Ht=Mt.map(en=>en(je,ft));return Dt.memoized.apply(null,[...Ht,ft])}function Ve(je){return Cn(Mt=>{const ft=Mt[je];return(0,t.X6Q)()&&!(je in Mt)&&console.warn(`@ngrx/store: The feature name "${je}" does not exist in the state, therefore createFeatureSelector cannot access it.  Be sure it is imported in a loaded module using StoreModule.forRoot('${je}', ...) or StoreModule.forFeature('${je}', ...).  If the default state is intended to be undefined, as is the case with router state, this development-only warning message can be ignored.`),ft},Mt=>Mt)}function Le(je){return je instanceof t.OlP?(0,t.f3M)(je):je}function Je(je,Mt){return Mt.map((ft,Dt)=>{if(je[Dt]instanceof t.OlP){const Ht=(0,t.f3M)(je[Dt]);return{key:ft.key,reducerFactory:Ht.reducerFactory?Ht.reducerFactory:un,metaReducers:Ht.metaReducers?Ht.metaReducers:[],initialState:Ht.initialState}}return ft})}function Jt(je){return je.map(Mt=>Mt instanceof t.OlP?(0,t.f3M)(Mt):Mt)}function In(je){return"function"==typeof je?je():je}function er(je,Mt){return je.concat(Mt)}function Zn(){if((0,t.f3M)(Tn,{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 Jn(je){Object.freeze(je);const Mt=ot(je);return Object.getOwnPropertyNames(je).forEach(ft=>{if(!ft.startsWith("\u0275")&&function Ye(je,Mt){return Object.prototype.hasOwnProperty.call(je,Mt)}(je,ft)&&(!Mt||"caller"!==ft&&"callee"!==ft&&"arguments"!==ft)){const Dt=je[ft];(sn(Dt)||ot(Dt))&&!Object.isFrozen(Dt)&&Jn(Dt)}}),je}function Qi(je,Mt=[]){return(Vr(je)||Tr(je))&&0===Mt.length?{path:["root"],value:je}:Object.keys(je).reduce((Dt,Ht)=>{if(Dt)return Dt;const en=je[Ht];return function Ue(je){return ot(je)&&je.hasOwnProperty("\u0275cmp")}(en)?Dt:!(Vr(en)||Tr(en)||function qt(je){return"number"==typeof je}(en)||function Tt(je){return"boolean"==typeof je}(en)||function Vt(je){return"string"==typeof je}(en)||_t(en))&&(function yt(je){if(!function Nt(je){return sn(je)&&!_t(je)}(je))return!1;const Mt=Object.getPrototypeOf(je);return Mt===Object.prototype||null===Mt}(en)?Qi(en,[...Mt,Ht]):{path:[...Mt,Ht],value:en})},!1)}function bs(je,Mt){if(!1===je)return;
1const ft=je.path.join("."),Dt=new Error(`Detected unserializable ${Mt} at "${ft}". ${$r}#strict${Mt}serializability`);throw Dt.value=je.value,Dt.unserializablePath=ft,Dt}function Yi(je){return(0,t.X6Q)()?{strictStateSerializability:!1,strictActionSerializability:!1,strictStateImmutability:!0,strictActionImmutability:!0,strictActionWithinNgZone:!1,strictActionTypeUniqueness:!1,...je}:{strictStateSerializability:!1,strictActionSerializability:!1,strictStateImmutability:!1,strictActionImmutability:!1,strictActionWithinNgZone:!1,strictActionTypeUniqueness:!1}}function Or({strictActionSerializability:je,strictStateSerializability:Mt}){return ft=>je||Mt?function ti(je,Mt){return function(ft,Dt){Mt.action(Dt)&&bs(Qi(Dt),"action");const Ht=je(ft,Dt);return Mt.state()&&bs(Qi(Ht),"state"),Ht}}(ft,{action:Dt=>je&&!Ti(Dt),state:()=>Mt}):ft}function ni({strictActionImmutability:je,strictStateImmutability:Mt}){return ft=>je||Mt?function Ir(je,Mt){return function(ft,Dt){const Ht=Mt.action(Dt)?Jn(Dt):Dt,en=je(ft,Ht);return Mt.state()?Jn(en):en}}(ft,{action:Dt=>je&&!Ti(Dt),state:()=>Mt}):ft}function Ti(je){return je.type.startsWith("@ngrx")}function Yr({strictActionWithinNgZone:je}){return Mt=>je?function Ui(je,Mt){return function(ft,Dt){if(Mt.action(Dt)&&!t.R0b.isInAngularZone())throw new Error(`Action '${Dt.type}' running outside NgZone. ${$r}#strictactionwithinngzone`);return je(ft,Dt)}}(Mt,{action:ft=>je&&!Ti(ft)}):Mt}function ri(je){return[{provide:Er,useValue:je},{provide:Xt,useFactory:vn,deps:[Er]},{provide:_n,deps:[Xt],useFactory:Yi},{provide:rn,multi:!0,deps:[_n],useFactory:ni},{provide:rn,multi:!0,deps:[_n],useFactory:Or},{provide:rn,multi:!0,deps:[_n],useFactory:Yr}]}function pi(){return[{provide:Nn,multi:!0,deps:[_n],useFactory:qn}]}function vn(je){return je}function qn(je){if(!je.strictActionTypeUniqueness)return;const Mt=Object.entries(H).filter(([,ft])=>ft>1).map(([ft])=>ft);if(Mt.length)throw new Error(`Action types are registered more than once, ${Mt.map(ft=>`"${ft}"`).join(", ")}. ${$r}#strictactiontypeuniqueness`)}function ci(je={},Mt={}){return[{provide:Ne,useFactory:Zn},{provide:ze,useValue:Mt.initialState},{provide:ke,useFactory:In,deps:[ze]},{provide:he,useValue:je},{provide:tt,useExisting:je instanceof t.OlP?je:he},{provide:oe,deps:[he,[new t.tBr(tt)]],useFactory:Le},{provide:dn,useValue:Mt.metaReducers?Mt.metaReducers:[]},{provide:gn,deps:[rn,dn],useFactory:er},{provide:Ce,useValue:Mt.reducerFactory?Mt.reducerFactory:un},{provide:De,deps:[Ce,gn],useFactory:$n},xe,Fn,hr,Gt,Br,ri(Mt.runtimeChecks),pi()]}function ki(je,Mt,ft={}){return[{provide:jt,multi:!0,useValue:je instanceof Object?{}:ft},{provide:be,multi:!0,useValue:{key:je instanceof Object?je.name:je,reducerFactory:ft instanceof t.OlP||!ft.reducerFactory?un:ft.reducerFactory,metaReducers:ft instanceof t.OlP||!ft.metaReducers?[]:ft.metaReducers,initialState:ft instanceof t.OlP||!ft.initialState?void 0:ft.initialState}},{provide:Wt,deps:[jt,be],useFactory:Je},{provide:st,multi:!0,useValue:je instanceof Object?je.reducer:Mt},{provide:Ut,multi:!0,useExisting:Mt instanceof t.OlP?Mt:st},{provide:Et,multi:!0,deps:[st,[new t.tBr(Ut)]],useFactory:Jt},pi()]}let wn=(()=>{class je{constructor(ft,Dt,Ht,en,Bn,Pr){}}return je.\u0275fac=function(ft){return new(ft||je)(t.LFG(He),t.LFG(Sn),t.LFG(Ln),t.LFG(Tn),t.LFG(Ne,8),t.LFG(Nn,8))},je.\u0275mod=t.oAB({type:je}),je.\u0275inj=t.cJS({}),je})(),Zi=(()=>{class je{constructor(ft,Dt,Ht,en,Bn){this.features=ft,this.featureReducers=Dt,this.reducerManager=Ht;const Pr=ft.map((mr,vi)=>{const fr=Dt.shift()[vi];return{...mr,reducers:fr,initialState:In(mr.initialState)}});Ht.addFeatures(Pr)}ngOnDestroy(){this.reducerManager.removeFeatures(this.features)}}return je.\u0275fac=function(ft){return new(ft||je)(t.LFG(Wt),t.LFG(Et),t.LFG(cn),t.LFG(wn),t.LFG(Nn,8))},je.\u0275mod=t.oAB({type:je}),je.\u0275inj=t.cJS({}),je})(),ss=(()=>{class je{static forRoot(ft,Dt){return{ngModule:wn,providers:[...ci(ft,Dt)]}}static forFeature(ft,Dt,Ht={}){return{ngModule:Zi,providers:[...ki(ft,Dt,Ht)]}}}return je.\u0275fac=function(ft){return new(ft||je)},je.\u0275mod=t.oAB({type:je}),je.\u0275inj=t.cJS({}),je})()},259:(s,a,l)=>{"use strict";l.d(a,{C6:()=>t.getApps,Mq:()=>t.getApp});var t=l(9681);(0,t.registerVersion)("firebase","9.17.1","app")},4322:(s,a,l)=>{"use strict";l.d(a,{_O:()=>t.N,hJ:()=>t.Q});var t=l(2722);
1l(2090),l(9681),l(1877),l(4859)},9260:(s,a,l)=>{"use strict";l.d(a,{Z:()=>t.Z});var t=l(3942);t.Z.registerVersion("firebase","9.17.1","app-compat")},8766:(s,a,l)=>{"use strict";l.d(a,{Lj:()=>pe,X3:()=>J});var t=l(5861);let _,S;const k=new WeakMap,U=new WeakMap,te=new WeakMap,I=new WeakMap,z=new WeakMap;let ae={get(Ne,ze,ke){if(Ne instanceof IDBTransaction){if("done"===ze)return U.get(Ne);if("objectStoreNames"===ze)return Ne.objectStoreNames||te.get(Ne);if("store"===ze)return ke.objectStoreNames[1]?void 0:ke.objectStore(ke.objectStoreNames[0])}return O(Ne[ze])},set:(Ne,ze,ke)=>(Ne[ze]=ke,!0),has:(Ne,ze)=>Ne instanceof IDBTransaction&&("done"===ze||"store"===ze)||ze in Ne};function N(Ne){return"function"==typeof Ne?function Y(Ne){return Ne!==IDBDatabase.prototype.transaction||"objectStoreNames"in IDBTransaction.prototype?function M(){return S||(S=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}().includes(Ne)?function(...ze){return Ne.apply(X(this),ze),O(k.get(this))}:function(...ze){return O(Ne.apply(X(this),ze))}:function(ze,...ke){const De=Ne.call(X(this),ze,...ke);return te.set(De,ze.sort?ze.sort():[ze]),O(De)}}(Ne):(Ne instanceof IDBTransaction&&function ee(Ne){if(U.has(Ne))return;const ze=new Promise((ke,De)=>{const Ce=()=>{Ne.removeEventListener("complete",oe),Ne.removeEventListener("error",he),Ne.removeEventListener("abort",he)},oe=()=>{ke(),Ce()},he=()=>{De(Ne.error||new DOMException("AbortError","AbortError")),Ce()};Ne.addEventListener("complete",oe),Ne.addEventListener("error",he),Ne.addEventListener("abort",he)});U.set(Ne,ze)}(Ne),((Ne,ze)=>ze.some(ke=>Ne instanceof ke))(Ne,function D(){return _||(_=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}())?new Proxy(Ne,ae):Ne)}function O(Ne){if(Ne instanceof IDBRequest)return function H(Ne){const ze=new Promise((ke,De)=>{const Ce=()=>{Ne.removeEventListener("success",oe),Ne.removeEventListener("error",he)},oe=()=>{ke(O(Ne.result)),Ce()},he=()=>{De(Ne.error),Ce()};Ne.addEventListener("success",oe),Ne.addEventListener("error",he)});return ze.then(ke=>{ke instanceof IDBCursor&&k.set(ke,Ne)}).catch(()=>{}),z.set(ze,Ne),ze}(Ne);if(I.has(Ne))return I.get(Ne);const ze=N(Ne);return ze!==Ne&&(I.set(Ne,ze),z.set(ze,Ne)),ze}const X=Ne=>z.get(Ne);function J(Ne,ze,{blocked:ke,upgrade:De,blocking:Ce,terminated:oe}={}){const he=indexedDB.open(Ne,ze),be=O(he);return De&&he.addEventListener("upgradeneeded",tt=>{De(O(he.result),tt.oldVersion,tt.newVersion,O(he.transaction))}),ke&&he.addEventListener("blocked",()=>ke()),be.then(tt=>{oe&&tt.addEventListener("close",()=>oe()),Ce&&tt.addEventListener("versionchange",()=>Ce())}).catch(()=>{}),be}function pe(Ne,{blocked:ze}={}){const ke=indexedDB.deleteDatabase(Ne);return ze&&ke.addEventListener("blocked",()=>ze()),O(ke).then(()=>{})}const me=["get","getKey","getAll","getAllKeys","count"],Fe=["put","add","delete","clear"],He=new Map;function xe(Ne,ze){if(!(Ne instanceof IDBDatabase)||ze in Ne||"string"!=typeof ze)return;if(He.get(ze))return He.get(ze);const ke=ze.replace(/FromIndex$/,""),De=ze!==ke,Ce=Fe.includes(ke);if(!(ke in(De?IDBIndex:IDBObjectStore).prototype)||!Ce&&!me.includes(ke))return;const oe=function(){var he=(0,t.Z)(function*(be,...tt){const st=this.transaction(be,Ce?"readwrite":"readonly");let jt=st.store;return De&&(jt=jt.index(tt.shift())),(yield Promise.all([jt[ke](...tt),Ce&&st.done]))[0]});return function(tt){return he.apply(this,arguments)}}();return He.set(ze,oe),oe}!function V(Ne){ae=Ne(ae)}(Ne=>({...Ne,get:(ze,ke,De)=>xe(ze,ke)||Ne.get(ze,ke,De),has:(ze,ke)=>!!xe(ze,ke)||Ne.has(ze,ke)}))},3795:(s,a,l)=>{"use strict";l.d(a,{x0:()=>Fe});var t=l(4650),f=l(6895);const _={UKNOWN:"Unknown"},S={CHROME:"Chrome",FIREFOX:"Firefox",SAFARI:"Safari",OPERA:"Opera",IE:"IE",MS_EDGE:"MS-Edge",MS_EDGE_CHROMIUM:"MS-Edge-Chromium",FB_MESSANGER:"FB-Messanger",SAMSUNG:"Samsung",UCBROWSER:"UC-Browser",UNKNOWN:_.UKNOWN},D={HTC:/HTC|HTC.*(Sensation|Evo|Vision|Explorer|6800|8100|8900|A7272|S510e|C110e|Legend|Desire|T8282)|APX515CKT|Qtek9090|APA9292KT|HD_mini|Sensation.*Z710e|PG86100|Z715e|Desire.*(A8181|HD)|ADR6200|ADR6400L|ADR6425|001HT|Inspire 4G|Android.*\bEVO\b|T-Mobile G1|Z520m|Android [0-9.]+; Pixel/,NEXUS_PHONE:/Nexus One|Nexus S|Galaxy.*Nexus|Android.*Nexus.*Mobile|Nexus 4|Nexus 5|Nexus 6/,DELL:/Dell[;]? (Streak|Aero|Venue|Venue Pro|Flash|Smoke|Mini 3iX)|XCD28|XCD35|\b001DL\b|\b101DL\b|\bGS01\b/,MOTOROLA:new RegExp("Motorola|DROIDX|DROID BIONIC|\\bDroid\\b.*Build|Android.*Xoom|HRI39|MOT-|A1260|A1680|A555|A853|\n      A855|A953|A955|A956|Motorola.*ELECTRIFY|Motorola.*i1|i867|i940|MB200|MB300|MB501|MB502|MB508|MB511|\n      MB520|MB525|MB526|MB611|MB612|MB632|MB810|MB855|MB860|MB861|MB865|MB870|ME501|ME502|ME511|ME525|ME600|\n      ME632|ME722|ME811|ME860|ME863|ME865|MT620|MT710|MT716|MT720|MT810|MT870|MT917|Motorola.*TITANIUM|WX435|\n      WX445|XT300|XT301|XT311|XT316|XT317|XT319|XT320|XT390|XT502|XT530|XT531|XT532|XT535|XT603|XT610|XT611|\n      XT615|XT681|XT701|XT702|XT711|XT720|XT800|XT806|XT860|XT862|XT875|XT882|XT883|XT894|XT901|XT907|XT909|\n      XT910|XT912|XT928|XT926|XT915|XT919|XT925|XT1021|\\bMoto E\\b|XT1068|XT1092|XT1052"),SAMSUNG:new RegExp("\\bSamsung\\b|SM-G950F|SM-G955F|SM-G9250|GT-19300|SGH-I337|BGT-S5230|GT-B2100|GT-B2700|GT-B2710|\n      GT-B3210|GT-B33
110|GT-B3410|GT-B3730|GT-B3740|GT-B5510|GT-B5512|GT-B5722|GT-B6520|GT-B7300|GT-B7320|\n      GT-B7330|GT-B7350|GT-B7510|GT-B7722|GT-B7800|GT-C3010|GT-C3011|GT-C3060|GT-C3200|GT-C3212|GT-C3212I|\n      GT-C3262|GT-C3222|GT-C3300|GT-C3300K|GT-C3303|GT-C3303K|GT-C3310|GT-C3322|GT-C3330|GT-C3350|GT-C3500|\n      GT-C3510|GT-C3530|GT-C3630|GT-C3780|GT-C5010|GT-C5212|GT-C6620|GT-C6625|GT-C6712|GT-E1050|GT-E1070|\n      GT-E1075|GT-E1080|GT-E1081|GT-E1085|GT-E1087|GT-E1100|GT-E1107|GT-E1110|GT-E1120|GT-E1125|GT-E1130|\n      GT-E1160|GT-E1170|GT-E1175|GT-E1180|GT-E1182|GT-E1200|GT-E1210|GT-E1225|GT-E1230|GT-E1390|GT-E2100|\n      GT-E2120|GT-E2121|GT-E2152|GT-E2220|GT-E2222|GT-E2230|GT-E2232|GT-E2250|GT-E2370|GT-E2550|GT-E2652|\n      GT-E3210|GT-E3213|GT-I5500|GT-I5503|GT-I5700|GT-I5800|GT-I5801|GT-I6410|GT-I6420|GT-I7110|GT-I7410|\n      GT-I7500|GT-I8000|GT-I8150|GT-I8160|GT-I8190|GT-I8320|GT-I8330|GT-I8350|GT-I8530|GT-I8700|GT-I8703|\n      GT-I8910|GT-I9000|GT-I9001|GT-I9003|GT-I9010|GT-I9020|GT-I9023|GT-I9070|GT-I9082|GT-I9100|GT-I9103|\n      GT-I9220|GT-I9250|GT-I9300|GT-I9305|GT-I9500|GT-I9505|GT-M3510|GT-M5650|GT-M7500|GT-M7600|GT-M7603|\n      GT-M8800|GT-M8910|GT-N7000|GT-S3110|GT-S3310|GT-S3350|GT-S3353|GT-S3370|GT-S3650|GT-S3653|GT-S3770|\n      GT-S3850|GT-S5210|GT-S5220|GT-S5229|GT-S5230|GT-S5233|GT-S5250|GT-S5253|GT-S5260|GT-S5263|GT-S5270|\n      GT-S5300|GT-S5330|GT-S5350|GT-S5360|GT-S5363|GT-S5369|GT-S5380|GT-S5380D|GT-S5560|GT-S5570|GT-S5600|\n      GT-S5603|GT-S5610|GT-S5620|GT-S5660|GT-S5670|GT-S5690|GT-S5750|GT-S5780|GT-S5830|GT-S5839|GT-S6102|\n      GT-S6500|GT-S7070|GT-S7200|GT-S7220|GT-S7230|GT-S7233|GT-S7250|GT-S7500|GT-S7530|GT-S7550|GT-S7562|\n      GT-S7710|GT-S8000|GT-S8003|GT-S8500|GT-S8530|GT-S8600|SCH-A310|SCH-A530|SCH-A570|SCH-A610|SCH-A630|\n      SCH-A650|SCH-A790|SCH-A795|SCH-A850|SCH-A870|SCH-A890|SCH-A930|SCH-A950|SCH-A970|SCH-A990|SCH-I100|\n      SCH-I110|SCH-I400|SCH-I405|SCH-I500|SCH-I510|SCH-I515|SCH-I600|SCH-I730|SCH-I760|SCH-I770|SCH-I830|\n      SCH-I910|SCH-I920|SCH-I959|SCH-LC11|SCH-N150|SCH-N300|SCH-R100|SCH-R300|SCH-R351|SCH-R400|SCH-R410|\n      SCH-T300|SCH-U310|SCH-U320|SCH-U350|SCH-U360|SCH-U365|SCH-U370|SCH-U380|SCH-U410|SCH-U430|SCH-U450|\n      SCH-U460|SCH-U470|SCH-U490|SCH-U540|SCH-U550|SCH-U620|SCH-U640|SCH-U650|SCH-U660|SCH-U700|SCH-U740|\n      SCH-U750|SCH-U810|SCH-U820|SCH-U900|SCH-U940|SCH-U960|SCS-26UC|SGH-A107|SGH-A117|SGH-A127|SGH-A137|\n      SGH-A157|SGH-A167|SGH-A177|SGH-A187|SGH-A197|SGH-A227|SGH-A237|SGH-A257|SGH-A437|SGH-A517|SGH-A597|\n      SGH-A637|SGH-A657|SGH-A667|SGH-A687|SGH-A697|SGH-A707|SGH-A717|SGH-A727|SGH-A737|SGH-A747|SGH-A767|\n      SGH-A777|SGH-A797|SGH-A817|SGH-A827|SGH-A837|SGH-A847|SGH-A867|SGH-A877|SGH-A887|SGH-A897|SGH-A927|\n      SGH-B100|SGH-B130|SGH-B200|SGH-B220|SGH-C100|SGH-C110|SGH-C120|SGH-C130|SGH-C140|SGH-C160|SGH-C170|\n      SGH-C180|SGH-C200|SGH-C207|SGH-C210|SGH-C225|SGH-C230|SGH-C417|SGH-C450|SGH-D307|SGH-D347|SGH-D357|\n      SGH-D407|SGH-D415|SGH-D780|SGH-D807|SGH-D980|SGH-E105|SGH-E200|SGH-E315|SGH-E316|SGH-E317|SGH-E335|\n      SGH-E590|SGH-E635|SGH-E715|SGH-E890|SGH-F300|SGH-F480|SGH-I200|SGH-I300|SGH-I320|SGH-I550|SGH-I577|\n      SGH-I600|SGH-I607|SGH-I617|SGH-I627|SGH-I637|SGH-I677|SGH-I700|SGH-I717|SGH-I727|SGH-i747M|SGH-I777|\n      SGH-I780|SGH-I827|SGH-I847|SGH-I857|SGH-I896|SGH-I897|SGH-I900|SGH-I907|SGH-I917|SGH-I927|SGH-I937|\n      SGH-I997|SGH-J150|SGH-J200|SGH-L170|SGH-L700|SGH-M110|SGH-M150|SGH-M200|SGH-N105|SGH-N500|SGH-N600|\n      SGH-N620|SGH-N625|SGH-N700|SGH-N710|SGH-P107|SGH-P207|SGH-P300|SGH-P310|SGH-P520|SGH-P735|SGH-P777|\n      SGH-Q105|SGH-R210|SGH-R220|SGH-R225|SGH-S105|SGH-S307|SGH-T109|SGH-T119|SGH-T139|SGH-T209|SGH-T219|\n      SGH-T229|SGH-T239|SGH-T249|SGH-T259|SGH-T309|SGH-T319|SGH-T329|SGH-T339|SGH-T349|SGH-T359|SGH-T369|\n      SGH-T379|SGH-T409|SGH-T429|SGH-T439|SGH-T459|SGH-T469|SGH-T479|SGH-T499|SGH-T509|SGH-T519|SGH-T539|\n      SGH-T559|SGH-T589|SGH-T609|SGH-T619|SGH-T629|SGH-T639|SGH-T659|SGH-T669|SGH-T679|SGH-T709|SGH-T719|\n      SGH-T729|SGH-T739|SGH-T746|SGH-T749|SGH-T759|SGH-T769|SGH-T809|SGH-T819|SGH-T839|SGH-T919|SGH-T929|\n      SGH-T939|SGH-T959|SGH-T989|SGH-U100|SGH-U200|SGH-U800|SGH-V205|SGH-V206|SGH-X100|SGH-X105|SGH-X120|\n      SGH-X140|SGH-X426|SGH-X427|SGH-X475|SGH-X495|SGH-X497|SGH-X507|SGH-X600|SGH-X610|SGH-X620|
1SGH-X630|\n      SGH-X700|SGH-X820|SGH-X890|SGH-Z130|SGH-Z150|SGH-Z170|SGH-ZX10|SGH-ZX20|SHW-M110|SPH-A120|SPH-A400|\n      SPH-A420|SPH-A460|SPH-A500|SPH-A560|SPH-A600|SPH-A620|SPH-A660|SPH-A700|SPH-A740|SPH-A760|SPH-A790|\n      SPH-A800|SPH-A820|SPH-A840|SPH-A880|SPH-A900|SPH-A940|SPH-A960|SPH-D600|SPH-D700|SPH-D710|SPH-D720|\n      SPH-I300|SPH-I325|SPH-I330|SPH-I350|SPH-I500|SPH-I600|SPH-I700|SPH-L700|SPH-M100|SPH-M220|SPH-M240|\n      SPH-M300|SPH-M305|SPH-M320|SPH-M330|SPH-M350|SPH-M360|SPH-M370|SPH-M380|SPH-M510|SPH-M540|SPH-M550|\n      SPH-M560|SPH-M570|SPH-M580|SPH-M610|SPH-M620|SPH-M630|SPH-M800|SPH-M810|SPH-M850|SPH-M900|SPH-M910|\n      SPH-M920|SPH-M930|SPH-N100|SPH-N200|SPH-N240|SPH-N300|SPH-N400|SPH-Z400|SWC-E100|SCH-i909|GT-N7100|\n      GT-N7105|SCH-I535|SM-N900A|SM-N900T|SGH-I317|SGH-T999L|GT-S5360B|GT-I8262|GT-S6802|GT-S6312|GT-S6310|GT-S5312|\n      GT-S5310|GT-I9105|GT-I8510|GT-S6790N|SM-G7105|SM-N9005|GT-S5301|GT-I9295|GT-I9195|SM-C101|GT-S7392|GT-S7560|\n      GT-B7610|GT-I5510|GT-S7582|GT-S7530E|GT-I8750|SM-G9006V|SM-G9008V|SM-G9009D|SM-G900A|SM-G900D|SM-G900F|\n      SM-G900H|SM-G900I|SM-G900J|SM-G900K|SM-G900L|SM-G900M|SM-G900P|SM-G900R4|SM-G900S|SM-G900T|SM-G900V|\n      SM-G900W8|SHV-E160K|SCH-P709|SCH-P729|SM-T2558|GT-I9205|SM-G9350|SM-J120F|SM-G920F|SM-G920V|SM-G930F|\n      SM-N910C|SM-A310F|GT-I9190|SM-J500FN|SM-G903F|SM-J330F"),LG:new RegExp("\\bLG\\b;|LG[- ]?(C800|C900|E400|E610|E900|E-900|F160|F180K|F180L|F180S|730|855|L160|LS740|LS840|LS970|\n      LU6200|MS690|MS695|MS770|MS840|MS870|MS910|P500|P700|P705|VM696|AS680|AS695|AX840|C729|E970|GS505|272|\n      C395|E739BK|E960|L55C|L75C|LS696|LS860|P769BK|P350|P500|P509|P870|UN272|US730|VS840|VS950|LN272|LN510|\n      LS670|LS855|LW690|MN270|MN510|P509|P769|P930|UN200|UN270|UN510|UN610|US670|US740|US760|UX265|UX840|VN271|\n      VN530|VS660|VS700|VS740|VS750|VS910|VS920|VS930|VX9200|VX11000|AX840A|LW770|P506|P925|P999|E612|D955|D802|\n      MS323|M257)"),SONY:/SonyST|SonyLT|SonyEricsson|SonyEricssonLT15iv|LT18i|E10i|LT28h|LT26w|SonyEricssonMT27i|C5303|C6902|C6903|C6906|C6943|D2533/,ASUS:/Asus.*Galaxy|PadFone.*Mobile/,NOKIA_LUMIA:/Lumia [0-9]{3,4}/,MICROMAX:/Micromax.*\b(A210|A92|A88|A72|A111|A110Q|A115|A116|A110|A90S|A26|A51|A35|A54|A25|A27|A89|A68|A65|A57|A90)\b/,PALM:/PalmSource|Palm/,VERTU:/Vertu|Vertu.*Ltd|Vertu.*Ascent|Vertu.*Ayxta|Vertu.*Constellation(F|Quest)?|Vertu.*Monika|Vertu.*Signature/,PANTECH:new RegExp("PANTECH|IM-A850S|IM-A840S|IM-A830L|IM-A830K|IM-A830S|IM-A820L|IM-A810K|IM-A810S|IM-A800S|IM-T100K|\n        IM-A725L|IM-A780L|IM-A775C|IM-A770K|IM-A760S|IM-A750K|IM-A740S|IM-A730S|IM-A720L|IM-A710K|IM-A690L|\n        IM-A690S|IM-A650S|IM-A630K|IM-A600S|VEGA PTL21|PT003|P8010|ADR910L|P6030|P6020|P9070|P4100|P9060|P5000|\n        CDM8992|TXT8045|ADR8995|IS11PT|P2030|P6010|P8000|PT002|IS06|CDM8999|P9050|PT001|TXT8040|P2020|P9020|\n        P2000|P7040|P7000|C790"),FLY:/IQ230|IQ444|IQ450|IQ440|IQ442|IQ441|IQ245|IQ256|IQ236|IQ255|IQ235|IQ245|IQ275|IQ240|IQ285|IQ280|IQ270|IQ260|IQ250/,WIKO:new RegExp("KITE 4G|HIGHWAY|GETAWAY|STAIRWAY|DARKSIDE|DARKFULL|DARKNIGHT|DARKMOON|SLIDE|WAX 4G|RAINBOW|BLOOM|\n        SUNSET|GOA(?!nna)|LENNY|BARRY|IGGY|OZZY|CINK FIVE|CINK PEAX|CINK PEAX 2|CINK SLI
1M|CINK SLIM 2|CINK +|\n        CINK KING|CINK PEAX|CINK SLIM|SUBLIM"),I_MOBILE:/i-mobile (IQ|i-STYLE|idea|ZAA|Hitz)/,SIMVALLEY:/\b(SP-80|XT-930|SX-340|XT-930|SX-310|SP-360|SP60|SPT-800|SP-120|SPT-800|SP-140|SPX-5|SPX-8|SP-100|SPX-8|SPX-12)\b/,WOLFGANG:/AT-B24D|AT-AS50HD|AT-AS40W|AT-AS55HD|AT-AS45q2|AT-B26D|AT-AS50Q/,ALCATEL:/Alcatel|Mobile; rv:49.0|Mobile; ALCATEL 4052R; rv:48.0/,NINTENDO:/Nintendo (3DS|Switch)/,AMOI:/Amoi/,INQ:/INQ/,VITA:/\bVita\b/,BLACKBERRY:/\bBlackBerry\b|\bBB10\b|rim[0-9]+/,FIREFOX_OS:/\bFirefox-OS\b/,IPHONE:/\biPhone\b/,iPod:/\biPod\b/,ANDROID:/\bAndroid\b/,WINDOWS_PHONE:/\bWindows-Phone\b/,GENERIC_PHONE:new RegExp("Tapatalk|PDA;|SAGEM|\\bmmp\\b|pocket|\\bpsp\\b|symbian|Smartphone|smartfon|treo|up.browser|\n        up.link|vodafone|\\bwap\\b|nokia|Nokia|Series40|Series60|S60|SonyEricsson|N900|MAUI.*WAP.*Browser")},M={iPad:/iPad|iPad.*Mobile/,NexusTablet:/Android.*Nexus[\s]+(7|9|10)/,GoogleTablet:/Android.*Pixel C/,SamsungTablet:new RegExp("SAMSUNG.*Tablet|Galaxy.*Tab|SC-01C|GT-P1000|GT-P1003|GT-P1010|GT-P3105|GT-P6210|\n        GT-P6800|GT-P6810|GT-P7100|GT-P7300|GT-P7310|GT-P7500|GT-P7510|SCH-I800|SCH-I815|SCH-I905|\n        SGH-I957|SGH-I987|SGH-T849|SGH-T859|SGH-T869|SPH-P100|GT-P3100|GT-P3108|GT-P3110|GT-P5100|\n        GT-P5110|GT-P6200|GT-P7320|GT-P7511|GT-N8000|GT-P8510|SGH-I497|SPH-P500|SGH-T779|SCH-I705|\n        SCH-I915|GT-N8013|GT-P3113|GT-P5113|GT-P8110|GT-N8010|GT-N8005|GT-N8020|GT-P1013|GT-P6201|\n        GT-P7501|GT-N5100|GT-N5105|GT-N5110|SHV-E140K|SHV-E140L|SHV-E140S|SHV-E150S|SHV-E230K|SHV-E230L|\n        SHV-E230S|SHW-M180K|SHW-M180L|SM-T865|SM-T290|SHW-M180S|SHW-M180W|SHW-M300W|SHW-M305W|SHW-M380K|SHW-M380S|SHW-M380W|\n        SHW-M430W|SHW-M480K|SHW-M480S|SHW-M480W|SHW-M485W|SHW-M486W|SHW-M500W|GT-I9228|SCH-P739|SCH-I925|\n        GT-I9200|GT-P5200|GT-P5210|GT-P5210X|SM-T385M|SM-P585M|SM-T311|SM-T310|SM-T310X|SM-T210|SM-T210R|SM-T211|SM-P600|\n        SM-P601|SM-P605|SM-P615|SM-P900|SM-P901|SM-T217|SM-T217A|SM-T217S|SM-P6000|SM-T3100|SGH-I467|XE500|SM-T110|\n        GT-P5220|GT-I9200X|GT-N5110X|GT-N5120|SM-P905|SM-T111|SM-T2105|SM-T315|SM-T320|SM-T320X|SM-T321|\n        SM-T510|SM-T520|SM-T525|SM-T530NU|SM-T230NU|SM-T330NU|SM-T900|XE500T1C|SM-P605V|SM-P905V|SM-T337V|SM-T537V|\n        SM-T707V|SM-T807V|SM-P600X|SM-P900X|SM-T210X|SM-T230|SM-T230X|SM-T325|GT-P7503|SM-T531|SM-T500|SM-T330|\n        SM-T530|SM-T705|SM-T705C|SM-T535|SM-T331|SM-T800|SM-T700|SM-T537|SM-T807|SM-P907A|SM-T337A|SM-T537A|\n        SM-T707A|SM-T807A|SM-T237|SM-T807P|SM-P607T|SM-T217T|SM-T337T|SM-T807T|SM-T116NQ|SM-T116BU|SM-P550|\n        SM-T350|SM-T550|SM-T9000|SM-P9000|SM-T705Y|SM-T805|GT-P3113|SM-T710|SM-T810|SM-T815|SM-T360|SM-T533|\n        SM-T113|SM-T335|SM-T715|SM-T560|SM-T670|SM-T677|SM-T377|SM-T567|SM-T357T|SM-T555|SM-T561|SM-T713|\n        SM-T719|SM-T725|SM-T813|SM-T819|SM-T580|SM-T590|SM-T355Y?|SM-T280|SM-T817A|SM-T820|SM-W700|SM-P580|SM-T587|SM-P350|\n        SM-P555M|SM-P355M|SM-T113NU|SM-T815Y|SM-T585|SM-T285|SM-T825|SM-W708|SM-T835|SM-P585Y|SM-X200"),Kindle:new RegExp("Kindle|Silk.*Accelerated|Android.*\\b(KFOT|KFTT|KFJWI|KFJWA|KFOTE|KFSOWI|KFTHWI|KFTHWA|KFAPWI|\n        KFAPWA|WFJWAE|KFSAWA|KFSAWI|KFASWI|KFARWI|KFFOWI|KFGIWI|KFMEWI)\\b|Android.*Silk/[0-9.]+ like Chrome        /[0-9.]+ (?!Mobile)"),SurfaceTablet:/Windows NT [0-9.]+; ARM;.*(Tablet|ARMBJS)/,HPTablet:/HP Slate (7|8|10)|HP ElitePad 900|hp-tablet|EliteBook.*Touch|HP 8|Slate 21|HP SlateBook 10/,AsusTablet:new RegExp("^.*PadFone((?!Mobile).)*$|Transformer|TF101|TF101G|TF300T|TF300TG|TF300TL|TF700T|TF700KL|\n        TF701T|TF810C|ME171|ME301T|ME302C|ME371MG|ME370T|ME372MG|ME172V|ME173X|ME400C|\n        Slider SL101|\\bK00F\\b|\\bK00C\\b|\\bK00E\\b|\\bK00L\\b|TX201LA|ME176C|ME102A|\\bM80TA\\b|ME372CL|\n        ME560CG|ME372CG|ME302KL| K010 | K011 | K017 | K01E |ME572C|ME103K|ME170C|ME171C|\\bME70C\\b|ME581C|\n        ME581CL|ME8510C|ME181C|P01Y|PO1MA|P01Z|\\bP027\\b|\\bP024\\b|\\bP00C\\b"),BlackBerryTablet:/PlayBook|RIM Tablet/,HTCtablet:/HTC_Flyer_P512|HTC Flyer|HTC Jetstream|HTC-P715a|HTC EVO View 4G|PG41200|PG09410/,MotorolaTablet:/xoom|sholest|MZ615|MZ605|MZ505|MZ601|MZ602|MZ603|MZ604|MZ606|MZ607|M
1Z608|MZ609|MZ615|MZ616|MZ617/,NookTablet:/Android.*Nook|NookColor|nook browser|BNRV200|BNRV200A|BNTV250|BNTV250A|BNTV400|BNTV600|LogicPD Zoom2/,AcerTablet:new RegExp("Android.*; \\b(A100|A101|A110|A200|A210|A211|A500|A501|A510|A511|A700|A701|W500|W500P|W501|\n        W501P|W510|W511|W700|G100|G100W|B1-A71|B1-710|B1-711|A1-810|A1-811|A1-830)\\b|W3-810|\\bA3-A10\\b|\\bA3-A11\\b|\n        \\bA3-A20\\b|\\bA3-A30"),ToshibaTablet:/Android.*(AT100|AT105|AT200|AT205|AT270|AT275|AT300|AT305|AT1S5|AT500|AT570|AT700|AT830)|TOSHIBA.*FOLIO/,LGTablet:/\bL-06C|LG-V909|LG-V900|LG-V700|LG-V510|LG-V500|LG-V410|LG-V400|LG-VK810\b/,FujitsuTablet:/Android.*\b(F-01D|F-02F|F-05E|F-10D|M532|Q572)\b/,PrestigioTablet:new RegExp("PMP3170B|PMP3270B|PMP3470B|PMP7170B|PMP3370B|PMP3570C|PMP5870C|PMP3670B|PMP5570C|\n        PMP5770D|PMP3970B|PMP3870C|PMP5580C|PMP5880D|PMP5780D|PMP5588C|PMP7280C|PMP7280C3G|PMP7280|PMP7880D|\n        PMP5597D|PMP5597|PMP7100D|PER3464|PER3274|PER3574|PER3884|PER5274|PER5474|PMP5097CPRO|PMP5097|PMP7380D|\n        PMP5297C|PMP5297C_QUAD|PMP812E|PMP812E3G|PMP812F|PMP810E|PMP880TD|PMT3017|PMT3037|PMT3047|PMT3057|PMT7008|\n        PMT5887|PMT5001|PMT5002"),LenovoTablet:new RegExp("Lenovo TAB|Idea(Tab|Pad)( A1|A10| K1|)|ThinkPad([ ]+)?Tablet|YT3-850M|YT3-X90L|YT3-X90F|\n        YT3-X90X|Lenovo.*(S2109|S2110|S5000|S6000|K3011|A3000|A3500|A1000|A2107|A2109|A1107|A5500|A7600|B6000|\n        B8000|B8080)(-|)(FL|F|HV|H|)|TB-X606F|TB-X103F|TB-X304F|TB-X304L|TB-X704F|TB-8703F|Tab2A7-10F|TB2-X30L|TB-8504F"),DellTablet:/Venue 11|Venue 8|Venue 7|Dell Streak 10|Dell Streak 7/,YarvikTablet:new RegExp("Android.*\\b(TAB210|TAB211|TAB224|TAB250|TAB260|TAB264|TAB310|TAB360|TAB364|TAB410|TAB411|\n        TAB420|TAB424|TAB450|TAB460|TAB461|TAB464|TAB465|TAB467|TAB468|TAB07-100|TAB07-101|TAB07-150|TAB07-151|\n        TAB07-152|TAB07-200|TAB07-201-3G|TAB07-210|TAB07-211|TAB07-212|TAB07-214|TAB07-220|TAB07-400|TAB07-485|\n        TAB08-150|TAB08-200|TAB08-201-3G|TAB08-201-30|TAB09-100|TAB09-211|TAB09-410|TAB10-150|TAB10-201|TAB10-211|\n        TAB10-400|TAB10-410|TAB13-201|TAB274EUK|TAB275EUK|TAB374EUK|TAB462EUK|TAB474EUK|TAB9-200)\\b"),MedionTablet:/Android.*\bOYO\b|LIFE.*(P9212|P9514|P9516|S9512)|LIFETAB/,ArnovaTablet:/97G4|AN10G2|AN7bG3|AN7fG3|AN8G3|AN8cG3|AN7G3|AN9G3|AN7dG3|AN7dG3ST|AN7dG3ChildPad|AN10bG3|AN10bG3DT|AN9G2/,IntensoTablet:/INM8002KP|INM1010FP|INM805ND|Intenso Tab|TAB1004/,IRUTablet:/M702pro/,MegafonTablet:/MegaFon V9|\bZTE V9\b|Android.*\bMT7A\b/,EbodaTablet:/E-Boda (Supreme|Impresspeed|Izzycomm|Essential)/,AllViewTablet:/Allview.*(Viva|Alldro|City|Speed|All TV|Frenzy|Quasar|Shine|TX1|AX1|AX2)/,ArchosTablet:new RegExp("\\b(101G9|80G9|A101IT)\\b|Qilive 97R|Archos5|\\bARCHOS (70|79|80|90|97|101|FAMILYPAD|)(b|c|)(G10|\n         Cobalt| TITANIUM(HD|)| Xenon| Neon|XSK| 2| XS 2| PLATINUM| CARBON|GAMEPAD)\\b"),AinolTablet:/NOVO7|NOVO8|NOVO10|Novo7Aurora|Novo7Basic|NOVO7PALADIN|novo9-Spark/,NokiaLumiaTablet:/Lumia 2520/,SonyTablet:new RegExp("Sony.*Tablet|Xperia Tablet|Sony Tablet S|SO-03E|SGPT12|SGPT13|SGPT114|SGPT121|SGPT122|SGPT123|\n        SGPT111|SGPT112|SGPT113|SGPT131|SGPT132|SGPT133|SGPT211|SGPT212|SGPT213|SGP311|SGP312|SGP321|EBRD1101|\n        EBRD1102|EBRD1201|SGP351|SGP341|SGP511|SGP512|SGP521|SGP541|SGP551|SGP621|SGP641|SGP612|SOT31|SGP771|SGP611|\n        SGP612|SGP712"),PhilipsTablet:/\b(PI2010|PI3000|PI3100|PI3105|PI3110|PI3205|PI3210|PI3900|PI4010|PI7000|PI7100)\b/,CubeTablet:/Android.*(K8GT|U9GT|U10GT|U16GT|U17GT|U18GT|U19GT|U20GT|U23GT|U30GT)|CUBE U8GT/,CobyTablet:new RegExp("MID1042|MID1045|MID1125|MID1126|MID7012|MID7014|MID7015|MID7034|MID7035|MID7036|MID7042|MID7048|\n        MID7127|MID8042|MID8048|MID8127|MID9042|MID9740|MID9742|MID7022|MID7010"),MIDTablet:new RegExp("M9701|M9000|M9100|M806|M1052|M806|T703|MID701|MID713|MID710|MID727|MID760|MID830|MID728|MID933|\n        MID125|MID810|MID732|MID120|MID930|MID800|MID731|MID900|MID100|MID820|MID735|MID980|MID130|MID833|MID737|\n        MID960|MID135|MID860|MID736|MID140|MID930|MID835|MID733|MID4X10"),MSITablet:new RegExp("MSI \\b(Primo 73K|Primo 73L|Primo 81L|Primo 77|Primo 93|Primo 75|Primo 76|Primo 73|Primo 81|\n        Primo 91|Primo 90|Enjoy 71|Enjoy 7|Enjoy 10)\\b"),SMiTTablet:/Android.*(\bMID\b|MID-560|MTV-T1200|MTV-PND531|MTV-P1101|MTV-PND530)/,RockChipTablet:/Android.*(RK2818|RK2808A|RK2918|RK3066)|RK2738|RK2808A/,FlyTablet:/IQ310|Fly Vision/,bqTablet:new RegExp("Android.*(bq)?.*(Elcano|Curie|Edison|Maxwell|Kepler|Pascal|Tesla|Hypatia|Platon|Newton|\n        Livingstone|Cervantes|Avant|Aquaris ([E|M]10|M8))|Maxwell.*Lite|Maxwell.*Plus"),HuaweiTablet:new RegExp("MediaPad|MediaPad 7 Youth|MediaPad T3 10|IDEOS S7|S7-201c|S7-202u|S7-101|S7-103|S7-104|S7-105|S7-106|\n        S7-201|S7-Slim|M2-A01L|BAH-L09|BAH-W09|AGS-W09"),NecTablet:/\bN-06D|\bN-08D/,PantechTablet:/Pantech.*P4100/,BronchoTablet:/Broncho.*(N701|N708|N802|a710)/,VersusTablet:/TOUCHPAD.*[78910]|\bTOUCHTAB\b/,ZyncTablet:/z1000|Z99 2G|z99|z930|z999|z990|z909|Z919|z900/,PositivoTablet:/TB07STA|TB10STA|TB07FTA|TB10FTA/,NabiTablet:/Android.*\b
1Nabi/,KoboTablet:/Kobo Touch|\bK080\b|\bVox\b Build|\bArc\b Build/,DanewTablet:/DSlide.*\b(700|701R|702|703R|704|802|970|971|972|973|974|1010|1012)\b/,TexetTablet:new RegExp("NaviPad|TB-772A|TM-7045|TM-7055|TM-9750|TM-7016|TM-7024|TM-7026|TM-7041|TM-7043|TM-7047|\n        TM-8041|TM-9741|TM-9747|TM-9748|TM-9751|TM-7022|TM-7021|TM-7020|TM-7011|TM-7010|TM-7023|TM-7025|\n        TM-7037W|TM-7038W|TM-7027W|TM-9720|TM-9725|TM-9737W|TM-1020|TM-9738W|TM-9740|TM-9743W|TB-807A|TB-771A|\n        TB-727A|TB-725A|TB-719A|TB-823A|TB-805A|TB-723A|TB-715A|TB-707A|TB-705A|TB-709A|TB-711A|TB-890HD|\n        TB-880HD|TB-790HD|TB-780HD|TB-770HD|TB-721HD|TB-710HD|TB-434HD|TB-860HD|TB-840HD|TB-760HD|TB-750HD|\n        TB-740HD|TB-730HD|TB-722HD|TB-720HD|TB-700HD|TB-500HD|TB-470HD|TB-431HD|TB-430HD|TB-506|TB-504|TB-446|\n        TB-436|TB-416|TB-146SE|TB-126SE"),PlaystationTablet:/Playstation.*(Portable|Vita)/,TrekstorTablet:/ST10416-1|VT10416-1|ST70408-1|ST702xx-1|ST702xx-2|ST80208|ST97216|ST70104-2|VT10416-2|ST10216-2A|SurfTab/,PyleAudioTablet:/\b(PTBL10CEU|PTBL10C|PTBL72BC|PTBL72BCEU|PTBL7CEU|PTBL7C|PTBL92BC|PTBL92BCEU|PTBL9CEU|PTBL9CUK|PTBL9C)\b/,AdvanTablet:new RegExp("Android.* \\b(E3A|T3X|T5C|T5B|T3E|T3C|T3B|T1J|T1F|T2A|T1H|T1i|E1C|T1-E|T5-A|T4|E1-B|T2Ci|\n        T1-B|T1-D|O1-A|E1-A|T1-A|T3A|T4i)\\b"),DanyTechTablet:"Genius Tab G3|Genius Tab S2|Genius Tab Q3|Genius Tab G4|Genius Tab Q4|Genius Tab G-II|\n        Genius TAB GII|Genius TAB GIII|Genius Tab S1",GalapadTablet:/Android.*\bG1\b(?!\))/,MicromaxTablet:/Funbook|Micromax.*\b(P250|P560|P360|P362|P600|P300|P350|P500|P275)\b/,KarbonnTablet:/Android.*\b(A39|A37|A34|ST8|ST10|ST7|Smart Tab3|Smart Tab2)\b/,AllFineTablet:/Fine7 Genius|Fine7 Shine|Fine7 Air|Fine8 Style|Fine9 More|Fine10 Joy|Fine11 Wide/,PROSCANTablet:new RegExp("\\b(PEM63|PLT1023G|PLT1041|PLT1044|PLT1044G|PLT1091|PLT4311|PLT4311PL|PLT4315|PLT7030|\n        PLT7033|PLT7033D|PLT7035|PLT7035D|PLT7044K|PLT7045K|PLT7045KB|PLT7071KG|PLT7072|PLT7223G|PLT7225G|\n        PLT7777G|PLT7810K|PLT7849G|PLT7851G|PLT7852G|PLT8015|PLT8031|PLT8034|PLT8036|PLT8080K|PLT8082|PLT8088|\n        PLT8223G|PLT8234G|PLT8235G|PLT8816K|PLT9011|PLT9045K|PLT9233G|PLT9735|PLT9760G|PLT9770G)\\b"),YONESTablet:/BQ1078|BC1003|BC1077|RK9702|BC9730|BC9001|IT9001|BC7008|BC7010|BC708|BC728|BC7012|BC7030|BC7027|BC7026/,ChangJiaTablet:new RegExp("TPC7102|TPC7103|TPC7105|TPC7106|TPC7107|TPC7201|TPC7203|TPC7205|TPC7210|TPC7708|TPC7709|\n        TPC7712|TPC7110|TPC8101|TPC8103|TPC8105|TPC8106|TPC8203|TPC8205|TPC8503|TPC9106|TPC9701|TPC97101|TPC97103|\n        TPC97105|TPC97106|TPC97111|TPC97113|TPC97203|TPC97603|TPC97809|TPC97205|TPC10101|TPC10103|TPC10106|\n        TPC10111|TPC10203|TPC10205|TPC10503"),GUTablet:/TX-A1301|TX-M9002|Q702|kf026/,PointOfViewTablet:new RegExp("TAB-P506|TAB-navi-7-3G-M|TAB-P517|TAB-P-527|TAB-P701|TAB-P703|TAB-P721|TAB-P731N|\n        TAB-P741|TAB-P825|TAB-P905|TAB-P925|TAB-PR945|TAB-PL1015|TAB-P1025|TAB-PI1045|TAB-P1325|TAB-PROTAB[0-9]+|\n        TAB-PROTAB25|TAB-PROTAB26|TAB-PROTAB27|TAB-PROTAB26XL|TAB-PROTAB2-IPS9|TAB-PROTAB30-IPS9|TAB-PROTAB25XXL|\n        TAB-PROTAB26-IPS10|TAB-PROTAB30-IPS10"),OvermaxTablet:new RegExp("OV-(SteelCore|NewBase|Basecore|Baseone|Exellen|Quattor|EduTab|Solution|ACTION|BasicTab|TeddyTab|\n        MagicTab|Stream|TB-08|TB-09)|Qualcore 1027"),HCLTablet:/HCL.*Tablet|Connect-3G-2.0|Connect-2G-2.0|ME Tablet U1|ME Tablet U2|ME Tablet G1|ME Tablet X1|ME Tablet Y2|ME Tablet Sync/,DPSTablet:/DPS Dream 9|DPS Dual 7/,VistureTablet:/V97 HD|i75 3G|Visture V4( HD)?|Visture V5( HD)?|Visture V10/,CrestaTablet:/CTP(-)?810|CTP(-)?818|CTP(-)?828|CTP(-)?838|CTP(-)?888|CTP(-)?978|CTP(-)?980|CTP(-)?987|CTP(-)?988|CTP(-)?989/,MediatekTablet:/\bMT8125|MT8389|MT8135|MT8377\b/,ConcordeTablet:/Concorde([ ]+)?Tab|ConCorde ReadMan/,GoCleverTablet:new RegExp("GOCLEVER TAB|A7GOCLEVER|M1042|M7841|M742|R1042BK|R1041|TAB A975|TAB A7842|TAB A741|TAB A741L|TAB M723G|\n        TAB M721|TAB A1021|TAB I921|TAB R721|TAB I720|TAB T76|TAB R70|TAB R76.2|TAB R106|TAB R83.2|TAB M813G|TAB I721|\n        GCTA722|TAB I70|TAB I71|TAB S73|TAB R73|TAB R74|TAB R93|TAB R75|TAB R76.1|TAB A73|TAB A93|TAB A93.2|TAB T72|\n        TAB R83|TAB R974|TAB R973|TAB A101|TAB A103|TAB A104|TAB A104.2|R105BK|M713G|A972BK|TAB A971|TAB R974.2|\n        TAB R104|TAB R83.3|TAB A1042"),ModecomTablet:new RegExp("FreeTAB 9000|FreeTAB 7.4|FreeTAB 7004|FreeTAB 7800|FreeTAB 2096|FreeTAB 7.5|FreeTAB 1014|\n        FreeTAB 1001 |FreeTAB 8001|FreeTAB 9706|FreeTAB 9702|FreeTAB 7003|FreeTAB 7002|FreeTAB 1002|FreeTAB 7801|\n        FreeTAB 1331|FreeTAB 1004|FreeTAB 8002|FreeTAB 8014|FreeTAB 9704|FreeTAB 1003"),VoninoTablet:new RegExp("\\b(Argus[ _]?S|Diamond[ _]?79HD|Emerald[ _]?78E|Luna[ _]?70C|Onyx[ _]?S|Onyx[ _]?Z|\n        Orin[ _]?HD|Orin[ _]?S|Otis[ _]?S|SpeedStar[ _]?S|Magnet[ _]?M9|Primus[ _]?94[ _]?3G|Primus[ _]?94HD|\n        Primus[ _]?QS|Android.*\\bQ8\\b|Sirius[ _]?EVO[ _]?QS|Sirius[ _]?QS|Spirit[ _]?S)\\b"),ECSTablet:/V07OT2|TM105A|S10OT1|TR10CS1/,StorexTablet:/eZee[_']?(Tab|Go)[0-9]+|TabLC7|Looney Tunes Tab/,VodafoneTablet:/SmartTab([ ]+)?[0-9]+|SmartTabII10|SmartTabII7|VF-1497/,EssentielBTablet:/Smart[ ']?TAB[ ]+?[0-9]+|Family[ ']?TAB2/,RossMoorTablet:/RM-790|RM-997|RMD-878G|RMD-974R|RMT-705A|RMT-701|RME-601|RMT-501|RMT-711/,iMobileTablet:/i-mobile i-note/,TolinoTablet:/tolino tab [0-9.]+|tolino shine/,AudioSonicTablet:/\bC-22Q|T7-QC|T-17B|T-17P\b/,AMPETablet:/Android.* A78 /,SkkTablet:/Android.* (SKYPAD|PHOENIX|CYCLOPS)/,TecnoTablet:/TECNO P9|TECNO DP8D/,JXDTablet:new RegExp("Android.* \\b(F3000|A3300|JXD5000|JXD3000|JXD2000|JXD300B|JXD300|S5800|S7800|S602b|S5110b|S7300|\n        S5300|S602|S603|S5100|S5110|S601|S7100a|P3000F|P3000s|P101|P200s|P1000m|P200m|P9100|P1000s|S6600b|S908|\n        P1000|P300|S18|S6600|S9100)\\b"),iJoyTablet:new RegExp("Tablet (Spirit 7|Essentia|Galatea|Fusion|Onix 7|Landa|Titan|Scooby|Deox|Stella|Themis|Argon|\n        Unique 7|Sygnus|Hexen|Finity 7|Cream|Cream X2|Jade|Neon 7|Neron 7|Kandy|Scape|Saphyr 7|Rebel|Biox|Rebel|\n        Rebel 8GB|Myst|Draco 7|Myst|Tab7-004|Myst|Tadeo Jones|Tablet Boing|Arrow|Draco Dual Cam|Aurix|Mint|Amity|\n        Revolution|Finity 9|Neon 9|T9w|Amity 4GB Dual Cam|Stone 4GB|Stone 8GB|Andromeda|Silken|X2|Andromeda II|\n        Halley|Flame|Saphyr 9,7|Touch 8|Planet|Triton|Unique 10|Hexen 10|Memphis 4GB|Memphis 8GB|Onix 10)"),FX2Tablet:/FX2 PAD7|FX2 PAD10/,XoroTablet:new RegExp("KidsPAD 701|PAD[ ]?712|PAD[ ]?714|PAD[ ]?716|PAD[ ]?717|PAD[ ]?718|PAD[ ]?720|PAD[ ]?721|\n        PAD[ ]?722|PAD[ ]?790|PAD[ ]?792|PAD[ ]?900|PAD[ ]?9715D|PAD[ ]?9716DR|PAD[ ]?9718DR|PAD[ ]?9719QR|\n        PAD[ ]?9720QR|TelePAD1030|Telepad1032|TelePAD730|TelePAD731|TelePAD732|TelePAD735Q|TelePAD830|TelePAD9730|\n        TelePAD795|MegaPAD 1331|MegaPAD 1851|MegaPAD 2151"),ViewsonicTablet:/ViewPad 10pi|ViewPad 10e|ViewPad 10s|ViewPad E72|ViewPad7|ViewPad E100|ViewPad 7e|ViewSonic VB733|VB100a/,VerizonTablet:/QTAQZ3|QTAIR7|QTAQTZ3|QTASUN1|QTASUN2|QTAXIA1/,OdysTablet:/LOOX|XENO10|ODYS[ -](Space|EVO|Xpress|NOON)|\bXELIO\b|Xelio10Pro|XELIO7PHONETAB|XELIO10EXTREME|XELIOPT2|NEO_QUAD10/,CaptivaTablet:/CAPTIVA PAD/,IconbitTablet:new RegExp("NetTAB|NT-3702|NT-3702S|NT-3702S|NT-3603P|NT-3603P|NT-0704S|NT-0704S|NT-3805C|NT-3805C|\n        NT-0806C|NT-0806C|NT-0909T|NT-0909T|NT-0907S|NT-0907S|NT-0902S|NT-0902S"),TeclastTablet:new RegExp("T98 4G|\\bP80\\b|\\bX90HD\\b|X98 Air|X98 Air 3G|\\bX89\\b|P80 3G|\\bX80h\\b|P98 Air|\n        \\bX89HD\\b|P98 3G|\\bP90HD\\b|P89 3G|X98 3G|\\bP70h\\b|P79HD 3G|G18d 3G|\\bP79HD\\b|\\bP89s\\b|\\bA88\\b|\n        \\bP10HD\\b|\\bP19HD\\b|G18 3G|\\bP78HD\\b|\\bA78\\b|\\bP75\\b|G17s 3G|G17h 3G|\\bP85t\\b|\\bP90\\b|\n        \\bP11\\b|\\bP98t\\b|\\bP98HD\\b|\\bG18d\\b|\\bP85s\\b|\\bP11HD\\b|\\bP88s\\b|\\bA80HD\\b|\\bA80se\\b|\n        \\bA10h\\b|\\bP89\\b|\\bP78s\\b|\\bG18\\b|\\bP85\\b|\\bA70h\\b|\\bA70\\b|\\bG17\\b|\\bP18\\b|\\bA80s\\b|\n        \\bA11s\\b|\\bP88HD\\b|\\bA80h\\b|\\bP76s\\b|\\bP76h\\b|\\bP98\\b|\\bA10HD\\b|\\bP78\\b|\\bP88\\b|\\bA11\\b|\n        \\bA10t\\b|\\bP76a\\b|\\bP76t\\b|\\bP76e\\b|\\bP85HD\\b|\\bP85a\\b|\\bP86\\b|\\bP75HD\\b|\\bP76v\\b|\\bA12\\b|\n        \\bP75a\\b|\\bA15\\b|\\bP76Ti\\b|\\bP81HD\\b|\\bA10\\b|\\bT760VE\\b|\\bT720HD\\b|\\bP76\\b|\\bP73\\b|\\bP71\\b|\n        \\bP72\\b|\\bT720SE\\b|\\bC520Ti\\b|\\bT760\\b|\\bT720VE\\b|T720-3GE|T720-WiFi"),OndaTablet:new RegExp("\\b(V975i|Vi30|VX530|V701|Vi60|V701s|Vi50|V801s|V719|Vx610w|VX610W|V819i|Vi10|VX580W|Vi10|\n        V711s|V813|V811|V820w|V820|Vi20|V711|VI30W|V712|V891w|V972|V819w|V820w|Vi60|V820w|V711|V813s|V801|V819|\n        V975s|V801|V819|V819|V818|V811|V712|V975m|V101w|V961w|V812|V818|V971|V971s|V919|V989|V116w|V102w|V973|\n        Vi40)\\b[s]+|V10 \\b4G\\b"),JaytechTablet:/TPC-PA762/,BlaupunktTablet:/Endeavour 800NG|Endeavour 1010/,DigmaTablet:/\b(iDx10|iDx9|iDx8|iDx7|iDxD7|iDxD8|iDsQ8|iDsQ7|iDsQ8|iDsD10|iDnD7|3TS804H|iDsQ11|iDj7|iDs10)\b/,EvolioTablet:/ARIA_Mini_wifi|Aria[ _]Mini|Evolio X10|Evolio X7|Evolio X8|\bEvotab\b|\bNeura\b/,LavaTablet:/QPAD E704|\bIvoryS\b|E-TAB IVORY|\bE-TAB\b/,AocTablet:/MW0811|MW0812|MW0922|MTK8382|MW1031|MW0831|MW0821|MW0931|MW0712/,MpmanTablet:new RegExp("MP11 OCTA|MP10 OCTA|MPQC1114|MPQC1004|MPQC994|MPQC974|MPQC973|MPQC804|MPQC784|MPQC780|\n        \\bMPG7\\b|MPDCG75|MPDCG71|MPDC1006|MP101DC|MPDC9000|MPDC905|MPDC706HD|MPDC706|MPDC705|MPDC110|\n        MPDC100|MPDC99|MPDC97|MPDC88|MPDC8|MPDC77|MP709|MID701|MID711|MID170|MPDC703|MPQC1010"),CelkonTablet:/CT695|CT888|CT[\s]?910|CT7 Tab|CT9 Tab|CT3 Tab|CT2 Tab|CT1 Tab|C820|C720|\bCT-1\b/,WolderTablet:new RegExp("miTab \\b(DIAMOND|SPACE|BROOKLYN|NEO|FLY|MANHATTAN|FUNK|EVOLUTION|SKY|GOCAR|IRON|GENIUS|\n        POP|MINT|EPSILON|BROADWAY|JUMP|HOP|LEGEND|NEW AGE|LINE|ADVANCE|FEEL|FOLLOW|LIKE|LINK|LIVE|THINK|\n        FREEDOM|CHICAGO|CLEVELAND|BALTIMORE-GH|IOWA|BOSTON|SEATTLE|PHOENIX|DALLAS|IN 101|MasterChef)\\b"),MediacomTablet:"M-MPI10C3G|M-SP10EG|M-SP10EGP|M-SP10HXAH|M-SP7HXAH|M-SP10HXBH|M-SP8HXAH|M-SP8MXA",MiTablet:/\bMI PAD\b|\bHM NOTE 1W\b/,NibiruTablet:/Nibiru M1|Nibiru Jupiter One/,NexoTablet:/NEXO NOVA|NEXO 10|NEXO AVIO|NEXO FREE|NEXO GO|NEXO EVO|NEXO 3G|NEXO SMART|NEXO KIDDO|NEXO MOBI/,LeaderTablet:new RegExp("TBLT10Q|TBLT10I|TBL-10WDKB|TBL-10WDKBO2013|TBL-W230V2|TBL-W450|TBL-W500|SV572|TBLT7I|\n        TBA-AC7-8G|TBLT79|TBL-8W16|TBL-10W32|TBL-10WKB|TBL-W100"),UbislateTablet:/UbiSlate[\s]?7C/,PocketBookTablet:/Pocketbook/,KocasoTablet:/\b(TB-1207)\b/,HisenseTablet:/\b(F5281|E2371)\b/,Hudl:/Hudl HT7S3|Hudl 2/,TelstraTablet:/T-Hub2/,Honeywell:/RT10A/,GenericTablet:new RegExp("Android.*\\b97D\\b|Tablet(?!.*PC)|BNTV250A|MID-WCDMA|LogicPD Zoom2|\\bA7EB\\b|CatNova8|\n        A1_07|CT704|CT1002|\\bM721\\b|rk30sdk|\\bEVOTAB\\b|M758A|ET904|ALUMIUM10|Smartfren Tab|Endeavour 1010|\n        Tablet-PC-4|Tagi Tab|\\bM6pro\\b|CT1020W|arc 10HD|\\bTP750\\b|\\bQTAQZ3\\b|WVT101|TM1088|KT107")}
1,k={BLACKBERRY:"Blackberry",FIREFOX_OS:"Firefox-OS",CHROME_BOOK:"Chrome-Book",WINDOWS_PHONE:"Windows-Phone",VITA:"Vita",PS4:"PS4",MAC:"Macintosh",CHROMECAST:"Chromecast",APPLE_TV:"Apple-TV",GOOGLE_TV:"Google-TV",ANDROID:"Android",Tesla:"Tesla",iPad:"iPad",IPHONE:"iPhone",iPod:"iPod",UNKNOWN:_.UKNOWN,HTC:"HTC",NEXUS_PHONE:"Nexus Phone",NexusTablet:"Nexus Tablet",DELL:"Dell",MOTOROLA:"Motorola",SAMSUNG:"Samsung",LG:"LG",SONY:"Sony",ASUS:"Asus",NOKIA_LUMIA:"Nokia Lumia",MICROMAX:"Micromax",PALM:"Palm",VERTU:"Vertu",PANTECH:"PANTECH",FLY:"Fly",WIKO:"WIKO",I_MOBILE:"i-mobile",SIMVALLEY:"Simvalley",WOLFGANG:"Wolfgang",ALCATEL:"Alcatel",HONEYWELL:"Honeywell",NINTENDO:"Nintendo",AMOI:"Amoi",INQ:"INQ",GENERIC_PHONE:"Generic Phone",MI_SE_9:"Mi SE 9"},U=[k.PS4,k.CHROME_BOOK,k.MAC,k.DELL,k.ASUS,k.UNKNOWN],te={WINDOWS:"Windows",MAC:"Mac",IOS:"iOS",ANDROID:"Android",LINUX:"Linux",UNIX:"Unix",FIREFOX_OS:"Firefox-OS",CHROME_OS:"Chrome-OS",WINDOWS_PHONE:"Windows-Phone",UNKNOWN:_.UKNOWN},I={WINDOWS_3_11:"windows-3-11",WINDOWS_95:"windows-95",WINDOWS_ME:"windows-me",WINDOWS_98:"windows-98",WINDOWS_CE:"windows-ce",WINDOWS_2000:"windows-2000",WINDOWS_XP:"windows-xp",WINDOWS_SERVER_2003:"windows-server-2003",WINDOWS_VISTA:"windows-vista",WINDOWS_7:"windows-7",WINDOWS_8_1:"windows-8-1",WINDOWS_8:"windows-8",WINDOWS_10:"windows-10",WINDOWS_PHONE_7_5:"windows-phone-7-5",WINDOWS_PHONE_8_1:"windows-phone-8-1",WINDOWS_PHONE_10:"windows-phone-10",WINDOWS_NT_4_0:"windows-nt-4-0",MACOSX_11_0:"mac-os-x-11-0",MACOSX_16:"mac-os-x-16",MACOSX_15:"mac-os-x-15",MACOSX_14:"mac-os-x-14",MACOSX_13:"mac-os-x-13",MACOSX_12:"mac-os-x-12",MACOSX_11:"mac-os-x-11",MACOSX_10:"mac-os-x-10",MACOSX_9:"mac-os-x-9",MACOSX_8:"mac-os-x-8",MACOSX_7:"mac-os-x-7",MACOSX_6:"mac-os-x-6",MACOSX_5:"mac-os-x-5",MACOSX_4:"mac-os-x-4",MACOSX_3:"mac-os-x-3",MACOSX_2:"mac-os-x-2",MACOSX:"mac-os-x",iOS:"iOS",ANDROID_9:"android-9",UNKNOWN:_.UKNOWN.toLowerCase()},z={WINDOWS:{and:[{or:[/\bWindows|(Win\d\d)\b/,/\bWin 9x\b/]},{not:/\bWindows Phone\b/}]},MAC:{and:[/\bMac OS\b/,{not:{or:[/\biPhone\b/,/\biPad\b/,/\biPod\b/,/\bWindows Phone\b/]}}]},IOS:{and:[{or:[/\biPad\b/,/\biPhone\b/,/\biPod\b/]},{not:/\bWindows Phone\b/}]},ANDROID:{and:[/\bAndroid\b/,{not:/\bWindows Phone\b/}]},LINUX:/\bLinux\b/,UNIX:/\bUNIX\b/,FIREFOX_OS:{and:[/\bFirefox\b/,/Mobile\b/]},CHROME_OS:/\bCrOS\b/,WINDOWS_PHONE:{or:[/\bIEMobile\b/,/\bWindows Phone\b/]},PS4:/\bMozilla\/5.0 \(PlayStation 4\b/,VITA:/\bMozilla\/5.0 \(Play(S|s)tation Vita\b/},ee={...D,...M,...z,FIREFOX_OS:{and:[/\bFirefox\b/,/\bMobile\b/]},CHROME_BOOK:/\bCrOS\b/,PS4:/\bMozilla\/5.0 \(PlayStation 4\b/,CHROMECAST:/\bCrKey\b/,APPLE_TV:/^iTunes-AppleTV\/4.1$/,GOOGLE_TV:/\bGoogleTV\b/,Tesla:/Tesla\/([0-9]{4}.[0-9]{1,2}.?[0-9]{0,2}.?[0-9]{0,2})-(.{7})/,MI_SE_9:/\bXiaomi\b/,MAC:{and:[/\bMac OS\b/,{not:{or:[/\biPhone\b/,/\biPad\b/,/\biPod\b/,/\bWindows Phone\b/]}}]}},ae={WINDOWS_3_11:/Win16/,WINDOWS_95:/(Windows 95|Win95|Windows_95)/,WINDOWS_ME:/(Win 9x 4.90|Windows ME)/,WINDOWS_98:/(Windows 98|Win98)/,WINDOWS_CE:/Windows CE/,WINDOWS_2000:/(Windows NT 5.0|Windows 2000)/,WINDOWS_XP:/(Windows NT 5.1|Windows XP)/,WINDOWS_SERVER_2003:/Windows NT 5.2/,WINDOWS_VISTA:/Windows NT 6.0/,WINDOWS_7:/(Windows 7|Windows NT 6.1)/,WINDOWS_8_1:/(Windows 8.1|Windows NT 6.3)/,WINDOWS_8:/(Windows 8|Windows NT 6.2)/,WINDOWS_10:/(Windows NT 10.0)/,WINDOWS_PHONE_7_5:/(Windows Phone OS 7.5)/,WINDOWS_PHONE_8_1:/(Windows Phone 8.1)/,WINDOWS_PHONE_10:/(Windows Phone 10)/,WINDOWS_NT_4_0:{and:[/(Windows NT 4.0|WinNT4.0|WinNT|Windows NT)/,{not:/Windows NT 10.0/}]},MACOSX:/(MAC OS X\s*[^ 0-9])/,MACOSX_3:/(Darwin 10.3|Mac OS X 10.3)/,MACOSX_4:/(Darwin 10.4|Mac OS X 10.4)/,MACOSX_5:/(Mac OS X 10.5)/,MACOSX_6:/(Mac OS X 10.6)/,MACOSX_7:/(Mac OS X 10.7)/,MACOSX_8:/(Mac OS X 10.8)/,MACOSX_9:/(Mac OS X 10.9)/,MACOSX_10:/(Mac OS X 10.10)/,MACOSX_11:/(Mac OS X 10.11)/,MACOSX_12:/(Mac OS X 10.12)/,MACOSX_13:/(Mac OS X 10.13)/,MACOSX_14:/(Mac OS X 10.14)/,MACOSX_15:/(Mac OS X 10.15)/,MACOSX_16:/(Mac OS X 10.16)/,MACOSX_11_0:{or:[/11_0 like Mac OS X/,/Mac OS X 11/]},iOS:/(iPhone OS\s*[0-9_]+)/,ANDROID_9:/(Android 9)/},V={CHROME:[/\bChrome\/([\d\.]+)\b/,/\bCriOS\/([\d\.]+)\b/,/\bHeadlessChrome\/([\d\.]+)\b/],FIREFOX:[/\bFirefox\/([\d\.]+)\b/,/\bFxiOS\/([\d\.]+)\b/],SAFARI:[/\bVersion\/([\d\.]+)\b/,/\bSafari\/([\d\.]+)\b/],OPERA:[/\bVersion\/([\d\.]+)\b/,/\bOPR\/([\d\.]+)\b/],IE:[/\bMSIE ([\d\.]+\w?)\b/,/\brv:([\d\.]+\w?)\b/],MS_EDGE:/\bEdg(?:e|A|iOS)\/([\d\.]+)\b/,MS_EDGE_CHROMIUM:/\bEdg\/([\d\.]+)\b/,SAMSUNG:/\bSamsungBrowser\/([\d\.]+)\b/,UCBROWSER:/\bUCBrowser\/([\d\.]+)\b/},Y=Object.keys(ae).reduce((He,xe)=>(He[xe]=ae[xe],He),{}),N=Object.keys(V).reduce((He,xe)=>(He[S[xe]]=V[xe],He),{});var O=Object.freeze({__proto__:null,GENERAL:_,BROWSERS:S,MOBILES_RE:D,TABLETS_RE:M,DEVICES:k,DESKTOP_DEVICES:U,OS:te,OS_VERSIONS:I,OS_RE:z,BROWSERS_RE:{CHROME:{and:[{or:[/\bChrome\b/,/\bCriOS\b/,/\bHeadlessChrome\b/]},{not:{or:[/\bOPR\b/,/\bEdg(e|A|iOS)\b/,/\bEdg\/\b/,/\bSamsungBrowser\b/,/\bUCBrowser\b/]}}]},FIREFOX:{or:[/\bFirefox\b/,/\bFxiOS\b/]},SAFARI:{and:[/^((?!CriOS).)*\Safari\b.*$/,{not:{or:[/\bOPR\b/,/\bEdg(e|A|iOS)\b/,/\bEdg\/\b/,/\bWindows Phone\b/,/\bSamsungBrowser\b/,/\bUCBrowser\b/]}}]},OPERA:{or:[/Opera\b/,/\bOPR\b/]},IE:{or:[/\bMSIE\b/,/\bTrident\b/,/^Mozilla\/5\.0 \(Windows NT 10\.0; Win64; x64\)$/]},MS_EDGE:{or:[/\bEdg(e|A|iOS)\b/]},MS_EDGE_CHROMIUM:/\bEdg\/\b/,PS4:/\bMozilla\/5.0 \(PlayStation 4\b/,VITA:/\bMozilla\/5.0 \(Play(S|s)tation Vita\b/,FB_MESSANGER:/\bFBAN\/MessengerForiOS\b/,SAMSUNG:/\bSamsungBrowser\b/,UCBROWSER:/\bUCBrowser\b/},DEVICES_RE:ee,OS_VERSIONS_RE_MAP:ae,BROWSER_VERSIONS_RE_MAP:V,OS_VERSIONS_RE:Y,BROWSER_VERSIONS_RE:N});class X{constructor(){}test(xe,Ne){return"string"==typeof Ne&&(Ne=new RegExp(Ne)),Ne instanceof RegExp?Ne.test(xe):Ne&&Array.isArray(Ne.and)?Ne.and.every(ze=>this.test(xe,ze)):Ne&&Array.isArray(Ne.or)?Ne.or.some(ze=>this.test(xe,ze)):!(!Ne||!Ne.not||this.test(xe,Ne.not))}exec(xe,Ne){return"string"==typeof Ne&&(Ne=new RegExp(Ne)),Ne instanceof RegExp?Ne.exec(xe):Ne&&Array.isArray(Ne)?Ne.reduce((ze,ke)=>ze||this.exec(xe,ke),null):null}}var J=(()=>{return(He=J||(J={})).Mobile="mobile",He.Tablet="tablet",He.Desktop="desktop",He.Unknown="unknown",J;var He})(),pe=(()=>{return(He=pe||(pe={})).Portrait="portrait",He.Landscape="landscape",pe;var He})();const me="iPad";let Fe=(()=>{class He{constructor(Ne){this.platformId=Ne,this.ua="",this.userAgent="",this.os="",this.browser="",this.device="",this.os_version="",this.browser_version="",this.reTree=new X,this.deviceType="",this.orientation="",(0,f.NF)(this.platformId)&&typeof window<"u"&&(this.userAgent=window.navigator.userAgent),this.setDeviceInfo(this.userAgent)}setDeviceInfo(Ne=this.userAgent){Ne!==this.userAgent&&(this.userAgent=Ne);const ze=[{const:"OS",prop:"os"},{const:"BROWSERS",prop:"browser"},{const:"DEVICES",prop:"device"},{const:"OS_VERSIONS",prop:"os_version"}];if(ze.forEach(ke=>{this[ke.prop]=Object.keys(O[ke.const]).reduce((De,Ce)=>"device"===O[ke.const][Ce]&&(0,f.NF)(this.platformId)&&(this.reTree.test(this.userAgent,M[me])||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1)?(De[O[ke.const][Ce]]=me,Object):(De[O[ke.const][Ce]]=this.reTree.test(Ne,O[`${ke.const}_RE`][Ce]),De),{})}),ze.forEach(ke=>{this[ke.prop]=Object.keys(O[ke.const]).map(De=>O[ke.const][De]).reduce((De,Ce)=>"device"===ke.prop&&De===O[ke.const].ANDROID?this[ke.prop][Ce]?Ce:De:De===O[ke.const].UNKNOWN&&this[ke.prop][Ce]?Ce:De,O[ke.const].UNKNOWN)}),this.browser_version="0",this.browser!==S.UNKNOWN){const De=this.reTree.exec(Ne,N[this.browser]);De&&(this.browser_version=De[1])}this.orientation=typeof window<"u"&&window.matchMedia?window.matchMedia("(orientation: landscape)").matches?pe.Landscape:pe.Portrait:_.UKNOWN,this.deviceType=this.isTablet()?J.Tablet:this.isMobile(this.userAgent)?J.Mobile:this.isDesktop(this.userAgent)?J.Desktop:J.Unknown}getDeviceInfo(){return{userAgent:this.userAgent,os:this.os,browser:this.browser,device:this.device,os_version:this.os_version,browser_version:this.browser_version,deviceType:this.deviceType,orientation:this.orientation}}isMobile(Ne=this.userAgent){return!this.isTablet(Ne)&&!!Object.keys(D).find(ke=>this.reTree.test(Ne,D[ke]))}isTablet(Ne=this.userAgent){return!(!(0,f.NF)(this.platformId)||!(this.reTree.test(this.userAgent,M[me])||typeof navigator<"u"&&"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1))||!!Object.keys(M).find(ke=>!!this.reTree.test(Ne,M[ke]))}isDesktop(Ne=this.userAgent){return(this.device!==k.UNKNOWN||!this.isMobile(Ne)&&!this.isTablet(Ne))&&U.indexOf(this.device)>-1}}return He.\u0275fac=function(Ne){return new(Ne||He)(t.LFG(t.Lbi))},He.\u0275prov=t.Yz7({token:He,factory:He.\u0275fac,providedIn:"root"}),He})()},7804:(s,a,l)=>{"use strict";l.d(a,{CT:()=>He});
1var t=l(4650),f=l(6895),_=l(8996),S=l(9646),D=l(6406),M=l(7579),k=l(1135),U=l(9770),te=l(9751),I=l(4004),z=l(8505),H=l(4782),ee=l(5363),ae=l(9300),V=l(3900),Y=l(3085);const N=["container"],O=new t.OlP("LottieOptions");let J=(()=>{class oe{constructor(be,tt){this.ngZone=be,this.options=tt,this.player$=function X(oe,he){const be=oe();return(be instanceof Promise?(0,_.D)(be).pipe((0,I.U)(st=>st.default||st)):(0,S.of)(be)).pipe((0,z.b)(st=>st.useWebWorker(he)),(0,H.d)({bufferSize:1,refCount:!0}))}(this.options.player,this.options.useWebWorker).pipe((0,ee.Q)(D.Z))}loadAnimation(be){return this.player$.pipe((0,I.U)(tt=>this.createAnimationItem(tt,be)))}resolveOptions(be,tt){return Object.assign({container:tt,renderer:"svg",loop:!0,autoplay:!0},be)}createAnimationItem(be,tt){return this.ngZone.runOutsideAngular(()=>be.loadAnimation(tt))}}return oe.\u0275fac=function(be){return new(be||oe)(t.LFG(t.R0b),t.LFG(O))},oe.\u0275prov=t.Yz7({token:oe,factory:oe.\u0275fac,providedIn:"root"}),oe})(),pe=(()=>{class oe{constructor(be,tt,st){this.ngZone=be,this.platformId=tt,this.animationLoader=st,this.options=null,this.containerClass=null,this.styles=null,this.animationCreated=this.getAnimationItem(),this.complete=this.awaitAnimationItemAndStartListening("complete"),this.loopComplete=this.awaitAnimationItemAndStartListening("loopComplete"),this.enterFrame=this.awaitAnimationItemAndStartListening("enterFrame"),this.segmentStart=this.awaitAnimationItemAndStartListening("segmentStart"),this.configReady=this.awaitAnimationItemAndStartListening("config_ready"),this.dataReady=this.awaitAnimationItemAndStartListening("data_ready"),this.domLoaded=this.awaitAnimationItemAndStartListening("DOMLoaded"),this.destroy=this.awaitAnimationItemAndStartListening("destroy"),this.error=this.awaitAnimationItemAndStartListening("error"),this.destroy$=new M.x,this.loadAnimation$=new M.x,this.animationItem$=new k.X(null),this.setupLoadAnimationListener()}ngOnDestroy(){this.destroy$.next(),this.destroyAnimation()}loadAnimation(be,tt){this.ngZone.runOutsideAngular(()=>this.loadAnimation$.next([be,tt]))}getAnimationItem(){return(0,U.P)(()=>
1this.animationItem$).pipe((0,ae.h)(be=>null!==be))}awaitAnimationItemAndStartListening(be){return this.getAnimationItem().pipe((0,V.w)(tt=>new te.y(st=>{this.ngZone.runOutsideAngular(()=>{tt.addEventListener(be,jt=>{this.ngZone.runOutsideAngular(()=>{st.next(jt)})})})})))}setupLoadAnimationListener(){this.loadAnimation$.pipe((0,ae.h)(([tt])=>(0,f.NF)(this.platformId)&&void 0!==tt.options)).pipe((0,V.w)(([tt,st])=>(this.destroyAnimation(),this.animationLoader.loadAnimation(this.animationLoader.resolveOptions(tt.options.currentValue,st)))),(0,Y.R)(this.destroy$)).subscribe(tt=>{this.ngZone.run(()=>this.animationItem$.next(tt))})}destroyAnimation(){const be=this.animationItem$.getValue();null!==be&&(be.destroy(),this.animationItem$.next(null))}}return oe.\u0275fac=function(be){return new(be||oe)(t.Y36(t.R0b),t.Y36(t.Lbi),t.Y36(J))},oe.\u0275dir=t.lG2({type:oe,selectors:[["","lottie",""]],inputs:{options:"options",containerClass:"containerClass",styles:"styles"},outputs:{animationCreated:"animationCreated",complete:"complete",loopComplete:"loopComplete",enterFrame:"enterFrame",segmentStart:"segmentStart",configReady:"configReady",dataReady:"dataReady",domLoaded:"domLoaded",destroy:"destroy",error:"error"}}),oe})(),Fe=(()=>{class oe extends pe{constructor(be,tt,st){super(be,tt,st),this.width=null,this.height=null,this.container=null}ngOnChanges(be){super.loadAnimation(be,this.container.nativeElement)}}return oe.\u0275fac=function(be){return new(be||oe)(t.Y36(t.R0b),t.Y36(t.Lbi),t.Y36(J))},oe.\u0275cmp=t.Xpm({type:oe,selectors:[["ng-lottie"]],viewQuery:function(be,tt){if(1&be&&t.Gf(N,7),2&be){let st;t.iGM(st=t.CRH())&&(tt.container=st.first)}},inputs:{width:"width",height:"height"},standalone:!0,features:[t.qOj,t.TTD,t.jDz],decls:2,vars:6,consts:[[3,"ngStyle","ngClass"],["container",""]],template:function(be,tt){1&be&&t._UZ(0,"div",0,1),2&be&&(t.Udp("width",tt.width||"100%")("height",tt.height||"100%"),t.Q6J("ngStyle",tt.styles)("ngClass",tt.containerClass))},dependencies:[f.ez,f.mk,f.PC],encapsulation:2,changeDetection:0}),oe})(),He=(()=>{class oe{static forRoot(be){return{ngModule:oe,providers:[{provide:O,useValue:be}]}}}return oe.\u0275fac=function(be){return new(be||oe)},oe.\u0275mod=t.oAB({type:oe}),oe.\u0275inj=t.cJS({imports:[Fe]}),oe})()},5861:(s,a,l)=>{"use strict";function t(_,S,D,M,k,U,te){try{var I=_[U](te),z=I.value}catch(H){return void D(H)}I.done?S(z):Promise.resolve(z).then(M,k)}function f(_){return function(){var S=this,D=arguments;return new Promise(function(M,k){var U=_.apply(S,D);function te(z){t(U,M,k,te,I,"next",z)}function I(z){t(U,M,k,te,I,"throw",z)}te(void 0)})}}l.d(a,{Z:()=>f})}}]);

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.