(()=>{var e={};e.id=8773,e.ids=[8773],e.modules={10846:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19121:e=>{"use strict";e.exports=require("next/dist/server/app-render/action-async-storage.external.js")},3295:e=>{"use strict";e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},29294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},63033:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},29021:e=>{"use strict";e.exports=require("fs")},33873:e=>{"use strict";e.exports=require("path")},27910:e=>{"use strict";e.exports=require("stream")},74075:e=>{"use strict";e.exports=require("zlib")},87950:(e,t,r)=>{"use strict";r.r(t),r.d(t,{GlobalError:()=>n.a,__next_app__:()=>p,pages:()=>d,routeModule:()=>h,tree:()=>c});var a=r(70260),s=r(28203),i=r(25155),n=r.n(i),o=r(67292),l={};for(let e in o)0>["default","tree","pages","GlobalError","__next_app__","routeModule"].indexOf(e)&&(l[e]=()=>o[e]);r.d(t,l);let c=["",{children:["[locale]",{children:["patents",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(r.bind(r,4444)),"D:\\RMZ\\prod\\SRTA\\src\\app\\[locale]\\patents\\page.tsx"]}]},{}]},{layout:[()=>Promise.resolve().then(r.bind(r,19108)),"D:\\RMZ\\prod\\SRTA\\src\\app\\[locale]\\layout.tsx"]}]},{"not-found":[()=>Promise.resolve().then(r.t.bind(r,19937,23)),"next/dist/client/components/not-found-error"],forbidden:[()=>Promise.resolve().then(r.t.bind(r,69116,23)),"next/dist/client/components/forbidden-error"],unauthorized:[()=>Promise.resolve().then(r.t.bind(r,41485,23)),"next/dist/client/components/unauthorized-error"]}],d=["D:\\RMZ\\prod\\SRTA\\src\\app\\[locale]\\patents\\page.tsx"],p={require:r,loadChunk:()=>Promise.resolve()},h=new a.AppPageRouteModule({definition:{kind:s.RouteKind.APP_PAGE,page:"/[locale]/patents/page",pathname:"/[locale]/patents",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:c}})},99038:(e,t,r)=>{Promise.resolve().then(r.t.bind(r,77803,23)),Promise.resolve().then(r.t.bind(r,63036,23)),Promise.resolve().then(r.bind(r,56347)),Promise.resolve().then(r.bind(r,16573))},39206:(e,t,r)=>{Promise.resolve().then(r.bind(r,36763)),Promise.resolve().then(r.bind(r,42008)),Promise.resolve().then(r.bind(r,17487)),Promise.resolve().then(r.bind(r,76185))},36763:(e,t,r)=>{"use strict";r.r(t),r.d(t,{circularProgressClasses:()=>x,default:()=>S,getCircularProgressUtilityClass:()=>u});var a=r(62718),s=r(11855),i=r(58009),n=r(82281),o=r(29107),l=r(71667),c=r(50178),d=r(86935),p=r(35884),h=r(31137),m=r(88613);function u(e){return(0,m.Ay)("MuiCircularProgress",e)}let x=(0,h.A)("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);var g=r(45512);let v=["className","color","disableShrink","size","style","thickness","value","variant"],b=e=>e,f,j,y,A,N=(0,l.i7)(f||(f=b`
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
`)),P=(0,l.i7)(j||(j=b`
  0% {
    stroke-dasharray: 1px, 200px;
    stroke-dashoffset: 0;
  }

  50% {
    stroke-dasharray: 100px, 200px;
    stroke-dashoffset: -15px;
  }

  100% {
    stroke-dasharray: 100px, 200px;
    stroke-dashoffset: -125px;
  }
`)),w=e=>{let{classes:t,variant:r,color:a,disableShrink:s}=e,i={root:["root",r,`color${(0,c.A)(a)}`],svg:["svg"],circle:["circle",`circle${(0,c.A)(r)}`,s&&"circleDisableShrink"]};return(0,o.A)(i,u,t)},_=(0,p.Ay)("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t[r.variant],t[`color${(0,c.A)(r.color)}`]]}})(({ownerState:e,theme:t})=>(0,s.A)({display:"inline-block"},"determinate"===e.variant&&{transition:t.transitions.create("transform")},"inherit"!==e.color&&{color:(t.vars||t).palette[e.color].main}),({ownerState:e})=>"indeterminate"===e.variant&&(0,l.AH)(y||(y=b`
      animation: ${0} 1.4s linear infinite;
    `),N)),k=(0,p.Ay)("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),R=(0,p.Ay)("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.circle,t[`circle${(0,c.A)(r.variant)}`],r.disableShrink&&t.circleDisableShrink]}})(({ownerState:e,theme:t})=>(0,s.A)({stroke:"currentColor"},"determinate"===e.variant&&{transition:t.transitions.create("stroke-dashoffset")},"indeterminate"===e.variant&&{strokeDasharray:"80px, 200px",strokeDashoffset:0}),({ownerState:e})=>"indeterminate"===e.variant&&!e.disableShrink&&(0,l.AH)(A||(A=b`
      animation: ${0} 1.4s ease-in-out infinite;
    `),P)),S=i.forwardRef(function(e,t){let r=(0,d.b)({props:e,name:"MuiCircularProgress"}),{className:i,color:o="primary",disableShrink:l=!1,size:c=40,style:p,thickness:h=3.6,value:m=0,variant:u="indeterminate"}=r,x=(0,a.A)(r,v),b=(0,s.A)({},r,{color:o,disableShrink:l,size:c,thickness:h,value:m,variant:u}),f=w(b),j={},y={},A={};if("determinate"===u){let e=2*Math.PI*((44-h)/2);j.strokeDasharray=e.toFixed(3),A["aria-valuenow"]=Math.round(m),j.strokeDashoffset=`${((100-m)/100*e).toFixed(3)}px`,y.transform="rotate(-90deg)"}return(0,g.jsx)(_,(0,s.A)({className:(0,n.A)(f.root,i),style:(0,s.A)({width:c,height:c},y,p),ownerState:b,ref:t,role:"progressbar"},A,x,{children:(0,g.jsx)(k,{className:f.svg,ownerState:b,viewBox:"22 22 44 44",children:(0,g.jsx)(R,{className:f.circle,style:j,ownerState:b,cx:44,cy:44,r:(44-h)/2,fill:"none",strokeWidth:h})})}))})},74167:(e,t,r)=>{"use strict";r.d(t,{A:()=>j});var a=r(62718),s=r(11855),i=r(58009),n=r(82281),o=r(86807),l=r(29107),c=r(35884),d=r(86935),p=r(50178),h=r(75203),m=r(45512);let u=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],x=e=>{let{align:t,gutterBottom:r,noWrap:a,paragraph:s,variant:i,classes:n}=e,o={root:["root",i,"inherit"!==e.align&&`align${(0,p.A)(t)}`,r&&"gutterBottom",a&&"noWrap",s&&"paragraph"]};return(0,l.A)(o,h.y,n)},g=(0,c.Ay)("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,r.variant&&t[r.variant],"inherit"!==r.align&&t[`align${(0,p.A)(r.align)}`],r.noWrap&&t.noWrap,r.gutterBottom&&t.gutterBottom,r.paragraph&&t.paragraph]}})(({theme:e,ownerState:t})=>(0,s.A)({margin:0},"inherit"===t.variant&&{font:"inherit"},"inherit"!==t.variant&&e.typography[t.variant],"inherit"!==t.align&&{textAlign:t.align},t.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t.gutterBottom&&{marginBottom:"0.35em"},t.paragraph&&{marginBottom:16})),v={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},b={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},f=e=>b[e]||e,j=i.forwardRef(function(e,t){let r=(0,d.b)({props:e,name:"MuiTypography"}),i=f(r.color),l=(0,o.A)((0,s.A)({},r,{color:i})),{align:c="inherit",className:p,component:h,gutterBottom:b=!1,noWrap:j=!1,paragraph:y=!1,variant:A="body1",variantMapping:N=v}=l,P=(0,a.A)(l,u),w=(0,s.A)({},l,{align:c,color:i,className:p,component:h,gutterBottom:b,noWrap:j,paragraph:y,variant:A,variantMapping:N}),_=h||(y?"p":N[A]||v[A])||"span",k=x(w);return(0,m.jsx)(g,(0,s.A)({as:_,ref:t,ownerState:w,className:(0,n.A)(k.root,p)},P))})},42008:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>a.A,getTypographyUtilityClass:()=>s.y,typographyClasses:()=>s.A});var a=r(74167),s=r(75203)},75203:(e,t,r)=>{"use strict";r.d(t,{A:()=>n,y:()=>i});var a=r(31137),s=r(88613);function i(e){return(0,s.Ay)("MuiTypography",e)}let n=(0,a.A)("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"])},17487:(e,t,r)=>{"use strict";r.d(t,{default:()=>o});var a=r(45512),s=r(29362),i=r(79334),n=r(58009);function o({patents:e}){let t=(0,s.useLocale)();(0,i.useSearchParams)();let[r,o]=(0,n.useState)(e),l=(0,s.useTranslations)("common"),c=async e=>{let r=await fetch(e,{headers:{Authorization:"Bearer 570|JunS4Qv6rJWFXUiRvtz3czg86ZQXXirPTMVpRQkk9f67bb20 ","accept-language":t}}),a=await r.json();o(a?.data)};return(0,a.jsxs)("div",{className:"col-xxl-8 col-lg-7",children:[r?.data&&r?.data?.length>0?r?.data?.map((e,r)=>{let s=e?.researchers.shift();return a.jsx("div",{className:"th-blog blog-single has-post-thumbnail",children:a.jsxs("div",{className:"blog-content",children:[a.jsx("h2",{className:"blog-text font-medium",children:e?.title}),a.jsx("p",{children:e?.description}),a.jsxs("p",{children:[a.jsx("span",{className:"font-medium",children:l("patentNumber")}),":"," ",e?.patent_number]}),a.jsxs("p",{children:[a.jsx("span",{className:"font-medium",children:l("patentDate")}),":"," ",new Date(e?.patent_date).toLocaleDateString(t)]}),a.jsxs("p",{children:[a.jsx("span",{className:"font-medium",children:l("researcher")}),":"," ",a.jsx("a",{href:`/${t}/researchers/researcher/${s?.id}`,children:s?.name})]}),e?.researchers.length>0&&a.jsxs("div",{children:[a.jsxs("p",{className:"font-medium pb-0 mb-0",children:[l("members"),":"]}),a.jsx("ul",{className:"list-none p-0",children:e?.researchers.map(e=>a.jsx("li",{className:"font-normal",children:a.jsx("a",{href:`/${t}/researchers/researcher/${e.id}`,children:e.name})},e.id))})]})]})},r)}):(0,a.jsx)("div",{children:(0,a.jsx)("h6",{children:l("notFound")})}),(0,a.jsx)("div",{className:"th-pagination",children:(0,a.jsx)("ul",{children:r?.meta?.links.map(e=>a.jsx("li",{children:a.jsx("button",{disabled:e.label.includes("Previous")&&r?.meta.current_page===1||e.label.includes("Next")&&r?.meta.current_page===r?.meta?.last_page,onClick:()=>c(e.url),className:`disabled:opacity-20 disabled:cursor-not-allowed ${e.active?"active":""}`,children:e.label.includes("Next")?">":e.label.includes("Previous")?"<":e.label})},e.label))})})]})}},76185:(e,t,r)=>{"use strict";r.d(t,{default:()=>o});var a=r(45512),s=r(29362),i=r(79334),n=r(58009);function o(){let[e,t]=(0,n.useState)(null),r=(0,i.useRouter)(),o=(0,s.useLocale)(),l=(0,s.useTranslations)("common");return(0,a.jsx)("div",{className:"widget widget_search",children:(0,a.jsxs)("form",{className:"search-form",children:[(0,a.jsx)("input",{type:"text",onChange:e=>t(e.target.value),onKeyUp:()=>{r.replace(`?query=${e}`,{scroll:!1})},placeholder:l("searchPatents"),style:{direction:"ar"===o?"rtl":"ltr",paddingRight:0,paddingInlineStart:"8px"}}),(0,a.jsx)("button",{onClick:t=>{t.preventDefault(),r.push(`?query=${e}`)},children:(0,a.jsx)("i",{className:"far fa-search"})})]})})}},77803:(e,t,r)=>{let{createProxy:a}=r(73439);e.exports=a("D:\\RMZ\\prod\\SRTA\\node_modules\\@mui\\material\\CircularProgress\\index.js")},63036:(e,t,r)=>{let{createProxy:a}=r(73439);e.exports=a("D:\\RMZ\\prod\\SRTA\\node_modules\\@mui\\material\\Typography\\index.js")},60631:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var a=r(62740);function s({title:e,links:t,background:r="/assets/img/hero/hero_bg_3_1.jpg"}){return(0,a.jsxs)("div",{className:"breadcumb-wrapper ","data-bg-src":r,"data-overlay":"title","data-opacity":"8",children:[(0,a.jsx)("div",{className:"breadcumb-shape","data-bg-src":"/assets/img/bg/breadcumb_shape_1_1.png"}),(0,a.jsx)("div",{className:"shape-mockup breadcumb-shape2 jump d-lg-block d-none","data-right":"30px","data-bottom":"30px",children:(0,a.jsx)("img",{src:"/assets/img/bg/breadcumb_shape_1_2.png",alt:"shape"})}),(0,a.jsx)("div",{className:"shape-mockup breadcumb-shape3 jump-reverse d-lg-block d-none","data-left":"50px","data-bottom":"80px",children:(0,a.jsx)("img",{src:"/assets/img/bg/breadcumb_shape_1_3.png",alt:"shape"})}),(0,a.jsx)("div",{className:"container",children:(0,a.jsxs)("div",{className:"breadcumb-content text-center",children:[(0,a.jsx)("h1",{className:"breadcumb-title",children:e}),(0,a.jsxs)("ul",{className:"breadcumb-menu",children:[t.map((e,t)=>(0,a.jsx)("li",{className:"!mr-0 !pr-0 !me-[3px] !pe-[5px]",children:(0,a.jsx)("a",{href:e.href,children:e.label})},t)),(0,a.jsx)("li",{children:e})]})]})})]})}},91013:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var a=r(62740),s=r(35641);async function i({posts:e,title:t}){let r=await (0,s.A)(),i=e?.slice(-3);return(0,a.jsx)("aside",{className:"sidebar-area",children:(0,a.jsxs)("div",{className:"widget  ",children:[(0,a.jsx)("h3",{className:"widget_title",children:t}),(0,a.jsx)("div",{className:"recent-post-wrap",children:e&&e.length>0&&i.map(e=>(0,a.jsxs)("div",{className:"recent-post",children:[(0,a.jsx)("div",{className:"media-img !mr-[20px] !me-[20px]",children:(0,a.jsx)("a",{href:`/${r}/blog/${e?.slug[r]}`,children:(0,a.jsx)("img",{src:e?.image?.url,alt:"Blog Image",width:80,height:80,className:"w-[80px] h-[80px] object-contain"})})}),(0,a.jsx)("div",{className:"media-body",children:(0,a.jsx)("h4",{className:"post-title",children:(0,a.jsx)("a",{className:"text-inherit line-clamp-2",href:`/${r}/blog/${e?.slug[r]}`,children:e?.title[r]})})})]},e?.slug[r]))})]})})}},56347:(e,t,r)=>{"use strict";r.d(t,{default:()=>a});let a=(0,r(46760).registerClientReference)(function(){throw Error("Attempted to call the default export of \"D:\\\\RMZ\\\\prod\\\\SRTA\\\\src\\\\app\\\\[locale]\\\\patents\\\\components\\\\Patents.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"D:\\RMZ\\prod\\SRTA\\src\\app\\[locale]\\patents\\components\\Patents.tsx","default")},16573:(e,t,r)=>{"use strict";r.d(t,{default:()=>a});let a=(0,r(46760).registerClientReference)(function(){throw Error("Attempted to call the default export of \"D:\\\\RMZ\\\\prod\\\\SRTA\\\\src\\\\app\\\\[locale]\\\\patents\\\\components\\\\SearchBox.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"D:\\RMZ\\prod\\SRTA\\src\\app\\[locale]\\patents\\components\\SearchBox.tsx","default")},4444:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>g});var a=r(62740),s=r(60631),i=r(16573),n=r(35641),o=r(47855),l=r(77803),c=r.n(l),d=r(63036),p=r.n(d),h=r(91013);async function m({search:e=!1}){let t=await (0,n.A)(),r=await fetch(`${process.env.API_URL}/patentCounter`,{headers:{Authorization:`Bearer ${process.env.API_KEY} `,"accept-language":t}}),s=await fetch(`${process.env.API_URL}/blog/recent_blogs`,{headers:{Authorization:`Bearer ${process.env.API_KEY} `,"accept-language":t}}),l=await s.json(),d=await r.json(),m=d?.data?.issued/d?.data?.total*100,u=d?.data?.pending/d?.data?.total*100,x=await (0,o.A)("common");return(0,a.jsx)("div",{className:"col-xxl-4 col-lg-5",children:(0,a.jsxs)("aside",{className:"sidebar-area",children:[e&&(0,a.jsx)(i.default,{}),(0,a.jsxs)("div",{className:"flex items-center justify-center gap-4",children:[(0,a.jsxs)("div",{className:"relative inline-flex",children:[(0,a.jsx)(c(),{variant:"determinate",color:"success",size:120,value:m}),(0,a.jsx)("div",{className:"flex absolute top-0 left-0 right-0 bottom-0 items-center justify-center",children:(0,a.jsxs)(p(),{variant:"caption",component:"div",color:"text.secondary",className:"font-semibold",children:[x("issued")," ",d?.data?.issued]})})]}),(0,a.jsxs)("div",{className:"relative inline-flex",children:[(0,a.jsx)(c(),{variant:"determinate",color:"primary",size:120,value:100}),(0,a.jsx)("div",{className:"flex absolute top-0 left-0 right-0 bottom-0 items-center justify-center",children:(0,a.jsxs)(p(),{variant:"caption",component:"div",color:"text.secondary",className:"font-semibold",children:[x("total")," ",d?.data?.total]})})]}),(0,a.jsxs)("div",{className:"relative inline-flex",children:[(0,a.jsx)(c(),{variant:"determinate",color:"warning",size:120,value:u}),(0,a.jsx)("div",{className:"flex absolute top-0 left-0 right-0 bottom-0 items-center justify-center",children:(0,a.jsxs)(p(),{variant:"caption",component:"div",color:"text.secondary",className:"font-semibold",children:[x("pending")," ",d?.data?.pending]})})]})]}),(0,a.jsx)("h5",{className:"text-lg font-medium text-center mt-4 text-gray-500",children:x("patentsGraphs")}),(0,a.jsx)(h.A,{posts:l.data,title:x("recentposts")})]})})}var u=r(56347),x=r(76301);async function g(){let e=await (0,n.A)(),t=await fetch(`${process.env.API_URL}/patent`,{headers:{Authorization:`Bearer ${process.env.API_KEY} `,"accept-language":e}}),r=await (0,o.A)("common"),i=await t.json();return i.data.data.length<1?(0,a.jsx)("h2",{className:"p-4",children:r("notFound")}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(s.A,{title:r("patents"),links:[{href:"/",label:r("home")}]}),(0,a.jsx)("section",{className:"th-blog-wrapper blog-details space-top space-extra2-bottom",children:(0,a.jsx)("div",{className:"container",children:(0,a.jsxs)("div",{className:"row gx-30",children:[(0,a.jsx)(x.Suspense,{fallback:(0,a.jsxs)("div",{children:[r("loading"),"..."]}),children:(0,a.jsx)(u.default,{patents:i.data})}),(0,a.jsx)(m,{search:!0})]})})})]})}}};var t=require("../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),a=t.X(0,[5994,8403,4512,453,4983,7042],()=>r(87950));module.exports=a})();