1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[339],{50410:function(e,t,n){"use strict";n.d(t,{v:function(){return R}});var r=n(85893);let l=(...e)=>(...t)=>{for(let n=0;n<e.length;n++){let r=e[n];if(r){let e=r(...t);if(null!=e)return e}}};var i=n(68631);let a={[i.M.listItem]:"listItem",[i.M.oListItem]:"oListItem",[i.M.list]:"list",[i.M.oList]:"oList"},o=e=>(t,n,r,l,i)=>{let o=e[a[t]||t];if(o)return o({type:t,node:n,text:r,children:l,key:i})};var s=n(67294);let d=()=>(++d.i).toString();d.i=0;let u=e=>{let t=m(e),n=[];for(let e=0;e<t.length;e++)n.push(h(t[e]));return{key:d(),children:n}},c=(e,t=[])=>({key:d(),type:e.type,text:"text"in e?e.text:void 0,node:e,children:t}),p=e=>c({type:i.M.span,text:e,spans:[]}),m=e=>{let t=e.slice(0);for(let e=0;e<t.length;e++){let n=t[e];if(n.type===i.M.listItem||n.type===i.M.oListItem){let r=[n];for(;t[e+1]&&t[e+1].type===n.type;)r.push(t[e+1]),t.splice(e,1);n.type===i.M.listItem?t[e]={type:i.M.list,items:r}:t[e]={type:i.M.oList,items:r}}}return t},h=e=>{if("text"in e)return c(e,f(e.spans,e));if("items"in e){let t=[];for(let n=0;n<e.items.length;n++)t.push(h(e.items[n]));return c(e,t)}return c(e)},f=(e,t,n)=>{if(!e.length)return[p(t.text)];let r=e.slice(0);r.sort((e,t)=>e.start-t.start||t.end-e.end);let l=[];for(let e=0;e<r.length;e++){let i=r[e],a=n&&n.start||0,o=i.start-a,s=i.end-a,d=t.text.slice(o,s),u=[];for(let t=e;t<r.length;t++){let e=r[t];e!==i&&(e.start>=i.start&&e.end<=i.end?(u.push(e),r.splice(t,1),t--):e.start<i.end&&e.end>i.start&&(u.push({...e,end:i.end}),r[t]={...e,start:i.end}))}0===e&&o>0&&l.push(p(t.text.slice(0,o)));let m={...i,text:d};l.push(c(m,f(u,{...t,text:d},i))),s<t.text.length&&l.push(p(t.text.slice(s,r[e+1]?r[e+1].start-a:void 0)))}return l},x=(e,t)=>_(u(e).children,t),_=(e,t)=>{let n=[];for(let r=0;r<e.length;r++){let l=e[r],i=t(l.type,l.node,l.text,_(l.children,t),l.key);null!=i&&n.push(i)}return n},v=e=>{let t=/^(\/(?!\/)|#)/.test(e),n=!t&&!/^https?:\/\//.test(e);return t&&!n},b={Any:"Any",Document:"Document",Media:"Media",Web:"Web"},y=e=>{var t;return{link_type:b.Document,id:e.id,uid:e.uid||void 0,type:e.type,tags:e.tags,lang:e.lang,url:null==e.url?void 0:e.url,slug:null==(t=e.slugs)?void 0:t[0],...e.data&&Object.keys(e.data).length>0?{data:e.data}:{}}},g=(e,...t)=>{let n;if(!e)return null;let r="link_type"in e?e:y(e),[l]=t;switch(n="function"==typeof l||null==l?{linkResolver:l}:{...l},r.link_type){case b.Media:case b.Web:return"url"in r?r.url:null;case b.Document:if("id"in r&&n.linkResolver){let e=n.linkResolver(r);if(null!=e)return e}if("url"in r&&r.url)return r.url;return null;case b.Any:default:return null}};var j=n(58227);let k=(e,t={})=>{if(e&&("link_type"in e?(0,j.p4)(e):e)){let n="target"in e?e.target:void 0,r=g(e,t.linkResolver),l=null==r?void 0:r,i="string"==typeof l&&!v(l),a=t.rel?t.rel({href:l,isExternal:i,target:n}):i?"noreferrer":void 0;return{href:l,target:n,rel:null==a?void 0:a}}return{}},M=e=>{let t=/^(\/(?!\/)|#)/.test(e),n=!t&&!/^https?:\/\//.test(e);return t&&!n};n(34155);let C=s.forwardRef(function({field:e,document:t,linkResolver:n,internalComponent:l,externalComponent:i,...a},o){let{href:s,rel:d,...u}=k(e??t,{linkResolver:n,rel:"function"==typeof a.rel?a.rel:void 0}),c=d;"rel"in a&&"function"!=typeof a.rel&&(c=a.rel);let p=("href"in a?a.href:s)||"",m=p&&M(p)?l||"a":i||"a";return(0,r.jsx)(m,{ref:o,...u,...a,href:p,rel:c})});n(34155);let L=e=>o({heading1:({children:e,key:t})=>(0,r.jsx)("h1",{children:e},t),heading2:({children:e,key:t})=>(0,r.jsx)("h2",{children:e},t),heading3:({children:e,key:t})=>(0,r.jsx)("h3",{children:e},t),heading4:({children:e,key:t})=>(0,r.jsx)("h4",{children:e},t),heading5:({children:e,key:t})=>(0,r.jsx)("h5",{children:e},t),heading6:({children:e,key:t})=>(0,r.jsx)("h6",{children:e},t),paragraph:({children:e,key:t})=>(0,r.jsx)("p",{children:e},t),preformatted:({node:e,key:t})=>(0,r.jsx)("pre",{children:e.text},t),strong:({children:e,key:t})=>(0,r.jsx)("strong",{children:e},t),em:({children:e,key:t})=>(0,r.jsx)("em",{children:e},t),listItem:({children:e,key:t})=>(0,r.jsx)("li",{children:e},t),oListItem:({children:e,key:t})=>(0,r.jsx)("li",{children:e},t),list:({children:e,key:t})=>(0,r.jsx)("ul",{children:e},t),oList:({children:e,key:t})=>(0,r.jsx)("ol",{children:e},t),image:({node:t,key:n})=>{let l=(0,r.jsx)("img",{src:t.url,alt:t.alt??void 0,"data-copyright":t.copyright?t.copyright:void 0});return(0,r.jsx)("p",{className:"block-img",children:t.linkTo?(0,r.jsx)(C,{linkResolver:e.linkResolver,internalComponent:e.internalLinkComponent,externalComponent:e.externalLinkComponent,field:t.linkTo,children:l}):l},n)}
1,embed:({node:e,key:t})=>(0,r.jsx)("div",{"data-oembed":e.oembed.embed_url,"data-oembed-type":e.oembed.type,"data-oembed-provider":e.oembed.provider_name,dangerouslySetInnerHTML:{__html:e.oembed.html??""}},t),hyperlink:({node:t,children:n,key:l})=>(0,r.jsx)(C,{field:t.data,linkResolver:e.linkResolver,internalComponent:e.internalLinkComponent,externalComponent:e.externalLinkComponent,children:n},l),label:({node:e,children:t,key:n})=>(0,r.jsx)("span",{className:e.data.label,children:t},n),span:({text:e,key:t})=>{let n=[],l=0;for(let t of e.split("\n"))l>0&&n.push((0,r.jsx)("br",{},`${l}__break`)),n.push((0,r.jsx)(s.Fragment,{children:t},`${l}__line`)),l++;return(0,r.jsx)(s.Fragment,{children:n},t)}});function N({linkResolver:e,field:t,fallback:n,components:i,externalLinkComponent:a,internalLinkComponent:d,...u}){return s.useMemo(()=>{if(!(0,j.qO)(t))return null!=n?(0,r.jsx)(r.Fragment,{children:n}):null;{let n=l("object"==typeof i?o(i):i,L({linkResolver:e,internalLinkComponent:d,externalLinkComponent:a})),u=x(t,(e,t,r,l,i)=>{let a=n(e,t,r,l,i);return s.isValidElement(a)&&null==a.key?s.cloneElement(a,{key:i}):a});return(0,r.jsx)(r.Fragment,{children:u})}},[t,d,a,i,e,n])}var w=n(83696);let E=()=>s.useContext(w.Z)||{},R=function({components:e,...t}){let n=E(),i=l("object"==typeof e?o(e):e,"object"==typeof n.richTextComponents?o(n.richTextComponents):n.richTextComponents);return(0,r.jsx)(N,{components:i,internalLinkComponent:n.internalLinkComponent,externalLinkComponent:n.externalLinkComponent,...t})}},72698:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/[uid]",function(){return n(3321)}])},39972:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(85893),l=n(67294),i=n(41664),a=n.n(i),o=n(50410),s=n(36803),d=n(83790),u=n.n(d),c=e=>{let{className:t,text:n,textClassName:i}=e,[d,c]=(0,l.useState)(!1);return(0,r.jsxs)("div",{className:"relative w-full p-0 ".concat(t," ").concat(u().readmore," ").concat(d?u().expand:""),children:[(0,r.jsx)("div",{className:i,children:(0,r.jsx)(o.v,{field:n,linkResolver:s.Ew,components:{hyperlink:e=>{var t;let{children:n,node:l}=e,i=(0,s.Ew)(null==l?void 0:l.data),o=(null==l?void 0:null===(t=l.data)||void 0===t?void 0:t.target)||"_self";return i?(0,r.jsx)(a(),{href:i,passHref:!0,className:"underline",target:o,children:n}):(0,r.jsx)("a",{href:i,target:o,children:n})}}})}),(0,r.jsx)("p",{onClick:()=>c(!d),className:"".concat(u()["readmore-link"]," ").concat(d?u().expand:"")})]},"".concat(d))};function p(e){var t,n;let{title:l="",description:i=""}=e,a="string"==typeof l?l.trim():null==l?void 0:null===(n=l[0])||void 0===n?void 0:null===(t=n.text)||void 0===t?void 0:t.trim(),o=(null==i?void 0:i.length)>0?i:null;return a&&o?(0,r.jsxs)("div",{id:"seo-copy",className:"mx-4.5 md:mx-7.5 pt-6 pb-1.5 md:pt-10.5 md:pb-4 border-t border-accents-3 sm:text-tiny",children:[(0,r.jsx)("h6",{className:"capitalize text-sm font-medium mb-1",children:a}),(0,r.jsx)(c,{text:o})]}):null}},3321:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSG:function(){return _},default:function(){return v}});var r=n(85893),l=n(69028),i=n(39972),a=n(36489),o=n(93967),s=n.n(o),d=n(56344),u=n(50410),c=n(91893),p=n(67029),m=n.n(p),h=n(2962),f=n(36808),x=n.n(f),_=!0;function v(e){let{page:t}=e,n=(0,c.Z)();if(t&&t.data){var a,o,p,f,_,v,b,y;let{title:e,seo_title:c,description:g,show_title_on_desktop:j,page_width:k,title_border_bottom:M,with_breadcrumbs:C}=t.data,L=null!==(y=x().get("HOME_UID"))&&void 0!==y?y:"/",N=[{text:"Home",link:L&&"kids"===L?"/kids":"basics"===L?"/basics":"all-in"===L?"/all-in":"/"},{text:"".concat(e[0].text||(null===(a=t.data)||void 0===a?void 0:a.meta_title)," Landing Page")}],w="border border-accents-3 border-l-0 border-r-0 border-t-0";j&&("Mobile"===M?w="border-b border-accents-3 border-t-0 border-l-0 border-r-0 md:border-0":"Desktop"===M?w="md:border md:border-l-0 border-accents-3 md:border-r-0 md:border-t-0":"None"===M&&(w="border-0"));let E=s()("text-center capitalize py-6 md:pb-0",m().title,w,j?"":"hidden"),R=k?n.width>=768?"80vw":"90vw":"100vw";if("undefined"!=typeof document){let e=document.getElementsByClassName(m().ignoreMinHeight);e.length&&e[0]&&e[0].parentElement&&(e[0].parentElement.style.minHeight="auto")}let I=null===(o=t.data)||void 0===o?void 0:o.meta_title,H=null===(p=t.data)||void 0===p?void 0:p.meta_image,T=null===(f=t.data)||void 0===f?void 0:f.meta_description;return t.uid,null===(b=t.data)||void 0===b||null===(v=b.title)||void 0===v||null===(_=v[0])||void 0===_||_.text,(0,r.jsxs)("div",{className:s()("page m-auto",{[m().delivery]:"delivery"===t.uid,[m().returns]:"returns"===t.uid,[m().faq]:"frequently-asked-questions"===t.uid,[m().afterpay]:"afterpay"===t.uid,[m().contactUs]:"contact-us"===t.uid,[m().ignoreMinHeight]:!0,[m().aboutUs]:"about-us"===t.uid,[m().sustainability]:"sustainability"===t.uid,[m().careers]:"careers"===t.uid}),style:{maxWidth:R},children:[(0,r.jsx)(h.PB,{title:"".concat(I," | Ghanda Clothing"),description:T,openGraph:{type:"website",title:I,description:T,images:[{url:null==H?void 0:H.url,width:800,height:600,alt:null==H?void 0:H.alt}]}}
1),e&&(0,r.jsx)("div",{className:E,children:(0,r.jsx)(u.v,{field:e})}),C&&(0,r.jsx)(l.ZP,{items:null!=N?N:[]}),(0,r.jsx)(d.Z,{slices:t}),(0,r.jsx)(i.Z,{title:c,description:g})]})}return null}v.Layout=a.Z},67029:function(e){e.exports={title:"repeatable-documents_title__U4NrV",ignoreMinHeight:"repeatable-documents_ignoreMinHeight___pya0",faq:"repeatable-documents_faq__z_f28",delivery:"repeatable-documents_delivery__fsRZH",returns:"repeatable-documents_returns__ELjbo","accordion-content":"repeatable-documents_accordion-content__rBWUs",afterpay:"repeatable-documents_afterpay__TGq2t",contactUs:"repeatable-documents_contactUs__lsqi1",careers:"repeatable-documents_careers__EXaoG",aboutUs:"repeatable-documents_aboutUs__T2cV7",sustainability:"repeatable-documents_sustainability__tS_Mt"}},83790:function(e){e.exports={readmore:"ReadMore_readmore__YUhwv",expand:"ReadMore_expand__y5vM9","readmore-link":"ReadMore_readmore-link__Yhq9W"}}},function(e){e.O(0,[714,822,489,344,888,774,179],function(){return e(e.s=72698)}),_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.