1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2995],{32995:function(e,l,i){i.r(l);var n=i(47568),s=i(34051),a=i.n(s),d=i(85893),o=i(94506),r=i(72433),t=i(87383),c=i(53723),u=i(16606),v=i(94184),m=i.n(v),h=i(22478),x=i(44934),f=i(67294),g=i(15317);l.default=function(e){var l,i,s,v,p,j,b,N,k,y,w,C,S,L,F,Z,A,D,z,E,O,H,T,I,M,W,_,B,G,U,P,q,J=e.fields,K=e.children,Q=e.params,R=e.stackLinks,V=e.height,X=e.modifier,Y=e.customButton,$=e.authorization,ee=(0,f.useState)(),le=ee[0],ie=ee[1],ne="card-bar d-flex justify-content-center align-items-center",se="card "+((null===Q||void 0===Q?void 0:Q.cardClass)?null===Q||void 0===Q?void 0:Q.cardClass:""),ae=!0,de=1==(null===Q||void 0===Q?void 0:Q.hideBorder),oe=(0,d.jsx)(d.Fragment,{}),re=(null===J||void 0===J||null===(l=J.button)||void 0===l||null===(i=l.value)||void 0===i?void 0:i.href)||!!Y,te=(null===J||void 0===J?void 0:J.links)&&J.links.length>0,ce=(null===J||void 0===J?void 0:J.tags)&&J.tags.length>0,ue=(null===J||void 0===J||null===(s=J.date)||void 0===s?void 0:s.value)&&"0001-01-01T00:00:00Z"!=J.date.value;if((null===J||void 0===J?void 0:J.heading)||(null===J||void 0===J?void 0:J.headingSpan)||(null===J||void 0===J||null===(v=J.url)||void 0===v||null===(p=v.value)||void 0===p?void 0:p.href)){var ve,me,he="card-title",xe="h3";(null===Q||void 0===Q?void 0:Q.headingLevel)&&(xe="h".concat(Q.headingLevel)),(null===Q||void 0===Q?void 0:Q.headingClass)&&(he+=" "+Q.headingClass),oe=(null===J||void 0===J||null===(ve=J.url)||void 0===ve||null===(me=ve.value)||void 0===me?void 0:me.href)?(0,d.jsx)(d.Fragment,{children:(0,d.jsx)(xe,{className:he,children:(0,d.jsx)(d.Fragment,{children:(0,d.jsx)(o.r,{field:J.url})})})}):(0,d.jsx)(d.Fragment,{children:J.headingSpan&&(0,d.jsx)("span",{className:"card-title fw-bold text-dark font-secondary fs-4",children:(0,d.jsx)(r.x,{field:J.headingSpan})})||(0,d.jsx)(r.x,{field:null===J||void 0===J?void 0:J.heading,className:he,tag:xe})})}var fe,ge=!(!(null===J||void 0===J||null===(j=J.barIcon)||void 0===j?void 0:j.value)&&!(null===J||void 0===J||null===(b=J.bar)||void 0===b?void 0:b.value)&&!ue);(X&&(se=se+" card--"+X),(null===Q||void 0===Q?void 0:Q.bgColor)&&(se+=" "+(0,x.Z)(Q.bgColor),ae=!1),ge&&(se+=" has-bar",ae=!1),ae&&!de)&&(se+=" border-top border-start-0 border-end-0 border-bottom-0 border-6 border-success",(null===J||void 0===J||null===(fe=J.flag)||void 0===fe?void 0:fe.value)&&(se+="-dark"));var pe=m()("card-body",{"d-flex align-items-center":(null===J||void 0===J||null===(N=J.image)||void 0===N||null===(k=N.value)||void 0===k?void 0:k.src)&&ge||"center"==(null===Q||void 0===Q?void 0:Q.vAlign)}),je=(0,h.Z)({"row align-items-center gy-3":(null===J||void 0===J||null===(y=J.image)||void 0===y||null===(w=y.value)||void 0===w?void 0:w.src)&&ge}),be=(0,h.Z)({"col-lg-8":(null===J||void 0===J||null===(C=J.image)||void 0===C||null===(S=C.value)||void 0===S?void 0:S.src)&&ge}),Ne=(0,h.Z)({"d-flex gx-3":null===J||void 0===J||null===(L=J.icon)||void 0===L?void 0:L.fields}),ke=m()("card-icon",{"circle circle-md bg-success":(null===J||void 0===J?void 0:J.icon)&&"preset"==(null===(Z=null===(F=J.icon.fields)||void 0===F?void 0:F.type)||void 0===Z?void 0:Z.value)}),ye=m()("card-summary",null===Q||void 0===Q?void 0:Q.summaryClass,{"mb-0":!te&&!re&&!ce}),we=(0,h.Z)({"d-flex flex-column gap-3 gap-lg-4 flex-lg-row align-items-lg-center":!R,"mt-n2":!re}),Ce=m()("list-unstyled",{"order-2":!R,"mb-0":!re&&!ce||!R}),Se=m()("card-body d-block",{"valid-feedback":(null===J||void 0===J||null===(A=J.message)||void 0===A||null===(D=A.fields)||void 0===D?void 0:D.message)&&"success"===(null===(z=J.message.fields.type)||void 0===z?void 0:z.value),"invalid-feedback":(null===J||void 0===J||null===(E=J.message)||void 0===E||null===(O=E.fields)||void 0===O?void 0:O.message)&&"error"===(null===(H=J.message.fields.type)||void 0===H?void 0:H.value)}),Le=V?Number(V):void 0;return(0,d.jsx)(d.Fragment,{children:(0,d.jsxs)("div",{className:"shadow ".concat(se),style:V?{height:Le}:{},children:[(null===J||void 0===J||null===(T=J.flag)||void 0===T?void 0:T.value)&&(0,d.jsx)("span",{className:"flag text-sm text-white",children:J.flag.value}),(null===J||void 0===J?void 0:J.barIcon)&&(null===(I=J.barIcon.value)||void 0===I?void 0:I.src)&&(0,d.jsx)("span",{className:ne,children:(0,d.jsx)(t.E,{field:J.barIcon,alt:""})}),(null===J||void 0===J?void 0:J.bar)&&(0,d.jsx)("span",{className:ne,children:(0,d.jsx)(r.x,{field:J.bar})}),ue&&(0,d.jsx)("span",{className:ne,children:(0,d.jsxs)("div",{className:"date",children:[(0,d.jsx)("span",{className:"visually-hidden",children:(null===J||void 0===J||null===(M=J.date)||void 0===M?void 0:M.value)&&new Date(J.date.value).toLocaleStr
1ing("en-US",{month:"long"})}),(0,d.jsx)("span",{className:"date-month","aria-hidden":!0,children:(0,d.jsx)(c.N,{field:J.date,render:function(e){return e.toLocaleString("en-US",{month:"short"})}})}),(0,d.jsx)(c.N,{field:J.date,render:function(e){return e.getDate().toString()}})]})}),(null===J||void 0===J?void 0:J.image)&&!ge&&(0,d.jsx)(d.Fragment,{children:(0,d.jsx)(t.E,{className:"card-img-top",field:J.image,alt:""})}),(0,d.jsx)("div",{className:pe,children:(0,d.jsxs)("div",{className:je,children:[(0,d.jsx)("div",{className:be,children:(0,d.jsxs)("div",{className:Ne,children:[(null===J||void 0===J?void 0:J.icon)&&(null===(W=J.icon.fields)||void 0===W?void 0:W.image)&&(0,d.jsx)("span",{className:ke,role:"presentation",children:(0,d.jsx)(t.E,{field:J.icon.fields.image,alt:""})}),(0,d.jsxs)("div",{children:[(null===J||void 0===J||null===(_=J.label)||void 0===_?void 0:_.value)&&(0,d.jsx)("span",{className:"label",children:(0,d.jsx)(r.x,{field:J.label})}),(0,d.jsx)("div",{children:oe}),(null===J||void 0===J?void 0:J.summary)&&(0,d.jsx)(u.H,{className:ye,field:J.summary}),(0,d.jsx)("div",{className:"card-content",children:K}),(re||te)&&(0,d.jsxs)("div",{className:we,children:[le&&(0,d.jsx)(g.LoadingSpinner,{}),re&&(null===J||void 0===J?void 0:J.button)&&(0,d.jsx)(d.Fragment,{children:(0,d.jsx)(o.r,{field:null===J||void 0===J?void 0:J.button,className:"btn btn-secondary"})}),re&&!!Y&&(Y.ariaLabel&&!le&&(0,d.jsx)("button",{className:"btn btn-secondary",onClick:function(){var e=(0,n.Z)(a().mark((function e(l){return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return l.preventDefault(),Y.shouldSpinOnLoad&&ie(!0),e.next=4,Y.onClick();case 4:Y.shouldSpinOnLoad&&ie(!1);case 5:case"end":return e.stop()}}),e)})));return function(l){return e.apply(this,arguments)}}(),"aria-label":Y.ariaLabel,disabled:!Y.enabled,children:Y.buttonText})||!le&&(0,d.jsx)("a",{className:"btn btn-secondary",onClick:Y.onClick,children:Y.buttonText})),(null===J||void 0===J?void 0:J.links)&&(0,d.jsx)("ul",{className:Ce,children:null===J||void 0===J?void 0:J.links.map((function(e,l){return(0,d.jsx)("li",{children:(0,d.jsx)(o.r,{field:e.fields.link,className:"readMore"})},l)}))})]}),ce&&J.tags&&(0,d.jsx)("ul",{className:"list-inline mb-0 tags list-commas",children:J.tags.map((function(e,l){return(0,d.jsx)("li",{className:"list-inline-item",children:(0,d.jsx)(o.r,{field:e.fields.link})},l)}))})]})]})}),(null===J||void 0===J||null===(B=J.image)||void 0===B?void 0:B.value)&&ge&&(0,d.jsx)("div",{className:"col col-10 col-lg-4",children:(0,d.jsx)(t.E,{field:J.image,className:"card-img-top",alt:""})})]})}),(null===J||void 0===J||null===(G=J.message)||void 0===G||null===(U=G.fields)||void 0===U?void 0:U.message)&&(0,d.jsx)("div",{className:Se,children:(0,d.jsx)(r.x,{field:null===(P=J.message)||void 0===P||null===(q=P.fields)||void 0===q?void 0:q.message})}),$&&(0,d.jsxs)("div",{className:"card-footer",children:[$.isAuthorized&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("i",{className:"bi bi-check-circle-fill text-success me-2"}),(0,d.jsx)("span",{className:"text-success me-2",children:"Authorized Sharing on"}),$.authorizationDate&&(0,d.jsx)("span",{className:"text-success",children:$.authorizationDate})]}),!$.isAuthorized&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("p",{children:[(0,d.jsx)("i",{className:"bi bi-exclamation-circle-fill text-secondary me-2"}),$.description]}),(0,d.jsx)("button",{className:"btn btn-primary btn-sm",onClick:function(){var e=(0,n.Z)(a().mark((function e(l){return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return l.preventDefault(),e.next=3,$.onClick();case 3:case"end":return e.stop()}}),e)})));return function(l){return e.apply(this,arguments)}}(),children:$.buttonText})]})]})]})})}},15317:function(e,l,i){i.r(l),i.d(l,{LoadingSpinner:function(){return s}});var n=i(85893),s=function(e){var l=e.fillWindow?" fillWindow":"";return(0,n.jsxs)("div",{className:"app-loader".concat(l),children:[(0,n.jsx)("div",{role:"status",className:"text-center loader",children:(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"200",height:"200",viewBox:"0 0 200 200",fill:"none",color:"#F37021",children:[(0,n.jsxs)("defs",{children:[(0,n.jsxs)("linearGradient",{id:"spinner-secondHalf",children:[(0,n.jsx)("stop",{offset:"0%",stopOpacity:"0",stopColor:"currentColor"}),(0,n.jsx)("stop",{offset:"100%",stopOpacity:"0.5",stopColor:"currentColor"})]}),(0,n.jsxs)("linearGradient",{id:"spinner-firstHalf",children:[(0,n.jsx)("stop",{offset:"0%",stopOpacity:"1",stopColor:"currentColor"}),(0,n.jsx)("stop",{offset:"100%",stopOpacity:"0.5",stopColor:"currentColor"})]})]}),(0,n.jsxs)("g",{strokeWidth:35,children:[(0,n.jsx)("path",{stroke:"url
1(#spinner-secondHalf)",d:"M 35 100 A 65 65 0 0 1 165 100"}),(0,n.jsx)("path",{stroke:"url(#spinner-firstHalf)",d:"M 165 100 A 65 65 0 0 1 35 100"}),(0,n.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",d:"M 35 100 A 65 65 0 0 1 35 96"})]}),(0,n.jsx)("animateTransform",{from:"0 0 0",to:"360 0 0",attributeName:"transform",type:"rotate",repeatCount:"indefinite",dur:"1300ms"})]})}),e.children?(0,n.jsx)(n.Fragment,{children:e.children}):(0,n.jsx)("div",{role:"alert",children:"Please wait..."})]})}},22478:function(e,l,i){i.d(l,{Z:function(){return d}});var n=i(10797),s=i(94184),a=i.n(s);function d(){for(var e=arguments.length,l=new Array(e),i=0;i<e;i++)l[i]=arguments[i];var s=a().apply(void 0,(0,n.Z)(l));return""==s?void 0:s}},44934:function(e,l,i){function n(e){switch(e){case"Dark":e="dark";break;case"Light":e="light";break;case"Neutral":e="info";break;case"White":e="white";break;default:e=e}return e?("dark"===e?"text-white":"")+(e?" bg-"+e:""):""}i.d(l,{Z:function(){return n}})}}]);
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.