(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9298,9844,713,3845,8784,1277],{5949:function(e,t,n){Promise.resolve().then(n.bind(n,6007)),Promise.resolve().then(n.bind(n,6256)),Promise.resolve().then(n.bind(n,7483)),Promise.resolve().then(n.t.bind(n,1749,23)),Promise.resolve().then(n.t.bind(n,5250,23))},11:function(e,t,n){"use strict";var s=n(7908);t.Z=s.Z.create({baseURL:"https://assignment-help-global-panel-xjeqw.ondigitalocean.app"})},6007:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return o}});var s=n(3827),l=n(11),i=n(2685),r=n(7907),a=n(4090);function o(e){let{t,c:n}=e,o=(0,r.useRouter)(),[u,c]=(0,a.useState)(t||""),[d,h]=(0,a.useState)([]),A=async e=>{await l.Z.get("/api/questioncategory/search?selectrow=100&project=AUH&publishstatus=published",{signal:e}).then(e=>{var t;(null==e?void 0:e.status)===200&&h(null==e?void 0:null===(t=e.data)||void 0===t?void 0:t.questioncategory)}).catch(e=>{var t,n;return console.log(null==e?void 0:null===(n=e.response)||void 0===n?void 0:null===(t=n.data)||void 0===t?void 0:t.message)})};return(0,a.useEffect)(()=>{let e=new AbortController;return A(e.signal),()=>{e.abort()}},[]),(0,s.jsx)("section",{className:"py-5 gradient-top-bottom",children:(0,s.jsxs)("div",{className:"container",children:[(0,s.jsx)("h1",{className:"font-medium text-white text-center mb-0",children:"UAE Assignment Questions"}),(0,s.jsx)("p",{className:"font-medium text-center text-white mb-4",children:"Buy UAE's Assessment Answers & Assignment Solutions Instantly."}),(0,s.jsxs)("div",{className:"flex items-center justify-center flex-col lg:flex-row gap-2 lg:gap-4 lg:px-20",children:[(0,s.jsxs)("form",{onSubmit:e=>{e.preventDefault(),o.push("/questions/title/".concat(u))},className:"inline-flex items-center w-full rounded-md overflow-hidden",children:[(0,s.jsx)("input",{type:"text",value:u,onChange:e=>c(e.target.value),required:!0,placeholder:"Search questions",className:"flex-1 p-2"}),(0,s.jsx)("button",{type:"submit",className:"bg-neutral-500 p-[11px]","aria-label":"Search",children:(0,s.jsx)(i.Z,{width:20,height:20,color:"white"})})]}),(0,s.jsxs)("select",{value:n,onChange:e=>{let t=e.target.value;(null==t?void 0:t.trim())!==""?o.push("/questions/category/".concat(t)):o.push("/questions/")},className:"p-3 bg-white rounded-md w-full","aria-label":"Category",children:[(0,s.jsx)("option",{value:"",children:"Select Category"}),null==d?void 0:d.map(e=>(0,s.jsx)("option",{value:null==e?void 0:e.slug,children:null==e?void 0:e.title},null==e?void 0:e._id))]})]})]})})}},7907:function(e,t,n){"use strict";var s=n(5313);n.o(s,"useRouter")&&n.d(t,{useRouter:function(){return s.useRouter}})},6256:function(e,t,n){"use strict";n.r(t),t.default={src:"/_next/static/media/sample.de85dffd.png",height:500,width:350,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAICAMAAADtGH4KAAAAYFBMVEVsinCyq6rzjIxZjGZXXTJsampDQD5ceE3jzMbyYmFjpH3Qy8ZzdFE8h1pipNFPSkkMcjVldIR1gXCUj42JbWMmX4WNqLlfbUb+FRdlq4TuSk7KsLHprqrvcHP6NzfZ4Nux8IEvAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAOklEQVR4nAXBBwKAIAwAsWO3oOLe4/+/NCFtKfmGnA/n4dHTWmF/VYxB7++aJ0qRdQjgxqWr9C0xhh9AZwJLMARFHwAAAABJRU5ErkJggg==",blurWidth:6,blurHeight:8}},2685:function(e,t,n){"use strict";var s=n(4090);let l=s.forwardRef(function(e,t){let{title:n,titleId:l,...i}=e;return s.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":l},i),n?s.createElement("title",{id:l},n):null,s.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z"}))});t.Z=l}},function(e){e.O(0,[1778,5250,1749,7908,4944,9168,7483,2971,8069,1744],function(){return e(e.s=5949)}),_N_E=e.O()}]);