1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7813],{8776:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});var o=r(12115),a=r(47650);function n(e){let{children:t}=e,[r,n]=(0,o.useState)(!1);return((0,o.useEffect)(()=>(n(!0),()=>n(!1)),[]),r)?(0,a.createPortal)(t,document.body):null}},17633:(e,t,r)=>{"use strict";r.d(t,{default:()=>s});var o=r(95155),a=r(12115),n=r(25561),l=r(8776);let s=()=>{let[e,t]=(0,a.useState)(!1),[r,s]=(0,a.useState)(null);return((0,a.useEffect)(()=>(e?document.body.style.overflow="hidden":document.body.style.overflow="auto",()=>{document.body.style.overflow="auto"}),[e]),(0,a.useEffect)(()=>{let e,r=window.innerWidth<=768,o=localStorage.getItem("popupShown"),a=Date.now(),n=!o||a-parseInt(o,10)>1728e5;if(r&&n)return(async()=>{try{let r=await fetch("".concat("https://api.k4henna.com/api/v1","/popup/getall"),{headers:{"x-api-key":"b02ca5d6-f63c-44a0-b2ce-1ef75bdca8de"}}),o=await r.json(),n=null==o?void 0:o.data[0];n&&(s(n),e=setTimeout(()=>{t(!0),localStorage.setItem("popupShown",a.toString())},2e3))}catch(e){console.error("Error fetching popup data:",e)}})(),()=>{e&&clearTimeout(e)}},[]),e&&r)?(0,o.jsx)(l.A,{children:(0,o.jsx)("div",{className:"fixed inset-0 bg-black/50 flex justify-center items-center z-50",children:(0,o.jsxs)(n.P.div,{className:"bg-white rounded shadow-lg relative max-w-[90%] max-h-[90%]",initial:{opacity:0,scale:.8},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.8},transition:{duration:.5},children:[(0,o.jsx)("img",{src:"/close_button_dwn.png",className:"absolute -top-6 -right-6 cursor-pointer p-2 z-10 w-12 h-12",onClick:()=>{t(!1)}}),(0,o.jsx)("div",{className:"cursor-pointer",onClick:()=>window.location.href=null==r?void 0:r.link,children:(0,o.jsx)("img",{src:null==r?void 0:r.imageUrl,alt:"Advertisement",className:"w-full h-auto max-w-full max-h-[90vh] object-contain rounded"})})]})})}):null}},33403:(e,t,r)=>{Promise.resolve().then(r.t.bind(r,6874,23)),Promise.resolve().then(r.bind(r,17633)),Promise.resolve().then(r.bind(r,66359))},46758:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});var o=r(23464),a=r(71171);let n=o.A.create({baseURL:a.C,withCredentials:!0,headers:{"x-api-key":"b02ca5d6-f63c-44a0-b2ce-1ef75bdca8de"}})},66359:(e,t,r)=>{"use strict";r.d(t,{default:()=>d});var o=r(95155),a=r(12115),n=r(6874),l=r.n(n),s=r(34540),i=r(92928),c=r(29911);let d=()=>{let e=(0,s.wA)(),t=(0,s.d4)(e=>e.page.page);return(0,a.useEffect)(()=>{t.length||e((0,i.N)())},[]),(0,o.jsxs)("footer",{className:"bg-[#F6ECE0] border-t border-[#E2D3C2] pt-10 pb-6 px-6 md:px-12 w-full",children:[(0,o.jsxs)("div",{className:"max-w-7xl mx-auto grid grid-cols-1 md:grid-cols-3 gap-10",children:[(0,o.jsxs)("div",{children:[(0,o.jsx)("h4",{className:"font-bold mb-4 text-xl text-[#5A4636]",children:"Help"}),(0,o.jsx)("div",{className:"flex flex-wrap gap-x-6 gap-y-3 text-[#7A6857] text-base",children:null==t?void 0:t.map(e=>(0,o.jsx)(l(),{href:"/p/".concat(e.slug),prefetch:!0,className:"hover:text-[#5A4636] transition-colors",children:e.name},e._id))})]}),(0,o.jsxs)("div",{children:[(0,o.jsx)("h4",{className:"font-bold mb-4 text-xl text-[#5A4636]",children:"Download the App"}),(0,o.jsx)("div",{className:"flex flex-col sm:flex-row gap-3",children:(0,o.jsx)("a",{href:"https://play.google.com/store/apps/details?id=com.k4.henna",target:"_blank",rel:"noopener noreferrer",children:(0,o.jsx)("img",{src:"/google-play-icon.svg",alt:"Google Play",className:"w-[150px] h-[50px] hover:scale-105 transition-transform duration-300"})})})]}),(0,o.jsxs)("div",{children:[(0,o.jsx)("h4",{className:"font-bold mb-4 text-xl text-[#5A4636]",children:"Follow us"}),(0,o.jsx)("div",{className:"flex gap-4",children:[{icon:(0,o.jsx)(c.ok6,{}),href:"https://www.facebook.com/K4Henna/"},{icon:(0,o.jsx)(c.ao$,{}),href:"https://www.instagram.com/k4henna/"},{icon:(0,o.jsx)(c.Vk6,{}),href:"https://www.youtube.com/@StylishMehndiDesign/"},{icon:(0,o.jsx)(c.ao$,{}),href:"https://www.instagram.com/stylishmehndidesign/"}].map((e,t)=>(0,o.jsx)("a",{href:e.href,target:"_blank",rel:"noopener noreferrer",className:"w-10 h-10 rounded-full flex justify-center items-center border border-[#D8C7B3] text-[#5A4636] hover:border-[#8A6A44] hover:text-[#8A6A44] transition-colors duration-200",children:e.icon},t))})]})]}
1),(0,o.jsxs)("div",{className:"mt-10 border-t border-[#E2D3C2] pt-4 text-center text-sm text-[#7A6857]",children:["\xa9 ",new Date().getFullYear()," K4 Henna. All Rights Reserved"]})]})}},71171:(e,t,r)=>{"use strict";r.d(t,{C:()=>o});let o="https://api.k4henna.com/api/v1"},74436:(e,t,r)=>{"use strict";r.d(t,{k5:()=>d});var o=r(12115),a={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},n=o.createContext&&o.createContext(a),l=["attr","size","title"];function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e}).apply(this,arguments)}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,o)}return r}function c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach(function(t){var o,a,n;o=e,a=t,n=r[t],(a=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,t||"default");if("object"!=typeof o)return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(a))in o?Object.defineProperty(o,a,{value:n,enumerable:!0,configurable:!0,writable:!0}):o[a]=n}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function d(e){return t=>o.createElement(u,s({attr:c({},e.attr)},t),function e(t){return t&&t.map((t,r)=>o.createElement(t.tag,c({key:r},t.attr),e(t.child)))}(e.child))}function u(e){var t=t=>{var r,{attr:a,size:n,title:i}=e,d=function(e,t){if(null==e)return{};var r,o,a=function(e,t){if(null==e)return{};var r={};for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){if(t.indexOf(o)>=0)continue;r[o]=e[o]}return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(o=0;o<n.length;o++)r=n[o],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}(e,l),u=n||t.size||"1em";return t.className&&(r=t.className),e.className&&(r=(r?r+" ":"")+e.className),o.createElement("svg",s({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},t.attr,a,d,{className:r,style:c(c({color:e.color||t.color},t.style),e.style),height:u,width:u,xmlns:"http://www.w3.org/2000/svg"}),i&&o.createElement("title",null,i),e.children)};return void 0!==n?o.createElement(n.Consumer,null,e=>t(e)):t(a)}},92928:(e,t,r)=>{"use strict";r.d(t,{N:()=>l});var o=r(51990),a=r(46758),n=r(56671);let l=(0,o.zD)("getAllPage",async()=>{try{return(await a.A.get("/pages/getall")).data.data}catch(e){throw console.log(e),n.o.error("Error Occured Try Again"),e}})}},e=>{var t=t=>e(e.s=t);e.O(0,[6711,5284,6874,6671,5561,8441,2721,7358],()=>t(33403)),_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.