PageSourceSearch

https://www.anglersatlas.com/chunk-SJ3WSGEX.js

js anglersatlas.com collected 2026-10-01 12:07:58 UTC 45,285 bytes, 4 lines download raw bytes

1import{a as it}from"./chunk-ZUG2ACPV.js";import{a as Ue,b as Ne,c as ze}from"./chunk-TITCE4L4.js";import{a as ot}from"./chunk-TCG5YMVU.js";import{a as nt,b as de,c as me}from"./chunk-NHANKJWH.js";import{Ba as qe,Ha as pe,Ia as Ye,Ka as Qe,La as Ge,Ma as Ke,Oa as Ze,Sa as Je,Ua as z,y as Xe}from"./chunk-MQHKJCK6.js";import{a as F}from"./chunk-RUN7J7F2.js";import{g as tt}from"./chunk-N7W5D4LX.js";import{Ab as et,ub as je}from"./chunk-HOUM4TXU.js";import{V as N,v as He}from"./chunk-D3WE4SYR.js";import{x as Re}from"./chunk-TWCL2ESP.js";import{K as $e,c as se,h as le,p as ce}from"./chunk-7D74GDEE.js";import{$a as H,$d as Ve,B as V,Cb as ge,Db as P,E as Te,Gb as C,H as K,Ha as D,Ib as c,La as a,Ld as re,M as Z,Mb as Fe,Md as ae,Nb as q,Ob as Y,Qa as g,Sb as k,Sd as Ae,Tb as ue,Ub as I,Va as O,W as R,Wa as ne,Wc as oe,Xb as p,Yb as f,Z as J,Zb as B,Zd as $,_b as Ce,_d as Le,ae as U,b as Oe,ca as ee,de as ve,ed as We,f as Q,fa as Ee,fd as De,ia as b,ja as v,mb as _,n as A,nb as Ie,ob as h,oc as ie,pa as j,pc as fe,pd as Be,q as L,qc as xe,rb as y,sb as M,tb as m,tc as T,ub as s,uc as E,vb as r,wa as te,wb as x,y as G,ya as ke,yc as be}from"./chunk-ODKVSH6Q.js";import{a as we}from"./chunk-SE5JAREP.js";var gt=(t,o)=>o.id;function ut(t,o){t&1&&(s(0,"div",8)(1,"div",9)(2,"h5"),p(3,"Help"),r(),s(4,"p"),p(5," If you don\u2019t see it already, type the species you\u2019re looking for in the search bar. If it\u2019s in our database, you\u2019ll see it pop-up. Click on the photo, this will take you a map that you can use to drill down to your area of interest, you\u2019ll also see the most recent mentions and photos for that species. "),r()()(),s(6,"div",8)(7,"div",9)(8,"h5"),p(9,"Info"),r(),s(10,"p"),p(11," When our members visit and follow a page on Angler\u2019s Atlas, they are encouraged to provide species information about that specific waterbody or place. This information is populated in a searchable format so you can find out where to catch a specific fish species, in a specific region. "),r(),s(12,"p"),p(13," Searching our site from the \u201CFish\u201D page will show you what lures members are using and what water structures they are finding fish in. Sometimes local knowledge can be supplemented by taking tips from anglers far and wide, inspiring you to try something different. Whether it\u2019s a different rod, reel, lure, or location, you just might find yourself a new honey hole that you can lord over your friends. "),r(),s(14,"p"),p(15," There are historical data and fishing reports that tell us what species were present in a specific waterbody at a certain time but this information can be out-of-date and inaccurate. Many prairie lakes, for example, are susceptible to winterkill sometimes making presence/presence-not-detected surveys stale and unreliable. Our goal is to provide real-time, reliable information about the species you are most interested in targeting. "),r()()())}function Ct(t,o){if(t&1&&(s(0,"a",7)(1,"div",10),x(2,"img",11),s(3,"span",12),p(4),r()()()),t&2){let e=o.$implicit;m("routerLink",e.urlTo),a(2),m("src",e.image.small,D)("alt",e.name),a(2),f(e.name)}}function ft(t,o){if(t&1&&(p(0," for: "),s(1,"b"),p(2),r()),t&2){let e=c(3);a(2),f(e.term)}}function xt(t,o){if(t&1&&(s(0,"p",13),p(1," No results "),_(2,ft,3,1),r()),t&2){let e=c(2);a(2),h(e.term?2:-1)}}function bt(t,o){if(t&1&&_(0,xt,3,1,"p",13),t&2){let e=c();h(e.firstLoad?-1:0)}}function vt(t,o){t&1&&x(0,"app-spinner")}var ye=(()=>{class t{constructor(e,n,i,l,d,S,w){this.searchService=e,this.responsive=n,this.route=i,this.location=l,this.meta=d,this.title=S,this.toast=w,this.firstLoad=!1,this.isLoading=!1,this.showingTop=!0,this.fish=[],this.topFish=[],this.termSubject=new Q,this.subscriptions=[],this.updatingUrl=!1}ngOnInit(){if(this.isRobot=et(),this.title.setTitle("Find Fish | Angler's Atlas"),this.meta.updateTag({name:"description",content:"Find where you can catch bass, trout, walleye, northern pike and dozens of other fish species across Canada."}),this.firstLoad=!0,this.isLoading=!0,Object.prototype.hasOwnProperty.call(this.route.snapshot.data,"topFish")){let n=this.route.
1snapshot.data.topFish??[];this.topFish=n,this.fish=n,this.isLoading=!1,this.firstLoad=!1}else this.subscriptions.push(this.searchService.fish().subscribe({next:n=>{this.topFish=n.slice(0,12),this.fish=this.topFish,this.isLoading=!1,this.firstLoad=!1},error:n=>{console.error(n),this.isLoading=!1}}));this.subscriptions.push(this.termSubject.pipe(Z(),J(n=>{this.isLoading=!0,this.term=n,this.updateUrl()}),K(n=>G(n?250:0)),R(n=>{let i=A([this.topFish,!0]);return n&&(i=this.searchService.fish(this.term).pipe(L(l=>[l,!1]))),i})).subscribe({next:([n,i])=>{this.fish=n,this.showingTop=i,this.isLoading=!1},error:n=>{console.error(n);let l=ze(n)[0]??"Failed to search";this.toast.present({message:l,icon:"warning",iconStyle:"danger",duration:2e4}),this.isLoading=!1}}),this.route.params.pipe(V(n=>!!n.term)).subscribe({next:n=>{this.updatingUrl||(this.term=n.term,this.onTermChange(n.term)),this.updatingUrl=!1},error:console.error}))}ngOnDestroy(){this.subscriptions.forEach(e=>e.unsubscribe())}onTermChange(e){this.termSubject.next(e)}updateUrl(){if(typeof window>"u")return;this.updatingUrl=!0;let e="/search/fish";this.term&&(e+="/"+this.term),e!==this.location.path(!1)&&this.location.replaceState(e)}static{this.\u0275fac=function(n){return new(n||t)(g(F),g(z),g($),g(oe),g(re),g(ae),g(ot))}}static{this.\u0275cmp=O({type:t,selectors:[["app-search-fish"]],hostAttrs:[1,"tailwind"],standalone:!1,decls:13,vars:6,consts:[[1,"flex","flex-col","gap-y-2","md:gap-y-4","md:px-4","mb-4","md:mt-4","mx-auto","max-w-screen-container"],[1,"w-full","relative","border-b","border-gray-100","md:rounded","md:border","overflow-clip"],["type","text","name","query","id","query","placeholder","Search species",1,"browser-default","pl-3","pr-12","block","w-full","h-10","border-0","placeholder:text-gray-300",3,"ngModelChange","ngModel"],[1,"absolute","inset-y-0","right-0","pr-3","flex","items-center"],["name","search","svgClass","fill-gray-300"],[1,"text-center"],[1,"grid","grid-cols-2","px-2","md:px-0","md:grid-cols-3","lg:grid-cols-4","gap-2","lg:gap-4"],[1,"block","aspect-square",3,"routerLink"],[1,"row"],[1,"col","s12"],[1,"tw-card","h-full","px-2","py-4","flex","flex-col","gap-y-2","items-center"],[1,"grow","object-contain",3,"src","alt"],[1,"shrink-0"],[1,"col-span-full","text-center","p-4"]],template:function(n,i){n&1&&(s(0,"div",0)(1,"div",1)(2,"input",2),C("ngModelChange",function(d){return i.onTermChange(d)}),r(),s(3,"div",3),x(4,"svg-icon",4),r()(),_(5,ut,16,0),s(6,"h5",5),p(7,"Popular Species"),r(),s(8,"div",6),y(9,Ct,5,4,"a",7,gt,!1,bt,1,1),r(),_(12,vt,1,0,"app-spinner"),r()),n&2&&(a(2),m("ngModel",i.term),a(3),h(i.isRobot?5:-1),a(),I("opacity-0",!i.showingTop),a(3),M(i.fish),a(3),h(i.isLoading?12:-1))},dependencies:[se,le,ce,U,Re,N],encapsulation:2})}}return t})();var _e=(()=>{class t{constructor(e,n,i){this.responsive=e,this.activatedRoute=n,this.router=i,this.subtitle=""}ngOnInit(){this.subtitleSubscription=this.router.events.pipe(V(e=>e instanceof Ae),R(e=>this.activatedRoute.firstChild.data),L(e=>e.subtitle)).subscribe({next:e=>this.subtitle=e,error:console.error})}ngOnDestroy(){this.subtitleSubscription.unsubscribe()}static{this.\u0275fac=function(n){return new(n||t)(g(z),g($),g(Ve))}}static{this.\u0275cmp=O({type:t,selectors:[["app-search"]],standalone:!1,decls:1,vars:0,template:function(n,i){n&1&&x(0,"router-outlet")},dependencies:[Le],encapsulation:2})}}return t})();var Pt=(t,o)=>o.id;function yt(t,o){t&1&&p(0,",\xA0")}function Mt(t,o){if(t&1&&(s(0,"span")(1,"a",9),p(2),r(),_(3,yt,1,0),r()),t&2){let e=o.$implicit,n=o.$index,i=o.$count,l=c(2);a(),m("routerLink",l.urlToFish(e)),a(),f(e.name),a(),h(n!==i-1?3:-1)}}function St(t,o){if(t&1&&(s(0,"div",6),y(1,Mt,4,3,"span",null,Pt),r()),t&2){let e=c();a(),M(e.place.species)}}function wt(t,o){if(t&1&&x(0,"img",7),t&2){let e=c();m("src",e.place.photo_url+":300",D)}}function Ot(t,o){if(t&1&&(s(0,"div",8),p(1),r()),t&2){let e=c();a(),f(e.contentCounts)}}var he=(()=>{class t{get hostClassHighlight(){return this.highlight}constructor(e){this.element=e,this.highlight=!1,this.hovered=new j,this.contentCounts=null,this.urlToPlace=je.urlToPlaceSearchResult,this.urlToFish=tt.urlToFish}ngOnChanges(e){if(e.place){let n=e.place.currentValue,i=[];n.number_of_contour_maps&&i.push(`Contour Map: ${n.number_of_contour_maps}`),n.boat_launches&&i.push(`Boat Launch: ${n.boat_launches}`),n.rec_sites&&i.push(`Rec Site: ${n.rec_sites}`),i.length?this.contentCounts=i.join(" | "):this.contentCounts=null}}static{this.\u0275fac=function(n){return new(n||t)(g(ke))}}static{this.\u0275cmp=O({type:t,selectors:[["app-search-waterbody-item"]],hostVars:2,hostBindings:function(n,i){n&2&&I("highlight",i.hostClassHighlight)},inputs:{place:"place",highlight:"highlight"},outputs:{hovered:"hovered"},standalone:!1,features:[te],decls:11,vars:6,consts:[[3,"mouseenter","mouseleave","routerLink"],[1,"info"],[1,"details"],[1,"name-within"],[1,"name"],[1,"within"],[1,"species"],[3,"src"],[1,"num-content"],[3,"routerLink"]],template:function(n,i){n&1&&(s(0,"a",0),C("mouseenter",function(){return i.hovered.emit(!0)})("mouseleave",function(){return i.hovered.emit(!1)}),s(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4),p(5),r(),s(6,"div",5),p(7),r()(),_(8,St,3,0,"div",6),r(),_(9,wt,1,1,"img",7),r(),_(10,Ot,2,1,"div",8),r()),n&2&&(m("routerLink",i.urlToPlace(i.place)),a(5),f(i.place.name),a(2),f(i.place.within),a(),h(i.place.species.length?8:-1),a(),h(i.place.photo_url?9:-1),a(),h(i.contentCounts?10:-1))},dependencies:[U],styles:[`[_nghost-%COMP%]{display:block;background-color:#fff;border-radius:4px;border:1px solid #D8DCE6;box-shadow:0 1px 3px #0000000a;font-weight:600}[_nghost-%COMP%]:hover, .highlight[_nghost-%COMP%]{cursor:pointer;background-color:#f0f1fd}[_nghost-%COMP%]:hover, [_nghost-%COMP%]:hover   .num-content[_ngcontent-%COMP%], .highlight[_nghost-%COMP%], .highlight[_nghost-%COMP%]   .num-content[_ngcontent-%COMP%]{border-color:#c4c8d1}.info[_ngcontent-%COMP%]{padding:16px;display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.info[_ngcontent-%COMP%]   .details[_ngcontent-%COMP%]{flex-grow:1;overflow-x:hidden}.info[_ngcontent-%COMP%]   .details[_ngcontent-%COMP%]   .name-within[_ngcontent-%COMP%]   .name[_ngcontent-%COMP%]{font-size:18px;color:#3d4248}.info[_ngcontent-%COMP%]   .details[_ngcontent-%COMP%]   .name-within[_ngcontent-%COMP%]   .within[_ngcontent-%COMP%]{margin-top:4px;font-size:12px;color:#979aa3}.info[_ngcontent-%COMP%]   .details[_ngcontent-%COMP%]   .species[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;margin-top:16px;font-size:16px;color:#3d4248}.info[_ngcontent-%COMP%]   .details[_ngcontent-%COMP%]   .species[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#6073eb}.info[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{flex-shrink:0;margin-left:12px;width:102px;height:102px;background-color:#f0f1fd;object-fit:cover;object-position:center;border-radius:2px}.num-content[_ngcontent-%COMP%]{border-top:1px solid #EAEDF3;padding:8px 16px;display:flex;align-items:center;justify-content:center;font-size:14px;color:#979aa3}
2/*# sourceMappingURL=waterbody-item.component-NG4JCTWW.css.map */`],changeDetection:0})}}return t})();var st=(()=>{class t{constructor(e){this.searchService=e,this.filters={},this.isLoading=new j,this.totalItems=new j,this.results=new j,this.searchSubject=ne
2w Q,this.subscription=Oe.EMPTY}ngOnInit(){this.subscription=this.searchSubject.asObservable().pipe(Z((n,i)=>n.term==i.term&&n.filters==i.filters),J(()=>{this.totalItems.emit(0),this.isLoading.emit(!0)}),K(n=>G(n.term?250:0)),R(n=>{let i=n.term,l=we({},n.filters),d=A(!1);if(i){let[S,w]=i.split(/,(.*)/s).map(W=>W.trim());w&&(l.within=w),d=this.searchService.places(S,l)}return d})).subscribe({next:n=>{let i=[],l=0;if(n){let d=n;i=d.items,l=d.totalItems}this.totalItems.emit(l),this.results.emit(i),this.isLoading.emit(!1)},error:n=>{console.error(n),this.isLoading.emit(!1)}});let e={term:this.term,filters:this.filters};this.searchSubject.next(e)}ngOnDestroy(){this.subscription.unsubscribe()}ngOnChanges(e){let n={term:this.term,filters:this.filters};this.searchSubject.next(n)}static{this.\u0275fac=function(n){return new(n||t)(g(F))}}static{this.\u0275cmp=O({type:t,selectors:[["app-search-mechanic"]],inputs:{term:"term",filters:"filters"},outputs:{isLoading:"isLoading",totalItems:"totalItems",results:"results"},features:[te],decls:0,vars:0,template:function(n,i){},encapsulation:2})}}return t})();var kt=["bottomSheet"],It=["bottomSheetHandle"],Ft=()=>({$implicit:!0}),Wt=(t,o)=>[t,o],Dt=t=>[0,t],Bt=()=>({$implicit:!1}),At=()=>["/rockfish-conservation-areas"],Lt=(t,o)=>["/place",t,o],Vt=t=>["/fish",t],lt=(t,o)=>o.id,Me=(t,o)=>o.value,Rt=(t,o)=>o.title;function jt(t,o){t&1&&x(0,"app-map-is-loading")}function Ht(t,o){if(t&1){let e=P();s(0,"app-map-places",24),C("placeSelected",function(i){b(e);let l=c();return v(l.onMarkerClick(i))})("placeHovered",function(i){b(e);let l=c();return v(l.onPlaceHovered(i))}),r()}if(t&2){let e=c();m("places",e.places)("shouldHover",!0)("shouldDeselect",!0)}}function $t(t,o){if(t&1){let e=P();s(0,"app-map-places-in-area",25),C("selected",function(i){b(e);let l=c();return v(l.onMarkerClick(i))})("results",function(i){b(e);let l=c();return v(l.setNearby(i))}),r()}if(t&2){let e=c();m("paddingInPixels",e.mapPadding)("lookupFunction",e.searchPlacesFunc)}}function Ut(t,o){if(t&1){let e=P();s(0,"app-map-overlay",26),C("onClose",function(){b(e);let i=c();return v(i.selectedPlace=i.selectedWarning=null)}),r()}if(t&2){let e=c(),n=k(32);m("coordinate",e.selectedPlace?xe(3,Wt,e.selectedPlace.preview.longitude,e.selectedPlace.preview.latitude):e.selectedWarning==null?null:e.selectedWarning.coordinate)("templateRef",n)("offset",fe(6,Dt,e.selectedWarning?-1:-20))}}function Nt(t,o){}function zt(t,o){t&1&&H(0,Nt,0,0,"ng-template")}function Xt(t,o){if(t&1&&(s(0,"div",17),H(1,zt,1,0,null,27),r()),t&2){c();let e=k(32);a(),m("ngTemplateOutlet",e)}}function qt(t,o){if(t&1&&p(0),t&2){let e=c(3);Ce(" ",e.places.length,' results for "',e.term,'" ')}}function Yt(t,o){if(t&1&&p(0),t&2){let e=c(3);Ce(" Nearby (",e.places.length,"",e.places.length===500?"+":"",") ")}}function Qt(t,o){t&1&&p(0," Sorry! We can't find any places in the area. ")}function Gt(t,o){if(t&1){let e=P();s(0,"a",33),C("click",function(){b(e);let i=c(3);return v(i.toggleFilter())}),p(1," Filters "),s(2,"i",34),p(3),r()()}if(t&2){let e=c(3);a(3),f(e.filterOpen?"arrow_drop_up":"arrow_drop_down")}}function Kt(t,o){t&1&&ge(0)}function Zt(t,o){t&1&&(s(0,"span",35),p(1,"Filter Search Results"),r())}function Jt(t,o){if(t&1){let e=P();s(0,"app-select-option",41),C("click",function(){let i=b(e).$index;c();let l=k(7);return c(3).selectCountry(i),v(l.close())}),p(1),r()}if(t&2){let e=o.$implicit,n=o.$index,i=c(4);m("multipleSelect",!1)("selected",n==i.countryIndex),a(),B(" ",e.title," ")}}function en(t,o){if(t&1){let e=P();s(0,"app-select-option",41),C("click",function(){let i=b(e).$index;c();let l=k(15);return c(3).selectAdmArea(i),v(l.close())}),p(1),r()}if(t&2){let e=o.$implicit,n=o.$index,i=c(4);m("multipleSelect",!1)("selected",n==i.admAreaIndex),a(),B(" ",e.title," ")}}function tn(t,o){if(t&1){let e=P();s(0,"app-select-option",41),C("click",function(){let i=b(e).$index;c();let l=k(23);return c(3).selectSort(i),v(l.close())}),p(1),r()}if(t&2){let e=o.$implicit,n=o.$index,i=c(4);m("multipleSelect",!1)("selected",n==i.sortIndex),a(),B(" ",e.title," ")}}function nn(t,o){if(t&1){let e=P();s(0,"div",31),_(1,Zt,2,0,"span",35),T(2,"async"),s(3,"div",36)(4,"span"),p(5,"Country:"),r(),s(6,"app-select",37,4)(8,"div",38),p(9),r(),y(10,Jt,2,3,"app-select-option",39,Me),r(),s(12,"span"),p(13,"Province / State:"),r(),s(14,"app-select",37,5)(16,"div",38),p(17),r(),y(18,en,2,3,"app-select-option",39,Me),r(),s(20,"span"),p(21,"Sort:"),r(),s(22,"app-select",37,6)(24,"div",38),p(25),r(),y(26,tn,2,3,"app-select-option",39,Me),r()(),s(28,"button",40),C("click",function(){b(e);let i=c(3);return v(i.performFilters())}),p(29,"Save"),r()()}if(t&2){let e=c(3);a(),h(E(2,7,e.responsive.s)===!0?1:-1),a(5),m("multipleSelect",!1),a(3),f(e.countries[e.countryIndex].title),a(),M(e.countries),a(4),m("multipleSelect",!1),a(3),f(e.admAreas[e.admAreaIndex].title),a(),M(e.admAreas),a(4),m("multipleSelect",!1),a(3),f(e.sorts[e.sortIndex].title),a(),M(e.sorts)}}function on(t,o){if(t&1){let e=P();s(0,"app-search-waterbody-item",42),C("hovered",function(i){let l=b(e).$implicit,d=c(3);
2return v(d.onHoverSearchWaterbodyItem(l,i))}),r()}if(t&2){let e=o.$implicit,n=c(3);m("place",e)("highlight",e.id==n.hoveredPlaceId)}}function rn(t,o){if(t&1&&(s(0,"div",28)(1,"span",29),_(2,qt,1,2)(3,Yt,1,2)(4,Qt,1,0),r(),_(5,Gt,4,1,"a",30),r(),s(6,"div",17),H(7,Kt,1,0,"ng-container",23),_(8,nn,30,9,"div",31),y(9,on,1,2,"app-search-waterbody-item",32,lt),r()),t&2){let e=c(2),n=k(30);a(2),h(e.term?2:e.places.length?3:4),a(3),h(e.term?5:-1),a(2),m("ngTemplateOutlet",n)("ngTemplateOutletContext",ie(5,Bt)),a(),h(e.filterOpen&&e.term&&e.places?8:-1),a(),M(e.places)}}function an(t,o){if(t&1&&_(0,rn,11,6),t&2){let e=c();h(e.places!=null?0:-1)}}function sn(t,o){t&1&&ge(0)}function ln(t,o){if(t&1&&(s(0,"a",44)(1,"div",45),x(2,"img",46),s(3,"div",47)(4,"div",28),p(5,"Rockfish Conservation Areas"),r(),s(6,"div",48),p(7,"Fishing prohibited in marked areas."),r()(),s(8,"i",34),p(9,"chevron_right"),r()()()),t&2){let e=c().$implicit;I("hide-on-med-and-up",e)("hide-on-small-only",!e),m("routerLink",ie(5,At))}}function cn(t,o){if(t&1&&_(0,ln,10,6,"a",43),t&2){let e=c();h(e.rcasAreVisible?0:-1)}}function pn(t,o){if(t&1&&x(0,"img",52),t&2){let e=c(3);m("src",e.selectedWarning.icon,D)}}function dn(t,o){if(t&1){let e=P();s(0,"div",49)(1,"div",50),C("click",function(){b(e);let i=c(2);return v(i.onClickTooltipTitle())}),s(2,"i",34),p(3,"keyboard_arrow_left"),r(),p(4),r(),s(5,"div",51),_(6,pn,1,1,"img",52),s(7,"div"),p(8),r()(),s(9,"a",53),p(10," Learn More "),r()()}if(t&2){let e=c(2);a(4),B(" ",e.selectedWarning.title," "),a(2),h(e.selectedWarning.icon?6:-1),a(2),f(e.selectedWarning.note),a(),m("routerLink",e.selectedWarning.link)}}function mn(t,o){t&1&&(s(0,"i",34),p(1,"chevron_left"),r())}function _n(t,o){t&1&&(s(0,"i",34),p(1,"chevron_right"),r())}function hn(t,o){if(t&1){let e=P();s(0,"a",56),C("click",function(){b(e);let i=c(3);return v(i.toggleOverview())}),_(1,mn,2,0,"i",34),s(2,"span"),p(3),r(),_(4,_n,2,0,"i",34),r()}if(t&2){let e=c(3);I("back",e.overviewVisible),a(),h(e.overviewVisible?1:-1),a(2),f(e.overviewVisible?"Back":"Quick Preview"),a(),h(e.overviewVisible?-1:4)}}function gn(t,o){if(t&1&&x(0,"img",52),t&2){let e=c(4);m("src",e.selectedPlace.photo_url+":300",D)}}function un(t,o){if(t&1&&(s(0,"div",55),_(1,gn,1,1,"img",52),s(2,"div"),p(3),r()()),t&2){let e=c(3);a(),h(e.selectedPlace.photo_url?1:-1),a(2),f(e.selectedPlace.overview)}}function Cn(t,o){t&1&&x(0,"div",59)}function fn(t,o){if(t&1&&(_(0,Cn,1,0,"div",59),s(1,"div")(2,"span"),p(3),r(),s(4,"span",30),p(5),r()()),t&2){let e=o.$implicit,n=o.$index;h(n!==0?0:-1),a(3),f(e.title),a(2),f(e.count)}}function xn(t,o){if(t&1&&(s(0,"div",57),y(1,fn,6,3,null,null,Rt),r()),t&2){let e=c(4);a(),M(e.pois)}}function bn(t,o){if(t&1&&(s(0,"li")(1,"a",61),p(2),r()()),t&2){let e=o.$implicit;a(),m("routerLink",fe(2,Vt,e.id)),a(),f(e.name)}}function vn(t,o){if(t&1&&(s(0,"div",58)(1,"div"),p(2,"Confirmed Species"),r(),s(3,"ul",60),y(4,bn,3,4,"li",null,lt),r()()),t&2){let e=c(4);a(4),M(e.selectedPlace.species)}}function Pn(t,o){if(t&1&&(_(0,xn,3,0,"div",57),_(1,vn,6,0,"div",58)),t&2){let e=c(3);h(e.pois.length?0:-1),a(),h(e.selectedPlace.species!=null&&e.selectedPlace.species.length?1:-1)}}function yn(t,o){if(t&1){let e=P();s(0,"div",49)(1,"div",50),C("click",function(){b(e);let i=c(2);return v(i.onClickTooltipTitle())}),s(2,"i",34),p(3,"keyboard_arrow_left"),r(),p(4),r(),_(5,hn,5,5,"a",54),_(6,un,4,2,"div",55)(7,Pn,2,2),s(8,"a",53),p(9),r()()}if(t&2){let e=c(2);a(4),B(" ",e.selectedPlace.name," "),a(),h(e.selectedPlace.overview?5:-1),a(),h(e.overviewVisible?6:7),a(2),m("routerLink",xe(5,Lt,e.selectedPlace.id,e.selectedPlace.slug)),a(),B(" View ",e.selectedPlace.type," Details ")}}function Mn(t,o){if(t&1&&(_(0,dn,11,4,"div",49),_(1,yn,10,8,"div",49)),t&2){let e=c();h(e.selectedWarning?0:-1),a(),h(e.selectedPlace?1:-1)}}var u=(function(t){return t[t.DEFAULT=0]="DEFAULT",t[t.EXPANDED=1]="EXPANDED",t[t.COLLAPSED=2]="COLLAPSED",t})(u||{}),Se=(()=>{class t{get bottomSheetExpanded(){return this.bottomSheetState==u.EXPANDED}get bottomSheetCollapsed(){return this.bottomSheetState==u.COLLAPSED}constructor(e,n,i,l,d,S,w){this.searchService=e,this.responsive=n,this.locationService=i,this.route=l,this.location=d,this.meta=S,this.title=w,this.urlUpdated=!1,this.selectedPlace=null,this.pois=[],this.highlightedPlace=null,this.filters={},this.mobileFiltersVisible=!1,this.mapPadding=[0,0,0,0],this.rcasAreVisible=!1,this.hoveredPlaceId=null,this.countries=[{title:"Any",value:null}],this.admAreas=[{title:"Any",value:null}],this.sorts=[{title:"Popularity",value:"popularity"},{title:"Alphabetical",value:"alphabetical"}],this.countryIndex=0,this.admAreaIndex=0,this.sortIndex=0,this.places=null,this.searchPlacesFunc=W=>this.searchService.placesInBounds(W),this.bottomSheetState=u.DEFAULT,this.bottomSheetStateToStyleTopPx=new Map([[u.DEFAULT,0],[u.EXPANDED,0],[u.COLLAPSED,0]]),this.bottomSheetStyleTopPx=0,this.bottomSheetDragging=!1,this.bottomSheetDragThreshold=10,this.bottomSheetExpandedPadding=88,this.bottomSheetPointer=null,this.suppressHandleClick=!1,this.subscriptions=[]}ngOnInit(){this.setMetaData();let e=this.responsive.isLarge;this.subscriptions.push(this.route.params.pipe(V(n=>!!n.term)).subscribe({next:n=>this.term=n.term,error:console.error}),this.searchService.countryFilters().subscribe(n=>this.countries=[{title:"Any",value:null},...n]),this.searchService.admAreaFilters().subscribe(n=>this.admAreas=[{title:"Any",value:null},...n]),this.locationService.requestFromBrowser().subscribe(n=>{this.userCoordinate=n,this.sorts=[...this.sorts,{title:"Distance",value:"distance"}]}),this.locationService.requestFromServer().subscribe(n=>{this.userCoordinate||(this.userCoordinate=n,this.sorts=[...this.sorts,{title:"Distance",value:"distance"}])}),this.responsive.l.subscribe(n=>{n!=e&&this.recalculateMapPadding(),e=n}))}ngOnDestroy(){this.releaseBottomSheetPointer(),this.subscriptions.forEach(e
2=>e.unsubscribe())}ngAfterViewInit(){if(typeof window>"u"||typeof document>"u")return;let e=this.bottomSheetElement?.nativeElement;if(!e)return;let n=this.calcHeights(e);setTimeout(()=>{this.bottomSheetStyleTopPx=n}),this.recalculateMapPadding()}onHandlePointerDown(e){!e.isPrimary||e.button!==0||this.bottomSheetPointer||(this.suppressHandleClick=!1,this.bottomSheetPointer={id:e.pointerId,startX:e.clientX,startY:e.clientY,startState:this.bottomSheetState},this.bottomSheetHandleElement.nativeElement.setPointerCapture(e.pointerId))}onHandlePointerMove(e){let n=this.bottomSheetPointer;if(!n||e.pointerId!==n.id)return;let i=e.clientY-n.startY;if(!this.bottomSheetDragging){if(Math.abs(i)<=this.bottomSheetDragThreshold||Math.abs(i)<=Math.abs(e.clientX-n.startX))return;this.bottomSheetDragging=!0,this.suppressHandleClick=!0}let l=this.bottomSheetStateToStyleTopPx.get(n.startState);n.startState===u.EXPANDED&&(l+=this.bottomSheetExpandedPadding);let d=this.bottomSheetStateToStyleTopPx.get(u.EXPANDED)+this.bottomSheetExpandedPadding,S=this.bottomSheetStateToStyleTopPx.get(u.COLLAPSED);this.bottomSheetStyleTopPx=Math.max(d,Math.min(S,l+i))}onHandlePointerUp(e){let n=this.bottomSheetPointer;
2if(!n||e.pointerId!==n.id)return;this.onHandlePointerMove(e);let i=this.bottomSheetDragging;if(this.releaseBottomSheetPointer(),!i)return;let l=e.clientY-n.startY,d=this.bottomSheetDragThreshold,S=this.bottomSheetStateToStyleTopPx.get(u.DEFAULT),w=n.startState;if(l<-d){let W=this.bottomSheetStyleTopPx<S-d;w=n.startState===u.COLLAPSED&&!W?u.DEFAULT:u.EXPANDED}else if(l>d){let W=this.bottomSheetStyleTopPx>S+d;w=n.startState===u.EXPANDED&&!W?u.DEFAULT:u.COLLAPSED}this.setBottomSheetState(w)}onHandlePointerCancel(e){let n=this.bottomSheetPointer;if(!n||e.pointerId!==n.id)return;let i=this.bottomSheetDragging;this.releaseBottomSheetPointer(),i&&this.setBottomSheetState(n.startState)}releaseBottomSheetPointer(){let e=this.bottomSheetPointer;this.bottomSheetPointer=null,this.bottomSheetDragging=!1;let n=this.bottomSheetHandleElement?.nativeElement;e&&n?.hasPointerCapture(e.id)&&n.releasePointerCapture(e.id)}onContentChanged(){let e=this.bottomSheetElement?.nativeElement;e&&(this.calcHeights(e),this.setBottomSheetState(this.bottomSheetState))}onPlaceHovered(e){let n=e?.id;this.hoveredPlaceId=n,this.hoveredPlaceId&&this.waterbodyItemComponents.forEach(i=>{if(i.place.id==n){let l=i.element.nativeElement;setTimeout(()=>l?.scrollIntoView({behavior:"smooth"}))}})}onMarkerClick(e){this.selectedWarning=null,this.selectedPlace=e,this.highlightedPlace=e,this.overviewVisible=!1,this.pois.length=0,e?.number_of_contour_maps&&this.pois.push({title:"Contour Map",count:e.number_of_contour_maps}),e?.rec_sites&&this.pois.push({title:"Rec Sites",count:e.rec_sites}),e?.boat_launches&&this.pois.push({title:"Boat Launch",count:e.boat_launches}),this.setBottomSheetState(u.DEFAULT)}onTermChange(e){this.term=e,this.updateUrl(),this.recalculateMapPadding()}searchKeyUp(e){(e.code==="Enter"||e.keyCode===13)&&e.target.blur()}setSearchResultsPlaces(e){this.selectedPlace=null,this.selectedWarning=null,this.places=this.term?e:null}setNearby(e){this.term=null,this.places=e}toggleOverview(){this.overviewVisible=!this.overviewVisible}toggleFilter(){this.filterOpen=!this.filterOpen}selectCountry(e){this.countryIndex=e}selectAdmArea(e){this.admAreaIndex=e}selectSort(e){this.sortIndex=e}toggleMobileFilters(){this.mobileFiltersVisible=!this.mobileFiltersVisible}performFilters(){let e={};if(this.countryIndex){let n=this.countries[this.countryIndex].value;e.country=n}if(this.admAreaIndex){let n=this.admAreas[this.admAreaIndex].value;e.administrative_area=n}if(this.sortIndex){let n=this.sorts[this.sortIndex].value;e.order=n,n==="distance"&&(e.latitude=this.userCoordinate.latitude.toString(),e.longitude=this.userCoordinate.longitude.toString())}this.filters=e,this.mobileFiltersVisible=!1,this.filterOpen=!1}onHoverSearchWaterbodyItem(e,n){setTimeout(()=>{this.highlightedPlace=n?e:null})}onClickHandle(e){if(this.suppressHandleClick&&e.detail!==0){this.suppressHandleClick=!1,e.preventDefault();return}let n=this.bottomSheetState===u.DEFAULT?u.EXPANDED:u.DEFAULT;this.setBottomSheetState(n)}onClickTooltipTitle(){this.selectedPlace=null,this.selectedWarning=null,this.highlightedPlace=null}handleRcaSelected(e,n){this.selectedPlace=null,this.selectedWarning={title:"Rockfish Conservation Area",note:"Fishing is prohibited in this area.",icon:"assets/icons/no-fishing.svg",link:["/rockfish-conservation-areas"],coordinate:Xe(n,"EPSG:3857","EPSG:4326")}}handleRcaVisibility(e){this.rcasAreVisible=e}updateUrl(){let e="/search/waterbodies";this.term&&(e+="/"+this.term),e!==this.location.path(!1)&&(this.location.go(e),this.urlUpdated=!0)}recalculateMapPadding(){setTimeout(()=>{if(!this.responsive.isSmall)this.mapPadding=[24,8,16,428];else{let e=this.bottomSheetElement.nativeElement.getBoundingClientRect().height+8;this.mapPadding=[78,8,e,8]}},150)}setMetaData(){this.title.setTitle("Find Waterbodies | Angler's Atlas"),this.meta.updateTag({name:"description",content:"Find thousands of lakes, rivers, and other fishing spots, with free fishing maps across Canada and into the United States."})}setBottomSheetState(e){this.bottomSheetStyleTopPx=this.bottomSheetStateToStyleTopPx.get(e),this.bottomSheetState=e,this.recalculateMapPadding()}calcHeights(e){let n=e.parentElement.offsetHeight,i=n/2;return this.bottomSheetStateToStyleTopPx.set(u.DEFAULT,i),this.bottomSheetStateToStyleTopPx.set(u.COLLAPSED,n-40),i}static{this.\u0275fac=function(n){return new(n||t)(g(F),g(z),g(it),g($),g(oe),g(re),g(ae))}}static{this.\u0275cmp=O({type:t,selectors:[["app-waterbody"]],viewQuery:function(n,i){if
2(n&1&&Fe(kt,5)(It,5)(pe,5)(he,5),n&2){let l;q(l=Y())&&(i.bottomSheetElement=l.first),q(l=Y())&&(i.bottomSheetHandleElement=l.first),q(l=Y())&&(i.mapHighlightPlaceComponent=l.first),q(l=Y())&&(i.waterbodyItemComponents=l)}},standalone:!1,decls:33,vars:45,consts:[["bottomSheet",""],["bottomSheetHandle",""],["rcaIndicator",""],["tooltip",""],["countrySelect",""],["admAreaSelect",""],["sortSelect",""],[1,"wrapper",3,"cdkObserveContent","debounce","cdkObserveContentDisabled"],[3,"isLoading","totalItems","results","term","filters"],["zoomPosition","bottom",3,"interactionRestrictionsEnabled","additionalPadding"],[3,"selected","featuresAreVisible","minZoom"],[3,"places","shouldHover","shouldDeselect"],[3,"paddingInPixels","lookupFunction"],[3,"coordinate","templateRef","offset"],[3,"place","useTooltip"],[1,"bottom-sheet"],[1,"handle",3,"pointerdown","pointermove","pointerup","pointercancel","lostpointercapture","click"],[1,"scrollable"],[1,"search-bar-wrapper","tailwind"],[1,"w-full","relative","border-b","border-gray-100","md:rounded","md:border"],["type","text","name","query","id","query","placeholder","Search waterbodies",1,"browser-default","rounded","pl-3","pr-12","block","w-full","h-10","border-0","placeholder:text-gray-300",3,"ngModelChange","keyup","ngModel"],[1,"absolute","inset-y-0","right-0","pr-3","flex","items-center"],["name","search","svgClass","fill-gray-300"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"placeSelected","placeHovered","places","shouldHover","shouldDeselect"],[3,"selected","results","paddingInPixels","lookupFunction"],[3,"onClose","coordinate","templateRef","offset"],[4,"ngTemplateOutlet"],[1,"title"],[1,"break"],[1,"primary-color-text"],[1,"filter"],[3,"place","highlight"],[1,"primary-color-text",3,"click"],[1,"material-icons"],[1,"filter-title"],[1,"filter-options"],[3,"multipleSelect"],["appSelectTitle",""],[3,"multipleSelect","selected"],[1,"btn","primary-btn",3,"click"],[3,"click","multipleSelect","selected"],[3,"hovered","place","highlight"],[1,"font-color-text","!no-underline",3,"routerLink","hide-on-med-and-up","hide-on-small-only"],[1,"font-color-text","!no-underline",3,"routerLink"],[1,"rca-indicator"],["src","assets/rca.png"],[1,"content"],[1,"subtitle"],[1,"tooltip"],[1,"title",3,"click"],[1,"warning-text"],[3,"src"],[1,"btn","primary-btn",3,"routerLink"],[1,"overview",3,"back"],[1,"overview-text"],[1,"overview",3,"click"],[1,"pois"],[1,"species"],[1,"divider"],[1,"browser-default"],[3,"routerLink"]],template:function(n,i){if(n&1&&(s(0,"div",7),T(1,"async"),C("cdkObserveContent",function(){return i.onContentChanged()}),s(2,"app-search-mechanic",8),C("isLoading",function(d){return i.isLoading=d})("totalItems",function(d){return i.totalItems=d})("results",function(d){return i.setSearchResultsPlaces(d)}),r(),s(3,"app-empty-map",9)(4,"app-map-rca-layer",10),C("selected",function(d){return i.handleRcaSelected(d.feature,d.coordinate)})("featuresAreVisible",function(d){return i.handleRcaVisibility(d)}),r(),_(5,jt,1,0,"app-map-is-loading"),_(6,Ht,1,3,"app-map-places",11)(7,$t,1,2,"app-map-places-in-area",12),_(8,Ut,1,8,"app-map-overlay",13),T(9,"async"),x(10,"app-map-highlight-place",14),r(),s(11,"div",15,0),T(13,"async"),T(14,"async"),T(15,"async"),s(16,"div",16,1),T(18,"async"),C("pointerdown",function(d){return i.onHandlePointerDown(d)})("pointermove",function(d){return i.onHandlePointerMove(d)})("pointerup",function(d){return i.onHandlePointerUp(d)})("pointercancel",function(d){return i.onHandlePointerCancel(d)})("lostpointercapture",function(d){return i.onHandlePointerCancel(d)})("click",function(d){return i.onClickHandle(d)}),x(19,"div"),r(),_(20,Xt,2,1,"div",17),T(21,"async"),Ie(22,an,1,1),r(),s(23,"div",18)(24,"div",19)(25,"input",20),C("ngModelChange",function(d){return i.onTermChange(d)})("keyup",function(d){return i.searchKeyUp(d)}),r(),s(26,"div",21),x(27,"svg-icon",22),r()(),H(28,sn,1,0,"ng-container",23),r()(),H(29,cn,1,1,"ng-template",null,2,be)(31,Mn,2,2,"ng-template",null,3,be)),n&2){let l=k(30);m("debounce",60)("cdkObserveContentDisabled",E(1,30,i.responsive.s)!==!0),a(2),m("term",i.term)("filters",i.filters),a(),m("interactionRestrictionsEnabled",!1)("additionalPadding",i.mapPadding),a(),m("minZoom",8),a(),h(i.isLoading?5:-1),a(),h(i.term?6:7),a(2),h(E(9,32,i.responsive.s)!==!0?8:-1),a(2),m("place",i.highlightedPlace)("useTooltip",!1),a(),ue("display",(i.selectedPlace||i.selectedWarning)&&E(13,34,i.responsive.s)===!0||i.places!=null?null:"none")("top",E(14,36,i.responsive.s)===!0?i.bottomSheetStyleTopPx:null,"px")("height",E(15,38,i.responsive.s)===!0?"calc(100% - "+i.bottomSheetStyleTopPx+"px)":null),I("expanded",i.bottomSheetExpanded)("collapsed",i.bottomSheetCollapsed)("dragging",i.bottomSheetDragging),a(5),ue("display",E(18,40,i.responsive.s)!==!0?"none":null),a(4),h((i.selectedPlace||i.selectedWarning)&&E(21,42,i.responsive.s)===!0?20:22),a(5),m("ngModel",i.term),a(3),m("ngTemplateOutlet",l)("ngTemplateOutletContext",ie(44,Ft))}},dependencies:[se,le,ce,We,U,pe,qe,Ke,Ye,Ge,Qe,Ze,Ue,N,st,de,nt,me,he,De],styles:[`.wrapper[_ngcontent-%COMP%]{height:calc(100vh - 60px);width:100%;position:relative}@media only screen and (max-width:600px){.wrapper[_ngcontent-%COMP%]{height:calc(100dvh - 56px)}}.wrapper[_ngcontent-%COMP%]   .search-bar-wrapper[_ngcontent-%COMP%]{position:absolute;width:calc(100% - 32px);top:24px;left:16px}@media only screen and (min-width:601px){.wrapper[_ngcontent-%COMP%]   .search-bar-wrapper[_ngcontent-%COMP%]{max-width:388px}}.wrapper[_ngcontent-%COMP%]   .search-bar-wrapper[_ngcontent-%COMP%]   .search-bar[_ng
2content-%COMP%]{margin:0;flex:1 1 auto;border-radius:4px;border:1px solid #c4c8d1;box-shadow:none;display:flex}.wrapper[_ngcontent-%COMP%]   .search-bar-wrapper[_ngcontent-%COMP%]   .search-bar[_ngcontent-%COMP%], .wrapper[_ngcontent-%COMP%]   .search-bar-wrapper[_ngcontent-%COMP%]   .search-bar[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{height:38px;line-height:38px}.wrapper[_ngcontent-%COMP%]   .search-bar-wrapper[_ngcontent-%COMP%]   .search-bar[_ngcontent-%COMP%]   app-global-search[_ngcontent-%COMP%]{flex:1}.wrapper[_ngcontent-%COMP%]   .search-bar-wrapper[_ngcontent-%COMP%]   .search-bar[_ngcontent-%COMP%]   app-global-search[_ngcontent-%COMP%]     i{color:#979aa3}.wrapper[_ngcontent-%COMP%]   .search-bar-wrapper[_ngcontent-%COMP%]   .search-bar[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{border-left:1px solid #EAEDF3;color:#979aa3;cursor:pointer}.wrapper[_ngcontent-%COMP%]   .search-bar-wrapper[_ngcontent-%COMP%]   .search-bar[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   .material-icons[_ngcontent-%COMP%]{padding:6px}.wrapper[_ngcontent-%COMP%]   .search-bar-wrapper[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{height:38px;line-height:38px;margin-left:10px;flex:0 0 auto;padding:0 12px;min-width:auto}.wrapper[_ngcontent-%COMP%]   .bottom-sheet[_ngcontent-%COMP%]{position:absolute;width:100%;display:flex;flex-direction:column;background:#fff}@media only screen and (min-width:601px){.wrapper[_ngcontent-%COMP%]   .bottom-sheet[_ngcontent-%COMP%]{background:#f8f8f8}}@media only screen and (max-width:600px){.wrapper[_ngcontent-%COMP%]   .bottom-sheet[_ngcontent-%COMP%]{right:0;bottom:0;left:0;transition:top .15s ease,height .15s ease}.wrapper[_ngcontent-%COMP%]   .bottom-sheet.dragging[_ngcontent-%COMP%]{transition:none}.wrapper[_ngcontent-%COMP%]   .bottom-sheet.dragging[_ngcontent-%COMP%], .wrapper[_ngcontent-%COMP%]   .bottom-sheet[_ngcontent-%COMP%]:not(.expanded){border-top-left-radius:12px;border-top-right-radius:12px;box-shadow:0 -4px 8px #0000003d}.wrapper[_ngcontent-%COMP%]   .bottom-sheet.expanded[_ngcontent-%COMP%]   .handle[_ngcontent-%COMP%], .wrapper[_ngcontent-%COMP%]   .bottom-sheet.expanded[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%], .wrapper[_ngcontent-%COMP%]   .bottom-sheet.expanded[_ngcontent-%COMP%]   .scrollable[_ngcontent-%COMP%], .wrapper[_ngcontent-%COMP%]   .bottom-sheet.expanded[_ngcontent-%COMP%]   .empty[_ngcontent-%COMP%]{background:#f8f8f8}.wrapper[_ngcontent-%COMP%]   .bottom-sheet.expanded[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:first-child{border-top:1px solid #D8DCE6}.wrapper[_ngcontent-%COMP%]   .bottom-sheet.collapsed[_ngcontent-%COMP%]:not(.dragging) > *[_ngcontent-%COMP%]:not(.handle){display:none}.wrapper[_ngcontent-%COMP%]   .bottom-sheet.expanded[_ngcontent-%COMP%]:not(.dragging){padding-top:88px}}@media only screen and (min-width:601px){.wrapper[_ngcontent-%COMP%]   .bottom-sheet[_ngcontent-%COMP%]{top:0;bottom:0;left:0;max-width:420px;padding-top:78px;box-shadow:1px 0 6px #0003}}.wrapper[_ngcontent-%COMP%]   .bottom-sheet[_ngcontent-%COMP%]   .handle[_ngcontent-%COMP%]{touch-action:pan-x;-webkit-user-select:none;user-select:none;flex-shrink:0;height:40px;display:flex;align-items:center;justify-content:center}.wrapper[_ngcontent-%COMP%]   .bottom-sheet[_ngcontent-%COMP%]   .handle[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:48px;height:4px;border-radius:4px;background-color:#afafaf}.wrapper[_ngcontent-%COMP%]   .bottom-sheet[_ngcontent-%COMP%] > .title[_ngcontent-%COMP%]{flex-shrink:0;display:flex;justify-content:space-between;padding-left:8px;padding-right:8px}@media only screen and (min-width:601px){.wrapper[_ngcontent-%COMP%]   .bottom-sheet[_ngcontent-%COMP%] > .title[_ngcontent-%COMP%]{padding-left:24px;padding-right:24px}}.wrapper[_ngcontent-%COMP%]   .bottom-sheet[_ngcontent-%COMP%] > .title[_ngcontent-%COMP%]{padding-top:16px;padding-bottom:16px}@media only screen and (min-width:601px){.wrapper[_ngcontent-%COMP%]   .bottom-sheet[_ngcontent-%COMP%] > .title[_ngcontent-%COMP%]{padding-top:24px;padding-bottom:24px}}.wrapper[_ngcontent-%COMP%]   .bottom-sheet[_ngcontent-%COMP%] > .title[_ngcontent-%COMP%]{font-weight:600;font-size:16px}.wrapper[_ngcontent-%COMP%]   .bottom-sheet[_ngcontent-%COMP%] > .title[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{display:flex;align-items:center;text-transform:uppercase;font-weight:700;cursor:pointer;-webkit-user-select:none;user-select:none}.wrapper[_ngcontent-%COMP%]   .bottom-sheet[_ngcontent-%COMP%] > .title[_ngcontent-%COMP%]   .break[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wrapper[_ngcontent-%COMP%]   .bottom-sheet[_ngcontent-%COMP%]   .scrollable[_ngcontent-%COMP%]{flex-grow:1;overflow:auto;padding-left:8px;padding-right:8px}@media only screen and (min-width:601px){.wrapper[_ngcontent-%COMP%]   .bottom-sheet[_ngcontent-%COMP%]   .scrollable[_ngcontent-%COMP%]{padding-left:24px;padding-right:24px}}.wrapper[_ngcontent-%COMP%]   .bottom-sheet[_ngcontent-%COMP%]   .scrollable[_ngcontent-%COMP%]{padding-bottom:24px}.wrapper[_ngcontent-%COMP%]   .bottom-sheet[_ngcontent-%COMP%]   .scrollable[_ngcontent-%COMP%]   app-search-waterbody-item[_ngcontent-%COMP%] + app-search-waterbody-item[_ngcontent-%COMP%]{margin-top:16px}.wrapper[_ngcontent-%COMP%]   .bottom-sheet[_ngcontent-%COMP%]   .empty[_ngcontent-%COMP%]{flex-grow:1;word-break:break-word;font-weight:600;font-size:16px;color:#979aa3;padding:28px 24px 0}.wrapper[_ngcontent-%COMP%]   .bottom-sheet[_ngcontent-%COMP%]   .tooltip[_ngcontent-%COMP%]{width:100%}.wrapper[_ngcontent-%COMP%]   .bottom-sheet[_ngcontent-%COMP%]   .tooltip[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:not(.overview){width:calc(100% - 16px);margin-left:8px;margin-right:8px}.wrapper[_ngcontent-%COMP%]   .bottom-sheet[_ngcontent-%COMP%]   .tooltip[_ngcontent-%COMP%]   .overview[_ngcontent-%COMP%]{padding:0 8px}.wrapper[_ngcontent-%COMP%]   .bottom-sheet[_ngcontent-%COMP%]   .tooltip[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{font-weight:700;font-size:24px}.wrapper[_ngcontent-%COMP%]   .bottom-sheet[_ngcontent-%COMP%]   .tooltip[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]   i.material-icons[_ngcontent-%COMP%]{display:block;margin-right:4px;color:#6073eb}.filter[_ngcontent-%COMP%]{border-radius:4px;border:1px solid #C4C8D1;background:#eaedf3;padding:16px;display:flex;flex-direction:column;margin-bottom:16px}.filter-title[_ngcontent-%COMP%]{font-weight:600;font-size:16px;color:#3d4248}.filter-title[_ngcontent-%COMP%] + .filter-options[_ngcontent-%COMP%]{margin-top:16px}.filter-options[_ngcontent-%COMP%]{display:grid;grid-template-columns:minmax(100px,1fr) minmax(100px,1fr);row-gap:16px;align-items:center}.filter[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{margin-top:16px}@media only screen and (min-width:601px){.filter[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{justify-self:center}}.tooltip[_ngcontent-%COMP%]{width:387px}.tooltip[_ngcontent-%COMP%]   .overview[_ngcontent-%COMP%]{padding:0 16px}.tooltip[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{margin-bottom:16px;font-weight:700;font-size:18px;padding-right:20px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:flex;align-items:center}.tooltip[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]   i.material-icons[_ngcontent-%COMP%]{display:none;flex-shrink:0}.tooltip[_ngcontent-%COMP%]   .overview[_ngcontent-%COMP%]{margin-bottom:16px;margin-left:-15px;margin-right:-15px;height:36px;background:#eaedf3;font-weight:600;font-size:16px;color:#3d4248;display:flex;justify-content:space-between;align-items:center;cursor:pointer}.tooltip[_ngcontent-%COMP%]   .overview.back[_ngcontent-%COMP%]{justify-content:flex-start}.tooltip[_ngcontent-%COMP%]   .species[_ngcontent-%COMP%]{margin-bottom:16px}.tooltip[_ngcontent-%COMP%]   .species[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{text-transform:uppercase;color:#979aa3;font-weight:700;font-size:14px}.tooltip[_ngcontent-%COMP%]   .species[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{margin:0;padding-left:20px;font-weight:600;font-size:16px}.tooltip[_ngcontent-%COMP%]   .species[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%], .tooltip[_ngcontent-%COMP%]   .species[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#6073eb}.tooltip[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{width:100%}.tooltip[_ngcontent-%COMP%]   .overview-text[_ngcontent-%COMP%]{margin-bottom:16px}.tooltip[_ngcontent-%COMP%]   .overview-text[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{display:block;width:100%;max-height:250px;margin-bottom:16px;object-fit:cover;object-position:top}.tooltip[_ngcontent-%COMP%]   .overview-text[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{white-space:break-spaces}.pois[_ngcontent-%COMP%]{margin-bottom:16px;background:#f0f1fd;border-radius:4px;padding:8px;display:flex;align-items:center;justify-content:center;width:100%}.pois[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{display:flex;flex-direction:column-reverse;align-items:center;text-transform:uppercase}.pois[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:not(.divider){flex-grow:1;flex-shrink:0}.pois[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-size:14px;font-weight:600}.pois[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   span[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]{font-size:32px}.pois[_ngcontent-%COMP%]   .divider[_ngcontent-%COMP%]{border-right:1px solid #979AA3;height:100%;padding:24px 0}.search-bar-wrapper[_ngcontent-%COMP%]   .rca-indicator[_ngcontent-%COMP%]{margin:8px 0 0;padding:8px}.search-bar-wrapper[_ngcontent-%COMP%]   .rca-indicator[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]{padding:0 12px}.search-bar-wrapper[_ngcontent-%COMP%]   .rca-indicator[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{font-size:16px}.rca-indicator[_ngcontent-%COMP%]{background:#fff;border:1px solid #D8DCE6;border-radius:4px;display:flex;margin-bottom:16px;padding:16px;align-items:center}.rca-indicator[_ngcontent-%COMP%]:hover{background:#f0f1fd}.rca-indicator[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]{padding:0 16px;flex:1;font-weight:600}.rca-indicator[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{color:#f24d33;font-size:18px}.rca-indicator[_ngcontent-%COMP%]   .subtitle[_ngcontent-%COMP%]{font-size:14px;color:#979aa3}.warning-text[_ngcontent-%COMP%]{display:flex;margin:-8px 0 16px;font-size:18px;font-weight:600;color:#f24d33}.warning-text[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{margin-right:8px}
3/*# sourceMappingURL=waterbody.component-FYUPDVUF.css.map */`]})}}return t})();var ct=()=>Ee(F).fish().pipe(L(o=>o.slice(0,12)),Te(o=>(console.error(o),A([])))),pt=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=ne({type:t})}static{this.\u0275inj=ee({imports:[ve.forChild([{path:"",component:_e,children:[{path:"",redirectTo:"fish",pathMatch:"full"}
3,{path:"fish",component:ye,data:{subtitle:"Fish species"},resolve:{topFish:ct}},{path:"fish/:term",component:ye,data:{subtitle:"Fish species"},resolve:{topFish:ct}}]},{path:"water-bodies",redirectTo:"waterbodies",pathMatch:"full"},{path:"water-bodies/:term",redirectTo:"waterbodies/:term",pathMatch:"full"},{path:"waterbodies",component:Se,data:{shouldHideMobileFooter:!0}},{path:"waterbodies/:term",component:Se,data:{shouldHideMobileFooter:!0}}]),ve]})}}return t})();var $i=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=ne({type:t,bootstrap:[_e]})}static{this.\u0275inj=ee({imports:[$e,Be,He,pt,Je,Ne,N,de,me]})}}return t})();export{$i as SearchModule};
4//# sourceMappingURL=chunk-SJ3WSGEX.js.map

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