1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9639],{53962:function(e,t,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/auth/signin/select-categories",function(){return a(90374)}])},60014:function(e,t,a){"use strict";var n=a(85893),l=a(67294),r=a(34041),s=a(23279),o=a.n(s),i=a(55786),c=a(31955),d=a(5121);function u(e){let{fetchOptions:t,debounceTimeout:a=800,...s}=e,[c,d]=(0,l.useState)(!1),[u,x]=(0,l.useState)([]),f=(0,l.useRef)(0),p=(0,l.useMemo)(()=>{let e=e=>{f.current+=1;let a=f.current;x([]),d(!0),t(e).then(e=>{a===f.current&&(x(e),d(!1))})};return o()(e,a)},[t,a]),h=(0,l.useMemo)(()=>s.ids.length?u.filter(e=>!s.ids.some(t=>t&&t.value===e.value)):u,[u,s.ids]);return(0,l.useEffect)(()=>{d(!0),t("").then(e=>{x(e),d(!1)})},[]),(0,n.jsx)(r.Z,{labelInValue:!0,size:"large",filterOption:!1,onSearch:p,notFoundContent:c?(0,n.jsx)(i.Z,{}):"No options found",...s,maxTagCount:s.hideSelectedInInput?0:"responsive",maxTagPlaceholder:s.hideSelectedInInput?null:void 0,options:h,suffixIcon:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"25",viewBox:"0 0 24 25",fill:"none",children:(0,n.jsx)("path",{d:"M12 13.6028L16.95 8.65283L18.364 10.0668L12 16.4308L5.63599 10.0668L7.04999 8.65283L12 13.6028Z",fill:"currentColor"})})})}let x=e=>{async function t(e){let t=c.Z.get("ii-token");return d.Z.get("".concat("https://indiaindex.com/api/web","/category-search"),{params:{search:e,search_level:1},headers:{"ii-token":t}}).then(e=>{try{return e.data.data.data.map(e=>({label:e.description,value:e.id}))}catch(t){}})}return(0,n.jsx)(u,{showSearch:!0,mode:e.mode||void 0,value:e.hiddenInput&&"multiple"!==e.mode?null:e.value,placeholder:"Enter name, HS Code, or products...",fetchOptions:t,onChange:e.onChange,rootClassName:e.className,popupClassName:e.className,style:{width:"100%"},ids:e.ids||[],hideSelectedInInput:e.hiddenInput,disabled:e.disable||!1})};t.Z=x},43063:function(e,t,a){"use strict";a.d(t,{dk:function(){return s},Gg:function(){return d},Rz:function(){return x},X6:function(){return p},eZ:function(){return y},VL:function(){return j},CM:function(){return N},ZU:function(){return _}});var n=a(85893),l=a(67294);let r=e=>{let{children:t}=e;return(0,n.jsx)("p",{className:"w-[424px] font-[HelveticaNowDisplay] text-Gray-500 dark:text-Gray-400",children:t})};var s=r,o=a(75322),i=a(80550);let c=e=>{let{value:t,onSave:a,label:r,onCancel:s,isDisabled:c=!0}=e,[d,u]=(0,l.useState)(t),x=e=>{u(e.target.value)},f=()=>{a(d)},p=d.length>1e4?"text-Gray-500 ":"text-profile-primary";return(0,n.jsxs)("div",{children:[(0,n.jsx)(o.gx,{defaultValue:t,value:d,onChange:x,label:r,placeholder:"This is your space to shine test",wordCount:1e4-d.length,minRows:1,maxRows:9,textAreaCustomStyle:"post-req-textarea",maxLength:1e4,showCount:!0,style:{width:"100%",minHeight:"92px"},labelClassName:"dark:!text-Gray-50 capitalize"}),(0,n.jsxs)(o.zx,{className:"w-[100%] mt-[20px] border-[#D1DDFF] dark:border-transparent text-profile-primary dark:text-Indigo-25 ".concat(d.length>1e4?"dark:bg-Gray-800":"dark:bg-profile-primary"," border pt-[12px] pb-[12px] pr-[18px] pl-[18px] rounded-[8px] ").concat(p," flex items-center justify-center gap-[8px]"),onClick:f,isDisabled:d.length>1e4,children:[(0,n.jsx)(i.vc,{color:"currentColor"}),(0,n.jsx)("span",{className:"font-HelveticaNowVar text-base font-medium leading-normal",children:"Post Opportunity"})]}),(0,n.jsx)(o.zx,{className:"w-[100%] text-Gray-500 mt-[10px] text-base font-weight500 font-[HelveticaNowDisplay]",onClick:s,children:"Cancel"})]})};var d=c;let u=e=>{let{children:t,wordCount:a}=e;return(0,n.jsxs)(l.Fragment,{children:[(0,n.jsx)("label",{className:"text-[#344054] dark:text-Gray-50 font-weight600 text-sm font-degular ",children:"AI Description Generated With AI"}),(0,n.jsxs)("div",{className:" w-[384px] xl:w-[420px] bg-[#F9FAFB] dark:bg-Gray-800 text-[#344054] dark:text-Gray-50 text-base pl-[20px] pr-[20px] pt-[16px] pb-[16px] mt-[10px] rounded-[16px] break-words",children:[(0,n.jsx)("div",{className:"w-[100%] min-h-[120px] max-h-auto scrollbar-hide font-HelveticaNowVar text-base ".concat(a<200?"overflow-y-scroll":""," "),children:t}),a&&(0,n.jsxs)("div",{className:"mt-[10px] lining-nums tabular-nums text-sm ".concat(a<0?"text-[#F04438]":"text-[#98A2B3] dark:text-Gray-500"," font-[HelveticaNowDisplay]"),children:[a," characters left"]})]})]})};var x=u;let f=e=>{let{children:t,className:a}=e;return(0,n.jsx)("h1",{className:"text-[40px] font-[DegularVariable] font-weight600 text-Gray-900 dark:text-Gray-200 leading-tight ".concat(a),children:t})};var p=f,h={src:"/_next/static/media/PageScanner.1325b865.gif",height:500,width:500},m=a(25675),g=a.n(m);let v=()=>(0,n.jsx)("div",{className:"w-[100%] h-[100vh] fixed flex items-center justify-center bg-base-white dark:bg-page-dark top-0 left-0 right-0 bottom-0 ",children:(0,n.jsxs)("div",{className:"w-[293px] flex flex-col items-center",children:[(0,n.jsx)(g(),{src:h,alt:"gif"}),(0,n.jsx)("h3",{className:"font-[HelveticaNowDisplay] text-[#000000] dark:text-base-white text-base",children:"Making things happen"})]})});var y=v;let b=()=>(0,n.jsxs)("div",{className:"flex items-center gap-[10px] mt-[20px] ",children:[(0,n.jsx)("div",{className:"p-[10px] bg-[#EFF3FF] dark:bg-Gray-900 rounded-[8px] text-profile-primary dark:text-Cafe-Blue-400",children:(0,n.jsx)(i.WB,{color:"currentColor"})}),(0,n.jsx)("p",{className:" text-[#1336A0] dark:text-Indigo-50 font-weight600 text-xl font-[DegularVariable]",children:"Selected board"})]});var j=b;let w=e=>{let{children:t,onClick:a,rootClassName:l}=e;return(0,n.jsxs)(o.Af,{borderColor:"border-[#B2DDFF] dark:border-Utility-Blue-200",className:"flex items-center justify-center mt-2 text-xs bg-[#EFF8FF] dark:bg-Utility-Blue-50 text-[#175CD3] dark:text-Utility-Blue-700 ".concat(l),children:[(0,n.jsx)("p",{className:"w-[100%] p-[2px]",children:t})," ",(0,n.jsx)(i.X1,{style:{marginTop:"1px"},size:"16",onClick:a})," "]})};var N=w;let C=e=>{let{children:t,status:a,className:l}=e;return(0,n.jsxs)("p",{className:"".concat(l," ").concat("good"===a?"text-[#039855] dark:text-Success-400":"text-[#DC6803] dark:text-Warning-600"," text-base font-weight500 font-[HelveticaNowDisplay]"),children:[t," ","good"===a?"\uD83C\uDFAF":"\uD83E\uDD28"]})};var _=C},72308:function(e,t,a){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.bailoutToClientRendering=function(){let e=l.staticGenerationAsyncStorage&&"getStore"in l.staticGenerationAsyncStorage?null==l.staticGenerationAsyncStorage?void 0:l.staticGenerationAsyncStorage.getStore():l.staticGenerationAsyncStorage;return null!=e&&!!e.forceStatic||((null==e?void 0:e.isStaticGeneration)&&n.suspense(),!1)};var n=a(54564),l=a(82437);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},13897:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useSearchParams=function(){let e=n.useContext(r.SearchParamsContext),t=n.useMemo(()=>new x(e||new URLSearchParams),[e]);if(s.bailoutToClientRendering())return t;if(!e)throw Error("invariant expected search params to be mounted");return t},t.usePathname=function(){return n.useContext(r.PathnameContext)},Object.defineProperty(t,"ServerInsertedHTMLContext",{enumerable:!0,get:function(){return o.ServerInsertedHTMLContext}}),Object.defineProperty(t,"useServerInsertedHTML",{enumerable:!0,get:function(){return o.useServerInsertedHTML}}),t.useRouter=function(){let e=n.useContext(l.AppRouterContext);if(null===e)throw Error("invariant expected app router to be mounted");return e},t.useSelectedLayoutSegments=f,t.useSelectedLayoutSegment=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"children",t=f(e);return 0===t.length?null:t[0]},Object.defineProperty(t,"redirect",{enumerable:!0,get:function(){return i.redirect}}),Object.defineProperty(t,"notFound",{enumerable:!0,get:function(){return c.notFound}});var n=a(67294),l=a(48245),r=a(78914),s=a(72308),o=a(20671),i=a(30761),c=a(18739);let d=Symbol("internal for urlsearchparams readonly");function u(){return Error("ReadonlyURLSearchParams cannot be modified")}class x{[Symbol.iterator](){return this[d][Symbol.iterator]()}append(){throw u()}delete(){throw u()}set(){throw u()}sort(){throw u()}constructor(e){this[d]=e,this.entries=e.entries.bind(e),this.forEach=e.forEach.bind(e),this.get=e.get.bind(e),this.getAll=e.getAll.bind(e),this.has=e.has.bind(e),this.keys=e.keys.bind(e),this.values=e.values.bind(e),this.toString=e.toString.bind(e)}}function f(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"children",{tree:t}=n.useContext(l.LayoutRouterContext);return function e(t,a){let n,l=!(arguments.length>2)||void 0===arguments[2]||arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];if(l)n=t[1][a];else{var s;let o=t[1];n=null!=(s=o.children)?s:Object.values(o)[0]}if(!n)return r;let i=n[0],c=Array.isArray(i)?i[1]:i;return c?(r.push(c),e(n,a,!1,r)):r}(t,e)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},18739:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.notFound=function(){let e=Error(a);throw e.digest=a,e},t.NOT_FOUND_ERROR_CODE=void 0;let a="NEXT_NOT_FOUND";t.NOT_FOUND_ERROR_CODE=a,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},30761:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.redirect=function(e){let t=Error(a);throw t.digest=a+";"+e,t},t.REDIRECT_ERROR_CODE=void 0;let a="NEXT_REDIRECT";t.REDIRECT_ERROR_CODE=a,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},54564:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{children:t}=e;return t},t.suspense=function(){let e=Error(n.NEXT_DYNAMIC_NO_SSR_CODE);throw e.digest=n.NEXT_DYNAMIC_NO_SSR_CODE,e},(0,a(92648).Z)(a(67294));var n=a(92983)},20671:function(e,t,a){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.useServerInsertedHTML=function(e){let t=n.useContext(l);t&&t(e)},t.ServerInsertedHTMLContext=void 0;var n=(0,a(91598).Z)(a(67294));let l=n.default.createContext(null);t.ServerInsertedHTMLContext=l},90374:function(e,t,a){"use strict";a.r(t),a.d(t,{default:function(){return m}});var n=a(85893),l=a(13842),r=a(60014),s=a(43063),o=a(57545),i=a(5121),c=a(31955),d=a(67294),u=a(39332),x=a(22920);let f=()=>(0,n.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{d:"M7 6V3.66667M7 8.33333H7.00667M5.6 11.8L6.57333 13.0978C6.71808 13.2908 6.79045 13.3873 6.87918 13.4218C6.95689 13.452 7.04311 13.452 7.12082 13.4218C7.20955 13.3873 7.28192 13.2908 7.42667 13.0978L8.4 11.8C8.59543 11.5394 8.69315 11.4091 8.81234 11.3097C8.97126 11.177 9.15887 11.0832 9.36033 11.0357C9.51142 11 9.67428 11 10 11C10.9319 11 11.3978 11 11.7654 10.8478C12.2554 10.6448 12.6448 10.2554 12.8478 9.76537C13 9.39782 13 8.93188 13 8V4.2C13 3.07989 13 2.51984 12.782 2.09202C12.5903 1.71569 12.2843 1.40973 11.908 1.21799C11.4802 1 10.9201 1 9.8 1H4.2C3.0799 1 2.51984 1 2.09202 1.21799C1.71569 1.40973 1.40973 1.71569 1.21799 2.09202C1 2.51984 1 3.07989 1 4.2V8C1 8.93188 1 9.39782 1.15224 9.76537C1.35523 10.2554 1.74458 10.6448 2.23463 10.8478C2.60218 11 3.06812 11 4 11C4.32572 11 4.48858 11 4.63967 11.0357C4.84113 11.0832 5.02874 11.177 5.18766 11.3097C5.30685 11.4091 5.40457 11.5394 5.6 11.8Z",stroke:"#667085","stroke-linecap":"round","stroke-linejoin":"round"})});var p=a(83062);let h=e=>{let t=(0,u.useRouter)(),[a,h]=(0,d.useState)(null),[m,g]=(0,d.useState)([]),v=async()=>{let n={"Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"*","Access-Control-Allow-Headers":"*","ii-token":c.Z.get("ii-token")},l=JSON.stringify([a?{category_id:a.value,is_primary:1}:null,...m.map(e=>({category_id:e.value,is_primary:0}))].filter(e=>e)),r=!0;if(e.companyId){let s=await i.Z.post("".concat("https://indiaindex.com/api/web")+"/update-company/"+e.companyId,{category_ids:l},{headers:n});"success"!==s.data.status&&(r=!1)}else{let o=await i.Z.post("".concat("https://indiaindex.com/api/web")+"/add-company",{category_ids:l},{headers:n});"success"!==o.data.status&&(r=!1)}r?t.push("/dashboard"):x.Am.error("Something went wrong")};return(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("div",{className:"category-modal bg-[#0C141F] rounded-[25px] min-w-[1080px] absolute overflow-hidden px-20 py-16",children:[(0,n.jsxs)("div",{className:"flex flex-col gap-8 z-10 relative",children:[(0,n.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,n.jsx)("p",{className:"text-white text-[56px] w-full font-degular font-extralight",children:"Select Product Category / HS Codes"}),(0,n.jsx)("span",{className:"text-Gray-25 text-opacity-80 font-HelveticaNowVar",children:"Choosing relevant HS codes will provide better matchmaking experience"})]}),(0,n.jsxs)("div",{className:"flex flex-col gap-8 py-8",children:[(0,n.jsxs)("div",{className:"flex flex-col gap-8",children:[(0,n.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,n.jsxs)("div",{className:"flex flex-col gap-2 max-w-xl",children:[(0,n.jsxs)("div",{className:"flex items-center gap-2",children:[(0,n.jsx)("label",{className:"text-white font-HelveticaNowVar",children:"Primary HS Code *"}),(0,n.jsx)(p.Z,{overlayInnerStyle:{width:"360px"},placement:"top",title:(0,n.jsxs)("div",{className:"flex flex-col gap-1 text-xs p-2",children:[(0,n.jsx)("p",{className:"font-HelveticaNowVar font-bold text-base-white",children:"Primary HS code"}),(0,n.jsxs)("span",{className:"font-HelveticaNowVar font-normal text-base-white leading-5",children:["Type the product name, category, or HS code that represents the main offering of your company. \u2028\u2028To know how HS code works visit: ",(0,n.jsx)("a",{className:"text-Cafe-Blue-400",href:"https://hts.usitc.gov/",target:"_blank",children:"https://hts.usitc.gov/"})]})]}),children:(0,n.jsx)("div",{children:(0,n.jsx)(f,{})})})]}),(0,n.jsx)(r.Z,{value:a,ids:m,onChange:h,hiddenInput:!0,className:"select-category-debounce"})]}),a&&(0,n.jsx)("div",{className:"flex flex-wrap gap-2 mt-3",children:(0,n.jsx)(s.CM,{rootClassName:"!bg-Utility-Blue-50 !text-Utility-Blue-700",onClick:()=>h(null),children:a.label})})]}),(0,n.jsxs)("div",{className:"flex flex-col gap-2 max-w-xl",children:[(0,n.jsxs)("div",{className:"flex flex-col gap-2.5",children:[(0,n.jsxs)("div",{className:"flex flex-col gap-0.5",children:[(0,n.jsxs)("div",{className:"flex items-center gap-2",children:[(0,n.jsxs)("label",{className:"text-white font-HelveticaNowVar",children:["Additional HS Codes ",(0,n.jsx)("span",{className:"text-Gray-500",children:"(optional)"})]}),(0,n.jsx)(p.Z,{overlayInnerStyle:{width:"360px"},placement:"top",title:(0,n.jsxs)("div",{className:"flex flex-col gap-1 text-xs p-2",children:[(0,n.jsx)("p",{className:"font-HelveticaNowVar font-bold text-base-white",children:"Additional HS codes"}),(0,n.jsxs)("span",{className:"font-HelveticaNowVar font-normal text-base-white leading-5",children:["Type the product name, category, or HS code, and select multiple codes that apply to your company.\u2028\u2028To know how HS code works visit: ",(0,n.jsx)("a",{className:"text-Cafe-Blue-400",href:"https://hts.usitc.gov/",target:"_blank",children:"https://hts.usitc.gov/"})]})]}),children:(0,n.jsx)("div",{children:(0,n.jsx)(f,{})})})]}),(0,n.jsx)("span",{className:"text-Gray-500 text-xs",children:"You can select multiple HS codes for your company"})]}),(0,n.jsx)(r.Z,{ids:[a],value:m,onChange:g,hiddenInput:!0,className:"select-category-debounce",mode:"multiple"})]}),m.length>0&&(0,n.jsx)("div",{className:"flex flex-wrap gap-2 max-h-[100px] overflow-hidden overflow-y-auto scrollbar-hide",children:m.map(e=>(0,n.jsx)(s.CM,{rootClassName:"!bg-Utility-Blue-50 !text-Utility-Blue-700",onClick:()=>{g(t=>t.filter(t=>t.value!==e.value))},children:e.label}))})]})]}),(0,n.jsx)("div",{className:"flex justify-start gap-2 max-w-xl",children:(0,n.jsx)(o.Z,{name:"primary",size:"lg",onClick:v,children:(0,n.jsx)("span",{className:"px-6 font-degular text-2xl",children:"Start"})})})]}),"\xa0"]}),(0,n.jsx)("img",{id:"backGroundImg",src:"https://d1ojcot4xtssul.cloudfront.net/Backgroun
1dMain_1.png",alt:"Background",className:"absolute top-0 left-0 object-cover h-full w-full"}),(0,n.jsx)("div",{className:"absolute bottom-6 left-0 w-full",children:(0,n.jsxs)("div",{className:"flex items-center justify-center gap-3 w-full",children:[(0,n.jsx)(l.mB,{}),(0,n.jsx)("p",{className:"font-HelveticaNowVar text-Gray-500 text-xl font-medium",children:"Logging into India Index is protected by 256-bit encryption"})]})})]})})};var m=h},39332:function(e,t,a){e.exports=a(13897)},82437:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticGenerationAsyncStorage=void 0;let a={};t.staticGenerationAsyncStorage=a,globalThis.AsyncLocalStorage&&(t.staticGenerationAsyncStorage=a=new globalThis.AsyncLocalStorage),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}},function(e){e.O(0,[5937,5121,499,9260,3450,5063,2780,5090,9765,4726,8017,1663,4041,8289,5742,9777,6864,4496,1458,36,3842,550,6482,9774,2888,179],function(){return e(e.s=53962)}),_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.