1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5447,2741,655,1353,3119,4683,4182,1950,8588],{2741:function(e,t,r){r.r(t);var a=r(5893),i=r(7294),s=r(4051),l=r(1555),n=r(9599),o=r(113),c=r(38),d=r(6521);t.default=e=>{let{content:t}=e,{categoryBreadCrumbs:r}=(0,i.useContext)(o.Z),{currentLang:m}=(0,i.useContext)(c.Z),{settings:u}=(0,i.useContext)(d.Z);return t&&(0,a.jsx)(s.Z,{style:{marginBottom:"1vh"},children:(0,a.jsx)(l.Z,{children:r.map((e,r)=>{if(t.cat_principal_id&&e.id!=t.id)return(0,a.jsxs)("p",{className:"d-inline text-white",children:[(0,a.jsx)("a",{className:"no-decorated text-white text-uppercase text-shadow ".concat(t.title===e.title?"active":""),href:(0,n.Gr)(m,e.url,u),children:e.title},"url_".concat(r))," ","/"," "]},"container_".concat(r))})})})}},1353:function(e,t,r){r.r(t);var a=r(5893);r(7294);var i=r(682),s=r(4051),l=r(1555);t.default=function(e){return(0,a.jsx)(i.Z,{fluid:!0,className:e.className,children:(0,a.jsx)(s.Z,{className:"justify-content-center",children:(0,a.jsx)(l.Z,{lg:11,children:e.children})})})}},3119:function(e,t,r){r.r(t);var a=r(5893),i=r(7294),s=r(682),l=r(4051),n=r(1555),o=r(2741),c=r(38);r(3522),r(5675);var d=r(1664),m=r.n(d),u=r(4499);t.default=i.memo(e=>{let{content:t,img:r,breadcrumbs:d,style:f,title:g,subtitle:h,header_link:x}=e;u.images.domains,r||t.img_1;let{currentLang:p}=(0,i.useContext)(c.Z);return t&&(0,a.jsx)("section",{id:"wrap-content-header",className:"position-relative d-flex align-items-end justify-content-start","data-aos":"fade-zoom-in",style:f||{minHeight:"200px"},children:(0,a.jsx)(s.Z,{children:(0,a.jsx)(l.Z,{children:(0,a.jsxs)(n.Z,{lg:10,children:[d&&(0,a.jsx)(o.default,{content:t}),(0,a.jsxs)("div",{className:"pb-4",children:[x&&(0,a.jsx)("h6",{children:(0,a.jsx)(m(),{className:"text-uppercase text-decoration-none",href:p+"/"+x.url_friendly,title:x.title,children:"< "+x.title})}),(h||t.subtitle)&&(0,a.jsx)("h6",{className:"text-primary",children:h||t.subtitle}),(g||t.title||t.name)&&(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("h1",{className:"text-primary display-1",children:g||t.title||t.name})})]})]})})})})})},5505:function(e,t,r){r.r(t);var a=r(5893),i=r(7294),s=r(4051),l=r(1555),n=r(682),o=r(1353),c=r(6521),d=r(38),m=r(9104),u=r(3329),f=r(3119),g=r(5675),h=r.n(g),x=r(3522),p=r(8242),y=r(4182),v=r(6968);t.default=e=>{let{content:t}=e,{settings:r}=(0,i.useContext)(c.Z),{currentLang:g}=(0,i.useContext)(d.Z),[j,N]=(0,i.useState)(),[C,w]=(0,i.useState)();(0,i.useEffect)(()=>{let fetchPage=async()=>{t.parent_id&&(w(await (0,m.UQ)({pageId:t.parent_id,lang:g})),N(await (0,m.UH)({pageId:t.parent_id,lang:g})))};fetchPage()},[t]);let Z=(0,u.KO)({img:null==t?void 0:t.img_1});return(0,a.jsx)(a.Fragment,{children:t&&j?(0,a.jsxs)(a.Fragment,{children:[t&&j&&(0,a.jsx)(f.default,{content:t,subtitle:j.name}),(0,a.jsx)(n.Z,{className:"py-4 pb-9",children:(0,a.jsx)(s.Z,{children:(0,a.jsx)(l.Z,{lg:6,children:(0,a.jsx)("div",{className:"description text-justify",dangerouslySetInnerHTML:{__html:t.resume}})})})}),(0,a.jsxs)("div",{className:"overlay-light position-relative d-flex align-items-end justify-content-start pb-8",children:[t.img_2&&(0,a.jsx)("div",{style:{zIndex:"-1"},children:(0,a.jsx)(x.default,{className:"grayscale",src:t.img_2,folder:"galleries",fill:!0,style:{objectFit:"cover"},alt:"",sizes:"(max-width: 768px) 100vw, (max-width: 1200px) 75vw, 50vw"})}),(0,a.jsxs)(n.Z,{fluid:!0,className:"my-5 position-relative mt-n8",children:[(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("div",{className:"ratio ratio-21x9",children:(0,a.jsx)(x.default,{src:t.img_1,alt:t.title,folder:"galleries",fill:!0,sizes:"100vw"})}),Z&&(0,a.jsx)("div",{children:Z.title})]}),(0,a.jsx)(s.Z,{className:"justify-content-center",children:(0,a.jsx)(l.Z,{sm:10,md:8,lg:6,xxl:5,children:(0,a.jsx)("div",{className:"description mt-4",dangerouslySetInnerHTML:{__html:t.description}})})})]})]}),t.category&&t.category.items&&(0,a.jsxs)(o.default,{className:"my-5 pt-5",children:[(0,a.jsx)("div",{className:"text-center mt-n10 position-relative zi-1 mb-5",children:(0,a.jsx)(h(),{className:"sanefa",src:"/sanefa2.svg",height:"211",width:"211"})}),(0,a.jsx)(s.Z,{className:"justify-content-center mb-5",children:(0,a.jsx)(l.Z,{lg:4,children:(0,a.jsx)("div",{className:"description",dangerouslySetInnerHTML:{__html:t.category.resume}})})}),(0,a.jsx)(s.Z,{xs:1,md:2,lg:3,children:t.category.items.map((e,t)=>{var r,i;return(0,a.jsx)(l.Z,{"data-aos":"fade-up","data-aos-delay":"".concat(t,"00"),"data-aos-duration":"1000",children:(0,a.jsxs)("div",{className:"d-flex align-items-start",children:[(0,a.jsx)("div",{children:(null==e?void 0:null===(i=e.custom_fields)||void 0===i?void 0:null===(r=i.icon_fontawesome)||void 0===r?void 0:r.value)&&(0,a.jsx)("div",{className:"bg-terra rounded-circle d-flex justify-content-center align-items-center text-tertiary",style:{height:"50px",width:"50px"},children:(0,a.jsx)("i",{className:"fa-light ".concat(e.custom_fields.icon_fontawesome.value," fs-5")})})}),(0,a.jsxs)("div",{className:"ms-3",children:[(0,a.jsx)("div",{className:"text-uppercase text-tertiary ls-1 lh-2 small fw-normal mb-1",children:e.title}),e.description&&(0,a.jsx)("div",{className:"description text-primary",dangerouslySetInnerHTML:{__html:e.description}})]})]})},e.id)})})]}),C&&t&&(0,a.jsx)(y.default,{current_page:t,parent_page:j,pages:C}),(0,a.jsx)(p.default,{content:t})]}):(0,a.jsx)("div",{className:"d-flex justify-content-center align-items-center",style:{height:"100vh"},children:(0,a.jsx)(v.Z,{animation:"border",role:"status",variant:"dark",size:"lg",children:(0,a.jsx)("span",{className:"visually-hidden",children:"Loading..."})})})})}},4182:function(e,t,r){r.r(t);var a=r(5893),i=r(7294),s=r(4051),l=r(1555),n=r(682);r(1353);var o=r(38);r(6521),r(3434),r(4806);var c=r(1664),d=r.n(c),m=r(3522);t.default=e=>{let{current_page:t,pages:r,parent_page:c}=e,{currentLang:u}=(0,i.useContext)(o.Z);return(0,a.jsx)("div",{className:"bg-terra mb-5",children:(0,a.jsx)(n.Z,{className:"overflow-hidden py-5",children:(0,a.jsx)(s.Z,{children:r&&r.map((e,r)=>{if(t.id!=e.id)return(0,a.jsx)(l.Z,{lg:6,children:(0,a.jsxs)("div",{className:"position-relative mb-3",children:[e.img_1&&(0,a.jsx)("div",{className:"ratio ratio-4x3",children:(0,a.jsx)(m.default,{src:e.img_1,folder:"galleries",fill:!0})}),(0,a.jsxs)("div",{className:"p-5",children:[c&&(0,a.jsx)("h6",{children:c.name}),(0,a.jsx)(d(),{href:u+"/"+e.url_friendly,title:e.name,className:"stretched-link",children:(0,a.jsx)("h2",{children:e.name})})]})]})})})})})})}},3434:function(e,t,r){r.d(t,{dY:function(){return createGardensSimpleContent},tG:function(){return getAllCategories},CP:function(){return getCategories},bf:function(){return getCategoriesFromArray},BX:function(){return getCategoriesMenu},O5:function(){return getCategoryByID},Tu:function(){return getCategoryByIDFromArray}});var a=r(2595);let i={categories:async e=>{let t=Object.entries(e).map(e=>{let[t,r]=e;return"".concat(encodeURIComponent(t),"=").concat(encodeURIComponent(r))}).join("&"),r=await (0,a.F)().get("/api/next/".concat("categories","?").concat(t));return r}},getAllCategories=async(e,t)=>{let{data:r}=await i.categories({lang:e.lang,...t});return r.category},getCategories=async(e,t,r)=>{if(!e.lang)throw Error("getCategories: lang is required");if(!e.categoryId)throw Error("getCategories: categoryId is required");let{data:a}=await i.categories({lang:e.lang,...r}),s=a.category;return getCategoriesFromArray(e,s,t)},getCategoryByID=async e=>{if(!e.categoryId)throw Error("getCategories: categoryId is required");if(!e.lang)throw Error("getCategoryByID: lang is required");let{data:t}=await i.categories({categoryId:e.categoryId,lang:e.lang});return t.category},getCategoryByIDFromArray=(e,t)=>{if(!e.categoryId)throw Error("getCategories: categoryId is required");if(!t)throw Error("getCategories: categories is required");return t.find(t=>
1t.id==e.categoryId)},getCategoriesFromArray=(e,t,r)=>{if(!e.categoryId)throw Error("getCategories: categoryId is required");let a=[],i=r||{};return a=t.reduce((t,r)=>{let a={...r},i=r.parent_id;return i.includes(e.categoryId)&&t.push(a),t},[]),i.limit?a.slice(0,i.limit):a},getCategoriesMenu=async(e,t)=>{if(!e)throw Error("getCategoriesMenu: categoryId is required");if(!t)throw Error("getCategoriesMenu: categories is required");let r=t.filter(t=>t.parent_id===e);return r},createGardensSimpleContent=(e,t)=>{let r=e.map(e=>{let r=t.filter(t=>t.cat_principal_id===e.id);if(r.length>0){var a;let t=r.map(e=>({...e,...e.custom_fields}));return{...e,custom_fields:1===t.length?t[0]:t,location_text:1===t.length&&(null===(a=t[0].location_text)||void 0===a?void 0:a.value)}}return e});return r.filter(e=>e.custom_fields)}},3439:function(e,t,r){r.d(t,{Ed:function(){return forEach},UI:function(){return map},XW:function(){return hasChildOfType}});var a=r(7294);function map(e,t){let r=0;return a.Children.map(e,e=>a.isValidElement(e)?t(e,r++):e)}function forEach(e,t){let r=0;a.Children.forEach(e,e=>{a.isValidElement(e)&&t(e,r++)})}function hasChildOfType(e,t){return a.Children.toArray(e).some(e=>a.isValidElement(e)&&e.type===t)}},4119:function(e,t,r){var a=r(4184),i=r.n(a),s=r(7294),l=r(6986),n=r(6792),o=r(5893);let c=s.forwardRef(({bsPrefix:e,className:t,children:r,controlId:a,label:s,...c},d)=>(e=(0,n.vE)(e,"form-floating"),(0,o.jsxs)(l.Z,{ref:d,className:i()(t,e),controlId:a,...c,children:[r,(0,o.jsx)("label",{htmlFor:a,children:s})]})));c.displayName="FloatingLabel",t.Z=c},4492:function(e,t,r){r.d(t,{Z:function(){return L}});var a=r(4184),i=r.n(a),s=r(5697),l=r.n(s),n=r(7294),o=r(5893);let c={type:l().string,tooltip:l().bool,as:l().elementType},d=n.forwardRef(({as:e="div",className:t,type:r="valid",tooltip:a=!1,...s},l)=>(0,o.jsx)(e,{...s,ref:l,className:i()(t,`${r}-${a?"tooltip":"feedback"}`)}));d.displayName="Feedback",d.propTypes=c;var m=r(6558),u=r(1377),f=r(6792);let g=n.forwardRef(({bsPrefix:e,className:t,htmlFor:r,...a},s)=>{let{controlId:l}=(0,n.useContext)(u.Z);return e=(0,f.vE)(e,"form-check-label"),(0,o.jsx)("label",{...a,ref:s,htmlFor:r||l,className:i()(t,e)})});g.displayName="FormCheckLabel";var h=r(3439);let x=n.forwardRef(({id:e,bsPrefix:t,bsSwitchPrefix:r,inline:a=!1,reverse:s=!1,disabled:l=!1,isValid:c=!1,isInvalid:x=!1,feedbackTooltip:p=!1,feedback:y,feedbackType:v,className:j,style:N,title:C="",type:w="checkbox",label:Z,children:b,as:_="input",...I},F)=>{t=(0,f.vE)(t,"form-check"),r=(0,f.vE)(r,"form-switch");let{controlId:E}=(0,n.useContext)(u.Z),k=(0,n.useMemo)(()=>({controlId:e||E}),[E,e]),R=!b&&null!=Z&&!1!==Z||(0,h.XW)(b,g),L=(0,o.jsx)(m.Z,{...I,type:"switch"===w?"checkbox":w,ref:F,isValid:c,isInvalid:x,disabled:l,as:_});return(0,o.jsx)(u.Z.Provider,{value:k,children:(0,o.jsx)("div",{style:N,className:i()(j,R&&t,a&&`${t}-inline`,s&&`${t}-reverse`,"switch"===w&&r),children:b||(0,o.jsxs)(o.Fragment,{children:[L,R&&(0,o.jsx)(g,{title:C,children:Z}),y&&(0,o.jsx)(d,{type:v,tooltip:p,children:y})]})})})});x.displayName="FormCheck";var p=Object.assign(x,{Input:m.Z,Label:g});r(2473);let y=n.forwardRef(({bsPrefix:e,type:t,size:r,htmlSize:a,id:s,className:l,isValid:c=!1,isInvalid:d=!1,plaintext:m,readOnly:g,as:h="input",...x},p)=>{let y;let{controlId:v}=(0,n.useContext)(u.Z);return e=(0,f.vE)(e,"form-control"),y=m?{[`${e}-plaintext`]:!0}:{[e]:!0,[`${e}-${r}`]:r},(0,o.jsx)(h,{...x,type:t,size:a,ref:p,readOnly:g,id:s||v,className:i()(l,y,c&&"is-valid",d&&"is-invalid","color"===t&&`${e}-color`)})});y.displayName="FormControl";var v=Object.assign(y,{Feedback:d}),j=(0,r(6611).Z)("form-floating"),N=r(6986),C=r(1555);let w=n.forwardRef(({as:e="label",bsPrefix:t,column:r,visuallyHidden:a,className:s,htmlFor:l,...c},d)=>{let{controlId:m}=(0,n.useContext)(u.Z);t=(0,f.vE)(t,"form-label");let g="col-form-label";"string"==typeof r&&(g=`${g} ${g}-${r}`);let h=i()(s,t,a&&"visually-hidden",r&&g);return(l=l||m,r)?(0,o.jsx)(C.Z,{ref:d,as:"label",className:h,htmlFor:l,...c}):(0,o.jsx)(e,{ref:d,className:h,htmlFor:l,...c})});w.displayName="FormLabel",w.defaultProps={column:!1,visuallyHidden:!1};let Z=n.forwardRef(({bsPrefix:e,className:t,id:r,...a},s)=>{let{controlId:l}=(0,n.useContext)(u.Z);return e=(0,f.vE)(e,"form-range"),(0,o.jsx)("input",{...a,type:"range",ref:s,className:i()(t,e),id:r||l})});Z.displayName="FormRange";let b=n.forwardRef(({bsPrefix:e,size:t,htmlSize:r,className:a,isValid:s=!1,isInvalid:l=!1,id:c,...d},m)=>{let{controlId:g}=(0,n.useContext)(u.Z);return e=(0,f.vE)(e,"form-select"),(0,o.jsx)("select",{...d,size:r,ref:m,className:i()(a,e,t&&`${e}-${t}`,s&&"is-valid",l&&"is-invalid"),id:c||g})});b.displayName="FormSelect";let _=n.forwardRef(({bsPrefix:e,className:t,as:r="small",muted:a,...s},l)=>
1(e=(0,f.vE)(e,"form-text"),(0,o.jsx)(r,{...s,ref:l,className:i()(t,e,a&&"text-muted")})));_.displayName="FormText";let I=n.forwardRef((e,t)=>(0,o.jsx)(p,{...e,ref:t,type:"switch"}));I.displayName="Switch";var F=Object.assign(I,{Input:p.Input,Label:p.Label}),E=r(4119);let k={_ref:l().any,validated:l().bool,as:l().elementType},R=n.forwardRef(({className:e,validated:t,as:r="form",...a},s)=>(0,o.jsx)(r,{...a,ref:s,className:i()(e,t&&"was-validated")}));R.displayName="Form",R.propTypes=k;var L=Object.assign(R,{Group:N.Z,Control:v,Floating:j,Check:p,Switch:F,Label:w,Text:_,Range:Z,Select:b,FloatingLabel:E.Z})},6558:function(e,t,r){var a=r(4184),i=r.n(a),s=r(7294),l=r(1377),n=r(6792),o=r(5893);let c=s.forwardRef(({id:e,bsPrefix:t,className:r,type:a="checkbox",isValid:c=!1,isInvalid:d=!1,as:m="input",...u},f)=>{let{controlId:g}=(0,s.useContext)(l.Z);return t=(0,n.vE)(t,"form-check-input"),(0,o.jsx)(m,{...u,ref:f,type:a,id:e||g,className:i()(r,t,c&&"is-valid",d&&"is-invalid")})});c.displayName="FormCheckInput",t.Z=c},1377:function(e,t,r){var a=r(7294);let i=a.createContext({});t.Z=i},6986:function(e,t,r){var a=r(7294),i=r(1377),s=r(5893);let l=a.forwardRef(({controlId:e,as:t="div",...r},l)=>{let n=(0,a.useMemo)(()=>({controlId:e}),[e]);return(0,s.jsx)(i.Z.Provider,{value:n,children:(0,s.jsx)(t,{...r,ref:l})})});l.displayName="FormGroup",t.Z=l}}]);
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.