1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]="01a1086f-cefc-7e02-93d1-4c19b408fc21")}catch(e){}}();(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2070],{27975:(e,a,t)=>{"use strict";t.d(a,{A:()=>R});var n=t(2860),s=t(14154),o=t.n(s),r=t(55729),i=t(10490),l=t(31936),d=t(51412),c=t(37571),u=t(42246),p=t(49530),h=t(40562),m=t(48003),g=t.n(m),b=t(71024),f=t.n(b),w=t(71472),x=t(34394),j=t(27697),k=t(15598),y=t(57403),D=t(25953),v=t(37726),I=t(75309),T=t(4442),P=t(36644),S=t(48785);let A=f()(()=>t.e(4527).then(t.bind(t,84527)),{loadableGenerated:{webpack:()=>[84527]}}),_=f()(()=>t.e(7136).then(t.bind(t,77136)),{loadableGenerated:{webpack:()=>[77136]}}),C=f()(()=>Promise.all([t.e(444),t.e(5884)]).then(t.bind(t,85884)),{loadableGenerated:{webpack:()=>[85884]}}),B=f()(()=>t.e(7430).then(t.bind(t,57430)),{loadableGenerated:{webpack:()=>[57430]}}),E=f()(()=>t.e(6572).then(t.bind(t,26572)),{loadableGenerated:{webpack:()=>[26572]}}),G=f()(()=>t.e(8042).then(t.bind(t,18042)),{loadableGenerated:{webpack:()=>[18042]}}),H=f()(()=>Promise.resolve().then(t.bind(t,10490)).then(e=>e.DocsTree),{loadableGenerated:{webpack:()=>[null]},ssr:!1}),N=f()(()=>Promise.resolve().then(t.bind(t,10490)).then(e=>e.NavigationButtons),{loadableGenerated:{webpack:()=>[null]},ssr:!1}),L=f()(()=>Promise.resolve().then(t.bind(t,10490)).then(e=>e.BlockedWebsite),{loadableGenerated:{webpack:()=>[null]}}),M=f()(()=>Promise.resolve().then(t.bind(t,71472)).then(e=>e.AddHeaderScripts),{loadableGenerated:{webpack:()=>[null]},ssr:!1}),F=f()(()=>t.e(3053).then(t.bind(t,53053)),{loadableGenerated:{webpack:()=>[53053]}});function R({code:e,headerCode:a,headerIsDarkMode:s,footerCode:m,theme:b,intercomKey:f,page:U,googleTrackingId:O,pageId:W,favicon:$,gtmId:z,language:J,defaultLocale:q,supportedLocales:X,afterHeaderComponent:K,segmentKey:Y,headCode:Q,bodyCode:V,footerBodyCode:Z,removeBadge:ee,workspaceId:ea,workspaceName:et,appName:en,appId:es,isBlocked:eo,disabledFreeFeature:er,twitterHandle:ei,domainUrl:el,plausibleUrl:ed,analyticsDisabled:ec,analyticsId:eu,isBlogPost:ep,blogScheduledNotReady:eh,expiredSubscription:em,isTextType:eg,tableOfContentsHeadings:eb,hasRuntimeTableOfContentsHeadings:ef,hasRuntimeReadingTime:ew,docsType:ex,docTreeData:ej,isHeaderFixed:ek,headerMinHeight:ey,posthogKey:eD,noData:ev,custom404:eI,subdomain:eT,hostedRoute:eP=!1,pageType:eS,blockData:eA,testimonialData:e_=null,accessLock:eC,customBlockSsrMarkup:eB={}}){let[eE,eG]=r.useState(!1),[eH,eN]=r.useState("");(0,r.useEffect)(()=>{let e=async e=>{await (0,I.J)(async()=>{let{initGA:a}=await t.e(9555).then(t.bind(t,69555));a(e)})},a=async e=>{await (0,I.J)(async()=>{let{initGA4:a}=await t.e(6443).then(t.bind(t,66443));a(e)})};O&&(/^UA-/.test(O)?e(O):/^G-/.test(O)&&a(O))},[O]),(0,r.useEffect)(()=>{(0,d.i9)(b)},[]),(0,r.useEffect)(()=>{let e=async e=>{await (0,I.J)(async()=>{(await t.e(3246).then(t.t.bind(t,93246,23))).initialize({gtmId:e})})},a=(0,v.$)(z);a&&e(a)},[z]),(0,r.useEffect)(()=>{g().init(i.aosDefaultInit)},[]),(0,r.useEffect)(()=>{g().refresh()}),(0,r.useEffect)(()=>{if(ew)return(0,i.observeRuntimeReadingTime)()},[ew]),(0,r.useEffect)(()=>{if(er||"true"===window.sessionStorage.getItem("pineapple-locale-autodetect-done"))return;let e=(0,y.Ys)({pathname:window.location.pathname,search:window.location.search,hash:window.location.hash,browserLanguages:navigator.languages?.length?[...navigator.languages]:[navigator.language],defaultLocale:(0,y.N_)({language:J,defaultLocale:q}),supportedLocales:Array.isArray(X)?X:[],domainUrl:el,subdomain:eT,hostedRoute:eP});e?(window.sessionStorage.setItem("pineapple-locale-autodetect-done","true"),window.location.replace(e)):window.sessionStorage.setItem("pineapple-locale-autodetect-done","true")},[q,er,el,eP,J,eT,X]),(0,r.useEffect)(()=>er?void(0,w.setHeaderTranslationsConfig)(null):((0,w.setHeaderTranslationsConfig)({defaultLocale:(0,y.N_)({language:J,defaultLocale:q}),supportedLocales:Array.isArray(X)?X:[],domainUrl:el,subdomain:eT,hostedRoute:eP}),()=>(0,w.setHeaderTranslationsConfig)(null)),[q,er,el,eP,J,eT,X]);let eL=(0,u.A)(),eM=ev?[""]:e,eF=er||em||eo||eC?.required,eR=(0,D.c)(eF?"":Q||""),eU=null;if(eo)return(0,n.jsx)(L,{appDocumentId:es});if(em)return(0,n.jsx)(i.ExpiredSubscription,{});if(eC?.required)return(0,n.jsxs)(n.Fragment,{children:[J&&(0,n.jsx)(c.m,{htmlAttributes:{lang:J}}),(0,n.jsx)(k.A,{favicon:$}
1),(0,n.jsx)(i.SocialTags,{title:U?.seoTitle,description:U?.seoDescription,image:U?.seoImage,searchable:!1,pathname:U?.pathname,twitterHandle:ei,domain:el}),(0,n.jsx)(i.PagePasswordGate,{pathname:eC.pathname,loading:eE,errorMessage:eH,onUnlock:async e=>{if(eC.appDocumentId&&eC.pathname){eG(!0),eN("");try{let a=await (0,j.I9)({appDocumentId:eC.appDocumentId,pathname:eC.pathname,password:e,routeScope:eC.routeScope});if(a?.success&&a?.accessToken){(0,j.iy)(a.accessToken),window.location.reload();return}eN(a?.message||"Invalid password")}catch(e){eN("Unable to validate password, please try again")}finally{eG(!1)}}}})]});if(!b||!U){if(eh)return(0,n.jsx)(i.ScheduledBlog,{});if(e&&""===e[0]||!U)return(0,n.jsx)(i.NoData,{url:U?.pathname})}eh?eU=()=>(0,n.jsx)(i.ScheduledBlog,{noBranding:eI,height:"600px"}):(ev||!U)&&(eU=()=>(0,n.jsx)(i.NoData,{noBranding:eI,url:U?.pathname,height:"600px"}));let eO=(0,d.LW)({userTheme:(0,d.O4)({...b,isBlogPost:eg,augmentColor:eL.palette.augmentColor})}),eW=function(e="",a,t,n,s){return!(0,S.r)({appId:n,domainUrl:s})&&t?a?e?.replace("isDarkMode: false","isDarkMode: true"):e?.replace("isDarkMode: true","isDarkMode: false"):e}(a,(0,i.checkDarkModeHeaderBasedOnContrast)(eO),ep,es,el),e$=eO?.palette?.background?.default||"#ffffff",ez=ex&&"pineapplebuilder.com"===el&&U?.pathname?`/api/docs-search?root=${encodeURIComponent((0,i.getDocSearchRoot)(U.pathname))}`:void 0,eJ=(0,n.jsx)(i.DocsHeaderProvider,{endpoint:ez||null,children:(0,n.jsx)(P.default,{Layout:i.DocsLayoutWrapper,LeftColumn:ex?(0,n.jsx)(H,{docTreeData:ej}):null,BottomComponent:ex?(0,n.jsx)(N,{docTree:ej}):null,isFixedPosition:!ez&&ek,headerMinHeight:ey,RightColumn:eg?(0,n.jsx)(B,{title:(0,i.legacyName)({name:U?.name,seoTitle:U.seoTitle}),headings:eb,discoverRuntimeHeadings:ef}):null,code:eM,Placeholder:eU,headerCode:eW,headerThemeOverride:s??null,footerCode:m,afterHeaderComponent:K,customBlockContext:{appDocumentId:es,appName:en,domainUrl:el,pathname:U?.pathname,workspaceName:et},customBlockSsrMarkup:eB})});return(0,n.jsxs)(n.Fragment,{children:[J&&(0,n.jsx)(c.m,{htmlAttributes:{lang:J}}),(0,n.jsx)(x.A,{plausibleUrl:ed,domainUrl:el,analyticsDisabled:ec,analyticsId:eu}),(0,n.jsx)(M,{scripts:eR,Helmet:c.m,suppressPlaceholder:!0}),(0,n.jsx)(k.A,{favicon:$}),(0,n.jsx)(D.d,{code:eF?"":V}),(0,n.jsx)(A,{segmentKey:Y}),eD&&(0,n.jsx)(_,{}),W&&(0,n.jsx)(C,{pageId:W}),(0,n.jsxs)(p.A,{theme:eO,children:[(0,n.jsx)(h.Ay,{}),(0,n.jsx)(o(),{id:"7f4c03f894a42328",dynamic:[e$,ex?`strong, b { 2 font-weight: 600; 3 }`:""],children:`body{background:${e$}}${ex?`strong, b { 4 font-weight: 600; 5 }`:""} 6 `}),"pineapplebuilder.com"===el&&(0,n.jsx)(F,{}),(0,n.jsx)(i.BlockDataProvider,{data:eA?.data,categories:eA?.categories,products:eA?.products,children:(0,n.jsx)(i.WebsiteProvider,{hasPaidBasicFeatures:!er&&!em,workspaceId:ea,appId:es,pageId:W,pagePathname:U?.pathname,testimonialData:e_,children:(0,n.jsxs)(E,{children:[(0,n.jsx)(i.SocialTags,{title:U?.seoTitle,description:U?.seoDescription,image:U?.seoImage,searchable:U?.seoSearchable,pathname:U?.pathname,twitterHandle:ei,domain:el}),!eP&&(0,n.jsx)(T.Ay,{}),eT&&(0,n.jsx)(G,{}),f?(0,n.jsx)(l.F,{appId:f,initializeDelay:1e4,autoBoot:!0,children:eJ}):eJ]})})})]}),!ee&&(0,n.jsx)(d.Fw,{bottom:!function(e){switch(e){case"peterkowalczyk.com":case"devrush.co":case"pineapplebuilder.com":return!0;default:return!1}}(el)&&!er,pageType:eS}),(0,n.jsx)(D.d,{code:eF?"":Z})]})}},28165:(e,a,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/subdomain/[subdomain]/page/[...pathname]",function(){return t(62878)}])},62878:(e,a,t)=>{"use strict";t.r(a),t.d(a,{__N_SSG:()=>s,config:()=>o,default:()=>r});var n=t(27975),s=!0;let o={maxDuration:30},r=n.A}},e=>{e.O(0,[7718,9329,5521,4218,9379,6243,8708,490,1472,6345,6644,636,6593,8792],()=>e(e.s=28165)),_N_E=e.O()}]); 7//# chunkId=01a1086f-cefc-7e02-93d1-4c19b408fc21
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.