1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="36e99e6d-d007-49ac-98cb-806568b1f510",e._sentryDebugIdIdentifier="sentry-dbid-36e99e6d-d007-49ac-98cb-806568b1f510")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2170,5461,9789],{5461:(e,t,l)=>{l.d(t,{r:()=>n});let n=e=>e?"informative_article"===e?"article":"how_to_guide"===e?"how-to":e.replace(/_/g,"-"):e},29750:(e,t,l)=>{l.d(t,{$J:()=>g,FB:()=>s,Nk:()=>p,SE:()=>r,ep:()=>m,gU:()=>u,jH:()=>c});var n=l(94229),o=l(48815),i=l.n(o),a=l(5461);let r=(e,t,l,n,o)=>{var i,r;let s=(null==t?void 0:t.custom_page_type)&&(null==t?void 0:t.page_sub_type)===null&&(null==t?void 0:t.page_type)!=="Shopify"?"".concat((0,a.r)(null==t?void 0:t.custom_page_type),"/").concat(t.url_slug):null==t?void 0:t.url_slug;return e?d(e,l,n,o)+"/"+s:(null==l?void 0:l.website)?d(null==l?void 0:l.website,l,n,o)+"/"+s:"blog"===n?"https://".concat((null==l?void 0:l.website)+"/blog/"+(null==t?void 0:t.url_slug)):["photo","rates"].includes(n)?"https://".concat((null==l?void 0:l.website)+(null==l||null==(r=l.seo_snippets)||null==(i=r[o])?void 0:i.toLowerCase())+"/"+(null==t?void 0:t.url_slug)):"https://".concat((null==l?void 0:l.website)+"/"+s)},s=(e,t,l,n)=>{var o,i;return e?d(e,t,l,n):(null==t?void 0:t.website)?d(null==t?void 0:t.website,t,l,n):"blog"===l?"https://".concat(null==t?void 0:t.website,"/blog"):["photo","rates"].includes(l)?"https://".concat((null==t?void 0:t.website)+(null==t||null==(i=t.seo_snippets)||null==(o=i[n])?void 0:o.toLowerCase())):"https://".concat(null==t?void 0:t.website)},u=(e,t)=>(null==e?void 0:e.includes("https"))&&(null==e?void 0:e.startsWith("https"))?e:"cover"===t?"".concat(i().cloudfront,"fit-in/1200x1200/").concat((0,n.kb)(e)):"".concat(i().cloudfront,"fit-in/300x300/").concat((0,n.kb)(e)),d=(e,t,l,n)=>{var o,i;let a=new URL(c(e.replace(" ","")));return a.hostname.startsWith("www.")||(a.hostname="www."+a.hostname),"blog"===l?"".concat(a.protocol,"//").concat(a.hostname,"/blog"):["photo","rates"].includes(l)?"".concat(a.protocol,"//").concat(a.hostname,"/").concat(null==t||null==(i=t.seo_snippets)||null==(o=i[n])?void 0:o.toLowerCase()):"".concat(a.protocol,"//").concat(a.hostname)},c=e=>e.startsWith("https://")?e:"https://"+e.replace(/^https?:\/\//,""),p=e=>{if(!e)return e;let t=e.replace(/^https?:\/\//,"");return t.startsWith("www.")||(t="www."+t),"https://"+t},m=e=>Math.ceil((null==e?void 0:e.split(/\s+/).length)/150)+" minute read",g=e=>{if(!e)return"";if("undefined"!=typeof document){let t=document.createElement("textarea");return t.innerHTML=e,t.value.replace(/<[^>]*>/g,"").trim()}return e.replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'").replace(/ /g," ").replace(/<[^>]*>/g,"").trim()}},32170:(e,t,l)=>{l.r(t),l.d(t,{default:()=>p});var n=l(37876),o=l(29750),i=l(62867);l(84733);var a=l(56069),r=l(48815),s=l.n(r),u=l(7988),d=l(91702),c=l(79085);let p=e=>{var t,l,r,p,m,g,v;let{guideDetails:b}=e,_=(0,o.jH)((null==e?void 0:e.domain)||(null==b?void 0:b.hostname));(0,d.A)(b);let h=Object.keys((null==e||null==(t=e.guideDetails)?void 0:t.blog_post)||{}).length>0?null==e||null==(l=e.guideDetails)?void 0:l.blog_post:null==b||null==(r=b.page_attributes)?void 0:r.current_page,w=null==h?void 0:h.meta_title,f=null==h?void 0:h.meta_description,y=(0,u.A)("explore",b,null==e?void 0:e.from),k=new c.A().setMeta({siteurl:_,baseUrlMedia:s().cloudfront,companyName:(null==b||null==(p=b.page_attributes)?void 0:p.is_mt)?null==b||null==(m=b.group_details)?void 0:m.group_name:null==b?void 0:b.company,authorName:null==b?void 0:b.guidename,title:w,description:f});k.add({type:"coverImage",key:"coverpicture",single:!0,meta:{alt:null==h?void 0:h.title,caption:null==h?void 0:h.title}}).add({type:"sideImages",key:"side_content_media.data"}).add({type:"galleryImages",key:"media",fieldMap:{url:["file_url","media","url"],alt:["label","alt"],caption:["desc","caption"]},filterFn:e=>{var t;return!(null==e||null==(t=e.medianame)?void 0:t.endsWith("svg"))}});let x=k.build(h).generate();return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(a.A,{title:w,keywords:null==h?void 0:h.metaKeywords,url:(0,o.SE)(_,h,b,e.from,e.url),description:f,thumbnailUrl:y.url}),(0,n.jsx)(i.bV,{lang:"en",title:w,description:f,canonical:(0,o.SE)(_,h,b,e.from,e.url),openGraph:{url:(0,o.SE)(_,h,b,e.from,e.url),title:w,description:f,site_name:(null==b||null==(g=b.page_attributes)?void 0:g.is_mt)?null==b||null==(v=b.group_details)?void 0:v.group_name:null==b?void 0:b.company,type:"website",locale:"en_US",images:[y]},nofollow:!1,noindex:!1,robotsProps:{maxImagePreview:"large"}}),["photo","rates"].includes(e.from)?(0,n.jsx)(i.gk,{itemListElements:[{position:1,name:"Home",item:_},{position:2,name:w,item:(0,o.FB)(_,b,e.from,e.url)},{position:3,name:w,item:(0,o.SE)(_,h,b,e.from,e.url)}]}):(0,n.jsx)(i.gk,{itemListElements:[{position:1,name:"Home",item:_},{position:2,name:w,item:(0,o.SE)(_,h,b,e.from,e.url)}]}),(0,n.jsx)(i.OM,{images:x})]})}}}]); 2//# sourceMappingURL=2170.9047c3c2a7c9b00a.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.