PageSourceSearch

https://saip.gov.sa/_next/static/chunks/app/%5Blocale%5D/layout-231a8b94b8437ea9.js

js saip.gov.sa collected 2026-10-02 14:54:09 UTC 59,332 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8450],{179:(e,t,r)=>{Promise.resolve().then(r.bind(r,54530)),Promise.resolve().then(r.bind(r,52084)),Promise.resolve().then(r.bind(r,90061)),Promise.resolve().then(r.bind(r,625)),Promise.resolve().then(r.bind(r,18905)),Promise.resolve().then(r.bind(r,44750)),Promise.resolve().then(r.bind(r,13460)),Promise.resolve().then(r.bind(r,64938)),Promise.resolve().then(r.bind(r,72594)),Promise.resolve().then(r.bind(r,49754)),Promise.resolve().then(r.bind(r,98951)),Promise.resolve().then(r.bind(r,73558)),Promise.resolve().then(r.bind(r,78804)),Promise.resolve().then(r.bind(r,3809)),Promise.resolve().then(r.t.bind(r,81356,23)),Promise.resolve().then(r.bind(r,24437)),Promise.resolve().then(r.bind(r,36552)),Promise.resolve().then(r.t.bind(r,73677,23)),Promise.resolve().then(r.t.bind(r,43948,23))},625:(e,t,r)=>{"use strict";r.d(t,{default:()=>n});var a=r(95155),s=r(73558),i=r(64938);let n=()=>{let{accordionHeight:e}=(0,s.Q)(),{height:t}=(0,i.Y)(),r="calc(".concat(t,"px + var(--ver
1ification-bar-height) + ").concat(e,"px + 72px)");return(0,a.jsx)("div",{className:"transition-all duration-300 ease-in-out",style:{height:r},"aria-hidden":"true"})}},3702:(e,t,r)=>{"use strict";r.d(t,{KJ:()=>a,NQ:()=>l,Tq:()=>n,ih:()=>o});let a=["news","services","articles"],s={الأخبار:{searchKey:"ال",type:"news"},المقالات:{searchKey:"مقال",type:"article"},News:{searchKey:"ال",type:"news"},Articles:{searchKey:"article",type:"article"}},i={news:"news",articles:"article",services:void 0};function n(e){return a.includes(e)}function l(e,t){return{searchKey:t.trim(),type:i[e]}}function o(e,t){let r=s[e.trim()];return r?{searchKey:r.searchKey,type:(null==t?void 0:t.trim())||r.type}:{searchKey:e,type:t||void 0}}},13460:(e,t,r)=>{"use strict";r.d(t,{default:()=>j});var a=r(95155),s=r(12115),i=r(77492),n=r(15239),l=r(33021),o=r(27042),c=r(16948);let d=[{href:l.bw.SAIP.ABOUT,label:"About SAIP",group:"SAIP"},{href:l.bw.SAIP.NATIONAL_IP_STRATEGY,label:"National IP strategy",group:"SAIP"},{href:l.bw.SAIP.ORGANISATIONAL_STRUCTURE,label:"Organisational structure",group:"SAIP"},{href:l.bw.SAIP.PROJECTS,label:"SAIP projects",group:"SAIP"},{href:l.bw.SAIP.ENTITIES,label:"Entities & partners",group:"SAIP"}],u=[{href:l.bw.SERVICES.SERVICES_OVERVIEW,label:"Services overview",icon:{component:o.A}},{href:l.bw.SERVICES.SERVICE_DIRECTORY,label:"SAIP service directory",icon:{component:c.A}},{href:l.bw.SERVICES.PATENTS,label:"Patents",group:"IP Protection & Management"},{href:l.bw.SERVICES.TRADEMARKS,label:"Trademarks",group:"IP Protection & Management"},{href:l.bw.SERVICES.COPYRIGHTS,label:"Copyrights",group:"IP Protection & Management"},{href:l.bw.SERVICES.DESIGNS,label:"Designs",group:"IP Protection & Management"},{href:l.bw.SERVICES.PLANT_VARIETIES,label:"Plants varieties",group:"IP Protection & Management"},{href:l.bw.SERVICES.TOPOGRAPHIC_DESIGNS_OF_INTEGRATED_CIRCUITS,label:"Layout designs of Integrated Circuits",group:"IP Protection & Management"},{href:l.bw.SERVICES.GEOGRAPHICAL_INDICATORS,label:"Geographical Indicators",group:"IP Protection & Management"},{href:l.bw.SERVICES.IP_LICENSING,label:"Licensing of IP activities",group:"IP enablement"},{href:l.bw.SERVICES.IP_ACADEMY,label:"IP academy",group:"IP enablement"},{href:l.bw.SERVICES.IP_CLINICS,label:"IP clinics",group:"IP enablement"},{href:l.bw.SERVICES.IP_SUPPORT_CENTERS,label:"National network of IP support centers",group:"IP enablement"},{href:l.bw.SERVICES.SUPERVISORY_UNIT,label:"Supervisory unit for non-profit sector organizations",group:"IP enablement"},{href:l.bw.SERVICES.IP_INFRINGEMENT,label:"IP infringement",group:"IP enforcement & dispute"},{href:l.bw.SERVICES.IP_GENERAL_SECRETARIAT,label:"General secretariat of IP dispute resolution committees",group:"IP enforcement & dispute"}],p=[{href:l.bw.RESOURCES.ROOT,label:"Resources overview",icon:{component:o.A}},{href:l.bw.RESOURCES.IP_INFORMATION.DIGITAL_GUIDE.ROOT,label:"Digital guide",group:"IP information"},{href:l.bw.RESOURCES.IP_INFORMATION.DIGITAL_GUIDE.GUIDELINES.ROOT,label:"Guidelines",group:"IP information"},{href:l.bw.RESOURCES.IP_INFORMATION.DIGITAL_GUIDE.FAQ.ROOT,label:"FAQs",group:"IP information"},{href:l.bw.RESOURCES.IP_INFORMATION.DIGITAL_GUIDE.IP_GLOSSARY.ROOT,label:"IP glossary",group:"IP information"},{href:l.bw.RESOURCES.IP_INFORMATION.DIGITAL_GUIDE.REPORTS.ROOT,label:"Reports",group:"IP information"},{href:l.bw.RESOURCES.TOOLS_AND_RESEARCH.IP_SEARCH_ENGINE.ROOT,label:"IP search engine",group:"Tools & research"},{href:l.bw.RESOURCES.TOOLS_AND_RESEARCH.GAZZETE.ROOT,label:"Gazette",group:"Tools & research"},{href:l.bw.RESOURCES.TOOLS_AND_RESEARCH.PUBLICATIONS.ROOT,label:"Publications",group:"Tools & research"},{href:l.bw.RESOURCES.TOOLS_AND_RESEARCH.IP_OBSERVATORY.ROOT,label:"IP observatory",group:"Tools & research"},{href:l.bw.RESOURCES.TOOLS_AND_RESEARCH.OPEN_DATA.ROOT,label:"Open data",group:"Tools & research"},{href:l.bw.RESOURCES.TOOLS_AND_RESEARCH.DATA_SHARING.ROOT,label:"Data sharing",group:"Tools & research"},{href:l.bw.RESOURCES.TOOLS_AND_RESEARCH.PUBLIC_CONSULTATIONS.ROOT,label:"Public consultations",group:"Tools & research"},{href:l.bw.RESOURCES.IP_LICENSING.IP_AGENTS.ROOT,label:"IP agents",group:"IP licenses"},{href:l.bw.RESOURCES.LOWS_AND_REGULATIONS.SYSTEMS_AND_REGULATIONS.ROOT,label:"Systems & regulations",group:"Laws & regulations"},{href:l.bw.RESOURCES.LOWS_AND_REGULATIONS.LITIGATION_PATHS.ROOT,label:"Litigation paths",group:"Laws & regulations"},{href:l.bw.RESOURCES.LOWS_AND_REGULATIONS.ITERNATIONAL_TREATIES.ROOT,label:"International treaties & agreements",group:"Laws & regulations"}],m=[{href:l.bw.MEDIA_CENTER.MEDIA_LIBRARY.MEDIA_CENTER.ROOT,label:"Media Center",group:"Media Library"},{href:l.bw.MEDIA_CENTER.MOVABLES_PLATFORM.ROOT,label:"Movables platform",group:"Media Library"},{href:l.bw.MEDIA_CENTER.BRANDING.ROOT,label:"Branding",group:"Media Library"}],g=[{href:l.bw.CONTACT.CONTACT_AND_SUPPORT.ROOT,label:"Contact & support",group:"Contact us"},{href:l.bw.CONTACT.CAREERS.ROOT,label:"Careers",group:"Contact us"}];var h=r(67909),f=r(2821),b=r(18955),x=r(73558),v=r(64938),S=r(65229),E=r(86651),w=r(39142),O=r(96517),I=r(75889);let N=(0,h.default)(()=>r.e(2851).then(r.bind(r,72851)).then(e=>e.MobileNavDrawer),{loadableGenerated:{webpack:()=>[72851]},ssr:!1,loading:()=>null}),R=e=>{let{locale:t,className:r,navigationData:l}
1=e,[o,c]=(0,s.useState)(!1);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:(0,I.QP)("flex h-[72px] items-center justify-between border-b border-neutral-secondary bg-white px-4 lg:hidden",r),children:[(0,a.jsx)("div",{className:"min-w-0 max-w-[144px] flex-1","aria-hidden":"true"}),(0,a.jsx)("div",{className:"flex min-w-0 flex-1 items-center justify-center",children:(0,a.jsx)(i.N_,{href:"/","aria-label":"Go to homepage",className:"flex shrink-0 items-center",children:(0,a.jsx)(n.default,{src:"/images/saip-logo-color.svg",alt:"SAIP Logo",width:200,height:48,className:"h-12 w-auto max-w-none",priority:!0})})}),(0,a.jsx)("div",{className:"flex min-w-0 max-w-[144px] flex-1 justify-end",children:(0,a.jsx)("button",{type:"button",onClick:()=>c(!0),"aria-label":"Open menu","aria-expanded":o,className:"flex size-10 shrink-0 cursor-pointer items-center justify-center rounded focus:outline-none focus-visible:ring-2 focus-visible:ring-primary-600",children:(0,a.jsx)(n.default,{src:"/icons/menu-01.svg",alt:"","aria-hidden":"true",width:18,height:16,className:"h-[15.5px] w-[17.5px]"})})})]}),(0,a.jsx)(N,{isOpen:o,onClose:()=>c(!1),locale:t,navigationData:l})]})};var T=r(37498),y=r(3702);let _=/^(strong|em|b|i|mark|u)$/i,A=e=>e.replace(/<[^>]*>/g,""),C=(0,h.default)(()=>Promise.all([r.e(198),r.e(9197)]).then(r.bind(r,59197)),{loadableGenerated:{webpack:()=>[59197]},ssr:!1,loading:()=>null}),P=(0,h.default)(()=>r.e(1063).then(r.bind(r,11063)),{loadableGenerated:{webpack:()=>[11063]},ssr:!1,loading:()=>null});function j(e){var t,r;let{locale:l,navigationData:o}=e,c=(0,i.a8)(),h=(0,i.rd)(),I=(0,b.c)("navigation.groups"),N=(0,b.c)("navigation.main"),j=(0,b.c)("common.globalSearch"),{accordionHeight:L}=(0,x.Q)(),{height:k}=(0,v.Y)(),[D,G]=(0,s.useState)(!1),[U,M]=(0,s.useState)(!1),[F,B]=(0,s.useState)(""),[V,H]=(0,s.use
1State)([]),[Y,K]=(0,s.useState)(!1),[z,q]=(0,s.useState)(!1),Q=(0,s.useRef)(null),W=(0,s.useRef)(null),J=(0,s.useRef)(null),Z=(0,s.useRef)(null);(0,s.useEffect)(()=>{let e=null,t=()=>{null===e&&(e=window.requestAnimationFrame(()=>{G((window.scrollY||window.pageYOffset)>10),e=null}))};return t(),window.addEventListener("scroll",t,{passive:!0}),()=>{window.removeEventListener("scroll",t),null!==e&&window.cancelAnimationFrame(e)}},[]),(0,s.useEffect)(()=>{if(!U)return;let e=e=>{"Escape"===e.key&&M(!1)},t=e=>{let t=e.target;W.current&&!W.current.contains(t)&&J.current&&!J.current.contains(t)&&M(!1)};return document.addEventListener("keydown",e),document.addEventListener("mousedown",t),()=>{document.removeEventListener("keydown",e),document.removeEventListener("mousedown",t)}},[U]),(0,s.useEffect)(()=>{U||q(!1)},[U]),(0,s.useEffect)(()=>{if(!U)return;if(F.trim().length<2)return void H([]);let e=window.setTimeout(async()=>{K(!0);try{let e=await (0,T.U)(F,l,{page:1,pageSize:6});H(e.results.slice(0,2))}catch(e){console.error("Search suggestions failed:",e),H([])}finally{K(!1)}},400);return()=>window.clearTimeout(e)},[U,F,l]);let X=(0,s.useCallback)((e,t)=>{let r=e.trim();if(!r)return;M(!1);let a=new URLSearchParams;a.set("searchKey",r),t&&a.set("type",t),h.push("/search?".concat(a.toString()))},[h]),$=(0,s.useCallback)((e,t)=>{if(!(0,y.Tq)(e))return void X(t);let{searchKey:r,type:a}=(0,y.NQ)(e,t);X(r,a)},[X]),ee=e=>{if(e)return e.includes(" ")?e:I(e)},et=e=>!!e.href&&e.href.includes("/media-center/about-chairwoman"),er=e=>!!e.href&&e.href.includes("supervisory-unit"),ea=(null==o?void 0:o.saipLinks.length)?o.saipLinks.map(e=>({href:e.href,label:e.title,group:ee(e.group)||N("saip")})):d,es=(null==o?void 0:o.servicesLinks.length)?o.servicesLinks.map(e=>({href:e.href,label:e.title,group:ee(e.group),icon:void 0})):u,ei=(null==o?void 0:o.resourcesLinks.length)?o.resourcesLinks.map(e=>({href:e.href,label:e.title,group:ee(e.group),icon:void 0})):p,en=ei.find(er),el=en?[...es.filter(e=>!er(e)),{...en,href:"/services/supervisory-unit",group:ee("ipEnablement")||"IP enablement"}]:es,eo=en?ei.filter(e=>!er(e)):ei,ec=(null==o?void 0:o.mediaCenterLinks.length)?o.mediaCenterLinks.map(e=>({href:e.href,label:e.title,group:ee(e.group)||N("mediaCenter")})):m,ed=ec.find(et),eu=ed?[ea[0],{...ed,group:null!=(r=null==(t=ea[0])?void 0:t.group)?r:N("saip")},...ea.slice(1)]:ea,ep=ed?ec.filter(e=>!et(e)):ec,em=(null==o?void 0:o.contactLinks.length)?o.contactLinks.map(e=>({href:e.href,label:e.title,group:ee(e.group)||N("contactUs")}
1)):g,eg="calc(".concat(k,"px + var(--verification-bar-height) + ").concat(L,"px)");return(0,a.jsxs)("header",{className:(0,f.A)("fixed inset-x-0 z-50 w-full min-w-0 overflow-visible bg-white transition-all duration-300 ease-in-out top-[var(--header-top)]",D?"shadow-md":"shadow-sm"),style:{"--header-top":eg},children:[(0,a.jsx)(R,{locale:l,navigationData:o}),(0,a.jsxs)("nav",{className:"hidden lg:flex mx-auto h-[72px] max-w-screen-2xl flex-nowrap items-center justify-between gap-3 overflow-x-visible px-4 md:px-6 xl:px-8",role:"navigation","aria-label":"Main navigation",children:[(0,a.jsxs)("div",{className:"flex !h-full min-h-0 min-w-0 flex-1 flex-nowrap items-center gap-0.5 whitespace-nowrap xl:gap-2",children:[(0,a.jsx)(i.N_,{href:"/","aria-label":"Go to homepage",className:"flex h-full shrink-0 items-center py-0",children:(0,a.jsx)(n.default,{src:"/images/saip-logo-color.svg",alt:"SAIP Logo",width:150,height:120,className:"h-10 w-auto",priority:!0})}),(0,a.jsxs)(i.N_,{href:"/","data-active":"/"===c?"true":void 0,className:(0,f.A)("group relative inline-flex h-full shrink-0 items-center whitespace-nowrap rounded-md px-3 py-2.5 text-base font-medium leading-6 transition-colors xl:px-6 focus-visible:outline-none","focus-visible:bg-[#006c44] focus-visible:text-white","text-text-default hover:bg-gray-200"),children:[N("home"),(0,a.jsx)("span",{className:"pointer-events-none absolute bottom-0 left-1/2 -translate-x-1/2 w-[80%] h-[6px] rounded-full z-0 group-hover:bg-[#9DA4AE]","aria-hidden":"true"})]}),(0,a.jsx)(C,{label:N("saip"),items:eu,rootPath:"/saip",extraActivePaths:["/media-center/about-chairwoman"],className:"h-full"}),(0,a.jsx)(C,{label:N("services"),items:el,rootPath:"/services",className:"h-full"}),(0,a.jsx)(C,{label:N("resources"),items:eo,rootPath:"/resources",className:"h-full"}),(0,a.jsx)(C,{label:N("mediaCenter"),items:ep,rootPath:"/media-center",excludePaths:["/media-center/about-chairwoman"],className:"h-full"}),(0,a.jsx)(C,{label:N("contactUs"),items:em,rootPath:"/contact-us",className:"h-full"})]}),(0,a.jsxs)("div",{className:"flex h-full min-h-0 shrink-0 items-center gap-2 xl:gap-3",children:[(0,a.jsxs)("button",{type:"button",onClick:()=>M(e=>!e),ref:J,className:(0,f.A)("group relative inline-flex h-full shrink-0 cursor-pointer items-center gap-2 whitespace-nowrap rounded-md px-3 py-2.5 text-base font-medium leading-6 transition-colors focus-visible:ring-2 focus-visible:ring-green-500 xl:px-6",U?"bg-green-700 text-white":"text-text-default hover:bg-[#E5E7EB]"),"aria-label":N("search"),"aria-expanded":U,"aria-controls":U?"global-search-panel":void 0,children:[(0,a.jsx)(n.default,{src:"/icons/search.svg",alt:"",width:22,height:22,className:(0,f.A)("shrink-0",U&&"invert")}),(0,a.jsx)("span",{className:"hidden xl:inline",children:N("search")}),(0,a.jsx)("span",{className:(0,f.A)("pointer-events-none absolute bottom-0 left-1/2 -translate-x-1/2 w-[80%] h-[6px] rounded-full z-0",U?"bg-primary-400":"group-hover:bg-[#9DA4AE]"),"aria-hidden":"true"})]}),(0,a.jsx)(P,{locale:l})]})]}),U&&(0,a.jsx)("div",{ref:W,className:"absolute w-full left-0 right-0 top-full z-40",role:"presentation",children:(0,a.jsx)("div",{className:"w-full",children:(0,a.jsx)("div",{id:"global-search-panel",ref:Q,role:"region","aria-label":j("modalLabel"),className:"w-full rounded-b-[24px] bg-white shadow-[0px_12px_16px_-4px_rgba(16,24,40,0.08),0px_4px_6px_-2px_rgba(16,24,40,0.12)] px-6 md:px-10 py-6 md:py-8",children:(0,a.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,a.jsx)("div",{className:"flex items-center justify-end",children:(0,a.jsx)("button",{type:"button",onClick:()=>M(!1),className:"h-10 w-10 inline-flex items-center  justify-center rounded-full border border-transparent text-[#1F2A37]  hover:bg-[#F3F4F6] focus:outline-none  focus-visible:ring-2 focus-visible:ring-[#1B8354]","aria-label":j("closeSearch"),children:(0,a.jsx)(S.A,{className:"w-5 h-5","aria-hidden":"true"})})}),(0,a.jsxs)("div",{className:"flex-1",children:[(0,a.jsxs)("form",{onSubmit:e=>{e.preventDefault(),X(F)},className:"flex items-center gap-4",children:[(0,a.jsxs)("div",{className:(0,f.A)("flex-1 h-12 border  border-[#9DA4AE] rounded-sm bg-white flex items-center px-3 gap-3 w-full hover:border-[#676c72] focus-within:border-[#9DA4AE] focus-within:border-b-black transition-all delay-75 duration-1000 ease-in-out",z?"max-w-[3840p
1x]":"max-w-[400px]"),children:[(0,a.jsx)(E.A,{className:"w-6 h-6 text-[#6C737F]","aria-hidden":"true"}),(0,a.jsx)("input",{ref:Z,type:"search",value:F,onChange:e=>B(e.target.value),onFocus:()=>q(!0),placeholder:j("placeholder"),className:"flex-1 text-[18px] leading-[24px] text-[#384250] placeholder:text-[#6C737F] focus:outline-none","aria-label":j("placeholder")}),(0,a.jsx)("button",{type:"button",className:"w-6 h-6 text-[#6C737F] hover:text-[#1F2A37]","aria-label":j("voiceSearch"),children:(0,a.jsx)(w.A,{className:"w-6 h-6","aria-hidden":"true"})})]}),(0,a.jsx)(O.Button,{type:"submit",size:"md",ariaLabel:j("searchButton"),className:"w-[100px] h-12 px-0 text-[16px]",children:j("searchButton")})]}),(0,a.jsxs)("div",{className:"mt-6",children:[(0,a.jsx)("p",{className:"text-[14px] leading-[20px] font-semibold text-[#1B8354]",children:V.length>0||Y?j("suggestedSearches"):j("mostCommonSearches")}),(0,a.jsx)("div",{className:"mt-3 flex flex-wrap gap-2",children:(V.length>0?V.map(e=>({id:e.id,label:e.title,quickKey:void 0})):y.KJ.map(e=>({id:e,label:j("quickSearches.".concat(e)),quickKey:e}))).map(e=>(0,a.jsxs)("button",{type:"button",onClick:()=>e.quickKey?$(e.quickKey,A(e.label)):X(A(e.label)),className:"inline-flex items-center gap-2 h-8 px-3 rounded-full bg-[#F3F4F6] text-[14px] leading-[20px] text-[#1F2A37] hover:bg-[#E5E7EB] focus:outline-none focus-visible:ring-2 focus-visible:ring-[#1B8354]",children:[(0,a.jsx)(E.A,{className:"w-4 h-4 text-[#1F2A37] shrink-0","aria-hidden":"true"}),(0,a.jsx)("span",{dangerouslySetInnerHTML:{__html:e.label.replace(/<(\/?)([a-zA-Z0-9]+)(?:\s[^>]*)?>/g,(e,t,r)=>_.test(r)?"<".concat(t).concat(r.toLowerCase(),">"):"")}})]},e.id))})]})]})]})})})})]})}},18905:(e,t,r)=>{"use strict";r.d(t,{VerificationBar:()=>m,default:()=>g});var a=r(95155),s=r(12115),i=r(15239),n=r(1962),l=r(75889),o=r(98951),c=r(73558),d=r(64938),u=r(25910),p=r(18955);let m=()=>{let{isExpanded:e,setIsExpanded:t,setAccordionHeight:r}=(0,c.Q)(),{height:m}=(0,d.Y)(),g=(0,s.useRef)(null);(0,o.j)();let h=(0,p.c)("verificationBar");return(0,s.useEffect)(()=>{let t=g.current;if(t)if(e){let e=setTimeout(()=>{let e=t.style.maxHeight;t.style.maxHeight="none";let a=t.scrollHeight;t.style.maxHeight=e,r(a)},50);return()=>clearTimeout(e)}else r(0)},[e,r]),(0,a.jsxs)("section",{"aria-label":h("officialWebsite"),style:{top:m},className:"fixed inset-x-0 z-[60] block w-full min-w-0 bg-neutral-100 text-gray-900",children:[(0,a.jsx)("div",{className:"w-full bg-neutral-100",children:(0,a.jsx)("div",{className:"mx-auto max-w-screen-2xl px-4 py-1.5 md:h-8 md:max-h-8 md:min-h-8 md:px-8 md:py-0",children:(0,a.jsxs)("div",{className:"flex flex-col items-start gap-2 md:h-full md:min-h-0 md:max-h-8 md:flex-row md:items-center md:gap-0",children:[(0,a.jsxs)("div",{className:"flex w-full items-center gap-2 md:w-auto",children:[(0,a.jsx)(i.default,{src:"/images/Country_Flags.svg",alt:"Saudi Arabia Flag",width:20,height:15,className:"shrink-0 object-contain"}),(0,a.jsx)("span",{className:"font-body text-start text-sm font-medium leading-5 text-text-default",children:h("officialWebsite")})]}),(0,a.jsxs)("button",{onClick:()=>t(!e),className:"flex items-center gap-1.5 text-sm leading-5 text-green-700 hover:underline focus:outline-none cursor-pointer md:px-2","aria-expanded":e,"aria-controls":"verification-accordion",children:[h("howYouKnow"),(0,a.jsx)(n.z,{className:(0,l.QP)("w-2.5 h-2.5 md:w-3.5 md:h-3.5 transition-transform duration-300 text-green-700",e?"rotate-180":""),"aria-hidden":"true"})]})]})})}),(0,a.jsx)("div",{ref:g,id:"verification-accordion",className:(0,l.QP)("w-full bg-neutral-100 text-gray-900 overflow-hidden transition-all duration-300 ease-in-out",e?"max-h-[500px] opacity-100":"max-h-0 opacity-0"),children:(0,a.jsxs)("div",{className:"max-w-screen-2xl mx-auto px-4 md:px-8 py-6",children:[(0,a.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[(0,a.jsx)("div",{children:(0,a.jsx)(u.A,{className:"gap-6 items-start",icon:(0,a.jsx)("div",{className:"flex h-12 w-12 shrink-0 items-center justify-center rounded-full border border-[#067647] bg-white shadow-[0_1px_2px_0_rgba(16,24,40,0.05)]",children:(0,a.jsx)(i.default,{src:"/images/chains.svg",alt:"Chain link icon",width:18,height:18,className:"h-[17.5px] w-[17.5px] object-contain"})}),title:h("govSaTitle"),description:(0,a.jsxs)(a.Fragment,{children:[h("govSaDescription")," ",(0,a.jsx)("span",{className:"font-semibold text-green-700",children:".gov.sa"}),"."]}),highlightText:".gov.sa",titleClassName:"font-body text-lg font-semibold leading-7 text-[#161616] mb-3",descriptionClassName:"font-body text-base font-normal leading-6 text-[#384250]"})}),(0,a.jsx)("div",{children:(0,a.jsx)(u.A,{className:"gap-6 items-start",icon:(0,a.jsx)("div",{className:"flex h-12 w-12 shrink-0 items-center justify-center rounded-full border border-[#067647] bg-white shadow-[0_1px_2px_0_rgba(16,24,40,0.05)]",children:(0,a.jsx)(i.default,{src:"/images/lock_icon.svg",alt:"Lock icon",width:18,height:22,className:"h-[21.5px] w-[17.5px] object-contain"})}),title:h("httpsTitle"),description:(0,a.jsx)(a.Fragment,{children:h("httpsDescription")}),highlightText:"HTTPS",titleClassName:"font-body text-lg font-semibold leading-7 text-[#161616] mb-3",descriptionClassName:"font-body text-base font-normal leading-6 text-[#384250]"})})]}),(0,a.jsx)("div",{className:"mt-6 rounded-lg bg-white px-6 py-2 min-h-[46.57px] flex items-center",children:(0,a.jsx)(u.A,{className:"items-center gap-4.5 w-full",icon:(0,a.jsx)(i.default,{src:"/images/fingerprint.svg",alt:"Fingerprint icon",width:21,height:31,className:"object-contain h-[30.57px] w-[20.99px]"}),description:(0,a.jsxs)(a.Fragment,{children:[h("registeredOn")," ",(0,a.jsx)("a",{href:"https://raqmi.dga.gov.sa/platforms/platforms/90678555-4f9f-4c2e-7986-08de03d10f1b/platform-license",target:"_blank",rel:"noopener noreferrer",className:"font-normal text-[#1B8354] underline hover:underline",children:"20251009639"})]}),descriptionClassName:"!m-0 font-body text-base font-normal leading-6 text-[#161616]"})})]})})]})},g=m},33021:(e,t,r)=>{"use strict";r.d(t,{bw:()=>a});
1let a={HOME:"/",SAIP:{ROOT:"/saip",ABOUT:"/saip/about",NATIONAL_IP_STRATEGY:"/saip/national-ip-strategy",VISION_2030:"/saip/vision-2030",ORGANISATIONAL_STRUCTURE:"/saip/organisational-structure",PROJECTS:"/saip/projects",ENTITIES:"/saip/entities-partners"},SERVICES:{ROOT:"/services",SERVICES_OVERVIEW:"/services/services-overview",SERVICE_DIRECTORY:"/services/service-directory",PATENTS:"/services/patents",TRADEMARKS:"/services/trademarks",COPYRIGHTS:"/services/copyrights",DESIGNS:"/services/designs",PLANT_VARIETIES:"/services/plant-varieties",TOPOGRAPHIC_DESIGNS_OF_INTEGRATED_CIRCUITS:"/services/layout-designs-of-integrated-circuits",GEOGRAPHICAL_INDICATORS:"/services/geographical-indicators",IP_LICENSING:"/services/ip-licensing",IP_ACADEMY:"/services/ip-academy",IP_SUPPORT_CENTERS:"/services/ip-support-centers",IP_CLINICS:"/services/ip-clinics",IP_INFRINGEMENT:"/services/ip-infringement",IP_GENERAL_SECRETARIAT:"/services/ip-general-secretariat",SUPERVISORY_UNIT:"/services/supervisory-unit"},RESOURCES:{ROOT:"/resources",IP_INFORMATION:{ROOT:"/resources/ip-information",DIGITAL_GUIDE:{ROOT:"/resources/ip-information/digital-guide",IP_RIGHTS:{ROOT:"/resources/ip-information/digital-guide/ip-rights"},GUIDELINES:{ROOT:"/resources/ip-information/guidelines"},FAQ:{ROOT:"/resources/ip-information/faq"},IP_GLOSSARY:{ROOT:"/resources/ip-information/ip-glossary"},REPORTS:{ROOT:"/resources/ip-information/reports"},IP_CATEGORY:{ROOT:"/resources/ip-information/digital-guide/ip-category",PATENTS:{ROOT:"/resources/ip-information/digital-guide/ip-category/patents",CHECKLIST:"/resources/ip-information/digital-guide/ip-category/patents/checklist"},TRADEMARKS:{ROOT:"/resources/ip-information/digital-guide/ip-category/trademarks",CHECKLIST:"/resources/ip-information/digital-guide/ip-category/trademarks/checklist"},COPYRIGHTS:{ROOT:"/resources/ip-information/digital-guide/ip-category/copyrights",CHECKLIST:"/resources/ip-information/digital-guide/ip-category/copyrights/checklist"},DESIGNS:{ROOT:"/resources/ip-information/digital-guide/ip-category/designs",CHECKLIST:"/resources/ip-information/digital-guide/ip-category/designs/checklist"},PLANT_VARIETIES:{ROOT:"/resources/ip-information/digital-guide/ip-category/plant-varieties",CHECKLIST:"/resources/ip-information/digital-guide/ip-category/plant-varieties/checklist"},TOPOGRAPHIC_DESIGNS_OF_INTEGRATED_CIRCUITS:{ROOT:"/resources/ip-information/digital-guide/ip-category/topographic-designs-of-integrated-circuits",CHECKLIST:"/resources/ip-information/digital-guide/ip-category/topographic-designs-of-integrated-circuits/checklist"}},CHECK_YOUR_IDEA:{ROOT:"/resources/ip-information/digital-guide/check-your-idea"}}},TOOLS_AND_RESEARCH:{ROOT:"/resources/tools-and-research",IP_SEARCH_ENGINE:{ROOT:"/resources/tools-and-research/ip-search-engine"},GAZZETE:{ROOT:"/resources/tools-and-research/gazette"},PUBLICATIONS:{ROOT:"/resources/tools-and-research/publications"},IP_OBSERVATORY:{ROOT:"/resources/tools-and-research/ip-observatory",IP_SERVICES:{ROOT:"/resources/tools-and-research/ip-observatory/ip-services"},IP_ENABLEMENT:{ROOT:"/resources/tools-and-research/ip-observatory/ip-enablement"},IP_ENFORCEMENT:{ROOT:"/resources/tools-and-research/ip-observatory/ip-enforcement"}},OPEN_DATA:{ROOT:"/resources/tools-and-research/open-data",REQUEST:"/resources/tools-and-research/open-data#request-data"},DATA_SHARING:{ROOT:"/resources/tools-and-research/data-sharing"},PUBLIC_CONSULTATIONS:{ROOT:"/resources/tools-and-research/public-consultations"}},IP_LICENSING:{ROOT:"/resources/ip-licensing",IP_AGENTS:{ROOT:"/resources/ip-licensing/ip-agents"}},LOWS_AND_REGULATIONS:{ROOT:"/resources/lows-and-regulations",SYSTEMS_AND_REGULATIONS:{ROOT:"/resources/lows-and-regulations/systems-and-regulations"},ITERNATIONAL_TREATIES:{ROOT:"/resources/lows-and-regulations/international-treaties"},LITIGATION_PATHS:{ROOT:"/resources/lows-and-regulations/litigation-paths"}}},MEDIA_CENTER:{ROOT:"/media-center",MEDIA_LIBRARY:{ROOT:"/media-center/media-library",MEDIA_CENTER:{ROOT:"/media-center/media-library/media-center"},ARTICLES_POLICIES:"/media-center/media-library/articles-policies"},MOVABLES_PLATFORM:{ROOT:"/media-center/movables-platform"},ABOUT_CHAIRWOMAN:{ROOT:"/media-center/about-chairwoman"}
1,BRANDING:{ROOT:"/media-center/branding"}},CONTACT:{ROOT:"/contact-us",CONTACT_AND_SUPPORT:{ROOT:"/contact-us/contact-and-support"},CAREERS:{ROOT:"/contact-us/careers"}},SITEMAP:{ROOT:"/sitemap"},LEGAL:{TERMS_CONDITIONS:"/terms-conditions",PRIVACY_POLICY:"/privacy-policy",COOKIES:"/cookies",SERVICE_LEVEL_AGREEMENT:"/service-level-agreement"}}},37498:(e,t,r)=>{"use strict";r.d(t,{U:()=>o});var a=r(89278),s=r(3702);let i={patents_page:"/services/patents",trademarks_page:"/services/trademarks",copyrights_page:"/services/copyrights",designs_page:"/services/designs",plant_varieties_page:"/services/plant-varieties",layout_designs_page:"/services/layout-designs-of-integrated-circuits",ip_licensing_page:"/services/ip-licensing",ip_academy_page:"/services/ip-academy",ip_clinics_page:"/services/ip-clinics",ip_infringement_page:"/services/ip-infringement",ip_general_secretariat_page:"/services/ip-general-secretariat",service_directory_page:"/services/service-directory",services_overview_page:"/services",systems_regulations_page:"/resources/lows-and-regulations/systems-and-regulations",international_treaties_page:"/resources/lows-and-regulations/international-treaties",guidelines_page:"/resources/ip-information/guidelines",faq_page:"/resources/ip-information/faq",ip_glossary_page:"/resources/ip-information/ip-glossary",publications_page:"/resources/tools-and-research/publications",gazette_page:"/resources/tools-and-research/gazette",projects_page:"/saip/projects",national_ip_strategy_page:"/saip/national-ip-strategy",about_saip_page:"/saip/about",media_center_page:"/media-center/media-library/media-center",guide_item:"/resources/ip-information/guidelines",project:"/saip/projects",litigation_pathway:"/resources/lows-and-regulations/litigation-paths",entity_partner:"/saip/entities-partners",journey_section:"/services",committee_tab:"/services/ip-general-secretariat"},n={patents_page:"patents",trademarks_page:"trademarks",copyrights_page:"copyrights",designs_page:"designs",plant_varieties_page:"plantVarieties",layout_designs_page:"layoutDesigns",ip_licensing_page:"ipLicensing",ip_academy_page:"ipAcademy",ip_clinics_page:"ipClinics",ip_infringement_page:"ipInfringement",ip_general_secretariat_page:"ipDisputeResolution",international_treaty:"internationalTreaties",international_treaties_page:"internationalTreaties",regulation_document:"systemsRegulations",systems_regulations_page:"systemsRegulations"},l=async(e,t,r,a,s,i,n,l)=>{let o=new URLSearchParams;if(o.set("searchKey",e),o.set("items_per_page",String(a)),o.set("page",String(r)),("en"===t||"ar"===t)&&o.set("lang",t),s&&o.set("type",s),i&&i.length>0)for(let e of i)o.append("ip_category[]",e);n&&o.set("sort_by",n),l&&o.set("sort_order",l);let c="/api/search?".concat(o.toString()),d=await fetch(c,{headers:{Accept:"application/json"},next:{revalidate:60,tags:["drupal:search"]}});if(!d.ok)throw Error("Search API error: ".concat(d.status," ").concat(d.statusText));let u=await d.json(),p=Array.isArray(null==u?void 0:u.data)?u.data:[];return{items:p,hasMore:p.length===a}};async function o(e,t,r){let o=(null==e?void 0:e.trim())||"";if(o.length<2)return{results:[],total:0,query:e,page:null==r?void 0:r.page,pageSize:null==r?void 0:r.pageSize};try{var c,d;let u=(null==r?void 0:r.page)&&r.page>0?r.page-1:0,p=(0,s.ih)(o,null==r?void 0:r.type),m=p.searchKey,g=p.type,h=null==r||null==(c=r.ipCategoryIds)?void 0:c.filter(Boolean),f=(null==r||null==(d=r.sortBy)?void 0:d.trim())||void 0,b=null==r?void 0:r.sortOrder,x=[],v=0;if(null==r?void 0:r.fetchAll){let e=0;for(;x.length<2e3;){let r=await l(m,t,e,50,g,h,f,b);if(x.push(...r.items),!r.hasMore)break;e+=1}v=(x=x.slice(0,2e3)).length}else{let e=(null==r?void 0:r.pageSize)===50?50:12;v=(x=(await l(m,t,u,e,g,h,f,b)).items).length}let S=x.map(e=>{var t,r;let s=e.typeKey||"",l=n[s],o=(t=e.body||"")?t.replace(/<[^>]*>/g,"").replace(/&nbsp;/g," ").replace(/&amp;/g,"&").replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&quot;/g,'"').replace(/&#039;/g,"'").trim():"";return{id:String(e.id||""),type:e.type||"",typeKey:s,title:e.title||"",description:o,createdDate:e.createdDate||"",file:null==e?void 0:e.field_secondary_button_file,url:e.url&&e.url.trim()||((r={id:String(e.id||""),typeKey:s,file:e.field_secondary_button_file||""}).file?(0,a.s_)(r.file,"view"):r.typeKey&&i[r.typeKey]?i[r.typeKey]:"news"===r.typeKey||"featured_news"===r.typeKey?"/media-center/media-library/media-center/".concat(r.id):"article"===r.typeKey?"/media-center/media-library/media-center/articles/".concat(r.id):"guide_item"===r.typeKey?"/resources/lows-and-regulations/international-treaties/".concat(r.id):"service_item"===r.typeKey?"/services/patents/patent20":"international_treaty"===r.typeKey?"/resources/lows-and-regulations/international-treaties/".concat(r.id):"#"),categoryKey:l}}),E=((e,t)=>{let r=new Map;for(let t of e){let e="".concat(t.url,"|").concat(t.title.toLowerCase(),"|").concat(t.typeKey||t.type);r.has(e)||r.set(e,t)}let a=Array.from(r.values()).map(e=>({result:e,score:((e,t)=>{let r=t.toLowerCase().trim();if(!r)return 0;let a=e.title.toLowerCase(),s=e.description.toLowerCase(),i=(e.type||"").toLowerCase(),n=(e.category||"").toLowerCase(),l=0;return a===r&&(l+=200),a.startsWith(r)&&(l+=120),a.includes(r)&&(l+=80),i.includes(r)&&(l+=40),n.includes(r)&&(l+=35),s.startsWith(r)&&(l+=25),s.includes(r)&&(l+=15),l})(e,t),createdAt:Date.parse(e.createdDate||"")||0}));return a.sort((e,t)=>
1t.score!==e.score?t.score-e.score:t.createdAt-e.createdAt),a.map(e=>e.result)})(S,m);return{results:E,total:v||E.length,query:e,page:null==r?void 0:r.page,pageSize:null==r?void 0:r.pageSize}}catch(t){return console.error("Search API error:",t),{results:[],total:0,query:e,page:null==r?void 0:r.page,pageSize:null==r?void 0:r.pageSize}}}},44750:(e,t,r)=>{"use strict";r.d(t,{default:()=>A});var a=r(95155),s=r(12115),i=r(1752),n=r(83101);let l=(0,n.F)(["text-white","bg-success-900","text-sm","leading-relaxed"]),o=(0,n.F)(["flex","flex-col","gap-2"]),c=(0,n.F)(["text-base","font-semibold","mb-3","border-b","border-white/30","pb-2"]),d=(0,n.F)(["flex","flex-col","lg:flex-row","items-start","justify-between","border-t","border-white/30","pt-6","mt-8","gap-4"]),u=(0,n.F)(["space-y-1"]),p=(0,n.F)(["w-8","h-8","cursor-pointer","rounded-[4px]","border","border-white/30","flex","items-center","justify-center","hover:bg-white/10","focus-visible:outline","focus-visible:outline-2","focus-visible:outline-white","transition-colors"]);var m=r(75889);let g=e=>{let{className:t,height:r}=e;return(0,a.jsx)("div",{"aria-hidden":"true",className:(0,m.QP)("w-full bg-[#074D31] bg-repeat-x bg-center",t),style:{height:r,backgroundImage:"url('/images/national-day/footer-pattern.png')",backgroundSize:"auto 100%"}})};var h=r(81688),f=r(15239),b=r(33021);let x=[{label:"X (formerly Twitter)",iconPath:"/icons/x.svg",href:"#"},{label:"Facebook",iconPath:"/icons/facebook.svg",href:"#"},{label:"YouTube",iconPath:"/icons/youtube.svg",href:"#"},{label:"LinkedIn",iconPath:"/icons/linkedin.svg",href:"#"},{label:"Instagram",iconPath:"/icons/instagram.svg",href:"#"}],v=[{title:"saip",items:[{label:"About SAIP",href:b.bw.SAIP.ABOUT},{label:"National IP strategy",href:b.bw.SAIP.NATIONAL_IP_STRATEGY},{label:"Organisational structure",href:b.bw.SAIP.ORGANISATIONAL_STRUCTURE},{label:"SAIP projects",href:b.bw.SAIP.PROJECTS},{label:"Entities & partners",href:b.bw.SAIP.ENTITIES}]},{title:"ipInformation",items:[{label:"Digital guide",href:b.bw.RESOURCES.IP_INFORMATION.DIGITAL_GUIDE.ROOT},{label:"Guidelines",href:b.bw.RESOURCES.IP_INFORMATION.DIGITAL_GUIDE.GUIDELINES.ROOT},{label:"FAQs",href:b.bw.RESOURCES.IP_INFORMATION.DIGITAL_GUIDE.FAQ.ROOT},{label:"IP glossary",href:b.bw.RESOURCES.IP_INFORMATION.DIGITAL_GUIDE.IP_GLOSSARY.ROOT},{label:"Reports",href:b.bw.RESOURCES.IP_INFORMATION.DIGITAL_GUIDE.REPORTS.ROOT}]},{title:"toolsResearch",items:[{label:"IP search engine",href:b.bw.RESOURCES.TOOLS_AND_RESEARCH.IP_SEARCH_ENGINE.ROOT},{label:"Gazette",href:b.bw.RESOURCES.TOOLS_AND_RESEARCH.GAZZETE.ROOT},{label:"Publications",href:b.bw.RESOURCES.TOOLS_AND_RESEARCH.PUBLICATIONS.ROOT},{label:"IP observatory",href:b.bw.RESOURCES.TOOLS_AND_RESEARCH.IP_OBSERVATORY.ROOT},{label:"Open data",href:b.bw.RESOURCES.TOOLS_AND_RESEARCH.OPEN_DATA.ROOT},{label:"Public consultations",href:b.bw.RESOURCES.TOOLS_AND_RESEARCH.PUBLIC_CONSULTATIONS.ROOT}]},{title:"importantLinks",items:[{label:"Services overview",href:b.bw.SERVICES.SERVICES_OVERVIEW},{label:"IP agents",href:b.bw.RESOURCES.IP_LICENSING.IP_AGENTS.ROOT},{label:"Systems & regulations",href:b.bw.RESOURCES.LOWS_AND_REGULATIONS.SYSTEMS_AND_REGULATIONS.ROOT},{label:"SAIP services directory",href:b.bw.SERVICES.SERVICE_DIRECTORY}]},{title:"mediaContact",items:[{label:"Media Center",href:b.bw.MEDIA_CENTER.MEDIA_LIBRARY.MEDIA_CENTER.ROOT},{label:"Contact & support",href:b.bw.CONTACT.CONTACT_AND_SUPPORT.ROOT},{label:"Careers",href:b.bw.CONTACT.CAREERS.ROOT},{label:"Movables",href:b.bw.MEDIA_CENTER.MOVABLES_PLATFORM.ROOT},{label:"Branding",href:b.bw.MEDIA_CENTER.BRANDING.ROOT}]}],S=[{label:"Sitemap",href:b.bw.SITEMAP.ROOT},{label:"Cookies",href:b.bw.LEGAL.COOKIES},{label:"Request Open Data",href:b.bw.RESOURCES.TOOLS_AND_RESEARCH.OPEN_DATA.REQUEST},{label:"Terms & Conditions",href:b.bw.LEGAL.TERMS_CONDITIONS},{label:"Privacy Policy",href:b.bw.LEGAL.PRIVACY_POLICY}];var E=r(77492),w=r(72594);let O=(0,n.F)(["flex","flex-col","gap-1"],{variants:{variant:{default:"",compact:"gap-2"}},defaultVariants:{variant:"default"}}),I=(0,n.F)(["w-8","h-8","cursor-pointer","rounded-[4px]","border","border-white/30","flex","items-center","justify-center","hover:bg-success-800","focus-visible:outline","focus-visible:outline-2","focus-visible:outline-white","transition-colors"],{variants:{size:{sm:"w-8 h-8",md:"w-10 h-10",lg:"w-12 h-12"}},defaultVariants:{size:"md"}}),N=(0,n.F)(["text-base","font-semibold","mb-3","border-b","border-white/30","pb-2","text-white"],{variants:{variant:{default:"",compact:"text-xs"}},defaultVariants:{variant:"default"}});var R=r(18955);let T="saip-font-size",y=s.forwardRef((e,t)=>
1{let{className:r}=e,i=(0,R.c)("accessibility"),{highContrast:n,toggleContrast:l}=(0,w.I)(),[o,c]=(0,s.useState)(!1);return(0,s.useEffect)(()=>{let e="large"===localStorage.getItem(T);c(e),e&&document.documentElement.classList.add("large-font")},[]),(0,a.jsxs)("div",{ref:t,className:(0,m.QP)(O({className:r})),children:[(0,a.jsx)("h4",{className:N(),children:i("title")}),(0,a.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(0,a.jsx)("button",{type:"button",onClick:l,className:(0,m.QP)(I(),n&&"bg-white/20 ring-2 ring-white/50 !rounded-[4px]"),"aria-label":i("highContrast"),"aria-pressed":n,title:i(n?"contrastEnabled":"contrastDisabled"),children:(0,a.jsx)(f.default,{src:"/icons/contrast.svg",alt:"",width:20,height:20,className:"invert brightness-0"})}),(0,a.jsx)("button",{type:"button",onClick:()=>{let e=!o;c(e),document.documentElement.classList.toggle("large-font",e),localStorage.setItem(T,e?"large":"normal")},className:(0,m.QP)(I(),o&&"bg-white/20 ring-2 ring-white/50 !rounded-[4px]"),"aria-label":i("fontSize"),"aria-pressed":o,title:i(o?"fontSizeLarge":"fontSizeNormal"),children:(0,a.jsx)(f.default,{src:"/icons/text-size.svg",alt:"",width:20,height:20,className:"invert brightness-0"})})]})]})});y.displayName="AccessibilityTools";var _=r(51567);let A=e=>{let{sections:t,socialLinks:r,legalLinks:n}=e,b=(0,R.c)("footer.sections"),w=(0,R.c)("footer.legal"),O=(0,R.c)("footer.copyright"),I=(0,R.c)("footer"),N=(0,_.Ym)(),T="ar"===N,A=new Intl.NumberFormat("ar"===N?"ar-SA":"en-US",{useGrouping:!1}).format(new Date().getUTCFullYear()),C=()=>{let e=new Date,t=String(e.getDate()).padStart(2,"0"),r=String(e.getMonth()+1).padStart(2,"0"),a=String(e.getFullYear()),s="".concat(t,"/").concat(r,"/").concat(a);if("ar"!==N)return s;let i=["Ù ","Ù¡","Ù¢","Ù£","Ù¤","Ù¥","Ù¦","Ù§","Ù¨","Ù©"];return s.replace(/\d/g,e=>i[Number(e)])},[P,j]=(0,s.useState)(()=>C()),L=(0,h.n)();(0,s.useEffect)(()=>{j(C())},[N]);let k=(t&&t.length>0?t:v).map(e=>({...e,title:(e=>e.includes(" ")?e:b(e))(e.title)})),D=n&&n.length>0?n:S,G=S.find(e=>"Sitemap"===e.label);!D.some(e=>"Sitemap"===e.label||e.href===(null==G?void 0:G.href))&&G&&(D=[G,...D]);let U=D.map(e=>{let t={Sitemap:"sitemap",Cookies:"cookies","Request Open Data":"requestOpenData","Terms & Conditions":"termsConditions","Privacy Policy":"privacyPolicy"}[e.label]||e.label;return{...e,label:t.includes(" ")?e.label:w(t)}}),M=x.map((e,t)=>{var a;return{...e,href:(null==r||null==(a=r[t])?void 0:a.href)||e.href}});return(0,a.jsxs)("footer",{className:l(),role:"contentinfo",children:[(0,a.jsxs)(i.default,{background:"primary",children:[(0,a.jsxs)("div",{className:"flex flex-col gap-6 md:flex-row md:flex-wrap md:gap-8 lg:grid lg:grid-cols-6 lg:gap-6",children:[k.map(e=>{let{title:t,items:r}=e;return(0,a.jsxs)("div",{className:(0,m.QP)(o(),"w-full md:flex-1 md:min-w-[180px] lg:min-w-0"),children:[(0,a.jsx)("h4",{className:c(),children:t}),r.map(e=>{let{label:t,href:r}=e;return(0,a.jsx)(E.N_,{href:r,className:"hover:underline transition-colors","aria-label":t,children:t},t)})]},t)}),(0,a.jsxs)("div",{className:(0,m.QP)("flex-row flex-wrap md:flex-col md:flex-nowrap w-full md:flex-1 md:min-w-[180px] lg:w-[193.33px] lg:min-w-[193.33px] flex gap-8"),children:[(0,a.jsxs)("div",{className:(0,m.QP)(o()),children:[(0,a.jsx)("h4",{className:c(),children:b("socialMedia")}),(0,a.jsx)("div",{className:"flex gap-2 flex-nowrap",children:M.map(e=>{let{label:t,iconPath:r,href:s}=e;return(0,a.jsx)(E.N_,{href:s,"aria-label":t,className:p(),children:(0,a.jsx)(f.default,{src:r,alt:t,width:20,height:20,className:"X (formerly Twitter)"===t?"brightness-0 invert":""})},t)})})]}),(0,a.jsx)("div",{className:(0,m.QP)(o()),children:(0,a.jsx)(y,{className:"[&_button]:!w-8 [&_button]:!h-8 [&_button]:!min-w-8 [&_button]:!min-h-8 [&_button]:!max-w-8 [&_button]:!max-h-8"})})]})]}),(0,a.jsxs)("div",{className:(0,m.QP)(d(),"border-transparent lg:border-white/30 mt-10 lg:mt-12 items-center lg:items-start"),children:[(0,a.jsxs)("div",{className:(0,m.QP)(u(),"text-center",T?"lg:text-right":"lg:text-left"),children:[(0,a.jsx)("div",{className:(0,m.QP)("flex flex-wrap justify-center gap-4 text-white/90 !text-[14px]",T?"lg:justify-end":"lg:justify-start"),children:U.map(e=>{let{label:t,href:r}=e;return(0,a.jsx)(E.N_,{href:r,className:"underline !text-[14px]",children:t},t)})}),(0,a.jsxs)("div",{className:"pt-4",children:[(0,a.jsxs)("p",{className:"text-sm font-semibold leading-5 text-white",children:[O("rights")," \xa9 ",A]}),(0,a.jsxs)("p",{className:"mt-[8px] text-xs font-normal leading-[100%] text-white",children:[O("developed"),(0,a.jsx)("br",{}),O("modified"),": ",(0,a.jsx)("span",{suppressHydrationWarning:!0,children:P})]})]})]}),(0,a.jsxs)("div",{className:"flex items-center justify-center lg:justify-end gap-6 shrink-0",children:[L&&(0,a.jsx)(f.default,{src:"/images/national-day/logo-national-day-white.png",alt:"Saudi National Day",width:106,height:42,className:"h-[42px] w-auto"}),(0,a.jsx)("a",{href:"ar"===N?"https://www.vision2030.gov.sa/ar/":"https://www.vision2030.gov.sa/en/",target:"_blank",rel:"noopener noreferrer","aria-label":I("vision2030"),children:(0,a.jsx)(f.default,{src:"/images/Saudi_Vision_2030_logo.svg",alt:I("vision2030"),width:120,height:80})}),(0,a.jsx)(f.default,{src:"/images/saip-logo.svg",alt:"SAIP Logo",width:160,height:80})]})]})]}),L&&(0,a.jsx)(g,{height:48})]})}},49754:(e,t,r)=>{"use strict";r.d(t,{CookieConsentProvider:()=>l,uC:()=>o});var a=r(95155),s=r(12115),i=r(96558);let n=(0,s.createContext)(null);function l(e){let{children:t}
1=e,[r,l]=(0,s.useState)(null),[o,c]=(0,s.useState)(!0);(0,s.useEffect)(()=>{l(i.Tl.getConsent()),c(!1)},[]);let d=(0,s.useMemo)(()=>{var e;return null!=(e=null==r?void 0:r.accepted)&&e},[r]),u=(0,s.useCallback)(e=>{var t;return"essential"===e||!!(null==r?void 0:r.accepted)&&null!=(t=r.preferences[e])&&t},[r]),p=(0,s.useCallback)(()=>{let e=(0,i.C5)(!0,i.Vc);i.Tl.setConsent(e),l(e)},[]),m=(0,s.useCallback)(()=>{let e=(0,i.C5)(!0,i.dx);i.Tl.setConsent(e),l(e)},[]),g=(0,s.useCallback)(e=>{var t,a,s,n;let o=null!=(t=null==r?void 0:r.preferences)?t:i.dx,c={essential:!0,analytics:null!=(a=e.analytics)?a:o.analytics,functional:null!=(s=e.functional)?s:o.functional,marketing:null!=(n=e.marketing)?n:o.marketing},d=(0,i.C5)(!0,c);i.Tl.setConsent(d),l(d)},[r]),h=(0,s.useCallback)(()=>{i.Tl.remove("SAIP_COOKIE_CONSENT"),l(null)},[]),f=(0,s.useMemo)(()=>({consent:r,hasConsent:d,isLoading:o,hasConsentFor:u,acceptAll:p,acceptEssential:m,updatePreferences:g,revokeConsent:h}),[r,d,o,u,p,m,g,h]);return(0,a.jsx)(n.Provider,{value:f,children:t})}function o(){let e=(0,s.useContext)(n);if(!e)throw Error("useCookieConsent must be used within a CookieConsentProvider");return e}},52084:(e,t,r)=>{"use strict";r.d(t,{Banner:()=>o,default:()=>c});var a=r(95155),s=r(65229),i=r(18955),n=r(2821),l=r(64938);let o=e=>{let{id:t,title:r,changed:o,className:c}=e,d=(0,i.c)("banner"),{isVisible:u,setIsVisible:p}=(0,l.Y)();return u?(0,a.jsxs)("div",{role:"region","aria-label":d("label"),style:{height:l.m},className:(0,n.A)("fixed inset-x-0 top-0 z-70 flex w-full items-center justify-center bg-primary-600 px-12 text-sm font-medium leading-6 text-white",c),children:[(0,a.jsx)("span",{className:"truncate text-center",children:r}),(0,a.jsx)("button",{type:"button",onClick:()=>{((e,t)=>
1{if("undefined"==typeof document)return;let r=encodeURIComponent("".concat(e,":").concat(t));document.cookie="".concat("saip-banner-dismissed","=").concat(r,"; path=/; max-age=").concat(31536e3,"; SameSite=Lax")})(t,o),p(!1)},"aria-label":d("dismiss"),className:"absolute top-1/2 flex h-8 w-8 -translate-y-1/2 items-center justify-center rounded-full text-white transition-colors hover:bg-white/15 focus:outline-none focus-visible:ring-2 focus-visible:ring-white/60 ltr:left-3 rtl:right-3",children:(0,a.jsx)(s.A,{className:"h-4 w-4","aria-hidden":"true"})})]}):null},c=o},54530:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>c,getWindow:()=>o});var a=r(95155),s=r(12115),i=r(49754),n=r(68321);let l="G-SFVRCL5N5D";function o(){return window}function c(){let{hasConsentFor:e,isLoading:t}=(0,i.uC)(),[r,c]=(0,s.useState)(!1),d=!t&&e("analytics");return((0,s.useEffect)(()=>{d&&!r&&(!function(){let e=o();if(!e)return;e._paq=e._paq||[],e._paq.push(["trackPageView"]),e._paq.push(["enableLinkTracking"]);let t="https://matomo.saip.gov.sa/";e._paq.push(["setTrackerUrl",t+"matomo.php"]),e._paq.push(["setSiteId","3"]);let r=document,a=r.createElement("script"),s=r.getElementsByTagName("script")[0];a.async=!0,a.src=t+"matomo.js",s.parentNode&&s.parentNode.insertBefore(a,s)}(),c(!0))},[d,r]),d)?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(n.default,{id:"gtag-init",strategy:"afterInteractive",children:"\n          window.dataLayer = window.dataLayer || [];\n          function gtag(){dataLayer.push(arguments);}\n          gtag('js', new Date());\n          gtag('config', '".concat(l,"');\n        ")}),(0,a.jsx)(n.default,{async:!0,src:"https://www.googletagmanager.com/gtag/js?id=".concat(l),strategy:"afterInteractive"}),(0,a.jsx)(n.default,{id:"matomo-init",strategy:"afterInteractive",children:"\n          var _paq = window._paq = window._paq || [];\n          _paq.push(['trackPageView']);\n          _paq.push(['enableLinkTracking']);\n          (function() {\n            var u=\"https://matomo.saip.gov.sa/\";\n            _paq.push(['setTrackerUrl', u+'matomo.php']);\n            _paq.push(['setSiteId', '3']);\n            var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];\n            g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);\n          })();\n        "})]}):null}},64938:(e,t,r)=>{"use strict";r.d(t,{BannerProvider:()=>l,Y:()=>o,m:()=>i});var a=r(95155),s=r(12115);let i=40,n=(0,s.createContext)(void 0),l=e=>{let{children:t,initialVisible:r=!1}
1=e,[l,o]=(0,s.useState)(r);return(0,a.jsx)(n.Provider,{value:{isVisible:l,setIsVisible:o,height:l?i:0},children:t})},o=()=>{let e=(0,s.useContext)(n);if(!e)throw Error("useBanner must be used within a BannerProvider");return e}},72594:(e,t,r)=>{"use strict";r.d(t,{ContrastProvider:()=>n,I:()=>l});var a=r(95155),s=r(12115);let i=(0,s.createContext)(void 0),n=e=>{let{children:t}=e,[r,n]=(0,s.useState)(!1);return(0,s.useEffect)(()=>{"high"===localStorage.getItem("contrast")&&n(!0)},[]),(0,s.useEffect)(()=>{document.documentElement.classList.toggle("high-contrast",r),localStorage.setItem("contrast",r?"high":"default")},[r]),(0,a.jsx)(i.Provider,{value:{highContrast:r,toggleContrast:()=>n(e=>!e)},children:t})},l=()=>{let e=(0,s.useContext)(i);if(!e)throw Error("useContrast must be used within a ContrastProvider");return e}},73558:(e,t,r)=>{"use strict";r.d(t,{Q:()=>l,VerificationBarProvider:()=>n});var a=r(95155),s=r(12115);let i=(0,s.createContext)(void 0),n=e=>{let{children:t}=e,[r,n]=(0,s.useState)(!1),[l,o]=(0,s.useState)(0);return(0,a.jsx)(i.Provider,{value:{isExpanded:r,setIsExpanded:n,accordionHeight:l,setAccordionHeight:o},children:t})},l=()=>{let e=(0,s.useContext)(i);if(void 0===e)throw Error("useVerificationBar must be used within a VerificationBarProvider");return e}},73677:()=>{},77492:(e,t,r)=>{"use strict";r.d(t,{N_:()=>i,a8:()=>l,rd:()=>o});var a=r(55251);let s=(0,r(84497).A)({locales:["en","ar"],defaultLocale:"ar",localePrefix:"always"}),{Link:i,redirect:n,usePathname:l,useRouter:o,getPathname:c}=(0,a.A)({...s})},81688:(e,t,r)=>{"use strict";r.d(t,{n:()=>n});var a=r(12115),s=r(95704);let i=function(){var e,t;let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Date,a=s.env.NEXT_PUBLIC_NATIONAL_DAY_THEME;if("on"===a)return!0;if("off"===a)return!1;let i=new Intl.DateTimeFormat("en-US",{timeZone:"Asia/Riyadh",month:"numeric",day:"numeric"}).formatToParts(r),n=Number(null==(e=i.find(e=>"month"===e.type))?void 0:e.value),l=Number(null==(t=i.find(e=>"day"===e.type))?void 0:t.value);return 9===n&&l>=20&&l<=27},n=()=>{let[e,t]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{t(i())},[]),e}},90061:(e,t,r)=>{"use strict";r.d(t,{default:()=>S});var a=r(95155),s=r(12115),i=r(18955),n=r(51567),l=r(26341),o=r(49754),c=r(96558),d=r(2821),u=r(52619),p=r.n(u);let m=[{key:"essential",alwaysOn:!0},{key:"analytics",alwaysOn:!1},{key:"functional",alwaysOn:!1},{key:"marketing",alwaysOn:!1}],g="#1B8354",h="#1F2A37",f="#384250",b="#161616",x="#D2D6DB",v="#F3FCF6";function S(){let e=(0,i.c)("cookieConsent"),t=(0,n.Ym)(),r="ar"===t,{consent:u,acceptAll:S,acceptEssential:E,updatePreferences:w,isLoading:O}=(0,o.uC)(),[I,N]=(0,s.useState)(!1),[R,T]=(0,s.useState)(!1),[y,_]=(0,s.useState)(()=>({...c.dx})),A=(0,s.useRef)(null),C=!O&&!!u,P=!O&&!u&&!I,j=()=>{T(!0),A.current&&clearTimeout(A.current),A.current=setTimeout(()=>T(!1),5e3)};if((0,s.useEffect)(()=>{I&&_(u?{...u.preferences}:{...c.dx})},[I,u]),(0,s.useEffect)(()=>()=>{A.current&&clearTimeout(A.current)},[]),O)return null;if(R&&C&&!I)return(0,a.jsx)("div",{role:"status","aria-live":"polite",dir:r?"rtl":"ltr",className:"fixed bottom-0 left-0 right-0 z-[100] w-full max-h-screen overflow-y-auto md:max-w-[calc(100%-2rem)] md:bottom-6 md:left-0 md:right-0 md:mx-auto md:max-h-[calc(100vh-3rem)] rounded-[5px] bg-white shadow-[0_-4px_12px_rgba(0,0,0,0.08)] border border-gray-200",children:(0,a.jsxs)("div",{className:"px-4 sm:px-6 md:px-8 py-6 flex flex-col gap-4",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)("div",{className:"flex h-10 w-10 shrink-0 items-center justify-center rounded-full",style:{backgroundColor:v},children:(0,a.jsx)(l.A,{className:"h-5 w-5",style:{color:g},"aria-hidden":"true"})}),(0,a.jsx)("p",{className:"min-w-0 flex-1 text-lg font-semibold break-words",style:{color:h,fontFamily:"'IBM Plex Sans Arabic', sans-serif"},children:e("messageTitle")}),(0,a.jsx)("button",{type:"button",onClick:()=>T(!1),className:"flex h-8 w-8 shrink-0 items-center justify-center rounded hover:bg-gray-100 focus:outline-none focus-visible:ring-2 focus-visible:ring-[rgb(27,131,84)]","aria-label":e("closeModal"),children:(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-5 w-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})]}),(0,a.jsx)("p",{className:"text-base break-words",style:{color:f,fontFamily:"'IBM Plex Sans Arabic', sans-serif"},children:e("messageDescription")}),(0,a.jsx)("button",{type:"button",onClick:()=>{T(!1),N(!0)},className:"w-full h-8 px-3 rounded text-sm font-medium hover:bg-gray-100 focus:outline-none focus-visible:ring-2 focus-visible:ring-[rgb(27,131,84)] focus-visible:ring-offset-2",style:{color:b,fontFamily:"'IBM Plex Sans Arabic', sans-serif"},children:e("undo")})]})});if(!P&&!I)return null;let L=r?"rtl":"ltr";return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{role:"dialog","aria-live":"polite","aria-label":e("bannerTitle"),dir:L,className:"fixed  z-[100] right-10 left-10 bottom-4  mx-auto md:w-full  max-h-screen overflow-y-auto md:max-w-[calc(100%-2rem)] md:bottom-6 md:left-0 md:right-0 md:mx-auto md:max-h-[calc(100vh-3rem)] rounded-[5px] bg-white shadow-[0_-4px_12px_rgba(0,0,0,0.08)] border border-gray-200",children:(0,a.jsxs)("div",{className:"px-4 sm:px-6 md:px-8 py-6 flex flex-col gap-4",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)("div",{className:"flex h-10 w-10 shrink-0 items-center justify-center rounded-full",style:{backgroundColor:v},children:(0,a.jsx)(l.A,{className:"h-5 w-5",style:{color:g},"aria-hidden":"true"})}),(0,a.jsx)("p",{className:"min-w-0 flex-1 text-lg font-semibold break-words",style:{color:h,fontFamily:"'IBM Plex Sans Arabic', sans-serif"},children:e("bannerTitle")}),(0,a.jsx)("button",{type:"button",onClick:()=>E(),className:"flex h-8 w-8 shrink-0 items-center justify-center rounded hover:bg-gray-100 focus:outline-none focus-visible:ring-2 focus-visible:ring-[rgb(27,131,84)]","aria-label":e("closeModal"),children:(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-5 w-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})]}),(0,a.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,a.jsx)("p",{className:"text-base break-words",style:{color:f,fontFamily:"'IBM Plex Sans Arabic', sans-serif"},children:e("bannerDescription")}),(0,a.jsxs)(p(),{href:"/".concat(t,"/cookies"),className:"inline-flex items-center gap-2 text-base break-words hover:underline focus:outline-none focus-visible:underline w-fit",style:{color:g,fontFamily:"'IBM Plex Sans Arabic', sans-serif"},children:[e("privacyPolicyLink"),(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-5 w-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M13.828 10.172a4 4 0 00-5.656 0l-4 4a4 4 0 105.656 5.656l1.102-1.101m-.758-4.899a4 4 0 005.656 0l4-4a4 4 0 00-5.656-5.656l-1.1 1.1"})})]})]}),(0,a.jsxs)("div",{className:"flex flex-col items-center gap-2",children:[(0,a.jsx)("button",{type:"button",onClick:()=>{S(),j()},className:"w-full h-8 px-3 rounded text-sm font-medium text-white focus:outline-none focus-visible:ring-2 focus-visible:ring-[rgb(27,131,84)] focus-visible:ring-offset-2",style:{backgroundColor:g,fontFamily:"'IBM Plex Sans Arabic', sans-serif"},children:e("acceptAll")}),(0,a.jsx)("button",{type:"button",onClick:()=>{E(),j()},className:"w-full h-8 px-3 rounded text-sm font-medium border focus:outline-none focus-visible:ring-2 focus-visible:ring-[rgb(27,131,84)] focus-visible:ring-offset-2 hover:bg-gray-100",style:{color:b,borderColor:x,fontFamily:"'IBM Plex Sans Arabic', sans-serif"},children:e("reject")}),(0,a.jsx)("button",{type:"button",onClick:()=>N(!0),className:"w-full h-8 px-3 rounded text-sm font-medium hover:bg-gray-100 focus:outline-none focus-visible:ring-2 focus-visible:ring-[rgb(27,131,84)] focus-visible:ring-offset-2",style:{color:b,fontFamily:"'IBM Plex Sans Arabic', sans-serif"},children:e("manage")})]})]})}),I&&(0,a.jsx)("div",{className:"fixed inset-0 z-[110] flex items-center justify-center bg-black/50 p-4",role:"dialog","aria-modal":"true","aria-labelledby":"
1cookie-manage-title",children:(0,a.jsx)("div",{dir:L,className:"relative w-full max-w-[1327px] max-h-[90vh] overflow-y-auto rounded-[5px] bg-white shadow-xl",children:(0,a.jsxs)("div",{className:"px-4 sm:px-6 md:px-8 py-6 flex flex-col gap-4",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)("div",{className:"flex h-10 w-10 shrink-0 items-center justify-center rounded-full",style:{backgroundColor:v},children:(0,a.jsx)(l.A,{className:"h-5 w-5",style:{color:g},"aria-hidden":"true"})}),(0,a.jsx)("h2",{id:"cookie-manage-title",className:"min-w-0 flex-1 text-lg font-semibold break-words",style:{color:h,fontFamily:"'IBM Plex Sans Arabic', sans-serif"},children:e("modalTitle")}),(0,a.jsx)("button",{type:"button",onClick:()=>N(!1),className:"flex h-8 w-8 shrink-0 items-center justify-center rounded hover:bg-gray-100 focus:outline-none focus-visible:ring-2 focus-visible:ring-[rgb(27,131,84)]","aria-label":e("closeModal"),children:(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-5 w-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})]}),(0,a.jsx)("p",{className:"text-base break-words",style:{color:f,fontFamily:"'IBM Plex Sans Arabic', sans-serif"},children:e("modalDescription")}),(0,a.jsx)("div",{className:"flex flex-col gap-4",children:m.map(t=>{let s=t.key,i=t.alwaysOn,n=i||!!y[s];return(0,a.jsx)("div",{className:"flex flex-col gap-1",children:(0,a.jsxs)("div",{className:"flex items-center gap-4",children:[i?(0,a.jsx)("div",{className:"flex items-center gap-2",children:(0,a.jsx)("div",{className:"relative inline-flex h-6 w-12 shrink-0 items-center rounded-full opacity-50",style:{backgroundColor:"#D2D6DB"},children:(0,a.jsx)("span",{className:"absolute top-[2px] inline-block h-5 w-5 rounded-full bg-white shadow end-[2px]"})})}):(0,a.jsxs)("label",{className:"relative inline-flex h-6 w-12 shrink-0 cursor-pointer items-center",children:[(0,a.jsx)("input",{type:"checkbox",className:"sr-only",checked:n,onChange:e=>{var t;return t=e.target.checked,void("essential"!==s&&_(e=>({...e,[s]:t})))},"aria-label":e("category.".concat(s,".title"))}),(0,a.jsx)("span",{className:"relative inline-block h-6 w-12 rounded-full transition-colors",style:{backgroundColor:n?g:"#D2D6DB"},children:(0,a.jsx)("span",{className:(0,d.$)("absolute top-[2px] start-[2px] inline-block h-5 w-5 rounded-full bg-white shadow transition-transform",n?r?"-translate-x-[24px]":"translate-x-[24px]":"translate-x-0")})})]}),(0,a.jsx)("span",{className:"min-w-0 text-base font-semibold break-words",style:{color:h,fontFamily:"'IBM Plex Sans Arabic', sans-serif"},children:e("category.".concat(s,".title"))})]})},s)})}),(0,a.jsxs)("div",{className:"flex flex-col items-center gap-2",children:[(0,a.jsx)("button",{type:"button",onClick:()=>{w(y),N(!1),j()},className:"w-full h-8 px-3 rounded text-sm font-medium text-white focus:outline-none focus-visible:ring-2 focus-visible:ring-[rgb(27,131,84)] focus-visible:ring-offset-2",style:{backgroundColor:g,fontFamily:"'IBM Plex Sans Arabic', sans-serif"},children:e("savePreferences")}),(0,a.jsx)("button",{type:"button",onClick:()=>{E(),N(!1),j()},className:"w-full h-8 px-3 rounded text-sm font-medium border focus:outline-none focus-visible:ring-2 focus-visible:ring-[rgb(27,131,84)] focus-visible:ring-offset-2 hover:bg-gray-100",style:{color:b,borderColor:x,fontFamily:"'IBM Plex Sans Arabic', sans-serif"},children:e("rejectAll")})]})]})})})]})}},96558:(e,t,r)=>{"use strict";r.d(t,{C5:()=>n,Tl:()=>l,Vc:()=>i,dx:()=>s});let a={CONSENT:"SAIP_COOKIE_CONSENT"},s={essential:!0,analytics:!1,functional:!1,marketing:!1},i={essential:!0,analytics:!0,functional:!0,marketing:!0};function n(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s;return{accepted:e,preferences:{...t,essential:!0},timestamp:new Date().toISOString()}}let l={get(e){if("undefined"!=typeof document)for(let t of document.cookie.split(";")){let[r,a]=t.trim().split("=");if(r===e)return decodeURIComponent(a)}},set(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:365;if("undefined"==typeof document)return;let a=new Date;a.setTime(a.getTime()+24*r*36e5),document.cookie="".concat(e,"=").concat(encodeURIComponent(t),";expires=").concat(a.toUTCString(),";path=/;SameSite=Lax")},remove(e){"undefined"!=typeof document&&(document.cookie="".concat(e,"=;expires=Thu, 01 Jan 1970 00:00:00 GMT;path=/"))},getConsent(){var e=this.get(a.CONSENT);if(!e)return null;try{let t=JSON.parse(e);if("boolean"==typeof t.accepted&&"object"==typeof t.preferences&&"string"==typeof t.timestamp)return t;return null}catch(e){return null}},setConsent(e){this.set(a.CONSENT,JSON.stringify(e),365)},hasConsent(){var e;let t=this.getConsent();return null!=(e=null==t?void 0:t.accepted)&&e},hasConsentFor(e){var t;let r=this.getConsent();return(null==r?void 0:r.accepted)?null!=(t=r.preferences[e])&&t:"essential"===e}}},98951:(e,t,r)=>{"use strict";r.d(t,{DirectionProvider:()=>l,j:()=>n});var a=r(95155),s=r(12115);let i=(0,s.createContext)("ltr"),n=()=>(0,s.useContext)(i),l=e=>{let{dir:t,children:r}=e;return(0,a.jsx)(i.Provider,{value:t,children:r})}}},e=>{e.O(0,[6138,5205,1567,2619,5775,1356,6526,8106,9278,8441,1255,7358],()=>e(e.s=179)),_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.