1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3185],{1928:function(e,t,n){Promise.resolve().then(n.t.bind(n,7960,23)),Promise.resolve().then(n.bind(n,6832)),Promise.resolve().then(n.bind(n,420)),Promise.resolve().then(n.bind(n,5660)),Promise.resolve().then(n.bind(n,9346)),Promise.resolve().then(n.bind(n,9197)),Promise.resolve().then(n.bind(n,1952))},6832:function(e,t,n){"use strict";n.d(t,{AppNudge:function(){return c}});var r=n(7437),i=n(2265),o=n(9376);let a="huck_app_nudge",s=["/premium","/account","/scan","/embed","/get","/press","/blog"];function c(){let e=(0,o.usePathname)(),[t,n]=(0,i.useState)(!1),[c,l]=(0,i.useState)(!1);function u(){try{localStorage.setItem(a,"done")}catch(e){}}return((0,i.useEffect)(()=>{var t,r;if(s.some(t=>null==e?void 0:e.startsWith(t))||!function(){if("undefined"==typeof navigator)return!1;let e=navigator.userAgent;return!!/iPhone|iPod/i.test(e)||/Macintosh/.test(e)&&"number"==typeof navigator.maxTouchPoints&&navigator.maxTouchPoints>1}()||(null===(t=(r=window).matchMedia)||void 0===t?void 0:t.call(r,"(display-mode: standalone)").matches)||!0===window.navigator.standalone||function(){if("undefined"==typeof navigator)return!1;let e=navigator.userAgent;return!(/CriOS|FxiOS|EdgiOS|OPiOS|YaBrowser|DuckDuckGo/i.test(e)||/FBAN|FBAV|FB_IAB|Instagram|Line\/|MicroMessenger|musical_ly|Bytedance|Snapchat/i.test(e))&&/Safari\//.test(e)&&/Version\//.test(e)}())return;try{if("done"===localStorage.getItem(a))return}catch(e){}let i=setTimeout(()=>{n(!0),requestAnimationFrame(()=>l(!0))},4e3);return()=>clearTimeout(i)},[e]),t)?(0,r.jsxs)("div",{role:"complementary","aria-label":"Get the Huck app",style:{position:"fixed",left:10,right:10,bottom:"calc(10px + env(safe-area-inset-bottom, 0px))",zIndex:900,display:"flex",alignItems:"center",gap:12,background:"var(--ff-parchment, #f4ead2)",border:"1px solid rgba(138,106,67,0.35)",borderRadius:14,boxShadow:"0 8px 26px rgba(42,36,27,0.3)",padding:"10px 12px",transform:c?"translateY(0)":"translateY(20px)",opacity:c?1:0,transition:"transform 0.28s ease, opacity 0.28s ease",fontFamily:"var(--ff-sans)"},children:[(0,r.jsx)("img",{src:"/app-icon-180.png",alt:"",width:46,height:46,style:{flex:"0 0 auto",borderRadius:10,boxShadow:"0 1px 3px rgba(42,36,27,0.25)"}}),(0,r.jsxs)("div",{style:{flex:1,minWidth:0},children:[(0,r.jsx)("div",{style:{fontSize:15,fontWeight:600,color:"var(--ff-dark-ink, #2a241b)",lineHeight:1.2,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:"Huck: Animal, Plant & Fish ID"}),(0,r.jsx)("div",{style:{fontSize:12.5,color:"var(--ff-soft-brown, #8a6a43)",marginTop:1,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:"Free on the App Store"})]}),(0,r.jsx)("a",{href:"https://apps.apple.com/us/app/huck-animal-identifier/id6778637711",onClick:u,className:"ff-button",style:{flex:"0 0 auto",fontSize:14,padding:"9px 14px",textDecoration:"none"},children:"Get"}),(0,r.jsx)("button",{type:"button","aria-label":"Dismiss",onClick:function(){u(),l(!1),setTimeout(()=>n(!1),220)},style:{flex:"0 0 auto",width:28,height:28,borderRadius:"50%",border:"none",background:"transparent",color:"var(--ff-soft-brown, #8a6a43)",fontSize:20,lineHeight:1,cursor:"pointer"},children:"\xd7"})]}):null}},420:function(e,t,n){"use strict";n.d(t,{ExtensionNudge:function(){return c}});var r=n(7437),i=n(2265),o=n(9376);let a="huck_ext_nudge",s=["/new-tab","/premium","/account","/embed","/press","/blog"];function c(){let e=(0,o.usePathname)(),[t,n]=(0,i.useState)(!1),[c,l]=(0,i.useState)(!1);function u(){try{localStorage.setItem(a,"done")}catch(e){}}function d(){u(),l(!1),setTimeout(()=>n(!1),220)}return((0,i.useEffect)(()=>{if(s.some(t=>null==e?void 0:e.startsWith(t))||!function(){if("undefined"==typeof navigator)return!1;let e=navigator.userAgent;return!/Android|iPhone|iPad|iPod|Mobile/i.test(e)&&/Chrome\//.test(e)&&!/Edg\/|OPR\/|SamsungBrowser/i.test(e)&&"Google Inc."===navigator.vendor}())return;try{if("done"===localStorage.getItem(a))return}catch(e){}let t=setTimeout(()=>{n(!0),requestAnimationFrame(()=>l(!0))},3e4);return()=>clearTimeout(t)},[e]),t)?(0,r.jsxs)("div",{role:"complementary","aria-label":"Get the Huck
1new tab extension",style:{position:"fixed",right:20,bottom:20,zIndex:900,width:320,maxWidth:"calc(100vw - 40px)",background:"var(--ff-parchment, #f4ead2)",border:"1px solid rgba(138,106,67,0.35)",borderRadius:"var(--ff-radius, 12px)",boxShadow:"0 10px 30px rgba(42,36,27,0.28)",padding:"14px 14px 16px",transform:c?"translateY(0)":"translateY(16px)",opacity:c?1:0,transition:"transform 0.28s ease, opacity 0.28s ease",fontFamily:"var(--ff-sans)"},children:[(0,r.jsx)("button",{type:"button","aria-label":"Dismiss",onClick:d,style:{position:"absolute",top:8,right:8,width:24,height:24,borderRadius:"50%",border:"none",background:"transparent",color:"var(--ff-soft-brown, #8a6a43)",fontSize:18,lineHeight:1,cursor:"pointer"},children:"\xd7"}),(0,r.jsxs)("div",{style:{display:"flex",gap:12,alignItems:"center"},children:[(0,r.jsx)("img",{src:"/api/illustration/sialia_sialis?size=thumb",alt:"",width:56,height:56,style:{flex:"0 0 auto",filter:"drop-shadow(0 2px 4px rgba(42,36,27,0.2))"}}),(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{className:"ff-serif",style:{fontSize:16,fontWeight:600,color:"var(--ff-dark-ink, #2a241b)",lineHeight:1.25},children:"A new species on every tab"}),(0,r.jsx)("div",{style:{fontSize:12.5,color:"var(--ff-soft-brown, #8a6a43)",marginTop:2},children:"Huckâs free new-tab extension for Chrome"})]})]}),(0,r.jsxs)("div",{style:{display:"flex",gap:8,marginTop:12},children:[(0,r.jsx)("a",{href:"https://chromewebstore.google.com/detail/huck-wildlife-new-tab-nat/nbhfomnplmakkbpocpoafamdppiaihje",target:"_blank",rel:"noopener",onClick:u,style:{flex:1,textAlign:"center",background:"var(--ff-forest-green, #234b35)",color:"var(--ff-parchment, #f4ead2)",fontWeight:700,fontSize:14,padding:"9px 12px",borderRadius:999,textDecoration:"none"},children:"Add to Chrome"}),(0,r.jsx)("button",{type:"button",onClick:d,style:{background:"transparent",border:"none",color:"var(--ff-soft-brown, #8a6a43)",fontSize:13,cursor:"pointer",padding:"0 4px"},children:"Not now"})]})]}):null}},9346:function(e,t,n){"use strict";n.d(t,{VisitorTracker:function(){return s}});var r=n(2265),i=n(9376),o=n(4454);let a="huck_visitor";function s(){let e=(0,i.usePathname)();return(0,r.useEffect)(()=>{if(null==e||!e.startsWith("/embed"))try{var t;let e=new Date().toISOString().slice(0,10),n=localStorage.getItem(a);if(!n){localStorage.setItem(a,JSON.stringify({first:e,last:e,visits:1}));return}let r=JSON.parse(n);if(r.last===e)return;let i=(null!==(t=r.visits)&&void 0!==t?t:1)+1,s=Math.max(0,Math.round((Date.parse(e)-Date.parse(r.first))/864e5));(0,o.j)("returning_visitor",{visits:i,daysSinceFirst:s}),localStorage.setItem(a,JSON.stringify({...r,last:e,visits:i}))}catch(e){}},[e]),null}},9376:function(e,t,n){"use strict";var r=n(5475);n.o(r,"useParams")&&n.d(t,{useParams:function(){return r.useParams}}),n.o(r,"usePathname")&&n.d(t,{usePathname:function(){return r.usePathname}}),n.o(r,"useSearchParams")&&n.d(t,{useSearchParams:function(){return r.useSearchParams}})},257:function(e,t,n){"use strict";var r,i;e.exports=(null==(r=n.g.process)?void 0:r.env)&&"object"==typeof(null==(i=n.g.process)?void 0:i.env)?n.g.process:n(4227)},4227:function(e){!function(){var t={229:function(e){var t,n,r,i=e.exports={};function o(){throw Error("setTimeout has not been defined")}function a(){throw Error("clearTimeout has not been defined")}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:o}catch(e){t=o}try{n="function"==typeof clearTimeout?clearTimeout:a}catch(e){n=a}}();var c=[],l=!1,u=-1;function d(){l&&r&&(l=!1,r.length?c=r.concat(c):u=-1,c.length&&f())}function f(){if(!l){var e=s(d);l=!0;for(var t=c.length;t;){for(r=c,c=[];++u<t;)r&&r[u].run();u=-1,t=c.length}r=null,l=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===a||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function h(){}i.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new p(e,t)),1!==c.length||l||s(f)},p.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=h,i.addListener=h,i.once=h,i.off=h,i.removeListener=h,i.removeAllListeners=h,i.emit=h,i.prependListener=h,i.prependOnceListener=h,i.listeners=function(e){return[]},i.binding=function(e){throw Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw Error("process.chdir is not supported")},i.umask=function(){return 0}}},n={};function r(e){var i=n[e];if(void 0!==i)return i.exports;var o=n[e]={exports:{}},a=!0;try{t[e](o,o.exports,r),a=!1}finally{a&&delete n[e]}return o.exports}r.ab="//";var i=r(229);e.exports=i}()},7960:function(){},9197:function(e,t,n){"use strict";n.d(t,{Analytics:function(){return v}});var r=n(2265),i=n(9376),o=n(257),a=()=>{window.va||(window.va=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];window.vaq||(window.vaq=[]),window.vaq.push(t)})};function s(){return"undefined"!=typeof window}function c(){return"production"}function l(){return"development"===((s()?window.vam:c())||"production")}function u(e){return new RegExp("/".concat(e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"(?=[/?#]|$)"))}function d(e){return e.startsWith("http://")||e.startsWith("https://")||e.startsWith("/")?e:"/".concat(e)}function f(e){return(0,r.useEffect)(()=>{var t;e.beforeSend&&(null==(t=window.va)||t.call(window,"beforeSend",e.beforeSend))},[e.beforeSend]),(0,r.useEffect)(()=>{var t,n;!function(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{debug:!0},n=arguments.length>1?arguments[1]:void 0;if(!s())return;let{beforeSend:r,src:i,dataset:o}=function(e,t){var n,r;let i=e;if(t)try{i={...null==(n=JSON.parse(t))?void 0:n.analytics,...e}}catch(e){}!function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"auto";if("auto"===e){window.vam=c();return}window.vam=e}(i.mode);
1let o={sdkn:"@vercel/analytics"+(i.framework?"/".concat(i.framework):""),sdkv:"2.0.1"};return i.disableAutoTrack&&(o.disableAutoTrack="1"),i.viewEndpoint&&(o.viewEndpoint=d(i.viewEndpoint)),i.eventEndpoint&&(o.eventEndpoint=d(i.eventEndpoint)),i.sessionEndpoint&&(o.sessionEndpoint=d(i.sessionEndpoint)),l()&&!1===i.debug&&(o.debug="false"),i.dsn&&(o.dsn=i.dsn),i.endpoint?o.endpoint=i.endpoint:i.basePath&&(o.endpoint=d("".concat(i.basePath,"/insights"))),{beforeSend:i.beforeSend,src:(r=i).scriptSrc?d(r.scriptSrc):l()?"https://va.vercel-scripts.com/v1/script.debug.js":r.basePath?d("".concat(r.basePath,"/insights/script.js")):"/_vercel/insights/script.js",dataset:o}}(t,n);if(a(),r&&(null==(e=window.va)||e.call(window,"beforeSend",r)),document.head.querySelector('script[src*="'.concat(i,'"]')))return;let u=document.createElement("script");for(let[e,t]of(u.src=i,Object.entries(o)))u.dataset[e]=t;u.defer=!0,u.onerror=()=>{let e=l()?"Please check if any ad blockers are enabled and try again.":"Be sure to enable Web Analytics for your project and deploy again. See https://vercel.com/docs/analytics/quickstart for more information.";console.log("[Vercel Web Analytics] Failed to load script from ".concat(i,". ").concat(e))},document.head.appendChild(u)}({framework:e.framework||"react",basePath:null!==(t=e.basePath)&&void 0!==t?t:function(){if(void 0!==o&&void 0!==o.env)return o.env.REACT_APP_VERCEL_OBSERVABILITY_BASEPATH}(),...void 0!==e.route&&{disableAutoTrack:!0},...e},null!==(n=e.configString)&&void 0!==n?n:function(){if(void 0!==o&&void 0!==o.env)return o.env.REACT_APP_VERCEL_OBSERVABILITY_CLIENT_CONFIG}())},[]),(0,r.useEffect)(()=>{e.route&&e.path&&function(e){var t;let{route:n,path:r}=e;null==(t=window.va)||t.call(window,"pageview",{route:n,path:r})}({route:e.route,path:e.path})},[e.route,e.path]),null}var p=()=>{let e=(0,i.useParams)(),t=(0,i.useSearchParams)(),n=(0,i.usePathname)();return e?{route:function(e,t){if(!e||!t)return e;let n=e;try{let e=Object.entries(t);for(let[t,r]of e)if(!Array.isArray(r)){let e=u(r);e.test(n)&&(n=n.replace(e,"/[".concat(t,"]")))}for(let[t,r]of e)if(Array.isArray(r)){let e=u(r.join("/"));e.test(n)&&(n=n.replace(e,"/[...".concat(t,"]")))}return n}catch(t){return e}}(n,Object.keys(e).length?e:Object.fromEntries(t.entries())),path:n}:{route:null,path:n}};function h(e){let{route:t,path:n}=p();return r.createElement(f,{path:n,route:t,...e,basePath:function(){if(void 0!==o&&void 0!==o.env)return o.env.NEXT_PUBLIC_VERCEL_OBSERVABILITY_BASEPATH}
1(),configString:function(){if(void 0!==o&&void 0!==o.env)return'{"analytics":{"scriptSrc":"472f34c4d521ed8e/script.js","viewEndpoint":"472f34c4d521ed8e/view","eventEndpoint":"472f34c4d521ed8e/event","sessionEndpoint":"472f34c4d521ed8e/session"},"speedInsights":{"scriptSrc":"6e4a7a109267b90d/script.js","endpoint":"6e4a7a109267b90d/vitals"}}'}(),framework:"next"})}function v(e){return r.createElement(r.Suspense,{fallback:null},r.createElement(h,{...e}))}},1952:function(e,t,n){"use strict";n.d(t,{SpeedInsights:function(){return p}});var r=n(2265),i=n(9376),o=n(257),a=()=>{window.si||(window.si=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];window.siq=window.siq||[],window.siq.push(t)})};function s(){return false}function c(e){return new RegExp("/".concat(e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"(?=[/?#]|$)"))}function l(e){return e.startsWith("http://")||e.startsWith("https://")||e.startsWith("/")?e:"/".concat(e)}function u(e){(0,r.useEffect)(()=>{var t;e.beforeSend&&(null==(t=window.si)||t.call(window,"beforeSend",e.beforeSend))},[e.beforeSend]);let t=(0,r.useRef)(null);return(0,r.useEffect)(()=>{if(!t.current){var n,r,i;let s=function(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;if(!("undefined"!=typeof window)||null===t.route)return null;a();let{beforeSend:r,src:i,dataset:o}=function(e,t){var n,r;let i=e;if(t)try{i={...null==(n=JSON.parse(t))?void 0:n.speedInsights,...e}}catch(e){}let o={sdkn:"@vercel/speed-insights"+(i.framework?"/".concat(i.framework):""),sdkv:"2.0.0"};return i.sampleRate&&(o.sampleRate=i.sampleRate.toString()),i.route&&(o.route=i.route),i.dsn&&(o.dsn=i.dsn),i.endpoint?o.endpoint=l(i.endpoint):i.basePath&&(o.endpoint=l("".concat(i.basePath,"/speed-insights/vitals"))),{src:(r=i).scriptSrc?l(r.scriptSrc):r.dsn?"https://va.vercel-scripts.com/v1/speed-insights/script.js":r.basePath?l("".concat(r.basePath,"/speed-insights/script.js")):"/_vercel/speed-insights/script.js",beforeSend:i.beforeSend,dataset:o}}(t,n);if(document.head.querySelector('script[src*="'.concat(i,'"]')))return null;r&&(null==(e=window.si)||e.call(window,"beforeSend",r));let s=document.createElement("script");for(let[e,t]of(s.src=i,s.defer=!0,Object.entries(o)))s.dataset[e]=t;return s.onerror=()=>{console.log("[Vercel Speed Insights] Failed to load script from ".concat(i,". Please check if any content blockers are enabled and try again."))},document.head.appendChild(s),{setRoute:e=>{s.dataset.route=null!=e?e:void 0}}}({framework:null!==(n=e.framework)&&void 0!==n?n:"react",basePath:null!==(r=e.basePath)&&void 0!==r?r:function(){if(void 0!==o&&void 0!==o.env)return o.env.REACT_APP_VERCEL_OBSERVABILITY_BASEPATH}(),...e},null!==(i=e.configString)&&void 0!==i?i:function(){if(void 0!==o&&void 0!==o.env)return o.env.REACT_APP_VERCEL_OBSERVABILITY_CLIENT_CONFIG}());s&&(t.current=s.setRoute)}},[e]),(0,r.useEffect)(()=>{t.current&&e.route&&t.current(e.route)},[e.route]),null}var d=()=>{let e=(0,i.useParams)(),t=(0,i.useSearchParams)()||new URLSearchParams,n=(0,i.usePathname)();return e?function(e,t){if(!e||!t)return e;let n=e;try{let e=Object.entries(t);for(let[t,r]of e)if(!Array.isArray(r)){let e=c(r);e.test(n)&&(n=n.replace(e,"/[".concat(t,"]")))}for(let[t,r]of e)if(Array.isArray(r)){let e=c(r.join("/"));e.test(n)&&(n=n.replace(e,"/[...".concat(t,"]")))}return n}catch(t){return e}}(n,Object.keys(e).length?e:Object.fromEntries(t.entries())):null};function f(e){let t=d();return r.createElement(u,{route:t,...e,framework:"next",basePath:function(){if(void 0!==o&&void 0!==o.env)return o.env.NEXT_PUBLIC_VERCEL_OBSERVABILITY_BASEPATH}
1(),configString:function(){if(void 0!==o&&void 0!==o.env)return'{"analytics":{"scriptSrc":"472f34c4d521ed8e/script.js","viewEndpoint":"472f34c4d521ed8e/view","eventEndpoint":"472f34c4d521ed8e/event","sessionEndpoint":"472f34c4d521ed8e/session"},"speedInsights":{"scriptSrc":"6e4a7a109267b90d/script.js","endpoint":"6e4a7a109267b90d/vitals"}}'}()})}function p(e){return r.createElement(r.Suspense,{fallback:null},r.createElement(f,{...e}))}}},function(e){e.O(0,[3587,8477,5660,2971,2117,1744],function(){return e(e.s=1928)}),_N_E=e.O()}]);
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.