1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1630],{6920:(e,l,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/policies",function(){return n(7706)}])},7706:(e,l,n)=>{"use strict";n.r(l),n.d(l,{__N_SSP:()=>r,default:()=>u});var t=n(7876),o=n(9099),i=n(4232),c=n(7328),s=n.n(c),a=n(5785),d=n(7715),r=!0;function u(e){var l,n,c,r,u,h,m,v,g;let{currentPage:p,legalOptions:x,seoOptions:j}=e,f=(0,d.$)(p),w=(0,o.useRouter)(),N="/"===w.asPath?"home":w.asPath.replace(/^\/+|\/+$/g,""),[S,_]=(0,i.useState)(null),[k,b]=(0,i.useState)(0),[E,y]=(0,i.useState)([0]),[C,T]=(0,i.useState)(null),P=e=>{E.includes(e)?y(E.filter(l=>l!==e)):y([...E,e])};return(0,i.useEffect)(()=>{if(S){let e=document.getElementById(S);if(e){let l=e.getBoundingClientRect().top+window.scrollY-150;window.scrollTo({top:l,behavior:"smooth"}),_(null)}}},[S]),(0,i.useEffect)(()=>{let e=()=>{let e=document.querySelectorAll(".legal-content"),l=null;e.forEach(e=>{let n=e.getBoundingClientRect();n.top<=150&&n.bottom>=150&&(l=e.id)}),l&&T(l)};return window.addEventListener("scroll",e),()=>window.removeEventListener("scroll",e)},[]),(0,i.useEffect)(()=>{let e=()=>{let e=window.location.hash.substring(1);if(e&&(null==x?void 0:x.legalSections)){let l={TermsConditions:0,PrivacyPolicy:1,CookiesPolicy:2,Appterms:3}[e];if("number"==typeof l){b(l),y([l]);let e="block-".concat(l,"-0");setTimeout(()=>{_(e)},50)}}};return(null==x?void 0:x.legalSections)&&N.includes("#")&&e(),window.addEventListener("hashchange",e),()=>{window.removeEventListener("hashchange",e)}},[x,N]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(s(),{children:[(0,t.jsx)("title",{children:(null==j||null==(l=j.seo)?void 0:l.title)&&(null==j||null==(n=j.seo)?void 0:n.title)}),(0,t.jsx)("meta",{name:"robots",content:"noindex, follow"}),(0,t.jsx)("link",{rel:"canonical",href:f}),(null==j||null==(c=j.seo)?void 0:c.metaDesc)&&(0,t.jsx)("meta",{name:"description",content:null==j||null==(r=j.seo)?void 0:r.metaDesc}),(null==j||null==(h=j.featuredImage)||null==(u=h.node)?void 0:u.sourceUrl)&&(0,t.jsx)("meta",{property:"og:image",content:null==j||null==(m=j.featuredImage)?void 0:m.node.sourceUrl}),(0,a.c)(null==j||null==(v=j.seoDetails)?void 0:v.schema)&&(null==j||null==(g=j.seoDetails)?void 0:g.schema.map((e,l)=>(0,t.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:e.schemaCode}},l)))]}),(0,t.jsx)("section",{className:"blog-gradient legal-gradient text-center",children:(0,t.jsxs)("div",{className:"mx-4",children:[(null==x?void 0:x.title)&&(0,t.jsx)("h1",{className:"hero-title",children:x.title}),(null==x?void 0:x.description)&&(0,t.jsx)("p",{className:"hero-des",children:x.description})]})}),(null==x?void 0:x.legalSections)&&(0,t.jsx)("section",{className:"legal-section",children:(0,t.jsx)("div",{className:"container",children:(0,t.jsxs)("div",{className:"row",children:[(0,t.jsx)("div",{className:"col-lg-4",children:(0,t.jsx)("div",{className:"legal-navigation-wrapper",children:x.legalSections.map((e,l)=>(0,t.jsxs)("div",{className:"legal-navigation ".concat(E.includes(l)?"active":""),children:[(null==e?void 0:e.legalSectionTitle)&&(0,t.jsx)("h5",{className:null==e?void 0:e.legalSectionIcon,onClick:()=>P(l),children:e.legalSectionTitle}),(null==e?void 0:e.legalSectionBlock)&&(0,t.jsx)("ul",{children:e.legalSectionBlock.map((e,n)=>(0,t.jsx)("li",{children:(0,t.jsx)("a",{href:"#block-".concat(l,"-").concat(n),className:C==="block-".concat(l,"-").concat(n)?"active":"",onClick:e=>{e.preventDefault(),b(l),_("block-".concat(l,"-").concat(n))},children:e.title})},n))})]},l))})}),(0,t.jsx)("div",{className:"col-lg-8",children:x.legalSections.map((e,l)=>(0,t.jsx)("div",{className:"legal-content-block ".concat(k===l?"active":""),id:null==e?void 0:e.legalSectionIcon,children:null==e?void 0:e.legalSectionBlock.map((e,n)=>(0,t.jsxs)("div",{className:"legal-content",id:"block-".concat(l,"-").concat(n),children:[(null==e?void 0:e.title)&&(0,t.jsx)("h4",{children:e.title}),(null==e?void 0:e.content)&&(0,t.jsx)("div",{dangerouslySetInnerHTML:{__html:e.content}})]},n))},l))})]})})})]})}},7715:(e,l,n)=>{"use strict";function t(e){return e&&"home"!==e?"https://glovbox.com.au/"+e:"https://glovbox.com.au/"}n.d(l,{$:()=>t}),n(4232)}},e=>{var l=l=>e(e.s=l);e.O(0,[636,6593,8792],()=>l(6920)),_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.