1"use strict";(self.webpackChunkemirates_sc_frontend=self.webpackChunkemirates_sc_frontend||[]).push([[381],{6416:function(e,t,n){n.r(t),n.d(t,{default:function(){return p}});var a=n(2791),c=n(272),r=n(885),l=n(8638),s="text-accordion_content__bZOb2",i=n(9546),o=n(184),x=function(e){var t=e.accordion,n=e.index,c=e.newLabelText,x=t.accordionTitle,d=t.accordionContent,p=t.isNewLabel,m=t.opsDateStr,b=(0,a.useState)((function(){return window.location.href.includes("service-updates-alerts")&&0===n})),u=(0,r.Z)(b,2),h=u[0],f=u[1];return(0,o.jsx)(o.Fragment,{children:(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("div",{onClick:function(){f(!h)},className:"px-4 py-2.5 bg-white border-b border-ek-grey-200 cursor-pointer flex items-center justify-between relative",children:(0,o.jsxs)("div",{children:[m&&(0,o.jsxs)("div",{className:"gap-2 h-[21px] flex items-center mb-2 text-ek-grey-500 text-sm leading-[21px]",children:[p&&(0,o.jsx)("span",{className:"bg-ek-red rounded px-1 text-white text-xs leading-[18px]",children:c}),m]}),(0,o.jsx)(i.Z,{className:"pr-4 text-sm lg:text-lg text-black break-words overflow-hidden !font-normal",children:(0,o.jsxs)("button",{type:"button","aria-expanded":h,"aria-controls":"accordion-panel-".concat(n),id:"accordion-title-".concat(n),className:"text-left ".concat(h&&"font-bold"),children:[h&&(0,o.jsx)("span",{className:"w-[5px] h-full bg-ek-red absolute left-0 top-0"}),x,(0,o.jsx)("span",{className:"h-full items-center flex absolute right-4 top-0",children:(0,o.jsx)(l.Z,{icon:"chevron-slim",className:"chevron-slim scale-125 relative right-[3px] ".concat(h?"-rotate-90":"rotate-90")})})]})})]})}),(0,o.jsx)("div",{id:"accordion-panel-".concat(n),"aria-labelledby":"accordion-title-".concat(n),dangerouslySetInnerHTML:{__html:d},className:"px-4 py-[11px] lg:py-5 bg-white text-sm lg:text-base text-black ".concat(s," ").concat(h?"":"hidden")})]})})},d=n(4238),p=function(e){var t=e.data.TextAccordionData,n=function(e,t){return e&&e.map((function(e,n){return(0,o.jsx)("section",{className:"mb-1 last:mb-0",children:(0,o.jsx)(x,{accordion:e,index:n,newLabelText:t})},n)}))};return(0,o.jsx)(o.Fragment,{children:(0,o.jsx)(c.Z,{className:"mt-[40px] lg:mt-[80px] mb-[40px] lg:mb-[80px]",children:(0,o.jsx)("div",{children:t&&t.map((function(e){return(0,o.jsxs)("article",{className:"pb-[40px] lg:pb-[60px] last:pb-[0px]",children:[e.title&&""!==e.title&&(0,o.jsx)("header",{className:"text-[28px] lg:text-[32px] text-black font-medium leading-[41.6px] tracking-[0.32px] pb-[20px] lg:pb-[30px]",children:e.title}),n(e.AccordionItem,e.NewLabelText)]},(0,d.qP)(e.title))}))})})})}}}]); 2//# sourceMappingURL=text-accordion.dbce4.chunk.js.map
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.