-
Notifications
You must be signed in to change notification settings - Fork 0
/
chunk-J4WGL7DW.js
1 lines (1 loc) · 52.4 KB
/
chunk-J4WGL7DW.js
1
import{a as qe,b as mi}from"./chunk-6N2YU26M.js";import{m as ci}from"./chunk-OYOJDGFY.js";import{a as Ye,b as Xe,c as Ke,d as Ze,e as tt}from"./chunk-MXT3O4VA.js";import{a as Me,b as ge,c as et}from"./chunk-YBC3GFJ3.js";import{$a as It,$d as Ot,$e as Zt,Aa as W,Ab as kt,Ae as q,Ba as c,Be as Y,Cb as ve,Ce as X,D as He,Da as S,De as K,E as pt,Ec as Je,Ee as Z,Fe as ee,G as wt,Ga as f,Ge as te,Ha as w,Hd as At,He as ie,Ia as v,Ie as ne,Ja as D,Je as ae,K as ye,Ka as m,Ke as oe,La as l,Lb as j,Le as Xt,Ma as d,Md as Lt,N as B,Na as C,Oa as h,P as _,Q as we,Qa as k,Qd as jt,Rb as ze,Rc as Ht,Sa as y,Sd as _t,Ta as s,V as Ae,Vc as ft,Vd as fe,Ve as re,W as M,Wa as Dt,We as le,X as E,Xd as N,Xe as me,Ya as St,Yd as zt,Ye as Kt,Zd as Vt,Ze as ce,_ as L,_d as _e,_e as We,a as Be,ab as Mt,af as ei,b as Tt,bb as Et,be as Ie,ce as Ce,cf as ti,da as A,dc as z,de as Jt,df as Ge,ef as ii,fb as u,gb as F,hb as H,he as Ue,ib as Le,ic as De,if as ni,j as $e,ja as ke,je as Ut,ka as vt,kb as V,l as yt,la as r,lb as O,lc as ut,lf as Qe,m as Te,ma as dt,mb as J,mc as xe,nc as Nt,ob as Ne,oe as Wt,pb as je,pc as Rt,pf as ai,qb as Ft,qf as oi,rc as Bt,re as Gt,rf as ri,sb as b,sc as $t,se as Qt,tb as T,tc as Ve,te as qt,ua as P,ud as ue,ue as G,uf as li,vc as Oe,ve as he,xa as p,xd as Se,xe as Q,ye as Yt,zb as Pt}from"./chunk-A6GZZ5JF.js";var si=(()=>{let t=class t{constructor(){this.UI_ICONS=z}};t.\u0275fac=function(a){return new(a||t)},t.\u0275cmp=_({type:t,selectors:[["app-journal"]],decls:15,vars:6,consts:[["routerLink","produce",3,"uiIcon"],["routerLink","caught",3,"uiIcon"],["routerLink","found",3,"uiIcon"],["routerLink","bestiary",3,"uiIcon"],["routerLink","notes",3,"uiIcon"],["routerLink","achievements",3,"uiIcon"],[1,"hidden"]],template:function(a,o){a&1&&(m(0,"app-sidebar-container")(1,"app-module-sidebar")(2,"app-module-sidebar-item",0),u(3,"Produce"),l(),m(4,"app-module-sidebar-item",1),u(5,"Caught"),l(),m(6,"app-module-sidebar-item",2),u(7,"Found"),l(),m(8,"app-module-sidebar-item",3),u(9,"Bestiary"),l(),m(10,"app-module-sidebar-item",4),u(11,"Notes"),l(),m(12,"app-module-sidebar-item",5),u(13,"Badges "),l()(),d(14,"router-outlet",6),l()),a&2&&(r(2),c("uiIcon",o.UI_ICONS.FARMING),r(2),c("uiIcon",o.UI_ICONS.CATCHING),r(2),c("uiIcon",o.UI_ICONS.ARTISAN),r(2),c("uiIcon",o.UI_ICONS.BESTIARY),r(2),c("uiIcon",o.UI_ICONS.NOTES),r(2),c("uiIcon",o.UI_ICONS.BADGES))},dependencies:[Lt,jt,Vt,zt,Qt],encapsulation:2});let e=t;return e})();var Ee=(()=>{let t=class t extends Ge{constructor(n){super(),this.uiIcon=z,this.tabs=[],this.media=B(Ht),this.changeDetectorRef=B(Pt),this.mobileQuery=this.media.matchMedia("(max-width: 600px)"),this._mobileQueryListener=()=>this.changeDetectorRef.detectChanges(),this.mobileQuery.addListener(this._mobileQueryListener),this.formControl=n}getFilteredJournalData(n,a,o){return Te([n,a,this.formControl.valueChanges.pipe(He(this.formControl.value)),$e(o)]).pipe(yt(([g,x,R,se])=>{let U=[];return g.sort((be,$)=>be.order>$.order?1:-1).forEach(be=>{let $=x.find(pe=>"dropData"in pe?pe.dropData[0].item?.id===be.key:"item"in pe?pe.item.id===be.key:pe.id===be.key);$&&(this.filterPredicate||U.push($),this.filterPredicate&&this.filterPredicate($,R,se)&&U.push($))}),U}))}ngOnDestroy(){this.mobileQuery.removeListener(this._mobileQueryListener)}};t.\u0275fac=function(a){return new(a||t)(dt(ue))},t.\u0275cmp=_({type:t,selectors:[["ng-component"]],viewQuery:function(a,o){if(a&1&&It(Q,5),a&2){let g;Mt(g=Et())&&(o.matTabGroup=g.first)}},features:[P],decls:0,vars:0,template:function(a,o){},encapsulation:2});let e=t;return e})();function Ni(e,t){if(e&1&&d(0,"app-fish",2),e&2){let i=s().$implicit;c("fish",i.fish)}}function Ri(e,t){if(e&1&&d(0,"app-insect",3),e&2){let i=s().$implicit;c("critter",i.insect)}}function Bi(e,t){if(e&1&&d(0,"app-insect",3),e&2){let i=s().$implicit;c("critter",i.oceanCritter)}}function $i(e,t){if(e&1&&p(0,Ni,1,1,"app-fish",2)(1,Ri,1,1,"app-insect",3)(2,Bi,1,1,"app-insect",3),e&2){let i=t.$implicit;f(i.fish?0:i.insect?1:i.oceanCritter?2:-1)}}var ui=(()=>{let t=class t{ngOnInit(){this._setCategory()}ngOnChanges(n){n.critter&&this._setCategory()}_setCategory(){this.toDoContext="fishName"in this.critter?"journal_fish":this.critter.item.inventoryCategory.toLocaleLowerCase()==="bug"?"journal_insects":"journal_critter"}};t.\u0275fac=function(a){return new(a||t)},t.\u0275cmp=_({type:t,selectors:[["app-caught-details"]],inputs:{critter:"critter"},features:[Ae],decls:2,vars:2,consts:[[3,"context","itemId"],["appDatabaseItemDetails",""],[3,"fish"],[3,"critter"]],template:function(a,o){a&1&&(m(0,"app-database-item-details",0),p(1,$i,3,1,"ng-template",1),l()),a&2&&c("context",o.toDoContext)("itemId",o.critter.item.id)},dependencies:[ge,Ye,Xe,Me],encapsulation:2});let e=t;return e})();function Li(e,t){if(e&1&&(m(0,"td",17),d(1,"app-item-icon",18),l()),e&2){let i=t.$implicit;r(),c("itemName",i.item.iconName)}}function ji(e,t){e&1&&(m(0,"th",19),u(1," Name"),l()),e&2&&W("colspan",2)}function zi(e,t){if(e&1&&(m(0,"td",20),u(1),l()),e&2){let i=t.$implicit;r(),F(i.item.displayName)}}function Vi(e,t){e&1&&(m(0,"th",19),u(1," Rarity"),l())}function Oi(e,t){if(e&1&&(m(0,"td",20),u(1),l()),e&2){let i=t.$implicit,n=s(2);r(),F(n.addSpacesToPascalCase(i.rarity))}}function Ji(e,t){e&1&&(m(0,"th",21),u(1," Location"),l())}function Ui(e,t){if(e&1&&(m(0,"td",20),u(1),b(2,"isFish"),l()),e&2){let i=t.$implicit;r(),H("",(T(2,1,i)?i.spawnSettings[0]:i).spawnLocation.join(", ")," ")}}function Wi(e,t){e&1&&(m(0,"th",19),u(1," Weather"),l())}function Gi(e,t){if(e&1&&(m(0,"td",20),u(1),b(2,"isFish"),l()),e&2){let i=t.$implicit,n=s(2);r(),H("",n.getTruthyValues((T(2,1,i)?i.spawnSettings[0]:i).spawnWeather)," ")}}function Qi(e,t){e&1&&(m(0,"th",21),u(1," Season"),l())}function qi(e,t){if(e&1&&(u(0),b(1,"isFish")),e&2){let i=s().$implicit,n=s(2);H(" ",n.getTruthyValues((T(1,1,i)?i.spawnSettings[0]:i).spawnSeason)," ")}}function Yi(e,t){if(e&1&&(m(0,"div",22),u(1),l()),e&2){let i=t.$implicit,n=t.$index,a=t.$count;r(),Le("",i,"",n!==a-1?", ":""," ")}}function Xi(e,t){if(e&1&&(v(0,Yi,2,2,"div",22,w),b(2,"isFish")),e&2){let i=s().$implicit,n=s(2);D(n.dateRangesToString((T(2,0,i)?i.spawnSettings[0]:i).dateRangeList))}}function Ki(e,t){if(e&1&&(m(0,"td",20),p(1,qi,2,3),b(2,"isFish"),p(3,Xi,3,2),b(4,"isFish"),l()),e&2){let i=t.$implicit;r(),f((T(2,2,i)?i.spawnSettings[0]:i).isUsingSpecificDate?-1:1),r(2),f((T(4,4,i)?i.spawnSettings[0]:i).isUsingSpecificDate?3:-1)}}function Zi(e,t){e&1&&(m(0,"th",19),u(1," Time"),l())}function en(e,t){if(e&1&&(m(0,"td",20),u(1),b(2,"isFish"),l()),e&2){let i=t.$implicit,n=s(2);r(),H("",n.getTruthyValues((T(2,1,i)?i.spawnSettings[0]:i).spawnTime)," ")}}function tn(e,t){e&1&&(m(0,"th",19),u(1," Size"),l())}function nn(e,t){if(e&1&&(m(0,"td",20),u(1),l()),e&2){let i=t.$implicit;r(),F(i.fishSize)}}function an(e,t){e&1&&(m(0,"th",19),u(1," Pattern"),l())}function on(e,t){if(e&1&&(m(0,"td",20),u(1),l()),e&2){let i=t.$implicit;r(),F(i.pattern)}}function rn(e,t){e&1&&(m(0,"th",19),u(1," Difficulty"),l())}function ln(e,t){if(e&1&&(m(0,"td",20),u(1),b(2,"addSpacesToPascalCase"),l()),e&2){let i=t.$implicit;r(),F(T(2,1,i.difficulty))}}function mn(e,t){e&1&&d(0,"tr",23)}function cn(e,t){e&1&&d(0,"tr",24)}function sn(e,t){if(e&1&&(m(0,"table",0),C(1,1),p(2,Li,2,1,"td",2),h(),C(3,3),p(4,ji,2,1,"th",4)(5,zi,2,1,"td",5),h(),C(6,6),p(7,Vi,2,0,"th",4)(8,Oi,2,1,"td",5),h(),C(9,7),p(10,Ji,2,0,"th",8)(11,Ui,3,3,"td",5),h(),C(12,9),p(13,Wi,2,0,"th",4)(14,Gi,3,3,"td",5),h(),C(15,10),p(16,Qi,2,0,"th",8)(17,Ki,5,6,"td",5),h(),C(18,11),p(19,Zi,2,0,"th",4)(20,en,3,3,"td",5),h(),C(21,12),p(22,tn,2,0,"th",4)(23,nn,2,1,"td",5),h(),C(24,13),p(25,an,2,0,"th",4)(26,on,2,1,"td",5),h(),C(27,14),p(28,rn,2,0,"th",4)(29,ln,3,3,"td",5),h(),p(30,mn,1,0,"tr",15)(31,cn,1,0,"tr",16),l()),e&2){let i=s();c("dataSource",i.matDataSource),r(30),c("matHeaderRowDef",i.displayHeaderColumns)("matHeaderRowDefSticky",!0),r(),c("matRowDefColumns",i.displayedColumns)}}var fi=(()=>{let t=class t extends ce{constructor(){super(...arguments),this.getTruthyValues=xe,this.addSpacesToPascalCase=Nt,this.BASE_DISPLAY_COLUMNS=["icon","key","rarity","weather","season","time","location"],this.sortingDataAccessor=(n,a)=>{switch(a){case"rarity":return Bt.get(n[a])??0;case"key":return n[a];case"time":{let o=this._isFish(n)?n.spawnSettings[0].spawnTime:n.spawnTime;return xe(o)==="Any"?1:o.morning?10:o.afternoon?20:o.evening?30:o.night?40:0}case"weather":{let o=this._isFish(n)?n.spawnSettings[0].spawnWeather:n.spawnWeather;return xe(o)==="Any"?1:o.sunny?10:o.rain?20:o.snow?30:o.blizzard?40:o.windy?50:o.storm?60:0}}if(this._isFish(n))switch(a){case"fishSize":return $t.get(n.fishSize)??0;case"pattern":case"difficulty":return n[a]}return 0}}static _isFishArray(n){return!!n?.[0]&&"fishName"in n[0]}dateRangesToString(n){return n.map(a=>`From ${a.startsFrom.season} ${a.startsFrom.day} to ${a.lastsTill.season} ${a.lastsTill.day}`)}setupDataSource(n){let a=n;t._isFishArray(n)&&(a=n.map(o=>o.spawnSettings.map(g=>Tt(Be({},o),{spawnSettings:[g]}))).flat()),super.setupDataSource(a),t._isFishArray(this.dataSource)&&(this.displayedColumns.splice(3,0,"fishSize"),this.displayHeaderColumns.splice(2,0,"fishSize"),this.displayedColumns.splice(4,0,"pattern"),this.displayHeaderColumns.splice(3,0,"pattern"),this.displayedColumns.splice(5,0,"difficulty"),this.displayHeaderColumns.splice(4,0,"difficulty"))}_isFish(n){return!!n&&"fishName"in n}};t.\u0275fac=(()=>{let n;return function(o){return(n||(n=L(t)))(o||t)}})(),t.\u0275cmp=_({type:t,selectors:[["app-caught-table"]],features:[P],decls:2,vars:1,consts:[["mat-table","","matSort","",3,"dataSource"],["matColumnDef","icon","sticky",""],["mat-cell","","class","!px-2 ",4,"matCellDef"],["matColumnDef","key"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","rarity"],["matColumnDef","location"],["mat-header-cell","",4,"matHeaderCellDef"],["matColumnDef","weather"],["matColumnDef","season"],["matColumnDef","time"],["matColumnDef","fishSize"],["matColumnDef","pattern"],["matColumnDef","difficulty"],["mat-header-row","",4,"matHeaderRowDef","matHeaderRowDefSticky"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-cell","",1,"!px-2"],[1,"mx-2",3,"itemName"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],["mat-header-cell",""],[1,"whitespace-nowrap"],["mat-header-row",""],["mat-row",""]],template:function(a,o){a&1&&(m(0,"app-responsive-table"),p(1,sn,32,4,"table",0),l()),a&2&&(r(),f(o.matDataSource?1:-1))},dependencies:[N,q,Y,K,ie,Z,X,ne,ee,te,ae,oe,le,me,ii,Ue],encapsulation:2});let e=t;return e})();function dn(e,t){if(e&1&&d(0,"app-caught-details",1),e&2){let i=s();c("critter",i.selectedEntity)}}function un(e,t){if(e&1){let i=k();m(0,"app-item-icon",8),y("click",function(){let a=M(i).$implicit,o=s(4);return E(o.showDetails(a))}),l()}if(e&2){let i=t.$implicit,n=s(4);S("selected-icon",(n.selectedEntity==null||n.selectedEntity.item==null?null:n.selectedEntity.item.id)===i.item.id),c("itemName",i.item.iconName)}}function fn(e,t){if(e&1&&(m(0,"div",5),v(1,un,1,3,"app-item-icon",7,w),l()),e&2){let i=s();r(),D(i)}}function _n(e,t){if(e&1&&d(0,"app-caught-table",6),e&2){let i=s();c("dataSource",i)}}function Cn(e,t){if(e&1){let i=k();m(0,"app-data-filter",4),J("showTableChange",function(a){M(i);let o=s(2);return O(o.showTable,a)||(o.showTable=a),E(a)}),l(),p(1,fn,3,0,"div",5)(2,_n,1,1,"app-caught-table",6)}if(e&2){let i=s(2);V("showTable",i.showTable),c("parentFormGroup",i.formControl)("locations",i.getLocations(t)),r(),f(i.showTable?-1:1),r(),f(i.showTable?2:-1)}}function hn(e,t){if(e&1&&(m(0,"mat-tab",3),p(1,Cn,3,5),b(2,"async"),l()),e&2){let i,n=t.$implicit;c("label",n.title),r(),f((i=T(2,2,n.data))?1:-1,i)}}var _i=(()=>{let t=class t extends Ee{constructor(){super(new ue({season:new Se([...De],{nonNullable:!0}),weather:new Se([...ut],{nonNullable:!0}),location:new Se(null)})),this.SEA_CRITTERS_INDEX=2,this.tabs=[{title:"Fish",data:this.getFilteredJournalData(this._database.fetchJournalOrder$("journal-fish"),this._database.fetchFish$(),0)},{title:"Insects",data:this.getFilteredJournalData(this._database.fetchJournalOrder$("journal-insects"),this._database.fetchBugsAndInsects$(),1)},{title:"Sea Critters",data:this.getFilteredJournalData(this._database.fetchJournalOrder$("journal-sea-critters"),this._database.fetchOceanCritters$(),this.SEA_CRITTERS_INDEX)}],this.activateTabFromRoute(this.tabs.map(n=>n.title))}filterPredicate(n,a,o){if(!a.season?.length||!a.weather?.length)return!1;let g="spawnSettings"in n?n.spawnSettings?.map($=>$.spawnSeason):[n.spawnSeason],x="spawnSettings"in n?n.spawnSettings?.map($=>$.spawnWeather):[n.spawnWeather],R="spawnSettings"in n?n.spawnSettings?.map($=>$.spawnLocation).flat():n.spawnLocation;return!(!a.location||R.includes(a.location))||!g.reduce(($,pe)=>{let Pe=xe(pe).toLowerCase(),ct=Pe==="any"||a.season?.length===De.length||!!a.season?.some(st=>Pe.includes((""+st).toLowerCase()));return $||ct},!1)?!1:x.reduce(($,pe)=>{let Pe=xe(pe).toLowerCase(),ct=o===this.SEA_CRITTERS_INDEX||Pe==="any"||a.weather?.length===ut.length||!!a.weather?.some(st=>Pe.includes((""+st).toLowerCase()));return $||ct},!1)}getLocations(n){return n.length?[...new Set(n.map(a=>"fishName"in a?a.spawnSettings.map(o=>o.spawnLocation):a.spawnLocation).flat(2))].sort():[]}resetLocationFilter(){this.formControl.get("location")?.setValue(null)}};t.\u0275fac=function(a){return new(a||t)},t.\u0275cmp=_({type:t,selectors:[["app-caught"]],features:[P],decls:5,vars:3,consts:[[3,"removePlaceholder"],["listDetail","",3,"critter"],[3,"selectedTabChange","selectedIndex"],[3,"label"],[3,"showTableChange","showTable","parentFormGroup","locations"],[1,"icon-grid"],[3,"dataSource"],[1,"icon-grid-item",3,"itemName","selected-icon"],[1,"icon-grid-item",3,"click","itemName"]],template:function(a,o){a&1&&(m(0,"app-list-detail-container",0),p(1,dn,1,1,"app-caught-details",1),m(2,"mat-tab-group",2),y("selectedTabChange",function(x){return o.updateUrl(x),o.resetLocationFilter()}),v(3,hn,3,4,"mat-tab",3,w),l()()),a&2&&(c("removePlaceholder",o.showTable),r(),f(o.selectedEntity?1:-1),r(),c("selectedIndex",o.selectedTabIndex()),r(),D(o.tabs))},dependencies:[N,G,re,he,Q,ui,fi,j],encapsulation:2});let e=t;return e})();function gn(e,t){if(e&1&&(m(0,"div"),u(1,"Enchantment points: "),m(2,"span",2),u(3),l()()),e&2){let i=s();S("mb-3",i.details().chanceAsProcessResult),r(3),F(i.details().enchantmentPoints)}}function xn(e,t){if(e&1&&d(0,"app-shop-processing-result",1),e&2){let i=s();c("itemProcessData",i.details().chanceAsProcessResult)}}var lt=(()=>{let t=class t{constructor(){this.details=A.required()}};t.\u0275fac=function(a){return new(a||t)},t.\u0275cmp=_({type:t,selectors:[["app-db-item-found"]],inputs:{details:[1,"details"]},standalone:!0,features:[Ne],decls:2,vars:2,consts:[[3,"mb-3"],[1,"mb-4",3,"itemProcessData"],[1,"text-black"]],template:function(a,o){a&1&&p(0,gn,4,3,"div",0)(1,xn,1,1,"app-shop-processing-result",1),a&2&&(f(o.details().enchantmentPoints?0:-1),r(),f(o.details().chanceAsProcessResult?1:-1))},dependencies:[Ke],encapsulation:2});let e=t;return e})();function yn(e,t){if(e&1&&d(0,"app-db-item-found",4),e&2){let i=t.$implicit;c("details",i)}}function wn(e,t){if(e&1&&(m(0,"app-database-item-details",0),p(1,yn,1,1,"ng-template",3),l()),e&2){let i=s();c("itemId",i.selectedEntity.id)("context",i.toDoContext())}}function vn(e,t){if(e&1){let i=k();m(0,"app-item-icon",9),y("click",function(){let a=M(i).$implicit,o=s(4);return E(o.showDetails(a))}),l()}if(e&2){let i=t.$implicit,n=s(4);S("selected-icon",(n.selectedEntity==null?null:n.selectedEntity.id)===i.id),c("itemName",i.iconName)}}function Dn(e,t){if(e&1&&(m(0,"div",6),v(1,vn,1,3,"app-item-icon",8,w),l()),e&2){let i=s();r(),D(i)}}function Sn(e,t){if(e&1&&d(0,"app-non-specialized-table",7),e&2){let i=s();c("dataSource",i)}}function In(e,t){if(e&1&&p(0,Dn,3,0,"div",6)(1,Sn,1,1,"app-non-specialized-table",7),e&2){let i=s(2);f(i.showTable?-1:0),r(),f(i.showTable?1:-1)}}function Mn(e,t){if(e&1){let i=k();m(0,"mat-tab",2)(1,"app-data-filter",5),J("showTableChange",function(a){M(i);let o=s();return O(o.showTable,a)||(o.showTable=a),E(a)}),l(),p(2,In,2,2),b(3,"async"),l()}if(e&2){let i,n=t.$implicit,a=s();c("label",n.title),r(),V("showTable",a.showTable),c("parentFormGroup",a.formControl),r(),f((i=T(3,4,n.data))?2:-1,i)}}var Ci=(()=>{let t=class t extends Ee{constructor(){super(new ue({})),this.contextsPerTab=["journal_artifacts","journal_gems","journal_fossils","journal_scavangables"],this.toDoContext=ve(()=>{let n=this.selectedTabIndex();return this.contextsPerTab[n]}),this.tabs=[{title:"Artifacts",data:this.getFilteredJournalData(this._database.fetchJournalOrder$("journal-artifacts"),this._database.fetchItems$(),0)},{title:"Gems",data:this.getFilteredJournalData(this._database.fetchJournalOrder$("journal-gems"),this._database.fetchItems$(),1)},{title:"Fossils",data:this.getFilteredJournalData(this._database.fetchJournalOrder$("journal-fossils"),this._database.fetchItems$(),2)},{title:"Scavangables",data:this.getFilteredJournalData(this._database.fetchJournalOrder$("journal-scavangable"),this._database.fetchItems$(),3)}],this.activateTabFromRoute(this.tabs.map(n=>n.title))}ngAfterViewInit(){this.matTabGroup?.selectedIndexChange.pipe(ei(this.destroyRef),He(this.matTabGroup?.selectedIndex??0)).subscribe({next:n=>{this.selectedTabIndex.set(n)}})}};t.\u0275fac=function(a){return new(a||t)},t.\u0275cmp=_({type:t,selectors:[["app-found"]],features:[P],decls:5,vars:2,consts:[["listDetail","",3,"itemId","context"],[3,"selectedTabChange","selectedIndex"],[3,"label"],["appDatabaseItemDetails",""],[3,"details"],[3,"showTableChange","showTable","parentFormGroup"],[1,"icon-grid"],[3,"dataSource"],[1,"icon-grid-item",3,"selected-icon","itemName"],[1,"icon-grid-item",3,"click","itemName"]],template:function(a,o){a&1&&(m(0,"app-list-detail-container"),p(1,wn,2,2,"app-database-item-details",0),m(2,"mat-tab-group",1),y("selectedTabChange",function(x){return o.updateUrl(x)}),v(3,Mn,4,6,"mat-tab",2,w),l()()),a&2&&(r(),f(o.selectedEntity?1:-1),r(),c("selectedIndex",o.selectedTabIndex()),r(),D(o.tabs))},dependencies:[N,G,re,We,he,Q,ge,Me,lt,j],encapsulation:2});let e=t;return e})();function En(e,t){if(e&1&&d(0,"app-crop",2),e&2){let i=t.$implicit;c("item",i)}}function Fn(e,t){if(e&1&&d(0,"app-animal-produce",3),e&2){let i=s().$implicit;c("animal",i.producedByAnimal)("shownItemId",i.item.id)}}function Pn(e,t){if(e&1&&d(0,"app-processing",5),e&2){let i=t.$implicit,n=t.$index;S("mt-3",n!==0),c("itemProcessing",i)}}function kn(e,t){if(e&1&&(v(0,En,1,1,"app-crop",2,w),p(2,Fn,1,2,"app-animal-produce",3),v(3,Pn,1,3,"app-processing",4,w)),e&2){let i=t.$implicit;D(i.isSeedFor),r(2),f(i.producedByAnimal?2:-1),r(),D(i.artisanResult)}}var hi=(()=>{let t=class t{constructor(){this.toDoContext=A.required()}};t.\u0275fac=function(a){return new(a||t)},t.\u0275cmp=_({type:t,selectors:[["app-produce-details"]],inputs:{item:"item",toDoContext:[1,"toDoContext"]},decls:3,vars:4,consts:[[3,"context","itemId"],["appDatabaseItemDetails",""],[1,"mb-4",3,"item"],[3,"animal","shownItemId"],[3,"mt-3","itemProcessing"],[3,"itemProcessing"]],template:function(a,o){a&1&&(m(0,"app-database-item-details",0),b(1,"isBaseCrop"),p(2,kn,5,1,"ng-template",1),l()),a&2&&c("context",o.toDoContext())("itemId",(T(1,2,o.item)?o.item.dropData[0].item:o.item).id)},dependencies:[ge,Me,Ze,et,tt,Zt],encapsulation:2});let e=t;return e})();var Rn=e=>[1,e];function Bn(e,t){if(e&1&&(m(0,"td",19),d(1,"app-item-icon",20),l()),e&2){let i=t.$implicit;r(),c("itemName",i.dropData[0]==null||i.dropData[0].item==null?null:i.dropData[0].item.iconName)}}function $n(e,t){e&1&&(m(0,"th",21),u(1," Output "),l()),e&2&&W("colspan",2)}function Hn(e,t){if(e&1&&(m(0,"td",22),u(1),l()),e&2){let i=t.$implicit;r(),H("",i.dropData[0]==null?null:i.dropData[0].item.displayName," ")}}function An(e,t){e&1&&(m(0,"th",23),u(1," Size"),l())}function Ln(e,t){if(e&1&&(m(0,"td",22),u(1),l()),e&2){let i=t.$implicit;r(),Le(" ",i.size.width,"x",i.size.length," ")}}function jn(e,t){e&1&&(m(0,"th",23),u(1," Seasons"),l())}function zn(e,t){if(e&1&&(m(0,"td",22),u(1),l()),e&2){let i=t.$implicit;r(),H(" ",i.growableSeason.join(", ")," ")}}function Vn(e,t){e&1&&(m(0,"th",23),u(1," Regrow"),l())}function On(e,t){if(e&1&&(u(0),b(1,"max")),e&2){let i=s().$implicit;H(" ",T(1,1,Ft(3,Rn,i.regrowableLength))," days ")}}function Jn(e,t){if(e&1&&(m(0,"td",24),p(1,On,2,5),l()),e&2){let i=t.$implicit;r(),f(i.isRegrowable?1:-1)}}function Un(e,t){e&1&&(m(0,"th",23),u(1," Grow time"),l())}function Wn(e,t){if(e&1&&(m(0,"td",24),u(1),l()),e&2){let i=t.$implicit;r(),H(" ",i.growTime," days ")}}function Gn(e,t){e&1&&(m(0,"th",25),u(1," Seed"),l())}function Qn(e,t){if(e&1&&(m(0,"td",22)(1,"div",26),d(2,"app-item-icon",27),u(3),l()()),e&2){let i=t.$implicit;r(2),c("itemName",i.item==null?null:i.item.iconName),r(),H(" ",i.readableName," ")}}function qn(e,t){e&1&&(m(0,"th",25),u(1," Seed buy price"),l())}function Yn(e,t){if(e&1&&(m(0,"td",28),d(1,"app-money",29),l()),e&2){let i=t.$implicit;r(),c("amount",i.item.price)}}function Xn(e,t){e&1&&(m(0,"th",25),u(1," Sell price"),l())}function Kn(e,t){if(e&1&&(m(0,"td",28),d(1,"app-money",29),l()),e&2){let i=t.$implicit;r(),c("amount",i.dropData[0]==null||i.dropData[0].item==null?null:i.dropData[0].item.sellPrice)}}function Zn(e,t){e&1&&d(0,"tr",30)}function ea(e,t){e&1&&d(0,"tr",31)}function ta(e,t){if(e&1&&(m(0,"table",0),C(1,1),p(2,Bn,2,1,"td",2),h(),C(3,3),p(4,$n,2,1,"th",4)(5,Hn,2,1,"td",5),h(),C(6,6),p(7,An,2,0,"th",7)(8,Ln,2,2,"td",5),h(),C(9,8),p(10,jn,2,0,"th",7)(11,zn,2,1,"td",5),h(),C(12,9),p(13,Vn,2,0,"th",7)(14,Jn,2,1,"td",10),h(),C(15,11),p(16,Un,2,0,"th",7)(17,Wn,2,1,"td",10),h(),C(18,12),p(19,Gn,2,0,"th",13)(20,Qn,4,2,"td",5),h(),C(21,14),p(22,qn,2,0,"th",13)(23,Yn,2,1,"td",15),h(),C(24,16),p(25,Xn,2,0,"th",13)(26,Kn,2,1,"td",15),h(),p(27,Zn,1,0,"tr",17)(28,ea,1,0,"tr",18),l()),e&2){let i=s();c("dataSource",i.matDataSource),r(27),c("matHeaderRowDef",i.displayHeaderColumns)("matHeaderRowDefSticky",!0),r(),c("matRowDefColumns",i.displayedColumns)}}var gi=(()=>{let t=class t extends ce{constructor(){super(...arguments),this.BASE_DISPLAY_COLUMNS=["icon","displayName","growTime","regrow","season","size","seed","seedPrice","sellPrice"],this.sortingDataAccessor=(n,a)=>{let o=this.sortHelper(n.dropData[0].item,a);if(o!==null)return o;switch(a){case"key":return n[a];case"seed":return n.item.displayName;case"regrow":return n.isRegrowable?n.regrowableLength:-1;case"growTime":return n.growTime;case"seedPrice":return n.item.price;case"season":return this.sortHelper(n.growableSeason)??5;case"size":return n.size.length*n.size.width}return 0}}};t.\u0275fac=(()=>{let n;return function(o){return(n||(n=L(t)))(o||t)}})(),t.\u0275cmp=_({type:t,selectors:[["app-crop-table"]],features:[P],decls:2,vars:1,consts:[["mat-table","","matSort","",3,"dataSource"],["matColumnDef","icon","sticky",""],["class","!pl-2 !pr-0 w-10 text-center icon-col ","mat-cell","",4,"matCellDef"],["matColumnDef","displayName"],["class","backdrop-blur-xl","mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["class","text-col whitespace-nowrap","mat-cell","",4,"matCellDef"],["matColumnDef","size"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["matColumnDef","season"],["matColumnDef","regrow"],["class","text-col text-right whitespace-nowrap","mat-cell","",4,"matCellDef"],["matColumnDef","growTime"],["matColumnDef","seed"],["class","whitespace-nowrap","mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["matColumnDef","seedPrice"],["class","text-col !text-right w-[1%]","mat-cell","",4,"matCellDef"],["matColumnDef","sellPrice"],["mat-header-row","",4,"matHeaderRowDef","matHeaderRowDefSticky"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-cell","",1,"!pl-2","!pr-0","w-10","text-center","icon-col"],[3,"itemName"],["mat-header-cell","","mat-sort-header","",1,"backdrop-blur-xl"],["mat-cell","",1,"text-col","whitespace-nowrap"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"text-col","text-right","whitespace-nowrap"],["mat-header-cell","","mat-sort-header","",1,"whitespace-nowrap"],[1,"flex","gap-x-3","items-center"],[1,"!w-7",3,"itemName"],["mat-cell","",1,"text-col","!text-right","w-[1%]"],[3,"amount"],["mat-header-row",""],["mat-row",""]],template:function(a,o){a&1&&(m(0,"app-responsive-table"),p(1,ta,29,4,"table",0),l()),a&2&&(r(),f(o.matDataSource?1:-1))},dependencies:[N,Ot,q,Y,K,ie,Z,X,ne,ee,te,ae,oe,le,me,Ut],encapsulation:2});let e=t;return e})();function na(e,t){if(e&1&&d(0,"app-produce-details",0),e&2){let i=s();c("item",i.selectedEntity)("toDoContext",i.toDoContext())}}function aa(e,t){if(e&1){let i=k();m(0,"app-item-icon",6),b(1,"isMinimalItem"),b(2,"isMinimalItem"),b(3,"isMinimalItem"),y("click",function(){let a=M(i).$implicit,o=s(4);return E(o.showDetails(a))}),l()}if(e&2){let i=t.$implicit,n=s(4);S("selected-icon",(T(1,3,n.selectedEntity)?n.selectedEntity.id:n.selectedEntity==null||n.selectedEntity.dropData==null||n.selectedEntity.dropData[0]==null||n.selectedEntity.dropData[0].item==null?null:n.selectedEntity.dropData[0].item.id)===(T(2,5,i)?i.id:i.dropData[0].item.id)),c("itemName",T(3,7,i)?i.iconName:i.dropData[0].item.iconName)}}function oa(e,t){if(e&1&&(m(0,"div",4),v(1,aa,4,9,"app-item-icon",5,w),l()),e&2){let i=s();r(),D(i)}}function ra(e,t){if(e&1&&d(0,"app-non-specialized-table",7),e&2){let i=s(2),n=s(2);c("dataSource",n.castToItemArray(i))}}function la(e,t){if(e&1&&d(0,"app-crop-table",7),e&2){let i=s(2),n=s(2);c("dataSource",n.castToBaseCropArray(i))}}function ma(e,t){if(e&1&&p(0,ra,1,1,"app-non-specialized-table",7)(1,la,1,1,"app-crop-table",7),e&2){let i=s(2).$implicit,n=s();f(i.title!==n.tabs[0].title?0:-1),r(),f(i.title===n.tabs[0].title?1:-1)}}function ca(e,t){if(e&1&&p(0,oa,3,0,"div",4)(1,ma,2,2),e&2){let i=s(2);f(i.showTable?-1:0),r(),f(i.showTable?1:-1)}}function sa(e,t){if(e&1){let i=k();m(0,"mat-tab",2)(1,"app-data-filter",3),J("showTableChange",function(a){M(i);let o=s();return O(o.showTable,a)||(o.showTable=a),E(a)}),l(),p(2,ca,2,2),b(3,"async"),l()}if(e&2){let i,n=t.$implicit,a=s();c("label",n.title),r(),V("showTable",a.showTable),c("parentFormGroup",a.formControl),r(),f((i=T(3,4,n.data))?2:-1,i)}}var xi=(()=>{let t=class t extends Ee{constructor(){super(new ue({season:new Se([...De],{nonNullable:!0})})),this.isBeta=B(Ve).getSettings().useBeta,this.toDoContext=ve(()=>{let n=this.selectedTabIndex();return n===0?"journal_crops":n===1?"journal_animal_produce":n===2?"artisan":n===3?"journal_ocean_produce":void 0}),this.tabs=[{title:"Crops",data:Te([this._database.fetchCrops$(),this._database.fetchFruitTrees$(),this._database.fetchFruitPlants$()]).pipe(pt(([n,a,o])=>this.getFilteredJournalData(this._database.fetchJournalOrder$("journal-crops"),this._database.fetchItems$().pipe(pt(g=>$e(g.map(x=>n.find(R=>R.pickupableItemId===x.id)??o.find(R=>R.dropData.some(se=>se.itemId===x.id))??a.find(R=>R.dropData.some(se=>se.itemId===x.id))).filter(Rt)))),0)))},{title:"Animal Products",data:this.getFilteredJournalData(this._database.fetchJournalOrder$("journal-animal-products"),this._database.fetchItems$(),1)},{title:"Artisan Products",data:this.getFilteredJournalData(this._database.fetchJournalOrder$("journal-artisan-products"),this._database.fetchItems$(),2)},{title:"Ocean",data:this.getFilteredJournalData(this._database.fetchJournalOrder$("journal-ocean-products"),this._database.fetchItems$(),3)}],this.activateTabFromRoute(this.tabs.map(n=>n.title))}filterPredicate(n,a){if(!("growableSeason"in n))return!0;if(!a.season?.length)return!1;let o=n.growableSeason.join(" ").toLowerCase();return a.season?.length===De.length||!!a.season?.some(x=>o.includes((""+x).toLowerCase()))}castToItemArray(n){return n}castToBaseCropArray(n){return n}};t.\u0275fac=function(a){return new(a||t)},t.\u0275cmp=_({type:t,selectors:[["app-produce"]],features:[P],decls:5,vars:2,consts:[["listDetail","",3,"item","toDoContext"],[3,"selectedTabChange","selectedIndex"],[3,"label"],[3,"showTableChange","showTable","parentFormGroup"],[1,"icon-grid"],[1,"icon-grid-item",3,"selected-icon","itemName"],[1,"icon-grid-item",3,"click","itemName"],[3,"dataSource"]],template:function(a,o){a&1&&(m(0,"app-list-detail-container"),p(1,na,1,2,"app-produce-details",0),m(2,"mat-tab-group",1),y("selectedTabChange",function(x){return o.updateUrl(x)}),v(3,sa,4,6,"mat-tab",2,w),l()()),a&2&&(r(),f(o.selectedEntity?1:-1),r(),c("selectedIndex",o.selectedTabIndex()),r(),D(o.tabs))},dependencies:[N,G,re,We,he,Q,hi,gi,j,ni],encapsulation:2});let e=t;return e})();function pa(e,t){if(e&1&&(m(0,"div",1),d(1,"app-item-icon",2),m(2,"div",3)(3,"div",4),u(4),l(),m(5,"div"),u(6),l()()()),e&2){let i=t.$implicit;r(),c("itemName",i.iconName),r(3),F(i.title),r(2),F(i.description)}}function da(e,t){e&1&&(m(0,"div",0),v(1,pa,7,3,"div",1,w),l()),e&2&&(r(),D(t))}var bi=(()=>{let t=class t{constructor(){this._database=B(Oe).fetchAchievements$()}};t.\u0275fac=function(a){return new(a||t)},t.\u0275cmp=_({type:t,selectors:[["app-achievements"]],decls:2,vars:3,consts:[[1,"grid","gap-4","sm:grid-cols-2","2xl:grid-cols-3","px-main-hz","py-main-vt"],[1,"flex","bg-white/30","rounded-[15px]","gap-x-4","p-2"],[1,"!w-14",3,"itemName"],[1,"flex","flex-col","text-black"],[1,"font-semibold","text-2xl"]],template:function(a,o){if(a&1&&(p(0,da,3,0,"div",0),b(1,"async")),a&2){let g;f((g=T(1,1,o._database))?0:-1,g)}},dependencies:[N,j],encapsulation:2});let e=t;return e})();var mt=(()=>{let t=class t{constructor(){this.imageName=A.required(),this.hasThumb=A(!1,{transform:kt}),this.shownImage=ve(()=>{let n=this.imageName();if(!n||!this.hasThumb())return n;let a=n.split("/");return a.splice(a.length-1,0,"thumbs"),a.join("/")}),this.version=B(Ve).getSettings().useBeta?"beta":"live",this._setClass=!0}};t.\u0275fac=function(a){return new(a||t)},t.\u0275cmp=_({type:t,selectors:[["app-full-size-image"]],hostVars:2,hostBindings:function(a,o){a&2&&S("full-size-image",o._setClass)},inputs:{imageName:[1,"imageName"],hasThumb:[1,"hasThumb"]},standalone:!0,features:[Ne],decls:1,vars:3,consts:[["alt","","loading","lazy","onerror","this.onerror=null;this.src='assets/ui/images/placeholder.png'",1,"w-full","h-auto",3,"src"]],template:function(a,o){a&1&&d(0,"img",0),a&2&&St("src","assets/",o.version,"/",o.shownImage(),".webp",vt)},encapsulation:2});let e=t;return e})();function ua(e,t){if(e&1&&d(0,"div",1),e&2){let i=s();c("innerHTML",i.mail.title,ke)}}function fa(e,t){if(e&1&&d(0,"span",4),e&2){let i=s();c("innerHTML",i.mail.greetCloseMessage,ke)}}function _a(e,t){if(e&1&&d(0,"span",5),e&2){let i=s();c("innerHTML",i.mail.sender,ke)}}var Fe=(()=>{let t=class t{ngOnChanges(n){n.mail&&(this.mail=this._parseTexts(n.mail.currentValue))}_parseTexts(n){let a=Be({},n);return["title","sender","content","greetCloseMessage"].forEach(g=>{let x=a[g];if(x){x=x.replaceAll(/<PlayerName>\$player<\/>/gmi,'<span class="text-[#69ac52]">Player</span>');let R=g==="content"?'<span class="text-accent">$1</span>':"$1";x=x.replaceAll(/<NPCName>(.*?)<\/>/gmi,R),x=x.replaceAll(/<items>(.*?)<\/>/gmi,R),x=x.replaceAll(/<RickText.Place>(.*?)<\/>/gmi,R),x=x.replaceAll(/<Places>(.*?)<\/>/gmi,R),a[g]=x}}),a}};t.\u0275fac=function(a){return new(a||t)},t.\u0275cmp=_({type:t,selectors:[["app-mail"]],inputs:{mail:"mail"},features:[Ae],decls:6,vars:4,consts:[[1,"font-semibold","font-coral"],[1,"text-2xl","mb-4","text-black",3,"innerHTML"],[1,"mb-4","whitespace-break-spaces",3,"innerHTML"],[1,"mt-4","flex","flex-col","items-end"],[1,"text-accent",3,"innerHTML"],[1,"text-black",3,"innerHTML"]],template:function(a,o){a&1&&(m(0,"div",0),p(1,ua,1,1,"div",1),d(2,"div",2),m(3,"div",3),p(4,fa,1,1,"span",4)(5,_a,1,1,"span",5),l()()),a&2&&(r(),f(o.mail.title?1:-1),r(),c("innerHTML",o.mail.content,ke),r(2),f(o.mail.greetCloseMessage?4:-1),r(),f(o.mail.sender?5:-1))},styles:["[_nghost-%COMP%]{display:block}"]});let e=t;return e})();function ha(e,t){if(e&1&&d(0,"app-effect",6),e&2){let i=t.$implicit;c("effect",i)}}function ga(e,t){if(e&1&&(m(0,"div",4)(1,"div",5),u(2,"Effects:"),l(),v(3,ha,1,1,"app-effect",6,w),l()),e&2){let i=s();r(3),D(i.mail().effects)}}var yi=(()=>{let t=class t{constructor(){this.mail=A.required(),this.listDetails=B(Ie),this.uiIcon=z}};t.\u0275fac=function(a){return new(a||t)},t.\u0275cmp=_({type:t,selectors:[["app-mail-details"]],inputs:{mail:[1,"mail"]},decls:6,vars:3,consts:[["cardActions","",1,"card-actions"],["matTooltip","Close",3,"click"],[1,"!w-8","!h-8","hover:text-black","focus-visible:text-black",3,"uiIcon"],[3,"mail"],[1,"mt-6"],[1,"text-lg","font-semibold"],[3,"effect"]],template:function(a,o){if(a&1&&(m(0,"app-card")(1,"div",0)(2,"button",1),y("click",function(){return o.listDetails.close()}),d(3,"app-ui-icon",2),l()(),d(4,"app-mail",3),p(5,ga,5,0,"div",4),l()),a&2){let g;r(3),c("uiIcon",o.uiIcon.CROSS),r(),c("mail",o.mail()),r(),f((g=o.mail().effects)!=null&&g.length?5:-1)}},dependencies:[_e,Qe,Ce,fe,Fe],encapsulation:2});let e=t;return e})();var Ta=()=>["expandedDetail"];function ya(e,t){e&1&&(m(0,"th",16),u(1," Title"),l())}function wa(e,t){if(e&1&&(m(0,"td",17),u(1),b(2,"removeTags"),l()),e&2){let i=t.$implicit;r(),F(T(2,1,i.title))}}function va(e,t){e&1&&(m(0,"th",16),u(1," Sender"),l())}function Da(e,t){if(e&1&&(m(0,"td",17),u(1),b(2,"removeTags"),l()),e&2){let i=t.$implicit;r(),F(T(2,1,i.sender))}}function Sa(e,t){e&1&&(m(0,"th",16),u(1,"Type"),l())}function Ia(e,t){if(e&1&&(m(0,"td",18),u(1),b(2,"addSpacesToPascalCase"),l()),e&2){let i=t.$implicit;r(),H("",T(2,1,i.mailType)," ")}}function Ma(e,t){e&1&&(m(0,"th",19),u(1,"Effects"),l())}function Ea(e,t){if(e&1&&d(0,"app-effect",22),e&2){let i=t.$implicit;c("effect",i)}}function Fa(e,t){if(e&1&&(m(0,"div",21),v(1,Ea,1,1,"app-effect",22,w),l()),e&2){let i=s().$implicit;r(),D(i.effects)}}function Pa(e,t){if(e&1&&(m(0,"td",20),p(1,Fa,3,0,"div",21),l()),e&2){let i=t.$implicit;r(),f(i.effects!=null&&i.effects.length?1:-1)}}function ka(e,t){e&1&&d(0,"th",19)}function Na(e,t){if(e&1){let i=k();m(0,"td",23)(1,"button",24),y("click",function(){let a=M(i).$implicit,o=s(2);return E(o.expandedRows.toggle(a.key))}),d(2,"i",25),l()()}if(e&2){let i=t.$implicit,n=s(2);r(2),S("down",!n.expandedRows.isSelected(i.key))("up",n.expandedRows.isSelected(i.key))}}function Ra(e,t){if(e&1&&(m(0,"td",20)(1,"div",26)(2,"div",27),d(3,"app-mail",28),l()()()),e&2){let i=t.$implicit,n=s(2);W("colspan",n.displayedColumns.length),r(),S("grid-rows-0fr",!n.expandedRows.isSelected(i.key))("grid-rows-1fr",n.expandedRows.isSelected(i.key)),r(2),c("mail",i)}}function Ba(e,t){e&1&&d(0,"tr",29)}function $a(e,t){e&1&&d(0,"tr",30)}function Ha(e,t){e&1&&d(0,"tr",31)}function Aa(e,t){if(e&1&&(m(0,"table",0),C(1,1),p(2,ya,2,0,"th",2)(3,wa,3,3,"td",3),h(),C(4,4),p(5,va,2,0,"th",2)(6,Da,3,3,"td",3),h(),C(7,5),p(8,Sa,2,0,"th",2)(9,Ia,3,3,"td",6),h(),C(10,7),p(11,Ma,2,0,"th",8)(12,Pa,2,1,"td",9),h(),C(13,10),p(14,ka,1,0,"th",8)(15,Na,3,4,"td",11),h(),C(16,12),p(17,Ra,4,6,"td",9),h(),p(18,Ba,1,0,"tr",13)(19,$a,1,0,"tr",14)(20,Ha,1,0,"tr",15),l()),e&2){let i=s();c("dataSource",i.matDataSource),r(18),c("matHeaderRowDef",i.displayHeaderColumns)("matHeaderRowDefSticky",!0),r(),c("matRowDefColumns",i.displayedColumns),r(),c("matRowDefColumns",je(5,Ta))}}var wi=(()=>{let t=class t extends ce{constructor(){super(...arguments),this.expandedRows=new Je(!0,[]),this.BASE_DISPLAY_COLUMNS=["title","sender","mailType","effects","expand"]}};t.\u0275fac=(()=>{let n;return function(o){return(n||(n=L(t)))(o||t)}})(),t.\u0275cmp=_({type:t,selectors:[["app-mail-table"]],features:[P],decls:2,vars:1,consts:[["mat-table","","matSort","","multiTemplateDataRows","",1,"can-expand",3,"dataSource"],["matColumnDef","title"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["class","text-col","mat-cell","",4,"matCellDef"],["matColumnDef","sender"],["matColumnDef","mailType"],["class","w-fit text-col","mat-cell","",4,"matCellDef"],["matColumnDef","effects"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","expand"],["class","w-fit align-top !pt-2","mat-cell","",4,"matCellDef"],["matColumnDef","expandedDetail"],["mat-header-row","",4,"matHeaderRowDef","matHeaderRowDefSticky"],["mat-row","",4,"matRowDef","matRowDefColumns"],["class","expand-row","mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"text-col"],["mat-cell","",1,"w-fit","text-col"],["mat-header-cell",""],["mat-cell",""],[1,"flex","flex-col","py-3","gap-1"],[1,"whitespace-nowrap",3,"effect"],["mat-cell","",1,"w-fit","align-top","!pt-2"],["mat-button","",3,"click"],[1,"arrow"],[1,"expandable-body","grid","transition-all","duration-200","ease-in-out"],[1,"overflow-hidden"],[1,"py-4","max-w-prose",3,"mail"],["mat-header-row",""],["mat-row",""],["mat-row","",1,"expand-row"]],template:function(a,o){a&1&&(m(0,"app-responsive-table"),p(1,Aa,21,6,"table",0),l()),a&2&&(r(),f(o.matDataSource?1:-1))},dependencies:[q,Qe,Y,K,ie,Z,X,ne,ee,te,ae,oe,le,me,qe,Fe,ai,Ue],styles:[".expand-row[_ngcontent-%COMP%]{--mat-table-row-item-container-height: 0;--mat-table-row-item-label-text-size: 16px}"]});let e=t;return e})();var ja=()=>["expandedDetail"];function za(e,t){e&1&&(m(0,"th",12),u(1," Title"),l())}function Va(e,t){if(e&1&&(m(0,"td",13),u(1),l()),e&2){let i=t.$implicit;r(),F(i.title)}}function Oa(e,t){e&1&&d(0,"th",14)}function Ja(e,t){if(e&1){let i=k();m(0,"td",15)(1,"button",16),y("click",function(){let a=M(i).$implicit,o=s(2);return E(o.expandedRows.toggle(a.key))}),d(2,"i",17),l()()}if(e&2){let i=t.$implicit,n=s(2);r(2),S("down",!n.expandedRows.isSelected(i.key))("up",n.expandedRows.isSelected(i.key))}}function Ua(e,t){if(e&1&&(m(0,"td",18)(1,"div",19)(2,"div",20),d(3,"app-mail",21),l()()()),e&2){let i=t.$implicit,n=s(2);W("colspan",n.displayedColumns.length),r(),S("grid-rows-0fr",!n.expandedRows.isSelected(i.key))("grid-rows-1fr",n.expandedRows.isSelected(i.key)),r(2),c("mail",i)}}function Wa(e,t){e&1&&d(0,"tr",22)}function Ga(e,t){e&1&&d(0,"tr",23)}function Qa(e,t){e&1&&d(0,"tr",24)}function qa(e,t){if(e&1&&(m(0,"table",0),C(1,1),p(2,za,2,0,"th",2)(3,Va,2,1,"td",3),h(),C(4,4),p(5,Oa,1,0,"th",5)(6,Ja,3,4,"td",6),h(),C(7,7),p(8,Ua,4,6,"td",8),h(),p(9,Wa,1,0,"tr",9)(10,Ga,1,0,"tr",10)(11,Qa,1,0,"tr",11),l()),e&2){let i=s();c("dataSource",i.matDataSource),r(9),c("matHeaderRowDef",i.displayHeaderColumns)("matHeaderRowDefSticky",!0),r(),c("matRowDefColumns",i.displayedColumns),r(),c("matRowDefColumns",je(5,ja))}}var vi=(()=>{let t=class t extends ce{constructor(){super(...arguments),this.expandedRows=new Je(!0,[]),this.BASE_DISPLAY_COLUMNS=["title","expand"]}};t.\u0275fac=(()=>{let n;return function(o){return(n||(n=L(t)))(o||t)}})(),t.\u0275cmp=_({type:t,selectors:[["app-torn-pages-table"]],features:[P],decls:2,vars:1,consts:[["mat-table","","matSort","","multiTemplateDataRows","",1,"can-expand",3,"dataSource"],["matColumnDef","title"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["class","text-col","mat-cell","",4,"matCellDef"],["matColumnDef","expand"],["mat-header-cell","",4,"matHeaderCellDef"],["class","w-fit align-top !pt-2","mat-cell","",4,"matCellDef"],["matColumnDef","expandedDetail"],["mat-cell","",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef","matHeaderRowDefSticky"],["mat-row","",4,"matRowDef","matRowDefColumns"],["class","expand-row","mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"text-col"],["mat-header-cell",""],["mat-cell","",1,"w-fit","align-top","!pt-2"],["mat-button","",3,"click"],[1,"arrow"],["mat-cell",""],[1,"expandable-body","grid","transition-all","duration-200","ease-in-out"],[1,"overflow-hidden"],[1,"py-4","max-w-prose",3,"mail"],["mat-header-row",""],["mat-row",""],["mat-row","",1,"expand-row"]],template:function(a,o){a&1&&(m(0,"app-responsive-table"),p(1,qa,12,6,"table",0),l()),a&2&&(r(),f(o.matDataSource?1:-1))},dependencies:[q,Y,K,ie,Z,X,ne,ee,te,ae,oe,le,me,qe,Fe],styles:[".expand-row[_ngcontent-%COMP%]{--mat-table-row-item-container-height: 0;--mat-table-row-item-label-text-size: 16px}"]});let e=t;return e})();var Di=(()=>{let t=class t{};t.\u0275fac=function(a){return new(a||t)},t.\u0275cmp=_({type:t,selectors:[["app-torn-page"]],inputs:{tornPage:"tornPage"},decls:5,vars:2,consts:[[1,"font-semibold","font-coral"],[1,"text-2xl","mb-4","text-black"],[1,"mb-4","whitespace-break-spaces"]],template:function(a,o){a&1&&(m(0,"div",0)(1,"div",1),u(2),l(),m(3,"div",2),u(4),l()()),a&2&&(r(2),F(o.tornPage.title),r(2),F(o.tornPage.content))},encapsulation:2});let e=t;return e})();var Si=(()=>{let t=class t{constructor(){this.tornPage=A.required(),this.listDetails=B(Ie),this.uiIcon=z}};t.\u0275fac=function(a){return new(a||t)},t.\u0275cmp=_({type:t,selectors:[["app-torn-page-details"]],inputs:{tornPage:[1,"tornPage"]},decls:5,vars:2,consts:[["cardActions","",1,"card-actions"],["matTooltip","Close",3,"click"],[1,"!w-8","!h-8","hover:text-black","focus-visible:text-black",3,"uiIcon"],[3,"tornPage"]],template:function(a,o){a&1&&(m(0,"app-card")(1,"div",0)(2,"button",1),y("click",function(){return o.listDetails.close()}),d(3,"app-ui-icon",2),l()(),d(4,"app-torn-page",3),l()),a&2&&(r(3),c("uiIcon",o.uiIcon.CROSS),r(),c("tornPage",o.tornPage()))},dependencies:[_e,Ce,fe,Di],encapsulation:2});let e=t;return e})();function Za(e,t){if(e&1&&d(0,"app-mail-details",1),e&2){let i=s();c("mail",i.selectedEntity)}}function eo(e,t){if(e&1&&d(0,"app-torn-page-details",2),e&2){let i=s();c("tornPage",i.selectedTornPage)}}function to(e,t){if(e&1){let i=k();m(0,"app-card",3)(1,"div",5)(2,"button",6),y("click",function(){M(i);let a=s();return E(a.listDetail.close())}),d(3,"app-ui-icon",7),l()(),d(4,"app-full-size-image",8),l()}if(e&2){let i=s();r(3),c("uiIcon",i.uiIcon.CROSS),r(),c("imageName","treasure-maps/"+i.selectedTreasureHunt.mapImage)}}function io(e,t){if(e&1){let i=k();m(0,"app-item-icon",16),y("click",function(){let a=M(i).$implicit,o=s(3);return E(o.showDetails(a))}),l()}if(e&2){let i=t.$implicit,n=s(3);S("selected-icon",(n.selectedEntity==null?null:n.selectedEntity.key)===i.key)}}function no(e,t){if(e&1&&(m(0,"div",12),v(1,io,1,2,"app-item-icon",15,w),l()),e&2){let i=s(2);r(),D(i.mails)}}function ao(e,t){if(e&1&&d(0,"app-mail-table",13),e&2){let i=s(2);c("dataSource",i.mails)}}function oo(e,t){if(e&1){let i=k();m(0,"app-item-icon",16),y("click",function(){let a=M(i).$implicit,o=s(3);return E(o.showTornPageDetails(a))}),l()}if(e&2){let i=t.$implicit,n=s(3);S("selected-icon",(n.selectedTornPage==null?null:n.selectedTornPage.key)===i.key)}}function ro(e,t){if(e&1&&(m(0,"div",12),v(1,oo,1,2,"app-item-icon",15,w),l()),e&2){let i=s(2);r(),D(i.tornPages)}}function lo(e,t){if(e&1&&d(0,"app-torn-pages-table",13),e&2){let i=s(2);c("dataSource",i.tornPages)}}function mo(e,t){if(e&1){let i=k();m(0,"app-item-icon",17),y("click",function(){let a=M(i).$implicit,o=s(2);return E(o.showTreasureDetails(a))}),l()}if(e&2){let i=t.$implicit,n=s(2);S("selected-icon",(n.selectedTreasureHunt==null?null:n.selectedTreasureHunt.treasureId)===i.treasureId),c("itemName",i.iconName)}}function co(e,t){if(e&1){let i=k();m(0,"mat-tab-group",9),y("selectedTabChange",function(a){M(i);let o=s();return E(o.updateUrl(a))}),m(1,"mat-tab",10)(2,"app-data-filter",11),J("showTableChange",function(a){M(i);let o=s();return O(o.showTable,a)||(o.showTable=a),E(a)}),l(),p(3,no,3,0,"div",12)(4,ao,1,1,"app-mail-table",13),l(),m(5,"mat-tab",10)(6,"app-data-filter",11),J("showTableChange",function(a){M(i);let o=s();return O(o.showTornPagesTable,a)||(o.showTornPagesTable=a),E(a)}),l(),p(7,ro,3,0,"div",12)(8,lo,1,1,"app-torn-pages-table",13),l(),m(9,"mat-tab",10)(10,"div",12),v(11,mo,1,3,"app-item-icon",14,w),l()()()}if(e&2){let i=s();c("selectedIndex",i.selectedTabIndex()),r(),c("label",i.tabNames[0]),r(),V("showTable",i.showTable),r(),f(i.showTable?-1:3),r(),f(i.showTable?4:-1),r(),c("label",i.tabNames[1]),r(),V("showTable",i.showTornPagesTable),r(),f(i.showTornPagesTable?-1:7),r(),f(i.showTornPagesTable?8:-1),r(),c("label",i.tabNames[2]),r(2),D(i.treasureMaps)}}var Ii=(()=>{let t=class t extends Ge{constructor(){super(),this.showTornPagesTable=!1,this.mails=[],this.tornPages=[],this.treasureMaps=[],this.tabNames=["Letters","Torn pages","Treasure Map"],this.uiIcon=z,this.data$=Te([this._database.fetchMailData$(),this._database.fetchTornPagesData$(),this._database.fetchTreasureHunts$()]).pipe(wt(([n,a,o])=>{this.mails=n,this.tornPages=a,this.treasureMaps=o;let g=this.selectedId;if(g){let x=this.mails.find(U=>U.key.toLowerCase()===g.toLowerCase());x&&this.showDetails(x);let R=this.tornPages.find(U=>U.key.toLowerCase()===g.toLowerCase());R&&this.showTornPageDetails(R);let se=this.treasureMaps.find(U=>U.treasureId===+g.toLowerCase());se&&this.showTreasureDetails(se)}this.activateTabFromRoute(this.tabNames)}))}showDetails(n){this.selectedTornPage=void 0,this.selectedTreasureHunt=void 0,super.showDetails(n)}showTornPageDetails(n){this.selectedEntity=void 0,this.selectedTreasureHunt=void 0,this.selectedTornPage=n,this.listDetail.open()}showTreasureDetails(n){this.selectedEntity=void 0,this.selectedTornPage=void 0,this.selectedTreasureHunt=n,this.listDetail.open()}};t.\u0275fac=function(a){return new(a||t)},t.\u0275cmp=_({type:t,selectors:[["app-notes"]],features:[P],decls:7,vars:6,consts:[["listDetail",""],[3,"mail"],[3,"tornPage"],[1,"text-lg","font-semibold","relative"],[3,"selectedIndex"],["cardActions","",1,"card-actions"],["matTooltip","Close",3,"click"],[1,"!w-8","!h-8","hover:text-black","focus-visible:text-black",3,"uiIcon"],["hasThumb","",1,"full-size-card-image","image-only",3,"imageName"],[3,"selectedTabChange","selectedIndex"],[3,"label"],[3,"showTableChange","showTable"],[1,"icon-grid","mt-3"],[3,"dataSource"],[1,"icon-grid-item",3,"selected-icon","itemName"],["itemName","Torn_page",1,"icon-grid-item",3,"selected-icon"],["itemName","Torn_page",1,"icon-grid-item",3,"click"],[1,"icon-grid-item",3,"click","itemName"]],template:function(a,o){a&1&&(m(0,"app-list-detail-container"),C(1,0),p(2,Za,1,1,"app-mail-details",1)(3,eo,1,1,"app-torn-page-details",2)(4,to,5,2,"app-card",3),h(),p(5,co,13,10,"mat-tab-group",4),b(6,"async"),l()),a&2&&(r(2),f(o.selectedEntity?2:-1),r(),f(o.selectedTornPage?3:-1),r(),f(o.selectedTreasureHunt?4:-1),r(),f(T(6,4,o.data$)?5:-1))},dependencies:[N,_e,G,re,he,Q,Ce,mt,fe,yi,wi,vi,Si,j],encapsulation:2});let e=t;return e})();function so(e,t){if(e&1&&d(0,"app-item-icon",4),e&2){let i=s();Dt("itemName",i.enemy().iconName)}}function po(e,t){if(e&1&&d(0,"app-full-size-image",5),e&2){let i=s();c("imageName","items/icons/"+i.enemy().image)}}function uo(e,t){if(e&1&&(m(0,"span",10),u(1),l()),e&2){let i=s();r(),F(i.enemy().description)}}var Mi=(()=>{let t=class t{constructor(){this.enemy=A.required(),this.listDetails=B(Ie),this.uiIcon=z}};t.\u0275fac=function(a){return new(a||t)},t.\u0275cmp=_({type:t,selectors:[["app-bestiary-details"]],inputs:{enemy:[1,"enemy"]},decls:18,vars:7,consts:[[1,"text-lg","font-semibold","relative"],["cardActions","",1,"card-actions"],["matTooltip","Close",3,"click"],[1,"!w-8","!h-8","hover:text-black","focus-visible:text-black",3,"uiIcon"],["cardIcon","",3,"itemName"],[1,"full-size-card-image",3,"imageName"],[1,"flex","justify-between","items-center"],[1,"flex","flex-col"],[1,"text-black","text-2xl"],[1,"my-5"],[1,"text-lg","mb-6"],[1,"text-black"],[1,"block","my-2",3,"chances"]],template:function(a,o){a&1&&(m(0,"app-card",0)(1,"div",1)(2,"button",2),y("click",function(){return o.listDetails.close()}),d(3,"app-ui-icon",3),l()(),p(4,so,1,1,"app-item-icon",4)(5,po,1,1,"app-full-size-image",5),m(6,"div",6)(7,"div",7)(8,"div",8),u(9),l()()(),d(10,"hr",9),p(11,uo,2,1,"span",10),m(12,"div"),u(13," Experience: "),m(14,"span",11),u(15),l()(),u(16," Drops: "),d(17,"app-chance-per-item-list",12),l()),a&2&&(r(3),c("uiIcon",o.uiIcon.CROSS),r(),f(o.enemy().image?-1:4),r(),f(o.enemy().image?5:-1),r(4),F(o.enemy().displayName),r(2),f(o.enemy().description?11:-1),r(4),F(o.enemy().experience),r(2),c("chances",o.enemy().dropRates))},dependencies:[N,_e,oi,Ce,mt,fe],encapsulation:2});let e=t;return e})();function _o(e,t){if(e&1&&(m(0,"td",11),d(1,"app-item-icon",12),l()),e&2){let i=t.$implicit;r(),c("itemName",i.iconName)}}function Co(e,t){e&1&&(m(0,"th",13),u(1,"Item "),l()),e&2&&W("colspan",2)}function ho(e,t){if(e&1&&(m(0,"td",14),u(1),l()),e&2){let i=t.$implicit;r(),H(" ",i.displayName," ")}}function go(e,t){e&1&&(m(0,"th",15),u(1,"Drops"),l())}function xo(e,t){if(e&1&&(m(0,"td",14),d(1,"app-chance-per-item-table-list",16),l()),e&2){let i=t.$implicit;r(),c("chances",i.dropRates)}}function bo(e,t){e&1&&(m(0,"th",13),u(1,"Exp"),l())}function To(e,t){if(e&1&&(m(0,"td",14),u(1),l()),e&2){let i=t.$implicit;r(),H(" ",i.experience," ")}}function yo(e,t){e&1&&d(0,"tr",17)}function wo(e,t){e&1&&d(0,"tr",18)}function vo(e,t){if(e&1&&(m(0,"table",0),C(1,1),p(2,_o,2,1,"td",2),h(),C(3,3),p(4,Co,2,1,"th",4)(5,ho,2,1,"td",5),h(),C(6,6),p(7,go,2,0,"th",7)(8,xo,2,1,"td",5),h(),C(9,8),p(10,bo,2,0,"th",4)(11,To,2,1,"td",5),h(),p(12,yo,1,0,"tr",9)(13,wo,1,0,"tr",10),l()),e&2){let i=s();c("dataSource",i.matDataSource),r(12),c("matHeaderRowDef",i.displayHeaderColumns)("matHeaderRowDefSticky",!0),r(),c("matRowDefColumns",i.displayedColumns)}}var Ei=(()=>{let t=class t extends ce{constructor(){super(...arguments),this.BASE_DISPLAY_COLUMNS=["icon","displayName","experience","dropRates"]}};t.\u0275fac=(()=>{let n;return function(o){return(n||(n=L(t)))(o||t)}})(),t.\u0275cmp=_({type:t,selectors:[["app-bestiary-table"]],features:[P],decls:2,vars:1,consts:[["mat-table","","matSort","",3,"dataSource"],["matColumnDef","icon","sticky",""],["class","!pl-2 !pr-0 w-10 text-center icon-col ","mat-cell","",4,"matCellDef"],["matColumnDef","displayName"],["class","backdrop-blur-xl","mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["class","text-col whitespace-nowrap","mat-cell","",4,"matCellDef"],["matColumnDef","dropRates"],["class","backdrop-blur-xl","mat-header-cell","",4,"matHeaderCellDef"],["matColumnDef","experience"],["mat-header-row","",4,"matHeaderRowDef","matHeaderRowDefSticky"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-cell","",1,"!pl-2","!pr-0","w-10","text-center","icon-col"],[3,"itemName"],["mat-header-cell","","mat-sort-header","",1,"backdrop-blur-xl"],["mat-cell","",1,"text-col","whitespace-nowrap"],["mat-header-cell","",1,"backdrop-blur-xl"],[3,"chances"],["mat-header-row",""],["mat-row",""]],template:function(a,o){a&1&&(m(0,"app-responsive-table"),p(1,vo,14,4,"table",0),l()),a&2&&(r(),f(o.matDataSource?1:-1))},dependencies:[N,q,ri,Y,K,ie,Z,X,ne,ee,te,ae,oe,le,me],encapsulation:2});let e=t;return e})();function So(e,t){if(e&1&&d(0,"app-bestiary-details",0),e&2){let i=s();c("enemy",i.selectedEntity)}}function Io(e,t){if(e&1){let i=k();m(0,"app-item-icon",5),y("click",function(){let a=M(i).$implicit,o=s(3);return E(o.showDetails(a))}),l()}if(e&2){let i=t.$implicit,n=s(3);S("selected-icon",(n.selectedEntity==null?null:n.selectedEntity.key)===i.key),c("itemName",i.iconName)}}function Mo(e,t){if(e&1&&(m(0,"div",2),v(1,Io,1,3,"app-item-icon",4,w),l()),e&2){let i=s();r(),D(i)}}function Eo(e,t){if(e&1&&d(0,"app-bestiary-table",3),e&2){let i=s();c("dataSource",i)}}function Fo(e,t){if(e&1&&p(0,Mo,3,0,"div",2)(1,Eo,1,1,"app-bestiary-table",3),e&2){let i=s();f(i.showTable?-1:0),r(),f(i.showTable?1:-1)}}var Fi=(()=>{let t=class t extends ti{constructor(){super(...arguments),this.bestiary$=B(Oe).fetchBestiary$()}};t.\u0275fac=(()=>{let n;return function(o){return(n||(n=L(t)))(o||t)}})(),t.\u0275cmp=_({type:t,selectors:[["app-bestiary"]],features:[P],decls:5,vars:5,consts:[["listDetail","",3,"enemy"],[3,"showTableChange","showTable"],[1,"icon-grid"],[3,"dataSource"],[1,"icon-grid-item",3,"selected-icon","itemName"],[1,"icon-grid-item",3,"click","itemName"]],template:function(a,o){if(a&1&&(m(0,"app-list-detail-container"),p(1,So,1,1,"app-bestiary-details",0),m(2,"app-data-filter",1),J("showTableChange",function(x){return O(o.showTable,x)||(o.showTable=x),x}),l(),p(3,Fo,2,2),b(4,"async"),l()),a&2){let g;r(),f(o.selectedEntity?1:-1),r(),V("showTable",o.showTable),r(),f((g=T(4,3,o.bestiary$))?3:-1,g)}},dependencies:[N,G,re,Mi,Ei,j],encapsulation:2});let e=t;return e})();var Po=[{path:"",pathMatch:"full",redirectTo:"produce"},{path:"",component:si,children:[{path:"caught",redirectTo:"caught/",pathMatch:"full"},{path:"caught/:tabName",component:_i,title:"Caught - Journal"},{path:"found",redirectTo:"found/",pathMatch:"full"},{path:"found/:tabName",component:Ci,title:"Found - Journal"},{path:"produce",redirectTo:"produce/",pathMatch:"full"},{path:"produce/:tabName",component:xi,title:"Produce - Journal"},{path:"bestiary",component:Fi,title:"Bestiary - Journal"},{path:"notes",redirectTo:"notes/",pathMatch:"full"},{path:"notes/:tabName",component:Ii,title:"Notes - Journal"},{path:"achievements",redirectTo:"achievements/",pathMatch:"full"},{path:"achievements/:achievementId",component:bi,title:"Achievements - Journal"}]}],Pi=(()=>{let t=class t{};t.\u0275fac=function(a){return new(a||t)},t.\u0275mod=we({type:t}),t.\u0275inj=ye({imports:[_t.forChild(Po),_t]});let e=t;return e})();var ki=(()=>{let t=class t{};t.\u0275fac=function(a){return new(a||t)},t.\u0275mod=we({type:t}),t.\u0275inj=ye({imports:[ft,ze,ft]});let e=t;return e})();var ac=(()=>{let t=class t{};t.\u0275fac=function(a){return new(a||t)},t.\u0275mod=we({type:t}),t.\u0275inj=ye({imports:[ze,Pi,li,Yt,ki,qt,Xt,Kt,Wt,Gt,At,ci,mi,Jt,ge,Ye,Xe,Ke,Ze,et,tt,lt]});let e=t;return e})();export{fi as a,gi as b,Ei as c,ac as d};