PageSourceSearch

https://alkaloid.com.mk/_next/static/chunks/pages/[[...slug]]-0e6763df2e708117.js

js alkaloid.com.mk collected 2026-10-02 20:19:00 UTC 967,693 bytes, 39 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6120],{69805:function(e,t,l){(window.__NEXT_P=window.__NEXT_P||[]).push(["/[[...slug]]",function(){return l(29992)}])},54257:function(e,t){"use strict";t.Z={src:"/_next/static/media/AngledButton.89b5acc8.svg",height:193,width:105,blurWidth:0,blurHeight:0}},79310:function(e,t){"use strict";t.Z={src:"/_next/static/media/AngledStrike.7ae3c1a7.svg",height:172,width:98,blurWidth:0,blurHeight:0}},57775:function(e,t){"use strict";t.Z={src:"/_next/static/media/Check.5ff13572.svg",height:31,width:42,blurWidth:0,blurHeight:0}},5191:function(e,t){"use strict";t.Z={src:"/_next/static/media/alkceo-arrow.92930dc4.svg",height:47,width:27,blurWidth:0,blurHeight:0}},91811:function(e,t){"use strict";t.Z={src:"/_next/static/media/media-center-shape.f269413e.svg",height:385,width:271,blurWidth:0,blurHeight:0}},38853:function(e,t){"use strict";t.Z={src:"/_next/static/media/x.58c200a9.svg",height:36,width:36,blurWidth:0,blurHeight:0}},51005:function(e,t,l){"use strict";l.d(t,{R7:function(){return r},y$:function(){return n}});var a=l(67294);let s=(0,a.createContext)([]),n=s.Provider,r=()=>(0,a.useContext)(s)},80692:function(e,t,l){"use strict";var a=l(85893);l(67294),t.Z=e=>{let{children:t,className:l,...s}=e;return(0,a.jsx)("div",{className:"htmlEditor",children:(0,a.jsx)("div",{className:"relative w-100 h-100",children:(0,a.jsx)("div",{className:l,dangerouslySetInnerHTML:{__html:t},...s})})})}},45801:function(e,t,l){"use strict";var a=l(85893),s=l(67294),n=l(32046);t.Z=e=>{let{parents:t}=e;return t.length>1&&(0,a.jsx)("div",{className:"breadcrumbs-holder absolute z-20 flex items-stretch",children:(0,a.jsx)("div",{className:"breadcrumbs-triangle sm:text-sm text-alkLightBlue py-1 px-2 pr-4 bg-white opacity-80 phoneSmall:text-sm",children:t.map((e,l)=>(0,a.jsxs)(s.Fragment,{children:[(0,a.jsx)(n.Z,{to:`${e.link}`,className:"sm:px-4 phoneSmall:px-1",children:e.title}),l<t.length-1&&">"]},e.link))})})}},23522:function(e,t,l){"use strict";var a=l(85893);l(67294),t.Z=e=>{let{title:t}=e;return(0,a.jsxs)("div",{className:`flex flex-col items-end ${t.length>=15?"max-w-xl":t.length>=12?"max-w-2xl":t.length>=9?"max-w-xl":t.length>=5?"max-w-sm":"max-w-xs"} my-8`,children:[(0,a.jsx)("h1",{className:" font-thin text-4xl uppercase md:text-6xl place-self-start tracking-wider mb-3",children:t}),(0,a.jsx)("hr",{className:`border-alkLightBlue ${t.length>=15?"w-7/12":t.length>=12?"w-5/12":t.length>=9?"w-5/12":t.length>=5?"w-7/12":"w-8/12"} border-solid border-2`})]})}},12287:function(e,t,l){"use strict";l.d(t,{G:function(){return nS},Z:function(){return nI}});var a=l(85893),s=l(9008),n=l.n(s);let r={en:"home",mk:"home-mk",sr:"pocetak",ru:"doma-ru",hr:"home-hr",ro:"pagina-principala",bg:"home-bg"},i=e=>{let{slug:t,locale:l}=e,a="https://alkaloid.com.mk".replace(/\/$/,""),s=r[l]===t,n=s?"":t,i="en"===l?`${a}/${n}`:`${a}/${l}/${n}`;return i.replace(/\/$/,"")||a};var o=l(45761),c=l(67294),d=l(97847),m={src:"/_next/static/media/ArrowRight.192b6503.svg"},x=l(32046),p=l(69817),h=l(72679),u=l(81339),g=l(11163),f=l(80692),b=l(91975),j=l(99490),y=l(82729),w=l.n(y),v=l(77911),k=l(31567),N=l(7258),_=l(78945);let C={type:"benefit",label:"Benefit",defaultItem:{title:"Benefit Title",content:"Some content here",_template:"ComponentComponentsBenefit"},fields:[{name:"title",label:"Title",component:"text"},{name:"content",label:"Content",component:"html2"},{name:"icon",label:"Icon",component:"image"}]};var B={ComponentComponentsBenefit:{Component:e=>{let{index:t,data:l}=e;return(0,a.jsx)("div",{className:"flex-1",children:(0,a.jsxs)("div",{className:" flex flex-col md:flex-col lg:flex-row",children:[(0,a.jsx)("div",{className:"pb-3 pr-6",children:(0,a.jsx)(h.LazyLoadImage,{src:(0,o.Z)(l.icon),alt:(0,p.Z)(l.icon),className:"h-16 w-16 object-contain"})}),(0,a.jsxs)("div",{className:"flex-1",children:[(0,a.jsx)("h3",{className:"text-xl sm:text-2xl mb-4",children:l.title&&(0,a.jsx)("p",{children:l.title})}),(0,a.jsx)("div",{className:`${l.title?"":"-mt-4"} text-sm sm:text-base text-alkGrey `,children:(0,a.jsx)(f.Z,{children:l.content})})]})]})})},template:C}},S=l(83989);let A={type:"benefits",label:"Benefits",defaultItem:{label:"Label",link:"/about",type:"link",_template:"ComponentBlocksBenefits"},fields:[{name:"benefits",label:"Benefits",component:"blocks",templates:{[C.defaultItem._template]:C}}]};var L=l(41664),I=l.n(L);let T={type:"heroCard",label:"Hero Card",defaultItem:{title:"Hero Card",content:"Some content here",button:"Some content here",link:"/",_template:"ComponentComponentsHeroCard"},fields:[{name:"title",label:"Title",component:"text"},{name:"content",label:"Content",component:"html2"},{name:"link",label:"Link",component:"text"},{name:"button",label:"Button",component:"text"}]};var R={ComponentComponentsHeroCard:{Component:e=>{let{index:t,data:l}=e;return(0,a.jsxs)("div",{className:"bg-white relative flex-1 block p-10 shadow-2xl",children:[(0,a.jsx)("div",{className:"text-4xl mb-6 text-alkBlue",children:l.title}),(0,a.jsx)("div",{className:"text-base text-alkGrey",children:(0,a.jsx)(f.Z,{children:l.content})}),l.link&&(0,a.jsxs)("div",{children:[(0,a.jsx)(I(),{href:l.link,className:"float-right",legacyBehavior:!0,children:(0,a.jsx)("a",{className:"float-left text-alkBlue underline pt-2",children:l.button})}),(0,a.jsx)(d.Z,{src:m.src,fill:"#00aeef",className:"w-8 pl-2 "})]})]})},template:T}};let F={type:"cardsHero",label:"Cards with bg",defaultItem:{_template:"ComponentBlocksCardsHero"},fields:[{name:"title",label:"Title",component:"text"},{name:"content",label:"Content",component:"html2"}
1,{name:"background",label:"Background",component:"image"},{name:"cards",label:"Cards",component:"blocks",templates:{[T.defaultItem._template]:T}}]},P={type:"resource card",label:"Resource Card",defaultItem:{title:"Insert title",link:[b.rl.defaultItem],_template:"ComponentComponentsResourceCard"},fields:[{name:"title",label:"Title",component:"text"},{name:"link",label:"Read more actions",component:"group-list",fields:b.rl.fields,defaultItem:b.rl.defaultItem}]};var E={ComponentComponentsResourceCard:{Component:e=>{let{index:t,data:l}=e;return(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"text-lg font-medium leading-relaxed",children:l.title}),(0,a.jsx)("div",{className:"flex flex-col",children:(0,a.jsx)(S.Z,{values:l.link,blocks:{...b.ZP}})})]})},template:P}};let $={type:"resources",label:"Resources/links",defaultItem:{resources:[],classes:"3",groupClass:" ",_template:"ComponentBlocksResources"},fields:[{name:"resources",label:"Resources",component:"group-list",itemProps:e=>({key:e.name,label:e.title}),fields:P.fields,defaultItem:P.defaultItem},{name:"classes",label:"Class",component:"text"},{name:"groupClass",label:"Group Class",component:"text"}]};var O={ComponentBlocksResources:{Component:e=>{let{index:t,data:l}=e;return(0,a.jsx)("div",{className:` ${l.groupClass} container mx-auto grid grid-cols-1 lg:grid-cols-${l.classes} gap-6`,children:(0,a.jsx)(S.Z,{blocks:{...E},values:l.resources})})},template:$}},Z=l(68172);let M={type:"reportCard",label:"Report Card",defaultItem:{title:"Report Title",background:"Insert image",_template:"ComponentComponentsReportCard",items:[Z.cE.defaultItem]}
1,fields:[{name:"options",component:"toggle",label:"Choose Gradient or Color Picker",description:"",toggleLabels:{true:"Color",false:"Gradient"}},{name:"background",label:"Background Desktop",component:"image",components:[]},{name:"backgroundMobile",label:"Background Mobile",component:"image",components:[]},{name:"titleMobile",label:"Title Mobile",component:"text"},{name:"descriptionMobile",label:"DescriptionMobile",component:"text"},{name:"linkTo",label:"Link",component:"text",placeholder:"/about"},{name:"components",label:"Components",component:"blocks",templates:{[Z.cE.defaultItem._template]:Z.cE,[b.rl.defaultItem._template]:b.rl}}]};var D={ComponentComponentsReportCard:{Component:e=>{let{index:t,data:l}=e;return(0,a.jsxs)("div",{className:"flex-1 w-full",children:[(0,a.jsx)("div",{className:"w-full relative shadow-xl",children:(0,a.jsxs)("div",{className:"container relative lg:flex hidden m-auto items-center lg:h-96",style:{minHeight:370},children:[(0,a.jsxs)("div",{className:"absolute top-0 left-0 bottom-0 right-0 overflow-hidden",children:[(0,a.jsx)(h.LazyLoadImage,{src:(0,o.Z)(l.background,"medium"),alt:(0,p.Z)(l.background),className:"absolute top-0 left-0 w-full h-full object-cover",style:{backgroundPositionX:"50%",backgroundPositionY:"60%"}}),(0,a.jsx)(d.Z,{src:"/_next/static/media/ReportBg.b6448d54.svg",className:`
2              ${l.options?"hidden":"block"} absolute top-0  md:-left-44  xl:-left-24  2xl:-left-40 h-full `}),(0,a.jsx)(d.Z,{src:"/_next/static/media/ReportBgPurple.b1289d6b.svg",className:`
3              ${l.options?"block":"hidden"} absolute top-0  md:-left-44 xl:-left-24  2xl:left-0 h-full `})]}),(0,a.jsx)("div",{className:"w-full lg:w-3/4 lg:-ml-5 xl:-ml-14 absolute bottom-0 left-0 p-5",children:(0,a.jsx)("div",{className:"w-full lg:ml-1 ml-0 xl:ml-0 ",children:(0,a.jsx)(S.Z,{values:l.components,blocks:{...b.ZP,...Z.ZP}})})})]})}),(0,a.jsx)("div",{className:"w-full relative shadow-xl",children:(0,a.jsx)("div",{className:"container relative lg:hidden flex m-auto items-center",style:{minHeight:620},children:(0,a.jsxs)("div",{className:"absolute top-0 left-0 bottom-0 right-0 overflow-hidden",children:[(0,a.jsx)(h.LazyLoadImage,{src:(0,o.Z)(l.backgroundMobile,"medium"),alt:(0,p.Z)(l.background),className:"absolute h-full  w-full  object-cover",style:{backgroundPositionX:"30%",backgroundPositionY:"60%"}}),(0,a.jsx)("div",{className:"outer-container  sm:mb-0 lg:hidden relative flex flex-col",style:{height:"100%"},children:(0,a.jsxs)("div",{className:`
4                ${l.options?"bg-angled-mobile-purple  ":"bg-angled-mobile-pronet"}  absolute bg-right-top h-[70%] pronet:h-[80%]  bg-cover bottom-0 bg-no-repeat  w-full z-10`,children:[(0,a.jsx)("div",{className:"w-full md:mt-60 lg:ml-8 mt-45 absolute bottom-0",children:(0,a.jsx)("div",{className:"lg:ml-1 ml-0 xl:ml-0",children:(0,a.jsx)(S.Z,{blocks:{...b.ZP,...Z.ZP},values:l.components})})}),l.linkTo&&(0,a.jsx)(x.Z,{to:`${l.linkTo}`,className:"right-5 mt-16 absolute",children:(0,a.jsx)("i",{})})]})})]})})})]})},template:M}};let q={type:"reports",label:"Report Cards",defaultItem:{_template:"ComponentBlocksReports",items:[M.defaultItem]},fields:[{name:"reports",label:"Reports",component:"blocks",templates:{[M.defaultItem._template]:M}}]};var z={src:"/_next/static/media/Phone.cd4aec3c.svg"},H={src:"/_next/static/media/Printer.0afd6af3.svg"},W={src:"/_next/static/media/Email.a5640b49.svg"};let G={type:"contactInformation",label:"Contact Info",defaultItem:{name:"Viktor Stojchevski",position:"Investor relations",address:`Blvd. Aleksandar Makedonski 12,
5    1000 Skopje, Republic of North Macedonia`,phone:"+389 2 310 40 07",fax:"+389 2 310 40 07",email:"[email protected]",_template:"ComponentBlocksContactInformation"},fields:[{name:"name",label:"Name",component:"text"},{name:"position",label:"Position",component:"text"},{name:"address",label:"Address",component:"text"},{name:"phone",label:"Phone",component:"text"},{name:"fax",label:"Fax",component:"text"},{name:"email",label:"Email",component:"text"}]};var Q={src:"/_next/static/media/TriangleButtonTrail.7ffa8cd1.svg"},U=l(79310),V={src:"/_next/static/media/TriangleWhite.707dffca.svg"},J={ComponentComponentsSliderItem:{Component:e=>{let{currentSlide:t,setCurrentSlide:l,currentImage:s,setCurrentImage:n,images1:r,numItems:i,index:x,data:u}=e,g=(0,c.useMemo)(()=>{let e=[];for(let s=0;s<i;
5s+=1)e.push((0,a.jsx)("button",{type:"button",onClick:()=>l(s),"aria-label":"slider step",className:`${t===s?"":"opacity-20"} h-1 w-24  m-auto  mx-2 hidden  bg-alkLightBlue rounded`},s));return e},[i,t]),b=(0,c.useMemo)(()=>{let e=[];if(r)for(let t=0;t<r.images.length;t+=1)e.push((0,a.jsx)(h.LazyLoadImage,{src:(0,o.Z)(r.images[t].featuredImage),alt:(0,p.Z)(r.images[t].featuredImage),className:"block w-full"}));return e},[r.images]);return(0,c.useEffect)(()=>{let e=setTimeout(()=>{n((s+1)%(r.images.length||1))},1e4);return()=>{clearTimeout(e)}},[s,r.images.length]),(0,a.jsx)("div",{className:x===t?"":"hidden",children:(0,a.jsxs)("div",{className:"m-auto flex flex-col lg:flex-row items-center",children:[(0,a.jsx)("div",{className:"w-full lg:w-1/2 md:pl-20",children:(0,a.jsxs)("div",{className:"max-w-screen-md",children:[(0,a.jsx)("h2",{className:"text-4xl mb-10 text-alkBlue",children:u.title}),(0,a.jsx)("div",{className:"text-base text-alkGrey mb-6",children:(0,a.jsx)(f.Z,{children:u.content})})]})}),(0,a.jsxs)("div",{className:"w-full lg:w-1/2",children:[(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)("div",{className:"absolute top-4 w-full z-10",children:(0,a.jsx)("ul",{className:"text-center w-full",children:g})}),0!==b.length?(0,a.jsx)("div",{className:" ",children:b[s]}):(0,a.jsxs)("div",{className:" ",children:[" ",(0,a.jsx)(h.LazyLoadImage,{className:"block w-full",src:(0,o.Z)(u.featuredImage,"large"),alt:(0,p.Z)(u.featuredImage)})]}),(0,a.jsx)("div",{className:"absolute top-0 w-full h-full pointer-events-none",children:(0,a.jsx)(d.Z,{src:V.src})})]}),(0,a.jsxs)("div",{className:"flex flex-row pt-4",children:[(0,a.jsxs)("div",{className:"w-1/3 relative",children:[(0,a.jsx)("button",{type:"button",className:"float-right px-20 py-4",onClick:()=>{l((t+1)%i)},children:(0,a.jsx)("i",{children:(0,a.jsx)(d.Z,{src:m.src,className:"w-8",fill:"#00aeef"})})}),(0,a.jsx)(d.Z,{src:U.Z.src,className:"absolute -right-4 -top-20"})]}),(0,a.jsx)("div",{className:"w-2/3",children:(0,a.jsx)("div",{children:(0,a.jsx)("div",{className:"text-base text-black pl-16 pt-10 inline",children:(0,a.jsx)(f.Z,{children:u.quote})})})})]})]})]})})},template:{type:"slider item",label:"Slider Item",defaultItem:{images:[],title:"Insert Slider item Title here",content:"Some content here",quote:"Insert quote here",_template:"ComponentComponentsSliderItem"},fields:[{name:"title",label:"Title",component:"text"},{name:"content",label:"Content",component:"html2"},{name:"quote",label:"Quote",component:"html2"},{name:"images",label:"Images",component:"group-list",fields:[{name:"featuredImage",label:"Featured Image",component:"image"}]},{name:"featuredImage",label:"Featured Image",component:"image"}]}}};let Y={type:"contact card",label:"Contact Card",defaultItem:{position:"PC Chemistry Cosmetics Boatnicals",name:"Viktor Stojchevski",phone:"+389 2 310 40 07",fax:"+389 2 310 40 07",email:"[email protected]",_template:"ComponentComponentsContactCard"},fields:[{name:"name",label:"Name",component:"html2"},{name:"position",label:"Position",component:"html2"},{name:"phone",label:"Phone",component:"text"},{name:"fax",label:"Fax",component:"text"},{name:"email",label:"Email",component:"text"},{name:"email2",label:"Email",component:"text"}]};var K={ComponentComponentsContactCard:{Component:e=>{let{index:t,data:l}=e;return(0,a.jsxs)("div",{className:"w-full md:w-1/3 md:flex mx-auto flex-col ",children:[(0,a.jsx)("div",{className:"lg:text-2xl text-xl md:text-lg font-bold text-left xl:h-36 lg:h-44 md:h-48 mb-5 md:mb-0  ",children:(0,a.jsx)(f.Z,{children:l.position})}),(0,a.jsx)("div",{className:"text-xl md:text-lg text-alkLightBlack text-left mb-10",children:(0,a.jsx)(f.Z,{children:l.name})}),(0,a.jsxs)("div",{className:" text-left",children:[l.phone&&(0,a.jsxs)("div",{className:"flex flex-row",children:[(0,a.jsx)("p",{className:"lg:text-base md:text-sm text-base text-alkLightBlack mb-4",children:"Tel:‎‎‎‎‏‏‎ ‎"}),(0,a.jsx)("a",{href:`tel:${l.phone}`,className:"text-alkLightBlue  underline",children:(0,a.jsx)("p",{className:"lg:text-base md:text-sm text-base text-alkLightBlue mb-4",children:l.phone})})]}),l.fax&&(0,a.jsxs)("div",{className:"flex flex-row",children:[(0,a.jsx)("p",{className:"lg:text-base  md:text-sm text-base text-alkLightBlack mb-4",children:"Fax:‎‎‎‎‏‏‎ ‎"}),(0,a.jsx)("a",{href:`tel:${l.fax}`,className:"text-alkLightBlue  underline",children:(0,a.jsx)("p",{className:"lg:text-base  md:text-sm text-base text-alkLightBlue mb-4",children:l.fax})})]}),l.email&&(0,a.jsxs)("div",{className:"flex flex-row",children:[(0,a.jsx)("p",{className:"lg:text-base md:text-sm text-base text-alkLightBlack mb-4",children:"Email:‎‎‎‎‏‏‎ ‎"}),(0,a.jsx)("a",{href:`mailto:${l.email}`,className:"text-alkLightBlue  underline",children:(0,a.jsx)("p",{className:"lg:text-base md:text-sm  text-base text-alkLightBlue mb-4",children:l.email})})]}),l.email2&&(0,a.jsxs)("div",{className:"flex flex-row",children:[(0,a.jsx)("p",{className:"lg:text-base md:text-sm text-base text-alkLightBlack mb-4",children:"Email:‎‎‎‎‏‏‎ ‎"}),(0,a.jsx)("a",{href:`mailto:${l.email2}`,className:"text-alkLightBlue  underline",children:(0,a.jsx)("p",{className:"lg:text-base md:text-sm  text-base text-alkLightBlue mb-4",children:l.email2})})]})]})]})},template:Y}};let X={type:"contacts",label:"Contacts",defaultItem:{label:"Label",link:"/about",type:"link",_template:"ComponentBlocksContacts"},fields:[{name:"contacts",label:"Contacts",component:"blocks",templates:{[Y.defaultItem._template]:Y}}]},ee={type:"product category card",label:"Product Category Card",defaultItem:{title:"Product category Title",link:"/",background:"Insert image",_template:"ComponentComponentsProductCategoryCard"},fields:[{name:"title",label:"Title",component:"text"}
5,{name:"background",label:"Background",component:"image"},{name:"link",label:"Link",component:"text"}]};var et={ComponentComponentsProductCategoryCard:{Component:e=>{let{index:t,data:l}=e;return(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(x.Z,{to:l.link,children:(0,a.jsxs)("div",{className:"flex-1 cursor-pointer",children:[(0,a.jsx)(h.LazyLoadImage,{src:(0,o.Z)(l.background,"medium"),alt:(0,p.Z)(l.background)}),l.link&&(0,a.jsxs)("div",{className:"flex pt-4",children:[(0,a.jsx)("i",{className:"",children:(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14.486",height:"25.337",viewBox:"0 0 14.486 25.337",children:(0,a.jsx)("path",{id:"Icon_ionic-ios-arrow-down","data-name":"Icon ionic-ios-arrow-down",d:"M12.673,10.119,22.253.532a1.8,1.8,0,0,1,2.557,0,1.826,1.826,0,0,1,0,2.565L13.955,13.959a1.807,1.807,0,0,1-2.5.053L.528,3.1A1.811,1.811,0,0,1,3.085.539Z",transform:"translate(0 25.337) rotate(-90)",fill:"#00aeef"})})}),(0,a.jsx)("i",{className:"relative -top-10 mr-10",children:(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"inline",width:"56.072",height:"96.69",viewBox:"0 0 56.072 96.69",children:(0,a.jsx)("line",{id:"Line_135","data-name":"Line 135",x2:"49.284",y2:"89.902",transform:"translate(3.394 3.394)",fill:"none",stroke:"#00aeef",strokeLinecap:"round",strokeWidth:"5"})})}),(0,a.jsx)("span",{className:"uppercase xlSpecial:w-80",children:l.title})]})]})})})},template:ee}};let el={type:"productCategories",label:"Product Categories",defaultItem:{title:"Insert title here",link:"/about",background:"Insert image",_template:"ComponentBlocksProductCategories"},fields:[{name:"productCategories",label:"Product Categories",component:"blocks",templates:{[ee.defaultItem._template]:ee}}]};var ea=l(25675),es=l.n(ea),en={src:"/_next/static/media/code.4ed189fb.png",height:145,width:147,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAKlBMVEWGhISxr7Chn5+op6eTkZGPjY2lpKS4tre+vb1nZWV7eHnJyMicm5va2dl62HEkAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAOUlEQVR4nBXKtxHAMAwAsWcQo7z/uj6hBuppaUc4mGIoFRLtsqxAk4GfKzYUpaEz/bIP3oJp3K38fiaVATrBxv4GAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:8},er={src:"/_next/static/media/logo.bb78abe7.png",height:143,width:274,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAECAMAAACEE47CAAAAGFBMVEVMaXEAMHYAMHUAMHUALXMAMHYALnUAMnYI5nOVAAAACHRSTlMANEdcGYommY/L5XkAAAAJcEhZcwAACxMAAAsTAQCanBgAAAAkSURBVHicHcbBEQAgDAJBOEjsv2NH97WSOlM9PT/eBYPsJMEXBZ8ATjx+F/sAAAAASUVORK5CYII=",blurWidth:8,blurHeight:4};let ei={type:"pronet",label:"ProNet Banner",defaultItem:{title:"Insert Title",content:"Insert content here",readMore:[b.rl.defaultItem],_template:"ComponentBlocksProNet"},fields:[{name:"title",label:"Title",component:"text"},{name:"content",label:"Content",component:"html2"},{name:"featuredImage",label:"Background",component:"image"},{name:"readMore",label:"Read more actions",component:"group-list",fields:b.rl.fields}]};l(39073);var eo=l(92415),ec=l(50425),ed={src:"/_next/static/media/pre-load-news.617101e5.png"},em=l(98120);let ex=Array(12).fill(0),ep={type:"latestNews",label:"Latest News",defaultItem:{title:"Insert title here",_template:"ComponentBlocksLatestNews",colsNum:"1"},fields:[{name:"title",label:"Title",component:"text"},{name:"article_category",label:"Category Slug",component:"articleCategory"},{name:"colsNum",label:"Number of News Columns",component:"text"},{component:"select",name:"newsType",label:"News Type",options:eo.Z}]};var eh={src:"/_next/static/media/our-history-to-the-left.e913227b.svg"},eu=e=>{let{years:t,selectedYearIdx:l,setSelectedYearIdx:s}=e;return(0,a.jsxs)("section",{className:"container relative m-auto md:py-20",children:[(0,a.jsxs)("div",{className:"container absolute z-50 top-40 sm:top-28 justify-center flex flex-row items-center md:hidden",children:[(0,a.jsx)("button",{type:"button",onClick:()=>s(l-1<0?l-1+t.length:l-1),className:`${0===l?"hidden":""}`,children:(0,a.jsx)(d.Z,{src:eh.src,width:"26.748",height:"40.783",className:"-ml-10"})}),(0,a.jsx)("p",{className:"text-alkLightBlue font-bold",style:{fontSize:"108px"},children:t[l].timelineTitle}),(0,a.jsx)("button",{type:"button",onClick:()=>s((l+1)%t.length),className:`${l===t.length-1?"hidden":""}`,children:(0,a.jsx)(d.Z,{src:eh.src,width:"26.748",height:"46.783",className:"-rotate-180 transform ml-6"})})]}),(0,a.jsxs)("div",{className:"md:flex hidden",children:[(0,a.jsx)("div",{className:"w-full lg:w-1/3 mb-10 -ml-20 lg:mb-0",children:(0,a.jsxs)("span",{className:"flex items-center",children:[(0,a.jsx)("i",{children:(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"204.5",height:"5",viewBox:"0 0 204.5 5",children:(0,a.jsx)("line",{id:"Line_89","data-name":"Line 89",x2:"199.5",transform:"translate(2.5 2.5)",fill:"none",stroke:"#00aeef",strokeLinecap:"round",strokeWidth:"5"})})}),(0,a.jsx)("span",{className:"text-5xl inline pl-4 font-bold text-alkLightBlue",children:t[l].timelineTitle})]})}),(0,a.jsx)("div",{className:"w-full lg:w-5/4 flex items-center",children:(0,a.jsx)("ul",{className:"text-lg",children:t.map((e,t)=>(0,a.jsx)("li",{className:"inline",children:(0,a.jsx)("button",{type:"button",className:`focus:outline-none text-2xl px-10 py-2 transform hover:scale-150 ease-out duration-700 ${l===t?"text-alkLightBlue":"text-alkGrey"}`,onClick:s.bind(null,t),children:e.timelineTitle})},e.id||t))})})]})]})},eg={src:"/_next/static/media/history-shape-l.1b64ba5a.svg",height:588,width:322,blurWidth:0,blurHeight:0},ef={src:"/_next/static/media/history-shape-b.c715a2fa.svg",height:173,width:98,blurWidth:0,blurHeight:0};let eb={type:"timelineItem",label:"Timeline Item",defaultItem:{timelineTitle:"1992",title:"The beginnings",content:"Lorem ipsum dolor sit amet....",_template:"ComponentComponentsTimelineItem"}
5,fields:[{name:"background",label:"Background",component:"image"},{name:"timelineTitle",label:"Timeline Title",component:"text"},{name:"title",label:"Title",component:"text"},{name:"content",label:"Content",component:"html2"}]};var ej={ComponentComponentsTimelineItem:{Component:e=>{let{index:t,data:l,years:s,selectedYearIdx:n,setSelectedYearIdx:r}=e;return n===t&&(0,a.jsx)("div",{className:"max-w-full relative",children:(0,a.jsxs)("div",{className:"flex flex-row-reverse flex-wrap-reverse md:flex-row",style:{minHeight:500},children:[(0,a.jsxs)("div",{className:"ml-auto w-full md:w-1/2   md:container-half text-base py-10 px-5 md:px-8 lg:px-12",children:[(0,a.jsx)("h2",{className:"text-3xl font-bold mb-10",children:l.title}),(0,a.jsx)("div",{className:"text-alkGrey inline",children:(0,a.jsx)(f.Z,{children:l.content})}),s.length>t+1&&(0,a.jsxs)("button",{className:"mt-10 lex focus:outline-none",type:"button",onClick:r.bind(null,t+1),children:[(0,a.jsx)("i",{className:"inline-block",children:(0,a.jsx)("svg",{className:"-mb-2",xmlns:"http://www.w3.org/2000/svg",width:"20.748",height:"35.783",viewBox:"0 0 26.748 46.783",children:(0,a.jsx)("path",{id:"Icon_ionic-ios-arrow-down","data-name":"Icon ionic-ios-arrow-down",d:"M23.4,18.685,41.089.982a3.329,3.329,0,0,1,4.722,0,3.371,3.371,0,0,1,0,4.736L25.768,25.775a3.337,3.337,0,0,1-4.61.1L.975,5.732A3.344,3.344,0,0,1,5.7,1Z",transform:"translate(0 46.783) rotate(-90)",fill:"#00aeef"})})}),(0,a.jsx)("span",{className:"text-3xl ml-10 ",children:s[t+1].timelineTitle})]})]}),(0,a.jsx)("div",{className:"relative w-full md:w-1/2",children:(0,a.jsxs)("div",{className:"relative mb-24",children:[(0,a.jsxs)("div",{className:"h-full w-full absolute ",children:[(0,a.jsx)(h.LazyLoadImage,{className:"absolute  top-0 left-0 b-0 h-full z-10",src:eg,width:70,height:100,alt:"our history background"}),(0,a.jsx)(h.LazyLoadImage,{className:"absolute -bottom-20 left-20 hidden md:block z-20",src:ef,width:100,height:100,alt:"our history background"})]}),(0,a.jsx)(h.LazyLoadImage,{src:(0,o.Z)(l.background,"large"),alt:(0,p.Z)(l.background),width:400,height:400,className:"lg:h-full md:h-80 mt-0 w-full object-cover"})]})})]})})},template:eb}};let ey={type:"timeline",label:"Timeline History",defaultItem:{items:[eb.defaultItem],_template:"ComponentBlocksTimeline"},fields:[{name:"items",label:"Timeline page",component:"group-list",itemProps:e=>({key:e.name,label:e.title}),defaultItem:eb.defaultItem,fields:eb.fields}]},ew=Array(12).fill(0),ev={type:"latestNews",label:"Latest News Two",key:"ComponentBlocksLatestNewsTwo",defaultItem:{title:"Insert title here",_template:"ComponentBlocksLatestNewsTwo",colsNum:"1"},fields:[{name:"title",label:"Title",component:"text"},{name:"article_category",label:"Category Slug",component:"articleCategory"},{name:"colsNum",label:"Number of News Columns",component:"text"},{component:"select",name:"newsType",label:"News Type",options:eo.Z}]},ek=Array(12).fill(0),eN={type:"latestNews",label:"Latest News Two SR",key:"ComponentBlocksLatestNewsSR",defaultItem:{title:"Insert title here",_template:"ComponentBlocksLatestNewsSR",colsNum:"1"},fields:[{name:"title",label:"Title",component:"text"},{name:"article_category",label:"Category Slug",component:"articleCategory"},{name:"colsNum",label:"Number of News Columns",component:"text"},{component:"select",name:"newsType",label:"News Type",options:eo.Z}]};var e_={ComponentComponentsBotanicalProductItem:{Component:e=>{let{index:t,data:l}=e;return(0,a.jsx)("div",{className:"lg:flex lg:flex-col hover:shadow-xl flex  mb-10 justify-center items-center",children:(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{className:"bg-cover bg-center bg-no-repeat",children:(0,a.jsx)(h.LazyLoadImage,{src:(0,o.Z)(l.featuredImage,"medium"),alt:(0,p.Z)(l.featuredImage)})}),(0,a.jsx)("p",{className:"md:text-2xl md:ml-11",children:l.title}),(0,a.jsx)("div",{className:"md:text-base text-alkGrey md:ml-11 pr-4",children:(0,a.jsx)(f.Z,{children:l.description})})]})})},template:{type:"botanical product item",label:"Benefit",defaultItem:{title:"Benefit Title",description:"Some content here",featuredImage:"",_template:"ComponentComponentsBotanicalProductItem"},fields:[{name:"title",label:"Title",component:"text"},{name:"description",label:"Description",component:"html2"},{name:"featuredImage",label:"Featured image",component:"image"}]}}},eC={src:"/_next/static/media/blueimage.1a585cb1.png"};let eB={type:"integrated system block",label:"Banner",defaultItem:{title:"Insert Title",content:"Insert content here",background:"/",readMore:[b.rl.defaultItem],_template:"ComponentBlocksIntegratedSystem"},fields:[{name:"title",label:"Title",component:"html2"},{name:"content",label:"Content",component:"html2"}
5,{name:"background",label:"Background",component:"image"},{name:"readMore",label:"Actions",component:"blocks",templates:{[b.rl.defaultItem._template]:{...b.rl,defaultItem:{type:"single_button"},fields:b.rl.fields.map(e=>{let t={...e};return"type"===t.name&&(t.options=[...e.options],w()(t.options,{value:"link"}),w()(t.options,{value:"header_title"}),w()(t.options,{value:"link_colored"}),w()(t.options,{value:"link"}),w()(t.options,{value:"button"})),t})}}}]};var eS={ComponentBlocksIntegratedSystem:{Component:e=>{let{index:t,data:l}=e;return(0,a.jsx)("section",{className:"py-20",style:{height:"600px",backgroundImage:`url('${(0,o.Z)(l.background)}')`,backgroundPositionX:"50%",backgroundPositionY:"50%"},children:(0,a.jsx)("div",{className:"container flex flex-col phoneSmall:mt-16 w-auto m-auto px-8 md:px-0",children:(0,a.jsxs)("div",{className:"w-full phoneSmall:mb-20 lg:-bottom-10 sm:-bottom-10 md:-bottom-10 phone:bottom-32 bottom-40 relative overflow-hidden",children:[(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1240.001 480.346",height:"120%",className:"hidden sm:block absolute",children:(0,a.jsx)("path",{id:"Path_10056","data-name":"Path 10056",d:"M-535.351,0H442.292L704.65,480.346h-1240Z",transform:"translate(535.351)",fill:"#fff",opacity:"0.73"})}),(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"100%",viewBox:"0 0 480.346 1240.001",className:"block sm:hidden  absolute z-0 -bottom-0 left-0",children:(0,a.jsx)("path",{d:"M-535.351,0H442.292L704.65,480.346h-1240Z",transform:"translate(480.346 535.351) rotate(90)",fill:"#fff",opacity:"0.73"})}),(0,a.jsxs)("div",{className:"max-w-screen-sm relative z-10 pt-8 pl-8 pb-8 pr-8 ",children:[(0,a.jsx)("div",{className:"text-2xl md:text-xl font-regular mb-6 ",children:(0,a.jsx)(f.Z,{children:l.title})}),(0,a.jsx)("div",{className:"text-base leading-relaxed mb-4 phoneSmall:h-80 phoneSmall:mb-10 sm:h-auto overflow-y-scroll no-scrollbar",children:(0,a.jsx)(f.Z,{children:l.content})}),(0,a.jsx)("div",{className:"flex flex-col-reverse phoneSmall:-mt-2 transform phoneSmall:-translate-y-10 sm:-translate-y-6 sm: gap-6 items-center pt-8",children:(0,a.jsx)(S.Z,{values:l.readMore,blocks:{...b.ZP},direction:"horizontal",className:"flex flex-row sm:self-start"})})]})]})})})},template:eB}};let eA={type:"board member",label:"Board Member",defaultItem:{name:"Insert Board member name",position:"Insert Board member position",image:"Add Board member image",content:"Insert Board Member content",_template:"ComponentComponentsBoardMember"},fields:[{name:"name",label:"Name",component:"text"},{name:"position",label:"Position",component:"text"},{name:"image",label:"Image",component:"image"},{name:"content",label:"Content",component:"html2"}]};var eL={ComponentComponentsBoardMember:{Component:e=>{let{index:t,data:l}=e;return(0,a.jsx)("div",{className:"flex-1",children:(0,a.jsx)("div",{className:"w-full p-4",children:(0,a.jsxs)("div",{className:"flex flex-col h-full",children:[(0,a.jsxs)("div",{className:"relative flex-shrink",children:[(0,a.jsx)("div",{className:" w-full h-96 bg-center bg-cover bg-no-repeat",style:{backgroundImage:`url('${(0,o.Z)(l.image)}')`}}),(0,a.jsxs)("div",{className:"absolute w-full h-full top-0  flex items-center opacity-0 hover:opacity-100",children:[(0,a.jsx)("div",{className:"z-0 absolute w-full h-full top-0 bg-gradient-to-r from-alkLightBlue to-alkPurple  mi
5x-blend-multiply flex items-center"}),(0,a.jsx)("span",{className:"z-10 absolute px-8 text-base leading-7 text-white",children:(0,a.jsx)(f.Z,{children:l.content})})]})]}),(0,a.jsxs)("div",{className:"px-8 py-4 bg-alkOffGrey flex-grow",children:[(0,a.jsx)("h3",{className:"text-2xl text-alkLightBlack capitalize mb-4",children:(0,a.jsx)("p",{children:l.name})}),(0,a.jsx)("p",{className:"text-base leading-relaxed text-alkLightBlack",children:(0,a.jsx)("p",{children:l.position})})]})]})})})},template:eA}};let eI={type:"board members",label:"Board Members Block",defaultItem:{label:"Label",link:"/about",type:"link",_template:"ComponentBlocksBoardMembers",boardmembers:[]},fields:[{name:"boardmembers",label:"Board Members",component:"blocks",templates:{[eA.defaultItem._template]:eA}}]};var eT={ComponentBlocksBoardMembers:{Component:e=>{let{index:t,data:l}=e;return(0,a.jsx)("div",{className:"container grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4 w-auto m-auto",children:(0,a.jsx)(S.Z,{values:l.boardmembers,name:"boardmembers",blocks:{...eL},direction:"horizontal",className:"container grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4 w-auto m-auto"})})},template:eI}};let eR={type:"kons card",label:"Kons Card",defaultItem:{name:"Insert Kons card name",position:"Insert Kons card position",image:"Add Kons card image",link:"Insert Kons Card link",learnMore:"Learn More",_template:"ComponentComponentsKonsCard"},fields:[{name:"name",label:"Name",component:"text"},{name:"position",label:"Position",component:"text"},{name:"image",label:"Image",component:"image"},{name:"learnMore",label:"LearnMore",component:"text"},{name:"link",label:"Link",component:"text"}]};var eF={ComponentComponentsKonsCard:{Component:e=>{let{index:t,data:l}=e;return(0,a.jsx)("div",{className:"flex-1",children:(0,a.jsx)("div",{className:"w-full p-4",children:(0,a.jsxs)("div",{className:"flex flex-col h-full",children:[(0,a.jsx)("div",{className:"relative flex-shrink",children:(0,a.jsx)("div",{className:" w-full h-72 bg-center bg-cover bg-no-repeat",style:{backgroundImage:`url('${(0,o.Z)(l.image)}')`}})}),(0,a.jsxs)("div",{className:"py-4 bg-white flex-grow",children:[(0,a.jsx)("h3",{className:"text-2xl text-alkLightBlack capitalize mb-4",children:(0,a.jsx)("p",{children:l.name})}),(0,a.jsx)("p",{className:"text-base leading-relaxed text-alkLightBlack",children:(0,a.jsx)("p",{children:l.position})}),(0,a.jsx)("a",{href:`${l.link}`,className:"text-base leading-relaxed text-alkLightBlue underline hover:no-underline",children:l.learnMore})]})]})})})},template:eR}};let eP={type:"kons cards",label:"Kons Cards Block",defaultItem:{label:"Label",link:"/about",type:"link",_template:"ComponentBlocksKonsCards",konscards:[]},fields:[{name:"konscards",label:"Kons Cards",component:"blocks",templates:{[eR.defaultItem._template]:eR}}]},eE={type:"infoSection",label:"Info Section",defaultItem:{title:"Insert Title",content:"Some content here",featuredImage:"Add image here",_template:"ComponentBlocksInfoSection"},fields:[{name:"title",label:"Title",component:"text"},{name:"content",label:"Content",component:"html2"},{name:"featuredImage",label:"Background",component:"image"},{name:"readMore",label:"actions",component:"group-list",fields:b.rl.fields},{component:"radio-group",direction:"horizontal",name:"actionAlignment",label:"Button Algnment",description:"Choose how to align the button",options:[{label:"Left",value:"fustify-start"},{label:"Center",value:"justify-center"},{label:"Right",value:"justify-end"}]}]};var e$=l(98695),eO=l(44080),eZ=l(63153),eM=e=>{let{titleList:t,currentTitle:l,setCurrentTitle:s}=e;return(0,a.jsxs)("div",{className:" flex-shrink lg:w-1/3 lg:mr-4",children:[(0,a.jsx)("div",{className:"hidden lg:flex  lg:flex-col ",children:t.map((e,t)=>{let{title:n}=e;return(0,a.jsx)("div",{className:"parent flex flex-row",children:(0,a.jsxs)("button",{type:"button",onClick:()=>s(t),onKeyDown:()=>s(t),className:"flex text-left mb-4",children:[(0,a.jsx)("hr",{className:`border-alkLightBlue border-b-2 w-8 rounded-xl m-4 ${t===l?"":"invisible"}`}),(0,a.jsx)("p",{className:`text-2xl  ${t===l?"font-bold text-alkLightBlue":"font-normal text-black"}`,children:n})]})},n)})}),(0,a.jsx)("div",{className:"lg:hidden flex flex-col phoneSmall:items-center phoneLarge:items-start  mb-3",children:(0,a.jsx)(e$.v,{as:"div",className:"relative inline-block text-left ",children:e=>{let{open:n}=e;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{children:(0,a.jsxs)(e$.v.Button,{className:"inline-flex justify-around h-[55px] w-auto  items-center  roun
5ded-full shadow-md px-4 py-2  lg:text-2xl md:text-2xl  phone:text-center text-lg font-normal text-alkLightBlue hover:bg-gray-10 focus:outline-none ",children:[(0,a.jsx)("span",{className:"flex flex-row",children:t[l].title}),(0,a.jsx)(eZ.v4q,{className:"-mr-1 ml-2 h-10 w-10 text-alkLightBlue","aria-hidden":"true"})]})}),(0,a.jsx)(eO.u,{show:n,as:c.Fragment,enter:"transition ease-out duration-100",enterFrom:"transform opacity-0 scale-95",enterTo:"transform opacity-100 scale-100",leave:"transition ease-in duration-75",leaveFrom:"transform opacity-100 scale-100",leaveTo:"transform opacity-0 scale-95",children:(0,a.jsx)(e$.v.Items,{static:!0,className:"origin-top-center absolute right-5 mt-2 w-auto flex flex-col rounded-md shadow-lg bg-white ring-1 ring-black ring-opacity-5 ",children:(0,a.jsx)("div",{children:t.map((e,t)=>{let{title:l}=e;return(0,a.jsx)(e$.v.Item,{children:e=>{let{active:n}=e;return(0,a.jsx)("button",{onClick:()=>s(t),type:"button",className:function(){for(var e=arguments.length,t=Array(e),l=0;l<e;l++)t[l]=arguments[l];return t.filter(Boolean).join(" ")}(n?"bg-gray-100 text-alkLightBlue":"text-gray-700","block w-full text-left px-4 py-3 text-xl hover:bg-grey-100"),children:(0,a.jsx)("span",{className:"flex flex-row",children:l})})}},l)})})})})]})}})})]})};let eD={type:"bilcopedia",label:"Bilcopedia",defaultItem:{itemsJson:[],_template:"ComponentComponentsBilcopedia"},fields:[{name:"itemsJson",label:"Items",component:"group-list",defaultItem:{title:"Insert Title Here"},itemProps:e=>({key:e.name,label:e.title}),fields:[{name:"title",label:"Insert Title",component:"text"},{name:"descriptions",label:"Descriptions",component:"group-list",itemProps:e=>({key:e.name,label:e.title}),fields:[{name:"secondTitle",label:"Title",component:"html2"},{name:"content",label:"Content",component:"html2"}],defaultItem:{secondTitle:"Insert Title Here",content:"Insert Content Here"}}]}]};var eq={ComponentComponentsBilcopedia:{Component:e=>{let{data:t,index:l}=e,[s,n]=(0,c.useState)(0);return(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("section",{className:"flex-row md:px-0 xl:pb-40",children:(0,a.jsxs)("div",{className:"flex phoneSmall:flex-col lg:flex-row justify-start",children:[t.itemsJson&&0!==t.itemsJson.length&&(0,a.jsx)(eM,{titleList:t.itemsJson,currentTitle:s,setCurrentTitle:n}),(0,a.jsx)("div",{className:"flex-1 contacts  md:mt-0 ",children:t.itemsJson&&t.itemsJson[s]&&t.itemsJson[s].descriptions&&t.itemsJson[s].descriptions.map(e=>(0,a.jsxs)("div",{className:"w-full h-full md:mr-4 lg:mr-20",children:[(0,a.jsx)("div",{className:"font-semi-bold mb-3 text-2xl",children:(0,a.jsx)(f.Z,{children:e.secondTitle})}),(0,a.jsx)(f.Z,{children:e.content})]},e.secondTitle))})]})})})},template:eD}},ez=l(18012);let eH={defaultItem:{data:[],title:"Insert Title Here",_template:"ComponentComponentsShareHoldersMeetingsItem"},fields:[{name:"title",label:"Title",component:"text"},{name:"data",label:"Data",component:"group-list",itemProps:e=>({key:e.name,label:`${e.description.substring(0,15)}...`}),fields:[{name:"description",label:"Description",component:"html2"},{name:"link",label:"Link",component:"text"}],defaultItem:{description:"Insert Description Here",link:"/about"}}]},eW={type:"shareHolders",label:"Shareholders Meetings",defaultItem:{options:[],title:"Insert Title Here",_template:"ComponentBlocksShareholdersMeetings"},fields:[{name:"title",label:"Title",component:"text"},{name:"options",label:"Options",component:"group-list",itemProps:e=>({key:e.name,label:e.title}),fields:eH.fields,defaultItem:eH.defaultItem}]};var eG={ComponentBlocksShareholdersMeetings:{Component:e=>{let{index:t,data:l}=e,[s,n]=(0,c.useState)(!1),r=(0,c.useMemo)(()=>Array.from({length:l.options.length}).map(()=>(0,c.createRef)()),[l.options.length]),i=e=>{if(s===e){n(null);return}n(e)},o="block";return(0,c.useEffect)(()=>{let e=new URLSearchParams(window.location.search);if(e.has(o))try{let t=parseInt(e.get(o),10);n(t),setTimeout(()=>{r&&r[t]&&r[t].current&&r[t].current.scrollIntoView({behavior:"smooth",block:"nearest",inline:"start"})},500)}catch(e){console.log(e)}},[r,(0,ez.Z)()&&window.location.search]),(0,a.jsx)("div",{className:"container mx-auto w-full md:pr-52 py-10 md:py-20",children:l.options.map((e,t)=>(0,a.jsxs)("div",{className:"bg-gray-50 mb-4 px-4 py-2 justify-center items-center w-full",ref:r[t],children:[(0,a.jsxs)("button",{type:"button",className:"w-full flex flex-row justify-between p-2",onClick:()=>i(t),children:[(0,a.jsx)("p",{className:"text-base leading-relaxed text-left text-alkLightBlack",children:e.title}),(0,a.jsx)("span",{className:`${s===t?"transform rotate-90":""}`,children:(0,a.jsx)(d.Z,{src:m.src,fill:"#00aeef",className:"h-6"})})]}),s===t?(0,a.jsx)("div",{className:"overflow-hidden p-4 sm:p-10 border-t-2 mt-2",children:e.data.map(e=>(0,a.jsx)(f.Z,{children:e.description},e.id))}):null]},e.title))})},template:eW}};let eQ={type:"botanicalOverviewTab",label:"Botanical Overview Tab",defaultItem:{internalTabs:[],headline:"Insert Headline",title:"Insert title",content:"Lorem ipsum",_template:"ComponentComponentsBotanicalOverviewTab"},fields:[{name:"headline",label:"Headline",component:"text"},{name:"title",label:"Title",component:"text"},{name:"content",label:"Content",component:"html2"},{name:"internalTabs",label:"Tabs",component:"blocks",templates:{[eD.defaultItem._template]:eD,[eW.defaultItem._template]:eW,[Z.cE.defaultItem._template]:Z.cE}}]};var eU={ComponentComponentsBotanicalOverviewTab:{Component:e=>{let{index:t,data:l,activePage:s}=e;return(0,a.jsxs)("div",{className:`${t===s?"":"hidden"} phoneSmall:p-3 lg:p-12 xl:px-24 xl:py-20 `,children:[(0,a.jsx)("h3",{className:"text-2xl mb-6 text-black",children:(0,a.jsx)("p",{children:l.title})}),(0,a.jsxs)("div",{className:"text-base leading-relaxed text-alkDarkGrey",children:[l.internalTabs&&0!==l.internalTabs.length?"":(0,a.jsx)(f.Z,{children:l.content}),(0,a.jsx)(S.Z,{values:l.internalTabs,direction:"horizontal",blocks:{...eq,...eG,...Z.ZP},itemProps:{activePage:s}})]})]})},template:eQ}};let eV={type:"botanical overview",label:"Overview Banner-tabs",defaultItem:{title:"Botanical Overview Title",tabs:[eQ.defaultItem],_template:"ComponentBlocksBotanicalOverview"},fields:[{name:"title",label:"title",component:"text"}
5,{name:"featuredImage",label:"Background",component:"image"},{name:"featuredImageMobile",label:"BackgroundMobile",component:"image"},{name:"tabs",label:"Tabs",component:"blocks",templates:{[eQ.defaultItem._template]:eQ}}]};var eJ={src:"/_next/static/media/pdf-report-icon.26e76e43.svg",height:47,width:36,blurWidth:0,blurHeight:0},eY={src:"/_next/static/media/pdf-report-icon-grey.f5b46a3d.svg",height:47,width:36,blurWidth:0,blurHeight:0};let eK={type:"file",label:"File",itemProps:e=>({label:e.name}),defaultItem:{name:"File name",isBlue:!0,_template:"ComponentComponentsFileData"},fields:[{label:"Name",name:"name",component:"text"},{label:"File",name:"file",component:"file",uploadDir:()=>"/"},{label:"Blue Icon",name:"isBlue",component:"toggle",description:"Enable for blue icon, disable for grey icon"}]};var eX={ComponentComponentsFileData:{Component:e=>{let{index:t,data:l}=e,{t:s}=(0,ec.$G)(),n=!1===l.isBlue?eY:eJ;return(0,a.jsx)("a",{href:l.file&&(l.file.url?`https://cms.alkaloid.com.mk${l.file.url}`:`https://cms.alkaloid.com.mk${l.file.directory}/${l.file.filename}`),target:"_blank",rel:"noreferrer",children:(0,a.jsx)("div",{className:"flex flex-grow",children:(0,a.jsxs)("div",{className:"flex items-center justify-center self-center",children:[(0,a.jsx)("div",{className:" w-12 text-center self-center justify-center h-12 md:w-12 md:h-16",children:(0,a.jsx)(h.LazyLoadImage,{src:n.src,alt:"pdf-icon"})}),(0,a.jsxs)("div",{className:" flex  justify-center self-center text-left items-center ",children:[(0,a.jsx)("h3",{className:" pl-3 w-full text-lg",children:l.name}),!l.file&&"Missing file!"]})]})})})},template:eK}};let e0={type:"financialReport",label:"Financial Report",defaultItem:{title:"Title here",files:[],colsMobile:"1",colsMd:"2",colsLg:"3",colsXl:"4",_template:"ComponentComponentsFinancialReportsRow"},itemProps:e=>({label:e.title}),fields:[{name:"title",label:"Title",component:"text"},{name:"colsMobile",label:"Columns for Mobile",component:"text"},{name:"colsMd",label:"Columns for Tablet",component:"text"},{name:"colsLg",label:"Columns for 3:2 Screens",component:"text"},{name:"colsXl",label:"Columns for 16:9 Screens",component:"text"},{name:"files",label:"Files",component:"blocks",templates:{[eK.defaultItem._template]:eK}}]};var e1={ComponentComponentsFinancialReportsRow:{Component:e=>{let{index:t,data:l}=e;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"container flex flex-col md:flex-row m-auto md:justify-between py-20 px-8 lg:px-8 ",children:[(0,a.jsx)("h2",{className:"text-3xl text-alkBlue max-w-sm my-4 ",children:l.title}),(0,a.jsx)("div",{className:`w-full md:w-7/12 grid grid-cols-${l.colsMobile} md:grid-cols-${l.colsMd} lg:grid-cols-${l.colsLg} xl:grid-cols-${l.colsXl}  gap-4`,children:(0,a.jsx)(S.Z,{values:l.files,blocks:{...eX},direction:"horizontal",className:`w-full md:w-7/12 grid grid-cols-${l.colsMobile} md:grid-cols-${l.colsMd} lg:grid-cols-${l.colsLg} xl:grid-cols-${l.colsXl} gap-4`})})]}),(0,a.jsx)("hr",{className:"container m-auto"})]})},template:e0}};let e2={type:"financialReports",label:"Financial Reports",defaultItem:{_template:"ComponentBlocksFinancialReports",items:[e0.defaultItem]},fields:[{name:"items",label:"Rows",component:"blocks",templates:{[e0.defaultItem._template]:e0}}]};var e4={ComponentBlocksFinancialReports:{Component:e=>{let{index:t,data:l}=e;return(0,a.jsx)("div",{children:(0,a.jsx)(S.Z,{values:l.items,className:"flex flex-col",direction:"vertical",blocks:{...e1}})})},template:e2}};let e3={type:"financialReports",label:"Financial Reports 2",defaultItem:{_template:"FinancialReports",items:[e0.defaultItem]},fields:[{name:"items",label:"Items",component:"blocks",templates:{[e0.defaultItem._template]:e0}}]},e5={type:"financialReportRow",label:"Financial Report Row",defaultItem:{_template:"FinancialReportsRow",title:"Sample Title",colsMobile:"1",colsMd:"2",colsLg:"3",colsXl:"4"},itemProps:e=>({label:e.title}),fields:[{name:"title",label:"Title",component:"text"},{name:"colsMobile",label:"Columns for Mobile",component:"text"},{name:"colsMd",label:"Columns for Tablet",component:"text"},{name:"colsLg",label:"Columns for 3:2 Screens",component:"text"},{name:"colsXl",label:"Columns for 16:9 Screens",component:"text"},{name:"files",label:"Files",component:"blocks",templates:{[eK.defaultItem._template]:eK}}]};var e6=l(47428),e8=l(16693),e9=l(29009),e7=l(46888),te=l(3023),tt=l(75358),tl=l(14195),ta=l(14888),ts=l(86108),tn={src:"/_next/static/media/shares-arrow.403cf2de.png",height:109,width:106,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAJFBMVEVMaXEAsPEAntcAsPEAsfMAr/AAr/AArfAAre0Ap+oAq+wAufyiZjuKAAAAC3RSTlMAvgm25szFhU83Q0QhYq0AAAAJcEhZcwAACxMAAAsTAQCanBgAAAAzSURBVHicTYoxEgAgCMNCi6jH///rsbkkGQKoQgCKbmucmWlRfcu3zT6s4Oy5Vgz/CAMPHT4AsMJWCTQAAAAASUVORK5CYII=",blurWidth:8,blurHeight:8};l(19806);let tr={type:"generalNumber",label:"General Number",defaultItem:{number:"Insert number here",title:"Insert Title",_template:"ComponentComponentsGeneralNumber"},fields:[{name:"number",label:"Number",component:"text"},{name:"title",label:"Title",component:"text"}]};var ti={ComponentComponentsGeneralNumber:{Component:e=>{let{index:t,data:l}=e;return(0,a.jsx)("div",{className:"w-full py-10 sm:py-0",children:(0,a.jsxs)("div",{className:"w-full text-center",children:[(0,a.jsx)("p",{className:"lg:text-7xl md:text-5xl sm:text-5xl phone:text-5xl text-5xl text-alkLightBlue font-bold",children:l.number}),(0,a.jsx)("p",{className:" text-2xl text-alkGrey mt-5",children:(0,a.jsx)("p",{children:l.title})})]})})},template:tr}};let to={type:"generalNumbers",label:"Counter Banners",defaultItem:{title:"Insert Title",numbers:[tr.defaultItem],_template:"ComponentBlocksGeneralNumbers"},fields:[{name:"title",label:"Title",component:"text"}
5,{name:"background",label:"Background",component:"image"},{name:"numbers",label:"Numbers",component:"group-list",itemProps:e=>({key:e.id,label:e.title}),fields:[{name:"number",label:"Number",component:"text"},{name:"title",label:"Title",component:"text"}]}]};var tc=l(72841),td=l(7739),tm=l.n(td),tx=l(89734),tp=l.n(tx);let th={type:"scientificActivity",label:"Scientific Activity",defaultItem:{activities:[],title:"Insert Title Here",featuredImage:"",mainTitle:"",_template:"ComponentBlocksScientificActivity"},fields:[{name:"title",label:"Title",component:"html2"},{name:"activities",label:"Activities",component:"group-list",itemProps:e=>({key:e.name,label:e.title}),fields:[{name:"title",label:"Title",component:"text"},{name:"link",label:"Link",component:"text"},{name:"date",label:"Date",component:"date"}],defaultItem:{title:"Insert Title Here",link:"/about",date:j.ou.now()}},{name:"featuredImage",label:"Image",component:"image"},{name:"mainTitle",label:"Main Title",component:"text"}]};var tu=l(88494);l(92261);var tg=l(71911);tg.ZP.use([tg.tl]);let tf={type:"formalSlider",label:"Left Slider",defaultItem:{_template:"ComponentBlocksFormalSlider",formalSlides:[]}
5,fields:[{name:"options",component:"toggle",label:"Choose Formal or Pronet Left Slider",description:"",nextStoryText:"",toggleLabels:{true:"Pronet",false:"Formal"}},{name:"formalSlides",label:"Slides",component:"group-list",itemProps:e=>({key:e.name,label:e.title}),fields:[{name:"title",label:"Title",component:"text"},{name:"content",label:"Content",component:"html2"},{name:"categoryDate",label:"Category and Date",component:"text"},{name:"authorName",label:"Author Name",component:"text"},{name:"quote",label:"Quote",component:"html2"},{name:"featuredImage",label:"Featured Image",component:"image"},{name:"authorImage",label:"Author Image",component:"image"},{name:"nextStoryText",label:"next story text",component:"text"},{name:"actions",label:"Action",component:"group-list",fields:b.rl.fields,defaultItem:b.rl.defaultItem}],defaultItem:{title:"Insert Formal Slider item Title here",content:"Some content here",quote:"Insert quote here",actions:[b.rl.defaultItem]}}]};l(64402);let tb={type:"slider item",label:"Slider Item",defaultItem:{title:"Insert Slider item Title here",content:"Some content here",_template:"ComponentComponentsHomepageHeroItem"},fields:[{name:"title",label:"Title",component:"text"},{name:"content",label:"Content",component:"html2"},{name:"featuredImage",label:"Featured Image (1040 x 668 px)",component:"image"},{name:"mobileImage",label:"Mobile Image",component:"image"},{name:"actions",label:"Actions",component:"group-list",fields:b.rl.fields,defaultItem:b.rl.defaultItem}]};l(56735);let tj={type:"homepageHero",label:"Homepage Hero Slider",defaultItem:{slides:[],_template:"ComponentBlocksHomepageHeroSlider"},fields:[{name:"slides",label:"Slides",component:"group-list",itemProps:e=>({key:e.name,label:e.title}),fields:tb.fields,defaultItem:tb.defaultItem}]},ty={type:"text",label:"Text with button",defaultItem:{content:"Some content here",readMore:[b.rl.defaultItem],_template:"ComponentBlocksTextWithButton"},fields:[{name:"content",label:"Content",component:"html2"},{name:"readMore",label:"Read more actions",component:"group-list",fields:b.rl.fields}]};var tw=l(54257),tv=l(75452),tk=l(51109),tN=e=>{let{title:t,desc:l,link:s}=e,{t:n}=(0,ec.$G)();return(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("div",{className:"mt-4 px-4 sm:px-0 mb-[15px] md:mb-[30px] xl:mb-[100px]",children:[(0,a.jsx)("p",{className:"text-lg sm:text-xl md:text-2xl lg:mb-4 md:mb-4 mb-4 font-normal",children:t}),(0,a.jsx)("p",{className:"lg:text-base  text-alkGrey lg:mb-4 md:mb-4 mb-4 ",children:l}),(0,a.jsx)(x.Z,{to:s,children:(0,a.jsx)("p",{className:" text-alkLightBlue underline cursor-pointer text-sm md:text-base",children:n("read_more")})})]})})};let t_={type:"product card",label:"Product Card",key:"ComponentBlocksProducts",defaultItem:{title:"Product Title",link:"Insert link here",description:"Insert description here",_template:"ComponentBlocksProducts"},fields:[{name:"title",label:"Title",component:"text"},{name:"description",label:"Description",component:"html2"},{name:"link",label:"Link",component:"text"},{name:"background",label:"Background",component:"image"},{name:"actions",label:"Actions",component:"blocks",templates:{[b.rl.defaultItem._template]:b.rl,[tc.sE.defaultItem._template]:tc.sE,[tv.R8.defaultItem._template]:tv.R8}}]};var tC={ComponentBlocksProducts:{Component:e=>{let{index:t,data:l}=e;return(0,a.jsxs)("div",{className:" justify-between phoneSmall:items-start lg:items-center  phoneSmall:flex phoneSmall:flex-col lg:flex-row",children:[(0,a.jsx)("div",{className:"flex-shrink phoneSmall:w-full lg:w-1/2 xl:w-3/5",children:(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsxs)("div",{className:"h-full w-full absolute",children:[(0,a.jsx)(h.LazyLoadImage,{alt:"after",className:"absolute hidden  md:-top-10 -left-4 lg:-left-10 h-48",src:"/_next/static/media/products-shape-after.84bfbfe4.svg"}),(0,a.jsx)(h.LazyLoadImage,{alt:"shape",className:"absolute hidden -left-44 sm:-left-72 md:-left-48 lg:-left-64 xl:-left-96 bottom-0 max-h-full",src:"/_next/static/media/products-shape-l.dae0358a.svg"})]}),(0,a.jsx)("div",{className:"relative w-full",children:(0,a.jsx)(h.LazyLoadImage,{src:(0,o.Z)(l.background,"large"),alt:(0,p.Z)(l.background),className:"w-full"})})]})}),(0,a.jsxs)("div",{className:"w-full phoneSmall:pl-[16%] lg:px-4 flex flex-col items-start  lg:w-1/2 xl:w-1/3 justify-center",children:[(0,a.jsx)("h2",{className:"phoneSmall:text-xl xl:text-2xl text-alkOffBlack phoneSmall:mt-[20px] phoneSmall:mb-[25px] xl:mb-[35px] xl:mt-0  ",children:l.title}),(0,a.jsx)("div",{className:"phoneSmall:text-sm xl:text-base text-alkGrey ph
5oneSmall:mb-[25px] xl:mb-[35px]",children:(0,a.jsx)(f.Z,{children:l.description})}),(0,a.jsx)(S.Z,{values:l.actions,direction:"vertical",blocks:{...b.ZP,...tc.ZP,...tv.ZP}})]})]})},template:t_}};let tB={type:"socialRowItem",label:"Social Row Item",defaultItem:{content:"Content here",_template:"ComponentComponentsSocialRowItem"},fields:[{name:"content",label:"Content",component:"html2"},{name:"featuredImage",label:"Featured Image",component:"image"},{name:"link",label:"Link",component:"text"}]};var tS={ComponentComponentsSocialRowItem:{Component:e=>{let{index:t,data:l}=e,{t:s}=(0,ec.$G)();return(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{className:"aspect-w-1 aspect-h-1 bg-cover bg-center m-4",style:{backgroundImage:`url('${(0,o.Z)(l.featuredImage)}')`}}),(0,a.jsx)("div",{className:"text-sm mt-8 m-4",children:(0,a.jsx)(f.Z,{children:l.content})}),(0,a.jsx)(x.Z,{to:l.link,className:"underline text-alkLightBlue mx-4",children:s("visit_us")})]})},template:tB}};let tA={type:"socialRow",label:"Social Row",defaultItem:{items:[],_template:"ComponentComponentsSocialRow"},fields:[{name:"items",label:"Items",component:"group-list",fields:tB.fields,defaultItem:tB.defaultItem}]};var tL={ComponentComponentsSocialRow:{Component:e=>{let{index:t,data:l}=e;return(0,a.jsx)(S.Z,{values:l.items,blocks:{...tS},direction:"horizontal",className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8"})},template:tA}},tI=l(63117);let tT={type:"alignedButton",label:"Aligned Button Block",defaultItem:{btnAlignment:"justify-center",action:[b.rl.defaultItem],_template:"ComponentBlocksAlignedButton"},fields:[{component:"radio-group",direction:"horizontal",name:"btnAlignment",label:"Button Alignment",description:"Choose the position of the button",options:[{label:"Left",value:"justify-start"},{label:"Center",value:"justify-center"},{label:"Right",value:"justify-end"}]},{name:"action",label:"Button Action",component:"group-list",defaultItem:b.rl.defaultItem,fields:b.rl.fields}]};var tR={ComponentBlocksAlignedButton:{Component:e=>{let{index:t,data:l}=e;return(0,a.jsx)("div",{className:`${l.btnAlignment} flex flex-row container mx-auto`,children:(0,a.jsx)(S.Z,{values:l.action,blocks:{...b.ZP},direction:"horizontal",className:"flex flex-col"})})},template:tT}};let tF={type:"facebookPosts",label:"Facebook Posts",defaultItem:{}};var tP={ComponentBlocksFacebookPosts:{Component:e=>{let{fbPosts:t}=e,{t:l}=(0,ec.$G)();return(0,a.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8",children:(t||[]).map(e=>(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{className:"aspect-w-1 aspect-h-1 border border-facebookBorderGrey bg-cover bg-center m-4",style:{backgroundImage:`url('${e.attributes.full_picture}')`}}),(0,a.jsxs)("div",{className:"text-sm mt-8 m-4",children:[(0,a.jsx)(f.Z,{className:"h-44 overflow-hidden",children:e.attributes.message}),(0,a.jsx)("p",{children:"..."})]}),(0,a.jsx)(x.Z,{to:e.attributes.permalink_url,className:"underline text-alkLightBlue mx-4",children:l("visit_us")})]},e.id))})},template:tF}};let tE={type:"instagramPosts",label:"Instagram Posts",defaultItem:{}};var t$={ComponentBlocksInstagramPosts:{Component:e=>{let{index:t,instaPosts:l}=e,{t:s}=(0,ec.$G)();return(0,a.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8",children:(l||[]).map(e=>{let t=e.attributes,l=t.media_url;return"VIDEO"!==t.media_type&&l||(l=t.thumbnail_url),(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{className:"aspect-w-1 aspect-h-1 border border-facebookBorderGrey bg-cover bg-center m-4",style:{backgroundImage:`url('${l}')`}}),(0,a.jsxs)("div",{className:"text-sm mt-8 m-4",children:[(0,a.jsx)(f.Z,{className:"h-44 overflow-hidden",children:t.caption}),(0,a.jsx)("p",{children:"..."})]}),(0,a.jsx)(x.Z,{to:t.permalink,className:"underline text-alkLightBlue mx-4",children:s("visit_us")})]},e.id)})})},template:tE}};let tO={type:"youtubeVideos",label:"YouTube Videos",defaultItem:{limit:4,showDesc:!0},fields:[{component:"number",name:"limit",label:"Videos Number",description:"Select how much videos you want showcased from YouTube"},{name:"showDesc",component:"toggle",label:"Show Description",description:"Keep this setting on if you want to have the video description shown.",toggleLabels:{true:"On",false:"Off"}}]};var tZ={ComponentBlocksYouTubeVideos:{Component:e=>{let{index:t,data:l,ytPosts:s}=e,{t:n}=(0,ec.$G)();return(0,a.jsx)("div",{className:"container xl:px-20 2xl:px-0 lg:grid lg:grid-cols-4 md:grid md:grid-cols-2 m-auto gap-12  py-10 relative px-8 lg:px-0",children:(s||[]).slice(0,l.limit).map(e=>(0,a.jsxs)("div",{className:"mb-32 lg:mb-0",children:[(0,a.jsx)(h.LazyLoadImage,{src:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(e){let l=e.thumbnails.default.url;return(e.thumbnails&&e.thumbnails.high&&(l=e.thumbnails.high.url),"high"===t)?l:(e.thumbnails&&e.thumbnails.medium&&(l=e.thumbnails.medium.url),"medium"===t)?l:(e.thumbnails&&e.thumbnails.standard&&(l=e.thumbnails.standard.url),"standard"===t)?l:e.thumbnails.default.url}return`${e.thumbnails}`}(e.attributes,"standard"),alt:"videos",className:" w-full md:h-[310px] lg:h-52 xl:h-60 2xl:h-72 object-contain object-center"}),(0,a.jsx)("h2",{className:`${l.showDesc?"":"mb-32 phoneLarge:mb-20 sm:mb-14 md:mb-24 lg:mb-32 xl:mb-40 2xl:mb-16"} text-lg md:text-xl mt-6 lg:pb-12 xl:pb-0 h-2 md:h-6`,children:e.attributes.title}),(0,a.jsxs)("div",{className:`${l.showDesc?"":"hidden"} text-sm mt-24 sm:mt-16 md:mt-24 lg:mt-32 mb-10`,children:[(0,a.jsx)(f.Z,{className:"  md:h-64 overflow-hidden",children:e.attributes.description}),(0,a.jsx)("p",{children:"..."})]}),(0,a.jsx)(x.Z,{to:`https://youtube.com/v/${e.attributes.videoId}`,className:"underline text-alkLightBlue mt-4",children:n("view_video")})]},e.id))})},template:tO}},tM=e=>{let{imgProduct:t,titleProduct:l,linkProduct:s}=e;return(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("div",{className:"w-full  mb-8",children:(0,a.jsxs)(x.Z,{to:s,children:[(0,a.jsx)("img",{src:t,alt:"alt"}),(0,a.jsxs)("div",{className:"flex phoneSmall:pl-2 phone:pl-6 md:pl-2 xl:pl-6 pt-4",children:[(0,a.jsx)("i",{className:"",children:(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"inline",width:"14.486",height:"25.337",viewBox:"0 0 14.486 25.337",children:(0,a.jsx)("path",{id:"Icon_ionic-ios-arrow-down","data-name":"Icon ionic-ios-arrow-down",d:"M12.673,10.119,22.253.532a1.8,1.8,0,0,1,2.557,0,1.826,1.826,0,0,1,0,2.565L13.955,13.959a1.807,1.807,0,0,1-2.5.053L.528,3.1A1.811,1.811,0,0,1,3.085.539Z",transform:"translate(0 25.337) rotate(-90)",fill:"#00aeef"})})}),(0,a.jsx)("i",{className:"relative -top-10 mr-10",children:(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"inline",width:"56.072",height:"96.69",viewBox:"0 0 56.072 96.69",children:(0,a.jsx)("line",{id:"Line_135","data-name":"Line 135",x2:"49.284",y2:"89.902",transform:"translate(3.394 3.394)",fill:"none",stroke:"#00aeef",strokeLinecap:"round",strokeWidth:"5"})})}),(0,a.jsx)("span",{className:"lg:text-xl lg:-ml-5 md:text-lg md:-ml-5 phone:-ml-8  ",children:l})]})]})})})};let tD={type:"monographs",label:"Monographs With Tabs",defaultItem:{monographsTabs:[],_template:"ComponentBlocksMonographsWithTabs"},fields:[{name:"monographsTabs",label:"Products",component:"group-list",itemProps:e=>({key:e.name,label:e.productTitle}),fields:[{name:"productTitle",label:"Product Title",component:"text"},{name:"productImage",label:"Product Image",component:"image"},{name:"link",label:"Product Link",component:"text"}],defaultItem:{productTitle:"Insert Title Here",link:"/about"}}]};var tq={ComponentBlocksMonographsWithTabs:{Component:e=>{let{data:t,index:l}=e;return(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("section",{className:"relative lg:block pt-36",children:(0,a.jsx)("div",{className:"container relative flex m-auto items-center",style:{minHeight:420},children:(0,a.jsx)("div",{className:"bg-white relative -top-32 w-full p-12 shadow-2xl",children:(0,a.jsx)("div",{className:"md:grid md:grid-cols-3 flex-row gap-8",children:t.monographsTabs&&t.monographsTabs.map(e=>(0,a.jsx)(tM,{imgProduct:(0,o.Z)(e.productImage),titleProduct:e.productTitle,linkProduct:e.link},e.productTitle))})})})})})},template:tD}};let tz={type:"titledTabs",label:"Titled Tabs",defaultItem:{title:"Title",components:[],_template:"ComponentBlocksTabItem"},fields:[{name:"title",label:"Title",component:"text"},{name:"components",label:"Components",component:"blocks",templates:{ComponentBlocksProducts:t_,ComponentComponentsSocialRow:tA,ComponentBlocksBoardMembers:eI,ComponentBlocksImage:tI._0,ComponentBlocksRes
5ources:$,ComponentBlocksAlignedButton:tT,ComponentBlocksFinancialReports:e2,ComponentBlocksText:Z.cE,ComponentBlocksFacebookPosts:tF,ComponentBlocksInstagramPosts:tE,ComponentBlocksYouTubeVideos:tO,ComponentBlocksMonographsWithTabs:tD}}]};var tH={ComponentBlocksTabItem:{Component:e=>{let{index:t,data:l,activePage:s,...n}=e;return(0,a.jsx)("div",{className:s===t?"":"hidden",children:(0,a.jsx)(S.Z,{values:l.components,blocks:{...tC,...tL,...eT,...tI.ZP,...O,...tR,...e4,...Z.ZP,...tP,...t$,...tZ,...tq},itemProps:{...n}})})},template:tz}};let tW={type:"titledTabs",label:"Titled Tabs",defaultItem:{name:"tabs",title:"Title",tabsJson:[tz.defaultItem],_template:"ComponentBlocksTitledTabs"},fields:[{name:"name",label:"Name",description:"To be used with queries ?{name}={tabIndex}",component:"text"},{name:"title",label:"Title",component:"text"},{name:"tabsJson",label:"Tabs",component:"group-list",itemProps:e=>({key:e.name,label:e.title}),fields:tz.fields,defaultItem:tz.defaultItem}]},tG={type:"bulletItem",label:"Bullet Item",defaultItem:{content:"Insert content here",_template:"ComponentBlocksBulletItem"},fields:[{name:"icon",label:"Icon",component:"image"},{name:"content",label:"Content",component:"html2"}]};var tQ={ComponentBlocksBulletItem:{Component:e=>{let{index:t,data:l}=e;return(0,a.jsxs)("div",{className:"flex flex-row p-2",children:[(0,a.jsx)("div",{className:"w-5 flex-shrink-0",children:(0,a.jsx)(h.LazyLoadImage,{src:(0,o.Z)(l.icon,"small"),alt:(0,p.Z)(l.icon),className:"h-5 w-5 mt-1"})}),(0,a.jsx)("div",{className:"ml-4 text-base text-alkGray",children:(0,a.jsx)(f.Z,{children:l.content})})]})},template:tG}};let tU={type:"columnItem",label:"Column Item",defaultItem:{items:[],_template:"ComponentComponentsColumnItem"},fields:[{name:"items",label:"Items",component:"blocks",templates:{[tG.defaultItem._template]:tG}}]};var tV={ComponentComponentsColumnItem:{Component:e=>{let{index:t,data:l}=e;return(0,a.jsx)("div",{className:"flex-1 mx-8",children:(0,a.jsx)(S.Z,{values:l.items,blocks:{...tQ},direction:"vertical",className:"w-full"})})},template:tU}},tJ=l(94831),tY=l(44141),tK=l(16580);let tX={type:"chart block",label:"Chart Block",defaultItem:{_template:"ComponentComponentsChart"},fields:[{label:"Chart Title",name:"title",component:"html2"},{label:"Chart Data",name:"chartData",component:"group-list",itemProps:e=>({key:e.id,label:e.name}),fields:[{label:"Label",name:"name",component:"text"},{label:"Values",name:"values",component:"group-list",fields:[{name:"name",label:"Name",component:"text"},{name:"value",label:"Value",component:"text"},{name:"color",label:"Color",component:"text"}]}]}]};var t0={ComponentComponentsChart:{Component:e=>{let{index:t,data:l}=e,[s,n]=(0,c.useState)(null);(0,c.useEffect)(()=>{if(l.chartData&&l.chartData[0].values){let e=[];l.chartData[0].values.map(t=>e.push(t.color)),n(e)}},[l.chartData]);let r=(0,c.useMemo)(()=>{let e=[];
5if(!l.chartData)return[{}];for(let t=0;t<l.chartData.length;t+=1)if(l.chartData[t].values){let a={};for(let e=0;e<l.chartData[t].values.length;e+=1){let{name:s}=l.chartData[t].values[e],{value:n}=l.chartData[t].values[e];a={name:l.chartData[t].name,color:l.chartData[t].values[e].color,...a,[s]:n}}e.push(a)}return e},[l]);return(0,a.jsx)("div",{className:"flex-1 flex items-start justify-center",children:(0,a.jsxs)("div",{className:"container mx-auto mt-16 text-center text-sm sm:text-base",children:[(0,a.jsx)(f.Z,{className:"",children:l.title}),(0,a.jsx)("div",{className:" h-96 max-w-2xl mt-2",children:(0,a.jsx)(e9.h,{width:"100%",height:"100%",children:(0,a.jsxs)(tJ.v,{width:730,height:250,data:r,margin:{top:20,right:30,left:20,bottom:-20},children:[(0,a.jsx)(tl.q,{strokeDasharray:"3 3"}),(0,a.jsx)(te.K,{dataKey:"name"}),(0,a.jsx)(tt.B,{}),(0,a.jsx)(ta.u,{formatter:(e,t)=>"number"==typeof e?e.toLocaleString()+"":e}),(0,a.jsx)(tY.D,{}),r[0]&&s&&Object.entries(r[0]).filter(e=>{let[t,l]=e;return"name"!==t&&"color"!==t}).map((e,t)=>(0,a.jsx)(tK.$,{dataKey:e[0],fill:s[t]},e[0]))]})})})]})})},template:tX}};let t1={type:"chartsBlocks",label:"Charts Blocks",defaultItem:{chartBlocks:[],_template:"ComponentBlocksCharts"},fields:[{name:"chartBlocks",label:"Charts",component:"blocks",templates:{[tX.defaultItem._template]:tX}}]};l(69831);let t2={defaultItem:{data:[],title:"Insert Slider item Title here",_template:"ComponentComponentsMeasureEnvironmentItem"},fields:[{name:"title",label:"Title",component:"text"},{name:"data",label:"Data",component:"group-list",itemProps:e=>({key:e.name,label:`${e.description.substring(0,15)}...`}),fields:[{name:"description",label:"Description",component:"text"},{name:"year",label:"year",component:"text"}],defaultItem:{description:"Insert Description Here",year:"Insert Year Here"}},{name:"backgroundImage",label:"Background Image",component:"image"}]};var t4={src:"/_next/static/media/b.4692cf47.png"};tg.ZP.use([tg.tl,tg.W_]);let t3={type:"measureEnvironment",label:"Measure Environment Slider",defaultItem:{jsonSlides:[],_template:"ComponentBlocksMeasureEnvironmentSlider"},fields:[{name:"jsonSlides",label:"Slides",component:"group-list",itemProps:e=>({key:e.name,label:e.title}),fields:t2.fields,defaultItem:t2.defaultItem},{name:"content",label:"Content",component:"html2"}]};var t5=l(62e3),t6=l(91811),t8=l(3875),t9=l(16958),t7=l(80129),le=l.n(t7);let lt={type:"singleStory",label:"Single Story SR",defaultItem:{storiesJson:[t8.CD.defaultItem],headerTitle:"Insert Title Here",description:"Insert Description Here",_template:"ComponentBlocksSingleStorySR"},fields:[{name:"headerTitle",label:"Header Title",component:"text"},{name:"description",label:"Description",component:"html2"},{name:"featuredImage",label:"Featured Image (763 px width)",component:"image",clearable:!0},{name:"storiesJson",label:"Stories",component:"group-list",fields:t8.CD.fields,defaultItem:t8.CD.defaultItem}]};var ll=l(5191);tg.ZP.use([tg.W_,tg.Gk]);let la={type:"carouselNews",label:"Carousel News",defaultItem:{newsType:"",showImages:!1,link:"/",_template:"ComponentBlocksCarouselNews"},fields:[{name:"link",label:"Link",component:"text"},{name:"featuredNews",label:"Featured news",component:"list",field:{component:"page",category:"news"}},{name:"showImages",component:"toggle",label:"Show Images",description:"Toggle on if you want images to be shown.",toggleLabels:{true:"On",false:"Off"}},{component:"select",name:"newsType",label:"News Type",options:eo.Z}]},ls={type:"Grid",label:"Grid Container",defaultItem:{texts:[],_template:"ComponentBlocksGrid"},fields:[{name:"texts",label:"Texts",component:"blocks",templates:{[Z.cE.defaultItem._template]:Z.cE}}]};tg.ZP.use([tg.W_]);var ln={src:"/_next/static/media/accordion-arrow-n.de7f0806.svg"};let lr={type:"shareholdersAccordion",label:"Shareholders Accordion",defaultItem:{groups:[{title:"Group title",pages:[]}],_template:"ComponentBlocksShareholdersAccordion"},fields:[{name:"groups",label:"Groups",component:"group-list",itemProps:e=>({key:e.name,label:e.title}),defaultItem:{title:"Title",pages:[]},fields:[{name:"title",label:"Title",component:"text"},{name:"pages",label:"Pages",component:"group-list",itemProps:e=>({key:e.name,label:e.title}),defaultItem:{title:"Title",blocks:[]},fields:[{name:"title",label:"Title",component:"text"},{name:"blocks",label:"Blocks",component:"blocks",templates:{[Z.cE.defaultItem._template]:Z.cE,[tc.sE.defaultItem._template]:tc.sE,[eK.defaultItem._template]:eK}}]}]}]};var li=l(86721),lo=l(95156),lc={src:"/_next/static/media/Icon material-email.6d1c5312.png"},ld={src:"/_next/static/media/Icon material-print.e09cfc4a.png"},lm={src:"/_next/static/media/Icon awesome-phone.3c7c5d11.png"},lx=l(22487);let lp={type:"contactInfoForTerms",label:"Contact Information For Terms",defaultItem:{name:"ALKALOID AD SKOPJE",position:"Company Registration Number: 4053575",address:`Blvd. Aleksandar Makedonski 12,
6    1000 Skopje, Republic of North Macedonia`,phone:"+389 2 310 40 07",fax:"+389 2 310 40 07",email:"[email protected]",_template:"ComponentBlocksContactInfoForTerms"},fields:[{name:"name",label:"Name",component:"html2"},{name:"position",label:"Position",component:"html2"},{name:"address",label:"Address",component:"html2"},{name:"phone",label:"Phone",component:"html2"},{name:"fax",label:"Fax",component:"html2"},{name:"email",label:"Email",component:"html2"}]};var lh={ComponentBlocksContactInfoForTerms:{Component:e=>{let{index:t,data:l}=e;return(0,a.jsx)("section",{children:(0,a.jsx)("div",{className:"container lg:ml-40 sm:ml-20 ml-5",children:(0,a.jsx)("div",{className:"md:flex items-center mx-auto flex-wrap",children:(0,a.jsx)("div",{className:"lg:w-2/3",children:(0,a.jsxs)("div",{className:"flex flex-col md:flex-row",children:[(0,a.jsxs)("div",{className:"w-full md:w-1/2 mb-10 md:pr-1/4",children:[(0,a.jsx)("div",{className:"lg:text-2xl md:text-lg font-bold mb-4 mt-5",children:(0,a.jsx)(f.Z,{children:l.name})}),(0,a.jsx)("p",{className:"lg:text-base md:text-sm leading-relaxed mb-8 mt-4",children:(0,a.jsx)(f.Z,{children:l.position})}),(0,a.jsx)("p",{className:"lg:text-base md:text-sm leading-relaxed ",children:(0,a.jsx)(f.Z,{children:l.address})})]}),(0,a.jsxs)("div",{className:" w-full md:w-1/2 mb-10 md:pr-1/4 mt-5",children:[l.phone&&(0,a.jsxs)("div",{className:"  lg:text-base text-sm flex flex-row items-center leading-relaxed mb-4",children:[(0,a.jsx)("i",{className:"inline-block mr-4 relative",children:(0,a.jsx)(d.Z,{src:z.src,fill:"#00aeef",className:"w-5 h-5"})}),(0,a.jsx)(f.Z,{children:l.phone})]}),l.fax&&(0,a.jsxs)("div",{className:" lg:text-base text-sm flex flex-row items-center leading-relaxed mb-4",children:[(0,a.jsx)("i",{className:"inline-block mr-4 relative",children:(0,a.jsx)(d.Z,{src:H.src,fill:"#00aeef",className:"w-5 h-5"})}),(0,a.jsx)(f.Z,{children:l.fax})]}),l.email&&(0,a.jsxs)("div",{className:" flex flex-row items-center text-base text-alkLightBlack mb-4",children:[(0,a.jsx)("i",{className:"inline-block mr-4 relative",children:(0,a.jsx)(d.Z,{src:W.src,fill:"#00aeef",className:"w-5 h-5"})}),(0,a.jsx)("a",{className:"lg:text-base text-sm leading-6 text-alkLightBlue underline",href:"/",target:"_blank",rel:"noreferrer",children:(0,a.jsx)(f.Z,{children:l.email})})]})]})]})})})})})},template:lp}};let lu={type:"termsOfUse",label:"Terms of use",defaultItem:{terms:[],title:"Terms of use Title",_template:"ComponentBlocksTermsOfUse"},fields:[{name:"title",label:"title",component:"text"},{name:"titlecolor",label:"title color",component:"text"}
6,{name:"featuredImage",label:"Background",component:"image"},{name:"featuredImageMobile",label:"BackgroundMobile",component:"image"},{name:"terms",label:"Terms",component:"blocks",templates:{[lx.IQ.defaultItem._template]:lx.IQ,[Z.cE.defaultItem._template]:Z.cE,[tc.sE.defaultItem._template]:tc.sE,[Y.defaultItem._template]:Y,[eW.defaultItem._template]:eW,[lp.defaultItem._template]:lp}}]};tg.ZP.use([tg.tl]);let lg={type:"mediaSlider",label:"Media Slider",defaultItem:{_template:"ComponentBlocksMediaSlider",mediaSlides:[]},fields:[{name:"mediaSlides",label:"MediaSlides",component:"group-list",itemProps:e=>({key:e.name,label:e.title}),fields:[{name:"title",label:"Title",component:"text"},{name:"content",label:"Content",component:"html2"},{name:"link",label:"Link",component:"text"},{name:"featuredImage",label:"Featured Image (756 x 828 px)",component:"image"},{name:"actions",label:"Action",component:"group-list",fields:b.rl.fields,defaultItem:b.rl.defaultItem}],defaultItem:{title:"Insert Media Slider item Title here",content:"Some content here",link:"Insert link here",actions:[b.rl.defaultItem]}}]};var lf=e=>{let{title:t,role:l,address:s,companyName:n,phone:r,fax:i,email:o,email2:c,isActive:d}=e;return(0,a.jsx)(a.Fragment,{children:d&&(0,a.jsxs)("div",{className:"phoneSmall:mb-10 flex-1 flex-col md:flex-row md:justify-start  grid lg:grid-cols-1 2xl:grid-cols-2 xl:gap-4 2xl:gap-8 xl:mb-12 2xl:mb-[65px]",children:[(0,a.jsxs)("div",{className:"md:mb-3 text-base",children:[(0,a.jsx)("div",{className:"font-semibold mb-3 text-2xl",children:(0,a.jsx)(f.Z,{children:t})}),(0,a.jsx)("div",{className:" md:mb-3 text-base",children:(0,a.jsx)(f.Z,{children:l})}),n&&(0,a.jsx)("p",{className:`${n?"":"hidden"} w-60 text-alkLightBlue cursor-pointer text-base`,children:n}),s&&(0,a.jsx)("a",{href:`https://www.google.com/maps/search/?api=1&query=${encodeURIComponent("string"==typeof s?s:"")}`,target:"_blank",rel:"noopener noreferrer",className:"w-60 block text-alkLightBlue underline text-base",children:(0,a.jsx)(f.Z,{children:s})})]}),(0,a.jsxs)("div",{className:"flex flex-col",children:[r&&(0,a.jsxs)("div",{className:"flex flex-row sm:mt-5 phone:mt-5 mt-5  lg:mt-0 md:mt-0",children:[(0,a.jsx)("span",{className:"relative block pr-4",children:(0,a.jsx)("img",{src:lm.src,alt:"phone",className:"w-4 h-4  mt-1"})}),(0,a.jsx)("a",{href:`tel:${r.replace(/[^\d+]/g,"")}`,className:"text-base text-alkLightBlack underline mb-4",children:r})]}),i&&(0,a.jsxs)("div",{className:"flex flex-row",children:[(0,a.jsx)("span",{className:"pr-4",children:(0,a.jsx)("img",{src:ld.src,alt:"fax",className:"w-4 h-4  mt-1"})}),(0,a.jsx)("p",{className:"text-base text-alkLightBlack mb-4",children:i})]}),o&&(0,a.jsxs)("div",{className:"flex flex-row overflow-x-hidden",children:[(0,a.jsx)("span",{className:"pr-4",children:(0,a.jsx)("img",{src:lc.src,alt:"email",className:"w-4 h-4  mt-1"})}),(0,a.jsx)("a",{href:`mailto:${o}`,className:"text-alkLightBlue ml-2 underline mb-3 text-base",children:o})]}),c&&(0,a.jsxs)("div",{className:"flex flex-row overflow-x-hidden",children:[(0,a.jsx)("span",{className:"pr-4",children:(0,a.jsx)("img",{src:lc.src,alt:"email",className:"w-4 h-4  mt-1"})}),(0,a.jsx)("a",{href:`mailto:${c}`,className:"text-alkLightBlue ml-2 underline mb-3 text-base",children:c})]})]})]})})},lb=e=>{let{titleList:t,currentTitle:l,setCurrentTitle:s}=e;return(0,a.jsxs)("div",{className:"phoneSmall:w-full xl:w-1/3",children:[(0,a.jsx)("div",{className:"hidden xl:flex xl:flex-col",children:t.map((e,t)=>{let{title:n}=e;return(0,a.jsx)("div",{className:"parent flex flex-1",children:(0,a.jsxs)("button",{type:"button",onClick:()=>s(t),onKeyDown:()=>s(t),className:"text-left mb-4 flex flex-row items-center",children:[(0,a.jsx)("img",{alt:"alt",src:"/_next/static/media/line_corporate.9d64ebc2.png",className:`relative mr-[25px]  ${t===l?"":"invisible"}`}),(0,a.jsx)("p",{className:`text-2xl flex-1  ${t===l?"font-bold text-alkLightBlue":"font-normal text-black"}`,children:n})]},n)},n)})}),(0,a.jsx)("div",{className:"phoneSmall:mt-32 phoneLarge:mt-10 sm:mt-20 lg:mt-0 sm:w-1/2 xl:hidden flex flex-col phoneSmall:items-center phoneLarge:items-start mx-[30px] mb-3",children:(0,a.jsx)(e$.v,{as:"div",className:" z-50 relative inline-block text-left ",children:e=>{let{open:n}=e;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{children:(0,a.jsxs)(e$.v.Button,{className:"inline-flex justify-around h-auto w-full min-w-2/3 items-center  roun
6ded-full shadow-md px-4 py-2  lg:text-2xl md:text-2xl  phone:text-center text-lg font-normal text-alkLightBlue hover:bg-gray-10 focus:outline-none ",children:[(0,a.jsx)("span",{className:"flex flex-row text-center min-w-[150px]",children:t[l].title}),(0,a.jsx)(eZ.v4q,{className:"-mr-1 ml-2 h-10 w-10 text-alkLightBlue","aria-hidden":"true"})]})}),(0,a.jsx)(eO.u,{show:n,as:c.Fragment,enter:"transition ease-out duration-100",enterFrom:"transform opacity-0 scale-95",enterTo:"transform opacity-100 scale-100",leave:"transition ease-in duration-75",leaveFrom:"transform opacity-100 scale-100",leaveTo:"transform opacity-0 scale-95",children:(0,a.jsx)(e$.v.Items,{static:!0,className:"origin-top-center absolute right-5 mt-2 w-auto flex flex-col rounded-md shadow-lg bg-white ring-1 ring-black ring-opacity-5 ",children:(0,a.jsx)("div",{children:t.map((e,t)=>{let{title:l}=e;return(0,a.jsx)(e$.v.Item,{children:e=>{let{active:n}=e;return(0,a.jsx)("button",{onClick:()=>s(t),type:"button",className:function(){for(var e=arguments.length,t=Array(e),l=0;l<e;l++)t[l]=arguments[l];return t.filter(Boolean).join(" ")}(n?"bg-gray-100 text-alkLightBlue":"text-gray-700","block w-full text-left px-4 py-3 text-xl hover:bg-grey-100"),children:(0,a.jsx)("span",{className:"flex flex-row",children:l})})}},l)})})})})]})}})})]})},lj=l(6719),ly=l(91672);lj.v0.GlobalWorkerOptions.workerSrc=`https://cdnjs.cloudflare.com/ajax/libs/pdf.js/${lj.v0.version}/pdf.worker.js`;var lw=function(e){let{file:t,booklet:l}=e,[s,n]=(0,c.useState)(null),[r,i]=(0,c.useState)(1);(0,c.useEffect)(()=>{r<1?i(1):r>s&&i(s)},[r,s]);let[o,{width:d}]=(0,ly.Z)(),m=()=>{i(e=>e<s?e+1:1)},x=()=>{i(e=>e>1?e-1:s)};return(0,a.jsx)("div",{className:"pt-8 lg:pt-16",onContextMenu:e=>e.preventDefault(),children:(0,a.jsxs)(lj.BB,{file:t.previewSrc||`https://cms.alkaloid.com.mk${t.url}`,onLoadSuccess:e=>{let{numPages:t}=e;n(t)},className:"block w-full",children:[(0,a.jsxs)("div",{className:"w-full flex flex-row items-center",children:[(0,a.jsx)("div",{className:"relative w-0",children:(0,a.jsx)("button",{type:"button",className:"-left-8 relative rounded-full h-16 w-16 flex items-center justify-center shadow-2xl z-20 bg-white",onClick:x,children:(0,a.jsx)("i",{className:"absolute",children:(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12.695",height:"22.203",viewBox:"0 0 12.695 22.203",children:(0,a.jsx)("path",{id:"Icon_ionic-ios-arrow-down","data-name":"Icon ionic-ios-arrow-down",d:"M11.105,8.868l8.4-8.4a1.58,1.58,0,0,1,2.241,0,1.6,1.6,0,0,1,0,2.248l-9.512,9.519a1.584,1.584,0,0,1-2.188.046L.463,2.72A1.587,1.587,0,1,1,2.7.473Z",transform:"translate(12.695) rotate(90)",fill:"#00aeef"})})})})}),(0,a.jsx)("div",{className:`w-full ${l?"lg:w-1/2":""}`,ref:o,children:(0,a.jsx)(lj.T3,{pageNumber:r,width:d},r)}),l&&(0,a.jsx)("div",{className:"hidden lg:block lg:w-1/2",children:(0,a.jsx)(lj.T3,{onClick:m,pageNumber:r+1,width:d},r+1)}),(0,a.jsx)("div",{className:"relative w-0",children:(0,a.jsx)("button",{type:"button",className:"right-8 relative rounded-full h-16 w-16 flex items-center justify-center shadow-2xl z-20 bg-white",onClick:m,children:(0,a.jsx)("i",{className:"absolute",children:(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12.695",height:"22.203",viewBox:"0 0 12.695 22.203",children:(0,a.jsx)("path",{id:"Icon_ionic-ios-arrow-down","data-name":"Icon ionic-ios-arrow-down",d:"M11.105,8.868l8.4-8.4a1.58,1.58,0,0,1,2.241,0,1.6,1.6,0,0,1,0,2.248l-9.512,9.519a1.584,1.584,0,0,1-2.188.046L.463,2.72A1.587,1.587,0,1,1,2.7.473Z",transform:"translate(0 22.203) rotate(-90)",fill:"#00aeef"})})})})})]}),(0,a.jsx)("div",{className:"w-full m-auto pt-8 flex flex-row items-center",children:(0,a.jsxs)("div",{className:"w-auto m-auto flex flex-row items-center",children:[(0,a.jsx)("button",{id:"prev",type:"button",onClick:x,children:(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12.695",height:"22.203",viewBox:"0 0 12.695 22.203",children:(0,a.jsx)("path",{id:"Icon_ionic-ios-arrow-down","data-name":"Icon ionic-ios-arrow-down",d:"M11.105,8.868l8.4-8.4a1.58,1.58,0,0,1,2.241,0,1.6,1.6,0,0,1,0,2.248l-9.512,9.519a1.584,1.584,0,0,1-2.188.046L.463,2.72A1.587,1.587,0,1,1,2.7.473Z",transform:"translate(12.695) rotate(90)",fill:"#00aeef"})})}),(0,a.jsxs)("span",{className:"text-lg text-alkGrey px-5",children:["Page ",r," of ",s]}),(0,a.jsx)("button",{id:"next",type:"button",onClick:m,children:(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12.695",height:"22.203",viewBox:"0 0 12.695 22.203",children:(0,a.jsx)("path",{id:"Icon_ionic-ios-arrow-down","data-name":"Icon ionic-ios-arrow-down",d:"M11.105,8.868l8.4-8.4a1.58,1.58,0,0,1,2.241,0,1.6,1.6,0,0,1,0,2.248l-9.512,9.519a1.584,1.584,0,0,1-2.188.046L.463,2.72A1.587,1.587,0,1,1,2.7.473Z",transform:"translate(0 22.203) rotate(-90)",fill:"#00aeef"})})})]})})]})})},lv={},lk=e=>{let{imgProduct:t,titleProduct:l,linkProduct:s}=e;return(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("div",{className:"w-full md:w-1/3 mb-8",children:(0,a.jsxs)(x.Z,{to:s,children:[(0,a.jsx)("img",{src:t,alt:"alt"}),(0,a.jsxs)("div",{className:"flex phoneSmall:pl-2 phone:pl-6 md:pl-2 xl:pl-6 pt-4",children:[(0,a.jsx)("i",{className:"",children:(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"inline",width:"14.486",height:"25.337",viewBox:"0 0 14.486 25.337",children:(0,a.jsx)("path",{id:"Icon_ionic-ios-arrow-down","data-name":"Icon ionic-ios-arrow-down",d:"M12.673,10.119,22.253.532a1.8,1.8,0,0,1,2.557,0,1.826,1.826,0,0,1,0,2.565L13.955,13.959a1.807,1.807,0,0,1-2.5.053L.528,3.1A1.811,1.811,0,0,1,3.085.539Z",transform:"translate(0 25.337) rotate(-90)",fill:"#00aeef"})})}),(0,a.jsx)("i",{className:"relative -top-10 mr-10",children:(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"inline",width:"56.072",height:"96.69",viewBox:"0 0 56.072 96.69",children:(0,a.jsx)("line",{id:"Line_135","data-name":"Line 135",x2:"49.284",y2:"89.902",transform:"translate(3.394 3.394)",fill:"none",stroke:"#00aeef",strokeLinecap:"round",strokeWidth:"5"})})}),(0,a.jsx)("span",{className:"lg:text-xl lg:-ml-5 md:text-lg md:-ml-5 phone:-ml-5  up
6percase",children:l})]})]})})})};tg.ZP.use([tg.W_]);var lN=l(12692),l_=l.n(lN);tg.ZP.use([tg.W_]);var lC=l(34853),lB=l(34155);let lS={name:"",surname:"",number:"",email:"",country:"",qualification:"",initials:"",date:"",sex:"",reporterCountry:"",description:"",dateOfOccurance:"",medicines:"",allergies:"",pregnantOrBreastfeeding:"",tradeName:"",INN:"",pharmaceuticalForm:"",strength:"",nameOfManufacturer:"",batchNumber:"",dailyDose:"",routeOfAdministration:"",indicationOfUse:"",therapyDatesTo:"",therapyDatesFrom:"",therapyDuration:"",reactionAfterStopping:"",reactionAfterReintroduction:""},lA={name:"",surname:"",telephone:"",email:"",country:"",qualification:"",initials:"",date:"",sex:"",ages:"",reporter:"",outcome:"",reporterCountry:"",description:"",dateOfOccurance:"",dateOfEnd:"",medicines:"",allergies:"",pregnantOrBreastfeeding:"",indicationOfSideEffects:"",adverseReactionCaused:"",choosenFamilyDoctor:"",tradeName:"",INN:"",pharmaceuticalForm:"",strength:"",nameOfManufacturer:"",batchNumber:"",dailyDose:"",routeOfAdministration:"",indicationOfUse:"",therapyDatesTo:"",therapyDatesFrom:"",therapyDuration:"",reactionAfterStopping:"",reactionAfterReintroduction:"",reporterHealthPro:"",suspect:"",casualRelatinship:"",ageType:""},lL={name:"",surname:"",telephone:"",email:"",country:"",qualification:"",initials:"",date:"",sex:"",ages:"",reporter:"",outcome:"",reporterCountry:"",description:"",dateOfOccurance:"",dateOfEnd:"",medicines:"",allergies:"",pregnantOrBreastfeeding:"",indicationOfSideEffects:"",advereReactionCausedBy:"",choosenFamilyDoctor:"",tradeName:"",INN:"",pharmaceuticalForm:"",strength:"",nameOfManufacturer:"",batchNumber:"",dailyDose:"",routeOfAdministration:"",indicationOfUse:"",therapyDatesTo:"",therapyDatesFrom:"",therapyDuration:"",reactionAfterStopping:"",reactionAfterReintroduction:"",reporterHealthPro:"",suspect:"",casualRelatinship:"",ageType:""};var lI=l(34155);let lT={name:"",surname:"",number:"",email:"",country:"",qualification:"",initials:"",date:"",sex:"",reporterCountry:"",description:"",dateOfOccurance:"",medicines:"",allergies:"",pregnantOrBreastfeeding:"",tradeName:"",INN:"",pharmaceuticalForm:"",strength:"",nameOfManufacturer:"",batchNumber:"",dailyDose:"",routeOfAdministration:"",indicationOfUse:"",therapyDatesTo:"",therapyDatesFrom:"",therapyDuration:"",reactionAfterStopping:"",reactionAfterReintroduction:""};l(69495);var lR=l(34155);let lF={Name:"",Tel:"",Email:"",ReportedBy:"",eventOccurred:"",dateOfBirth:"",detailedInfo:"",lotNumber:"",purchaseDate:""};var lP=l(34155);let lE={name:"",surname:"",number:"",email:"",country:"",qualification:"",initials:"",date:"",sex:"",reporterCountry:"",description:"",dateOfOccurance:"",medicines:"",allergies:"",pregnantOrBreastfeeding:"",tradeName:"",INN:"",pharmaceuticalForm:"",strength:"",nameOfManufacturer:"",batchNumber:"",dailyDose:"",routeOfAdministration:"",indicationOfUse:"",therapyDatesTo:"",therapyDatesFrom:"",therapyDuration:"",reactionAfterStopping:"",reactionAfterReintroduction:""};var l$=l(34155);let lO={name:"",surname:"",number:"",email:"",reporterCountry:"",qualification:"",initials:"",date:"",sex:"",ages:"",reporter:"",outcome:"",dateOfEnd:"",indicationOfSideEffects:"",choosenFamilyDoctor:"",country:"",description:"",dateOfOccurance:"",medicines:"",allergies:"",pregnantOrBreastfeeding:"",brandName:"",INN:"",pharmaceuticalForm:"",strength:"",nameOfManufacturer:"",batchNumber:"",dailyDose:"",routeOfAdministration:"",indicationOfUse:"",therapyDatesTo:"",therapyDatesFrom:"",therapyDuration:"",reactionAfterStopping:"",reactionAfterReintroduction:"",ageType:""};var lZ={src:"/_next/static/media/Icon awesome-user-solid.3af774cb.png"},lM=e=>{let{title:t,role:l,address:s,phone:n,fax:r,email:i,email2:o,email3:c,isActive:d}=e,{t:m}=(0,ec.$G)();return(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("div",{className:`${d?"flex":"hidden"} lg:flex-row flex-col md:flex-col md:justify-around mb-10`,children:[(0,a.jsxs)("div",{className:"w-1/3 lg:-ml-5 ",children:[(0,a.jsx)("h3",{className:"font-semibold mb-3 text-2xl",children:m("address")}),(0,a.jsx)("p",{className:"mb-6 md:mb-3 text-base",children:l}),s&&(0,a.jsx)("p",{className:`${s?"":"hidden"} w-60 text-alkLightBlue cursor-pointer text-base`,children:s})]}),(0,a.jsxs)("div",{className:" w-full md:w-1/2 lg:ml-20 md:mt-10 lg:mt-0 flex flex-col mt-8",children:[(0,a.jsx)("h3",{className:"font-semibold mb-3 text-2xl",children:m("contact")}),n&&(0,a.jsxs)("div",{className:"flex flex-row",children:[(0,a.jsx)("span",{className:"pr-4 flex-shrink-0",children:(0,a.jsx)("img",{src:lm.src,alt:"mail",className:"w-4 h-4  mt-1"})}),(0,a.jsx)("p",{className:"text-base text-alkLightBlack mb-4",children:n})]}),r&&(0,a.jsxs)("div",{className:"flex flex-row",children:[(0,a.jsx)("span",{className:"pr-4 flex-shrink-0",children:(0,a.jsx)("img",{src:ld.src,alt:"mail",className:"w-4 h-4  mt-1"})}),(0,a.jsx)("p",{className:"text-base text-alkLightBlack mb-4",children:r})]}),i&&(0,a.jsxs)("div",{className:"flex flex-row",children:[(0,a.jsx)("span",{className:"pr-4 flex-shrink-0",children:(0,a.jsx)("img",{src:lc.src,alt:"mail",className:"w-4 h-4  mt-1"})}),(0,a.jsx)("p",{className:"text-alkLightBlue ml-2 underline mb-3 cursor-pointer text-base",children:i})]}),o&&(0,a.jsxs)("div",{className:"flex flex-row",children:[(0,a.jsx)("span",{className:"pr-4 flex-shrink-0",children:(0,a.jsx)("img",{src:lc.src,alt:"mail",className:"w-4 h-4  mt-1"})}),(0,a.jsx)("p",{className:"text-alkLightBlue ml-2 underline mb-3 cursor-pointer text-base",children:o})]}),c&&(0,a.jsxs)("div",{className:"flex flex-row",children:[(0,a.jsx)("span",{className:"pr-4 flex-shrink-0",children:(0,a.jsx)("img",{src:lc.src,alt:"mail",className:"w-4 h-4  mt-1"})}),(0,a.jsx)("p",{className:"text-alkLightBlue ml-2 underline mb-3 cursor-pointer text-base",children:c})]}),t&&(0,a.jsxs)("div",{className:"flex flex-row",children:[(0,a.jsx)("span",{className:"pr-4 flex-shrink-0",children:(0,a.jsx)("img",{src:lZ.src,alt:"mail",className:"w-4 h-4  mt-1"})}),(0,a.jsx)("p",{className:"text-base text-alkLightBlack mb-4",children:t})]})]})]})})},lD=l(23522);let lq=function(){for(var e=arguments.length,t=Array(e),l=0;l<e;l++)t[l]=arguments[l];return t.filter(Boolean).join(" ")},lz={email:"",questionAndComments:""};var lH=l(22782),lW=l(45801),lG=e=>{let{page:t}
6=e,l=(0,c.useMemo)(()=>{let e=[];e.push({...t,link:`/${t.slug}`});let l=t.parent.data;for(;null!=l;)e.push({...l,title:l.attributes.title,link:`/${l.attributes.slug}`}),l=l.parent?.data;return e.reverse()},[t]);return(0,a.jsx)(lW.Z,{parents:l})},lQ=l(1785),lU=l.n(lQ),lV=l(31955),lJ=l(21709);let lY=e=>{let{data:t}=e,l=j.ou.fromISO(t.attributes.startDate),s=j.ou.fromISO(t.attributes.endDate);return(0,a.jsxs)("div",{className:"w-full md:flex mx-auto flex-col border-r-2 border-alkLightGrey mb-32 justify-between px-10",children:[(0,a.jsxs)("div",{className:"flex flex-col justify-start",children:[(0,a.jsx)("div",{className:"text-md text-alkLightBlack text-left mb-7",children:(0,a.jsx)("div",{className:"row-auto",children:(0,a.jsx)("div",{className:"text-alkLightBlack text-left ",children:(0,a.jsx)("div",{className:"row-auto",children:(0,a.jsxs)("div",{className:"w-full text-left",children:[(0,a.jsxs)("span",{className:"w-full text-md mb-[35px]",children:[(0,a.jsx)("span",{children:l.toFormat("d.M.yyyy").toLocaleString(j.ou.TIME_24_SIMPLE)}),"\xa0/\xa0"]}),(0,a.jsx)("span",{children:s.toFormat("d.M.yyyy").toLocaleString(j.ou.TIME_24_SIMPLE)}),"\xa0,\xa0",(0,a.jsx)("span",{children:l.setLocale("es-UY").toLocaleString(j.ou.TIME_24_SIMPLE)})]})})})})}),(0,a.jsx)("div",{className:"text-md text-alkLightBlack text-left mb-[35px]",children:(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"font-bold",children:"Тема:"}),(0,a.jsx)(f.Z,{className:"text-alkLightBlue",children:t.attributes.tema})]})}),(0,a.jsxs)("div",{className:"text-md text-alkLightBlack text-left mb-[35px]",children:[(0,a.jsx)("div",{className:"font-bold",children:" Терапевтска област:"}),(0,a.jsx)("div",{children:t.attributes.areas&&t.attributes.areas.data.map((e,t)=>(0,a.jsx)(f.Z,{children:e.attributes.title},t))})]}),(0,a.jsx)("hr",{className:"my-6 sm:hidden"}),(0,a.jsx)("div",{className:"text-md text-alkLightBlack text-left mb-[35px]",children:(0,a.jsx)("div",{children:(0,a.jsx)(f.Z,{children:t.attributes.description})})})]}),(0,a.jsx)("div",{className:"flex flex-row",children:t.attributes.action&&(0,a.jsx)(b.qJ,{data:t.attributes.action})})]})};b.rl.fields,b.rl.defaultItem,l(1469);var lK=l(13311),lX=l.n(lK),l0=l(63105),l1=l.n(l0),l2=l(75472),l4=l.n(l2),l3=l(9198),l5=l.n(l3);function l6(){for(var e=arguments.length,t=Array(e),l=0;l<e;l++)t[l]=arguments[l];return t.filter(Boolean).join(" ")}l(11734);let l8=e=>{let{data:t}=e,l=j.ou.fromISO(t.attributes.startDate),s=j.ou.fromISO(t.attributes.endDate);return(0,a.jsxs)("div",{className:"w-full md:flex mx-auto flex-col border-r-2 border-alkLightGrey mb-32 justify-between px-10",children:[(0,a.jsxs)("div",{className:"flex flex-col justify-start",children:[(0,a.jsx)("div",{className:"text-md text-alkLightBlack text-left mb-[35px]",children:(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"font-bold",children:"Тема:"}),(0,a.jsx)(f.Z,{className:"text-alkLightBlue",children:t.attributes.tema})]})}),(0,a.jsx)("hr",{className:"my-6 sm:hidden"}),(0,a.jsxs)("div",{className:"text-md text-alkLightBlack text-left mb-[35px]",children:[(0,a.jsx)("strong",{children:(0,a.jsx)("p",{children:"Предавач:"})}),(0,a.jsx)("span",{children:t.attributes.lecturer})]}),(0,a.jsxs)("div",{className:"text-md text-alkLightBlack text-left mb-[35px]",children:[(0,a.jsx)("strong",{children:(0,a.jsx)("p",{children:"Датум на започнување:"})}),(0,a.jsx)("span",{children:l.toFormat("d.M.yyyy").toLocaleString(j.ou.TIME_24_SIMPLE)})]}),(0,a.jsxs)("div",{className:"text-md text-alkLightBlack text-left mb-[35px]",children:[(0,a.jsx)("strong",{children:(0,a.jsx)("p",{children:"Краен датум на важност:"})}),(0,a.jsx)("span",{children:s.toFormat("d.M.yyyy").toLocaleString(j.ou.TIME_24_SIMPLE)})]}),(0,a.jsxs)("div",{className:"text-md text-alkLightBlack text-left mb-[35px]",children:[(0,a.jsx)("strong",{children:(0,a.jsx)("p",{children:"Бодови:"})}),(0,a.jsx)("span",{children:t.attributes.points})]}),(0,a.jsxs)("div",{className:"text-md text-alkLightBlack text-left mb-[35px]",children:[(0,a.jsx)("strong",{children:(0,a.jsx)("p",{children:"Статус:"})}),(0,a.jsx)("span",{children:t.attributes.status})]})]}),(0,a.jsx)("div",{className:"text-xs w-full h-full max-h-[100px] max-w-[180px] phone:text-sm md:text-base cursor-pointer duration-300 hover:text-alkLightBlue text-white font-semibold bg-gradient-to-r from-alkLightBlue to-alkPurple py-1 phone:py-3 px-4 phone:px-12 border-0 border-transparent roun
6ded-full",children:t.attributes.action&&(0,a.jsx)(b.qJ,{data:t.attributes.action})})]})};b.rl.fields,b.rl.defaultItem;var l9=l(17752);tg.ZP.use([tg.W_]);let l7={type:"similarP2pCard",label:"Similar p2p Card Block",defaultItem:{description:"Терапевтска област: Инфекции",read_article:"Read Article",newsType:"p2p",showImages:!0,link:"/",profileName:"",_template:"ComponentBlocksSimilarP2PCard"},fields:[{name:"link",label:"Link",component:"text"},{name:"description",label:"Description",component:"text"},{name:"readArticle",label:"Read Article",component:"text"},{name:"profileName",label:"Profile Name",component:"text"},{name:"featuredImage",label:"Featured Image",component:"image"},{name:"showImages",component:"toggle",label:"Show Images",description:"Toggle on if you want images to be shown.",toggleLabels:{true:"On",false:"Off"}},{component:"select",name:"newsType",label:"News Type",options:l9.Z},{name:"featuredNews",label:"Featured news",component:"list",field:{component:"page"}}]},ae={type:"singleSquare",label:"Single Squares",defaultItem:{_template:"ComponentComponentsSingleSquare",featuredImage:"Add image here",hasBackground:!1,hasInputField:!1,linkTo:"",title:"",textColor:"#fff",content:null,widthSpan:1,backgroundColor:"",adaptlink:null},fields:[{name:"title",label:"Title",component:"text"},{name:"content",label:"Content",component:"html2"},{name:"textColor",label:"Text Color",component:"text"},{name:"widthSpan",label:"Horizontal Span",component:"number"},{name:"hasBackground",component:"toggle",label:"Background Image",description:"Check to mark if the square should have an image as a background.",toggleLabels:{true:"On",false:"Off"}},{name:"featuredImage",description:"Only choose an image if the Background Image toggle is checked.",label:"Background",component:"image"},{name:"backgroundColor",label:"Background Color",component:"text",description:"Only choose an image if the Background Image toggle is NOT checked."},{name:"hasLink",component:"toggle",label:"Link",description:"Check to mark if the square should have a clickable link leading somewhere.",toggleLabels:{true:"On",false:"Off"}},{name:"linkLabel",label:"Link Label",component:"text",description:"Only fill this field if the Link toggle is checked."},{name:"linkTo",label:"Link To",component:"text",description:"Only fill this field if the Link toggle is checked."},{name:"hasInputField",component:"toggle",label:"Input Field",description:"Check to mark if the square should have an an input field.",toggleLabels:{true:"On",false:"Off"}},{name:"buttonLabel",label:"Input Button Label",component:"text",description:"Only fill this field if the Input Field toggle is checked."}]};var at={ComponentComponentsSingleSquare:{Component:e=>{let{index:t,data:l}=e,[s,n]=(0,c.useState)({}),{t:r}=(0,k.$)();return N.object({email:N.string().email(r("invalid_email")).required(r("required_input"))}),(0,c.useCallback)(async e=>{try{console.log(e.email)}catch(e){console.log(e)}finally{console.log("a")}},[]),(0,c.useEffect)(()=>{l.hasBackground?n({backgroundImage:`url(${(0,o.Z)(l.featuredImage)})`}):n({backgroundColor:l.backgroundColor})},[l.hasBackground]),(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("div",{style:s,className:`bg-center bg-cover bg-no-repeat h-80 col-span-1 ${2===l.widthSpan?"sm:col-span-2":3===l.widthSpan?"sm:col-span-3":"sm:col-span-1"}`,children:(0,a.jsxs)("div",{className:"flex flex-col items-start justify-between px-10 py-8 sm:px-12 sm:py-10 h-full",style:{color:`${l.textColor?l.textColor:"black"}`},children:[(0,a.jsx)("div",{className:`text-xl ${l.widthSpan>=2?"md:text-3xl":"md:text-2xl"} mb-6 uppercase`,children:(0,a.jsx)(f.Z,{children:l.title})}),(0,a.jsxs)("div",{className:"text-sm md:text-base mb-6",children:[(0,a.jsx)(f.Z,{children:l.content}),(0,a.jsx)("div",{className:`${l.hasLink?"flex":"hidden"}  flex-1 mt-4 lg:mt-10 xl:mt-4 text-sm leading-6 text-alkLightBlue underline justify-end `,children:(0,a.jsxs)(x.Z,{className:"",to:`/${l.linkTo}`,children:["",l.linkLabel]})})]}),l.hasInputField&&(0,a.jsx)("div",{className:"flex flex-row self-end justify-between w-full",children:l.linkTo&&(0,a.jsx)(I(),{href:l.linkTo,className:"text-sm md:text-base cursor-pointer text-white font-semibold bg-gradient-to-r from-alkLightBlue to-alkPurple py-2 px-6 border-0 border-transparent roun
6ded-full",children:l.buttonLabel})})]})})})},template:ae}},al=l(74688),aa={src:"/_next/static/media/Icon feather-download.a49b9807.svg"},as=l(70138),an=l(33566),ar=l(7300),ai=l(39205),ao={src:"/_next/static/media/tools_slider_shape.46bd771b.svg"};let ac={type:"slider item",label:"Slider Item",defaultItem:{title:"Insert Slider item Title here",content:"Some content here",_template:"ComponentComponentsPronetHeroItem"},fields:[{name:"title",label:"Title",component:"text"},{name:"content",label:"Content",component:"html2"},{name:"featuredImage",label:"Featured Image (1040 x 668 px)",component:"image"},{name:"mobileImage",label:"Mobile Image",component:"image"},{name:"actions",label:"Actions",component:"group-list",fields:b.rl.fields,defaultItem:b.rl.defaultItem}]},ad={type:"pronetHeroSlider",label:"ProNet Hero Slider",defaultItem:{pronetHomepageSlides:[],_template:"ComponentBlocksProNetHeroSlider"},fields:[{name:"pronetHomepageSlides",label:"Slides",component:"group-list",itemProps:e=>({key:e.name,label:e.title}),fields:ac.fields,defaultItem:ac.defaultItem}]};var am={src:"/_next/static/media/download-icon.134bf181.svg"},ax={src:"/_next/static/media/new-tab-icon-tools.aa157897.svg"},ap=e=>{let{disclaimer:t,image:l,title:s,tool:n,area:r,subarea:i,linkTo:c,cta:m,file:h,icon:u}=e;return(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("div",{className:"flex flex-row items-start mb-14",children:[(0,a.jsx)("img",{className:"flex-shrink mt-2 w-[75px] h-[75px] mr-4 sm:mr-0 sm:w-[136px] sm:h-[136px] object-cover",src:(0,o.Z)(l),alt:(0,p.Z)(l)}),(0,a.jsxs)("div",{className:"flex-shrink mx-[9px] sm:mx-[32px] w-auto sm:w-[480px] border-alkLightGrey border-b-2 break-word",children:[(0,a.jsx)("h3",{className:"text-lg sm:text-2xl  mb-[31px]",children:s}),(0,a.jsxs)("p",{className:"text-sm text-black mb-[3px]",children:["Алатка: ",(0,a.jsx)("span",{className:"font-bold text-black",children:n})]}),(0,a.jsxs)("p",{className:"text-sm text-black mb-[3px]",children:["Терапевтскa Област:"," ",(0,a.jsx)("span",{className:"font-bold text-black",children:r?.title})]}),(0,a.jsxs)(x.Z,{to:c,className:"flex flex-row items-center justify-start w-full",children:["download-icon"===u&&m&&(0,a.jsx)(d.Z,{src:am.src,className:"h-4 w-4 mr-4"}),"new-tab-icon"===u&&m&&(0,a.jsx)(d.Z,{src:ax.src,className:"h-4 w-4 mr-4"}),(0,a.jsx)("p",{className:"text-alkLightBlue underline cursor-pointer text-sm md:text-sm my-[25px]",children:m})]}),h&&(h.url?(0,a.jsxs)("a",{className:"flex items-center w-min min-w-max",target:"_blank",rel:"noreferrer",href:`https://cms.alkaloid.com.mk${h.url}`,children:[(0,a.jsx)(d.Z,{src:am.src,className:"h-4 w-4 mr-4"}),(0,a.jsx)("p",{className:"text-alkLightBlue underline cursor-pointer text-sm md:text-sm my-[25px]",children:"Линк до документ"})]}):(0,a.jsxs)("a",{className:"flex items-center w-min min-w-max",target:"_blank",rel:"noreferrer",href:`https://cms.alkaloid.com.mk${h.directory}/${h.filename}`,children:[(0,a.jsx)(d.Z,{src:am.src,className:"h-4 w-4 mr-4"}),(0,a.jsx)("p",{className:"text-alkLightBlue underline cursor-pointer text-sm md:text-sm my-[25px]",children:"Линк до документ"})]})),(0,a.jsx)("div",{children:(0,a.jsx)("a",{className:"text-alkLightBlue underline cursor-pointer text-sm md:text-sm my-[25px]",href:h&&(h.url?`https://cms.alkaloid.com.mk${h.url}`:`https://cms.alkaloid.com.mk${h.directory}/${h.filename}`),target:"_blank",rel:"noreferrer"})}),(0,a.jsx)("div",{className:"text-xs text-alkDarkGrey pb-2",children:(0,a.jsx)(f.Z,{children:t})})]})]})})};let ah=e=>{let{data:t}=e,l=(0,c.useMemo)(()=>{if(t&&t.attributes.regulatoryStatus)switch(t.attributes.regulatoryStatus.toUpperCase()){case"BRP":return"Лекот може да се издава и без лекарски рецепт";case"RP":return"Лекот може да се издава само со лекарски рецепт";case"H":case"Н":return"Лекот може да се издава само во здравствена институција"}return"tooltipMessage"},[t.attributes.regulatoryStatus]),s=(0,c.useMemo)(()=>{let e=0,l=t.attributes.medicineData.map((e,t)=>({...e}));for(let t=0;t<l.length;++t){let a=l[t].summaryReport||l[t].patientInstructions;a&&(-1!==e&&(l[e].rowspan=t-e),e=t)}return -1!==e&&e<l.length-1&&(l[e].rowspan=l.length-e),l},[t.attributes.medicineData]);return(0,a.jsxs)("div",{className:"lek w-full lg:w-2/3 md:w-10/12 flex mx-auto flex-col border-t mt
6-4 py-8 phoneSmall:px-4",children:[(0,a.jsx)("div",{className:"text-2xl xl:text-3xl pb-4 text-alkLightBlack text-left w-full mx-1",children:(0,a.jsx)(f.Z,{children:t.attributes.title})}),(0,a.jsxs)("div",{className:"lek-title-wrapper mx-1 flex lg:flex-row phoneSmall:flex-col",children:[(0,a.jsxs)("div",{className:"phoneSmall:text-base lg:text-lg text-alkOffBlack text-left phoneSmall:mb-2 lg:mb-2  phone:pl-0 font-extralight flex flex-row",children:[(0,a.jsx)("span",{className:"mr-2",children:"Генеричко име:"}),(0,a.jsx)("span",{className:"font-light",children:(0,a.jsx)(f.Z,{children:t.attributes.genericName&&t.attributes.genericName.toUpperCase()})})]}),(0,a.jsxs)("div",{className:"flex flex-row",children:[(0,a.jsx)("span",{className:"phoneSmall:hidden lg:block lg:text-xl text-alkOffBlack text-left lg:mb-2 lg:ml-2 font-extralight mr-2",children:"/"}),(0,a.jsx)("div",{className:"phoneSmall:text-base lg:text-lg text-alkOffBlack text-left phoneSmall:mb-2 lg:mb-2 phone:pl-0 font-extralight mr-2",children:"Терапевтска област:"}),(0,a.jsx)("div",{className:"phoneSmall:text-base lg:text-lg text-alkOffBlack text-left phoneSmall:mb-2 lg:mb-2 phone:pl-0 font-extralight",children:t.attributes.areas?.data&&t.attributes.areas.data.map((e,t)=>(0,a.jsx)("div",{className:"font-light",children:(0,a.jsx)(f.Z,{children:e.attributes.title.toUpperCase()})},t))})]}),(0,a.jsx)("span",{className:"phoneSmall:hidden lg:block lg:text-lg text-alkOffBlack text-left lg:mb-2 lg:ml-2 font-extralight mr-2",children:"/"}),(0,a.jsxs)("div",{className:"htmlEditor phoneSmall:text-base lg:text-lg text-alkOffBlack text-left phoneSmall:mb-2 lg:mb-5 phone:pl-0 font-extralight flex flex-row",children:[(0,a.jsx)("span",{className:"mr-2",children:"Регулаторен статус:"}),(0,a.jsx)("a",{title:l,className:"font-light",children:(0,a.jsx)(f.Z,{children:(t.attributes.regulatoryStatus||"").toUpperCase()})})]})]}),(0,a.jsxs)("table",{className:"table-auto",children:[(0,a.jsxs)("tr",{className:"medicine-tr ",children:[(0,a.jsx)("th",{className:" pt-3 pl-1 text-left font-extralight text-xs md:text-sm medicine-th-td",children:"Форма на лек:"}),(0,a.jsx)("th",{className:" pt-3 pl-1 text-left font-extralight text-xs md:text-sm medicine-th-td",children:"Јачина:"}),(0,a.jsx)("th",{className:" pt-3 pl-1 text-left font-extralight text-xs md:text-sm medicine-th-td",children:"Пакување:"}),t.attributes.medicineData.length&&(0,a.jsx)("th",{className:" pt-3 pl-1 text-left font-extralight text-xs md:text-sm medicine-th-td",children:"Документи:"})]}),s.map((e,t)=>(0,a.jsxs)("tr",{className:"medicine-tr",children:[(0,a.jsx)("td",{className:"medicine-th-td md:px-8 text-center  md:py-3 bg-alkLightGrey m-1 phoneSmall:px-2 phoneSmall:py-2 border-8 border-white text-sm md:text-base",children:e.pharmacyForm}),(0,a.jsx)("td",{className:"medicine-th-td md:px-8 text-center  md:py-3 bg-alkLightGrey m-1 phoneSmall:px-2 phoneSmall:py-2 border-8 border-white text-sm md:text-base",children:e.strength}),(0,a.jsx)("td",{className:"medicine-th-td md:px-8 text-center  md:py-3 bg-alkLightGrey m-1 phoneSmall:px-2 phoneSmall:py-2 border-8 border-white text-sm md:text-base",children:e.packaging}),(e.summaryReport||e.patientInstructions||0===t)&&(0,a.jsx)("td",{className:"medicine-th-td text-center bg-alkLightGrey m-1 phoneSmall:px-2 phoneSmall:py-2 border-8 border-white text-sm md:text-base",rowSpan:e.rowspan,children:(0,a.jsxs)("div",{className:"flex flex-col md:flex-row",children:[e.summaryReport?.data&&(0,a.jsx)(I(),{href:`https://cms.alkaloid.com.mk/${e.summaryReport.data.attributes.url}`,target:"_blank",className:"underline text-alkLightBlue mx-5 hover:text-alkPurple",children:"Збирен извештај"}),e.patientInstructions?.data&&(0,a.jsx)(I(),{href:`https://cms.alkaloid.com.mk/${e.patientInstructions.data.attributes.url}`,target:"_blank",className:"underline text-alkLightBlue mx-1 hover:text-alkPurple",children:"Упатство за пациент"})]})})]},t))]})]})};var au=l(30998),ag=l.n(au);let af=["А","Б","В","Г","Д","Ѓ","Е","Ж","З","Ѕ","И","Ј","К","Л","Љ","М","Н","Њ","О","П","Р","С","Т","Ќ","У","Ф","Х","Ц","Ч","Џ","Ш"],ab={А:"A",Б:"B",В:"V",Г:"G",Д:"D",Ѓ:"G",Е:"E",Ж:"Z",З:"Z",Ѕ:"Z",И:"I",Ј:"J",К:"K",Л:"L",Љ:"L",М:"M",Н:"N",Њ:"N",О:"O",П:"P",Р:"R",С:"S",Т:"T",Ќ:"K",У:"U",Ф:"F",Х:"H",Ц:"K",Ч:"C",Џ:"DZ",Ш:"S"},aj={A:"A",B:"Б",V:"В",G:"Г",D:"Д",G:"Ѓ",E:"Е",Z:"З",I:"И",J:"Ј",T:"Т",L:"Л",M:"М",N:"Н",O:"О",P:"П",R:"Р",S:"С",U:"У",F:"Ф",H:"Х",C:"К"},ay=(e,t)=>{let l=e.split("").map(e=>ab[e]||e).join(""),a=t.split("").map(e=>ab[e]||e).join("");return l.startsWith(a)};var aw=e=>{let{area:t,title:l,featuredImage:s,profileImage:n,profileName:r,linkTo:i}=e;return(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("div",{className:"flex flex-col sm:flex-row items-start justify-between mb-10 pb-10 border-b-2 border-alkOffGrey ",children:[(0,a.jsx)("div",{className:"",children:s&&(0,a.jsx)("img",{src:(0,o.Z)(s),className:" flex-shrink-0 object-cover object-center",alt:"news"})}),(0,a.jsxs)("div",{className:"flex flex-col justify-between w-full pt-2 phoneSmall:pl-2 phone:pl-4 phoneLarge:pl-6 sm:pl-8 sm:pt-0 md:pl-14 lg:pl-20",children:[(0,a.jsxs)("p",{className:"text-xs sm:text-sm leading-6 text-black",children:["Терапевтска област:"," ",t]}),(0,a.jsx)("p",{className:"text-sm sm:text-xl ",children:l}),(0,a.jsx)("p",{className:"flex flex-row text-xs sm:text-sm leading-6 mt-7 text-black",children:(0,a.jsxs)(a.Fragment,{children:[n&&(0,a.jsx)("img",{src:(0,o.Z)(n),className:"rounded-full object-center object-cover h-[40px] w-[40px]",alt:"news"}),(0,a.jsx)("p",{className:" float-right flex-1 text-xs sm:text-sm leading-6 mt-2 text-black",children:(0,a.jsx)("span",{className:"flex-1",children:r})})]})}),(0,a.jsx)(x.Z,{to:i,className:"underline pt-2 text-alkLightBlue text-xs sm:text-base",children:"Оди до статијата"})]})]})})};let av=e=>{let{currentPage:t,paginationSetPage:l,totalEntries:s,maxArticles:n}=e;return(0,a.jsx)("div",{className:"container mx-auto flex flex-row justify-end px-8 lg:px-0 py-10 md:py-24",children:(0,a.jsx)(lJ.Z,{currentPage:t,setPage:l,totalEntries:s,limit:n})})};var ak=l(89557);let aN={lat:42.00198,lng:21.4671};var a_={src:"/_next/static/media/calculator_plus.d0846595.png"},aC={src:"/_next/static/media/calculator_minus.3cbceacc.png"};l(13218),l(7334),l(57043);var aB=e=>{let{imgEvent:t,titleEvent:l,linkEvent:s,topicEvent:n,therapyareaEvent:r,therapysubareaEvent:i}=e;return(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("div",{className:"w-full flex flex-col md:w-full mb-12 flex-shrink-0 ",children:(0,a.jsxs)("div",{className:"flex flex-col  md:flex-row gap-5 w-full",children:[(0,a.jsx)("img",{className:"w-[300px] h-[200px]",src:t,alt:"/"}),(0,a.jsxs)("div",{className:"md:flex md:flex-col max-w-xl ",children:[(0,a.jsx)("p",{className:"lg:text-3xl text-xl mb-10 ",children:l}),(0,a.jsx)("p",{className:"py-2",children:n}),(0,a.jsx)("p",{className:"py-2",children:r}),(0,a.jsx)("p",{className:"py-2 mb-2",children:i}),(0,a.jsx)(x.Z,{className:" underline text-alkLightBlue",to:s,children:"Read Article"})]})]})})})};let aS={type:"events",label:"List of Events Pronet",defaultItem:{featuredEvents:[],_template:"ComponentBlocksListEvents"},fields:[{name:"featuredEvents",label:"Featured events",component:"list",field:{component:"page",category:"event"}}]};var aA={ComponentBlocksListEvents:{Component:e=>{let{data:t,index:l}=e;return(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("section",{className:"relative block ",children:(0,a.jsx)("div",{className:"container  relative flex m-auto ",style:{minHeight:420},children:(0,a.jsx)("div",{className:" relative top-10 w-full self
6-start ",children:(0,a.jsx)("div",{className:"flex-row gap-8",children:t.featuredEvents&&t.featuredEvents.map(e=>""===e?(0,a.jsx)(a.Fragment,{}):(0,a.jsx)(aB,{imgEvent:(0,o.Z)(e.featuredImage),titleEvent:e.title,topicEvent:e.event?.tema?e.event.tema:"",therapyareaEvent:e.event.areas[0].title},e.id))})})})})})},template:aS}},aL=e=>{let{title:t,image:l,link:s,cta:n,topic:r,therapyArea:i,therapySubarea:o}=e;return(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("div",{className:"w-full flex flex-col md:w-full mb-12 flex-shrink-0 ",children:(0,a.jsxs)("div",{className:"flex flex-col  md:flex-row gap-5 w-full",children:[(0,a.jsx)("img",{className:"w-[300px] h-[200px]",src:l,alt:"/"}),(0,a.jsxs)("div",{className:"md:flex md:flex-col max-w-xl border-b-2 pb-8",children:[(0,a.jsx)("p",{className:"lg:text-3xl text-xl mb-10 ",children:t}),(0,a.jsxs)("p",{className:"py-2",children:["Тема: ",(0,a.jsx)("strong",{children:r})]}),(0,a.jsxs)("p",{className:"py-2",children:["Терапевтска Област: ",(0,a.jsx)("strong",{children:i})]}),(0,a.jsxs)("p",{className:"py-2 mb-2",children:["Терапевтска Подобласт: ",(0,a.jsx)("strong",{children:o})]}),(0,a.jsx)(x.Z,{className:" underline text-alkLightBlue",to:s,children:n})]})]})})})};let aI={type:"articles",label:"List of Articles Pronet",defaultItem:{articlesPronet:[],_template:"ComponentBlocksArticleList"},fields:[{name:"articlesPronet",label:"Articles",component:"group-list",itemProps:e=>({key:e.name,label:e.title}),fields:[{name:"title",label:"Article Title",component:"text"},{name:"featuredImage",label:"Article Image",component:"image"},{name:"link",label:"Article Link",component:"text"},{name:"cta",label:"Call to Action",component:"text"},{name:"topic",label:"Article Topic",component:"text"},{name:"therapyArea",label:"Article Therapy Area",component:"text"},{name:"therapySubarea",label:"Article Therapy Subarea",component:"text"}],defaultItem:{title:"Insert Title Here",link:"#",topic:"",therapyArea:"",therapySubarea:""}}]};var aT={ComponentBlocksArticleList:{Component:e=>{let{data:t,index:l}=e;return(0,a.jsx)("section",{className:"relative block ",children:(0,a.jsx)("div",{className:"container  relative flex m-auto ",style:{minHeight:420},children:(0,a.jsx)("div",{className:" relative top-10 w-full self-start ",children:(0,a.jsx)("div",{className:"flex-row gap-8",children:t.articlesPronet&&t.articlesPronet.map(e=>""===e?(0,a.jsx)(a.Fragment,{}):(0,a.jsx)(aL,{image:(0,o.Z)(e.featuredImage),title:e.title,link:e.link,cta:e.cta,topic:e.topic,therapyArea:e.therapyArea,therapySubarea:e.therapySubarea},e.title+Math.random()))})})})})},template:aI}};let aR={type:"titledTabs",label:"Left Titled Tabs",defaultItem:{title:"Title",componentsPronet:[],_template:"ComponentBlocksLeftTabItem"},fields:[{name:"title",label:"Title",component:"text"},{name:"componentsPronet",label:"Components Pronet",component:"blocks",templates:{ComponentBlocksListEvents:aS,ComponentBlocksArticleList:aI}}]};var aF={ComponentBlocksLeftTabItem:{Component:e=>{let{index:t,data:l,activePage:s,...n}=e;return(0,a.jsx)("div",{className:s===t?"":"hidden",children:(0,a.jsx)(S.Z,{values:l.componentsPronet,blocks:{...aA,...aT},itemProps:{...n}})})},template:aR}};let aP={type:"leftTitledTabs",label:"LeftTitled Tabs",defaultItem:{name:"tabs",title:"Title",tabsJson:[aR.defaultItem],_template:"ComponentBlocksLeftTitledTab"},fields:[{name:"name",label:"Name",description:"To be used with queries ?{name}={tabIndex}",component:"text"},{name:"title",label:"Title",component:"text"},{name:"tabsJson",label:"Tabs",component:"group-list",itemProps:e=>({key:e.name,label:e.title}),fields:aR.fields,defaultItem:aR.defaultItem}]},aE=e=>{let{page:t}=e;return(0,a.jsx)("div",{className:"ml-5 my-1",children:""===t.attributes.redirect||null===t.attributes.redirect?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(x.Z,{to:`/${t.attributes.slug}`,children:t.attributes.title}),t?.attributes?.children?.data&&t?.attributes?.children?.data?.map(e=>a.jsx(aE,{page:e},e.id))]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(x.Z,{to:`${t.attributes.redirect}`,children:t.attributes.title}),t.attributes.children.data&&t.attributes.children.data.map(e=>(0,a.jsx)(aE,{page:e},e.id))]})})};var a$={src:"/_next/static/media/pronetNewsletter.e6a764df.png",height:80,width:114,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAGCAMAAADJ2y/JAAAAMFBMVEUAtuQ3VskLnuQCqu1KObsOl+ROMbcFpOpYJ7oheNYBqewuYspaHq8zWsZVJbFERMA4diH9AAAAEHRSTlMBcB81GGx2YQ1vfjEzLWAtxUM88QAAAAlwS
6FlzAAALEwAACxMBAJqcGAAAAC9JREFUeJw1yskRACAIALEFQfDuv1vHh++EKtK8K9jEVilgu8pQD5JjaEACPPr5AhgCANBj9xJYAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:6};let aO=["Хирург","Гинеколог","Дерматовенеролог","Општ интернист","Интернист-гастроентерохепатолог","Интернист-кардиолог","Интернист-дијабетолог","Интернист-ендокринолог","Интернист-нефролог","Интернист-пулмолог","Интернист-ревматолог","Интернист-токсиколог","Кардиолог","Пнеумофтизиолог","ОРЛ","Инфектолог","Општ доктор","Микробиолог","Невролог","Хематолог","Психијатар","Ортопед","Физијатар","Педијатар","Офталмолог","Трансфузиолог","Уролог","ниедно"],aZ=["Настани/Вебинари","Офталмологија","Инфекции","Гастроентерохепатологија","Психијатрија","Пулмо-алергологија","Неврологија","Дерматовенерологија","Кардиологија","Настинка и грип","Хематологија и Онкологија","Витамини, минерали и додатоци на исхрана","Гинекологија","Педијатрија","Урологија","Производи","Болка","Зависности/Адиктологија","Ендокринологија и Метаболизам","ОРЛ"],aM={name:"",surname:"",sex:"",email:"",password:"",profile:"",city:"",licenseNumber:"",fieldOfWork:"",interests:{},rememberMe:!0,newsletter:!1,marketing:!1,agreement:!1};for(let e=0;e<aZ.length;++e)aM.interests[aZ[e]]=!1;let aD={password:"",email:"",rememberMe:""},aq={name:"",email:"",fieldOfWork:"",city:"",dateOfBirth:"",sex:"",licence:"",message:""},az={message:""};var aH=l(57775),aW=l(38853);let aG=e=>(0,a.jsx)("section",{className:"w-full h-full  mx-auto",children:(0,a.jsxs)("div",{className:"question h-full bg-white p-10",children:[(0,a.jsxs)("div",{className:"text-lg font-bold",children:["Прашање ",e.count+1," :"]}),(0,a.jsx)("div",{className:" text-lg md:text-[22px] font-normal flex mt-3 mb-10",children:decodeURIComponent(e.question||"Finish!")}),(0,a.jsx)("div",{className:"w-full flex flex-col  gap-5 text-lg md:text-[22px]",children:(0,a.jsx)(v.J9,{initialValues:{picked:""},onSubmit:async t=>{await new Promise(e=>setTimeout(e,500)),console.log(t.picked.slice(0)),e.sendAns(t.picked)},children:t=>{let{values:l}=t;return(0,a.jsxs)(v.l0,{children:[(0,a.jsxs)("div",{role:"group","aria-labelledby":"my-radio-group",className:"flex flex-col gap-5 text-lg md:text-[22px] md:px-16",children:[(0,a.jsx)("div",{children:(0,a.jsxs)("label",{children:[(0,a.jsx)(v.gN,{type:"radio",name:"picked",value:`${e.firstAnswer}`})," ",e.firstAnswer]})}),(0,a.jsx)("div",{children:(0,a.jsxs)("label",{children:[(0,a.jsx)(v.gN,{type:"radio",name:"picked",value:`${e.secondAnswer}`})," ",e.secondAnswer]})}),(0,a.jsx)("div",{className:`${e.thirdAnswer?.toString()===""?"hidden ":""}`,children:(0,a.jsxs)("label",{children:[(0,a.jsx)(v.gN,{type:"radio",name:"picked",value:`${e.thirdAnswer}`})," ",e.thirdAnswer]})}),(0,a.jsx)("div",{className:`${e.fourthAnswer?.toString()===""?"hidden ":""}`,children:(0,a.jsxs)("label",{children:[(0,a.jsx)(v.gN,{type:"radio",name:"picked",value:`${e.fourthAnswer}`})," ",e.fourthAnswer]})}),(0,a.jsx)("div",{className:`${e.sixthAnswer?.toString()===""?"hidden ":""}`,children:(0,a.jsxs)("label",{children:[(0,a.jsx)(v.gN,{type:"radio",name:"picked",value:`${e.sixthAnswer}`})," ",e.sixthAnswer]})}),(0,a.jsx)("div",{className:`${e.sixthAnswer?.toString()===""?"hidden ":""}`,children:(0,a.jsxs)("label",{children:[(0,a.jsx)(v.gN,{type:"radio",name:"picked",value:`${e.sixthAnswer}`})," ",e.sixthAnswer]})})]}),(0,a.jsx)("div",{className:"flex justify-end pt-5 md:px-0",children:(0,a.jsx)("button",{className:"text-base cursor-pointer text-white font-semibold bg-gradient-to-r from-alkLightBlue to-alkPurple py-3 px-12 border-0 border-transparent roun
6ded-full hover:text-alkLightBlue focus:text-alkLightBlue",type:"submit",children:"Следно"})})]})}})})]})}),aQ=e=>{let t=100/e.maxscore*e.score;return console.log(t),(0,a.jsx)("section",{className:"w-full h-full  mx-auto",children:(0,a.jsx)("div",{className:"question  bg-white p-10 flex justify-center",children:(0,a.jsxs)("div",{className:"flex flex-col gap-5",children:[t<70&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:" text-center items-center self-center justify-center",children:(0,a.jsx)(d.Z,{src:aW.Z.src})}),(0,a.jsx)("div",{className:" text-lg md:text-[24px] mb-10  text-center text-black",children:"За жал, не го исполнувате условот за сертификат."}),(0,a.jsxs)("div",{className:"text-lg md:text-[24px] text-center mb-5",children:["Одговоривте ",e.score," од ",e.maxscore," прашања точно."," ",(0,a.jsx)("br",{}),(0,a.jsx)("p",{className:"text-[20px]",children:" "})]}),(0,a.jsx)("div",{className:"items-center mb-28 justify-center text-center flex self-center",children:(0,a.jsx)("button",{className:"text-base cursor-pointer text-white font-semibold bg-gradient-to-r from-alkLightBlue to-alkPurple py-3 px-5 border-0 border-transparent rounded-full hover:text-alkLightBlue focus:text-alkLightBlue",children:(0,a.jsx)("a",{href:"/site-akreditirani-predavanja",children:"Назад до предавањата"})})})]}),t>=70&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:" text-center items-center self-center justify-center",children:(0,a.jsx)(d.Z,{src:aH.Z.src})}),(0,a.jsx)("div",{className:" text-lg md:text-[24px]  font-bold  text-center text-black",children:"Честитки!"}),(0,a.jsxs)("div",{className:" text-lg md:text-[24px] mb-10  text-center text-black",children:["Ги исполнивте условите за да се здобиете со сертификат. ",(0,a.jsx)("br",{}),"Одговоривте ",e.score," од ",e.maxscore," прашања точно."," "]}),(0,a.jsx)("div",{className:"items-center mb-28 justify-center text-center flex self-center",children:(0,a.jsx)("button",{className:"text-base cursor-pointer text-white font-semibold bg-gradient-to-r from-alkLightBlue to-alkPurple py-3 px-12 border-0 border-transparent rounded-full hover:text-alkLightBlue focus:text-alkLightBlue",children:(0,a.jsxs)("a",{target:"_blank",href:"https://alkaloid.com.mk/uploads/202303031300_75e6a241c3.pdf?updated_at=2023-03-03T15:00:30.946Z",children:["Преземи сертификат"," "]})})})]})]})})})},aU=["Хирург","Гинеколог","Дерматовенеролог","Општ интернист","Интернист-гастроентерохепатолог","Интернист-кардиолог","Интернист-дијабетолог","Интернист-ендокринолог","Интернист-нефролог","Интернист-пулмолог","Интернист-ревматолог","Интернист-токсиколог","Кардиолог","Пнеумофтизиолог","ОРЛ","Инфектолог","Општ доктор","Микробиолог","Невролог","Хематолог","Психијатар","Ортопед","Физијатар","Педијатар","Офталмолог","Трансфузиолог","Уролог","ниедно"],aV=["Настани/Вебинари","Офталмологија","Инфекции","Гастроентерохепатологија","Психијатрија","Пулмо-алергологија","Неврологија","Дерматовенерологија","Кардиологија","Настинка и грип","Хематологија и Онкологија","Витамини, минерали и додатоци на исхрана","Гинекологија","Педијатрија","Урологија","Производи","Болка","Зависности/Адиктологија","Ендокринологија и Метаболизам","ОРЛ"],aJ={name:"",surname:"",email:"",fieldOfWork:"",city:"",sex:"",licenseNumber:"",message:"",password:"",oldPassword:"",newPassword:"",repeatPassword:"",profile:"",interests:{},rememberMe:!1,newsletter:!0,marketing:!1};for(let e=0;e<aV.length;++e)aJ.interests[aV[e]]=!1;let aY={message:""},aK={email:"",kod:""},aX={password:"",passwordConfirmation:""};var a0=l(34155);let a1={name:"",surname:"",number:"",email:"",reporterCountry:"",qualification:"",initials:"",date:"",sex:"",ages:"",reporter:"",outcome:"",dateOfEnd:"",indicationOfSideEffects:"",choosenFamilyD
6octor:"",country:"",description:"",dateOfOccurance:"",medicines:"",allergies:"",pregnantOrBreastfeeding:"",brandName:"",INN:"",pharmaceuticalForm:"",strength:"",nameOfManufacturer:"",batchNumber:"",dailyDose:"",routeOfAdministration:"",indicationOfUse:"",therapyDatesTo:"",therapyDatesFrom:"",therapyDuration:"",reactionAfterStopping:"",reactionAfterReintroduction:"",ageType:""},a2=e=>(0,a.jsx)("section",{className:"w-full h-full  mx-auto",children:(0,a.jsxs)("div",{className:"question h-full bg-white p-10",children:[(0,a.jsxs)("div",{className:"text-lg font-bold",children:["Прашање ",e.count+1," :"]}),(0,a.jsx)("div",{className:" text-lg md:text-[22px] font-normal flex mt-3 mb-10",children:decodeURIComponent(e.question||"Finish!")}),(0,a.jsx)("div",{className:"w-full flex flex-col  gap-5 text-lg md:text-[22px]",children:(0,a.jsx)(v.J9,{initialValues:{picked:""},onSubmit:async t=>{await new Promise(e=>setTimeout(e,500)),console.log(t.picked.slice(0)),e.sendAns(t.picked)},children:t=>{let{values:l}=t;return(0,a.jsxs)(v.l0,{children:[(0,a.jsxs)("div",{role:"group","aria-labelledby":"my-radio-group",className:"flex flex-col gap-5 text-lg md:text-[22px] md:px-16",children:[(0,a.jsx)("div",{children:(0,a.jsxs)("label",{children:[(0,a.jsx)(v.gN,{type:"radio",name:"picked",value:`${e.firstAnswer}`})," ",e.firstAnswer]})}),(0,a.jsx)("div",{children:(0,a.jsxs)("label",{children:[(0,a.jsx)(v.gN,{type:"radio",name:"picked",value:`${e.secondAnswer}`})," ",e.secondAnswer]})}),(0,a.jsx)("div",{className:`${e.thirdAnswer?.toString()===""?"hidden ":""}`,children:(0,a.jsxs)("label",{children:[(0,a.jsx)(v.gN,{type:"radio",name:"picked",value:`${e.thirdAnswer}`})," ",e.thirdAnswer]})}),(0,a.jsx)("div",{className:`${e.fourthAnswer?.toString()===""?"hidden ":""}`,children:(0,a.jsxs)("label",{children:[(0,a.jsx)(v.gN,{type:"radio",name:"picked",value:`${e.fourthAnswer}`})," ",e.fourthAnswer]})}),(0,a.jsx)("div",{className:`${e.sixthAnswer?.toString()===""?"hidden ":""}`,children:(0,a.jsxs)("label",{children:[(0,a.jsx)(v.gN,{type:"radio",name:"picked",value:`${e.sixthAnswer}`})," ",e.sixthAnswer]})}),(0,a.jsx)("div",{className:`${e.sixthAnswer?.toString()===""?"hidden ":""}`,children:(0,a.jsxs)("label",{children:[(0,a.jsx)(v.gN,{type:"radio",name:"picked",value:`${e.sixthAnswer}`})," ",e.sixthAnswer]})})]}),(0,a.jsx)("div",{className:"flex justify-end pt-5 md:px-0",children:(0,a.jsx)("button",{className:"text-base cursor-pointer text-white font-semibold bg-gradient-to-r from-alkLightBlue to-alkPurple py-3 px-12 border-0 border-transparent rounded-full hover:text-alkLightBlue focus:text-alkLightBlue",type:"submit",children:"Следно"})})]})}})})]})}),a4=e=>{let t=100/e.maxscore*e.score;return console.log(t),(0,a.jsx)("section",{className:"w-full h-full  mx-auto",children:(0,a.jsx)("div",{className:"question  bg-white p-10 flex justify-center",children:(0,a.jsxs)("div",{className:"flex flex-col gap-5",children:[t<70&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:" text-center items-center self-center justify-center",children:(0,a.jsx)(d.Z,{src:aW.Z.src})}),(0,a.jsx)("div",{className:" text-lg md:text-[24px] mb-10  text-center text-black",children:"За жал, не го исполнувате условот за сертификат."}),(0,a.jsxs)("div",{className:"text-lg md:text-[24px] text-center mb-5",children:["Одговоривте ",e.score," од ",e.maxscore," прашања точно."," ",(0,a.jsx)("br",{}),(0,a.jsx)("p",{className:"text-[20px]",children:" "})]}),(0,a.jsx)("div",{className:"items-center mb-28 justify-center text-center flex self-center",children:(0,a.jsx)("button",{className:"text-base cursor-pointer text-white font-semibold bg-gradient-to-r from-alkLightBlue to-alkPurple py-3 px-5 border-0 border-transparent rounded-full hover:text-alkLightBlue focus:text-alkLightBlue",children:(0,a.jsx)("a",{href:"/site-akreditirani-predavanja",children:"Назад до предавањата"})})})]}),t>=70&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:" text-center items-center self-center justify-center",children:(0,a.jsx)(d.Z,{src:aH.Z.src})}),(0,a.jsx)("div",{className:" text-lg md:text-[24px]  font-bold  text-center text-black",children:"Честитки!"}),(0,a.jsxs)("div",{className:" text-lg md:text-[24px] mb-10  text-center text-black",children:["Ги исполнивте условите за да се здобиете со сертификат. ",(0,a.jsx)("br",{}),"Одговоривте ",e.score," од ",e.maxscore," прашања точно."," "]}),(0,a.jsx)("div",{className:"items-center mb-28 justify-center text-center flex self-center",children:(0,a.jsx)("button",{className:"text-base cursor-pointer text-white font-semibold bg-gradient-to-r from-alkLightBlue to-alkPurple py-3 px-12 border-0 border-transparent roun
6ded-full hover:text-alkLightBlue focus:text-alkLightBlue",children:(0,a.jsxs)("a",{target:"_blank",href:"https://alkaloid.com.mk/uploads/202303031300_75e6a241c3.pdf?updated_at=2023-03-03T15:00:30.946Z",children:["Преземи сертификат"," "]})})})]})]})})})},a3=()=>{let[e,t]=(0,c.useState)(1200);return(0,c.useEffect)(()=>{t(window.innerWidth),t(window.innerWidth);let e=()=>t(window.innerWidth);return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),e};var a5=l(51005);let a6={mk:[{label:"Времеплов",href:"/istorija-na-kompanijata"},{label:"Гласот на вработените",href:"/glasot-na-vrabotenite"}],en:[{label:"Timeline",href:"/company-history"},{label:"Voice of the Employees",href:"/the-voice-of-our-employees"}]},a8=["mk","en"],a9={mk:"/90-godini",en:"/90-years"},a7=e=>({background:"#232A4F",borderRadius:e,boxShadow:"0 4px 24px rgba(0,0,0,0.2)"}),se=e=>({background:"rgba(255, 255, 255, 0.25)",backdropFilter:"blur(12px)",WebkitBackdropFilter:"blur(12px)",borderRadius:e,border:"1px solid rgba(255,255,255,0.1)",boxShadow:"0 4px 24px rgba(0,0,0,0.3)"}),st=e=>{let{label:t,fontSize:l,lineHeight:s="normal",active:n=!1,style:r}=e,[i,o]=(0,c.useState)(!1),d=n||i;return(0,a.jsx)("span",{style:{fontFamily:"Montserrat, sans-serif",fontWeight:500,fontSize:l,lineHeight:s,letterSpacing:"-0.05em",color:d?"#00AEEF":"#fff",whiteSpace:"nowrap",opacity:d?1:.9,cursor:"pointer",transition:"color 0.2s ease",...r},onMouseEnter:()=>o(!0),onMouseLeave:()=>o(!1),children:t})},sl=e=>{let{open:t}=e;return(0,a.jsxs)("svg",{width:18,height:14,viewBox:"0 0 18 14",fill:"none",children:[(0,a.jsx)("line",{x1:"0",y1:"1",x2:"18",y2:"1",stroke:"#232A4F",strokeWidth:2,strokeLinecap:"round",style:{transformOrigin:"9px 1px",transition:"transform 0.2s ease, opacity 0.2s ease",transform:t?"translateY(6px) rotate(45deg)":"none"}}),(0,a.jsx)("line",{x1:"0",y1:"7",x2:"18",y2:"7",stroke:"#232A4F",strokeWidth:2,strokeLinecap:"round",style:{transition:"opacity 0.15s ease",opacity:t?0:1}}),(0,a.jsx)("line",{x1:"0",y1:"13",x2:"18",y2:"13",stroke:"#232A4F",strokeWidth:2,strokeLinecap:"round",style:{transformOrigin:"9px 13px",transition:"transform 0.2s ease, opacity 0.2s ease",transform:t?"translateY(-6px) rotate(-45deg)":"none"}})]})},sa=e=>{let{locale:t,localizations:l,fontSize:s,lineHeight:n}=e,r=e=>{let t=l.find(t=>(t.locale||t.attributes?.locale)===e),a=t&&(t.slug||t.attributes?.slug);return a?`/${a}`:a9[e]};return(0,a.jsx)("div",{style:{display:"flex",alignItems:"center",gap:12},children:a8.map((e,l)=>(0,a.jsxs)(c.Fragment,{children:[(0,a.jsx)(x.Z,{to:r(e),lang:e,children:(0,a.jsx)(st,{label:e.toUpperCase(),fontSize:s,lineHeight:n,active:e===t})}),l<a8.length-1&&(0,a.jsx)("span",{style:{color:"#fff",opacity:.4,fontSize:s},children:"|"})]},e))})};var ss=e=>{let{variant:t="solid",mobileTop:l}=e,s=(0,g.useRouter)(),n=(0,a5.R7)(),r=a6[s.locale]||a6.mk,i=function(){let[e,t]=(0,c.useState)(1440);return(0,c.useEffect)(()=>{t(window.innerWidth);let e=()=>t(window.innerWidth);return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),e}(),o=i<640,d=i>=640&&i<1024,[m,p]=(0,c.useState)(!1),h=(0,c.useRef)(null),u="glass"===t?se:a7,f=o?10:15,b=o?15:d?13:"clamp(12px, 1.1vw, 16px)",j=o?"normal":d?"normal":"38px",y=o?l??60:d?60:94,w=o?8:0;return(0,c.useEffect)(()=>{if(!o||!m)return;let e=e=>{h.current&&!h.current.contains(e.target)&&p(!1)};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[o,m]),(0,c.useEffect)(()=>{o||p(!1)},[o]),(0,a.jsx)("div",{style:{position:"absolute",top:y,left:0,right:0,zIndex:100,display:"flex",justifyContent:o?"flex-end":"center",alignItems:"center",gap:12,pointerEvents:"none",padding:o?"0 24px":`0 ${w}px`,boxSizing:"border-box"},children:o?(0,a.jsxs)("div",{ref:h,style:{position:"relative",pointerEvents:"all"},children:[(0,a.jsx)("button",{onClick:()=>p(e=>!e),"aria-label":m?"Close menu":"Open menu","aria-expanded":m,style:{background:"#fff",borderRadius:f,boxShadow:"0 4px 24px rgba(0,0,0,0.2)",border:"none",cursor:"pointer",width:44,height:44,display:"flex",alignItems:"center",justifyContent:"center",padding:0},children:(0,a.jsx)(sl,{open:m})}),m&&(0,a.jsxs)("div",{style:{position:"absolute",top:"calc(100% + 10px)",right:0,minWidth:240,...u(15),padding:10,display:"flex",flexDirection:"column",gap:2,boxSizing:"border-box"},children:[r.map(e=>(0,a.jsx)(x.Z,{to:e.href,children:(0,a.jsx)("div",{onClick:()=>p(!1),style:{padding:"12px 14px"},children:(0,a.jsx)(st,{label:e.label,fontSize:b,lineHeight:j})})},e.label)),(0,a.jsx)(x.Z,{to:"https://alkaloid.com.mk",target:"_blank",children:(0,a.jsx)("div",{onClick:()=>p(!1),style:{padding:"12px 14px"},children:(0,a.jsx)(st,{label:"alkaloid.com.mk",fontSize:b,lineHeight:j})})}),(0,a.jsx)("div",{style:{height:1,background:"rgba(255,255,255,0.15)",margin:"6px 14px"}}),(0,a.jsx)("div",{style:{padding:"10px 14px"},children:(0,a.jsx)(sa,{locale:s.locale,localizations:n,fontSize:b,lineHeight:j})})]})]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("nav",{style:{...u(f),pointerEvents:"all",padding:d?"10px 32px":"2px 40px",display:"flex",alignItems:"center",gap:d?24:50,width:"auto",justifyContent:"center",boxSizing:"border-box"},children:[r.map(e=>(0,a.jsx)(x.Z,{to:e.href,children:(0,a.jsx)(st,{label:e.label,fontSize:b,lineHeight:j})},e.label)),(0,a.jsx)("div",{style:{marginLeft:8},children:(0,a.jsx)(sa,{locale:s.locale,localizations:n,fontSize:b,lineHeight:j})})]}),(0,a.jsx)(x.Z,{to:"https://alkaloid.com.mk",target:"_blank",children:(0,a.jsx)("div",{style:{...u(f),pointerEvents:"all",padding:d?"10px 24px":"2px 24px",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0},children:(0,a.jsx)(st,{label:"alkaloid.com.mk",fontSize:b,lineHeight:j})})})]})})};let sn={mk:"/assets/90-god-alkaloid.webp",en:"/assets/90-god-alkaloid-en.svg"},sr={mk:155,en:124},si=()=>(0,a.jsx)("style",{children:`
7    @keyframes heroFadeUp {
8      from { opacity: 0; transform: translateY(28px); }
9      to   { opacity: 1; transform: translateY(0); }
10    }
11    @keyframes heroFadeIn {
12      from { opacity: 0; }
13      to   { opacity: 1; }
14    }
15    @keyframes heroSlideRight {
16      from { opacity: 0; transform: translateX(-32px); }
17      to   { opacity: 1; transform: translateX(0); }
18    }
19  `}),so=e=>{let{label:t,link:l,newTab:s,style:n}=e;return t&&l?(0,a.jsx)(x.Z,{to:l,target:s?"_blank":"_self",children:(0,a.jsxs)("div",{style:{display:"inline-flex",alignItems:"center",gap:10,background:"linear-gradient(90deg, #5F1AAE 4.9%, #00AEEF 100%)",borderRadius:50,padding:"12px 20px",cursor:"pointer",...n},children:[(0,a.jsx)("span",{style:{fontFamily:"Montserrat, sans-serif",fontWeight:600,fontSize:16,color:"#fff",whiteSpace:"nowrap"},children:t}),(0,a.jsx)("svg",{width:10,height:18,viewBox:"0 0 14 26",fill:"none",children:(0,a.jsx)("path",{d:"M2 2L12 13L2 24",stroke:"white",strokeWidth:3,strokeLinecap:"round",strokeLinejoin:"round"})})]})}):null},sc={backgroundImage:"url(/assets/hero-sekcija.webp)",backgroundSize:"cover",backgroundPosition:"center"},sd=()=>(0,a.jsx)("img",{src:"/assets/90-god-hero-bg.png",alt:"",fetchPriority:"high",ref:e=>{e?.complete&&e.naturalWidth>0&&(e.style.opacity=1)},onLoad:e=>{e.currentTarget.style.opacity=1},style:{position:"absolute",inset:0,width:"100%",height:"100%",objectFit:"cover",pointerEvents:"none",opacity:0}}),sm=e=>void 0===e.heroHtml?"/assets/Alkaloid \xb7 90 years — the story, layer by layer.html":e.heroHtml,sx=e=>{let{data:t,style:l}=e;return sm(t)?(0,a.jsx)("iframe",{src:sm(t),title:"","aria-hidden":"true",scrolling:"no",style:{width:"100%",height:"100%",border:"none",background:"transparent",colorScheme:"light",...l}}):t.heroVideo?(0,a.jsx)("video",{autoPlay:!0,muted:!0,loop:!0,playsInline:!0,preload:"metadata",poster:"/assets/90-god-hero-collage.webp",src:t.heroVideo,style:{width:"100%",height:"100%",objectFit:"cover",...l}}):(0,a.jsx)("img",{src:"/assets/90-god-hero-collage.webp",alt:"",fetchPriority:"high",ref:e=>{e?.complete&&e.naturalWidth>0&&(e.style.opacity=1)},onLoad:e=>{e.currentTarget.style.opacity=1},style:{width:"100%",height:"100%",objectFit:"contain",display:"block",opacity:0,...l}})},sp=e=>{let{data:t,replayKey:l}=e,s=(0,c.useRef)(null),[n,r]=(0,c.useState)(0);(0,c.useEffect)(()=>{let e=s.current;if(!e)return;let t=()=>{let{width:t}=e.getBoundingClientRect();t>0&&r(t/700)};return t(),window.addEventListener("resize",t),()=>window.removeEventListener("resize",t)},[]);let i=sm(t),o={...t,heroHtml:`${i}${i.includes("?")?"&":"?"}mobile=1`};return(0,a.jsx)("div",{ref:s,style:{position:"relative",width:"100%",height:"100%",overflow:"hidden"},children:n>0&&(0,a.jsx)(sx,{data:o,style:{width:700,height:700,position:"absolute",top:0,left:0,transformOrigin:"top left",transform:`scale(${n}) translateX(-84px)`}},l)})};function sh(){let e=(0,c.useRef)(null),[t,l]=(0,c.useState)(0);return(0,c.useEffect)(()=>{let t=e.current;if(!t)return;let a=new IntersectionObserver(e=>{let[t]=e;t?.isIntersecting&&l(e=>e+1)},{threshold:.3});return a.observe(t),()=>a.disconnect()},[]),{ref:e,replayKey:t}}let su=function(e,t){let l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"0.75s";return{animation:`${e} ${l} cubic-bezier(0.22,1,0.36,1) both`,animationDelay:t}},sg=e=>{let{data:t}=e,l=(0,g.useRouter)(),s=sn[l.locale]||sn.mk,n=sr[l.locale]||sr.mk,{ref:r,replayKey:i}=sh();return(0,a.jsxs)("div",{ref:r,style:{minHeight:"auto",background:"#F7F6F7",position:"relative",overflow:"hidden",display:"flex",flexDirection:"column",padding:"60px 28px 40px",boxSizing:"border-box"},children:[(0,a.jsx)(si,{}),(0,a.jsx)(ss,{mobileTop:75}),(0,a.jsx)(sd,{}),(0,a.jsx)("div",{style:{position:"relative",zIndex:2,marginTop:"mk"===l.locale?-20:0,...su("heroFadeIn","0.1s")},children:(0,a.jsx)("img",{src:s,alt:"",style:{height:n,width:"auto",maxWidth:190,objectFit:"contain",display:"block"}})}),sm(t)?(0,a.jsx)("div",{style:{position:"relative",zIndex:2,width:"calc(100% + 24px)",maxWidth:380,alignSelf:"center",aspectRatio:"1 / 1",margin:"10px 0 28px",overflow:"hidden",...su("heroFadeIn","0.2s","1s")},children:(0,a.jsx)(sp,{data:t,replayKey:i})}):(0,a.jsx)("div",{style:{position:"relative",zIndex:2,width:"88%",maxWidth:340,alignSelf:"center",margin:"14px 0 28px",background:"#fff",borderRadius:16,overflow:"hidden",...su("heroF
19adeIn","0.2s","1s")},children:(0,a.jsx)(sx,{data:{...t,heroVideo:t.mobileVideo||t.heroVideo},style:{width:"100%",height:"auto",display:"block",backgroundColor:"#fff",objectFit:"contain"}})}),(0,a.jsxs)("div",{style:{position:"relative",zIndex:2,color:"#023F88"},children:[t.title&&(0,a.jsx)("p",{style:{fontFamily:"Montserrat, sans-serif",fontWeight:800,fontSize:34,lineHeight:1.2,textTransform:"uppercase",margin:0,whiteSpace:"pre-line",...su("heroFadeUp","0.35s")},children:t.title}),t.subtitle&&(0,a.jsx)("p",{style:{fontFamily:"Montserrat, sans-serif",fontWeight:400,fontSize:16,lineHeight:"24px",margin:"20px 0 0",...su("heroFadeUp","0.5s")},children:t.subtitle}),(0,a.jsx)("div",{style:su("heroFadeUp","0.65s"),children:(0,a.jsx)(so,{label:t.buttonLabel,link:t.buttonLink,newTab:t.buttonNewTab,style:{marginTop:24}})})]})]})},sf=e=>{let{data:t,isDesktop:l}=e,s=(0,g.useRouter)(),n=sn[s.locale]||sn.mk,{ref:r,replayKey:i}=sh();return(0,a.jsxs)("div",{ref:r,style:{minHeight:"100vh",...sc,position:"relative",overflow:"hidden",display:"flex",alignItems:"center",padding:l?"clamp(60px, 6vw, 100px) clamp(60px, 8vw, 160px)":"clamp(40px, 5vw, 80px) clamp(40px, 6vw, 80px)",boxSizing:"border-box"},children:[(0,a.jsx)(si,{}),(0,a.jsx)(ss,{}),(0,a.jsx)(sd,{}),sm(t)&&(0,a.jsx)("div",{style:{position:"absolute",inset:0,zIndex:0,...su("heroFadeIn","0.3s","1s")},children:(0,a.jsx)(sx,{data:t},i)}),(0,a.jsx)("img",{src:n,alt:"",style:{position:"absolute",top:50,left:l?"clamp(60px, 8vw, 160px)":"clamp(40px, 6vw, 80px)",width:l?"clamp(130px, 12vw, 189px)":"clamp(90px, 12vw, 140px)",height:"auto",objectFit:"contain",zIndex:2,...su("heroFadeIn","0.1s","0.8s")}}),(0,a.jsxs)("div",{style:{flex:"0 0 auto",width:l?"50%":"56%",position:"relative",zIndex:2,color:"#232A4F",display:"flex",flexDirection:"column",gap:l?"clamp(24px, 2.5vw, 40px)":"clamp(16px, 2.5vw, 28px)",marginTop:200},children:[t.title&&(0,a.jsx)("p",{style:{fontFamily:"Montserrat, sans-serif",fontWeight:800,fontSize:l?"clamp(36px, 4vw, 66px)":"clamp(28px, 3.8vw, 52px)",lineHeight:1.2,textTransform:"uppercase",margin:0,whiteSpace:"pre-line",...su("heroSlideRight","0.25s")},children:t.title}),t.subtitle&&(0,a.jsx)("p",{style:{fontFamily:"Montserrat, sans-serif",fontWeight:400,fontSize:l?"clamp(16px, 1.6vw, 20px)":"clamp(14px, 1.6vw, 20px)",lineHeight:"1.5",margin:0,...su("heroSlideRight","0.45s")},children:t.subtitle}),(0,a.jsx)("div",{style:su("heroFadeUp","0.65s"),children:(0,a.jsx)(so,{label:t.buttonLabel,link:t.buttonLink,newTab:t.buttonNewTab})})]}),!sm(t)&&(0,a.jsx)("div",{style:{position:"absolute",top:0,right:0,width:l?"clamp(500px, 62vw, 980px)":"clamp(300px, 50%, 600px)",height:"100%",zIndex:1,...su("heroFadeIn","0.3s","1s")},children:(0,a.jsx)(sx,{data:t,style:{objectFit:"contain",objectPosition:"right center",borderRadius:0}})})]})},sb={background:"linear-gradient(90deg, #5F1AAE 4.9%, #00AEEF 100%)",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text"},sj=e=>{let{value:t,rowH:l,fontSize:s}=e,n=(0,c.useRef)(null),r=(0,c.useRef)(!1),i=function(e){let t=parseInt(e)||0,l=Math.min(18,Math.max(8,Math.floor(t/10))),a=[];for(let e=0;e<=l;e++)a.push(Math.round(e/l*t));return a[0]=0,a[a.length-1]=t,a}(t);return(0,c.useEffect)(()=>{let e=n.current;if(!e)return;let t=new IntersectionObserver(t=>{let[a]=t;a.isIntersecting&&!r.current&&(r.current=!0,setTimeout(()=>{e.style.transition="transform 2.4s cubic-bezier(0.12, 0.8, 0.32, 1)",e.style.transform=`translateY(-${(i.length-1)*l}px)`},200))},{threshold:.4});return t.observe(e.parentElement),()=>t.disconnect()},[i.length,l]),(0,a.jsx)("div",{style:{height:l,overflow:"hidden"},children:(0,a.jsx)("div",{ref:n,style:{willChange:"transform"},children:i.map((e,t)=>(0,a.jsx)("p",{style:{margin:0,height:l,lineHeight:`${l}px`,fontFamily:'"Montserrat", "Commissioner", sans-serif',fontWeight:700,fontSize:s,textAlign:"center",whiteSpace:"nowrap",...sb},children:e},t))})})},sy=e=>{let{value:t,label:l,circleSize:s}=e,n=Math.round(.415*s),r=Math.round(.34*s),i=Math.max(13,Math.round(.0995*s)),o=Math.min(300,Math.round(1.245*s));return(0,a.jsxs)("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",gap:15},children:[(0,a.jsxs)("div",{style:{width:s,height:s,borderRadius:"50%",border:"3px solid #023F88",display:"flex",alignItems:"center",justifyContent:"center",position:"relative",flexShrink:0},children:[(0,a.jsx)("div",{style:{position:"absolute",top:12,right:12,bottom:12,left:12,borderRadius:"50%",border:"8px solid #E4EAF5",background:"transparent",pointerEvents:"none"}}),(0,a.jsx)("div",{style:{position:"relative",zIndex:1},children:(0,a.jsx)(sj,{value:t,rowH:n,fontSize:r})})]}),(0,a.jsx)("div",{style:{background:"#EFEFEF",borderRadius:50,padding:"5px 20px",width:o,boxSizing:"border-box",display:"flex",justifyContent:"center"},children:(0,a.jsx)("span",{style:{fontFamily:'"Montserrat", "Commissioner", sans-serif',fontWeight:700,fontSize:i,color:"#023F88",textAlign:"center",whiteSpace:s<200?"normal":"nowrap"},children:l})})]})},sw=e=>{let{data:t,fontSize:l,align:s="left"}=e;return(0,a.jsxs)("div",{style:{fontFamily:'"Montserrat", "Commissioner", sans-serif',fontWeight:800,fontSize:l,lineHeight:1,textTransform:"uppercase",textAlign:s},children:[(0,a.jsx)("p",{className:"alk90-outline-white",style:{margin:0,color:"transparent",WebkitTextStroke:"2px #101010",textDecoration:"none"},children:t.titleLine1||"90 Години"}),(0,a.jsx)("p",{style:{margin:0,textDecoration:"none",...sb},children:t.titleLine2||"Посветени на здравјето"})]})},sv=e=>{let{x:t,y:l,active:s,onClick:n,label:r,size:i=36}=e,o=i/2;return(0,a.jsxs)("button",{onClick:n,"aria-label":r||"Select location",style:{position:"absolute",left:`${t}%`,top:`${l}%`,transform:"translate(-50%, -50%)",width:i,height:i,borderRadius:"50%",border:"none",cursor:"pointer",padding:0,background:"transparent",zIndex:10},children:[(0,a.jsx)("span",{style:{position:"absolute",inset:-(.44*o),borderRadius:"50%",background:s?"radial-gradient(circle, rgba(0,174,239,0.35) 0%, transparent 70%)":"radial-gradient(circle, rgba(95,26,174,0.30) 0%, transparent 70%)",transition:"background 0.3s"}}),(0,a.jsx)("span",{style:{position:"absolute",inset:Math.round(.11*i),borderRadius:"50%",border:`2px solid ${s?"rgba(0,174,239,0.8)":"rgba(95,26,174,0.6)"}`,background:s?"radial-gradient(circle, #00AEEF 0%, #023F88 100%)":"radial-gradient(circle, #5F1AAE 0%, #023F88 100%)",boxShadow:s?"0 0 12px 4px rgba(0,174,239,0.6)":"0 0 8px 2px rgba(95,26,174,0.4)",transition:"all 0.3s"}})]})},sk=e=>{let{current:t,activityLines:l,fontSize:s,cityFontSize:n,descFontSize:r}=e;return(0,a.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:16,color:"#fff"},children:[(0,a.jsxs)("div",{style:{display:"flex",flexDirection:"column",textTransform:"uppercase"},children:[t.category&&(0,a.jsx)("p",{style:{margin:0,fontFamily:"Montserrat, sans-serif",fontWeight:300,fontSize:n,lineHeight:"normal",letterSpacing:"0.02em"},children:t.category}),t.title&&(0,a.jsx)("p",{style:{margin:0,fontFamily:"Montserrat, sans-serif",fontWeight:800,fontSize:s,lineHeight:1.1},children:t.title})]}),t.city&&(0,a.jsx)("div",{style:{display:"flex"},children:(0,a.jsx)("span",{style:{background:"linear-gradient(135deg, #5F1AAE 0%, #8B3FD4 100%)",color:"#fff",fontFamily:"Montserrat, sans-serif",fontWeight:500,fontSize:n,padding:"5px 18px",borderRadius:50,display:"inline-block"},children:t.city})}),t.description&&(0,a.jsx)("p",{style:{margin:0,fontFamily:"Montserrat, sans-serif",fontWeight:400,fontSize:r,lineHeight:"1.5"},children:t.description}),l.length>0&&(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{style:{margin:"0 0 6px 0",fontFamily:"Montserrat, sans-serif",fontWeight:700,fontSize:r,lineHeight:"1.5"},children:"Активности:"}),(0,a.jsx)("ul",{style:{margin:0,padding:0,listStyle:"none"},children:l.map((e,t)=>(0,a.jsxs)("li",{style:{fontFamily:"Montserrat, sans-serif",fontWeight:400,fontSize:r,lineHeight:"1.6",paddingLeft:14,position:"relative"},children:[(0,a.jsx)("span",{style:{position:"absolute",left:0,top:"50%",transform:"translateY(-50%)"},children:"\xb7"}),e]},t))})]})]})},sN={mk:{unmuteAction:"Вклучи звук",muteAction:"Исклучи звук",prev:"Претходно",next:"Следно",noVideo:"Нема видео"},en:{unmuteAction:"Unmute",muteAction:"Mute",prev:"Previous",next:"Next",noVideo:"No video"}},s_=()=>{let[e,t]=(0,c.useState)(0);return(0,c.useEffect)(()=>{t(window.innerWidth);let e=()=>t(window.innerWidth);return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),e},sC=e=>{if(!e)return null;let t=e.match(/(?:youtube\.com\/(?:watch\?v=|embed\/|shorts\/)|youtu\.be\/)([^&\n?#]+)/);return t?t[1]:null},sB=e=>{let{muted:t,onClick:l,t:s}=e;return(0,a.jsx)("button",{onClick:l,"aria-label":t?s.unmuteAction:s.muteAction,style:{position:"absolute",bottom:16,right:16,zIndex:20,background:"rgba(0,0,0,0.5)",backdropFilter:"blur(6px)",border:"1px solid rgba(255,255,255,0.25)",borderRadius:"50%",width:40,height:40,cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",padding:0},children:t?(0,a.jsxs)("svg",{width:20,height:20,viewBox:"0 0 24 24",fill:"none",stroke:"white",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",children:[(0,a.jsx)("polygon",{points:"11 5 6 9 2 9 2 15 6 15 11 19 11 5"}),(0,a.jsx)("line",{x1:"23",y1:"9",x2:"17",y2:"15"}),(0,a.jsx)("line",{x1:"17",y1:"9",x2:"23",y2:"15"})]}):(0,a.jsxs)("svg",{width:20,height:20,viewBox:"0 0 24 24",fill:"none",stroke:"white",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",children:[(0,a.jsx)("polygon",{points:"11 5 6 9 2 9 2 15 6 15 11 19 11 5"}),(0,a.jsx)("path",{d:"M15.54 8.46a5 5 0 0 1 0 7.07"}),(0,a.jsx)("path",{d:"M19.07 4.93a10 10 0 0 1 0 14.14"})]})})},sS=e=>{let{url:t,file:l,thumbnail:s,active:n,scale:r,slideW:i,slideH:o,isMuted:d,onToggleMute:m,t:x}=e,p=(0,c.useRef)(null),h=(0,c.useRef)(null),u=l||t,g=sC(u);(0,c.useEffect)(()=>
19{if(g||!n)return;let e=p.current;if(e){if(e.paused){let t=()=>{e.muted=d};return e.addEventListener("playing",t,{once:!0}),()=>e.removeEventListener("playing",t)}e.muted=d}},[d,g,n]),(0,c.useEffect)(()=>{if(!g||!n)return;let e=h.current;if(!e)return;let t=d?"mute":"unMute",l=()=>e.contentWindow?.postMessage(JSON.stringify({event:"command",func:t,args:""}),"*");l();let a=setTimeout(l,600);return()=>clearTimeout(a)},[d,g,n]);let f={flex:"0 0 auto",width:i,height:o,borderRadius:20,overflow:"hidden",transform:`scale(${r})`,transformOrigin:"center center",transition:"transform 0.4s ease, opacity 0.4s ease",opacity:n?1:.55,background:"#0f172a",position:"relative"};if(!u)return(0,a.jsx)("div",{style:{...f,display:"flex",alignItems:"center",justifyContent:"center",color:"#666",fontSize:18},children:x.noVideo});if(g){if(!n)return(0,a.jsxs)("div",{style:f,children:[(0,a.jsx)("img",{src:`https://img.youtube.com/vi/${g}/hqdefault.jpg`,alt:"",style:{width:"100%",height:"100%",objectFit:"cover",display:"block"}}),(0,a.jsx)("div",{style:{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",background:"rgba(0,0,0,0.2)"},children:(0,a.jsxs)("svg",{width:56,height:56,viewBox:"0 0 56 56",fill:"none",children:[(0,a.jsx)("circle",{cx:28,cy:28,r:28,fill:"rgba(255,255,255,0.85)"}),(0,a.jsx)("path",{d:"M22 18L42 28L22 38V18Z",fill:"#232A4F"})]})})]});let e=encodeURIComponent(window.location.origin),t=`https://www.youtube.com/embed/${g}?autoplay=1&mute=1&loop=1&playlist=${g}&controls=1&rel=0&enablejsapi=1&origin=${e}`;return(0,a.jsxs)("div",{style:f,children:[(0,a.jsx)("iframe",{ref:h,src:t,allow:"autoplay; encrypted-media; picture-in-picture",allowFullScreen:!0,style:{width:"100%",height:"100%",border:"none",display:"block"}}),(0,a.jsx)(sB,{muted:d,onClick:m,t:x})]})}return n?(0,a.jsxs)("div",{style:f,children:[(0,a.jsx)("video",{ref:p,src:u,autoPlay:!0,muted:!0,playsInline:!0,loop:!0,preload:"auto",poster:s||void 0,onClick:m,style:{width:"100%",height:"100%",objectFit:"contain",display:"block",cursor:"pointer"}}),(0,a.jsx)(sB,{muted:d,onClick:m,t:x})]}):(0,a.jsx)("div",{style:f,children:s?(0,a.jsx)("img",{src:s,alt:"",style:{width:"100%",height:"100%",objectFit:"cover",display:"block"}}):(0,a.jsx)("div",{style:{width:"100%",height:"100%"}})})},sA=e=>{let{direction:t,onClick:l,size:s="sm",t:n}=e,r="lg"===s?{w:52,h:52}:{w:36,h:36};return(0,a.jsx)("button",{onClick:l,"aria-label":"prev"===t?n.prev:n.next,style:{background:"rgba(255,255,255,0.15)",backdropFilter:"blur(8px)",border:"1px solid rgba(255,255,255,0.3)",borderRadius:"50%",cursor:"pointer",width:r.w,height:r.h,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0},children:(0,a.jsxs)("svg",{width:16,height:28,viewBox:"0 0 28 50",fill:"none",style:{transform:"prev"===t?"rotate(180deg)":"none"},children:[(0,a.jsx)("path",{d:"M3 3L25 25L3 47",stroke:"url(#ag2)",strokeWidth:5,strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("defs",{children:(0,a.jsxs)("linearGradient",{id:"ag2",x1:"0%",y1:"0%",x2:"100%",y2:"0%",children:[(0,a.jsx)("stop",{offset:"4.9%",stopColor:"#5F1AAE"}),(0,a.jsx)("stop",{offset:"100%",stopColor:"#00AEEF"})]})})]})})},sL=e=>{let{count:t,active:l}=e;return(0,a.jsx)("div",{style:{display:"flex",gap:10,alignItems:"center"},children:Array.from({length:t}).map((e,t)=>(0,a.jsx)("div",{style:{width:10,height:18,borderRadius:50,background:t===l?"linear-gradient(90deg, #5F1AAE 4.9%, #00AEEF 100%)":"#DBDBDB",transition:"background 0.3s"}},t))})},sI={mk:{unmuteAction:"Вклучи звук",muteAction:"Исклучи звук"},en:{unmuteAction:"Unmute",muteAction:"Mute"}},sT=e=>{if(!e)return null;let t=e.match(/(?:youtube\.com\/(?:watch\?v=|embed\/|shorts\/)|youtu\.be\/)([^&\n?#]+)/);return t?t[1]:null},sR=e=>{let{muted:t,onClick:l,t:s}=e;return(0,a.jsx)("button",{onClick:l,"aria-label":t?s.unmuteAction:s.muteAction,style:{position:"absolute",bottom:16,right:16,zIndex:20,background:"rgba(0,0,0,0.5)",backdropFilter:"blur(6px)",border:"1px solid rgba(255,255,255,0.25)",borderRadius:"50%",width:40,height:40,cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",padding:0},children:t?(0,a.jsxs)("svg",{width:20,height:20,viewBox:"0 0 24 24",fill:"none",stroke:"white",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",children:[(0,a.jsx)("polygon",{points:"11 5 6 9 2 9 2 15 6 15 11 19 11 5"}),(0,a.jsx)("line",{x1:"23",y1:"9",x2:"17",y2:"15"}),(0,a.jsx)("line",{x1:"17",y1:"9",x2:"23",y2:"15"})]}):(0,a.jsxs)("svg",{width:20,height:20,viewBox:"0 0 24 24",fill:"none",stroke:"white",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",children:[(0,a.jsx)("polygon",{points:"11 5 6 9 2 9 2 15 6 15 11 19 11 5"}),(0,a.jsx)("path",{d:"M15.54 8.46a5 5 0 0 1 0 7.07"}),(0,a.jsx)("path",{d:"M19.07 4.93a10 10 0 0 1 0 14.14"})]})})};var sF=l(78981);let sP=()=>{let[e,t]=(0,c.useState)(1200);return(0,c.useEffect)(()=>{t(window.innerWidth),t(window.innerWidth);let e=()=>t(window.innerWidth);return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),e},sE=[{gridColumn:"1",gridRow:"1"},{gridColumn:"2",gridRow:"1"}
19,{gridColumn:"3",gridRow:"1"},{gridColumn:"4",gridRow:"1 / 3"},{gridColumn:"1",gridRow:"2"},{gridColumn:"2",gridRow:"2 / 4"},{gridColumn:"3",gridRow:"2"},{gridColumn:"1",gridRow:"3"},{gridColumn:"3",gridRow:"3"},{gridColumn:"4",gridRow:"3"}],s$=e=>{let{src:t,tall:l}=e;return(0,a.jsx)("div",{style:{position:"relative",width:"100%",height:l?518:250,borderRadius:16,overflow:"hidden",background:"#cbd5e1"},children:t&&(0,a.jsx)(es(),{fill:!0,src:t,alt:"",className:"transition-transform duration-500 ease-in-out hover:scale-110",style:{objectFit:"cover"},sizes:"(max-width: 768px) 50vw, 25vw",placeholder:"blur",blurDataURL:sF.v})})},sO=Array.from({length:10},(e,t)=>({name:`image${t+1}`,label:`Image ${t+1} URL`,component:"text"})),sZ={type:"Alk90PhotoGallery",label:"ALK90 Photo Gallery",defaultItem:{titleOutline:"Фото",titleGradient:"Галерија",description:"Оваа фото галерија прикажува автентични моменти од нашето секојдневие, уловени од самите вработени. Преку нивните фотографии, можете да ѕирнете во дел од компаниската култура, тимските активности и заедничките успеси што н\xe8 поврзуваат.",moreLabel:"Погледни повеќе",moreLink:"#",moreNewTab:!1,_template:"ComponentBlocksAlk90PhotoGallery"},fields:[{name:"titleOutline",label:"Title — Outline word",component:"text"},{name:"titleGradient",label:"Title — Gradient word",component:"text"},{name:"description",label:"Description",component:"textarea"},{name:"moreLabel",label:"Button Label",component:"text"},{name:"moreLink",label:"Button Link",component:"text"},{name:"moreNewTab",label:"Open link in new tab",component:"toggle"},...sO,{name:"extraImages",label:"More images",component:"group-list",itemProps:e=>({label:e.src?e.src.split("/").pop():"Image"}),defaultItem:{src:""},fields:[{name:"src",label:"Image URL",component:"text"}]}]},sM=e=>{let{year:t,logoSrc:l,colIndex:s}=e,[n,r]=(0,c.useState)(!1),i=(0,c.useRef)(null);return(0,c.useEffect)(()=>{let e=i.current;if(!e)return;let t=new IntersectionObserver(e=>{let[l]=e;l.isIntersecting&&(r(!0),t.disconnect())},{threshold:.15,rootMargin:"0px 0px -40px 0px"});return t.observe(e),()=>t.disconnect()},[]),(0,a.jsxs)("div",{ref:i,style:{display:"flex",alignItems:"center",gap:"clamp(8px, 1vw, 16px)",flexShrink:0,opacity:n?1:0,transform:n?"translateY(0)":"translateY(36px)",transition:`opacity 0.65s cubic-bezier(0.16,1,0.3,1) ${110*s}ms, transform 0.65s cubic-bezier(0.16,1,0.3,1) ${110*s}ms`},children:[(0,a.jsx)("span",{style:{writingMode:"vertical-rl",transform:"rotate(180deg)",fontFamily:"Montserrat, sans-serif",fontWeight:700,fontSize:"clamp(13px, 1.1vw, 18px)",lineHeight:1,whiteSpace:"nowrap",letterSpacing:"0.02em",flexShrink:0,color:"#101010"},children:t}),(0,a.jsx)("div",{style:{position:"relative",width:"clamp(100px, 12vw, 180px)",height:"clamp(66px, 8vw, 120px)",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0},children:l?(0,a.jsx)(es(),{fill:!0,src:l,alt:t,style:{objectFit:"contain"},sizes:"180px",placeholder:"blur",blurDataURL:sF.v}):(0,a.jsx)("div",{style:{width:"80%",height:"70%",background:"rgba(2,63,136,0.07)",borderRadius:8}})})]})},sD=e=>{let{items:t,justify:l="space-between",marginLeft:s="0"}=e;return(0,a.jsx)("div",{style:{display:"flex",alignItems:"center",justifyContent:l,gap:"clamp(16px, 3vw, 48px)",width:"100%",marginLeft:s,overflow:"hidden"},children:t.map((e,t)=>(0,a.jsx)(sM,{year:e.year,logoSrc:e.src,colIndex:t},t))})},sq=()=>{let[e,t]=(0,c.useState)(1200);return(0,c.useEffect)(()=>{t(window.innerWidth);let e=()=>t(window.innerWidth);return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),e},sz=e=>{let{year:t,photoSrc:l,description:s,cardW:n,isMobile:r}=e,[i,o]=(0,c.useState)(!1),[d,m]=(0,c.useState)(!1),x=r?!d:i;return(0,a.jsxs)("div",{style:{flexShrink:0,width:n,height:r?380:420,borderRadius:15,position:"relative",overflow:"hidden",background:"linear-gradient(132.69deg, rgba(0, 174, 239, 0.08) 38.46%, rgba(255, 255, 255, 0.08) 100%)",display:"flex",flexDirection:"column",justifyContent:"flex-start",alignItems:"flex-start",padding:"30px 20px",boxSizing:"border-box",cursor:l?"pointer":"default"},onMouseEnter:()=>!r&&l&&o(!0),onMouseLeave:()=>!r&&o(!1),onClick:()=>r&&l&&m(e=>!e),children:[l&&(0,a.jsxs)("div",{style:{position:"absolute",inset:0,opacity:x?1:0,transition:"opacity 0.35s ease",zIndex:2},children:[(0,a.jsx)(es(),{fill:!0,src:l,alt:t,style:{objectFit:"cover"},sizes:"(max-width: 768px) 100vw, 25vw",placeholder:"blur",blurDataURL:sF.v}),(0,a.jsx)("div",{style:{position:"absolute",inset:0,background:"rgba(0,0,0,0.45)"}})]}),r&&l&&!d&&(0,a.jsx)("div",{style:{position:"absolute",bottom:14,right:16,zIndex:4,width:34,he
19ight:34,borderRadius:"50%",background:"rgba(0,0,0,0.45)",display:"flex",alignItems:"center",justifyContent:"center",fontSize:17,lineHeight:1,animation:"alk90TapHint 1.6s ease-in-out infinite"},children:(0,a.jsx)("span",{role:"img","aria-label":"",children:"\uD83D\uDC46"})}),(0,a.jsx)("div",{style:{width:"100%",height:r?50:n>=480?110:82,flexShrink:0,position:"relative",zIndex:3},children:(0,a.jsx)("p",{style:{margin:0,fontFamily:"Montserrat, sans-serif",fontWeight:600,fontSize:r?38:n>=480?100:72,lineHeight:1,textAlign:"right",width:"100%",color:x?"#fff":r?"#5F1AAE":"transparent",background:x||r?"none":"linear-gradient(132.69deg, #5F1AAE 4.9%, #00AEEF 100%)",WebkitBackgroundClip:x||r?"unset":"text",WebkitTextFillColor:x?"#fff":r?"#5F1AAE":"transparent",backgroundClip:x||r?"unset":"text",textTransform:"uppercase",transition:"color 0.35s ease"},children:t})}),s&&(0,a.jsx)("p",{style:{position:"relative",zIndex:3,margin:"20px 0 0",fontFamily:"Montserrat, sans-serif",fontWeight:400,fontSize:14,lineHeight:"25px",color:x?"#fff":"#101010",opacity:x?0:1,transition:"opacity 0.35s ease, color 0.35s ease"},children:s})]})},sH=e=>{let{direction:t,onClick:l,disabled:s}=e;return(0,a.jsx)("button",{onClick:l,disabled:s,"aria-label":"prev"===t?"Previous":"Next",style:{background:"none",border:"none",padding:0,cursor:s?"default":"pointer",opacity:s?.3:1,transition:"opacity 0.2s",display:"flex"},children:(0,a.jsxs)("svg",{width:52,height:52,viewBox:"0 0 52 52",fill:"none",children:[(0,a.jsx)("defs",{children:(0,a.jsxs)("linearGradient",{id:"tlArrowGrad",x1:"0%",y1:"0%",x2:"100%",y2:"100%",children:[(0,a.jsx)("stop",{offset:"4.9%",stopColor:"#5F1AAE"}),(0,a.jsx)("stop",{offset:"100%",stopColor:"#00AEEF"})]})}),(0,a.jsx)("circle",{cx:"26",cy:"26",r:"24",stroke:"url(#tlArrowGrad)",strokeWidth:"2",fill:"none"}),"next"===t?(0,a.jsx)("path",{d:"M22 16L32 26L22 36",stroke:"#232A4F",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}):(0,a.jsx)("path",{d:"M30 16L20 26L30 36",stroke:"#232A4F",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"})]})})},sW=e=>{let{current:t,total:l,onPrev:s,onNext:n}=e;return(0,a.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:12,justifyContent:"center"},children:[(0,a.jsx)(sH,{direction:"prev",onClick:s,disabled:0===t}),(0,a.jsx)(sH,{direction:"next",onClick:n,disabled:t===l-1})]})},sG=e=>(e||"").split(/\n\s*\n/).map(e=>e.replace(/\s*\n\s*/g," ").trim()).filter(Boolean),sQ={mk:{prev:"Претходно",next:"Следно",yearsAtAlkaloid:"Години во Алкалоид"},en:{prev:"Previous",next:"Next",yearsAtAlkaloid:"Years at Alkaloid"}},sU=e=>{let{count:t,active:l,onPrev:s,onNext:n,t:r}=e;return(0,a.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:20},children:[(0,a.jsx)("button",{onClick:s,disabled:0===l,"aria-label":r.prev,style:{background:"none",border:"none",cursor:0===l?"default":"pointer",opacity:0===l?.3:1,transition:"opacity 0.2s",padding:4,display:"flex"},children:(0,a.jsxs)("svg",{width:20,height:36,viewBox:"0 0 28 50",fill:"none",style:{transform:"rotate(180deg)"},children:[(0,a.jsx)("path",{d:"M3 3L25 25L3 47",stroke:"url(#evPrev)",strokeWidth:5,strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("defs",{children:(0,a.jsxs)("linearGradient",{id:"evPrev",x1:"0%",y1:"0%",x2:"100%",y2:"0%",children:[(0,a.jsx)("stop",{offset:"4.9%",stopColor:"#5F1AAE"}),(0,a.jsx)("stop",{offset:"100%",stopColor:"#00AEEF"})]})})]})}),(0,a.jsx)("div",{style:{display:"flex",gap:8,alignItems:"center"},children:Array.from({length:t}).map((e,t)=>(0,a.jsx)("div",{style:{width:t===l?20:8,height:8,borderRadius:50,background:t===l?"linear-gradient(90deg, #5F1AAE 4.9%, #00AEEF 100%)":"#DBDBDB",transition:"all 0.3s"}},t))}),(0,a.jsx)("button",{onClick:n,disabled:l===t-1,"aria-label":r.next,style:{background:"none",border:"none",cursor:l===t-1?"default":"pointer",opacity:l===t-1?.3:1,transition:"opacity 0.2s",padding:4,display:"flex"},children:(0,a.jsxs)("svg",{width:20,height:36,viewBox:"0 0 28 50",fill:"none",children:[(0,a.jsx)("path",{d:"M3 3L25 25L3 47",stroke:"url(#evNext)",strokeWidth:5,strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("defs",{children:(0,a.jsxs)("linearGradient",{id:"evNext",x1:"0%",y1:"0%",x2:"100%",y2:"0%",children:[(0,a.jsx)("stop",{offset:"4.9%",stopColor:"#5F1AAE"}),(0,a.jsx)("stop",{offset:"100%",stopColor:"#00AEEF"})]})})]})})]})},sV=()=>(0,a.jsx)("img",{loading:"lazy",src:"/assets/90-god-quote.png",alt:"",style:{width:90,height:"auto",display:"block"}});var sJ=l(21382),sY=l(87510);let sK=e=>(e||"").replace(/^\/(mk|en)(?=\/|$)/,"").replace(/\/$/,"")||"/",sX=e=>{let{color:t="#fff",size:l=11}=e;return(0,a.jsx)("svg",{width:l,height:1.857*l,viewBox:"0 0 14 26",fill:"none",style:{flexShrink:0},children:(0,a.jsx)("path",{d:"M2 2L12 13L2 24",stroke:t,strokeWidth:3,strokeLinecap:"round",strokeLinejoin:"round"})})},s0=e=>{let{label:t,active:l}=e;return(0,a.jsxs)("div",{style:{display:"inline-flex",alignItems:"center",gap:8,padding:"10px 14px",borderRadius:50,border:l?"none":"1px solid #888",cursor:"pointer",background:l?"linear-gradient(90deg, #5F1AAE 4.9%, #00AEEF 100%)":"transparent"},children:[(0,a.jsx)("span",{style:{fontFamily:"Montserrat, sans-serif",fontWeight:600,fontSize:"clamp(12px, 1vw, 15px)",color:l?"#fff":"#888",whiteSpace:"nowrap"},children:t}),(0,a.jsx)(sX,{color:l?"#fff":"#888",size:9})]})},s1={mk:{prev:"Претходно",next:"Следно"},en:{prev:"Previous",next:"Next"}};function s2(){let e=(0,c.useRef)(null),[t,l]=(0,c.useState)(0);return(0,c.useEffect)(()=>{let t=()=>{let t=e.current;if(!t)return;let a=t.getBoundingClientRect(),s=window.innerHeight,n=(s-a.top)/(.6*s);l(Math.min(1,Math.max(0,n)))};return t(),window.addEventListener("scroll",t,{passive:!0}),window.addEventListener("resize",t,{passive:!0}),()=>{window.removeEventListener("scroll",t),window.removeEventListener("resize",t)}},[]),[e,t]}let s4=e=>{let{src:t,containerStyle:l,noAnim:s,children:n}=e,[r,i]=s2();
19return(0,a.jsxs)("div",{ref:r,style:{position:"relative",overflow:"hidden",...l},children:[(0,a.jsx)("img",{loading:"lazy",src:t,alt:"",style:{width:"100%",height:"auto",display:"block",transform:s?"none":`translateY(${s?0:(1-i)*40}%)`,transition:s?"none":"transform 0.1s"}}),n]})},s3=e=>{let{src:t,startOffset:l=0,containerStyle:s,children:n,noAnim:r}=e,[i,o]=s2();return(0,a.jsxs)("div",{ref:i,style:{position:"relative",overflow:"hidden",...s},children:[(0,a.jsx)("div",{style:{position:"absolute",inset:0,transform:r?"none":`translateX(${r?0:(1-Math.min(1,Math.max(0,(o-l)/(1-l))))*40}%)`},children:(0,a.jsx)("img",{loading:"lazy",src:t,alt:"",style:{width:"100%",height:"100%",objectFit:"cover",display:"block"}})}),n]})},s5=e=>{let{region:t}=e;return(0,a.jsxs)("div",{style:{position:"absolute",top:0,right:0,width:"clamp(100px, 22vw, 180px)",height:"clamp(90px, 20vw, 160px)",background:"#00AEEF",borderRadius:"0 17px 0 500px",boxShadow:"0px 6px 20px 0px rgba(2,63,136,0.85)",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",gap:"clamp(3px, 0.8vw, 6px)",paddingBottom:"clamp(16px, 4vw, 28px)",boxSizing:"border-box"},children:[(0,a.jsx)("svg",{width:"clamp(18px, 4vw, 32px)",height:"clamp(24px, 5.5vw, 42px)",viewBox:"0 0 32 42",fill:"none",style:{width:"clamp(18px, 4vw, 32px)",height:"clamp(24px, 5.5vw, 42px)",flexShrink:0},children:(0,a.jsx)("path",{d:"M16 0C7.163 0 0 7.163 0 16C0 27.563 16 42 16 42C16 42 32 27.563 32 16C32 7.163 24.837 0 16 0ZM16 22C12.686 22 10 19.314 10 16C10 12.686 12.686 10 16 10C19.314 10 22 12.686 22 16C22 19.314 19.314 22 16 22Z",fill:"white"})}),(0,a.jsx)("p",{style:{fontFamily:"Montserrat, sans-serif",fontWeight:700,fontSize:"clamp(10px, 2.5vw, 16px)",color:"#fff",textAlign:"center",margin:0,lineHeight:1.3,padding:"0 8px"},children:t})]})},s6=e=>{let{count:t,active:l,onPrev:s,onNext:n,onSelect:r,t:i}=e;return(0,a.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:20},children:[(0,a.jsx)("button",{onClick:s,disabled:0===l,"aria-label":i.prev,style:{background:"none",border:"none",cursor:0===l?"default":"pointer",opacity:0===l?.3:1,transition:"opacity 0.2s",padding:4,display:"flex"},children:(0,a.jsxs)("svg",{width:20,height:36,viewBox:"0 0 28 50",fill:"none",style:{transform:"rotate(180deg)"},children:[(0,a.jsx)("path",{d:"M3 3L25 25L3 47",stroke:"url(#haPrev)",strokeWidth:5,strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("defs",{children:(0,a.jsxs)("linearGradient",{id:"haPrev",x1:"0%",y1:"0%",x2:"100%",y2:"0%",children:[(0,a.jsx)("stop",{offset:"4.9%",stopColor:"#5F1AAE"}),(0,a.jsx)("stop",{offset:"100%",stopColor:"#00AEEF"})]})})]})}),(0,a.jsx)("div",{style:{display:"flex",gap:8,alignItems:"center"},children:Array.from({length:t}).map((e,t)=>(0,a.jsx)("button",{onClick:()=>r(t),"aria-label":`${t+1}`,style:{width:t===l?20:8,height:8,borderRadius:50,border:"none",padding:0,cursor:"pointer",background:t===l?"linear-gradient(90deg, #5F1AAE 4.9%, #00AEEF 100%)":"#DBDBDB",transition:"all 0.3s"}},t))}),(0,a.jsx)("button",{onClick:n,disabled:l===t-1,"aria-label":i.next,
19style:{background:"none",border:"none",cursor:l===t-1?"default":"pointer",opacity:l===t-1?.3:1,transition:"opacity 0.2s",padding:4,display:"flex"},children:(0,a.jsxs)("svg",{width:20,height:36,viewBox:"0 0 28 50",fill:"none",children:[(0,a.jsx)("path",{d:"M3 3L25 25L3 47",stroke:"url(#haNext)",strokeWidth:5,strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("defs",{children:(0,a.jsxs)("linearGradient",{id:"haNext",x1:"0%",y1:"0%",x2:"100%",y2:"0%",children:[(0,a.jsx)("stop",{offset:"4.9%",stopColor:"#5F1AAE"}),(0,a.jsx)("stop",{offset:"100%",stopColor:"#00AEEF"})]})})]})})]})},s8={mk:"/assets/90-god-alkaloid.webp",en:"/assets/90-god-alkaloid-en.svg"},s9={mk:"clamp(150px, 25vw, 199px)",en:"clamp(120px, 20vw, 159px)"},s7={mk:"/90-godini",en:"/90-years"},ne={mk:{position:"Работна позиција:",yearsAtAlkaloid:"Години во Алкалоид:"},en:{position:"Job position:",yearsAtAlkaloid:"Years at Alkaloid:"}},nt={mk:{all:"Сите",date:"ДАТУМ",readMore:"Прочитај повеќе",municipality:"Општина",noNews:"Нема новости во оваа категорија."},en:{all:"All",date:"DATE",readMore:"Read more",municipality:"Municipality",noNews:"No news in this category."}},nl=e=>{let{color:t="#fff",size:l=14}=e;return(0,a.jsx)("svg",{width:l,height:1.857*l,viewBox:"0 0 14 26",fill:"none",style:{flexShrink:0},children:(0,a.jsx)("path",{d:"M2 2L12 13L2 24",stroke:t,strokeWidth:3,strokeLinecap:"round",strokeLinejoin:"round"})})},na=()=>(0,a.jsx)("svg",{width:14,height:14,viewBox:"0 0 14 14",fill:"none",style:{flexShrink:0},children:(0,a.jsx)("path",{d:"M1 13L13 1M13 1H4M13 1V10",stroke:"#00AEEF",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})}),ns=e=>{let{open:t}=e;return(0,a.jsx)("svg",{width:12,height:8,viewBox:"0 0 12 8",fill:"none",style:{flexShrink:0,transition:"transform 0.2s ease",transform:t?"rotate(180deg)":"rotate(0deg)"},children:(0,a.jsx)("path",{d:"M1 1L6 7L11 1",stroke:"#00AEEF",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})})},nn=e=>{let{label:t,subcategories:l,activeSubcategory:s,onSelect:n,t:r}=e,[i,o]=(0,c.useState)(!1),d=(0,c.useRef)(null);(0,c.useEffect)(()=>{let e=e=>{d.current&&!d.current.contains(e.target)&&o(!1)};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[]);let m="all"===s?r.all:l.find(e=>e.id===s)?.label||t;return(0,a.jsxs)("div",{ref:d,style:{position:"relative",marginLeft:"auto"},children:[(0,a.jsxs)("button",{onClick:()=>o(e=>!e),style:{display:"inline-flex",alignItems:"center",gap:8,background:"transparent",border:"none",cursor:"pointer",padding:"4px 0"},children:[(0,a.jsx)("span",{style:{fontFamily:"Montserrat, sans-serif",fontWeight:500,fontSize:"clamp(14px, 1.2vw, 16px)",color:"#00AEEF",whiteSpace:"nowrap"},children:"all"===s?t||r.municipality:m}),(0,a.jsx)(ns,{open:i})]}),i&&(0,a.jsx)("div",{style:{position:"absolute",top:"calc(100% + 8px)",right:0,width:219,background:"#fff",borderRadius:10,boxShadow:"4px 4px 10px 0px rgba(0,0,0,0.15)",zIndex:200,maxHeight:400,overflowY:"auto",padding:"8px 0"},children:[{id:"all",label:r.all},...l].map(e=>(0,a.jsx)("button",{onClick:()=>{n(e.id),o(!1)},style:{display:"block",width:"100%",textAlign:"left",background:"transparent",border:"none",cursor:"pointer",padding:"10px 20px",fontFamily:"Montserrat, sans-serif",fontWeight:s===e.id?600:400,fontSize:15,color:s===e.id?"#232A4F":"#888"},children:e.label},e.id))})]})},nr=e=>{let{item:t,readMoreLabel:l,t:s}=e,n=t.image||null;return(0,a.jsxs)("div",{style:{background:"#fff",borderRadius:10,overflow:"hidden",display:"flex",flexDirection:"column",boxShadow:"0 2px 20px rgba(0,0,0,0.08)",flex:"1 1 calc(33.333% - 47px)",minWidth:260,maxWidth:425},children:[(0,a.jsx)("div",{style:{position:"relative",height:206,overflow:"hidden",flexShrink:0},children:n?(0,a.jsx)(es(),{fill:!0,src:n,alt:t.title||"",style:{objectFit:"cover"},sizes:"(max-width: 768px) 100vw, 33vw",placeholder:"blur",blurDataURL:sF.v}):(0,a.jsx)("div",{style:{width:"100%",height:"100%",background:"#e8eef5"}})}),(0,a.jsxs)("div",{style:{padding:"16px 24px 24px",display:"flex",flexDirection:"column",gap:10,flex:1},children:[t.date&&(0,a.jsxs)("p",{style:{fontFamily:"Montserrat, sans-serif",fontWeight:500,fontSize:14,color:"#023F88",textTransform:"uppercase",margin:0,lineHeight:1.1},children:[s.date," | ",t.date]}),(0,a.jsx)("p",{style:{fontFamily:"Montserrat, sans-serif",fontWeight:700,fontSize:24,color:"#232A4F",margin:0,lineHeight:1.2},children:t.title}),t.description&&(0,a.jsx)("p",{style:{fontFamily:"Montserrat, sans-serif",fontWeight:400,fontSize:14,color:"#21272A",margin:0,lineHeight:"25px",flex:1},children:t.description}),t.link&&(0,a.jsx)(x.Z,{to:t.link,target:t.newTab?"_blank":"_self",children:(0,a.jsxs)("span",{style:{display:"inline-flex",alignItems:"center",gap:8,fontFamily:"Montserrat, sans-serif",fontWeight:500,fontSize:14,color:"#00AEEF"},children:[l||s.readMore,(0,a.jsx)(na,{})]})})]})]})},ni=e=>{let{item:t,index:l,isExpanded:s,isMobile:n,containerHeight:r,onEnter:i,onLeave:o,onClick:d}=e,[m,x]=(0,c.useState)(!1),p=(0,c.useRef)(null),h=t.logo||null;(0,c.useEffect)(()=>{let e=p.current;if(!e)return;let t=new IntersectionObserver(e=>{let[l]=e;l.isIntersecting&&(x(!0),t.disconnect())},{threshold:.15,rootMargin:"0px 0px -40px 0px"});return t.observe(e),()=>t.disconnect()},[]);let u={position:"relative",overflow:"hidden",cursor:"pointer",flexGrow:s?3.5:1,flexShrink:1,flexBasis:0,height:"100%",transition:"flex-grow 0.5s ease-out",opacity:m?1:0,transform:m?"translateY(0)":"translateY(40px)",transitionProperty:"flex-grow, opacity, transform",transitionDuration:"0.5s, 0.6s, 0.6s",transitionTimingFunction:"ease-
19out, cubic-bezier(0.16,1,0.3,1), cubic-bezier(0.16,1,0.3,1)",transitionDelay:`0s, ${100*l}ms, ${100*l}ms`},g={position:"relative",overflow:"hidden",cursor:s?"default":"pointer",width:"100%",flexShrink:0,...s?{aspectRatio:"1 / 1"}:{height:80},opacity:m?1:0,transform:m?"translateY(0)":"translateY(32px)",transition:`opacity 0.55s cubic-bezier(0.16,1,0.3,1) ${80*l}ms, transform 0.55s cubic-bezier(0.16,1,0.3,1) ${80*l}ms`};return(0,a.jsxs)("div",{ref:p,onMouseEnter:n?void 0:i,onMouseLeave:n?void 0:o,onClick:n&&!s?d:void 0,style:n?g:u,children:[(0,a.jsx)("div",{style:{position:"absolute",inset:0,background:"linear-gradient(106.67deg, rgba(0,174,239,0.12) 15.464%, rgba(255,255,255,0) 157.14%)",opacity:s?0:1,transition:"opacity 0.4s ease"}}),(0,a.jsx)("div",{style:{position:"absolute",inset:0,background:"#232A4F",opacity:s?1:0,transition:"opacity 0.4s ease"}}),h&&(0,a.jsx)(es(),{fill:!0,src:h,alt:t.description||"",style:{objectFit:"cover",objectPosition:"center",opacity:s?1:0,transition:s?"opacity 0.4s ease 0.05s":"opacity 0.2s ease"},sizes:"(max-width: 768px) 100vw, 20vw",placeholder:"blur",blurDataURL:sF.v}),t.year&&(0,a.jsx)("p",{style:{position:"absolute",top:"clamp(24px, 3.5vw, 50px)",left:"clamp(24px, 3.5vw, 50px)",right:14,margin:0,fontFamily:"Montserrat, sans-serif",fontWeight:300,fontSize:"clamp(20px, 2.5vw, 35px)",lineHeight:1.2,whiteSpace:"nowrap",zIndex:5,color:s?"#101010":n?"#101010":"#fff",transition:"color 0.3s ease"},children:t.year}),t.description&&(0,a.jsx)("p",{style:{position:"absolute",top:"calc(clamp(24px, 3.5vw, 50px) + clamp(28px, 3.5vw, 48px))",left:"clamp(24px, 3.5vw, 50px)",right:14,margin:"10px 0 0",fontFamily:"Montserrat, sans-serif",fontWeight:500,fontSize:"clamp(13px, 1.5vw, 20px)",color:"#fff",lineHeight:1.3,zIndex:5,opacity:s?1:0,transition:s?"opacity 0.3s ease 0.15s":"opacity 0.1s ease",pointerEvents:"none"},children:t.description})]})},no=[{id:0,cx:36.5,cy:11.7,textY:3.4,svgPath:"596,114 596,33 1197,33",year:"2002",description:'Акциите на „Алкалоид" котираат на\nпрвиот официјален пазар на Македонската берза'},{id:1,cx:43.7,cy:10.7,textY:10.7,svgPath:"713,104 1197,104",year:"1936",description:"Југословенска фабрика за алкалоиди"},{id:2,cx:19.5,cy:16.9,textY:21.2,svgPath:"318,206 1197,206",year:"1978",description:"Изградба на современа фабрика за цврсти дозни форми и за полусинтетски цефалоспорини"},{id:3,cx:45.1,cy:32.8,textY:28.5,svgPath:"783,277 1197,277",year:"1978",description:"Becutan"},{id:4,cx:11,cy:32.1,textY:32.1,svgPath:"179,312 1197,312",year:"1976",description:'Формирање на\nШаховскиот клуб „Алкалоид"'},{id:5,cx:38.3,cy:37.8,textY:37.8,svgPath:"706,367 1197,367",year:"2024",description:"Нови производствени\nкапацитети за цврсти дозни форми"},{id:6,cx:24.5,cy:43.4,textY:43.5,svgPath:"401,423 1197,423",year:"1973",description:"Козметика и сапуни"},{id:7,cx:45.9,cy:46.9,textY:46.9,svgPath:"748,456 1197,456",year:"1978",description:"Нов Институт за\nистражување и развој"},{id:8,cx:17.1,cy:52.6,textY:52.7,svgPath:"279,512 1197,512",year:"2007",description:'Основана Фондацијата „Трајче Мукаетов"'},{id:9,cx:33.3,cy:62.8,textY:55.9,svgPath:"579,610 817,610 817,544 1197,544",year:"1978",description:"Почеток на ботаничкиот погон"},{id:10,cx:28.7,cy:57.7,textY:57.6,svgPath:"468,560 1197,560",year:"1957",description:"Кафетин"}],nc={background:"linear-gradient(20deg, #5823B2 10.93%, #04A7EC 69.86%)",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text"},nd=[{navTitle:"ПРВИТЕ ЧЕКОРИ НА АЛКАЛОИД",yearRange:"1936–1966",title:"Првите чекори на Алкалоид",description:'Во периодот 1946-1956 се евидентирани првите чекори на „Алкалоид" за зголемување на производството, за осовременување на технологијата, за проширување на производната дејност и за подобрување на квалификационата структура на вработените. За подемот на „Алкалоид" од клучно значење е 1957 година, кога е пуштен во употреба нов капацитет за производство на лекови – Галенскиот погон. Во развојот на „Алкалоид", посебно поглавје претставува почетокот на деловно-техничката соработка со познати светски фармацевтски и хемиски корпорации.',events:[{title:"Најстари фотографии од југословенската фабрика за алкалоиди",date:"Август, 1936 Ð
19³Ð¾Ð´Ð¸Ð½Ð°"},{title:"Афионовите полиња пред фабриката",date:"1950 година"},{title:"Дел од производствените постројки",date:"1950 година"},{title:"Првите чекори на Алкалоид",date:"1946–1956 година"},{title:"Галенскиот погон пуштен во употреба",date:"1957 година"},{title:"Рекламни материјали",date:"1960–1970 година"},{title:"Соработка со познати светски фармацевтски и хемиски корпорации",date:"1961 година"}]},{navTitle:"НОВА ФАБРИКА ЗА ЛЕКОВИ",yearRange:"1966–1994",title:"Нова фабрика за лекови",description:'Во 1966 година, како посебен сегмент во „Алкалоид", е пуштен во употреба Институтот за истражување и развој, формиран за целите на севкупната развојно-технолошка програма на компанијата. Визијата за создавање модерна фармацевтска компанија почнува да се реализира во 1972 година, со новата фабрика за готови лекови. Во 1979 година е пуштена во употреба Фабриката за преработка на лековити билки.',events:[{title:"Пуштен во употреба е Институтот за истражување и развој",date:"1966 година"},{title:"Нова фабрика за готови лекови",date:"1972 година"},{title:'Локалитетот на „Алкалоид" во Автокоманда во седумдесеттите',date:"1970–1980 година"},{title:'„Алкалоид" влегува и во сегментот на козметичката индустрија',date:"1972 година"},{title:'Индустриската зона на „Алкалоид" во Ѓорче Петров кон крајот на седумдесеттите',date:"1970–1980 година"},{title:"Старт на Фабриката за преработка на лековити билки",date:"1979 година"}]},{navTitle:"РАЗВОЈ НА АЛКАЛОИД",yearRange:"1994–2006",title:"Развој на Алкалоид",description:'Потпишување на Договорот за конвертибилен заем меѓу Џ. Вулфенсон од Светска банка (ЕБРД/ИФЦ) и Т. Мукаетов од „Алкалоид" – 1999 година. Новата фабрика за цврсти фармацевтски дозни форми, изведена според строгите стандарди за добра производствена пракса (ДПП), предадена во употреба во 2000 година. Од ноември 2002 година компанијата котира на официјалниот пазар на „Македонската берза".',events:[{title:"Потпишување на Договорот за конвертибилен заем",date:"1999 година"},{title:"Нова фабрика за цврсти фармацевтски дозни форми",date:"2000 година"},{title:"Изградба на капацитетите за производство на полусинтетски цефалоспорини",date:"2000 година"},{title:"Алкалоид котира на официјалниот пазар на Македонската берза",date:"Ноември, 2002 година"}]},{navTitle:"ЗНАЧАЈНИ ИСТОРИСКИ МОМЕНТИ",yearRange:"2007–2026",title:"Значајни историски моменти",description:"Настани кои се значајни во развојот на Алкалоид во периодот 2007 година па досега.",events:[{title:'Фондација „Трајче Мукаетов" за поддршка на талентирани студенти по медицина и по фармација',date:"2007 година"},{title:"ИТ-сегмент;
19 имплементација на SAP/ERP, DMS, CRM итн.",date:"2007 година"},{title:"Нов Институт за истражување и развој",date:"2009 година"},{title:"Нов производствен капацитет во Белград, Република Србија",date:"2010 година"},{title:'Нов Центар за информатичка технологија „Трајче Мукаетов"',date:"2010 година"},{title:"Нов високо-регален магацин во Ѓорче Петров",date:"2013 година"},{title:"Нов Центар за контрола на квалитет",date:"2015 година"},{title:"Погон за производство на полуцврсти фармацевтски форми, централна вагална 2 и одд. за пакување",date:"2017 година"},{title:"Реконструкција и надградба на фармацевтските производствени капацитети",date:"2019 година"},{title:"Нов производствен оддел за влажни марамчиња",date:"2020 година"},{title:"Нов Центар за обука и едукација",date:"2021 година"},{title:"Нов погон за производство на концентрати за дијализа",date:"2021 година"},{title:"Нов магацин за фармацевтски суровини и за примарно пакување",date:"2022 година"},{title:"Нова опрема за лабораторијата за производство на козметика",date:"2022 година"},{title:"Погон за производство на цврсти дозни форми Таблетно 2.0",date:"2024 година"}]}],nm=e=>{let{direction:t,onClick:l,disabled:s}=e,n=`arrowGrad-${t}`;return(0,a.jsx)("button",{onClick:l,disabled:s,style:{background:"none",border:"none",cursor:s?"default":"pointer",padding:0,display:"block",opacity:s?.3:1,transition:"opacity 0.2s"},children:(0,a.jsxs)("svg",{width:110,height:110,viewBox:"0 0 110 110",fill:"none",children:[(0,a.jsx)("defs",{children:(0,a.jsxs)("linearGradient",{id:n,x1:"0",y1:"110",x2:"110",y2:"0",gradientUnits:"userSpaceOnUse",children:[(0,a.jsx)("stop",{offset:"10.93%",stopColor:"#5823B2"}),(0,a.jsx)("stop",{offset:"69.86%",stopColor:"#04A7EC"})]})}),(0,a.jsx)("circle",{cx:55,cy:55,r:52,stroke:`url(#${n})`,strokeWidth:2}),(0,a.jsx)("circle",{cx:55,cy:55,r:39,stroke:`url(#${n})`,strokeWidth:1.5}),(0,a.jsx)("path",{d:"up"===t?"M37 65L55 45L73 65":"M37 45L55 65L73 45",stroke:`url(#${n})`,strokeWidth:2.5,strokeLinecap:"round",strokeLinejoin:"round"})]})})},nx=()=>(0,a.jsxs)("svg",{width:12,height:12,viewBox:"0 0 12 12",style:{flexShrink:0,display:"block"},children:[(0,a.jsx)("defs",{children:(0,a.jsxs)("linearGradient",{id:"dotGrad",x1:"0",y1:"12",x2:"12",y2:"0",gradientUnits:"userSpaceOnUse",children:[(0,a.jsx)("stop",{offset:"0%",stopColor:"#5823B2"}),(0,a.jsx)("stop",{offset:"100%",stopColor:"#04A7EC"})]})}),(0,a.jsx)("rect",{x:1,y:1,width:10,height:10,transform:"rotate(45 6 6)",fill:"url(#dotGrad)"})]}),np=e=>{let{images:t,isMobile:l}=e,s=(t||[]).map(e=>e||null);return 0===s.length?null:1===s.length?(0,a.jsx)("div",{style:{position:"relative",width:"100%",borderRadius:12,overflow:"hidden",background:"#dde6f0",aspectRatio:"4/3"},children:s[0]&&(0,a.jsx)(es(),{fill:!0,src:s[0],alt:"",style:{objectFit:"cover"},sizes:"(max-width: 768px) 100vw, 50vw",placeholder:"blur",blurDataURL:sF.v})}):(0,a.jsx)("div",{style:{display:"grid",gridTemplateColumns:"1fr 1fr",gap:l?4:8,width:"100%"},children:s.map((e,t)=>(0,a.jsx)("div",{style:{position:"relative",borderRadius:8,overflow:"hidden",background:"#dde6f0",aspectRatio:"1/1"},children:e&&(0,a.jsx)(es(),{fill:!0,src:e,alt:"",style:{objectFit:"cover"},sizes:"(max-width: 768px) 50vw, 25vw",placeholder:"blur",blurDataURL:sF.v})},t))})},nh=e=>{let{event:t,isLast:l,isMobile:s}=e,n=[t.image1,t.image2].filter(Boolean),r=n.length>0;return s?(0,a.jsxs)("div",{style:{display:"flex",gap:0,position:"relative",paddingBottom:l?0:32},children:[(0,a.jsxs)("div",{style:{flex:"0 0 20px",display:"flex",flexDirection:"column",alignItems:"center",position:"relative"},children:[!l&&(0,a.jsx)("div",{style:{position:"absolute",top:16,bottom:-32,left:"50%",transform:"translateX(-50%)",width:1.5,background:"#00AEEF"}}),(0,a.jsx)("div",{style:{marginTop:4,position:"relative",zIndex:1},children:(0,a.jsx)(nx,{})})]}),(0,a.jsxs)("div",{style:{flex:1,paddingLeft:14},children:[(0,a.jsx)("p",{style:{margin:0,fontFamily:"Montserrat, sans-serif",fontWeight:400,fontSize:12,color:"#9
19CA3AF",lineHeight:1.4},children:t.date}),(0,a.jsx)("p",{style:{margin:"4px 0 0",fontFamily:"Montserrat, sans-serif",fontWeight:500,fontSize:14,color:"#101010",lineHeight:1.4},children:t.title}),r&&(0,a.jsx)("div",{style:{marginTop:10},children:(0,a.jsx)(np,{images:n,isMobile:!0})})]})]}):(0,a.jsxs)("div",{style:{display:"flex",gap:0,position:"relative",paddingBottom:l?0:44},children:[(0,a.jsx)("div",{style:{flex:"0 0 44%",paddingRight:20},children:(0,a.jsx)(np,{images:n})}),(0,a.jsxs)("div",{style:{flex:"0 0 28px",display:"flex",flexDirection:"column",alignItems:"center",position:"relative"},children:[!l&&(0,a.jsx)("div",{style:{position:"absolute",top:18,bottom:-44,left:"50%",transform:"translateX(-50%)",width:1.5,background:"#00AEEF"}}),(0,a.jsx)("div",{style:{marginTop:4,position:"relative",zIndex:1},children:(0,a.jsx)(nx,{})})]}),(0,a.jsxs)("div",{style:{flex:1,paddingLeft:20},children:[(0,a.jsx)("p",{style:{margin:0,fontFamily:"Montserrat, sans-serif",fontWeight:400,fontSize:"clamp(12px, 1vw, 14px)",color:"#9CA3AF",lineHeight:1.4},children:t.date}),(0,a.jsx)("p",{style:{margin:"6px 0 0",fontFamily:"Montserrat, sans-serif",fontWeight:500,fontSize:"clamp(15px, 1.3vw, 19px)",color:"#101010",lineHeight:1.4},children:t.title})]})]})},nu=e=>{let{chapter:t,sectionRef:l,isMobile:s}=e;return(0,a.jsxs)("div",{ref:l,style:{paddingBottom:s?48:"clamp(70px, 9vw, 130px)",scrollMarginTop:s?72:0},children:[(0,a.jsx)("p",{style:{margin:"0 0 8px",fontFamily:"Montserrat, sans-serif",fontWeight:700,fontSize:s?14:"clamp(16px, 1.8vw, 24px)",color:"#00AEEF"},children:t.yearRange}),(0,a.jsx)("h2",{style:{margin:"0 0 16px",fontFamily:"Montserrat, sans-serif",fontWeight:600,fontSize:s?24:"clamp(28px, 3.5vw, 52px)",color:"#232A4F",lineHeight:1.1},children:t.title}),t.description&&(0,a.jsx)("p",{style:{margin:s?"0 0 24px":"0 0 clamp(36px, 4vw, 64px)",fontFamily:"Montserrat, sans-serif",fontWeight:400,fontSize:s?13:"clamp(13px, 1vw, 15px)",lineHeight:1.75,color:"#444"},children:t.description}),(0,a.jsx)("div",{children:(t.events||[]).map((e,t,l)=>(0,a.jsx)(nh,{event:e,isLast:t===l.length-1,isMobile:s},t))})]})},ng={mk:{date:"Датум",readMore:"Прочитај повеќе"},en:{date:"Date",readMore:"Read more"}},nf=()=>(0,a.jsx)("svg",{width:13,height:13,viewBox:"0 0 14 14",fill:"none",style:{flexShrink:0},children:(0,a.jsx)("path",{d:"M1 13L13 1M13 1H4M13 1V10",stroke:"#00AEEF",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})}),nb=e=>{let t=e.attributes?.blocksJson||[],l=t.find(e=>"ComponentBlocksAlk90CsrArticle"===e._template);return l?.image||null},nj=e=>{let{article:t,readMoreLabel:l,locale:s}=e,n=ng[s]||ng.mk,r=t.attributes||{},i=nb(t),c=i?(0,o.Z)(i,"medium")||(0,o.Z)(i):null,d=r.publishedAt?new Date(r.publishedAt).toLocaleDateString("mk-MK",{day:"2-digit",month:"2-digit",year:"numeric"}).replace(/\./g,"."):"",m=`/${s}/${r.slug}`;return(0,a.jsxs)("div",{style:{background:"#fff",borderRadius:10,overflow:"hidden",display:"flex",flexDirection:"column",flex:"1 1 0",minWidth:0,boxShadow:"0 2px 12px rgba(0,0,0,0.06)"},children:[(0,a.jsx)("div",{style:{position:"relative",width:"100%",aspectRatio:"421 / 206",overflow:"hidden",flexShrink:0},children:c?(0,a.jsx)(es(),{fill:!0,src:c,alt:r.title||"",style:{objectFit:"cover"},sizes:"(max-width: 768px) 100vw, 33vw",placeholder:"blur",blurDataURL:sF.v}):(0,a.jsx)("div",{style:{width:"100%",height:"100%",background:"#dde6f0"}})}),(0,a.jsxs)("div",{style:{padding:"20px 24px 24px",display:"flex",flexDirection:"column",gap:10,flex:1},children:[d&&(0,a.jsxs)("p",{style:{margin:0,fontFamily:"Montserrat, sans-serif",fontWeight:500,fontSize:14,lineHeight:1.1,color:"#023F88",textTransform:"uppercase",letterSpacing:"0.02em"},children:[n.date," | ",d]}),(0,a.jsx)("p",{style:{margin:0,fontFamily:"Montserrat, sans-serif",fontWeight:700,fontSize:20,lineHeight:1.25,color:"#232A4F",flex:1},children:r.title}),r.excerpt&&(0,a.jsx)("p",{style:{margin:0,fontFamily:"Montserrat, sans-serif",fontWeight:400,fontSize:14,lineHeight:"25px",color:"#21272A",display:"-webkit-box",WebkitLineClamp:3,WebkitBoxOrient:"vertical",overflow:"hidden"},children:r.excerpt}),(0,a.jsx)(x.Z,{to:m,children:(0,a.jsxs)("div",{style:{display:"inline-flex",alignItems:"center",gap:8,marginTop:4},children:[(0,a.jsx)("span",{style:{fontFamily:"Montserrat, sans-serif",fontWeight:500,fontSize:14,lineHeight:"25px",color:"#00AEEF"},children:l||n.readMore}),(0,a.jsx)(nf,{})]})})]})]})},ny=[{gridColumn:"1",gridRow:"1"},{gridColumn:"2",gridRow:"1"}
19,{gridColumn:"3",gridRow:"1"},{gridColumn:"4",gridRow:"1 / 3"},{gridColumn:"1",gridRow:"2"},{gridColumn:"2",gridRow:"2 / 4"},{gridColumn:"3",gridRow:"2"},{gridColumn:"1",gridRow:"3"},{gridColumn:"3",gridRow:"3"},{gridColumn:"4",gridRow:"3"}],nw=e=>{if(!e)return null;let t=e.match(/(?:youtube\.com\/watch\?v=|youtu\.be\/|youtube\.com\/embed\/)([^&?/]+)/);return t?.[1]||null},nv=()=>(0,a.jsxs)("svg",{width:52,height:52,viewBox:"0 0 52 52",fill:"none",children:[(0,a.jsx)("circle",{cx:26,cy:26,r:26,fill:"rgba(0,0,0,0.55)"}),(0,a.jsx)("path",{d:"M21 16L38 26L21 36V16Z",fill:"white"})]}),nk=()=>(0,a.jsx)("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",children:(0,a.jsx)("path",{d:"M15 5L5 15M5 5L15 15",stroke:"white",strokeWidth:2,strokeLinecap:"round"})}),nN=()=>(0,a.jsx)("svg",{width:28,height:28,viewBox:"0 0 28 28",fill:"none",children:(0,a.jsx)("path",{d:"M18 6L10 14L18 22",stroke:"white",strokeWidth:2.5,strokeLinecap:"round",strokeLinejoin:"round"})}),n_=()=>(0,a.jsx)("svg",{width:28,height:28,viewBox:"0 0 28 28",fill:"none",children:(0,a.jsx)("path",{d:"M10 6L18 14L10 22",stroke:"white",strokeWidth:2.5,strokeLinecap:"round",strokeLinejoin:"round"})}),nC=e=>{let{items:t,startIndex:l,onClose:s}=e,[n,r]=(0,c.useState)(l),i=(0,c.useCallback)(()=>r(e=>(e-1+t.length)%t.length),[t.length]),o=(0,c.useCallback)(()=>r(e=>(e+1)%t.length),[t.length]);(0,c.useEffect)(()=>{let e=e=>{"Escape"===e.key&&s(),"ArrowLeft"===e.key&&i(),"ArrowRight"===e.key&&o()};return window.addEventListener("keydown",e),document.body.style.overflow="hidden",()=>{window.removeEventListener("keydown",e),document.body.style.overflow=""}},[s,i,o]);let d=t[n],m=d.videoUrl?nw(d.videoUrl):null,x=d.image||null;return(0,a.jsxs)("div",{onClick:s,style:{position:"fixed",inset:0,background:"rgba(0,0,0,0.92)",zIndex:9999,display:"flex",alignItems:"center",justifyContent:"center"},children:[(0,a.jsx)("button",{onClick:s,style:{position:"absolute",top:20,right:20,background:"rgba(255,255,255,0.12)",border:"none",borderRadius:"50%",width:44,height:44,display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",zIndex:1},children:(0,a.jsx)(nk,{})}),t.length>1&&(0,a.jsx)("button",{onClick:e=>{e.stopPropagation(),i()},style:{position:"absolute",left:16,top:"50%",transform:"translateY(-50%)",background:"rgba(255,255,255,0.12)",border:"none",borderRadius:"50%",width:52,height:52,display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer"},children:(0,a.jsx)(nN,{})}),(0,a.jsx)("div",{onClick:e=>e.stopPropagation(),style:{display:"flex",alignItems:"center",justifyContent:"center"},children:d.videoUrl?m?(0,a.jsx)("iframe",{src:`https://www.youtube.com/embed/${m}?autoplay=1`,allow:"autoplay; encrypted-media",allowFullScreen:!0,style:{width:"min(88vw, 960px)",height:"min(49.5vw, 540px)",border:"none",borderRadius:10}},n):(0,a.jsx)("video",{src:d.videoUrl,controls:!0,autoPlay:!0,style:{maxWidth:"88vw",maxHeight:"88vh",borderRadius:10}},n):x&&(0,a.jsx)("img",{loading:"lazy",src:x,alt:"",style:{maxWidth:"88vw",maxHeight:"88vh",objectFit:"contain",borderRadius:10,display:"block"}},n)}),t.length>1&&(0,a.jsx)("button",{onClick:e=>{e.stopPropagation(),o()},style:{position:"absolute",right:16,top:"50%",transform:"translateY(-50%)",background:"rgba(255,255,255,0.12)",border:"none",borderRadius:"50%",width:52,height:52,display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer"},children:(0,a.jsx)(n_,{})}),t.length>1&&(0,a.jsxs)("p",{style:{position:"absolute",bottom:20,margin:0,fontFamily:"Montserrat, sans-serif",color:"rgba(255,255,255,0.5)",fontSize:13},children:[n+1," / ",t.length]})]})},nB=e=>{let{item:t,tall:l,onClick:s}=e,[n,r]=(0,c.useState)(!1),i=t.videoUrl?nw(t.videoUrl):null,o=t.image||null,d=i?`https://img.youtube.com/vi/${i}/hqdefault.jpg`:o;return(0,a.jsxs)("div",{onClick:s,onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1),style:{width:"100%",height:l?518:250,borderRadius:16,overflow:"hidden",background:"#cbd5e1",cursor:"pointer",position:"relative"},children:[d&&(0,a.jsx)(es(),{fill:!0,src:d,alt:"",style:{objectFit:"cover",transition:"transform 0.4s ease",transform:n?"scale(1.07)":"scale(1)"},sizes:"(max-width: 768px) 50vw, 25vw",placeholder:"blur",blurDataURL:sF.v}),t.videoUrl&&(0,a.jsx)("div",{style:{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center"},children:(0,a.jsx)(nv,{})})]})},nS={ComponentBlocksAlk90Banner:{Component:e=>{let{data:t}
19=e,l=a3(),s=l<640,n=l>=640&&l<1024,r=t.qrImage||null,i=t.googlePlayImage||null,o=t.appStoreImage||null,c=t.phone1Image||null,d=t.phone2Image||null,m=l>=1024&&(c||d),p=r||i||o,h=s?80:n?110:155,u=s?100:n?110:123,g=m?90:0,f=m?400:s?20:n?36:40;return(0,a.jsx)("div",{style:{position:"relative",width:"100%",paddingTop:g,paddingBottom:s?32:40,paddingLeft:s?16:0,paddingRight:s?16:0,boxSizing:"border-box"},children:(0,a.jsxs)("div",{style:{background:"#fff",borderRadius:15,boxShadow:"0px 4px 10px 0px rgba(0,0,0,0.25)",display:"flex",flexDirection:s?"column":"row",alignItems:s?"flex-start":"center",gap:s?20:47,padding:s?"24px 20px":n?"32px 36px":`40px ${f}px 40px 40px`,maxWidth:1595,width:"100%",marginLeft:"auto",marginRight:"auto",boxSizing:"border-box",minHeight:s?"auto":200,position:"relative",overflow:"visible"},children:[p&&(0,a.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:21,flexShrink:0},children:[r&&(0,a.jsx)("img",{loading:"lazy",src:r,alt:"QR Code",style:{width:h,height:h,objectFit:"contain",display:"block",flexShrink:0}}),(i||o)&&(0,a.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:12},children:[i&&(0,a.jsx)(x.Z,{to:t.googlePlayLink||"#",children:(0,a.jsx)("img",{loading:"lazy",src:i,alt:"Google Play",style:{width:u,height:"auto",display:"block",borderRadius:10,border:"1px solid #5823b2"}})}),o&&(0,a.jsx)(x.Z,{to:t.appStoreLink||"#",children:(0,a.jsx)("img",{loading:"lazy",src:o,alt:"App Store",style:{width:u,height:"auto",display:"block",borderRadius:10,border:"1px solid #5f1aae"}})})]})]}),p&&!s&&(0,a.jsx)("div",{style:{width:2,alignSelf:"stretch",background:"linear-gradient(180deg, #00AEEF 0%, #5F1AAE 100%)",borderRadius:1,flexShrink:0}}),p&&s&&(0,a.jsx)("div",{style:{width:"100%",height:2,background:"linear-gradient(90deg, #00AEEF 0%, #5F1AAE 100%)",borderRadius:1}}),(0,a.jsxs)("div",{style:{flex:1,minWidth:0,display:"flex",flexDirection:"column",gap:15},children:[(t.titleOutline||t.title)&&(0,a.jsxs)("div",{style:{display:"flex",alignItems:"baseline",flexWrap:"wrap",gap:"0 0.3em",fontFamily:"Montserrat, sans-serif",fontWeight:800,fontSize:s?24:n?32:40,lineHeight:1,textTransform:"uppercase"},children:[t.titleOutline&&(0,a.jsx)("span",{style:{color:"#fff",textShadow:"-2px -2px 0 #232A4F, -2px 0 0 #232A4F, -2px 2px 0 #232A4F, 0 -2px 0 #232A4F, 0 2px 0 #232A4F, 2px -2px 0 #232A4F, 2px 0 0 #232A4F, 2px 2px 0 #232A4F"},children:t.titleOutline}),t.title&&(0,a.jsx)("span",{style:{color:"#232A4F"},children:t.title})]}),t.description&&(0,a.jsx)("p",{style:{margin:0,fontFamily:"Montserrat, sans-serif",fontWeight:400,fontSize:s?13:14,lineHeight:"20px",color:"#101010",maxWidth:600},children:t.description})]}),m&&(0,a.jsxs)("div",{style:{position:"absolute",right:0,top:0,bottom:0,width:f,pointerEvents:"none"},children:[c&&(0,a.jsx)("img",{loading:"lazy",src:c,alt:"",style:{position:"absolute",right:180,top:-g+10,height:410,width:"auto",display:"block"}}),d&&(0,a.jsx)("img",{loading:"lazy",src:d,alt:"",style:{position:"absolute",right:20,top:-g+30,height:450,width:"auto",display:"block"}})]})]})})},template:{type:"Alk90Banner",label:"ALK90 Banner",defaultItem:{titleOutline:"АЛКАЛОИД",title:"ИЗЛОЖБА",description:"Истражете ја богатата историја на Алкалоид преку интерактивната ретроспективна изложба. Откријте приказни, артефакти и иновации кои ја обликуваат нашата 90-годишна традиција.",googlePlayLink:"#",appStoreLink:"#",_template:"ComponentBlocksAlk90Banner"},fields:[{name:"qrImage",label:"QR Code Image URL",component:"text"},{name:"googlePlayImage",label:"Google Play Badge Image URL",component:"text"},{name:"googlePlayLink",label:"Google Play Link",component:"text"},{name:"appStoreImage",label:"App Store Badge Image URL",component:"text"},{name:"appStoreLink",label:"App Store Link",component:"text"},{name:"titleOutline",label:"Title — Outline (e.g. АЛКАЛОИД)",component:"text"},{name:"title",label:"Title — Solid (e.g. ИЗЛОЖБА)",component:"text"},{name:"description",label:"Description",component:"textarea"},{name:"phone1Image",label:"Phone Mockup 1 URL (right side, left)",component:"text"},{name:"phone2Image",label:"Phone Mockup 2 URL (right side, right)",component:"text"}]}},ComponentBlocksAlk90Hero:{Component:e=>{let{data:t}=e,l=function(){let[e,t]=(0,c.useState)(1440);return(0,c.useEffect)(()=>{t(window.innerWidth);let e=()=>t(window.innerWidth);return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),e}();return l<768?(0,a.jsx)(sg,{data:t}):(0,a.jsx)(sf,{data:t,isDesktop:l>=1200})},template:{type:"Alk90Hero",label:"ALK90 Hero",defaultItem:{title:"Девет децении посветеност, знаење и одговорност.",subtitle:"Затоа што 90 години не се само историја, туку и иднина што ја градиме заедно – денес, утре, секогаш.",heroHtml:"/assets/Alkaloid \xb7 90 years — the story, layer by layer.html",heroVideo:"",mobileVideo:"",buttonLabel:"",buttonLink:"",buttonNewTab:!1,_template:"ComponentBlocksAlk90Hero"},fields:[{name:"title",label:"Title",component:"textarea"},{name:"subtitle",label:"Subtitle",component:"textarea"},{name:"heroHtml",label:"Animation HTML URL — used instead of the video/image when set",component:"text"},{name:"heroVideo",label:"Video URL (desktop)",component:"text"},{name:"mobileVideo",label:"Video URL (mobile) — optional, overrides desktop video on phones",component:"text"},{name:"buttonLabel",label:"Button Label",component:"text"},{name:"buttonLink",label:"Button Link",component:"text"},{name:"buttonNewTab",label:"Open in new tab",component:"toggle"}]}},ComponentBlocksAlk90InterviewHero:{Component:e=>{let{data:t}=e,l=(0,g.useRouter)(),s=s8[l.locale]||s8.mk,n=s9[l.locale]||s9.mk,r=s7[l.locale]||s7.mk,[i,o]=(0,c.useState)(!1);(0,c.useEffect)(()=>{let e=()=>
19o(window.innerWidth<640);return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]);let d=t?.heroBg||null;return(0,a.jsxs)("div",{style:{position:"relative",width:"100%",height:"clamp(180px, 22vw, 360px)",background:"#232A4F"},children:[(0,a.jsx)(ss,{}),(0,a.jsxs)("div",{style:{position:"absolute",inset:0,overflow:"hidden"},children:[d&&(0,a.jsx)(es(),{fill:!0,src:d,alt:"",style:{objectFit:"cover",objectPosition:"center",pointerEvents:"none"},sizes:"100vw",placeholder:"blur",blurDataURL:sF.v}),d&&(0,a.jsx)("div",{style:{position:"absolute",inset:0,background:"#232A4F",pointerEvents:"none"}})]}),(0,a.jsx)("div",{style:{position:"absolute",top:i?"mk"===l.locale?40:60:"clamp(20px, 4.5vw, 40px)",left:"clamp(20px, 8vw, 160px)",zIndex:10},children:(0,a.jsx)(x.Z,{to:r,children:(0,a.jsx)(es(),{src:s,alt:"Alkaloid",width:159,height:59,style:{width:i?n:"clamp(80px, 10vw, 159px)",height:"auto",objectFit:"contain",display:"block",filter:"brightness(0) invert(1)"},placeholder:"blur",blurDataURL:sF.v})})})]})},template:{type:"Alk90InterviewHero",label:"ALK90 Interview Hero",defaultItem:{heroBg:null,_template:"ComponentBlocksAlk90InterviewHero"},fields:[{name:"heroBg",label:"Background image URL",component:"text"}]}},ComponentBlocksAlk90Interview:{Component:e=>{let{data:t}=e,l=(0,g.useRouter)(),s=ne[l.locale]||ne.mk,n=t.questions||[],r=t.photo||null,i=function(){let[e,t]=(0,c.useState)(1440);return(0,c.useEffect)(()=>{t(window.innerWidth);let e=()=>t(window.innerWidth);return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),e}(),o=i<768;return(0,a.jsx)("div",{style:{width:"100%",boxSizing:"border-box"},children:(0,a.jsxs)("div",{style:{display:"flex",flexDirection:o?"column":"row",gap:o?0:"clamp(24px, 4vw, 73px)",padding:o?"40px 24px":"clamp(40px, 5vw, 80px) clamp(20px, 8vw, 150px)",alignItems:"flex-start",boxSizing:"border-box"},children:[(0,a.jsxs)("div",{style:{width:o?"100%":"clamp(260px, 30vw, 588px)",flexShrink:0,display:"flex",flexDirection:"column",marginBottom:o?32:0},children:[(0,a.jsx)("div",{style:{position:"relative",width:"100%",aspectRatio:o?"4 / 3":"588 / 702",overflow:"hidden",flexShrink:0},children:r?(0,a.jsx)(es(),{fill:!0,src:r,alt:t.personName||"",style:{objectFit:"cover",objectPosition:"top center"},sizes:"(max-width: 768px) 100vw, 30vw",placeholder:"blur",blurDataURL:sF.v}):(0,a.jsx)("div",{style:{width:"100%",height:"100%",background:"#eee"}})}),(0,a.jsx)("div",{style:{padding:o?"20px 24px":"clamp(24px, 3vw, 50px)",background:"linear-gradient(142deg, rgba(0,174,239,0.08) 38%, rgba(255,255,255,0.08) 100%)",boxSizing:"border-box"},children:(0,a.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:o?12:"clamp(16px, 2vw, 28px)"},children:[(0,a.jsx)("p",{style:{margin:0,fontFamily:"Montserrat, sans-serif",fontWeight:700,fontSize:o?22:"clamp(22px, 3vw, 40px)",textTransform:"uppercase",background:"linear-gradient(90deg, #5F1AAE 4.9%, #00AEEF 100%)",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text",lineHeight:1.1},children:t.personName||""}),(0,a.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:8},children:[(0,a.jsxs)("div",{style:{display:"flex",gap:10,flexWrap:"wrap"},children:[(0,a.jsx)("span",{style:{fontFamily:"Montserrat, sans-serif",fontWeight:600,fontSize:14,color:"#101010",whiteSpace:"nowrap"},children:s.position}),(0,a.jsx)("span",{style:{fontFamily:"Montserrat, sans-serif",fontWeight:400,fontSize:14,color:"#101010"},children:t.personPosition||""})]}),t.startYear&&(0,a.jsxs)("div",{style:{display:"flex",gap:10,flexWrap:"wrap"},children:[(0,a.jsx)("span",{style:{fontFamily:"Montserrat, sans-serif",fontWeight:600,fontSize:14,color:"#101010",whiteSpace:"nowrap"},children:s.yearsAtAlkaloid}),(0,a.jsx)("span",{style:{fontFamily:"Montserrat, sans-serif",fontWeight:400,fontSize:14,color:"#101010"},children:t.startYear})]})]}),(0,a.jsx)("div",{style:{height:1,background:"rgba(0,0,0,0.12)",width:"100%"}})]})})]}),(0,a.jsxs)("div",{style:{flex:"1 1 0",minWidth:0,paddingTop:o?0:"clamp(0px, 3vw, 50px)",display:"flex",flexDirection:"column",gap:o?20:"clamp(24px, 3vw, 38px)"},children:[(0,a.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:4},children:[(0,a.jsx)("p",{style:{margin:0,fontFamily:"Montserrat, sans-serif",fontWeight:600,fontSize:o?16:"clamp(16px, 2vw, 32px)",color:"#00AEEF",lineHeight:1.4},children:t.articleSubtitle||(t.personName?`${t.personName}:`:"")}),(0,a.jsx)("h1",{style:{margin:0,fontFamily:"Montserrat, sans-serif",fontWeight:500,fontSize:o?22:"clamp(22px, 3.5vw, 50px)",color:"#101010",lineHeight:1.2},children:t.articleTitle||""})]}),(0,a.jsx)("div",{style:{display:"flex",flexDirection:"column",gap:o?20:"clamp(20px, 2.5vw, 35px)"},children:n.map((e,t)=>(0,a.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:8},children:[(0,a.jsx)("p",{style:{margin:0,fontFamily:"Montserrat, sans-serif",fontWeight:600,fontSize:o?14:"clamp(14px, 1.3vw, 20px)",color:"#101010",lineHeight:"1.6"},children:e.question}),(0,a.jsx)("p",{style:{margin:0,fontFamily:"Montserrat, sans-serif",fontWeight:400,fontSize:14,color:"#101010",lineHeight:"1.7",textAlign:"justify"},children:e.answer})]},t))})]})]})})},template:{type:"Alk90Interview",label:"ALK90 Interview",defaultItem:{personName:"Страшо Арсовски",personPosition:"Работник во Обезбедување и заштита",startYear:"1999",articleSubtitle:"Страшо Арсовски:",articleTitle:"Првиот работен ден го паметам kako сериозен предизвик",questions:[],_template:"ComponentBlocksAlk90Interview"},fields:[{name:"photo",label:"Person photo URL",component:"text"},{name:"personName",label:"Person name",component:"text"},{name:"personPosition",label:"Person position",component:"text"},{name:"startYear",label:"Start year",component:"text"},{name:"articleSubtitle",label:"Article subtitle",component:"text"},{name:"articleTitle",label:"Article title",component:"text"},{name:"questions",label:"Q&A",component:"group-list",itemProps:e=>({label:e.question||"Question"}),defaultItem:{question:"",answer:""},fields:[{name:"question",label:"Question",component:"text"},{name:"answer",label:"Answer",component:"textarea"}]}]}},ComponentBlocksAlk90News:{Component:e=>{let{data:t}=e,l=(0,g.useRouter)(),s=nt[l.locale]||nt.mk,n=t.categories||[],r=t.news||[],[i,o]=(0,c.useState)("all"),[d,m]=(0,c.useState)("all"),x=e=>{o(e),m("all")},p=n.find(e=>
19e.id===i),h=p?.subcategories?.length>0,u=r.filter(e=>{let t="all"===i||e.category===i,l=!h||"all"===d||e.subcategory===d;return t&&l});return(0,a.jsx)("div",{style:{padding:"clamp(40px, 7vw, 150px)",boxSizing:"border-box"},children:(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{style:{marginBottom:"clamp(32px, 5vw, 97px)",maxWidth:956},children:[(0,a.jsx)("h2",{style:{fontFamily:"Montserrat, sans-serif",fontWeight:800,fontSize:"clamp(36px, 5vw, 70px)",background:"linear-gradient(90deg, #5F1AAE 4.9%, #00AEEF 100%)",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text",textTransform:"uppercase",margin:"0 0 15px",lineHeight:1.15},children:t.title||"НОВОСТИ"}),t.subtitle&&(0,a.jsx)("p",{style:{fontFamily:"Montserrat, sans-serif",fontWeight:400,fontSize:"clamp(14px, 1.5vw, 20px)",color:"#101010",margin:0,lineHeight:"28px"},children:t.subtitle})]}),(0,a.jsxs)("div",{style:{display:"flex",gap:20,flexWrap:"wrap",marginBottom:"clamp(32px, 5vw, 85px)",alignItems:"center"},children:[(0,a.jsxs)("button",{onClick:()=>x("all"),style:{display:"inline-flex",alignItems:"center",gap:12,padding:"18px 20px",borderRadius:50,border:"all"===i?"none":"1px solid #888",cursor:"pointer",background:"all"===i?"linear-gradient(90deg, #5F1AAE 4.9%, #00AEEF 100%)":"transparent"},children:[(0,a.jsx)("span",{style:{fontFamily:"Montserrat, sans-serif",fontWeight:600,fontSize:"clamp(15px, 1.4vw, 20px)",color:"all"===i?"#fff":"#888",whiteSpace:"nowrap"},children:s.all}),(0,a.jsx)(nl,{color:"all"===i?"#fff":"#888",size:11})]}),n.map(e=>(0,a.jsxs)("button",{onClick:()=>x(e.id),style:{display:"inline-flex",alignItems:"center",gap:12,padding:"18px 20px",borderRadius:50,border:i===e.id?"none":"1px solid #888",cursor:"pointer",background:i===e.id?"linear-gradient(90deg, #5F1AAE 4.9%, #00AEEF 100%)":"transparent"},children:[(0,a.jsx)("span",{style:{fontFamily:"Montserrat, sans-serif",fontWeight:600,fontSize:"clamp(15px, 1.4vw, 20px)",color:i===e.id?"#fff":"#888",whiteSpace:"nowrap"},children:e.label}),(0,a.jsx)(nl,{color:i===e.id?"#fff":"#888",size:11})]},e.id)),h&&(0,a.jsx)(nn,{label:p.subcategoryLabel||s.municipality,subcategories:p.subcategories,activeSubcategory:d,onSelect:m,t:s})]}),(0,a.jsxs)("div",{style:{display:"flex",flexWrap:"wrap",gap:"clamp(20px, 3.5vw, 70px)"},children:[u.map((e,l)=>(0,a.jsx)(nr,{item:e,readMoreLabel:t.readMoreLabel,t:s},l)),0===u.length&&(0,a.jsx)("p",{style:{fontFamily:"Montserrat, sans-serif",fontWeight:400,fontSize:16,color:"#888"},children:s.noNews})]})]})})},template:{type:"Alk90News",label:"ALK90 Новости",defaultItem:{title:"НОВОСТИ",subtitle:"Бидете во тек со компаниската култура, тимските активности и заедничките успеси што н\xe8 поврзуваат.",readMoreLabel:"Прочитај повеќе",categories:[{id:"korporativni-nastani",label:"Корпоративни настани",subcategoryLabel:"",subcategories:[]},{id:"gradinki",label:"Градинки",subcategoryLabel:"Општина",subcategories:[]}],news:[],_template:"ComponentBlocksAlk90News"},fields:[{name:"title",label:"Title",component:"text"},{name:"subtitle",label:"Subtitle",component:"textarea"},{name:"readMoreLabel",label:"Read more label",component:"text"},{name:"categories",label:"Categories",component:"group-list",itemProps:e=>({label:e.label||e.id||"Category"}),defaultItem:{id:"",label:"",subcategoryLabel:"",subcategories:[]},fields:[{name:"id",label:"ID (slug, no spaces)",component:"text"},{name:"label",label:"Label (displayed text)",component:"text"},{name:"subcategoryLabel",label:"Subcategory dropdown label (e.g. Општина)",component:"text"},{name:"subcategories",label:"Subcategories (shown as dropdown)",component:"group-list",itemProps:e=>({label:e.label||e.id||"Subcategory"}),defaultItem:{id:"",label:""},fields:[{name:"id",label:"ID (slug, no spaces)",component:"text"},{name:"label",label:"Label (displayed text)",component:"text"}]}]},{name:"news",label:"News items",component:"group-list",itemProps:e=>({label:e.title||"News item"}),defaultItem:{title:"",date:"",description:"",image:null,link:"",newTab:!1,category:"",subcategory:""},fields:[{name:"image",label:"Image URL",component:"text"},{name:"title",label:"Title",component:"text"},{name:"date",label:"Date (e.g. 04.03.2026)",component:"text"},{name:"description",label:"Description",component:"textarea"},{name:"link",label:"Link",component:"text"},{name:"newTab",label:"Open in new tab",component:"toggle"},{name:"category",label:"Category ID (must match a category above)",component:"text"},{name:"subcategory",label:"Subcategory ID (optional, for dropdown filter)",component:"text"}]}]}},ComponentBlocksAlk90JubileeLogos:{Component:e=>{let{data:t}=e,l=t.items||[],[s,n]=(0,c.useState)(0),[r,i]=(0,c.useState)(!1),[o,d]=(0,c.useState)(0);(0,c.useRef)(null);let m=(0,c.useRef)(null),x=(0,c.useRef)(0),p=(0,c.useRef)(0);(0,c.useEffect)(()=>{x.current=s},[s]);let h=(0,c.useCallback)(()=>{let e=window.innerWidth<768;i(e);let t=m.current;if(!e&&t&&l.length>0){let e=3.5+(l.length-1),a=3.5*t.offsetWidth/e;d(.7*a)}},[l.length]);return((0,c.useEffect)(()=>(h(),window.addEventListener("resize",h),()=>window.removeEventListener("resize",h)),[h]),(0,c.useEffect)(()=>{let e=m.current;if(!e||r)return;let t=e=>{let t=Date.now();if(t-p.current<300)return;p.current=t;let a=e.deltaY>0?Math.min(x.current+1,l.length-1):Math.max(x.current-1,0);
19a!==x.current&&(e.preventDefault(),n(a))};return e.addEventListener("wheel",t,{passive:!1}),()=>e.removeEventListener("wheel",t)},[r,l.length]),0===l.length)?null:(0,a.jsxs)("div",{id:"logos",ref:m,style:{width:"100%",overflow:"hidden",boxSizing:"border-box"},children:[t.title&&(0,a.jsx)("div",{style:{padding:"clamp(40px, 7vw, 100px) clamp(20px, 7vw, 150px) clamp(24px, 4vw, 50px)"},children:(0,a.jsx)("h2",{style:{fontFamily:"Montserrat, sans-serif",fontWeight:500,fontSize:"clamp(32px, 5vw, 70px)",color:"#232A4F",textAlign:"center",margin:0,lineHeight:1.2},children:t.title})}),(0,a.jsx)("div",{style:{maxWidth:1300,margin:"0 auto",width:"100%",overflow:"hidden"},children:(0,a.jsx)("div",{ref:m,style:{display:"flex",flexDirection:r?"column":"row",height:r?"auto":o||"auto",alignItems:"stretch",overflow:"hidden"},children:l.map((e,t)=>(0,a.jsx)(ni,{item:e,index:t,isExpanded:s===t,isMobile:r,containerHeight:o,onEnter:()=>n(t),onLeave:()=>n(0),onClick:()=>n(t)},t))})})]})},template:{type:"Alk90JubileeLogos",label:"ALK90 Јубилејни логоа",defaultItem:{title:"Јубилејни логоа",items:[{year:"1971 година",description:"35 години постоење на Алкалоид",logo:null}],_template:"ComponentBlocksAlk90JubileeLogos"},fields:[{name:"title",label:"Title",component:"text"},{name:"items",label:"Logo items",component:"group-list",itemProps:e=>({label:e.year||e.description||"Item"}),defaultItem:{year:"",description:"",logo:null},fields:[{name:"year",label:"Year label (e.g. 1971 година)",component:"text"},{name:"description",label:"Description",component:"text"},{name:"logo",label:"Logo image URL",component:"text"}]}]}},ComponentBlocksAlk90JubileeBranding:{Component:e=>{let{data:t}=e,[l,s]=(0,c.useState)(1),n=t?.image||null,r=no.map((e,l)=>{let a=t?.hotspots?.[l]||{};return{...e,year:a.year||e.year,description:a.description||e.description}});return(0,a.jsxs)("div",{style:{width:"100%",fontFamily:"Montserrat, sans-serif"},children:[(0,a.jsxs)("div",{style:{padding:"clamp(32px,5vw,80px) clamp(20px,9vw,150px) clamp(16px,3vw,40px)"},children:[(0,a.jsx)("p",{style:{margin:0,fontWeight:900,fontSize:"clamp(22px,5.5vw,78px)",lineHeight:1.05,letterSpacing:"0.02em",textTransform:"uppercase",color:"#fff",textShadow:"-2px -2px 0 #023F88,-2px 0 0 #023F88,-2px 2px 0 #023F88,0 -2px 0 #023F88,0 2px 0 #023F88,2px -2px 0 #023F88,2px 0 0 #023F88,2px 2px 0 #023F88"},children:t?.title1||"90 ГОДИНИ"}),(0,a.jsx)("p",{style:{margin:0,fontWeight:900,fontSize:"clamp(18px,5vw,70px)",lineHeight:1.05,textTransform:"uppercase",color:"#232A4F"},children:t?.title2||"ЈУБИЛЕЕН БРЕНДИНГ"})]}),(0,a.jsxs)("div",{onMouseLeave:()=>s(1),style:{position:"relative",width:"100%",aspectRatio:"1631 / 972",overflow:"hidden"},children:[n&&(0,a.jsx)(es(),{src:n,alt:"",width:750,height:750,draggable:!1,style:{position:"absolute",left:"5.9%",top:"-6.4%",width:"45.9%",height:"77.2%",objectFit:"cover",pointerEvents:"none",userSelect:"none"},placeholder:"blur",blurDataURL:sF.v}),(0,a.jsx)("svg",{viewBox:"0 0 1631 972",preserveAspectRatio:"none",style:{position:"absolute",inset:0,width:"100%",height:"100%",pointerEvents:"none"},children:r.map(e=>(0,a.jsx)("polyline",{points:e.svgPath,stroke:"#023F88",strokeWidth:"1.5",vectorEffect:"non-scaling-stroke",fill:"none",style:{opacity:l===e.id?1:0,transition:"opacity 0.3s ease"}},e.id))}),r.map(e=>{let t=l===e.id;return(0,a.jsxs)(c.Fragment,{children:[(0,a.jsx)("div",{onMouseEnter:()=>s(e.id),style:{position:"absolute",left:`${e.cx}%`,top:`${e.cy}%`,transform:"translate(-50%, -50%)",width:"4%",aspectRatio:"1 / 1",cursor:"crosshair",zIndex:5}}),(0,a.jsx)("div",{style:{position:"absolute",left:`${e.cx}%`,top:`${e.cy}%`,transform:"translate(-50%, -50%)",width:8,height:8,borderRadius:"50%",background:t?"#00AEEF":"#023F88",transition:"background 0.3s ease",pointerEvents:"none",zIndex:4}}),(0,a.jsx)("div",{style:{position:"absolute",left:`${e.cx}%`,top:`${e.cy}%`,transform:"translate(-50%, -50%)",width:"12%",aspectRatio:"1 / 1",border:"4px solid #023F88",borderRadius:"50%",background:"rgba(255,255,255,0.2)",opacity:t?1:0,transition:"opacity 0.35s ease",pointerEvents:"none",zIndex:3}})]},e.id)}),r.map(e=>(0,a.jsxs)("div",{style:{position:"absolute",left:"73%",top:`${e.textY}%`,maxWidth:"26%",opacity:l===e.id?1:0,transform:l===e.id?"translateY(0)":"translateY(-6px)",transition:"opacity 0.3s ease, transform 0.3s ease",pointerEvents:"none",zIndex:4},children:[(0,a.jsx)("p",{style:{margin:0,fontWeight:700,fontSize:"clamp(14px,3vw,50px)",color:"#023F88",lineHeight:1.4},children:e.year}),(0,a.jsx)("p",{style:{margin:"4px 0 0",fontWeight:400,fontSize:"clamp(11px,2.4vw,40px)",color:"#023F88",lineHeight:1.5,whiteSpace:"pre-line"},children:e.description})]},`label-${e.id}`))]}),(t?.buttonText||t?.buttonLink)&&(0,a.jsx)("div",{style:{display:"flex",justifyContent:"flex-start",padding:"clamp(16px,2vw,32px) clamp(20px,9vw,150px)",marginTop:"-18vw",position:"relative",zIndex:10},children:(0,a.jsx)(x.Z,{to:t?.buttonLink||"#",style:{cursor:"pointer"},children:(0,a.jsxs)("div",{style:{display:"inline-flex",alignItems:"center",gap:10,background:"linear-gradient(to right, #5f1aae 4.9%, #00aeef)",borderRadius:50,padding:"clamp(10px,1.2vw,18px) clamp(14px,1.8vw,28px)",cursor:"pointer",pointerEvents:"all"},children:[(0,a.jsx)("span",{style:{color:"#fff",fontFamily:"Montserrat, sans-serif",fontWeight:600,fontSize:"clamp(13px,1.1vw,20px)",whiteSpace:"nowrap"},children:t?.buttonText||"Погледни го целиот брендинг"}),(0,a.jsx)("span",{style:{color:"#fff",fontSize:"1.2em",lineHeight:1},children:"›"})]})})})]})},template:{type:"Alk90JubileeBranding",label:"ALK90 Јубилеен брендинг (интерактивна)",defaultItem:{title1:"90 ГОДИНИ",title2:"ЈУБИЛЕЕН БРЕНДИНГ",buttonText:"Погледни го целиот брендинг",buttonLink:"#",image:null,hotspots:[],_template:"ComponentBlocksAlk90JubileeBranding"},fields:[{name:"title1",label:"Наслов ред 1 (stroke)",component:"text"},{name:"title2",label:"Наслов ред 2 (bold)",component:"text"},{name:"image",label:"Главна илустрација (URL)",component:"text"},{name:"buttonText",label:"Текст на копчето",component:"text"},{name:"buttonLink",label:"Линк на копчето",component:"text"},{name:"hotspots",label:"Hotspot текстови (позиции се фиксни)",component:"group-list",itemProps:e=>({label:e.year||"Hotspot"}),defaultItem:{year:"",description:""},fields:[{name:"year",label:"Година",component:"text"},{name:"description",label:"Опис",component:"textarea"}]}]}},ComponentBlocksAlk90HistoryTimeline:{Component:e=>{let{data:t}=e,l=t.chapters&&t.chapters.length>0?t.chapters:nd,[s,n]=(0,c.useState)(0),r=(0,c.useRef)([]),i=(0,c.useRef)(!0),o=(0,c.useRef)(null),d=function(){let[e,t]=(0,c.useState)(1440);return(0,c.useEffect)(()=>{t(window.innerWidth);let e=()=>t(window.innerWidth);return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),e}(),m=d<768;(0,c.useEffect)(()=>{let e=l.map((e,t)=>{let l=new IntersectionObserver(e=>{let[l]=e;l.isIntersecting&&i.current&&n(t)}
19,{rootMargin:"-20% 0px -60% 0px",threshold:0});return r.current[t]&&l.observe(r.current[t]),l});return()=>e.forEach(e=>e.disconnect())},[l.length]),(0,c.useEffect)(()=>{if(!m||!o.current)return;let e=o.current.children[s];e&&e.scrollIntoView({behavior:"smooth",block:"nearest",inline:"center"})},[s,m]);let x=e=>{i.current=!1,n(e),r.current[e]?.scrollIntoView({behavior:"smooth",block:"start"}),setTimeout(()=>{i.current=!0},1e3)};return m?(0,a.jsxs)("div",{style:{width:"100%",boxSizing:"border-box"},children:[(0,a.jsx)("div",{style:{position:"sticky",top:0,zIndex:20,background:"#fff",boxShadow:"0 2px 8px rgba(0,0,0,0.08)",padding:"12px 20px"},children:(0,a.jsx)("div",{ref:o,style:{display:"flex",gap:8,overflowX:"auto",scrollbarWidth:"none",msOverflowStyle:"none",WebkitOverflowScrolling:"touch"},children:l.map((e,t)=>{let l=t===s;return(0,a.jsx)("button",{onClick:()=>x(t),style:{flexShrink:0,padding:"7px 14px",borderRadius:50,border:"none",cursor:"pointer",fontFamily:"Montserrat, sans-serif",fontWeight:l?700:500,fontSize:11,whiteSpace:"nowrap",background:l?"linear-gradient(20deg, #5823B2 10.93%, #04A7EC 69.86%)":"#F0F4FA",color:l?"#fff":"#023F88",transition:"all 0.25s"},children:e.yearRange||e.navTitle||e.title},t)})})}),(0,a.jsx)("div",{style:{padding:"40px 20px 60px",boxSizing:"border-box"},children:l.map((e,t)=>(0,a.jsx)(nu,{chapter:e,sectionRef:e=>{r.current[t]=e},isMobile:!0},t))})]}):(0,a.jsx)("div",{style:{width:"100%",boxSizing:"border-box",padding:"clamp(60px, 7vw, 120px) clamp(20px, 4vw, 60px)"},children:(0,a.jsxs)("div",{style:{maxWidth:1440,margin:"0 auto",display:"grid",gridTemplateColumns:"clamp(120px, 13vw, 200px) 1fr clamp(120px, 13vw, 200px)",gap:"0 clamp(20px, 3vw, 48px)",alignItems:"stretch"},children:[(0,a.jsx)("div",{}),(0,a.jsx)("div",{children:l.map((e,t)=>(0,a.jsx)(nu,{chapter:e,sectionRef:e=>{r.current[t]=e},isMobile:!1},t))}),(0,a.jsx)("div",{children:(0,a.jsxs)("div",{style:{position:"sticky",top:100,display:"flex",flexDirection:"column",alignItems:"center",gap:28},children:[(0,a.jsx)(nm,{direction:"up",onClick:()=>x(Math.max(0,s-1)),disabled:0===s}),(0,a.jsx)("nav",{style:{display:"flex",flexDirection:"column",alignItems:"center",gap:20,width:"100%"},children:l.map((e,t)=>{let l=t===s;return(0,a.jsx)("button",{onClick:()=>x(t),style:{background:"none",border:"none",cursor:"pointer",padding:0,textAlign:"center",fontFamily:"Montserrat, sans-serif",fontWeight:l?800:400,fontSize:l?"clamp(14px, 1.4vw, 20px)":"clamp(11px, 1.1vw, 15px)",lineHeight:1.3,letterSpacing:"0.03em",textTransform:"uppercase",transition:"font-size 0.2s",...l?nc:{color:"#023F88"}},children:e.navTitle||e.title},t)})}),(0,a.jsx)(nm,{direction:"down",onClick:()=>x(Math.min(l.length-1,s+1)),disabled:s===l.length-1})]})})]})})},template:{type:"Alk90HistoryTimeline",label:"ALK90 History Timeline",defaultItem:{chapters:nd,_template:"ComponentBlocksAlk90HistoryTimeline"},fields:[{name:"chapters",label:"Chapters",component:"group-list",itemProps:e=>({label:e.navTitle||e.yearRange||"Chapter"}),defaultItem:{navTitle:"",yearRange:"",title:"",description:"",events:[]},fields:[{name:"navTitle",label:"Sidebar nav title (uppercase)",component:"text"},{name:"yearRange",label:"Year range",component:"text"},{name:"title",label:"Chapter title",component:"text"},{name:"description",label:"Intro description",component:"textarea"},{name:"events",label:"Events",component:"group-list",itemProps:e=>({label:e.date||e.title||"Event"}),defaultItem:{title:"",date:"",image1:null,image2:null},fields:[{name:"date",label:"Date label",component:"text"},{name:"title",label:"Event title",component:"text"},{name:"image1",label:"Image 1 URL",component:"text"},{name:"image2",label:"Image 2 URL (opt)",component:"text"}]}]}]}},ComponentBlocksAlk90CsrArticle:{Component:e=>{let{data:t}=e,l=t.image||null,s=[t.stat1Label&&t.stat1Value?`${t.stat1Label}: ${t.stat1Value}`:null,t.stat2Label&&t.stat2Value?`${t.stat2Label}: ${t.stat2Value}`:null,t.stat3Label&&t.stat3Value?`${t.stat3Label}: ${t.stat3Value}`:null].filter(Boolean);return(0,a.jsxs)("div",{style:{width:"100%",maxWidth:1244,margin:"0 auto",boxSizing:"border-box",display:"flex",flexDirection:"column",gap:"clamp(40px, 6vw, 92px)"},children:[(0,a.jsxs)("div",{style:{width:"100%",display:"flex",flexDirection:"column"},children:[(0,a.jsx)("div",{style:{position:"relative",width:"100%",height:"clamp(260px, 35vw, 515px)",overflow:"hidden",borderRadius:"8px 8px 0 0"},children:l&&(0,a.jsx)(es(),{fill:!0,src:l,alt:t.title||"",style:{objectFit:"cover"},sizes:"(max-width: 768px) 100vw, 50vw",placeholder:"blur",blurDataURL:sF.v})}),(0,a.jsxs)("div",{style:{width:"100%",boxSizing:"border-box",background:"linear-gradient(161deg, rgba(0,174,239,0.08) 38.46%, rgba(255,255,255,0.08) 100%)",padding:"clamp(30px, 4vw, 50px) clamp(20px, 5vw, 50px)",display:"flex",flexDirection:"column",alignItems:"center",gap:"clamp(24px, 3.5vw, 50px)"},children:[t.title&&(0,a.jsx)("p",{style:{margin:0,fontFamily:"Montserrat, sans-serif",fontWeight:600,fontSize:"clamp(22px, 3vw, 40px)",textAlign:"center",textTransform:"uppercase",lineHeight:1.25,background:"linear-gradient(90deg, #5F1AAE 4.9%, #00AEEF 100%)",WebkitBackgroun
19dClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text"},children:t.title}),s.length>0&&(0,a.jsx)("div",{style:{display:"flex",gap:"clamp(16px, 3vw, 25px)",flexWrap:"wrap",justifyContent:"center"},children:s.map((e,t)=>(0,a.jsx)("p",{style:{margin:0,fontFamily:"Montserrat, sans-serif",fontWeight:500,fontSize:14,lineHeight:"25px",color:"#023F88",whiteSpace:"nowrap"},children:e},t))})]})]}),t.description&&(0,a.jsx)("div",{style:{padding:"0 clamp(20px, 5vw, 50px)",boxSizing:"border-box"},children:(0,a.jsx)("p",{style:{margin:0,fontFamily:"Montserrat, sans-serif",fontWeight:400,fontSize:14,lineHeight:"25px",color:"#101010",whiteSpace:"pre-line"},children:t.description})})]})},template:{type:"Alk90CsrArticle",label:"ALK90 CSR Article",defaultItem:{title:'Детска градинка "Сонце" - Општина Аеродром',image:null,stat1Label:"Број на клонови",stat1Value:"5",stat2Label:"Број на деца",stat2Value:"150",stat3Label:"Датум на достава",stat3Value:"21.04.26",description:"",_template:"ComponentBlocksAlk90CsrArticle"},fields:[{name:"image",label:"Hero image URL",component:"text"},{name:"title",label:"Title",component:"text"},{name:"stat1Label",label:"Stat 1 label",component:"text"},{name:"stat1Value",label:"Stat 1 value",component:"text"},{name:"stat2Label",label:"Stat 2 label",component:"text"},{name:"stat2Value",label:"Stat 2 value",component:"text"},{name:"stat3Label",label:"Stat 3 label",component:"text"},{name:"stat3Value",label:"Stat 3 value",component:"text"},{name:"description",label:"Body text",component:"textarea"}]}},ComponentBlocksAlk90LatestNews:{Component:e=>{let{data:t}=e,l=(0,g.useRouter)(),s=l.locale||"mk",[n,r]=(0,c.useState)([]);return(0,c.useEffect)(()=>{_.Z.get(`https://cms.alkaloid.com.mk/api/pages?${le().stringify({filters:{isAlk90News:{$eq:!0}},sort:"publishedAt:desc",pagination:{pageSize:3},populate:"*"})}`).then(e=>r(e.data?.data||[])).catch(()=>{})},[]),(0,a.jsxs)("div",{style:{width:"100%",boxSizing:"border-box",padding:"clamp(40px, 6vw, 100px) clamp(20px, 8vw, 150px)",display:"flex",flexDirection:"column",gap:40},children:[(0,a.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:15},children:[t.title&&(0,a.jsx)("p",{style:{margin:0,fontFamily:"Montserrat, sans-serif",fontWeight:800,fontSize:"clamp(40px, 5vw, 70px)",lineHeight:1,textTransform:"uppercase",background:"linear-gradient(90deg, #5F1AAE 4.9%, #00AEEF 100%)",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text"},children:t.title}),t.subtitle&&(0,a.jsx)("p",{style:{margin:0,fontFamily:"Montserrat, sans-serif",fontWeight:400,fontSize:"clamp(14px, 1.4vw, 20px)",lineHeight:"28px",color:"#101010",maxWidth:956},children:t.subtitle})]}),n.length>0&&(0,a.jsx)("div",{style:{display:"flex",gap:"clamp(20px, 4vw, 70px)",alignItems:"stretch"},children:n.map(e=>(0,a.jsx)(nj,{article:e,readMoreLabel:t.readMoreLabel,locale:s},e.id))})]})},template:{type:"Alk90LatestNews",label:"ALK90 Latest News (auto)",defaultItem:{title:"НОВОСТИ",subtitle:"Бидете во тек со компаниската култура, тимските активности и заедничките успеси што н\xe8 поврзуваат.",readMoreLabel:"Прочитај повеќе",_template:"ComponentBlocksAlk90LatestNews"},fields:[{name:"title",label:"Section title",component:"text"},{name:"subtitle",label:"Subtitle",component:"textarea"},{name:"readMoreLabel",label:"Read more label",component:"text"}]}},ComponentBlocksAlk90MediaGallery:{Component:e=>{let{data:t}=e,[l,s]=(0,c.useState)(null),n=t.items||[];if(0===n.length)return null;let r=n.slice(0,10),i=n.slice(10);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{style:{width:"100%",boxSizing:"border-box",padding:"clamp(40px, 6vw, 100px) clamp(20px, 8vw, 150px)",display:"flex",flexDirection:"column",gap:"clamp(32px, 5vw, 60px)"},children:[(t.titleOutline||t.titleGradient)&&(0,a.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:16},children:[(0,a.jsxs)("div",{style:{display:"flex",alignItems:"baseline",fontFamily:"Montserrat, sans-serif",fontWeight:800,fontSize:"clamp(36px, 5vw, 70px)",lineHeight:1.15,textTransform:"uppercase",gap:14,flexWrap:"wrap"},children:[t.titleOutline&&(0,a.jsx)("span",{className:"alk90-outline-white",style:{color:"transparent",WebkitTextStroke:"2px #101010"},children:t.titleOutline}),t.titleGradient&&(0,a.jsx)("span",{style:{background:"linear-gradient(90deg, #5F1AAE 4.9%, #00AEEF 100%)",WebkitBackgroun
19dClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text"},children:t.titleGradient})]}),(0,a.jsx)("div",{style:{height:3,width:"clamp(160px, 30vw, 380px)",borderRadius:2,background:"linear-gradient(90deg, #5F1AAE 4.9%, #00AEEF 100%)"}})]}),(0,a.jsx)("div",{style:{display:"grid",gridTemplateColumns:"repeat(4, 1fr)",gridTemplateRows:"repeat(3, 250px)",gap:18,width:"100%"},children:ny.map((e,t)=>{let{gridColumn:l,gridRow:n}=e,i=r[t];return i?(0,a.jsx)("div",{style:{gridColumn:l,gridRow:n},children:(0,a.jsx)(nB,{item:i,tall:n.includes("/"),onClick:()=>s(t)})},t):(0,a.jsx)("div",{style:{gridColumn:l,gridRow:n}},t)})}),i.length>0&&(0,a.jsx)("div",{style:{display:"grid",gridTemplateColumns:"repeat(4, 1fr)",gap:18},children:i.map((e,t)=>(0,a.jsx)("div",{style:{height:250},children:(0,a.jsx)(nB,{item:e,tall:!1,onClick:()=>s(10+t)})},t))})]}),null!==l&&(0,a.jsx)(nC,{items:n,startIndex:l,onClose:()=>s(null)})]})},template:{type:"Alk90MediaGallery",label:"ALK90 Media Gallery (photos + videos)",defaultItem:{titleOutline:"ГАЛЕ",titleGradient:"РИЈА",items:[],_template:"ComponentBlocksAlk90MediaGallery"},fields:[{name:"titleOutline",label:"Title — Outline word",component:"text"},{name:"titleGradient",label:"Title — Gradient word",component:"text"},{name:"items",label:"Photos & Videos",component:"group-list",itemProps:e=>({label:e.videoUrl?`Video: ${e.videoUrl.slice(0,40)}`:"Photo"}),defaultItem:{image:null,videoUrl:""},fields:[{name:"image",label:"Photo URL",component:"text"},{name:"videoUrl",label:"Video URL (YouTube or direct)",component:"text"}]}]}},ComponentBlocksAlk90Influence:{Component:e=>{let{data:t}=e,l=function(){let[e,t]=(0,c.useState)(1440);return(0,c.useEffect)(()=>{t(window.innerWidth);let e=()=>t(window.innerWidth);return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),e}(),s=[{value:t.counter1Value||"220",label:t.counter1Label||"Градинки вклучени"},{value:t.counter2Value||"163",label:t.counter2Label||"Опфатени општини"},{value:t.counter3Value||"80",label:t.counter3Label||"Донирани средства"},{value:t.counter4Value||"1350",label:t.counter4Label||"Деца вклучени"}];return l<768?(0,a.jsxs)("div",{style:{width:"100%",background:"#fff",padding:"60px 24px",boxSizing:"border-box",display:"flex",flexDirection:"column",alignItems:"center",gap:32},children:[(0,a.jsx)(sw,{data:t,fontSize:44,align:"center"}),(0,a.jsx)("p",{style:{margin:0,fontFamily:"Montserrat, sans-serif",fontWeight:300,fontSize:18,lineHeight:"1.5",color:"#101010",textAlign:"center"},children:t.caption||"Грижата за здравјето почнува од најмалите!"}),(0,a.jsx)("div",{style:{display:"grid",gridTemplateColumns:"repeat(2, auto)",columnGap:20,rowGap:24},children:s.map((e,t)=>(0,a.jsx)(sy,{value:e.value,label:e.label,circleSize:148},t))})]}):l>=768&&l<1450?(0,a.jsxs)("div",{style:{width:"100%",background:"#fff",padding:"80px 60px",boxSizing:"border-box",display:"flex",alignItems:"center",justifyContent:"center",gap:60,flexWrap:"wrap"},children:[(0,a.jsxs)("div",{style:{flex:"1 1 280px",maxWidth:420,display:"flex",flexDirection:"column",gap:10},children:[(0,a.jsx)(sw,{data:t,fontSize:54}),(0,a.jsx)("p",{style:{margin:"12px 0 0 0",fontFamily:"Montserrat, sans-serif",fontWeight:300,fontSize:20,lineHeight:"1.5",color:"#101010"},children:t.caption||"Грижата за здравјето почнува од најмалите!"})]}),(0,a.jsx)("div",{style:{flex:"0 0 auto",display:"grid",gridTemplateColumns:"repeat(2, auto)",columnGap:40,rowGap:40},children:s.map((e,t)=>(0,a.jsx)(sy,{value:e.value,label:e.label,circleSize:180},t))})]}):(0,a.jsxs)("div",{style:{width:"100%",display:"flex",justifyContent:"center",alignItems:"center",padding:"100px 150px",boxSizing:"border-box",gap:335},children:[(0,a.jsxs)("div",{style:{width:598,flexShrink:0,display:"flex",flexDirection:"column",gap:10},children:[(0,a.jsxs)("div",{style:{fontFamily:'"Montserrat", "Commissioner", sans-serif',fontWeight:800,fontSize:70,lineHeight:1,textTransform:"uppercase",width:597},children:[(0,a.jsx)("p",{className:"alk90-outline-white",style:{margin:0,color:"transparent",WebkitTextStroke:"2px #101010",textDecoration:"none"},children:t.titleLine1||"90 Години"}),(0,a.jsx)("p",{style:{margin:0,textDecoration:"none",...sb},children:t.titleLine2||"Посветени на здравјето"})]}),(0,a.jsx)("div",{style:{width:469,height:193,overflow:"hidden",position:"relative",marginTop:6},children:(0,a.jsx)("img",{loading:"lazy",src:t.collageImage||"/assets/90-god-hero-collage.webp",alt:"",style:{position:"absolute",width:"108.53%",left:"-8.53%",to
19p:"-15.03%",height:"263.96%",objectFit:"cover",opacity:.65,display:"block"}})}),(0,a.jsx)("p",{style:{margin:"10px 0 0 0",fontFamily:"Montserrat, sans-serif",fontWeight:300,fontSize:26,lineHeight:"36px",color:"#101010"},children:t.caption||"Грижата за здравјето почнува од најмалите!"})]}),(0,a.jsx)("div",{style:{display:"grid",gridTemplateColumns:"repeat(2, auto)",columnGap:70,rowGap:70,flexShrink:0},children:s.map((e,t)=>(0,a.jsx)(sy,{value:e.value,label:e.label,circleSize:241},t))})]})},template:{type:"Alk90Influence",label:"ALK90 CSR Health Stats",defaultItem:{titleLine1:"90 Години",titleLine2:"Посветени на здравјето",caption:"Грижата за здравјето почнува од најмалите!",collageImage:"",counter1Value:"220",counter1Label:"Градинки вклучени",counter2Value:"163",counter2Label:"Опфатени општини",counter3Value:"80",counter3Label:"Донирани средства",counter4Value:"1350",counter4Label:"Деца вклучени",_template:"ComponentBlocksAlk90Influence"},fields:[{name:"titleLine1",label:"Title line 1 (outlined)",component:"text"},{name:"titleLine2",label:"Title line 2 (gradient)",component:"text"},{name:"caption",label:"Caption below image",component:"text"},{name:"collageImage",label:"Collage image URL (optional)",component:"text"},{name:"counter1Value",label:"Counter 1 value",component:"text"},{name:"counter1Label",label:"Counter 1 label",component:"text"},{name:"counter2Value",label:"Counter 2 value",component:"text"},{name:"counter2Label",label:"Counter 2 label",component:"text"},{name:"counter3Value",label:"Counter 3 value",component:"text"},{name:"counter3Label",label:"Counter 3 label",component:"text"},{name:"counter4Value",label:"Counter 4 value",component:"text"},{name:"counter4Label",label:"Counter 4 label",component:"text"}]}},ComponentBlocksAlk90CsrMap:{Component:e=>{let{data:t}=e,l=function(){let[e,t]=(0,c.useState)(1440);return(0,c.useEffect)(()=>{t(window.innerWidth);let e=()=>t(window.innerWidth);return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),e}(),[s,n]=(0,c.useState)(0),r=(t.projects||[]).filter(e=>e&&e.title),i=t.mapImage||"/assets/90-god-dotted-map.svg",o=r[s]||{},d=(o.activities||"").split("\n").map(e=>e.trim()).filter(Boolean),m="linear-gradient(135deg, #0A1628 0%, #0D2255 50%, #1A1040 100%)";return l<768?(0,a.jsxs)("div",{style:{width:"100%",background:m,padding:"48px 20px 40px",boxSizing:"border-box"},children:[(0,a.jsxs)("div",{style:{position:"relative",width:"100%",paddingBottom:"79.3%"},children:[(0,a.jsx)(es(),{src:i,alt:"Macedonia map",fill:!0,unoptimized:!0,style:{objectFit:"contain"}}),r.map((e,t)=>(0,a.jsx)(sv,{x:parseFloat(e.pinX)||50,y:parseFloat(e.pinY)||50,active:t===s,label:e.city||e.title,size:28,onClick:()=>n(t)},t))]}),(0,a.jsx)("div",{style:{marginTop:32},children:(0,a.jsx)(sk,{current:o,activityLines:d,fontSize:38,cityFontSize:15,descFontSize:16})}),r.length>1&&(0,a.jsx)("div",{style:{display:"flex",gap:8,justifyContent:"center",marginTop:28},children:r.map((e,t)=>(0,a.jsx)("button",{onClick:()=>n(t),"aria-label":`Go to location ${t+1}`,style:{width:10,height:10,borderRadius:"50%",border:"none",cursor:"pointer",padding:0,background:t===s?"linear-gradient(135deg, #00AEEF, #023F88)":"rgba(255,255,255,0.3)",transition:"background 0.3s"}},t))})]}):l>=768&&l<1450?(0,a.jsxs)("div",{style:{width:"100%",background:m,padding:"64px 40px",boxSizing:"border-box"},children:[(0,a.jsxs)("div",{style:{position:"relative",width:"100%",paddingBottom:"55%"},children:[(0,a.jsx)(es(),{src:i,alt:"Macedonia map",fill:!0,unoptimized:!0,style:{objectFit:"contain",objectPosition:"center"}}),r.map((e,t)=>(0,a.jsx)(sv,{x:parseFloat(e.pinX)||50,y:parseFloat(e.pinY)||50,active:t===s,label:e.city||e.title,size:32,onClick:()=>n(t)},t))]}),(0,a.jsx)("div",{style:{marginTop:40},children:(0,a.jsx)(sk,{current:o,activityLines:d,fontSize:52,cityFontSize:17,descFontSize:18})}),r.length>1&&(0,a.jsx)("div",{style:{display:"flex",gap:8,marginTop:28},children:r.map((e,t)=>(0,a.jsx)("button",{onClick:()=>n(t),"aria-label":`Go to location ${t+1}`,style:{width:12,height:12,borderRadius:"50%",border:"none",cursor:"pointer",padding:0,background:t===s?"linear-gradient(135deg, #00AEEF, #023F88)":"rgba(255,255,255,0.3)",transition:"background 0.3s"}},t))})]}):(0,a.jsx)("div",{style:{width:"100%",minHeight:"70vh",display:"flex",alignItems:"center",background:m,padding:"100px 150px",boxSizing:"border-box"},children:(0,a.jsxs)("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",width:"100%",gap:80},children:[(0,a.jsx)("div",{style:{flex:"0 0 auto",width:583},children:(0,a.jsx)(sk,{current:o,activityLines:d,fontSize:66,cityFontSize:22,descFontSize:20})}),(0,a.jsxs)("div",{style:{flex:"0 0 auto",width:800,height:634,position:"relative"},children:[(0,a.jsx)(es(),{src:i,alt:"Macedonia map",fill:!0,unoptimized:!0,style:{objectFit:"contain"}}),r.map((e,t)=>(0,a.jsx)(sv,{x:parseFloat(e.pinX)||50,y:parseFloat(e.pinY)||50,active:t===s,label:e.city||e.title,size:36,onClick:()=>n(t)},t))]})]})})},template:{type:"Alk90CsrMap",label:"ALK90 CSR Interactive Map",defaultItem:{mapImage:null,projects:[{category:"Донации за градинки",title:"Градинка Виножито",city:"Битола",description:"Модернизација на просториите со цел да се создаде подобра и безбедна средина за учење и развој на децата.",activities:"Донирани 3 интерактивни табли\nВоспоставена библиотека со 500 книги\nОбучени 15 воспитувачи",pinX:30,pinY:48.7},{category:"",title:"Локација 2",city:"Скопје",description:"",activities:"",pinX:44.8,pinY:51.9},{category:"",title:"Локација 3",city:"Охрид",description:"",activities:"",pinX:23.5,pinY:88.1},{category:"",title:"Локација 4",city:"Штип",description:"",activities:"",pinX:71.8,pinY:38.6},{category:"",title:"Локација 5",city:"Куманово",description:"",activities:"",pinX:83,pinY:34},{category:"",title:"Локација 6",city:"Тетово",description:"",activities:"",pinX:39.6,pinY:38.1}],_template:"ComponentBlocksAlk90CsrMap"},fields:[{name:"mapImage",label:"Map Image override URL (leave empty to use default SVG)",component:"text"},{name:"projects",label:"Locations",component:"group-list",itemProps:e=>({key:e.id,label:e.city?`${e.title} — ${e.city}`:e.title||"Location"}),defaultItem:{category:"",title:"Нова локација",city:"",description:"",activities:"",pinX:50,pinY:50},fields:[{name:"category",label:"Category (small text above title)",component:"text"},{name:"title",label:"Title",component:"text"},{name:"city",label:"City (badge)",component:"text"},{name:"description",label:"Description",component:"textarea"},{name:"activities",label:"Activities (one per line)",component:"textarea"},{name:"pinX",label:"Pin X% on map (0–100)",component:"number"},{name:"pinY",label:"Pin Y% on map (0–100)",component:"number"}]}]}},ComponentBlocksAlk90VideoGallery:{Component:e=>{let{data:t}=e,l=(0,g.useRouter)(),s=sN[l.locale]||sN.mk,n=(t.videos||[]).filter(e=>e.url||e.file),[r,i]=(0,c.useState)(()=>n.length>1?Math.floor(n.length/2):0),[o,d]=(0,c.useState)(!0),[m,p]=(0,c.useState)(0),h=(0,c.useCallback)(()=>d(e=>!e),[]),u=(0,c.useRef)(null),f=(0,c.useRef)(null);(0,c.useEffect)(()=>{let e=e=>{e.persisted&&p(e=>e+1)};return window.addEventListener("pageshow",e),()=>window.removeEventListener("pageshow",e)},[]);let b=(0,c.useCallback)(()=>i(e=>(e-1+n.length)%n.length),[n.length]),j=(0,c.useCallback)(()=>i(e=>(e+1)%n.length),[n.length]),y=s_(),w=y<640,v=y>=640&&y<1024,k=w?20:v?40:y<1500?80:150,N=w?20:v?30:60,_=w?y-2*k:v?Math.min(y-2*k,640):800,C=Math.round(_*(9/16)),B=(y-_)/2-r*(_+N),S=t.moreNewTab?"_blank":"_self";return(0,a.jsxs)("div",{ref:u,style:{width:"100%",overflow:"hidden",background:"rgba(188,218,255,0.25)",padding:`clamp(40px, 6vw, 100px) ${k}px`,boxSizing:"border-box",display:"flex",flexDirection:"column",gap:"clamp(40px, 6vw, 100px)",alignItems:"center"},children:[(0,a.jsxs)("div",{style:{display:"flex",alignItems:"flex-end",justifyContent:"space-between",flexWrap:"wrap",gap:24,width:"100%"},children:[(0,a.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:15,maxWidth:956,paddingLeft:w?0:70},children:[(0,a.jsxs)("div",{style:{display:"flex",alignItems:"baseline",flexWrap:"wrap",fontFamily:"Montserrat, sans-serif",fontWeight:800,fontSize:"clamp(36px, 5vw, 70px)",lineHeight:1.15,textTransform:"uppercase",gap:16},children:[t.titleOutline&&(0,a.jsx)("span",{className:"alk90-outline-white",style:{color:"transparent",WebkitTextStroke:"2px #101010"},children:t.titleOutline}),t.titleGradient&&(0,a.jsx)("span",{style:{background:"linear-gradient(90deg, #5F1AAE 4.9%, #00AEEF 100%)",WebkitBackgroun
19dClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text"},children:t.titleGradient})]}),t.description&&(0,a.jsx)("p",{style:{margin:0,fontFamily:"Montserrat, sans-serif",fontWeight:400,fontSize:"clamp(14px, 1.5vw, 20px)",lineHeight:"1.5",color:"#101010"},children:t.description})]}),t.moreLabel&&t.moreLink&&(0,a.jsx)(x.Z,{to:t.moreLink,target:S,children:(0,a.jsxs)("div",{style:{background:"linear-gradient(90deg, #5F1AAE 4.9%, #00AEEF 100%)",borderRadius:50,padding:"12px 20px",display:"flex",alignItems:"center",gap:10},children:[(0,a.jsx)("span",{style:{fontFamily:"Montserrat, sans-serif",fontWeight:600,fontSize:16,color:"#fff",whiteSpace:"nowrap"},children:t.moreLabel}),(0,a.jsx)("svg",{width:10,height:18,viewBox:"0 0 14 26",fill:"none",children:(0,a.jsx)("path",{d:"M2 2L12 13L2 24",stroke:"white",strokeWidth:3,strokeLinecap:"round",strokeLinejoin:"round"})})]})})]}),y>0&&n.length>0&&(0,a.jsxs)("div",{style:{width:"100%",display:"flex",flexDirection:"column",gap:w?20:40},children:[(0,a.jsxs)("div",{style:{position:"relative",width:"100%",display:"flex",alignItems:"center",justifyContent:"center"},onTouchStart:e=>{f.current=e.touches[0].clientX},onTouchEnd:e=>{if(null===f.current)return;let t=f.current-e.changedTouches[0].clientX;Math.abs(t)>50&&(t>0?j():b()),f.current=null},children:[(0,a.jsx)("div",{style:{width:`calc(100% + ${2*k}px)`,margin:`0 -${k}px`,overflow:"hidden",display:"flex",alignItems:"center"},children:(0,a.jsx)("div",{style:{display:"flex",gap:N,alignItems:"center",transform:`translateX(${B}px)`,transition:"transform 0.45s cubic-bezier(0.4, 0, 0.2, 1)",willChange:"transform"},children:n.map((e,t)=>(0,a.jsx)(sS,{url:e.url,file:e.file,thumbnail:e.thumbnail,active:t===r,scale:t===r?1:.82,slideW:_,slideH:C,isMuted:o,onToggleMute:h,t:s},t===r?`a-${t}-${m}`:t))})}),!w&&(0,a.jsxs)("div",{style:{position:"absolute",width:_,height:C,top:"50%",left:"50%",transform:"translate(-50%, -50%)",display:"flex",alignItems:"center",justifyContent:"space-between",pointerEvents:"none",zIndex:10,padding:"0 16px",boxSizing:"border-box"},children:[(0,a.jsx)("div",{style:{pointerEvents:"auto"},children:(0,a.jsx)(sA,{direction:"prev",onClick:b,t:s})}),(0,a.jsx)("div",{style:{pointerEvents:"auto"},children:(0,a.jsx)(sA,{direction:"next",onClick:j,t:s})})]})]}),w?(0,a.jsxs)("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",gap:24},children:[(0,a.jsx)(sA,{direction:"prev",onClick:b,size:"lg",t:s}),(0,a.jsx)(sL,{count:n.length,active:r}),(0,a.jsx)(sA,{direction:"next",onClick:j,size:"lg",t:s})]}):(0,a.jsx)("div",{style:{display:"flex",justifyContent:"center"},children:(0,a.jsx)(sL,{count:n.length,active:r})})]})]})},template:{type:"Alk90VideoGallery",label:"ALK90 Video Gallery",defaultItem:{titleOutline:"Видео",titleGradient:"Галерија",description:"Оваа видео галерија прикажува автентични моменти од нашето секојдневие, уловени од самите вработени.",moreLabel:"Погледни повеќе",moreLink:"#",moreNewTab:!1,videos:[{url:"",file:null}],_template:"ComponentBlocksAlk90VideoGallery"},fields:[{name:"titleOutline",label:"Title — Outline word",component:"text"},{name:"titleGradient",label:"Title — Gradient word",component:"text"},{name:"description",label:"Description",component:"textarea"},{name:"moreLabel",label:"Button Label",component:"text"},{name:"moreLink",label:"Button Link",component:"text"},{name:"moreNewTab",label:"Open link in new tab",component:"toggle"},{name:"videos",label:"Videos",component:"group-list",itemProps:e=>({label:e.url||"Video"}),defaultItem:{url:"",file:null,thumbnail:null},fields:[{name:"url",label:"YouTube URL or direct video link (bucket/CDN)",component:"text",description:"Paste a YouTube link (any format) or a direct .mp4/.webm URL"},{name:"file",label:"Or paste direct video URL (bucket/CDN mp4/webm)",component:"text"},{name:"thumbnail",label:"Thumbnail / poster image URL (shown while video loads)",component:"text"}]}]}},ComponentBlocksAlk90VideoBanner:{Component:e=>{let{data:t}=e,l=(0,g.useRouter)(),s=sI[l.locale]||sI.mk,n=t.file||t.url||null,r=sT(n),[i,o]=(0,c.useState)(!0),d=(0,c.useCallback)(()=>o(e=>!e),[]),m=(0,c.useRef)(null),x=(0,c.useRef)(null);(0,c.useEffect)(()=>
19{if(r)return;let e=m.current;if(e){if(e.paused){let t=()=>{e.muted=i};return e.addEventListener("playing",t,{once:!0}),()=>e.removeEventListener("playing",t)}e.muted=i}},[i,r]),(0,c.useEffect)(()=>{if(!r)return;let e=x.current;if(!e)return;let t=i?"mute":"unMute",l=()=>e.contentWindow?.postMessage(JSON.stringify({event:"command",func:t,args:""}),"*");l();let a=setTimeout(l,600);return()=>clearTimeout(a)},[i,r]);let p=function(){let[e,t]=(0,c.useState)(0);return(0,c.useEffect)(()=>{t(window.innerWidth);let e=()=>t(window.innerWidth);return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),e}(),h=p<640,u=p>=640&&p<1024,f=h?20:u?30:p<1500?50:90,b=h?p-2*f:u?Math.min(p-2*f,820):Math.min(p-2*f,1200);return(0,a.jsxs)("div",{style:{width:"100%",overflow:"hidden",background:"rgba(188,218,255,0.25)",padding:`clamp(40px, 6vw, 100px) ${f}px`,boxSizing:"border-box",display:"flex",flexDirection:"column",gap:"clamp(40px, 6vw, 100px)",alignItems:"center"},children:[(t.titleOutline||t.titleGradient||t.description)&&(0,a.jsxs)("div",{style:{display:"flex",flexDirection:"column",alignSelf:"flex-start",gap:15,maxWidth:956,width:"100%",transform:h?void 0:`translateX(-${f-390}px)`},children:[(t.titleOutline||t.titleGradient)&&(0,a.jsxs)("div",{style:{display:"flex",alignItems:"baseline",flexWrap:"wrap",fontFamily:"Montserrat, sans-serif",fontWeight:800,fontSize:"clamp(36px, 5vw, 70px)",lineHeight:1.15,textTransform:"uppercase",gap:16},children:[t.titleOutline&&(0,a.jsx)("span",{className:"alk90-outline-white",style:{color:"transparent",WebkitTextStroke:"2px #101010"},children:t.titleOutline}),t.titleGradient&&(0,a.jsx)("span",{style:{background:"linear-gradient(90deg, #5F1AAE 4.9%, #00AEEF 100%)",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text"},children:t.titleGradient})]}),t.description&&(0,a.jsx)("p",{style:{margin:0,fontFamily:"Montserrat, sans-serif",fontWeight:400,fontSize:"clamp(14px, 1.5vw, 20px)",lineHeight:"1.5",color:"#101010"},children:t.description})]}),p>0&&n&&(0,a.jsx)("div",{style:{width:b,height:Math.round(b*(9/16)),borderRadius:20,overflow:"hidden",background:"#0f172a",position:"relative"},children:r?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("iframe",{ref:x,title:t.titleGradient||t.titleOutline||"ALK90 video",src:`https://www.youtube.com/embed/${r}?autoplay=1&mute=1&loop=1&playlist=${r}&controls=1&rel=0&enablejsapi=1&origin=${encodeURIComponent(window.location.origin)}`,allow:"autoplay; encrypted-media; picture-in-picture",allowFullScreen:!0,style:{width:"100%",height:"100%",border:"none",display:"block"}}),(0,a.jsx)(sR,{muted:i,onClick:d,t:s})]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("video",{ref:m,src:n,autoPlay:!0,muted:!0,playsInline:!0,loop:!0,preload:"auto",poster:t.thumbnail||void 0,onClick:d,style:{width:"100%",height:"100%",objectFit:"contain",display:"block",cursor:"pointer"}}),(0,a.jsx)(sR,{muted:i,onClick:d,t:s})]})})]})},template:{type:"Alk90VideoBanner",label:"ALK90 Video Banner",defaultItem:{titleOutline:"Голема",titleGradient:"Историја",description:"Погледнете го патувањето на Алкалоид низ годините, раскажано низ автентични кадри.",url:"",file:"",thumbnail:"",_template:"ComponentBlocksAlk90VideoBanner"},fields:[{name:"titleOutline",label:"Title — Outline word",component:"text"},{name:"titleGradient",label:"Title — Gradient word",component:"text"},{name:"description",label:"Description",component:"textarea"},{name:"url",label:"YouTube URL or direct video link (bucket/CDN)",component:"text",description:"Paste a YouTube link (any format) or a direct .mp4/.webm URL"},{name:"file",label:"Or paste direct video URL (bucket/CDN mp4/webm)",component:"text"},{name:"thumbnail",label:"Thumbnail / poster image URL (shown while video loads)",component:"text"}]}},ComponentBlocksAlk90PhotoGallery:{Component:e=>{let{data:t}=e,l=sP(),s=[];for(let e=1;e<=10;e++)t[`image${e}`]&&s.push(t[`image${e}`]);(t.extraImages||[]).forEach(e=>{e&&e.src&&s.push(e.src)});let n=[];for(let e=0;e<s.length;e+=10)n.push(s.slice(e,e+10));let r=t.moreNewTab?"_blank":"_self";return(0,a.jsxs)("div",{style:{width:"100%",overflow:"hidden",padding:"clamp(40px, 6vw, 100px) clamp(20px, 8vw, 150px)",boxSizing:"border-box",display:"flex",flexDirection:"column",gap:"clamp(40px, 6vw, 100px)"},children:[(0,a.jsxs)("div",{style:{display:"flex",alignItems:"flex-end",justifyContent:"space-between",flexWrap:"wrap",gap:24,width:"100%"},children:[(0,a.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:15,maxWidth:956},children:[(0,a.jsxs)("div",{style:{display:"flex",alignItems:"baseline",fontFamily:"Montserrat, sans-serif",fontWeight:800,fontSize:"clamp(36px, 5vw, 70px)",lineHeight:1.15,textTransform:"uppercase",gap:16,flexWrap:"wrap"},children:[t.titleOutline&&(0,a.jsx)("span",{className:"alk90-outline-white",style:{color:"transparent",WebkitTextStroke:"2px #101010"},children:t.titleOutline}),t.titleGradient&&(0,a.jsx)("span",{style:{background:"linear-gradient(90deg, #5F1AAE 4.9%, #00AEEF 100%)",WebkitBackgroun
19dClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text"},children:t.titleGradient})]}),t.description&&(0,a.jsx)("p",{style:{margin:0,fontFamily:"Montserrat, sans-serif",fontWeight:400,fontSize:"clamp(14px, 1.5vw, 20px)",lineHeight:"1.5",color:"#101010"},children:t.description})]}),t.moreLabel&&t.moreLink&&(0,a.jsx)(x.Z,{to:t.moreLink,target:r,children:(0,a.jsxs)("div",{style:{background:"linear-gradient(90deg, #5F1AAE 4.9%, #00AEEF 100%)",borderRadius:50,padding:"12px 20px",display:"flex",alignItems:"center",gap:10,justifyContent:"space-between"},children:[(0,a.jsx)("span",{style:{fontFamily:"Montserrat, sans-serif",fontWeight:600,fontSize:16,color:"#fff",whiteSpace:"nowrap"},children:t.moreLabel}),(0,a.jsx)("svg",{width:10,height:18,viewBox:"0 0 14 26",fill:"none",children:(0,a.jsx)("path",{d:"M2 2L12 13L2 24",stroke:"white",strokeWidth:3,strokeLinecap:"round",strokeLinejoin:"round"})})]})})]}),l<768?(0,a.jsx)("div",{style:{display:"grid",gridTemplateColumns:"repeat(2, 1fr)",gap:18,width:"100%"},children:s.map((e,t)=>(0,a.jsx)("div",{style:{position:"relative",width:"100%",aspectRatio:"1 / 1",borderRadius:16,overflow:"hidden",background:"#cbd5e1"},children:e&&(0,a.jsx)(es(),{fill:!0,src:e,alt:"",style:{objectFit:"cover"},sizes:"50vw",placeholder:"blur",blurDataURL:sF.v})},t))}):(0,a.jsx)("div",{style:{display:"flex",flexDirection:"column",gap:18,width:"100%"},children:n.map((e,t)=>{let l=Math.max(...e.map((e,t)=>{let l=sE[t].gridRow.split("/").map(e=>parseInt(e,10));return l.length>1?l[1]-1:l[0]}));return(0,a.jsx)("div",{style:{display:"grid",gridTemplateColumns:"repeat(4, 1fr)",gridTemplateRows:`repeat(${l}, 250px)`,gap:18,width:"100%"},children:e.map((e,t)=>(0,a.jsx)("div",{style:{gridColumn:sE[t].gridColumn,gridRow:sE[t].gridRow},children:(0,a.jsx)(s$,{src:e,tall:sE[t].gridRow.includes("/")})},t))},t)})})]})},template:sZ},ComponentBlocksAlk90LogoEvolution:{Component:e=>{let{data:t}=e,l=(t.logos||[]).map(e=>({year:e.year||"",src:e.image||null})),s=[];for(let e=0;e<l.length;e+=4)s.push(l.slice(e,e+4));return(0,a.jsxs)("div",{style:{position:"relative",width:"100%",background:"#BCDAFF40",padding:"clamp(48px, 8vw, 100px) clamp(20px, 10vw, 150px)",boxSizing:"border-box",overflow:"clip"},children:[(0,a.jsx)("div",{style:{position:"absolute",right:-60,top:"50%",transform:"translateY(-50%)",width:"55%",height:"120%",opacity:.12,pointerEvents:"none"},children:(0,a.jsx)(es(),{src:t.bgImage||"/assets/90-god-hero-collage.webp",alt:"",fill:!0,style:{objectFit:"contain",objectPosition:"right center"},placeholder:"blur",blurDataURL:sF.v})}),(0,a.jsxs)("div",{style:{position:"relative",zIndex:1},children:[(0,a.jsxs)("div",{style:{marginBottom:"clamp(32px, 5vw, 52px)"},children:[(0,a.jsxs)("div",{style:{fontFamily:"Montserrat, sans-serif",fontWeight:800,fontSize:"clamp(36px, 5vw, 66px)",lineHeight:1.05,textTransform:"uppercase"},children:[(0,a.jsx)("div",{style:{color:"#EEF6FF",textShadow:"-2px -2px 0 #101010, -2px 0 0 #101010, -2px 2px 0 #101010, 0 -2px 0 #101010, 0 2px 0 #101010, 2px -2px 0 #101010, 2px 0 0 #101010, 2px 2px 0 #101010, -1px -2px 0 #101010, 1px -2px 0 #101010, -1px 2px 0 #101010, 1px 2px 0 #101010, -2px -1px 0 #101010, -2px 1px 0 #101010, 2px -1px 0 #101010, 2px 1px 0 #101010"},children:t.titleLine1||"Еволуција"}),(0,a.jsx)("div",{style:{background:"linear-gradient(90deg, #5F1AAE 4.9%, #00AEEF 100%)",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text"},children:t.titleLine2||"на логото"})]}),t.subtitle&&(0,a.jsx)("p",{style:{margin:"clamp(8px, 1.5vw, 14px) 0 0",fontFamily:"Montserrat, sans-serif",fontWeight:400,fontSize:"clamp(14px, 1.2vw, 16px)",color:"#4B6A9B",letterSpacing:"0.01em"},children:t.subtitle})]}),s.map((e,t)=>(0,a.jsxs)(c.Fragment,{children:[t>0&&(0,a.jsx)("div",{style:{width:"100%",height:2,margin:"clamp(24px, 4vw, 40px) 0",background:"linear-gradient(90deg, #5F1AAE, #00AEEF)",borderRadius:2}}),(0,a.jsx)(sD,{items:e,justify:t%2==0?"space-between":"flex-start",marginLeft:t%2==0?"0":"8%"})]},t))]})]})},template:{type:"Alk90LogoEvolution",label:"ALK90 Logo Evolution",defaultItem:{titleLine1:"Еволуција",titleLine2:"на логото",subtitle:"90 Ð
19³Ð¾Ð´Ð¸Ð½Ð¸ визуелен идентитет",logos:[{year:"1936"},{year:"1950"},{year:"1960"},{year:"1970"},{year:"35 год."},{year:"40 год."},{year:"50 год."},{year:"70 год."}],_template:"ComponentBlocksAlk90LogoEvolution"},fields:[{name:"titleLine1",label:"Title Line 1 (outline / transparent fill)",component:"text"},{name:"titleLine2",label:"Title Line 2 (gradient)",component:"text"},{name:"subtitle",label:"Subtitle",component:"text"},{name:"bgImage",label:"Background collage image URL (optional)",component:"text"},{name:"logos",label:"Logos (max 4 per row)",component:"group-list",itemProps:e=>({label:e.year||"Logo"}),defaultItem:{year:""},fields:[{name:"year",label:"Year / Label",component:"text"},{name:"image",label:"Logo Image URL",component:"text"}]}]}},ComponentBlocksAlk90Timeline:{Component:e=>{let{data:t}=e,[l,s]=(0,c.useState)(0),n=(0,c.useRef)(null),r=(0,c.useRef)(!0),i=(0,c.useRef)(0),o=(0,c.useRef)(null),d=sq(),m=d<640,p=d>=640&&d<1024,h=m?16:p?40:100,u=m?16:30,g=m?d-2*h:p?Math.min(d-2*h,380):Math.min(d-2*h,500),f=(t.cards||[]).map(e=>({year:e.year||"",photoSrc:e.photo||null,description:e.description||""}));i.current=f.length;let b=()=>s(e=>(e+1)%i.current),j=()=>s(e=>(e-1+i.current)%i.current);(0,c.useEffect)(()=>{let e=n.current;if(!e)return;let t=e=>{e.preventDefault(),r.current&&(r.current=!1,e.deltaY>0||e.deltaX>0?s(e=>(e+1)%i.current):s(e=>(e-1+i.current)%i.current),setTimeout(()=>{r.current=!0},550))};return e.addEventListener("wheel",t,{passive:!1}),()=>e.removeEventListener("wheel",t)},[]);let y=m?40:p?60:80;return(0,a.jsxs)("div",{style:{width:"100%",minHeight:m?"auto":"100vh",display:"flex",flexDirection:"column",alignItems:"flex-end",padding:`${y}px 0`,boxSizing:"border-box",gap:m?32:50},children:[(0,a.jsx)("style",{children:`
20        @keyframes alk90TapHint {
21          0%, 100% { transform: scale(1); opacity: 0.9; }
22          50% { transform: scale(1.15); opacity: 1; }
23        }
24      `}),(0,a.jsx)("div",{style:{padding:`0 ${h}px`,width:"100%",boxSizing:"border-box",display:"flex",justifyContent:m?"center":"flex-end"},children:(0,a.jsxs)("div",{style:{display:"flex",flexDirection:"column",alignItems:m?"center":"flex-end",gap:16,maxWidth:m?"100%":687},children:[(0,a.jsxs)("div",{style:{fontFamily:"Montserrat, sans-serif",fontWeight:800,fontSize:m?38:p?52:70,lineHeight:1.1,textTransform:"uppercase",textAlign:m?"center":"right"},children:[(0,a.jsx)("div",{className:"alk90-outline-white",style:{color:"transparent",WebkitTextStroke:"2px #232A4F"},children:t.titleLine1||"90 Години"}),(0,a.jsx)("div",{style:{color:"#232A4F"},children:t.titleLine2||"Времеплов"})]}),(0,a.jsx)("p",{style:{margin:0,fontFamily:"Montserrat, sans-serif",fontWeight:400,fontSize:m?14:20,lineHeight:"28px",color:"#232A4F",textAlign:m?"center":"right"},children:t.subtitle||"Нашата историја низ девет декади на иновации и посветеност ..."}),(t.buttonLabel||t.buttonHref)&&(0,a.jsx)(x.Z,{to:t.buttonHref||"#",children:(0,a.jsxs)("div",{style:{display:"inline-flex",alignItems:"center",gap:12,background:"linear-gradient(90deg, #5F1AAE 4.9%, #00AEEF 100%)",borderRadius:50,padding:"14px 24px",cursor:"pointer"},children:[(0,a.jsx)("span",{style:{fontFamily:"Montserrat, sans-serif",fontWeight:600,fontSize:18,color:"#fff",whiteSpace:"nowrap"},children:t.buttonLabel||"Види повеќе"}),(0,a.jsx)("span",{style:{color:"#fff",fontSize:18,lineHeight:1},children:"›"})]})})]})}),f.length>0&&(0,a.jsxs)("div",{style:{width:"100%",display:"flex",flexDirection:"column",gap:24},children:[(0,a.jsx)("div",{ref:n,style:{overflow:"hidden",width:"100%"},onTouchStart:e=>{o.current=e.touches[0].clientX},onTouchEnd:e=>{if(null===o.current)return;let t=o.current-e.changedTouches[0].clientX;Math.abs(t)>50&&(t>0?b():j()),o.current=null},children:(0,a.jsx)("div",{style:{display:"flex",gap:u,transform:m?`translateX(${(
24d-g)/2-l*(g+u)}px)`:`translateX(${h-l*(g+u)}px)`,transition:"transform 0.5s cubic-bezier(0.4, 0, 0.2, 1)",willChange:"transform"},children:f.map((e,t)=>(0,a.jsx)(sz,{...e,cardW:g,isMobile:m},t))})}),(0,a.jsx)("div",{style:{paddingRight:m?0:h,display:"flex",justifyContent:m?"center":"flex-end"},children:(0,a.jsx)(sW,{current:-1,total:f.length,onPrev:j,onNext:b})})]})]})},template:{type:"Alk90Timeline",label:"ALK90 Timeline (90 Години Времеплов)",defaultItem:{titleLine1:"90 Години",titleLine2:"Времеплов",subtitle:"Нашата историја низ девет декади на иновации и посветеност ...",buttonLabel:"Види повеќе",buttonHref:"",_template:"ComponentBlocksAlk90Timeline",cards:[{year:"1936",description:"Основањето на фабриката."},{year:"1946",description:"Првите производствени погони."}]},fields:[{name:"titleLine1",label:"Title Line 1 (outline)",component:"text"},{name:"titleLine2",label:"Title Line 2 (solid)",component:"text"},{name:"subtitle",label:"Subtitle",component:"textarea"},{name:"buttonLabel",label:"Button Label",component:"text"},{name:"buttonHref",label:"Button Link (href)",component:"text"},{label:"Cards",name:"cards",component:"group-list",itemProps:e=>({label:e.year||"Card"}),defaultItem:{year:"",description:""},fields:[{name:"year",label:"Year / Decade label",component:"text"},{name:"photo",label:"Photo URL (shown on hover)",component:"text"},{name:"description",label:"Description",component:"textarea"}]}]}},ComponentBlocksAlk90Director:{Component:e=>{let{data:t}=e,l=function(){let[e,t]=(0,c.useState)(1440);return(0,c.useEffect)(()=>{t(window.innerWidth);let e=()=>t(window.innerWidth);return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),e}(),s=l<768,n=l>=768&&l<1200;return(0,a.jsx)("section",{style:{padding:s?"60px 24px":n?"80px 48px":"100px 120px",boxSizing:"border-box",backgroundImage:"url(/assets/frame-86.webp)",backgroundSize:"cover",backgroundPosition:"center"},children:(0,a.jsxs)("div",{style:{maxWidth:1520,margin:"0 auto",display:"flex",flexDirection:s?"column":"row",alignItems:"center",gap:s?48:n?60:180},children:[(0,a.jsxs)("div",{style:{flex:1,minWidth:0,maxWidth:800},children:[(0,a.jsx)("h2",{style:{fontFamily:"Montserrat, sans-serif",fontWeight:800,fontSize:s?36:n?52:70,color:"#fff",textTransform:"uppercase",lineHeight:1.1,margin:"0 0 32px 0"},children:t.title||"Обраќање на директорот"}),(0,a.jsx)("div",{style:{margin:"0 0 42px 0",maxWidth:700},children:sG(t.description).map((e,t)=>(0,a.jsx)("p",{style:{fontFamily:"Montserrat, sans-serif",fontWeight:400,fontSize:14,lineHeight:"25px",color:"#fff",textAlign:"justify",margin:0===t?0:"16px 0 0"},children:e},t))}),(0,a.jsxs)("div",{style:{textAlign:"right"},children:[t.authorName&&(0,a.jsx)("p",{style:{fontFamily:"Montserrat, sans-serif",fontWeight:700,fontSize:24,color:"#fff",margin:"0 0 8px 0",maxWidth:700},children:t.authorName}),t.authorPosition&&(0,a.jsx)("p",{style:{fontFamily:"Montserrat, sans-serif",fontWeight:400,fontSize:14,lineHeight:"20px",color:"#fff",margin:0,maxWidth:700},children:t.authorPosition})]}),t.buttonLabel&&t.buttonLink&&(0,a.jsx)("div",{style:{marginTop:40},children:(0,a.jsx)(x.Z,{to:t.buttonLink,target:t.buttonNewTab?"_blank":"_self",children:(0,a.jsxs)("div",{style:{display:"inline-flex",alignItems:"center",gap:10,background:"linear-gradient(90deg, #5F1AAE 4.9%, #00AEEF 100%)",borderRadius:50,padding:"12px 24px",cursor:"pointer",transition:"opacity 0.2s"},onMouseEnter:e=>e.currentTarget.style.opacity=.85,onMouseLeave:e=>e.currentTarget.style.opacity=1,children:[(0,a.jsx)("span",{style:{fontFamily:"Montserrat, sans-serif",fontWeight:600,fontSize:16,color:"#fff",whiteSpace:"nowrap"},children:t.buttonLabel}),(0,a.jsx)("svg",{width:10,height:18,viewBox:"0 0 14 26",fill:"none",children:(0,a.jsx)("path",{d:"M2 2L12 13L2 24",stroke:"white",strokeWidth:3,strokeLinecap:"round",strokeLinejoin:"round"})})]})})})]}),t.image&&(0,a.jsx)("div",{style:{flexShrink:0,width:s?"100%":n?320:420,alignSelf:s?"center":"flex-start"},children:(0,a.jsx)(es(),{src:t.image,alt:t.authorName||"",width:420,height:560,style:{width:"100%",height:"auto",display:"block"},placeholder:"blur",blurDataURL:sF.v})})]})})},template:{type:"Alk90Director",label:"ALK90 Director Message",defaultItem:{title:"Обраќање на директорот",description:"",authorName:"",authorPosition:"",image:"",buttonLabel:"",buttonLink:"",buttonNewTab:!1,_template:"ComponentBlocksAlk90Director"},fields:[{name:"title",label:"Title",component:"textarea"},{name:"description",label:"Description",component:"textarea"},{name:"authorName",label:"Author Name",component:"text"},{name:"authorPosition",label:"Author Position / Role",component:"text"},{name:"image",label:"Author Photo URL",component:"text"},{name:"buttonLabel",label:"Button Label (optional)",component:"text"},{name:"buttonLink",label:"Button Link (optional)",component:"text"},{name:"buttonNewTab",label:"Open button in new tab",component:"toggle"}]}},ComponentBlocksAlk90EmployeeVoice:{Component:e=>{let{data:t}=e,l=(0,g.useRouter)(),s=sQ[l.locale]||sQ.mk,n=(t.slides||[]).filter(e=>e.quote||e.description),[r,i]=(0,c.useState)(0),o=function(){let[e,t]=(0,c.useState)(1440);return(0,c.useEffect)(()=>{t(window.innerWidth);let e=()=>t(window.innerWidth);return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),e}(),d=o<768;if(0===n.length)return null;let m=n[r],p=m.authorPhoto||null,h=m.readMoreNewTab?"_blank":"_self";return(0,a.jsxs)("div",{style:{width:"100%",background:"linear-gradient(to bottom, transparent 0%, rgba(188,218,255,0.12) 12%, rgba(188,218,255,0.12) 88%, transparent 100%)",padding:"clamp(40px, 6vw, 100px) clamp(20px, 8vw, 150px)",boxSizing:"border-box",display:"flex",flexDirection:"column",gap:"clamp(32px, 5vw, 70px)"},children:[(0,a.jsxs)("div",{style:{display:"flex",gap:"clamp(32px, 6vw, 100px)",alignItems:"stretch",flexWrap:"wrap"},children:[(0,a.jsxs)("div",{style:{flex:"4 1 320px",display:"flex",flexDirection:"column",gap:"clamp(20px, 3vw, 40px)"},children:[(0,a.jsxs)("div",{style:{display:"flex",flexDirection:"column",lineHeight:1.1},children:[(0,a.jsx)("span",{className:"alk90-outline-white",style:{fontFamily:"Montserrat, sans-serif",fontWeight:800,fontSize:"clamp(36px, 5vw, 68px)",textTransform:"uppercase",color:"transparent",WebkitTextStroke:"2px #101010"},children:t.titleOutline||"ГЛАСОТ"}),(0,a.jsx)("span",{style:{fontFamily:"Montserrat, sans-serif",fontWeight:800,fontSize:"clamp(36px, 5vw, 68px)",textTransform:"uppercase",color:"#00AEEF"},children:t.titleSolid||"НА ВРАБОТЕНИТЕ"})]}),(0,a.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:"clamp(12px, 1.5vw, 20px)",marginTop:-20},children:[(0,a.jsx)(sV,{}),(0,a.jsx)("p",{style:{margin:0,fontFamily:"Montserrat, sans-serif",fontWeight:600,fontSize:"clamp(20px, 2.5vw, 40px)",lineHeight:1.1,color:"#101010"},children:m.quote})]}),m.description&&(0,a.jsx)("p",{style:{margin:0,fontFamily:"Montserrat, sans-serif",fontWeight:400,fontSize:"clamp(13px, 1vw, 14px)",lineHeight:"25px",color:"#101010",textAlign:"justify",maxWidth:832},children:m.description}),m.readMoreLink&&(0,a.jsx)(x.Z,{to:m.readMoreLink,target:h,children:(0,a.jsxs)("div",{style:{display:"inline-flex",alignItems:"center",gap:12},children:[(0,a.jsx)("span",{style:{fontFamily:"Montserrat, sans-serif",fontWeight:600,fontSize:"clamp(18px, 1.8vw, 24px)",background:"linear-gradient(90deg, #5F1AAE 4.9%, #00AEEF 100%)",WebkitBackgroun
24dClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text",whiteSpace:"nowrap"},children:t.readMoreLabel||"Прочитај повеќе"}),(0,a.jsxs)("svg",{width:14,height:26,viewBox:"0 0 14 26",fill:"none",children:[(0,a.jsx)("path",{d:"M2 2L12 13L2 24",stroke:"url(#evRmGrad)",strokeWidth:3,strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("defs",{children:(0,a.jsxs)("linearGradient",{id:"evRmGrad",x1:"0%",y1:"0%",x2:"100%",y2:"0%",children:[(0,a.jsx)("stop",{offset:"4.9%",stopColor:"#5F1AAE"}),(0,a.jsx)("stop",{offset:"100%",stopColor:"#00AEEF"})]})})]})]})})]}),(0,a.jsx)("div",{style:{flex:"1 1 280px",display:"flex",flexDirection:"column",justifyContent:"flex-end"},children:(0,a.jsxs)("div",{style:{display:"flex",flexDirection:"column",alignItems:"flex-start",gap:16},children:[p&&(0,a.jsx)(es(),{src:p,alt:m.authorName||"",width:d?260:320,height:d?260:320,style:{objectFit:"contain",display:"block",borderRadius:8},placeholder:"blur",blurDataURL:sF.v}),(0,a.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:8,textAlign:"left"},children:[m.startYear&&(0,a.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:2,marginBottom:4},children:[(0,a.jsx)("span",{style:{fontFamily:"Montserrat, sans-serif",fontWeight:400,fontSize:13,lineHeight:1.3,color:"#101010"},children:s.yearsAtAlkaloid}),(0,a.jsx)("span",{style:{fontFamily:"Montserrat, sans-serif",fontWeight:700,fontSize:28,lineHeight:1,color:"#00AEEF"},children:m.startYear})]}),m.authorName&&(0,a.jsx)("span",{style:{fontFamily:"Montserrat, sans-serif",fontWeight:400,fontSize:20,lineHeight:1.3,color:"#101010"},children:m.authorName}),m.authorRole&&(0,a.jsx)("span",{style:{fontFamily:"Montserrat, sans-serif",fontWeight:400,fontSize:14,lineHeight:1.5,color:"#101010"},children:m.authorRole})]})]})})]}),n.length>1&&(0,a.jsx)("div",{style:{display:"flex",alignItems:"center",justifyContent:"center"},children:(0,a.jsx)(sU,{count:n.length,active:r,onPrev:()=>i(e=>Math.max(0,e-1)),onNext:()=>i(e=>Math.min(n.length-1,e+1)),t:s})})]})},template:{type:"Alk90EmployeeVoice",label:"ALK90 Employee Voice",defaultItem:{titleOutline:"ГЛАСОТ",titleSolid:"НА ВРАБОТЕНИТЕ",readMoreLabel:"Прочитај повеќе",slides:[{quote:"Првиот работен ден го паметам како сериозен предизвик.",description:"",authorPhoto:null,authorName:"Страшо Арсовски",authorRole:"Работник во Обезбедување и заштита",readMoreLink:"",readMoreNewTab:!1}],_template:"ComponentBlocksAlk90EmployeeVoice"},fields:[{name:"titleOutline",label:"Title — Outline word",component:"text"},{name:"titleSolid",label:"Title — Solid blue word",component:"text"},{name:"readMoreLabel",label:"Read More button label",component:"text"},{name:"slides",label:"Slides",component:"group-list",itemProps:e=>({label:e.authorName||e.quote||"Slide"}),defaultItem:{quote:"",description:"",authorPhoto:null,authorName:"",authorRole:"",startYear:"",readMoreLink:"",readMoreNewTab:!1},fields:[{name:"quote",label:"Quote text",component:"textarea"},{name:"description",label:"Description (right col)",component:"textarea"},{name:"authorPhoto",label:"Author photo URL",component:"text"},{name:"authorName",label:"Author name",component:"text"},{name:"authorRole",label:"Author role/title",component:"text"},{name:"startYear",label:"Start year at Alkaloid (e.g. 1995)",component:"text"},{name:"readMoreLink",label:"Read More link",component:"text"},{name:"readMoreNewTab",label:"Open in new tab",component:"toggle"}]}]}},...sJ.ZP,...sY.ZP,ComponentBlocksAlk90PillNav:{Component:e=>{let{data:t}=e,l=(0,g.useRouter)(),s=(t.pills||[]).filter(e=>e.label),n=sK(l.asPath.split("?")[0].split("#")[0]);return 0===s.length?null:(0,a.jsx)("div",{style:{padding:"clamp(24px, 4vw, 60px) clamp(20px, 8vw, 150px)",boxSizing:"border-box"},children:(0,a.jsx)("div",{style:{display:"flex",gap:20,flexWrap:"wrap",alignItems:"center"},children:s.map((e,t)=>{let l=!!e.link&&sK(e.link)===n;return(0,a.jsx)(x.Z,{to:e.link||"#",target:e.newTab?"_blank":"_self",children:(0,a.jsx)(s0,{label:e.label,active:l})},t)})})})},template:{type:"Alk90PillNav",label:"ALK90 Пилчиња за навигација",defaultItem:{pills:[{label:"Сите",link:"/glasot-na-vrabotenite",newTab:!1},{label:"Нашите јубилејци",link:"/glasot-na-vrabotenite?c
24ategory=lichen-jubilej",newTab:!1},{label:"Низ генерациите",link:"/glasot-na-vrabotenite?category=semejni-prikazni",newTab:!1}],_template:"ComponentBlocksAlk90PillNav"},fields:[{name:"pills",label:"Pills",component:"group-list",itemProps:e=>({label:e.label||"Pill"}),defaultItem:{label:"",link:"",newTab:!1},fields:[{name:"label",label:"Label (displayed text)",component:"text"},{name:"link",label:"Link",component:"text"},{name:"newTab",label:"Open in new tab",component:"toggle"}]}]}},ComponentBlocksAlk90HumanitarianActions:{Component:e=>{let{data:t}=e,l=(0,g.useRouter)(),s=s1[l.locale]||s1.mk,n=t.items||[],r=768>function(){let[e,t]=(0,c.useState)(1440);return(0,c.useEffect)(()=>{t(window.innerWidth);let e=()=>t(window.innerWidth);return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),e}(),[i,o]=(0,c.useState)(0),d=n[i],m=(0,c.useRef)(null),x=e=>{o(e),requestAnimationFrame(()=>{m.current?.scrollIntoView({behavior:"smooth",block:"start"})})};return d?(0,a.jsxs)("div",{ref:m,style:{width:"100%",background:"#fff",boxSizing:"border-box"},children:[(0,a.jsxs)("div",{style:{padding:"clamp(50px, 7vw, 120px) clamp(20px, 7vw, 150px) clamp(20px, 3vw, 40px)",boxSizing:"border-box"},children:[(0,a.jsxs)("div",{style:{display:"flex",gap:"clamp(32px, 5vw, 80px)",alignItems:"flex-start",flexWrap:"wrap",marginBottom:"clamp(32px, 4vw, 56px)"},children:[d.mainImage&&!r&&(0,a.jsx)(s4,{src:d.mainImage,containerStyle:{flex:"0 0 auto",width:"clamp(220px, 38%, 560px)"},noAnim:!1,children:d.mainImageRegion&&(0,a.jsx)(s5,{region:d.mainImageRegion})}),(0,a.jsxs)("div",{style:{flex:"1 1 300px",display:"flex",flexDirection:"column",gap:"clamp(16px, 2vw, 28px)"},children:[(0,a.jsxs)("div",{style:{fontFamily:"Montserrat, sans-serif",fontWeight:800,fontSize:"clamp(32px, 5vw, 70px)",lineHeight:1,textTransform:"uppercase"},children:[(0,a.jsx)("p",{className:"alk90-outline-white",style:{margin:0,color:"transparent",WebkitTextStroke:"2px #101010"},children:t.titleOutline||"ХУМАНИТАРНИ"}),(0,a.jsx)("p",{style:{margin:0,background:"linear-gradient(90deg, #5F1AAE 4.9%, #00AEEF 100%)",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text"},children:t.titleSolid||"АКЦИИ"})]}),d.actionTitle&&(0,a.jsx)("p",{style:{fontFamily:"Montserrat, sans-serif",fontWeight:700,fontSize:"clamp(18px, 1.8vw, 24px)",color:"#023F88",margin:0,lineHeight:1.2},children:d.actionTitle}),d.description&&(0,a.jsx)("p",{style:{fontFamily:"Montserrat, sans-serif",fontWeight:400,fontSize:14,lineHeight:"22px",color:"#101010",margin:0,textAlign:"justify"},children:d.description})]})]}),(d.mainImage||d.photo1||d.photo2||d.photo3)&&(0,a.jsxs)("div",{style:{display:"flex",flexWrap:"wrap",gap:"clamp(12px, 2vw, 28px)"},children:[d.mainImage&&r&&(0,a.jsx)(s3,{src:d.mainImage,startOffset:0,containerStyle:{flex:"1 1 280px",minWidth:0,aspectRatio:"3 / 2"},noAnim:!0,children:d.mainImageRegion&&(0,a.jsx)(s5,{region:d.mainImageRegion})}),d.photo1&&(0,a.jsx)(s3,{src:d.photo1,startOffset:0,containerStyle:{flex:"1 1 280px",minWidth:0,aspectRatio:"3 / 2"},noAnim:r,children:d.region1&&(0,a.jsx)(s5,{region:d.region1})}),d.photo2&&(0,a.jsx)(s3,{src:d.photo2,startOffset:.15,containerStyle:{flex:"1 1 280px",minWidth:0,aspectRatio:"3 / 2"},noAnim:r,children:d.region2&&(0,a.jsx)(s5,{region:d.region2})}),d.photo3&&(0,a.jsx)(s3,{src:d.photo3,startOffset:.3,containerStyle:{flex:"1 1 280px",minWidth:0,aspectRatio:"3 / 2"},noAnim:r,children:d.region3&&(0,a.jsx)(s5,{region:d.region3})})]})]}),n.length>1&&(0,a.jsx)("div",{style:{display:"flex",justifyContent:"center",padding:"0 clamp(20px, 7vw, 150px) clamp(20px, 3vw, 40px)"},children:(0,a.jsx)(s6,{count:n.length,active:i,onPrev:()=>x(Math.max(0,i-1)),onNext:()=>x(Math.min(n.length-1,i+1)),onSelect:x,t:s})})]}):null},template:{type:"Alk90HumanitarianActions",label:"ALK90 Хуманитарни акции",defaultItem:{titleOutline:"ХУМАНИТАРНИ",titleSolid:"АКЦИИ",items:[{mainImage:"",actionTitle:"Донација на крв",description:"",photo1:"",region1:"Југоисточен регион",photo2:"",region2:"Југоисточен регион",photo3:"",region3:"Југоисточен регион"}],_template:"ComponentBlocksAlk90HumanitarianActions"},fields:[{name:"titleOutline",label:"Title — Outline word",component:"text"},{name:"titleSolid",label:"Title — Solid gradient word",component:"text"},{name:"items",label:"Actions",component:"group-list",itemProps:e=>({label:e.actionTitle||"Action"}),defaultItem:{mainImage:"",mainImageRegion:"",actionTitle:"",description:"",photo1:"",region1:"",photo2:"",region2:"",photo3:"",region3:""},fields:[{name:"mainImage",label:"Main image URL (portrait)",component:"text"},{name:"mainImageRegion",label:"Main image — Region tag (mobile only)",component:"text"},{name:"actionTitle",label:"Action title",component:"text"},{name:"description",label:"Description",component:"textarea"},{name:"photo1",label:"Gallery photo 1 URL",component:"text"},{name:"region1",label:"Gallery photo 1 — Region",component:"text"},{name:"photo2",label:"Gallery photo 2 URL",component:"text"},{name:"region2",label:"Gallery photo 2 — Region",component:"text"},{name:"photo3",label:"Gallery photo 3 URL (optional)",component:"text"},{name:"region3",label:"Gallery photo 3 — Region",component:"text"}]}]}},ComponentBlocksHero:{Component:e=>{let{index:t,data:l}=e;return(0,a.jsxs)("section",{className:"relative pb-16 mb-5",children:[(0,a.jsx)("div",{className:"pb-16 z-0 has-overlay absolute top-0 left-0 w-full h-full overflow-hidden",children:(0,a.jsx)(h.LazyLoadImage,{src:(0,o.Z)(l.background),alt:(0,p.Z)(l.background),className:"absolute top-0 left-0 w-full h-full bg-cover bg-no-repeat object-cover"})}),(0,a.jsxs)("div",{className:"container relative flex flex-col  sm:flex-row m-auto h-[180px] sm:h-[250px] md:h-[300px] lg:h-[350px] xl:h-[480px]",children:[(0,a.jsx)("div",{className:"w-full"}),(0,a.jsx)("div",{className:"w-full",children:(0,a.jsx)("div",{className:"absolute -bottom-12",children:(0,a.jsxs)("div",{className:"relative text-white bg-gradient-to-r from-alkLightBlue to-alkPurple pl-10 pr-20 lg:py-8 md:py-5 py-8",style:{clipPath:"pol
24ygon(86% 0%, 0% 0, 0% 100%, 100% 100%)"},children:[(0,a.jsx)("div",{className:"xl:text-4xl lg:text-3xl md:text-2xl text-base sm:text-lg",children:l.title}),l.link&&(0,a.jsx)(x.Z,{to:l.link,children:(0,a.jsx)(d.Z,{src:m.src,className:"absolute right-12 bottom-4 h-6 sm:h-7 md:h-9 lg:h-auto"})})]})})})]})]})},template:{type:"hero",label:"Your Career Hero",defaultItem:{title:"Insert title here",content:"Your content here",link:"",_template:"ComponentBlocksHero"},fields:[{name:"title",label:"Title",component:"text"},{name:"content",label:"Content",component:"html2"},{name:"link",label:"Link",component:"text"},{name:"background",label:"Background",component:"image"}]}},...u.ZP,ComponentBlocksPredavanja:{Component:e=>{let{index:t,data:l}=e,s=(0,c.useMemo)(()=>{let e=[],t=[];if(l.featuredEventsRefs)for(let a=0;a<l.featuredEventsRefs.length;a+=1)l.featuredEventsRefs[a]&&(e.push(l.featuredEventsRefs[a]),w()(t,{id:l.featuredEventsRefs[a].id}));return e.push(...t),e.slice(0,3)},[l]),n=(0,g.useRouter)(),{locale:r="en"}=n.locale;return(0,a.jsx)("div",{className:"container m-auto justify-around align-text-top  flex flex-col md:flex-row md:gap-8 gap-12 py-10",children:s.map(e=>{let{newsItem:t}=e,{event:l}=t,s=j.ou.fromISO(l.startDate),n=j.ou.fromISO(l.endDate);return(0,a.jsxs)("div",{className:"w-full md:flex mx-auto flex-col border-r-2 border-alkLightGrey mb-32 justify-between px-10",children:[(0,a.jsxs)("div",{className:"flex flex-col justify-start",children:[(0,a.jsx)("div",{className:"text-md text-alkLightBlack text-left mb-7",children:(0,a.jsx)("div",{className:"row-auto",children:(0,a.jsx)("div",{className:"text-alkLightBlack text-left ",children:(0,a.jsx)("div",{className:"row-auto",children:(0,a.jsxs)("div",{className:"w-full text-left",children:[(0,a.jsxs)("span",{className:"w-full text-md mb-[35px]",children:[(0,a.jsx)("span",{children:s.toFormat("d.M.yyyy").toLocaleString(j.ou.TIME_24_SIMPLE)}),"\xa0/\xa0"]}),(0,a.jsx)("span",{children:n.toFormat("d.M.yyyy").toLocaleString(j.ou.TIME_24_SIMPLE)}),"\xa0,\xa0",(0,a.jsx)("span",{children:s.setLocale("es-UY").toLocaleString(j.ou.TIME_24_SIMPLE)})]})})})})}),(0,a.jsx)("div",{className:"text-md text-alkLightBlack text-left mb-[35px]",children:(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"font-bold",children:"Тема:"}),(0,a.jsx)(f.Z,{className:"text-alkLightBlue",children:l.tema})]})}),(0,a.jsxs)("div",{className:"text-md text-alkLightBlack text-left mb-[35px]",children:[(0,a.jsx)("div",{className:"font-bold",children:" Терапевтска област:"}),(0,a.jsx)("div",{children:l.areas&&l.areas.map((e,t)=>(0,a.jsx)(f.Z,{children:e.title},t))})]}),(0,a.jsx)("hr",{className:"my-6 sm:hidden"}),(0,a.jsx)("div",{className:"text-md text-alkLightBlack text-left mb-[35px]",children:(0,a.jsx)("div",{children:(0,a.jsx)(f.Z,{children:l.description})})})]}),(0,a.jsx)("div",{className:"flex flex-row",children:l.action&&(0,a.jsx)(b.qJ,{data:l.action})})]},t.id)})})},template:{type:"predavanja",label:"Predavanja",defaultItem:{featuredEventsRefs:[],_template:"ComponentBlocksPredavanja"},fields:[{name:"featuredEventsRefs",label:"Featured events",component:"list",field:{component:"page",category:"event"}}]}},ComponentBlocksPronetResetPassword:{Component:e=>{let{data:t}=e,{push:l,query:s}=(0,g.useRouter)(),[n,r]=(0,c.useState)(),i=N.object({password:N.string().required("Required"),passwordConfirmation:N.string().oneOf([N.ref("password"),null],"Passwords must match").required("Required")}),o=(e,t)=>{let{setSubmitting:a,resetForm:n}=t;r(),e.code=s.code,_.Z.post("/forgot-password",e).then(e=>{let t=`Вашата лозинка е ресетирана. За неколку секунди ќе бидете пренасочени на страницата за најавување
25        `;r(["success",t]),n(),setTimeout(()=>{l("/pronet-login")},5e3)}).catch(e=>{if(e.response.data.message){let t=e.response.data.message[0].messages,l=[];t.map((e,a)=>{let s="";0===a&&(s+="<ul>"),s+=`<li>${e.id}</li>`,a===t.length-1&&(s+="</ul>"),l.push(s)}),r(["alert",l])}else r(["alert","Something went wrong"])}).finally(()=>{a(!1)})};return(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("div",{className:"flex flex-col items-center",children:[(0,a.jsxs)("div",{className:`flex flex-col items-end ${t.title.length>=15?"max-w-xl":t.title.length>=12?"max-w-4xl":t.title.length>=9?"max-w-xl":t.title.length>=5?"max-w-sm":"max-w-xs"} `,children:[(0,a.jsx)("h1",{className:`text-[32px] text-[#023F88] sm:${t.fontSize} ${t.fontWeight}
25  place-self-center tracking-wider mb-3`,children:t.title}),(0,a.jsx)("hr",{className:`border-alkLightBlue ml-40 ${t.title.length>=15?"w-5/12":t.title.length>=12?"w-5/12":t.title.length>=9?"w-5/12":t.title.length>=5?"w-7/12":"w-8/12"} ${t.showLine?"":"hidden"} border-solid border-b-4`}),(0,a.jsx)("div",{className:"flex text-center lg:w-[408px] md:w-[320px] w-full"})]}),(0,a.jsx)("div",{className:"mt-10",children:(0,a.jsx)(v.J9,{initialValues:aX,validationSchema:i,onSubmit:(e,t)=>{let{setSubmitting:l,resetForm:a}=t;return o(e,{setSubmitting:l,resetForm:a})},children:e=>{let{isSubmitting:t,isValid:l}=e;return(0,a.jsxs)(v.l0,{children:[(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{children:[(0,a.jsxs)("p",{className:"tracking-wider block mb-4 mt-8",children:["Нова лозинка"," "]}),(0,a.jsx)(v.gN,{className:"lg:w-[408px] md:w-[320px] w-full rounded-md h-10 py-6 pl-3 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"password",placeholder:"Напиши ја новата лозинка"}),(0,a.jsx)(v.Bc,{name:"password",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{children:[(0,a.jsxs)("p",{className:"tracking-wider block mb-4 mt-8",children:["Повтори ја новата лозинка"," "]}),(0,a.jsx)(v.gN,{className:"lg:w-[408px] md:w-[320px] w-full rounded-md h-10 py-6 pl-3 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"passwordConfirmation",placeholder:"Напиши ја новата лозинка"}),(0,a.jsx)(v.Bc,{name:"passwordConfirmation",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]})]}),(0,a.jsx)("br",{}),t?" ":n&&(0,a.jsx)("div",{style:{backgroundColor:"success"===n[0]?"lightgreen":"lightcoral"},children:(0,a.jsx)("div",{dangerouslySetInnerHTML:{__html:n[1]}})}),(0,a.jsxs)("button",{className:"text-xs phone:text-sm md:text-base cursor-pointer duration-300 hover:text-alkLightBlue text-white font-semibold bg-gradient-to-r from-alkLightBlue to-alkPurple py-1 phone:py-3 px-4 phone:px-12 border-0 border-transparent rounded-full",type:"submit",disabled:!l,children:[!t&&"Промени лозинка",t&&"Промени лозинка..."]})]})}})})]})})},template:{type:"pronetResetPassword",label:"PronetResetPassword",defaultItem:{fontSize:"text-6xl",label:"Label",link:"/about",type:"link",showLine:!0,title:"",_template:"ComponentBlocksPronetResetPassword"},fields:[{name:"title",label:"Title",component:"text"},{name:"showLine",label:"Show Line",component:"toggle",toggleLabels:{true:"On",false:"Off"},description:"Toggle on if you want a line to show under the Title"},{component:"radio-group",direction:"horizontal",name:"fontSize",label:"Font Size",description:"Choose the size of the text.",options:[{label:"Small",value:"text-4xl"},{label:"Large",value:"text-6xl"}]},{component:"radio-group",direction:"horizontal",name:"fontWeight",label:"Font Weight",description:"Choose the weight of the text.",options:[{label:"Thin",value:"font-thin"},{label:"Normal",value:"font-normal"},{label:"Bold",value:"font-bold"}]}]}},ComponentBlocksAkreditiraniPredavanja:{Component:e=>{let{index:t,data:l,userData:s,reloadJwt:n}=e,{t:r}=(0,k.$)(),i=(0,g.useRouter)(),o=(0,c.useMemo)(()=>({licenseNumber:s?.licenseNumber||""}),[s?.licenseNumber]),d=N.object().shape({licenseNumber:N.string().matches(/^(?:\d{2}-\d{3}\/\d-\d|\d{2}-\d{3}\/\d-\d\/\d-\d|\d{2}-\d{3}\/\d|\d{2}-\d{4}\/\d|\d{2}-\d{3}\/\d-\d\/\d)$/,"Неважечки формат на лиценца. Треба да одговара на еден од наведените формати: xx-xxx/x-x  xx-xxx/x  xx-xxxx/x  xx-xxx/x-x/x").required("Внесете го бројот на лиценца")}),m=async(e,t)=>{let{setSubmitting:l}=t;try{let t=localStorage.getItem("pronet-login"),l=JSON.parse(t),a=l?.jwt,s=await _.Z.put(`https://cms.alkaloid.com.mk/api/users/${l.user.id}`,{licenseNumber:e.licenseNumber},{headers:{Authorization:`Bearer ${a}`}});window.localStorage.setItem("pronet-login",JSON.stringify({...l,user:s.data})),await n(),i.push("/akreditirani-predavanja-lista")}catch(e){console.log(e),alert(r("save_error"))}finally{l(!1)}};return(0,c.useEffect)(()=>{s?.licenseNumber&&(window.location.href="/akreditirani-predavanja-lista")},[s]),(0,a.jsx)("div",{className:"container mx-auto my-32",children:(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{className:`flex flex-col items-end ${l.t
25itle.length>=15?"max-w-3xl":l.title.length>=12?"max-w-2xl":l.title.length>=9?"max-w-xl":l.title.length>=5?"max-w-sm":"max-w-xs"} `,children:[(0,a.jsx)("h2",{className:" font-thin text-4xl uppercase md:text-6xl place-self-start tracking-wider mb-3",children:l.title}),(0,a.jsx)("hr",{className:`border-alkLightBlue ${l.title.length>=15?"w-5/12":l.title.length>=12?"w-5/12":l.title.length>=9?"w-5/12":l.title.length>=5?"w-7/12":"w-8/12"} ${l.showLine?"":"hidden"} border-solid border-b-4`})]}),(0,a.jsx)("div",{className:"text-[24px] text-center mx-auto md:max-w-[70%] max-w-[90%] mt-28",children:l.description}),(0,a.jsx)("div",{className:"mt-20 md:w-[30%] w-[90%] mx-auto",children:(0,a.jsx)(v.J9,{validationSchema:d,initialValues:o,onSubmit:m,children:e=>{let{isValid:t}=e;return(0,a.jsxs)(v.l0,{children:[(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:"Број на лиценца"}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"licenseNumber"}),(0,a.jsx)(v.Bc,{name:"licenseNumber",component:"div",className:"text-red-500"})]}),(0,a.jsx)("div",{className:"flex justify-center",children:(0,a.jsx)("button",{type:"submit",className:"text-base cursor-pointer text-white font-semibold bg-gradient-to-r from-alkLightBlue to-alkPurple py-3 px-12 border-0 border-transparent rounded-full hover:text-alkLightBlue focus:text-alkLightBlue",disabled:!t,children:(0,a.jsx)("span",{children:"Продолжи"})})})]})}})})]})})},template:{type:"akreditiraniPredavanja",label:"Akreditirani Predavanja",defaultItem:{fontSize:"text-6xl",label:"Label",link:"/about",type:"link",showLine:!0,title:"",_template:"ComponentBlocksAkreditiraniPredavanja"},fields:[{name:"title",label:"Title",component:"text"},{name:"description",label:"Description",component:"text"},{name:"showLine",label:"Show Line",component:"toggle",toggleLabels:{true:"On",false:"Off"},description:"Toggle on if you want a line to show under the Title"},{component:"radio-group",direction:"horizontal",name:"fontWeight",label:"Font Weight",description:"Choose the weight of the text.",options:[{label:"Thin",value:"font-thin"},{label:"Normal",value:"font-normal"},{label:"Bold",value:"font-bold"}]}]}},ComponentBlocksAkreditiraniPredavanjaLekari:{Component:e=>{let{index:t,data:l,userData:s,reloadJwt:n}=e,{t:r}=(0,k.$)(),i=(0,g.useRouter)(),o=(0,c.useMemo)(()=>({licenseNumber:s?.licenseNumber||""}),[s?.licenseNumber]),d=N.object().shape({licenseNumber:N.string().required("Внесете го бројот на лиценца")}),m=async(e,t)=>{let{setSubmitting:l}=t;try{let t=localStorage.getItem("pronet-login"),l=JSON.parse(t),a=l?.jwt,s=await _.Z.put(`https://cms.alkaloid.com.mk/api/users/${l.user.id}`,{licenseNumber:e.licenseNumber},{headers:{Authorization:`Bearer ${a}`}});window.localStorage.setItem("pronet-login",JSON.stringify({...l,user:s.data})),await n(),i.push("/akreditirani-predavanja-lista")}catch(e){console.log(e),alert(r("save_error"))}finally{l(!1)}};return(0,c.useEffect)(()=>{s?.licenseNumber&&(window.location.href="/akreditirani-predavanja-lista")},[s]),(0,a.jsx)("div",{className:"container mx-auto my-32",children:(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{className:`flex flex-col items-end ${l.title.length>=15?"max-w-3xl":l.title.length>=12?"max-w-2xl":l.title.length>=9?"max-w-xl":l.title.length>=5?"max-w-sm":"max-w-xs"} `,children:[(0,a.jsx)("h2",{className:" font-thin text-4xl uppercase md:text-6xl place-self-start tracking-wider mb-3",children:l.title}),(0,a.jsx)("hr",{className:`border-alkLightBlue ${l.title.length>=15?"w-5/12":l.title.length>=12?"w-5/12":l.title.length>=9?"w-5/12":l.title.length>=5?"w-7/12":"w-8/12"} ${l.showLine?"":"hidden"} border-solid border-b-4`})]}),(0,a.jsx)("div",{className:"text-[24px] text-center mx-auto md:max-w-[70%] max-w-[90%] mt-28",children:l.description}),(0,a.jsx)("div",{className:"mt-20 md:w-[30%] w-[90%] mx-auto",children:(0,a.jsx)(v.J9,{validationSchema:d,initialValues:o,onSubmit:m,children:e=>{let{isValid:t}=e;return(0,a.jsxs)(v.l0,{children:[(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:"Број на лиценца"}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"licenseNumber"}),(0,a.jsx)(v.Bc,{name:"licenseNumber",component:"div",className:"text-red-500"})]}),(0,a.jsx)("div",{className:"flex justify-center",children:(0,a.jsx)("button",{type:"submit",className:"text-base cursor-pointer text-white font-semibold bg-gradient-to-r from-alkLightBlue to-alkPurple py-3 px-12 border-0 border-transparent roun
25ded-full hover:text-alkLightBlue focus:text-alkLightBlue",disabled:!t,children:(0,a.jsx)("span",{children:"Продолжи"})})})]})}})})]})})},template:{type:"akreditiraniPredavanjaLekari",label:"Akreditirani Predavanja Lekari",defaultItem:{fontSize:"text-6xl",label:"Label",link:"/about",type:"link",showLine:!0,title:"",_template:"ComponentBlocksAkreditiraniPredavanjaLekari"},fields:[{name:"title",label:"Title",component:"text"},{name:"description",label:"Description",component:"text"},{name:"showLine",label:"Show Line",component:"toggle",toggleLabels:{true:"On",false:"Off"},description:"Toggle on if you want a line to show under the Title"},{component:"radio-group",direction:"horizontal",name:"fontWeight",label:"Font Weight",description:"Choose the weight of the text.",options:[{label:"Thin",value:"font-thin"},{label:"Normal",value:"font-normal"},{label:"Bold",value:"font-bold"}]}]}},ComponentBlocksBenefits:{Component:e=>{let{index:t,data:l}=e;return(0,a.jsx)("div",{className:"container m-auto flex flex-auto flex-col md:flex-row gap-12 px-4 py-5",children:(0,a.jsx)(S.Z,{values:l.benefits,blocks:{...B},direction:"horizontal",className:"container m-auto flex flex-auto flex-col md:flex-row gap-12 px-4 py-5"})})},template:A},ComponentBlocksCardsHero:{Component:e=>{let{index:t,data:l}=e;return(0,a.jsxs)("section",{className:"relative",children:[(0,a.jsxs)("div",{className:"z-0 has-overlay absolute top-0 left-0 w-full overflow-hidden",style:{minHeight:420},children:[(0,a.jsx)("div",{className:"z-0 has-overlay absolute top-0 left-0 w-full h-full overflow-hidden",children:(0,a.jsx)(h.LazyLoadImage,{className:"top-0 left-0 w-full h-full bg-cover bg-no-repeat object-cover",src:(0,o.Z)(l.background),alt:(0,p.Z)(l.background)})}),(0,a.jsx)("div",{className:"pointer-events-none absolute top-0 left-0 w-full h-full bg-cover bg-no-repeat bg-gradient-to-r from-alkLightBlue to-alkPurple opacity-80 mix-blend-multiply"})]}),(0,a.jsx)("div",{className:"container relative flex m-auto items-center",style:{minHeight:420},children:(0,a.jsx)("div",{className:"w-full",children:(0,a.jsx)("h1",{className:"lg:text-6xl md:text-6xl sm:text-6xl  text-4xl text-white font-thin uppercase",children:l.title})})}),(0,a.jsx)("div",{className:"container relative -top-24 md:-top-36 flex m-auto flex-col md:flex-col gap-9",children:(0,a.jsx)("div",{className:"container m-auto flex flex-auto flex-col lg:flex-row gap-12 py-10",children:(0,a.jsx)(S.Z,{values:l.cards,blocks:{...R},direction:"horizontal",className:"container m-auto flex flex-auto flex-col lg:flex-row gap-12 py-10"})})})]})},template:F},...O,ComponentBlocksProNetTests:{Component:e=>{let{index:t,data:l}=e;return(0,a.jsx)("div",{className:"container lg:w-[80%] mx-auto bg-gradient-to-r from-[#a2d1e3] to-[#d7b8f8] ",children:(0,a.jsxs)("div",{className:"mx-auto py-16 flex flex-col lg:flex-row items-center lg:items-center justify-between",children:[(0,a.jsxs)("div",{className:"flex flex-col flex-shrink lg:w-2/3",children:[(0,a.jsx)("h4",{className:" text-alkBlack text-2xl mb-6",children:l.title}),(0,a.jsx)("div",{className:"text-base text-alkBlack",children:(0,a.jsx)(f.Z,{children:l.content})})]}),(0,a.jsx)("div",{className:"flex flex-col lg:flex-row mt-10 md:mt-6 lg:mt-0 items-center justify-center w-full lg:w-1/3",children:(0,a.jsx)(x.Z,{href:l.link,children:(0,a.jsx)("a",{className:"inline-block text-base text-white lg:flex-shrink-0 w-56 lg:w-auto  self-center lg:self-auto text-center font-regular bg-gradient-to-r from-alkLightBlue to-alkPurple py-3 px-8 rounded-full",children:l.buttonText})})})]})})},template:{type:"proNetTests",label:"ProNet Tests",defaultItem:{title:"Insert Title",content:"Insert content here",_template:"ComponentBlocksProNetTests"},fields:[{name:"link",label:"link",component:"text"},{name:"title",label:"Title",component:"text"},{name:"content",label:"Content",component:"html2"},{name:"buttonText",label:"Button Text",component:"text"},{name:"placeholder",label:"Input Placeholder",component:"text"}]}},ComponentBlocksPronetQuiz:{Component:e=>{let{index:t,data:l}=e,s={questions:[{question:[l.question1],questionType:"text",answerSelectionType:"single",firstAnswer:[l.aAnswerQuestion1],secondAnswer:[l.bAnswerQuestion1],thirdAnswer:[l.cAnswerQuestion1],fourthAnswer:[l.dAnswerQuestion1],fifthA
25nswer:[l.eAnswerQuestion1],sixthAnswer:[l.fAnswerQuestion1],correctAnswer:[l.correctAnswer1],messageForCorrectAnswer:"Одгвоорот е точен.",messageForIncorrectAnswer:"Одгвоорот е неточен.",point:20},{question:[l.question2],questionType:"text",answerSelectionType:"single",firstAnswer:[l.aAnswerQuestion2],secondAnswer:[l.bAnswerQuestion2],thirdAnswer:[l.cAnswerQuestion2],fourthAnswer:[l.dAnswerQuestion2],fifthAnswer:[l.eAnswerQuestion2],sixthAnswer:[l.fAnswerQuestion2],correctAnswer:[l.correctAnswer2],messageForCorrectAnswer:"Одгвоорот е точен.",messageForIncorrectAnswer:"Одгвоорот е неточен.",point:20},{question:[l.question3],questionType:"text",answerSelectionType:"single",firstAnswer:[l.aAnswerQuestion3],secondAnswer:[l.bAnswerQuestion3],thirdAnswer:[l.cAnswerQuestion3],fourthAnswer:[l.dAnswerQuestion3],fifthAnswer:[l.eAnswerQuestion3],sixthAnswer:[l.fAnswerQuestion3],correctAnswer:[l.correctAnswer3],messageForCorrectAnswer:"Одгвоорот е точен.",messageForIncorrectAnswer:"Одгвоорот е неточен.",point:20},{question:[l.question4],questionType:"text",answerSelectionType:"single",firstAnswer:[l.aAnswerQuestion4],secondAnswer:[l.bAnswerQuestion4],thirdAnswer:[l.cAnswerQuestion4],fourthAnswer:[l.dAnswerQuestion4],fifthAnswer:[l.eAnswerQuestion4],sixthAnswer:[l.fAnswerQuestion4],correctAnswer:[l.correctAnswer4],messageForCorrectAnswer:"Одгвоорот е точен.",messageForIncorrectAnswer:"Одгвоорот е неточен.",point:20}]},n=()=>{i(s.questions)},[r,i]=(0,c.useState)([]),[o,d]=(0,c.useState)(0),[m,x]=(0,c.useState)(""),[p,h]=(0,c.useState)(0),[u,g]=(0,c.useState)(0);(0,c.useEffect)(()=>{n()},[]);let[f,b]=(0,c.useState)("");return(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("section",{className:"relative lg:block",children:[(0,a.jsxs)("div",{className:"z-0 has-overlay absolute top-0 left-0 w-full  overflow-hidden",style:{minHeight:420},children:[(0,a.jsx)("div",{className:"absolute top-0 left-0 w-full h-full bg-cover bg-no-repeat bg-gradient-to-r from-alkBlue to-alkPurple  mi
25x-blend-multiply"}),(0,a.jsx)("div",{className:"absolute top-0 left-0 w-full h-full bg-cover bg-no-repeat bg-gradient-to-r from-alkLightBlue to-alkPurple opacity-80 mix-blend-multiply hidden"})]}),(0,a.jsx)("div",{className:"container relative flex m-auto pt-20",style:{minHeight:320},children:(0,a.jsx)("div",{className:"w-full",children:(0,a.jsx)("div",{className:"md:text-3xl text-lg text-white font-normal text-center",children:l.title})})}),(0,a.jsx)("div",{className:"container relative flex m-auto items-center",style:{minHeight:420},"dataQuestions-percent":p,children:(0,a.jsxs)("div",{className:"bg-red-500 relative -top-32 w-full p-12 px-6 md:px-24 pb-24 shadow-2xl",children:[(0,a.jsx)("div",{className:" h-full bg-white p-10",children:(0,a.jsxs)("div",{className:"h-10 w-full  pt-10 ",children:[o>4?"":(0,a.jsxs)("div",{className:"flex flex-row items-stretch justify-between relative -bottom-2 z-0",children:[(0,a.jsx)("div",{className:`w-full h-1 ${o>=1?"bg-alkLightBlue":"bg-gray-300"} `}),(0,a.jsx)("div",{className:`w-full h-1 ${o>=2?"bg-alkLightBlue":"bg-gray-300"} `}),(0,a.jsx)("div",{className:`w-full h-1 ${o>=3?"bg-alkLightBlue":"bg-gray-300"} `}),(0,a.jsx)("div",{className:`w-full h-1 ${o>=4?"bg-alkLightBlue":"bg-gray-300"} `})]}),o>4?"":(0,a.jsxs)("div",{className:"flex flex-row items-stretch justify-between relative z-10",children:[(0,a.jsx)("div",{className:"rounded-full w-3 h-3 bg-alkLightBlue",children:(0,a.jsx)("span",{className:"relative -top-8 font-bold text-alkLightBlue",children:"1"})}),(0,a.jsx)("div",{className:`rounded-full w-3 h-3 ${o>=1?"bg-alkLightBlue":"bg-gray-300"}`,children:(0,a.jsx)("span",{className:`relative -top-8 font-bold ${o>=1?"text-alkLightBlue":"text-gray-300"}`,children:"2"})}),(0,a.jsx)("div",{className:`rounded-full w-3 h-3 ${o>=2?"bg-alkLightBlue":"bg-gray-300"}`,children:(0,a.jsx)("span",{className:`relative -top-8 font-bold ${o>=2?"text-alkLightBlue":"text-gray-300"}`,children:"3"})}),(0,a.jsx)("div",{className:`rounded-full w-3 h-3 ${o>=3?"bg-alkLightBlue":"bg-gray-300"}`,children:(0,a.jsx)("span",{className:`relative -top-8 font-bold ${o>=3?"text-alkLightBlue":"text-gray-300"}`,children:"4"})}),(0,a.jsx)("div",{className:`rounded-full w-3 h-3 ${o>=4?"bg-alkLightBlue":"bg-gray-300"}`,children:(0,a.jsx)("span",{className:`relative -top-8 font-bold ${o>=4?"text-alkLightBlue":"text-gray-300"}`,children:"5"})})]}),(0,a.jsx)("ul",{className:"w-full lg:mb-40 hidden"})]})}),(0,a.jsxs)("div",{children:[p!=s.questions.length&&(0,a.jsx)(aG,{...r[p],sendAns:e=>{let t=r[p].correctAnswer;e.toString()===t.toString()&&g(u+1),setTimeout(()=>x(null),1e3),h(p+1),d(o+1)},count:p}),p===s.questions.length&&(0,a.jsx)(aQ,{maxscore:s.questions.length,score:u,reset:()=>{h(0),g(0),n()}})]})]})})]})})},template:{type:"proNetQuiz",label:"ProNet Quiz",defaultItem:{title:"Insert Title",content:"Insert content here",_template:"ComponentBlocksProNetQuiz"},fields:[{name:"title",label:"Title",component:"text"},{name:"question1",label:"Question 1",component:"text"},{name:"correctAnswer1",label:"Correct Answer Question 1",component:"text"},{name:"aAnswerQuestion1",label:"Answer A for question 1",component:"text"},{name:"bAnswerQuestion1",label:"Answer B for question 1",component:"text"},{name:"cAnswerQuestion1",label:"Answer C for question 1",component:"text"},{name:"dAnswerQuestion1",label:"Answer D for question 1",component:"text"},{name:"eAnswerQuestion1",label:"Answer E for question 1",component:"text"},{name:"fAnswerQuestion1",label:"Answer F for question 1",component:"text"},{name:"question2",label:"Question 2",component:"text"},{name:"correctAnswer2",label:"Correct Answer Question 2",component:"text"},{name:"aAnswerQuestion2",label:"Answer A for question 2",component:"text"},{name:"bAnswerQuestion2",label:"Answer B for question 2",component:"text"},{name:"cAnswerQuestion2",label:"Answer C for question 2",component:"text"},{name:"dAnswerQuestion2",label:"Answer D for question 2",component:"text"},{name:"eAnswerQuestion2",label:"Answer E for question 2",component:"text"},{name:"fAnswerQuestion2",label:"Answer F for question 2",component:"text"},{name:"question3",label:"Question 3",component:"text"},{name:"correctAnswer3",label:"Correct Answer Question 3",component:"text"},{name:"aAnswerQuestion3",label:"Answer A for question 3",component:"text"},{name:"bAnswerQuestion3",label:"Answer B for question 3",component:"text"},{name:"cAnswerQuestion3",label:"Answer C for question 3",component:"text"},{name:"dAnswerQuestion3",label:"Answer D for question 3",component:"text"},{name:"eAnswerQuestion3",label:"Answer E for question 3",component:"text"},{name:"fAnswerQuestion3",label:"Answer F for question 3",component:"text"},{name:"question4",label:"Question 4",component:"text"},{name:"correctAnswer4",label:"Correct Answer Question 4",component:"text"},{name:"aAnswerQuestion4",label:"Answer A for question 4",component:"text"},{name:"bAnswerQuestion4",label:"Answer B for question 4",component:"text"},{name:"cAnswerQuestion4",label:"Answer C for question 4",component:"text"},{name:"dAnswerQuestion4",label:"Answer D for question 4",component:"text"},{name:"eAnswerQuestion4",label:"Answer E for question 4",component:"text"},{name:"fAnswerQuestion4",label:"Answer F for question 4",component:"text"}]}},ComponentBlocksReports:{Component:e=>{let{index:t,data:l}=e;return(0,a.jsx)("section",{className:"relative py-10",children:(0,a.jsx)("div",{className:"container relative m-auto items-center",style:{minHeight:420,color:"white"},children:(0,a.jsx)("div",{className:"flex flex-col md:flex-row gap-6 items-center",children:(0,a.jsx)(S.Z,{blocks:{...D},values:l.reports})})})})},template:q},ComponentBlocksPronetForgotPassword:{Component:e=>{let{data:t}=e,[l,s]=(0,c.useState)();(0,g.useRouter)();let n=N.object({email:N.string().email("Insert a valid email").required("Required")}),r=(e,t)=>{let{setSubmitting:l}=t;s(),_.Z.post("https://cms.alkaloid.com.mk/api/auth/forgot-password",e).then(e=>{let t=`Ако е-поштата постои, ве молиме проверете ја за инструкции за ресетирање на лозинката.`;s(["success",t])}).catch(e=>{e.response&&400===e.response.status?s(["alert","Е-маилот не постои во нашата база."]):s(["alert","Се случи грешка. Обидете се повторно."])}).finally(()=>{l(!1)})};return(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("div",{className:"flex flex-col items-center",children:[(0,a.jsxs)("div",{className:`flex flex-col items-end ${t.title.length>=15?"max-w-xl":t.title.length>=12?"max-w-4xl":t.title.length>=9?"max-w-xl":t.title.length>=5?"max-w-sm":"max-w-xs"} `,children:[(0,a.jsx)("h1",{className:`text-[32px] text-[#023F88] sm:${t.fontSize} ${t.fontWeight}
25  place-self-center tracking-wider mb-3`,children:t.title}),(0,a.jsx)("hr",{className:`border-alkLightBlue ml-40 ${t.title.length>=15?"w-5/12":t.title.length>=12?"w-5/12":t.title.length>=9?"w-5/12":t.title.length>=5?"w-7/12":"w-8/12"} ${t.showLine?"":"hidden"} border-solid border-b-4`}),(0,a.jsxs)("div",{className:"flex text-center lg:w-[408px] md:w-[320px] w-full",children:["Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin aliquet imperdiet lorem vel ultrices."," "]})]}),(0,a.jsx)("div",{className:"mt-10",children:(0,a.jsx)(v.J9,{initialValues:aK,validationSchema:n,onSubmit:(e,t)=>{let{setSubmitting:l}=t;return r(e,{setSubmitting:l})},children:e=>{let{isSubmitting:t,isValid:s}=e;return(0,a.jsxs)(v.l0,{children:[(0,a.jsx)(a.Fragment,{children:t?(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4 mt-8",children:"Код "}),(0,a.jsx)(v.gN,{className:"lg:w-[408px] md:w-[320px] w-full rounded-md h-10 py-6 pl-3 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"kod",placeholder:"Вметни го кодот овде"}),(0,a.jsx)(v.Bc,{name:"kod",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}):(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4 mt-8",children:"Е-маил "}),(0,a.jsx)(v.gN,{className:"lg:w-[408px] md:w-[320px] w-full rounded-md h-10 py-6 pl-3 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"email",placeholder:"Е-маил"}),(0,a.jsx)(v.Bc,{name:"email",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]})}),(0,a.jsx)("br",{}),t?" ":l&&(0,a.jsx)("div",{className:"mt-4 mb-4",style:{backgroundColor:"success"===l[0]?"lightgreen":"lightcoral"},children:(0,a.jsx)("div",{dangerouslySetInnerHTML:{__html:l[1]}})}),(0,a.jsxs)("button",{className:"text-xs phone:text-sm md:text-base cursor-pointer duration-300 hover:text-alkLightBlue text-white font-semibold bg-gradient-to-r from-alkLightBlue to-alkPurple py-1 phone:py-3 px-4 phone:px-12 border-0 border-transparent rounded-full",type:"submit",disabled:!s,children:[!t&&"Прати код за промена на лозинка",t&&"Промени лозинка"]})]})}})})]})})},template:{type:"pronetForgotPassword",label:"PronetForgotPassword",defaultItem:{fontSize:"text-6xl",label:"Label",link:"/about",type:"link",showLine:!0,title:"",_template:"ComponentBlocksPronetForgotPassword"},fields:[{name:"title",label:"Title",component:"text"},{name:"showLine",label:"Show Line",component:"toggle",toggleLabels:{true:"On",false:"Off"},description:"Toggle on if you want a line to show under the Title"},{component:"radio-group",direction:"horizontal",name:"fontSize",label:"Font Size",description:"Choose the size of the text.",options:[{label:"Small",value:"text-4xl"},{label:"Large",value:"text-6xl"}]},{component:"radio-group",direction:"horizontal",name:"fontWeight",label:"Font Weight",description:"Choose the weight of the text.",options:[{label:"Thin",value:"font-thin"},{label:"Normal",value:"font-normal"},{label:"Bold",value:"font-bold"}]}]}},ComponentBlocksContactInformation:{Component:e=>{let{index:t,data:l}=e;return(0,a.jsx)("section",{children:(0,a.jsx)("div",{className:"container m-auto",children:(0,a.jsxs)("div",{className:"md:flex items-center m-auto flex-wrap",children:[(0,a.jsx)("div",{className:"lg:w-2/3",children:(0,a.jsxs)("div",{className:"flex flex-col md:flex-row",children:[(0,a.jsxs)("div",{className:"w-full md:w-1/2 mb-10 md:pr-1/4",children:[(0,a.jsx)("div",{className:"text-2xl font-bold mb-4",children:(0,a.jsx)(f.Z,{children:l.name})}),(0,a.jsx)("div",{className:"text-base leading-relaxed mb-4",children:(0,a.jsx)(f.Z,{children:l.position})}),(0,a.jsx)("div",{className:"text-base leading-relaxed text-alkLightBlue",children:(0,a.jsx)(f.Z,{children:l.address})})]}),(0,a.jsxs)("div",{className:"w-full md:w-1/2 mb-10 md:pr-1/4",children:[l.phone&&(0,a.jsxs)("div",{className:"flex flex-row items-center text-base leading-relaxed mb-4",children:[(0,a.jsx)("i",{className:"inline-block mr-4 relative",children:(0,a.jsx)(d.Z,{src:z.src,fill:"#00aeef"})}),(0,a.jsx)(f.Z,{children:l.phone})]}),l.fax&&(0,a.jsxs)("div",{className:"flex flex-row items-center text-base leading-relaxed mb-4",children:[(0,a.jsx)("i",{className:"inline-block mr-4 relative",children:(0,a.jsx)(d.Z,{src:H.src,fill:"#00aeef"})}),(0,a.jsx)(f.Z,{children:l.fax})]}),l.email&&(0,a.jsxs)("div",{className:"flex flex-row items-center text-base text-alkLightBlack mb-4",children:[(0,a.jsx)("i",{className:"inline-block mr-4 relative",children:(0,a.jsx)(d.Z,{src:W.src,fill:"#00aeef"})}),(0,a.jsx)("a",{className:"text-base leading-6 text-alkLightBlue underline",href:"/",target:"_blank",rel:"noreferrer",children:(0,a.jsx)(f.Z,{children:l.email})})]})]})]})}),(0,a.jsx)("div",{className:"lg:w-1/3 hidden lg:block ",children:(0,a.jsxs)("svg",{width:"346.402",height:"418.745",viewBox:"0 0 346.402 418.745",children:[(0,a.jsx)("defs",{children:(0,a.jsxs)("linearGradient",{id:"linear-gradient",x1:"1",y1:"0.433",x2:"0.083",y2:"0.433",gradientUnits:"objectBoundingBox",children:[(0,a.jsx)("stop",{offset:"0",stopColor:"#00aeef"}),(0,a.jsx)("stop",{offset:"1",stopColor:"#5f1aae"})]})}),(0,a.jsx)("line",{id:"Line_90","data-name":"Line 90",x2:"126.04",y2:"183.089",transform:"translate(103.585 3.477)",fill:"none",stroke:"#00aeef",strokeLinecap:"round",strokeLidth:"5"}),(0,a.jsx)("path",{id:"Path_7557","data-name":"Path 7557",d:"M707.251,381.436H629.637L360.849,0h77.614Z",transform:"translate(-360.849 37.309)",fill:"url(#linear-gradient)"})]})})]})})})},template:G},ComponentBlocksOperatingResults:{Component:e=>{let{index:t,data:l}=e;return(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(x.Z,{to:l.link,children:(0,a.jsx)("div",{children:(0,a.jsx)("div",{className:"container -mt-10  m-auto md:w-8/12 overflow-x-hidden",children:(0,a.jsxs)("div",{className:"w-full",children:[(0,a.jsx)("div",{className:"w-full",children:(0,a.jsx)(h.LazyLoadImage,{src:(0,o.Z)(l.background,"large"),alt:(0,p.Z)(l.background),className:"block w-full"})}),(0,a.jsx)("div",{className:"relative -top-10 block w-full md:pl-10",children:l.link&&(0,a.jsxs)("div",{to:l.link,className:"inline-block text-1xl md:text-2xl  md:ml-0 text-white bg-gradient-to-r from-alkLightBlue to-alkPurple pl-4 md:pl-12 pr-6 py-3 md:pr-14 md:py-6 
25w-2/3 relative",children:[l.title,(0,a.jsx)(d.Z,{src:m.src,className:"absolute right-0 bottom-2 w-3",fill:"white"}),(0,a.jsx)(d.Z,{src:U.Z.src,className:"absolute -right-24 -bottom-10 hidden md:block",stroke:"#00aeef"}),(0,a.jsx)("div",{className:"w-36 h-full absolute top-0 -right-36",children:(0,a.jsx)(d.Z,{src:Q.src,className:"h-full"})})]})})]})})})})})},template:{type:"operatingResults",label:"Card with link",defaultItem:{title:"Title here",link:"/",_template:"ComponentBlocksOperatingResults"},fields:[{name:"title",label:"Title",component:"text"},{name:"background",label:"Background",component:"image"},{name:"link",label:"Link",component:"text"}]}},ComponentBlocksPronetLoginModal:{Component:e=>{let{data:t,reloadJwt:l}=e,{t:s}=(0,ec.$G)(),n=(0,g.useRouter)(),{redirect:r}=n.query,[i,o]=(0,c.useState)(!1),d=(0,c.useMemo)(()=>N.object().shape({password:N.string().min(6,s("too_short")).required(s("required_input-pronet")),email:N.string().email(s("invalid_email")).required(s("required_input-pronet"))}),[s]),m=(0,c.useCallback)(async e=>{let{email:t,password:a,rememberMe:i}=e;console.log("Form values submitted:",e);try{let e=await (0,t9.Z)().post("https://cms.alkaloid.com.mk/api/auth/local",{identifier:t,password:a,rememberMe:i});console.log("Login successful:",e.data),window.localStorage.setItem("pronet-login",JSON.stringify(e.data)),await l(),console.log("Redirecting to:",r||"/pronet"),n.push(r||"/pronet")}catch(e){console.error("Login error:",e),alert(s("Неуспешна најава. Вашата лозинка или е-маил се погрешни или не сте регистрирани."))}},[r,l,n,s]);return(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("div",{className:"container mx-auto mt-20",children:[(0,a.jsxs)("div",{className:`flex flex-col items-end ${t.title.length>=15?"max-w-xl":t.title.length>=12?"max-w-4xl":t.title.length>=9?"max-w-xl":t.title.length>=5?"max-w-sm":"max-w-xs"} `,children:[(0,a.jsx)("h1",{className:`text-[32px] text-[#023F88] sm:${t.fontSize} ${t.fontWeight}  place-self-start tracking-wider mb-3`,children:t.title}),(0,a.jsx)("hr",{className:`border-alkLightBlue ml-40 ${t.title.length>=15?"w-5/12":t.title.length>=12?"w-5/12":t.title.length>=9?"w-5/12":t.title.length>=5?"w-7/12":"w-8/12"} ${t.showLine?"":"hidden"} border-solid border-b-4`})]}),(0,a.jsx)("div",{className:"mt-10",children:(0,a.jsx)(v.J9,{initialValues:aD,onSubmit:m,validationSchema:d,children:(0,a.jsx)(v.l0,{children:(0,a.jsxs)("div",{className:"relative w-full px-6 pt-6 py-10 md:px-0",children:[(0,a.jsxs)("div",{className:"my-6 phone:my-10",children:[(0,a.jsx)("h3",{className:" text-sm md:w-[60%] w-full phone:text-xl md:text-lg leading-tight phone:leading-normal",children:"Внесете ги своите податоци за најава во полињата подолу."}),(0,a.jsxs)("div",{className:"flex md:flex-row flex-col w-full md:gap-20",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4 mt-8",children:"Е-маил "}),(0,a.jsx)(v.gN,{className:"lg:w-[408px] md:w-[320px] w-full rounded-md h-10 py-6 pl-3 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"email",placeholder:"Е-маил"}),(0,a.jsx)(v.Bc,{name:"email",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4 mt-8",children:"Лозинка "}),(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)(v.gN,{className:"lg:w-[408px] md:w-[320px] w-full rounded-md h-10 py-6 pl-3 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:i?"password":"text",name:"password",placeholder:"Лозинка"}),(0,a.jsx)("span",{className:"absolute inset-y-0 right-0 flex items-center pr-3 cursor-pointer",onClick:()=>o(!i),children:i?(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",className:"h-6 w-6",children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M3 3l18 18M10.4 10.4a3 3 0 104.2 4.2m1.632 1.632A9.057 9.057 0 0112 21c-4.478 0-8.268-2.943-9.542-7a9.057 9.057 0 012.57-4.758m4.138-4.138a9.057 9.057 0 0112.13 0 9.057 9.057 0 012.57 4.758c-.5 1.514-1.198 2.86-2.042 4.003"})}):(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",className:"h-6 w-6",children:[(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M15 12a3 3 0 01-6 0 3 3 0 016 0z"}),(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M2.458 12C3.732 7.943 7.522 5 12 5c4.478 0 8.268 2.943 9.542 7-.5 1.514-1.198 2.86-2.042 4.003M15 12a3 3 0 01-6 0m4.5-3.75A2.25 2.25 0 0013.25 12M2.458 12c1.274 4.057 5.064 7 9.542 7a9.59 9.59 0 004.628-1.197"})]})})]}),(0,a.jsx)(v.Bc,{name:"password",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})}),(0,a.jsxs)("a",{href:"/reset-password-page",className:"ml-2 text-sm block mb-4 mt-4",children:["Заборавена лозинка?"," "]})]})]}),(0,a.jsxs)("div",{className:"mt-16",children:[(0,a.jsx)(v.gN,{name:"rememberMe",type:"checkbox",id:"check",className:"mt-4"}),(0,a.jsx)("label",{htmlFor:"check",className:"ml-4 mt-4",children:"Остани најавен"})]})]}),(0,a.jsx)("div",{className:"w-full flex flex-col md:flex-row gap-4",children:(0,a.jsx)("button",{type:"submit",className:"text-xs phone:text-sm md:text-base cursor-pointer duration-300 hover:text-alkLightBlue text-white font-semibold bg-gradient-to-r from-alkLightBlue to-alkPurple py-1 phone:py-3 px-4 phone:px-12 border-0 border-transparent roun
25ded-full",children:"Најави се"})}),(0,a.jsx)("div",{className:"mt-8",children:(0,a.jsxs)("p",{children:["Не си регистриран?"," ",(0,a.jsx)("a",{href:"/pronet-registracija",className:"text-alkLightBlue ml-2 underline cursor-pointer",children:"Регистрирај се"})]})})]})})})})]})})},template:{type:"pronetLoginModal",label:"PronetLoginModal",defaultItem:{fontSize:"text-6xl",label:"Label",link:"/about",type:"link",showLine:!0,title:"",_template:"ComponentBlocksPronetLoginModal"},fields:[{name:"title",label:"Title",component:"text"},{name:"showLine",label:"Show Line",component:"toggle",toggleLabels:{true:"On",false:"Off"},description:"Toggle on if you want a line to show under the Title"},{component:"radio-group",direction:"horizontal",name:"fontSize",label:"Font Size",description:"Choose the size of the text.",options:[{label:"Small",value:"text-4xl"},{label:"Large",value:"text-6xl"}]},{component:"radio-group",direction:"horizontal",name:"fontWeight",label:"Font Weight",description:"Choose the weight of the text.",options:[{label:"Thin",value:"font-thin"},{label:"Normal",value:"font-normal"},{label:"Bold",value:"font-bold"}]}]}},ComponentBlocksShares:{Component:e=>{let{index:t,data:l,tickerDatum:s,stocksData:n}=e;return(0,a.jsxs)("div",{className:"container relative flex flex-col lg:flex-row md:flex-row  m-auto items-start lg:gap-6",children:[(0,a.jsx)("div",{className:"w-full md:w-1/2 block text-left ",children:(0,a.jsx)("div",{className:"max-w-screen-sm",children:(0,a.jsx)("div",{className:"text-base xl:text-xl leading-relaxed mb-4 lg:mb-0 lg:mt-4",children:(0,a.jsx)(f.Z,{children:l.content})})})}),(0,a.jsxs)("div",{className:"w-full md:w-1/2 block text-left  pb-10 md:ml-10",children:[(0,a.jsx)("p",{className:"sm:text-5xl text-4xl lg:text-8xl text-alkLightBlue",children:n[n.length-1].attributes.avg.toLocaleString(void 0,{maximumFractionDigits:2,minimumFractionDigits:2})}),(0,a.jsx)("hr",{className:"my-4 mb-2"}),(0,a.jsx)("span",{className:"text-sm leading-6 text-alkGrey",children:(0,a.jsx)(f.Z,{children:l.source})}),(0,a.jsx)("span",{className:"text-2xl text-alkBlue float-right",children:(0,a.jsx)(f.Z,{children:l.price})}),(0,a.jsx)("div",{className:"pt-10",children:(0,a.jsx)("span",{className:"text-2xl text-alkLightBlack pr-10 inline-block",children:(0,a.jsx)(f.Z,{children:l.change})})}),(0,a.jsx)("span",{className:"text-2xl text-alkLightBlack pr-10",children:`${n[n.length-1].attributes.changePercent>0?"+":""}${n[n.length-1].attributes.changePercent}%`})]})]})},template:{type:"shares",label:"Shares",defaultItem:{content:"Insert content here",_template:"ComponentBlocksShares"},fields:[{name:"content",label:"Content",component:"html2"},{name:"source",label:"Source",component:"html2"},{name:"price",label:"Price",component:"html2"},{name:"change",label:"Change",component:"html2"}]}},ComponentBlocksPronetUserProfile:{Component:e=>{let{data:t,fetchUserData:l}=e,{t:s}=(0,ec.$G)(),[n,r]=(0,c.useState)(""),[i,o]=(0,c.useState)(!1),d=(0,c.useCallback)(async e=>{let t=localStorage.getItem("pronet-login"),l=JSON.parse(t),a=l?.jwt;i||(await (0,t9.Z)().post("https://cms.alkaloid.com.mk/api/ask-a-question-pronets",{data:{message:e.message}},{headers:{Authorization:`Bearer ${a}`}}),o(!0))},[i]),m=(0,c.useCallback)(async e=>{let{email:t,name:a,fieldOfWork:i,city:o,sex:c,dateOfBirth:d,licence:m,message:x}=e;try{let e=await (0,t9.Z)().post("https://cms.alkaloid.com.mk/api/auth/local",{identifier:t,name:a,fieldOfWork:i,city:o,sex:c,dateOfBirth:d,licence:m,message:x});console.log(e),await l()}catch(e){console.error(e),alert(s("korisnickiprofil_error"))}r(n)},[]);return(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("div",{className:"container mx-auto mt-20",children:[(0,a.jsxs)("div",{className:`flex flex-col items-end ${t.title.length>=15?"max-w-4xl":t.title.length>=12?"max-w-4xl":t.title.length>=9?"max-w-xl":t.title.length>=5?"max-w-sm":"max-w-xs"} `,children:[(0,a.jsx)("h1",{className:`text-[32px] text-[#023F88] sm:${t.fontSize} ${t.fontWeight}  place-self-start tracking-wider mb-3`,children:t.title}),(0,a.jsx)("hr",{className:`border-alkLightBlue ml-40 ${t.title.length>=15?"w-5/12":t.title.length>=12?"w-5/12":t.title.length>=9?"w-5/12":t.title.length>=5?"w-7/12":"w-8/12"} ${t.showLine?"":"hidden"} border-solid border-b-4`})]}),(0,a.jsx)("div",{className:"mt-10",children:(0,a.jsx)(v.J9,{initialValues:aq,onSubmit:m,children:(0,a.jsx)(v.l0,{children:(0,a.jsxs)("div",{className:"relative w-full ",children:[(0,a.jsxs)("div",{className:"my-6 phone:my-10 ",children:[(0,a.jsxs)("div",{className:"flex flex-row justify-between",children:[(0,a.jsx)("div",{className:" text-sm md:w-[60%] w-full phone:text-xl md:text-lg leading-tight phone:leading-normal",children:"Основни Информации"}),(0,a.jsx)("div",{className:" cursor-pointer underline text-alkLightBlue underline-alkLightBlue text-sm md:w-[47%] w-full phone:text-xl md:text-lg leading-tight phone:leading-normal",children:(0,a.jsxs)("button",{id:"change",type:"button",onClick:function(){r("New value for the input field")},children:["Промени"," "]})})]}),(0,a.jsx)("hr",{className:" mt-2 lg:w-[65%] w-full"}),(0,a.jsxs)("div",{className:"flex md:flex-row flex-col w-full md:gap-20",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4 mt-8",children:"Име и Презиме"}),(0,a.jsx)(v.gN,{className:"lg:w-[408px] md:w-[320px] w-full rounded-md h-10 py-6 pl-3 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"name",placeholder:"Име Презиме",value:n,onChange:e=>r(e.target.value)})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4 mt-8",children:"Е-маил "}),(0,a.jsx)(v.gN,{className:"lg:w-[408px] md:w-[320px] w-full rounded-md h-10 py-6 pl-3 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"email",placeholder:"[email protected]"})]})]}),(0,a.jsxs)("div",{children:[(0,a.jsxs)("p",{className:"tracking-wider block mb-4 mt-8",children:["Стручно поле на работа"," "]}),(0,a.jsx)(v.gN,{className:"lg:w-[408px] md:w-[320px] w-full rounded-md h-10 py-6 pl-3 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"fieldOfWork",placeholder:"Стручно поле"})]})]}),(0,a.jsxs)("div",{className:"my-6 phone:my-28 ",children:[(0,a.jsxs)("div",{className:"flex flex-row justify-between",children:[(0,a.jsxs)("div",{className:" text-sm md:w-[60%] w-full phone:text-xl md:text-lg leading-tight phone:leading-normal",children:["Дополнителни информации"," "]}),(0,a.jsx)("div",{className:" cursor-pointer underline text-alkLightBlue underline-alkLightBlue text-sm md:w-[47%] w-full phone:text-xl md:text-lg leading-tight phone:leading-normal",children:"Промени"})]}),(0,a.jsx)("hr",{className:" mt-2 lg:w-[65%] w-full"}),(0,a.jsx)("div",{className:"flex md:flex-row flex-col w-full md:gap-20",children:(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4 mt-8",children:"Град "}),(0,a.jsx)(v.gN,{className:"lg:w-[408px] md:w-[320px] w-full rounded-md h-10 py-6 pl-3 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"city",placeholder:"Град"})]})}),(0,a.jsxs)("div",{className:"flex md:flex-row flex-col w-full md:gap-20",children:[(0,a.jsxs)("div",{children:[(0,a.jsxs)("p",{className:"tracking-wider block mb-4 mt-8",children:["Датум на раѓање"," "]}),(0,a.jsx)(v.gN,{className:"lg:w-[408px] md:w-[320px] w-full rounded-md h-10 py-6 pl-3 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"dateOfBirth",placeholder:"DD/MM/YYYY"})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4 mt-8",children:"Пол "}),(0,a.jsx)(v.gN,{className:"lg:w-[408px] md:w-[320px] w-full rounded-md h-10 py-6 pl-3 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"sex",placeholder:"M / Ж"})]})]}),(0,a.jsxs)("div",{children:[(0,a.jsxs)("p",{className:"tracking-wider block mb-4 mt-8",children:["Број на лиценца"," "]}),(0,a.jsx)(v.gN,{className:"lg:w-[408px] md:w-[320px] w-full rounded-md h-10 py-6 pl-3 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"licence",placeholder:"ex:1111111"})]}),(0,a.jsx)("div",{className:"w-full flex flex-col justify-center md:pl-72 lg:pl-40 mt-20 md:mt-0  md:flex-row ",children:(0,a.jsx)("button",{type:"submit",value:!1,className:"text-xs phone:text-sm md:text-base cursor-pointer duration-300 hover:text-alkLightBlue text-white font-semibold bg-gradient-to-r from-alkLightBlue to-alkPurple py-1 phone:py-3 px-4 phone:px-12 border-0 border-transparent roun
25ded-full",children:"Зачувај"})})]}),(0,a.jsx)(v.J9,{initialValues:az,onSubmit:d,validateOnChange:!1,children:(0,a.jsx)(v.l0,{children:(0,a.jsxs)("div",{className:"my-6 phone:my-10 ",children:[(0,a.jsx)("div",{className:"flex flex-row justify-between ",children:(0,a.jsxs)("div",{className:" text-sm md:w-[60%]  px-4 w-full phone:text-xl md:text-lg leading-tight phone:leading-normal",children:["Имаш прашање?"," "]})}),(0,a.jsx)("hr",{className:" mt-2 lg:w-[65%] w-full"}),(0,a.jsxs)("div",{className:"lg:w-[65%] w-full bg-[#FBFBFB] p-4",children:[(0,a.jsxs)("p",{className:"tracking-wider block mb-4 bg-[#FBFBFB] ",children:["Порака"," "]}),(0,a.jsx)(v.gN,{as:"textarea",name:"message",className:"lg:w-[408px] md:w-[320px] w-full rounded-md  h-40  pl-5 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",rows:"4",cols:"50",placeholder:"Место за Вашата порака..."})]}),(0,a.jsx)("div",{className:"w-full flex flex-col px-4 justify-start mt-5 mb-20  md:flex-row ",children:(0,a.jsxs)("button",{type:"submit",className:"text-xs phone:text-sm md:text-base cursor-pointer duration-300 hover:text-alkLightBlue text-white font-semibold bg-gradient-to-r from-alkLightBlue to-alkPurple py-1 phone:py-3 px-4 phone:px-12 border-0 border-transparent rounded-full",children:["Испрати"," "]})})]})})})]})})})})]})})},template:{type:"pronetUserProfile",label:"Pronet User Profile",defaultItem:{fontSize:"text-6xl",label:"Label",link:"/about",type:"link",showLine:!0,title:"",_template:"ComponentBlocksPronetUserProfile"},fields:[{name:"title",label:"Title",component:"text"},{name:"showLine",label:"Show Line",component:"toggle",toggleLabels:{true:"On",false:"Off"},description:"Toggle on if you want a line to show under the Title"},{component:"radio-group",direction:"horizontal",name:"fontSize",label:"Font Size",description:"Choose the size of the text.",options:[{label:"Small",value:"text-4xl"},{label:"Large",value:"text-6xl"}]},{component:"radio-group",direction:"horizontal",name:"fontWeight",label:"Font Weight",description:"Choose the weight of the text.",options:[{label:"Thin",value:"font-thin"},{label:"Normal",value:"font-normal"},{label:"Bold",value:"font-bold"}]}]}},ComponentBlocksSlider:{Component:e=>{let{index:t,data:l}=e,[s,n]=(0,c.useState)(0),[r,i]=(0,c.useState)(0);return(0,a.jsx)(S.Z,{values:l.slides,blocks:{...J},direction:"horizontal",className:"",itemProps:{currentSlide:s,setCurrentSlide:n,currentImage:r,setCurrentImage:i,numItems:l.slides.length,images1:l.slides[0]}})},template:{type:"slides",label:"Right slider",defaultItem:{_template:"ComponentBlocksSlider",slides:[]}}},ComponentBlocksContacts:{Component:e=>{let{index:t,data:l}=e;return(0,a.jsx)("div",{className:"container m-auto justify-around align-text-top  flex flex-col md:flex-row md:gap-8 gap-12 py-10",children:(0,a.jsx)(S.Z,{values:l.contacts,blocks:{...K},direction:"horizontal",className:"container m-auto justify-around align-text-top  flex flex-col md:flex-row md:gap-8 gap-12 py-10"})})},template:X},ComponentBlocksLeftTitleBanner:{Component:e=>{let{index:t,data:l}=e;return(0,a.jsxs)("section",{className:"relative",children:[(0,a.jsxs)("div",{className:"z-0 has-overlay absolute top-0 left-0 w-full h-full overflow-hidden",children:[(0,a.jsx)(h.LazyLoadImage,{className:"absolute top-0 left-0 w-full h-full object-cover",src:(0,o.Z)(l.background,"large"),alt:(0,p.Z)(l.background)}),(0,a.jsx)(d.Z,{src:"/_next/static/media/BotanicalBg.2511b98c.svg",className:"absolute top-0 left-0 bottom-0 pointer-events-none",style:{maxHeight:"420px",left:"-1100px"}})]}),(0,a.jsx)("div",{className:"container relative flex m-auto items-center",style:{minHeight:420},children:(0,a.jsx)("div",{className:"w-full",children:(0,a.jsx)("h2",{className:"text-6xl text-white font-thin uppercase",children:l.title})})})]})},template:{type:"left title banner",label:"Left Title Hero",defaultItem:{title:"Title here",link:"/",_template:"ComponentBlocksLeftTitleBanner"},fields:[{name:"title",label:"Title",component:"text"}
25,{name:"background",label:"Background",component:"image"}]}},ComponentBlocksProductObservationReport:{Component:e=>{let{index:t,data:l}=e,{t:s}=(0,ec.$G)(),[n,r]=(0,c.useState)(0),[i,o]=(0,c.useState)(!1),[d,m]=(0,c.useState)(!1),x=e=>{e>0&&r(e-1)},p=()=>{let e=new Date,t=e.getFullYear(),l=String(e.getMonth()+1).padStart(2,"0"),a=String(e.getDate()).padStart(2,"0");return`${t}-${l}-${a}`},h=e=>{r(e+1)},[u,g]=(0,c.useState)(!0);(0,c.useEffect)(()=>{"true"==lR.env.NEXT_PUBLIC_ENSURE_REPORT&&"user"!==localStorage.getItem("userType")&&g(!0)},[]);let b=(0,c.useCallback)(async(e,t)=>{let{resetForm:l}=t;if(3===n)try{m(!0),await (0,t9.Z)().post("https://cms.alkaloid.com.mk/api/product-observation-reports",{data:{InitialInfo:{Name:e.Name,Tel:e.Tel,Email:e.Email},InformedBy:{ReportedBy:e.ReportedBy},EventDate:{eventOccurred:e.eventOccurred},PatientInfo:{dateOfBirth:e.dateOfBirth},ProblemDetails:{detailedInfo:e.detailedInfo},ProductInfo:{lotNumber:e.lotNumber,purchaseDate:e.purchaseDate}}})}catch(e){console.log(e)}finally{e.purchaseDate&&n>=3&&setTimeout(()=>{m(!1),o(!0),setTimeout(()=>{o(!1),r(0),l()},3e3)},2e3)}else r(n+1),h(n)},[n]),j=[N.object({Name:N.string().matches(/^[A-Za-z\s]*$/,s("warning")).required("Required"),Tel:N.string().required("Required"),Email:N.string().email("Invalid email").required("Required")}),N.object({ReportedBy:N.string().oneOf(["customer","health_worker","other","family"],function(){for(var e=arguments.length,t=Array(e),l=0;l<e;l++)t[l]=arguments[l];let a=t[0].values.split(", ");return`${s("oneOfUser")}${a.reduce((e,t)=>`${e} ${s(t)}`,"")}`})}),N.object({eventOccurred:N.string().required("Required"),dateOfBirth:N.string().required("Required")}),N.object({detailedInfo:N.string().matches(/^[A-Za-z0-9\s.,!]*$/,s("warning")).required("Required")})];return j[n],(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("section",{className:"relative lg:block",children:[(0,a.jsxs)("div",{className:"z-0 has-overlay absolute top-0 left-0 w-full  overflow-hidden",style:{minHeight:420},children:[(0,a.jsx)("div",{className:"absolute top-0 left-0 w-full h-full bg-cover bg-no-repeat bg-gradient-to-r from-alkLightBlue to-alkPurple  mi
25x-blend-multiply"}),(0,a.jsx)("div",{className:"absolute top-0 left-0 w-full h-full bg-cover bg-no-repeat bg-gradient-to-r from-alkLightBlue to-alkPurple opacity-80 mix-blend-multiply hidden"})]}),(0,a.jsx)("div",{className:"container relative flex m-auto pt-20",style:{minHeight:320},children:(0,a.jsx)("div",{className:"w-full",children:(0,a.jsx)("h2",{className:"text-3xl text-white font-normal text-center",children:s("product-obseravtion-title")})})}),(0,a.jsx)("div",{className:"container relative flex m-auto items-center",style:{minHeight:420},children:(0,a.jsxs)("div",{className:`bg-white relative -top-32 w-full p-12 ${3===n?"pb-16 sm:pb-40":""} px-6 md:px-24 shadow-2xl`,children:[i&&(0,a.jsx)("div",{className:"absolute w-full h-6 sm:h-10 md:h-24 xl:h-32 bottom-0 text-alkWhite bg-formThankYouGreen left-0 flex items-center justify-center",children:s("report_a_product_obseravtion_thanks").toUpperCase()}),d&&(0,a.jsx)("div",{className:"absolute w-full h-6 sm:h-10 md:h-24 xl:h-32 bottom-0 text-alkWhite bg-formThankYouGreen left-0 flex items-center justify-center",children:s("report_a_product_obseravtion_thanks").toUpperCase()}),(0,a.jsxs)("div",{className:"h-10 w-full mb-20 pt-10",children:[(0,a.jsxs)("div",{className:"flex flex-row items-stretch justify-between relative -bottom-2 z-0",children:[(0,a.jsx)("div",{className:`w-full h-1 ${n>=1?"bg-alkLightBlue":"bg-gray-300"} `}),(0,a.jsx)("div",{className:`w-full h-1 ${n>=2?"bg-alkLightBlue":"bg-gray-300"} `}),(0,a.jsx)("div",{className:`w-full h-1 ${n>=3?"bg-alkLightBlue":"bg-gray-300"} `})]}),(0,a.jsxs)("div",{className:"flex flex-row items-stretch justify-between relative z-10",children:[(0,a.jsx)("div",{className:"rounded-full w-3 h-3 bg-alkLightBlue",children:(0,a.jsx)("span",{className:"relative -top-8 font-bold text-alkLightBlue",children:"1"})}),(0,a.jsx)("div",{className:`rounded-full w-3 h-3 ${n>=1?"bg-alkLightBlue":"bg-gray-300"}`,children:(0,a.jsx)("span",{className:`relative -top-8 font-bold ${n>=1?"text-alkLightBlue":"text-gray-300"}`,children:"2"})}),(0,a.jsx)("div",{className:`rounded-full w-3 h-3 ${n>=2?"bg-alkLightBlue":"bg-gray-300"}`,children:(0,a.jsx)("span",{className:`relative -top-8 font-bold ${n>=2?"text-alkLightBlue":"text-gray-300"}`,children:"3"})}),(0,a.jsx)("div",{className:`rounded-full w-3 h-3 ${n>=3?"bg-alkLightBlue":"bg-gray-300"}`,children:(0,a.jsx)("span",{className:`relative -top-8 font-bold ${n>=3?"text-alkLightBlue":"text-gray-300"}`,children:"4"})}),(0,a.jsx)("div",{className:`rounded-full w-3 h-3 ${n>=4?"bg-alkLightBlue":"bg-gray-300"}`,children:(0,a.jsx)("span",{className:`relative -top-8 font-bold ${n>=4?"text-alkLightBlue":"text-gray-300"}`,children:"5"})})]}),(0,a.jsx)("ul",{className:"w-full lg:mb-40 hidden"})]}),0===n&&(0,a.jsx)("div",{className:"mb-16 text-base",children:(0,a.jsx)(f.Z,{children:l.contentStart})}),(0,a.jsx)(v.J9,{initialValues:lF,onSubmit:b,validateOnChange:!1,validationSchema:j[n],children:e=>{let{errors:t,touched:l}=e;return(0,a.jsxs)(v.l0,{children:[(0,a.jsxs)("div",{className:"mb-10",children:[(0,a.jsx)("h3",{className:"text-2xl",children:s(`product-obseravtion-title${n}`)}),(0,a.jsx)("div",{className:"m-auto w-20 h-1 inline-block bg-alkLightBlue rounded relative lg:-left-6 md:-left-6 "})]}),(0,a.jsx)("div",{className:"flex flex-col md:flex-row gap-8 px-0 md:px-16"}),0===n&&(0,a.jsx)("div",{children:(0,a.jsxs)("div",{className:"md:grid grid-cols lg:grid-cols-2 gap-x-8 md:gap-x-16 px-0 md:px-16",children:[(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("name_obs")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"Name",id:"Name",placeholder:s("name_placeholder")}),(0,a.jsx)(v.Bc,{name:"Name",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("telephone")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"Tel",placeholder:s("telephone_placeholder")}),(0,a.jsx)(v.Bc,{name:"Tel",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("email")}),(0,a.jsx)(v.gN,{className:"w-full rouned-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"Email",placeholder:s("email_placeholder"),required:!0}),(0,a.jsx)(v.Bc,{name:"Email",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]})]})}),1===n&&(0,a.jsx)("div",{children:(0,a.jsxs)("div",{className:"md:grid grid-cols lg:grid-cols-2 gap-x-8 md:gap-x-16 px-0 md:px-16",children:[(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("reporter")}),(0,a.jsxs)(v.gN,{className:"w-full bg-white rounded-md py-3 pl-3 mb-8 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",as:"select",name:"ReportedBy",required:!0,children:[(0,a.jsx)("option",{className:"placeholder-white",value:"",disabled:!0,children:s("reporter_placeholder")}),(0,a.jsx)("option",{value:"customer",children:s("korisnik")}),(0,a.jsx)("option",{value:"health_worker",children:s("zdravstven_rabotnik")}),(0,a.jsx)("option",{value:"other",children:s("drugo")}),(0,a.jsx)("option",{value:"family",children:s("semejstvo")})]}),(0,a.jsx)(v.Bc,{name:"ReportedBy",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("eventOccurred_title")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"date",required:!0,name:"eventOccurred",max:p()}),(0,a.jsx)(v.Bc,{name:"eventOccurred",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]})]})}),2===n&&(0,a.jsx)("div",{children:(0,a.jsxs)("div",{className:"md:grid grid-cols lg:grid-cols-2 gap-x-8 md:gap-x-16 px-0 md:px-16",children:[(0,a.jsxs)("div",{className:"pt-6",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("desc_patient_info")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"date",required:!0,max:p(),name:"dateOfBirth",placeholder:"Enter your date of birth"}),(0,a.jsx)(v.Bc,{name:"dateOfBirth",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("detailed_description")}),(0,a.jsx)(v.gN,{className:"h-32 w-full rounded-md py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",required:!0,name:"detailedInfo",as:"textarea",placeholder:s("detailed_desc_placeholder")}),(0,a.jsx)(v.Bc,{name:"detailedInfo",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]})]})}),3===n&&(0,a.jsx)("div",{children:(0,a.jsxs)("div",{className:"md:grid grid-cols lg:grid-cols-2 gap-x-8 md:gap-x-16 px-0 md:px-16",children:[(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("lot_name")}
25),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"lotNumber",id:"lotNumber",required:!0,placeholder:s("lot_placeholder")}),(0,a.jsx)(v.Bc,{name:"lotNumber",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("purchase_date")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"date",max:p(),name:"purchaseDate",required:!0,placeholder:"Enter purchased Date"}),(0,a.jsx)(v.Bc,{name:"purchaseDate",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]})]})}),(0,a.jsx)("div",{className:"active",children:(0,a.jsxs)("div",{className:"w-full text-right  md:px-16",children:[(0,a.jsx)("button",{type:"button",className:"text-alkOffBlack text-base font-semibold py-3 -ml-10 px-12 phone:-ml-10 border-0 border-transparent rounded-full",onClick:()=>x(n),children:s("back")}),(0,a.jsx)("input",{type:"submit",className:"text-base cursor-pointer text-white font-semibold bg-gradient-to-r from-alkLightBlue to-alkPurple py-3 px-12 border-0 border-transparent rounded-full ",value:3===n?s("submitForm"):s("next")})]})})]})}})]})})]})})},template:{type:"productobservationreport",label:"Product Observation Report",defaultItem:{_template:"ComponentBlocksProductObservationReport",contentStart:"Enter Text Here",contentEnd:"Enter Text Here"},fields:[{name:"contentStart",label:"Content Start",component:"html2"},{name:"contentEnd",label:"Content End",component:"html2"}]}},ComponentBlocksLatestNewsTwo:{Component:e=>{let{index:t,data:l,latestNewsDataTwo:s}=e,n=s[t],r=(0,g.useRouter)(),i=r.locale,o=(0,c.useMemo)(()=>[{year:2023},{year:2022}],[]),[d,m]=(0,c.useState)(n?n[0].year:null),[p,u]=(0,c.useState)(!n),{t:f}=(0,ec.$G)(),[b,y]=(0,c.useState)(n),w=(0,c.useCallback)(async e=>{let{slug:t="news",tag:l,locale:a}=e,s=(0,em.Lu)({slug:t,tag:l,locale:a});if(s&&s.articles){let e=s.articles.filter(e=>{let t=j.ou.fromISO(e.date).year;return 2022===t||2023===t});y(e);let t=new URLSearchParams(window.location.search);if(t.has("year"))try{let e=parseInt(t.get("year"),10);m(e)}catch(e){console.log(e)}else m(e[0].year);u(!1)}},[]),v=(0,c.useCallback)(e=>{r.replace({pathname:window.location.pathname,query:{year:e}},void 0,{shallow:!0}),m(e)},[]),k=(0,c.useRef)(null);return(0,c.useEffect)(()=>{k&&n||w({slug:l.article_category?l.article_category.slug:null,tag:l.newsType?l.newsType:null,locale:i})},[w,l.article_category,l.newsType,i]),(0,a.jsxs)("section",{className:"relative",children:[(0,a.jsx)("h2",{className:"text-3xl md:text-6xl uppercase font-thin tex-alkLightBlack text-center mb-10 md:mb-20",children:l.title}),(0,a.jsxs)("div",{className:"container relative flex flex-col md:flex-row mx-auto items-start lg:w-8/12",children:[(0,a.jsx)("div",{className:"w-full md:w-1/3 pb-20 xl:px-20 2xl:px-36 flex flex-row md:flex-col overflow-scroll no-scrollbar",children:(p?b:o)?.map(e=>a.jsxs("button",{type:"button",onClick:()=>v(e.year),className:`flex flex-row items-center justify-end text-2xl px-4 md:px-10 py-4 ${e.year===d?"text-alkLightBlue font-bold active":"border-transparent text-alkLightBlack"} `,children:[a.jsx("span",{className:e.year===d?"bg-alkLightBlue flex-shrink-0 w-10 h-1 lg:mr-4 mr-10 xl:mr-10 mb-1  hidden md:inline-block":"bg-transparent w-10 h-1  mr-10  mb-1 hidden md:inline-block"}),e.year]},e.year))}),(0,a.jsxs)("div",{className:"w-full",children:[p&&(0,a.jsx)("div",{className:`grid pb-20 lg:grid-cols-${l.colsNum} grid-cols-1 gap-10`,children:ew.map((e,t)=>(0,a.jsx)("div",{className:"flex flex-col",children:(0,a.jsx)(h.LazyLoadImage,{src:ed.src,alt:"loading",className:"mx-auto"})},t))}),!p&&b.map(e=>(0,a.jsx)("div",{className:`${e.year===d?"grid":"hidden"}   pb-20 lg:grid-cols-${l.colsNum} grid-cols-1 gap-10`,children:e.articles.map((e,t)=>(0,a.jsxs)("div",{className:"flex flex-col",children:[(0,a.jsx)("p",{className:"flex-shrink text-sm mb-2 leading-6 text-alkLightBlue",children:j.ou.fromISO(e.publishedAt,{locale:i}
25).toLocaleString(j.ou.DATE_MED)}),(0,a.jsx)("h2",{className:`text-base text-black flex-1 mb-2 ${"1"===l.colsNum?"":"lg:h-10"}`,children:e.title}),(0,a.jsx)("p",{className:"flex-1 text-base mt-2 leading-relaxed text-alkGrey",children:e.excerpt}),(0,a.jsx)(x.Z,{className:"flex-1 mt-4 lg:mt-10 xl:mt-4 text-sm leading-6 text-alkLightBlue underline",to:`/${e.slug}`,children:f("read_more")}),(0,a.jsx)("hr",{className:"my-2"})]},e.id))},e.year))]})]})]})},template:ev},ComponentBlocksSubsectionTitle:{Component:e=>{let{index:t,data:l}=e;return(0,a.jsxs)("div",{className:"container m-auto",children:[(0,a.jsxs)("div",{className:"px-[10px] m-auto text-center max-w-96 md:w-8/12",children:[(0,a.jsx)("h2",{className:"text-4xl sm:text-5xl lg:text-6xl font-thin mb-10 uppercase",children:l.title}),(0,a.jsx)("div",{className:"text-sm sm:text-base text-left sm:text-center leading-relaxed text-alkGrey",children:(0,a.jsx)(f.Z,{children:l.content})})]}),(0,a.jsx)("div",{className:"w-full py-10",children:l.link&&"/"!==l.link&&(0,a.jsx)(x.Z,{to:l.link,className:"text-sm leading-6 text-alkLightBlue underline float-right cursor-pointer",children:l.link})})]})},template:{type:"subsectionTitle",label:"Center Title",defaultItem:{title:"Insert title here",content:"Insert content here",linkLabel:"Insert link label",link:"/",_template:"ComponentBlocksSubsectionTitle"},fields:[{name:"title",label:"Title",component:"text"},{name:"content",label:"Content",component:"html2"},{name:"link",label:"Link",component:"text"}]}},ComponentBlocksProductCategories:{Component:e=>{let{index:t,data:l}=e;return(0,a.jsx)("div",{className:"container m-auto flex flex-auto flex-col md:flex-row gap-6",children:(0,a.jsx)(S.Z,{values:l.productCategories,name:"productCategories",blocks:{...et},direction:"horizontal",className:"container m-auto flex flex-auto flex-col md:flex-row gap-6"})})},template:el},ComponentBlocksCareHero:{Component:e=>{let{index:t,data:l}=e;return(0,a.jsx)("section",{className:"relative",children:(0,a.jsxs)("section",{className:"relative mb-[150px]",children:[(0,a.jsxs)("div",{className:" has-overlay absolute top-0 left-0 w-full  overflow-hidden  h-[180px] md:h-[280px]",children:[(0,a.jsx)("div",{className:"absolute right-0 w-[200px] h-full bg-cover bg-no-repeat",style:{backgroundImage:`url('${(0,o.Z)(l.background,"large")}')`,backgroundPositionX:"100%",backgroundPositionY:"0%"}}),(0,a.jsx)("div",{className:"h-full w-full absolute left-0 md:left-1/2",children:(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 321.928 588",className:"absolute  top-0 left-0 h-full",children:(0,a.jsx)("path",{id:"Path_10040","data-name":"Path 10040",d:"M-12474,5381v588h321.928Z",transform:"translate(12474 -5381)",fill:"white"})})})]}),(0,a.jsx)("div",{className:"lg:container  self-center  justify-center content-center relative flex m-auto items-center  h-[180px] md:h-[280px]",children:(0,a.jsx)("div",{className:"relative flex md:mt-0  mt-[350px]",children:(0,a.jsx)("div",{children:(0,a.jsx)("div",{className:"phoneSmall:text-3xl text-center phoneLarge:text-4xl   sm:text-5xl md:text-6xl text-alkLightBlack font-bold ",children:(0,a.jsx)(f.Z,{children:l.title})})})})})]})})},template:{type:"Care hero",label:"Care Inner Hero",defaultItem:{title:"Title here",background:"Insert image here",_template:"ComponentBlocksCareHero"},fields:[{name:"title",label:"Title",component:"text"},{name:"background",label:"Background",component:"image"}]}},ComponentBlocksLatestNewsSR:{Component:e=>{let{index:t,data:l,latestNewsDataSR:s}=e,n=s[t],r=(0,g.useRouter)(),i=r.locale,o=(0,c.useMemo)(()=>{let e=new Date().getFullYear();return[{year:e},{year:e-1}]},[]),[d,m]=(0,c.useState)(n?n[0].year:null),[p,u]=(0,c.useState)(!n),{t:f}=(0,ec.$G)(),[b,y]=(0,c.useState)(n),w=(0,c.useCallback)(async e=>{let{slug:t="news",tag:l,locale:a}=e,s=(0,em.Lu)({slug:t,tag:l,locale:a});if(s&&s.articles){let e=s.articles.filter(e=>{let t=j.ou.fromISO(e.date).year;return t===d||t===d-1});y(e);let t=new URLSearchParams(window.location.search);if(t.has("year"))try{let e=parseInt(t.get("year"),10);m(e)}catch(e){console.log(e)}else m(e[0].year);u(!1)}},[d]),v=(0,c.useCallback)(e=>{r.replace({pathname:window.location.pathname,query:{year:e}},void 0,{shallow:!0}),m(e)},[]),k=(0,c.useRef)(null);return(0,c.useEffect)(()=>{k&&n||w({slug:l.article_category?l.article_category.slug:null,tag:l.newsType?l.newsType:null,locale:i})},[w,l.article_category,l.newsType,i]),(0,a.jsxs)("section",{className:"relative",children:[(0,a.jsx)("h2",{className:"text-3xl md:text-6xl uppercase font-thin tex-alkLightBlack text-center mb-10 md:mb-20",children:l.title}),(0,a.jsxs)("div",{className:"container relative flex flex-col md:flex-row mx-auto items-start lg:w-8/12",children:[(0,a.jsx)("div",{className:"w-full md:w-1/3 pb-20 xl:px-20 2xl:px-36 flex flex-row md:flex-col overflow-scroll no-scrollbar",children:(p?b:o)?.map(e=>a.jsxs("button",{type:"button",onClick:()=>v(e.year),className:`flex flex-row items-center justify-end text-2xl px-4 md:px-10 py-4 ${e.year===d?"text-alkLightBlue font-bold active":"border-transparent text-alkLightBlack"} `,children:[a.jsx("span",{className:e.year===d?"bg-alkLightBlue flex-shrink-0 w-10 h-1 lg:mr-4 mr-10 xl:mr-10 mb-1  hidden md:inline-block":"bg-transparent w-10 h-1  mr-10  mb-1 hidden md:inline-block"}),e.year]},e.year))}),(0,a.jsxs)("div",{className:"w-full",children:[p&&(0,a.jsx)("div",{className:`grid pb-20 lg:grid-cols-${l.colsNum} grid-cols-1 gap-10`,children:ek.map((e,t)=>(0,a.jsx)("div",{className:"flex flex-col",children:(0,a.jsx)(h.LazyLoadImage,{src:ed.src,alt:"loading",className:"mx-auto"})},t))}),!p&&b.map(e=>(0,a.jsx)("div",{className:`${e.year===d?"grid":"hidden"}   pb-20 lg:grid-cols-${l.colsNum} grid-cols-1 gap-10`,children:e.articles.map((e,t)=>(0,a.jsxs)("div",{className:"flex flex-col",children:[(0,a.jsx)("p",{className:"flex-shrink text-sm mb-2 leading-6 text-alkLightBlue",children:j.ou.fromISO(e.publishedAt,{}
25).toLocaleString(j.ou)}),(0,a.jsx)("h2",{className:`text-base text-black flex-1 mb-2 ${"1"===l.colsNum?"":"lg:h-10"}`,children:e.title}),(0,a.jsx)("p",{className:"flex-1 text-base mt-2 leading-relaxed text-alkGrey",children:e.excerpt}),(0,a.jsx)(x.Z,{className:"flex-1 mt-4 lg:mt-10 xl:mt-4 text-sm leading-6 text-alkLightBlue underline",to:`/${e.slug}`,children:f("read_more")}),(0,a.jsx)("hr",{className:"my-2"})]},e.id))},e.year))]})]})]})},template:eN},ComponentBlocksInvestorsHero:{Component:e=>{let{index:t,data:l}=e;return(0,a.jsx)("section",{className:"relative ",children:(0,a.jsxs)("section",{className:"relative md:mb-0 mb-44  flex",children:[(0,a.jsxs)("div",{className:" has-overlay absolute top-0 left-0 w-full  overflow-hidden  h-[180px] md:h-[290px]",children:[(0,a.jsx)("div",{className:"absolute right-0 w-full md:w-1/2 h-full bg-cover bg-no-repeat",style:{backgroundImage:`url('${(0,o.Z)(l.background,"large")}')`,backgroundPositionX:"100%",backgroundPositionY:"0%"}}),(0,a.jsx)("div",{className:"h-full w-full absolute left-0 md:left-1/2",children:(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 321.928 588",className:"absolute  top-0 left-0 h-full",children:(0,a.jsx)("path",{id:"Path_10040","data-name":"Path 10040",d:"M-12474,5381v588h321.928Z",transform:"translate(12474 -5381)",fill:"white"})})})]}),(0,a.jsx)("div",{className:"container relative flex m-auto items-center  h-[180px] md:h-[290px]",children:(0,a.jsx)("div",{className:"w-full   lg:px-0 lg:w-3/4  md:mt-0  mt-[350px]",children:(0,a.jsxs)("div",{className:`flex flex-col items-end ${l.title.length>=15?"max-w-xl":l.title.length>=12?"max-w-2xl":l.title.length>=9?"max-w-xl":l.title.length>=5?"max-w-sm":"max-w-xs"} my-8`,children:[(0,a.jsx)("div",{className:"w-auto   md:w-4/5  font-light text-xl   md:text-[32px] lg:text-[39px] place-self-start tracking-wider mb-3 alkLightBlack md:leading-[48px]",children:(0,a.jsx)(f.Z,{children:l.title})}),(0,a.jsx)("hr",{className:`border-alkLightBlue md:-translate-x-52 sm:-translate-x-44 lg:translate-x-0  ${l.title.length>=15?"w-7/12 ":l.title.length>=12?"w-5/12":l.title.length>=9?"w-5/12":l.title.length>=5?"w-7/12":"w-8/12"} border-solid border-2`})]})})})]})})},template:{type:"investors hero",label:"Investors Inner Hero",defaultItem:{title:"Title here",background:"Insert image here",_template:"ComponentBlocksInvestorsHero"},fields:[{name:"title",label:"Title",component:"text"},{name:"background",label:"Background",component:"image"}]}},ComponentBlocksMedicalHero:{Component:e=>{let{index:t,data:l}=e;return(0,a.jsx)("section",{className:"relative",children:(0,a.jsxs)("section",{className:"relative mb-[150px]",children:[(0,a.jsxs)("div",{className:" has-overlay absolute top-0 left-0 w-full  overflow-hidden  h-[180px] md:h-[280px]",children:[(0,a.jsx)("div",{className:"absolute right-0 w-[200px] h-full bg-cover bg-no-repeat",style:{backgroundImage:`url('${(0,o.Z)(l.background,"large")}')`,backgroundPositionX:"100%",backgroundPositionY:"0%"}}),(0,a.jsx)("div",{className:"h-full w-full absolute left-0 md:left-1/2",children:(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 321.928 588",className:"absolute  top-0 left-0 h-full",children:(0,a.jsx)("path",{id:"Path_10040","data-name":"Path 10040",d:"M-12474,5381v588h321.928Z",transform:"translate(12474 -5381)",fill:"white"})})})]}),(0,a.jsx)("div",{className:"lg:container relative flex m-auto items-center  h-[180px] md:h-[280px]",children:(0,a.jsx)("div",{className:"w-full  lg:px-0 lg:w-1/2  md:mt-0  mt-[350px]",children:(0,a.jsxs)("div",{className:`flex flex-col items-end ${l.title.length>=15?"max-w-xl":l.title.length>=12?"max-w-2xl":l.title.length>=9?"max-w-xl":l.title.length>=5?"max-w-sm":"max-w-xs"} my-8`,children:[(0,a.jsx)("div",{className:"w-auto md:w-4/5 mx-2 lg:mx-auto md:mx-16 lg:w-full font-thin text-4xl  px-2  md:text-5xl lg:text-6xl place-self-start tracking-wider mb-3 alkLightBlack leading-none",children:(0,a.jsx)(f.Z,{children:l.title})}),(0,a.jsx)("hr",{className:`border-alkLightBlue md:-translate-x-52 sm:-translate-x-44 lg:translate-x-0  ${l.title.length>=15?"w-7/12 ":l.title.length>=12?"w-5/12":l.title.length>=9?"w-5/12":l.title.length>=5?"w-7/12":"w-8/12"} border-solid border-2`})]})})})]})})},template:{type:"Medical hero",label:"Medical Inner Hero",defaultItem:{title:"Title here",background:"Insert image here",_template:"ComponentBlocksMedicalHero"},fields:[{name:"title",label:"Title",component:"text"}
25,{name:"background",label:"Background",component:"image"}]}},ComponentBlocksLicensingHero:{Component:e=>{let{index:t,data:l}=e;return(0,a.jsx)("section",{className:"lg:container relative  pt-10",children:(0,a.jsxs)("div",{className:"flex flex-row",children:[(0,a.jsx)("div",{className:"flex relative  top-20",children:(0,a.jsx)("div",{className:"w-full px-8 lg:px-10 text-[#636366] font-bold text-2xl lg:text-5xl place-self-start tracking-wider mb-10 leading-none",children:(0,a.jsxs)("div",{className:"flex w-[83%] flex-col justify-between  items-center",children:[(0,a.jsx)(f.Z,{children:l.title}),(0,a.jsx)("hr",{className:"border-[#636366] lg:mt-10 mt-5 border-2 w-[100%]"}),(0,a.jsx)("p",{className:"w-full  pt-3 lg:pt-10 text-[#636366] font-bold text-xl lg:text-5xl place-self-start tracking-wider  leading-none",children:l.description})]})})}),(0,a.jsx)("div",{className:"lg:flex  hidden lg:h-[320px] xl:h-[400px] xlSpecial:h-[450px] 2xl:h-[480px] bg-no-repeat",children:(0,a.jsx)(es(),{width:1e3,alt:"icon",height:400,src:(0,o.Z)(l.background)})}),(0,a.jsx)("div",{className:"flex lg:hidden pr-4 mt-20 phoneLarge:h-[150px] h-[90px] pronet:h-[200px] sm:h-[250px] md:h-[320px] bg-no-repeat",children:(0,a.jsx)(es(),{width:500,alt:"icon",height:400,src:(0,o.Z)(l.background)})})]})})},template:{type:"licensing hero",label:"Licensing Inner Hero",defaultItem:{title:"Title here",background:"Insert image here",_template:"ComponentBlocksLicensingHero"},fields:[{name:"title",label:"Title",component:"text"},{name:"description",label:"Description",component:"text"},{name:"background",label:"Background",component:"image"}]}},GreyBlocksTable:{Component:e=>{let{index:t,data:l}=e;return(0,a.jsxs)("div",{className:"lg:container pt-10 md:pt-0 self-center justify-center items-center object-center content-center origin-center place-self-center place-items-center place-content-center lg:block grid  mx-auto 2xl:px-4 md:px-5  px-2",children:[(0,a.jsxs)("span",{className:"grid gap-0 md:gap-8  ",children:[(0,a.jsx)("h2",{className:"text-[#000000] font-normal text-base md:text-3xl",children:l.title}),(0,a.jsx)("p",{className:" px-2 text-[#000000]  text-[8px] md:text-2xl",children:l.description})]}),(0,a.jsx)("div",{className:"overflow-x-hidden",children:(0,a.jsxs)("table",{className:`w-full text-[8px] md:text-tiny ${l.classes}`,style:{borderSpacing:"10px",borderCollapse:"separate"},children:["        ",l.rows.map((e,t)=>{let l=e.cols.map((e,l)=>(0,a.jsx)("td",{className:`${0===t?"bg-transparent  text-[#B6B6B6]  p-2":"bg-[#F5F5F5] "}  sm:border-[4px]  border-[1px] border-white${e.classes}`,colSpan:e.colSpan,rowSpan:e.rowSpan,style:{margin:"0px",textAlign:0===t?"left":"center",textAlign:t>=1&&l>=1?"center":"left"},children:(0,a.jsx)(f.Z,{className:" lg:text-[14px]  sm:text-[11px] text-[6px] p-[1px] pronet:py-2  pronet:px-2",children:e.text})},l));return(0,a.jsx)("tr",{className:e.classes,children:l},t)})]})})]})},template:{type:"productsgrey",label:"ProductsGrey",defaultItem:{rows:[],classes:"",_template:"GreyBlocksTable"},fields:[{name:"title",label:"Title",component:"text"},{name:"description",label:"Description",component:"textarea"},{name:"rows",label:"Rows",component:"group-list",defaultItem:{classes:"",cols:[]},fields:[{name:"classes",label:"Classes",component:"text"},{name:"cols",label:"Cols",component:"group-list",itemProps:e=>({key:e.name,label:e.text}),defaultItem:{colSpan:1,classes:"",text:"Insert Text Here"},fields:[{name:"text",label:"Text",component:"html2"},{name:"classes",label:"Classes",component:"text"},{name:"colSpan",label:"ColSpan",component:"number"},{name:"rowSpan",label:"RowSpan",component:"number"}]}]}]}},ComponentBlocksProNet:{Component:e=>{let{index:t,data:l}=e;return(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("div",{className:"w-full lg:flex lg:flex-row justify-center lg:justify-between lg:items-center lg:mx-auto md:flex md:flex-row md:items-center md:mx-auto mx-auto items-center flex-row",children:[(0,a.jsx)("div",{className:" px-1 ml-8 mr-4 phoneLarge:mr-[2px] md:mb-12  md:ml-16 lg:ml-32 md:w-5/12 lg:flex lg:flex-col mt-20 lg:justify-between lg:items-start md:flex md:flex-col md:justify-between md:items-start flex-col justify-between items-start",children:(0,a.jsxs)("div",{className:"max-w-screen-sm lg:pr-8 xl:pr-16",children:[(0,a.jsx)("h1",{className:" leading-8 lg:mb-11 text-alkDarkGrey text-3xl md:text-4xl xl:text-4xl 2xl:text-5xl xl:leading-none font-thin mb-6",children:l.title}),(0,a.jsx)("div",{className:"text-alkGrey lg:leading-5 text-sm sm:text-base mb-10",children:(0,a.jsx)(f.Z,{children:l.content})}),(0,a.jsx)("div",{className:"pb-10 text-center",children:(0,a.jsx)(S.Z,{values:l.readMore,blocks:{...b.ZP},direction:"horizontal",className:"flex flex-row"})})]})}),(0,a.jsx)("div",{className:"w-full lg:w-2/3 md:w-1/2",children:(0,a.jsx)("div",{children:(0,a.jsx)(h.LazyLoadImage,{src:(0,o.Z)(l.featuredImage),className:"w-full object-contain 2xl:mt-20",alt:(0,p.Z)(l.featuredImage)})})})]})})},template:ei},ComponentBlocksResearchSection:{Component:e=>{let{index:t,data:l}=e;return(0,a.jsxs)("section",{className:"relative pb-28",children:[(0,a.jsxs)("div",{className:"z-0 has-overlay absolute top-0 left-96 right-0 overflow-hidden",style:{minHeight:910},children:[(0,a.jsx)("div",{className:"absolute top-0 right-0 w-full md:w-1/2 h-full bg-cover bg-no-repeat",children:(0,a.jsx)(h.LazyLoadImage,{src:(0,o.Z)(l.featuredImage),alt:(0,p.Z)(l.featuredImage),className:"absolute top-0 left-0 w-full h-full object-cover",style:{backgroundPositionX:"50%",backgroundPositionY:"50%"}})}),(0,a.jsx)("div",{className:"absolute top-0 right-0 w-full md:w-1/2 h-full bg-cover bg-no-repeat bg-gradient-to-r from-alkLightBlue to-alkPurple opacity-80 mix-blend-multiply"}),(0,a.jsxs)("div",{className:"h-full w-full absolute left-0 md:left-1/2",children:[(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 642.541 913.411",className:"absolute top-0 left-0 h-full",children:(0,a.jsx)("path",{id:"Path_10040","data-name":"Path 10040",d:"M-12617,5380v913.411h642.541Z",transform:"translate(12617 -5380)",fill:"white"})}),(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"277.496",height:"388.293",viewBox:"0 0 277.496 388.293",className:"absolute -bottom-96 left-96 h-full opacity-50 md:opacity-100",children:(0,a.jsx)("path",{id:"Line_81","data-name":"Line 81",d:"M272.5,385.793a2.5,2.5,0,0,1-2.04-1.052L-2.038,1.449a2.5,2.5,0,0,1,.589-3.486,2.5,2.5,0,0,1,3.486.589l272.5,383.293a2.5,2.5,0,0,1-2.035,3.949Z",transform:"translate(2.5 2.5)",fill:"#00aeef"})})]})]}),(0,a.jsx)("div",{className:"container relative flex m-auto pt-16 md:pt-32",style:{minHeight:280},children:(0,a.jsxs)("div",{className:"w-full px-8 lg:px-0",children:[(0,a.jsxs)("div",{className:"flex flex-col items-end w-full md:w-8/12 mb-10 md:mb-24",children:[(0,a.jsx)("h2",{className:" font-thin text-4xl md:text-6xl place-self-start tracking-wider mb-3 alkLightBlack",children:l.title}),(0,a.jsx)("hr",{className:" border-alkLightBlue w-8/12 border-solid border-2 rounded"})]}),(0,a.jsx)("div",{className:"w-full md:w-8/12 pl-0 md:pl-24 inline htmleditor",children:(0,a.jsx)(f.Z,{children:l.content})})]})})]})},template:{type:"research section",label:"Right img hero",defaultItem:{title:"Insert title here",content:"Insert content here",featuredImage:"Insert image",_template:"ComponentBlocksResearchSection"},fields:[{name:"title",label:"Title",component:"text"},{name:"content",label:"Content",component:"html2"}
25,{name:"featuredImage",label:"Background",component:"image"}]}},ComponentBlocksLatestNews:{Component:e=>{let{index:t,data:l,latestNewsData:s}=e,n=s[t],r=(0,g.useRouter)(),i=r.locale,o=(0,c.useMemo)(()=>Array(10).fill(0).map((e,t)=>({year:j.ou.now().year-t})),[]),[d,m]=(0,c.useState)(n?n[0].year:null),[p,u]=(0,c.useState)(!n),{t:f}=(0,ec.$G)(),[b,y]=(0,c.useState)(n||[]),w=(0,c.useCallback)(async e=>{let{slug:t="news",tag:l,locale:a}=e,s=(0,em.Lu)({slug:t,tag:l,locale:a});if(s&&s.articles){y(result.data.articles);let e=new URLSearchParams(window.location.search);if(e.has("year"))try{let t=parseInt(e.get("year"),10);m(t)}catch(e){console.log(e)}else m(result.data.articles[0].year);u(!1)}},[]),v=(0,c.useCallback)(e=>{r.replace({pathname:window.location.pathname,query:{year:e}},void 0,{shallow:!0}),m(e)},[]),k=(0,c.useRef)(null);return(0,c.useEffect)(()=>{k&&n||w({slug:l.article_category?l.article_category.slug:null,tag:l.newsType?l.newsType:null,locale:i})},[w,l.article_category,l.newsType,i]),(0,a.jsxs)("section",{className:"relative",children:[(0,a.jsx)("h2",{className:"text-3xl md:text-6xl uppercase font-thin tex-alkLightBlack text-center mb-10 md:mb-20",children:l.title}),(0,a.jsxs)("div",{className:"container relative flex flex-col md:flex-row mx-auto items-start lg:w-8/12",children:[(0,a.jsx)("div",{className:"w-full md:w-1/3 pb-20 xl:px-20 2xl:px-36 flex flex-row md:flex-col overflow-scroll no-scrollbar",children:(p?o:b).map(e=>(0,a.jsxs)("button",{type:"button",onClick:()=>v(e.year),className:`flex flex-row items-center justify-end text-2xl px-4 md:px-10 py-4 ${e.year===d?"text-alkLightBlue font-bold active":"border-transparent text-alkLightBlack"} `,children:[(0,a.jsx)("span",{className:e.year===d?"bg-alkLightBlue flex-shrink-0 w-10 h-1 lg:mr-4 mr-10 xl:mr-10 mb-1  hidden md:inline-block":"bg-transparent w-10 h-1  mr-10  mb-1 hidden md:inline-block"}),e.year]},e.year))}),(0,a.jsxs)("div",{className:"w-full",children:[p&&(0,a.jsx)("div",{className:`grid pb-20 lg:grid-cols-${l.colsNum} grid-cols-1 gap-10`,children:ex.map((e,t)=>(0,a.jsx)("div",{className:"flex flex-col",children:(0,a.jsx)(h.LazyLoadImage,{src:ed.src,alt:"loading",className:"mx-auto"})},t))}),!p&&b.map(e=>(0,a.jsx)("div",{className:`${e.year===d?"grid":"hidden"}   pb-20 lg:grid-cols-${l.colsNum} grid-cols-1 gap-10`,children:e.articles.map((e,t)=>(0,a.jsxs)("div",{className:"flex flex-col",children:[(0,a.jsx)("p",{className:"flex-shrink text-sm mb-2 leading-6 text-alkLightBlue",children:j.ou.fromISO(e.publishedAt,{locale:i}).toLocaleString(j.ou.DATE_MED)}),(0,a.jsx)("h2",{className:`text-base text-black flex-1 mb-2 ${"1"===l.colsNum?"":"lg:h-10"}`,children:e.title}),(0,a.jsx)("p",{className:"flex-1 text-base mt-2 leading-relaxed text-alkGrey",children:e.excerpt}),(0,a.jsx)(x.Z,{className:"flex-1 mt-4 lg:mt-10 xl:mt-4 text-sm leading-6 text-alkLightBlue underline",to:`/${e.slug}`,children:f("read_more")}),(0,a.jsx)("hr",{className:"my-2"})]},e.id))},e.year))]})]})]})},template:ep},ComponentBlocksTimeline:{Component:e=>{let{index:t,data:l}=e,[s,n]=(0,c.useState)(0);return(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)(eu,{selectedYearIdx:s,setSelectedYearIdx:n,years:l.items}),(0,a.jsx)("section",{className:"flex flex-col",children:(0,a.jsx)(S.Z,{values:l.items,blocks:{...ej},itemProps:{selectedYearIdx:s,setSelectedYearIdx:n,years:l.items}})})]})},template:ey},ComponentBlocksSingleStorySR:{Component:e=>{let{index:t,data:l,page:s}=e,n=(0,g.useRouter)(),[r,i]=(0,c.useState)([]),m=n.locale,u=(0,c.useCallback)(async e=>{let t=await (0,t9.Z)().get(`https://cms.alkaloid.com.mk/api/pages?${le().stringify({filters:{tags:{name:{$eq:s.tags.length>0?s.tags[0].name:"interview"}}},populate:{featuredImage:{fields:em.ho},tags:{fields:["name"]}},pagination:{page:1,pageSize:5},sort:"publishedAt:desc",locale:m})}`);t.data&&t.data.data&&i(t.data.data)},[m,s.tags]);return(0,c.useEffect)(()=>{u()},[u,m]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"container relative",children:(0,a.jsx)("div",{className:"bg-sidebg bg-cover absolute right-0 bg-no-repeat xl:h-80 xl:w-60 lg:h-96 lg:w-60 md:h-80 md:w-60 sm:w-40 sm:h-48 h-40 w-24"})}),(0,a.jsx)("div",{className:"relative",children:(0,a.jsxs)("div",{className:"absolute right-0 top-0 ",children:[(0,a.jsx)(d.Z,{className:"",src:t6.Z.src}),(0,a.jsx)("svg",{className:"-mt-36",xmlns:"http://www.w3.org/2000/svg",width:"134.475",height:"185.558",viewBox:"0 0 134.475 185.558",children:(0,a.jsx)("line",{className:"hidden lg:block",i
25d:"Line_157","data-name":"Line 157",x2:"127.5",y2:"178.583",transform:"translate(3.487 3.487)",fill:"none",stroke:"#00aeef",strokeLinecap:"round",strokeWidth:"5"})})]})}),(0,a.jsxs)("div",{className:"sm:container mx-auto text-4xl pt-10  px-4",children:[(0,a.jsx)("p",{className:"phoneSmall:mt-6 phone:mt-2 text-base text-alkLightBlue text-right phoneSmall:mr-[50%] sm:mr-[20%] md:mr-[15%] lg:mr-[15%]  xl:mr-[13%] cursor-pointer",children:j.ou.fromISO(s.publishedAt,{}).toLocaleString(j.ou)}),(0,a.jsx)("h2",{className:`${l.headerTitle?"":"hidden"} text-alkDarkBlue mt-3 xl:text-4xl  lg:text-3xl md:text-2xl sm:text-2xl text-xl w-[78%] sm:w-[85%] md:w-[85%] lg:w-[90%] xl:w-full `,children:(0,a.jsx)("div",{className:"inline",children:(0,a.jsx)(f.Z,{children:l.headerTitle})})}),(0,a.jsx)("div",{className:" xl:ml-96 lg:ml-96 md:ml-64 sm:ml-64 -ml-20 my-5",children:(0,a.jsx)("svg",{className:`ml-32 ${l.headerTitle?"":"hidden"}`,xmlns:"http://www.w3.org/2000/svg",width:"238",height:"3",viewBox:"0 0 238 3",children:(0,a.jsx)("line",{id:"Line_188","data-name":"Line 188",x2:"235",transform:"translate(1.5 1.5)",fill:"none",stroke:"#00aeef",strokeLinecap:"round",strokeWidth:"3"})})}),(0,a.jsx)("div",{className:" md:my-4 xl:my-10",children:(0,a.jsx)("div",{className:`${"<p></p>"===l.description?"hidden":""} text-base justify-center  font-medium`,children:(0,a.jsx)(f.Z,{children:l.description})})}),l.featuredImage&&(0,a.jsx)(h.LazyLoadImage,{src:(0,o.Z)(l.featuredImage),alt:(0,p.Z)(l.featuredImage),className:"mb-8 lg:mb-28"}),(0,a.jsxs)("div",{className:"lg:flex-row flex flex-col ",children:[(0,a.jsx)("div",{className:"flex flex-col mx-auto  lg:pl-0 lg:container lg:pr-32 lg:border-r border-alkLightGrey mb-10 pl-0 w-full",children:(0,a.jsx)(S.Z,{values:l.storiesJson,blocks:{...t8.ZP}})}),(0,a.jsx)("div",{className:" lg:mt-20 lg:block hidden"}),(0,a.jsx)("div",{className:"flex flex-col  lg:w-1/3 lg:ml-6 lg:mr-0 mx-4",children:r.map(e=>(0,a.jsxs)("div",{className:"mt-14",children:[(0,a.jsx)("p",{className:"text-xs text-alkLightBlue cursor-pointer mb-5",children:j.ou.fromISO(e.attributes.publishedAt).toLocaleString(j.ou.DATE_MED)}),(0,a.jsx)(x.Z,{to:`/${e.attributes.slug}`,children:(0,a.jsx)("p",{className:"text-base mb-5 cursor-pointer",children:e.attributes.title})}),(0,a.jsx)("hr",{})]},e.id))})]})]})]})},template:lt},ComponentBlocksBotanicalProductItems:{Component:e=>{let{index:t,data:l}=e;return(0,a.jsx)("div",{className:"",children:(0,a.jsx)(S.Z,{values:l.products,blocks:{...e_},direction:"horizontal",className:"md:grid md:grid-cols-3 md:gap-10 lg:mt-10"})})},template:{type:"botanical product items",label:"Product Item",defaultItem:{products:[],_template:"ComponentBlocksBotanicalProductItems"}}},ComponentBlocksBotanicalBanner:{Component:e=>{let{index:t,data:l}=e;return(0,a.jsxs)("div",{className:"bg-no-repeat bg-cover md:bg-cover md:bg-no-repeat md:h-80 lg:h-60 w-full md:w-full h-60",children:[(0,a.jsxs)("div",{className:" relative md:-pt-32 md:relative md:flex md:justify-end -pt-32 flex justify-end",children:[(0,a.jsx)(h.LazyLoadImage,{src:(0,o.Z)(l.background,"large"),className:" top-0 left-0 w-full h-60 bg-cover bg-no-repeat",alt:(0,p.Z)(l.background)}),(0,a.jsx)("div",{className:"flex justify-end absolute",children:(0,a.jsx)(h.LazyLoadImage,{src:eC.src,alt:"alt",className:"z-50 h-80  "})})]}),(0,a.jsx)("div",{className:"font-bold  md:text-6xl md:justify-center md:flex md:-mt-60 md:ml-5 text-3xl",children:(0,a.jsx)("p",{className:"mt-24 flex  ml-96 text-center",children:l.title})}),(0,a.jsx)("div",{className:" md:pl-48 text-alkLightBlue md:text-sm cursor-pointer md:-mt-48 ",children:(0,a.jsx)("p",{children:l.breadcrumbs})})]})},template:{type:"botanicalBanner",label:"Botanical Banner",defaultItem:{title:"Botanical Banner Title",breadcrumbs:"Breadcrumbs here",_template:"ComponentBlocksBotanicalBanner"},fields:[{name:"background",label:"Background",component:"image"},{name:"title",label:"Title",component:"text"},{name:"breadcrumbs",label:"Breadcrumbs",component:"text"}]}},...eS,ComponentBlocksKonsCards:{Component:e=>{let{index:t,data:l}=e;return(0,a.jsx)("div",{className:"container grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4 w-auto m-auto",children:(0,a.jsx)(S.Z,{values:l.konscards,name:"k
25onscards",blocks:{...eF},direction:"horizontal",className:"container grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4 w-auto m-auto"})})},template:eP},...eT,ComponentBlocksLicensingText:{Component:e=>{let{index:t,data:l}=e;return(0,a.jsxs)("div",{className:"container mx-auto px-8 lg:px-0  mt-16 lg:mt-36",children:[(0,a.jsxs)("div",{className:"italic pb-4 text-[#a1a1a3] content flex flex-col xl:flex-row justify-center lg:justify-between",children:[(0,a.jsxs)("div",{className:"flex flex-col",children:[(0,a.jsx)("p",{children:l.moreText}),(0,a.jsx)("p",{children:l.more2Text}),(0,a.jsx)("p",{children:l.more3Text})]}),(0,a.jsx)("p",{children:l.datesText})]}),(0,a.jsx)("hr",{className:"border-[#636366] mb-4 border-2 w-[100%]"}),(0,a.jsxs)("div",{className:"content flex flex-col xl:flex-row justify-center lg:justify-between",children:[(0,a.jsxs)("div",{className:"flex flex-col lg:flex-row justify-between w-full xl:w-auto",children:[(0,a.jsx)("div",{className:"flex flex-col items-start justify-center mb-16 lg:mb-0",children:(0,a.jsx)("div",{className:"font-bold xl:mr-28",children:(0,a.jsx)(es(),{height:100,width:100,src:en,alt:"code",className:"inline-block relative ml-2 bottom-2 "})})}),(0,a.jsx)("div",{className:"flex flex-col items-start justify-center",children:(0,a.jsx)("div",{className:"flex flex-row justify-between lg:justify-start w-full",children:(0,a.jsxs)("div",{className:"flex flex-col text-[#a1a1a3] text-xl mr-8",children:[(0,a.jsx)("p",{className:" text-[#a1a1a3]",children:"Business development contact info:"}),(0,a.jsx)("p",{children:"+ 389 2 3110 745, + 389 2 3110 749"}),(0,a.jsx)("p",{children:"[email protected]"}),(0,a.jsx)("p",{children:"www.alkaloid.com.mk"})]})})})]}),(0,a.jsx)("div",{className:"mt-20 lg:mt-32 self-center xl:mt-0 ",children:(0,a.jsx)(es(),{src:er,alt:"logo",height:140,width:260})})]})]})},template:{type:"licensing text",label:"Licensing Text",defaultItem:{title:"Titles here",background:"Insert images here",_template:"ComponentBlocksLicensingText"},fields:[{name:"titles",label:"Titles",component:"text"},{name:"descriptions",label:"Descriptions",component:"text"},{name:"moreText",label:"MoreText",component:"text"},{name:"more2Text",label:"More2Text",component:"text"},{name:"more3Text",label:"More3Text",component:"text"},{name:"datesText",label:"DatesText",component:"text"},{name:"backgrounds",label:"Backgrounds",component:"image"}]}},ComponentBlocksLicensing2Hero:{Component:e=>{let{index:t,data:l}=e;return(0,a.jsx)("section",{className:"lg:container relative  pt-10",children:(0,a.jsxs)("div",{className:"flex flex-row",children:[(0,a.jsx)("div",{className:"flex relative  top-20",children:(0,a.jsx)("div",{className:"w-full px-8 lg:px-10 text-[#636366] font-bold text-2xl lg:text-5xl place-self-start tracking-wider mb-10 leading-none",children:(0,a.jsxs)("div",{className:"flex w-[83%] flex-col justify-between  items-center",children:[(0,a.jsx)(f.Z,{children:l.title}),(0,a.jsx)("hr",{className:"border-[#636366] lg:mt-10 mt-5 border-2 w-[100%]"}),(0,a.jsx)("p",{className:"w-full  pt-3 lg:pt-10 text-[#636366] font-bold text-xl lg:text-5xl place-self-start tracking-wider  leading-none",children:l.description})]})})}),(0,a.jsx)("div",{className:"lg:flex  hidden lg:h-[260px] xl:h-[325px] xlSpecial:h-[375px] 2xl:h-[400px] bg-no-repeat",children:(0,a.jsx)(es(),{width:1e3,alt:"icon",height:400,src:(0,o.Z)(l.backgroundImage)??""})}),(0,a.jsx)("div",{className:"flex lg:hidden pr-4 mt-20 phoneLarge:h-[120px] h-[105px] pronet:h-[150px] sm:h-[195px] md:h-[300px] bg-no-repeat",children:(0,a.jsx)(es(),{width:500,height:400,alt:"icon",src:(0,o.Z)(l.backgroundImage)??""})})]})})},template:{type:"licensing hero",label:"Licensing Inner 2 Hero",defaultItem:{title:"Title here",background:"Insert image here",_template:"ComponentBlocksLicensing2Hero"},fields:[{name:"title",label:"Title",component:"text"},{name:"description",label:"Description",component:"text"},{name:"backgroundImage",label:"Background image",component:"image"}]}},ComponentBlocksCookiePolicyBG:{Component:e=>{let{index:t}=e,{t:l}=(0,ec.$G)(),[s]=(0,c.useState)(!0),[n,r]=(0,c.useState)(!1),[i,o]=(0,c.useState)(!1),[x,p]=(0,c.useState)(!1),[h,u]=(0,c.useState)(!1),[g,f]=(0,c.useState)(!1),[b,y]=(0,c.useState)(!1),[w,v]=(0,c.useState)(!1),[k,N]=(0,c.useState)(!1),[_,C]=(0,c.useState)(!1),[B,S]=(0,c.useState)(!1),[A,L]=(0,c.useState)(!1),I=()=>{lV.Z.remove("_ga"),lV.Z.remove("_gat_G-WZ0Y03QNQC"),lV.Z.remove("_gid"),lV.Z.remove("_fbp"),lV.Z.remove("_ga_WZ0Y03QNQC")};function T(e){let t={};if(L(!0),setTimeout(()=>{L(!1)},5e3),"true"===e.target.value?(t={performance:!1,submitted:!0},r(!1),S(!B)):t={performance:n,submitted:!0,targeting:w},n){let e=parseInt(j.ou.now().year)+1,t=parseInt(j.ou.now().month),l=parseInt(j.ou.now().day),a=new Date(e.toString(),t.toString(),l.toString());lV.Z.set("opt-out","undefined",{expires:a}),lU().initialize({gtmId:"G-WZ0Y03QNQC"})}else I();localStorage.setItem("cookies",JSON.stringify(t))}return(0,c.useEffect)(()=>
25{if((0,ez.Z)()&&localStorage.getItem("cookies")){let e=JSON.parse(localStorage.getItem("cookies"));r(e.performance)}},[B]),(0,a.jsxs)("section",{className:"relative",children:[(0,a.jsx)("div",{className:"z-0 has-overlay absolute top-0 left-0 w-full overflow-hidden h-[200px] sm:h-[420px]",children:(0,a.jsx)("div",{className:"absolute top-0 left-0 w-full h-full bg-gradient-to-r from-alkLightBlue to-alkPurple"})}),(0,a.jsx)("div",{className:"container relative flex m-auto items-center",style:{minHeight:420},children:(0,a.jsx)("div",{className:"w-full",children:(0,a.jsx)("h1",{className:"text-4xl -mt-24 sm:mt-0 text-white font-normal text-center",children:l("cookie_policy_new")})})}),(0,a.jsx)("div",{className:"container relative flex m-auto items-center",style:{minHeight:420},children:(0,a.jsxs)("div",{className:"bg-white relative -top-32 w-full block p-10 sm:p-14 md:p-16 lg:p-20 xl:p-24 shadow-2xl items-center justify-center mx-auto xl:max-w-screen-lg 2xl:max-w-screen-xl",style:{minHeight:1785},children:[A&&(0,a.jsx)("div",{className:"absolute w-full h-6 sm:h-10 md:h-14 xl:h-20 bottom-0 text-alkDarkGrey bg-thankYouGray left-0 flex items-center justify-center",children:l("cookie_saved_successfully")}),(0,a.jsxs)("div",{className:"w-full",children:[(0,a.jsxs)("div",{className:"mb-16",children:[(0,a.jsxs)("div",{className:" pb-10",children:[" ",l("cookie_policy_bg4")]}),(0,a.jsxs)("div",{className:"flex flex-col font-semibold space-y-4 pb-10",children:[(0,a.jsx)("p",{children:l("cookie_policy_bg")}),(0,a.jsx)("p",{children:l("cookie_policy_bg1")}),(0,a.jsx)("p",{children:l("cookie_policy_bg2")}),(0,a.jsx)("p",{children:l("country_bulgaria")})]}),(0,a.jsxs)("div",{className:"flex flex-col space-y-4 pb-10",children:[(0,a.jsx)("p",{children:l("cookie_policy_bg3")}),(0,a.jsx)("p",{children:"e-mail:\[email protected]"}),(0,a.jsx)("p",{children:"phone: + 359 2 8081081"})]}),(0,a.jsx)("div",{className:"",children:(0,a.jsx)("p",{className:" block mb-4",children:l("cookie_policy_desc_what_first").split("\n").map(e=>(0,a.jsx)("p",{className:"text-sm sm:text-base mb-4",children:e},e))})}),(0,a.jsx)("h3",{className:"text-lg sm:text-2xl",children:l("cookie_policy_what")}),(0,a.jsx)("div",{className:"m-auto w-20 h-1 inline-block bg-alkLightBlue rounded relative -left-6 mb-6"}),(0,a.jsx)("div",{className:"",children:(0,a.jsx)("p",{className:" block mb-4",children:l("cookie_policy_desc_what_sr").split("\n").map(e=>(0,a.jsx)("p",{className:"text-sm sm:text-base mb-4",children:e},e))})})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("h3",{className:"text-xl sm:text-2xl",children:l("cookie_policy_placed_sr")}),(0,a.jsx)("div",{className:"m-auto w-20 h-1 inline-block bg-alkLightBlue rounded relative -left-6 mb-6"}),(0,a.jsxs)("section",{className:"my-10",children:[(0,a.jsx)("div",{children:(0,a.jsxs)("h3",{className:"text-xl sm:text-2xl mb-2",children:[(0,a.jsx)("input",{type:"checkbox",checked:s,id:"cookie-checkbox-always",name:"cookie-checkbox-always",className:"w-4 h-4 mr-3"}),(0,a.jsx)("label",{htmlFor:"cookie-checkbox-always",children:l("strictly_necessary_cookiesHR")})]})}),(0,a.jsx)("p",{className:"text-sm sm:text-base block mb-4",children:l("always_active_desc_sr")}),(0,a.jsx)("button",{type:"button",onClick:()=>o(!i),className:"underline text-alkLightBlue",children:l("cookieDetails")}),i&&(0,a.jsxs)("div",{className:"bg-gray-50 mt-6 mb-4 px-4 py-2 justify-center items-center w-full lg:w-8/12 xl:w-9/12",children:[(0,a.jsxs)("button",{type:"button",className:"w-full flex flex-row justify-between p-2",onClick:()=>u(!h),children:[(0,a.jsxs)("p",{className:"text-base leading-relaxed text-left text-alkLightBlack",children:[l("cookieName")," UniqueID"]}),(0,a.jsx)("span",{className:`${h?"transform rotate-90":""}`,children:(0,a.jsx)(d.Z,{src:m.src,fill:"#00aeef",className:"h-6"})})]}),h?(0,a.jsx)("div",{className:"overflow-hidden p-4 sm:p-10 border-t-2 mt-2 text-sm sm:text-base ",children:l("uniqueIDcookie_sr")}):null]}),i&&(0,a.jsxs)("div",{className:"bg-gray-50 mb-4 px-4 py-2 justify-center items-center w-full lg:w-8/12 xl:w-9/12 ",children:[(0,a.jsxs)("button",{type:"button",className:"w-full flex flex-row justify-between p-2",onClick:()=>f(!g),children:[(0,a.jsxs)("p",{className:"text-base leading-relaxed text-left text-alkLightBlack",children:[l("cookieName")," WHGCOOKIECONSENT"]}),(0,a.jsx)("span",{className:`${g?"transform rotate-90":""}`,children:(0,a.jsx)(d.Z,{src:m.src,fill:"#00aeef",className:"h-6"})})]}),g?(0,a.jsx)("div",{className:"overflow-hidden p-4 sm:p-10 border-t-2 mt-2 text-sm sm:text-base ",children:l("whgCookieConsent_sr")}):null]})]}),(0,a.jsxs)("section",{className:"my-10",children:[(0,a.jsx)("div",{children:(0,a.jsxs)("h3",{className:"text-xl sm:text-2xl mb-2",children:[(0,a.jsx)("input",{type:"checkbox",onChange:()=>r(!n),checked:n,id:"cookie-checkbox-performance",name:"cookie-checkbox-performance",className:"w-4 h-4 mr-3"}),(0,a.jsx)("label",{htmlFor:"cookie-checkbox-performance",children:l("performance_cookiesHR")})]})}),(0,a.jsx)("p",{className:"text-sm sm:text-base block mb-4",children:l("performance_cookies_desc")}),(0,a.jsx)("button",{type:"button",onClick:()=>p(!x),className:"underline text-alkLightBlue",children:l("cookieDetails")}),x&&(0,a.jsxs)("div",{className:"bg-gray-50 mt-6 mb-4 px-4 py-2 justify-center items-center w-full lg:w-8/12 xl:w-9/12",children:[(0,a.jsxs)("button",{type:"button",className:"w-full flex flex-row justify-between p-2",onClick:()=>y(!b),children:[(0,a.jsxs)("p",{className:"text-base leading-relaxed text-left text-alkLightBlack",children:[l("cookieName")," _ga"]}),(0,a.jsx)("span",{className:`${b?"transform rotate-90":""}`,children:(0,a.jsx)(d.Z,{src:m.src,fill:"#00aeef",className:"h-6"})})]}),b?(0,a.jsxs)("div",{className:"overflow-hidden p-4 sm:p-5 border-t-2 mt-2 text-sm sm:text-base text-ju
25stify",children:[l("googleAnalyticsCookie_1"),(0,a.jsx)("br",{}),(0,a.jsx)("br",{}),l("googleAnalyticsCookie_2"),(0,a.jsx)("br",{}),(0,a.jsx)("br",{}),l("googleAnalyticsCookie_3"),(0,a.jsx)("br",{}),(0,a.jsx)("br",{}),l("googleAnalyticsCookie_4"),(0,a.jsx)("br",{}),(0,a.jsx)("br",{}),l("googleAnalyticsCookie_5"),(0,a.jsx)("a",{className:"text-alkLightBlue",href:"http://www.google.com/analytics/learn/privacy.html",children:"http://www.google.com/analytics/learn/privacy.html"}),(0,a.jsx)("br",{}),(0,a.jsx)("br",{}),l("googleAnalyticsCookie_6"),(0,a.jsx)("br",{}),(0,a.jsx)("br",{}),l("googleAnalyticsCookie_7"),(0,a.jsx)("br",{}),(0,a.jsx)("br",{}),l("googleAnalyticsCookie_8"),(0,a.jsx)("a",{className:"text-alkLightBlue",href:"http://tools.google.com/dlpage/gaoptout",children:"http://tools.google.com/dlpage/gaoptout"}),(0,a.jsx)("br",{}),(0,a.jsx)("br",{}),l("googleAnalyticsCookie_9"),(0,a.jsx)("a",{className:"text-alkLightBlue pl-2",href:"http://tools.google.com/dlpage/gaoptout",children:l("googleAnalyticsCookie_9_1")}),(0,a.jsx)("p",{className:"pl-1",children:l("googleAnalyticsCookie_9_2")}),(0,a.jsx)("br",{}),(0,a.jsx)("br",{}),l("googleAnalyticsCookie_10"),(0,a.jsx)("a",{className:"text-alkLightBlue pl-2",href:"https://marketingplatform.google.com/about/analytics/terms/us/",children:l("googleAnalyticsCookie_10_1")}),(0,a.jsx)("a",{className:"text-alkLightBlue pl-2",href:"https://support.google.com/analytics/answer/6004245?hl=en-GB",children:l("googleAnalyticsCookie_10_2")}),l("googleAnalyticsCookie_10_3"),(0,a.jsx)("a",{className:"text-alkLightBlue pl-2",href:"https://policies.google.com/privacy?hl=en",children:l("googleAnalyticsCookie_10_4")}),(0,a.jsx)("br",{}),(0,a.jsx)("br",{}),l("googleAnalyticsCookie_11"),(0,a.jsx)("a",{className:"text-alkLightBlue pl-2",href:"https://myadcenter.google.com/?sasb=true",children:l("googleAnalyticsCookie_12")})]}):null]}),x&&(0,a.jsxs)("div",{className:"bg-gray-50 mt-6 mb-4 px-4 py-2 justify-center items-center w-full lg:w-8/12 xl:w-9/12",children:[(0,a.jsxs)("button",{type:"button",className:"w-full flex flex-row justify-between p-2",onClick:()=>C(!_),children:[(0,a.jsxs)("p",{className:"text-base leading-relaxed text-left text-alkLightBlack",children:[l("cookieName")," Мета Пиксел/Meta Pixel"]}),(0,a.jsx)("span",{className:`${_?"transform rotate-90":""}`,children:(0,a.jsx)(d.Z,{src:m.src,fill:"#00aeef",className:"h-6"})})]}),_?(0,a.jsx)("div",{className:"overflow-hidden p-4 sm:p-10 border-t-2 mt-2 text-sm sm:text-base ",children:l("meta_pixel")}):null]})]}),(0,a.jsxs)("section",{className:"my-10",children:[(0,a.jsx)("div",{children:(0,a.jsxs)("h3",{className:"text-xl sm:text-2xl mb-2",children:[(0,a.jsx)("input",{type:"checkbox",onChange:()=>v(!w),checked:w,id:"cookie-checkbox-targeting",name:"cookie-checkbox-targeting",className:"w-4 h-4 mr-3"}),(0,a.jsx)("label",{className:" text-red-500",htmlFor:"cookie-checkbox-targeting",children:l("targeting_cookiesHR")})]})}),(0,a.jsx)("p",{className:"text-sm sm:text-base  text-red-500 block mb-4",children:l("targeting_cookies_descSR")})]})]}),(0,a.jsxs)("div",{className:"my-16",children:[(0,a.jsx)("h3",{className:"text-xl sm:text-2xl",children:l("cookie_policy_whyHR")}),(0,a.jsx)("div",{className:"m-auto w-20 h-1 inline-block bg-alkLightBlue rounded relative -left-6 mb-6"}),(0,a.jsx)("div",{className:"",children:(0,a.jsx)("p",{className:" block mb-4",children:l("cookie_policy_desc_whyHR").split("\n").map(e=>(0,a.jsxs)("p",{className:"text-sm sm:text-base mb-4",children:[e,(0,a.jsx)("a",{className:"ml-1 text-alkLightBlue cursor-pointer",href:"https://premamaduo.hr/aboutcookies.org.",target:"_blank",children:l("cookie_policy_desc_whyHR2")}),l("cookie_policy_BG1")]},e))})}),(0,a.jsxs)("div",{children:[(0,a.jsx)("span",{className:" font-bold",children:l("cookie_policy_BG2")})," ",(0,a.jsxs)("span",{children:[" ",l("cookie_policy_BG3")]})," ",(0,a.jsx)("span",{className:"font-bold",children:l("cookie_policy_BG4")}),(0,a.jsx)("span",{children:l("cookie_policy_BG5")})," "]})]}),(0,a.jsxs)("div",{className:"py-4",children:[" ",l("address_following_sr")]}),(0,a.jsxs)("div",{className:"flex flex-col  space-y-4 pt-4",children:[(0,a.jsx)("p",{children:l("cookie_policy_bg")}),(0,a.jsx)("p",{children:l("cookie_policy_bg1")}),(0,a.jsx)("p",{children:l("cookie_policy_bg2")})]}),(0,a.jsxs)("div",{className:"py-4 font-semibold",children:[" ",l("data_prottection_bg")]}),(0,a.jsxs)("div",{className:"py-4 font-semibold",children:[" ",l("data_prottection_mail_bg")]}),(0,a.jsxs)("div",{className:"mb-16 mt-4",children:[(0,a.jsx)("h3",{className:"text-xl sm:text-2xl",children:l("cookie_policy_changesHR")}),(0,a.jsx)("div",{className:"m-auto w-20 h-1 inline-block bg-alkLightBlue rounded relative -left-6 mb-6"}),(0,a.jsx)("div",{className:"",children:(0,a.jsx)("p",{className:" block mb-4",children:l("cookie_policy_de
25sc_changesBG").split("\n").map(e=>(0,a.jsx)("p",{className:"text-sm sm:text-base mb-4",children:e},e))})})]})]}),(0,a.jsxs)("div",{className:"w-full flex flex-row justify-center sm:justify-end flex-wrap gap-2",children:[(0,a.jsx)("button",{type:"button",className:"text-sm sm:text-base cursor-pointer text-black font-semibold  py-3 px-12 border-0 border-transparent rounded-full",value:!0,onClick:e=>T(e),children:l("reject_all_cookies_new")}),(0,a.jsx)("button",{type:"submit",className:"text-sm sm:text-base cursor-pointer text-white font-semibold bg-gradient-to-r from-alkLightBlue to-alkPurple py-3 px-12 border-0 border-transparent rounded-full",value:!1,onClick:e=>T(e),children:l("confirm_choice")})]})]})})]})},template:{type:"cookiePolicy",label:"Cookie Policy BG",defaultItem:{_template:"ComponentBlocksCookiePolicyBG"}}},ComponentBlocksInfoSection:{Component:e=>{let{index:t,data:l}=e;return(0,a.jsxs)("section",{className:"flex flex-wrap relative justify-end pb-20",children:[(0,a.jsx)(h.LazyLoadImage,{src:(0,o.Z)(l.featuredImage),alt:(0,p.Z)(l.featuredImage),className:"sm:absolute object-contain max-h-[250px] sm:w-1/2 lg:hidden"}),(0,a.jsxs)("div",{className:"w-full flex flex-col lg:flex-row justify-end lg:items-start",children:[(0,a.jsx)("div",{className:"lg:container-half  phoneSmall:mx-auto ",children:(0,a.jsx)("div",{className:" relative flex m-auto pt-8 sm:pt-16 lg:pt-32",style:{minHeight:550},children:(0,a.jsxs)("div",{className:"w-full md:pt-20 sm:pt-16 lg:pt-10 md:px-0 px-0",children:[(0,a.jsxs)("div",{className:"flex flex-col w-full sm:w-1/2 lg:w-full mb-10 sm:mb-20 lg:mb-10 md:mb-24",children:[(0,a.jsx)("h2",{className:"font-thin w-full  px-4 sm:px-6 md:px-10 lg:px-16 xl:px-20  text-left md:pt-8 lg:pt-0 phoneSmall:text-3xl leading-none phoneLarge:text-4xl xl:text-6xl place-self-start tracking-wider mb-3 text-alkDarkGrey",children:l.title}),(0,a.jsx)("hr",{className:"sm:ml-[50%] border-alkLightBlue w-3/12 border-solid border-b-4 rounded"})]}),(0,a.jsx)("div",{className:"w-full text-alkDarkGrey px-4 sm:px-6 md:px-10 lg:px-16 xl:px-20 leading-7 text-left md:pt-8 lg:pt-0",children:(0,a.jsx)(f.Z,{children:l.content})}),(0,a.jsxs)("div",{className:`md:full w-full text-alkDarkGrey px-4 sm:px-6 md:px-10 lg:px-16 xl:px-20 leading-7
26                   md:pt-8 lg:pt-0 flex  text-center ${l.actionAlignment} mt-10 pb-5`,children:[(0,a.jsx)(S.Z,{values:l.readMore,blocks:{...b.ZP},direction:"horizontal",className:"flex flex-row"})," "]})]})})}),(0,a.jsxs)("div",{className:"hidden lg:block lg:w-full",children:[(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)("div",{className:" ",children:(0,a.jsx)(h.LazyLoadImage,{src:(0,o.Z)(l.featuredImage),alt:(0,p.Z)(l.featuredImage),className:"block w-full"})}),(0,a.jsx)("div",{className:"absolute top-0 w-full h-full pointer-events-none",children:(0,a.jsx)(d.Z,{src:V.src})})]}),(0,a.jsxs)("div",{className:"flex flex-row pt-4",children:[(0,a.jsx)("div",{className:"w-1/3 relative",children:(0,a.jsx)(d.Z,{src:U.Z.src,className:"absolute -right-4 -top-20"})}),(0,a.jsx)("div",{className:"w-2/3",children:(0,a.jsx)("div",{children:(0,a.jsx)("div",{className:"text-2xl pl-16 pt-10",children:(0,a.jsx)(f.Z,{children:l.quote})})})})]})]})]})]})},template:eE},ComponentBlocksPronet2Quiz:{Component:e=>{let{index:t,data:l}=e,s={questions:[{question:[l.question1],questionType:"text",answerSelectionType:"single",firstAnswer:[l.aAnswerQuestion1],secondAnswer:[l.bAnswerQuestion1],thirdAnswer:[l.cAnswerQuestion1],fourthAnswer:[l.dAnswerQuestion1],fifthA
26nswer:[l.eAnswerQuestion1],sixthAnswer:[l.fAnswerQuestion1],correctAnswer:[l.correctAnswer1],messageForCorrectAnswer:"Одговорот е точен.",messageForIncorrectAnswer:"Одговорот е неточен.",point:20},{question:[l.question2],questionType:"text",answerSelectionType:"single",firstAnswer:[l.aAnswerQuestion2],secondAnswer:[l.bAnswerQuestion2],thirdAnswer:[l.cAnswerQuestion2],fourthAnswer:[l.dAnswerQuestion2],fifthAnswer:[l.eAnswerQuestion2],sixthAnswer:[l.fAnswerQuestion2],correctAnswer:[l.correctAnswer2],messageForCorrectAnswer:"Одговорот е точен.",messageForIncorrectAnswer:"Одговорот е неточен.",point:20},{question:[l.question3],questionType:"text",answerSelectionType:"single",firstAnswer:[l.aAnswerQuestion3],secondAnswer:[l.bAnswerQuestion3],thirdAnswer:[l.cAnswerQuestion3],fourthAnswer:[l.dAnswerQuestion3],fifthAnswer:[l.eAnswerQuestion3],sixthAnswer:[l.fAnswerQuestion3],correctAnswer:[l.correctAnswer3],messageForCorrectAnswer:"Одговорот е точен.",messageForIncorrectAnswer:"Одговорот е неточен.",point:20},{question:[l.question4],questionType:"text",answerSelectionType:"single",firstAnswer:[l.aAnswerQuestion4],secondAnswer:[l.bAnswerQuestion4],thirdAnswer:[l.cAnswerQuestion4],fourthAnswer:[l.dAnswerQuestion4],fifthAnswer:[l.eAnswerQuestion4],sixthAnswer:[l.fAnswerQuestion4],correctAnswer:[l.correctAnswer4],messageForCorrectAnswer:"Одговорот е точен.",messageForIncorrectAnswer:"Одговорот е неточен.",point:20},{question:[l.question5],questionType:"text",answerSelectionType:"single",firstAnswer:[l.aAnswerQuestion5],secondAnswer:[l.bAnswerQuestion5],thirdAnswer:[l.cAnswerQuestion5],fourthAnswer:[l.dAnswerQuestion5],fifthAnswer:[l.eAnswerQuestion5],sixthAnswer:[l.fAnswerQuestion5],correctAnswer:[l.correctAnswer5],messageForCorrectAnswer:"Одговорот е точен.",messageForIncorrectAnswer:"Одговорот е неточен.",point:20},{question:[l.question6],questionType:"text",answerSelectionType:"single",firstAnswer:[l.aAnswerQuestion6],secondAnswer:[l.bAnswerQuestion6],thirdAnswer:[l.cAnswerQuestion6],fourthAnswer:[l.dAnswerQuestion6],fifthAnswer:[l.eAnswerQuestion6],sixthAnswer:[l.fAnswerQuestion6],correctAnswer:[l.correctAnswer6],messageForCorrectAnswer:"Одговорот е точен.",messageForIncorrectAnswer:"Одговорот е неточен.",point:20},{question:[l.question7],questionType:"text",answerSelectionType:"single",firstAnswer:[l.aAnswerQuestion7],secondAnswer:[l.bAnswerQuestion7],thirdAnswer:[l.cAnswerQuestion7],fourthAnswer:[l.dAnswerQuestion7],fifthAnswer:[l.eAnswerQuestion7],sixthAnswer:[l.fAnswerQuestion7],correctAnswer:[l.correctAnswer7],messageForCorrectAnswer:"Одговорот е точен.",messageForIncorrectAnswer:"Одговорот е неточен.",point:20},{question:[l.question8],questionType:"text",answerSelectionType:"single",firstAnswer:[l.aAnswerQuestion8],secondAnswer:[l.bAnswerQuestion8],thirdAnswer:[l.cAnswerQuestion8],fourthAnswer:[l.dAnswerQuestion8],fifthAnswer:[l.eAnswerQuestion8],sixthAnswer:[l.fAnswerQuestion8],correctAnswer:[l.correctAnswer8],messageForCorrectAnswer:"Одговорот е точен.",messageForIncorrectAnswer:"Одговорот е неточен.",point:20},{question:[l.question9],questionType:"text",answerSelectionType:"single",firstAnswer:[l.aAnswerQuestion9],secondAnswer:[l.bAnswerQuestion9],thirdAnswer:[l.cAnswerQuestion9],fourthAnswer:[l.dAnswerQuestion9],fifthAnswer:[l.eAnswerQuestion9],sixthAnswer:[l.fAnswerQuestion9],correctAnswer:[l.correctAnswer9],messageForCorrectAnswer:"Одговорот е точен.",messageForIncorrectAnswer:"Одговорот е неточен.",point:20},{question:[l.question10],questionType:"text",answerSelectionType:"single",firstAnswer:[l.aAnswerQuestion10],secondAnswer:[l.bAnswerQuestion10],thirdAnswer:[l.cAnswerQuestion10],fourthAnswer:[l.dAnswerQuestion10],fifthA
26nswer:[l.eAnswerQuestion10],sixthAnswer:[l.fAnswerQuestion10],correctAnswer:[l.correctAnswer10],messageForCorrectAnswer:"Одговорот е точен.",messageForIncorrectAnswer:"Одговорот е неточен.",point:20}]},n=()=>{i(s.questions)},[r,i]=(0,c.useState)([]),[o,d]=(0,c.useState)(0),[m,x]=(0,c.useState)(""),[p,h]=(0,c.useState)(0),[u,g]=(0,c.useState)(0);(0,c.useEffect)(()=>{n()},[]);let[f,b]=(0,c.useState)("");return(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("section",{className:"relative lg:block",children:[(0,a.jsxs)("div",{className:"z-0 has-overlay absolute top-0 left-0 w-full  overflow-hidden",style:{minHeight:420},children:[(0,a.jsx)("div",{className:"absolute top-0 left-0 w-full h-full bg-cover bg-no-repeat bg-gradient-to-r from-alkBlue to-alkPurple  mix-blend-multiply"}),(0,a.jsx)("div",{className:"absolute top-0 left-0 w-full h-full bg-cover bg-no-repeat bg-gradient-to-r from-alkLightBlue to-alkPurple opacity-80 mix-blend-multiply hidden"})]}),(0,a.jsx)("div",{className:"container relative flex m-auto pt-20",style:{minHeight:320},children:(0,a.jsx)("div",{className:"w-full",children:(0,a.jsx)("div",{className:"md:text-3xl text-lg text-white font-normal text-center",children:l.title})})}),(0,a.jsx)("div",{className:"container relative flex m-auto items-center",style:{minHeight:420},"dataQuestions-percent":p,children:(0,a.jsxs)("div",{className:"bg-red-500 relative -top-32 w-full p-12 px-6 md:px-24 pb-24 shadow-2xl",children:[(0,a.jsx)("div",{className:" h-full bg-white p-10",children:(0,a.jsxs)("div",{className:"h-10 w-full  pt-10 ",children:[o>9?"":(0,a.jsxs)("div",{className:"flex flex-row items-stretch justify-between relative -bottom-2 z-0",children:[(0,a.jsx)("div",{className:`w-full h-1 ${o>=1?"bg-alkLightBlue":"bg-gray-300"} `}),(0,a.jsx)("div",{className:`w-full h-1 ${o>=2?"bg-alkLightBlue":"bg-gray-300"} `}),(0,a.jsx)("div",{className:`w-full h-1 ${o>=3?"bg-alkLightBlue":"bg-gray-300"} `}),(0,a.jsx)("div",{className:`w-full h-1 ${o>=4?"bg-alkLightBlue":"bg-gray-300"} `}),(0,a.jsx)("div",{className:`w-full h-1 ${o>=5?"bg-alkLightBlue":"bg-gray-300"} `}),(0,a.jsx)("div",{className:`w-full h-1 ${o>=6?"bg-alkLightBlue":"bg-gray-300"} `}),(0,a.jsx)("div",{className:`w-full h-1 ${o>=7?"bg-alkLightBlue":"bg-gray-300"} `}),(0,a.jsx)("div",{className:`w-full h-1 ${o>=8?"bg-alkLightBlue":"bg-gray-300"} `}),(0,a.jsx)("div",{className:`w-full h-1 ${o>=9?"bg-alkLightBlue":"bg-gray-300"} `})]}),o>10?"":(0,a.jsxs)("div",{className:"flex flex-row items-stretch justify-between relative z-10",children:[(0,a.jsx)("div",{className:"rounded-full w-3 h-3 bg-alkLightBlue",children:(0,a.jsx)("span",{className:"relative -top-8 font-bold text-alkLightBlue",children:"1"})}),(0,a.jsx)("div",{className:`rounded-full w-3 h-3 ${o>=1?"bg-alkLightBlue":"bg-gray-300"}`,children:(0,a.jsx)("span",{className:`relative -top-8 font-bold ${o>=1?"text-alkLightBlue":"text-gray-300"}`,children:"2"})}),(0,a.jsx)("div",{className:`rounded-full w-3 h-3 ${o>=2?"bg-alkLightBlue":"bg-gray-300"}`,children:(0,a.jsx)("span",{className:`relative -top-8 font-bold ${o>=2?"text-alkLightBlue":"text-gray-300"}`,children:"3"})}),(0,a.jsx)("div",{className:`rounded-full w-3 h-3 ${o>=3?"bg-alkLightBlue":"bg-gray-300"}`,children:(0,a.jsx)("span",{className:`relative -top-8 font-bold ${o>=3?"text-alkLightBlue":"text-gray-300"}`,children:"4"})}),(0,a.jsx)("div",{className:`rounded-full w-3 h-3 ${o>=4?"bg-alkLightBlue":"bg-gray-300"}`,children:(0,a.jsx)("span",{className:`relative -top-8 font-bold ${o>=4?"text-alkLightBlue":"text-gray-300"}`,children:"5"})}),(0,a.jsx)("div",{className:`rounded-full w-3 h-3 ${o>=5?"bg-alkLightBlue":"bg-gray-300"}`,children:(0,a.jsx)("span",{className:`relative -top-8 font-bold ${o>=5?"text-alkLightBlue":"text-gray-300"}`,children:"6"})}),(0,a.jsx)("div",{className:`rounded-full w-3 h-3 ${o>=6?"bg-alkLightBlue":"bg-gray-300"}`,children:(0,a.jsx)("span",{className:`relative -top-8 font-bold ${o>=6?"text-alkLightBlue":"text-gray-300"}`,children:"7"})}),(0,a.jsx)("div",{className:`rounded-full w-3 h-3 ${o>=7?"bg-alkLightBlue":"bg-gray-300"}`,children:(0,a.jsx)("span",{className:`relative -top-8 font-bold ${o>=7?"text-alkLightBlue":"text-gray-300"}`,children:"8"})}),(0,a.jsx)("div",{className:`rounded-full w-3 h-3 ${o>=8?"bg-alkLightBlue":"bg-gray-300"}`,children:(0,a.jsx)("span",{className:`relative -top-8 font-bold ${o>=8?"text-alkLightBlue":"text-gray-300"}`,children:"9"})}),(0,a.jsx)("div",{className:`rounded-full w-3 h-3 ${o>=9?"bg-alkLightBlue":"bg-gray-300"}`,children:(0,a.jsx)("span",{className:`relative -top-8 font-bold ${o>=9?"text-alkLightBlue":"text-gray-300"}`,children:"10"})})]}),(0,a.jsx)("ul",{className:"w-full lg:mb-40 hidden"})]})}),(0,a.jsxs)("div",{children:[p!=s.questions.length&&(0,a.jsx)(a2,{...r[p],sendAns:e=>{let t=r[p].correctAnswer;e.toString()===t.toString()&&g(u+1),setTimeout(()=>x(null),1e3),h(p+1),d(o+1)},count:p}),p===s.questions.length&&(0,a.jsx)(a4,{maxscore:s.questions.length,score:u,reset:()=>{h(0),g(0),n()}})]})]})})]})})},template:{type:"proNet2Quiz",label:"ProNet Quiz 2",defaultItem:{title:"Insert Title",content:"Insert content here",_template:"ComponentBlocksProNet2Quiz"},fields:[{name:"title",label:"Title",component:"text"},{name:"question1",label:"Question 1",component:"text"},{name:"correctAnswer1",label:"Correct Answer Question 1",component:"text"},{name:"aAnswerQuestion1",label:"Answer A for question 1",component:"text"},{name:"bAnswerQuestion1",label:"Answer B for question 1",component:"text"},{name:"cAnswerQuestion1",label:"Answer C for question 1",component:"text"},{name:"dAnswerQuestion1",label:"Answer D for question 1",component:"text"},{name:"eAnswerQuestion1",label:"Answer E for question 1",component:"text"},{name:"fAnswerQuestion1",label:"Answer F for question 1",component:"text"},{name:"question2",label:"Question 2",component:"text"},{name:"correctAnswer2",label:"Correct Answer Question 2",component:"text"},{name:"aAnswerQuestion2",label:"Answer A for question 2",component:"text"},{name:"bAnswerQuestion2",label:"Answer B for question 2",component:"text"},{name:"cAnswerQuestion2",label:"Answer C for question 2",component:"text"},{name:"dAnswerQuestion2",label:"Answer D for question 2",component:"text"},{name:"eAnswerQuestion2",label:"Answer E for question 2",component:"text"},{name:"fAnswerQuestion2",label:"Answer F for question 2",component:"text"},{name:"question3",label:"Question 3",component:"text"},{name:"correctAnswer3",label:"Correct Answer Question 3",component:"text"},{name:"aAnswerQuestion3",label:"Answer A for question 3",component:"text"},{name:"bAnswerQuestion3",label:"Answer B for question 3",component:"text"},{name:"cAnswerQuestion3",label:"Answer C for question 3",component:"text"},{name:"dAnswerQuestion3",label:"Answer D for question 3",component:"text"},{name:"eAnswerQuestion3",label:"Answer E for question 3",component:"text"},{name:"fAnswerQuestion3",label:"Answer F for question 3",component:"text"},{name:"question4",label:"Question 4",component:"text"},{name:"correctAnswer4",label:"Correct Answer Question 4",component:"text"},{name:"aAnswerQuestion4",label:"Answer A for question 4",component:"text"},{name:"bAnswerQuestion4",label:"Answer B for question 4",component:"text"},{name:"cAnswerQuestion4",label:"Answer C for question 4",component:"text"},{name:"dAnswerQuestion4",label:"Answer D for question 4",component:"text"},{name:"eAnswerQuestion4",label:"Answer E for question 4",component:"text"},{name:"fAnswerQuestion4",label:"Answer F for question 4",component:"text"},{name:"question5",label:"Question 5",component:"text"},{name:"correctAnswer5",label:"Correct Answer Question 5",component:"text"},{name:"aAnswerQuestion5",label:"Answer A for question 5",component:"text"},{name:"bAnswerQuestion5",label:"Answer B for question 5",component:"text"},{name:"cAnswerQuestion5",label:"Answer C for question 5",component:"text"},{name:"dAnswerQuestion5",label:"Answer D for question 5",component:"text"},{name:"eAnswerQuestion5",label:"Answer E for question 5",component:"text"},{name:"fAnswerQuestion5",label:"Answer F for question 5",component:"text"},{name:"question6",label:"Question 6",component:"text"},{name:"correctAnswer6",label:"Correct Answer Question 6",component:"text"},{name:"aAnswerQuestion6",label:"Answer A for question 6",component:"text"},{name:"bAnswerQuestion6",label:"Answer B for question 6",component:"text"},{name:"cAnswerQuestion6",label:"Answer C for question 6",component:"text"},{name:"dAnswerQuestion6",label:"Answer D for question 6",component:"text"},{name:"eAnswerQuestion6",label:"Answer E for question 6",component:"text"},{name:"fAnswerQuestion6",label:"Answer F for question 6",component:"text"},{name:"question7",label:"Question 7",component:"text"},{name:"correctAnswer7",label:"Correct Answer Question 7",component:"text"},{name:"aAnswerQuestion7",label:"Answer A for question 7",component:"text"},{name:"bAnswerQuestion7",label:"Answer B for question 7",component:"text"},{name:"cAnswerQuestion7",label:"Answer C for question 7",component:"text"},{name:"dAnswerQuestion7",label:"Answer D for question 7",component:"text"},{name:"eAnswerQuestion7",label:"Answer E for question 7",component:"text"},{name:"fAnswerQuestion7",label:"Answer F for question 7",component:"text"},{name:"question8",label:"Question 8",component:"text"},{name:"correctAnswer8",label:"Correct Answer Question 8",component:"text"},{name:"aAnswerQuestion8",label:"Answer A for question 8",component:"text"},{name:"bAnswerQuestion8",label:"Answer B for question 8",component:"text"},{name:"cAnswerQuestion8",label:"Answer C for question 8",component:"text"},{name:"dAnswerQuestion8",label:"Answer D for question 8",component:"text"},{name:"eAnswerQuestion8",label:"Answer E for question 8",component:"text"},{name:"fAnswerQuestion8",label:"Answer F for question 8",component:"text"},{name:"question9",label:"Question 9",component:"text"},{name:"correctAnswer9",label:"Correct Answer Question 9",component:"text"},{name:"aAnswerQuestion9",label:"Answer A for question 9",component:"text"},{name:"bAnswerQuestion9",label:"Answer B for question 9",component:"text"},{name:"cAnswerQuestion9",label:"Answer C for question 9",component:"text"},{name:"dAnswerQuestion9",label:"Answer D for question 9",component:"text"},{name:"eAnswerQuestion9",label:"Answer E for question 9",component:"text"},{name:"fAnswerQuestion9",label:"Answer F for question 9",component:"text"},{name:"question10",label:"Question 10",component:"text"},{name:"correctAnswer10",label:"Correct Answer Question 10",component:"text"},{name:"aAnswerQuestion10",label:"Answer A for question 10",component:"text"},{name:"bAnswerQuestion10",label:"Answer B for question 10",component:"text"},{name:"cAnswerQuestion10",label:"Answer C for question 10",component:"text"},{name:"dAnswerQuestion10",label:"Answer D for question 10",component:"text"},{name:"eAnswerQuestion10",label:"Answer E for question 10",component:"text"},{name:"fAnswerQuestion10",label:"Answer F for question 10",component:"text"}]}},ComponentBlocksBotanicalOverview:{Component:e=>{let{index:t,data:l}=e,[s,n]=(0,c.useState)(0);return(0,a.jsxs)("section",{className:"relative block",children:[(0,a.jsxs)("div",{className:"z-0 has-overlay absolute top-0 left-0 w-full overflow-hidden",style:{minHeight:420},children:[(0,a.jsx)("div",{className:"absolute top-0 left-0 w-full h-full hidden sm:block sm:bg-cover bg-no-repeat",style:{backgroundImage:`url('${(0,o.Z)(l.featuredImage)}')`,backgroundPositionX:"50%",backgroundPositionY:"50%"}}),(0,a.jsx)("div",{className:"absolute top-0 left-0 w-full h-full bg-cover sm:hidden bg-no-repeat",style:{backgroundImage:`url('${(0,o.Z)(l.featuredImageMobile,"large")}')`,backgroundPositionX:"50%",backgroundPositionY:"50%"}})]}),(0,a.jsx)("div",{className:"container relative flex m-auto items-center h-48 sm:min-h-[420px]",children:(0,a.jsx)("div",{className:"w-full",children:(0,a.jsx)("h2",{className:"text-4xl sm:text-6xl text-white font-thin uppercase sm:pb-10",children:l.title})})}),(0,a.jsx)("div",{className:"sm:container relative flex mx-auto items-center min-h-[420px]",children:(0,a.jsxs)("div",{className:"bg-white relative sm:-top-32 w-full flex flex-col phoneSmall:p-5 sm:p-8 lg:p-12 xl:p-24 phoneSmall:shadow-lg sm:shadow-2xl",children:[(0,a.jsx)("div",{className:"m-0  flex phoneSmall:flex-wrap md:flex-row justify-around  items-center border-b-2 border-alkLightGrey",children:l.tabs.map((e,t)=>(0,a.jsx)("button",{type:"button",className:` focus:outline-none phoneSmall:text-base  sm:text-lg  lg:text-2xl  phoneSmall:p-3 md:px-6 md:py-4 border-b-2 phoneSmall:w-1/2 phoneLarge:w-1/2 md:w-1/3 lg:w-1/3 xl:w-1/3 2xl:w-auto ${t===s?"text-alkLightBlue border-alkLightBlue active":"border-transparent text-alkLightBlack font-light"} `,onClick:n.bind(null,t),children:e.headline},t))}),(0,a.jsx)(S.Z,{values:l.tabs,direction:"horizontal",blocks:{...eU},itemProps:{activePage:s}})]})})]})},template:eV},...e4,FinancialReports:{Component:e=>{let{data:t}=e;return(0,a.jsx)("div",{className:"space-y-4",children:(0,a.jsx)(S.Z,{values:t.items,blocks:e1,direction:"vertical"})})},template:e3},FinancialReportsRow:{Component:e=>{let{data:t}=e;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"container flex flex-col md:flex-row m-auto md:justify-between py-20 px-8 lg:px-8 ",children:[(0,a.jsx)("h2",{className:"text-3xl text-alkBlue max-w-sm my-4 ",children:t.title}),(0,a.jsx)("div",{className:`w-full md:w-7/12 grid grid-cols-${t.colsMobile} md:grid-cols-${t.colsMd} lg:grid-cols-${t.colsLg}
26 xl:grid-cols-${t.colsXl}  gap-4`,children:(0,a.jsx)(S.Z,{values:t.files,blocks:{...eX},direction:"horizontal",className:`w-full md:w-7/12 grid grid-cols-${t.colsMobile} md:grid-cols-${t.colsMd} lg:grid-cols-${t.colsLg} xl:grid-cols-${t.colsXl} gap-4`})})]}),(0,a.jsx)("hr",{className:"container m-auto"})]})},template:e5},...eX,...e1,...e6.ZP,...e8.ZP,ComponentBlocksHomepageShares:{Component:e=>{let{index:t,data:l,tickerDatum:s,stocksData:n}=e,{t:r}=(0,ec.$G)();return(0,a.jsx)("div",{className:"container mx-auto  pr-[10px]",children:(0,a.jsxs)("div",{className:"flex flex-col  xl:flex-row lg:mt-16 phoneSmall:mt-12",children:[(0,a.jsxs)("div",{className:"flex-1 flex flex-col justify-between lg:flex-row px-4",children:[(0,a.jsxs)("div",{className:"flex flex-col phoneSmall:gap-2 lg:gap-12 items-start phoneSmall:justify-start lg:justify-center phoneSmall:mb-8 lg:mb-0 ",children:[(0,a.jsxs)("div",{className:"flex items-center text-alkBlue phoneSmall:text-3xl sm:text-7xl font-bold",children:[(0,a.jsxs)("div",{className:"phoneSmall:w-16 sm:w-auto block",children:[" ",r("bigAlk")]}),(0,a.jsx)(es(),{src:tn,alt:"arrow",className:`relative ml-2 phoneSmall:w-auto phoneSmall:h-[22px] sm:h-[55px] transform ${n[n.length-1]?.attributes.avg>0?"":"rotate-180"}`,width:55,height:55})]}),(0,a.jsx)("p",{className:"text-sm font-normal text-gray-400  lg:mt-0 lg:mb-1",children:r("datashares_title")})]}),(0,a.jsxs)("div",{className:"flex-1 flex flex-col md:items-start md:justify-between lg:items-center lg:-mb-5 lg:gap-6 lg:justify-center",children:[(0,a.jsxs)("div",{className:"flex gap-8 flex-row justify-between lg:justify-center w-full",children:[(0,a.jsxs)("div",{className:"flex flex-col",children:[(0,a.jsx)("p",{className:"phoneSmall:text-lg sm:text-xl text-alkBlue phoneSmall:mb-0 sm:mb-2",children:r("datashares_price")}),(0,a.jsx)("p",{className:"text-alkLightBlue phoneSmall:text-2xl sm:text-4xl mb-2",children:n[n.length-1]?.attributes.avg.toLocaleString(void 0,{maximumFractionDigits:2,minimumFractionDigits:2})})]}),(0,a.jsxs)("div",{className:"flex flex-col",children:[(0,a.jsx)("p",{className:"phoneSmall:text-lg sm:text-xl text-alkBlue phoneSmall:mb-0 sm:mb-2",children:r("change")}),(0,a.jsxs)("p",{className:"text-alkLightBlue phoneSmall:text-2xl sm:text-4xl mb-2",children:[n[n.length-1]?.attributes.changePercent,"%"]})]})]}),(0,a.jsx)("p",{className:"text-sm  font-normal text-gray-400 phoneSmall:mt-0 sm:mt-4 lg:mt-8",children:r("disclaimer")})]})]}),(0,a.jsx)("div",{className:"flex-1 phoneSmall:mt-12 sm:mt-16 xl:mt-0 phoneSmall:w-full phoneSmall:text-xs xl:w-1/2 sm:text-sm",children:(0,a.jsx)(e9.h,{width:"100%",height:290,children:(0,a.jsxs)(e7.T,{data:n.map(e=>e.attributes),className:"max-w-full max-h-full",children:[(0,a.jsxs)("defs",{children:[(0,a.jsxs)("linearGradient",{id:"colorUv",x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,a.jsx)("stop",{offset:"5%",stopColor:"#8884d8",stopOpacity:.8}),(0,a.jsx)("stop",{offset:"95%",stopColor:"#8884d8",stopOpacity:0})]}),(0,a.jsxs)("linearGradient",{id:"colorPv",x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,a.jsx)("stop",{offset:"5%",stopColor:"#82ca9d",stopOpacity:.8}),(0,a.jsx)("stop",{offset:"95%",stopColor:"#82ca9d",stopOpacity:0})]})]}),(0,a.jsx)(te.K,{dataKey:"date"}),(0,a.jsx)(tt.B,{domain:["dataMin","dataMax"]}),(0,a.jsx)(tl.q,{strokeDasharray:"3 3"}),(0,a.jsx)(ta.u,{}),(0,a.jsx)(ts.u,{type:"monotone",dataKey:"min",name:"Minimum",stroke:"#FF84d8",fillOpacity:.1}),(0,a.jsx)(ts.u,{type:"monotone",dataKey:"max",name:"Maximum",stroke:"#44AAAA",fillOpacity:.1}),(0,a.jsx)(ts.u,{type:"monotone",dataKey:"avg",name:"Average",stroke:"#8884d8",fillOpacity:1,fill:"url(#colorUv)"})]})})})]})})},template:{type:"homepageShares",label:"Homepage Shares",defaultItem:{_template:"ComponentBlocksHomepageShares"}}},ComponentBlocksGeneralNumbers:{Component:e=>{let{index:t,data:l}=e;return(0,a.jsxs)("section",{className:"relative",children:[(0,a.jsxs)("div",{className:"z-0 has-overlay absolute top-0 left-0 w-full  overflow-hidden",style:{minHeight:420},children:[(0,a.jsx)("div",{className:"absolute top-0 left-0 w-full h-full bg-cover bg-no-repeat",style:{backgroundImage:`url('${(0,o.Z)(l.background,"large")}')`,backgroundPositionX:"50%",backgroundPositionY:"50%"}}),(0,a.jsx)("div",{className:"absolute top-0 left-0 w-full h-full bg-cover bg-no-repeat bg-gradient-to-r from-alkLightBlue to-alkPurple opacity-80 mix-blend-multiply"})]}),(0,a.jsx)("div",{className:"container relative flex m-auto items-center",style:{minHeight:240}}),(0,a.jsxs)("div",{className:"container relative -top-24 md:-top-36 m-auto",children:[(0,a.jsx)("div",{className:"w-full",children:(0,a.jsx)("h2",{className:"text-4xl  font-normal text-center text-white mb-12 md:mb-24",children:l.title})}),(0,a.jsx)("div",{className:" bg-white container relative flex flex-col sm:flex-row m-auto items-center shadow-lg",style:{minHeight:420},children:(0,a.jsx)(S.Z,{values:l.numbers,blocks:{...ti},direction:"horizontal",className:""})})]})]})},template:to},...tc.ZP,ComponentBlocksEnvironmentBanner:{Component:e=>{let{index:t,data:l}=e;return(0,a.jsxs)("section",{className:"relative mb-16",children:[(0,a.jsx)("div",{className:"z-0  absolute top-0 left-0 w-full h-full ",children:(0,a.jsx)(h.LazyLoadImage,{className:"top-0 left-0 w-full h-full bg-cover bg-no-repeat object-cover",src:(0,o.Z)(l.background,"small"),alt:(0,p.Z)(l.background),style:{backgroundPositionX:"50%",backgroundPositionY:"60%"}})}),(0,a.jsx)("div",{className:"container relative flex m-auto items-center",style:{minHeight:480},children:(0,a.jsx)("div",{className:"absolute -bottom-10",children:(0,a.jsxs)("button",{type:"button",className:"text-3xl md:text-6xl font-thin uppercase text-white bg-gradient-to-r from-alkLightBlue to-alkPurple pl-10 pr-14 md:pr-28 py-8 md:py-16 relative",children:[l.title,(0,a.jsx)("div",{className:"w-36 h-full absolute top-0 -right-36",children:(0,a.jsx)(d.Z,{src:"#"})})]})})})]})},template:{type:"environment banner",label:"Environment Banner",defaultItem:{title:"Environment Banner",_template:"ComponentBlocksEnvironmentBanner"},fields:[{name:"title",label:"Title",component:"text"}
26,{name:"background",label:"Background",component:"image"}]}},ComponentBlocksFormalSlider:{Component:e=>{let{index:t,data:l}=e,[s,n]=(0,c.useState)(0),{t:r}=(0,ec.$G)();return(0,a.jsx)(a.Fragment,{children:l.formalSlides&&(0,a.jsx)("div",{className:"py-10 lg:py-20 xl:py-40 relative",children:(0,a.jsx)(tu.tq,{loopedSlides:l.formalSlides.length||1,loop:!0,centeredSlides:"true",spaceBetween:32,updateOnWindowResize:!0,pagination:{clickable:!0,el:".swiper-pagination",type:"bullets",bulletClass:"swiper-pagination-bullet"},navigation:{prevEl:".classname-of-button-prev-formal",nextEl:".classname-of-button-next-formal"},className:"mySwiper",breakpoints:{320:{slidesPerView:"auto",spaceBetween:32,centeredSlides:!0},640:{slidesPerView:1,spaceBetween:32,centeredSlides:!0},1024:{slidesPerView:"auto",spaceBetween:0}},children:l.formalSlides.map((e,t)=>(0,a.jsx)(tu.o5,{className:"container m-auto",children:(0,a.jsxs)("div",{className:"flex flex-col-reverse lg:flex-row px-8 lg:px-0",children:[(0,a.jsx)("div",{className:"w-full lg:w-4/12",children:(0,a.jsx)(h.LazyLoadImage,{src:(0,o.Z)(e.featuredImage,"large"),alt:(0,p.Z)(e.featuredImage)})}),(0,a.jsxs)("div",{className:`${l.options?"xl:pt-[80px]":"xl:pt-28"}  "w-full lg:w-6/12 pl-0 lg:pl-32 pt-8 lg:pt-12 pb-8 lg:pb-0 flex flex-col items-start `,children:[(0,a.jsx)("ul",{className:"swiper-pagination mb-5 flex lg:ml-[40%] xl:ml-[44%]"}),(0,a.jsxs)("div",{className:"flex-grow",children:[(0,a.jsx)("p",{className:`${l.options?"block":"hidden"} text-xs sm:text-sm mb-[10px]  text-indigo-700 `,children:e.categoryDate}),(0,a.jsx)("h2",{className:`${l.options?"lg:mb-[30px]":"lg:mb-10"} text-2xl lg:text-4xl mb-5 `,children:e.title}),(0,a.jsx)("div",{className:`${l.options?"mb-11":"mb-6"} text-sm lg:text-base `,children:(0,a.jsx)(f.Z,{className:`
27                              ${l.options?"h-[150px]":"h-[310px]"}  overflow-hidden`,children:e.content})}),l.options&&(0,a.jsxs)("div",{className:"flex flex-row text-alkGrey my-[37px] items-center",children:[e.authorImage&&(0,a.jsx)(h.LazyLoadImage,{src:(0,o.Z)(e.authorImage,"large"),className:"w-[50px] h-[50px] rounded-full",alt:(0,p.Z)(e.authorImage)}),e.authorName&&(0,a.jsx)("p",{className:"px-[8px] text-sm",children:e.authorName})]}),(0,a.jsx)("div",{className:"flex flex-col",children:(0,a.jsx)(S.Z,{values:l.formalSlides[t].actions,blocks:{...b.ZP},direction:"horizontal"})})]}),(0,a.jsxs)("div",{className:"flex-none hidden xl:block",children:[(0,a.jsx)("button",{type:"button",className:"classname-of-button-next-formal text-lg font-bold text-alkLightBlue xl:pt-10 2xl:pt-0 swiper-button-enabled",onClick:()=>n((s+1)%l.formalSlides.length),children:e.nextStoryText&&e.nextStoryText.length>0?e.nextStoryText:r("next_story")},e.id),(0,a.jsx)("div",{className:"flex gap-6",children:(0,a.jsx)("div",{className:" w-full",children:l.formalSlides.length>=3&&(0,a.jsx)("h2",{className:`
28                              ${l.options?"pt-[40px]":"pt-10"}text-2xl  `,children:l.formalSlides[t===l.formalSlides.length-1?0:t+1].title})})})]})]})]})},e.id))})})})},template:tf},ComponentBlocksHomepageHeroSlider:{Component:e=>{let{index:t,data:l}=e,[s,n]=(0,c.useState)(0),[r,i]=(0,c.useState)(!1);return(0,c.useEffect)(()=>{if(l.slides.length>0){let e=(0,o.Z)(l.slides[0].featuredImage);if(e){let t=document.createElement("link");t.rel="preload",t.href=e,t.as="image",document.head.appendChild(t)}}},[l.slides]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(tu.tq,{loop:!0,centeredSlides:!0,spaceBetween:0,updateOnWindowResize:!0,pagination:{clickable:!0,el:".swiper-pagination",type:"bullets",bulletClass:"swiper-hero-pagination-bullet"},navigation:{prevEl:".homepage-slider-prev",nextEl:".homepage-slider-next"},className:"mySwiper",lazy:{loadPrevNext:!0},children:l.slides.map((e,t)=>(0,a.jsx)(tu.o5,{children:(0,a.jsxs)("section",{className:"outer-container relative hidden md:flex flex-row w-full",style:{height:"668px"},children:[(0,a.jsx)("div",{className:"md:bg-angled-mid-new xl:bg-angled-hero bg-center bg-cover z-10 bg-no-repeat absolute left-0 heroShape w-[75%] lg:w-[65%] xl:w-[65%]",style:{backgroundSize:"cover",backgroundPosition:"right",backgroundRepeat:"no-repeat"}})," ",(0,a.jsx)("div",{className:"flex items-center md:pl-10 md:pb-20 xl
28:pb-0 xl:pl-20 w-2/3",children:(0,a.jsx)("div",{className:"NewsCarousel lg:-mt-40 xl:-mt-60 xlSpecial:-mt-40 h-60 flex flex-col justify-between items-start z-20 w-7/12",children:(0,a.jsxs)("div",{className:"flex flex-col justify-between h-full",children:[(0,a.jsx)("div",{className:"Enumerators flex flex-row relative pb-20",children:(0,a.jsx)("ul",{className:"swiper-pagination"})}),(0,a.jsx)("div",{className:"text-white mb-9 md:text-2xl lg:text-4xl font-normal md:leading-7 lg:leading-10",children:e.title}),(0,a.jsx)("div",{className:"text-white lg:h-full md:text-sm lg:text-base font-normal mb-10",children:(0,a.jsx)(f.Z,{children:e.content})}),(e.actions||[]).map(e=>(0,a.jsx)(b.qJ,{data:e},e.link||e.id))]})})}),(0,a.jsx)("div",{className:"overflow-hidden absolute top-0 z-0 right-0 bottom-0",children:(0,o.Z)(e?.featuredImage)&&(0,a.jsx)(es(),{src:(0,o.Z)(e?.featuredImage),alt:"Hero Slide",width:840,height:668,priority:0===t,sizes:"(max-width: 768px) 100vw, (max-width: 1024px) 80vw, 1040px",style:{height:"668px",objectFit:"cover",objectPosition:"center"},className:"max-h-[1900px] h-[668px] md:w-[650px] lg:w-[850px] xl:w-[1040px]"})})]})},e.id))}),(0,a.jsx)(tu.tq,{autoHeight:!0,pagination:{clickable:!0,el:".swiper-pagination",type:"bullets",bulletClass:"swiper-hero-pagination-bullet"},navigation:{prevEl:".homepage-slider-prev",nextEl:".homepage-slider-next"},className:"mySwiper",children:l.slides.map((e,t)=>(0,a.jsx)(tu.o5,{children:(0,a.jsxs)("section",{className:"outer-container mb-8 md:mb-0 md:hidden relative flex flex-col",children:[(0,a.jsx)("div",{className:"bg-angled-mobile absolute bg-right-top bg-cover bg-no-repeat sm:top-20 top-28 w-full z-10",style:{height:"700px"}}),(0,a.jsxs)("div",{className:"flex items-center px-8 pt-8",children:[(0,a.jsx)("div",{className:"NewsCarousel h-full flex flex-col justify-between items-start z-20 w-full",children:(0,a.jsxs)("div",{className:"flex flex-col justify-between sm:mt-[70%] mt-[90%] md:mt-10 h-full",children:[(0,a.jsx)("div",{className:"text-white mb-9 text-2xl font-normal",children:e.title}),(0,a.jsx)("div",{className:"text-white text-sm font-normal",children:(0,a.jsx)(f.Z,{children:e.content})}),(e.actions||[]).map(e=>(0,a.jsx)(b.qJ,{data:e},e.id||e.link))]})}),(0,a.jsx)("div",{className:"w-full absolute top-0 left-0 overflow-hidden ",children:(0,o.Z)(e?.mobileImage)&&(0,a.jsx)(es(),{src:(0,o.Z)(e?.mobileImage),alt:"Hero Slide",width:650,height:668,priority:0===t,sizes:"(max-width: 768px) 100vw, 650px",className:"w-full h-full min-h-[400px] max-h-[668px] object-cover"})})]})]})},e.id))})]})},template:tj},...Z.ZP,ComponentBlocksText2:{Component:e=>{let{index:t,data:l}=e;return(0,a.jsxs)("div",{className:" mx-auto px-4 sm:px-6 md:px-10 lg:px-16 xl:px-20",children:[(0,a.jsx)("div",{}),(0,a.jsx)("div",{className:` ${l.classes}   block  w-full  md:${l.textWidth} phoneLarge:mx-auto ${l.textColor}`,children:(0,a.jsx)(f.Z,{className:`leading-7  text-left ${l.fontSize}  ${l.textAlign}   `,children:l.content})})]})},template:{type:"text",label:"Text 2",defaultItem:{textColor:"text-alkDarkGrey",content:"Some content here",_template:"ComponentBlocksText",textWidth:"w-auto",fontSize:"text-base",classes:""},fields:[{component:"select",name:"fontSize",label:"Font Size",description:"Select the font size of the text",options:[{value:"text-xs",label:"12"},{value:"text-xs md:text-sm",label:"14"},{value:"text-sm md:text-base",label:"16"},{value:"text-sm md:text-lg",label:"18"},{value:"text-base md:text-xl",label:"20"},{value:"text-lg md:text-2xl",label:"24"},{value:"text-xl md:text-3xl",label:"30"},{value:"text-2xl md:text-4xl",label:"36"}]},{name:"content",label:"Content",component:"html2"},{name:"classes",label:"Classes",component:"text"},{name:"textColor",label:"Text Color",description:"Receives a tailwindcss class",component:"text"},{component:"radio-group",direction:"horizontal",name:"textWidth",label:"Text Width",description:"Choose the width of the text block",options:[{label:"Small",value:"w-full xl:w-1/3"},{label:"Medium",value:"w-full xl:w-8/12"},{label:"Full",value:"w-full"},{label:"Auto",value:"w-auto"}]},{component:"radio-group",direction:"horizontal",name:"textAlign",label:"Text Align",description:"Choose the alignment of the text",options:[{label:"Left",value:"text-left"},{label:"Center",value:"text-center"},{label:"Right",value:"text-right"}
28,{label:"Justify",value:"text-justify"}]}]}},ComponentBlocksTextWithButton:{Component:e=>{let{index:t,data:l}=e;return(0,a.jsxs)("div",{className:"container mx-auto",children:[(0,a.jsx)("div",{className:"md:w-6/12 text-left block mx-auto",children:(0,a.jsx)("div",{className:"text-base text-alkGrey inline",children:(0,a.jsx)(f.Z,{children:l.content})})}),(0,a.jsx)("div",{className:"md:w-2/12 text-center block mx-auto mt-10 pb-5 flex flex-row",children:(0,a.jsx)(S.Z,{values:l.readMore,blocks:{...b.ZP},direction:"horizontal",className:"flex flex-row"})})]})},template:ty},ComponentBlocksDataOnSharesHero:{Component:e=>{let{index:t,data:l}=e;return(0,a.jsx)("section",{className:"relative mb-16",children:(0,a.jsxs)("div",{className:"z-0 has-overlay relative",children:[(0,a.jsx)("div",{className:"absolute top-0 left-0 right-0 bottom-0 bg-cover bg-center ",style:{backgroundImage:`url('${(0,o.Z)(l.background)}')`}}),(0,a.jsx)("div",{className:"container relative flex m-auto items-center  h-[150px] sm:h-[250px] md:h-[300px] lg:h-[350px] 2xl:h-[480px]",children:(0,a.jsx)("div",{className:"absolute -bottom-16 sm:-bottom-12 left-0 right-0",children:(0,a.jsxs)("div",{className:"flex flex-row align-start",children:[(0,a.jsxs)("button",{type:"button",className:"text-2xl sm:text-3xl md:text-4xl 2xl:text-6xl font-thin uppercase text-white bg-gradient-to-r from-alkLightBlue to-alkPurple pl-10 pr-14 md:pr-28 py-4  sm:py-8 lg:py-8 xl:py-12 2xl:py-16 relative",children:[l.title,l.link&&(0,a.jsx)(x.Z,{to:l.link,children:(0,a.jsx)("div",{className:" absolute lg:-right-10 lg:top-44 z-50 md:-right-10 md:top-44 right-2 top-24",children:(0,a.jsx)(d.Z,{src:m.src})})}),(0,a.jsx)("div",{className:"hidden md:block w-36 h-full absolute top-0 -right-36",children:(0,a.jsx)(d.Z,{src:tw.Z.src})})]}),(0,a.jsx)(d.Z,{src:U.Z.src,className:"hidden md:block w-24 ml-16 mt-6 xl:-mt-2 2xl:mt-6 -mb-16"})]})})})]})})},template:{type:"DataOnShares",label:"Data On Shares Hero",defaultItem:{title:"Insert title here",link:"/",_template:"ComponentBlocksDataOnSharesHero"},fields:[{name:"title",label:"Title",component:"text"},{name:"link",label:"Link",component:"text"},{name:"background",label:"Background",component:"image"}]}},...as.ZP,...tv.ZP,ComponentBlocksNewsHomepage:{Component:e=>{let{latestNews:t=[],data:l={}}=e,s=(0,c.useMemo)(()=>{let e=[],a=[...t];if(l.featuredNews?.length)for(let t of l.featuredNews)t&&(e.push(t),w()(a,{id:t.id}));return e.push(...a),e},[t,l]);if(!s.length)return null;let n=s[0],r=n?.attributes?.featuredImage?.data?.attributes;return(0,a.jsx)("div",{className:"container mx-auto flex flex-col",children:(0,a.jsxs)("div",{className:"lg:flex lg:flex-row justify-center gap-16",children:[(0,a.jsxs)("div",{className:"flex-1 flex flex-col",children:[r&&(0,a.jsx)(es(),{width:1040,height:600,src:(0,o.Z)(r,"large"),alt:(0,p.Z)(r),className:"w-full h-auto object-cover",loading:"lazy",priority:!1,sizes:"(max-width: 1024px) 650px, (max-width: 1280px) 850px, 1040px"}),(0,a.jsx)(tN,{title:n.attributes.title,desc:n.attributes.excerpt,link:`/${n.attributes.slug}`},n.id)]}),(0,a.jsx)("div",{className:"flex flex-col w-full lg:w-80 xl:w-96",children:s.slice(1,4).map(e=>(0,a.jsx)(tN,{title:e.attributes.title,desc:e.attributes.excerpt,link:`/${e.attributes.slug}`},e.id))})]})})},template:{type:"latestNewsHomepage",label:"Latest News Homepage",defaultItem:{link:"/",_template:"ComponentBlocksNewsHomepage"},fields:[{name:"link",label:"Link",component:"text"},{name:"article_category",label:"Category Slug",component:"articleCategory"},{name:"featuredNews",label:"Featured news",component:"list",field:{component:"page",category:"news"}}]}},...tk.ZP,ComponentBlocksTitledTabs:{Component:e=>{let{index:t,data:l,...s}=e,[n,r]=(0,c.useState)(0);return(0,c.useEffect)(()=>{let e=new URLSearchParams(window.location.search);if(e.has(l.name))try{let t=parseInt(e.get(l.name),10);r(t)}catch(e){console.log(e)}},[l.name]),(0,a.jsxs)("div",{className:"container flex flex-col items-center mx-auto phoneSmall:py-10 md:py-20",children:[(0,a.jsx)("h2",{className:"text-4xl md:text-6xl uppercase font-thin text-center phoneSmall:mb-4 md:mb-12",children:l.title}),(0,a.jsx)("div",{className:"w-full md:hidden",children:(0,a.jsx)("div",{className:"flex flex-row overflow-scroll sm:mx-0 mx-5 no-scrollbar text-center my-10 border-alkLightBlue border-opacity-10 phoneSmall:border-b-[1px] sm:border-b-0  md:mb-14",children:l.tabsJson.map((e,t)=>(0,a.jsx)("button",{type:"button",onClick:()=>r(t),className:`tablinks cursor-pointer focus:outline-none py-2 phoneSmall:px-1  phoneLarge:px-5  mx-2 bg-transparent ${t===n?"text-alkLightBlue border-b-2 border-alkLightBlue":"text-alkBlack"} `,children:e.title},e.title))})}),(0,a.jsx)("div",{className:"hidden md:flex flex-row  text-center py-10 ",children:l.tabsJson.map((e,t)=>(0,a.jsx)("button",{type:"button",onClick:()=>r(t),className:`tablinks cursor-pointer focus:outline-none text-lg md:text-2xl py-2 px-5 mx-2 bg-transparent ${t===n?"text-alkLightBlue border-b-2 border-alkLightBlue":"text-alkBlack"} `,children:e.title},e.title))}),(0,a.jsx)(S.Z,{values:l.tabsJson,blocks:{...tH},direction:"horizontal",className:"w-full",itemProps:{activePage:n,...s}})]})},template:tW},ComponentBlocksMultiColumn:{Component:e=>{let{index:t,data:l}=e;return(0,a.jsx)("div",{className:"container flex flex-col md:flex-row items-start  justify-center mx-auto",children:(0,a.jsx)(S.Z,{values:l.components,blocks:{...tV,...O},direction:"horizontal",className:`flex flex-col md:flex-row py-5 mx-auto ${l.classes}`})})},template:{type:"multiColumn",label:"Multiple Columns",defaultItem:{components:[],_template:"ComponentBlocksMultiColumn"},fields:[{name:"components",label:"Components",component:"blocks",templates:{ComponentComponentsColumnItem:tU,ComponentBlocksRes
28ources:$}},{name:"classes",label:"Classes",component:"text"}]}},ComponentBlocksCharts:{Component:e=>{let{index:t,data:l}=e;return(0,a.jsx)("div",{className:"container grid grid-cols-1 md:grid-cols-2 lg:grid-cols-2 gap-9 w-auto m-auto",children:(0,a.jsx)(S.Z,{values:l.chartBlocks,blocks:{...t0},direction:"horizontal",className:"container grid grid-cols-1 md:grid-cols-2 lg:grid-cols-2 gap-9 w-auto m-auto"})})},template:t1},ComponentBlocksMeasureEnvironmentSlider:{Component:e=>{let{index:t,data:l}=e;return(0,a.jsxs)("div",{className:"container mx-auto lg:mx-auto xl:flex xl:flex-row lg:flex lg:flex-col md:flex md:flex-col ",children:[(0,a.jsx)("div",{className:" xl:flex xl:flex-1 xl:max-w-6xl lg:w-full sm:mb-0 lg:mb-14",children:(0,a.jsxs)("div",{className:"relative lg:-ml-48 lg:max-w-4xl xl:mt-40 md:mr-10 md:w-full md:mt-0 ",children:[(0,a.jsx)("div",{className:"absolute  xl:-mt-52 lg:-mt-16 lg:ml-96 xl:ml-96 z-50 md:ml-[70%] md:-mt-16 sm:ml-96 sm:-mt-20 phoneSmall:m-0 phoneLarge:-mt-12 phoneSmall:right-0 sm:right-auto phoneSmall:block",children:(0,a.jsx)(h.LazyLoadImage,{alt:"alt",src:"/_next/static/media/Lineenv.c2651e18.png",className:"xl:ml-40 xl:h-auto lg:ml-60 lg:h-96 md:h-96 md:ml-0 sm:ml-2 sm:h-[350px] phoneLarge:h-[280px] phoneSmall:h-[150px] h-40 "})}),(0,a.jsx)(tu.tq,{spaceBetween:32,slidesPerView:1,navigation:{prevEl:".classname-of-button-prev",nextEl:".classname-of-button-next"},className:"flex-grow mySwiper sm:bg-backgroundenv sm:bg-cover bg-no-repeat h-48 phoneSmall:max-w-xl sm:max-w-3xl phoneSmall:h-[180px] phoneLarge:h-[220px] sm:h-[270px]  md:h-80 lg:w-[1024px] xl:h-96  xl:max-w-4xl  ",children:0!==l.jsonSlides.length?l.jsonSlides.map(e=>(0,a.jsxs)(tu.o5,{children:[(0,a.jsx)("div",{className:"absolute ml-0 phoneSmall:hidden phoneLarge:block sm:mt-5 sm:ml-28  md:mt-8 md:ml-[25%] lg:mt-4 lg:ml-[25%] xl:mt-16 xl:ml-80 z-0  "}),(0,a.jsx)("p",{className:"z-20 text-start text-xl font-bold mb-2 phoneLarge:mb-12  mt-2 phoneSmall:pl-[15%] phoneLarge:pl-[25%] phoneLarge:mt-[8%] sm:pl-[40%]   lg:mt-12  xl:pl-[260px]  xl:mt-24 xl:ml-40 ",children:e.title}),e.data.map(e=>(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("p",{className:"font-medium text-center xl:text-3xl lg:text-3xl md:text-3xl text-lg sm:text-xl text-alkLightBlue xl:ml-20 mb-3 -ml-20 ",children:[e.description," ",(0,a.jsx)("span",{className:"text-black font-normal text-center text-sm",children:e.year})]})}))]},e.title)):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(tu.o5,{children:(0,a.jsx)("div",{className:"absolute xl:mt-16 xl:ml-20 lg:mt-2 lg:ml-32 md:mt-5 sm:mt-5 sm:ml-28  ",children:(0,a.jsx)(h.LazyLoadImage,{className:"xl:ml-32 lg:ml-20 md:ml-40 ",alt:"alt",src:t4.src})})}),(0,a.jsx)(tu.o5,{children:(0,a.jsx)("div",{className:"absolute xl:mt-16 xl:ml-20 lg:mt-2 lg:ml-32 md:mt-5 sm:mt-5 sm:ml-28  ",children:(0,a.jsx)(h.LazyLoadImage,{className:"xl:ml-32 lg:ml-20 md:ml-40 ",alt:"alt",src:t4.src})})}),(0,a.jsx)(tu.o5,{children:(0,a.jsx)("div",{className:"absolute xl:mt-16 xl:ml-20 lg:mt-2 lg:ml-32 md:mt-5 sm:mt-5 sm:ml-28  ",children:(0,a.jsx)(h.LazyLoadImage,{className:"xl:ml-32 lg:ml-20 md:ml-40 ",alt:"alt",src:t4.src})})}),(0,a.jsx)(tu.o5,{children:(0,a.jsx)("div",{className:"absolute xl:mt-16 xl:ml-20 lg:mt-2 lg:ml-32 md:mt-5 sm:mt-5 sm:ml-28  ",children:(0,a.jsx)(h.LazyLoadImage,{className:"xl:ml-32 lg:ml-20 md:ml-40 ",alt:"alt",src:t4.src})})})]})})]})}),(0,a.jsx)("div",{className:"w-full flex-1  2xl:ml-20 xl:ml-10 lg:mx-auto  ",children:(0,a.jsx)("div",{className:"flex-1 leading-6 xl:w-full 2xl:w-auto 2xl:leading-7 md:mr-10 my-0 phoneLarge:text-base phoneLarge:my-10 sm:my-6 md:my-10 phoneSmall:text-sm lg:mx-0 lg:my-0 xl:mt-32 2xl:mt-40  2xl:text-lg ",children:(0,a.jsx)(f.Z,{children:l.content})})})]})},template:t3},...eG,ComponentBlocksHeaderBotanicals:{Component:e=>{let{index:t,data:l}=e;return(0,a.jsx)("div",{className:"bg-no-repeat bg-cover bg-right md:bg-no-repeat  md:h-80 lg:h-60 w-full  h-full md:mb-60",children:(0,a.jsxs)("section",{className:"relative",children:[(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("div",{className:"absolute top-0 left-0 w-full h-full bg-cover bg-no-repeat overflow-x-hidden",style:{backgroundImage:`url(${(0,o.Z)(l.background)})`,backgroundPositionX:"100%",backgroundPositionY:"50%"}}),(0,a.jsxs)("svg",{viewBox:"0 0 789.766 423.526",className:"absolute  h-full hidden md:block",children:[(0,a.jsx)("defs",{children:(0,a.jsxs)("linearGradient",{id:"linear-gradient",y1:"0.567",x2:"0.917",y2:"0.567",gradientUnits:"objectBoundingBox",children:[(0,a.jsx)("stop",{offset:"0",stopColor:"#00aeef"}),(0,a.jsx)("stop",{offset:"1",stopColor:"#5f1aae"})]})}),(0,a.jsx)("path",{id:"Path_10011","data-name":"Path 10011",d:"M-376.441,0H182L413.325,423.526H-376.441Z",transform:"translate(376.441)",fill:"url(#linear-gradient)"})]})]}),(0,a.jsx)("div",{className:"md:container relative flex m-auto items-end md:items-center h-[250px] sm:h-[420px] ",children:(0,a.jsx)("div",{className:"w-full  phoneSmall:bg-gradient-to-r from-alkLightBlue to-alkPurple phoneSmall:bg-no-repeat phoneSmall:bg-cover md:bg-none md:w-auto phoneSmall:h-[80px] md:h-auto md:text-start phoneSmall:text-center phoneSmall:py-[20px]",children:(0,a.jsx)("h1",{className:"md:px-[50px] phoneSmall:text-3xl sm:text-5xl md:text-6xl text-white  font-thin uppercase ",children:l.title})})})]})})},template:{type:"header botanicals",label:"Header Botanicals",defaultItem:{title:"Header Botanicals Title",breadcrumbs:"Breadcrumbs here",_template:"ComponentBlocksHeaderBotanicals"}
28,fields:[{name:"background",label:"Background",component:"image"},{name:"title",label:"Title",component:"text"}]}},...tR,ComponentBlocksCorporateBanner:{Component:e=>{let{index:t,data:l}=e;return(0,a.jsx)("div",{className:" w-full h-40 md:h-60",children:(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)("div",{className:"absolute top-0 left-0 h-40 md:h-60 w-full  bg-cover bg-no-repeat",style:{backgroundImage:`url(${(0,o.Z)(l.background)})`,backgroundPositionX:"50%",backgroundPositionY:"50%"}}),(0,a.jsx)("div",{className:"block absolute right-0 top-0",children:(0,a.jsx)(h.LazyLoadImage,{src:eC.src,alt:"alt",className:"z-10 h-40 sm:h-60 md:h-80  "})})]})})},template:{type:"corporateBanner",label:"Corporate Banner",defaultItem:{_template:"ComponentBlocksCorporateBanner"},fields:[{name:"background",label:"Background",component:"image"},{name:"title",label:"Title",component:"text"}]}},...t5.ZP,ComponentBlocksCarouselNews:{Component:e=>{let{index:t,carouselNews:l,data:s}=e,n=l[`${t}`],[r,i]=(0,c.useState)(n?n.data:[]),m=(0,g.useRouter)(),p=m.locale,u=(0,c.useCallback)(async e=>{let{slug:t="news",newsType:l,locale:a}=e,s=await (0,em.h7)({slug:t,newsType:l,locale:a});s?.data&&(i(s.data),new URLSearchParams(window.location.search))},[]),f=(0,c.useRef)(null);(0,c.useEffect)(()=>{f&&n||u({slug:s.article_category?s.article_category.slug:"news",newsType:s.newsType?s.newsType:null,locale:p})},[s.newsType,p,u,n,s.article_category]);let b=(0,c.useMemo)(()=>{let e=[],t=[];if(t.push(...r),s.featuredNews)for(let l=0;l<s.featuredNews.length;l+=1)e.push(s.featuredNews[l]),w()(t,{id:s.featuredNews[l].id});return e.push(...t),e},[r,s]);return(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("div",{className:"container m-auto flex-auto md:flex gap-12 py-10 relative px-8 lg:px-16",children:[(0,a.jsx)(tu.tq,{spaceBetween:32,slidesPerView:1,observer:!0,observeParents:!0,mousewheel:{sensitivity:1,releaseOnEdges:!0},navigation:{prevEl:".classname-of-button-prev-news-carousel",nextEl:".classname-of-button-next-news-carousel"},className:"mySwiper",breakpoints:{640:{width:640,slidesPerView:1},740:{slidesPerView:2},1024:{slidesPerView:3},1280:{slidesPerView:4}},children:b.map(e=>(0,a.jsx)(tu.o5,{className:"border-b-2 border-alkLightGrey pb-2",children:(0,a.jsx)("div",{children:(0,a.jsxs)(x.Z,{to:`/${e.attributes.slug}`,children:[s.showImages&&(0,a.jsx)(h.LazyLoadImage,{src:(0,o.Z)(e.attributes.featuredImage.data?.attributes,"medium"),className:"h-48 object-cover flex flex-col",alt:"news"}),(0,a.jsx)("h2",{className:`flex-1 text-lg lg:text-2xl mt-6 mb-2 ${s.showImages?"":"h-52 "}`,children:e.attributes.title}),(0,a.jsxs)("div",{className:"flex   flex-row justify-between",children:[(0,a.jsx)("p",{className:"flex-1 text-xs lg:text-sm leading-6 mt-7 text-alkGrey",children:(0,a.jsx)("span",{className:"flex-1",children:j.ou.fromISO(e.attributes.publishedAt).toLocaleString(j.ou.DATE_MED)})}),!1===s.showImages&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:" flex",children:(0,a.jsx)(d.Z,{src:ll.Z.src,className:"mb-1 h-5"})}),(0,a.jsx)("hr",{})]})]})]})})},e.attributes.slug))}),(0,a.jsx)("button",{type:"button",className:"classname-of-button-next-news-carousel absolute right-0 top-32 shadow-2xl z-20 bg-white rounded-full lg:h-16 lg:w-16 h-12 w-12  md:top-36 sm:top-36 flex items-center justify-center ",children:(0,a.jsx)("i",{className:"absolute",children:(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"13",height:"22.737",viewBox:"0 0 13 22.737",children:(0,a.jsx)("path",{id:"Icon_ionic-ios-arrow-down","data-name":"Icon ionic-ios-arrow-down",d:"M11.373,9.081l8.6-8.6a1.618,1.618,0,0,1,2.295,0,1.638,1.638,0,0,1,0,2.3l-9.741,9.748a1.622,1.622,0,0,1-2.241.047L.474,2.786A1.625,1.625,0,0,1,2.769.484Z",transform:"translate(0 22.737) rotate(-90)",fill:"#00aeef"})})})}),(0,a.jsx)("button",{type:"button",className:"classname-of-button-prev-news-carousel absolute left-0 transform rotate-180 top-32 shadow-2xl z-20 bg-white rounded-full lg:h-16 lg:w-16 h-12 w-12  md:top-36 sm:top-36 flex items-center justify-center",children:(0,a.jsx)("i",{className:"absolute",children:(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"13",height:"22.737",viewBox:"0 0 13 22.737",children:(0,a.jsx)("path",{id:"Icon_ionic-ios-arrow-down","data-name":"Icon ionic-ios-arrow-down",d:"M11.373,9.081l8.6-8.6a1.618,1.618,0,0,1,2.295,0,1.638,1.638,0,0,1,0,2.3l-9.741,9.748a1.622,1.622,0,0,1-2.241.047L.474,2.786A1.625,1.625,0,0,1,2.769.484Z",transform:"translate(0 22.737) rotate(-90)",fill:"#00aeef"})})})})]})})},template:la},ComponentBlocksGrid:{Component:e=>{let{index:t,data:l}=e;return(0,a.jsx)("div",{className:"container mx-auto grid grid-cols-1 lg:grid-cols-2 gap-6",children:(0,a.jsx)(S.Z,{values:l.texts,blocks:{...Z.ZP},direction:"horizontal"})})},template:ls},ComponentBlocksVideoGallery:{Component:e=>{let{index:t,data:l}=e;return(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("div",{className:"container m-auto flex-auto md:flex gap-12 py-10 relative px-8 lg:px-0",children:[(0,a.jsx)(tu.tq,{spaceBetween:32,slidesPerView:1,observer:!0,observeParents:!0,navigation:{prevEl:".classname-of-button-prev-video-gallery",nextEl:".classname-of-button-next-video-gallery"},className:"mySwiper",breakpoints:{640:{width:640,slidesPerView:1},740:{slidesPerView:2},1024:{slidesPerView:3},1280:{slidesPerView:4}},children:l.videos&&l.videos.map(e=>(0,a.jsx)(tu.o5,{className:"",children:(0,a.jsxs)("div",{className:"",children:[(0,a.jsxs)(x.Z,{to:e.link,children:[(0,a.jsx)(h.LazyLoadImage,{src:(0,o.Z)(e.featuredImage),alt:(0,p.Z)(e.featuredImage)}),(0,a.jsx)("h3",{className:"text-lg lg:text-2xl mt-6 mb-2",children:e.title})]}),(0,a.jsx)("p",{className:"text-xs lg:text-sm leading-6 text-alkGrey",children:(0,a.jsx)("span",{children:j.ou.fromISO(e.date).toLocaleStr
28ing(j.ou.DATE_MED)})})]})},e.id))}),(0,a.jsx)("button",{type:"button",className:"classname-of-button-next-video-gallery absolute right-0 top-20 rounded-full h-16 w-16 flex items-center justify-center shadow-2xl z-20 bg-white",children:(0,a.jsx)("i",{className:"absolute",children:(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"13",height:"22.737",viewBox:"0 0 13 22.737",children:(0,a.jsx)("path",{id:"Icon_ionic-ios-arrow-down","data-name":"Icon ionic-ios-arrow-down",d:"M11.373,9.081l8.6-8.6a1.618,1.618,0,0,1,2.295,0,1.638,1.638,0,0,1,0,2.3l-9.741,9.748a1.622,1.622,0,0,1-2.241.047L.474,2.786A1.625,1.625,0,0,1,2.769.484Z",transform:"translate(0 22.737) rotate(-90)",fill:"#00aeef"})})})})]})})},template:{type:"videoGallery",label:"Video Gallery",videos:[],fields:[{name:"videos",label:"Videos",component:"group-list",itemProps:e=>({key:e.name,label:e.title}),fields:[{name:"title",label:"Title",component:"text"},{name:"link",label:"Link",component:"text"},{name:"date",label:"Date",component:"date"},{name:"featuredImage",label:"Featured Image",component:"image"}],defaultItem:{title:"Insert Title Here",link:"/about",date:"date"}}]}},...tI.ZP,ComponentBlocksShareholdersAccordion:{Component:e=>{let{index:t,data:l}=e,[s,n]=(0,c.useState)(-1),[r,i]=(0,c.useState)(-1),[o,m]=(0,c.useState)(-1),x=(0,c.useCallback)(e=>{if(s===e){n(-1);return}n(e)}),p=(0,c.useCallback)((e,t)=>{i(e),m(t)});return(0,c.useEffect)(()=>{r>-1&&l.groups.length>r&&l.groups[r].pages.length>o||(i(-1),m(-1))},[l.groups]),(0,a.jsx)("div",{className:"container mx-auto",children:(0,a.jsxs)("div",{className:"flex flex-col md:flex-row",children:[(0,a.jsx)("div",{className:"w-full md:w-96 flex-shrink-0",children:l.groups.map((e,t)=>(0,a.jsxs)("div",{className:" mb-0 pr-4 py-2 relative border-b",children:[(0,a.jsxs)("button",{type:"button",className:"w-full flex flex-row justify-between p-2",onClick:()=>x(t),children:[(0,a.jsx)("p",{className:"text-lg text-alkBlack text-left",children:e.title}),(0,a.jsx)("span",{className:`${s===t?"transform rotate-180":"transform rotate-90"}`,children:(0,a.jsx)(d.Z,{src:ln.src,fill:"#00aeef",className:"h-6"})})]}),s===t&&(0,a.jsx)("div",{className:"overflow-hidden p-10 border-t mt-2 flex flex-col",children:e.pages.map((e,s)=>(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("button",{className:e.title,type:"button",onClick:()=>p(t,s),children:(0,a.jsxs)("div",{className:`text-left text-base leading-9 flex flex-row justify-between
29                            ${t===r&&s===o?" font-bold text-alkLightBlue underline":" leading-9 text-gray-600"}`,children:[e.title,(0,a.jsx)("span",{className:`${t===r&&s===o?"transform rotate-180":"transform rotate-90"}`,children:(0,a.jsx)(d.Z,{src:ln.src,fill:"#00aeef",className:"h-6"})})]})}),(0,a.jsx)("div",{className:`${t===r&&s===o?"block":"hidden"} md:hidden md:flex-1 ml-6 mb-6`,children:(0,a.jsx)(S.Z,{values:l.groups[t].pages[s].blocks,blocks:{...Z.ZP,...tc.ZP,...eX}})})]}))})]},e.title))}),r>=0&&o>=0&&(0,a.jsx)("div",{className:"hidden md:block ml-12",children:(0,a.jsx)(S.Z,{values:l.groups[r].pages[o].blocks,blocks:{...Z.ZP,...tc.ZP,...eX}})})]})})},template:lr},...li.ZP,ComponentBlocksProduct:{Component:e=>{let{index:t,data:l}=e;return(0,a.jsxs)("div",{className:"lg:container pt-10 md:pt-0 self-center justify-center items-center object-center content-center origin-center place-self-center place-items-center place-content-center lg:block grid  mx-auto 2xl:px-4 md:px-5  px-2",children:[(0,a.jsxs)("span",{className:"grid gap-0 md:gap-8  ",children:[(0,a.jsx)("h2",{className:"text-[#00AEEF] font-normal text-base md:text-3xl",children:l.title}),(0,a.jsx)("p",{className:" pl-0 lg:pl-2 font-bold text-[8px] md:text-3xl",children:l.description})]}),(0,a.jsx)("div",{className:"overflow-x-hidden",children:(0,a.jsx)("table",{className:`w-full  text-[8px] md:text-tiny ${l.classes}`,children:l.rows.map((e,t)=>{let l=(t+1)%2==0,s=e.cols.map((e,s)=>(0,a.jsx)("td",{className:`${0===t?"bg-transparent text-left p-0":l?"bg-[#00AEEF1A] ":"bg-[#F5F5F5] "}  sm:border-[4px] border-[1px] border-white${e.classes}`,colSpan:e.colSpan,rowSpan:e.rowSpan,style:{margin:"0px",textAlign:0===t?"left":"center",textAlign:t>=1&&s>=1?"center":"left"},children:(0,a.jsx)(f.Z,{className:" lg:text-[14px] py-2  sm:text-[11px] text-[6px]  md:pl-2",children:e.text})},s));return(0,a.jsx)("tr",{className:e.classes,children:s},t)})})})]})},template:{type:"products",label:"Products Dossers",defaultItem:{rows:[],classes:"",_template:"ComponentBlocksProduct"},fields:[{name:"title",label:"Title",component:"text"},{name:"description",label:"Description",component:"textarea"},{name:"rows",label:"Rows",component:"group-list",defaultItem:{classes:"",cols:[]},fields:[{name:"classes",label:"Classes",component:"text"},{name:"cols",label:"Cols",component:"group-list",itemProps:e=>({key:e.name,label:e.text}),defaultItem:{colSpan:1,classes:"",text:"Insert Text Here"},fields:[{name:"text",label:"Text",component:"html2"},{name:"classes",label:"Classes",component:"text"},{name:"colSpan",label:"ColSpan",component:"number"}
29,{name:"rowSpan",label:"RowSpan",component:"number"}]}]}]}},ComponentBlocksProductTwo:{Component:e=>{let{index:t,data:l}=e;return(0,a.jsxs)("div",{className:"lg:container pt-10 md:pt-0 self-center justify-center items-center object-center content-center origin-center place-self-center place-items-center place-content-center lg:block grid  mx-auto 2xl:px-4 md:px-5  px-2",children:[(0,a.jsxs)("span",{className:"grid gap-0 md:gap-8  ",children:[(0,a.jsx)("h2",{className:"text-[rgb(3,184,157)] font-normal text-base md:text-3xl",children:l.title}),(0,a.jsx)("p",{className:" pl-0 lg:pl-2 font-bold text-[8px] md:text-3xl",children:l.description})]}),(0,a.jsx)("div",{className:"overflow-x-hidden",children:(0,a.jsx)("table",{className:`w-full  text-[8px] md:text-tiny ${l.classes}`,children:l.rows.map((e,t)=>{let l=(t+1)%2==0,s=e.cols.map((e,s)=>(0,a.jsx)("td",{className:`${0===t?"bg-transparent text-left p-0":l?"bg-[#e6f7f5] ":"bg-[#F5F5F5] "}  sm:border-[4px] border-[1px] border-white${e.classes}`,colSpan:e.colSpan,rowSpan:e.rowSpan,style:{margin:"0px",textAlign:0===t?"left":"center",textAlign:t>=1&&s>=1?"center":"left"},children:(0,a.jsx)(f.Z,{className:" lg:text-[14px] py-2 pr-2 sm:text-[11px] text-[6px]  md:pl-2",children:e.text})},s));return(0,a.jsx)("tr",{className:e.classes,children:s},t)})})})]})},template:{type:"products",label:"Products Two Dossers",defaultItem:{rows:[],classes:"",_template:"ComponentBlocksProductTwo"},fields:[{name:"title",label:"Title",component:"text"},{name:"description",label:"Description",component:"textarea"},{name:"rows",label:"Rows",component:"group-list",defaultItem:{classes:"",cols:[]},fields:[{name:"classes",label:"Classes",component:"text"},{name:"cols",label:"Cols",component:"group-list",itemProps:e=>({key:e.name,label:e.text}),defaultItem:{colSpan:1,classes:"",text:"Insert Text Here"},fields:[{name:"text",label:"Text",component:"html2"},{name:"classes",label:"Classes",component:"text"},{name:"colSpan",label:"ColSpan",component:"number"},{name:"rowSpan",label:"RowSpan",component:"number"}]}]}]}},OrangeBlocksTable:{Component:e=>{let{index:t,data:l}=e;return(0,a.jsxs)("div",{className:"lg:container pt-10 md:pt-0 self-center justify-center items-center object-center content-center origin-center place-self-center place-items-center place-content-center lg:block grid  mx-auto 2xl:px-4 md:px-5  px-2",children:[(0,a.jsx)("span",{className:"grid gap-0 md:gap-8 pb-4 ",children:(0,a.jsx)("p",{className:"text-[#d88f46] font-bold pl-2 text-[10px] md:text-3xl",children:l.description})}),(0,a.jsx)("div",{className:"overflow-x-hidden",children:(0,a.jsx)("div",{className:"table-responsive",children:(0,a.jsx)("table",{className:`w-full ${l.classes} text-[10px] md:text-tiny`,children:(0,a.jsxs)("tbody",{children:[(0,a.jsx)("div",{className:"flex font-bold text-white  bg-[#d88f46] lg:text-lg text-center items-center self-center justify-center   md:text-tiny text-[7px]  md:pl-1 p-4 border-[1px] border-white md:border-[5px] lg:border-[5px] w-full   ",children:l.type}),l?.typesrows?.map((e,t)=>a.jsx("tr",{className:`${e.classes} flex pl-0 md:pl-1 font-bold  text-[#d88f46]   self-center text-center items-center justify-center w-full`,children:e.cols.map((e,l)=>a.jsx("td",{className:`
30                       bg-white border-[#d88f46] border-[0.5px] font-bold  lg:w-full md:w-[150px] pronet:w-[100px]  w-[75px]
31
32                    }`,colSpan:e.colSpan,rowSpan:e.rowSpan,style:{textAlign:t>=1&&l>=1?"center":"left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:a.jsx(f.Z,{className:"lg:text-[13px] py-2   text-center  md:text-[10px] text-[7px]  md:pl-1",children:e.text})},l))},t)),l.rows.map((e,t)=>(0,a.jsx)("tr",{className:`${e.classes} flex w-full`,children:e.cols.map((e,l)=>(0,a.jsx)("td",{className:`${t%2==0?"bg-[#faf1e7] ":"bg-white "}   border-[1px] md:border-[5px]  lg:border-[10px] lg:w-full md:w-[150px] pronet:w-[100px]  w-[75px] border-white${e.classes}`,colSpan:e.colSpan,rowSpan:e.rowSpan,style:{textAlign:t>=1&&l>=1?"center":"left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:(0,a.jsx)(f.Z,{className:" lg:text-[14px] py-2     md:text-[11px] text-[7px]  md:pl-2",children:e.text})},l))},t))]})})})})]})},template:{type:"productsorange",label:"ProductsOrange",defaultItem:{rows:[],classes:"",_template:"OrangeBlocksTable"},fields:[{name:"title",label:"Title",component:"text"},{name:"type",label:"Type",component:"text"},{name:"description",label:"Description",component:"textarea"},{name:"typesrows",label:"TypesRows",component:"group-list",defaultItem:{classes:"",cols:[]},fields:[{name:"classes",label:"Classes",component:"text"},{name:"cols",label:"Cols",component:"group-list",itemProps:e=>({key:e.name,label:e.text}),defaultItem:{colSpan:1,classes:"",text:"Insert Text Here"},fields:[{name:"text",label:"Text",component:"html2"},{name:"classes",label:"Classes",component:"text"},{name:"colSpan",label:"ColSpan",component:"number"}
32,{name:"rowSpan",label:"RowSpan",component:"number"}]}]},{name:"rows",label:"Rows",component:"group-list",defaultItem:{classes:"",cols:[]},fields:[{name:"classes",label:"Classes",component:"text"},{name:"cols",label:"Cols",component:"group-list",itemProps:e=>({key:e.name,label:e.text}),defaultItem:{colSpan:1,classes:"",text:"Insert Text Here"},fields:[{name:"text",label:"Text",component:"html2"},{name:"classes",label:"Classes",component:"text"},{name:"colSpan",label:"ColSpan",component:"number"},{name:"rowSpan",label:"RowSpan",component:"number"}]}]}]}},GreenBlocksTable:{Component:e=>{let{index:t,data:l}=e;return(0,a.jsxs)("div",{className:"lg:container pt-10 md:pt-0 self-center justify-center items-center object-center content-center origin-center place-self-center place-items-center place-content-center lg:block grid  mx-auto 2xl:px-4 md:px-5  px-2",children:[(0,a.jsx)("span",{className:"grid gap-0 md:gap-8  ",children:(0,a.jsx)("p",{className:"text-[rgb(3,184,157)] pl-0 lg:pl-2 font-bold text-[10px] md:text-3xl",children:l.description})}),(0,a.jsx)("div",{className:"overflow-x-hidden",children:(0,a.jsx)("div",{className:"table-responsive",children:(0,a.jsx)("table",{className:`w-full ${l.classes}  text-[10px] md:text-tiny`,children:(0,a.jsxs)("tbody",{children:[(0,a.jsx)("div",{className:"flex font-bold text-white  bg-[#03B89D] lg:text-lg text-center items-center self-center justify-center   md:text-tiny text-[7px]  md:pl-1 p-3 border-[1px] border-white md:border-[5px] lg:border-[5px] w-full   ",children:l.type}),l?.typesrows?.map((e,t)=>a.jsx("tr",{className:`${e.classes} flex font-bold pl-0 lg:pl-1  text-[#03B89D]   self-center text-center items-center justify-center w-full`,children:e.cols.map((e,l)=>a.jsx("td",{className:`
33                       bg-white border-[#03B89D]  border-[0.5px] font-bold  lg:w-full md:w-[150px] pronet:w-[100px]  w-[75px]
34
35                    }`,colSpan:e.colSpan,rowSpan:e.rowSpan,style:{textAlign:t>=1&&l>=1?"center":"left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:a.jsx(f.Z,{className:"lg:text-[13px] py-2   text-center  md:text-[10px] text-[7px]  md:pl-1",children:e.text})},l))},t)),l.rows.map((e,t)=>(0,a.jsx)("tr",{className:`${e.classes} flex w-full`,children:e.cols.map((e,l)=>(0,a.jsx)("td",{className:`${t%2==0?"bg-[#E6F7F5] ":"bg-white "}   border-[1px] md:border-[5px]  lg:border-[10px] lg:w-full md:w-[150px] pronet:w-[100px]  w-[75px] border-white${e.classes}`,colSpan:e.colSpan,rowSpan:e.rowSpan,style:{textAlign:t>=1&&l>=1?"center":"left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:(0,a.jsx)(f.Z,{className:" lg:text-[14px] py-2   md:text-[11px] text-[7px]  md:pl-2",children:e.text})},l))},t))]})})})})]})},template:{type:"productsgreen",label:"ProductsGreen",defaultItem:{rows:[],classes:"",_template:"GreenBlocksTable"},fields:[{name:"title",label:"Title",component:"text"},{name:"type",label:"Type",component:"text"},{name:"description",label:"Description",component:"textarea"},{name:"typesrows",label:"TypesRows",component:"group-list",defaultItem:{classes:"",cols:[]},fields:[{name:"classes",label:"Classes",component:"text"},{name:"cols",label:"Cols",component:"group-list",itemProps:e=>({key:e.name,label:e.text}),defaultItem:{colSpan:1,classes:"",text:"Insert Text Here"},fields:[{name:"text",label:"Text",component:"html2"},{name:"classes",label:"Classes",component:"text"},{name:"colSpan",label:"ColSpan",component:"number"},{name:"rowSpan",label:"RowSpan",component:"number"}]}]},{name:"rows",label:"Rows",component:"group-list",defaultItem:{classes:"",cols:[]},fields:[{name:"classes",label:"Classes",component:"text"},{name:"cols",label:"Cols",component:"group-list",itemProps:e=>({key:e.name,label:e.text}),defaultItem:{colSpan:1,classes:"",text:"Insert Text Here"},fields:[{name:"text",label:"Text",component:"html2"},{name:"classes",label:"Classes",component:"text"},{name:"colSpan",label:"ColSpan",component:"number"},{name:"rowSpan",label:"RowSpan",component:"number"}]}]}]}},ComponentBlocksIntegratedSystemItem:{Component:e=>{let{index:t,data:l}=e;return(0,a.jsx)(S.Z,{values:l.banners,name:"banners",blocks:{...eS},direction:"horizontal",className:"container m-auto flex flex-auto flex-col md:flex-row gap-6"})},template:{type:"banners",label:"Banners",defaultItem:{_template:"ComponentBlocksIntegratedSystemItem"}}},ComponentBlocksResearchAndDevelopment:{Component:e=>{let{index:t,data:l}=e;return(0,a.jsx)("div",{className:"relative phoneSmall:pb-16 sm:pb-28",children:(0,a.jsxs)("div",{className:"flex flex-col mx-auto lg:ml-32 2xl:ml-[275px] 2xl:mr-[275px] phoneSmall:w-3/4  lg:w-1/2 pt-20 md:pt-32",children:[(0,a.jsx)(h.LazyLoadImage,{src:(0,o.Z)(l.featuredImage),alt:(0,p.Z)(l.featuredImage),className:"absolute top-0 right-0 overflow-hidden  phoneSmall:w-[130px] phoneLarge:w-[170px] sm:w-1/3  2xl
35:w-[585px]"}),(0,a.jsxs)("div",{className:"flex flex-col w-full mb-10 md:mb-24",children:[(0,a.jsx)("h2",{className:"flex-grow  tracking-wider mb-3 text-black font-thin phoneSmall:text-2xl phoneLarge:text-3xl sm:text-4xl md:text-5xl 2xl:text-6xl phoneSmall:w-1/2 sm:w-4/5 md:w-full 2xl:w-full ",children:l.title}),(0,a.jsx)("hr",{className:" border-alkLightBlue w-3/12 border-solid border-2 rounded"})]}),(0,a.jsx)("div",{className:" phoneSmall:text-sm sm:text-base text-alkDarkGrey 2xl:pl-[120px]",children:(0,a.jsx)(f.Z,{children:l.content})})]})})},template:{type:"researchAndDevelopment",label:"Research and Development",defaultItem:{title:"Insert Title",content:"Some content here",featuredImage:"Add image here",_template:"ComponentBlocksResearchAndDevelopment"},fields:[{name:"title",label:"Title",component:"text"},{name:"content",label:"Content",component:"html2"},{name:"featuredImage",label:"Background",component:"image"}]}},ComponentBlocksScientificActivity:{Component:e=>{let{index:t,data:l}=e,s=(0,c.useMemo)(()=>{let e=tm()(l.activities,e=>{let t=j.ou.fromISO(e.date);return t.year}),t=tp()(Object.keys(e),[e=>-parseInt(e,10)]),a=[];return t.forEach(t=>{a.push({year:t,articles:e[t]})}),a},[l]),[n,r]=(0,c.useState)(0);return(0,a.jsxs)("section",{className:"relative block",children:[(0,a.jsx)("div",{className:"z-0 has-overlay absolute top-0 left-0 w-full overflow-hidden",style:{minHeight:420},children:(0,a.jsx)("div",{className:"absolute top-0 left-0 w-full h-full bg-cover bg-no-repeat",style:{backgroundImage:`url('${(0,o.Z)(l.featuredImage)}')`,backgroundPositionX:"50%",backgroundPositionY:"50%"}})}),(0,a.jsx)("div",{className:"container relative flex m-auto items-center h-48 sm:min-h-[420px]",children:(0,a.jsx)("div",{className:"w-full",children:(0,a.jsx)("h2",{className:"mx-[10px] text-4xl sm:text-6xl text-white font-thin uppercase",children:l.mainTitle})})}),(0,a.jsx)("div",{className:"sm:container relative flex m-auto items-center",style:{minHeight:420},children:(0,a.jsx)("div",{className:"bg-white relative sm:-top-32 w-full block mx-auto shadow-2xl phoneSmall:px-[20px] sm:px-[80px] lg:px-0  py-[50px] sm:py-[105px]",children:(0,a.jsxs)("div",{className:"flex flex-col items-center m-auto justify-between border-b-2 border-alkLightGrey ",children:[(0,a.jsx)(f.Z,{children:l.title}),(0,a.jsxs)("div",{className:"container relative flex flex-col lg:flex-row m-auto items-start mt-10 sm:mt-20 lg:gap-[100px] lg:px-[90px] 2xl:px-[270px] xl:gap-[145px] gap-[60px]",children:[(0,a.jsx)("div",{className:" w-full lg:w-[250px] justify-start pb-2 lg:pb-20 flex flex-row lg:flex-col overflow-scroll no-scrollbar lg:overflow-hidden border-alkLightBlue border-opacity-20 phoneSmall:border-b-[1px] lg:border-b-0 ",children:s.map((e,t)=>(0,a.jsxs)("button",{type:"button",onClick:()=>r(t),className:`flex phoneSmall:flex-col-reverse lg:flex-row justify-start items-center text-2xl px-3 lg:pl:0 lg:pr-3  w-auto lg:w-[250px] py-4 ${t===n?" text-alkLightBlue font-bold active":"border-transparent text-alkLightBlack"} `,children:[(0,a.jsx)("span",{className:t===n?"bg-alkLightBlue w-28 lg:w-10 h-1 mr-[10px] lg:mr-[25px] mb-1 hidden md:inline-block":"bg-transparent w-28 lg:w-10 h-1 mr-[10px] lg:mr-[25px] mb-1 hidden md:inline-block"}),e.year]},e.id))}),(0,a.jsx)("div",{className:"w-full md:w-full",children:s.map((e,t)=>(0,a.jsx)("div",{className:`${t===n?"":"hidden"}  pb-20 overflow-clip overflow-hidden `,children:e.articles.map((e,t)=>(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("h3",{className:"text-xl sm:text-2xl text-black",children:e.title}),(0,a.jsx)("a",{className:"text-sm leading-6 text-alkLightBlue underline overflow-clip",href:e.link,children:e.link}),(0,a.jsx)("hr",{className:"my-4"})]}))},t))})]})]})})})]})},template:th},...lo.ZP,...t8.ZP,ComponentBlocksContactsHero:{Component:e=>{let{index:t,data:l}=e;return(0,a.jsx)("section",{className:"relative xl:mb-28",children:(0,a.jsxs)("div",{className:"z-0 has-overlay relative",children:[(0,a.jsx)("div",{className:"absolute top-0 left-0 right-0 sm:bottom-0 bottom-40 bg-cover bg-center",style:{backgroundImage:`url('${(0,o.Z)(l.background)}')`}}),(0,a.jsxs)("div",{className:"sm:container relative flex sm:m-auto items-center ",style:{minHeight:350},children:[(0,a.jsxs)("div",{className:"flex absolute right-0  sm:-bottom-28 phoneSmall:-bottom-32 phoneLarge:-bottom-8 ",children:[(0,a.jsx)("div",{className:"w-40  h-full  relative sm:flex phoneSmall:hidden ",children:(0,a.jsx)(d.Z,{src:"/_next/static/media/AngledButton180.d834f7c6.svg",fill:"#5F1AAE"})}),(0,a.jsxs)("div",{className:"flex  text-white text-left justify-around  bg-gradient-to-r from-alkPurple to-alkLightBlue lg:pt-16 md:pt-16 sm:pt-5 sm:px-4 sm:py-4 phoneSmall:py-8 phoneSmall:px-12 relative phoneSmall:flex-col phoneLarge:flex-row",children:[(0,a.jsxs)("div",{className:"flex flex-col lg:w-1/2 md:w-1/2 sm:w-1/2 w-full sm:mb-10  mt-3",children:[(0,a.jsx)("h3",{className:"font-semibold mb-3 lg:text-2xl md:text-2xl sm:text-xl text-xl",children:l.title}),(0,a.jsx)("p",{className:"mb-6 md:mb-3 lg:text-base md:text-base sm:text-sm text-lg",children:l.role}),l.address&&(0,a.jsx)("p",{className:`${l.address?"":"hidden"} text-white cursor-pointer lg:text-base md:text-sm sm:text-sm   text-xs`,children:l.address})]}),(0,a.jsxs)("div",{className:"flex-col sm:mt-10 md:mt-8 lg:ml-0 md:ml-0 sm:ml-0  mt-8 phoneLarge:ml-8 flex ",children:[l.phone&&(0,a.jsxs)("div",{className:"flex flex-row",children:[(0,a.jsx)("span",{className:"pr-4",children:(0,a.jsx)("img",{src:lm.src,alt:"mail",className:"w-4 h-4  mt-1"})}),(0,a.jsx)("p",{className:"lg:text-base md:text-base sm:text-sm text-xs mb-4",children:l.phone})]}),l.fax&&(0,a.jsxs)("div",{className:"flex flex-row",children:[(0,a.jsx)("span",{className:"pr-4",children:(0,a.jsx)("img",{src:ld.src,alt:"mail",className:"w-4 h-4  mt-1"})}),(0,a.jsx)("p",{className:"lg:text-base md:text-base sm:text-sm text-xs mb-4",children:l.fax})]}),l.email&&(0,a.jsxs)("div",{className:"flex flex-row",children:[(0,a.jsx)("span",{className:"pr-4",children:(0,a.jsx)("img",{src:lc.src,alt:"mail",className:"w-4 h-4  mt-1"})}),(0,a.jsx)("p",{className:"text-white ml-2  lg:text-base md:text-base sm:text-sm text-xs underline mb-3 cursor-pointer ",children:l.email})]})]}),l.link&&(0,a.jsx)(x.Z,{to:l.link,children:(0,a.jsx)("div",{className:" absolute lg:-right-10 lg:top-44 z-50 md:-right-10 md:top-44 sm:-right-0 sm:top-28 -right-0 top-28",children:(0,a.jsx)(d.Z,{src:m.src})})})]})]}),(0,a.jsxs)("div",{className:"flex-row ml-32 mt-80 lg:hidden md:hidden sm:hidden  hidden ",children:[l.phone&&(0,a.jsxs)("div",{className:"flex flex-row ",children:[(0,a.jsx)("span",{className:"pr-4",children:(0,a.jsx)("img",{src:lm.src,alt:"mail",className:"w-4 h-4  mt-1"})}),(0,a.jsx)("p",{className:"lg:text-base md:text-base sm:text-sm text-xs mb-4",children:l.phone})]}),l.fax&&(0,a.jsxs)("div",{className:"flex flex-row",children:[(0,a.jsx)("span",{className:"pr-4",children:(0,a.jsx)("img",{src:ld.src,alt:"mail",className:"w-4 h-4  mt-1"})}),(0,a.jsx)("p",{className:"lg:text-base md:text-base sm:text-sm text-xs mb-4",children:l.fax})]}),l.email&&(0,a.jsxs)("div",{className:"flex flex-row flex-shrink-0",children:[(0,a.jsx)("span",{className:"pr-4",children:(0,a.jsx)("img",{src:lc.src,alt:"mail",className:"w-4 h-4  mt-1"})}),(0,a.jsx)("p",{className:" ml-2  lg:text-base md:text-base sm:text-sm text-xs underline mb-3 cursor-pointer ",children:l.email})]})]})]})]})})},template:{type:"corporateHeroContact",label:"Corporate Hero Contact",defaultItem:{_template:"ComponentBlocksContactsHero",title:"Insert Title Here",role:"General contact",email:"Insert Email here",address:"Insert address Here",phone:"Insert Phone Here",fax:"Insert Phone Here"},fields:[{name:"title",label:"Title",component:"text"},{name:"role",label:"Role",component:"text"},{name:"email",label:"Email",component:"text"},{name:"address",label:"Address",component:"text"},{name:"phone",label:"Phone",component:"text"},{name:"fax",label:"Fax",component:"text"}
35,{name:"background",label:"Background",component:"image"}]}},ComponentBlocksTermsOfUse:{Component:e=>{let{index:t,data:l}=e,[s]=(0,c.useState)(0);return(0,a.jsxs)("section",{className:"relative",children:[(0,a.jsxs)("div",{className:"z-0 has-overlay absolute top-0 left-0 w-full overflow-hidden h-[200px] sm:h-[420px]",children:[(0,a.jsx)("div",{className:"absolute top-0 left-0 w-full h-full "}),(0,a.jsx)("div",{className:"absolute top-0 left-0 w-full h-full hidden sm:block sm:bg-cover bg-no-repeat",style:{backgroundImage:`url('${(0,o.Z)(l.featuredImage)}')`,backgroundPositionX:"50%",backgroundPositionY:"50%"}}),(0,a.jsx)("div",{className:"absolute top-0 left-0 w-full h-full bg-cover sm:hidden bg-no-repeat",style:{backgroundImage:`url('${(0,o.Z)(l.featuredImageMobile,"large")}')`,backgroundPositionX:"50%",backgroundPositionY:"50%"}})]}),(0,a.jsx)("div",{className:"container relative flex m-auto items-center",style:{minHeight:420},children:(0,a.jsx)("div",{className:"w-full",children:(0,a.jsx)("h1",{className:` ${l.titlecolor} md:text-4xl sm:text-2xl text-xl -mt-24 sm:mt-0 font-normal text-center`,children:l.title})})}),(0,a.jsx)("div",{className:"container relative flex m-auto items-center",style:{minHeight:420},children:(0,a.jsx)("div",{className:"bg-white relative -top-32 w-full block p-4 phoneLarge:p-10 sm:p-14 md:p-16 lg:p-20 xl:p-24 shadow-2xl items-center justify-center mx-auto xl:max-w-screen-lg 2xl:max-w-screen-xl",style:{minHeight:1785},children:(0,a.jsx)(S.Z,{values:l.terms,blocks:{...lx.ZP,...Z.ZP,...tc.ZP,...K,...eG,...lh},itemProps:{activePage:s}})})})]})},template:lu},...lh,ComponentBlocksMediaSlider:{Component:e=>{let{index:t,data:l}=e,[s,n]=(0,c.useState)(0),{t:r}=(0,ec.$G)();return(0,a.jsx)(a.Fragment,{children:l.mediaSlides&&(0,a.jsx)("div",{className:"relative",children:(0,a.jsx)(tu.tq,{loopedSlides:l.mediaSlides.length||1,loop:!0,centeredSlides:"true",spaceBetween:0,pagination:{clickable:!0,el:".swiper-pagination",type:"bullets",bulletClass:"swiper-pagination-bullet"},navigation:{prevEl:".classname-of-button-prev-media",nextEl:".classname-of-button-next-media"},className:"mySwiper",breakpoints:{320:{slidesPerView:"auto",spaceBetween:0,centeredSlides:!0},1024:{slidesPerView:"auto",centeredSlides:!0,spaceBetween:0}},children:l.mediaSlides.map((e,t)=>(0,a.jsxs)(tu.o5,{className:"-mt-1",children:[(0,a.jsx)("div",{className:"relative",style:{transform:"translateX(16%)"},children:(0,a.jsxs)("div",{className:"absolute sm:right-10 right-0 xl:right-40",children:[(0,a.jsx)(d.Z,{src:t6.Z.src,className:"w-80 h-80 -mt-10"}),(0,a.jsx)("svg",{className:"absolute h-28 md:right-20 right-5 -mt-10",xmlns:"http://www.w3.org/2000/svg",width:"134.475",height:"185.558",viewBox:"0 0 134.475 185.558",children:(0,a.jsx)("line",{id:"Line_157","data-name":"Line 157",x2:"127.5",y2:"178.583",transform:"translate(3.487 3.487)",fill:"none",stroke:"#00aeef",strokeLinecap:"round",strokeWidth:"4"})})]})}),(0,a.jsxs)("div",{className:"flex flex-col md:flex-row",children:[(0,a.jsx)("div",{className:"w-full md:w-5/12",children:(0,a.jsx)("img",{src:(0,o.Z)(e.featuredImage),alt:(0,p.Z)(e.featuredImage)})}),(0,a.jsxs)("div",{className:"mt-0  lg:mt-10 sm:mt-0 px-5 w-full md:w-5/12  pt-8 xl:pt-28 pb-8 lg:pb-0 flex flex-col xl:pl-20 items-start",children:[(0,a.jsx)("ul",{className:"swiper-pagination lg:mt-14"}),(0,a.jsxs)("div",{className:"flex-grow ",children:[(0,a.jsx)("h2",{className:"sm:text-2xl text-lg mt-5 mb-10 lg:mr-0",children:e.title}),(0,a.jsx)("div",{className:"text-sm lg:text-base text-alkOffWhite mt-5",children:(0,a.jsx)(f.Z,{children:e.content})}),(0,a.jsx)("div",{className:"mt-8",children:l.mediaSlides[t].actions&&(0,a.jsx)(S.Z,{values:l.mediaSlides[t].actions,blocks:{...b.ZP},direction:"horizontal",className:"flex flex-col mb-10"})})]}),(0,a.jsxs)("div",{className:"flex-none xl:block  ",children:[(0,a.jsx)("button",{type:"button",className:"classname-of-button-next-media text-lg font-bold text-alkLightBlue mb-12",onClick:()=>n((s+1)%l.mediaSlides.length),children:r("next_story")},e.id),(0,a.jsx)("div",{className:"flex",children:(0,a.jsx)("div",{className:" w-full",children:l.mediaSlides.length>=1&&(0,a.jsx)("h3",{className:"lg:text-2xl text-lg mb-28",children:l.mediaSlides[t===l.mediaSlides.length-1?0:t+1].title})})})]})]})]})]},e.title))})})})},template:lg},ComponentBlocksCountryListSubsidiaries:{Component:e=>{let{index:t,data:l}=e,{t:s}=(0,k.$)(),[n,r]=(0,c.useState)(0);return(0,a.jsx)("div",{children:(0,a.jsxs)("div",{className:"phoneSmall:mt-32 phoneLarge:mt-10 sm:mt-20 lg:mt-0 parent w-full flex flex-col md:flex-col lg:flex-col xl:flex-row items-center xl:items-start xl:justify-start container mx-auto xl:pl-[260px] 2xl:pl-[260px]",children:[(0,a.jsxs)("div",{className:"w-[300px] lg:w-[380px] xl:w-[350px] px-8 md:px-0 lg:px-10",children:[(0,a.jsx)("div",{className:"hidden xl:block",children:l.countriesJson.map((e,t)=>(0,a.jsx)("div",{className:"parent ml-8",children:(0,a.jsxs)("button",{type:"button",onClick:()=>r(t),onKeyDown:()=>r(t),className:"flex cursor-pointer flex-row items-center justify-between mb-4",children:[(0,a.jsx)("hr",{className:`border-alkLightBlue border-2 w-8 flex-shrink-0 rounded-xl mr-4 ${t===n?"":"invisible"}`}),(0,a.jsx)(h.LazyLoadImage,{src:(0,o.Z)(e.countryImage,"small"),alt:(0,p.Z)(l.countryImage),style:{width:"34px",height:"34px",marginRight:"7px"}}),(0,a.jsx)("p",{className:`text-2xl text-left text-alkGrey ${t===n?"font-bold":"font-normal"}`,children:e.country})]},e.country)},t))}),(0,a.jsxs)("div",{className:"w-full xl:hidden",children:[(0,a.jsx)("p",{htmlFor:"countriesJson",className:"text-alkGrey text-sm mb-3",children:s("choose_country")}),(0,a.jsx)(e$.v,{as:"div",className:"relative inline-block text-left w-full",children:e=>{let{open:t}=e;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{children:(0,a.jsxs)(e$.v.Button,{className:"inline-flex justify-around h-auto w-full min-w-2/3 items-center  roun
35ded-full shadow-md px-4 py-2  lg:text-2xl md:text-2xl  phone:text-center text-lg font-normal text-alkLightBlue hover:bg-gray-10 focus:outline-none ",children:[l.countriesJson[n]&&(0,a.jsxs)("span",{className:"flex flex-row",children:[(0,a.jsx)(h.LazyLoadImage,{src:(0,o.Z)(l.countriesJson[n].countryImage),alt:(0,p.Z)(l.countriesJson[n].countryImage),style:{width:"34px",height:"34px",marginRight:"7px"}}),l.countriesJson[n].country]}),(0,a.jsx)(eZ.v4q,{className:"-mr-1 ml-2 h-10 w-10","aria-hidden":"true"})]})}),(0,a.jsx)(eO.u,{show:t,as:c.Fragment,enter:"transition ease-out duration-100",enterFrom:"transform opacity-0 scale-95",enterTo:"transform opacity-100 scale-100",leave:"transition ease-in duration-75",leaveFrom:"transform opacity-100 scale-100",leaveTo:"transform opacity-0 scale-95",children:(0,a.jsx)(e$.v.Items,{static:!0,className:"z-50 origin-top-right absolute right-0 mt-2 w-92 rounded-md shadow-lg bg-alkLightGrey ring-1 ring-black ring-opacity-5 focus:outline-none",children:(0,a.jsx)("div",{className:"py-1",children:l.countriesJson.map((e,t)=>(0,a.jsx)(e$.v.Item,{children:s=>{let{active:n}=s;return(0,a.jsx)("button",{onClick:()=>r(t),type:"button",className:function(){for(var e=arguments.length,t=Array(e),l=0;l<e;l++)t[l]=arguments[l];return t.filter(Boolean).join(" ")}(n?"bg-gray-100 text-black":"text-gray-700 bg-white","block w-full text-left px-4 py-2 text-xl"),children:(0,a.jsxs)("span",{className:"flex flex-row",children:[(0,a.jsx)(h.LazyLoadImage,{src:(0,o.Z)(e.countryImage,"small"),alt:(0,p.Z)(l.countryImage),style:{width:"34px",height:"34px",marginRight:"7px"}}),e.country]})})}},t))})})})]})}})]})]}),(0,a.jsx)("div",{className:"phoneSmall:mx-[25px] sm:mx-[75px] lg:mx-[20px] xl:mx-[75px] 2xl:mx-[20px] justify-around flex flex-col pb-40 mb-40",children:(0,a.jsx)("div",{className:`w-full ${(l.option,"pt-4")} flex phoneSmall:flex-col itemst-start`,children:l.countriesJson[n]&&l.countriesJson[n].countryDescriptions&&l.countriesJson[n].countryDescriptions.map(e=>(0,a.jsx)(lf,{title:e.title,role:e.role,companyName:e.companyName,address:e.address,phone:e.phone,fax:e.fax,email:e.email,isActive:!0},e.email))})})]})})},template:{type:"countrylistsubsidiaries",label:"Country List Subsidiaries",defaultItem:{title:"Insert Title",countriesJson:[],option:"sub",_template:"ComponentBlocksCountryListSubsidiaries"},fields:[{name:"countriesJson",label:"Countries",component:"group-list",itemProps:e=>({key:e.name,label:e.country}),fields:[{name:"country",label:"Insert Country Name",component:"text"},{name:"countryImage",label:"Insert Country Image",component:"image"},{name:"countryDescriptions",label:"Contacts",component:"group-list",itemProps:e=>({key:e.name,label:e.title}),fields:[{name:"title",label:"Title",component:"text"},{name:"role",label:"Role",component:"text"},{name:"email",label:"Email",component:"text"},{name:"address",label:"Address",component:"html2"},{name:"companyName",label:"Company name",component:"text"},{name:"phone",label:"Phone",component:"text"},{name:"fax",label:"Fax",component:"text"}]}]}]}},ComponentBlocksCorporateContacts:{Component:e=>{let{data:t,index:l}=e,[s,n]=(0,c.useState)(0);return(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("div",{className:"phoneSmall:mx-[25px] sm:mx-[75px] lg:mx-[75px] justify-around content-center flex flex-col xl:mx-[200px] 2xl:mx-[300px]  mb-40",children:(0,a.jsxs)("div",{className:"flex phoneSmall:flex-col xl:flex-row",children:[t.itemsJson&&0!==t.itemsJson.length&&(0,a.jsx)(lb,{titleList:t.itemsJson,currentTitle:s,setCurrentTitle:n}),t.itemsJson.map((e,l)=>(0,a.jsx)("div",{className:`sm:w-auto xl:w-2/3 contacts grid lg:grid-cols-2 xl:grid-cols-1 phoneSmall:flex-col sm:gap-0 md:gap-0 lg:gap-4 xl:gap-0 sm:flex-col md:flex-row xl:flex-col xl:ml-14 xl:mt-0 phoneSmall:mt-6 ${l!==s?"hidden":""}`,children:t.itemsJson&&t.itemsJson[s]&&t.itemsJson[s].descriptions&&t.itemsJson[s].descriptions.map(e=>(0,a.jsx)(lf,{title:e.title,role:e.role,content:e.content,address:e.address,phone:e.phone,fax:e.fax,email:e.email,email2:e.email2,isActive:!0},`${e.email}${e.title}${e.role}${e.address}`))},l))]})})})},template:{type:"corporateContacts",label:"Corporate Contacts",defaultItem:{itemsJson:[],_template:"ComponentBlocksCorporateContacts"},fields:[{name:"itemsJson",label:"Items",itemProps:e=>({key:e.name,label:e.title}),component:"group-list",fields:[{name:"title",label:"Insert Title",component:"text"},{name:"descriptions",label:"Descriptions",itemProps:e=>({key:e.name,label:e.title}),component:"group-list",fields:[{name:"title",label:"Title",component:"html2"},{name:"role",label:"Role",component:"html2"},{name:"email",label:"Email",component:"text"},{name:"email2",label:"Email",component:"text"},{name:"address",label:"Address",component:"text"},{name:"phone",label:"Phone",component:"text"},{name:"fax",label:"Fax",component:"text"},{name:"content",label:"Content",component:"text"}],defaultItem:{title:"Insert Title Here",role:"Insert Role Here",email:"Insert Email here",email2:"Insert Email here",address:"Insert Adress Here",phone:"Insert Phone Here",fax:"Insert Fax Here",content:"Insert Content Here"}}],defaultItem:{title:"Insert Title Here"}}]}},ComponentBlocksMonographsBook:{Component:e=>{let{data:t,index:l}=e;return(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("section",{className:"relative lg:block",children:[(0,a.jsxs)("div",{className:"z-0 has-overlay absolute top-0 left-0 w-full  overflow-hidden",style:{minHeight:420},children:[(0,a.jsx)("div",{className:"absolute top-0 left-0 w-full h-full bg-cover bg-no-repeat bg-gradient-to-r from-alkLightBlue to-alkPurple  mi
35x-blend-multiply"}),(0,a.jsx)("div",{className:"absolute top-0 left-0 w-full h-full bg-cover bg-no-repeat hidden",style:{backgroundImage:`url(${lv})`,backgroundPositionX:"50%",backgroundPositionY:"50%"}}),(0,a.jsx)("div",{className:"absolute top-0 left-0 w-full h-full bg-cover bg-no-repeat bg-gradient-to-r from-alkLightBlue to-alkPurple opacity-80 mix-blend-multiply hidden"})]}),(0,a.jsx)("div",{className:"container relative flex m-auto pt-20",style:{minHeight:320},children:(0,a.jsx)("div",{className:"w-full",children:(0,a.jsx)("h2",{className:"text-3xl text-white font-normal text-center",children:t.title})})}),(0,a.jsx)("div",{className:"container relative flex m-auto items-center",style:{minHeight:420},children:(0,a.jsx)("div",{className:`bg-white relative -top-32 w-full p-12 shadow-2xl ${t.monograph?"lg:pt-6 lg:px-40":""}`,children:(0,a.jsxs)("div",{children:[(0,a.jsx)("h2",{className:`text-3xl md:text-6xl font-thin text-alkLightBlack text-center mb-8 mt-4 ${t.monograph?"hidden":""}`,children:t.monographsTitle}),(0,a.jsx)("p",{className:`text-base leading-relaxed text-alkLightBlack text-center ${t.monograph?"hidden":""}`,children:t.description}),(0,a.jsx)("div",{className:`pt-8 lg:pt-16 ${t.monograph?"lg:pt-0":""}`,children:t.file&&(0,a.jsx)(lw,{file:t.file,booklet:t.booklet})})]})})})]})})},template:{type:"monographsBook",label:"Monographs Book",defaultItem:{_template:"ComponentBlocksMonographsBook"},fields:[{name:"monographsTitle",label:"Monographs Title",component:"text"},{name:"title",label:"Title",component:"text"},{name:"description",label:"Monographs Description",component:"text"},{name:"file",label:"File",component:"file",uploadDir:()=>"/"},{name:"booklet",component:"toggle",label:"Two Page Booklet",toggleLabels:{true:"On",false:"Off"}},{name:"monograph",component:"toggle",label:"Hide Monographs Title ",toggleLabels:{true:"On",false:"Off"}}]}},ComponentBlocksMonographs:{Component:e=>{let{data:t,index:l}=e;return(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("section",{className:"relative lg:block",children:[(0,a.jsxs)("div",{className:"z-0 has-overlay absolute top-0 left-0 w-full  overflow-hidden",style:{minHeight:420},children:[(0,a.jsx)("div",{className:"absolute top-0 left-0 w-full h-full bg-cover bg-no-repeat bg-gradient-to-r from-alkLightBlue to-alkPurple  mi
35x-blend-multiply"}),(0,a.jsx)("div",{className:"absolute top-0 left-0 w-full h-full bg-cover bg-no-repeat hidden",style:{backgroundImage:`url(${lv})`,backgroundPositionX:"50%",backgroundPositionY:"50%"}}),(0,a.jsx)("div",{className:"absolute top-0 left-0 w-full h-full bg-cover bg-no-repeat bg-gradient-to-r from-alkLightBlue to-alkPurple opacity-80 mix-blend-multiply hidden"})]}),(0,a.jsx)("div",{className:"container relative flex m-auto pt-20",style:{minHeight:320},children:(0,a.jsx)("div",{className:"w-full",children:(0,a.jsx)("h2",{className:"text-3xl text-white font-normal text-center",children:t.title})})}),(0,a.jsx)("div",{className:"container relative flex m-auto items-center",style:{minHeight:420},children:(0,a.jsx)("div",{className:"bg-white relative -top-32 w-full p-12 shadow-2xl",children:(0,a.jsx)("div",{className:"flex flex-col md:flex-row gap-8",children:t.monographs&&t.monographs.map(e=>(0,a.jsx)(lk,{imgProduct:(0,o.Z)(e.productImage),titleProduct:e.productTitle,linkProduct:e.link},e.productTitle))})})})]})})},template:{type:"monographs",label:"Monographs",defaultItem:{title:"Insert Title Here...",monographs:[],_template:"ComponentBlocksMonographs"},fields:[{name:"title",label:"Title",component:"text"},{name:"monographs",label:"Products",component:"group-list",itemProps:e=>({key:e.name,label:e.productTitle}),fields:[{name:"productTitle",label:"Product Title",component:"text"},{name:"productImage",label:"Product Image",component:"image"},{name:"link",label:"Product Link",component:"text"}],defaultItem:{productTitle:"Insert Title Here",link:"/about"}}]}},ComponentBlocksProductCarousel:{Component:e=>{let{index:t,data:l}=e;return(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("div",{className:"container mx-auto grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-4 relative",style:{direction:"rtl"},children:l.productsJson&&l.productsJson.map(e=>(0,a.jsxs)("div",{style:{direction:"ltr"},className:0==e.link.length?" ":"hover:shadow-xl",children:[(0,a.jsxs)(x.Z,{to:e.link,children:[(0,a.jsx)(h.LazyLoadImage,{src:(0,o.Z)(e.featuredImage,"medium"),alt:(0,p.Z)(e.featuredImage)}),e.showText&&(0,a.jsx)("h3",{className:"text-lg lg:text-2xl mt-6 mb-2 ml-4",children:e.title})]}),(0,a.jsx)("p",{className:"text-xs lg:text-sm leading-6 text-alkGrey"}),e.showText&&(0,a.jsx)("h3",{className:" text-alkGrey text-md lg:text-xl mt-6 mb-2",children:e.text})]},e.link))})})},template:{type:"productCarousel",label:"Brand Carousel",defaultItem:{productsJson:[],showButtons:!1,swipeKey:"a"},fields:[{name:"swipeKey",label:"Key",component:"text"},{name:"productsJson",label:"Products",component:"group-list",itemProps:e=>({key:e.name,label:e.title}),fields:[{name:"title",label:"Title",component:"text"},{name:"link",label:"Link",component:"text"},{name:"text",label:"Text",component:"text"},{name:"featuredImage",label:"Featured Image",component:"image"},{component:"toggle",name:"showText",label:"Show Title And Description",toggleLabels:{true:"On",false:"Off"}}],defaultItem:{title:"Insert Title Here",link:"/about",text:"text",showText:!1}},{name:"showButtons",component:"toggle",label:"Show Buttons",description:"Check to show navigation buttons.",toggleLabels:{true:"On",false:"Off"}}]}},ComponentBlocksImageCarousel:{Component:e=>{let{index:t,data:l}=e,s=(0,c.useRef)(null),n=(0,c.useRef)(null),[r,i]=(0,c.useState)(!1),[d,m]=(0,c.useState)(null),x=e=>{m(e),i(!0)},u=()=>{m(null),i(!1)};return(0,c.useEffect)(()=>{let e=document.querySelector(".mySwiper")?.swiper;e&&s.current&&n.current&&(e.params.navigation.prevEl=s.current,e.params.navigation.nextEl=n.current,e.navigation.init(),e.navigation.update())},[]),(0,a.jsxs)("div",{className:"lg:px-52 sm:px-20 px-5 relative container mx-auto",children:[(0,a.jsx)(tu.tq,{spaceBetween:76,slidesPerView:1,observer:!0,observeParents:!0,className:"mySwiper",breakpoints:{640:{slidesPerView:1},740:{slidesPerView:2},1024:{slidesPerView:2},1280:{slidesPerView:3}},children:l.productsJson?.map((e,t)=>a.jsx(tu.o5,{style:{direction:"ltr"},children:a.jsx("div",{children:a.jsx(h.LazyLoadImage,{className:"max-w-[518px] w-full max-h-[448px] h-full cursor-pointer",src:o.Z(e.featuredImage),alt:p.Z(e.featuredImage),onClick:()=>x(o.Z(e.featuredImage))})})},`slide-${t}`))}),(0,a.jsx)("button",{ref:n,type:"button",className:"classname-of-button-next-news-carousel absolute right-0 top-32 shadow-2xl z-20 bg-white rounded-full lg:h-16 lg:w-16 h-12 w-12 xlSpecial:top-36 md:top-20 sm:top-36 flex items-center justify-center",children:(0,a.jsx)("i",{className:"absolute",children:(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"13",height:"22.737",viewBox:"0 0 13 22.737",children:(0,a.jsx)("path",{d:"M11.373,9.081l8.6-8.6a1.618,1.618,0,0,1,2.295,0,1.638,1.638,0,0,1,0,2.3l-9.741,9.748a1.622,1.622,0,0,1-2.241.047L.474,2.786A1.625,1.625,0,0,1,2.769.484Z",transform:"translate(0 22.737) rotate(-90)",fill:"#00aeef"})})})}
35),(0,a.jsx)("button",{ref:s,type:"button",className:"classname-of-button-prev-news-carousel absolute left-0 transform rotate-180 top-32 shadow-2xl z-20 bg-white rounded-full lg:h-16 lg:w-16 h-12 w-12 xlSpecial:top-36 md:top-20 sm:top-36 flex items-center justify-center",children:(0,a.jsx)("i",{className:"absolute",children:(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"13",height:"22.737",viewBox:"0 0 13 22.737",children:(0,a.jsx)("path",{d:"M11.373,9.081l8.6-8.6a1.618,1.618,0,0,1,2.295,0,1.638,1.638,0,0,1,0,2.3l-9.741,9.748a1.622,1.622,0,0,1-2.241.047L.474,2.786A1.625,1.625,0,0,1,2.769.484Z",transform:"translate(0 22.737) rotate(-90)",fill:"#00aeef"})})})}),(0,a.jsx)(l_(),{isOpen:r,onRequestClose:u,contentLabel:"Image Modal",className:"fixed inset-0 flex items-center justify-center z-50",overlayClassName:"fixed inset-0 bg-black bg-opacity-75 z-40",ariaHideApp:!1,children:(0,a.jsxs)("div",{className:"relative max-w-4xl w-full max-h-[90vh]",children:[(0,a.jsx)("button",{onClick:u,className:"absolute top-2 right-2 text-white bg-black bg-opacity-50 rounded-full px-3 p-2 z-50",children:"✕"}),(0,a.jsx)("img",{src:d,alt:"Enlarged",className:"w-full h-auto object-contain max-h-[90vh] mx-auto"})]})})]})},template:{type:"productCarousel",label:"Image Carousel",defaultItem:{productsJson:[],showButtons:!1,swipeKey:"a"},fields:[{name:"swipeKey",label:"Key",component:"text"},{name:"productsJson",label:"Products",component:"group-list",itemProps:e=>({key:e.name,label:e.title}),fields:[{name:"featuredImage",label:"Featured Image",component:"image"}],defaultItem:{title:"Insert Title Here",link:"/about",text:"text",showText:!1}},{name:"showButtons",component:"toggle",label:"Show Buttons",description:"Check to show navigation buttons.",toggleLabels:{true:"On",false:"Off"}}]}},ComponentBlocksReportADrugForm:{Component:e=>{let{index:t,data:l}=e,{t:s}=(0,ec.$G)(),n=/^[A-Za-z0-9ĂÂÎȘȚăâîșțА-Яа-яЃѓЉљЊњЌќЅѕЈјЏџ,./\s-]+$/,r=(0,c.useMemo)(()=>[N.object().shape({name:N.string().matches(n,s("invalid_characters")),surname:N.string().matches(n,s("invalid_characters")),email:N.string().email(s("invalid_email")).required(s("required_input")),country:N.string().matches(n,s("invalid_characters")).required(s("required_input")),qualification:N.string().matches(n,s("invalid_characters")).required(s("required_input")),number:N.string().matches(/^[\d+]+$/,s("only_numbers_plus"))}),N.object().shape({initials:N.string().matches(n,s("invalid_characters")),reporterCountry:N.string().matches(n,s("invalid_characters")).required(s("required_input")),date:N.date().max(new Date,s("no_future_dates")).required(s("required_input")),sex:N.string().required(s("required_input"))}),N.object().shape({description:N.string().matches(n,s("invalid_characters")).required(s("required_input")),dateOfOccurance:N.date().max(new Date,s("no_future_dates")).required(s("required_input"))}),N.object().shape({tradeName:N.string().matches(n,s("invalid_characters")).required(s("required_input")),INN:N.string().matches(n,s("invalid_characters")).required(s("required_input")),pharmaceuticalForm:N.string().matches(n,s("invalid_characters")).required(s("required_input")),strength:N.string().matches(n,s("invalid_characters")).required(s("required_input")),reactionAfterStopping:N.string().required(s("required_input")),nameOfManufacturer:N.string().matches(n,s("invalid_characters")),batchNumber:N.string().matches(n,s("invalid_characters")),dailyDose:N.string().matches(n,s("invalid_characters")),routeOfAdministration:N.string().matches(n,s("invalid_characters")),indicationOfUse:N.string().matches(n,s("invalid_characters")),therapyDatesTo:N.string().max(new Date,s("no_future_dates")),therapyDatesFrom:N.string().max(new Date,s("no_future_dates")),therapyDuration:N.string().matches(n,s("invalid_characters")),reactionAfterReintroduction:N.string().matches(n,s("invalid_characters"))}),N.object().shape({allergies:N.string().matches(n,s("invalid_characters")).required(s("required_input")),medicines:N.string().matches(n,s("invalid_characters")).required(s("required_input")),pregnantOrBreastfeeding:N.string().matches(n,s("invalid_characters"))})],[]),[i,o]=(0,c.useState)(0),d=r[i],[m,x]=(0,c.useState)(!1),[p,h]=(0,c.useState)(null),[u,g]=(0,c.useState)(!1),b=e=>{e>0&&o(e-1)},[j,y]=(0,c.useState)(!0);(0,c.useEffect)(()=>{"true"==lB.env.NEXT_PUBLIC_ENSURE_REPORT&&"user"!==localStorage.getItem("userType")&&y(!0)},[]);let w=(0,c.useCallback)(async(e,t)=>{let{resetForm:a}=t;if(4===i)try{g(!0),await (0,t9.Z)().post("https://cms.alkaloid.com.mk/api/adverse-reactions",{data:{targetEmail:l.targetEmail,InfoReporter:{name:e.name,surname:e.surname,number:e.number,email:e.email,country:e.country,qualification:e.qualification}
35,PersonReaction:{initials:e.initials,country:e.country,date:e.date,sex:e.sex,reporterCountry:e.reporterCountry},ADRInfo:{description:e.description,date:e.date},SDInfo:{tradeName:e.tradeName,INN:e.INN,pharmaceuticalForm:e.pharmaceuticalForm,strength:e.strength,nameOfManufacturer:e.nameOfManufacturer,batchNumber:e.batchNumber,dailyDose:e.dailyDose,routeOfAdministration:e.routeOfAdministration,indicationOfUse:e.indicationOfUse,therapyDates:`${e.therapyDatesFrom} - ${e.therapyDatesTo}`,therapyDuration:e.therapyDuration,reactionAfterStopping:e.reactionAfterStopping,reactionAfterReintroduction:e.reactionAfterReintroduction},CMDHistory:{medicines:e.medicines,allergies:e.allergies,pregnantOrBreastfeeding:e.pregnantOrBreastfeeding}}})}catch(e){console.log(e)}finally{e.allergies&&i>=4&&setTimeout(()=>{g(!1),x(!0),setTimeout(()=>{x(!1),o(0),a()},5e3)},2e3)}else o(i+1)},[i]);return(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("section",{className:"relative lg:block",children:[(0,a.jsxs)("div",{className:"z-0 has-overlay absolute top-0 left-0 w-full  overflow-hidden",style:{minHeight:420},children:[(0,a.jsx)("div",{className:"absolute top-0 left-0 w-full h-full bg-cover bg-no-repeat bg-gradient-to-r from-alkLightBlue to-alkPurple  mi
35x-blend-multiply"}),(0,a.jsx)("div",{className:"absolute top-0 left-0 w-full h-full bg-cover bg-no-repeat bg-gradient-to-r from-alkLightBlue to-alkPurple opacity-80 mix-blend-multiply hidden"})]}),(0,a.jsx)("div",{className:"container relative flex m-auto pt-20",style:{minHeight:320},children:(0,a.jsx)("div",{className:"w-full",children:(0,a.jsx)("h1",{className:"text-3xl text-white font-normal text-center",children:s("report_a_drug_title")})})}),(0,a.jsx)("div",{className:"container relative flex m-auto items-center",style:{minHeight:420},children:(0,a.jsxs)("div",{className:`bg-white relative -top-32 w-full p-12 ${4===i?"pb-16 sm:pb-40":""} px-6 md:px-24 shadow-2xl`,children:[m&&(0,a.jsx)("div",{className:"absolute w-full h-6 sm:h-10 md:h-24 xl:h-32 bottom-0 text-alkWhite bg-formThankYouGreen left-0 flex items-center justify-center",children:s("report_a_drug_thanks").toUpperCase()}),u&&(0,a.jsx)("div",{className:"absolute w-full h-6 sm:h-10 md:h-24 xl:h-32 bottom-0 text-alkWhite bg-khaki left-0 flex items-center justify-center",children:s("report_a_drug_loading").toUpperCase()}),(0,a.jsxs)("div",{className:"h-10 w-full mb-20 pt-10",children:[(0,a.jsxs)("div",{className:"flex flex-row items-stretch justify-between relative -bottom-2 z-0",children:[(0,a.jsx)("div",{className:`w-full h-1 ${i>=1?"bg-alkLightBlue":"bg-gray-300"} `}),(0,a.jsx)("div",{className:`w-full h-1 ${i>=2?"bg-alkLightBlue":"bg-gray-300"} `}),(0,a.jsx)("div",{className:`w-full h-1 ${i>=3?"bg-alkLightBlue":"bg-gray-300"} `}),(0,a.jsx)("div",{className:`w-full h-1 ${i>=4?"bg-alkLightBlue":"bg-gray-300"} `})]}),(0,a.jsxs)("div",{className:"flex flex-row items-stretch justify-between relative z-10",children:[(0,a.jsx)("div",{className:"rounded-full w-3 h-3 bg-alkLightBlue",children:(0,a.jsx)("span",{className:"relative -top-8 font-bold text-alkLightBlue",children:"1"})}),(0,a.jsx)("div",{className:`rounded-full w-3 h-3 ${i>=1?"bg-alkLightBlue":"bg-gray-300"}`,children:(0,a.jsx)("span",{className:`relative -top-8 font-bold ${i>=1?"text-alkLightBlue":"text-gray-300"}`,children:"2"})}),(0,a.jsx)("div",{className:`rounded-full w-3 h-3 ${i>=2?"bg-alkLightBlue":"bg-gray-300"}`,children:(0,a.jsx)("span",{className:`relative -top-8 font-bold ${i>=2?"text-alkLightBlue":"text-gray-300"}`,children:"3"})}),(0,a.jsx)("div",{className:`rounded-full w-3 h-3 ${i>=3?"bg-alkLightBlue":"bg-gray-300"}`,children:(0,a.jsx)("span",{className:`relative -top-8 font-bold ${i>=3?"text-alkLightBlue":"text-gray-300"}`,children:"4"})}),(0,a.jsx)("div",{className:`rounded-full w-3 h-3 ${i>=4?"bg-alkLightBlue":"bg-gray-300"}`,children:(0,a.jsx)("span",{className:`relative -top-8 font-bold ${i>=4?"text-alkLightBlue":"text-gray-300"}`,children:"5"})})]}),(0,a.jsx)("ul",{className:"w-full lg:mb-40 hidden"})]}),0===i&&(0,a.jsx)("div",{className:"mb-16 text-base",children:(0,a.jsx)(f.Z,{children:l.contentStart})}),(0,a.jsxs)("div",{className:"mb-10 text-base border-l-4 border-alkDarkBlue pl-4",children:[(0,a.jsx)("p",{className:"font-bold",children:s("report_a_drug_alt_contact_title")}),(0,a.jsxs)("p",{children:[s("report_a_drug_alt_email"),":"," ",(0,a.jsx)("a",{className:"text-alkDarkBlue underline",href:"mailto:[email protected]",children:"[email protected]"})]}),(0,a.jsxs)("p",{children:[s("report_a_drug_alt_phone"),":"," ",(0,a.jsx)("a",{className:"text-alkDarkBlue underline",href:"tel:+38923104300",children:"+389 2 3104 300"})]}),(0,a.jsxs)("p",{children:[s("report_a_drug_alt_address"),": Бул. Александар Македонски 12, 1000 Скопје"]})]}),(0,a.jsx)(v.J9,{initialValues:lS,onSubmit:w,validateOnChange:!1,validationSchema:d,children:e=>{let{errors:t,touched:n}=e;return(0,a.jsxs)(v.l0,{children:[(0,a.jsxs)("div",{className:"mb-10",children:[(0,a.jsx)("h3",{className:"text-2xl",children:s(`report_a_drug_title${i}`)}),(0,a.jsx)("div",{className:"m-auto w-20 h-1 inline-block bg-alkLightBlue rounded relative lg:-left-6 md:-left-6 "})]}),(0,a.jsx)("div",{className:"flex flex-col md:flex-row gap-8 px-0 md:px-16"}),0===i&&(0,a.jsx)("div",{children:(0,a.jsxs)("div",{className:"md:grid grid-cols lg:grid-cols-2 gap-x-8 md:gap-x-16 px-0 md:px-16",children:[(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("name_mk")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-4 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"name",id:"name",placeholder:s("name_placeholder")}),(0,a.jsx)(v.Bc,{name:"name",component:"div",className:"text-red-500 text-sm "})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("surname_mk")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-4 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"surname",placeholder:s("surname_placeholder")}),(0,a.jsx)(v.Bc,{name:"surname",component:"div",className:"text-red-500 text-sm "})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("telephone_mk")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-4 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"number",placeholder:s("telephone_placeholder")}),(0,a.jsx)(v.Bc,{name:"number",component:"div",className:"text-red-500 text-sm "})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("email")}),(0,a.jsx)(v.gN,{className:"w-full rouned-md h-10 py-6 pl-3 mb-4 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"email",placeholder:s("email_placeholder"),required:!0}),(0,a.jsx)(v.Bc,{name:"email",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("country")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-4 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"country",placeholder:s("c
35ountry_placeholder"),required:!0}),(0,a.jsx)(v.Bc,{name:"country",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("profession")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-4 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"qualification",placeholder:s("profession_placeholder"),required:!0}),(0,a.jsx)(v.Bc,{name:"qualification",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]})]})}),1===i&&(0,a.jsx)("div",{children:(0,a.jsxs)("div",{className:"md:grid grid-cols lg:grid-cols-2 gap-x-8 md:gap-x-16 px-0 md:px-16",children:[(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("initials")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"initials",id:"initials",placeholder:s("initials_placeholder")}),(0,a.jsx)(v.Bc,{name:"initials",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("country")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"reporterCountry",placeholder:s("country_placeholder")}),(0,a.jsx)(v.Bc,{name:"reporterCountry",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("birthday")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"date",name:"date",max:new Date().toISOString().split("T")[0],placeholder:"Enter your date of birth",onInput:e=>{let t=e.target.value;t>new Date().toISOString().split("T")[0]?e.target.setCustomValidity("Future dates are not allowed"):e.target.setCustomValidity("")}}),(0,a.jsx)(v.Bc,{name:"date",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("sex")}),(0,a.jsxs)(v.gN,{className:"w-full rounded-md py-3 pl-3 mb-8 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",as:"select",name:"sex",required:!0,children:[(0,a.jsx)("option",{className:"placeholder-gray-500",value:"",disabled:!0,children:s("sex_placeholder")}),(0,a.jsx)("option",{value:"male",children:s("male")}),(0,a.jsx)("option",{value:"female",children:s("female")})]}),(0,a.jsx)(v.Bc,{name:"sex",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]})]})}),2===i&&(0,a.jsx)("div",{children:(0,a.jsxs)("div",{className:"md:grid grid-cols lg:grid-cols-2 gap-x-8 md:gap-x-16 px-0 md:px-16",children:[(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("desc_adverse_drug")}),(0,a.jsx)(v.gN,{className:"h-32 w-full rounded-md py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"description",id:"firstName",as:"textarea",required:!0,placeholder:s("information_placeholder")}),(0,a.jsx)(v.Bc,{name:"description",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("date_occurence")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"date",required:!0,onInput:e=>{let t=e.target.value;t>new Date().toISOString().split("T")[0]?e.target.setCustomValidity("Future dates are not allowed"):e.target.setCustomValidity("")},max:new Date().toISOString().split("T")[0],name:"dateOfOccurance",placeholder:"Enter the date of occurrence"}),(0,a.jsx)(v.Bc,{name:"dateOfOccurance",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]})]})}),3===i&&(0,a.jsx)("div",{children:(0,a.jsxs)("div",{className:"md:grid grid-cols lg:grid-cols-2 gap-x-8 md:gap-x-16 px-0 md:px-16",children:[(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("trade_name")}
35),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"tradeName",id:"tradeName",placeholder:s("trade_name_placeholder")}),(0,a.jsx)(v.Bc,{name:"tradeName",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("inn_mk")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"INN",placeholder:s("inn_placeholder")}),(0,a.jsx)(v.Bc,{name:"INN",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("pharmaceutical_form_mk")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"pharmaceuticalForm",placeholder:s("pharmaceutical_form_placeholder")}),(0,a.jsx)(v.Bc,{name:"pharmaceuticalForm",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("strength_mk")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"strength",placeholder:s("strength_placeholder")}),(0,a.jsx)(v.Bc,{name:"strength",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("name_of_manufacturer")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"nameOfManufacturer",placeholder:s("name_of_manufacturer_placeholder")}),(0,a.jsx)(v.Bc,{name:"nameOfManufacturer",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("batch_number")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"batchNumber",placeholder:s("batch_number_placeholder")}),(0,a.jsx)(v.Bc,{name:"batchNumber",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("daily_dose")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"dailyDose",placeholder:s("daily_dose_placeholder")}),(0,a.jsx)(v.Bc,{name:"dailyDose",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("route_of_administration")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"routeOfAdministration",placeholder:s("route_of_administration_placeholder")}),(0,a.jsx)(v.Bc,{name:"routeOfAdministration",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("therapy_date_from_mk")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"date",onInput:e=>{let t=e.target.value;t>new Date().toISOString().split("T")[0]?e.target.setCustomValidity("Future dates are not allowed"):e.target.setCustomValidity("")},max:new Date().toISOString().split("T")[0],name:"therapyDatesFrom",placeholder:"Enter therapy dates from"}),(0,a.jsx)(v.Bc,{name:"therapyDatesFrom",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("therapy_date_to_mk")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"date",onInput:e=>{let t=e.target.value;t>new Date().toISOString().split("T")[0]?e.target.setCustomValidity("Future dates are not allowed"):e.target.setCustomValidity("")},max:new Date().toISOString().split("T")[0],name:"therapyDatesTo",placeholder:"Enter therapy dates to"}),(0,a.jsx)(v.Bc,{name:"therapyDatesTo",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("indication_for_use")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"indicationOfUse",placeholder:s("indication_for_use_placeholder")}),(0,a.jsx)(v.Bc,{name:"indicationOfUse",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("therapy_duration")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"therapyDuration",placeholder:s("therapy_duration_placeholder")}),(0,a.jsx)(v.Bc,{name:"therapyDuration",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("abate_mk")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"reactionAfterStopping",placeholder:s("information_placeholder")}),(0,a.jsx)(v.Bc,{name:"reactionAfterStopping",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("reappear")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"reactionAfterReintroduction",placeholder:""}),(0,a.jsx)(v.Bc,{name:"reactionAfterReintroduction",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]})]})}),4===i&&(0,a.jsx)("div",{children:(0,a.jsxs)("div",{className:"md:grid grid-cols lg:grid-cols-2 gap-x-8 md:gap-x-16 px-0 md:px-16",children:[(0,a.jsxs)("div",{className:"col-span-2",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("all_other_medicines_mk")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"medicines",id:"firstName",placeholder:s("information_placeholder")}),(0,a.jsx)(v.Bc,{name:"medicines",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("allergies_mk")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"allergies",placeholder:s("information_placeholder")}),(0,a.jsx)(v.Bc,{name:"allergies",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("preggo")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"pregnantOrBreastfeeding",placeholder:s("information_placeholder")}),(0,a.jsx)(v.Bc,{name:"pregnantOrBreastfeeding",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsx)("div",{className:"col-span-2",children:(0,a.jsx)("div",{className:"text-base text-alkGrey mb-6",children:(0,a.jsx)(f.Z,{children:l.contentEnd})})})]})}),(0,a.jsxs)("div",{className:"w-full flex flex-col md:flex-row justify-between text-left md:px-16",children:[(0,a.jsxs)("div",{className:"flex flex-col",children:[0!==i&&(0,a.jsx)("button",{type:"button",className:"text-alkOffBlack text-base font-semibold py-3 -ml-10 px-12 phone:-ml-10 border-0 border-transparent roun
35ded-full",onClick:()=>{4===i&&h(null),b(i)},children:s("back")}),4===i&&(0,a.jsx)("div",{className:"mt-4",children:(0,a.jsx)(lC.Z,{sitekey:"6Ld7DW0cAAAAAK2cBctPqIJX3dV8ev2x9FRm5XDC",onChange:h})})]}),(0,a.jsx)("div",{className:"active",children:(0,a.jsx)("div",{className:"transform phoneSmall:scale-75 sm:scale-100 w-full -ml-4 lg:-ml-0 md:-ml-0 sm:ml-0 text-right sm:px-0 2xl:px-16 flex flex-row justify-end items-center",children:4===i&&p?(0,a.jsx)("input",{type:"submit",value:s("submitForm"),className:"text-base cursor-pointer text-white self-end h-12 font-semibold bg-gradient-to-r from-alkLightBlue to-alkPurple py-3 px-12 border-0 border-transparent rounded-full"}):4===i&&(0,a.jsx)("input",{type:"button",value:s("submitForm"),className:"text-base cursor-not-allowed text-white self-end h-12 font-semibold bg-gradient-to-r from-gray-400 to-gray-600 py-3 px-12 border-0 border-transparent rounded-full",disabled:!0})})}),4!==i&&(0,a.jsx)("input",{type:"submit",className:"text-base cursor-pointer text-white font-semibold bg-gradient-to-r from-alkLightBlue to-alkPurple py-3 px-12 border-0 border-transparent rounded-full hover:text-alkLightBlue focus:text-alkLightBlue",value:s("next"),onClick:()=>{3===i&&h(null)}})]})]})}})]})})]})})},template:{type:"reportadrug",label:"Report A Drug Form",defaultItem:{_template:"ComponentBlocksReportADrugForm",targetEmail:"[email protected]",contentStart:"Enter Text Here",contentEnd:"Enter Text Here"},fields:[{name:"targetEmail",label:"Target email",component:"text"},{name:"contentStart",label:"Content Start",component:"html2"},{name:"contentEnd",label:"Content End",component:"html2"}]}},ComponentBlocksReportADrugFormHR:{Component:e=>{let{index:t,data:l}=e,{t:s}=(0,ec.$G)();(0,g.useRouter)();let n=(0,c.useMemo)(()=>[N.object().shape({reporterCountry:N.string().required(s("required_input")),name:N.string().required(s("required_input")),surname:N.string().required(s("required_input")),email:N.string().email().when("phone",{is:e=>!e||0===e.length,then:N.string().email().required(s("telandemail")),otherwise:N.string()}),phone:N.string().when("email",{is:e=>!e||0===e.length,then:N.string().required(s("telandemail")),otherwise:N.string()}),reporter:N.string().oneOf(["Patient","Caregiver","Lawyer","Other"],function(){for(var e=arguments.length,t=Array(e),l=0;l<e;l++)t[l]=arguments[l];let a=t[0].values.split(", ");return`${s("oneOfReporter")}${a.reduce((e,t)=>`${e} ${s(t)}`,"")}`}).required(s("required_input"))},[["email","phone"]]),N.object().shape({country:N.string().required(s("required_input")),initials:N.string().required(s("required_input")),ages:N.string().when("date",{is:e=>!e,then:N.string().required(s("required_input")),otherwise:N.string()}),sex:N.string().required(s("required_input")).oneOf(["Male","Female","Unknown"],function(){for(var e=arguments.length,t=Array(e),l=0;l<e;l++)t[l]=arguments[l];let a=t[0].values.split(", ");return`${s("oneOfSex")}${a.reduce((e,t)=>`${e} ${s(t)}`,"")}`}),ageType:N.string().oneOf(["Year","Month","Week","Day"],function(){for(var e=arguments.length,t=Array(e),l=0;l<e;l++)t[l]=arguments[l];let a=t[0].values.split(", ");return`${s("oneOfAgeType")}${a.reduce((e,t)=>`${e} ${s(t)}`,"")}`}).nullable()}),N.object().shape({dateOfOccurance:N.string().required(s("required_input")),description:N.string().required(s("required_input")),outcome:N.string().required(s("required_input")),indicationOfSideEffects:N.string().oneOf(["A visit to the doctor","Admission to the hospital"],function(){for(var e=arguments.length,t=Array(e),l=0;l<e;l++)t[l]=arguments[l];let a=t[0].values.split(", ");return`${s("oneOfSideEffects")}${a.reduce((e,t)=>`${e} ${s(t)}`,"")}`}).notRequired()}),N.object().shape({brandName:N.string().required(s("required_input")),outcome:N.string().required(s("required_input")).oneOf(["Recovery without consequences","Recovery with consequences","Recovery in progress","Advere reaction ongoing","Death","Unknown"],function(){for(var e=arguments.length,t=Array(e),l=0;l<e;l++)t[l]=arguments[l];let a=t[0].values.split(", ");return`${s("oneOfOutcome")}${a.reduce((e,t)=>
35`${e} ${s(t)}`,"")}`})}),N.object().shape({description:N.string().required(s("required_input"))}),N.object().shape({brandName:N.string().required(s("required_input"))}),N.object().shape({})],[]),[r,i]=(0,c.useState)(0),o=n[r],[d,m]=(0,c.useState)(!1),[x,p]=(0,c.useState)(!1),[h,u]=(0,c.useState)(null),b=e=>{e>0&&i(e-1)},[j,y]=(0,c.useState)(!0);(0,c.useEffect)(()=>{"true"==l$.env.NEXT_PUBLIC_ENSURE_REPORT&&"user"!==localStorage.getItem("userType")&&y(!0)},[]);let w=(0,c.useCallback)(async(e,t)=>{let{resetForm:l}=t;if(4===r)try{p(!0),await (0,t9.Z)().post("https://cms.alkaloid.com.mk/api/reports-of-adverse-drug-reaction-hrs",{data:{InformationAboutTheReporterHR:{name:e.name,surname:e.surname,number:e.phone||null,email:e.email||null,country:e.reporterCountry,reporter:e.reporter},InformationAboutThePersonWhoExperiencedTheAdverseDrugReactionHR:{initials:e.initials,country:e.country,date:e.date||null,gender:e.sex,ages:e.date?e.ages?e.ages:null:e.ages,ageType:e.date?e.ageType?e.ageType:null:e.ageType},AdverseDrugReactionInformationHR:{description:e.description,startDate:e.dateOfOccurance,endDate:e.dateOfEnd,outcomeOfAdverseReaction:e.outcome,sideEffectWasCausedBy:e.indicationOfSideEffects||null},SuspectedDrugInformationHR:{brandName:e.brandName,activeSubstance:e.INN,pharmaceuticalForm:e.pharmaceuticalForm,strength:e.strength,nameOfManufacturer:e.nameOfManufacturer,batchNumber:e.batchNumber,dailyDose:e.dailyDose,routeOfAdministration:e.routeOfAdministration,startDateOfUsingTheMedicinalProduct:e.therapyDatesFrom,endDateOfUsingTheMedicinalProduct:e.therapyDatesTo,indicationOfUse:e.indicationOfUse,therapyDuration:e.therapyDuration,reactionAfterStopping:e.reactionAfterStopping,reactionAfterReintroduction:e.reactionAfterReintroduction},ConcominantDrugsAndMedicalHistoryHR:{medicines:e.medicines,allergies:e.allergies,pregnantOrBreastfeeding:e.pregnantOrBreastfeeding,chosenFamilyDoctor:e.choosenFamilyDoctor}}})}catch(e){console.log(e)}finally{4===r&&setTimeout(()=>{p(!1),m(!0),setTimeout(()=>{m(!1),i(0),l()},5e3)},2e3)}else i(r+1)},[r]);return(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("section",{className:"relative lg:block",children:[(0,a.jsxs)("div",{className:"z-0 has-overlay absolute top-0 left-0 w-full overflow-hidden",style:{minHeight:420},children:[(0,a.jsx)("div",{className:"absolute top-0 left-0 w-full h-full bg-cover bg-no-repeat bg-gradient-to-r from-alkLightBlue to-alkPurple  mi
35x-blend-multiply"}),(0,a.jsx)("div",{className:"absolute top-0 left-0 w-full h-full bg-cover bg-no-repeat bg-gradient-to-r from-alkLightBlue to-alkPurple opacity-80 mix-blend-multiply hidden"})]}),(0,a.jsx)("div",{className:"container relative flex m-auto pt-20",style:{minHeight:320},children:(0,a.jsx)("div",{className:"w-full",children:(0,a.jsx)("h1",{className:"text-3xl text-white font-normal text-center",children:s("report_a_drug_title")})})}),(0,a.jsx)("div",{className:"container relative flex m-auto items-center",style:{minHeight:420},children:(0,a.jsxs)("div",{className:`bg-white relative -top-32 w-full p-12 ${4===r?"pb-16 sm:pb-40":""} px-6 md:px-24 shadow-2xl`,children:[d&&(0,a.jsx)("div",{className:"absolute w-full h-6 sm:h-10 md:h-24 xl:h-32 bottom-0 text-alkWhite bg-formThankYouGreen left-0 flex items-center justify-center",children:s("report_a_drug_thanks").toUpperCase()}),x&&(0,a.jsx)("div",{className:"absolute w-full h-6 sm:h-10 md:h-24 xl:h-32 bottom-0 text-alkWhite bg-khaki left-0 flex items-center justify-center",children:s("report_a_drug_loading").toUpperCase()}),(0,a.jsxs)("div",{className:"h-10 w-full mb-20 pt-10",children:[(0,a.jsxs)("div",{className:"flex flex-row items-stretch justify-between relative -bottom-2 z-0",children:[(0,a.jsx)("div",{className:`w-full h-1 ${r>=1?"bg-alkLightBlue":"bg-gray-300"} `}),(0,a.jsx)("div",{className:`w-full h-1 ${r>=2?"bg-alkLightBlue":"bg-gray-300"} `}),(0,a.jsx)("div",{className:`w-full h-1 ${r>=3?"bg-alkLightBlue":"bg-gray-300"} `}),(0,a.jsx)("div",{className:`w-full h-1 ${r>=4?"bg-alkLightBlue":"bg-gray-300"} `})]}),(0,a.jsxs)("div",{className:"flex flex-row items-stretch justify-between relative z-10",children:[(0,a.jsx)("div",{className:"rounded-full w-3 h-3 bg-alkLightBlue",children:(0,a.jsx)("span",{className:"relative -top-8 font-bold text-alkLightBlue",children:"1"})}),(0,a.jsx)("div",{className:`rounded-full w-3 h-3 ${r>=1?"bg-alkLightBlue":"bg-gray-300"}`,children:(0,a.jsx)("span",{className:`relative -top-8 font-bold ${r>=1?"text-alkLightBlue":"text-gray-300"}`,children:"2"})}),(0,a.jsx)("div",{className:`rounded-full w-3 h-3 ${r>=2?"bg-alkLightBlue":"bg-gray-300"}`,children:(0,a.jsx)("span",{className:`relative -top-8 font-bold ${r>=2?"text-alkLightBlue":"text-gray-300"}`,children:"3"})}),(0,a.jsx)("div",{className:`rounded-full w-3 h-3 ${r>=3?"bg-alkLightBlue":"bg-gray-300"}`,children:(0,a.jsx)("span",{className:`relative -top-8 font-bold ${r>=3?"text-alkLightBlue":"text-gray-300"}`,children:"4"})}),(0,a.jsx)("div",{className:`rounded-full w-3 h-3 ${r>=4?"bg-alkLightBlue":"bg-gray-300"}`,children:(0,a.jsx)("span",{className:`relative -top-8 font-bold ${r>=4?"text-alkLightBlue":"text-gray-300"}`,children:"5"})})]}),(0,a.jsx)("ul",{className:"w-full lg:mb-40 hidden"})]}),0===r&&(0,a.jsx)("p",{className:"mb-16 text-base",children:(0,a.jsx)(f.Z,{children:l.contentStart})}),(0,a.jsx)(v.J9,{initialValues:lO,onSubmit:w,validateOnChange:!1,validationSchema:o,children:(0,a.jsxs)(v.l0,{children:[(0,a.jsxs)("div",{className:"mb-10",children:[(0,a.jsx)("h3",{className:"text-2xl",children:s(`hr_report_a_drug_title${r}`)}),(0,a.jsx)("div",{className:"m-auto w-20 h-1 inline-block bg-alkLightBlue rounded relative lg:-left-6 md:-left-6 "})]}),(0,a.jsx)("div",{className:"flex flex-col md:flex-row gap-8 px-0 md:px-16"}),0===r&&(0,a.jsx)("div",{children:(0,a.jsxs)("div",{className:"md:grid grid-cols lg:grid-cols-2 gap-x-8 md:gap-x-16 px-0 md:px-16",children:[(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("name")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"name",id:"name",placeholder:s("name_placeholder")}),(0,a.jsx)(v.Bc,{name:"name",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("surname")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"surname",placeholder:s("surname_placeholder")}),(0,a.jsx)(v.Bc,{name:"surname",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("telephone")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"phone",pattern:".*\\S+.*",placeholder:s("telephone_placeholder")}),(0,a.jsx)(v.Bc,{name:"phone",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("email")}),(0,a.jsx)(v.gN,{className:"w-full rouned-md h-10 py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"email",name:"email",placeholder:s("email_placeholder")}),(0,a.jsx)(v.Bc,{name:"email",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("country")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"reporterCountry",placeholder:s("c
35ountry_placeholder")}),(0,a.jsx)(v.Bc,{name:"reporterCountry",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("profession-HR")}),(0,a.jsxs)(v.gN,{className:"w-full rounded-md py-3 pl-3 mb-3 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",as:"select",name:"reporter",placeholder:s("reporter_placeholder"),children:[(0,a.jsx)("option",{className:"placeholder-gray-500",value:"",disabled:!0,children:s("reporter_placeholder")}),(0,a.jsx)("option",{value:"Patient",children:s("patient")}),(0,a.jsx)("option",{value:"Caregiver",children:s("caregiver")}),(0,a.jsx)("option",{value:"Lawyer",children:s("lawyer")}),(0,a.jsx)("option",{value:"Other",children:s("other")})]}),(0,a.jsx)(v.Bc,{name:"reporter",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]})]})}),1===r&&(0,a.jsx)("div",{children:(0,a.jsxs)("div",{className:"md:grid grid-cols lg:grid-cols-2 gap-x-8 md:gap-x-16 px-0 md:px-16",children:[(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("initials")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"initials",id:"initials",placeholder:s("initials_placeholder")}),(0,a.jsx)(v.Bc,{name:"initials",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("country")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"country",placeholder:s("country_placeholder")}),(0,a.jsx)(v.Bc,{name:"country",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("birthday")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"date",name:"date",required:!1,placeholder:"Enter your date of birth"})]}),(0,a.jsxs)("div",{className:"md:flex md:flex-row md:gap-10 gap-3 flex flex-col",children:[(0,a.jsxs)("div",{className:"mb-5  md:w-[50%] w-full ",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("sex-HR")}),(0,a.jsxs)(v.gN,{className:"w-full rounded-md py-3  pl-3 mb-2 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",as:"select",name:"sex",children:[(0,a.jsx)("option",{className:"placeholder-gray-500",value:"",disabled:!0,children:s("sex_placeholder-HR")}),(0,a.jsx)("option",{value:"Male",children:s("male")}),(0,a.jsx)("option",{value:"Female",children:s("female")}),(0,a.jsx)("option",{value:"Unknown",children:s("unknown")})]}),(0,a.jsx)(v.Bc,{name:"sex",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"mb-5 md:w-[50%] w-full",children:[(0,a.jsx)("p",{className:"block mb-4",children:s("ages-HR")}),(0,a.jsxs)("div",{className:"flex gap-3 justify-end",children:[(0,a.jsx)(v.gN,{className:"w-[50%] rounded-md py-3 pl-3 mb-2 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"number",name:"ages"}),(0,a.jsxs)(v.gN,{className:"w-[50%] rounded-md py-3  pl-3 mb-2 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",as:"select",name:"ageType",children:[(0,a.jsx)("option",{className:"placeholder-gray-500",value:"",disabled:!0}),(0,a.jsx)("option",{value:"Year",children:s("year-HR")}),(0,a.jsx)("option",{value:"Month",children:s("month-HR")}),(0,a.jsx)("option",{value:"Week",children:s("week-HR")}),(0,a.jsx)("option",{value:"Day",children:s("day-HR")})]})]}),(0,a.jsx)(v.Bc,{name:"ages",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]})]})]})}),2===r&&(0,a.jsx)("div",{children:(0,a.jsxs)("div",{className:"md:grid grid-cols lg:grid-cols-2 gap-x-8 md:gap-x-16 px-0 md:px-16",children:[(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("desc_adverse_drug-HR")}),(0,a.jsx)(v.gN,{className:"h-32 w-full rounded-md py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"description",id:"description",as:"textarea",placeholder:s("information_placeholder")}),(0,a.jsx)(v.Bc,{name:"description",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("date_occurence-HR")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"dateOfOccurance",placeholder:s("date_of_occurance_placeholder")}),(0,a.jsx)(v.Bc,{name:"dateOfOccurance",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("date_end-HR")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"dateOfEnd",placeholder:s("date_of_end_placeholder")})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("outcome")}
35),(0,a.jsxs)(v.gN,{className:"w-full rounded-md py-3 pl-3 mb-2 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",as:"select",name:"outcome",children:[(0,a.jsx)("option",{className:"placeholder-gray-500",value:"",disabled:!0,children:s("reporter_placeholder")}),(0,a.jsx)("option",{value:"Recovery without consequences",children:s("recovery_without_consequences")}),(0,a.jsx)("option",{value:"Recovery with consequences",children:s("recovery_with_consequences")}),(0,a.jsx)("option",{value:"Recovery in progress",children:s("recovery_in_progress")}),(0,a.jsx)("option",{value:"Advere reaction ongoing",children:s("advere_reaction_ongoing")}),(0,a.jsx)("option",{value:"Death",children:s("death")}),(0,a.jsx)("option",{value:"Unknown",children:s("unknown")})]}),(0,a.jsx)(v.Bc,{name:"outcome",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("indication_of_side_effects")}),(0,a.jsxs)(v.gN,{className:"w-full rounded-md py-3 pl-3 mb-2 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",as:"select",name:"indicationOfSideEffects",required:!1,children:[(0,a.jsx)("option",{className:"placeholder-gray-500",value:"",disabled:!0,children:s("reporter_placeholder")}),(0,a.jsx)("option",{value:"A visit to the doctor",children:s("a_visit_to_the_doctor")}),(0,a.jsx)("option",{value:"Admission to the hospital",children:s("admission_to_the_hospital")})]})]})]})}),3===r&&(0,a.jsx)("div",{children:(0,a.jsxs)("div",{className:"md:grid grid-cols lg:grid-cols-2 gap-x-8 md:gap-x-16 px-0 md:px-16",children:[(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("trade_name-HR")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"brandName",id:"brandName",placeholder:s("trade_name_placeholder-HR")}),(0,a.jsx)(v.Bc,{name:"brandName",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("inn-HR")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"INN",placeholder:s("inn_placeholder-HR")})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("pharmaceutical_form")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"pharmaceuticalForm",placeholder:s("pharmaceutical_form_placeholder")})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("strength")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"strength",placeholder:s("strength_placeholder")})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("name_of_manufacturer")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"nameOfManufacturer",placeholder:s("name_of_manufacturer_placeholder")})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("batch_number")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"batchNumber",placeholder:s("batch_number_placeholder")})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("daily_dose")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"dailyDose",placeholder:s("daily_dose_placeholder")})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("route_of_administration")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"routeOfAdministration",placeholder:s("route_of_administration_placeholder")})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("therapy_date_from-HR")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"therapyDatesFrom",placeholder:s("therapy_dates_from_placeholder")})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("therapy_date_to-HR")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"therapyDatesTo",placeholder:s("therapy_dates_to_placeholder")})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("indication_for_use")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"indicationOfUse",placeholder:s("indication_for_use_placeholder")})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("therapy_duration")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"therapyDuration",placeholder:s("therapy_duration_placeholder")})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("abate-HR")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"reactionAfterStopping",placeholder:s("information_placeholder")})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("reappear-HR")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"reactionAfterReintroduction",placeholder:s("information_placeholder")})]})]})}),4===r&&(0,a.jsx)("div",{children:(0,a.jsxs)("div",{className:"md:grid grid-cols lg:grid-cols-2 gap-x-8 md:gap-x-16 px-0 md:px-16",children:[(0,a.jsxs)("div",{className:"col-span-2 ",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("all_other_medicines-HR")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"medicines",id:"firstName",placeholder:s("information_placeholder")})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("allergies-HR")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"allergies",placeholder:s("information_placeholder")})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("preggo")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"pregnantOrBreastfeeding",placeholder:s("preggo-in
35put")})]}),(0,a.jsxs)("div",{className:"col-span-2",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("choosen_family_doctor")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"choosenFamilyDoctor",placeholder:s("choosen_family_doctor_desc")}),(0,a.jsx)(v.Bc,{name:"choosenFamilyDoctor",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsx)("div",{className:"col-span-2",children:(0,a.jsx)("p",{className:"text-base text-alkGrey mb-6",children:(0,a.jsx)(f.Z,{children:l.contentEnd})})})]})}),(0,a.jsxs)("div",{className:"w-full flex flex-col md:flex-row justify-between text-left md:px-16",children:[(0,a.jsxs)("div",{className:"flex flex-col",children:[0!==r&&(0,a.jsx)("button",{type:"button",className:"text-alkOffBlack text-base font-semibold py-3 -ml-10 px-12 phone:-ml-10 border-0 border-transparent rounded-full",onClick:()=>{4===r&&u(null),b(r)},children:s("back")}),4===r&&(0,a.jsx)("div",{className:"mt-4",children:(0,a.jsx)(lC.Z,{sitekey:"6Ld7DW0cAAAAAK2cBctPqIJX3dV8ev2x9FRm5XDC",onChange:u})})]}),(0,a.jsx)("div",{className:"active",children:(0,a.jsx)("div",{className:"transform phoneSmall:scale-75 sm:scale-100 w-full -ml-4 lg:-ml-0 md:-ml-0 sm:ml-0 text-right sm:px-0 2xl:px-16 flex flex-row justify-end items-center",children:4===r&&h?(0,a.jsx)("input",{type:"submit",value:s("submitForm"),className:"text-base cursor-pointer text-white self-end h-12 font-semibold bg-gradient-to-r from-alkLightBlue to-alkPurple py-3 px-12 border-0 border-transparent rounded-full"}):4===r&&(0,a.jsx)("input",{type:"button",value:s("submitForm"),className:"text-base cursor-not-allowed text-white self-end h-12 font-semibold bg-gradient-to-r from-gray-400 to-gray-600 py-3 px-12 border-0 border-transparent rounded-full",disabled:!0})})}),4!==r&&(0,a.jsx)("input",{type:"submit",className:"text-base cursor-pointer text-white font-semibold bg-gradient-to-r from-alkLightBlue to-alkPurple py-3 px-12 border-0 border-transparent rounded-full hover:text-alkLightBlue focus:text-alkLightBlue",value:s("next"),onClick:()=>{3===r&&u(null)}})]})]})})]})})]})})},template:{type:"reportadrug",label:"Report A Drug Form HR",defaultItem:{_template:"ComponentBlocksReportADrugFormHR",contentStart:"Enter Text Here",contentEnd:"Enter Text Here"},fields:[{name:"contentStart",label:"Content Start",component:"html2"},{name:"contentEnd",label:"Content End",component:"html2"}]}},ComponentBlocksReportADrugFormSR:{Component:e=>{let{index:t,data:l}=e,{t:s}=(0,ec.$G)(),n=/^[A-Za-zĂÂÎȘȚăâîșțЉљЊњЋћЂђЖжЗзИиКкЛлМмНнПпРрСсТтУуФфХхЦцЧчШшЏџ0-9,.\/\s-]+$/,r=/^[A-Za-zĂÂÎȘȚăâîșțЉљЊњЋћЂђЖжЗзИиКкЛлМмНнПпРрСсТтУуФфХхЦцЧчШшЏџ\s'\/-]+$/;(0,g.useRouter)();let i=(0,c.useMemo)(()=>[N.object().shape({reporterCountry:N.string().matches(r,s("invalid_characters")).required(s("required_input")),name:N.string().matches(r,s("invalid_characters")).required(s("required_input")),surname:N.string().matches(r,s("invalid_characters")).required(s("required_input")),email:N.string().email().when("phone",{is:e=>!e||0===e.length,then:N.string().email().required(s("telandemail")),otherwise:N.string()}),phone:N.string().when("email",{is:e=>!e||0===e.length,then:N.string().matches(/^[\d+]+$/,s("only_numbers_plus")).required(s("telandemail")),otherwise:N.string()})},[["email","phone"]]),N.object().shape({country:N.string().matches(r,s("invalid_characters")).required(s("required_input")),initials:N.string().matches(r,s("invalid_characters")).required(s("required_input")),ages:N.string().when("date",{is:e=>!e,then:N.string().matches(n,s("invalid_characters")).max(new Date,s("no_future_dates")).required(s("required_input")),otherwise:N.string()}),sex:N.string().required(s("required_input")).oneOf(["Male","Female","Unknown"],function(){for(var e=arguments.length,t=Array(e),l=0;l<e;l++)t[l]=arguments[l];let a=t[0].values.split(", ");return`${s("oneOfSex")}${a.reduce((e,t)=>
35`${e} ${s(t)}`,"")}`}),ageType:N.string().oneOf(["Year","Month","Week","Day"],function(){for(var e=arguments.length,t=Array(e),l=0;l<e;l++)t[l]=arguments[l];let a=t[0].values.split(", ");return`${s("oneOfAgeType")}${a.reduce((e,t)=>`${e} ${s(t)}`,"")}`}).nullable()}),N.object().shape({dateOfOccurance:N.string().matches(n,s("invalid_characters")).required(s("required_input")),dateOfEnd:N.string().matches(n,s("invalid_characters")),description:N.string().matches(r,s("invalid_characters")).required(s("required_input")),outcome:N.string().matches(n,s("invalid_characters")).required(s("required_input")),indicationOfSideEffects:N.string().oneOf(["A visit to the doctor","Admission to the hospital"],function(){for(var e=arguments.length,t=Array(e),l=0;l<e;l++)t[l]=arguments[l];let a=t[0].values.split(", ");return`${s("oneOfSideEffects")}${a.reduce((e,t)=>`${e} ${s(t)}`,"")}`}).notRequired()}),N.object().shape({brandName:N.string().matches(n,s("invalid_characters")).required(s("required_input")),INN:N.string().matches(n,s("invalid_characters")),pharmaceuticalForm:N.string().matches(n,s("invalid_characters")),strength:N.string().matches(n,s("invalid_characters")),nameOfManufacturer:N.string().matches(n,s("invalid_characters")),batchNumber:N.string().matches(n,s("invalid_characters")),dailyDose:N.string().matches(n,s("invalid_characters")),routeOfAdministration:N.string().matches(n,s("invalid_characters")),therapyDatesFrom:N.string().matches(n,s("invalid_characters")),therapyDatesTo:N.string().matches(n,s("invalid_characters")),indicationOfUse:N.string().matches(n,s("invalid_characters")),therapyDuration:N.string().matches(n,s("invalid_characters")),reactionAfterStopping:N.string().matches(n,s("invalid_characters")),reactionAfterReintroduction:N.string().matches(n,s("invalid_characters")),outcome:N.string().required(s("required_input")).oneOf(["Recovery without consequences","Recovery with consequences","Recovery in progress","Adverse reaction ongoing","Death","Unknown"],function(){for(var e=arguments.length,t=Array(e),l=0;l<e;l++)t[l]=arguments[l];let a=t[0].values.split(", ");return`${s("oneOfOutcome")}${a.reduce((e,t)=>`${e} ${s(t)}`,"")}`})}),N.object().shape({allergies:N.string().matches(r,s("invalid_characters")),medicines:N.string().matches(n,s("invalid_characters")),chosenFamilyDoctor:N.string().matches(n,s("invalid_characters")),pregnantOrBreastfeeding:N.string().matches(r,s("invalid_characters"))}),N.object().shape({reporter:N.string().oneOf(["Patient","Caregiver","Lawyer","Other"],function(){for(var e=arguments.length,t=Array(e),l=0;l<e;l++)t[l]=arguments[l];let a=t[0].values.split(", ");return`${s("oneOfReporter")}${a.reduce((e,t)=>`${e} ${s(t)}`,"")}`}).required(s("required_input"))}),N.object().shape({description:N.string().matches(n,s("invalid_characters")).required(s("required_input"))}),N.object().shape({brandName:N.string().matches(n,s("invalid_characters")).required(s("required_input"))}),N.object().shape({})],[]),[o,d]=(0,c.useState)(0),m=i[o],[x,p]=(0,c.useState)(!1),[h,u]=(0,c.useState)(!1),[b,j]=(0,c.useState)(null),y=e=>{e>0&&d(e-1)},[w,k]=(0,c.useState)(!0);(0,c.useEffect)(()=>{"true"==a0.env.NEXT_PUBLIC_ENSURE_REPORT&&"user"!==localStorage.getItem("userType")&&k(!0)},[]);let _=(0,c.useCallback)(async(e,t)=>{let{resetForm:l}=t;if(4===o)try{u(!0),await (0,t9.Z)().post("https://cms.alkaloid.com.mk/api/reports-of-adverse-drug-reaction-srs",{data:{InfoReporterSR:{name:e.name,surname:e.surname,number:e.phone||null,email:e.email||null,country:e.reporterCountry,reporter:e.reporter||null},ADRPersonInfoSR:{initials:e.initials,country:e.country,date:e.date||null,gender:e.sex,ages:e.date?e.ages?e.ages:null:e.ages,ageType:e.date?e.ageType?e.ageType:null:e.ageType},ADRInfoSR:{description:e.description,startDate:e.dateOfOccurance,endDate:e.dateOfEnd,outcomeOfAdverseReaction:e.outcome,sideEffectWasCausedBy:e.indicationOfSideEffects||null},SuspectedDrugInfoSR:{brandName:e.brandName,activeSubstance:e.INN,pharmaceuticalForm:e.pharmaceuticalForm,strength:e.strength,nameOfManufacturer:e.nameOfManufacturer,batchNumber:e.batchNumber,dailyDose:e.dailyDose,routeOfAdministration:e.routeOfAdministration,startDateOfUsingTheMedicinalProduct:e.therapyDatesFrom,endDateOfUsingTheMedicinalProduct:e.therapyDatesTo,indicationOfUse:e.indicationOfUse,therapyDuration:e.therapyDuration,reactionAfterStopping:e.reactionAfterStopping,reactionAfterReintroduction:e.reactionAfterReintroduction},DrugHistorySR:{medicines:e.medicines,allergies:e.allergies,pregnantOrBreastfeeding:e.pregnantOrBreastfeeding,chosenFamilyD
35octor:e.choosenFamilyDoctor}}})}catch(e){console.log(e)}finally{4===o&&setTimeout(()=>{u(!1),p(!0),setTimeout(()=>{p(!1),d(0),l()},5e3)},2e3)}else d(o+1)},[o]);return(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("section",{className:"relative lg:block",children:[(0,a.jsxs)("div",{className:"z-0 has-overlay absolute top-0 left-0 w-full overflow-hidden",style:{minHeight:420},children:[(0,a.jsx)("div",{className:"absolute top-0 left-0 w-full h-full bg-cover bg-no-repeat bg-gradient-to-r from-alkLightBlue to-alkPurple  mix-blend-multiply"}),(0,a.jsx)("div",{className:"absolute top-0 left-0 w-full h-full bg-cover bg-no-repeat bg-gradient-to-r from-alkLightBlue to-alkPurple opacity-80 mix-blend-multiply hidden"})]}),(0,a.jsx)("div",{className:"container relative flex m-auto pt-20",style:{minHeight:320},children:(0,a.jsx)("div",{className:"w-full",children:(0,a.jsx)("h1",{className:"text-3xl text-white font-normal text-center",children:s("report_a_drug_title")})})}),(0,a.jsx)("div",{className:"container relative flex m-auto items-center",style:{minHeight:420},children:(0,a.jsxs)("div",{className:`bg-white relative -top-32 w-full p-12 ${4===o?"pb-16 sm:pb-40":""} px-6 md:px-24 shadow-2xl`,children:[x&&(0,a.jsx)("div",{className:"absolute w-full h-6 sm:h-10 md:h-24 xl:h-32 bottom-0 text-alkWhite bg-formThankYouGreen left-0 flex items-center justify-center",children:s("report_a_drug_thanks").toUpperCase()}),h&&(0,a.jsx)("div",{className:"absolute w-full h-6 sm:h-10 md:h-24 xl:h-32 bottom-0 text-alkWhite bg-khaki left-0 flex items-center justify-center",children:s("report_a_drug_loading").toUpperCase()}),(0,a.jsxs)("div",{className:"h-10 w-full mb-20 pt-10",children:[(0,a.jsxs)("div",{className:"flex flex-row items-stretch justify-between relative -bottom-2 z-0",children:[(0,a.jsx)("div",{className:`w-full h-1 ${o>=1?"bg-alkLightBlue":"bg-gray-300"} `}),(0,a.jsx)("div",{className:`w-full h-1 ${o>=2?"bg-alkLightBlue":"bg-gray-300"} `}),(0,a.jsx)("div",{className:`w-full h-1 ${o>=3?"bg-alkLightBlue":"bg-gray-300"} `}),(0,a.jsx)("div",{className:`w-full h-1 ${o>=4?"bg-alkLightBlue":"bg-gray-300"} `})]}),(0,a.jsxs)("div",{className:"flex flex-row items-stretch justify-between relative z-10",children:[(0,a.jsx)("div",{className:"rounded-full w-3 h-3 bg-alkLightBlue",children:(0,a.jsx)("span",{className:"relative -top-8 font-bold text-alkLightBlue",children:"1"})}),(0,a.jsx)("div",{className:`rounded-full w-3 h-3 ${o>=1?"bg-alkLightBlue":"bg-gray-300"}`,children:(0,a.jsx)("span",{className:`relative -top-8 font-bold ${o>=1?"text-alkLightBlue":"text-gray-300"}`,children:"2"})}),(0,a.jsx)("div",{className:`rounded-full w-3 h-3 ${o>=2?"bg-alkLightBlue":"bg-gray-300"}`,children:(0,a.jsx)("span",{className:`relative -top-8 font-bold ${o>=2?"text-alkLightBlue":"text-gray-300"}`,children:"3"})}),(0,a.jsx)("div",{className:`rounded-full w-3 h-3 ${o>=3?"bg-alkLightBlue":"bg-gray-300"}`,children:(0,a.jsx)("span",{className:`relative -top-8 font-bold ${o>=3?"text-alkLightBlue":"text-gray-300"}`,children:"4"})}),(0,a.jsx)("div",{className:`rounded-full w-3 h-3 ${o>=4?"bg-alkLightBlue":"bg-gray-300"}`,children:(0,a.jsx)("span",{className:`relative -top-8 font-bold ${o>=4?"text-alkLightBlue":"text-gray-300"}`,children:"5"})})]}),(0,a.jsx)("ul",{className:"w-full lg:mb-40 hidden"})]}),0===o&&(0,a.jsx)("p",{className:"mb-16 text-base",children:(0,a.jsx)(f.Z,{children:l.contentStart})}),(0,a.jsx)(v.J9,{initialValues:a1,onSubmit:_,validateOnChange:!1,validationSchema:m,children:(0,a.jsxs)(v.l0,{children:[(0,a.jsxs)("div",{className:"mb-10",children:[(0,a.jsx)("h3",{className:"text-2xl",children:s(`report_a_drug_title${o}`)}),(0,a.jsx)("div",{className:"m-auto w-20 h-1 inline-block bg-alkLightBlue rounded relative lg:-left-6 md:-left-6 "})]}),(0,a.jsx)("div",{className:"flex flex-col md:flex-row gap-8 px-0 md:px-16"}),0===o&&(0,a.jsx)("div",{children:(0,a.jsxs)("div",{className:"md:grid grid-cols lg:grid-cols-2 gap-x-8 md:gap-x-16 px-0 md:px-16",children:[(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("name")}
35),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"name",id:"name",placeholder:s("name_placeholder")}),(0,a.jsx)(v.Bc,{name:"name",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("surname")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"surname",placeholder:s("surname_placeholder")}),(0,a.jsx)(v.Bc,{name:"surname",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("telephone")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"phone",pattern:".*\\S+.*",placeholder:s("telephone_placeholder")}),(0,a.jsx)(v.Bc,{name:"phone",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("email")}),(0,a.jsx)(v.gN,{className:"w-full rouned-md h-10 py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"email",name:"email",placeholder:s("email_placeholder")}),(0,a.jsx)(v.Bc,{name:"email",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("country")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"reporterCountry",placeholder:s("country_placeholder")}),(0,a.jsx)(v.Bc,{name:"reporterCountry",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("profession")}),(0,a.jsxs)(v.gN,{required:!0,className:"w-full rounded-md py-3 pl-3 mb-3 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",as:"select",name:"reporter",placeholder:s("reporter_placeholder"),children:[(0,a.jsx)("option",{className:"placeholder-gray-500",value:"",disabled:!0,children:s("reporter_placeholder")}),(0,a.jsx)("option",{value:"Patient",children:s("patient")}),(0,a.jsx)("option",{value:"Caregiver",children:s("caregiver")}),(0,a.jsx)("option",{value:"Lawyer",children:s("lawyer")}),(0,a.jsx)("option",{value:"Other",children:s("other")})]}),(0,a.jsx)(v.Bc,{name:"reporter",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]})]})}),1===o&&(0,a.jsx)("div",{children:(0,a.jsxs)("div",{className:"md:grid grid-cols lg:grid-cols-2 gap-x-8 md:gap-x-16 px-0 md:px-16",children:[(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("initials")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"initials",id:"initials",placeholder:s("initials_placeholder")}),(0,a.jsx)(v.Bc,{name:"initials",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("country")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"country",placeholder:s("country_placeholder")}),(0,a.jsx)(v.Bc,{name:"country",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("birthday")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"date",name:"date",max:new Date().toISOString().split("T")[0],onInput:e=>{let t=e.target.value;t>new Date().toISOString().split("T")[0]?e.target.setCustomValidity("Future dates are not allowed"):e.target.setCustomValidity("")},required:!1,placeholder:"Enter your date of birth"})]}),(0,a.jsxs)("div",{className:"md:flex md:flex-row md:gap-10 gap-3 flex flex-col",children:[(0,a.jsxs)("div",{className:"mb-5  md:w-[50%] w-full ",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("sex")}),(0,a.jsxs)(v.gN,{className:"w-full rounded-md py-3  pl-3 mb-2 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",as:"select",name:"sex",children:[(0,a.jsx)("option",{className:"placeholder-gray-500",value:"",disabled:!0,children:s("sex_placeholder")}),(0,a.jsx)("option",{value:"Male",children:s("male")}),(0,a.jsx)("option",{value:"Female",children:s("female")}),(0,a.jsx)("option",{value:"Unknown",children:s("unknown")})]}),(0,a.jsx)(v.Bc,{name:"sex",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"mb-5 md:w-[50%] w-full",children:[(0,a.jsx)("p",{className:"block mb-4",children:s("ages-HR")}),(0,a.jsxs)("div",{className:"flex gap-3 justify-end",children:[(0,a.jsx)(v.gN,{className:"w-[50%] rounded-md py-3 pl-3 mb-2 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"number",name:"ages"}),(0,a.jsxs)(v.gN,{className:"w-[50%] rounded-md py-3  pl-3 mb-2 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",as:"select",required:!0,name:"ageType",children:[(0,a.jsx)("option",{className:"placeholder-gray-500",value:"",disabled:!0}),(0,a.jsx)("option",{value:"Year",children:s("year-HR")}),(0,a.jsx)("option",{value:"Month",children:s("month-HR")}),(0,a.jsx)("option",{value:"Week",children:s("week-HR")}),(0,a.jsx)("option",{value:"Day",children:s("day-HR")})]})]}),(0,a.jsx)(v.Bc,{name:"ages",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]})]})]})}),2===o&&(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{className:"md:grid grid-cols lg:grid-cols-2 gap-x-8 md:gap-x-16 px-0 md:px-16",children:[(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("desc_adverse_drug")}),(0,a.jsx)(v.gN,{className:"h-32 w-full rounded-md py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"description",id:"description",as:"textarea",placeholder:s("information_placeholder")}),(0,a.jsx)(v.Bc,{name:"description",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("date_occurence")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"dateOfOccurance",placeholder:s("date_of_occurance_placeholder")}),(0,a.jsx)(v.Bc,{name:"dateOfOccurance",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("date_end-HR")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"dateOfEnd",placeholder:s("date_of_end_placeholder")}),(0,a.jsx)(v.Bc,{name:"dateOfEnd",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("outcome")}
35),(0,a.jsxs)(v.gN,{className:"w-full rounded-md py-3 pl-3 mb-2 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",as:"select",name:"outcome",children:[(0,a.jsx)("option",{className:"placeholder-gray-500",value:"",disabled:!0,children:s("reporter_placeholder")}),(0,a.jsx)("option",{value:"Recovery without consequences",children:s("recovery_without_consequences")}),(0,a.jsx)("option",{value:"Recovery With consequences",children:s("recovery_with_consequences")}),(0,a.jsx)("option",{value:"Recovery in progress",children:s("recovery_in_progress")}),(0,a.jsx)("option",{value:"Adverse reaction ongoing",children:s("advere_reaction_ongoing")}),(0,a.jsx)("option",{value:"Death",children:s("death")}),(0,a.jsx)("option",{value:"Unknown",children:s("unknown")})]}),(0,a.jsx)(v.Bc,{name:"outcome",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("indication_of_side_effects")}),(0,a.jsxs)(v.gN,{className:"w-full rounded-md py-3 pl-3 mb-2 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",as:"select",name:"indicationOfSideEffects",required:!1,children:[(0,a.jsx)("option",{className:"placeholder-gray-500",value:"",disabled:!0,children:s("reporter_placeholder")}),(0,a.jsx)("option",{value:"A visit to the doctor",children:s("a_visit_to_the_doctor")}),(0,a.jsx)("option",{value:"Admission to the hospital",children:s("admission_to_the_hospital")})]})]})]}),3===o&&(0,a.jsx)("div",{children:(0,a.jsxs)("div",{className:"md:grid grid-cols lg:grid-cols-2 gap-x-8 md:gap-x-16 px-0 md:px-16",children:[(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("trade_name")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"brandName",id:"brandName",placeholder:s("trade_name_placeholder")}),(0,a.jsx)(v.Bc,{name:"brandName",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("inn")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"INN",placeholder:s("inn_placeholder")}),(0,a.jsx)(v.Bc,{name:"INN",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("pharmaceutical_form")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"pharmaceuticalForm",placeholder:s("pharmaceutical_form_placeholder")}),(0,a.jsx)(v.Bc,{name:"pharmaceuticalForm",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("strength")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"strength",placeholder:s("strength_placeholder")}),(0,a.jsx)(v.Bc,{name:"strength",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("name_of_manufacturer")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"nameOfManufacturer",placeholder:s("name_of_manufacturer_placeholder")}),(0,a.jsx)(v.Bc,{name:"nameOfManufacturer",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("batch_number")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"batchNumber",placeholder:s("batch_number_placeholder")}),(0,a.jsx)(v.Bc,{name:"batchNumber",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("daily_dose")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"dailyDose",placeholder:s("daily_dose_placeholder")}),(0,a.jsx)(v.Bc,{name:"dailyDose",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("route_of_administration")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"routeOfAdministration",placeholder:s("route_of_administration_placeholder")}),(0,a.jsx)(v.Bc,{name:"routeOfAdministration",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("therapy_date_from")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"therapyDatesFrom",placeholder:s("therapy_dates_from_placeholder")}),(0,a.jsx)(v.Bc,{name:"therapyDatesFrom",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("therapy_date_to")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"therapyDatesTo",placeholder:s("therapy_dates_to_placeholder")}),(0,a.jsx)(v.Bc,{name:"therapyDatesTo",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("indication_for_use")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"indicationOfUse",placeholder:s("indication_for_use_placeholder")}),(0,a.jsx)(v.Bc,{name:"indicationOfUse",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("therapy_duration")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"therapyDuration",placeholder:s("therapy_duration_placeholder")}),(0,a.jsx)(v.Bc,{name:"therapyDuration",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("abate")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"reactionAfterStopping",placeholder:s("information_placeholder")}),(0,a.jsx)(v.Bc,{name:"reactionAfterStopping",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("reappear")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"reactionAfterReintroduction",placeholder:s("information_placeholder")}),(0,a.jsx)(v.Bc,{name:"rERC5b4PoR51qWEvAWuJsX6yRVRBvRVta7",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]})]})}),4===o&&(0,a.jsx)("div",{children:(0,a.jsxs)("div",{className:"md:grid grid-cols lg:grid-cols-2 gap-x-8 md:gap-x-16 px-0 md:px-16",children:[(0,a.jsxs)("div",{className:"col-span-2 ",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("all_other_medicines")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"medicines",id:"firstName",placeholder:s("information_placeholder")}),(0,a.jsx)(v.Bc,{name:"medicines",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("allergies")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"allergies",placeholder:s("information_placeholder")}),(0,a.jsx)(v.Bc,{name:"allergies",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("preggo")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"pregnantOrBreastfeeding",placeholder:s("preggo-in
35put")}),(0,a.jsx)(v.Bc,{name:"pregnantOrBreastfeeding",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"col-span-2",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("choosen_family_doctor")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"choosenFamilyDoctor",placeholder:s("choosen_family_doctor_desc")}),(0,a.jsx)(v.Bc,{name:"choosenFamilyDoctor",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsx)("div",{className:"col-span-2",children:(0,a.jsx)("p",{className:"text-base text-alkGrey mb-6",children:(0,a.jsx)(f.Z,{children:l.contentEnd})})})]})}),(0,a.jsxs)("div",{className:"w-full flex flex-col md:flex-row justify-between text-left md:px-16",children:[(0,a.jsxs)("div",{className:"flex flex-col",children:[0!==o&&(0,a.jsx)("button",{type:"button",className:"text-alkOffBlack text-base font-semibold py-3 -ml-10 px-12 phone:-ml-10 border-0 border-transparent rounded-full",onClick:()=>{4===o&&j(null),y(o)},children:s("back")}),4===o&&(0,a.jsx)("div",{className:"mt-4",children:(0,a.jsx)(lC.Z,{sitekey:"6Ld7DW0cAAAAAK2cBctPqIJX3dV8ev2x9FRm5XDC",onChange:j})})]}),(0,a.jsx)("div",{className:"active",children:(0,a.jsx)("div",{className:"transform phoneSmall:scale-75 sm:scale-100 w-full -ml-4 lg:-ml-0 md:-ml-0 sm:ml-0 text-right sm:px-0 2xl:px-16 flex flex-row justify-end items-center",children:4===o&&b?(0,a.jsx)("input",{type:"submit",value:s("submitForm"),className:"text-base cursor-pointer text-white self-end h-12 font-semibold bg-gradient-to-r from-alkLightBlue to-alkPurple py-3 px-12 border-0 border-transparent rounded-full"}):4===o&&(0,a.jsx)("input",{type:"button",value:s("submitForm"),className:"text-base cursor-not-allowed text-white self-end h-12 font-semibold bg-gradient-to-r from-gray-400 to-gray-600 py-3 px-12 border-0 border-transparent rounded-full",disabled:!0})})}),4!==o&&(0,a.jsx)("input",{type:"submit",className:"text-base cursor-pointer text-white font-semibold bg-gradient-to-r from-alkLightBlue to-alkPurple py-3 px-12 border-0 border-transparent rounded-full hover:text-alkLightBlue focus:text-alkLightBlue",value:s("next"),onClick:()=>{3===o&&j(null)}})]})]})})]})})]})})},template:{type:"reportadrug",label:"Report A Drug Form SR",defaultItem:{_template:"ComponentBlocksReportADrugFormSR",contentStart:"Enter Text Here",contentEnd:"Enter Text Here"},fields:[{name:"contentStart",label:"Content Start",component:"html2"},{name:"contentEnd",label:"Content End",component:"html2"}]}},ComponentBlocksReportADrugFormBG:{Component:e=>{let{index:t,data:l}=e,{t:s}=(0,ec.$G)(),n=/^[A-Za-zĂÂÎȘȚăâîșțА-Яа-яЃѓЉљЊњЌќЅѕЈјЏџБбГгДдЕеЖжЗзИиЙйКкЛлМмНнОоПпРрСсТтУуФфХхЦцЧчШшЩщЬьЮюЯя\s'/-]+$/,r=/^[A-Za-z0-9ĂÂÎȘȚăâîșțА-Яа-яЃѓЉљЊњЌќЅѕЈјЏџБбГгДдЕеЖжЗзИиЙйКкЛлМмНнОоПпРрСсТтУуФфХхЦцЧчШшЩщЬьЮюЯя,./\s-]+$/,[i,o]=(0,c.useState)(""),[d,m]=(0,c.useState)(!1),[x,p]=(0,c.useState)(!1),[h,u]=(0,c.useState)(null);(0,g.useRouter)();let b=(0,c.useMemo)(()=>[N.object().shape({name:N.string().matches(n,s("invalid_characters")).required(s("required_input")),surname:N.string().matches(n,s("invalid_characters")).required(s("required_input")),number:N.string().matches(/^[\d+]+$/,s("only_numbers_plus")).required(s("required_input")),email:N.string().email(s("invalid_email")).required(s("required_input")),country:N.string().matches(n,s("invalid_characters")).required(s("required_input")),qualification:N.string().matches(n,s("invalid_characters")).required(s("required_input")).test("is-doctor",s("doctor_message"),function(e){return["doctor","лекар","lekar"].includes(e)?o(e):o(""),!0})}),N.object().shape({initials:N.string().matches(n,s("invalid_characters")),reporterCountry:N.string().matches(n,s("invalid_characters")).required(s("required_input")),date:N.string().max(new Date,s("no_future_dates")).required(s("required_input")),sex:N.string().oneOf(["male","female"],function(){for(var e=arguments.length,t=Array(e),l=0;l<e;l++)t[l]=arguments[l];let a=t[0].values.split(", ");return`${s("oneOfSex")}${a.reduce((e,t)=>
35`${e} ${s(t)}`,"")}`})}),N.object().shape({description:N.string().matches(n,s("invalid_characters")).required(s("required_input")),dateOfOccurance:N.date().max(new Date,s("no_future_dates")).required(s("required_input"))}),N.object().shape({tradeName:N.string().matches(r,s("invalid_characters")).required(s("required_input")),therapyDatesFrom:N.string().matches(r,s("invalid_characters")).required(s("required_input")),therapyDatesTo:N.string().matches(r,s("invalid_characters")).required(s("required_input")),INN:N.string().matches(r,s("invalid_characters")),pharmaceuticalForm:N.string().matches(r,s("invalid_characters")),strength:N.string().matches(r,s("invalid_characters")),reactionAfterStopping:N.string().matches(n,s("invalid_characters")),nameOfManufacturer:N.string().matches(n,s("invalid_characters")),batchNumber:N.string().matches(/^[\d+]+$/,s("only_numbers_plus")),dailyDose:N.string().matches(r,s("invalid_characters")),routeOfAdministration:N.string().matches(n,s("invalid_characters")),indicationOfUse:N.string().matches(n,s("invalid_characters")),therapyDatesTo:N.string().max(new Date,s("no_future_dates")),therapyDatesFrom:N.string().max(new Date,s("no_future_dates")),therapyDuration:N.string().matches(r,s("invalid_characters")),reactionAfterReintroduction:N.string().matches(n,s("invalid_characters"))}),N.object().shape({allergies:N.string().matches(n,s("invalid_characters")),medicines:N.string().matches(r,s("invalid_characters")),pregnantOrBreastfeeding:N.string().matches(n,s("invalid_characters"))})],[]),[j,y]=(0,c.useState)(0),w=b[j],[k,_]=(0,c.useState)(!1),[C,B]=(0,c.useState)(!1),S=e=>{e>0&&y(e-1)},[A,L]=(0,c.useState)(!0);(0,c.useEffect)(()=>{"true"==lI.env.NEXT_PUBLIC_ENSURE_REPORT&&"user"!==localStorage.getItem("userType")&&L(!0)},[]);let I=(0,c.useCallback)(async(e,t)=>{let{resetForm:l}=t;if(4===j)try{B(!0),await (0,t9.Z)().post("https://cms.alkaloid.com.mk/api/reports-of-adverse-drug-reaction-bgs",{data:{InfoAboutTheReporterBG:{name:e.name,surname:e.surname,number:e.number,email:e.email,country:e.country,qualification:e.qualification},InfoAboutPersonWhoExperiencedADRBG:{initials:e.initials,country:e.country,date:e.date,sex:e.sex},AdverseDrugReactionInfoBG:{description:e.description,date:e.date},SuspectedDrugInfoBG:{tradeName:e.tradeName,INN:e.INN,pharmaceuticalForm:e.pharmaceuticalForm,strength:e.strength,nameOfManufacturer:e.nameOfManufacturer,batchNumber:e.batchNumber,dailyDose:e.dailyDose,routeOfAdministration:e.routeOfAdministration,indicationOfUse:e.indicationOfUse,therapyDates:`${e.therapyDatesFrom} - ${e.therapyDatesTo}`,therapyDuration:e.therapyDuration,reactionAfterStopping:e.reactionAfterStopping,reactionAfterReintroduction:e.reactionAfterReintroduction},ConcominantDrugsMedicalHistoryBG:{medicines:e.medicines,allergies:e.allergies,pregnantOrBreastfeeding:e.pregnantOrBreastfeeding}}})}catch(e){console.log(e)}finally{e.allergies&&j>=4&&setTimeout(()=>{B(!1),_(!0),setTimeout(()=>{_(!1),y(0),l()},5e3)},2e3)}else y(j+1)},[j]);return(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("section",{className:"relative lg:block",children:[(0,a.jsxs)("div",{className:"z-0 has-overlay absolute top-0 left-0 w-full  overflow-hidden",style:{minHeight:420},children:[(0,a.jsx)("div",{className:"absolute top-0 left-0 w-full h-full bg-cover bg-no-repeat bg-gradient-to-r from-alkLightBlue to-alkPurple  mi
35x-blend-multiply"}),(0,a.jsx)("div",{className:"absolute top-0 left-0 w-full h-full bg-cover bg-no-repeat bg-gradient-to-r from-alkLightBlue to-alkPurple opacity-80 mix-blend-multiply hidden"})]}),(0,a.jsx)("div",{className:"container relative flex m-auto pt-20",style:{minHeight:320},children:(0,a.jsx)("div",{className:"w-full",children:(0,a.jsx)("h1",{className:"text-3xl text-white font-normal text-center",children:s("report_a_drug_title")})})}),(0,a.jsx)("div",{className:"container relative flex m-auto items-center",style:{minHeight:420},children:(0,a.jsxs)("div",{className:`bg-white relative -top-32 w-full p-12 ${4===j?"pb-16 sm:pb-40":""} px-6 md:px-24 shadow-2xl`,children:[k&&(0,a.jsx)("div",{className:"absolute w-full h-6 sm:h-10 md:h-24 xl:h-32 bottom-0 text-alkWhite bg-formThankYouGreen left-0 flex items-center justify-center",children:s("report_a_drug_thanks").toUpperCase()}),C&&(0,a.jsx)("div",{className:"absolute w-full h-6 sm:h-10 md:h-24 xl:h-32 bottom-0 text-alkWhite bg-formThankYouGreen left-0 flex items-center justify-center",children:s("report_a_drug_thanks").toUpperCase()}),(0,a.jsxs)("div",{className:"h-10 w-full mb-20 pt-10",children:[(0,a.jsxs)("div",{className:"flex flex-row items-stretch justify-between relative -bottom-2 z-0",children:[(0,a.jsx)("div",{className:`w-full h-1 ${j>=1?"bg-alkLightBlue":"bg-gray-300"} `}),(0,a.jsx)("div",{className:`w-full h-1 ${j>=2?"bg-alkLightBlue":"bg-gray-300"} `}),(0,a.jsx)("div",{className:`w-full h-1 ${j>=3?"bg-alkLightBlue":"bg-gray-300"} `}),(0,a.jsx)("div",{className:`w-full h-1 ${j>=4?"bg-alkLightBlue":"bg-gray-300"} `})]}),(0,a.jsxs)("div",{className:"flex flex-row items-stretch justify-between relative z-10",children:[(0,a.jsx)("div",{className:"rounded-full w-3 h-3 bg-alkLightBlue",children:(0,a.jsx)("span",{className:"relative -top-8 font-bold text-alkLightBlue",children:"1"})}),(0,a.jsx)("div",{className:`rounded-full w-3 h-3 ${j>=1?"bg-alkLightBlue":"bg-gray-300"}`,children:(0,a.jsx)("span",{className:`relative -top-8 font-bold ${j>=1?"text-alkLightBlue":"text-gray-300"}`,children:"2"})}),(0,a.jsx)("div",{className:`rounded-full w-3 h-3 ${j>=2?"bg-alkLightBlue":"bg-gray-300"}`,children:(0,a.jsx)("span",{className:`relative -top-8 font-bold ${j>=2?"text-alkLightBlue":"text-gray-300"}`,children:"3"})}),(0,a.jsx)("div",{className:`rounded-full w-3 h-3 ${j>=3?"bg-alkLightBlue":"bg-gray-300"}`,children:(0,a.jsx)("span",{className:`relative -top-8 font-bold ${j>=3?"text-alkLightBlue":"text-gray-300"}`,children:"4"})}),(0,a.jsx)("div",{className:`rounded-full w-3 h-3 ${j>=4?"bg-alkLightBlue":"bg-gray-300"}`,children:(0,a.jsx)("span",{className:`relative -top-8 font-bold ${j>=4?"text-alkLightBlue":"text-gray-300"}`,children:"5"})})]}),(0,a.jsx)("ul",{className:"w-full lg:mb-40 hidden"})]}),0===j&&(0,a.jsx)("div",{className:"mb-16 text-base",children:(0,a.jsx)(f.Z,{children:l.contentStart})}),(0,a.jsx)(v.J9,{initialValues:lT,onSubmit:I,validateOnChange:!1,validationSchema:w,children:e=>{let{errors:t,touched:n}=e;return(0,a.jsxs)(v.l0,{children:[(0,a.jsxs)("div",{className:"mb-10",children:[(0,a.jsx)("h3",{className:"text-2xl",children:s(`report_a_drug_title${j}`)}),(0,a.jsx)("div",{className:"m-auto w-20 h-1 inline-block bg-alkLightBlue rounded relative lg:-left-6 md:-left-6 "})]}),(0,a.jsx)("div",{className:"flex flex-col md:flex-row gap-8 px-0 md:px-16"}),0===j&&(0,a.jsx)("div",{children:(0,a.jsxs)("div",{className:"md:grid grid-cols lg:grid-cols-2 gap-x-8 md:gap-x-16 px-0 md:px-16",children:[(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("name")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"name",id:"name",placeholder:s("name_placeholder")}),(0,a.jsx)(v.Bc,{name:"name",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("surname")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"surname",placeholder:s("surname_placeholder")}),(0,a.jsx)(v.Bc,{name:"surname",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("telephone")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"number",placeholder:s("telephone_placeholder")}),(0,a.jsx)(v.Bc,{name:"number",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("email")}),(0,a.jsx)(v.gN,{className:"w-full rouned-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"email",placeholder:s("email_placeholder"),required:!0}),(0,a.jsx)(v.Bc,{name:"email",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("country")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"country",placeholder:s("c
35ountry_placeholder"),required:!0}),(0,a.jsx)(v.Bc,{name:"country",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("profession")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"qualification",placeholder:s("profession_placeholder"),required:!0}),(0,a.jsx)(v.Bc,{name:"qualification",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})}),i&&(0,a.jsx)("div",{className:"text-gray-500 mt-2",children:s("doctor_message")})]})]})}),1===j&&(0,a.jsx)("div",{children:(0,a.jsxs)("div",{className:"md:grid grid-cols lg:grid-cols-2 gap-x-8 md:gap-x-16 px-0 md:px-16",children:[(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("initials")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"initials",id:"initials",placeholder:s("initials_placeholder")}),(0,a.jsx)(v.Bc,{name:"initials",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("country")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"reporterCountry",placeholder:s("country_placeholder")}),(0,a.jsx)(v.Bc,{name:"reporterCountry",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("birthday")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"date",name:"date",max:new Date().toISOString().split("T")[0],onInput:e=>{let t=e.target.value;t>new Date().toISOString().split("T")[0]?e.target.setCustomValidity("Future dates are not allowed"):e.target.setCustomValidity("")},placeholder:"Enter your date of birth"}),(0,a.jsx)(v.Bc,{name:"date",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("sex")}),(0,a.jsxs)(v.gN,{className:"w-full rounded-md py-3 pl-3 mb-8 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",as:"select",name:"sex",required:!0,children:[(0,a.jsx)("option",{className:"placeholder-gray-500",value:"",disabled:!0,children:s("sex_placeholder")}),(0,a.jsx)("option",{value:"male",children:s("male")}),(0,a.jsx)("option",{value:"female",children:s("female")})]}),(0,a.jsx)(v.Bc,{name:"sex",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]})]})}),2===j&&(0,a.jsx)("div",{children:(0,a.jsxs)("div",{className:"md:grid grid-cols lg:grid-cols-2 gap-x-8 md:gap-x-16 px-0 md:px-16",children:[(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("desc_adverse_drug")}),(0,a.jsx)(v.gN,{className:"h-32 w-full rounded-md py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"description",id:"firstName",as:"textarea",placeholder:s("information_placeholder")}),(0,a.jsx)(v.Bc,{name:"description",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("date_occurence")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"date",name:"dateOfOccurance",max:new Date().toISOString().split("T")[0],onInput:e=>{let t=e.target.value;t>new Date().toISOString().split("T")[0]?e.target.setCustomValidity("Future dates are not allowed"):e.target.setCustomValidity("")},placeholder:"Enter the date of occurrence"}),(0,a.jsx)(v.Bc,{name:"dateOfOccurance",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]})]})}),3===j&&(0,a.jsx)("div",{children:(0,a.jsxs)("div",{className:"md:grid grid-cols lg:grid-cols-2 gap-x-8 md:gap-x-16 px-0 md:px-16",children:[(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("trade_name")}
35),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"tradeName",id:"tradeName",placeholder:s("trade_name_placeholder")}),(0,a.jsx)(v.Bc,{name:"tradeName",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("inn")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"INN",placeholder:s("inn_placeholder")}),(0,a.jsx)(v.Bc,{name:"INN",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("pharmaceutical_form")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"pharmaceuticalForm",placeholder:s("pharmaceutical_form_placeholder")}),(0,a.jsx)(v.Bc,{name:"pharmaceuticalForm",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("strength")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"strength",placeholder:s("strength_placeholder")}),(0,a.jsx)(v.Bc,{name:"strength",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("name_of_manufacturer")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"nameOfManufacturer",placeholder:s("name_of_manufacturer_placeholder")}),(0,a.jsx)(v.Bc,{name:"nameOfManufacturer",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("batch_number")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"batchNumber",placeholder:s("batch_number_placeholder")}),(0,a.jsx)(v.Bc,{name:"batchNumber",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("daily_dose")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"dailyDose",placeholder:s("daily_dose_placeholder")}),(0,a.jsx)(v.Bc,{name:"dailyDose",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("route_of_administration")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"routeOfAdministration",placeholder:s("route_of_administration_placeholder")}),(0,a.jsx)(v.Bc,{name:"routeOfAdministration",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("therapy_date_from")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"date",max:new Date().toISOString().split("T")[0],onInput:e=>{let t=e.target.value;t>new Date().toISOString().split("T")[0]?e.target.setCustomValidity("Future dates are not allowed"):e.target.setCustomValidity("")},name:"therapyDatesFrom",placeholder:"Enter therapy dates from",onFocus:()=>m(!0),onBlur:()=>m(!1)}),d&&(0,a.jsx)("div",{className:"text-gray-500 pb-2",children:s("therapy_date_from_disclaimer")}),(0,a.jsx)(v.Bc,{name:"therapyDatesFrom",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("therapy_date_to")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"date",max:new Date().toISOString().split("T")[0],onInput:e=>{let t=e.target.value;t>new Date().toISOString().split("T")[0]?e.target.setCustomValidity("Future dates are not allowed"):e.target.setCustomValidity("")},name:"therapyDatesTo",placeholder:"Enter therapy dates to",onFocus:()=>p(!0),onBlur:()=>p(!1)}),x&&(0,a.jsx)("div",{className:"text-gray-500 pb-2",children:s("therapy_date_to_disclaimer")}),(0,a.jsx)(v.Bc,{name:"therapyDatesTo",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("indication_for_use")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"indicationOfUse",placeholder:s("indication_for_use_placeholder")}),(0,a.jsx)(v.Bc,{name:"indicationOfUse",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("therapy_duration")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"therapyDuration",placeholder:s("therapy_duration_placeholder")}),(0,a.jsx)(v.Bc,{name:"therapyDuration",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("abate")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"reactionAfterStopping",placeholder:s("information_placeholder")}),(0,a.jsx)(v.Bc,{name:"reactionAfterStopping",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("reappear")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"reactionAfterReintroduction",placeholder:""}),(0,a.jsx)(v.Bc,{name:"reactionAfterReintroduction",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]})]})}),4===j&&(0,a.jsx)("div",{children:(0,a.jsxs)("div",{className:"md:grid grid-cols lg:grid-cols-2 gap-x-8 md:gap-x-16 px-0 md:px-16",children:[(0,a.jsxs)("div",{className:"col-span-2",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("all_other_medicines")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"medicines",id:"firstName",placeholder:s("information_placeholder")}),(0,a.jsx)(v.Bc,{name:"medicines",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("allergies")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"allergies",placeholder:s("information_placeholder")}),(0,a.jsx)(v.Bc,{name:"allergies",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("preggo")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"pregnantOrBreastfeeding",placeholder:s("information_placeholder")}),(0,a.jsx)(v.Bc,{name:"pregnantOrBreastfeeding",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsx)("div",{className:"col-span-2",children:(0,a.jsx)("div",{className:"text-base text-alkGrey mb-6",children:(0,a.jsx)(f.Z,{children:l.contentEnd})})})]})}),(0,a.jsxs)("div",{className:"w-full flex flex-col md:flex-row justify-between text-left md:px-16",children:[(0,a.jsxs)("div",{className:"flex flex-col",children:[0!==j&&(0,a.jsx)("button",{type:"button",className:"text-alkOffBlack text-base font-semibold py-3 -ml-10 px-12 phone:-ml-10 border-0 border-transparent roun
35ded-full",onClick:()=>{4===j&&u(null),S(j)},children:s("back")}),4===j&&(0,a.jsx)("div",{className:"mt-4",children:(0,a.jsx)(lC.Z,{sitekey:"6Ld7DW0cAAAAAK2cBctPqIJX3dV8ev2x9FRm5XDC",onChange:u})})]}),(0,a.jsx)("div",{className:"active",children:(0,a.jsx)("div",{className:"transform phoneSmall:scale-75 sm:scale-100 w-full -ml-4 lg:-ml-0 md:-ml-0 sm:ml-0 text-right sm:px-0 2xl:px-16 flex flex-row justify-end items-center",children:4===j&&h?(0,a.jsx)("input",{type:"submit",value:s("submitForm"),className:"text-base cursor-pointer text-white self-end h-12 font-semibold bg-gradient-to-r from-alkLightBlue to-alkPurple py-3 px-12 border-0 border-transparent rounded-full"}):4===j&&(0,a.jsx)("input",{type:"button",value:s("submitForm"),className:"text-base cursor-not-allowed text-white self-end h-12 font-semibold bg-gradient-to-r from-gray-400 to-gray-600 py-3 px-12 border-0 border-transparent rounded-full",disabled:!0})})}),4!==j&&(0,a.jsx)("input",{type:"submit",className:"text-base cursor-pointer text-white font-semibold bg-gradient-to-r from-alkLightBlue to-alkPurple py-3 px-12 border-0 border-transparent rounded-full hover:text-alkLightBlue focus:text-alkLightBlue",value:s("next"),onClick:()=>{3===j&&u(null)}})]})]})}})]})})]})})},template:{type:"reportadrug",label:"Report A Drug Form BG",defaultItem:{_template:"ComponentBlocksReportADrugFormBG",contentStart:"Enter Text Here",contentEnd:"Enter Text Here"},fields:[{name:"contentStart",label:"Content Start",component:"html2"},{name:"contentEnd",label:"Content End",component:"html2"}]}},ComponentBlocksReportADrugFormRO:{Component:e=>{let{index:t,data:l}=e,{t:s}=(0,ec.$G)(),n=/^[A-Za-zĂÂÎȘȚăâîșțЉљЊњЋћЂђЖжЗзИиКкЛлМмНнПпРрСсТтУуФфХхЦцЧчШшЏџ\s'\/-]+$/,r=/^[A-Za-zĂÂÎȘȚăâîșțЉљЊњЋћЂђЖжЗзИиКкЛлМмНнПпРрСсТтУуФфХхЦцЧчШшЏџ0-9,.\/\s-]+$/;(0,g.useRouter)();let i=(0,c.useMemo)(()=>[N.object().shape({name:N.string().matches(n,s("invalid_characters")),surname:N.string().matches(n,s("invalid_characters")),email:N.string().email(s("invalid_email")).required(s("required_input")),country:N.string().matches(n,s("invalid_characters")).required(s("required_input")),qualification:N.string().matches(n,s("invalid_characters")).required(s("required_input")),number:N.string().matches(/^[\d+]+$/,s("only_numbers_plus"))}),N.object().shape({reporterCountry:N.string().matches(n,s("invalid_characters")).required(s("required_input")),initials:N.string().matches(n,s("invalid_characters")),date:N.date().max(new Date,s("no_future_dates")),sex:N.string().oneOf(["male","female"],function(){for(var e=arguments.length,t=Array(e),l=0;l<e;l++)t[l]=arguments[l];let a=t[0].values.split(", ");return`${s("oneOfSex")}${a.reduce((e,t)=>`${e} ${s(t)}`,"")}`})}),N.object().shape({description:N.string().matches(n,s("invalid_characters")).required(s("required_input")),dateOfOccurance:N.date().max(new Date,s("no_future_dates")).required(s("required_input"))}),N.object().shape({tradeName:N.string().matches(r,s("invalid_characters")).required(s("required_input")),INN:N.string().matches(r,s("invalid_characters")).required(s("required_input")),pharmaceuticalForm:N.string().matches(r,s("invalid_characters")),strength:N.string().matches(r,s("invalid_characters")),nameOfManufacturer:N.string().matches(n,s("invalid_characters")),batchNumber:N.string().matches(/^[\d+]+$/,s("only_numbers_plus")),dailyDose:N.string().matches(r,s("invalid_characters")),routeOfAdministration:N.string().matches(n,s("invalid_characters")),indicationOfUse:N.string().matches(n,s("invalid_characters")),therapyDatesTo:N.string().max(new Date,s("no_future_dates")),therapyDatesFrom:N.string().max(new Date,s("no_future_dates")),therapyDuration:N.string().matches(r,s("invalid_characters")),reactionAfterReintroduction:N.string().matches(n,s("invalid_characters"))}),N.object().shape({allergies:N.string().matches(n,s("invalid_characters")).required(s("required_input")),medicines:N.string().matches(r,s("invalid_characters")),pregnantOrBreastfeeding:N.string().matches(n,s("invalid_characters"))})],[]),[o,d]=(0,c.useState)(0),m=i[o],[x,p]=(0,c.useState)(!1),[h,u]=(0,c.useState)(!1),[b,j]=(0,c.useState)(null),y=e=>{e>0&&d(e-1)},[w,k]=(0,c.useState)(!0);(0,c.useEffect)(()=>{"true"==lP.env.NEXT_PUBLIC_ENSURE_REPORT&&"user"!==localStorage.getItem("userType")&&k(!0)},[]);let _=(0,c.useCallback)(async(e,t)=>{let{resetForm:l}=t;if(4===o)try{u(!0),await (0,t9.Z)().post("https://cms.alkaloid.com.mk/api/reports-of-adverse-drug-reaction-ros",{data:{InfoAboutTheReportersRO:{name:e.name,surname:e.surname,number:e.number,email:e.email,country:e.country,qualification:e.qualification},InformationPersonExperiencedADReactionRO:{initials:e.initials,c
35ountry:e.country,date:e.date,sex:e.sex},ADReactionInfoRO:{description:e.description,date:e.date},SuspectedDrugsInformRO:{tradeName:e.tradeName,INN:e.INN,pharmaceuticalForm:e.pharmaceuticalForm,strength:e.strength,nameOfManufacturer:e.nameOfManufacturer,batchNumber:e.batchNumber,dailyDose:e.dailyDose,routeOfAdministration:e.routeOfAdministration,indicationOfUse:e.indicationOfUse,therapyDates:`${e.therapyDatesFrom} - ${e.therapyDatesTo}`,therapyDuration:e.therapyDuration,reactionAfterStopping:e.reactionAfterStopping,reactionAfterReintroduction:e.reactionAfterReintroduction},ConcomDrugsMedicalHistoryRO:{medicines:e.medicines,allergies:e.allergies,pregnantOrBreastfeeding:e.pregnantOrBreastfeeding}}})}catch(e){console.log(e)}finally{e.allergies&&o>=4&&setTimeout(()=>{u(!1),p(!0),setTimeout(()=>{p(!1),d(0),l()},5e3)},2e3)}else d(o+1)},[o]);return(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("section",{className:"relative lg:block",children:[(0,a.jsxs)("div",{className:"z-0 has-overlay absolute top-0 left-0 w-full  overflow-hidden",style:{minHeight:420},children:[(0,a.jsx)("div",{className:"absolute top-0 left-0 w-full h-full bg-cover bg-no-repeat bg-gradient-to-r from-alkLightBlue to-alkPurple  mi
35x-blend-multiply"}),(0,a.jsx)("div",{className:"absolute top-0 left-0 w-full h-full bg-cover bg-no-repeat bg-gradient-to-r from-alkLightBlue to-alkPurple opacity-80 mix-blend-multiply hidden"})]}),(0,a.jsx)("div",{className:"container relative flex m-auto pt-20",style:{minHeight:320},children:(0,a.jsx)("div",{className:"w-full",children:(0,a.jsx)("h1",{className:"text-3xl text-white font-normal text-center",children:s("report_a_drug_title")})})}),(0,a.jsx)("div",{className:"container relative flex m-auto items-center",style:{minHeight:420},children:(0,a.jsxs)("div",{className:`bg-white relative -top-32 w-full p-12 ${4===o?"pb-16 sm:pb-40":""} px-6 md:px-24 shadow-2xl`,children:[x&&(0,a.jsx)("div",{className:"absolute w-full h-6 sm:h-10 md:h-24 xl:h-32 bottom-0 text-alkWhite bg-formThankYouGreen left-0 flex items-center justify-center",children:s("report_a_drug_thanks").toUpperCase()}),h&&(0,a.jsx)("div",{className:"absolute w-full h-6 sm:h-10 md:h-24 xl:h-32 bottom-0 text-alkWhite bg-khaki left-0 flex items-center justify-center",children:s("report_a_drug_loading").toUpperCase()}),(0,a.jsxs)("div",{className:"h-10 w-full mb-20 pt-10",children:[(0,a.jsxs)("div",{className:"flex flex-row items-stretch justify-between relative -bottom-2 z-0",children:[(0,a.jsx)("div",{className:`w-full h-1 ${o>=1?"bg-alkLightBlue":"bg-gray-300"} `}),(0,a.jsx)("div",{className:`w-full h-1 ${o>=2?"bg-alkLightBlue":"bg-gray-300"} `}),(0,a.jsx)("div",{className:`w-full h-1 ${o>=3?"bg-alkLightBlue":"bg-gray-300"} `}),(0,a.jsx)("div",{className:`w-full h-1 ${o>=4?"bg-alkLightBlue":"bg-gray-300"} `})]}),(0,a.jsxs)("div",{className:"flex flex-row items-stretch justify-between relative z-10",children:[(0,a.jsx)("div",{className:"rounded-full w-3 h-3 bg-alkLightBlue",children:(0,a.jsx)("span",{className:"relative -top-8 font-bold text-alkLightBlue",children:"1"})}),(0,a.jsx)("div",{className:`rounded-full w-3 h-3 ${o>=1?"bg-alkLightBlue":"bg-gray-300"}`,children:(0,a.jsx)("span",{className:`relative -top-8 font-bold ${o>=1?"text-alkLightBlue":"text-gray-300"}`,children:"2"})}),(0,a.jsx)("div",{className:`rounded-full w-3 h-3 ${o>=2?"bg-alkLightBlue":"bg-gray-300"}`,children:(0,a.jsx)("span",{className:`relative -top-8 font-bold ${o>=2?"text-alkLightBlue":"text-gray-300"}`,children:"3"})}),(0,a.jsx)("div",{className:`rounded-full w-3 h-3 ${o>=3?"bg-alkLightBlue":"bg-gray-300"}`,children:(0,a.jsx)("span",{className:`relative -top-8 font-bold ${o>=3?"text-alkLightBlue":"text-gray-300"}`,children:"4"})}),(0,a.jsx)("div",{className:`rounded-full w-3 h-3 ${o>=4?"bg-alkLightBlue":"bg-gray-300"}`,children:(0,a.jsx)("span",{className:`relative -top-8 font-bold ${o>=4?"text-alkLightBlue":"text-gray-300"}`,children:"5"})})]}),(0,a.jsx)("ul",{className:"w-full lg:mb-40 hidden"})]}),0===o&&(0,a.jsx)("div",{className:"mb-16 text-base",children:(0,a.jsx)(f.Z,{children:l.contentStart})}),(0,a.jsx)(v.J9,{initialValues:lE,onSubmit:_,validateOnChange:!1,validationSchema:m,children:e=>{let{errors:t,touched:n}=e;return(0,a.jsxs)(v.l0,{children:[(0,a.jsxs)("div",{className:"mb-10",children:[(0,a.jsx)("h3",{className:"text-2xl",children:s(`report_a_drug_title${o}`)}),(0,a.jsx)("div",{className:"m-auto w-20 h-1 inline-block bg-alkLightBlue rounded relative lg:-left-6 md:-left-6 "})]}),(0,a.jsx)("div",{className:"flex flex-col md:flex-row gap-8 px-0 md:px-16"}),0===o&&(0,a.jsx)("div",{children:(0,a.jsxs)("div",{className:"md:grid grid-cols lg:grid-cols-2 gap-x-8 md:gap-x-16 px-0 md:px-16",children:[(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("name")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"name",id:"name",placeholder:s("name_placeholder")}),(0,a.jsx)(v.Bc,{name:"name",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("surname")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"surname",placeholder:s("surname_placeholder")}),(0,a.jsx)(v.Bc,{name:"surname",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("telephone")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"number",placeholder:s("telephone_placeholder")}),(0,a.jsx)(v.Bc,{name:"number",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("email")}),(0,a.jsx)(v.gN,{className:"w-full rouned-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"email",placeholder:s("email_placeholder"),required:!0}),(0,a.jsx)(v.Bc,{name:"email",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("country")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"country",placeholder:s("c
35ountry_placeholder"),required:!0}),(0,a.jsx)(v.Bc,{name:"country",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("profession")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"qualification",placeholder:s("profession_placeholder"),required:!0}),(0,a.jsx)(v.Bc,{name:"qualification",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]})]})}),1===o&&(0,a.jsx)("div",{children:(0,a.jsxs)("div",{className:"md:grid grid-cols lg:grid-cols-2 gap-x-8 md:gap-x-16 px-0 md:px-16",children:[(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("initials")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"initials",id:"initials",placeholder:s("initials_placeholder")}),(0,a.jsx)(v.Bc,{name:"initials",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("country")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"reporterCountry",placeholder:s("country_placeholder")}),(0,a.jsx)(v.Bc,{name:"reporterCountry",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("birthday")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"date",name:"date",max:new Date().toISOString().split("T")[0],onInput:e=>{let t=e.target.value;t>new Date().toISOString().split("T")[0]?e.target.setCustomValidity("Future dates are not allowed"):e.target.setCustomValidity("")},placeholder:"Enter your date of birth"}),(0,a.jsx)(v.Bc,{name:"date",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("sex")}),(0,a.jsxs)(v.gN,{className:"w-full rounded-md py-3 pl-3 mb-8 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",as:"select",name:"sex",required:!0,children:[(0,a.jsx)("option",{className:"placeholder-gray-500",value:"",disabled:!0,children:s("sex_placeholder")}),(0,a.jsx)("option",{value:"male",children:s("male")}),(0,a.jsx)("option",{value:"female",children:s("female")})]}),(0,a.jsx)(v.Bc,{name:"sex",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]})]})}),2===o&&(0,a.jsx)("div",{children:(0,a.jsxs)("div",{className:"md:grid grid-cols lg:grid-cols-2 gap-x-8 md:gap-x-16 px-0 md:px-16",children:[(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("desc_adverse_drug")}),(0,a.jsx)(v.gN,{className:"h-32 w-full rounded-md py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"description",id:"firstName",as:"textarea",placeholder:s("information_placeholder")}),(0,a.jsx)(v.Bc,{name:"description",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("date_occurence")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"date",max:new Date().toISOString().split("T")[0],onInput:e=>{let t=e.target.value;t>new Date().toISOString().split("T")[0]?e.target.setCustomValidity("Future dates are not allowed"):e.target.setCustomValidity("")},name:"dateOfOccurance",placeholder:"Enter the date of occurrence"}),(0,a.jsx)(v.Bc,{name:"dateOfOccurance",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]})]})}),3===o&&(0,a.jsx)("div",{children:(0,a.jsxs)("div",{className:"md:grid grid-cols lg:grid-cols-2 gap-x-8 md:gap-x-16 px-0 md:px-16",children:[(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("trade_name")}
35),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"tradeName",id:"tradeName",placeholder:s("trade_name_placeholder")}),(0,a.jsx)(v.Bc,{name:"tradeName",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("inn")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"INN",placeholder:s("inn_placeholder")}),(0,a.jsx)(v.Bc,{name:"INN",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("pharmaceutical_form")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"pharmaceuticalForm",placeholder:s("pharmaceutical_form_placeholder")}),(0,a.jsx)(v.Bc,{name:"pharmaceuticalForm",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("strength")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"strength",placeholder:s("strength_placeholder")}),(0,a.jsx)(v.Bc,{name:"strength",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("name_of_manufacturer")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"nameOfManufacturer",placeholder:s("name_of_manufacturer_placeholder")}),(0,a.jsx)(v.Bc,{name:"nameOfManufacturer",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("batch_number")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"batchNumber",placeholder:s("batch_number_placeholder")}),(0,a.jsx)(v.Bc,{name:"batchNumber",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("daily_dose")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"dailyDose",placeholder:s("daily_dose_placeholder")}),(0,a.jsx)(v.Bc,{name:"dailyDose",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("route_of_administration")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"routeOfAdministration",placeholder:s("route_of_administration_placeholder")}),(0,a.jsx)(v.Bc,{name:"routeOfAdministration",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("therapy_date_from")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"date",name:"therapyDatesFrom",placeholder:"Enter therapy dates from"}),(0,a.jsx)(v.Bc,{name:"therapyDatesFrom",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("therapy_date_to")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"date",name:"therapyDatesTo",placeholder:"Enter therapy dates to"}),(0,a.jsx)(v.Bc,{name:"therapyDatesTo",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("indication_for_use")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"indicationOfUse",placeholder:s("indication_for_use_placeholder")}),(0,a.jsx)(v.Bc,{name:"indicationOfUse",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("therapy_duration")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"therapyDuration",placeholder:s("therapy_duration_placeholder")}),(0,a.jsx)(v.Bc,{name:"therapyDuration",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("abate")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"reactionAfterStopping",placeholder:s("information_placeholder")}),(0,a.jsx)(v.Bc,{name:"reactionAfterStopping",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("reappear")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"reactionAfterReintroduction",placeholder:""}),(0,a.jsx)(v.Bc,{name:"reactionAfterReintroduction",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]})]})}),4===o&&(0,a.jsx)("div",{children:(0,a.jsxs)("div",{className:"md:grid grid-cols lg:grid-cols-2 gap-x-8 md:gap-x-16 px-0 md:px-16",children:[(0,a.jsxs)("div",{className:"col-span-2",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("all_other_medicines")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"medicines",id:"firstName",placeholder:s("information_placeholder")}),(0,a.jsx)(v.Bc,{name:"medicines",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("allergies")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"allergies",placeholder:s("information_placeholder")}),(0,a.jsx)(v.Bc,{name:"allergies",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("preggo")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"pregnantOrBreastfeeding",placeholder:s("information_placeholder")}),(0,a.jsx)(v.Bc,{name:"pregnantOrBreastfeeding",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsx)("div",{className:"col-span-2",children:(0,a.jsx)("div",{className:"text-base text-alkGrey mb-6",children:(0,a.jsx)(f.Z,{children:l.contentEnd})})})]})}),(0,a.jsxs)("div",{className:"w-full flex flex-col md:flex-row justify-between text-left md:px-16",children:[(0,a.jsxs)("div",{className:"flex flex-col",children:[0!==o&&(0,a.jsx)("button",{type:"button",className:"text-alkOffBlack text-base font-semibold py-3 -ml-10 px-12 phone:-ml-10 border-0 border-transparent roun
35ded-full",onClick:()=>{4===o&&j(null),y(o)},children:s("back")}),4===o&&(0,a.jsx)("div",{className:"mt-4",children:(0,a.jsx)(lC.Z,{sitekey:"6Ld7DW0cAAAAAK2cBctPqIJX3dV8ev2x9FRm5XDC",onChange:j})})]}),(0,a.jsx)("div",{className:"active",children:(0,a.jsx)("div",{className:"transform phoneSmall:scale-75 sm:scale-100 w-full -ml-4 lg:-ml-0 md:-ml-0 sm:ml-0 text-right sm:px-0 2xl:px-16 flex flex-row justify-end items-center",children:4===o&&b?(0,a.jsx)("input",{type:"submit",value:s("submitForm"),className:"text-base cursor-pointer text-white self-end h-12 font-semibold bg-gradient-to-r from-alkLightBlue to-alkPurple py-3 px-12 border-0 border-transparent rounded-full"}):4===o&&(0,a.jsx)("input",{type:"button",value:s("submitForm"),className:"text-base cursor-not-allowed text-white self-end h-12 font-semibold bg-gradient-to-r from-gray-400 to-gray-600 py-3 px-12 border-0 border-transparent rounded-full",disabled:!0})})}),4!==o&&(0,a.jsx)("input",{type:"submit",className:"text-base cursor-pointer text-white font-semibold bg-gradient-to-r from-alkLightBlue to-alkPurple py-3 px-12 border-0 border-transparent rounded-full hover:text-alkLightBlue focus:text-alkLightBlue",value:s("next"),onClick:()=>{3===o&&j(null)}})]})]})}})]})})]})})},template:{type:"reportadrug",label:"Report A Drug Form RO",defaultItem:{_template:"ComponentBlocksReportADrugFormRO",contentStart:"Enter Text Here",contentEnd:"Enter Text Here"},fields:[{name:"contentStart",label:"Content Start",component:"html2"},{name:"contentEnd",label:"Content End",component:"html2"}]}},ComponentBlocksCountryListWorldWide:{Component:e=>{let{index:t,data:l}=e,{t:s}=(0,ec.$G)(),[n,r]=(0,c.useState)(0),[i,d]=(0,c.useState)({width:"1441px",height:"832px",zIndex:"-1",left:"24%"});return(0,c.useEffect)(()=>{l.countriesJson[n].countryBackground&&0!==Object.keys(l.countriesJson[n].countryBackground).length?d({width:"1441px",height:"832px",zIndex:"-1",left:"24%",backgroundImage:`url('${(0,o.Z)(l.countriesJson[n].countryBackground)}')`}):d({width:"1441px",height:"832px",zIndex:"-1",left:"24%"})},[n,l.countriesJson[n].countryBackground]),(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)("div",{className:"-z-10 has-overlay absolute top-0 left-0 w-full  overflow-hidden h-full ",children:(0,a.jsx)("div",{className:`${0===Object.keys(l.countriesJson[n].countryBackground).length?"bg-worldmap":""} absolute top-0 right-0 w-full h-full bg-cover bg-no-repeat`,style:i})}),(0,a.jsxs)("div",{className:"w-full container mx-auto relative z-0",children:[l.mainTitle&&(0,a.jsx)("div",{className:"w-full mb-16 px-8 md:px-8",children:(0,a.jsx)(lD.Z,{title:l.mainTitle})}),(0,a.jsxs)("div",{className:"flex flex-col md:flex-row",children:[(0,a.jsxs)("div",{className:"w-full md:w-5/12 lg:-ml-20 md:px-0",children:[(0,a.jsx)("div",{className:"hidden md:block w-4/5 float-right",children:l.countriesJson&&l.countriesJson.map((e,t)=>(0,a.jsx)("div",{className:"parent ",children:(0,a.jsxs)("button",{type:"button",onClick:()=>r(t),onKeyDown:()=>r(t),className:"flex cursor-pointer flex-row items-center justify-between mb-4",children:[(0,a.jsx)("hr",{className:`border-alkLightBlue border-2 w-8 flex-shrink-0 rounded-xl mr-4 ${t===n?"":"invisible"}`}),(0,a.jsx)(h.LazyLoadImage,{src:(0,o.Z)(e.countryImage,"small"),alt:(0,p.Z)(e.countryImage),style:{width:"34px",height:"34px",marginRight:"7px"}}),(0,a.jsx)("p",{className:`text-2xl text-alkGrey pl-2 text-left ${t===n?"font-bold":"font-normal"}`,children:e.country})]},e.country)},t))}),(0,a.jsxs)("div",{className:"w-full md:hidden",children:[(0,a.jsx)("p",{htmlFor:"countriesJson",className:"text-alkGrey text-sm mb-3",children:s("choose_country")}),(0,a.jsx)(e$.v,{as:"div",className:"relative inline-block text-left w-full",children:e=>{let{open:t}=e;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"",children:(0,a.jsxs)(e$.v.Button,{style:{width:"100%",height:"66px"},className:"inline-flex justify-between items-center  rounded-full border border-gray-300 shadow-sm px-4 py-2 bg-alkLightGrey text-2xl font-normal text-black hover:bg-gray-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-gray-100 focus:ring-alkLightBlue",children:[l.countriesJson[n]&&l.countriesJson[n].countryImage&&l.countriesJson[n].countryImage.previewSrc&&(0,a.jsxs)("span",{className:"flex flex-row",children:[(0,a.jsx)(h.LazyLoadImage,{src:l.countriesJson[n].countryImage.previewSrc,alt:"flag",style:{width:"34px",height:"34px",marginRight:"7px"}}),l.countriesJson[n].country||""]}
35),(0,a.jsx)(eZ.v4q,{className:"-mr-1 ml-2 h-10 w-10","aria-hidden":"true"})]})}),(0,a.jsx)(eO.u,{show:t,as:c.Fragment,enter:"transition ease-out duration-100",enterFrom:"transform opacity-0 scale-95",enterTo:"transform opacity-100 scale-100",leave:"transition ease-in duration-75",leaveFrom:"transform opacity-100 scale-100",leaveTo:"transform opacity-0 scale-95",children:(0,a.jsx)(e$.v.Items,{static:!0,className:"origin-top-right absolute right-0 mt-2 w-full rounded-md shadow-lg bg-alkLightGrey ring-1 ring-black ring-opacity-5 focus:outline-none",children:(0,a.jsx)("div",{className:"py-1",children:l.countriesJson.map((e,t)=>(0,a.jsx)(e$.v.Item,{children:l=>{let{active:s}=l;return(0,a.jsx)("button",{onClick:()=>r(t),type:"button",className:lq(s?"bg-gray-100 text-black":"text-gray-700 bg-white","block w-full text-left px-4 py-2 text-xl"),children:(0,a.jsxs)("span",{className:"flex flex-row",children:[(0,a.jsx)(h.LazyLoadImage,{src:(0,o.Z)(e.countryImage),alt:"flag",style:{width:"34px",height:"34px",marginRight:"7px"}}),e.country]})})}},t))})})})]})}})]})]}),(0,a.jsx)("div",{className:"w-full md:w-7/12 px-8 md:px-0",children:l.countriesJson&&l.countriesJson[n]&&l.countriesJson[n].contentItem&&l.countriesJson[n].contentItem.map(e=>(0,a.jsxs)("div",{className:"max-w-screen-sm md:w-11/12  w-full md:ml-32   m-auto",children:[(0,a.jsxs)("div",{className:"",children:[e&&(0,a.jsx)("h2",{className:" font-bold mb-6 text-2xl mt-14 md:mt-0",children:e.title}),e&&(0,a.jsx)("p",{className:"mb-16 mt:mb-32 text-base w-full",children:e.description})]}),e&&e.countryContacts&&(0,a.jsx)("div",{className:"",children:e.countryContacts.map(e=>(0,a.jsx)(lM,{title:e.title,role:e.role,address:e.address,phone:e.phone,fax:e.fax,email:e.email,email2:e.email2,email3:e.email3,isActive:!0},e.email))})]},e.title))})]})]})]})},template:{type:"countryListWorldWide",label:"Country List WorldWide",defaultItem:{mainTitle:"ALKALOID WORLDWIDE",countriesJson:[{countryBackground:{},contentItem:[],title:"Insert Title",description:"Insert description",country:"Insert Country Name"}],_template:"ComponentBlocksCountryListWorldWide"},fields:[{component:"text",name:"mainTitle",label:"Main Title"},{name:"countriesJson",label:"Countries",component:"group-list",defaultItem:{countryBackground:{},contentItem:[],title:"Insert Title",description:"Insert description",country:"Insert Country Name"},itemProps:e=>({key:e.name,label:e.country}),fields:[{name:"country",label:"Insert Country Name",component:"text"},{name:"countryImage",label:"Insert Country Flag",component:"image"},{name:"countryBackground",label:"Insert Country Background Image",component:"image"},{name:"contentItem",label:"Content",component:"group-list",itemProps:e=>({key:e.name,label:e.title}),defaultItem:{title:"Insert Title",description:"Insert description",countryContacts:[]},fields:[{name:"title",label:"Insert Title",component:"text"},{name:"description",label:"Insert Description",component:"text"},{name:"countryContacts",label:"Contacts",component:"group-list",itemProps:e=>({key:e.name,label:e.title}),fields:[{name:"title",label:"Title",component:"text"},{name:"role",label:"Role",component:"text"},{name:"email",label:"Email",component:"text"},{name:"email2",label:"Email",component:"text"},{name:"email3",label:"Email",component:"text"},{name:"address",label:"Address",component:"text"},{name:"phone",label:"Phone",component:"text"},{name:"fax",label:"Fax",component:"text"}]}]}]}]}},ComponentBlocksAskAQuestion:{Component:e=>{let{index:t,data:l}=e,{t:s}=(0,k.$)(),n=/^[A-Za-z0-9ĂÂÎȘȚăâîșțА-Яа-яЃѓЉљЊњЌќЅѕЈјЏџ\s\/\-\(\)\?!.,]+$/,r=N.object({email:N.string().email("Invalid email").required(s("required_input")),questionAndComments:N.string().matches(n,s("invalid_characters")).required(s("required_input"))}),i=N.object({email:N.string().email("Invalid email").required(s("required_input")),country:N.string().matches(/^[A-Za-zĂÂÎȘȚăâîșțА-Яа-яЃѓЉљЊњЌќЅѕЈјЏџ\s'\/\-\(\)\?!.,]+$/,s("invalid_characters")).required(s("required_input")),tradeName:N.string().matches(n,s("invalid_characters")).required(s("required_input")),batchNumber:N.string().matches(/^[\d+]+$/,s("only_numbers_plus")).required(s("required_input")),description:N.string().matches(n,s("invalid_characters")).required(s("required_input")),date:N.date().max(new Date,s("no_future_dates")).required(s("required_input"))}),o={email:"",questionAndComments:""},d={email:"",country:"",tradeName:"",batchNumber:"",description:"",date:j.ou.now().toFormat("yyyy-MM-dd")},[m,x]=(0,c.useState)(0),[p,h]=(0,c.useState)(null),[u,b]=(0,c.useState)(!1),[y,w]=(0,c.useState)(!1),[_,C]=(0,c.useState)(!1),[B,S]=(0,c.useState)(!1),A=[{title:s("question_title")},{title:s("compliment_title")},{title:s("concerns_title")}];(0,g.useRouter)();let L=(0,c.useCallback)(()=>{b(!0),setTimeout(()=>{b(!1)},5e3)},[]),I=(0,c.useCallback)(async(e,t)=>{let{resetForm:a}=t;y||(await (0,t9.Z)().post("https://cms.alkaloid.com.mk/api/ask-a-questions",{data:{targetEmail:l.targetEmail1,QuestionAndSuggestions:e}}),w(!0)),L(),setTimeout(()=>{a(),w(!1),h(null),window.grecaptcha&&window.grecaptcha.reset();let e=document.getElementById("check");e&&(e.checked=!1)},5e3)},[L,y]),T=(0,c.useCallback)(async(e,t)=>{let{resetForm:a}=t;_||(await (0,t9.Z)().post("https://cms.alkaloid.com.mk/api/ask-a-questions",{data:{targetEmail:l.targetEmail2,Compliments:e}}),C(!0)),L(),setTimeout(()=>{a(),C(!1),h(null),window.grecaptcha&&window.grecaptcha.reset();let e=document.getElementById("check");e&&(e.checked=!1)},5e3)},[L,_]),R=(0,c.useCallback)(async(e,t)=>{B||(await (0,t9.Z)().post("https://cms.alkaloid.com.mk/api/ask-a-questions",{data:{targetEmail:l.targetEmail3,ConcernsAndComplaints:e}}),S(!0)),L(),setTimeout(()=>{t.resetForm(),S(!1),h(null),window.grecaptcha&&window.grecaptcha.reset();let e=document.getElementById("check");e&&(e.checked=!1)},5e3)},[L,B]);return(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("section",{className:"relative lg:block",children:[(0,a.jsxs)("div",{className:"z-0 has-overlay absolute top-0 left-0 w-full  overflow-hidden",style:{minHeight:420},children:[(0,a.jsx)("div",{className:"absolute top-0 left-0 w-full h-full bg-cover bg-no-repeat bg-gradient-to-r from-alkLightBlue to-alkPurple  mi
35x-blend-multiply"}),(0,a.jsx)("div",{className:"absolute top-0 left-0 w-full h-full bg-cover bg-no-repeat bg-gradient-to-r from-alkLightBlue to-alkPurple opacity-80 mix-blend-multiply hidden"})]}),(0,a.jsx)("div",{className:"container relative flex m-auto pt-20",style:{minHeight:320},children:(0,a.jsx)("div",{className:"w-full",children:(0,a.jsx)("div",{className:"text-3xl text-white font-normal text-center",children:(0,a.jsx)(f.Z,{children:l.mainTitle})})})}),(0,a.jsx)("div",{className:"container relative flex m-auto items-center",style:{minHeight:420},children:(0,a.jsxs)("div",{className:"bg-white relative -top-32 w-full p-12 px-6 md:px-24 pb-24 shadow-2xl",children:[u&&(0,a.jsx)("div",{className:"absolute w-full h-6 sm:h-10 md:h-14 xl:h-20 bottom-0 text-alkDarkGrey bg-formThankYouGreen left-0 flex items-center justify-center",children:s("ask_a_question_thanks")}),(0,a.jsxs)("div",{className:"container flex flex-col items-center mx-auto",children:[(0,a.jsx)("div",{className:"w-full md:hidden",children:(0,a.jsx)("div",{className:"flex flex-row phone:flex-col overflow-scroll no-scrollbar text-center py-10 md:mb-14",children:A.map((e,t)=>(0,a.jsx)("button",{type:"button",onClick:()=>x(t),className:`tablinks cursor-pointer focus:outline-none  py-2 px-5 mx-2 bg-transparent ${t===m?"text-alkLightBlue border-b-2 border-alkLightBlue":"text-alkBlack"} `,children:e.title},t))})}),(0,a.jsx)("div",{className:"hidden md:flex flex-row  text-center py-10 ",children:A.map((e,t)=>(0,a.jsx)("button",{type:"button",onClick:()=>x(t),className:`tablinks cursor-pointer focus:outline-none text-lg 2xl:text-2xl py-2 px-5 mx-2 bg-transparent ${t===m?"text-alkLightBlue border-b-2 border-alkLightBlue":"text-alkBlack"} `,children:e.title},t))})]}),(0,a.jsxs)("div",{className:" mt-4 mb-10 lg:h-24 md:h-24 sm:h-24 phone:h-full h-80",children:[l.questionField&&0===m&&(0,a.jsx)(f.Z,{children:l.questionField}),l.complimentField&&1===m&&(0,a.jsx)(f.Z,{children:l.complimentField}),l.complaintField&&2===m&&(0,a.jsx)(f.Z,{children:l.complaintField})]}),(0,a.jsx)("div",{className:"flex flex-col md:flex-row gap-8 px-0 md:px-16"}),0===m&&(0,a.jsx)(v.J9,{initialValues:o,onSubmit:I,validateOnChange:!1,validationSchema:r,children:(0,a.jsxs)(v.l0,{children:[(0,a.jsx)("div",{children:(0,a.jsxs)("div",{className:"md:grid grid-cols lg:grid-cols-2 gap-x-8 lg:gap-x-16 px-0 2xl:px-16",children:[(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider sm:mt-12 lg:mt-0 md:mt-10 block mb-4",children:s("questions_field")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-60 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"questionAndComments",placeholder:s("questions_placeholder"),required:!0,as:"textarea"}),(0,a.jsx)(v.Bc,{name:"questionAndComments",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider sm:mt-12 lg:mt-0 md:mt-10 block mb-4",children:s("email")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"email",placeholder:s("email_placeholder"),required:!0}),(0,a.jsx)(v.Bc,{name:"email",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]})]})}),(0,a.jsxs)("div",{className:" mt-4 mb-16 lg:h-28 md:h-28 sm:h-20 h-60",children:[(0,a.jsx)("div",{children:(0,a.jsx)(f.Z,{children:l.disclaimer})}),(0,a.jsx)("input",{type:"checkbox",required:!0,id:"check",className:"mt-4"}),(0,a.jsxs)("label",{htmlFor:"check",className:"font-bold mt-4",children:[" ",s("i_agree")]})]}),(0,a.jsx)("div",{className:"active",children:(0,a.jsxs)("div",{className:"transform sm:mt-20 sm:flex-row flex-col phoneSmall:scale-75 sm:scale-100 w-full -ml-4 lg:-ml-0 md:-ml-0 sm:ml-0 text-right  sm:px-0 2xl:px-16 flex  justify-between items-center",children:[(0,a.jsx)(lC.Z,{sitekey:"6Ld7DW0cAAAAAK2cBctPqIJX3dV8ev2x9FRm5XDC",onChange:h}),p&&(0,a.jsx)("input",{type:"submit",value:"Send",className:" flex sm:mt-0 mt-6  flex-col text-base cursor-pointer text-white self
35-end h-12 font-semibold bg-gradient-to-r from-alkLightBlue to-alkPurple py-3 px-12 border-0 border-transparent rounded-full"})]})})]})}),1===m&&(0,a.jsx)(v.J9,{initialValues:o,onSubmit:T,validateOnChange:!1,validationSchema:r,children:(0,a.jsxs)(v.l0,{children:[(0,a.jsx)("div",{children:(0,a.jsxs)("div",{className:"md:grid grid-cols lg:grid-cols-2 gap-x-8 lg:gap-x-16 px-0 2xl:px-16",children:[(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("questions_field")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-60 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"questionAndComments",placeholder:s("questions_placeholder"),required:!0,as:"textarea"}),(0,a.jsx)(v.Bc,{name:"questionAndComments",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("email")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"email",placeholder:s("email_placeholder"),required:!0}),(0,a.jsx)(v.Bc,{name:"email",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]})]})}),(0,a.jsxs)("div",{className:" mt-4 mb-16 lg:h-28 md:h-28 sm:h-20 h-60",children:[(0,a.jsx)("div",{children:(0,a.jsx)(f.Z,{children:l.disclaimer})}),(0,a.jsx)("input",{type:"checkbox",required:!0,id:"check",className:"mt-4"}),(0,a.jsxs)("label",{htmlFor:"check",className:"font-bold mt-4",children:[" ",s("i_agree")]})]}),(0,a.jsx)("div",{className:"active",children:(0,a.jsxs)("div",{className:"transform sm:mt-20 sm:flex-row flex-col phoneSmall:scale-75 sm:scale-100 w-full -ml-4 lg:-ml-0 md:-ml-0 sm:ml-0 text-right  sm:px-0 2xl:px-16 flex  justify-between items-center",children:[(0,a.jsx)(lC.Z,{sitekey:"6Ld7DW0cAAAAAK2cBctPqIJX3dV8ev2x9FRm5XDC",onChange:h}),p&&(0,a.jsx)("input",{type:"submit",value:"Send",className:"text-base cursor-pointer text-white self-end h-12 font-semibold bg-gradient-to-r from-alkLightBlue to-alkPurple py-3 px-12 border-0 border-transparent rounded-full"})]})})]})}),2===m&&(0,a.jsx)(v.J9,{initialValues:d,onSubmit:R,validateOnChange:!1,validationSchema:i,children:e=>{let{errors:t,touched:n}=e;return(0,a.jsxs)(v.l0,{children:[(0,a.jsx)("div",{children:(0,a.jsxs)("div",{className:"md:grid grid-cols lg:grid-cols-2 gap-x-8 lg:gap-x-16 px-0 2xl:px-16",children:[(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("country")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"country",placeholder:s("country_placeholder"),required:!0}),(0,a.jsx)(v.Bc,{name:"country",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("email")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"email",name:"email",placeholder:s("email_placeholder"),required:!0}),(0,a.jsx)(v.Bc,{name:"email",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]})]})}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsxs)("div",{className:"my-10",children:[(0,a.jsx)("h3",{className:"text-2xl",children:s("product_information_title")}),(0,a.jsx)("div",{className:"m-auto w-20 h-1 mb-4 inline-block bg-alkLightBlue rounded relative lg:-left-6 md:-left-6 "}),(0,a.jsxs)("div",{className:"md:grid grid-cols lg:grid-cols-2 gap-x-8 md:gap-x-16 px-0 2xl:px-16",children:[(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("trade_name_field")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"tradeName",placeholder:s("trade_name_placeholder"),required:!0}),(0,a.jsx)(v.Bc,{name:"tradeName",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("batch_field")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"batchNumber",placeholder:s("batch_placeholder"),required:!0}),(0,a.jsx)(v.Bc,{name:"batchNumber",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]})]})]}),(0,a.jsxs)("div",{className:"my-10",children:[(0,a.jsx)("h3",{className:"text-2xl",children:s("complaint_information_title")}),(0,a.jsx)("div",{className:"m-auto w-20 h-1 mb-4 inline-block bg-alkLightBlue rounded relative lg:-left-6 md:-left-6 "}),(0,a.jsxs)("div",{className:"md:grid grid-cols lg:grid-cols-2 gap-x-8 md:gap-x-16 px-0 2xl:px-16",children:[(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("complaint_description_field")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-60 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"description",placeholder:s("c
35omplaint_description_placeholder"),required:!0,as:"textarea"}),(0,a.jsx)(v.Bc,{name:"description",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("complaint_date")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"date",name:"date",max:new Date().toISOString().split("T")[0],placeholder:"Enter Date",required:!0}),(0,a.jsx)(v.Bc,{name:"date",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]})]})]})]}),(0,a.jsxs)("div",{className:" mt-4 mb-16 lg:h-28 md:h-28 sm:h-20 h-60",children:[(0,a.jsx)("div",{children:(0,a.jsx)(f.Z,{children:l.disclaimer})}),(0,a.jsx)("input",{type:"checkbox",required:!0,id:"check",className:"mt-4"}),(0,a.jsxs)("label",{htmlFor:"check",className:"font-bold mt-4",children:[" ",s("i_agree")]})]}),(0,a.jsx)("div",{className:"active",children:(0,a.jsxs)("div",{className:"transform sm:mt-20 sm:flex-row flex-col phoneSmall:scale-75 sm:scale-100 w-full -ml-4 lg:-ml-0 md:-ml-0 sm:ml-0 text-right  sm:px-0 2xl:px-16 flex  justify-between items-center",children:[(0,a.jsx)(lC.Z,{sitekey:"6Ld7DW0cAAAAAK2cBctPqIJX3dV8ev2x9FRm5XDC",onChange:h}),p&&(0,a.jsx)("input",{type:"submit",value:"Send",className:" flex sm:mt-0 mt-6  flex-col text-base cursor-pointer text-white self-end h-12 font-semibold bg-gradient-to-r from-alkLightBlue to-alkPurple py-3 px-12 border-0 border-transparent rounded-full"})]})})]})}})]})})]})})},template:{type:"askAQuestion",label:"Ask a question Form",defaultItem:{_template:"ComponentBlocksAskAQuestion",targetEmail1:"[email protected]",targetEmail2:"[email protected]",targetEmail3:"[email protected]",title:"Ask a question"},fields:[{name:"targetEmail1",label:"Target email 1",component:"text"},{name:"targetEmail2",label:"Target email 2",component:"text"},{name:"targetEmail3",label:"Target email 3",component:"text"},{name:"mainTitle",label:"Title",component:"html2"},{name:"questionField",label:"Question Text",component:"html2"},{name:"complimentField",label:"Compliment Text",component:"html2"},{name:"complaintField",label:"Complaint Text",component:"html2"},{name:"disclaimer",label:"Disclaimer",component:"html2"}]}},ComponentBlocksAskAQuestionSR:{Component:e=>{let{index:t,data:l}=e,{t:s}=(0,k.$)(),n=N.object({email:N.string().email("Invalid email").required(s("required_input")),questionAndComments:N.string().matches(/^[A-Za-z0-9ĂÂÎȘȚăâîșțА-Яа-яЃѓЉљЊњЌќЅѕЈјЏџЂђЖжЗзИиКкЛлМмНнПпРрСсТтЋћУуФфХхЦцЧчШшЉљЊњЌќЋћЏџ\s\/\-\(\)\?!.,]+$/,s("invalid_characters")).required("Required input")}),[r,i]=(0,c.useState)(0),[o,d]=(0,c.useState)(null),[m,x]=(0,c.useState)(!1),[p,h]=(0,c.useState)(!1),[u,b]=(0,c.useState)(!1),[j,y]=(0,c.useState)(!1);console.log(r);let w=[{title:s("question_title")}],_=(0,g.useRouter)();console.log(_.asPath);let C=(0,c.useCallback)(()=>{x(!0),setTimeout(()=>{x(!1)},5e3)},[]),B=(0,c.useCallback)(async e=>{p||(await (0,t9.Z)().post("https://cms.alkaloid.com.mk/api/ask-a-questions",{data:{targetEmail:l.targetEmail1,QuestionAndSuggestions:e}}),h(!0)),C()},[C,p]);return(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("section",{className:"relative lg:block",children:[(0,a.jsxs)("div",{className:"z-0 has-overlay absolute top-0 left-0 w-full  overflow-hidden",style:{minHeight:420},children:[(0,a.jsx)("div",{className:"absolute top-0 left-0 w-full h-full bg-cover bg-no-repeat bg-gradient-to-r from-alkLightBlue to-alkPurple  mi
35x-blend-multiply"}),(0,a.jsx)("div",{className:"absolute top-0 left-0 w-full h-full bg-cover bg-no-repeat bg-gradient-to-r from-alkLightBlue to-alkPurple opacity-80 mix-blend-multiply hidden"})]}),(0,a.jsx)("div",{className:"container relative flex m-auto pt-20",style:{minHeight:320},children:(0,a.jsx)("div",{className:"w-full",children:(0,a.jsx)("div",{className:"text-3xl text-white font-normal text-center",children:(0,a.jsx)(f.Z,{children:l.mainTitle})})})}),(0,a.jsx)("div",{className:"container relative flex m-auto items-center",style:{minHeight:420},children:(0,a.jsxs)("div",{className:"bg-white relative -top-32 w-full p-12 px-6 md:px-24 pb-24 shadow-2xl",children:[m&&(0,a.jsx)("div",{className:"absolute w-full h-6 sm:h-10 md:h-14 xl:h-20 bottom-0 text-alkDarkGrey bg-formThankYouGreen left-0 flex items-center justify-center",children:s("ask_a_question_thanks")}),(0,a.jsxs)("div",{className:"container flex flex-col items-center mx-auto",children:[(0,a.jsx)("div",{className:"w-full md:hidden",children:(0,a.jsx)("div",{className:"flex flex-row phone:flex-col overflow-scroll no-scrollbar text-center py-10 md:mb-14",children:w.map((e,t)=>(0,a.jsx)("button",{type:"button",onClick:()=>i(t),className:`tablinks cursor-pointer focus:outline-none  py-2 px-5 mx-2 bg-transparent ${t===r?"text-alkLightBlue border-b-2 border-alkLightBlue":"text-alkBlack"} `,children:e.title},t))})}),(0,a.jsx)("div",{className:"hidden md:flex flex-row  text-center py-10 ",children:w.map((e,t)=>(0,a.jsx)("button",{type:"button",onClick:()=>i(t),className:`tablinks cursor-pointer focus:outline-none text-lg 2xl:text-2xl py-2 px-5 mx-2 bg-transparent ${t===r?"text-alkLightBlue border-b-2 border-alkLightBlue":"text-alkBlack"} `,children:e.title},t))})]}),(0,a.jsx)("div",{className:" mt-4 mb-10 lg:h-24 md:h-24 sm:h-24 phone:h-full h-80",children:l.questionField&&0===r&&(0,a.jsx)(f.Z,{children:l.questionField})}),(0,a.jsx)("div",{className:"flex flex-col md:flex-row gap-8 px-0 md:px-16"}),0===r&&(0,a.jsx)(v.J9,{initialValues:lz,onSubmit:B,validateOnChange:!1,validationSchema:n,children:(0,a.jsxs)(v.l0,{children:[(0,a.jsx)("div",{children:(0,a.jsxs)("div",{className:"md:grid grid-cols lg:grid-cols-2 gap-x-8 lg:gap-x-16 px-0 2xl:px-16",children:[(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider sm:mt-12 lg:mt-0 md:mt-10 block mb-4",children:s("questions_field")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-60 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"questionAndComments",placeholder:s("questions_placeholder"),required:!0,as:"textarea"}),(0,a.jsx)(v.Bc,{name:"questionAndComments",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider sm:mt-12 lg:mt-0 md:mt-10 block mb-4",children:s("email")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"email",placeholder:s("email_placeholder"),required:!0}),(0,a.jsx)(v.Bc,{name:"email",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]})]})}),(0,a.jsxs)("div",{className:" mt-4 mb-16 lg:h-28 md:h-28 sm:h-20 h-60",children:[(0,a.jsx)("div",{children:(0,a.jsx)(f.Z,{children:l.disclaimer})}),(0,a.jsx)("input",{type:"checkbox",required:!0,id:"check",className:"mt-4"}),(0,a.jsxs)("label",{htmlFor:"check",className:"font-bold mt-4",children:[" ",s("i_agree")]})]}),(0,a.jsx)("div",{className:"active",children:(0,a.jsxs)("div",{className:"transform phoneSmall:scale-75 sm:scale-100 w-full -ml-4 lg:-ml-0 md:-ml-0 sm:ml-0 text-right  sm:px-0 2xl:px-16 flex flex-row justify-between items-center",children:[(0,a.jsx)(lC.Z,{sitekey:"6Ld7DW0cAAAAAK2cBctPqIJX3dV8ev2x9FRm5XDC",onChange:d}),o&&(0,a.jsx)("input",{type:"submit",value:"Send",className:"text-base cursor-pointer text-white self-end h-12 font-semibold bg-gradient-to-r from-alkLightBlue to-alkPurple py-3 px-12 border-0 border-transparent roun
35ded-full"})]})})]})})]})})]})})},template:{type:"askAQuestion",label:"Ask a question Form SR",defaultItem:{_template:"ComponentBlocksAskAQuestionSR",targetEmail1:"[email protected]",title:"Ask a question"},fields:[{name:"targetEmail1",label:"Target email 1",component:"text"},{name:"mainTitle",label:"Title",component:"html2"},{name:"questionField",label:"Question Text",component:"html2"},{name:"disclaimer",label:"Disclaimer",component:"html2"}]}},ComponentBlocksVideoItem:{Component:e=>{let{index:t,data:l}=e;return(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("div",{className:"container grid grid-cols-4 m-auto gap-12  py-10 relative px-8 lg:px-0",children:l.videoItems&&l.videoItems.map(e=>(0,a.jsxs)("div",{className:"",children:[(0,a.jsxs)(x.Z,{to:e.link,children:[(0,a.jsx)(es(),{src:(0,o.Z)(e.featuredImage),alt:(0,p.Z)(e.featuredImage),width:100,height:50}),(0,a.jsx)("h3",{className:"text-lg lg:text-2xl mt-6 mb-2",children:e.title})]}),(0,a.jsx)("p",{className:"text-xs lg:text-sm leading-6 text-alkGrey",children:(0,a.jsx)("span",{children:j.ou.fromISO(e.date).toLocaleString(j.ou.DATE_MED)})})]},e.id))})})},template:{type:"videoItem",label:"Video Item",defaultItem:{videoItems:[],_template:"ComponentBlocksVideoItem"},fields:[{name:"videoItems",label:"Video Items",component:"group-list",itemProps:e=>({key:e.name,label:e.title}),fields:[{name:"title",label:"Title",component:"text"},{name:"link",label:"Link",component:"text"},{name:"date",label:"Date",component:"date"},{name:"featuredImage",label:"Featured Image",component:"image"}],defaultItem:{title:"Insert Title Here",link:"/about",date:"date"}}]}},ComponentBlocksSearchResults:{Component:e=>{let{index:t,data:l}=e,[s,n]=(0,c.useState)(null),[r,i]=(0,c.useState)(0),[o,m]=(0,c.useState)(!1),p=(0,c.useCallback)(async e=>{n(null);let t=e.search,l=await _.Z.get("https://search.alkaloid.com.mk/indexes/page/search",{headers:{"X-Meili-API-Key":"pfq4LLe74mpkYkyBj4dc6hPDNzxd739843b85cb0451792132cfd94aaf011"},params:{q:t,filters:"locale = en"}});l.data&&l.data.hits&&n(l.data)});return(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("section",{className:"relative lg:block",children:[(0,a.jsxs)("div",{className:"z-0 has-overlay absolute top-0 left-0 w-full  overflow-hidden",style:{minHeight:420},children:[(0,a.jsx)("div",{className:"absolute top-0 left-0 w-full h-full bg-cover bg-no-repeat bg-gradient-to-r from-alkLightBlue to-alkPurple  mi
35x-blend-multiply"}),(0,a.jsx)("div",{className:"absolute top-0 left-0 w-full h-full bg-cover bg-no-repeat bg-gradient-to-r from-alkLightBlue to-alkPurple opacity-80 mix-blend-multiply hidden"})]}),(0,a.jsx)("div",{className:"container relative flex m-auto pt-20",style:{minHeight:166},children:(0,a.jsx)("div",{className:"w-full",children:(0,a.jsx)("div",{className:"text-3xl text-white font-normal text-center",children:(0,a.jsx)(f.Z,{children:l.title})})})}),(0,a.jsx)("div",{className:"container relative flex m-auto items-center",style:{minHeight:420},children:(0,a.jsx)("div",{className:"bg-white relative  w-full p-12 px-6 md:px-24 shadow-2xl",children:(0,a.jsxs)("div",{className:"container flex flex-col items-center mx-auto",children:[(0,a.jsx)(v.J9,{onSubmit:p,initialValues:{search:""},children:(0,a.jsxs)(v.l0,{className:"relative container w-8/12 mb-28 mx-auto items-center flex",children:[(0,a.jsx)("i",{className:"absolute  top-3 left-4",children:(0,a.jsx)(es(),{src:lH.Z,width:20,height:20,className:"Home-logo",alt:"logo"})}),(0,a.jsx)(v.gN,{name:"search",className:"rounded-full w-full h-10 pl-12 mr-6 ring-1 text-sm ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border","aria-label":"Search",placeholder:"Search"}),(0,a.jsx)("input",{type:"submit",value:"Search",className:"text-base text-white font-semibold bg-gradient-to-r from-alkLightBlue to-alkPurple py-2 px-6 border-0 border-transparent rounded-full"})]})}),(0,a.jsxs)("section",{className:"flex flex-row w-10/12 mx-auto justify-between",children:[(0,a.jsx)("div",{className:"w-6/12 pr-12",children:(0,a.jsxs)("p",{className:`block text-2xl px-6 py-4 ${t===r?"text-alkLightBlue font-bold active":"border-transparent text-alkLightBlack"} `,children:[(0,a.jsx)("span",{className:"bg-alkLightBlue w-10 h-1 mr-10 mb-1 absolute mt-4 -ml-12  hidden md:inline-block"}),s&&s.hits.length," search results for"," ",s&&s.query]})}),(0,a.jsx)("div",{className:"w-full flex flex-col",children:s&&s.hits&&s.hits.map(e=>(0,a.jsx)("div",{className:"border-b-2 w-full border-alkLightGrey pb-2",children:(0,a.jsxs)(x.Z,{to:e.slug,children:[(0,a.jsx)("h3",{className:"flex-1 text-lg lg:text-2xl mt-6 mb-2",children:e.title.split(RegExp(`(${s.query})`,"gi")).map(e=>e.toLowerCase()===s.query.toLowerCase()?(0,a.jsx)("span",{className:"font-bold",children:e}):(0,a.jsx)("span",{children:e}))}),(0,a.jsx)("p",{className:"text-base text-alkDarkGrey mb-5",children:e.excerpt||""}),(0,a.jsxs)("div",{className:"flex   flex-row justify-end",children:[(0,a.jsx)(d.Z,{src:ll.Z.src,className:"mb-1 h-5 self-end"}),(0,a.jsx)("hr",{})]})]})},e.id))})]})]})})})]})})},template:{type:"searchResults",label:"Search Results Block",defaultItem:{title:"Search Results",questions:[],locale:"EN",_template:"ComponentBlocksSearchResults"},fields:[{component:"text",name:"title",label:"Title"},{component:"radio-group",direction:"horizontal",name:"locale",label:"Locale",description:"Choose a locale",options:[{label:"MK",value:"MK"},{label:"EN",value:"EN"}]}]}},ComponentBlocksCookiePolicy:{Component:e=>{let{index:t}=e,{t:l}=(0,ec.$G)(),[s]=(0,c.useState)(!0),[n,r]=(0,c.useState)(!1),[i,o]=(0,c.useState)(!1),[x,p]=(0,c.useState)(!1),[h,u]=(0,c.useState)(!1),[g,f]=(0,c.useState)(!1),[b,y]=(0,c.useState)(!1),[w,v]=(0,c.useState)(!1),[k,N]=(0,c.useState)(!1),[_,C]=(0,c.useState)(!1),B=()=>{lV.Z.remove("_ga"),lV.Z.remove("_gat_G-WZ0Y03QNQC"),lV.Z.remove("_gid"),lV.Z.remove("_fbp"),lV.Z.remove("_ga_WZ0Y03QNQC")};function S(e){let t={};if(C(!0),setTimeout(()=>{C(!1)},5e3),"true"===e.target.value?(t={performance:!1,submitted:!0},r(!1),N(!k)):t={performance:n,submitted:!0},n){let e=parseInt(j.ou.now().year)+1,t=parseInt(j.ou.now().month),l=parseInt(j.ou.now().day),a=new Date(e.toString(),t.toString(),l.toString());lV.Z.set("opt-out","undefined",{expires:a}),lU().initialize({gtmId:"G-WZ0Y03QNQC"})}else B();localStorage.setItem("cookies",JSON.stringify(t))}return(0,c.useEffect)(()=>{if((0,ez.Z)()&&localStorage.getItem("cookies")){let e=JSON.parse(localStorage.getItem("cookies"));r(e.performance)}},[k]),(0,a.jsxs)("section",{className:"relative",children:[(0,a.jsx)("div",{className:"z-0 has-overlay absolute top-0 left-0 w-full overflow-hidden h-[200px] sm:h-[420px]",children:(0,a.jsx)("div",{className:"absolute top-0 left-0 w-full h-full bg-gradient-to-r from-alkLightBlue to-alkPurple"})}),(0,a.jsx)("div",{className:"container relative flex m-auto items-center",style:{minHeight:420},children:(0,a.jsx)("div",{className:"w-full",children:(0,a.jsx)("h1",{className:"text-4xl -mt-24 sm:mt-0 text-white font-normal text-center",children:l("cookie_policy")})})}),(0,a.jsx)("div",{className:"container relative flex m-auto items-center",style:{minHeight:420},children:(0,a.jsxs)("div",{className:"bg-white relative -top-32 w-full block p-10 sm:p-14 md:p-16 lg:p-20 xl:p-24 shadow-2xl items-center justify-center mx-auto xl:max-w-screen-lg 2xl:max-w-screen-xl",style:{minHeight:1785},children:[_&&(0,a.jsx)("div",{className:"absolute w-full h-6 sm:h-10 md:h-14 xl:h-20 bottom-0 text-alkDarkGrey bg-thankYouGray left-0 flex items-center justify-center",children:l("cookie_saved_successfully")}),(0,a.jsxs)("div",{className:"w-full",children:[(0,a.jsxs)("div",{className:"mb-16",children:[(0,a.jsx)("h3",{className:"text-lg sm:text-2xl",children:l("cookie_policy_what")}),(0,a.jsx)("div",{className:"m-auto w-20 h-1 inline-block bg-alkLightBlue rounded relative -left-6 mb-6"}),(0,a.jsx)("div",{className:"",children:(0,a.jsx)("p",{className:" block mb-4",children:l("cookie_policy_de
35sc_what").split("\n").map(e=>(0,a.jsx)("p",{className:"text-sm sm:text-base mb-4",children:e},e))})})]}),(0,a.jsxs)("div",{className:"my-16",children:[(0,a.jsx)("h3",{className:"text-xl sm:text-2xl",children:l("cookie_policy_why")}),(0,a.jsx)("div",{className:"m-auto w-20 h-1 inline-block bg-alkLightBlue rounded relative -left-6 mb-6"}),(0,a.jsx)("div",{className:"",children:(0,a.jsx)("p",{className:" block mb-4",children:l("cookie_policy_desc_why").split("\n").map(e=>(0,a.jsx)("p",{className:"text-sm sm:text-base mb-4",children:e},e))})})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("h3",{className:"text-xl sm:text-2xl",children:l("cookie_policy_placed")}),(0,a.jsx)("div",{className:"m-auto w-20 h-1 inline-block bg-alkLightBlue rounded relative -left-6 mb-6"}),(0,a.jsxs)("section",{className:"my-10",children:[(0,a.jsx)("div",{children:(0,a.jsxs)("h3",{className:"text-xl sm:text-2xl mb-2",children:[(0,a.jsx)("input",{type:"checkbox",checked:s,id:"cookie-checkbox-always",name:"cookie-checkbox-always",className:"w-4 h-4 mr-3"}),(0,a.jsxs)("label",{htmlFor:"cookie-checkbox-always",children:[l("strictly_necessary_cookies")," - ",l("always_active")]})]})}),(0,a.jsx)("p",{className:"text-sm sm:text-base block mb-4",children:l("always_active_desc")}),(0,a.jsx)("button",{type:"button",onClick:()=>o(!i),className:"underline text-alkLightBlue",children:l("cookieDetails")}),i&&(0,a.jsxs)("div",{className:"bg-gray-50 mb-4 px-4 py-2 justify-center items-center w-full lg:w-8/12 xl:w-9/12 ",children:[(0,a.jsxs)("button",{type:"button",className:"w-full flex flex-row justify-between p-2",onClick:()=>f(!g),children:[(0,a.jsxs)("p",{className:"text-base leading-relaxed text-left text-alkLightBlack",children:[l("cookieName")," WHGCOOKIECONSENT"]}),(0,a.jsx)("span",{className:`${g?"transform rotate-90":""}`,children:(0,a.jsx)(d.Z,{src:m.src,fill:"#00aeef",className:"h-6"})})]}),g?(0,a.jsx)("div",{className:"overflow-hidden p-4 sm:p-10 border-t-2 mt-2 text-sm sm:text-base ",children:l("whgCookieConsent")}):null]})]}),(0,a.jsxs)("section",{className:"my-10",children:[(0,a.jsx)("div",{children:(0,a.jsxs)("h3",{className:"text-xl sm:text-2xl mb-2",children:[(0,a.jsx)("input",{type:"checkbox",onChange:()=>r(!n),checked:n,id:"cookie-checkbox-performance",name:"cookie-checkbox-performance",className:"w-4 h-4 mr-3"}),(0,a.jsx)("label",{htmlFor:"cookie-checkbox-performance",children:l("performance_cookies")})]})}),(0,a.jsx)("p",{className:"text-sm sm:text-base block mb-4",children:l("performance_cookies_desc")}),(0,a.jsx)("button",{type:"button",onClick:()=>p(!x),className:"underline text-alkLightBlue",children:l("cookieDetails")}),x&&(0,a.jsxs)("div",{className:"bg-gray-50 mt-6 mb-4 px-4 py-2 justify-center items-center w-full lg:w-8/12 xl:w-9/12",children:[(0,a.jsxs)("button",{type:"button",className:"w-full flex flex-row justify-between p-2",onClick:()=>y(!b),children:[(0,a.jsxs)("p",{className:"text-base leading-relaxed text-left text-alkLightBlack",children:[l("cookieName")," _ga"]}),(0,a.jsx)("span",{className:`${b?"transform rotate-90":""}`,children:(0,a.jsx)(d.Z,{src:m.src,fill:"#00aeef",className:"h-6"})})]}),b?(0,a.jsx)("div",{className:"overflow-hidden p-4 sm:p-10 border-t-2 mt-2 text-sm sm:text-base text-justify",children:l("googleAnalyticsCookie")}):null]})]})]}),(0,a.jsxs)("div",{className:"my-16",children:[(0,a.jsx)("h3",{className:"text-xl sm:text-2xl",children:l("cookie_policy_changes")}),(0,a.jsx)("div",{className:"m-auto w-20 h-1 inline-block bg-alkLightBlue rounded relative -left-6 mb-6"}),(0,a.jsx)("div",{className:"",children:(0,a.jsx)("p",{className:" block mb-4",children:l("cookie_policy_desc_changes").split("\n").map(e=>(0,a.jsx)("p",{className:"text-sm sm:text-base mb-4",children:e},e))})})]})]}),(0,a.jsxs)("div",{className:"w-full flex flex-row justify-center sm:justify-end flex-wrap gap-2",children:[(0,a.jsx)("button",{type:"button",className:"text-sm sm:text-base cursor-pointer text-black font-semibold  py-3 px-12 border-0 border-transparent rounded-full",value:!0,onClick:e=>S(e),children:l("reject_all_cookies")}),(0,a.jsx)("button",{type:"submit",className:"text-sm sm:text-base cursor-pointer text-white font-semibold bg-gradient-to-r from-alkLightBlue to-alkPurple py-3 px-12 border-0 border-transparent roun
35ded-full",value:!1,onClick:e=>S(e),children:l("confirm_choice")})]})]})})]})},template:{type:"cookiePolicy",label:"Cookie Policy",defaultItem:{_template:"ComponentBlocksCookiePolicy"}}},ComponentBlocksCookiePolicyHR:{Component:e=>{let{index:t}=e,{t:l}=(0,ec.$G)(),[s]=(0,c.useState)(!0),[n,r]=(0,c.useState)(!1),[i,o]=(0,c.useState)(!1),[x,p]=(0,c.useState)(!1),[h,u]=(0,c.useState)(!1),[g,f]=(0,c.useState)(!1),[b,y]=(0,c.useState)(!1),[w,v]=(0,c.useState)(!1),[k,N]=(0,c.useState)(!1),[_,C]=(0,c.useState)(!1),[B,S]=(0,c.useState)(!1),[A,L]=(0,c.useState)(!1),[I,T]=(0,c.useState)(null),R=()=>{lV.Z.remove("_ga"),lV.Z.remove("_gat_UA-18757845-1"),lV.Z.remove("_gid"),lV.Z.remove("_fbp")};function F(e){let t={};if(L(!0),setTimeout(()=>{L(!1)},5e3),"true"===e.target.value?(t={performance:!1,targeting:!1,submitted:!0},r(!1),o(!1),S(!B)):t={performance:n,targeting:i,submitted:!0},i){let e=parseInt(j.ou.now().year)+1,t=parseInt(j.ou.now().month),l=parseInt(j.ou.now().day),a=new Date(e.toString(),t.toString(),l.toString());lV.Z.set("opt-out","undefined",{expires:a}),lU().initialize({gtmId:"G-WZ0Y03QNQC"})}else R();localStorage.setItem("cookies",JSON.stringify(t))}return(0,c.useEffect)(()=>{if((0,ez.Z)()&&localStorage.getItem("cookies")){let e=JSON.parse(localStorage.getItem("cookies"));r(e.performance),o(e.targeting)}},[B]),(0,a.jsxs)("section",{className:"relative",children:[(0,a.jsx)("div",{className:"z-0 has-overlay absolute top-0 left-0 w-full overflow-hidden h-[200px] sm:h-[420px]",children:(0,a.jsx)("div",{className:"absolute top-0 left-0 w-full h-full bg-gradient-to-r from-alkLightBlue to-alkPurple"})}),(0,a.jsx)("div",{className:"container relative flex m-auto items-center",style:{minHeight:420},children:(0,a.jsx)("div",{className:"w-full",children:(0,a.jsx)("h1",{className:"text-4xl -mt-24 sm:mt-0 text-white font-normal text-center",children:l("cookie_policy")})})}),(0,a.jsx)("div",{className:"container relative flex m-auto items-center",style:{minHeight:420},children:(0,a.jsxs)("div",{className:"bg-white relative -top-32 w-full block p-10 sm:p-14 md:p-16 lg:p-20 xl:p-24 shadow-2xl items-center justify-center mx-auto xl:max-w-screen-lg 2xl:max-w-screen-xl",style:{minHeight:1785},children:[A&&(0,a.jsx)("div",{className:"absolute w-full h-6 sm:h-10 md:h-14 xl:h-20 bottom-0 text-alkDarkGrey bg-thankYouGray left-0 flex items-center justify-center",children:l("cookie_saved_successfully")}),(0,a.jsxs)("div",{className:"w-full",children:[(0,a.jsxs)("div",{className:"mb-16",children:[(0,a.jsx)("h3",{className:"text-lg sm:text-2xl",children:l("cookie_policy_what")}),(0,a.jsx)("div",{className:"m-auto w-20 h-1 inline-block bg-alkLightBlue rounded relative -left-6 mb-6"}),(0,a.jsx)("div",{className:"",children:(0,a.jsx)("p",{className:" block mb-4",children:l("cookie_policy_desc_whatHR").split("\n").map(e=>(0,a.jsx)("p",{className:"text-sm sm:text-base mb-4",children:e},e))})})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("h3",{className:"text-xl sm:text-2xl",children:l("cookie_policy_placedHR")}),(0,a.jsx)("div",{className:"m-auto w-20 h-1 inline-block bg-alkLightBlue rounded relative -left-6 mb-6"}),(0,a.jsxs)("section",{className:"my-10",children:[(0,a.jsx)("div",{children:(0,a.jsxs)("h3",{className:"text-xl sm:text-2xl mb-2",children:[(0,a.jsx)("input",{type:"checkbox",checked:s,id:"cookie-checkbox-always",name:"cookie-checkbox-always",className:"w-4 h-4 mr-3"}),(0,a.jsx)("label",{htmlFor:"cookie-checkbox-always",children:l("strictly_necessary_cookiesHR")})]})}),(0,a.jsx)("p",{className:"text-sm sm:text-base block mb-4",children:l("always_active_descHR")}),(0,a.jsx)("button",{type:"button",onClick:()=>p(!x),className:"underline text-alkLightBlue",children:l("cookieDetails")}),x&&(0,a.jsxs)("div",{className:"bg-gray-50 mt-6 mb-4 px-4 py-2 justify-center items-center w-full lg:w-8/12 xl:w-9/12",children:[(0,a.jsxs)("button",{type:"button",className:"w-full flex flex-row justify-between p-2",onClick:()=>y(!b),children:[(0,a.jsxs)("p",{className:"text-base leading-relaxed text-left text-alkLightBlack",children:[l("cookieName")," UniqueID"]}),(0,a.jsx)("span",{className:`${b?"transform rotate-90":""}`,children:(0,a.jsx)(d.Z,{src:m.src,fill:"#00aeef",className:"h-6"})})]}),b?(0,a.jsx)("div",{className:"overflow-hidden p-4 sm:p-10 border-t-2 mt-2 text-sm sm:text-base ",children:l("uniqueIDcookie")}):null]}),x&&(0,a.jsxs)("div",{className:"bg-gray-50 mb-4 px-4 py-2 justify-center items-center w-full lg:w-8/12 xl:w-9/12 ",children:[(0,a.jsxs)("button",{type:"button",className:"w-full flex flex-row justify-between p-2",onClick:()=>v(!w),children:[(0,a.jsxs)("p",{className:"text-base leading-relaxed text-left text-alkLightBlack",children:[l("cookieName")," WHGCOOKIECONSENT"]}),(0,a.jsx)("span",{className:`${w?"transform rotate-90":""}`,children:(0,a.jsx)(d.Z,{src:m.src,fill:"#00aeef",className:"h-6"})})]}),w?(0,a.jsx)("div",{className:"overflow-hidden p-4 sm:p-10 border-t-2 mt-2 text-sm sm:text-base ",children:l("whgCookieConsent")}):null]})]}),(0,a.jsxs)("section",{className:"my-10",children:[(0,a.jsx)("div",{children:(0,a.jsxs)("h3",{className:"text-xl sm:text-2xl mb-2",children:[(0,a.jsx)("input",{type:"checkbox",onChange:()=>r(!n),checked:n,id:"cookie-checkbox-performance",name:"cookie-checkbox-performance",className:"w-4 h-4 mr-3"}),(0,a.jsx)("label",{htmlFor:"cookie-checkbox-performance",children:l("performance_cookiesHR")})]})}),(0,a.jsx)("p",{className:"text-sm sm:text-base block mb-4",children:l("performance_cookies_desc")}),(0,a.jsx)("button",{type:"button",onClick:()=>u(!h),className:"underline text-alkLightBlue",children:l("cookieDetails")}),h&&(0,a.jsxs)("div",{className:"bg-gray-50 mt-6 mb-4 px-4 py-2 justify-center items-center w-full lg:w-8/12 xl:w-9/12",children:[(0,a.jsxs)("button",{type:"button",className:"w-full flex flex-row justify-between p-2",onClick:()=>N(!k),children:[(0,a.jsxs)("p",{className:"text-base leading-relaxed text-left text-alkLightBlack",children:[l("cookieName")," _ga"]}),(0,a.jsx)("span",{className:`${k?"transform rotate-90":""}`,children:(0,a.jsx)(d.Z,{src:m.src,fill:"#00aeef",className:"h-6"})})]}),k?(0,a.jsxs)("div",{className:"overflow-hidden p-4 sm:p-5 border-t-2 mt-2 text-sm sm:text-base text-ju
35stify",children:[l("googleAnalyticsCookie_1"),(0,a.jsx)("br",{}),(0,a.jsx)("br",{}),l("googleAnalyticsCookie_2"),(0,a.jsx)("br",{}),(0,a.jsx)("br",{}),l("googleAnalyticsCookie_3"),(0,a.jsx)("br",{}),(0,a.jsx)("br",{}),l("googleAnalyticsCookie_4"),(0,a.jsx)("br",{}),(0,a.jsx)("br",{}),l("googleAnalyticsCookie_5"),(0,a.jsx)("a",{className:"text-alkLightBlue",href:"http://www.google.com/analytics/learn/privacy.html",children:"http://www.google.com/analytics/learn/privacy.html"}),(0,a.jsx)("br",{}),(0,a.jsx)("br",{}),l("googleAnalyticsCookie_6"),(0,a.jsx)("br",{}),(0,a.jsx)("br",{}),l("googleAnalyticsCookie_7"),(0,a.jsx)("br",{}),(0,a.jsx)("br",{}),l("googleAnalyticsCookie_8"),(0,a.jsx)("a",{className:"text-alkLightBlue",href:"http://tools.google.com/dlpage/gaoptout",children:"http://tools.google.com/dlpage/gaoptout"}),(0,a.jsx)("br",{}),(0,a.jsx)("br",{}),l("googleAnalyticsCookie_9"),(0,a.jsx)("a",{className:"text-alkLightBlue pl-2",href:"http://tools.google.com/dlpage/gaoptout",children:l("googleAnalyticsCookie_9_1")}),(0,a.jsx)("p",{className:"pl-1",children:l("googleAnalyticsCookie_9_2")}),(0,a.jsx)("br",{}),(0,a.jsx)("br",{}),l("googleAnalyticsCookie_10"),(0,a.jsx)("a",{className:"text-alkLightBlue pl-2",href:"https://marketingplatform.google.com/about/analytics/terms/us/",children:l("googleAnalyticsCookie_10_1")}),(0,a.jsx)("a",{className:"text-alkLightBlue pl-2",href:"https://support.google.com/analytics/answer/6004245?hl=en-GB",children:l("googleAnalyticsCookie_10_2")}),l("googleAnalyticsCookie_10_3"),(0,a.jsx)("a",{className:"text-alkLightBlue pl-2",href:"https://policies.google.com/privacy?hl=en",children:l("googleAnalyticsCookie_10_4")}),(0,a.jsx)("br",{}),(0,a.jsx)("br",{}),l("googleAnalyticsCookie_11"),(0,a.jsx)("a",{className:"text-alkLightBlue pl-2",href:"https://myadcenter.google.com/?sasb=true",children:l("googleAnalyticsCookie_12")})]}):null]})]}),(0,a.jsxs)("section",{className:"my-10",children:[(0,a.jsx)("div",{children:(0,a.jsxs)("h3",{className:"text-xl sm:text-2xl mb-2",children:[(0,a.jsx)("input",{type:"checkbox",onChange:()=>o(!i),checked:i,id:"cookie-checkbox-targeting",name:"cookie-checkbox-targeting",className:"w-4 h-4 mr-3"}),(0,a.jsx)("label",{className:" text-red-500",htmlFor:"cookie-checkbox-targeting",children:l("targeting_cookiesHR")})]})}),(0,a.jsx)("p",{className:"text-sm sm:text-base  text-red-500 block mb-4",children:l("targeting_cookies_descHR")})]})]}),(0,a.jsxs)("div",{className:"my-16",children:[(0,a.jsx)("h3",{className:"text-xl sm:text-2xl",children:l("cookie_policy_whyHR")}),(0,a.jsx)("div",{className:"m-auto w-20 h-1 inline-block bg-alkLightBlue rounded relative -left-6 mb-6"}),(0,a.jsx)("div",{className:"",children:(0,a.jsx)("p",{className:" block mb-4",children:l("cookie_policy_desc_whyHR").split("\n").map(e=>(0,a.jsxs)("p",{className:"text-sm sm:text-base mb-4",children:[e,(0,a.jsx)("a",{className:"ml-1 text-alkLightBlue cursor-pointer",href:"https://premamaduo.hr/aboutcookies.org.",target:"_blank",children:l("cookie_policy_desc_whyHR2")}),l("cookie_policy_desc_whyHR3")]},e))})})]}),(0,a.jsxs)("div",{className:"my-16",children:[(0,a.jsx)("h3",{className:"text-xl sm:text-2xl",children:l("cookie_policy_changesHR")}),(0,a.jsx)("div",{className:"m-auto w-20 h-1 inline-block bg-alkLightBlue rounded relative -left-6 mb-6"}),(0,a.jsx)("div",{className:"",children:(0,a.jsx)("p",{className:" block mb-4",children:l("cookie_policy_desc_changesHR").split("\n").map(e=>(0,a.jsx)("p",{className:"text-sm sm:text-base mb-4",children:e},e))})})]})]}),(0,a.jsxs)("div",{className:"w-full flex flex-row justify-center sm:justify-end flex-wrap gap-2",children:[(0,a.jsx)("button",{type:"button",className:"text-sm sm:text-base cursor-pointer text-white font-semibold bg-gradient-to-r from-alkLightBlue to-alkPurple py-3 px-12 border-0 border-transparent rounded-full",value:!0,onClick:e=>F(e),children:l("reject_all_cookies")}),(0,a.jsx)("button",{type:"submit",className:"text-sm sm:text-base cursor-pointer text-white font-semibold bg-gradient-to-r from-alkLightBlue to-alkPurple py-3 px-12 border-0 border-transparent roun
35ded-full",value:!1,onClick:e=>F(e),children:l("confirm_choice")})]})]})})]})},template:{type:"cookiePolicyHR",label:"Cookie Policy HR",defaultItem:{_template:"ComponentBlocksCookiePolicyHR"}}},ComponentBlocksCookiePolicySR:{Component:e=>{let{index:t}=e,{t:l}=(0,ec.$G)(),[s]=(0,c.useState)(!0),[n,r]=(0,c.useState)(!1),[i,o]=(0,c.useState)(!1),[x,p]=(0,c.useState)(!1),[h,u]=(0,c.useState)(!1),[g,f]=(0,c.useState)(!1),[b,y]=(0,c.useState)(!1),[w,v]=(0,c.useState)(!1),[k,N]=(0,c.useState)(!1),[_,C]=(0,c.useState)(!1),[B,S]=(0,c.useState)(!1),A=()=>{lV.Z.remove("_ga"),lV.Z.remove("_gat_UA-18757845-1"),lV.Z.remove("_gid"),lV.Z.remove("_fbp"),lV.Z.remove("_ga_WZ0Y03QNQC")};function L(e){let t={};if(S(!0),setTimeout(()=>{S(!1)},5e3),"true"===e.target.value?(t={performance:!1,submitted:!0},r(!1),C(!_)):t={performance:n,submitted:!0,targeting:w},n){let e=parseInt(j.ou.now().year)+1,t=parseInt(j.ou.now().month),l=parseInt(j.ou.now().day),a=new Date(e.toString(),t.toString(),l.toString());lV.Z.set("opt-out","undefined",{expires:a}),lU().initialize({gtmId:"G-WZ0Y03QNQC"})}else A();localStorage.setItem("cookies",JSON.stringify(t))}return(0,c.useEffect)(()=>{if((0,ez.Z)()&&localStorage.getItem("cookies")){let e=JSON.parse(localStorage.getItem("cookies"));r(e.performance)}},[_]),(0,a.jsxs)("section",{className:"relative",children:[(0,a.jsx)("div",{className:"z-0 has-overlay absolute top-0 left-0 w-full overflow-hidden h-[200px] sm:h-[420px]",children:(0,a.jsx)("div",{className:"absolute top-0 left-0 w-full h-full bg-gradient-to-r from-alkLightBlue to-alkPurple"})}),(0,a.jsx)("div",{className:"container relative flex m-auto items-center",style:{minHeight:420},children:(0,a.jsx)("div",{className:"w-full",children:(0,a.jsx)("h1",{className:"text-4xl -mt-24 sm:mt-0 text-white font-normal text-center",children:l("cookie_policy")})})}),(0,a.jsx)("div",{className:"container relative flex m-auto items-center",style:{minHeight:420},children:(0,a.jsxs)("div",{className:"bg-white relative -top-32 w-full block p-10 sm:p-14 md:p-16 lg:p-20 xl:p-24 shadow-2xl items-center justify-center mx-auto xl:max-w-screen-lg 2xl:max-w-screen-xl",style:{minHeight:1785},children:[B&&(0,a.jsx)("div",{className:"absolute w-full h-6 sm:h-10 md:h-14 xl:h-20 bottom-0 text-alkDarkGrey bg-thankYouGray left-0 flex items-center justify-center",children:l("cookie_saved_successfully")}),(0,a.jsxs)("div",{className:"w-full",children:[(0,a.jsxs)("div",{className:"mb-16",children:[(0,a.jsx)("div",{className:" pb-10",children:"Controller:"}),(0,a.jsxs)("div",{className:"flex flex-col font-semibold space-y-4 pb-10",children:[(0,a.jsx)("p",{children:"ALKALOID Veledrogerija d.o.o. Beograd"}),(0,a.jsx)("p",{children:"Prahovska 3"}),(0,a.jsx)("p",{children:"11000 Belgrade"}),(0,a.jsx)("p",{children:l("country_serbia")})]}),(0,a.jsxs)("div",{className:"flex flex-col space-y-4 pb-10",children:[(0,a.jsx)("p",{children:"e-mail: [email protected]"}),(0,a.jsx)("p",{children:"Telephone: +381 11 3679 070"}),(0,a.jsx)("p",{children:"Fax: +381 11 3679 070"})]}),(0,a.jsx)("div",{className:"",children:(0,a.jsx)("p",{className:" block mb-4",children:l("cookie_policy_desc_what_first").split("\n").map(e=>(0,a.jsx)("p",{className:"text-sm sm:text-base mb-4",children:e},e))})}),(0,a.jsx)("h3",{className:"text-lg sm:text-2xl",children:l("cookie_policy_what")}),(0,a.jsx)("div",{className:"m-auto w-20 h-1 inline-block bg-alkLightBlue rounded relative -left-6 mb-6"}),(0,a.jsx)("div",{className:"",children:(0,a.jsx)("p",{className:" block mb-4",children:l("cookie_policy_desc_what_sr").split("\n").map(e=>(0,a.jsx)("p",{className:"text-sm sm:text-base mb-4",children:e},e))})})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("h3",{className:"text-xl sm:text-2xl",children:l("cookie_policy_placed_sr")}),(0,a.jsx)("div",{className:"m-auto w-20 h-1 inline-block bg-alkLightBlue rounded relative -left-6 mb-6"}),(0,a.jsxs)("section",{className:"my-10",children:[(0,a.jsx)("div",{children:(0,a.jsxs)("h3",{className:"text-xl sm:text-2xl mb-2",children:[(0,a.jsx)("input",{type:"checkbox",checked:s,id:"cookie-checkbox-always",name:"cookie-checkbox-always",className:"w-4 h-4 mr-3"}),(0,a.jsx)("label",{htmlFor:"cookie-checkbox-always",children:l("strictly_necessary_cookiesHR")})]})}),(0,a.jsx)("p",{className:"text-sm sm:text-base block mb-4",children:l("always_active_desc_sr")}),(0,a.jsx)("button",{type:"button",onClick:()=>o(!i),className:"underline text-alkLightBlue",children:l("cookieDetails")}),i&&(0,a.jsxs)("div",{className:"bg-gray-50 mt-6 mb-4 px-4 py-2 justify-center items-center w-full lg:w-8/12 xl:w-9/12",children:[(0,a.jsxs)("button",{type:"button",className:"w-full flex flex-row justify-between p-2",onClick:()=>u(!h),children:[(0,a.jsxs)("p",{className:"text-base leading-relaxed text-left text-alkLightBlack",children:[l("cookieName")," UniqueID"]}),(0,a.jsx)("span",{className:`${h?"transform rotate-90":""}`,children:(0,a.jsx)(d.Z,{src:m.src,fill:"#00aeef",className:"h-6"})})]}),h?(0,a.jsx)("div",{className:"overflow-hidden p-4 sm:p-10 border-t-2 mt-2 text-sm sm:text-base ",children:l("uniqueIDcookie_sr")}):null]}),i&&(0,a.jsxs)("div",{className:"bg-gray-50 mb-4 px-4 py-2 justify-center items-center w-full lg:w-8/12 xl:w-9/12 ",children:[(0,a.jsxs)("button",{type:"button",className:"w-full flex flex-row justify-between p-2",onClick:()=>f(!g),children:[(0,a.jsxs)("p",{className:"text-base leading-relaxed text-left text-alkLightBlack",children:[l("cookieName")," WHGCOOKIECONSENT"]}),(0,a.jsx)("span",{className:`${g?"transform rotate-90":""}`,children:(0,a.jsx)(d.Z,{src:m.src,fill:"#00aeef",className:"h-6"})})]}),g?(0,a.jsx)("div",{className:"overflow-hidden p-4 sm:p-10 border-t-2 mt-2 text-sm sm:text-base ",children:l("whgCookieConsent_sr")}):null]})]}),(0,a.jsxs)("section",{className:"my-10",children:[(0,a.jsx)("div",{children:(0,a.jsxs)("h3",{className:"text-xl sm:text-2xl mb-2",children:[(0,a.jsx)("input",{type:"checkbox",onChange:()=>r(!n),checked:n,id:"cookie-checkbox-performance",name:"cookie-checkbox-performance",className:"w-4 h-4 mr-3"}),(0,a.jsx)("label",{htmlFor:"cookie-checkbox-performance",children:l("performance_cookiesHR")})]})}),(0,a.jsx)("p",{className:"text-sm sm:text-base block mb-4",children:l("performance_cookies_desc")}),(0,a.jsx)("button",{type:"button",onClick:()=>p(!x),className:"underline text-alkLightBlue",children:l("cookieDetails")}),x&&(0,a.jsxs)("div",{className:"bg-gray-50 mt-6 mb-4 px-4 py-2 justify-center items-center w-full lg:w-8/12 xl:w-9/12",children:[(0,a.jsxs)("button",{type:"button",className:"w-full flex flex-row justify-between p-2",onClick:()=>y(!b),children:[(0,a.jsxs)("p",{className:"text-base leading-relaxed text-left text-alkLightBlack",children:[l("cookieName")," _ga"]}),(0,a.jsx)("span",{className:`${b?"transform rotate-90":""}`,children:(0,a.jsx)(d.Z,{src:m.src,fill:"#00aeef",className:"h-6"})})]}),b?(0,a.jsxs)("div",{className:"overflow-hidden p-4 sm:p-5 border-t-2 mt-2 text-sm sm:text-base text-ju
35stify",children:[l("googleAnalyticsCookie_1"),(0,a.jsx)("br",{}),(0,a.jsx)("br",{}),l("googleAnalyticsCookie_2"),(0,a.jsx)("br",{}),(0,a.jsx)("br",{}),l("googleAnalyticsCookie_3"),(0,a.jsx)("br",{}),(0,a.jsx)("br",{}),l("googleAnalyticsCookie_4"),(0,a.jsx)("br",{}),(0,a.jsx)("br",{}),l("googleAnalyticsCookie_5"),(0,a.jsx)("a",{className:"text-alkLightBlue",href:"http://www.google.com/analytics/learn/privacy.html",children:"http://www.google.com/analytics/learn/privacy.html"}),(0,a.jsx)("br",{}),(0,a.jsx)("br",{}),l("googleAnalyticsCookie_6"),(0,a.jsx)("br",{}),(0,a.jsx)("br",{}),l("googleAnalyticsCookie_7"),(0,a.jsx)("br",{}),(0,a.jsx)("br",{}),l("googleAnalyticsCookie_8"),(0,a.jsx)("a",{className:"text-alkLightBlue",href:"http://tools.google.com/dlpage/gaoptout",children:"http://tools.google.com/dlpage/gaoptout"}),(0,a.jsx)("br",{}),(0,a.jsx)("br",{}),l("googleAnalyticsCookie_9"),(0,a.jsx)("a",{className:"text-alkLightBlue pl-2",href:"http://tools.google.com/dlpage/gaoptout",children:l("googleAnalyticsCookie_9_1")}),(0,a.jsx)("p",{className:"pl-1",children:l("googleAnalyticsCookie_9_2")}),(0,a.jsx)("br",{}),(0,a.jsx)("br",{}),l("googleAnalyticsCookie_10"),(0,a.jsx)("a",{className:"text-alkLightBlue pl-2",href:"https://marketingplatform.google.com/about/analytics/terms/us/",children:l("googleAnalyticsCookie_10_1")}),(0,a.jsx)("a",{className:"text-alkLightBlue pl-2",href:"https://support.google.com/analytics/answer/6004245?hl=en-GB",children:l("googleAnalyticsCookie_10_2")}),l("googleAnalyticsCookie_10_3"),(0,a.jsx)("a",{className:"text-alkLightBlue pl-2",href:"https://policies.google.com/privacy?hl=en",children:l("googleAnalyticsCookie_10_4")}),(0,a.jsx)("br",{}),(0,a.jsx)("br",{}),l("googleAnalyticsCookie_11"),(0,a.jsx)("a",{className:"text-alkLightBlue pl-2",href:"https://myadcenter.google.com/?sasb=true",children:l("googleAnalyticsCookie_12")})]}):null]})]}),(0,a.jsxs)("section",{className:"my-10",children:[(0,a.jsx)("div",{children:(0,a.jsxs)("h3",{className:"text-xl sm:text-2xl mb-2",children:[(0,a.jsx)("input",{type:"checkbox",onChange:()=>v(!w),checked:w,id:"cookie-checkbox-targeting",name:"cookie-checkbox-targeting",className:"w-4 h-4 mr-3"}),(0,a.jsx)("label",{className:" text-red-500",htmlFor:"cookie-checkbox-targeting",children:l("targeting_cookiesHR")})]})}),(0,a.jsx)("p",{className:"text-sm sm:text-base  text-red-500 block mb-4",children:l("targeting_cookies_descSR")})]})]}),(0,a.jsxs)("div",{className:"my-16",children:[(0,a.jsx)("h3",{className:"text-xl sm:text-2xl",children:l("cookie_policy_whyHR")}),(0,a.jsx)("div",{className:"m-auto w-20 h-1 inline-block bg-alkLightBlue rounded relative -left-6 mb-6"}),(0,a.jsx)("div",{className:"",children:(0,a.jsx)("p",{className:" block mb-4",children:l("cookie_policy_desc_whyHR").split("\n").map(e=>(0,a.jsxs)("p",{className:"text-sm sm:text-base mb-4",children:[e,(0,a.jsx)("a",{className:"ml-1 text-alkLightBlue cursor-pointer",href:"https://premamaduo.hr/aboutcookies.org.",target:"_blank",children:l("cookie_policy_desc_whyHR2")}),l("cookie_policy_desc_whySR")]},e))})})]}),(0,a.jsxs)("div",{className:"py-4",children:[" ",l("address_following_sr")]}),(0,a.jsxs)("div",{className:"flex flex-col  space-y-4 pt-4",children:[(0,a.jsx)("p",{children:"ALKALOID Veledrogerija d.o.o. Beograd"}),(0,a.jsx)("p",{children:"Prahovska 3"}),(0,a.jsx)("p",{children:"11000 Belgrade"})]}),(0,a.jsxs)("div",{className:"py-4 font-semibold",children:[" ",l("data_prottection_sr")]}),(0,a.jsxs)("div",{className:"py-4 font-semibold",children:[" ",l("data_prottection_mail_sr")]}),(0,a.jsxs)("div",{className:"mb-16 mt-4",children:[(0,a.jsx)("h3",{className:"text-xl sm:text-2xl",children:l("cookie_policy_changesHR")}),(0,a.jsx)("div",{className:"m-auto w-20 h-1 inline-block bg-alkLightBlue rounded relative -left-6 mb-6"}),(0,a.jsx)("div",{className:"",children:(0,a.jsx)("p",{className:" block mb-4",children:l("cookie_policy_desc_changesSR").split("\n").map(e=>(0,a.jsx)("p",{className:"text-sm sm:text-base mb-4",children:e},e))})})]})]}),(0,a.jsxs)("div",{className:"w-full flex flex-row justify-center sm:justify-end flex-wrap gap-2",children:[(0,a.jsx)("button",{type:"button",className:"text-sm sm:text-base cursor-pointer text-black font-semibold  py-3 px-12 border-0 border-transparent roun
35ded-full",value:!0,onClick:e=>L(e),children:l("reject_all_cookies")}),(0,a.jsx)("button",{type:"submit",className:"text-sm sm:text-base cursor-pointer text-white font-semibold bg-gradient-to-r from-alkLightBlue to-alkPurple py-3 px-12 border-0 border-transparent rounded-full",value:!1,onClick:e=>L(e),children:l("confirm_choice")})]})]})})]})},template:{type:"cookiePolicy",label:"Cookie Policy SR",defaultItem:{_template:"ComponentBlocksCookiePolicySR"}}},ComponentBlocksCookiePolicyRO:{Component:e=>{let{index:t}=e,{t:l}=(0,ec.$G)(),[s]=(0,c.useState)(!0),[n,r]=(0,c.useState)(!1),[i,o]=(0,c.useState)(!1),[x,p]=(0,c.useState)(!1),[h,u]=(0,c.useState)(!1),[g,f]=(0,c.useState)(!1),[b,y]=(0,c.useState)(!1),[w,v]=(0,c.useState)(!1),[k,N]=(0,c.useState)(!1),[_,C]=(0,c.useState)(!1),B=()=>{lV.Z.remove("_ga"),lV.Z.remove("_gat_G-WZ0Y03QNQC"),lV.Z.remove("_gid"),lV.Z.remove("_fbp"),lV.Z.remove("_ga_WZ0Y03QNQC")};function S(e){let t={};if(C(!0),setTimeout(()=>{C(!1)},5e3),"true"===e.target.value?(t={performance:!1,submitted:!0},r(!1),N(!k)):t={performance:n,submitted:!0},n){let e=parseInt(j.ou.now().year)+1,t=parseInt(j.ou.now().month),l=parseInt(j.ou.now().day),a=new Date(e.toString(),t.toString(),l.toString());lV.Z.set("opt-out","undefined",{expires:a}),lU().initialize({gtmId:"G-WZ0Y03QNQC"})}else B();localStorage.setItem("cookies",JSON.stringify(t))}return(0,c.useEffect)(()=>{if((0,ez.Z)()&&localStorage.getItem("cookies")){let e=JSON.parse(localStorage.getItem("cookies"));r(e.performance)}},[k]),(0,a.jsxs)("section",{className:"relative",children:[(0,a.jsx)("div",{className:"z-0 has-overlay absolute top-0 left-0 w-full overflow-hidden h-[200px] sm:h-[420px]",children:(0,a.jsx)("div",{className:"absolute top-0 left-0 w-full h-full bg-gradient-to-r from-alkLightBlue to-alkPurple"})}),(0,a.jsx)("div",{className:"container relative flex m-auto items-center",style:{minHeight:420},children:(0,a.jsx)("div",{className:"w-full",children:(0,a.jsx)("h1",{className:"text-4xl -mt-24 sm:mt-0 text-white font-normal text-center",children:l("cookie_policy")})})}),(0,a.jsx)("div",{className:"container relative flex m-auto items-center",style:{minHeight:420},children:(0,a.jsxs)("div",{className:"bg-white relative -top-32 w-full block p-10 sm:p-14 md:p-16 lg:p-20 xl:p-24 shadow-2xl items-center justify-center mx-auto xl:max-w-screen-lg 2xl:max-w-screen-xl",style:{minHeight:1785},children:[_&&(0,a.jsx)("div",{className:"absolute w-full h-6 sm:h-10 md:h-14 xl:h-20 bottom-0 text-alkDarkGrey bg-thankYouGray left-0 flex items-center justify-center",children:l("cookie_saved_successfully")}),(0,a.jsxs)("div",{className:"w-full",children:[(0,a.jsx)("div",{className:"mb-16",children:(0,a.jsx)("div",{className:"",children:(0,a.jsx)("p",{className:" block mb-4",children:l("cookie-intro").split("\n").map(e=>(0,a.jsx)("p",{className:"text-sm sm:text-base mb-4",children:e},e))})})}),(0,a.jsxs)("div",{className:"my-16",children:[(0,a.jsx)("h3",{className:"text-xl sm:text-2xl",children:l("cookie_policy_what")}),(0,a.jsx)("div",{className:"m-auto w-20 h-1 inline-block bg-alkLightBlue rounded relative -left-6 mb-6"}),(0,a.jsx)("div",{className:"",children:(0,a.jsx)("p",{className:" block mb-4",children:l("cookie_policy_desc_whatRO").split("\n").map(e=>(0,a.jsx)("p",{className:"text-sm sm:text-base mb-4",children:e},e))})})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("h3",{className:"text-xl sm:text-2xl",children:l("cookie_policy_placedHR")}),(0,a.jsx)("div",{className:"m-auto w-20 h-1 inline-block bg-alkLightBlue rounded relative -left-6 mb-6"}),(0,a.jsxs)("section",{className:"my-10",children:[(0,a.jsx)("div",{children:(0,a.jsxs)("h3",{className:"text-xl sm:text-2xl mb-2",children:[(0,a.jsx)("input",{type:"checkbox",checked:s,id:"cookie-checkbox-always",name:"cookie-checkbox-always",className:"w-4 h-4 mr-3"}),(0,a.jsx)("label",{htmlFor:"cookie-checkbox-always",children:l("strictly_necessary_cookiesRO")})]})}),(0,a.jsx)("p",{className:"text-sm sm:text-base block mb-4",children:l("always_active_desc")}),(0,a.jsx)("button",{type:"button",onClick:()=>o(!i),className:"underline text-alkLightBlue",children:l("cookieDetails")}),i&&(0,a.jsxs)("div",{className:"bg-gray-50 mb-4 px-4 py-2 justify-center items-center w-full lg:w-8/12 xl:w-9/12 ",children:[(0,a.jsxs)("button",{type:"button",className:"w-full flex flex-row justify-between p-2",onClick:()=>f(!g),children:[(0,a.jsxs)("p",{className:"text-base leading-relaxed text-left text-alkLightBlack",children:[l("cookieName")," WHGCOOKIECONSENT"]}),(0,a.jsx)("span",{className:`${g?"transform rotate-90":""}`,children:(0,a.jsx)(d.Z,{src:m.src,fill:"#00aeef",className:"h-6"})})]}),g?(0,a.jsx)("div",{className:"overflow-hidden p-4 sm:p-10 border-t-2 mt-2 text-sm sm:text-base ",children:l("whgCookieConsent")}):null]}),i&&(0,a.jsxs)("div",{className:"bg-gray-50 mb-4 px-4 py-2 justify-center items-center w-full lg:w-8/12 xl:w-9/12 ",children:[(0,a.jsxs)("button",{type:"button",className:"w-full flex flex-row justify-between p-2",onClick:()=>f(!g),children:[(0,a.jsxs)("p",{className:"text-base leading-relaxed text-left text-alkLightBlack",children:[l("cookieName")," CONSENT"]}),(0,a.jsx)("span",{className:`${g?"transform rotate-90":""}`,children:(0,a.jsx)(d.Z,{src:m.src,fill:"#00aeef",className:"h-6"})})]}),g?(0,a.jsx)("div",{className:"overflow-hidden p-4 sm:p-10 border-t-2 mt-2 text-sm sm:text-base ",children:l("cookieConsent")}):null]})]}),(0,a.jsxs)("section",{className:"my-10",children:[(0,a.jsx)("div",{children:(0,a.jsxs)("h3",{className:"text-xl sm:text-2xl mb-2",children:[(0,a.jsx)("input",{type:"checkbox",onChange:()=>r(!n),checked:n,id:"cookie-checkbox-performance",name:"cookie-checkbox-performance",className:"w-4 h-4 mr-3"}),(0,a.jsx)("label",{htmlFor:"cookie-checkbox-performance",children:l("performance_cookiesRO")})]})}),(0,a.jsx)("p",{className:"text-sm sm:text-base block mb-4",children:l("performance_cookies_descRO")}),(0,a.jsx)("button",{type:"button",onClick:()=>p(!x),className:"underline text-alkLightBlue",children:l("cookieDetails")}),x&&(0,a.jsxs)("div",{className:"bg-gray-50 mt-6 mb-4 px-4 py-2 justify-center items-center w-full lg:w-8/12 xl:w-9/12",children:[(0,a.jsxs)("button",{type:"button",className:"w-full flex flex-row justify-between p-2",onClick:()=>y(!b),children:[(0,a.jsxs)("p",{className:"text-base leading-relaxed text-left text-alkLightBlack",children:[l("cookieName")," _ga"]}),(0,a.jsx)("span",{className:`${b?"transform rotate-90":""}`,children:(0,a.jsx)(d.Z,{src:m.src,fill:"#00aeef",className:"h-6"})})]}),b?(0,a.jsx)("div",{className:"overflow-hidden p-4 sm:p-10 border-t-2 mt-2 text-sm sm:text-base text-ju
35stify",children:l("googleAnalyticsCookie")}):null]})]})]}),(0,a.jsxs)("div",{className:"my-16",children:[(0,a.jsx)("h3",{className:"text-xl sm:text-2xl",children:l("targeting_cookiesHR")}),(0,a.jsx)("div",{className:"m-auto w-20 h-1 inline-block bg-alkLightBlue rounded relative -left-6 mb-6"}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:" block mb-4 text-[#FF0200]",children:l("targeting_cookies_descHR").split("\n").map(e=>(0,a.jsx)("p",{className:"text-sm sm:text-base mb-4",children:e},e))}),(0,a.jsx)("p",{className:" block mb-4 ",children:l("googleAnalyticsCookie_1").split("\n").map(e=>(0,a.jsx)("p",{className:"text-sm sm:text-base mb-4",children:e},e))}),(0,a.jsx)("p",{className:" block mb-4 ",children:l("googleAnalyticsCookie_2").split("\n").map(e=>(0,a.jsx)("p",{className:"text-sm sm:text-base mb-4",children:e},e))}),(0,a.jsx)("p",{className:" block mb-4 ",children:l("googleAnalyticsCookie_3").split("\n").map(e=>(0,a.jsx)("p",{className:"text-sm sm:text-base mb-4",children:e},e))}),(0,a.jsx)("p",{className:" block mb-4 ",children:l("googleAnalyticsCookie_4").split("\n").map(e=>(0,a.jsx)("p",{className:"text-sm sm:text-base mb-4",children:e},e))}),(0,a.jsxs)("span",{className:"flex gap-1",children:[(0,a.jsx)("p",{className:" block mb-4 ",children:l("googleAnalyticsCookie_5").split("\n").map(e=>(0,a.jsx)("p",{className:"text-sm sm:text-base mb-4",children:e},e))}),(0,a.jsx)("span",{className:"text-[#0363C1] underline",children:(0,a.jsx)(I(),{href:"https://policies.google.com/privacy?hl=en",children:"https://policies.google.com/privacy?hl=en."})})]}),(0,a.jsx)("p",{className:" block mb-4 ",children:l("googleAnalyticsCookie_6RO").split("\n").map(e=>(0,a.jsx)("p",{className:"text-sm sm:text-base mb-4",children:e},e))}),(0,a.jsx)("span",{className:"text-[#0363C1] underline",children:(0,a.jsx)(I(),{href:"https://policies.google.com/privacy?hl=en",children:"http://tools.google.com/dlpage/gaoptout."})}),(0,a.jsx)("br",{}),(0,a.jsx)("br",{}),l("googleAnalyticsCookie_10"),(0,a.jsx)("a",{className:"text-alkLightBlue pl-2",href:"https://marketingplatform.google.com/about/analytics/terms/us/",children:l("googleAnalyticsCookie_10_1")}),(0,a.jsx)("a",{className:"text-alkLightBlue pl-2",href:"https://support.google.com/analytics/answer/6004245?hl=en-GB",children:l("googleAnalyticsCookie_10_2")}),l("googleAnalyticsCookie_10_3"),(0,a.jsx)("a",{className:"text-alkLightBlue pl-2",href:"https://policies.google.com/privacy?hl=en",children:l("googleAnalyticsCookie_10_4")}),(0,a.jsx)("br",{}),(0,a.jsx)("br",{}),l("googleAnalyticsCookie_11"),(0,a.jsx)("a",{className:"text-alkLightBlue pl-2",href:"https://adssettings.google.com/authenticated",children:l("googleAnalyticsCookie_12")})]}),(0,a.jsx)("div",{className:"my-16"})]}),(0,a.jsxs)("div",{className:"my-16",children:[(0,a.jsx)("h3",{className:"text-xl sm:text-2xl",children:l("cookie_policy_changesRO")}),(0,a.jsx)("div",{className:"m-auto w-20 h-1 inline-block bg-alkLightBlue rounded relative -left-6 mb-6"}),(0,a.jsxs)("div",{className:"",children:[l("plugIns_desc_RO"),(0,a.jsx)("br",{}),(0,a.jsx)("a",{className:"text-alkLightBlue pl-2",href:"https://www.facebook.com/about/privacy",children:l("plugIns_desc_RO_1")}),"or",(0,a.jsx)("a",{className:"text-alkLightBlue pl-2",href:"https://www.youtube.com/howyoutubeworks/user-settings/privacy/",children:l("plugIns_desc_RO_2")}),(0,a.jsx)("br",{}),l("plugIns_desc_RO_3")]})]}),(0,a.jsxs)("div",{className:"my-16",children:[(0,a.jsx)("h3",{className:"text-xl sm:text-2xl",children:l("cookie_policy_whyHR")}),(0,a.jsx)("div",{className:"m-auto w-20 h-1 inline-block bg-alkLightBlue rounded relative -left-6 mb-6"}),(0,a.jsxs)("div",{className:"",children:[l("cookie_policy_desc_whyHR"),(0,a.jsx)("br",{}),(0,a.jsx)("a",{className:"text-alkLightBlue pl-2",href:"https://www.facebook.com/about/privacy",children:l("cookie_policy_desc_whyHR2")}),(0,a.jsx)("br",{}),l("cookie_policy_desc_whyRO"),(0,a.jsx)("br",{}),l("cookie_policy_desc_whyRO2"),(0,a.jsx)("br",{}),(0,a.jsx)("br",{}),(0,a.jsx)("h3",{className:"text-m sm:text-l font-semibold",children:l("lifeTime_RO")}
35),l("lifeTime_desc_RO")]})]}),(0,a.jsxs)("div",{className:"my-16",children:[(0,a.jsx)("h3",{className:"text-xl sm:text-2xl",children:l("contact_RO")}),(0,a.jsx)("div",{className:"m-auto w-20 h-1 inline-block bg-alkLightBlue rounded relative -left-6 mb-6"}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("h3",{className:"text-m sm:text-l font-semibold",children:l("contact_details_RO")}),(0,a.jsx)("br",{}),l("contact_desc_RO"),(0,a.jsx)("br",{}),l("contact_desc_RO1")]})]}),(0,a.jsx)("div",{className:"my-16",children:(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("h3",{className:"text-m sm:text-l font-semibold",children:l("cookie_policy_changesHR")}),(0,a.jsx)("br",{}),l("cookie_policy_desc_changesRO1"),(0,a.jsx)("br",{}),l("cookie_policy_desc_changesRO2"),(0,a.jsx)("br",{}),(0,a.jsx)("br",{}),(0,a.jsx)("h3",{className:"font-semibold",children:l("cookie_policy_desc_changesRO3")})]})})]}),(0,a.jsxs)("div",{className:"w-full flex flex-row justify-center sm:justify-end flex-wrap gap-2",children:[(0,a.jsx)("button",{type:"button",className:"text-sm sm:text-base cursor-pointer text-white font-semibold bg-gradient-to-r from-alkLightBlue to-alkPurple py-3 px-12 border-0 border-transparent rounded-full",value:!0,onClick:e=>S(e),children:l("reject_all_cookies")}),(0,a.jsx)("button",{type:"submit",className:"text-sm sm:text-base cursor-pointer text-white font-semibold bg-gradient-to-r from-alkLightBlue to-alkPurple py-3 px-12 border-0 border-transparent rounded-full",value:!1,onClick:e=>S(e),children:l("confirm_choice")})]})]})})]})},template:{type:"cookiePolicyRO",label:"Cookie Policy RO",defaultItem:{_template:"ComponentBlocksCookiePolicyRO"}}},...tP,...t$,...tZ,ComponentBlocksTradeWithShares:{Component:e=>{let{index:t,data:l}=e,[s,n]=(0,c.useState)(!0),[r,i]=(0,c.useState)([]),[o,d]=(0,c.useState)(1),m=(0,c.useCallback)(async e=>{let t=j.ou.now().minus(j.nL.fromObject({month:e})),l=[];1===e?(l=await (0,t9.Z)().get(`https://cms.alkaloid.com.mk/api/stocks-data?${le().stringify({filters:{date:{$gt:t.toISODate()}},sort:"date:asc",pagination:{pageSize:100,page:1}})}`)).data&&i(l.data.data.map(e=>({id:e.id,...e.attributes,volume:parseInt(e.attributes.volume)}))):(l=await (0,t9.Z)().get(`https://cms.alkaloid.com.mk/api/stocks-data/weekly-stocks-data?${le().stringify({date_gt:t.toISODate()})}`)).data&&i(l.data.data.map(e=>({...e,volume:parseInt(e.volume)}))),n(!1)},[]);(0,c.useEffect)(()=>{m(o)},[o]);let x=(0,c.useCallback)(e=>{let t=parseInt(e.target.value,10);d(t)},[]);return(0,a.jsx)("div",{className:"container mx-auto",children:s?(0,a.jsx)("p",{children:"......."}):(0,a.jsx)("div",{className:"flex flex-col  xl:flex-row lg:mt-16 phoneSmall:mt-12",children:(0,a.jsxs)("div",{className:"flex-1 phoneSmall:mt-12 sm:mt-16 xl:mt-0 phoneSmall:w-full phoneSmall:text-xs xl:w-1/2 sm:text-sm",children:[(0,a.jsxs)("select",{onChange:x,className:"mb-10",children:[(0,a.jsx)("option",{value:"1",children:"1 Month"}),(0,a.jsx)("option",{value:"3",children:"3 Months"}),(0,a.jsx)("option",{value:"9",children:"9 Months"}),(0,a.jsx)("option",{value:"12",children:"12 Months"})]}),(0,a.jsx)(e9.h,{width:"100%",height:290,children:(0,a.jsxs)(e7.T,{data:r,className:"max-w-full max-h-full",children:[(0,a.jsxs)("defs",{children:[(0,a.jsxs)("linearGradient",{id:"colorUv",x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,a.jsx)("stop",{offset:"5%",stopColor:"#8884d8",stopOpacity:.8}),(0,a.jsx)("stop",{offset:"95%",stopColor:"#8884d8",stopOpacity:0})]}),(0,a.jsxs)("linearGradient",{id:"colorPv",x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,a.jsx)("stop",{offset:"5%",stopColor:"#82ca9d",stopOpacity:.8}),(0,a.jsx)("stop",{offset:"95%",stopColor:"#82ca9d",stopOpacity:0})]})]}),(0,a.jsx)(te.K,{dataKey:"date"}),(0,a.jsx)(tt.B,{domain:["dataMin","dataMax"]}),(0,a.jsx)(tl.q,{strokeDasharray:"3 3"}),(0,a.jsx)(ta.u,{}),(0,a.jsx)(ts.u,{type:"monotone",dataKey:"min",name:"Minimum",stroke:"#FF84d8",fillOpacity:.1}),(0,a.jsx)(ts.u,{type:"monotone",dataKey:"max",name:"Maximum",stroke:"#44AAAA",fillOpacity:.1}),(0,a.jsx)(ts.u,{type:"monotone",dataKey:"avg",name:"Average",stroke:"#8884d8",fillOpacity:1,fill:"url(#colorUv)"})]})}),(0,a.jsx)("div",{className:"h-20"}),(0,a.jsx)(e9.h,{width:"100%",height:290,children:(0,a.jsxs)(tJ.v,{data:r,className:"max-w-full max-h-full",children:[(0,a.jsxs)("defs",{children:[(0,a.jsxs)("linearGradient",{id:"colorUv",x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,a.jsx)("stop",{offset:"5%",
35stopColor:"#8884d8",stopOpacity:.8}),(0,a.jsx)("stop",{offset:"95%",stopColor:"#8884d8",stopOpacity:0})]}),(0,a.jsxs)("linearGradient",{id:"colorPv",x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,a.jsx)("stop",{offset:"5%",stopColor:"#82ca9d",stopOpacity:.8}),(0,a.jsx)("stop",{offset:"95%",stopColor:"#82ca9d",stopOpacity:0})]})]}),(0,a.jsx)(te.K,{dataKey:"date"}),(0,a.jsx)(tt.B,{domain:["dataMin","dataMax"]}),(0,a.jsx)(tl.q,{strokeDasharray:"3 3"}),(0,a.jsx)(ta.u,{}),(0,a.jsx)(tK.$,{type:"monotone",dataKey:"volume",name:"Volume",stroke:"#8884d8",fillOpacity:.1})]})})]})})})},template:{type:"tradeWithShares",label:"Trade With Shares",defaultItem:{_template:"ComponentBlocksTradeWithShares"}}},ComponentBlocksEventsGrid:{Component:e=>{let{index:t,areas:l,events:s}=e,[n,r]=(0,c.useState)(6),i=(0,c.useRef)(),o=(0,g.useRouter)(),d=(0,c.useMemo)(()=>{let e={page:0};if(o.isReady){let t=o.query;t.area&&(e.area=parseInt(t.area)),t.date&&(e.date=j.ou.fromISO(t.date)),t.page&&(e.page=parseInt(t.page))}return e},[o&&o.isReady&&o.query]),m=(0,c.useCallback)(e=>{o.isReady&&o.push({pathname:window.location.pathname,query:e},null,{shallow:!0})},[o]),x=(0,c.useCallback)(e=>{m({...d,page:e}),i.current.scrollIntoView({behavior:"smooth",block:"start"})},[d,m]),p=(0,c.useRef)(null),h=(0,c.useMemo)(()=>{let e=[];for(let t=0;t<s?.data.length;++t){let l=s.data[t],a=j.Xp.fromDateTimes(j.ou.fromISO(l.attributes.startDate).startOf("day"),j.ou.fromISO(l.attributes.endDate).endOf("day")).splitBy({days:1}).map(e=>e.start.toJSDate());e=e.concat(a)}return e},[s]),u=(0,c.useMemo)(()=>l4()(s.data,["attributes.startDate"],["desc"]),[s]),f=(0,c.useMemo)(()=>l1()(u,e=>{let t=!0;if(d.date){let l=d.date.startOf("day"),a=d.date.endOf("day"),s=j.ou.fromISO(e.attributes.startDate),n=j.ou.fromISO(e.attributes.endDate);l<n&&s<a||(t=!1)}return d.area&&!lX()(e.attributes.areas.data,e=>e.id==d.area)&&e.attributes.area!=d.area&&(t=!1),t}),[u,d]),b=(0,c.useMemo)(()=>l.sort((e,t)=>e.attributes.title.localeCompare(t.attributes.title)),[l]),y=(0,c.useMemo)(()=>{if(d.area){let e=lX()(l,{id:d.area});return e?e.attributes.title:""}return""},[d,l]);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{ref:i,className:"container mx-auto md:flex-row phoneSmall:flex-col flex mb-20 ",children:[(0,a.jsxs)(e$.v,{as:"div",className:"relative mt-2 text-left md:ml-10",children:[(0,a.jsx)("div",{children:(0,a.jsxs)(e$.v.Button,{className:"inline-flex justify-between w-full rounded-full border border-gray-300 shadow-sm px-4 py-2 bg-gray-100 text-sm font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-gray-100 focus:ring-indigo-500",children:["Терапевтска област",(0,a.jsx)(eZ.v4q,{className:"-mr-1 ml-2 h-5 w-5","aria-hidden":"true"})]})}),(0,a.jsx)(eO.u,{as:c.Fragment,enter:"transition ease-out duration-100",enterFrom:"transform opacity-0 scale-95",enterTo:"transform opacity-100 scale-100",leave:"transition ease-in duration-75",leaveFrom:"transform opacity-100 scale-100",leaveTo:"transform opacity-0 scale-95",children:(0,a.jsx)(e$.v.Items,{className:"overflow-y-scroll h-[350px]  origin-top-left absolute left-0 mt-2 md:w-56 phoneSmall:w-full rounded-md shadow-lg bg-white ring-1 ring-black ring-opacity-5 focus:outline-none z-50",children:(0,a.jsxs)("div",{className:"py-1",children:[(0,a.jsx)(e$.v.Item,{children:e=>{let{active:t}=e;return(0,a.jsx)("button",{onClick:()=>{m({...d,date:void 0,area:void 0,page:0})},className:l6(t?"bg-gray-100 text-gray-900 w-full text-left":"text-gray-700 w-full text-left","block px-4 py-2 text-sm"),children:"Сите"})}}),(b||[]).map((e,t)=>(0,a.jsx)(e$.v.Item,{children:t=>{let{active:l}=t;return(0,a.jsx)("button",{onClick:()=>{m({...d,date:void 0,area:e.id,page:0})},className:l6(l?"bg-gray-100 text-gray-900":"text-gray-700","block px-4 py-2 text-sm w-full text-left"),children:e.attributes.title})}},e.id))]})})})]}),(0,a.jsx)(e$.v,{as:"div",className:"relative mt-2 md:ml-4 ml-0 inline-block md:w-auto w-72 text-left",children:e=>{let{open:t,...l}=e;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{children:(0,a.jsxs)(e$.v.Button,{className:"inline-flex justify-between w-full rounded-full border border-gray-300 shadow-sm px-4 py-2 bg-gray-100 text-sm font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-gray-100 focus:ring-indigo-500",ref:p,children:["Датум",(0,a.jsx)(eZ.v4q,{className:"-mr-1 ml-2 h-5 w-5","aria-hidden":"true"})]})}),(0,a.jsx)(eO.u,{as:c.Fragment,enter:"transition ease-out duration-100",enterFrom:"transform opacity-0 scale-95",enterTo:"transform opacity-100 scale-100",leave:"transition ease-in duration-75",leaveFrom:"transform opacity-100 scale-100",leaveTo:"transform opacity-0 scale-95",children:(0,a.jsxs)(e$.v.Items,{className:"origin-top-left absolute left-0 my-4 roun
35ded-md shadow-lg bg-white ring-1 ring-black ring-opacity-5 focus:outline-none",children:[(0,a.jsx)("div",{className:"text-right",children:(0,a.jsx)("button",{className:"button text-alkBlue p-2",onClick:()=>{m({...d,date:void 0,area:void 0,page:0})},children:"Избриши датум"})}),(0,a.jsx)(l5(),{className:"dp",onChange:e=>{let t=j.ou.fromJSDate(e);e&&p.current.click(),m({...d,date:e?t.toISODate():void 0,area:void 0,page:0})},date:d.date?d.date.toJSDate():void 0,highlightDates:h,inline:!0,disabledKeyboardNavigation:!0})]})})]})}}),(0,a.jsxs)("span",{className:"pl-4 py-4",children:[!!f.length&&(0,a.jsxs)(a.Fragment,{children:[(!!d.area||!!d.date)&&(0,a.jsx)(a.Fragment,{children:"Резултати од пребарување "}),d.area&&(0,a.jsxs)(a.Fragment,{children:["во ",y," "]}),d.date&&(0,a.jsxs)(a.Fragment,{children:["за датум"," ",d.date.toFormat("d.M.yyyy").toLocaleString(j.ou.TIME_24_SIMPLE)]})]}),!f.length&&(0,a.jsx)(a.Fragment,{children:"Нема резултати од пребарувањето"})]})]}),(0,a.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 xl:grid-cols-3 container mx-auto",children:[f.slice(d.page*n,(d.page+1)*n).map((e,t)=>(0,a.jsx)(lY,{data:e},t))," "]}),(0,a.jsx)("div",{className:"container mx-auto flex flex-row justify-end px-8 lg:px-0 py-10 md:py-24",children:f.length>0&&(0,a.jsx)(lJ.Z,{currentPage:d.page,setPage:x,totalEntries:f.length,limit:n})})]})},template:{type:"eventsGrid",label:"Events Grid",defaultItem:{events:[],_template:"ComponentBlocksEventsGrid"}}},ComponentBlocksLecturesGrid:{Component:e=>{let{index:t,areas:l,lectures:s}=e,[n,r]=(0,c.useState)(6),i=(0,c.useRef)(),o=(0,g.useRouter)(),d=(0,c.useMemo)(()=>{let e={page:0};if(o.isReady){let t=o.query;t.area&&(e.area=parseInt(t.area)),t.date&&(e.date=j.ou.fromISO(t.date)),t.page&&(e.page=parseInt(t.page))}return e},[o&&o.isReady&&o.query]),m=(0,c.useCallback)(e=>{o.isReady&&o.push({pathname:window.location.pathname,query:e},null,{shallow:!0})},[o]),x=(0,c.useCallback)(e=>{m({...d,page:e}),i.current.scrollIntoView({behavior:"smooth",block:"start"})},[d,m]);(0,c.useRef)(null),(0,c.useMemo)(()=>{let e=[];for(let t=0;t<s.data.length;++t){let l=s.data[t],a=j.Xp.fromDateTimes(j.ou.fromISO(l.attributes.startDate).startOf("day"),j.ou.fromISO(l.attributes.endDate).endOf("day")).splitBy({days:1}).map(e=>e.start.toJSDate());e=e.concat(a)}return e},[s]);let p=(0,c.useMemo)(()=>l4()(s.data,["attributes.startDate"],["desc"]),[s]),h=(0,c.useMemo)(()=>l1()(p,e=>{let t=!0;if(d.date){let l=d.date.startOf("day"),a=d.date.endOf("day"),s=j.ou.fromISO(e.attributes.startDate),n=j.ou.fromISO(e.attributes.endDate);l<n&&s<a||(t=!1)}return d.area&&!lX()(e.attributes.areas.data,e=>e.id==d.area)&&e.attributes.area!=d.area&&(t=!1),t}),[p,d]);return(0,c.useMemo)(()=>l.sort((e,t)=>e.attributes.title.localeCompare(t.attributes.title)),[l]),(0,c.useMemo)(()=>{if(d.area){let e=lX()(l,{id:d.area});return e?e.attributes.title:""}return""},[d,l]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{ref:i,className:"container mx-auto md:flex-row phoneSmall:flex-col flex mb-20 "}),(0,a.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 xl:grid-cols-3 container mx-auto",children:[h.slice(d.page*n,(d.page+1)*n).map((e,t)=>(0,a.jsx)(l8,{data:e},t))," "]}),(0,a.jsx)("div",{className:"container mx-auto flex flex-row justify-end px-8 lg:px-0 py-10 md:py-24",children:h.length>0&&(0,a.jsx)(lJ.Z,{currentPage:d.page,setPage:x,totalEntries:h.length,limit:n})})]})},template:{type:"lecturesGrid",label:"Lectures Grid",defaultItem:{lectures:[],_template:"ComponentBlocksLecturesGrid"}}},ComponentBlocksEvents:{Component:e=>{let{index:t,data:l}=e,s=(0,c.useMemo)(()=>{let e=[],t=[];if(l.featuredEventsRefs)for(let a=0;a<l.featuredEventsRefs.length;a+=1)l.featuredEventsRefs[a]&&(e.push(l.featuredEventsRefs[a]),w()(t,{id:l.featuredEventsRefs[a].id}));return e.push(...t),e.slice(0,3)},[l]),n=(0,g.useRouter)(),{locale:r="en"}=n.locale;return(0,a.jsx)("div",{className:"container m-auto justify-around align-text-top  flex flex-col md:flex-row md:gap-8 gap-12 py-10",children:s.map(e=>{let{newsItem:t}=e,{event:l}=t,s=j.ou.fromISO(l.startDate),n=j.ou.fromISO(l.endDate);return(0,a.jsxs)("div",{className:"w-full md:flex mx-auto flex-col border-r-2 border-alkLightGrey mb-32 justify-between px-10",children:[(0,a.jsxs)("div",{className:"flex flex-col justify-start",children:[(0,a.jsx)("div",{className:"text-md text-alkLightBlack text-left mb-7",children:(0,a.jsx)("div",{className:"row-auto",children:(0,a.jsx)("div",{className:"text-alkLightBlack text-left ",children:(0,a.jsx)("div",{className:"row-auto",children:(0,a.jsxs)("div",{className:"w-full text-left",children:[(0,a.jsxs)("span",{className:"w-full text-md mb-[35px]",children:[(0,a.jsx)("span",{children:s.toFormat("d.M.yyyy").toLocaleStr
35ing(j.ou.TIME_24_SIMPLE)}),"\xa0/\xa0"]}),(0,a.jsx)("span",{children:n.toFormat("d.M.yyyy").toLocaleString(j.ou.TIME_24_SIMPLE)}),"\xa0,\xa0",(0,a.jsx)("span",{children:s.setLocale("es-UY").toLocaleString(j.ou.TIME_24_SIMPLE)})]})})})})}),(0,a.jsx)("div",{className:"text-md text-alkLightBlack text-left mb-[35px]",children:(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"font-bold",children:"Тема:"}),(0,a.jsx)(f.Z,{className:"text-alkLightBlue",children:l.tema})]})}),(0,a.jsxs)("div",{className:"text-md text-alkLightBlack text-left mb-[35px]",children:[(0,a.jsx)("div",{className:"font-bold",children:" Терапевтска област:"}),(0,a.jsx)("div",{children:l.areas&&l.areas.map((e,t)=>(0,a.jsx)(f.Z,{children:e.title},t))})]}),(0,a.jsx)("hr",{className:"my-6 sm:hidden"}),(0,a.jsx)("div",{className:"text-md text-alkLightBlack text-left mb-[35px]",children:(0,a.jsx)("div",{children:(0,a.jsx)(f.Z,{children:l.description})})})]}),(0,a.jsx)("div",{className:"flex flex-row",children:l.action&&(0,a.jsx)(b.qJ,{data:l.action})})]},t.id)})})},template:{type:"events",label:"Events",defaultItem:{featuredEventsRefs:[],_template:"ComponentBlocksEvents"},fields:[{name:"featuredEventsRefs",label:"Featured events",component:"list",field:{component:"page",category:"event"}}]}},ComponentBlocksLectures:{Component:e=>{let{index:t,data:l}=e,s=(0,c.useMemo)(()=>{let e=[],t=[];if(l.featuredLecturesRefs)for(let a=0;a<l.featuredLecturesRefs.length;a+=1)l.featuredLecturesRefs[a]&&(e.push(l.featuredLecturesRefs[a]),w()(t,{id:l.featuredLecturesRefs[a].id}));return e.push(...t),e.slice(0,3)},[l]),n=(0,g.useRouter)(),{locale:r="en"}=n.locale;return(0,a.jsx)("div",{className:"container m-auto justify-around align-text-top  flex flex-col md:flex-row md:gap-8 gap-12 py-10",children:s.map(e=>{let{newsItem:t}=e,{lecture:l}=t,s=j.ou.fromISO(l.startDate),n=j.ou.fromISO(l.endDate);return(0,a.jsxs)("div",{className:"w-full md:flex mx-auto flex-col border-r-2 border-alkLightGrey mb-32 justify-between px-10",children:[(0,a.jsxs)("div",{className:"flex flex-col justify-start",children:[(0,a.jsx)("div",{className:"text-md text-alkLightBlack text-left mb-[35px]",children:(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"font-bold",children:"Тема:"}),(0,a.jsx)(f.Z,{className:"text-alkLightBlue",children:l.tema})]})}),(0,a.jsx)("hr",{className:"my-6 sm:hidden"}),(0,a.jsxs)("div",{className:"text-md text-alkLightBlack text-left mb-[35px]",children:[(0,a.jsx)("strong",{children:(0,a.jsx)("p",{children:"Предавач:"})}),(0,a.jsx)("span",{children:l.lecturer})]}),(0,a.jsxs)("div",{className:"text-md text-alkLightBlack text-left mb-[35px]",children:[(0,a.jsx)("strong",{children:(0,a.jsx)("p",{children:"Датум на започнување:"})}),(0,a.jsx)("span",{children:s.toFormat("d.M.yyyy").toLocaleString(j.ou.TIME_24_SIMPLE)})]}),(0,a.jsxs)("div",{className:"text-md text-alkLightBlack text-left mb-[35px]",children:[(0,a.jsx)("strong",{children:(0,a.jsx)("p",{children:"Краен датум на важност:"})}),(0,a.jsx)("span",{children:n.toFormat("d.M.yyyy").toLocaleString(j.ou.TIME_24_SIMPLE)})]})]}),(0,a.jsxs)("div",{className:"text-md text-alkLightBlack text-left mb-[35px]",children:[(0,a.jsx)("strong",{children:(0,a.jsx)("p",{children:"Бодови:"})}),(0,a.jsx)("span",{children:l.points})]}),(0,a.jsxs)("div",{className:"text-md text-alkLightBlack text-left mb-[35px]",children:[(0,a.jsx)("strong",{children:(0,a.jsx)("p",{children:"Статус:"})}),(0,a.jsx)("span",{children:l.status})]}),(0,a.jsx)("div",{className:"flex flex-row",children:l.action&&(0,a.jsx)(b.qJ,{data:l.action})})]},t.id)})})},template:{type:"lectures",label:"Lectures",defaultItem:{featuredLecturesRefs:[],_template:"ComponentBlocksLectures"},fields:[{name:"featuredLecturesRefs",label:"Featured lectures",component:"list",field:{component:"page",category:"lecture"}}]}},ComponentBlocksSimilarP2PCard:{Component:e=>{let{index:t,latestNews:l,data:s,articles:n}=e,r=n[`${t}`],[i,m]=(0,c.useState)(s.newsType),[u,g]=(0,c.useState)(r||[]),f=(0,c.useCallback)(async e=>{let t=await (0,em.Zt)("en",e);m(e),g(t)},[]);(0,c.useEffect)(()=>{r&&i===s.newsType||f(s.newsType)},[r,i,s.newsType,l,f]);let b=(0,c.useMemo)(()=>{let e=[],t=[];if(s.newsType&&0!==s.newsType.length?t.push(...u):t.push(...l),s.featuredNews)for(let l=0;l<s.featuredNews.length;l+=1)e.push(s.featuredNews[l]),w()(t,e=>e.id==s.featuredNews[l].id);return e.push(...t),e},[u,l,s]);return(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("div",{className:"container m-auto flex-auto md:flex py-10 relative px-8 lg:px-16",children:[(0,a.jsx)(tu.tq,{centeredSlides:!1,spaceBetween:32,slidesPerView:1,observer:!0,observeParents:!0,navigation:{prevEl:".classname-of-button-prev-news-carousel",nextEl:".classname-of-button-next-news-carousel"},className:"mySwiper md:w-full",breakpoints:{640:{width:640,slidesPerView:1},740:{slidesPerView:2},1024:{slidesPerView:3},1280:{slidesPerView:3}},children:b.map(e=>(0,a.jsx)(tu.o5,{className:"border-b-2 border-alkLightGrey",children:(0,a.jsx)("div",{className:"pb-4",children:(0,a.jsxs)(x.Z,{to:`/${e.attributes.slug}`,children:[s.showImages&&(0,a.jsx)(h.LazyLoadImage,{src:(0,o.Z)(e.attributes.featuredImage?.data?.attributes,"medium"),alt:(0,p.Z)(e.attributes.featuredImage?.data?.attributes),className:"h-60 w-[600px] object-cover flex flex-col"}),(0,a.jsxs)("div",{className:"flex flex-row justify-between",children:[(0,a.jsx)("p",{className:"flex-1 text-xs lg:text-sm leading-6 mt-5 text-black",children:e.attributes.therapyArea&&(0,a.jsxs)("span",{className:"flex-1",children:[s.description,": ",e.attributes.therapyArea]})}),(0,a.jsx)("p",{className:"flex-2 text-xs lg:text-sm leading-6 mt-5 text-black"})]}),(0,a.jsx)("h2",{className:`flex-1 text-lg lg:text-2xl mt-3 ${s.showImages?"":"h-52 "}`,children:e.attributes.title}),(0,a.jsxs)("div",{className:"flex flex-row mb-4 w-full justify-between",children:[(0,a.jsx)("p",{className:"flex flex-row text-xs lg:text-sm leading-6 mt-6 text-black",children:s.showImages&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{children:e.attributes.profileImage?.data&&(0,a.jsx)("div",{children:e.attributes.profileName&&(0,a.jsx)(h.LazyLoadImage,{alt:(0,p.Z)(e.attributes.profileImage.data.attributes),src:(0,o.Z)(e.attributes.profileImage.data.attributes),className:"rounded-full h-[40px] w-[40px] object-cover"})})}),(0,a.jsx)("p",{className:" float-right flex-1 text-xs lg:text-sm leading-6 mt-2 ml-2 text-black",children:(0,a.jsx)("span",{className:"flex-1",children:e.attributes.profileName})})]})}),!1===s.showImages&&(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("div",{className:" flex items-end  mb-2 ",children:(0,a.jsx)(d.Z,{src:ll.Z.src,className:"mb-1 h-5"})})})]}),(0,a.jsx)(x.Z,{to:`/${e.attributes.slug}`,className:"underline text-alkLightBlue text-base",children:s.readArticle})]})})},e.attributes.slug))}),(0,a.jsx)("button",{type:"button",className:"classname-of-button-next-news-carousel absolute right-0 top-32 shadow-2xl z-20 bg-white rounded-full lg:h-16 lg:w-16 h-12 w-12  md:top-36 sm:top-36 flex items-center justify-center ",children:(0,a.jsx)("i",{className:"absolute",children:(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"13",height:"22.737",viewBox:"0 0 13 22.737",children:(0,a.jsx)("path",{id:"Icon_ionic-ios-arrow-down","data-name":"Icon ionic-ios-arrow-down",d:"M11.373,9.081l8.6-8.6a1.618,1.618,0,0,1,2.295,0,1.638,1.638,0,0,1,0,2.3l-9.741,9.748a1.622,1.622,0,0,1-2.241.047L.474,2.786A1.625,1.625,0,0,1,2.769.484Z",transform:"translate(0 22.737) rotate(-90)",fill:"#00aeef"})})})}),(0,a.jsx)("button",{type:"button",className:"classname-of-button-prev-news-carousel absolute left-0 transform rotate-180 top-32 shadow-2xl z-20 bg-white rounded-full lg:h-16 lg:w-16 h-12 w-12  md:top-36 sm:top-36 flex items-center justify-center",children:(0,a.jsx)("i",{className:"absolute",children:(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"13",height:"22.737",viewBox:"0 0 13 22.737",children:(0,a.jsx)("path",{id:"Icon_ionic-ios-arrow-down","data-name":"Icon ionic-ios-arrow-down",d:"M11.373,9.081l8.6-8.6a1.618,1.618,0,0,1,2.295,0,1.638,1.638,0,0,1,0,2.3l-9.741,9.748a1.622,1.622,0,0,1-2.241.047L.474,2.786A1.625,1.625,0,0,1,2.769.484Z",transform:"translate(0 22.737) rotate(-90)",fill:"#00aeef"})})})})]})})},template:l7},ComponentBlocksMultipleSquares:{Component:e=>{let{index:t,data:l}=e;return(0,a.jsx)("div",{className:"container mx-auto grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-2 2xl:grid-cols-4 gap-8 pb-10",children:(0,a.jsx)(S.Z,{values:l.singleSquares,blocks:{...at},direction:"horizontal",className:""})})},template:{type:"MultipleSquares",label:"Multiple Squares",defaultItem:{singleSquares:[],_template:"ComponentBlocksMultipleSquares"},fields:[{name:"singleSquares",label:"Single Square",component:"blocks",templates:{ComponentComponentsSingleSquare:ae}}]}},ComponentBlocksGradientPopup:{Component:()=>{let[e,t]=(0,c.useState)(!0),l=(0,c.useRef)(null);return(0,a.jsx)(eO.u.Root,{show:e,as:c.Fragment,children:(0,a.jsx)(al.V,{as:"div",className:"fixed z-10 
35inset-0 overflow-y-auto",initialFocus:l,onClose:t,children:(0,a.jsxs)("div",{className:"flex items-end justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0",children:[(0,a.jsx)(eO.u.Child,{as:c.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:(0,a.jsx)(al.V.Overlay,{className:"fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity"})}),(0,a.jsx)("span",{className:"hidden sm:inline-block sm:align-middle sm:h-screen","aria-hidden":"true",children:"​"}),(0,a.jsx)(eO.u.Child,{as:c.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",enterTo:"opacity-100 translate-y-0 sm:scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 translate-y-0 sm:scale-100",leaveTo:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",children:(0,a.jsxs)("div",{className:"inline-block align-bottom bg-gradient-to-r from-alkLightBlue to-alkPurple text-center overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:max-w-6xl sm:w-full",children:[(0,a.jsx)("div",{className:"bg-gradient-to-r text-center from-alkLightBlue to-alkPurple px-4 pt-5 pb-4 sm:p-6 sm:pb-1 ",children:(0,a.jsxs)("div",{className:"mt-8 text-white md:text-4xl text-2xl sm:mt-0 sm:ml-4 ",children:["Добредојдовте на Алкалоид ПроНет порталот ",(0,a.jsx)("br",{})," за здравствени работници",(0,a.jsx)("div",{className:"mt-2",children:(0,a.jsx)("p",{className:" md:text-base text-tiny text-black-500 mt-8 md:mb-10 mb-5",children:"Помогнете ни да ве упатиме до вистинските информации со избирање на една од следниве опции"})})]})}),(0,a.jsxs)("div",{className:"pb-12",children:[(0,a.jsx)("div",{className:"inline-flex sm:px-10 px-0",children:(0,a.jsx)("button",{type:"button",className:"w-80 inline-flex  border rounded-full border-transparent shadow-sm px-10 md:py-4 py-1 bg-gray-100 text-base font-medium text-gray-700 focus:outline-none focus:ring-2 focus:ring-offset-2  sm:ml-3 sm:w-auto",onClick:()=>t(!1),children:"ЈАС НЕ СУМ ЗДРАВСТВЕН РАБОТНИК"})}),(0,a.jsx)("div",{className:"lg:inline-flex lg:px-10 lg:py-5 sm:hidden rotate-90 inline-flex px-10 py-0",children:(0,a.jsx)(d.Z,{src:"/_next/static/media/line.707d323f.svg"})}),(0,a.jsx)("div",{className:"inline-flex sm:px-10 px-0 sm:mt-5 mt-0",children:(0,a.jsx)("button",{type:"button",className:" w-80 inline-flex  border rounded-full border-transparent shadow-sm px-10  py-1 md:py-4  bg-gray-100  font-medium text-gray-700 focus:outline-none focus:ring-2 focus:ring-offset-2 ml-0  sm:ml-3 sm:w-auto text-base",onClick:()=>t(!1),ref:l,children:"ЈАС СУМ ЗДРАВСТВЕН РАБОТНИК"})})]})]})})]})})})},template:{type:"gradientPopup",label:"Gradient Pop Up",defaultItem:{title:"Добредојдовте на Алкалоид ПроНет порталот за здравствени работници",descr:"Помогнете ни да ве упатиме до вистинските информации со избирање на една од следниве опции",buttontext:"ЈАС НЕ СУМ ЗДРАВСТВЕН РАБОТНИК",buttontexttwo:"ЈАС СУМ ЗДРАВСТВЕН РАБОТНИК",_template:"ComponentBlocksGradientPopup"}}},ComponentBlocksRectangleLinks:{Component:e=>{let{index:t,data:l}=e;return(0,a.jsx)("section",{className:"relative mb-16 overflow-x-hidden overflow-y-hidden",children:(0,a.jsxs)("div",{className:"sm:container relative lg:flex lg:flex-row m-auto items-center",children:[(0,a.jsx)("div",{className:"flex-1  flex flex-row align-start sm:mb-12 lg:mb-0",children:(0,a.jsxs)("button",{type:"button",className:"text-left w-full sm:w-[80%] lg:w-[75%] xl:w-[470px] phoneSmall:text-2xl phoneLarge:text-3xl font-normal  text-white bg-gradient-to-r from-alkLightBlue via-alkLightBlue to-alkPurple relative py-[35px] pl-[45px] md:pb-[20px] md:pl-[30px] pr-[40px]",children:[(0,a.jsxs)(x.Z,{to:l.link,children:[l.title,l.link&&(0,a.jsx)("div",{className:"absolute right-[24px] sm:right-0 top-[30%] phoneLarge:top-[45px] md:top-8 ",children:(0,a.jsx)(d.Z,{className:"w-[15px] phoneLarge:w-[22px]",src:m.src})})]}),(0,a.jsx)("div",{className:"hidden sm:block w-36 h-full absolute top-0 -right-36",children:(0,a.jsx)(d.Z,{src:tw.Z.src})}),(0,a.jsx)(d.Z,{src:U.Z.src,className:"hidden sm:block w-16 absolute top-0 -right-24"})]})}),(0,a.jsx)("div",{className:"flex-1  flex flex-row align-start",children:(0,a.jsxs)("button",{type:"button",className:"text-left w-full sm:w-[80%] lg:w-[75%] xl:w-[470px] phoneSmall:text-2xl phoneLarge:text-3xl font-normal  text-white bg-darkblue relative py-[35px] pl-[45px] md:pb-[20px] md:pl-[30px] pr-[40px]",children:[(0,a.jsxs)(x.Z,{to:l.secondlink,children:[l.secondtitle,(0,a.jsx)("p",{className:"text-lg mt-5",children:l.desc}),l.secondlink&&(0,a.jsx)("div",{className:"absolute right-[24px] sm:right-0 top-[20%] phoneLarge:top-[25px] md:top-5 ",children:(0,a.jsx)(d.Z,{className:"w-[25px] phoneLarge:w-[45px]",src:aa.src})})]}),(0,a.jsx)("div",{className:"hidden sm:block w-36 h-full absolute top-0 -right-36",children:(0,a.jsx)(d.Z,{src:"/_next/static/media/blueangle.93898bac.svg"})})]})})]})})},template:{type:"RectangleLinks",label:"Rectangle Links",defaultItem:{title:"Insert title here",secondtitle:"Insert title here",link:"/",secondlink:"/",_template:"ComponentBlocksRectangleLinks"},fields:[{name:"title",label:"Title",component:"text"},{name:"secondtitle",label:"Second Title",component:"text"},{name:"desc",label:"Desc",component:"text"},{name:"link",label:"Link",component:"text"},{name:"secondlink",label:"Second Link",component:"text"}]}},ComponentBlocksProNetNewsletter:{Component:e=>{let{index:t,data:l}=e;return(0,a.jsx)("div",{className:"container mx-auto bg-alkLightGrey ",children:(0,a.jsxs)("div",{className:"mx-auto py-20 flex flex-col lg:flex-row items-center lg:items-center justify-between",children:[(0,a.jsxs)("div",{className:"flex flex-col flex-shrink lg:w-2/3",children:[(0,a.jsx)("h4",{className:"uppercase text-alkBlack text-2xl mb-6",children:l.title}),(0,a.jsx)("div",{className:"text-base text-alkOffWhite",children:(0,a.jsx)(f.Z,{children:l.content})})]}),(0,a.jsx)("div",{className:"flex flex-col lg:flex-row mt-10 md:mt-6 lg:mt-0 items-center justify-center w-full lg:w-1/3",children:(0,a.jsx)(x.Z,{href:l.link,children:(0,a.jsx)("a",{className:"inline-block text-base text-white lg:flex-shrink-0 w-56 lg:w-auto  self-center lg:self-auto text-center font-regular bg-gradient-to-r from-alkLightBlue to-alkPurple py-3 px-8 rounded-full",children:"Регистрирај се"})})})]})})},template:{type:"proNetNewsletter",label:"ProNet Newsletter",defaultItem:{title:"Insert Title",content:"Insert content here",_template:"ComponentBlocksProNetNewsletter"},fields:[{name:"link",label:"link",component:"text"},{name:"title",label:"Title",component:"text"},{name:"content",label:"Content",component:"html2"},{name:"buttonText",label:"Button Text",component:"text"},{name:"placeholder",label:"Input Placeholder",component:"text"}]}},...an.ZP,ComponentBlocksLoginPopUp:{Component:()=>(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("div",{className:"container mx-auto",children:(0,a.jsx)("div",{className:"flex bg-white justify-center px-6 my-12",children:(0,a.jsxs)("div",{className:"w-full xl:w-3/4 lg:w-11/12 flex shadow-2xl",children:[(0,a.jsx)(h.LazyLoadImage,{src:"/_next/static/media/loginimagetwo.b7bd77dc.png",alt:"loginimage",className:"lg:flex lg:w-[470px] w-full  hidden"}),(0,a.jsxs)("div",{className:"w-full lg:w-1/2  p-5  rounded-lg lg:rou
35nded-l-none",children:[(0,a.jsx)(d.Z,{src:"/_next/static/media/exit.66bddeeb.svg",className:"float-right cursor-pointer"}),(0,a.jsx)("h3",{className:"pt-4 lg:text-[45px] text-3xl mt-16 text-center",children:"Добредојдовте"}),(0,a.jsxs)("form",{className:"px-8 pt-6 ",children:[(0,a.jsxs)("div",{className:"mb-4",children:[(0,a.jsx)("label",{htmlFor:"username",className:"block mb-2 text-sm  text-gray-300",children:"Внесете ја вашата е-маил адреса"}),(0,a.jsx)("input",{className:"w-full px-3 py-2 text-sm  text-gray-700",id:"username",type:"text",placeholder:"Внесете ја вашата е-маил адреса "}),(0,a.jsx)("hr",{})]}),(0,a.jsxs)("div",{className:"mb-4",children:[(0,a.jsx)("label",{className:"block mb-2 text-sm text-gray-300",htmlFor:"password",children:"Лозинка"}),(0,a.jsx)("input",{className:"w-full px-3 py-2 text-sm  text-gray-700",id:"password",type:"password",placeholder:"******************"}),(0,a.jsx)("hr",{}),(0,a.jsx)("p",{className:"text-xs mt-5 text-right cursor-pointer  text-gray-300",children:"заборавена лозинка?"}),(0,a.jsx)("hr",{className:"w-32 float-right"})]}),(0,a.jsx)("div",{className:"mb-3 text-center",children:(0,a.jsx)("button",{className:"w-full sm:text-lg text-base px-4 mt-5 py-2  text-white bg-gradient-to-r from-alkLightBlue to-alkPurple  focus:outline-none focus:shadow-outline rounded-full",type:"button",children:"НАЈАВИ СЕ"})}),(0,a.jsx)("div",{className:"md:hidden flex-1 mt-10",children:(0,a.jsx)(h.LazyLoadImage,{src:"/_next/static/media/mobLog.8aba963c.png",alt:"mobile Log In",className:" phoneSmall:w-80 sm:w-full"})}),(0,a.jsxs)("div",{className:"items-center mt-5 justify-between flex flex-row",children:[(0,a.jsx)("div",{className:" mt-2 flex-1",children:(0,a.jsxs)("a",{className:"md:flex md:text-sm md:text-gray-300 hidden",href:"./forgot-password.html",children:["Немате профил?"," "]})}),(0,a.jsx)("div",{className:"flex-1",children:(0,a.jsx)("button",{className:"lg:w-48 lg:py-2 lg:rounded-full lg:text-black text-white lg:bg-gray-100 lg:focus:outline-none lg:focus:shadow-outline",type:"button",children:"РЕГИСТРИРАЈ СЕ"})})]})]})]})]})})})}),template:{type:"loginPopup",label:"Log In Pop Up",defaultItem:{_template:"ComponentBlocksLoginPopup"},fields:[]}},...ar.ZP,...ai.ZP,ComponentBlocksToolsSlider:{Component:e=>{let{data:t,index:l}=e,[s,n]=(0,c.useState)(!1);return(0,a.jsxs)("div",{style:{background:"linear-gradient(#f5f5f5 50%, transparent 50%) no-repeat"},className:"wrapper overflow-auto",children:[(0,a.jsx)("div",{className:"container mx-auto my-16",children:(0,a.jsx)(lD.Z,{title:t.title})}),(0,a.jsxs)("section",{className:"md:container mx-auto my-14 relative ",children:[(0,a.jsxs)(tu.tq,{spaceBetween:0,slidesPerView:1,observer:!0,observeParents:!0,updateOnWindowResize:!0,navigation:{prevEl:".classname-of-button-prev-tools-slider",nextEl:".classname-of-button-next-tools-slider"},className:"mySwiper md:shadow-xl",breakpoints:{640:{width:640,slidesPerView:1},740:{slidesPerView:1},1024:{slidesPerView:1},1280:{slidesPerView:1}},children:["cutout"===t.type&&t.slidesJson.map(e=>(0,a.jsx)(tu.o5,{children:(0,a.jsx)("section",{className:"pt-7 px-5 md:px-0 lg:pt-0 lg:py-12 lg:pl-10",style:{height:"600px",backgroundImage:`url('${(0,o.Z)(e.backgroundImage)}')`,backgroundPositionX:"50%",backgroundPositionY:"50%",backgroundSize:"cover",backgroundRepeat:"no-repeat"},children:(0,a.jsx)("div",{className:"sm:container flex flex-col w-full m-auto",children:(0,a.jsxs)("div",{className:"w-full phoneSmall:mb-20 sm:-bottom-28 relative overflow-hidden",children:[(0,a.jsx)(d.Z,{src:ao.src,className:"hidden sm:block absolute left-0 bottom-0"}),(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"100%",viewBox:"0 0 480.346 1240.001",className:"block sm:hidden  absolute z-0 -bottom-0 left-0",children:(0,a.jsx)("path",{d:"M-535.351,0H442.292L704.65,480.346h-1240Z",transform:"translate(480.346 535.351) rotate(90)",fill:"#fff",opacity:"1"})}),(0,a.jsxs)("div",{className:"max-w-screen-sm relative z-10 pt-4 px-5 lg:pt-8 lg:pl-12 lg:pb-8 lg:pr-20 md:px-16 phoneSmall:px-8",children:[(0,a.jsx)("div",{className:"text-xl md:text-3xl font-regular md:mb-6 phoneSmall:text-2xl phoneSmall:mb-0",children:(0,a.jsx)(f.Z,{children:e.title})}),(0,a.jsx)("div",{className:"text-sm md:text-base leading-relaxed mb-4 phoneSmall:h-80 phoneSmall:mb-10 sm:h-auto overflow-y-scroll no-scrollbar",children:(0,a.jsx)(f.Z,{children:e.content})}),(0,a.jsx)("div",{className:" phoneSmall:-mt-2 transform sm:-translate-y-6 sm:  items-center md:items-start",children:(0,a.jsx)(x.Z,{to:e.linkTo,className:" lg:mt-10 lg:mb-0 md:mt-2 md:mb-4 inline-block text-base phoneLarge:text-sm text-white font-semibold bg-gradient-to-r from-alkLightBlue to-alkPurple py-3 px-14 roun
35ded-full",children:(0,a.jsx)("span",{className:"float-left mr-2",children:e.label})})})]})]})})})},e.title)),"full"===t.type&&t.slidesJson.map(e=>(0,a.jsxs)(tu.o5,{children:[(0,a.jsxs)("div",{className:"outer-container relative hidden md:flex flex-row w-full shadow-xl",style:{height:"600px"},children:[(0,a.jsx)("div",{className:"md:bg-toolsmediumversion lg:w-[60%] md:w-[80%] bg-right bg-cover px-40 md:px-20 xl:bg-toolsv2shape md:h-full z-10 bg-no-repeat absolute left-0 heroShape md:pl-0 md:left-0  2xl:left-0  lg:left-0 ",children:(0,a.jsx)("div",{className:"absolute flex bottom-10 right-0 overflow-hidden h-24 ",children:(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"",width:"171.78",height:"310.78",viewBox:"0 0 171.78 310.78",children:(0,a.jsx)("line",{x2:"165",y2:"304",transform:"translate(3.39 3.39)",fill:"none",stroke:"#00aeef",strokeLinecap:"round",strokeWidth:"5"})})})}),(0,a.jsx)("div",{className:"flex items-center md:pl-4 lg:pl-10 xl:pl-20 lg:pr-4 md:pb-10 xl:pb-0 w-2/3",children:(0,a.jsx)("div",{className:"NewsCarousel md:-mt-40 xl:-mt-60 xlSpecial:-mt-40 h-60 flex flex-col md:ml-10 lg:ml-0 justify-between items-start z-20 w-7/12",children:(0,a.jsxs)("div",{className:" flex flex-col justify-between h-full",children:[(0,a.jsx)("div",{animate:{x:200,opacity:0},initial:"false",className:"text-black mb-9 md:text-lg lg:text-2xl xl:text-4xl font-normal md:leading-7 lg:leading-10 ",children:e.title}),(0,a.jsx)("div",{className:"text-black  lg:h-full md:text-sm lg:text-base xl:text-lg font-normal mb-10",children:(0,a.jsx)(f.Z,{children:e.content})}),(0,a.jsx)("div",{className:"flex flex-col-reverse phoneSmall:-mt-2 transform phoneSmall:-translate-y-10 sm:-translate-y-6 sm: gap-6 items-center md:items-start pt-8",children:(0,a.jsx)(x.Z,{to:e.linkTo,className:" mt-10 inline-block text-base phoneLarge:text-sm text-white font-semibold bg-gradient-to-r from-alkLightBlue to-alkPurple py-3 px-14 rounded-full",children:(0,a.jsx)("span",{className:"float-left mr-2 ",children:e.label})})})]})})}),(0,a.jsx)("div",{className:"overflow-hidden absolute bottom-0 left-0 right-0 top-0 xl:flex xl:justify-end",children:(0,a.jsx)("div",{className:"px-40 xl:bg-toolsv2shape md:h-full bg-center md:px-0 w-full sm:bg-cover xl:bg-contain sm:bg-center lg:bg-right",style:{height:"600px",backgroundRepeat:"no-repeat",backgroundImage:`url("${(0,o.Z)(e.backgroundImage)}")`}})}),(0,a.jsx)("div",{className:"flex flex-row  justify-end items-center"})]}),(0,a.jsxs)("div",{className:"outer-container  md:mb-0 phoneSmall:mb-8 md:hidden phoneSmall:mx-5 relative sm:w-[90%] phoneSmall:w-auto flex flex-col shadow-xl",children:[(0,a.jsx)("div",{className:"bg-toolsv2shapemob  h-[90%] absolute mt-2 bottom-0 bg-right-top bg-cover bg-no-repeat w-full z-10"}),(0,a.jsx)("div",{className:"flex items-center px-8 ",children:(0,a.jsx)("div",{className:"NewsCarousel h-full flex flex-col justify-between items-start z-20 w-full",children:(0,a.jsxs)("div",{className:"flex flex-col justify-between sm:mt-[312px] phone:mt-[180px] phoneSmall:mt-[150px] phoneLarge:mt-[260px] px-4 md:mt-0 h-full",children:[(0,a.jsx)("div",{animate:{x:200,opacity:0},initial:"false",className:"text-black mb-9 text-2xl font-normal ",children:e.title}),(0,a.jsx)("div",{className:"text-black text-sm font-normal ",children:(0,a.jsx)(f.Z,{children:e.content})}),(0,a.jsx)(x.Z,{to:e.linkTo,className:"text-base my-4 text-center text-white font-semibold bg-gradient-to-r from-alkLightBlue to-alkPurple py-2 px-4 mb-10 rounded-full",children:(0,a.jsx)("span",{className:"",children:e.label})})]})})}),(0,a.jsx)("div",{className:"overflow-hidden absolute z-0 w-full h-full",children:(0,a.jsx)("div",{className:"bg-no-repeat bg-contain bg-top h-full",style:{backgroundImage:`url("${(0,o.Z)(e.backgroundImageMobile)}")`}})})]})]},e.title))]}),(0,a.jsx)("button",{type:"button",className:"classname-of-button-prev-tools-slider absolute transform rotate-180 left-2 md:left-16 top-60 rounded-full phoneSmall:h-10 phoneSmall:w-10 sm:h-16 sm:w-16 flex items-center justify-center shadow-2xl z-20 bg-white",children:(0,a.jsx)("i",{className:"absolute",children:(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"13",height:"22.737",viewBox:"0 0 13 22.737",children:(0,a.jsx)("path",{id:"Icon_ionic-ios-arrow-down","data-name":"Icon ionic-ios-arrow-down",d:"M11.373,9.081l8.6-8.6a1.618,1.618,0,0,1,2.295,0,1.638,1.638,0,0,1,0,2.3l-9.741,9.748a1.622,1.622,0,0,1-2.241.047L.474,2.786A1.625,1.625,0,0,1,2.769.484Z",transform:"translate(0 22.737) rotate(-90)",fill:"#00aeef"})})})}),(0,a.jsx)("button",{type:"button",className:"classname-of-button-next-tools-slider absolute right-2 md:right-16 top-60 rounded-full phoneSmall:h-10 phoneSmall:w-10 sm:h-16 sm:w-16 flex items-center justify-center shadow-2xl z-20 bg-white",children:(0,a.jsx)("i",{className:"absolute",children:(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"13",height:"22.737",viewBox:"0 0 13 22.737",children:(0,a.jsx)("path",{id:"Icon_ionic-ios-arrow-down","data-name":"Icon ionic-ios-arrow-down",d:"M11.373,9.081l8.6-8.6a1.618,1.618,0,0,1,2.295,0,1.638,1.638,0,0,1,0,2.3l-9.741,9.748a1.622,1.622,0,0,1-2.241.047L.474,2.786A1.625,1.625,0,0,1,2.769.484Z",transform:"translate(0 22.737) rotate(-90)",fill:"#00aeef"})})})})]})]})},template:{type:"toolsSlider",label:"Tools Slider",defaultItem:{_template:"ComponentBlocksToolsSlider",type:"cutout",title:"Tools",slidesJson:[]},fields:[{component:"radio-group",direction:"horizontal",name:"type",label:"Style Type",description:"Choose a rating for this review",o
35ptions:[{label:"Cutout",value:"cutout"},{label:"Full",value:"full"}]},{name:"title",label:"Title",component:"text"},{label:"Slides",name:"slidesJson",component:"group-list",description:"Authors List",itemProps:e=>({key:e.id,label:e.title}),defaultItem:()=>({title:"Уринарни инфекции",id:Math.random().toString(36).substr(2,9)}),fields:[{label:"Title",name:"title",component:"text"},{label:"Content",name:"content",component:"html2"},{name:"label",label:"Label",component:"text"},{name:"linkTo",label:"Link to",component:"text"},{name:"backgroundImage",label:"Background",component:"image"},{name:"backgroundImageMobile",label:" Mobile Background",component:"image"}]}]}},ComponentBlocksProNetHeroSlider:{Component:e=>{let{index:t,data:l}=e,[s,n]=(0,c.useState)(l.pronetHomepageSlides.length-1);return(0,a.jsx)(tu.tq,{loop:!0,effect:"fade",speed:300,spaceBetween:0,slidesPerView:1,updateOnWindowResize:!0,pagination:{clickable:!0,el:".pronet-hero-pagination",type:"bullets",bulletClass:"swiper-pagination-bullet"},navigation:{prevEl:".prev-pronet-button",nextEl:".next-pronet-button"},className:"ProNetSwiper container mx-auto",children:l.pronetHomepageSlides.map((e,t)=>(0,a.jsxs)(tu.o5,{children:[(0,a.jsxs)("section",{style:{width:"100%",height:"668px",backgroundSize:"cover",backgroundPosition:"center center",backgroundRepeat:"no-repeat",backgroundImage:`url("${(0,o.Z)(e.featuredImage)}")`},className:"justify-start items-center hidden pronet:flex pronet:pl-10 xl:pl-24",children:[(0,a.jsx)("div",{className:"flex items-center sm:w-[90%] lg:w-[80%] xl:w-2/3",children:(0,a.jsxs)("div",{className:"NewsCarousel flex flex-col justify-between items-start z-20 w-[100%] xl:w-[90%] 2xl:w-[80%]",children:[(0,a.jsx)("div",{className:"Enumerators z-20 flex flex-row mb-[20px]",children:(0,a.jsx)("ul",{className:"pronet-hero-pagination"})}),(0,a.jsxs)("div",{className:"flex flex-row",children:[(0,a.jsxs)("div",{className:" bg-white  z-10 flex flex-col justify-between h-[402px]  pl-[55px] pt-[55px] pb-[40px] text-black",children:[(0,a.jsx)("div",{animate:{x:200,opacity:0},initial:"false",className:"z-10 md:text-2xl lg:text-4xl font-normal md:leading-7 lg:leading-10 text-black ",children:e.title}),(0,a.jsx)("div",{className:"z-10 text-xs md:text-sm lg:text-base font-normal h-[150px] text-black pr-2 ",children:(0,a.jsx)(f.Z,{children:e.content})}),(0,a.jsx)("div",{className:"z-20 mt-10",children:(e.actions||[]).map(e=>(0,a.jsx)(b.qJ,{data:e},e.link))})]},e.name),(0,a.jsx)(h.LazyLoadImage,{src:"/_next/static/media/ProNetWhite2.1d097bc5.png",alt:"alt",className:" xlSpecial:w-[226.8px]  lg:w-[226.7px] sm:w-[226.4px] w-full z-0 -ml-2"})]})]})}),(0,a.jsx)("div",{className:"pronet-slider-button absolute bottom-24 right-10",children:(0,a.jsx)("div",{className:"next-pronet-button cursor-pointer",children:(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"",width:"26.748",height:"46.783",viewBox:"0 0 26.748 46.783",children:(0,a.jsx)("path",{id:"Icon_ionic-ios-arrow-down","data-name":"Icon ionic-ios-arrow-down",d:"M23.4,18.685,41.089.982a3.329,3.329,0,0,1,4.722,0,3.371,3.371,0,0,1,0,4.736L25.768,25.775a3.337,3.337,0,0,1-4.61.1L.975,5.732A3.344,3.344,0,0,1,5.7,1Z",transform:"translate(0 46.783) rotate(-90)",fill:"#2ABCEE"})})})})]}),(0,a.jsx)("section",{style:{width:"100%",height:"668px",backgroundSize:"cover",backgroundPosition:"center center",backgroundRepeat:"no-repeat",backgroundImage:`url("${(0,o.Z)(e.mobileImage)}")`},className:"flex  pt-5 pronet:hidden",children:(0,a.jsx)("div",{className:"flex items-center px-[38px]",children:(0,a.jsxs)("div",{className:"NewsCarousel h-full flex flex-col pronet:justify-between items-start z-20 w-full",children:[(0,a.jsx)("div",{className:"Enumerators z-20 flex flex-row mb-[20px]",children:(0,a.jsx)("ul",{className:"pronet-hero-pagination"})}),(0,a.jsxs)("div",{className:"flex flex-col pronet:justify-between px-[15px] phoneLarge:px-[30px] pt-[26px] sm:mt-20 md:mt-0 pronet:h-full bg-white overflow-visible",children:[(0,a.jsx)("div",{animate:{x:200,opacity:0},initial:"false",className:"text-black mb-9 text-2xl font-normal ",children:e.title}),(0,a.jsx)("div",{className:"text-black text-sm font-normal ",children:(0,a.jsx)(f.Z,{children:e.content})}),(0,a.jsx)("div",{className:"z-10 mt-10 mb-[-50px] phoneLarge:mb-[-60px] text-left text-2xl",children:(e.actions||[]).map(e=>(0,a.jsx)(b.qJ,{data:e,className:""},e.link))}),(0,a.jsx)("div",{className:"pronet-slider-button absolute bottom-24 right-10",children:(0,a.jsx)("div",{className:"next-pronet-button",children:(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"",width:"26.748",height:"46.783",viewBox:"0 0 26.748 46.783",children:(0,a.jsx)("path",{id:"Icon_ionic-ios-arrow-down","data-name":"Icon ionic-ios-arrow-down",d:"M23.4,18.685,41.089.982a3.329,3.329,0,0,1,4.722,0,3.371,3.371,0,0,1,0,4.736L25.768,25.775a3.337,3.337,0,0,1-4.61.1L.975,5.732A3.344,3.344,0,0,1,5.7,1Z",transform:"translate(0 46.783) rotate(-90)",fill:"#2ABCEE"})})})})]},e.name),(0,a.jsx)(h.LazyLoadImage,{src:"/_next/static/media/ProNetBoxWhiteMobile.b05fbd28.png",alt:"alt",className:"w-[150%] z-0 pointer-events-none"})]})})})]},e.title))})},template:ad},ComponentBlocksToolsFilters:{Component:e=>{let{index:t,data:l,areas:s}=e,[n,r]=(0,c.useState)(!0),i=(0,c.useCallback)(()=>{let e={},t={};
35s.pages&&(s.pages.forEach(l=>{n&&l.hasTools&&(e[l.title]=!0),l.subareasJson&&l.subareasJson.forEach(e=>{n&&(t[e.title]=!0)})}),setOpenAreas(e),setOpenSubareas(t))},[s.pages,n]);(0,c.useEffect)(()=>{i()},[]);let[o,m]=(0,c.useState)(0),[x,p]=(0,c.useState)(!1),[h,u]=(0,c.useState)([]),[g,f]=(0,c.useState)([]),[b,j]=(0,c.useState)(!1),y=(0,c.useRef)(),w=(0,c.useCallback)(e=>{for(let t=0;t<s.length;++t){if(s[t].attributes.slug===e)return s[t].id;for(let l=0;l<s[t].attributes.children.length;++l)if(s[t].attributes.children[l].attributes.slug===e)return s[t].attributes.children[l].id}},[s]),v=(0,c.useCallback)(()=>{let e=[];b||(j(!0),s.forEach(t=>{t.attributes.children.length?t.attributes.children.forEach(t=>e.push(t.id)):e.push(t.id)})),b&&j(!1),u([...e])},[b,s]);(0,c.useEffect)(()=>{let e=le().parse(window.location.search,{ignoreQueryPrefix:!0});if(e.areas){j(!1);let t=e.areas.map(e=>w(e));u(t)}else v()},[w]);let k=(0,c.useCallback)((e,t,l)=>(t?e.forEach(e=>{h.includes(e.id)||l.push(e.id)}):e.forEach(e=>l.splice(l.indexOf(e.id),1)),l),[h]),N=(0,c.useCallback)(e=>{0!==o&&m(0),b&&j(!1);let t=[...h];if((!e.children||e.children&&e.children.length<1)&&(t.includes(e.id)?t.splice(t.indexOf(e.id),1):t.push(e.id)),e.children&&e.children.length>0){let l=!1;e.children.forEach(e=>{h.includes(e.id)||(l=!0)});let a=k(e.children,l,t);t=[...a]}u(t)},[h,k,b,o]),_=(0,c.useMemo)(()=>{if(l&&l.toolsJson){let e=l.toolsJson.filter(e=>h.includes(parseInt(e.area&&e.area.id))),t=[...e];return t}},[l,h]);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("section",{ref:y,className:`transition flex ${x?"flex-col-reverse h-full":"flex-col"} z-50 w-full`,children:[x&&(0,a.jsxs)("div",{className:"filters lg:hidden bg-white overflow-y-scroll flex flex-col py-6 px-9 w-full",children:[(0,a.jsx)("div",{className:"flex flex-row items-center border-alkLightGrey justify-between border-b-2",children:(0,a.jsx)("p",{className:"text-xl font-bold pl-2 py-1",children:"Терапевтски Области"})}),(0,a.jsxs)("div",{onClick:()=>v(),className:"flex flex-row items-center border-b-2 pb-1 border-alkLightGrey justify-between w-full",children:[(0,a.jsx)("label",{className:"pl-2 text-lg font-bold  w-full cursor-pointer",children:"Види ги сите"}),(0,a.jsx)("input",{type:"checkbox",checked:b,className:"h-[17px] w-[17px] flex-shrink-0 cursor-pointer"})]}),(0,a.jsx)("div",{className:"pl-4",children:s&&s.map((e,t)=>(0,a.jsx)("div",{children:(0,a.jsxs)("div",{className:"flex flex-col justify-center items-start ",children:[(0,a.jsxs)("div",{onClick:()=>N(e),className:" flex flex-row items-center justify-between w-full border-b-2 border-alkLightGrey",children:[(0,a.jsx)("label",{className:"text-lg font-semibold pl-2 py-1 cursor-pointer",children:e.attributes.title},t),e.attributes.children.length<1&&(0,a.jsx)("input",{type:"checkbox",id:t,checked:h.includes(e.id),className:"h-[17px] w-[17px] flex-shrink-0 cursor-pointer"})]}),e.attributes.children&&e.attributes.children.map((e,t)=>(0,a.jsxs)("div",{onClick:()=>N(e),className:"flex flex-row items-center justify-between w-full cursor-pointer",children:[(0,a.jsx)("label",{className:"pl-6 py-1 cursor-pointer",children:e.title}),(0,a.jsx)("input",{type:"checkbox",id:t,checked:h.includes(e.id),className:"h-[17px] w-[17px] flex-shrink-0 cursor-pointer"})]},t))]})},t))})]}),(0,a.jsxs)("div",{className:"flex lg:hidden justify-between items-center w-full h-16 px-9 bg-alkPurple",children:[(0,a.jsx)("p",{className:"text-white text-xl font-medium",children:"Терапевтски области"}),(0,a.jsx)(d.Z,{src:ln.src,className:`w-6 h-3 transition ease-in-out ${x?"transform rotate-180":""}`,onClick:()=>p(!x)})]})]}),(0,a.jsx)("div",{className:"outer",children:(0,a.jsxs)("div",{className:"inner container mx-auto flex flex-col lg:flex-row justify-between w-full",children:[(0,a.jsxs)("section",{className:"filters hidden lg:flex flex-col py-6 px-4 mb-6 w-3/12",children:[(0,a.jsx)("div",{className:"flex flex-row items-center border-alkLightGrey justify-between border-b-2 mb-6",children:(0,a.jsx)("label",{className:"   text-xl font-bold pl-2 py-4",children:"Терапевтски Области"})}),(0,a.jsxs)("div",{onClick:()=>v(),className:"flex flex-row items-center border-b-2 pb-1 border-alkLightGrey justify-between w-full",children:[(0,a.jsx)("label",{className:"pl-2 text-lg font-bold  w-full cursor-pointer",children:"Види ги сите"}),(0,a.jsx)("input",{type:"checkbox",checked:b,className:"h-[17px] w-[17px] flex-shrink-0 cursor-pointer"})]}),(0,a.jsx)("div",{className:"",children:s&&s.map((e,t)=>(0,a.jsx)("div",{children:(0,a.jsxs)("div",{className:"flex flex-col justify-center items-start ",children:[(0,a.jsxs)("div",{onClick:()=>N(e),className:" flex flex-row items-center justify-between w-full border-b-2 border-alkLightGrey",children:[(0,a.jsx)("label",{className:"text-lg font-semibold pl-2 py-1 cursor-pointer",children:e.attributes.title}),e.attributes.children.length<1&&(0,a.jsx)("input",{type:"checkbox",id:t,checked:h.includes(e.id),className:"h-[17px] w-[17px] flex-shrink-0 cursor-pointer"})]}),e.attributes.children&&e.attributes.children.map((e,t)=>(0,a.jsxs)("div",{onClick:()=>N(e),className:"flex flex-row items-center justify-between w-full cursor-pointer",children:[(0,a.jsx)("label",{className:"pl-6 py-1 cursor-pointer",children:e.attributes.title}),(0,a.jsx)("input",{type:"checkbox",id:t,checked:h.includes(e.id),className:"h-[17px] w-[17px] flex-shrink-0 cursor-pointer"})]},t))]})},e.id))})]}),(0,a.jsx)("section",{className:"mx-auto py-8 lg:px-4 lg:mx-0 sm:w-12/12 lg:w-7/12",children:_&&_.map((e,t)=>(0,a.jsx)(ap,{disclaimer:e.disclaimer,title:e.title,image:e.picture,tool:e.tool,area:e.area,linkTo:e.to,file:e.file,cta:e.cta,icon:e.icon},t))})]})})]})},template:{type:"ToolsFilters",label:"Tools Filters Component",defaultItem:{_template:"ComponentBlocksToolsFilters"},fields:[{label:"Therapeutic Tools",name:"toolsJson",component:"group-list",description:"List of Therapeutic Tools",itemProps:e=>({key:e.id,label:e.title}),defaultItem:()=>({title:"За сите настанати реакции на лекот кои не се опишани во упатството за пациентот треба да го извести својот лекар или фармацевт",id:Math.random().toString(36).substr(2,9),area:"Област",to:"внеси линк",image:{}}),fields:[{label:"Title",name:"title",component:"text"},{label:"Tool",name:"tool",component:"text"},{label:"Area",name:"area",component:"page",category:"areas"},{component:"radio-group",direction:"horizontal",name:"icon",label:"Icon",description:"Choose an icon for the link",options:[{label:"Download Icon",value:"download-icon"},{label:"New Tab Icon",value:"new-tab-icon"}]},{label:"Link to",name:"to",component:"text"},{name:"file",label:"File",component:"file",uploadDir:()=>"/"},{name:"picture",label:"Picture",component:"image"},{name:"cta",label:"Call to Action",component:"text"},{name:"disclaimer",label:"Disclaimer",component:"html2"}]}]}},ComponentBlocksMedicines:{Component:e=>{let{index:t,data:l,areas:s,medicines:n}=e,{t:r}=(0,ec.$G)(),[i,o]=(0,c.useState)([]),[d,m]=(0,c.useState)({letter:af[0]});(0,g.useRouter)();let[x,p]=(0,c.useState)(0),[h,u]=(0,c.useState)(10),f=(0,c.useRef)(),b=(0,c.useCallback)(e=>{p(e),f.current.scrollIntoView({behavior:"smooth",block:"start"})},[]),[j,y]=(0,c.useState)(!1),w=(0,c.useMemo)(()=>n.sort((e,t)=>
35e.attributes.title.localeCompare(t.attributes.title)),[n]),v=(0,c.useMemo)(()=>af.map(e=>{let t=l1()(i,t=>{let l=t.attributes.title.toUpperCase()[0];return aj[l]&&(l=aj[l]),l===e});return{letter:e,hasItems:t.length>0}}),[af,i]);(0,c.useEffect)(()=>{if(j&&!d.search){for(let e=0;e<v.length;++e)if(v[e].hasItems){m({letter:af[e]});return}}},[v]),(0,c.useEffect)(()=>{k();let e=le().parse(window.location.search,{ignoreQueryPrefix:!0});if(e.search){try{m({search:e.search})}catch(e){console.log(e)}y(!0)}},[l.medicineType]);let k=(0,c.useCallback)(()=>{if(l.medicineType&&"all"!==l.medicineType){let e=[...w],t=e.filter(e=>e.attributes.medicineType===l.medicineType);o(t)}else o(w)},[l.medicineType,w]),N=(0,c.useMemo)(()=>{let e=(d.search||"").toUpperCase();return l1()(i,t=>{let l=!1;d.area&&-1!==ag()(t.attributes.areas?.data,{id:d.area})&&(l=!0);let a=t.attributes.title.toUpperCase()[0];return aj[a]&&(a=aj[a]),d.letter&&a===d.letter.toUpperCase()[0]&&(l=!0),d.search&&(t.attributes.title&&ay(t.attributes.title.toUpperCase(),e)||t.attributes.genericName&&ay(t.attributes.genericName.toUpperCase(),e))&&(l=!0),l})},[n,d,l.medicineType,i]),_=(0,c.useMemo)(()=>s.sort((e,t)=>e.attributes.title.localeCompare(t.attributes.title)),[s]),C=(0,c.useMemo)(()=>{if(d.area){let e=lX()(s,{id:d.area});return e?e.attributes.title:""}return""},[d,s]);return(0,c.useEffect)(()=>{},[N]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"relative container mx-auto px-4 mb-5 overflow-hidden",children:(0,a.jsx)("div",{ref:f,className:"md:overflow-x-auto phoneSmall:overflow-x-scroll 2xl:justify-center lg:m-auto flex flex-nowrap md:p-0 lg:w-full sm:w-10/12 sm:m-auto phoneSmall:w-10/12 phoneSmall:m-auto",children:v.map((e,t)=>(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("button",{onClick:()=>{m({letter:e.letter}),p(0)},style:{},className:`text-alkBlue border-b p-4 border-alkCarousel hover:border-b-4 hover:-mt-px ${d.letter===e.letter?"border-b-4 hover:mt-0":"border-b-2"} ${e.hasItems?"":"opacity-20 cursor-default disabled:opacity-20 hover:border-b-[1px] hover:mt-0"}`,disabled:!e.hasItems,children:e.letter})}))})}),(0,a.jsxs)("div",{className:"container mx-auto lg:w-2/3 md:w-10/12 flex px-0 pt-8 md:flex-row lg:justify-start md:flex-wrap md:justify-center phoneSmall:justify-center phoneSmall:px-4 phoneSmall:flex-col-reverse",children:[d.area&&(0,a.jsxs)("div",{className:"px-4 py-2 block md:hidden",children:["Резултати од пребарување во ",C]}),(0,a.jsxs)(e$.v,{as:"div",className:"relative mx-4 inline-block text-left md:my-0 md:w-auto phoneSmall:flex phoneSmall:justify-center phoneSmall:my-4",children:[(0,a.jsx)("div",{children:(0,a.jsxs)(e$.v.Button,{className:"flex flex-row rounded-full bordershadow-sm px-4 py-2 text-sm hover:text-alkLightBlue text-white text-center bg-gradient-to-r from-alkLightBlue to-alkPurple  focus:outline-none",children:["Терапевтска област",(0,a.jsx)(eZ.v4q,{className:"-mr-1 ml-2 h-5 w-5","aria-hidden":"true"})]})}),(0,a.jsx)(eO.u,{as:c.Fragment,enter:"transition ease-out duration-100",enterFrom:"transform opacity-0 scale-95",enterTo:"transform opacity-100 scale-100",leave:"transition ease-in duration-75",leaveFrom:"transform opacity-100 scale-100",leaveTo:"transform opacity-0 scale-95",children:(0,a.jsx)(e$.v.Items,{className:"overflow-y-scroll h-[350px] origin-top-right absolute right-10 sm:right-0 mt-10 w-56 rounded-md shadow-lg bg-white ring-1 ring-black ring-opacity-5 focus:outline-none z-10",children:(0,a.jsxs)("div",{className:"py-1",children:[(0,a.jsx)(e$.v.Item,{children:(0,a.jsx)("button",{onClick:()=>{m({letter:af[0]}),p(0)},className:"block px-4 py-2 text-sm",children:"Сите"})}),(_||[]).map((e,t)=>(0,a.jsx)(e$.v.Item,{children:t=>{let{active:l}=t;return(0,a.jsx)("button",{onClick:()=>{m({area:e.id}),p(0)},className:function(){for(var e=arguments.length,t=Array(e),l=0;l<e;l++)t[l]=arguments[l];return t.filter(Boolean).join(" ")}(l?"bg-gray-100 text-gray-900":"text-gray-700","block px-4 py-2 text-sm text-left"),children:e.attributes.title})}},e.idx))]})})})]}
35),(0,a.jsxs)("div",{className:"relative lg:w-3/12 md:w-6/12 phoneSmall:w-full",children:[(0,a.jsx)("input",{value:d.search||"",onChange:e=>{e.target.value.length?m({search:e.target.value}):m({letter:af[0]}),p(0)},type:"text",className:"flex flex-row w-full rounded-full px-4 py-2 text-sm bg-alkLightGrey hover:bg-gray-50 hover:text-alkLightBlue text-black bg-gradient-to-r focus:outline-none",placeholder:"Пребарај"}),(0,a.jsx)("i",{className:"absolute top-3 right-4",children:(0,a.jsx)(es(),{src:lH.Z,className:"Home-logo",alt:"lupa"})})]}),d.area&&(0,a.jsxs)("div",{className:"px-4 py-2 hidden md:block",children:["Резултати од пребарување во ",C]})]}),(0,a.jsx)("div",{className:"py-5",children:N.slice(x*h,(x+1)*h).map((e,t)=>(0,a.jsx)(ah,{data:e},t))}),(0,a.jsx)("div",{className:"container mx-auto flex flex-row justify-end px-8 lg:px-0 py-10 md:py-24 ",children:N.length>0&&(0,a.jsx)(lJ.Z,{currentPage:x,setPage:b,totalEntries:N.length,limit:h})})]})},template:{type:"medicines",label:"Medicines",defaultItem:{_template:"ComponentBlocksMedicines",medicineType:"all"},fields:[{component:"select",name:"medicineType",label:"Medicine Type",description:"Choose what type of medicines to show.",options:[{label:"Сите",value:"all"},{label:"Регистрирани лекови",value:"Registered"},{label:"Медицински средства",value:"Medical"},{label:"Додатоци во исхрана",value:"Supplement"}]}]}},ComponentBlocksPeerToPeerFilters:{Component:e=>{let{index:t,peerToPeerArticles:l,areas:s}=e,[n,r]=(0,c.useState)(!1),[i,o]=(0,c.useState)([]),[m,x]=(0,c.useState)(!1),p=(0,c.useRef)(),[h,u]=(0,c.useState)(()=>{let e=sessionStorage.getItem("currentPage");return e?parseInt(e,10):0});(0,c.useEffect)(()=>{sessionStorage.setItem("currentPage",h.toString())},[h]),(0,c.useEffect)(()=>{let e=()=>{console.log("Popstate event triggered"),console.log("Current path:",window.location.pathname),"/pronet-od-vasite-kolegi"===window.location.pathname&&(console.log("Resetting current page to 0"),u(0))};return window.addEventListener("popstate",e),()=>{window.removeEventListener("popstate",e)}},[]);let g=(0,c.useCallback)(e=>{u(e),p.current.scrollIntoView({behavior:"smooth",block:"start"})},[]);(0,c.useEffect)(()=>{f()},[]);let f=(0,c.useCallback)(()=>{let e=[];m||(x(!0),s.forEach(t=>{t.attributes.children.length?t.attributes.children.forEach(t=>e.push(t.id)):e.push(t.id)})),m&&x(!1),o([...e])},[m]),b=(0,c.useCallback)((e,t,l)=>(t?e.forEach(e=>{i.includes(e.id)||l.push(e.id)}):e.forEach(e=>l.splice(l.indexOf(e.id),1)),l),[i]),j=(0,c.useCallback)(e=>{0!==h&&u(0),m&&x(!1);let t=[...i];if((!e.children||e.children&&e.children.length<1)&&(t.includes(e.id)?t.splice(t.indexOf(e.id),1):t.push(e.id)),e.children&&e.children.length>0){let l=!1;e.children.forEach(e=>{i.includes(e.id)||(l=!0)});let a=b(e.children,l,t);t=[...a]}o(t)},[i,b,m,h]),y=(0,c.useMemo)(()=>{let e=l.filter(e=>i.includes(e.attributes.parent?.data?e.attributes.parent.data.id:""));return e},[i,l]);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("section",{ref:p,className:`transition flex ${n?"flex-col-reverse h-full":"flex-col"} z-50 w-full`,children:[n&&(0,a.jsxs)("div",{className:"filters lg:hidden bg-white overflow-y-scroll flex flex-col py-6 px-9 w-full",children:[(0,a.jsx)("div",{className:"flex flex-row items-center border-alkLightGrey justify-between border-b-2",children:(0,a.jsx)("p",{className:"text-xl font-bold pl-2 py-1",children:"Терапевтски Области"})}),(0,a.jsxs)("div",{onClick:()=>f(),className:"flex flex-row items-center border-b-2 pb-1 border-alkLightGrey justify-between w-full",children:[(0,a.jsx)("label",{className:"pl-2 text-lg font-bold  w-full cursor-pointer",children:"Види ги сите"}),(0,a.jsx)("input",{type:"checkbox",checked:m,className:"h-[17px] w-[17px] flex-shrink-0 cursor-pointer"})]}),(0,a.jsx)("div",{className:"pl-4",children:s&&s.map((e,t)=>(0,a.jsx)("div",{children:(0,a.jsxs)("div",{className:"flex flex-col justify-center items-start ",children:[(0,a.jsxs)("div",{onClick:()=>j(e),className:" flex flex-row items-center justify-between w-full border-b-2 border-alkLightGrey",children:[(0,a.jsx)("label",{className:"text-lg font-semibold pl-2 py-1 cursor-pointer",children:e.attributes.title},t),e.attributes.children.length<1&&(0,a.jsx)("input",{type:"checkbox",id:t,checked:i.includes(e.id),className:"h-[17px] w-[17px] flex-shrink-0 cursor-pointer"})]}),e.attributes.children&&e.attributes.children.map((e,t)=>(0,a.jsxs)("div",{onClick:()=>j(e),className:"flex flex-row items-center justify-between w-full cursor-pointer",children:[(0,a.jsx)("label",{className:"pl-6 py-1 cursor-pointer",children:e.attributes.title}),(0,a.jsx)("input",{type:"checkbox",id:t,checked:i.includes(e.id),className:"h-[17px] w-[17px] flex-shrink-0 cursor-pointer"})]},t))]})},t))})]}),(0,a.jsxs)("div",{className:"flex lg:hidden justify-between items-center w-full h-16 px-9 bg-alkPurple",children:[(0,a.jsx)("p",{className:"text-white text-xl font-medium",children:"Терапевтски области"}),(0,a.jsx)(d.Z,{src:ln.src,className:`w-6 h-3 transition ease-in-out ${n?"transform rotate-180":""}`,onClick:()=>r(!n)})]})]}),(0,a.jsxs)("div",{className:"outer",children:[(0,a.jsxs)("div",{className:"inner container mx-auto flex flex-col lg:flex-row justify-between w-full",children:[(0,a.jsxs)("section",{className:"filters hidden lg:flex flex-col py-6 px-4 mb-6 w-3/12",children:[(0,a.jsx)("div",{className:"flex flex-row items-center border-alkLightGrey justify-between border-b-2 mb-6",children:(0,a.jsx)("label",{className:"   text-xl font-bold pl-2 py-4",children:"Терапевтски Области"})}),(0,a.jsxs)("div",{onClick:()=>f(),className:"flex flex-row items-center border-b-2 pb-1 border-alkLightGrey justify-between w-full",children:[(0,a.jsx)("label",{className:"pl-2 text-lg font-bold  w-full cursor-pointer",children:"Види ги сите"}),(0,a.jsx)("input",{type:"checkbox",checked:m,className:"h-[17px] w-[17px] flex-shrink-0 cursor-pointer"})]}),(0,a.jsx)("div",{className:"",children:s&&s.map((e,t)=>(0,a.jsx)("div",{children:(0,a.jsxs)("div",{className:"flex flex-col justify-center items-start ",children:[(0,a.jsxs)("div",{onClick:()=>j(e),className:" flex flex-row items-center justify-between w-full border-b-2 border-alkLightGrey",children:[(0,a.jsx)("label",{className:"text-lg font-semibold pl-2 py-1 cursor-pointer",children:e.attributes.title},t),e.attributes.children.length<1&&(0,a.jsx)("input",{type:"checkbox",id:t,checked:i.includes(e.id),className:"h-[17px] w-[17px] flex-shrink-0 cursor-pointer"})]}),e.attributes.children&&e.attributes.children.map((e,t)=>(0,a.jsxs)("div",{onClick:()=>j(e),className:"flex flex-row items-center justify-between w-full cursor-pointer",children:[(0,a.jsx)("label",{className:"pl-6 py-1 cursor-pointer",children:e.attributes.title}),(0,a.jsx)("input",{type:"checkbox",id:t,checked:i.includes(e.id),className:"h-[17px] w-[17px] flex-shrink-0 cursor-pointer"})]},t))]})},e.id))})]}),(0,a.jsx)("section",{className:"mx-auto py-8 lg:px-4 lg:mx-0 sm:w-12/12 lg:w-7/12",children:y&&y.length>0&&y.slice(8*h,8*h+8).map((e,t)=>(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(aw,{area:e.attributes.parent?e.attributes.parent.data.attributes.title:"No parent",title:e.attributes.title,featuredImage:e.attributes.featuredImage?.data?.attributes,profileImage:e.attributes.profileImage?.data?.attributes,profileName:e.attributes.profileName,linkTo:e.attributes.slug},t)}))})]}),(0,a.jsx)("div",{className:"container mx-auto flex flex-row justify-end px-8 lg:px-0 py-10 md:py-24 ",children:(0,a.jsx)(av,{currentPage:h,paginationSetPage:g,totalEntries:y.length,maxArticles:8})})]})]})},template:{type:"PeerToPeerFilters",label:"Peer To Peer Filters",defaultItem:{_template:"ComponentBlocksPeerToPeerFilters"}}},ComponentBlocksGoogleMaps:{Component:e=>{let{index:t,data:l}=e,{ref:s,map:n,google:r}=(0,ak.j)("AIzaSyDR504cz-JypvnL_46E_L2kas79xoDalDM",{center:aN,zoom:14,disableDefaultUI:!0,clickableIcons:!1});if(n){let e=new r.maps.InfoWindow({content:'<div class="p-2"><h3 class="text-xl mb-2 text-alkBlue">
35Alkaloid AD Skopje</h3><h4 class="text-lg">Булевар Александар Македонски, Скопје 1000</h4><a class="text-lg underline text-alkLightBlue mt-4" target="_blank" href="https://goo.gl/maps/MUEFtoqgAzVRTcAdA">Насоки</a></div>'}),t=new r.maps.Marker({position:aN,map:n,title:"Alkaloid AD Skopje"});t.addListener("click",()=>{e.open({anchor:t,map:n,shouldFocus:!0})})}return(0,a.jsx)("div",{className:"container mx-auto",children:(0,a.jsx)("div",{ref:s,className:"lg:h-[600px] phoneSmall:h-[350px] phoneSmall:my-6 lg:my-0 lg:mb-8"})})},template:{type:"googleMaps",label:"Google Maps",defaultItem:{_template:"ComponentBlocksGoogleMaps"}}},ComponentBlocksTherapyAreaHeroAccordion:{Component:e=>{let{index:t,data:l,areas:s,page:n}=e,[r,i]=(0,c.useState)({}),[x,h]=(0,c.useState)(!1),u=(0,c.useCallback)(e=>{let t=r[e]||!1,l={...r};l[e]=!t,i(l)},[r]);return(0,c.useEffect)(()=>{if(n.parent&&!x){let e={...r};e[n.parent.id]=!0,h(!0),i(e)}},[n,r,x]),(0,a.jsx)("div",{className:"relative phoneSmall:pb-16 sm:pb-28 ",children:(0,a.jsxs)("div",{className:"flex flex-col mx-auto 2xl:mx-[275px] phoneSmall:w-3/4  lg:w-1/2 pt-20 md:pt-32",children:[(0,a.jsx)("img",{src:(0,o.Z)(l.featuredImage),alt:(0,p.Z)(l.featuredImage),className:"absolute top-0 right-0 overflow-hidden  phoneSmall:w-[130px] phoneLarge:w-[170px] sm:w-1/3  2xl:w-[585px]"}),(0,a.jsxs)("div",{className:"flex flex-col w-full mb-10 md:mb-24",children:[(0,a.jsx)("h1",{className:"flex-grow  tracking-wider mb-3 text-black font-thin phoneSmall:text-2xl phoneLarge:text-3xl sm:text-4xl md:text-5xl 2xl:text-6xl phoneSmall:w-1/2 sm:w-4/5 2xl:w-full ",children:l.title}),(0,a.jsx)("hr",{className:" border-alkLightBlue w-3/12 border-solid border-2 rounded"})]}),(0,a.jsx)("div",{className:" phoneSmall:text-sm sm:text-base text-alkDarkGrey 2xl:pl-[120px]",children:(0,a.jsx)("div",{children:(0,a.jsx)("div",{className:"",children:(0,a.jsx)("div",{className:"sm:flex sm:flex-wrap items-stretch justify-around",children:s&&s.map(e=>(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("div",{style:{flexBasis:"40%"},className:"flex flex-col text-lg relative self-start  font-semibold my-1 py-4 border-b-2 border-gray-200",children:[0===e.attributes.children.length?(0,a.jsx)(I(),{href:`/${e.attributes.slug}`,className:`flex-1 relative hover:text-alkLightBlue ${n.id===e.id?"text-alkLightBlue":""}`,children:(0,a.jsx)("div",{children:e.attributes.title})}):(0,a.jsx)("div",{onClick:()=>{u(e.id)},className:`flex-1 relative hover:text-alkLightBlue ${n.id===e.id?"text-alkLightBlue":""}`,children:(0,a.jsxs)("div",{className:"cursor-pointer relative",children:[e.attributes.title,!!e.attributes.children.length&&(0,a.jsx)("button",{style:{top:"50%",transform:"-50%"},className:`${r[e.id]?"transform -rotate-90 absolute right-0":"transform rotate-90 absolute right-0"}`,children:(0,a.jsx)("span",{children:(0,a.jsx)(d.Z,{src:m.src,fill:"#00aeef",className:"h-4"})})})]})}),(0,a.jsx)("div",{className:`${r[e.id]?"block ml-2 mb-6 text-tiny font-normal":"hidden"}`,children:e.attributes.children.map(e=>(0,a.jsx)("div",{className:"m-4 mb-0 hover:text-alkLightBlue",children:(0,a.jsx)(I(),{href:`/${e.attributes.slug}`,className:`${n.id===e.id?"text-alkLightBlue":""}`,children:e.attributes.title})},e.id))})]})}))})})})})]})})},template:{type:"therapyareaheroaccordion",label:"Therapy area hero accordion",defaultItem:{title:"Insert Title",featuredImage:"Add image here",_template:"ComponentBlocksTherapyAreaHeroAccordion"},fields:[{name:"title",label:"Title",component:"text"},{name:"featuredImage",label:"Background",component:"image"}]}},ComponentBlocksProNetCookiePolicy:{Component:e=>{let{index:t,data:l}=e,{t:s}=(0,ec.$G)(),[n]=(0,c.useState)(!0),[r,i]=(0,c.useState)(!1),[x,p]=(0,c.useState)(!1),[h,u]=(0,c.useState)(!1),[g,f]=(0,c.useState)(!1),[b,j]=(0,c.useState)(!1),[y,w]=(0,c.useState)(!1),[v,k]=(0,c.useState)(!1),[N,_]=(0,c.useState)(!1),[C,B]=(0,c.useState)(!1),[S,A]=(0,c.useState)(!1),[L,I]=(0,c.useState)(!1);function T(e){let t={};I(!0),setTimeout(()=>{I(!1)},5e3),"true"===e.target.value?(t={performance:!1,targeting:!1,submitted:!0},A(!S)):t={performance:r,targeting:x,submitted:!0},localStorage.setItem("cookies",JSON.stringify(t))}return(0,c.useEffect)(()=>
35{if((0,ez.Z)()&&localStorage.getItem("cookies")){let e=JSON.parse(localStorage.getItem("cookies"));i(e.performance),p(e.targeting)}},[S]),(0,a.jsxs)("section",{className:"relative",children:[(0,a.jsxs)("div",{className:"z-0 has-overlay absolute top-0 left-0 w-full overflow-hidden h-[200px] sm:h-[420px]",children:[(0,a.jsx)("div",{className:"absolute top-0 left-0 w-full h-full hidden sm:block sm:bg-cover bg-no-repeat",style:{backgroundImage:`url('${(0,o.Z)(l.featuredImage)}')`,backgroundPositionX:"50%",backgroundPositionY:"50%"}}),(0,a.jsx)("div",{className:"absolute top-0 left-0 w-full h-full bg-cover sm:hidden bg-no-repeat",style:{backgroundImage:`url('${(0,o.Z)(l.featuredImageMobile,"large")}')`,backgroundPositionX:"50%",backgroundPositionY:"50%"}})]}),(0,a.jsx)("div",{className:"container relative flex m-auto items-center",style:{minHeight:420},children:(0,a.jsx)("div",{className:"w-full",children:(0,a.jsx)("h1",{className:"text-4xl -mt-24 sm:mt-0 text-black font-normal text-center",children:"Политика за колачиња"})})}),(0,a.jsx)("div",{className:"container relative flex m-auto items-center",style:{minHeight:420},children:(0,a.jsxs)("div",{className:"bg-white relative -top-32 w-full block p-10 sm:p-14 md:p-16 lg:p-20 xl:p-24 shadow-2xl items-center justify-center mx-auto xl:max-w-screen-lg 2xl:max-w-screen-xl",style:{minHeight:1785},children:[L&&(0,a.jsx)("div",{className:"absolute w-full h-6 sm:h-10 md:h-14 xl:h-20 bottom-0 text-alkDarkGrey bg-thankYouGray left-0 flex items-center justify-center",children:"Ви благодариме. Вашиот избор е зачуван."}),(0,a.jsxs)("div",{className:"w-full",children:[(0,a.jsxs)("div",{className:"mb-16",children:[(0,a.jsx)("p",{className:" block mb-4",children:"За да разбереме како ja користат посетителите нашaтa веб-страницa и за да им овозможиме подобро искуство, може да собираме некои ваши податоци со специјалната алатка наречена колачиња (Cookies).\n".split("\n").map(e=>(0,a.jsx)("p",{className:"text-sm sm:text-base mb-4",children:e},e))}),(0,a.jsx)("h3",{className:"text-lg sm:text-2xl",children:"Што се колачиња?"}),(0,a.jsx)("div",{className:"m-auto w-20 h-1 inline-block bg-alkLightBlue rounded relative -left-6 mb-6"}),(0,a.jsx)("div",{className:"",children:(0,a.jsx)("p",{className:" block mb-4",children:"Колачињата претставуваат мали датотеки со податоци, кои се поставени на вашиот компјутер или мобилен телефон кога посетувате одредена веб-страница. Колачињата се користат многу често од сопствениците на веб-страниците со цел да се олесни функционирањето на веб-страницата или да се запомнат вашите активности и преференции, за да се обезбеди персонализирана/приспособена содржина на веб-страницата и за да се прикаже нејзината навигациска историја. Овие текстуални датотеки може да бидат прочитани од веб-страниците што ги посетувате и да помогнат во вашата идентификација кога повторно ќе ја отворите веб-страницата.\nКолачињата поставени од сопственикот на веб-страницата или од провајдерот на услуги (во овој случај АЛКАЛОИД АД Скопје) се нарекуваат „колачиња на првата страна“. Колачињата што се поставени од други страни, а не од сопственикот на веб-страницата, се нарекуваат „колачиња на трети страни.".split("\n").map(e=>(0,a.jsx)("p",{className:"text-sm sm:text-base mb-4",children:e},e))})})]}),(0,a.jsxs)("div",{className:"my-16",children:[(0,a.jsx)("h3",{className:"text-xl sm:text-2xl",children:"Зошто користиме колачиња и други технологии за следење?"}),(0,a.jsx)("div",{className:"m-auto w-20 h-1 inline-block bg-alkLightBlue rounded relative -left-6 mb-6"}),(0,a.jsx)("div",{className:"",children:(0,a.jsx)("p",{className:" block mb-4",children:"Може да користиме колачиња и други технологии (колачиња) за да создадеме статистика која ни помага да го подобриме квалитетот на нашата веб-страница, вклучително и статистика за веб-страницата за да го подобриме вашето корисничко искуство, на пр. со прикажување содржини од трети страни за да ви овозможиме интеракции на социјалните мрежи и за маркетинг-цели. Со кликнување на „Прифати ги сите“ вие се согласувате за таква обработка на податоците од „Алкалоид“ АД Скопје и за соодветен пренос на податоците на трети страни. Можете, исто така, лесно да конфигурирате за кои цели се согласувате да се обработуваат податоците. Ве молиме, притиснете „Потврди избор“ откако ќе го направите својот избор. Ако не направите никаков избор, обработката на податоците ќе биде ограничена само на потребниот степен за употреба на веб-страницата. Забележете дека врз основа на овие поставки не можат да бидат достапни сите функционалности на страницата. За да ја повлечете својата согласност, кликнете на".split("\n").map(e=>(0,a.jsxs)("p",{className:"text-sm sm:text-base mb-4",children:[e,(0,a.jsx)("a",{className:"text-alkLightBlue pl-2",href:"#target",children:"„Преференции за колачиња“"})]},e))})})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("h3",{className:"text-xl sm:text-2xl",children:"Колачиња поставени преку нашата веб-страница"}),(0,a.jsx)("div",{id:"target",className:"m-auto w-20 h-1 inline-block bg-alkLightBlue rounded relative -left-6 mb-6"}),(0,a.jsxs)("section",{className:"my-10",children:[(0,a.jsx)("div",{children:(0,a.jsxs)("h3",{className:"text-xl sm:text-2xl mb-2",children:[(0,a.jsx)("input",{type:"checkbox",checked:n,id:"cookie-checkbox-always",name:"cookie-checkbox-always",className:"w-4 h-4 mr-3"}),(0,a.jsx)("label",{htmlFor:"cookie-checkbox-always",children:"Строго потребни колачиња - Секогаш активни"})]})}),(0,a.jsxs)("p",{className:"text-sm sm:text-base block mb-4",children:["Овие колачиња се неопходни за ф
35ункционирање на веб-страницата и не можат да се исклучуваат во нашите системи. Тие обично се поставуваат само како одговор на постапките направени од вас, што претставува барање за услуги, како што се поставување на преференциите за приватност или пополнување формулари во контакт-формата. Може да го поставите прелистувачот да ги блокира или да предупредува за овие колачиња, но блокирањето на овие колачиња ќе спречи да работи веб-страницата. Овие колачиња не зачувуваат никакви лични информации."," "]}),(0,a.jsx)("button",{type:"button",onClick:()=>u(!h),className:"underline text-alkLightBlue",children:"Детали за колачињата"}),h&&(0,a.jsxs)("div",{className:"bg-gray-50 mt-6 mb-4 px-4 py-2 justify-center items-center w-full lg:w-8/12 xl:w-9/12",children:[(0,a.jsxs)("button",{type:"button",className:"w-full flex flex-row justify-between p-2",onClick:()=>w(!y),children:[(0,a.jsxs)("p",{className:"text-base leading-relaxed text-left text-alkLightBlack",children:["Име на Колаче:"," UniqueID"]}),(0,a.jsx)("span",{className:`${y?"transform rotate-90":""}`,children:(0,a.jsx)(d.Z,{src:m.src,fill:"#00aeef",className:"h-6"})})]}),y?(0,a.jsx)("div",{className:"overflow-hidden p-4 sm:p-10 border-t-2 mt-2 text-sm sm:text-base ",children:"Анонимна идентификација на времетраењето на посетата за статистичка анализа со цел оптимизирање на веб страната. Не се прибираат лични податоци."}):null]}),h&&(0,a.jsxs)("div",{className:"bg-gray-50 mb-4 px-4 py-2 justify-center items-center w-full lg:w-8/12 xl:w-9/12 ",children:[(0,a.jsxs)("button",{type:"button",className:"w-full flex flex-row justify-between p-2",onClick:()=>k(!v),children:[(0,a.jsxs)("p",{className:"text-base leading-relaxed text-left text-alkLightBlack",children:["Име на Колаче:"," WHGCOOKIECONSENT"]}),(0,a.jsx)("span",{className:`${v?"transform rotate-90":""}`,children:(0,a.jsx)(d.Z,{src:m.src,fill:"#00aeef",className:"h-6"})})]}),v?(0,a.jsx)("div",{className:"overflow-hidden p-4 sm:p-10 border-t-2 mt-2 text-sm sm:text-base ",children:"Ја памети одлуката за користење опциски колачиња. Ја чува вашата одлука да прифатите или да одбиете користење опциски колачиња. Не се прибираат лични податоци. Рок на траење: 12 месеци."}):null]})]}),(0,a.jsxs)("section",{className:"my-10",children:[(0,a.jsx)("div",{children:(0,a.jsxs)("h3",{className:"text-xl sm:text-2xl mb-2",children:[(0,a.jsx)("input",{type:"checkbox",onChange:()=>i(!r),checked:r,id:"cookie-checkbox-performance",name:"cookie-checkbox-performance",className:"w-4 h-4 mr-3"}),(0,a.jsx)("label",{htmlFor:"cookie-checkbox-performance",children:"Колачиња за перформанси"})]})}),(0,a.jsx)("p",{className:"text-sm sm:text-base block mb-4",children:"Овие колачиња ни овозможуваат да ги броиме посетите и изворите на сообраќај за да можеме да ги мериме и да ги подобриме карактеристиките на нашата веб-страница. Тие ни помагаат да знаеме кои страници се најмногу и најмалку посетувани и да видиме како се движат посетителите низ страницата. Овие колачиња можеме да ги обезбедиме на трети даватели на услуги (пр. Google Analytics) за да ни помогнат да ги спроведуваме овие анализи. Сите информации што ги собираат овие колачиња се збирни и не се однесуваат на вас лично. Ако ги блокирате или ако ги исклучите овие колачиња, нема да знаеме кога сте ја посетиле нашата страница и нема да можеме да ги следиме нејзините карактеристики."}),(0,a.jsx)("button",{type:"button",onClick:()=>f(!g),className:"underline text-alkLightBlue",children:"Детали за колачињата"}),g&&(0,a.jsxs)("div",{className:"bg-gray-50 mt-6 mb-4 px-4 py-2 justify-center items-center w-full lg:w-8/12 xl:w-9/12",children:[(0,a.jsxs)("button",{type:"button",className:"w-full flex flex-row justify-between p-2",onClick:()=>_(!N),children:[(0,a.jsxs)("p",{className:"text-base leading-relaxed text-left text-alkLightBlack",children:["Име на Колаче:"," _ga"]}),(0,a.jsx)("span",{className:`${N?"transform rotate-90":""}`,children:(0,a.jsx)(d.Z,{src:m.src,fill:"#00aeef",className:"h-6"})})]}),N?(0,a.jsxs)("div",{className:"overflow-hidden p-4 sm:p-10 border-t-2 mt-2 text-sm sm:text-base ",children:["Овие колачиња на нашата веб-страница се користат на следниот начин: \n Колачиња за анализа и прилагодување: овие колачиња собираат информации што се користат во збирна форма со цел да ни помогнат подобро да разбереме како се користат нашите веб-страници и колку се ефективни нашите маркетинг кампањи, или да ни помогнат да ги приспособиме нашите веб-страници и апликации за корисникот со цел да го подобриме корисничкото искуство. \n Список на користени колачиња за перформанси: \n Google Analytics \n Google Analytics собира информации што ни овозможуваат подобро да ја разбереме вашата интеракција со нашата веб-страница и притоа го подобрува корисничкото искуство за подобро да ги задоволи вашите потреби. \n Google Analytics користи колачиња, текстуални датотеки, кои се складирани во вашиот компјутер и ви овозможуваат да ја анализирате вашата употреба на оваа веб-страница. Информациите генерирани од колачињата за вашата употреба на веб-страницата се испраќаат до серверот на Google во САД и таму се складираат. За оваа веб-страница е овозможена анонимизација на IP. Главното колаче на Google Analytics е „_ga“ \n Затоа, Google ја скратува вашата IP адреса во земјите-членки на Европската унија или други земји потписнички на Договорот за Европска економска област. Само во исклучителни случаи целосната IP адреса се испраќа до серверот на Google во САД и таму се скратува. \n На наше барање, Google ги користи овие податоци за да ја анализира вашата употреба на веб-страницата, да состави извештаи за активноста на веб-страницата и да обезбеди други услуги поврзани со активноста на веб-страницата и користењето на интернет.\n IP адресата пренесена од вашиот пребарувач како дел од Google Analytics не е поврзана со други податоци на Google. Покрај тоа, можете да го спречите преносот на податоците генерирани од колачињата и поврзани со вашата употреба на веб-страницата (вклучувајќи ја вашата IP адреса) до Google и обработката на овие податоци од страна на Google. ".split("\n").map(e=>(0,a.jsx)("p",{className:"text-sm sm:text-base mb-4",children:e},e)),(0,a.jsx)("p",{className:"pt-4",children:"Политиката за приватност на Google може да се најде на:"}),(0,a.jsx)("a",{className:"text-alkLightBlue",target:"_blank",href:"http://www.google.com/analytics/learn/privacy.html",children:"http://www.google.com/analytics/learn/privacy.html"}),(0,a.jsx)("p",{className:"pt-4",children:"Google разви приклучок за пребарувач кој ви овозможува да го спречите користењето на вашите податоци за JavaScript на Google Analytics (ga.js, analytics.js, dc.js). Можете да го преземете тука:"}),(0,a.jsx)("a",{className:"text-alkLightBlue",target:"_blank",href:"http://tools.google.com/dlpage/gaoptout",children:"http://tools.google.com/dlpage/gaoptout"}),(0,a.jsx)("p",{className:"pt-4",children:"За повеќе информации за Google Analytics, видете го следниот линк:"}),(0,a.jsx)("a",{className:"text-alkLightBlue",target:"_blank",href:"https://tools.google.com/dlpage/gaoptout",children:"https://tools.google.com/dlpage/gaoptout"}),(0,a.jsx)("p",{className:"pt-4",children:"Повеќе информации за Google Analytics се достапни во Условите за користење на Google Analytics, Политиката за приватност на податоците на Google Analytics и Изјавата за приватност на Google."}),(0,a.jsx)("p",{className:"pt-4",children:"Може да се откажете од употребата на колачиња или други идентификатори на уреди од страна на Google во поставките за реклами Ð
35½Ð° Google."}),(0,a.jsx)("p",{className:"pt-4 font-semibold text-lg",children:"Пренос на податоци"}),(0,a.jsx)("p",{className:"pt-4",children:"Употребата на колачиња може да доведе до пренос на податоци во земји надвор од ЕУ. Потребна ни е вашата согласност за пренос на податоци во одредени случаи. Ние сме должни да ве предупредиме дека трети страни може да ги префрлат вашите лични информации во САД каде што може да се споделат со безбедносните служби во согласност со прописите кои се во сила во САД."})," "]}):null]})]}),(0,a.jsxs)("section",{className:"my-10",children:[(0,a.jsx)("div",{children:(0,a.jsxs)("h3",{className:"text-xl sm:text-2xl mb-2",children:[(0,a.jsx)("input",{type:"checkbox",onChange:()=>i(!r),checked:r,id:"cookie-checkbox-performance",name:"cookie-checkbox-performance",className:"w-4 h-4 mr-3"}),(0,a.jsx)("label",{htmlFor:"cookie-checkbox-performance",children:"Функционални колачиња"})]})}),(0,a.jsx)("p",{className:"text-sm sm:text-base block mb-4",children:"Овие колачиња ѝ овозможуваат на нашата веб-страница да обезбеди подобрена функционалност и персонализација. Тие можат да бидат поставени од нас или од трети даватели на услуги, чии услуги ги користиме на нашите страници. Ако ги одбиете овие колачиња, тогаш некои или сите овие услуги може да не функционираат правилно."}),(0,a.jsx)("button",{type:"button",onClick:()=>j(!b),className:"underline text-alkLightBlue",children:"Детали за колачињата"}),b&&(0,a.jsxs)("div",{className:"bg-gray-50 mt-6 mb-4 px-4 py-2 justify-center items-center w-full lg:w-8/12 xl:w-9/12",children:[(0,a.jsxs)("button",{type:"button",className:"w-full flex flex-row justify-between p-2",onClick:()=>B(!C),children:[(0,a.jsxs)("p",{className:"text-base leading-relaxed text-left text-alkLightBlack",children:["Управување со колачиња"," "]}),(0,a.jsx)("span",{className:`${C?"transform rotate-90":""}`,children:(0,a.jsx)(d.Z,{src:m.src,fill:"#00aeef",className:"h-6"})})]}),C?(0,a.jsx)("div",{className:"overflow-hidden p-4 sm:p-10 border-t-2 mt-2 text-sm sm:text-base ",children:(0,a.jsx)("div",{className:"",children:(0,a.jsx)("p",{className:" block mb-4",children:"Можете да управувате и/или да ги бришете колачињата на повеќе начини - за повеќе информации, видете го следниот линк: ".split("\n").map(e=>(0,a.jsxs)("p",{className:"text-sm sm:text-base mb-4",children:[e,(0,a.jsx)("a",{className:"text-alkLightBlue",target:"_blank",href:"https://www.aboutcookies.org/",children:"aboutcookies.org"}),(0,a.jsx)("p",{children:"Можете да ги избришете сите колачиња кои веќе се на вашиот компјутер и можете да ги поставите повеќето пребарувачи да спречуваат складирање на колачиња. Меѓутоа, ако го направите ова, ќе мора рачно да приспособувате некои поставки секогаш кога ќе ги посетувате веб-страниците и можно е некои услуги и функционалности да не работат."})]},e))})})}):null]})]})]}),(0,a.jsxs)("div",{className:"my-16",children:[(0,a.jsx)("h3",{className:"text-xl sm:text-2xl",children:"ПРОМЕНИ ВО УСЛОВИТЕ ЗА УПОТРЕБА НА ПОЛИТИКАТА ЗА КОЛАЧИЊА"}),(0,a.jsx)("div",{className:"m-auto w-20 h-1 inline-block bg-alkLightBlue rounded relative -left-6 mb-6"}),(0,a.jsx)("div",{className:"",children:(0,a.jsx)("p",{className:" block mb-4",children:"Политиката за колачиња повремено може да се менува за да вклучиме можни промени во колачињата што ги користиме или од други оперативни, правни или регулаторни причини. Поради тоа, ве молиме, редовно прегледувајте ја оваа политика за колачиња за да бидете информирани како ги користиме колачињата и другите технологии за следење. \n Датум на последна измена 05.04.2023 Скопје".split("\n").map(e=>(0,a.jsx)("p",{className:"text-sm sm:text-base mb-4",children:e},e))})})]})]}),(0,a.jsxs)("div",{className:"w-full flex flex-row justify-center sm:justify-end flex-wrap",children:[(0,a.jsx)("button",{type:"button",className:"text-alkOffBlack text-sm sm:text-base font-semibold py-3 px-12 border-0 border-transparent roun
35ded-full",value:!0,onClick:e=>T(e),children:"ОДБИЈ ГИ СИТЕ"}),(0,a.jsx)("button",{type:"submit",className:"text-sm sm:text-base cursor-pointer text-white font-semibold bg-gradient-to-r from-alkLightBlue to-alkPurple py-3 px-12 border-0 border-transparent rounded-full",value:!1,onClick:e=>T(e),children:"ПОТВРДИ ИЗБОР"})]})]})})]})},template:{type:"proNetCookiePolicy",label:"Pro Net Cookie Policy",defaultItem:{_template:"ComponentBlocksProNetCookiePolicy"},fields:[{name:"featuredImage",label:"Background",component:"image"},{name:"featuredImageMobile",label:"BackgroundMobile",component:"image"}]}},ComponentBlocksHeightCalculator:{Component:e=>{let{}=e,[t,l]=(0,c.useState)("male"),[s,n]=(0,c.useState)(0),[r,i]=(0,c.useState)(0),[o,d]=(0,c.useState)(0),[m,x]=(0,c.useState)(0),[p,h]=(0,c.useState)(0),[u,g]=(0,c.useState)(0),f=()=>{if(0==m||0==p)return g(0),0;g("male"==t?(parseInt(p)+parseInt(m)+13)/2:(parseInt(p)+parseInt(m)-13)/2)},b=()=>{document.getElementById("height-calculator").reset()};return(0,a.jsxs)("div",{className:"container mx-auto",children:[(0,a.jsxs)("form",{id:"height-calculator",className:"flex flex-col mx-auto p-8 mt-8 justify-center align-center lg:w-1/2 phoneSmall:w-full",children:[(0,a.jsxs)("div",{className:"flex md:flex-row phoneSmall:flex-col w-full justify-between my-6",children:[(0,a.jsx)("label",{className:"w-full text-xl text-alkDarkGrey px-4 py-2",htmlFor:"child-gender",children:"Пол на детето:"}),(0,a.jsxs)("select",{onClick:e=>l(e.target.value),name:"child-gender",id:"child-gender",className:"w-full bg-white shadow-md px-4 py-2 ring-1 ring-alkOffGrey focus:outline-none focus:ring-alkCarousel focus:ring-2",children:[(0,a.jsx)("option",{value:"male",children:"Машко"}),(0,a.jsx)("option",{value:"female",children:"Женско"})]})]}),(0,a.jsxs)("div",{className:"flex md:flex-row phoneSmall:flex-col w-full justify-between my-6",children:[(0,a.jsx)("label",{className:"w-full text-xl text-alkDarkGrey px-4 py-2",htmlFor:"mother-height",children:"Висина на мајката:"}),(0,a.jsx)("input",{type:"text",maxLength:"3",className:"w-full bg-white shadow-md px-4 py-2 ring-1 ring-alkOffGrey focus:outline-none focus:ring-alkCarousel focus:ring-2",min:"100",max:"250",name:"mother-height",id:"mother-height",placeholder:"164cm",onChange:e=>x(e.target.value),onKeyPress:e=>{/[0-9]/.test(e.key)||e.preventDefault()}})]}),(0,a.jsxs)("div",{className:"flex md:flex-row phoneSmall:flex-col w-full justify-between my-6",children:[(0,a.jsx)("label",{className:"w-full text-xl text-alkDarkGrey px-4 py-2",htmlFor:"father-height",children:"Висина на таткото:"}),(0,a.jsx)("input",{type:"input",maxLength:"3",size:"3",className:"w-full bg-white shadow-md px-4 py-2 ring-1 ring-alkOffGrey focus:outline-none focus:ring-alkCarousel focus:ring-2",min:"100",max:"250",name:"father-height",id:"father-height",placeholder:"180cm",onChange:e=>h(e.target.value),onKeyPress:e=>{/[0-9]/.test(e.key)||e.preventDefault()}})]}),(0,a.jsxs)("div",{className:"flex flex-row w-full justify-center my-6",children:[(0,a.jsx)("button",{type:"button",onClick:()=>f(),className:"mx-2 text-sm md:text-base cursor-pointer duration-300 hover:text-alkLightBlue text-white font-semibold bg-gradient-to-r from-alkLightBlue to-alkPurple py-2 px-10 border-0 border-transparent rounded-full",children:"Calculate"}),(0,a.jsx)("button",{type:"button",onClick:()=>b(),className:"mx-2 text-sm md:text-base cursor-pointer duration-300 hover:text-alkLightBlue font-semibold bg-alkLightGrey text-black py-2 px-10 border-0 border-transparent rounded-full",children:"Reset"})]})]}),(0,a.jsxs)("div",{className:"flex flex-col text-center w-2/3 mb-24 mt-4 bg-alkLightGrey mx-auto p-8 justify-center align-center",id:"output",children:[(0,a.jsxs)("h5",{className:"text-2xl",children:["Estimated Child Future Heigth: ",0!=u&&u," cm"]}),(0,a.jsx)("span",{className:"text-sm pt-2",children:"Disclaimer: This tool should NOT be considered as a substitute for any professional medical service, NOR as a substitute for clinical judgement. Please read the full disclaimer."})]})]})},template:{type:"HeightCalculator",label:"Height Calculator",defaultItem:{_template:"ComponentBlocksHeightCalculator"}}},ComponentBlocksBmiCalculator:{Component:e=>{let{}=e,[t,l]=(0,c.useState)(165),[s,n]=(0,c.useState)(55),[r,i]=(0,c.useState)(0),o=e=>{e.preventDefault();let l=+t>0&&+s>0;if(!l)return;
35let a=parseFloat(t).toFixed(2),n=+s/(+a/100)**2,r=parseFloat(n).toFixed(1);i(r)},d=()=>{let e=+t>0&&+s>0;if(!e)return;let l=parseFloat(t).toFixed(2),a=+s/(+l/100)**2,n=parseFloat(a).toFixed(1);i(n)};(0,c.useEffect)(()=>{d()},[]);let[m,x]=(0,c.useState)(""),[p,u]=(0,c.useState)(!1);return(0,a.jsxs)("div",{className:"",children:[(0,a.jsxs)("div",{className:"container mx-auto mt-10",children:[(0,a.jsx)("h1",{className:"text-4xl px-10",children:"Калкулатор за BMI – индекс на телесна маса"}),(0,a.jsx)("form",{onLoad:o,onChange:o,onClick:o,children:(0,a.jsxs)("div",{className:"container flex xl:flex-row phoneSmall:flex-col lg:gap-40 phoneSmall:gap-10 justify-center items-center text-alkDarkGrey",children:[(0,a.jsxs)("div",{className:"flex flex-col justify-center items-center",children:[(0,a.jsx)("button",{onClick:e=>n(s+1),children:(0,a.jsx)(h.LazyLoadImage,{className:"pb-3",alt:"Plus",src:a_.src})}),(0,a.jsxs)("div",{className:"items-center px-[50px] py-[28px] text-center  shadow-xl w-[230px] h-[230px]",children:[(0,a.jsx)("p",{className:"text-2xl",children:"Тежина / кг"}),(0,a.jsx)("p",{className:"pt-[50px] text-6xl font-bold outline-none w-full text-center",children:s})]}),(0,a.jsx)("button",{onClick:e=>n(s-1),children:(0,a.jsx)(h.LazyLoadImage,{className:"pt-3",alt:"Minus",src:aC.src})})]}),(0,a.jsxs)("div",{className:"flex flex-col justify-center items-center",children:[(0,a.jsx)("button",{onClick:e=>l(t+1),children:(0,a.jsx)(h.LazyLoadImage,{className:"pb-3",alt:"Plus",src:a_.src})}),(0,a.jsxs)("div",{className:"items-center px-[50px] py-[28px] text-center  shadow-xl w-[230px] h-[230px]",children:[(0,a.jsx)("p",{className:"text-2xl",children:"Висина / цм"}),(0,a.jsx)("p",{className:"pt-[50px] text-6xl font-bold outline-none w-full text-center",children:t})]}),(0,a.jsx)("button",{onClick:e=>l(t-1),children:(0,a.jsx)(h.LazyLoadImage,{className:"pt-3",alt:"Minus",src:aC.src})})]}),(0,a.jsx)("div",{className:"flex flex-col justify-center items-center",children:(0,a.jsxs)("div",{className:"items-center px-[50px] py-[28px] text-center  shadow-xl w-[230px] h-[230px]",children:[(0,a.jsx)("p",{className:"text-2xl",children:" BMI "}),(0,a.jsx)("p",{className:"pt-[50px] text-6xl font-bold ",children:r})]})})]})}),(0,a.jsx)("div",{className:"container xl:px-56 xl:py-12 xl:mt-0 phoneSmall:py-8 phoneSmall:mt-4",children:(0,a.jsxs)("p",{className:"phoneSmall:px-4 phoneSmall:py-4 xl:px-36 xl:py-14 bg-alkLightGrey text-center text-sm text-black",children:[r<18.5?(0,a.jsx)("p",{children:"Резултатот е недоволна телесна тежина. Потребно е да се зголеми телесната тежина."}):null,r>18.4&&r<25?(0,a.jsx)("p",{children:"Резултатот е нормална телесна тежина. Се препорачува здрава исхрана и занимавање со физички активности за да се одржи оваа тежина."}):null,r>24.9&&r<30?(0,a.jsx)("p",{children:"Резултатот е прекумерна телесна тежина. Потребно е тежината да се доведе во нормала."}):null,r>29.9?(0,a.jsx)("p",{children:"Постои ниво на ризик. Потребно е да се намалат телесната тежина и придружниот ризик за развој на поврзани болести."}):null]})})]}),(0,a.jsxs)("div",{className:"container mx-auto mt-10",children:[(0,a.jsx)("h1",{className:"text-4xl px-10",children:"Пресметајте го ризикот за развој на болести"}),(0,a.jsxs)("div",{className:"container flex xl:flex-row phoneSmall:flex-col xl:gap-40 phoneSmall:gap-4 justify-center items-center text-alkDarkGrey",children:[(0,a.jsx)("div",{className:"flex flex-col justify-center items-center",children:(0,a.jsxs)("div",{className:"items-center px-[50px] py-[28px] text-center  shadow-xl w-[230px] h-[230px]",children:[(0,a.jsx)("p",{className:"text-2xl",children:"Вашиот BMI "}),(0,a.jsx)("p",{className:"pt-[50px] text-6xl font-bold ",children:r})]})}),(0,a.jsx)("div",{className:"flex flex-col justify-center items-center",children:(0,a.jsxs)("div",{className:"items-center xl:px-[50px] xl:py-[28px] text-center w-[230px] h-[230px]",children:[(0,a.jsx)("p",{className:"text-2xl",children:"Пол:"}),(0,a.jsxs)("div",{className:"pt-[50px] text-base font-normal flex flex-col gap-5 justify-center items-center",children:[(0,a.jsxs)("div",{className:"flex flex-row gap-5 items-center",children:[(0,a.jsx)("input",{onClick:()=>x("male"),type:"radio",id:"genderMale",name:"genderMale",checked:"male"==m}),(0,a.jsx)("label",{htmlFor:"genderMale",children:"Машки"})]}),(0,a.jsxs)("div",{className:"flex flex-row gap-5 items-center",children:[(0,a.jsx)("input",{onClick:()=>x("female"),type:"radio",id:"genderFemale",name:"genderFemale",checked:"female"==m}),(0,a.jsx)("label",{htmlFor:"genderFemale",children:"Женски"})]})]})]})}),(0,a.jsx)("div",{className:"flex flex-col justify-center items-center",children:(0,a.jsxs)("div",{className:"items-center xl:px-[25px] xl:py-[28px] text-center xl:w-[230px] xl:h-[230px]",children:[(0,a.jsx)("p",{className:"text-2xl",children:"Обем на половина:"}),(0,a.jsx)("div",{className:"pt-[50px] text-base font-normal flex flex-col gap-5",children:(0,a.jsxs)("div",{className:"flex flex-row gap-5 items-center justify-center",children:["male"==m?(0,a.jsx)(()=>(0,a.jsxs)("div",{className:"flex flex-col gap-5 items-center",children:[(0,a.jsxs)("div",{className:"flex flex-row gap-5 items-center",children:[(0,a.jsx)("input",{onClick:()=>u(!1),type:"radio",name:"fat-minus-male",id:"fat-minus-male",checked:!p}),(0,a.jsx)("label",{htmlFor:"fat-minus-male",children:"≤94"})]}),(0,a.jsxs)("div",{className:"flex flex-row gap-5 items-center",children:[(0,a.jsx)("input",{onClick:()=>u(!0),type:"radio",name:"fat-plus-male",id:"fat-plus-male",checked:p}),(0,a.jsx)("label",{htmlFor:"fat-plus-male",children:">94"})]})]}),{}):null,"female"==m?(0,a.jsx)(()=>(0,a.jsxs)("div",{className:"flex flex-col gap-5 items-center",children:[(0,a.jsxs)("div",{className:"flex flex-row gap-5 items-center",children:[(0,a.jsx)("input",{onClick:()=>u(!1),type:"radio",name:"fat-minus-female",id:"fat-minus-female",checked:!p}),(0,a.jsx)("label",{htmlFor:"fat-minus-female",children:"≤80"})]}),(0,a.jsxs)("div",{className:"flex flex-row gap-5 items-center",children:[(0,a.jsx)("input",{onClick:()=>u(!0),type:"radio",name:"fat-plus-female",id:"fat-plus-female",checked:p}),(0,a.jsx)("label",{htmlFor:"fat-plus-female",children:">80"})]})]}),{}):null]})})]})})]}),(0,a.jsx)("div",{className:"container xl:px-56 xl:py-12 xl:mt-0 phoneSmall:py-8 phoneSmall:mt-4",children:(0,a.jsxs)("p",{className:"phoneSmall:px-4 phoneSmall:py-4 xl:px-36 xl:py-14 bg-alkLightGrey text-center text-sm text-black",children:[p&&r>39.9?(0,a.jsx)("p",{children:"Ризикот за развој на дијабетес (тип II), висок крвен притисок и на кардиоваскуларни болести е премногу висок."}):null,p&&r>29.9&&r<40?(0,a.jsx)("p",{children:"Ризикот за развој на дијабетес (тип II), висок крвен притисок и на кардиоваскуларни болести е многу висок."}):null,p&&r>24.9&&r<30?(0,a.jsx)("p",{children:"Ризикот за развој на дијабетес (тип II), висок крвен притисок и на кардиоваскуларни болести е висок."}):null,p&&r<25?(0,a.jsx)("p",{children:"Ризикот за развој на дијабетес (тип II), висок крвен притисок и на кардиоваскуларни болести е низок."}):null,!p&&r>39.9?(0,a.jsx)("p",{children:"Ризикот за развој на дијабетес (тип II), висок крвен притисок и на кардиоваскуларни болести е многу висок."}):null,!p&&r>29.9&&r<40?(0,a.jsx)("p",{children:"Ризикот за развој на дијабетес (тип II), висок крвен притисок и на кардиоваскуларни болести е висок."}):null,!p&&r>25&&r<30?(0,a.jsx)("p",{children:"Ризикот за развој на дијабетес (тип II), висок крвен притисок и на кардиоваскуларни болести е зголемен."}):null,!p&&r<25?(0,a.jsx)("p",{children:"Ризикот за развој на дијабетес (тип II), висок крвен притисок и на кардиоваскуларни болести е низок."}):null]})})]})]})},template:{type:"BMICalculator",label:"BMI Calculator",defaultItem:{_template:"ComponentBlocksBmiCalculator"}}},ComponentBlocksMailchimpPage:{Component:e=>{let{index:t,data:l}=e,{t:s}=(0,ec.$G)(),[n,r]=(0,c.useState)(0);return(0,a.jsxs)("section",{className:"relative",children:[(0,a.jsx)("div",{className:"z-0 has-overlay absolute top-0 left-0 w-full overflow-hidden h-[200px] sm:h-[420px]",children:(0,a.jsx)("div",{className:"absolute top-0 left-0 w-full h-full bg-pronetatoms bg-cover bg-center bg-no-repeat"})}),(0,a.jsx)("div",{className:"container relative flex m-auto items-center",style:{minHeight:420},children:(0,a.jsx)("div",{className:"w-full",children:(0,a.jsx)("h1",{className:"text-4xl -mt-24 sm:mt-0 text-black font-normal text-center",children:l.title&&l.title})})}),(0,a.jsx)("div",{className:"container relative flex m-auto items-center",children:(0,a.jsx)("div",{className:"bg-white relative -top-32 w-full block shadow-2xl items-center justify-center mx-auto xl:max-w-screen-lg 2xl:max-w-screen-xl",children:(0,a.jsx)("iframe",{src:"https://eepurl.com/hQZYm5",frameBorder:"0",width:"100%",height:"1200px"})})})]})},template:{type:"MailchimpPage",label:"Mailchimp Page",defaultItem:{_template:"ComponentBlocksMailchimpPage"}}},ComponentBlocksLeftTitledTab:{Component:e=>{let{index:t,data:l,...s}=e,[n,r]=(0,c.useState)(0);return(0,c.useEffect)(()=>{let e=new URLSearchParams(window.location.search);if(e.has(l.name))try{let t=parseInt(e.get(l.name),10);r(t)}catch(e){console.log(e)}},[l.name]),(0,a.jsxs)("div",{className:"container flex flex-col items-center mx-auto phoneSmall:py-10 md:py-20",children:[(0,a.jsx)("h2",{className:"text-4xl md:text-6xl uppercase font-thin text-center phoneSmall:mb-4 md:mb-12",children:l.title})," ",(0,a.jsx)("div",{className:"w-full md:hidden",children:(0,a.jsx)("div",{className:"flex flex-col self-start  overflow-scroll sm:mx-0 mx-5 no-scrollbar text-center my-10 border-alkLightBlue border-opacity-10 phoneSmall:border-b-[1px] sm:border-b-0  md:mb-14",children:l.tabsJson.map((e,t)=>(0,a.jsx)("button",{type:"button",onClick:()=>r(t),className:`tablinks cursor-pointer focus:outline-none py-2   bg-transparent ${t===n?"text-alkLightBlue  border-b-2 border-alkLightBlue":"text-alkBlack"} `,children:e.title},e.title))})}),(0,a.jsx)("div",{className:"hidden md:flex md:flex-col self-start  gap-5 text-center py-10 ",children:l.tabsJson.map((e,t)=>(0,a.jsx)("button",{type:"button",onClick:()=>r(t),className:`tablinks cursor-pointer focus:outline-none text-lg md:text-2xl  bg-transparent ${t===n?"text-alkLightBlue  border-b-2 border-alkLightBlue":"text-alkBlack"} `,children:e.title},e.title))}),(0,a.jsx)(S.Z,{values:l.tabsJson,blocks:{...aF},direction:"vertical",className:"w-full",itemProps:{activePage:n,...s}})]})},template:aP},...aA,...tq,...aT,ComponentBlocksReportDrugReactionPro:{Component:e=>{let{index:t,data:l}=e,{t:s}=(0,ec.$G)(),n=(0,c.useMemo)(()=>[N.object().shape({country:N.string().required(s("required_input")),name:N.string().required(s("required_input")),surname:N.string().required(s("required_input")),reporterHealthPro:N.string().oneOf(["Physician","Pharmacist","Nurse","Other health care professional"],function(){for(var e=arguments.length,t=Array(e),l=0;l<e;l++)t[l]=arguments[l];let a=t[0].values.split(", ");return`${s("oneOfReporter")}${a.reduce((e,t)=>
35`${e} ${s(t)}`,"")}`}).required(s("required_input"))}),N.object().shape({reporterCountry:N.string().required(s("required_input")),initials:N.string().required(s("required_input")),ages:N.string().when("date",{is:e=>!e,then:N.string().required(s("required_input")),otherwise:N.string()}),sex:N.string().required(s("required_input")).oneOf(["Male","Female","Unknown"],function(){for(var e=arguments.length,t=Array(e),l=0;l<e;l++)t[l]=arguments[l];let a=t[0].values.split(", ");return`${s("oneOfSex")}${a.reduce((e,t)=>`${e} ${s(t)}`,"")}`}),ageType:N.string().oneOf(["Year","Month","Week","Day"],function(){for(var e=arguments.length,t=Array(e),l=0;l<e;l++)t[l]=arguments[l];let a=t[0].values.split(", ");return`${s("oneOfAgeType")}${a.reduce((e,t)=>`${e} ${s(t)}`,"")}`}).nullable()}),N.object().shape({description:N.string().required(s("required_input")),dateOfOccurance:N.string().required(s("required_input")),outcome:N.string().required(s("required_input")),suspect:N.string().oneOf(["Drug interaction","Lack of efficacy"],function(){for(var e=arguments.length,t=Array(e),l=0;l<e;l++)t[l]=arguments[l];let a=t[0].values.split(", ");return`${s("oneOfSuspect")}${a.reduce((e,t)=>`${e} ${s(t)}`,"")}`}).notRequired()}),N.object().shape({tradeName:N.string().required(s("required_input")),casualRelatinship:N.string().oneOf(["Certain","Probable","Possible","Unlikely"],function(){for(var e=arguments.length,t=Array(e),l=0;l<e;l++)t[l]=arguments[l];let a=t[0].values.split(", ");return`${s("oneOfSuspect")}${a.reduce((e,t)=>`${e} ${s(t)}`,"")}`})}),N.object().shape({indicationOfSideEffects:N.string().oneOf(["A visit to the doctor","Admission to the hospital"],function(){for(var e=arguments.length,t=Array(e),l=0;l<e;l++)t[l]=arguments[l];let a=t[0].values.split(", ");return`${s("oneOfSideEffects")}${a.reduce((e,t)=>`${e} ${s(t)}`,"")}`})}),N.object().shape({adverseReactionCaused:N.string().oneOf(["Death","Life threatening condition","Involved or prolonged inpatient hospitalisation","Involved persistent or significant disability or incapacity","Congenital defect or congenital anomaly ","Other medically important condition"],function(){for(var e=arguments.length,t=Array(e),l=0;l<e;l++)t[l]=arguments[l];let a=t[0].values.split(", ");return`${s("adverse_reaction")}${a.reduce((e,t)=>`${e} ${s(t)}`,"")}`}).notRequired()}),N.object().shape({outcome:N.string().oneOf(["Recovery without consequences","Recovery with consequences","Recovery in progress","Advere reaction ongoing","Death","Unknown"],function(){for(var e=arguments.length,t=Array(e),l=0;l<e;l++)t[l]=arguments[l];let a=t[0].values.split(", ");return`${s("oneOfOutcome")}${a.reduce((e,t)=>`${e} ${s(t)}`,"")}`})}),N.object().shape({reporter:N.string().oneOf(["Patient","Caregiver","Lawyer","Other"],function(){for(var e=arguments.length,t=Array(e),l=0;l<e;l++)t[l]=arguments[l];let a=t[0].values.split(", ");return`${s("oneOfReporter")}${a.reduce((e,t)=>`${e} ${s(t)}`,"")}`}).required(s("required_input"))}),N.object().shape({description:N.string().required(s("required_input")),dateOfOccurance:N.date().required(s("required_input")),dateOfEnd:N.date().required(s("required_input")),outcome:N.date().required(s("required_input"))}),N.object().shape({tradeName:N.string().required(s("required_input"))}),N.object().shape({})],[]),[r,i]=(0,c.useState)(0),o=n[r],[d,m]=(0,c.useState)(!1),[x,p]=(0,c.useState)(!1),[h,u]=(0,c.useState)(!1),[g,b]=(0,c.useState)(null);(0,c.useEffect)(()=>{"worker"!==localStorage.getItem("userType")&&u(!0)},[]);let j=e=>{e>0&&i(e-1)},[y,w]=(0,c.useState)(""),[k,_]=(0,c.useState)(""),C=(0,c.useCallback)(async(e,t)=>{let{resetForm:l}=t;if(e.email=k.toString(),e.number=y.toString(),4===r)try{p(!0),await (0,t9.Z)().post("https://cms.alkaloid.com.mk/api/reports-of-adverse-drug-reaction-for-health-professionals-hrs",{data:{InformationAboutTheReporterHealthProfessionalHR:{name:e.name,surname:e.surname,number:e.number||"",email:e.email||"[email protected]",country:e.country,professionalQualification:e.reporterHealthPro},InformationAboutThePersonWhoExperiencedTheAdverseDrugReactionForHealthProfessioanlsHR:{initials:e.initials,c
35ountry:e.reporterCountry,date:e.date||null,gender:e.sex,ages:e.date?e.ages?e.ages:null:e.ages,ageType:e.date?e.ageType?e.ageType:null:e.ageType},AdverseDrugReactionInformationForHealthProfessionalsHR:{description:e.description,startDate:e.dateOfOccurance,endDate:e.dateOfEnd,outcomeOfAdverseReaction:e.outcome,advereReactionCausedBy:e.adverseReactionCaused||"none"},SuspectedDrugInformationForHealthProfessionalsHR:{brandName:e.tradeName,activeSubstance:e.INN,pharmaceuticalForm:e.pharmaceuticalForm,strength:e.strength,nameOfManufacturer:e.nameOfManufacturer,batchNumber:e.batchNumber,dailyDose:e.dailyDose,routeOfAdministration:e.routeOfAdministration,startDate:e.therapyDatesFrom,endDate:e.therapyDatesTo,indicationsForUse:e.indicationOfUse,therapyDuration:e.therapyDuration,reactionAfterStopping:e.reactionAfterStopping,reactionAfterReintroduction:e.reactionAfterReintroduction,markIfYouSuspect:e.suspect||"none"},ConcominantDrugsAndMedicalHistoryForHealthProfessionalsHR:{medicines:e.medicines,allergies:e.allergies,pregnantOrBreastfeeding:e.pregnantOrBreastfeeding,casualRelatinship:e.casualRelatinship||null}}})}catch(e){console.log(e)}finally{4===r&&setTimeout(()=>{p(!1),m(!0),setTimeout(()=>{m(!1),i(0),l()},5e3)},2e3)}else i(r+1)},[r,y,k]);return(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("section",{className:"relative lg:block",children:[(0,a.jsxs)("div",{className:"z-0 has-overlay absolute top-0 left-0 w-full  overflow-hidden",style:{minHeight:420},children:[(0,a.jsx)("div",{className:"absolute top-0 left-0 w-full h-full bg-cover bg-no-repeat bg-gradient-to-r from-alkLightBlue to-alkPurple  mi
35x-blend-multiply"}),(0,a.jsx)("div",{className:"absolute top-0 left-0 w-full h-full bg-cover bg-no-repeat bg-gradient-to-r from-alkLightBlue to-alkPurple opacity-80 mix-blend-multiply hidden"})]}),(0,a.jsx)("div",{className:"container relative flex m-auto pt-20",style:{minHeight:320},children:(0,a.jsx)("div",{className:"w-full",children:(0,a.jsx)("h1",{className:"text-3xl text-white font-normal text-center",children:s("report_a_drug_title")})})}),(0,a.jsx)("div",{className:"container relative flex m-auto items-center",style:{minHeight:420},children:(0,a.jsxs)("div",{className:`bg-white relative -top-32 w-full p-12 ${4===r?"pb-16 sm:pb-40":""} px-6 md:px-24 shadow-2xl`,children:[d&&(0,a.jsx)("div",{className:"absolute w-full h-6 sm:h-10 md:h-24 xl:h-32 bottom-0 text-alkWhite bg-formThankYouGreen left-0 flex items-center justify-center",children:s("report_a_drug_thanks").toUpperCase()}),x&&(0,a.jsx)("div",{className:"absolute w-full h-6 sm:h-10 md:h-24 xl:h-32 bottom-0 text-alkWhite bg-khaki left-0 flex items-center justify-center",children:s("report_a_drug_loading").toUpperCase()}),(0,a.jsxs)("div",{className:"h-10 w-full mb-20 pt-10",children:[(0,a.jsxs)("div",{className:"flex flex-row items-stretch justify-between relative -bottom-2 z-0",children:[(0,a.jsx)("div",{className:`w-full h-1 ${r>=1?"bg-alkLightBlue":"bg-gray-300"} `}),(0,a.jsx)("div",{className:`w-full h-1 ${r>=2?"bg-alkLightBlue":"bg-gray-300"} `}),(0,a.jsx)("div",{className:`w-full h-1 ${r>=3?"bg-alkLightBlue":"bg-gray-300"} `}),(0,a.jsx)("div",{className:`w-full h-1 ${r>=4?"bg-alkLightBlue":"bg-gray-300"} `})]}),(0,a.jsxs)("div",{className:"flex flex-row items-stretch justify-between relative z-10",children:[(0,a.jsx)("div",{className:"rounded-full w-3 h-3 bg-alkLightBlue",children:(0,a.jsx)("span",{className:"relative -top-8 font-bold text-alkLightBlue",children:"1"})}),(0,a.jsx)("div",{className:`rounded-full w-3 h-3 ${r>=1?"bg-alkLightBlue":"bg-gray-300"}`,children:(0,a.jsx)("span",{className:`relative -top-8 font-bold ${r>=1?"text-alkLightBlue":"text-gray-300"}`,children:"2"})}),(0,a.jsx)("div",{className:`rounded-full w-3 h-3 ${r>=2?"bg-alkLightBlue":"bg-gray-300"}`,children:(0,a.jsx)("span",{className:`relative -top-8 font-bold ${r>=2?"text-alkLightBlue":"text-gray-300"}`,children:"3"})}),(0,a.jsx)("div",{className:`rounded-full w-3 h-3 ${r>=3?"bg-alkLightBlue":"bg-gray-300"}`,children:(0,a.jsx)("span",{className:`relative -top-8 font-bold ${r>=3?"text-alkLightBlue":"text-gray-300"}`,children:"4"})}),(0,a.jsx)("div",{className:`rounded-full w-3 h-3 ${r>=4?"bg-alkLightBlue":"bg-gray-300"}`,children:(0,a.jsx)("span",{className:`relative -top-8 font-bold ${r>=4?"text-alkLightBlue":"text-gray-300"}`,children:"5"})})]}),(0,a.jsx)("ul",{className:"w-full lg:mb-40 hidden"})]}),0===r&&(0,a.jsx)("div",{className:"mb-16 text-base",children:(0,a.jsx)(f.Z,{children:l.contentStart})}),(0,a.jsx)(v.J9,{initialValues:lA,onSubmit:C,validateOnChange:!1,validationSchema:o,children:(0,a.jsxs)(v.l0,{children:[(0,a.jsxs)("div",{className:"mb-10",children:[(0,a.jsx)("h3",{className:"text-2xl",children:s(`hr_1_report_a_drug_title${r}`)}),(0,a.jsx)("div",{className:"m-auto w-20 h-1 inline-block bg-alkLightBlue rounded relative lg:-left-6 md:-left-6 "})]}),(0,a.jsx)("div",{className:"flex flex-col md:flex-row gap-8 px-0 md:px-16"}),0===r&&(0,a.jsx)("div",{children:(0,a.jsxs)("div",{className:"md:grid grid-cols lg:grid-cols-2 gap-x-8 md:gap-x-16 px-0 md:px-16",children:[(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("name")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"name",id:"name",placeholder:s("name_placeholder")}),(0,a.jsx)(v.Bc,{name:"name",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("surname")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"surname",placeholder:s("surname_placeholder")}),(0,a.jsx)(v.Bc,{name:"surname",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("telephone")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"number",value:y,onChange:e=>{w(e.target.value)},required:""===k,pattern:".*\\S+.*",placeholder:s("telephone_placeholder")}),""===y&&""===k?(0,a.jsx)("div",{className:"text-alkTableRed",children:s("telandemail")}):""]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("email")}),(0,a.jsx)(v.gN,{className:"w-full rouned-md h-10 py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"email",value:k,onChange:e=>{_(e.target.value)},required:""===y,pattern:".*\\S+.*",placeholder:s("email_placeholder")})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("country")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"country",placeholder:s("c
35ountry_placeholder")}),(0,a.jsx)(v.Bc,{name:"country",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("professionForHealthPro")}),(0,a.jsxs)(v.gN,{className:"w-full rounded-md py-3 pl-3 mb-2 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",as:"select",name:"reporterHealthPro",children:[(0,a.jsx)("option",{className:"placeholder-gray-500",value:"",disabled:!0,children:s("reporter_placeholder")}),(0,a.jsx)("option",{value:"Physician",children:s("physician")}),(0,a.jsx)("option",{value:"Pharmacist",children:s("pharmacist")}),(0,a.jsx)("option",{value:"Nurse",children:s("nurse")}),(0,a.jsx)("option",{value:"Other health care professional",children:s("other_healthcare_professionals")})]}),(0,a.jsx)(v.Bc,{name:"reporterHealthPro",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]})]})}),1===r&&(0,a.jsx)("div",{children:(0,a.jsxs)("div",{className:"md:grid grid-cols lg:grid-cols-2 gap-x-8 md:gap-x-16 px-0 md:px-16",children:[(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("initials")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"initials",id:"initials",placeholder:s("initials_placeholder")}),(0,a.jsx)(v.Bc,{name:"initials",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("country")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"reporterCountry",placeholder:s("country_placeholder")}),(0,a.jsx)(v.Bc,{name:"reporterCountry",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("birthday")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"date",name:"date",placeholder:"Enter your date of birth"}),(0,a.jsx)(v.Bc,{name:"date",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"md:flex md:flex-row md:gap-10 gap-3 flex flex-col",children:[(0,a.jsxs)("div",{className:"mb-5  md:w-[50%] w-full ",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("sex-HR")}),(0,a.jsxs)(v.gN,{className:"w-full rounded-md py-3  pl-3 mb-2 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",as:"select",name:"sex",children:[(0,a.jsx)("option",{className:"placeholder-gray-500",value:"",disabled:!0,children:s("sex_placeholder-HR")}),(0,a.jsx)("option",{value:"Male",children:s("male")}),(0,a.jsx)("option",{value:"Female",children:s("female")}),(0,a.jsx)("option",{value:"Unknown",children:s("unknown")})]}),(0,a.jsx)(v.Bc,{name:"sex",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"mb-5 md:w-[50%] w-full",children:[(0,a.jsx)("p",{className:"block mb-4",children:s("ages-HR")}),(0,a.jsxs)("div",{className:"flex gap-3 justify-end",children:[(0,a.jsx)(v.gN,{className:"w-[50%] rounded-md py-3 pl-3 mb-2 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"number",name:"ages"}),(0,a.jsxs)(v.gN,{className:"w-[50%] rounded-md py-3  pl-3 mb-2 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",as:"select",name:"ageType",children:[(0,a.jsx)("option",{className:"placeholder-gray-500",value:"",disabled:!0}),(0,a.jsx)("option",{value:"Year",children:s("year-HR")}),(0,a.jsx)("option",{value:"Month",children:s("month-HR")}),(0,a.jsx)("option",{value:"Week",children:s("week-HR")}),(0,a.jsx)("option",{value:"Day",children:s("day-HR")})]})]}),(0,a.jsx)(v.Bc,{name:"ages",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]})]})]})}),2===r&&(0,a.jsx)("div",{children:(0,a.jsxs)("div",{className:"md:grid grid-cols lg:grid-cols-2 gap-x-8 md:gap-x-16 px-0 md:px-16",children:[(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("desc_adverse_drug")}),(0,a.jsx)(v.gN,{className:"h-32 w-full rounded-md py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"description",id:"firstName",as:"textarea",placeholder:s("information_placeholder")}),(0,a.jsx)(v.Bc,{name:"description",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("date_occurence-HR")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"dateOfOccurance",placeholder:s("date_of_occurance_placeholder")}),(0,a.jsx)(v.Bc,{name:"dateOfOccurance",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("date_end-HR")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"dateOfEnd",placeholder:s("date_of_end_placeholder")}),(0,a.jsx)(v.Bc,{name:"dateOfEnd",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("outcome")}
35),(0,a.jsxs)(v.gN,{className:"w-full rounded-md py-3 pl-3 mb-2 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",as:"select",name:"outcome",children:[(0,a.jsx)("option",{className:"placeholder-gray-500",value:"",disabled:!0,children:s("reporter_placeholder")}),(0,a.jsx)("option",{value:"Recovery without consequences",children:s("recovery_without_consequences")}),(0,a.jsx)("option",{value:"Recovery with consequences",children:s("recovery_with_consequences")}),(0,a.jsx)("option",{value:"Recovery in progress",children:s("recovery_in_progress")}),(0,a.jsx)("option",{value:"Advere reaction ongoing",children:s("advere_reaction_ongoing")}),(0,a.jsx)("option",{value:"Death",children:s("death")}),(0,a.jsx)("option",{value:"Unknown",children:s("unknown")})]}),(0,a.jsx)(v.Bc,{name:"outcome",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("reaction_caused")}),(0,a.jsxs)(v.gN,{className:"w-full rounded-md py-3 pl-3 mb-2 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",as:"select",name:"adverseReactionCaused",children:[(0,a.jsx)("option",{className:"placeholder-gray-500",value:"",disabled:!0,children:s("reporter_placeholder")}),(0,a.jsx)("option",{value:"Death",children:s("death")}),(0,a.jsx)("option",{value:"Life threatening condition",children:s("life_threatening_condition")}),(0,a.jsx)("option",{value:"Involved or prolonged inpatient hospitalisation",children:s("involved_or_prolonged_inpatient_hospitalisation")}),(0,a.jsx)("option",{value:"Involved persistent or significant disability orIncapacity",children:s("involved_persistent_or_significant_disability_or_incapacity")}),(0,a.jsx)("option",{value:"Congential defect or congential anomaly",children:s("congenital_defect_or_congenital_anomaly")}),(0,a.jsx)("option",{value:"Other medically important condition",children:s("other_medically_important_condition")})]}),(0,a.jsx)(v.Bc,{name:"adverseReactionCaused",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]})]})}),3===r&&(0,a.jsx)("div",{children:(0,a.jsxs)("div",{className:"md:grid grid-cols lg:grid-cols-2 gap-x-8 md:gap-x-16 px-0 md:px-16",children:[(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("trade_name-HR")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"tradeName",id:"tradeName",placeholder:s("trade_name_placeholder-HR")}),(0,a.jsx)(v.Bc,{name:"tradeName",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("inn-HR")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"INN",placeholder:s("inn_placeholder-HR")}),(0,a.jsx)(v.Bc,{name:"INN",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("pharmaceutical_form")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"pharmaceuticalForm",placeholder:s("pharmaceutical_form_placeholder")})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("strength")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"strength",placeholder:s("strength_placeholder")})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("name_of_manufacturer")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"nameOfManufacturer",placeholder:s("name_of_manufacturer_placeholder")})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("batch_number")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"batchNumber",placeholder:s("batch_number_placeholder")})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("daily_dose")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"dailyDose",placeholder:s("daily_dose_placeholder")})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("route_of_administration")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"routeOfAdministration",placeholder:s("route_of_administration_placeholder")})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("therapy_date_from-HR")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"therapyDatesFrom",placeholder:s("therapy_dates_from_placeholder")})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("therapy_date_to-HR")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"therapyDatesTo",placeholder:s("therapy_dates_to_placeholder")})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("indication_for_use")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"indicationOfUse",placeholder:s("indication_for_use_placeholder")})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("therapy_duration")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"therapyDuration",placeholder:s("therapy_duration_placeholder")})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("abate-HR")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"reactionAfterStopping",placeholder:s("information_placeholder")})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("reappear-HR")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"reactionAfterReintroduction",placeholder:s("information_placeholder")})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("suspect")}),(0,a.jsxs)(v.gN,{className:"w-full rounded-md py-3 pl-3 mb-2 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",as:"select",name:"suspect",children:[(0,a.jsx)("option",{className:"placeholder-gray-500",value:"",disabled:!0,children:s("suspect_placeholder")}),(0,a.jsx)("option",{value:"Drug interaction",children:s("drug_interaction")}),(0,a.jsx)("option",{value:"Lack of efficacy",children:s("lack_of_efficacy")})]})]})]})}),4===r&&(0,a.jsx)("div",{children:(0,a.jsxs)("div",{className:"md:grid grid-cols lg:grid-cols-2 gap-x-8 md:gap-x-16 px-0 md:px-16",children:[(0,a.jsxs)("div",{className:"col-span-2",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("all_other_medicines-HR")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"medicines",id:"firstName",placeholder:s("information_placeholder")}),(0,a.jsx)(v.Bc,{name:"medicines",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("allergies-HR")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"allergies",placeholder:s("information_placeholder")}),(0,a.jsx)(v.Bc,{name:"allergies",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("preggo")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"pregnantOrBreastfeeding",placeholder:s("preggo-in
35put")}),(0,a.jsx)(v.Bc,{name:"pregnantOrBreastfeeding",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("casualRelatinship")}),(0,a.jsxs)(v.gN,{className:"w-full rounded-md py-3 pl-3 mb-8 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",as:"select",name:"casualRelatinship",children:[(0,a.jsx)("option",{className:"placeholder-gray-500",value:"",disabled:!0}),(0,a.jsx)("option",{value:"Certain",children:s("certain")}),(0,a.jsx)("option",{value:"Probable",children:s("probable")}),(0,a.jsx)("option",{value:"Possible",children:s("possible")}),(0,a.jsx)("option",{value:"Unlikely",children:s("unlikely")})]}),(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("casualRelatinship_desc")}),(0,a.jsx)(v.Bc,{name:"casualRelatinship",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsx)("div",{className:"col-span-2",children:(0,a.jsx)("div",{className:"text-base text-alkGrey mb-6",children:(0,a.jsx)(f.Z,{children:l.contentEnd})})})]})}),(0,a.jsxs)("div",{className:"w-full flex flex-col md:flex-row justify-between text-left md:px-16",children:[(0,a.jsxs)("div",{className:"flex flex-col",children:[0!==r&&(0,a.jsx)("button",{type:"button",className:"text-alkOffBlack text-base font-semibold py-3 -ml-10 px-12 phone:-ml-10 border-0 border-transparent rounded-full",onClick:()=>{4===r&&b(null),j(r)},children:s("back")}),4===r&&(0,a.jsx)("div",{className:"mt-4",children:(0,a.jsx)(lC.Z,{sitekey:"6Ld7DW0cAAAAAK2cBctPqIJX3dV8ev2x9FRm5XDC",onChange:b})})]}),(0,a.jsx)("div",{className:"active",children:(0,a.jsx)("div",{className:"transform phoneSmall:scale-75 sm:scale-100 w-full -ml-4 lg:-ml-0 md:-ml-0 sm:ml-0 text-right sm:px-0 2xl:px-16 flex flex-row justify-end items-center",children:4===r&&g?(0,a.jsx)("input",{type:"submit",value:s("submitForm"),className:"text-base cursor-pointer text-white self-end h-12 font-semibold bg-gradient-to-r from-alkLightBlue to-alkPurple py-3 px-12 border-0 border-transparent rounded-full"}):4===r&&(0,a.jsx)("input",{type:"button",value:s("submitForm"),className:"text-base cursor-not-allowed text-white self-end h-12 font-semibold bg-gradient-to-r from-gray-400 to-gray-600 py-3 px-12 border-0 border-transparent rounded-full",disabled:!0})})}),4!==r&&(0,a.jsx)("input",{type:"submit",className:"text-base cursor-pointer text-white font-semibold bg-gradient-to-r from-alkLightBlue to-alkPurple py-3 px-12 border-0 border-transparent rounded-full hover:text-alkLightBlue focus:text-alkLightBlue",value:s("next"),onClick:()=>{3===r&&b(null)}})]})]})})]})})]})})},template:{type:"ComponentBlocksReportDrugReactionPro",label:"Report A Drug Form For Health Professionals",defaultItem:{_template:"ComponentBlocksReportDrugReactionPro",contentStart:"Enter Text Here",contentEnd:"Enter Text Here"},fields:[{name:"contentStart",label:"Content Start",component:"html2"},{name:"contentEnd",label:"Content End",component:"html2"}]}},ComponentBlocksReportDrugReactionProSR:{Component:e=>{let{index:t,data:l}=e,{t:s}=(0,ec.$G)(),n=/^[A-Za-zĂÂÎȘȚăâîșțЉљЊњЋћЂђЖжЗзИиКкЛлМмНнПпРрСсТтУуФфХхЦцЧчШшЏџ0-9,.\/\s-]+$/,r=/^[A-Za-zĂÂÎȘȚăâîșțЉљЊњЋћЂђЖжЗзИиКкЛлМмНнПпРрСсТтУуФфХхЦцЧчШшЏџ\s'\/-]+$/,i=(0,c.useMemo)(()=>[N.object().shape({country:N.string().matches(r,s("invalid_characters")).required(s("required_input")),name:N.string().matches(r,s("invalid_characters")).required(s("required_input")),number:N.string().matches(/^[\d+]+$/,s("only_numbers_plus")),surname:N.string().matches(r,s("invalid_characters")).required(s("required_input")),reporterHealthPro:N.string().oneOf(["Physician","Pharmacist","Nurse","Other health care professional"],function(){for(var e=arguments.length,t=Array(e),l=0;l<e;l++)t[l]=arguments[l];let a=t[0].values.split(", ");return`${s("oneOfReporter")}${a.reduce((e,t)=>`${e} ${s(t)}`,"")}`}).required(s("required_input"))}),N.object().shape({reporterCountry:N.string().matches(r,s("invalid_characters")).required(s("required_input")),initials:N.string().matches(r,s("invalid_characters")).required(s("required_input")),ages:N.string().when("date",{is:e=>!e,then:N.string().matches(n,s("invalid_characters")).max(new Date,s("no_future_dates")).required(s("required_input")),otherwise:N.string()}),sex:N.string().required(s("required_input")).oneOf(["Male","Female","Unknown"],function(){for(var e=arguments.length,t=Array(e),l=0;l<e;l++)t[l]=arguments[l];let a=t[0].values.split(", ");return`${s("oneOfSex")}${a.reduce((e,t)=>
35`${e} ${s(t)}`,"")}`}),ageType:N.string().oneOf(["Year","Month","Week","Day"],function(){for(var e=arguments.length,t=Array(e),l=0;l<e;l++)t[l]=arguments[l];let a=t[0].values.split(", ");return`${s("oneOfAgeType")}${a.reduce((e,t)=>`${e} ${s(t)}`,"")}`}).nullable()}),N.object().shape({description:N.string().matches(n,s("invalid_characters")).required(s("required_input")),dateOfOccurance:N.string().matches(n,s("invalid_characters")).required(s("required_input")),dateOfEnd:N.string().matches(n,s("invalid_characters")),outcome:N.string().matches(n,s("invalid_characters")).required(s("required_input")),suspect:N.string().oneOf(["Drug interaction","Lack of efficacy"],function(){for(var e=arguments.length,t=Array(e),l=0;l<e;l++)t[l]=arguments[l];let a=t[0].values.split(", ");return`${s("oneOfSuspect")}${a.reduce((e,t)=>`${e} ${s(t)}`,"")}`}).notRequired()}),N.object().shape({tradeName:N.string().matches(n,s("invalid_characters")).required(s("required_input")),INN:N.string().matches(n,s("invalid_characters")),pharmaceuticalForm:N.string().matches(n,s("invalid_characters")),strength:N.string().matches(n,s("invalid_characters")),nameOfManufacturer:N.string().matches(n,s("invalid_characters")),batchNumber:N.string().matches(n,s("invalid_characters")),dailyDose:N.string().matches(n,s("invalid_characters")),routeOfAdministration:N.string().matches(n,s("invalid_characters")),therapyDatesFrom:N.string().matches(n,s("invalid_characters")),therapyDatesTo:N.string().matches(n,s("invalid_characters")),indicationOfUse:N.string().matches(n,s("invalid_characters")),therapyDuration:N.string().matches(n,s("invalid_characters")),reactionAfterStopping:N.string().matches(n,s("invalid_characters")),reactionAfterReintroduction:N.string().matches(n,s("invalid_characters")),casualRelatinship:N.string().oneOf(["Certain","Probable","Possible","Unlikely"],function(){for(var e=arguments.length,t=Array(e),l=0;l<e;l++)t[l]=arguments[l];let a=t[0].values.split(", ");return`${s("oneOfSuspect")}${a.reduce((e,t)=>`${e} ${s(t)}`,"")}`})}),N.object().shape({allergies:N.string().matches(r,s("invalid_characters")),medicines:N.string().matches(n,s("invalid_characters")),chosenFamilyDoctor:N.string().matches(n,s("invalid_characters")),pregnantOrBreastfeeding:N.string().matches(r,s("invalid_characters"))}),N.object().shape({indicationOfSideEffects:N.string().oneOf(["A visit to the doctor","Admission to the hospital"],function(){for(var e=arguments.length,t=Array(e),l=0;l<e;l++)t[l]=arguments[l];let a=t[0].values.split(", ");return`${s("oneOfSideEffects")}${a.reduce((e,t)=>`${e} ${s(t)}`,"")}`})}),N.object().shape({advereReactionCausedBy:N.string().oneOf(["Death","Life threatening condition","Involved or prolonged inpatient hospitalisation","Involved persistent or significant disability orIncapacity","Congential defect or congential anomaly","Other medically important condition","None"],function(){for(var e=arguments.length,t=Array(e),l=0;l<e;l++)t[l]=arguments[l];let a=t[0].values.split(", ");return`${s("adverse_reaction")}${a.reduce((e,t)=>`${e} ${s(t)}`,"")}`}).notRequired()}),N.object().shape({outcome:N.string().oneOf(["Recovery without consequences","Recovery with consequences","Recovery in progress","Adverse reaction ongoing","Death","Unknown"],function(){for(var e=arguments.length,t=Array(e),l=0;l<e;l++)t[l]=arguments[l];let a=t[0].values.split(", ");return`${s("oneOfOutcome")}${a.reduce((e,t)=>`${e} ${s(t)}`,"")}`})}),N.object().shape({reporter:N.string().oneOf(["Patient","Caregiver","Lawyer","Other"],function(){for(var e=arguments.length,t=Array(e),l=0;l<e;l++)t[l]=arguments[l];let a=t[0].values.split(", ");return`${s("oneOfReporter")}${a.reduce((e,t)=>`${e} ${s(t)}`,"")}`}).required(s("required_input"))}),N.object().shape({description:N.string().required(s("required_input")),dateOfOccurance:N.date().required(s("required_input")),dateOfEnd:N.date().required(s("required_input")),outcome:N.date().required(s("required_input"))}),N.object().shape({tradeName:N.string().required(s("required_input"))}),N.object().shape({})],[]),[o,d]=(0,c.useState)(0),m=i[o],[x,p]=(0,c.useState)(!1),[h,u]=(0,c.useState)(!1),[g,b]=(0,c.useState)(!1),[j,y]=(0,c.useState)(null);(0,c.useEffect)(()=>{"worker"!==localStorage.getItem("userType")&&b(!0)},[]);let w=e=>{e>0&&d(e-1)},[k,_]=(0,c.useState)(""),[C,B]=(0,c.useState)(""),S=(0,c.useCallback)(async(e,t)=>{let{resetForm:l}=t;if(e.email=C.toString(),e.number=k.toString(),4===o)try{u(!0),await (0,t9.Z)().post("https://cms.alkaloid.com.mk/api/reports-of-adverse-drug-reaction-hr-srs",{data:{HPReporterInfoSR:{name:e.name,surname:e.surname,number:e.number||null,email:e.email||"[email protected]",country:e.country,professionalQualification:e.reporterHealthPro}
35,HPADRPersonInfoSR:{initials:e.initials,country:e.reporterCountry,date:e.date||null,gender:e.sex,ages:e.date?e.ages?e.ages:null:e.ages,ageType:e.date?e.ageType?e.ageType:null:e.ageType},HPADRInfoSR:{description:e.description,startDate:e.dateOfOccurance,endDate:e.dateOfEnd,outcomeOfAdverseReaction:e.outcome,advereReactionCausedBy:e.advereReactionCausedBy||"none"},HPSuspectedDrugInfoSR:{brandName:e.tradeName,activeSubstance:e.INN,pharmaceuticalForm:e.pharmaceuticalForm,strength:e.strength,nameOfManufacturer:e.nameOfManufacturer,batchNumber:e.batchNumber,dailyDose:e.dailyDose,routeOfAdministration:e.routeOfAdministration,startDate:e.therapyDatesFrom,endDate:e.therapyDatesTo,indicationsForUse:e.indicationOfUse,therapyDuration:e.therapyDuration,reactionAfterStopping:e.reactionAfterStopping,reactionAfterReintroduction:e.reactionAfterReintroduction,markIfYouSuspect:e.suspect||"none"},HPDrugHistorySR:{medicines:e.medicines,allergies:e.allergies,pregnantOrBreastfeeding:e.pregnantOrBreastfeeding,casualRelatinship:e.casualRelatinship||null}}})}catch(e){console.log(e)}finally{4===o&&setTimeout(()=>{u(!1),p(!0),setTimeout(()=>{p(!1),d(0),l()},5e3)},2e3)}else d(o+1)},[o,k,C]);return(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("section",{className:"relative lg:block",children:[(0,a.jsxs)("div",{className:"z-0 has-overlay absolute top-0 left-0 w-full  overflow-hidden",style:{minHeight:420},children:[(0,a.jsx)("div",{className:"absolute top-0 left-0 w-full h-full bg-cover bg-no-repeat bg-gradient-to-r from-alkLightBlue to-alkPurple  mi
35x-blend-multiply"}),(0,a.jsx)("div",{className:"absolute top-0 left-0 w-full h-full bg-cover bg-no-repeat bg-gradient-to-r from-alkLightBlue to-alkPurple opacity-80 mix-blend-multiply hidden"})]}),(0,a.jsx)("div",{className:"container relative flex m-auto pt-20",style:{minHeight:320},children:(0,a.jsx)("div",{className:"w-full",children:(0,a.jsx)("h1",{className:"text-3xl text-white font-normal text-center",children:s("report_a_drug_title0")})})}),(0,a.jsx)("div",{className:"container relative flex m-auto items-center",style:{minHeight:420},children:(0,a.jsxs)("div",{className:`bg-white relative -top-32 w-full p-12 ${4===o?"pb-16 sm:pb-40":""} px-6 md:px-24 shadow-2xl`,children:[x&&(0,a.jsx)("div",{className:"absolute w-full h-6 sm:h-10 md:h-24 xl:h-32 bottom-0 text-alkWhite bg-formThankYouGreen left-0 flex items-center justify-center",children:s("report_a_drug_thanks").toUpperCase()}),h&&(0,a.jsx)("div",{className:"absolute w-full h-6 sm:h-10 md:h-24 xl:h-32 bottom-0 text-alkWhite bg-khaki left-0 flex items-center justify-center",children:s("report_a_drug_loading").toUpperCase()}),(0,a.jsxs)("div",{className:"h-10 w-full mb-20 pt-10",children:[(0,a.jsxs)("div",{className:"flex flex-row items-stretch justify-between relative -bottom-2 z-0",children:[(0,a.jsx)("div",{className:`w-full h-1 ${o>=1?"bg-alkLightBlue":"bg-gray-300"} `}),(0,a.jsx)("div",{className:`w-full h-1 ${o>=2?"bg-alkLightBlue":"bg-gray-300"} `}),(0,a.jsx)("div",{className:`w-full h-1 ${o>=3?"bg-alkLightBlue":"bg-gray-300"} `}),(0,a.jsx)("div",{className:`w-full h-1 ${o>=4?"bg-alkLightBlue":"bg-gray-300"} `})]}),(0,a.jsxs)("div",{className:"flex flex-row items-stretch justify-between relative z-10",children:[(0,a.jsx)("div",{className:"rounded-full w-3 h-3 bg-alkLightBlue",children:(0,a.jsx)("span",{className:"relative -top-8 font-bold text-alkLightBlue",children:"1"})}),(0,a.jsx)("div",{className:`rounded-full w-3 h-3 ${o>=1?"bg-alkLightBlue":"bg-gray-300"}`,children:(0,a.jsx)("span",{className:`relative -top-8 font-bold ${o>=1?"text-alkLightBlue":"text-gray-300"}`,children:"2"})}),(0,a.jsx)("div",{className:`rounded-full w-3 h-3 ${o>=2?"bg-alkLightBlue":"bg-gray-300"}`,children:(0,a.jsx)("span",{className:`relative -top-8 font-bold ${o>=2?"text-alkLightBlue":"text-gray-300"}`,children:"3"})}),(0,a.jsx)("div",{className:`rounded-full w-3 h-3 ${o>=3?"bg-alkLightBlue":"bg-gray-300"}`,children:(0,a.jsx)("span",{className:`relative -top-8 font-bold ${o>=3?"text-alkLightBlue":"text-gray-300"}`,children:"4"})}),(0,a.jsx)("div",{className:`rounded-full w-3 h-3 ${o>=4?"bg-alkLightBlue":"bg-gray-300"}`,children:(0,a.jsx)("span",{className:`relative -top-8 font-bold ${o>=4?"text-alkLightBlue":"text-gray-300"}`,children:"5"})})]}),(0,a.jsx)("ul",{className:"w-full lg:mb-40 hidden"})]}),0===o&&(0,a.jsx)("div",{className:"mb-16 text-base",children:(0,a.jsx)(f.Z,{children:l.contentStart})}),(0,a.jsx)(v.J9,{initialValues:lL,onSubmit:S,validateOnChange:!1,validationSchema:m,children:(0,a.jsxs)(v.l0,{children:[(0,a.jsxs)("div",{className:"mb-10",children:[(0,a.jsx)("h3",{className:"text-2xl",children:s(`report_a_drug_title${o}`)}),(0,a.jsx)("div",{className:"m-auto w-20 h-1 inline-block bg-alkLightBlue rounded relative lg:-left-6 md:-left-6 "})]}),(0,a.jsx)("div",{className:"flex flex-col md:flex-row gap-8 px-0 md:px-16"}),0===o&&(0,a.jsx)("div",{children:(0,a.jsxs)("div",{className:"md:grid grid-cols lg:grid-cols-2 gap-x-8 md:gap-x-16 px-0 md:px-16",children:[(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("name")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"name",id:"name",placeholder:s("name_placeholder")}),(0,a.jsx)(v.Bc,{name:"name",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("surname")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"surname",placeholder:s("surname_placeholder")}),(0,a.jsx)(v.Bc,{name:"surname",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("telephone")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-4 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"number",placeholder:s("telephone_placeholder")}),(0,a.jsx)(v.Bc,{name:"number",component:"div",className:"text-red-500 text-sm "})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("email")}),(0,a.jsx)(v.gN,{className:"w-full rouned-md h-10 py-6 pl-3 mb-4 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"email",placeholder:s("email_placeholder"),required:!0}),(0,a.jsx)(v.Bc,{name:"email",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("country")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"country",placeholder:s("c
35ountry_placeholder")}),(0,a.jsx)(v.Bc,{name:"country",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("professionForHealthPro")}),(0,a.jsxs)(v.gN,{className:"w-full rounded-md py-3 pl-3 mb-2 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",as:"select",name:"reporterHealthPro",children:[(0,a.jsx)("option",{className:"placeholder-gray-500",value:"",disabled:!0,children:s("reporter_placeholder")}),(0,a.jsx)("option",{value:"Physician",children:s("physician")}),(0,a.jsx)("option",{value:"Pharmacist",children:s("pharmacist")}),(0,a.jsx)("option",{value:"Nurse",children:s("nurse")}),(0,a.jsx)("option",{value:"Other health care professional",children:s("other_healthcare_professionals")})]}),(0,a.jsx)(v.Bc,{name:"reporterHealthPro",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]})]})}),1===o&&(0,a.jsx)("div",{children:(0,a.jsxs)("div",{className:"md:grid grid-cols lg:grid-cols-2 gap-x-8 md:gap-x-16 px-0 md:px-16",children:[(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("initials")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"initials",id:"initials",placeholder:s("initials_placeholder")}),(0,a.jsx)(v.Bc,{name:"initials",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("country")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"reporterCountry",placeholder:s("country_placeholder")}),(0,a.jsx)(v.Bc,{name:"reporterCountry",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("birthday")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"date",max:new Date().toISOString().split("T")[0],onInput:e=>{let t=e.target.value;t>new Date().toISOString().split("T")[0]?e.target.setCustomValidity("Future dates are not allowed"):e.target.setCustomValidity("")},name:"date",placeholder:"Enter your date of birth"}),(0,a.jsx)(v.Bc,{name:"date",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"md:flex md:flex-row md:gap-10 gap-3 flex flex-col",children:[(0,a.jsxs)("div",{className:"mb-5  md:w-[50%] w-full ",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("sex")}),(0,a.jsxs)(v.gN,{className:"w-full rounded-md py-3  pl-3 mb-2 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",as:"select",name:"sex",children:[(0,a.jsx)("option",{className:"placeholder-gray-500",value:"",disabled:!0,children:s("sex_placeholder")}),(0,a.jsx)("option",{value:"Male",children:s("male")}),(0,a.jsx)("option",{value:"Female",children:s("female")}),(0,a.jsx)("option",{value:"Unknown",children:s("unknown")})]}),(0,a.jsx)(v.Bc,{name:"sex",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"mb-5 md:w-[50%] w-full",children:[(0,a.jsx)("p",{className:"block mb-4",children:s("ages-HR")}),(0,a.jsxs)("div",{className:"flex gap-3 justify-end",children:[(0,a.jsx)(v.gN,{className:"w-[50%] rounded-md py-3 pl-3 mb-2 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"number",name:"ages"}),(0,a.jsxs)(v.gN,{required:!0,className:"w-[50%] rounded-md py-3  pl-3 mb-2 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",as:"select",name:"ageType",children:[(0,a.jsx)("option",{className:"placeholder-gray-500",value:"",disabled:!0}),(0,a.jsx)("option",{value:"Year",children:s("year-HR")}),(0,a.jsx)("option",{value:"Month",children:s("month-HR")}),(0,a.jsx)("option",{value:"Week",children:s("week-HR")}),(0,a.jsx)("option",{value:"Day",children:s("day-HR")})]})]}),(0,a.jsx)(v.Bc,{name:"ages",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]})]})]})}),2===o&&(0,a.jsx)("div",{children:(0,a.jsxs)("div",{className:"md:grid grid-cols lg:grid-cols-2 gap-x-8 md:gap-x-16 px-0 md:px-16",children:[(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("desc_adverse_drug")}),(0,a.jsx)(v.gN,{className:"h-32 w-full rounded-md py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"description",id:"firstName",as:"textarea",placeholder:s("information_placeholder")}),(0,a.jsx)(v.Bc,{name:"description",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("date_occurence")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"dateOfOccurance",placeholder:s("date_of_occurance_placeholder")}),(0,a.jsx)(v.Bc,{name:"dateOfOccurance",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("date_end-HR")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"dateOfEnd",placeholder:s("date_of_end_placeholder")}),(0,a.jsx)(v.Bc,{name:"dateOfEnd",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("outcome")}
35),(0,a.jsxs)(v.gN,{className:"w-full rounded-md py-3 pl-3 mb-2 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",as:"select",name:"outcome",children:[(0,a.jsx)("option",{className:"placeholder-gray-500",value:"",disabled:!0,children:s("reporter_placeholder")}),(0,a.jsx)("option",{value:"Recovery without consequences",children:s("recovery_without_consequences")}),(0,a.jsx)("option",{value:"Recovery with consequences",children:s("recovery_with_consequences")}),(0,a.jsx)("option",{value:"Recovery in progress",children:s("recovery_in_progress")}),(0,a.jsx)("option",{value:"Adverse reaction ongoing",children:s("advere_reaction_ongoing")}),(0,a.jsx)("option",{value:"Death",children:s("death")}),(0,a.jsx)("option",{value:"None",children:s("unknown")})]}),(0,a.jsx)(v.Bc,{name:"outcome",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("reaction_caused")}),(0,a.jsxs)(v.gN,{className:"w-full rounded-md py-3 pl-3 mb-2 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",as:"select",name:"advereReactionCausedBy",children:[(0,a.jsx)("option",{className:"placeholder-gray-500",value:"",disabled:!0,children:s("reporter_placeholder")}),(0,a.jsx)("option",{value:"Death",children:s("death")}),(0,a.jsx)("option",{value:"Life threatening condition",children:s("life_threatening_condition")}),(0,a.jsx)("option",{value:"Involved or prolonged inpatient hospitalisation",children:s("involved_or_prolonged_inpatient_hospitalisation")}),(0,a.jsx)("option",{value:"Involved persistent or significant disability orIncapacity",children:s("involved_persistent_or_significant_disability_or_incapacity")}),(0,a.jsx)("option",{value:"Congential defect or congential anomaly",children:s("congenital_defect_or_congenital_anomaly")}),(0,a.jsx)("option",{value:"Other medically important condition",children:s("other_medically_important_condition")})]}),(0,a.jsx)(v.Bc,{name:"advereReactionCausedBy",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]})]})}),3===o&&(0,a.jsx)("div",{children:(0,a.jsxs)("div",{className:"md:grid grid-cols lg:grid-cols-2 gap-x-8 md:gap-x-16 px-0 md:px-16",children:[(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("trade_name")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"tradeName",id:"tradeName",placeholder:s("trade_name_placeholder")}),(0,a.jsx)(v.Bc,{name:"tradeName",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("inn")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"INN",placeholder:s("inn_placeholder")}),(0,a.jsx)(v.Bc,{name:"INN",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("pharmaceutical_form")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"pharmaceuticalForm",placeholder:s("pharmaceutical_form_placeholder")}),(0,a.jsx)(v.Bc,{name:"pharmaceuticalForm",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("strength")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"strength",placeholder:s("strength_placeholder")}),(0,a.jsx)(v.Bc,{name:"strength",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("name_of_manufacturer")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"nameOfManufacturer",placeholder:s("name_of_manufacturer_placeholder")}),(0,a.jsx)(v.Bc,{name:"nameOfManufacturer",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("batch_number")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"batchNumber",placeholder:s("batch_number_placeholder")}),(0,a.jsx)(v.Bc,{name:"batchNumber",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("daily_dose")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"dailyDose",placeholder:s("daily_dose_placeholder")}),(0,a.jsx)(v.Bc,{name:"dailyDose",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("route_of_administration")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"routeOfAdministration",placeholder:s("route_of_administration_placeholder")}),(0,a.jsx)(v.Bc,{name:"routeOfAdministration",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("therapy_date_from")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"therapyDatesFrom",placeholder:s("therapy_dates_from_placeholder")}),(0,a.jsx)(v.Bc,{name:"therapyDatesFrom",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("therapy_date_to")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"therapyDatesTo",placeholder:s("therapy_dates_to_placeholder")}),(0,a.jsx)(v.Bc,{name:"therapyDatesTo",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("indication_for_use")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"indicationOfUse",placeholder:s("indication_for_use_placeholder")}),(0,a.jsx)(v.Bc,{name:"indicationOfUse",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("therapy_duration")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"therapyDuration",placeholder:s("therapy_duration_placeholder")}),(0,a.jsx)(v.Bc,{name:"therapyDuration",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("abate")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"reactionAfterStopping",placeholder:s("information_placeholder")}),(0,a.jsx)(v.Bc,{name:"reactionAfterStopping",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("reappear")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-2 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"reactionAfterReintroduction",placeholder:s("information_placeholder")}),(0,a.jsx)(v.Bc,{name:"reactionAfterReintroduction",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("suspect")}),(0,a.jsxs)(v.gN,{required:!0,className:"w-full rounded-md py-3 pl-3 mb-2 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",as:"select",name:"suspect",children:[(0,a.jsx)("option",{className:"placeholder-gray-500",value:"",disabled:!0,children:s("suspect_placeholder")}),(0,a.jsx)("option",{value:"Drug interaction",children:s("drug_interaction")}),(0,a.jsx)("option",{value:"Lack of efficacy",children:s("lack_of_efficacy")})]}),(0,a.jsx)(v.Bc,{name:"suspect",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]})]})}),4===o&&(0,a.jsx)("div",{children:(0,a.jsxs)("div",{className:"md:grid grid-cols lg:grid-cols-2 gap-x-8 md:gap-x-16 px-0 md:px-16",children:[(0,a.jsxs)("div",{className:"col-span-2",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("all_other_medicines")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"medicines",id:"firstName",placeholder:s("information_placeholder")}),(0,a.jsx)(v.Bc,{name:"medicines",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("allergies")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"allergies",placeholder:s("information_placeholder")}),(0,a.jsx)(v.Bc,{name:"allergies",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("preggo")}),(0,a.jsx)(v.gN,{className:"w-full rounded-md h-10 py-6 pl-3 mb-8 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"pregnantOrBreastfeeding",placeholder:s("information_placeholder")}),(0,a.jsx)(v.Bc,{name:"pregnantOrBreastfeeding",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("casualRelatinship")}),(0,a.jsxs)(v.gN,{className:"w-full rounded-md py-3 pl-3 mb-8 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",as:"select",name:"casualRelatinship",children:[(0,a.jsx)("option",{className:"placeholder-gray-500",value:"",disabled:!0}),(0,a.jsx)("option",{value:"Certain",children:s("certain")}),(0,a.jsx)("option",{value:"Probable",children:s("probable")}),(0,a.jsx)("option",{value:"Possible",children:s("possible")}),(0,a.jsx)("option",{value:"Unlikely",children:s("unlikely")})]}),(0,a.jsx)("p",{className:"tracking-wider block mb-4",children:s("casualRelatinship_desc")}),(0,a.jsx)(v.Bc,{name:"casualRelatinship",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsx)("div",{className:"col-span-2",children:(0,a.jsx)("div",{className:"text-base text-alkGrey mb-6",children:(0,a.jsx)(f.Z,{children:l.contentEnd})})})]})}),(0,a.jsxs)("div",{className:"w-full flex flex-col md:flex-row justify-between text-left md:px-16",children:[(0,a.jsxs)("div",{className:"flex flex-col",children:[0!==o&&(0,a.jsx)("button",{type:"button",className:"text-alkOffBlack text-base font-semibold py-3 -ml-10 px-12 phone:-ml-10 border-0 border-transparent roun
35ded-full",onClick:()=>{4===o&&y(null),w(o)},children:s("back")}),4===o&&(0,a.jsx)("div",{className:"mt-4",children:(0,a.jsx)(lC.Z,{sitekey:"6Ld7DW0cAAAAAK2cBctPqIJX3dV8ev2x9FRm5XDC",onChange:y})})]}),(0,a.jsx)("div",{className:"active",children:(0,a.jsx)("div",{className:"transform phoneSmall:scale-75 sm:scale-100 w-full -ml-4 lg:-ml-0 md:-ml-0 sm:ml-0 text-right sm:px-0 2xl:px-16 flex flex-row justify-end items-center",children:4===o&&j?(0,a.jsx)("input",{type:"submit",value:s("submitForm"),className:"text-base cursor-pointer text-white self-end h-12 font-semibold bg-gradient-to-r from-alkLightBlue to-alkPurple py-3 px-12 border-0 border-transparent rounded-full"}):4===o&&(0,a.jsx)("input",{type:"button",value:s("submitForm"),className:"text-base cursor-not-allowed text-white self-end h-12 font-semibold bg-gradient-to-r from-gray-400 to-gray-600 py-3 px-12 border-0 border-transparent rounded-full",disabled:!0})})}),4!==o&&(0,a.jsx)("input",{type:"submit",className:"text-base cursor-pointer text-white font-semibold bg-gradient-to-r from-alkLightBlue to-alkPurple py-3 px-12 border-0 border-transparent rounded-full hover:text-alkLightBlue focus:text-alkLightBlue",value:s("next"),onClick:()=>{3===o&&y(null)}})]})]})})]})})]})})},template:{type:"ComponentBlocksReportDrugReactionProSR",label:"Report A Drug Form For Health Professionals SR",defaultItem:{_template:"ComponentBlocksReportDrugReactionProSR",contentStart:"Enter Text Here",contentEnd:"Enter Text Here"},fields:[{name:"contentStart",label:"Content Start",component:"html2"},{name:"contentEnd",label:"Content End",component:"html2"}]}},ComponentBlocksSitemap:{Component:e=>{let{data:t,pagesSitemap:l}=e,{t:s}=(0,k.$)();return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"z-0 has-overlay absolute top-44 left-0 w-full  overflow-hidden",style:{minHeight:300},children:[(0,a.jsx)("div",{className:"absolute top-0 left-0 w-full h-full bg-cover bg-no-repeat bg-gradient-to-r from-alkLightBlue to-alkPurple  mi
35x-blend-multiply"}),(0,a.jsx)("div",{className:"absolute top-0 left-0 w-full h-full bg-cover bg-no-repeat bg-gradient-to-r from-alkLightBlue to-alkPurple opacity-80 mix-blend-multiply hidden"})]}),(0,a.jsx)("div",{className:"container relative flex m-auto pt-20",style:{minHeight:166},children:(0,a.jsx)("div",{className:"w-full",children:(0,a.jsx)("h1",{className:"text-3xl text-white font-normal text-center",children:s("sitemap_title")})})}),(0,a.jsx)("div",{className:"container relative flex m-auto items-start",style:{minHeight:120},children:(0,a.jsx)("div",{className:"bg-white relative  w-full p-12 px-6 md:px-24 shadow-2xl",children:(0,a.jsx)("div",{className:"container flex flex-col items-start mx-auto ",children:l&&l.filter(e=>e.attributes.layout===t.layout).map(e=>(0,a.jsx)(aE,{page:e},e.id))})})})]})},template:{type:"sitemap",label:"Sitemap",defaultItem:{_template:"ComponentBlocksSitemap"},fields:[{label:"Layout",name:"layout",component:"select",options:[{value:"Main",label:"Main"},{value:"Pronet",label:"Pronet"},{value:"MainHR",label:"MainHR"}]}]}},ComponentBlocksPronetRegister:{Component:e=>{let{index:t,data:l,reloadJwt:s}=e,[n,r]=(0,c.useState)(!1),[i,o]=(0,c.useState)(!1),d=()=>o(!i),[m,x]=(0,c.useState)(!1),p=()=>x(!m),{t:h}=(0,k.$)(),u=(0,g.useRouter)(),f=(0,c.useCallback)(async e=>{try{let t=await (0,t9.Z)().post("https://cms.alkaloid.com.mk/api/auth/local/register",{username:e.email,email:e.email,sex:e.sex,profile:e.profile,city:e.city,name:e.name,surname:e.surname,licenseNumber:e.licenseNumber,password:e.password||"******",fieldOfWork:"Специјалист"===e.profile?e.fieldOfWork:null,interests:e.interests,rememberMe:e.rememberMe,newsletter:e.newsletter,marketing:e.marketing||!1,agreement:e.agreement});window.localStorage.setItem("pronet-login",JSON.stringify(t.data)),await s(),u.push("/pronet-email-conf"),console.log("it has passed")}catch(e){alert(h("Неуспешна регистрација. Со овој е-маил веќе има креирано профил.")),console.log("it has NOT passed")}},[]),b=(0,c.useMemo)(()=>N.object().shape({name:N.string().required(h("required_input-pronet")),agreement:N.boolean().oneOf([!0],"Мора да го селектирате полето за согласност!").required("Мора да го селектирате полето за согласност!"),surname:N.string().required(h("required_input-pronet")),sex:N.string().required(h("required_input-pronet")),city:N.string().required(h("required_input-pronet")),email:N.string().email(h("invalid_email-pronet")).required(h("required_input-pronet")),password:N.string().min(6,h("too_short-pronet")).matches(/[a-z]/,h("Лозинката мора да содржи мала буква")).matches(/[A-Z]/,h("Лозинката мора да содржи голема буква")).matches(/[!@#$%^&*(),.?":{}|<>]/,h("Лозинката мора да содржи бројка и симбол")).required(h("required_input-pronet")),passwordConfirm:N.string().required(h("required_input-pronet")).test("passwords-match",h("Лозинките не се совпаѓаат!"),function(e){return this.parent.password===e}),profile:N.string().oneOf(["Специјалист","Фармацевт","Доктор по општа пракса","Останати"],function(){for(var e=arguments.length,t=Array(e),l=0;l<e;l++)t[l]=arguments[l];let a=t[0].values.split(", ");return`profile${a.reduce((e,t)=>`${e} ${t}`,"")}`}).required(h("required_input-pronet")),licenseNumber:N.string().when("profile",{is:"Фармацевт",then:N.string().matches(/^(?:\d{2}-\d{3}\/\d-\d|\d{2}-\d{3}\/\d-\d\/\d-\d|\d{2}-\d{3}\/\d|\d{2}-\d{4}\/\d|\d{2}-\d{3}\/\d-\d\/\d)$/,"Неважечки формат на лиценца. Треба да одговара на еден од наведените формати: xx-xxx/x-x, xx-xxx/x-x/x, xx-xxx/x, xx-xxxx/x")}),fieldOfWork:N.string().when("profile",{is:"Специјалист",then:e=>e.oneOf(aO,function(){for(var e=arguments.length,t=Array(e),l=0;l<e;l++)t[l]=arguments[l];let a=t[0].values.split(", ");return`filedOfWork${a.reduce((e,t)=>
35`${e} ${t}`,"")}`}).required(h("required_input-pronet"))}),interests:N.object()}),[]),j=(0,c.useCallback)(e=>{let t=!0;for(let l=0;l<aZ.length;++l)e[aZ[l]]||(t=!1);return t},[]),y=(0,c.useCallback)((e,t)=>{for(let l=0;l<aZ.length;++l)t(`interests.${aZ[l]}`,e)},[j]);return(0,a.jsxs)("div",{className:"container m-auto my-20",children:[(0,a.jsx)("h2",{className:"text-6xl text-[#023F88]  mb-10",children:"Регистрација"}),(0,a.jsx)("hr",{className:"border-alkLightBlue ml-[30%] w-3/12 border-solid border-b-4"}),(0,a.jsx)("h3",{className:" mt-20 text-sm md:w-[60%] w-full phone:text-xl md:text-lg leading-tight phone:leading-normal",children:"Ве молиме пополнете ги податоците подолу со точни и целосни информации."}),(0,a.jsx)(v.J9,{initialValues:aM,onSubmit:f,validationSchema:b,children:e=>{let{values:t,setFieldValue:l}=e;return(0,a.jsxs)(v.l0,{children:[(0,a.jsxs)("div",{className:"flex md:flex-row flex-col w-full md:gap-20",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4 mt-8",children:"Име *"}),(0,a.jsx)(v.gN,{className:" lg:w-[480px] md:w-[320px] w-full rounded-md h-10 py-6 pl-3 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"name",placeholder:"Име"}),(0,a.jsx)(v.Bc,{name:"name",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4 mt-8",children:"Презиме *"}),(0,a.jsx)(v.gN,{className:" lg:w-[480px] md:w-[320px] w-full rounded-md h-10 py-6 pl-3 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"surname",placeholder:"Презиме"}),(0,a.jsx)(v.Bc,{name:"surname",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]})]}),(0,a.jsxs)("div",{className:"flex md:flex-row flex-col w-full md:gap-20",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4 mt-8",children:"Е-маил *"}),(0,a.jsx)(v.gN,{s:!0,className:"lg:w-[480px] md:w-[320px] w-full rounded-md h-10 py-6 pl-3 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"email",placeholder:"[email protected]"}),(0,a.jsx)(v.Bc,{name:"email",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4 mt-8",children:"Град *"}),(0,a.jsx)(v.gN,{className:"lg:w-[480px] md:w-[320px] w-full rounded-md h-10 py-6 pl-3 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"city",placeholder:"Внеси град"}),(0,a.jsx)(v.Bc,{name:"city",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]})]}),(0,a.jsxs)("div",{className:"flex md:flex-row flex-col w-full md:gap-20",children:[(0,a.jsxs)("div",{className:"relative",children:[" ",(0,a.jsx)("p",{className:"tracking-wider block mb-4 mt-8",children:"Лозинка *"}),(0,a.jsx)(v.gN,{className:"lg:w-[480px] md:w-[320px] w-full rounded-md h-10 py-6 pl-3 pr-10 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:i?"password":"text",name:"password"}),(0,a.jsx)("span",{className:"absolute inset-y-0 right-3 flex items-center cursor-pointer",onClick:d,children:i?(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",className:"h-6 w-6",children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M3 3l18 18M10.4 10.4a3 3 0 104.2 4.2m1.632 1.632A9.057 9.057 0 0112 21c-4.478 0-8.268-2.943-9.542-7a9.057 9.057 0 012.57-4.758m4.138-4.138a9.057 9.057 0 0112.13 0 9.057 9.057 0 012.57 4.758c-.5 1.514-1.198 2.86-2.042 4.003"})}):(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",className:"h-6 w-6",children:[(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M15 12a3 3 0 01-6 0 3 3 0 016 0z"}),(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M2.458 12C3.732 7.943 7.522 5 12 5c4.478 0 8.268 2.943 9.542 7-.5 1.514-1.198 2.86-2.042 4.003M15 12a3 3 0 01-6 0m4.5-3.75A2.25 2.25 0 0013.25 12M2.458 12c1.274 4.057 5.064 7 9.542 7a9.59 9.59 0 004.628-1.197"})]})}),(0,a.jsx)("p",{className:"w-96 text-sm mt-5",children:"*Лозинката мора да има најмалку 6 карактери и да содржи следново: голема буква, мала буква, бројка и симбол."}),(0,a.jsx)(v.Bc,{name:"password",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4 mt-8",children:"Потврди лозинка *"}),(0,a.jsx)(v.gN,{className:"lg:w-[480px] md:w-[320px] w-full rounded-md h-10 py-6 pl-3 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:m?"password":"text",name:"passwordConfirm"}),(0,a.jsx)("span",{className:"absolute inset-y-0 right-3 flex items-center cursor-pointer",onClick:p,children:m?(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",className:"h-6 w-6",children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M3 3l18 18M10.4 10.4a3 3 0 104.2 4.2m1.632 1.632A9.057 9.057 0 0112 21c-4.478 0-8.268-2.943-9.542-7a9.057 9.057 0 012.57-4.758m4.138-4.138a9.057 9.057 0 0112.13 0 9.057 9.057 0 012.57 4.758c-.5 1.514-1.198 2.86-2.042 4.003"})}):(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",className:"h-6 w-6",children:[(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M15 12a3 3 0 01-6 0 3 3 0 016 0z"}),(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M2.458 12C3.732 7.943 7.522 5 12 5c4.478 0 8.268 2.943 9.542 7-.5 1.514-1.198 2.86-2.042 4.003M15 12a3 3 0 01-6 0m4.5-3.75A2.25 2.25 0 0013.25 12M2.458 12c1.274 4.057 5.064 7 9.542 7a9.59 9.59 0 004.628-1.197"})]})}),(0,a.jsx)(v.Bc,{name:"passwordConfirm",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]})]}),(0,a.jsxs)("div",{className:"flex md:flex-row flex-col w-full md:gap-20",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4 mt-8",children:"Профил *"}),(0,a.jsxs)(v.gN,{className:" bg-white lg:w-[480px] md:w-[320px] w-full rounded-md py-3 pl-3 mb-3 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",as:"select",name:"profile",placeholder:"Која е вашата специјалност?",children:[(0,a.jsxs)("option",{className:"placeholder-white",value:"",disabled:!0,children:["Која е вашата специјалност?"," "]}),(0,a.jsx)("option",{value:"Специјалист",children:"Специјалист"}),(0,a.jsx)("option",{value:"Фармацевт",children:"Фармацевт"}),(0,a.jsx)("option",{value:"Доктор по општа пракса",children:"Доктор по општа пракса"}),(0,a.jsx)("option",{value:"Останати",children:"Останати"})]}),(0,a.jsx)(v.Bc,{name:"profile",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4 mt-8",children:"Број на лиценца"}),(0,a.jsx)(v.gN,{className:"lg:w-[480px] md:w-[320px] w-full rounded-md h-10 py-6 pl-3 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"licenseNumber",placeholder:"ex:1111111"}),(0,a.jsx)(v.Bc,{name:"licenseNumber",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]})]}),(0,a.jsxs)("div",{className:"flex md:flex-row flex-col w-full md:gap-20",children:["Специјалист"===t.profile?(0,a.jsx)("div",{className:"flex md:flex-row flex-col",children:(0,a.jsxs)("div",{className:"flex flex-col",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4 mt-8",children:"Специјалност *"}),(0,a.jsxs)(v.gN,{className:" bg-white lg:w-[480px] md:w-[320px] w-full rounded-md py-3 pl-3 mb-3 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",as:"select",name:"fieldOfWork",placeholder:"Изберете ја вашата специјалност",children:[(0,a.jsx)("option",{className:"placeholder-white",value:"",disabled:!0,children:"Изберете ја вашата специјалност"}),aO.map(e=>(0,a.jsx)("option",{value:e,children:e}))]}),(0,a.jsx)(v.Bc,{name:"fieldOfWork",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]})}):"",(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4 mt-8",children:"Пол *"}),(0,a.jsxs)(v.gN,{className:" bg-white lg:w-[480px] md:w-[320px] w-full rounded-md py-3 pl-3 mb-3 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",as:"select",name:"sex",placeholder:"Пол",children:[(0,a.jsx)("option",{className:"placeholder-white",value:"",disabled:!0,children:"Пол"}),(0,a.jsx)("option",{value:"male",children:"Машки"}),(0,a.jsx)("option",{value:"female",children:"Женски"})]}),(0,a.jsx)(v.Bc,{name:"sex",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]})]}),(0,a.jsx)("h3",{className:" mt-10 mb-5 text-sm md:w-[60%] w-full phone:text-xl md:text-lg leading-tight phone:leading-normal",children:"Области од Интерес"}),(0,a.jsxs)("label",{children:[(0,a.jsx)("input",{className:"mr-2",type:"checkbox",checked:j(t.interests),onChange:e=>{y(e.target.checked,l)}}),"Означи ги сите"," "]}),(0,a.jsx)("div",{className:"grid grid-cols-2 mt-3",children:aZ.map(e=>(0,a.jsxs)("label",{children:[(0,a.jsx)(v.gN,{className:"mr-2",name:`interests.${e}`,type:"checkbox"}),e]}))}),(0,a.jsx)("br",{}),(0,a.jsx)("br",{}),(0,a.jsx)("br",{}),(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:" text-[24px] pt-10 font-bold pb-4 pl-2 text-darkblue",children:"Добивајте ги сите новости на Вашиот e-mail"}),(0,a.jsxs)("div",{className:"bg-gradient-to-r from-[#e8f3fc] to-[#eee9f7] bg-opacity-10 w-full text-black h-full lg:h-[212px] lg:w-[989px]",children:[(0,a.jsx)("div",{className:"text-[#101010] pl-5 md:mr-40 mr-5 pt-6 pb-6 text-base",children:"Означете го полето за согласност за newsletter и добивајте ги сите новости од „Алкалоид пронет“ на вашата електронска адреса. На овој начин ќе бидете во тек со најновите акредитирани тестирања, стручни статии, производи, водичи, корисни алатки, вебинари и настани и со другата содржина, според вашиот интерес."}),(0,a.jsx)("div",{className:"flex flex-col w-full relative",children:(0,a.jsxs)("div",{className:"pl-5 lg:pb-0 pb-10 relative w-full",children:[(0,a.jsxs)("label",{className:"text-sm",children:[(0,a.jsx)(v.gN,{className:"mr-2",name:"newsletter",type:"checkbox"}),"Согласност за newsletter"]}),(0,a.jsx)("br",{}),(0,a.jsx)("div",{className:"absolute phoneLarge:block hidden right-7 bottom-0 top-0",children:(0,a.jsx)(es(),{src:a$,width:104.5,height:69.67,className:"flex",alt:"icon"})})]})})]})]}),(0,a.jsx)("br",{}),(0,a.jsxs)("label",{className:"text-sm pl-5",children:[(0,a.jsx)(v.gN,{className:"mr-2",checked:!0,name:"rememberMe",type:"checkbox"}),"Остани најавен"," "]}),(0,a.jsx)("br",{}),(0,a.jsxs)("label",{className:"text-sm w-14 pl-5",children:[(0,a.jsx)(v.gN,{className:"mr-2",name:"agreement",type:"checkbox"}),"Со штиклирање на ова поле изјавувам дека внесените податоци се точни ",(0,a.jsx)("br",{}),(0,a.jsxs)("spam",{className:"pl-5",children:["и вистинити и имам право да пристапам до содржината наменета за стручната јавност"," "]})," ",(0,a.jsx)("br",{})," ",(0,a.jsxs)("spam",{className:"pl-5",children:["стручната јавност согласно член 2 став 3 и член 14 од Упатството за начинот на огласување на лековите и медицинските помагала"," ",(0,a.jsx)("br",{})]}),(0,a.jsx)("spam",{className:"pl-5",children:"(“Сл. Весник на РМ бр.106/20070) "})]}),(0,a.jsx)(v.Bc,{name:"agreement",component:"div",className:"text-red-500 mt-5 text-base"}),(0,a.jsx)("div",{className:"w-full mt-10 mb-20 flex flex-col md:flex-row   gap-4 ",children:(0,a.jsx)("button",{type:"submit",className:"text-xs phone:text-sm md:text-base cursor-pointer duration-300 hover:text-alkLightBlue text-white font-semibold bg-gradient-to-r from-alkLightBlue to-alkPurple py-1 phone:py-3 px-4 phone:px-12 border-0 border-transparent roun
35ded-full",children:"Регистрирај се"})})]})}})]})},template:{type:"pronetRegister",label:"Pronet Register"}},ComponentBlocksPronetEditProfile:{Component:e=>{let{index:t,data:l,userData:s,reloadJwt:n}=e,{t:r}=(0,k.$)(),i=(0,g.useRouter)(),[o,d]=(0,c.useState)(!1),m=(0,c.useCallback)(()=>{d(!0),setTimeout(()=>{d(!1)},5e3)},[]),x=(0,c.useMemo)(()=>({...aJ,...s}),[]),p=(0,c.useCallback)(async e=>{try{let t=localStorage.getItem("pronet-login"),l=JSON.parse(t),a=await (0,t9.Z)().put(`https://cms.alkaloid.com.mk/api/users/${l.user.id}`,{name:e.name,email:e.email,sex:e.sex||"male",city:e.city,licenseNumber:e.licenseNumber,message:e.message,profile:e.profile,password:e.password.length?e.password:void 0,fieldOfWork:"Специјалист"===e.profile?e.fieldOfWork:null,interests:e.interests,rememberMe:e.rememberMe,newsletter:e.newsletter,marketing:e.marketing||!1},{headers:{Authorization:`Bearer ${l.jwt}`}});window.localStorage.setItem("pronet-login",JSON.stringify({...l,user:a.data})),await n(),i.push("/pronet")}catch(e){console.log(e),alert(r("Грешка при зачувување на промените. Обидете се повторно"))}},[]),h=(0,c.useCallback)(e=>{let t=!0;for(let l=0;l<aV.length;++l)e&&!e[aV[l]]&&(t=!1);return t},[]),u=(0,c.useCallback)((e,t)=>{for(let l=0;l<aV.length;++l)t(`interests.${aV[l]}`,e)},[h]),[f,b]=(0,c.useState)(!1),j=(0,c.useCallback)(async e=>{let t=localStorage.getItem("pronet-login"),l=JSON.parse(t),a=l?.jwt;f||(await (0,t9.Z)().post("https://cms.alkaloid.com.mk/api/ask-a-question-pronets",{data:{message:e.message}},{headers:{Authorization:`Bearer ${a}`}}),b(!0)),m()},[m,f]);return(0,a.jsxs)("div",{className:"container m-auto my-20 ",children:[(0,a.jsx)("h2",{className:"text-6xl text-[#023F88]  mb-10",children:"Кориснички профил"}),(0,a.jsx)("hr",{className:"border-alkLightBlue ml-[30%] w-3/12 border-solid border-b-4"}),(0,a.jsx)(v.J9,{initialValues:x,onSubmit:p,children:e=>{let{values:t,setFieldValue:l}=e;return(0,a.jsxs)(v.l0,{children:[(0,a.jsxs)("div",{className:"relative w-full ",children:[(0,a.jsxs)("div",{className:"my-6 phone:my-10  ",children:[(0,a.jsx)("div",{className:"flex flex-row  justify-between",children:(0,a.jsx)("div",{className:" text-sm md:w-[60%] w-full p-4 phone:text-xl md:text-lg leading-tight phone:leading-normal",children:"Основни Информации"})}),(0,a.jsx)("hr",{className:" mt-2 lg:w-[65%] w-full"}),(0,a.jsxs)("div",{className:"flex md:flex-row flex-col bg-[#FBFBFB] px-4 lg:w-[65%] w-full md:gap-20",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4 mt-8",children:"Име"}),(0,a.jsx)(v.gN,{className:"lg:w-[408px] md:w-[320px] w-full rounded-md h-10 py-6 pl-3 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"name",placeholder:"Име"}),(0,a.jsx)(v.Bc,{name:"name",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4 mt-8",children:"Е-маил "}),(0,a.jsx)(v.gN,{className:"lg:w-[408px] md:w-[320px] w-full rounded-md h-10 py-6 pl-3 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"email",placeholder:"[email protected]"})]})]}),(0,a.jsxs)("div",{className:"flex md:flex-row bg-[#FBFBFB] lg:w-[65%] w-full flex-col p-4  md:gap-20",children:[(0,a.jsxs)("div",{children:[(0,a.jsxs)("p",{className:"tracking-wider block mb-4 mt-8",children:["Стручно поле на работа"," "]}),(0,a.jsxs)(v.gN,{className:" bg-white lg:w-[408px] md:w-[320px] w-full rounded-md py-3 pl-3 mb-3 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",as:"select",name:"profile",placeholder:"Стручно поле",children:[(0,a.jsxs)("option",{className:"placeholder-white",value:"",disabled:!0,children:["Која е вашата специјалност?"," "]}),(0,a.jsx)("option",{value:"Специјалист",children:"Специјалист"}),(0,a.jsx)("option",{value:"Фармацевт",children:"Фармацевт"}),(0,a.jsx)("option",{value:"Доктор по општа пракса",children:"Доктор по општа пракса"}),(0,a.jsx)("option",{value:"Останати",children:"Останати"})]})]}),"Специјалист"===t.profile?(0,a.jsx)("div",{className:"flex md:flex-row flex-col",children:(0,a.jsxs)("div",{className:"flex flex-col",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4 mt-8",children:"Специјалност"}),(0,a.jsxs)(v.gN,{className:" bg-white lg:w-[408px] md:w-[320px] w-full rounded-md py-3 pl-3 mb-3 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",as:"select",name:"fieldOfWork",placeholder:"Изберете ја вашата специјалност",children:[(0,a.jsx)("option",{className:"placeholder-white",value:"",disabled:!0,children:"Изберете ја вашата специјалност"}),aU.map(e=>(0,a.jsx)("option",{value:e,children:e}))]})]})}):""]})]}),(0,a.jsxs)("div",{className:"my-6 phone:my-28 ",children:[(0,a.jsx)("div",{className:"flex flex-row justify-between",children:(0,a.jsxs)("div",{className:" text-sm md:w-[60%]  px-4  w-full phone:text-xl md:text-lg leading-tight phone:leading-normal",children:["Дополнителни информации"," "]})}),(0,a.jsx)("hr",{className:" mt-2 lg:w-[65%] w-full"}),(0,a.jsxs)("div",{className:"flex md:flex-row  bg-[#FBFBFB] lg:w-[65%] px-4  flex-col w-full md:gap-20",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4 mt-8",children:"Град "}),(0,a.jsx)(v.gN,{className:"lg:w-[408px] md:w-[320px]  w-full rounded-md h-10 py-6 pl-3 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"city",placeholder:"Град"})]}),(0,a.jsxs)("div",{children:[(0,a.jsxs)("p",{className:"tracking-wider block mb-4 mt-8",children:["Број на лиценца"," "]}),(0,a.jsx)(v.gN,{className:"lg:w-[408px] md:w-[320px] w-full rounded-md h-10 py-6 pl-3 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"licenseNumber",placeholder:"ex:1111111"})]})]}),(0,a.jsx)("div",{className:"flex md:flex-row  bg-[#FBFBFB] lg:w-[65%] px-4  flex-col w-full md:gap-20",children:(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4 mt-8",children:"Пол *"}),(0,a.jsxs)(v.gN,{className:" bg-white lg:w-[408px] md:w-[320px] w-full rounded-md py-3 pl-3 mb-3 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",as:"select",name:"sex",placeholder:"Пол",children:[(0,a.jsx)("option",{className:"placeholder-white",value:"",disabled:!0,children:"Пол"}),(0,a.jsx)("option",{value:"male",children:"Машки"}),(0,a.jsx)("option",{value:"female",children:"Женски"})]}),(0,a.jsx)(v.Bc,{name:"sex",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]})})]})]}),(0,a.jsx)("h3",{className:" mt-10 text-sm md:w-[60%] w-full phone:text-xl md:text-lg leading-tight phone:leading-normal",children:"Области од Интерес"}),(0,a.jsx)("hr",{className:" mt-2 mb-8 lg:w-[65%] w-full"}),(0,a.jsxs)("label",{children:[(0,a.jsx)("input",{className:"mr-2",type:"checkbox",checked:h(t.interests),onChange:e=>{u(e.target.checked,l)}}),"Означи ги сите"," "]}),(0,a.jsx)("div",{className:"grid lg:grid-cols-2 mt-3",children:aV.map(e=>(0,a.jsxs)("label",{children:[(0,a.jsx)(v.gN,{className:"mr-2",name:`interests.${e}`,type:"checkbox"}),e]}))}),(0,a.jsx)("br",{}),(0,a.jsx)("br",{}),(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:" text-[24px] pt-10 font-bold pb-4 pl-2 text-darkblue",children:"Добивајте ги сите новости на Вашиот e-mail"}),(0,a.jsxs)("div",{className:"bg-gradient-to-r from-[#e8f3fc] to-[#eee9f7] bg-opacity-10 w-full text-black h-full lg:h-[212px] lg:w-[989px]",children:[(0,a.jsx)("div",{className:"text-[#101010] pl-5 md:mr-40 mr-5 pt-6 pb-6 text-base",children:"Означете го полето за согласност за newsletter и добивајте ги сите новости од „Алкалоид пронет“ на вашата електронска адреса. На овој начин ќе бидете во тек со најновите акредитирани тестирања, стручни статии, производи, водичи, корисни алатки, вебинари и настани и со другата содржина, според вашиот интерес."}),(0,a.jsx)("div",{className:"flex flex-col w-full relative",children:(0,a.jsxs)("div",{className:"pl-5 lg:pb-0 pb-10 relative w-full",children:[(0,a.jsxs)("label",{className:"text-sm",children:[(0,a.jsx)(v.gN,{className:"mr-2",name:"newsletter",type:"checkbox"}),"Согласност за newsletter"]}),(0,a.jsx)("br",{}),(0,a.jsx)("div",{className:"absolute phoneLarge:block hidden right-7 bottom-0 top-0",children:(0,a.jsx)(es(),{src:a$,width:104.5,height:69.67,className:"flex",alt:"icon"})})]})})]})]}),(0,a.jsx)("br",{}),(0,a.jsxs)("label",{className:"text-sm pl-5",children:[(0,a.jsx)(v.gN,{className:"mr-2",name:"rememberMe",type:"checkbox"}),"Остани најавен"," "]}),(0,a.jsx)("div",{className:"w-full mt-10 mb-20 flex flex-col md:flex-row   gap-4 ",children:(0,a.jsx)("button",{type:"submit",className:"text-xs phone:text-sm md:text-base cursor-pointer duration-300 hover:text-alkLightBlue text-white font-semibold bg-gradient-to-r from-alkLightBlue to-alkPurple py-1 phone:py-3 px-4 phone:px-12 border-0 border-transparent roun
35ded-full",children:"Зачувај промени"})})]})}}),(0,a.jsx)(v.J9,{initialValues:aY,onSubmit:j,validateOnChange:!1,children:(0,a.jsx)(v.l0,{children:(0,a.jsxs)("div",{className:"my-6 phone:my-10 ",children:[(0,a.jsx)("div",{className:"flex flex-row justify-between ",children:(0,a.jsxs)("div",{className:" text-sm md:w-[60%]  px-4 w-full phone:text-xl md:text-lg leading-tight phone:leading-normal",children:["Имаш прашање?"," "]})}),(0,a.jsx)("hr",{className:" mt-2 lg:w-[65%] w-full"}),(0,a.jsxs)("div",{className:"lg:w-[65%] w-full bg-[#FBFBFB] p-4",children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4 bg-[#FBFBFB] ",children:"Порака "}),(0,a.jsx)(v.gN,{as:"textarea",name:"message",className:"lg:w-[408px] md:w-[320px] w-full rounded-md  h-40  pl-5 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",rows:"4",cols:"50",placeholder:"Место за Вашата порака..."})]}),o&&(0,a.jsx)("div",{className:"lg:w-[65%] w-full h-6 sm:h-10 md:h-14 xl:h-20 bottom-0 text-alkDarkGrey bg-formThankYouGreen left-0 flex items-center justify-center",children:"Успешно е испратена пораката."}),(0,a.jsx)("div",{className:"w-full flex flex-col px-4 justify-start mt-5 mb-20  md:flex-row ",children:(0,a.jsxs)("button",{type:"submit",className:"text-xs phone:text-sm md:text-base cursor-pointer duration-300 hover:text-alkLightBlue text-white font-semibold bg-gradient-to-r from-alkLightBlue to-alkPurple py-1 phone:py-3 px-4 phone:px-12 border-0 border-transparent rounded-full",children:["Испрати"," "]})})]})})})]})},template:{type:"pronetEditProfile",label:"Pronet Edit Profile"}},ComponentBlocksResetPassword:{Component:e=>{let{index:t,data:l,reloadJwt:s}=e,{t:n}=(0,k.$)(),r=(0,g.useRouter)(),i=(0,c.useCallback)(async e=>{try{let t=await (0,t9.Z)().post("https://cms.alkaloid.com.mk/api/auth/forgot-password",e);console.log(t),console.log("Check your email"),r.push("/reset-password-page-confirmation")}catch(e){console.log("error_resetting_email"),alert("Обидете се повторно")}},[]),o=(0,c.useMemo)(()=>N.object().shape({email:N.string().email(n("invalid_email")).required(n("required_input"))}),[]);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"flex flex-col items-center",children:(0,a.jsxs)("h1",{className:"text-[32px] text-center justify-center md:mt-40 mt-20 text-[#023F88]  place-self-center tracking-wider mb-3",children:["Промени лозинка"," "]})}),(0,a.jsx)("div",{className:"mt-10 flex justify-center",children:(0,a.jsx)(v.J9,{initialValues:{email:""},validationSchema:o,onSubmit:i,children:(0,a.jsxs)(v.l0,{children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4 mt-8",children:"Е-маил"}),(0,a.jsx)(v.gN,{className:" lg:w-[480px] md:w-[320px] w-full rounded-md h-10 py-6 pl-3 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:"text",name:"email",placeholder:"[email protected]"}),(0,a.jsx)(v.Bc,{name:"email",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsx)("div",{className:"w-full mt-10 md:mb-40 mb-20 justify-center flex flex-col md:flex-row   gap-4 ",children:(0,a.jsxs)("button",{type:"submit",className:"text-xs phone:text-sm md:text-base cursor-pointer duration-300 hover:text-alkLightBlue text-white font-semibold bg-gradient-to-r from-alkLightBlue to-alkPurple py-1 phone:py-3 px-4 phone:px-12 border-0 border-transparent rounded-full",children:["Прати код за промена на лозинка"," "]})})]})})})]})},template:{type:"pronetResetPassword",label:"Pronet Reset Password"}},ComponentBlocksNewPassword:{Component:e=>{let{index:t,data:l,reloadJwt:s}=e,{t:n}=(0,k.$)(),[r,i]=(0,c.useState)(!1),[o,d]=(0,c.useState)(!1),m=(0,g.useRouter)();console.log(m);let x=(0,c.useCallback)(async e=>{try{let t=await (0,t9.Z)().post("https://cms.alkaloid.com.mk/api/auth/reset-password",{code:m.query.confirmation,...e});if("link already used"===t.data.message){alert("Линкот за промена на лозинка е валиден еднаш и веќе го имате искористено. Ð
35’е молиме испратете ново барање за промена на лозинка, ќе добиете нов линк на Вашата email адреса.");return}if("passwords do not match"===t.data.message){alert("Лозинките не се совпаѓаат. Обидете се повторно");return}m.push("/pronet-login")}catch(e){console.log("error_resetting_email",e),alert("Линкот за промена на лозинка е валиден еднаш и веќе го имате искористено. Ве молиме испратете ново барање за промена на лозинка, ќе добиете нов линк на Вашата email адреса.")}},[m]),p=(0,c.useMemo)(()=>N.object().shape({password:N.string().min(6,n("too_short")).required(n("required_input")),passwordConfirmation:N.string().min(6,n("too_short")).required(n("required_input")).oneOf([N.ref("password"),null],n("Лозинките не се совпаѓаат!"))}),[n]);return(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("div",{className:"container m-auto my-10",children:[(0,a.jsx)("div",{className:"flex flex-col items-center",children:(0,a.jsxs)("h1",{className:"text-[32px] text-center justify-center md:mt-40 mt-20 text-[#023F88]  place-self-center tracking-wider mb-3",children:["Внеси лозинка"," "]})}),(0,a.jsx)("div",{className:"mt-20 justify-center flex",children:(0,a.jsx)(v.J9,{initialValues:{password:"",passwordConfirmation:""},validationSchema:p,onSubmit:x,children:(0,a.jsxs)(v.l0,{children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4 mt-8",children:"Нова лозинка"}),(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)(v.gN,{className:"lg:w-[480px] md:w-[320px] w-full rounded-md h-10 py-6 pl-3 pr-10 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:r?"password":"text",name:"password",placeholder:"Напиши ја новата лозинка"}),(0,a.jsx)("span",{className:"absolute inset-y-0 right-0 flex items-center pr-3 cursor-pointer",onClick:()=>i(!r),children:r?(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",className:"h-6 w-6",children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M3 3l18 18M10.4 10.4a3 3 0 104.2 4.2m1.632 1.632A9.057 9.057 0 0112 21c-4.478 0-8.268-2.943-9.542-7a9.057 9.057 0 012.57-4.758m4.138-4.138a9.057 9.057 0 0112.13 0 9.057 9.057 0 012.57 4.758c-.5 1.514-1.198 2.86-2.042 4.003"})}):(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",className:"h-6 w-6",children:[(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M15 12a3 3 0 01-6 0 3 3 0 016 0z"}),(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M2.458 12C3.732 7.943 7.522 5 12 5c4.478 0 8.268 2.943 9.542 7-.5 1.514-1.198 2.86-2.042 4.003M15 12a3 3 0 01-6 0m4.5-3.75A2.25 2.25 0 0013.25 12M2.458 12c1.274 4.057 5.064 7 9.542 7a9.59 9.59 0 004.628-1.197"})]})})]}),(0,a.jsx)(v.Bc,{name:"password",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"tracking-wider block mb-4 mt-8",children:"Повтори ја новата лозинка"}),(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)(v.gN,{className:"lg:w-[480px] md:w-[320px] w-full rounded-md h-10 py-6 pl-3 pr-10 placeholder-gray-500 text-lg ring-1 ring-gray-200 focus:ring-2 focus:ring-gray-200 focus:outline-none border",type:o?"password":"text",name:"passwordConfirmation",placeholder:"Напиши ја новата лозинка"}),(0,a.jsx)("span",{className:"absolute inset-y-0 right-0 flex items-center pr-3 cursor-pointer",onClick:()=>d(!o),children:o?(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",className:"h-6 w-6",children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M3 3l18 18M10.4 10.4a3 3 0 104.2 4.2m1.632 1.632A9.057 9.057 0 0112 21c-4.478 0-8.268-2.943-9.542-7a9.057 9.057 0 012.57-4.758m4.138-4.138a9.057 9.057 0 0112.13 0 9.057 9.057 0 012.57 4.758c-.5 1.514-1.198 2.86-2.042 4.003"})}):(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",className:"h-6 w-6",children:[(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M15 12a3 3 0 01-6 0 3 3 0 016 0z"}),(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M2.458 12C3.732 7.943 7.522 5 12 5c4.478 0 8.268 2.943 9.542 7-.5 1.514-1.198 2.86-2.042 4.003M15 12a3 3 0 01-6 0m4.5-3.75A2.25 2.25 0 0013.25 12M2.458 12c1.274 4.057 5.064 7 9.542 7a9.59 9.59 0 004.628-1.197"})]})})]}),(0,a.jsx)(v.Bc,{name:"passwordConfirmation",children:e=>(0,a.jsx)("div",{className:"text-alkTableRed",children:e})})]}),(0,a.jsx)("div",{className:"w-full mt-10 md:mb-40  justify-center mb-20 flex flex-col md:flex-row   gap-4 ",children:(0,a.jsxs)("button",{type:"submit",className:"text-xs phone:text-sm md:text-base cursor-pointer duration-300 hover:text-alkLightBlue text-white font-semibold bg-gradient-to-r from-alkLightBlue to-alkPurple py-1 phone:py-3 px-4 phone:px-12 border-0 border-transparent roun
35ded-full",children:["Промени лозинка"," "]})})]})})})]})})},template:{type:"pronetSetNewPassword",label:"Pronet Set New Password"}}},nA=Object.keys(nS),nL={};for(let e=0;e<nA.length;e+=1)nL[nA[e]]=nS[nA[e]].template;var nI=e=>{let{genericPage:t,stocksData:l,tickerDatum:s,news:r,latestNews:c,latestNewsData:d,latestNewsDataTwo:m,latestNewsDataSR:x,carouselNews:p,error:h,areas:u,medicines:g,events:f,lectures:b,peerToPeerArticles:j,articles:y,fbPosts:w,ytPosts:v,instaPosts:k,pagesSitemap:N,userData:_,fetchUserData:C,reloadJwt:B,logout:A}=e;if(h||!t)return console.log("Error or no genericPage",h,t,props),(0,a.jsx)("div",{children:"Error!"});let L=`${t.title} - Alkaloid${"Pronet"===t.layout?" Pronet":""}`,I=(t.metaTags||[]).find(e=>"description"===e.name),T=I?I.content:L,R=i({slug:t.slug,locale:t.locale}),F=[{locale:t.locale,slug:t.slug},...(t.localizations?.data||[]).map(e=>({locale:e.attributes.locale,slug:e.attributes.slug}))],P=F.find(e=>"en"===e.locale)||F[0],E=(0,o.Z)(t.featuredImage?.data?.attributes,"medium"),$=[];{let e=[{title:t.title,link:`/${t.slug}`}],l=t.parent?.data;for(;null!=l;)e.push({title:l.attributes.title,link:`/${l.attributes.slug}`}),l=l.parent?.data;$.push(...e.reverse())}let O="Pronet"!==t.layout&&t.article_category?.data?.attributes?.slug==="news"&&!!t.publishedAt,Z=O?{"@context":"https://schema.org","@type":"NewsArticle",headline:t.title,datePublished:t.publishedAt,dateModified:t.updatedAt||t.publishedAt,...E?{image:[E]}:{},mainEntityOfPage:{"@type":"WebPage","@id":R},author:{"@type":"Organization",name:"Алкалоид АД Скопје"},publisher:{"@type":"Organization",name:"Алкалоид АД Скопје",logo:{"@type":"ImageObject",url:"https://alkaloid.com.mk/favicon.ico"}}}:null,M=$.length>1?{"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:$.map((e,l)=>({"@type":"ListItem",position:l+1,name:e.title,item:i({slug:e.link.replace(/^\//,""),locale:t.locale})}))}:null;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(n(),{children:[(0,a.jsx)("title",{children:L}),(0,a.jsx)("meta",{name:"description",content:T}),(0,a.jsx)("link",{rel:"canonical",href:R}),F.map(e=>(0,a.jsx)("link",{rel:"alternate",hrefLang:e.locale,href:i({slug:e.slug,locale:e.locale})},e.locale)),(0,a.jsx)("link",{rel:"alternate",hrefLang:"x-default",href:i(P)}),(0,a.jsx)("meta",{property:"og:title",content:L}),(0,a.jsx)("meta",{property:"og:description",content:T}),(0,a.jsx)("meta",{property:"og:type",content:"website"}),(0,a.jsx)("meta",{property:"og:url",content:R}),(0,a.jsx)("meta",{property:"og:site_name",content:"Alkaloid AD Skopje"}),(0,a.jsx)("meta",{property:"og:locale",content:t.locale}),E&&(0,a.jsx)("meta",{property:"og:image",content:E}),(0,a.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,a.jsx)("meta",{name:"twitter:title",content:L}),(0,a.jsx)("meta",{name:"twitter:description",content:T}),E&&(0,a.jsx)("meta",{name:"twitter:image",content:E}),(0,a.jsx)("meta",{name:"viewport",content:"initial-scale=1.0, width=device-width"}),(0,a.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify({"@context":"https://schema.org","@type":"Corporation","@id":"https://alkaloid.com.mk/#organization",name:"Алкалоид АД Скопје",legalName:"Alkaloid AD Skopje",url:"https://alkaloid.com.mk",foundingDate:"1936-08-15",tickerSymbol:"MSE:ALK",telephone:"+38923104000",email:"[email protected]",address:{"@type":"PostalAddress",streetAddress:"Бул. Александар Македонски 12",postalCode:"1000",addressLocality:"Скопје",addressCountry:"MK"},sameAs:["https://www.wikidata.org/wiki/Q83537","https://en.wikipedia.org/wiki/Alkaloid_(company)","https://mk.linkedin.com/company/alkaloid-ad","https://www.mse.mk/mk/symbol/ALK"]})}}),M&&(0,a.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(M)}}),Z&&(0,a.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(Z)}})]}),(0,a.jsx)(lG,{page:t}),(0,a.jsx)(S.Z,{values:t.blocksJson,blocks:nS,itemProps:{stocksData:l,tickerDatum:s,news:r,latestNews:c,page:t,areas:u,medicines:g,events:f,lectures:b,peerToPeerArticles:j,articles:y,latestNewsData:d,latestNewsDataTwo:m,latestNewsDataSR:x,carouselNews:p,fbPosts:w,ytPosts:v,instaPosts:k,pagesSitemap:N,userData:_,fetchUserData:C,reloadJwt:B,logout:A}})]})}},21709:function(e,t,l){"use strict";var a=l(85893),s=l(67294);t.Z=e=>{let{totalEntries:t,limit:l,currentPage:n,setPage:r}=e,{pages:i,totalPages:o}=(0,s.useMemo)(()=>{let e=Math.ceil(t/l),a=Math.max(1,n-2),s=Math.min(n+2,e-2),r=[];for(let e=a;
35e<=s;e+=1)r.push(e);return{pages:r,startPage:a,endPage:s,totalPages:e}},[n,t,l]);return(0,a.jsxs)("div",{className:"flex flex-row gap-4 text-alkLightBlue lg:pr-20 2xl:pr-0",children:[(0,a.jsx)("button",{type:"button",onClick:()=>{r(0)},className:`text-xl ${0!==n?"text-base text-black":"text-2xl font-bold text-alkLightBlue"}`,children:1},0),n>=4&&(0,a.jsx)("span",{className:"self-end text-black",children:"..."}),i.map(e=>(0,a.jsx)("button",{type:"button",onClick:()=>{r(e)},className:`text-xl ${n!==e?"text-base text-black":"text-2xl font-bold text-alkLightBlue"}`,children:e+1},e)),n<o-4&&(0,a.jsx)("span",{className:"self-end text-black",children:"..."}),1!==o&&(0,a.jsx)("button",{type:"button",onClick:()=>{r(o-1)},className:`text-xl ${n!==o-1?"text-base text-black":"text-2xl font-bold text-alkLightBlue"}`,children:o},o-1)]})}},22487:function(e,t,l){"use strict";l.d(t,{IQ:function(){return r},ZP:function(){return i}});var a=l(85893);l(67294);var s=l(80692),n=l(97847);let r={type:"aboutCard",label:"About Card",defaultItem:{title:"Insert Title",content:"Some content here",_template:"ComponentComponentsAboutCard"},fields:[{name:"title",label:"Title",component:"text"},{name:"content",label:"Content",component:"html2"}]};var i={ComponentComponentsAboutCard:{Component:e=>{let{index:t,data:l}=e;return(0,a.jsx)("div",{className:"flex-1 px-5",children:(0,a.jsx)("div",{className:" flex md:flex-col lg:flex-row",children:(0,a.jsxs)("div",{children:[(0,a.jsxs)("h3",{className:"text-2xl mb-6 text-alkDarkGrey",children:[(0,a.jsx)("p",{children:l.title}),(0,a.jsx)(n.Z,{src:"/_next/static/media/line.da7d9876.svg",className:"w-16 "})]}),(0,a.jsx)("div",{className:"text-base text-alkGrey",children:(0,a.jsx)(s.Z,{children:l.content})})]})})})},template:r}}},21382:function(e,t,l){"use strict";l.d(t,{rG:function(){return u}});var a=l(85893),s=l(67294),n=l(25675),r=l.n(n),i=l(11163),o=l(78981),c=l(32046);let d={mk:{all:"Сите",date:"ДАТУМ",readMore:"Прочитај повеќе",yearsAtAlkaloid:"Години во Алкалоид",noItems:"Нема резултати во оваа категорија."},en:{all:"All",date:"DATE",readMore:"Read more",yearsAtAlkaloid:"Years at Alkaloid",noItems:"No results in this category."}},m=e=>{let{color:t="#fff",size:l=11}=e;return(0,a.jsx)("svg",{width:l,height:1.857*l,viewBox:"0 0 14 26",fill:"none",style:{flexShrink:0},children:(0,a.jsx)("path",{d:"M2 2L12 13L2 24",stroke:t,strokeWidth:3,strokeLinecap:"round",strokeLinejoin:"round"})})},x=()=>(0,a.jsx)("svg",{width:14,height:14,viewBox:"0 0 14 14",fill:"none",style:{flexShrink:0},children:(0,a.jsx)("path",{d:"M1 13L13 1M13 1H4M13 1V10",stroke:"#00AEEF",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})}),p=e=>{let{active:t,label:l,onClick:s}=e;return(0,a.jsxs)("button",{onClick:s,style:{display:"inline-flex",alignItems:"center",gap:8,padding:"10px 14px",borderRadius:50,border:t?"none":"1px solid #888",cursor:"pointer",background:t?"linear-gradient(90deg, #5F1AAE 4.9%, #00AEEF 100%)":"transparent"},children:[(0,a.jsx)("span",{style:{fontFamily:"Montserrat, sans-serif",fontWeight:600,fontSize:"clamp(12px, 1vw, 15px)",color:t?"#fff":"#888",whiteSpace:"nowrap"},children:l}),(0,a.jsx)(m,{color:t?"#fff":"#888",size:9})]})},h=e=>{let{item:t,readMoreLabel:l,t:s}=e,n=t.authorPhoto||null,i=t.authorName&&t.quote?`${t.authorName}: ${t.quote}`:t.authorName||t.quote;return(0,a.jsxs)("div",{style:{position:"relative",borderRadius:8,overflow:"hidden",height:"clamp(440px, 42vw, 560px)",flex:"1 1 calc(33.333% - 47px)",minWidth:260,maxWidth:425},children:[(0,a.jsxs)("div",{style:{position:"absolute",inset:0},children:[n?(0,a.jsx)(r(),{fill:!0,src:n,alt:t.authorName||"",style:{objectFit:"cover"},sizes:"(max-width: 768px) 100vw, 33vw",placeholder:"blur",blurDataURL:o.v}):(0,a.jsx)("div",{style:{width:"100%",height:"100%",background:"#e8eef5"}}),(0,a.jsx)("div",{style:{position:"absolute",inset:0,background:"linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0) 22%, rgba(255,255,255,0.8) 48%, rgba(255,255,255,0.9) 58%, #fff 68%, #fff 100%)"}})]}),(0,a.jsxs)("div",{style:{position:"relative",height:"100%",display:"flex",flexDirection:"column",justifyContent:"flex-end",gap:"clamp(16px, 2.5vw, 25px)",padding:"clamp(24px, 4vw, 50px) clamp(24px, 4vw, 50px) clamp(24px, 3vw, 40px)",boxSizing:"border-box"},children:[t.date&&(0,a.jsxs)("p",{style:{fontFamily:"Montserrat, sans-serif",fontWeight:500,fontSize:14,color:"#023F88",textTransform:"uppercase",margin:0,lineHeight:1.1},children:[s.date," | ",t.date]}),(0,a.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:15},children:[i&&(0,a.jsx)("p",{style:{fontFamily:"Montserrat, sans-serif",fontWeight:700,fontSize:"clamp(18px, 2vw, 24px)",color:"#000",margin:0,lineHeight:1.25},children:i}),(0,a.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:5},children:[t.authorRole&&(0,a.jsx)("p",{style:{fontFamily:"Montserrat, sans-serif",fontWeight:400,fontSize:14,color:"#21272A",margin:0,lineHeight:"25px"},children:t.authorRole}),t.startYear&&(0,a.jsxs)("p",{style:{margin:0,lineHeight:"25px"},children:[(0,a.jsxs)("span",{style:{fontFamily:"Montserrat, sans-serif",fontWeight:400,fontSize:14,color:"#21272A"},children:[s.yearsAtAlkaloid,":","  "]}),(0,a.jsx)("span",{style:{fontFamily:"Montserrat, sans-serif",fontWeight:700,fontSize:20,color:"#00AEEF"},children:t.startYear})]})]}),t.link&&(0,a.jsx)(c.Z,{to:t.link,target:t.newTab?"_blank":"_self",children:(0,a.jsxs)("span",{style:{display:"flex",alignItems:"center",justifyContent:"flex-end",gap:6,fontFamily:"Montserrat, sans-serif",fontWeight:500,fontSize:14,color:"#00AEEF"},children:[l||s.readMore,(0,a.jsx)(x,{})]})})]})]})]})},u=e=>{let{data:t}=e,l=(0,i.useRouter)(),n=d[l.locale]||d.mk,r=t.categories||[],o=t.items||[],[c,m]=(0,s.use
35State)("all");(0,s.useEffect)(()=>{let e=l.query.category;"string"==typeof e&&r.some(t=>t.id===e)&&m(e)},[l.query.category]);let x=o.filter(e=>"all"===c||e.category===c);return(0,a.jsx)("div",{style:{padding:"clamp(40px, 7vw, 150px)",boxSizing:"border-box"},children:(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{style:{marginBottom:"clamp(32px, 5vw, 97px)",maxWidth:956},children:[(0,a.jsxs)("div",{style:{marginBottom:15},children:[(0,a.jsx)("p",{style:{margin:0,fontFamily:"Montserrat, sans-serif",fontWeight:800,fontSize:"clamp(36px, 5vw, 70px)",lineHeight:1.15,textTransform:"uppercase",background:"linear-gradient(90deg, #5F1AAE 4.9%, #00AEEF 100%)",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text"},children:t.titleLine1||"ГЛАСОТ НА"}),(0,a.jsx)("p",{style:{margin:0,fontFamily:"Montserrat, sans-serif",fontWeight:800,fontSize:"clamp(36px, 5vw, 70px)",lineHeight:1.15,textTransform:"uppercase",background:"linear-gradient(90deg, #5F1AAE 4.9%, #00AEEF 100%)",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text"},children:t.titleLine2||"ВРАБОТЕНИТЕ"})]}),t.subtitle&&(0,a.jsx)("p",{style:{fontFamily:"Montserrat, sans-serif",fontWeight:400,fontSize:"clamp(14px, 1.5vw, 20px)",color:"#101010",margin:0,lineHeight:"28px"},children:t.subtitle})]}),r.length>0&&(0,a.jsxs)("div",{style:{display:"flex",gap:20,flexWrap:"wrap",marginBottom:"clamp(32px, 5vw, 85px)",alignItems:"center"},children:[(0,a.jsx)(p,{active:"all"===c,label:n.all,onClick:()=>m("all")}),r.map(e=>(0,a.jsx)(p,{active:c===e.id,label:e.label,onClick:()=>m(e.id)},e.id))]}),(0,a.jsxs)("div",{style:{display:"flex",flexWrap:"wrap",gap:"clamp(20px, 3.5vw, 70px)"},children:[x.map((e,l)=>(0,a.jsx)(h,{item:e,readMoreLabel:t.readMoreLabel,t:n},l)),0===x.length&&(0,a.jsx)("p",{style:{fontFamily:"Montserrat, sans-serif",fontWeight:400,fontSize:16,color:"#888"},children:n.noItems})]})]})})};t.ZP={ComponentBlocksAlk90EmployeeVoiceList:{Component:u,template:{type:"Alk90EmployeeVoiceList",label:"ALK90 Гласот на вработените (листа)",defaultItem:{titleLine1:"ГЛАСОТ НА",titleLine2:"ВРАБОТЕНИТЕ",subtitle:"Бидете во тек со компаниската култура, тимските активности и заедничките успеси што н\xe8 поврзуваат.",readMoreLabel:"Прочитај повеќе",categories:[{id:"lichen-jubilej",label:"Вработени што слават личен јубилеј"},{id:"semejni-prikazni",label:"Семејни приказни во Алкалоид"}],items:[],_template:"ComponentBlocksAlk90EmployeeVoiceList"},fields:[{name:"titleLine1",label:"Title — line 1 (gradient)",component:"text"},{name:"titleLine2",label:"Title — line 2 (gradient)",component:"text"},{name:"subtitle",label:"Subtitle",component:"textarea"},{name:"readMoreLabel",label:"Read More button label",component:"text"},{name:"categories",label:"Categories",component:"group-list",itemProps:e=>({label:e.label||e.id||"Category"}),defaultItem:{id:"",label:""},fields:[{name:"id",label:"ID (slug, no spaces)",component:"text"},{name:"label",label:"Label (displayed text)",component:"text"}]},{name:"items",label:"Employee voices",component:"group-list",itemProps:e=>({label:e.authorName||"Employee voice"}),defaultItem:{authorPhoto:null,date:"",authorName:"",quote:"",authorRole:"",startYear:"",link:"",newTab:!1,category:""},fields:[{name:"authorPhoto",label:"Author photo URL",component:"text"},{name:"date",label:"Date (e.g. 04.03.2026)",component:"text"},{name:"authorName",label:"Author name",component:"text"},{name:"quote",label:"Quote / headline",component:"text"},{name:"authorRole",label:"Author role/title",component:"text"},{name:"startYear",label:"Years at Alkaloid (e.g. 20)",component:"text"},{name:"link",label:"Read More link",component:"text"},{name:"newTab",label:"Open in new tab",component:"toggle"},{name:"category",label:"Category ID (must match a category above)",component:"text"}]}]}}}},87510:function(e,t,l){"use strict";l.d(t,{$b:function(){return o}});var a=l(85893);l(67294);var s=l(25675),n=l.n(s),r=l(78981),i=l(32046);let o=e=>{let{data:t}=e;if(!t.image)return null;let l=(0,a.jsx)("div",{style:{position:"relative",width:"100%",maxWidth:1500,margin:"0 auto",aspectRatio:"1500 / 250"},children:(0,a.jsx)(n(),{fill:!0,src:t.image,alt:t.alt||"",style:{objectFit:"cover"}
35,sizes:"(max-width: 1500px) 100vw, 1500px",quality:95,placeholder:"blur",blurDataURL:r.v})});return(0,a.jsxs)("div",{className:"alk90-simple-banner",style:{width:"100%",padding:"0 clamp(20px, 8vw, 150px)",boxSizing:"border-box"},children:[(0,a.jsx)("style",{children:`
36        @media (max-width: 640px) {
37          .alk90-simple-banner { padding-left: 16px; padding-right: 16px; }
38        }
39      `}),t.link?(0,a.jsx)(i.Z,{to:t.link,target:t.newTab?"_blank":"_self",style:{display:"block"},children:l}):l]})};t.ZP={ComponentBlocksAlk90SimpleBanner:{Component:o,template:{type:"Alk90SimpleBanner",label:"ALK90 Едноставен банер (слика + линк)",defaultItem:{image:null,link:"",newTab:!1,alt:"",_template:"ComponentBlocksAlk90SimpleBanner"},fields:[{name:"image",label:"Image URL (recommended 1500x250)",component:"text"},{name:"link",label:"Link",component:"text"},{name:"newTab",label:"Open in new tab",component:"toggle"},{name:"alt",label:"Alt text (accessibility)",component:"text"}]}}}},75452:function(e,t,l){"use strict";l.d(t,{R8:function(){return p},ZP:function(){return h}});var a=l(85893);l(67294);var s=l(50425),n={src:"/_next/static/media/alkceo-strike.a1ce4e72.svg"},r=l(97847),i=l(5191),o=l(45761),c=l(91975),d=l(72679),m=l(83989),x=l(80692);let p={type:"CEOAlkBanner",label:"CEOAlk Banner",defaultItem:{title:"Insert title here",hideBlock:!1,content:"Your content here",readMore:[c.rl.defaultItem],_template:"ComponentBlocksCeoAlkBanner"},fields:[{name:"title",label:"Title",component:"text"},{name:"bottomTitle",label:"Bottom Title",component:"text"},{name:"content",label:"Content",component:"html2"},{name:"readMore",label:"Read more actions",component:"group-list",fields:c.rl.fields},{name:"corpStructure",label:"Second actions",component:"group-list",fields:c.rl.fields},{name:"featuredImage",label:"Featured Image",component:"image"},{name:"hideBlock",component:"toggle",label:"Hide Links",toggleLabels:{true:"On",false:"Off"}}]};var h={ComponentBlocksCeoAlkBanner:{Component:e=>{let{index:t,data:l}=e,{t:p}=(0,s.$G)();return(0,a.jsxs)("div",{className:"mt-16 relative  overflow-hidden",children:[(0,a.jsxs)("div",{className:"absolute hidden z-20 lg:bottom-12 xl:bottom-0 lg:flex flex-row lg:left-2/3 lg:-ml-10 xl:-ml-20",children:[(0,a.jsx)(r.Z,{src:n.src,className:`lg:-mb-10 ${l.hideBlock?"hidden":""} lg:hidden xl:flex flex`}),(0,a.jsx)("p",{className:"lg:hidden flex xl:flex",children:(0,a.jsx)(r.Z,{src:i.Z.src,className:`mt-36 ${l.hideBlock?"hidden":""}`})}),(0,a.jsxs)("div",{className:` flex flex-col -mt-20 ${l.hideBlock?"hidden":""} `,children:[(0,a.jsx)("p",{className:"text-2xl lg:text-4xl mb-10",children:l.bottomTitle}),(0,a.jsx)(m.Z,{values:l.corpStructure,blocks:{...c.ZP},direction:"vertical",className:"flex flex-col leading-10"})]})]}),(0,a.jsxs)("div",{className:"container px-8 md:px-24 lg:px-0 m-auto relative flex flex-col-reverse lg:flex-row  sm:py-5",children:[(0,a.jsx)(r.Z,{src:"/_next/static/media/ceoalk.64f7a7ab.svg",className:"absolute hidden sm:block sm:bottom-0 sm:-left-96 sm:-ml-64 md:-bottom-20 md:-left-96 md:-ml-32  lg:-bottom-44 lg:-left-96 lg:h-60 xl:h-auto xl:-bottom-40 2xl:-bottom-12 xl:left-0 xl:-ml-96 2xl:-ml-52",style:{zIndex:"-1"}}),(0,a.jsx)(r.Z,{src:"/_next/static/media/alkceo-shape-mob.1dd29218.svg",className:"absolute -left-24 block sm:hidden",style:{zIndex:"-1"}}),(0,a.jsxs)("div",{className:`${l.hideBlock?"hidden":"flex"} flex-col lg:hidden mt-10`,children:[(0,a.jsx)("p",{className:"text-2xl lg:text-4xl",children:l.bottomTitle}),(0,a.jsx)("a",{href:p("managing_board"),className:"text-alkLightBlue underline leading-10",children:p("ceoalkbannerone")}),(0,a.jsx)("a",{href:p("supervisory_board"),className:"text-alkLightBlue underline leading-10",children:p("ceoalkbannerotwo")})]}),(0,a.jsxs)("div",{className:`absolute ${l.hideBlock?"hidden":""} lg:hidden bottom-40  ml-52 sm:ml-0 sm:right-52 md:right-28`,children:[(0,a.jsx)(r.Z,{src:i.Z.src,className:"absolute mt-20 ml-10 md:ml-0 md:mt-40 h-10 md:h-auto"}),(0,a.jsx)(r.Z,{src:n.src,className:"absolute md:-ml-14 h-48 md:h-auto"})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)(d.LazyLoadImage,{className:"hidden h-[700px] lg:block w-full",src:(0,o.Z)(l.featuredImage,"large"),alt:"pdf-icon"}),(0,a.jsx)(d.LazyLoadImage,{className:"w-full h-96 object-contain block lg:hidden",src:(0,o.Z)(l.featuredImage,"medium"),alt:"pdf-icon"})]}),(0,a.jsx)("div",{className:"w-full lg:w-6/12 lg:pl-20 pl-1/12 md:mb-16 lg:mb-0",children:(0,a.jsxs)("div",{className:" max-w-screen-md mt-14",children:[(0,a.jsx)("h2",{className:"text-2xl md:text-3xl lg:text-4xl lg:-mt-20 xl:mt-0 mt-0 mb-10 text-alkDarkGrey",children:l.title}),(0,a.jsx)("div",{className:"text-sm md:text-base text-alkGrey mb-14",children:(0,a.jsx)(x.Z,{children:l.content})}),(0,a.jsx)("div",{className:"flex flex-col items-center lg:items-start mb-5",children:(0,a.jsx)(m.Z,{values:l.readMore,blocks:{...c.ZP},direction:"horizontal",className:"flex flex-row"})})]})})]})]})},template:p}}},47428:function(e,t,l){"use strict";l.d(t,{Zv:function(){return r}});var a=l(85893);l(67294);var s=l(22487),n=l(83989);let r={type:"aboutCards",label:"About Cards",defaultItem:{aboutCards:[s.IQ.defaultItem],_template:"ComponentBlocksCardsAbout"},fields:[{name:"aboutCards",label:"About Cards",component:"blocks",templates:{[s.IQ.defaultItem._template]:s.IQ}}]};t.ZP={ComponentBlocksCardsAbout:{Component:e=>{let{index:t,data:l}=e;return(0,a.jsx)("div",{className:"container m-auto flex flex-auto flex-col md:flex-row gap-12 py-10",children:(0,a.jsx)(n.Z,{values:l.aboutCards,name:"aboutCards",blocks:{...s.ZP},direction:"horizontal",className:"container m-auto flex flex-auto flex-col md:flex-row gap-12 py-10"})})},template:r}}},63117:function(e,t,l){"use strict";l.d(t,{_0:function(){return i}});var a=l(85893);l(67294);var s=l(45761),n=l(69817),r=l(72679);let i={type:"Image",label:"Image",defaultItem:{featuredImage:"Add image here",_template:"ComponentBlocksImage"}
39,fields:[{name:"featuredImage",label:"Background",component:"image"}]};t.ZP={ComponentBlocksImage:{Component:e=>{let{index:t,data:l}=e;return(0,a.jsx)("div",{className:"container mx-auto mt-4",children:(0,a.jsx)(r.LazyLoadImage,{src:(0,s.Z)(l.featuredImage,"large"),alt:(0,n.Z)(l.featuredImage)})})},template:i}}},33566:function(e,t,l){"use strict";l.d(t,{CH:function(){return x},ZP:function(){return p}});var a=l(85893);l(67294);var s=l(83989),n=l(97847),r={src:"/_next/static/media/play.9be65686.svg"},i={src:"/_next/static/media/download.9d2f077d.svg"},o={src:"/_next/static/media/filesearch.8e50cceb.svg"},c=l(80692);let d={type:"usefulLinks",label:"Useful Links",defaultItem:{title:"Lamal во психијатриска практика според современите упатства",video:"Гледај Видео",presentation:"Симни презентација",file:"",_template:"ComponentComponentsUsefulLink"},fields:[{name:"title",label:"Title",component:"html2"},{name:"video",label:"Video",component:"html2"},{name:"presentation",label:"Presentation",component:"html2"},{name:"file",label:"File",component:"file",uploadDir:()=>"/"},{name:"showVideoLink",component:"toggle",label:"Show Video Link",description:"Toggle on if you want video link to be shown.",toggleLabels:{true:"On",false:"Off"}}]};var m={ComponentComponentsUsefulLink:{Component:e=>{let{index:t,data:l}=e;return(0,a.jsxs)("section",{children:[(0,a.jsx)("div",{className:"container mx-auto mt-10",children:(0,a.jsxs)("div",{className:"flex flex-col lg:ml-10 ml-0 lg:flex-row mb-2 w-full",children:[(0,a.jsx)("div",{className:"text-lg mb-5 lg:mb-0",children:(0,a.jsx)(c.Z,{children:l.title})}),l.video&&(0,a.jsxs)("div",{className:`flex lg:ml-96 ml-0 my-5 lg:my-0 flex-row items-center cursor-pointer text-alkLightBlue text-sm leading-relaxed " ${l.showVideoLink?"block":"hidden"}`,children:[(0,a.jsx)(c.Z,{children:l.video}),(0,a.jsx)("i",{className:"inline-block ml-3 cursor-pointer relative",children:(0,a.jsx)(n.Z,{src:r.src,fill:"#00aeef"})})]}),l.presentation&&(0,a.jsxs)("div",{className:"flex flex-row items-center lg:ml-8 text-alkLightBlue text-sm leading-relaxed ",children:[(0,a.jsx)(c.Z,{children:l.presentation}),(0,a.jsx)("br",{}),l.file&&(0,a.jsx)("a",{href:l.file&&(l.file.url?`https://cms.alkaloid.com.mk${l.file.url}`:`https://cms.alkaloid.com.mk${l.file.directory}/${l.file.filename}`),target:"_blank",rel:"noreferrer",children:(0,a.jsx)("div",{className:"flex flex-grow cursor-pointer",children:(0,a.jsx)("div",{className:"flex mx-10",children:(0,a.jsx)("div",{className:"text-right",children:(0,a.jsx)("h3",{className:"text-sm",children:l.file.filename})})})})}),(0,a.jsx)("i",{className:`  ml-3 relative  cursor-pointer  ${l.showVideoLink?"inline-block":"hidden"}`,children:(0,a.jsx)(n.Z,{src:i.src,fill:"#00aeef"})}),(0,a.jsx)("i",{className:`  ml-3 relative  cursor-pointer  ${l.showVideoLink?" hidden":"inline-block"}`,children:(0,a.jsx)(n.Z,{src:o.src,fill:"#00aeef"})})]})]})}),(0,a.jsx)("hr",{})]})},template:d}};let x={type:"usefulLinks",label:"Useful Links",defaultItem:{usefulLinks:[],_template:"ComponentBlocksLinks"},fields:[{name:"usefulLinks",label:"Useful links",component:"group-list",defaultItem:d.defaultItem,fields:d.fields}]};var p={ComponentBlocksLinks:{Component:e=>{let{index:t,data:l}=e;return(0,a.jsx)(s.Z,{values:l.usefulLinks,blocks:{...m},direction:"vertical",className:"container m-auto md:flex-row gap-12 py-10"})},template:x}}},39205:function(e,t,l){"use strict";l.d(t,{WG:function(){return m},ZP:function(){return x}});var a=l(85893);l(67294);var s=l(45761),n=l(69817);l(82729);var r=l(80692),i=l(11163);l(39073);var o=l(3875),c=l(72679),d=l(83989);let m={type:"peerToPeerArticle",label:"Peer to Peer Article",defaultItem:{storiesJson:[o.CD.defaultItem],headerTitle:"Insert Title Here",description:"Insert Description Here",_template:"ComponentBlocksPeerToPeerArticle"},fields:[{name:"headerTitle",label:"Header Title",component:"html2"},{name:"description",label:"Description",component:"html2"},{name:"featuredImage",label:"Featured Image",component:"image"},{name:"profileImage",label:"Insert Writers Image",component:"image"},{name:"profileName",label:"Insert Writers Name",component:"html2"},{name:"profileDescription",label:"Insert Writers Description",component:"html2"},{name:"storiesJson",label:"Stories",component:"group-list",fields:o.CD.fields,defaultItem:o.CD.defaultItem}]};var x={ComponentBlocksPeerToPeerArticle:{Component:e=>{let{index:t,data:l,page:m}=e,x=(0,i.useRouter)(),{locale:p="en"}=x.locale;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"container relative",children:(0,a.jsx)("div",{className:"bg-sidebg bg-cover absolute right-0 bg-no-repeat xl:h-80 xl:w-60 lg:h-96 lg:w-60 md:h-80 md:w-60 sm:w-40 sm:h-48 h-40 w-24"})}),(0,a.jsx)("div",{className:"relative",children:(0,a.jsxs)("div",{className:"absolute right-0 top-0 overflow-hidden ",children:[(0,a.jsx)(c.LazyLoadImage,{className:"w-[140px] h-auto",src:"/_next/static/media/media-center-shape.3bd64e04.png",alt:"alt"}),(0,a.jsx)("svg",{className:"-mt-36",xmlns:"http://www.w3.org/2000/svg",width:"134.475",height:"185.558",viewBox:"0 0 134.475 185.558",children:(0,a.jsx)("line",{className:"hidden lg:block",i
39d:"Line_157","data-name":"Line 157",x2:"127.5",y2:"178.583",transform:"translate(3.487 3.487)",fill:"none",stroke:"#00aeef",strokeLinecap:"round",strokeWidth:"5"})})]})}),(0,a.jsxs)("div",{className:"sm:container mx-auto text-4xl pt-10  px-4",children:[(0,a.jsx)("h2",{className:`${l.headerTitle?"":"hidden"} text-alkDarkBlue mt-20 xl:text-4xl  pl-[18px] lg:text-3xl md:text-3xl sm:text-2xl text-xl w-[78%] sm:w-[85%] md:w-[85%] lg:w-[90%] xl:w-full `,children:(0,a.jsx)("div",{className:"inline xl:text-4xl  lg:text-3xl md:text-2xl sm:text-2xl text-xl",children:(0,a.jsx)(r.Z,{children:l.headerTitle})})}),(0,a.jsx)("div",{className:" xl:ml-96 lg:ml-96 md:ml-64 sm:ml-64 -ml-20 my-5",children:(0,a.jsx)("svg",{className:`ml-32 ${l.headerTitle?"":"hidden"}`,xmlns:"http://www.w3.org/2000/svg",width:"238",height:"3",viewBox:"0 0 238 3",children:(0,a.jsx)("line",{id:"Line_188","data-name":"Line 188",x2:"235",transform:"translate(1.5 1.5)",fill:"none",stroke:"#00aeef",strokeLinecap:"round",strokeWidth:"3"})})}),(0,a.jsx)("div",{className:" md:my-4 xl:my-10",children:(0,a.jsx)("div",{className:`${"<p></p>"===l.description?"hidden":""} text-base justify-center  font-medium`,children:(0,a.jsx)(r.Z,{children:l.description})})}),l.featuredImage&&(0,a.jsx)(c.LazyLoadImage,{src:(0,s.Z)(l.featuredImage),alt:(0,n.Z)(l.featuredImage),className:"mb-8 lg:mb-28"}),(0,a.jsxs)("div",{className:"lg:flex-row flex flex-col-reverse ",children:[(0,a.jsx)("div",{className:"flex flex-col mx-auto  lg:pl-0 lg:container lg:pr-32 lg:border-r border-alkLightGrey mb-10 pl-0",children:(0,a.jsx)(d.Z,{values:l.storiesJson,blocks:{...o.ZP},direction:"vertical",className:"w-full"})}),(0,a.jsx)("div",{className:" lg:mt-20 lg:block hidden"}),(0,a.jsx)("div",{className:"flex flex-col  lg:w-1/3 lg:ml-6 lg:mr-0 mx-4",children:(0,a.jsxs)("div",{className:"mt-14",children:[l.profileImage&&(0,a.jsx)(c.LazyLoadImage,{src:(0,s.Z)(l.profileImage),alt:(0,n.Z)(l.profileImage),className:"mb-8 lg:mb-[40px] items-center"}),(0,a.jsx)("div",{className:"text-xl mb-[40px] ",children:(0,a.jsx)(r.Z,{children:l.profileName})}),(0,a.jsx)("div",{className:"text-lg mb-5 leading-8",children:(0,a.jsx)(r.Z,{children:l.profileDescription})}),(0,a.jsx)("div",{})]})})]})]})]})},template:m}}},81339:function(e,t,l){"use strict";l.d(t,{Cg:function(){return s}});var a=l(85893);l(67294);let s={type:"sectionTitle",label:"Section Title",defaultItem:{fontSize:"text-6xl",label:"Label",link:"/about",type:"link",showLine:!0,title:"",_template:"ComponentBlocksSectionTitle"},fields:[{name:"title",label:"Title",component:"text"},{name:"showLine",label:"Show Line",component:"toggle",toggleLabels:{true:"On",false:"Off"},description:"Toggle on if you want a line to show under the Title"},{component:"radio-group",direction:"horizontal",name:"fontSize",label:"Font Size",description:"Choose the size of the text.",options:[{label:"Small",value:"text-4xl"},{label:"Large",value:"text-6xl"}]},{component:"radio-group",direction:"horizontal",name:"fontWeight",label:"Font Weight",description:"Choose the weight of the text.",options:[{label:"Thin",value:"font-thin"},{label:"Normal",value:"font-normal"},{label:"Bold",value:"font-bold"}]}]};t.ZP={ComponentBlocksSectionTitle:{Component:e=>{let{index:t,data:l}=e;return(0,a.jsx)("div",{className:"container mx-auto",children:(0,a.jsxs)("div",{className:`flex flex-col items-end ${l.title.length>=15?"max-w-xl":l.title.length>=12?"max-w-2xl":l.title.length>=9?"max-w-xl":l.title.length>=5?"max-w-sm":"max-w-xs"} `,children:[(0,a.jsx)("h2",{className:`text-3xl sm:${l.fontSize} ${l.fontWeight}  place-self-start tracking-wider mb-3 uppercase`,children:l.title}),(0,a.jsx)("hr",{className:`border-alkLightBlue ${l.title.length>=15?"w-7/12":l.title.length>=12?"w-5/12":l.title.length>=9?"w-5/12":l.title.length>=5?"w-7/12":"w-8/12"} ${l.showLine?"":"hidden"} border-solid border-b-4`})]})})},template:s}}},16693:function(e,t,l){"use strict";l.d(t,{ZP:function(){return g}});var a=l(85893);l(67294);var s=l(25675),n=l.n(s),r=l(45761),i=l(69817),o=l(80692),c=l(32046),d={src:"/_next/static/media/packaging-icon.81596dfa.svg"},m={src:"/_next/static/media/weight-icon.1cd6d10d.svg"},x={src:"/_next/static/media/liquid-icon.036dfbc8.svg"},p={src:"/_next/static/media/tea-bag-icon.efe376a1.svg"},h={src:"/_next/static/media/bgforsinglepage.b93195b5.png",height:589,width:960,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAMAAABPT11nAAAANlBMVEVMaXEXid4biOMNmepCRsEuZ9Agfdk0XMsnctZTLLYGpu0uZtFNOL06VMkgf91DRcFBS8YRmezYZOP2AAAAC3RSTlMA/bBJ7JQ3/v7twhyzVV4AAAAJcEhZcwAACxMAAAsTAQCanBgAAAAtSURBVHicBcEHAgAQDACxM1s68P/PStivpFoc2ks1uQ41TeI4TLW47sCQ3tf6I3cBcNv6RYYAAAAASUVORK5CYII=",blurWidth:8,blurHeight:5},u=l(72679),g={ComponentBlocksSingleProductItem:{Component:e=>{let{index:t,data:l}=e;return(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)("div",{className:"flex",children:(0,a.jsx)("div",{className:"absolute right-0 sm:h-full xl:w-1/2 lg:w-2/5 sm:w-2/5 sm:mt-0 phoneSmall:w-3/5  phoneSmall:h-80 phoneSmall:mt-36",children:(0,a.jsx)(n(),{alt:"alt",src:h,layout:"fill"})})}),(0,a.jsx)("section",{className:"container mx-auto",children:(0,a.jsxs)("div",{className:"flex  content-start xl:flex-row  lg:p-0 sm:flex-row phoneSmall:flex-col-reverse ",children:[(0,a.jsxs)("div",{className:"flex-1 flex-col content-start z-2
390 2xl:mr-16 xl:mt-32 xl:mb-20 md:mr-4 sm:mr-2 sm:my-20",children:[(0,a.jsx)("div",{className:"flex-1 w-full lg:text-4xl mb-4 text-4xl text-black flex-row sm:flex phoneSmall:hidden",children:(0,a.jsx)(o.Z,{children:l.title})}),(0,a.jsx)("div",{className:"text-base text-alkDarkGrey flex-row w-auto leading-6 sm:mt-10 sm:text-sm phoneSmall:text-sm  phoneSmall:mt-8",children:(0,a.jsx)(o.Z,{children:l.content})}),l.weight&&l.weight.length>0&&(0,a.jsxs)("div",{className:"flex flex-row mt-10",children:[(0,a.jsx)(u.LazyLoadImage,{src:"liquidIcon"===l.measurementIcon?x.src:m.src,alt:"alt"}),(0,a.jsx)("p",{className:"ml-4",children:l.weight})]}),l.quantity&&l.quantity.length>0&&(0,a.jsxs)("div",{className:"flex flex-row mt-5",children:[(0,a.jsx)(u.LazyLoadImage,{src:"teaBagIcon"===l.packagingIcon?p.src:d.src,alt:"alt"}),(0,a.jsx)("p",{className:"ml-4",children:l.quantity})]}),l.button&&l.button.file&&l.button.label&&l.button.label.length>0&&(0,a.jsx)(c.Z,{to:`https://cms.alkaloid.com.mk${l.button.file.url}`,className:"inline-block text-base mt-10 text-white font-semibold bg-gradient-to-r from-alkLightBlue to-alkPurple py-3 px-6 rounded-full",children:(0,a.jsx)("span",{className:"float-left mr-2",children:l.button.label})})]}),(0,a.jsxs)("div",{className:"z-10 relative  xl:w-1/2 xl:transform xl:translate-x-0 lg:w-2/5 lg:transform lg:translate-x-0 lg:mt-0 md:mt-12 sm:mt-12 sm:w-2/5 sm:mb-16 phoneSmall:mt-16 phoneSmall:mb-0",children:[(0,a.jsx)("p",{className:"flex-1 w-auto mx-4 lg:text-4xl mb-4 text-4xl text-black flex-row sm:hidden phoneSmall:flex phoneSmall:text-2xl phoneSmall:h-16 ",children:(0,a.jsx)("div",{className:"PhoneLarge:items-start phoneSmall:flex phoneSmall:items-center",children:(0,a.jsx)(o.Z,{children:l.title})})}),(0,a.jsx)(u.LazyLoadImage,{src:(0,r.Z)(l.featuredImage,"small"),alt:(0,i.Z)(l.featuredImage),className:" h-auto pt-28 lg:w-auto sm:w-full "})]})]})})]})})},template:{type:"singleProductItem",label:"Single Product Item",defaultItem:{title:"Insert Title",content:"Some content here",measurementIcon:"solid",packagingIcon:"package",weight:"Insert weight here",quantity:"Insert quantity here",_template:"ComponentBlocksSingleProductItem"},fields:[{name:"title",label:"Title",component:"text"},{name:"content",label:"Content",component:"html2"},{name:"weight",label:"Weight",component:"text"},{name:"quantity",label:"Quantity",component:"text"},{name:"featuredImage",label:"Featured Image",component:"image"},{component:"radio-group",direction:"horizontal",name:"measurementIcon",label:"Weight Icon",description:"Choose the proper icon for the product",options:[{label:"Liquid",value:"liquidIcon"},{label:"Solid",value:"solidIcon"}]},{component:"radio-group",direction:"horizontal",name:"packagingIcon",label:"Packaging Icon",description:"Choose the proper icon for the product",options:[{label:"Package",value:"packageIcon"},{label:"Tea Bag",value:"teaBagIcon"}]},{name:"button",label:"Button",component:"group",defaultItem:{file:{previewSrc:""}},fields:[{name:"label",label:"Text",component:"text"},{label:"File",name:"file",component:"file",uploadDir:()=>"/"}]}]}}}},62e3:function(e,t,l){"use strict";l.d(t,{wQ:function(){return y}});var a=l(85893),s=l(67294),n=l(99490),r=l(45761),i=l(69817);l(82729);var o=l(97847),c=l(91811),d=l(80692),m=l(32046);l(39073);var x=l(11163),p=l(3875),h=l(72679),u=l(83989),g=l(16958),f=l(80129),b=l.n(f),j=l(98120);let y={type:"singleStory",label:"Single Story",defaultItem:{storiesJson:[p.CD.defaultItem],headerTitle:"Insert Title Here",description:"Insert Description Here",_template:"ComponentBlocksSingleStory"},fields:[{name:"headerTitle",label:"Header Title",component:"text"},{name:"description",label:"Description",component:"html2"},{name:"featuredImage",label:"Featured Image (763 px width)",component:"image",clearable:!0},{name:"storiesJson",label:"Stories",component:"group-list",fields:p.CD.fields,defaultItem:p.CD.defaultItem}]};t.ZP={ComponentBlocksSingleStory:{Component:e=>{let{index:t,data:l,page:f}=e,y=(0,x.useRouter)(),[w,v]=(0,s.useState)([]),k=y.locale,N=(0,s.useCallback)(async e=>{let t=await (0,g.Z)().get(`https://cms.alkaloid.com.mk/api/pages?${b().stringify({filters:{tags:{name:{$eq:f.tags.length>0?f.tags[0].name:"interview"}}},populate:{featuredImage:{fields:j.ho},tags:{fields:["name"]}},pagination:{page:1,pageSize:5},sort:"publishedAt:desc",locale:k})}`);t.data&&t.data.data&&v(t.data.data)},[k,f.tags]);return(0,s.useEffect)(()=>{N()},[N,k]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"container relative",children:(0,a.jsx)("div",{className:"bg-sidebg bg-cover absolute right-0 bg-no-repeat xl:h-80 xl:w-60 lg:h-96 lg:w-60 md:h-80 md:w-60 sm:w-40 sm:h-48 h-40 w-24"})}),(0,a.jsx)("div",{className:"relative",children:(0,a.jsxs)("div",{className:"absolute right-0 top-0 ",children:[(0,a.jsx)(o.Z,{className:"",src:c.Z.src}),(0,a.jsx)("svg",{className:"-mt-36",xmlns:"http://www.w3.org/2000/svg",width:"134.475",height:"185.558",viewBox:"0 0 134.475 185.558",children:(0,a.jsx)("line",{className:"hidden lg:block",i
39d:"Line_157","data-name":"Line 157",x2:"127.5",y2:"178.583",transform:"translate(3.487 3.487)",fill:"none",stroke:"#00aeef",strokeLinecap:"round",strokeWidth:"5"})})]})}),(0,a.jsxs)("div",{className:"sm:container mx-auto text-4xl pt-10  px-4",children:[(0,a.jsx)("p",{className:"phoneSmall:mt-6 phone:mt-2 text-base text-alkLightBlue text-right phoneSmall:mr-[50%] sm:mr-[20%] md:mr-[15%] lg:mr-[15%]  xl:mr-[13%] cursor-pointer",children:n.ou.fromISO(f.publishedAt,{locale:k}).toLocaleString(n.ou.DATE_MED)}),(0,a.jsx)("h2",{className:`${l.headerTitle?"":"hidden"} text-alkDarkBlue mt-3 xl:text-4xl  lg:text-3xl md:text-2xl sm:text-2xl text-xl w-[78%] sm:w-[85%] md:w-[85%] lg:w-[90%] xl:w-full `,children:(0,a.jsx)("div",{className:"inline",children:(0,a.jsx)(d.Z,{children:l.headerTitle})})}),(0,a.jsx)("div",{className:" xl:ml-96 lg:ml-96 md:ml-64 sm:ml-64 -ml-20 my-5",children:(0,a.jsx)("svg",{className:`ml-32 ${l.headerTitle?"":"hidden"}`,xmlns:"http://www.w3.org/2000/svg",width:"238",height:"3",viewBox:"0 0 238 3",children:(0,a.jsx)("line",{id:"Line_188","data-name":"Line 188",x2:"235",transform:"translate(1.5 1.5)",fill:"none",stroke:"#00aeef",strokeLinecap:"round",strokeWidth:"3"})})}),(0,a.jsx)("div",{className:" md:my-4 xl:my-10",children:(0,a.jsx)("div",{className:`${"<p></p>"===l.description?"hidden":""} text-base justify-center  font-medium`,children:(0,a.jsx)(d.Z,{children:l.description})})}),l.featuredImage&&(0,a.jsx)(h.LazyLoadImage,{src:(0,r.Z)(l.featuredImage),alt:(0,i.Z)(l.featuredImage),className:"mb-8 lg:mb-28"}),(0,a.jsxs)("div",{className:"lg:flex-row flex flex-col ",children:[(0,a.jsx)("div",{className:"flex flex-col mx-auto  lg:pl-0 lg:container lg:pr-32 lg:border-r border-alkLightGrey mb-10 pl-0 w-full",children:(0,a.jsx)(u.Z,{values:l.storiesJson,blocks:{...p.ZP}})}),(0,a.jsx)("div",{className:" lg:mt-20 lg:block hidden"}),(0,a.jsx)("div",{className:"flex flex-col  lg:w-1/3 lg:ml-6 lg:mr-0 mx-4",children:w.map(e=>(0,a.jsxs)("div",{className:"mt-14",children:[(0,a.jsx)("p",{className:"text-xs text-alkLightBlue cursor-pointer mb-5",children:n.ou.fromISO(e.attributes.publishedAt).toLocaleString(n.ou.DATE_MED)}),(0,a.jsx)(m.Z,{to:`/${e.attributes.slug}`,children:(0,a.jsx)("p",{className:"text-base mb-5 cursor-pointer",children:e.attributes.title})}),(0,a.jsx)("hr",{})]},e.id))})]})]})]})},template:y}}},3875:function(e,t,l){"use strict";l.d(t,{CD:function(){return x}});var a=l(85893);l(67294);var s=l(72841),n=l(68172),r=l(63117),i=l(95156),o=l(51109),c=l(7300),d=l(86721),m=l(83989);let x={type:"singleStoryTabs",label:"Single Story Section",defaultItem:{components:[],_template:"ComponentBlocksSingleStoryItem"},fields:[{name:"components",label:"Components",component:"blocks",templates:{[n.cE.defaultItem._template]:n.cE,[s.sE.defaultItem._template]:s.sE,[r._0.defaultItem._template]:r._0,[i.XN.defaultItem._template]:i.XN,[o.YU.defaultItem._template]:o.YU,[c.hG.defaultItem._template]:c.hG,[d.Tt.defaultItem._template]:d.Tt}}]};t.ZP={ComponentBlocksSingleStoryItem:{Component:e=>{let{index:t,data:l}=e;return(0,a.jsx)("div",{children:(0,a.jsx)(m.Z,{values:l.components,blocks:{...n.ZP,...s.ZP,...r.ZP,...i.ZP,...o.ZP,...c.ZP,...d.ZP}})})},template:x}}},72841:function(e,t,l){"use strict";l.d(t,{sE:function(){return s}});var a=l(85893);l(67294);let s={type:"spacing",label:"Spacing",key:"ComponentBlocksSpacing",defaultItem:{height:"h-5",_template:"ComponentBlocksSpacing"},fields:[{component:"radio-group",direction:"horizontal",name:"height",label:"Height",description:"Choose the height of the spacing block",options:[{label:"XS",value:"h-2 sm:h-3 lg:h-5"},{label:"S",value:"h-3 sm:h-5 lg:h-10"},{label:"M",value:"h-5 sm:h-10 lg:h-20"},{label:"L",value:"h-10 sm:h-20 lg:h-40"},{label:"XL",value:"h-16 sm:h-40 lg:h-60"},{label:"XXL",value:"h-24 sm:h-60 lg:h-80"},{label:"XXXL",value:"h-32 sm:g-80 lg:h-96"}]}]};t.ZP={ComponentBlocksSpacing:{Component:e=>{let{index:t,data:l}=e;return(0,a.jsx)("div",{className:`${l.height}`})},template:s}}},95156:function(e,t,l){"use strict";l.d(t,{XN:function(){return n}});var a=l(85893);l(67294);var s=l(80692);let n={type:"StoryTitle",label:"Story Title",defaultItem:{title:"Insert Title",_template:"ComponentBlocksStoryTitle"},fields:[{name:"title",label:"Title",component:"html2"}]};t.ZP={ComponentBlocksStoryTitle:{Component:e=>{let{index:t,data:l}=e;return(0,a.jsx)("div",{className:"text-alkBlack  text-md ",children:(0,a.jsx)("h3",{className:"text-md  pt-4 pl-56 -mb-14  ",children:(0,a.jsx)(s.Z,{children:l.title})})})},template:n}}},86721:function(e,t,l){"use strict";l.d(t,{Tt:function(){return s}});var a=l(85893);l(67294);let s={type:"table",label:"Table",defaultItem:{rows:[],classes:"",_template:"ComponentBlocksTable"},fields:[{name:"classes",label:"Classes",component:"text"},{name:"rows",label:"Rows",component:"group-list",defaultItem:{classes:"",cols:[]},fields:[{name:"classes",label:"Classes",component:"text"},{name:"cols",label:"Cols",component:"group-list",itemProps:e=>({key:e.name,label:e.text}),defaultItem:{colSpan:1,classes:"",text:"Insert Text Here"},fields:[{name:"text",label:"Text",component:"text"},{name:"classes",label:"Classes",component:"text"},{name:"colSpan",label:"ColSpan",component:"number"}
39,{name:"rowSpan",label:"RowSpan",component:"number"}]}]}]};t.ZP={ComponentBlocksTable:{Component:e=>{let{index:t,data:l}=e;return(0,a.jsx)("div",{className:"container mx-auto",children:(0,a.jsx)("div",{className:"overflow-x-auto overflow-y-hidden",children:(0,a.jsx)("table",{className:`w-full ${l.classes}`,children:l.rows.map((e,t)=>{let l=e.cols.map((e,t)=>(0,a.jsx)("td",{className:` p-2 border-b-2 border-gray-50 text-center ${e.classes}`,colSpan:e.colSpan,rowSpan:e.rowSpan,children:e.text},t));return(0,a.jsx)("tr",{className:e.classes,children:l},t)})})})})},template:s}}},68172:function(e,t,l){"use strict";l.d(t,{cE:function(){return n}});var a=l(85893);l(67294);var s=l(80692);let n={type:"text",label:"Text",defaultItem:{textColor:"text-alkDarkGrey",content:"Some content here",_template:"ComponentBlocksText",textWidth:"w-auto",fontSize:"text-base",classes:""},fields:[{component:"select",name:"fontSize",label:"Font Size",description:"Select the font size of the text",options:[{value:"text-xs",label:"12"},{value:"text-xs md:text-sm",label:"14"},{value:"text-sm md:text-base",label:"16"},{value:"text-sm md:text-lg",label:"18"},{value:"text-base md:text-xl",label:"20"},{value:"text-lg md:text-2xl",label:"24"},{value:"text-xl md:text-3xl",label:"30"},{value:"text-2xl md:text-4xl",label:"36"}]},{name:"content",label:"Content",component:"html2"},{name:"classes",label:"Classes",component:"text"},{name:"textColor",label:"Text Color",description:"Receives a tailwindcss class",component:"text"},{component:"radio-group",direction:"horizontal",name:"textWidth",label:"Text Width",description:"Choose the width of the text block",options:[{label:"Small",value:"w-full xl:w-1/3"},{label:"Medium",value:"w-full xl:w-8/12"},{label:"Full",value:"w-full"},{label:"Auto",value:"w-auto"}]},{component:"radio-group",direction:"horizontal",name:"textAlign",label:"Text Align",description:"Choose the alignment of the text",options:[{label:"Left",value:"text-left"},{label:"Center",value:"text-center"},{label:"Right",value:"text-right"},{label:"Justify",value:"text-justify"}]}]};t.ZP={ComponentBlocksText:{Component:e=>{let{index:t,data:l}=e;return(0,a.jsxs)("div",{className:" md:px-0 md:container  mx-auto pl-0 ",children:[(0,a.jsx)("div",{}),(0,a.jsx)("div",{className:` ${l.classes} block px-[18px] w-full  md:${l.textWidth} phoneLarge:mx-auto ${l.textColor}`,children:(0,a.jsx)(s.Z,{className:`leading-7 text-left ${l.fontSize}  ${l.textAlign}   `,children:l.content})})]})},template:n}}},51109:function(e,t,l){"use strict";l.d(t,{YU:function(){return o}});var a=l(85893);l(67294);var s=l(5152),n=l.n(s),r=l(1216);let i=n()(()=>Promise.all([l.e(6310),l.e(1096)]).then(l.bind(l,91096)),{loadableGenerated:{webpack:()=>[91096]}}),o={type:"videoBanner",label:"Video Banner",defaultItem:{_template:"ComponentBlocksVideoBanner",ytSource:"https://www.youtube.com/embed/DVZGGV6gJoI",videoTitle:"Alkaloid - new production capacities",videoSource:""},fields:[{name:"videoSource",label:"Background Video",component:"file",uploadDir:()=>"/"},{name:"ytSource",label:"Youtube Link or MP4 Link",component:"text"},{name:"videoTitle",label:"Video Title",component:"text"},{name:"image",label:"Image",component:"image"}]};t.ZP={ComponentBlocksVideoBanner:{Component:e=>{let{data:t}=e;return(0,a.jsx)(a.Fragment,{children:(t.videoSource||t.ytSource)&&(0,a.jsx)(r.ZP,{height:300,children:(0,a.jsx)(i,{videoSource:t.videoSource&&(t.videoSource.previewSrc||`https://cms.alkaloid.com.mk${t.videoSource.url}`),ytSource:t.ytSource,videoTitle:t.videoTitle,image:t.image})})})},template:o}}},7300:function(e,t,l){"use strict";l.d(t,{hG:function(){return o}});var a=l(85893);l(67294);var s=l(5152),n=l.n(s),r=l(1216);let i=n()(()=>Promise.all([l.e(6310),l.e(9556)]).then(l.bind(l,89556)),{loadableGenerated:{webpack:()=>[89556]}}),o={type:"videoBannerNews",label:"Video Banner News",defaultItem:{_template:"ComponentBlocksVideoBannerNews",ytSource:"https://www.youtube.com/embed/DVZGGV6gJoI"},fields:[{name:"videoSource",label:"Background Video",component:"file",uploadDir:()=>"/"},{name:"ytSource",label:"Youtube Link",component:"text"}]};t.ZP={ComponentBlocksVideoBannerNews:{Component:e=>{let{index:t,data:l}=e;return(0,a.jsx)(a.Fragment,{children:(l.videoSource||l.ytSource)&&(0,a.jsx)(r.ZP,{height:300,children:(0,a.jsx)(i,{videoSource:l.videoSource&&(l.videoSource.previewSrc||`https://cms.alkaloid.com.mk${l.videoSource.url}`),ytSource:l.ytSource})})})},template:o}}},70138:function(e,t,l){"use strict";l.d(t,{dr:function(){return d}});var a=l(85893);l(67294);var s=l(45761),n=l(69817),r=l(97847),i=l(79310),o=l(54257),c=l(72679);let d={type:"webinarHero",label:"Webinar Hero",defaultItem:{title:"Insert title here",_template:"ComponentBlocksWebinarHero"},fields:[{name:"title",label:"Title",component:"text"}
39,{name:"background",label:"Image Background",component:"image"},{name:"featuredImageMobile",label:"BackgroundMobile",component:"image"}]};t.ZP={ComponentBlocksWebinarHero:{Component:e=>{let{index:t,data:l}=e;return(0,a.jsxs)("section",{className:"relative mb-40",children:[(0,a.jsx)(c.LazyLoadImage,{className:"top-0 left-0 w-full h-full bg-cover bg-no-repeat object-cover hidden lg:block",src:(0,s.Z)(l.background),alt:(0,n.Z)(l.background),style:{backgroundPositionX:"50%",backgroundPositionY:"60%"}}),(0,a.jsx)("div",{className:"h-52 w-full h-full bg-cover lg:hidden bg-no-repeat",style:{backgroundImage:`url('${(0,s.Z)(l.featuredImageMobile,"large")}')`,backgroundPositionX:"50%",backgroundPositionY:"50%"}}),(0,a.jsx)("div",{className:"z-0 has-overlay relative",children:(0,a.jsx)("div",{className:" relative flex m-auto items-center  h-[85px] phoneSmall:h-[10px] phone:h-[10px] phoneLarge:h-[10px] sm:h-[40px] md:h-[40px] lg:h-[80px] 2xl:h-[100px]",children:(0,a.jsxs)("div",{className:" align-start w-2/3 lg:w-2/5  absolute  phoneSmall:-bottom-28  phoneLarge:-bottom-20 lg:-bottom-16 sm:-bottom-12 left-0 right-0",children:[(0,a.jsx)("div",{className:"text-md sm:text-xl md:text-2xl 2xl:text-3xl font-base text-left text-white bg-gradient-to-r from-alkLightBlue to-alkPurple pl-[36px] pt-[20px] pb-[18px] pr-[5px]  sm:pr-[10px] sm:pl-[60px] sm:pt-[30px] sm:pb-[24px] lg:pt-[50px] lg:pb-[42px] lg:pl-[160px]  relative",children:l.title}),(0,a.jsx)("div",{className:"block w-24 h-full absolute top-0 -right-24 overflow-hidden",children:(0,a.jsx)(r.Z,{src:o.Z.src})}),(0,a.jsx)(r.Z,{src:i.Z.src,className:"block w-[76px] 2xl:w-[100px] h-auto overflow-hidden absolute top-0 lg:top-auto -right-28 sm:-right-28 md:-right-40  lg:-right-40 xl:-right-40 lg:-bottom-10"})]})})})]})},template:d}}},17752:function(e,t){"use strict";t.Z=[{value:"p2p",label:"Види ги сите статии"},{value:"infekcii",label:"Инфекции"},{value:"infekcii-na-respiratoren-trakt",label:"Инфекции на респираторен тракт"},{value:"infekcii-na-urinaren-trakt",label:"Уринарни инфекции"},{value:"psihijatrija",label:"Психијатрија"},{value:"depresija",label:"Депресија и анксиозни растројства"},{value:"bipolarno",label:"Биполарно Афективно Растројство"},{value:"mentalno-zdravje",label:"Ментално здравје кај деца и адолесценти"},{value:"nesonica",label:"Несоница"},{value:"psihozi",label:"Психози"},{value:"zavisnosti",label:"Зависности/Адиктологија"},{value:"nevrologija",label:"Неврологија"},{value:"demencii",label:"Деменции"},{value:"epilepsii",label:"Епилепсии"},{value:"kardiologija",label:"Кардиологија"},{value:"hipertenzija",label:"Хипертензија"},{value:"aritmii",label:"Аритмии"},{value:"periferna-arteriska-bolest",label:"Периферна артериска болест"},{value:"tromboembolii",label:"Тромбоемболии"},{value:"koronaren",label:"Коронарен синдром"},{value:"srceva-slabost",label:"Срцева слабост"},{value:"dislipidemii-k",label:"Дислипидемии"},{value:"periferna-arteriska-bolest",label:"Периферна артериска болест"},{value:"trombembolii",label:"Тромбемболии"},{value:"hematologija",label:"Хематологија и Онкологија"},{value:"anemii",label:"Анемии"},{value:"urologija",label:"Урологија"},{value:"sdut",label:"СДУТ/БПХ"},{value:"ginekologija",label:"Гинекологија"},{value:"kontracepcija",label:"Контрацепција"},{value:"bremenost",label:"Бременост"},{value:"endokrinologija",label:"Ендокринологија"},{value:"hipogonadizam",label:"Хипогонадизам и полицистичен оваријален синдром"},{value:"dislipidemii-e",label:"Дислипидемии"},{value:"dijabet",label:"Дијабет"},{value:"oftalmologija",label:"Офталмологија"},{value:"gastro",label:"Гастро-Ентерохепатологија"},{value:"ulkusna",label:"Улкусна болест"},{value:"gerb",label:"Хиперацидитет и ГЕРБ"},{value:"probiotici",label:"Пробиотици"},{value:"pulmo",label:"Пулмо-Алергологија"},{value:"dermatovenerologija",label:"Дерматовенерологија"},{value:"nastinka-grip",label:"Настинка и грип"},{value:"vitamini-minerali-suplementi",label:"Витамини и минерали"},{value:"pedijatrija",label:"Педијатрија"},{value:"bolka",label:"Болка"},{value:"nefrologija",label:"Нефрологија"}]},92415:function(e,t){"use strict";t.Z=[{value:"corporate",label:"Corporate"},{value:"media",label:"Media"},{value:"investor",label:"Investor News"},{value:"career",label:"Career News"},{value:"interview",label:"Interviews"},{value:"",label:"All News"}]},29992:function(e,t,l){"use strict";l.r(t),l.d(t,{__N_SSG:function(){return A},default:function(){return L}});var a=l(85893),s=l(67294),n=l(65693),r=l(94866),i=l(27361),o=l.n(i);l(30998),l(63105);var c=l(11163),d=l(9008),m=l.n(d),x=l(12287),p=l(5152),h=l.n(p),u=l(28865),g=l(67095);let f={mk:"/assets/foter90.png",en:"/assets/90-god-alkaloid-en.svg"},b={mk:void 0,en:"brightness(0) invert(1)"},j=[{href:"https://www.facebook.com/AlkaloidSkopje",icon:"/assets/images/icons/facebook_icon.svg",label:"Facebook"},{href:"https://www.linkedin.com/company/alkaloid-ad",icon:"/assets/images/icons/linkedin_icon.svg",label:"LinkedIn"},{href:"https://www.instagram.com/alkaloidskopje/",icon:"/assets/images/icons/instagram_icon.svg",label:"Instagram"},{href:"https://www.youtube.com/@AlkaloidSkopje",icon:"/assets/images/icons/youtube_icon.svg",label:"YouTube"}],y={mk:{logoAlt:"Алкалоид 90 години",privacyLabel:"Политика за приватност",privacyHref:"https://alkaloid.com.mk/mk/politika-za-privatnost",cookieLabel:"Политика за колачиња",cookieHref:"https://alkaloid.com.mk/mk/politika-za-kolachinja",rights:"Сите права се задржани"},en:{logoAlt:"Alkaloid 90 years",privacyLabel:"Privacy Policy",privacyHref:"https://alkaloid.com.mk/en/privacy-policy",cookieLabel:"Cookie Policy",cookieHref:"https://alkaloid.com.mk/en/cookie-policy",rights:"All rights reserved"}},w={background:"linear-gradient(207.74deg, #5F1AAE 1.22%, #023F88 101.98%)"},v=e=>{let{size:t=36}=e;return(0,a.jsx)("div",{style:{display:"flex",alignItems:"center",gap:15},children:j.map(e=>{let{href:l,icon:s,label:n}=e;return(0,a.jsx)("a",{href:l,target:"_blank",rel:"noopener noreferrer","aria-label":n,children:(0,a.jsx)("img",{loading:"lazy",src:s,alt:n,style:{width:t,height:t,display:"block"}})},n)})})},k=e=>{let{fontSize:t=14,t:l}=e;return(0,a.jsxs)("div",{style:{display:"flex",alignItems:"center",flexWrap:"wrap",justifyContent:"center",gap:"8px 0",fontFamily:"Montserrat, sans-serif"},children:[(0,a.jsx)("a",{href:l.privacyHref,target:"_blank",rel:"noopener noreferrer",style:{color:"#fff",fontSize:t,fontWeight:300,textDecoration:"none"},children:l.privacyLabel}),(0,a.jsx)("div",{style:{width:1,height:16,background:"#fff",margin:"0 16px",opacity:.7,flexShrink:0}}),(0,a.jsx)("a",{href:l.cookieHref,target:"_blank",rel:"noopener noreferrer",style:{color:"#fff",fontSize:t,fontWeight:300,textDecoration:"none"},children:l.cookieLabel})]})};var N=()=>{let e=(0,c.useRouter)(),t=y[e.locale]||y.mk,l=f[e.locale]||f.mk,n=b[e.locale],r=function(){let[e,t]=(0,s.use
39State)(1440);return(0,s.useEffect)(()=>{t(window.innerWidth);let e=()=>t(window.innerWidth);return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),e}();return r<1200?(0,a.jsxs)("footer",{style:{...w,padding:"40px 24px",display:"flex",flexDirection:"column",alignItems:"center",gap:24},children:[(0,a.jsx)("img",{loading:"lazy",src:l,alt:t.logoAlt,style:{width:140,height:"auto",display:"block",filter:n}}),(0,a.jsx)(v,{size:30}),(0,a.jsx)(k,{fontSize:12,t:t}),(0,a.jsxs)("p",{style:{color:"#fff",fontSize:13,fontFamily:"Commissioner, sans-serif",fontWeight:300,margin:0,textAlign:"center"},children:["\xa9 ",new Date().getFullYear(),". ",t.rights]})]}):(0,a.jsxs)("footer",{style:{...w,padding:`40px ${Math.min(Math.round(.08*r),150)}px`,display:"flex",flexDirection:"column",gap:20},children:[(0,a.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center"},children:[(0,a.jsx)("img",{loading:"lazy",src:l,alt:t.logoAlt,style:{width:180,height:"auto",display:"block",filter:n}}),(0,a.jsx)(v,{size:36})]}),(0,a.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",flexWrap:"wrap",gap:12},children:[(0,a.jsx)(k,{fontSize:14,t:t}),(0,a.jsxs)("p",{style:{color:"#fff",fontSize:16,fontFamily:"Commissioner, sans-serif",fontWeight:300,margin:0},children:["\xa9 ",new Date().getFullYear(),". ",t.rights]})]})]})},_=l(52588),C=l(51005),B=e=>{let{children:t,localizations:l=[]}=e;return(0,a.jsx)(C.y$,{value:l,children:(0,a.jsxs)("div",{style:{position:"relative",minHeight:"100vh",backgroundImage:"url(/alk90-gradient-bg.svg)",backgroundSize:"100% 100%",backgroundRepeat:"no-repeat",backgroundPosition:"top center"},children:[t,(0,a.jsx)(N,{}),(0,a.jsx)(_.Z,{})]})})};let S=e=>{let t=(0,c.useRouter)();if(!t.isPreview)return(0,a.jsx)(x.Z,{...e});let s=h()(()=>l.e(1661).then(l.bind(l,51661)),{loadableGenerated:{webpack:()=>[51661]},ssr:!1});return(0,a.jsx)(s,{...e})};var A=!0,L=e=>{let{header:t,footer:l,genericPage:i,userData:d,reloadJwt:x,logout:p}=e,{id:h,redirect:f}=i,b=(0,c.useRouter)();(0,s.useEffect)(()=>{f&&b.replace(f)},[f,b]);let j=null;switch(i.layout){case"Pronet":j=(0,a.jsx)(r.Z,{page:i,areas:e.areas,userData:d,reloadJwt:x,logout:p,hasAreasSidebar:"areas"===o()(i,"article_category.slug"),children:(0,a.jsx)(S,{...e},`${i.id}`)});break;case"MainSRB":j=(0,a.jsx)(g.Z,{id:h,header:t,localizations:[{id:i.id,locale:i.locale,slug:i.slug},...i.localizations.data||[]],footer:l,children:(0,a.jsx)(S,{...e},`${i.id}`)});break;case"MainHR":j=(0,a.jsx)(u.Z,{id:h,header:t,localizations:[{id:i.id,locale:i.locale,slug:i.slug},...i.localizations.data||[]],footer:l,children:(0,a.jsx)(S,{...e},`${i.id}`)});break;case"Alk90":j=(0,a.jsx)(B,{localizations:[{id:i.id,locale:i.locale,slug:i.slug},...i.localizations.data||[]],children:(0,a.jsx)(S,{...e},`${i.id}`)});break;default:j=(0,a.jsx)(n.Z,{id:h,header:t,localizations:[{id:i.id,locale:i.locale,slug:i.slug},...i.localizations.data||[]],footer:l,children:(0,a.jsx)(S,{...e},`${i.id}`)})}return(0,a.jsxs)("div",{children:[(0,a.jsx)(m(),{children:i.metaTags.map(e=>(0,a.jsx)("meta",{name:e.name,content:e.content}))}),j]})}},78981:function(e,t,l){"use strict";l.d(t,{v:function(){return a}});let a="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII="},72950:function(){},14601:function(){},32767:function(){},28251:function(){},57677:function(){},87324:function(){},22868:function(){},14777:function(){},99830:function(){},70209:function(){}},function(e){e.O(0,[9774,9809,9037,630,4885,3662,8894,2006,4824,9839,5675,3462,3152,2715,2679,129,9421,5792,7022,653,5693,4866,6262,2018,2888,179],function(){return e(e.s=69805)}),_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.