@goodhood-web/ui 4.8.0 → 4.9.0-development.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +1 -1
- package/index.mjs +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -97,7 +97,7 @@ vulnerable to XSS attacks. Please remove it from \`allowedTags\`.
|
|
|
97
97
|
Or, to disable this warning, add the \`allowVulnerableTags\` option
|
|
98
98
|
and ensure you are accounting for this risk.
|
|
99
99
|
|
|
100
|
-
`)});const l=e.nonTextTags||["script","style","textarea","option"];let c,u;e.allowedAttributes&&(c={},u={},p1(e.allowedAttributes,function(L,V){c[V]=[];const S=[];L.forEach(function(N){typeof N=="string"&&N.indexOf("*")>=0?S.push(Ua(N).replace(/\\\*/g,".*")):c[V].push(N)}),S.length&&(u[V]=new RegExp("^("+S.join("|")+")$"))}));const d={},f={},h={};p1(e.allowedClasses,function(L,V){if(c&&(rt(c,V)||(c[V]=[]),c[V].push("class")),d[V]=L,Array.isArray(L)){const S=[];d[V]=[],h[V]=[],L.forEach(function(N){typeof N=="string"&&N.indexOf("*")>=0?S.push(Ua(N).replace(/\\\*/g,".*")):N instanceof RegExp?h[V].push(N):d[V].push(N)}),S.length&&(f[V]=new RegExp("^("+S.join("|")+")$"))}});const p={};let _;p1(e.transformTags,function(L,V){let S;typeof L=="function"?S=L:typeof L=="string"&&(S=w2.simpleTransform(L)),V==="*"?_=S:p[V]=S});let C,v,w,x,b,M,R=!1;B();const T=new K8.Parser({onopentag:function(L,V){if(e.onOpenTag&&e.onOpenTag(L,V),e.enforceHtmlBoundary&&L==="html"&&B(),b){M++;return}const S=new o(L,V);v.push(S);let N=!1;const ee=!!S.text;let A;if(rt(p,L)&&(A=p[L](L,V),S.attribs=V=A.attribs,A.text!==void 0&&(S.innerText=A.text),L!==A.tagName&&(S.name=L=A.tagName,x[C]=A.tagName)),_&&(A=_(L,V),S.attribs=V=A.attribs,L!==A.tagName&&(S.name=L=A.tagName,x[C]=A.tagName)),(!s(L)||e.disallowedTagsMode==="recursiveEscape"&&!t7(w)||e.nestingLimit!=null&&C>=e.nestingLimit)&&(N=!0,w[C]=!0,(e.disallowedTagsMode==="discard"||e.disallowedTagsMode==="completelyDiscard")&&l.indexOf(L)!==-1&&(b=!0,M=1)),C++,N){if(e.disallowedTagsMode==="discard"||e.disallowedTagsMode==="completelyDiscard"){if(S.innerText&&!ee){const O=z(S.innerText);e.textFilter?n+=e.textFilter(O,L):n+=O,R=!0}return}a=n,n=""}n+="<"+L,L==="script"&&(e.allowedScriptHostnames||e.allowedScriptDomains)&&(S.innerText=""),N&&(e.disallowedTagsMode==="escape"||e.disallowedTagsMode==="recursiveEscape")&&e.preserveEscapedAttributes?p1(V,function(O,H){n+=" "+H+'="'+z(O||"",!0)+'"'}):(!c||rt(c,L)||c["*"])&&p1(V,function(O,H){if(!i7.test(H)){delete S.attribs[H];return}if(O===""&&!e.allowedEmptyAttributes.includes(H)&&(e.nonBooleanAttributes.includes(H)||e.nonBooleanAttributes.includes("*"))){delete S.attribs[H];return}let te=!1;if(!c||rt(c,L)&&c[L].indexOf(H)!==-1||c["*"]&&c["*"].indexOf(H)!==-1||rt(u,L)&&u[L].test(H)||u["*"]&&u["*"].test(H))te=!0;else if(c&&c[L]){for(const U of c[L])if(X8(U)&&U.name&&U.name===H){te=!0;let $="";if(U.multiple===!0){const Z=O.split(" ");for(const G of Z)U.values.indexOf(G)!==-1&&($===""?$=G:$+=" "+G)}else U.values.indexOf(O)>=0&&($=O);O=$}}if(te){if(e.allowedSchemesAppliedToAttributes.indexOf(H)!==-1&&F(L,O)){delete S.attribs[H];return}if(L==="script"&&H==="src"){let U=!0;try{const $=W(O);if(e.allowedScriptHostnames||e.allowedScriptDomains){const Z=(e.allowedScriptHostnames||[]).find(function(K){return K===$.url.hostname}),G=(e.allowedScriptDomains||[]).find(function(K){return $.url.hostname===K||$.url.hostname.endsWith(`.${K}`)});U=Z||G}}catch{U=!1}if(!U){delete S.attribs[H];return}}if(L==="iframe"&&H==="src"){let U=!0;try{const $=W(O);if($.isRelativeUrl)U=rt(e,"allowIframeRelativeUrls")?e.allowIframeRelativeUrls:!e.allowedIframeHostnames&&!e.allowedIframeDomains;else if(e.allowedIframeHostnames||e.allowedIframeDomains){const Z=(e.allowedIframeHostnames||[]).find(function(K){return K===$.url.hostname}),G=(e.allowedIframeDomains||[]).find(function(K){return $.url.hostname===K||$.url.hostname.endsWith(`.${K}`)});U=Z||G}}catch{U=!1}if(!U){delete S.attribs[H];return}}if(H==="srcset")try{let U=Y8(O);if(U.forEach(function($){F("srcset",$.url)&&($.evil=!0)}),U=Ka(U,function($){return!$.evil}),U.length)O=r7(Ka(U,function($){return!$.evil})),S.attribs[H]=O;else{delete S.attribs[H];return}}catch{delete S.attribs[H];return}if(H==="class"){const U=d[L],$=d["*"],Z=f[L],G=h[L],K=h["*"],pe=f["*"],ge=[Z,pe].concat(G,K).filter(function(mt){return mt});if(U&&$?O=I(O,Ga(U,$),ge):O=I(O,U||$,ge),!O.length){delete S.attribs[H];return}}if(H==="style"){if(e.parseStyleAttributes)try{const U=Q8(L+" {"+O+"}",{map:!1}),$=y(U,e.allowedStyles);if(O=E($),O.length===0){delete S.attribs[H];return}}catch{typeof window<"u"&&console.warn('Failed to parse "'+L+" {"+O+`}", If you're running this in a browser, we recommend to disable style parsing: options.parseStyleAttributes: false, since this only works in a node environment due to a postcss dependency, More info: https://github.com/apostrophecms/sanitize-html/issues/547`),delete S.attribs[H];return}else if(e.allowedStyles)throw new Error("allowedStyles option cannot be used together with parseStyleAttributes: false.")}n+=" "+H,O&&O.length?n+='="'+z(O,!0)+'"':e.allowedEmptyAttributes.includes(H)&&(n+='=""')}else delete S.attribs[H]}),e.selfClosing.indexOf(L)!==-1?n+=" />":(n+=">",S.innerText&&!ee&&!e.textFilter&&(n+=z(S.innerText),R=!0)),N&&(n=a+z(n),a=""),S.openingTagLength=n.length-S.tagPosition},ontext:function(L){if(b)return;const V=v[v.length-1];let S;if(V&&(S=V.tag,L=V.innerText!==void 0?V.innerText:L),e.disallowedTagsMode==="completelyDiscard"&&!s(S))L="";else if((e.disallowedTagsMode==="discard"||e.disallowedTagsMode==="completelyDiscard")&&(S==="script"||S==="style"))n+=L;else if(!R){const N=z(L,!1);e.textFilter?n+=e.textFilter(N,S):n+=N}if(v.length){const N=v[v.length-1];N.text+=L}},onclosetag:function(L,V){if(e.onCloseTag&&e.onCloseTag(L,V),b)if(M--,!M)b=!1;else return;const S=v.pop();if(!S)return;if(S.tag!==L){v.push(S);return}b=e.enforceHtmlBoundary?L==="html":!1,C--;const N=w[C];if(N){if(delete w[C],e.disallowedTagsMode==="discard"||e.disallowedTagsMode==="completelyDiscard"){S.updateParentNodeText();return}a=n,n=""}if(x[C]&&(L=x[C],delete x[C]),e.exclusiveFilter){const ee=e.exclusiveFilter(S);if(ee==="excludeTag"){N&&(n=a,a=""),n=n.substring(0,S.tagPosition)+n.substring(S.tagPosition+S.openingTagLength);return}else if(ee){n=n.substring(0,S.tagPosition);return}}if(S.updateParentNodeMediaChildren(),S.updateParentNodeText(),e.selfClosing.indexOf(L)!==-1||V&&!s(L)&&["escape","recursiveEscape"].indexOf(e.disallowedTagsMode)>=0){N&&(n=a,a="");return}n+="</"+L+">",N&&(n=a+z(n),a=""),R=!1}},e.parser);return T.write(t),T.end(),n;function B(){n="",C=0,v=[],w={},x={},b=!1,M=0}function z(L,V){return typeof L!="string"&&(L=L+""),e.parser.decodeEntities&&(L=L.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">"),V&&(L=L.replace(/"/g,"""))),L=L.replace(/&(?![a-zA-Z0-9#]{1,20};)/g,"&").replace(/</g,"<").replace(/>/g,">"),V&&(L=L.replace(/"/g,""")),L}function F(L,V){for(V=V.replace(/[\x00-\x20]+/g,"");;){const ee=V.indexOf("<!--");if(ee===-1)break;const A=V.indexOf("-->",ee+4);if(A===-1)break;V=V.substring(0,ee)+V.substring(A+3)}const S=V.match(/^([a-zA-Z][a-zA-Z0-9.\-+]*):/);if(!S)return V.match(/^[/\\]{2}/)?!e.allowProtocolRelative:!1;const N=S[1].toLowerCase();return rt(e.allowedSchemesByTag,L)?e.allowedSchemesByTag[L].indexOf(N)===-1:!e.allowedSchemes||e.allowedSchemes.indexOf(N)===-1}function W(L){if(L=L.replace(/^(\w+:)?\s*[\\/]\s*[\\/]/,"$1//"),L.startsWith("relative:"))throw new Error("relative: exploit attempt");let V="relative://relative-site";for(let ee=0;ee<100;ee++)V+=`/${ee}`;const S=new URL(L,V);return{isRelativeUrl:S&&S.hostname==="relative-site"&&S.protocol==="relative:",url:S}}function y(L,V){if(!V)return L;const S=L.nodes[0];let N;return V[S.selector]&&V["*"]?N=Ga(V[S.selector],V["*"]):N=V[S.selector]||V["*"],N&&(L.nodes[0].nodes=S.nodes.reduce(q(N),[])),L}function E(L){return L.nodes[0].nodes.reduce(function(V,S){return V.push(`${S.prop}:${S.value}${S.important?" !important":""}`),V},[]).join(";")}function q(L){return function(V,S){return rt(L,S.prop)&&L[S.prop].some(function(ee){return ee.test(S.value)})&&V.push(S),V}}function I(L,V,S){return V?(L=L.split(/\s+/),L.filter(function(N){return V.indexOf(N)!==-1||S.some(function(ee){return ee.test(N)})}).join(" ")):L}}const a7={decodeEntities:!0};w2.defaults={allowedTags:["address","article","aside","footer","header","h1","h2","h3","h4","h5","h6","hgroup","main","nav","section","blockquote","dd","div","dl","dt","figcaption","figure","hr","li","menu","ol","p","pre","ul","a","abbr","b","bdi","bdo","br","cite","code","data","dfn","em","i","kbd","mark","q","rb","rp","rt","rtc","ruby","s","samp","small","span","strong","sub","sup","time","u","var","wbr","caption","col","colgroup","table","tbody","td","tfoot","th","thead","tr"],nonBooleanAttributes:["abbr","accept","accept-charset","accesskey","action","allow","alt","as","autocapitalize","autocomplete","blocking","charset","cite","class","color","cols","colspan","content","contenteditable","coords","crossorigin","data","datetime","decoding","dir","dirname","download","draggable","enctype","enterkeyhint","fetchpriority","for","form","formaction","formenctype","formmethod","formtarget","headers","height","hidden","high","href","hreflang","http-equiv","id","imagesizes","imagesrcset","inputmode","integrity","is","itemid","itemprop","itemref","itemtype","kind","label","lang","list","loading","low","max","maxlength","media","method","min","minlength","name","nonce","optimum","pattern","ping","placeholder","popover","popovertarget","popovertargetaction","poster","preload","referrerpolicy","rel","rows","rowspan","sandbox","scope","shape","size","sizes","slot","span","spellcheck","src","srcdoc","srclang","srcset","start","step","style","tabindex","target","title","translate","type","usemap","value","width","wrap","onauxclick","onafterprint","onbeforematch","onbeforeprint","onbeforeunload","onbeforetoggle","onblur","oncancel","oncanplay","oncanplaythrough","onchange","onclick","onclose","oncontextlost","oncontextmenu","oncontextrestored","oncopy","oncuechange","oncut","ondblclick","ondrag","ondragend","ondragenter","ondragleave","ondragover","ondragstart","ondrop","ondurationchange","onemptied","onended","onerror","onfocus","onformdata","onhashchange","oninput","oninvalid","onkeydown","onkeypress","onkeyup","onlanguagechange","onload","onloadeddata","onloadedmetadata","onloadstart","onmessage","onmessageerror","onmousedown","onmouseenter","onmouseleave","onmousemove","onmouseout","onmouseover","onmouseup","onoffline","ononline","onpagehide","onpageshow","onpaste","onpause","onplay","onplaying","onpopstate","onprogress","onratechange","onreset","onresize","onrejectionhandled","onscroll","onscrollend","onsecuritypolicyviolation","onseeked","onseeking","onselect","onslotchange","onstalled","onstorage","onsubmit","onsuspend","ontimeupdate","ontoggle","onunhandledrejection","onunload","onvolumechange","onwaiting","onwheel"],disallowedTagsMode:"discard",allowedAttributes:{a:["href","name","target"],img:["src","srcset","alt","title","width","height","loading"]},allowedEmptyAttributes:["alt"],selfClosing:["img","br","hr","area","base","basefont","input","link","meta"],allowedSchemes:["http","https","ftp","mailto","tel"],allowedSchemesByTag:{},allowedSchemesAppliedToAttributes:["href","src","cite"],allowProtocolRelative:!0,enforceHtmlBoundary:!1,parseStyleAttributes:!0,preserveEscapedAttributes:!1};w2.simpleTransform=function(t,e,r){return r=r===void 0?!0:r,e=e||{},function(n,a){let o;if(r)for(o in e)a[o]=e[o];else a=e;return{tagName:t,attribs:a}}};const o7=q1(n7),s7="_markdown_1ek7s_146",Xa={markdown:s7,"markdown--external-links":"_markdown--external-links_1ek7s_161"},l7={allowedAttributes:{a:["href","target"]},allowedTags:["a","strong"]};function R4({className:t,disableAutolinks:e=!1,elementTag:r="span",inline:n=!1,isExternalLinksIcon:a,text:o}){const s=r,l=e?f=>{const h=f.raw,p=f.type==="link"?f.href:"",_=/\[.*\]\(.*\)/.test(h);if(!(f.type==="autolink"||f.type==="link"&&p&&/^(?:mailto:|https?:|www\.)/.test(p)&&!_))return;const v=String(f.text??(p?p.replace(/^mailto:/,""):h.replace(/^<|>$/g,"")));f.type="text",f.raw=v,f.text=v,delete f.href,delete f.title,delete f.tokens}:void 0,c={breaks:!0,...l&&{walkTokens:l}},u=n?ae.parseInline(o,c):ae.parse(o,c),d=o7(u,l7);return m.jsx(s,{className:P(Xa.markdown,{[Xa["markdown--external-links"]]:a},t),dangerouslySetInnerHTML:{__html:d}})}const Ya={"react-datepicker":"_react-datepicker_elfhm_116","react-datepicker__day-names":"_react-datepicker__day-names_elfhm_119","react-datepicker__week":"_react-datepicker__week_elfhm_123","react-datepicker__day--outside-month":"_react-datepicker__day--outside-month_elfhm_130","react-datepicker__time-container":"_react-datepicker__time-container_elfhm_139","react-datepicker__time":"_react-datepicker__time_elfhm_139","react-datepicker__time-box":"_react-datepicker__time-box_elfhm_142","typography-landing--claim":"_typography-landing--claim_elfhm_146","typography-landing--claim-uppercase":"_typography-landing--claim-uppercase_elfhm_187","typography-landing--h1":"_typography-landing--h1_elfhm_228","typography-landing--h1-uppercase":"_typography-landing--h1-uppercase_elfhm_269","typography-landing--h2":"_typography-landing--h2_elfhm_310","typography-landing--h2-uppercase":"_typography-landing--h2-uppercase_elfhm_351","typography-landing--h3":"_typography-landing--h3_elfhm_392","typography-landing--h4":"_typography-landing--h4_elfhm_433","typography-landing--h5":"_typography-landing--h5_elfhm_474","typography-landing--h6":"_typography-landing--h6_elfhm_515","typography-landing--overline":"_typography-landing--overline_elfhm_556","typography-landing--body-large":"_typography-landing--body-large_elfhm_596","typography-landing--body-large-semibold":"_typography-landing--body-large-semibold_elfhm_636","typography-landing--body":"_typography-landing--body_elfhm_596","typography-landing--body-semibold":"_typography-landing--body-semibold_elfhm_716","typography-landing--body-small":"_typography-landing--body-small_elfhm_756","typography-landing--body-small-semibold":"_typography-landing--body-small-semibold_elfhm_796","typography-landing--body-small-italic":"_typography-landing--body-small-italic_elfhm_836","typography-landing--body-italic":"_typography-landing--body-italic_elfhm_876","typography-landing--body-large-italic":"_typography-landing--body-large-italic_elfhm_916","typography-landing--quote-large":"_typography-landing--quote-large_elfhm_956","typography-landing--detail-small":"_typography-landing--detail-small_elfhm_968","typography-landing--detail-small-bold":"_typography-landing--detail-small-bold_elfhm_980","typography-landing":"_typography-landing_elfhm_146","typography-product":"_typography-product_elfhm_1010","typography-product--h1":"_typography-product--h1_elfhm_1022","typography-product--h2":"_typography-product--h2_elfhm_1034","typography-product--h3":"_typography-product--h3_elfhm_1046","typography-product--h4":"_typography-product--h4_elfhm_1058","typography-product--h5":"_typography-product--h5_elfhm_1070","typography-product--h6":"_typography-product--h6_elfhm_1082","typography-product--h7":"_typography-product--h7_elfhm_1094","typography-product--h8":"_typography-product--h8_elfhm_1106","typography-product--body-large":"_typography-product--body-large_elfhm_1118","typography-product--body-regular":"_typography-product--body-regular_elfhm_1142","typography-product--body-semibold":"_typography-product--body-semibold_elfhm_1166","typography-product--body-italic":"_typography-product--body-italic_elfhm_1190","typography-product--body-text-link":"_typography-product--body-text-link_elfhm_1215","typography-product--detail-medium":"_typography-product--detail-medium_elfhm_1227","typography-product--detail-bold":"_typography-product--detail-bold_elfhm_1251","typography-product--detail-upper-case":"_typography-product--detail-upper-case_elfhm_1275","typography-product--detail-regular":"_typography-product--detail-regular_elfhm_1299","typography-product--detail-text-link":"_typography-product--detail-text-link_elfhm_1323"};function c7(t){switch(t){case"h1":case"h1-uppercase":return"h1";case"h2":case"claim":case"claim-uppercase":return"h2";case"h3":case"h4":case"h5":return t;case"h6":case"overline":return"h6";default:return"span"}}const j=t=>{const{as:e,children:r,className:n,fontSet:a="product",markdown:o=a==="landing",markdownInline:s=!0,disableAutolinks:l,type:c}=t,u=e||c7(c),d=P(Ya[`typography-${a}`],Ya[`typography-${a}--${c}`],n);return m.jsx(m.Fragment,{children:typeof r=="string"&&o?m.jsx(R4,{className:d,text:r,inline:s,elementTag:u,isExternalLinksIcon:a==="landing",disableAutolinks:l}):m.jsx(u,{className:d,"data-testid":t["data-testid"],children:r})})},u7="_heading_q3ile_146",d7="_title_q3ile_160",h7="_icon_q3ile_176",f7="_iconExpanded_q3ile_183",p7="_panel_q3ile_192",Pt={"react-datepicker":"_react-datepicker_q3ile_116","react-datepicker__day-names":"_react-datepicker__day-names_q3ile_119","react-datepicker__week":"_react-datepicker__week_q3ile_123","react-datepicker__day--outside-month":"_react-datepicker__day--outside-month_q3ile_130","react-datepicker__time-container":"_react-datepicker__time-container_q3ile_139","react-datepicker__time":"_react-datepicker__time_q3ile_139","react-datepicker__time-box":"_react-datepicker__time-box_q3ile_142",heading:u7,"accordionItem--large":"_accordionItem--large_q3ile_157",title:d7,"heading--hideBorder":"_heading--hideBorder_q3ile_172",icon:h7,iconExpanded:f7,panel:p7},m7=({accordionBtnClassName:t,accordionPanelClassName:e,children:r,handleClick:n,hideBorder:a,id:o,opened:s,size:l,title:c})=>{const[u,d]=g.useState(s||!1);g.useEffect(()=>{d(s||!1)},[s]);const f=()=>{n?n():d(h=>!h)};return m.jsxs("div",{className:Pt[`accordionItem--${l}`],children:[m.jsxs("button",{id:`accordion-header-${o}`,className:P(Pt.heading,t,{[Pt["heading--hideBorder"]]:a}),"aria-expanded":u,"aria-controls":`accordion-panel-${o}`,"data-expanded":u,onClick:f,children:[m.jsx(j,{type:"body-regular",as:"h3",className:Pt.title,"data-expanded":u,children:c}),m.jsx(ne,{name:"chevron_down",size:"24",className:P(Pt.icon,{[Pt.iconExpanded]:u})})]}),m.jsx("div",{id:`accordion-panel-${o}`,className:P(Pt.panel,e),"data-expanded":u,"aria-labelledby":`accordion-header-${o}`,hidden:!u,children:r})]})};function g7(t){return typeof t=="string"}function _7(t,e,r){return t===void 0||g7(t)?e:{...e,ownerState:{...e.ownerState,...r}}}function Qa(t,e,r=(n,a)=>n===a){return t.length===e.length&&t.every((n,a)=>r(n,e[a]))}const v7={disableDefaultClasses:!1},q4=i.createContext(v7);process.env.NODE_ENV!=="production"&&(q4.displayName="ClassNameConfiguratorContext");function Jt(t){const{disableDefaultClasses:e}=i.useContext(q4);return r=>e?"":t(r)}function Ne(t,e=[]){if(t===void 0)return{};const r={};return Object.keys(t).filter(n=>n.match(/^on[A-Z]/)&&typeof t[n]=="function"&&!e.includes(n)).forEach(n=>{r[n]=t[n]}),r}function C7(t){const{rootElementName:e="",componentName:r}=t,[n,a]=i.useState(e.toUpperCase());process.env.NODE_ENV!=="production"&&i.useEffect(()=>{e&&n!==e.toUpperCase()&&console.error(`useRootElementName: the \`rootElementName\` prop of ${r?`the ${r} component`:"a component"} expected the '${e}' element, but a '${n.toLowerCase()}' was rendered instead`,"This may cause hydration issues in an SSR context, for example in a Next.js app")},[e,n,r]);const o=i.useCallback(s=>{a((s==null?void 0:s.tagName)??"")},[]);return[n,o]}function Re(...t){const e=i.useRef(void 0),r=i.useCallback(n=>{const a=t.map(o=>{if(o==null)return null;if(typeof o=="function"){const s=o,l=s(n);return typeof l=="function"?l:()=>{s(null)}}return o.current=n,()=>{o.current=null}});return()=>{a.forEach(o=>o==null?void 0:o())}},t);return i.useMemo(()=>t.every(n=>n==null)?null:n=>{e.current&&(e.current(),e.current=void 0),n!=null&&(e.current=r(n))},t)}function Ja(t){if(t===void 0)return{};const e={};return Object.keys(t).filter(r=>!(r.match(/^on[A-Z]/)&&typeof t[r]=="function")).forEach(r=>{e[r]=t[r]}),e}function w7(t){const{getSlotProps:e,additionalProps:r,externalSlotProps:n,externalForwardedProps:a,className:o}=t;if(!e){const p=P(r==null?void 0:r.className,o,a==null?void 0:a.className,n==null?void 0:n.className),_={...r==null?void 0:r.style,...a==null?void 0:a.style,...n==null?void 0:n.style},C={...r,...a,...n};return p.length>0&&(C.className=p),Object.keys(_).length>0&&(C.style=_),{props:C,internalRef:void 0}}const s=Ne({...a,...n}),l=Ja(n),c=Ja(a),u=e(s),d=P(u==null?void 0:u.className,r==null?void 0:r.className,o,a==null?void 0:a.className,n==null?void 0:n.className),f={...u==null?void 0:u.style,...r==null?void 0:r.style,...a==null?void 0:a.style,...n==null?void 0:n.style},h={...u,...r,...c,...l};return d.length>0&&(h.className=d),Object.keys(f).length>0&&(h.style=f),{props:h,internalRef:u.ref}}function b7(t,e,r){return typeof t=="function"?t(e,r):t}function ut(t){var f;const{elementType:e,externalSlotProps:r,ownerState:n,skipResolvingSlotProps:a=!1,...o}=t,s=a?{}:b7(r,n),{props:l,internalRef:c}=w7({...o,externalSlotProps:s}),u=Re(c,s==null?void 0:s.ref,(f=t.additionalProps)==null?void 0:f.ref);return _7(e,{...l,ref:u},n)}var xn={exports:{}};/*
|
|
100
|
+
`)});const l=e.nonTextTags||["script","style","textarea","option"];let c,u;e.allowedAttributes&&(c={},u={},p1(e.allowedAttributes,function(L,V){c[V]=[];const S=[];L.forEach(function(N){typeof N=="string"&&N.indexOf("*")>=0?S.push(Ua(N).replace(/\\\*/g,".*")):c[V].push(N)}),S.length&&(u[V]=new RegExp("^("+S.join("|")+")$"))}));const d={},f={},h={};p1(e.allowedClasses,function(L,V){if(c&&(rt(c,V)||(c[V]=[]),c[V].push("class")),d[V]=L,Array.isArray(L)){const S=[];d[V]=[],h[V]=[],L.forEach(function(N){typeof N=="string"&&N.indexOf("*")>=0?S.push(Ua(N).replace(/\\\*/g,".*")):N instanceof RegExp?h[V].push(N):d[V].push(N)}),S.length&&(f[V]=new RegExp("^("+S.join("|")+")$"))}});const p={};let _;p1(e.transformTags,function(L,V){let S;typeof L=="function"?S=L:typeof L=="string"&&(S=w2.simpleTransform(L)),V==="*"?_=S:p[V]=S});let C,v,w,x,b,M,R=!1;B();const T=new K8.Parser({onopentag:function(L,V){if(e.onOpenTag&&e.onOpenTag(L,V),e.enforceHtmlBoundary&&L==="html"&&B(),b){M++;return}const S=new o(L,V);v.push(S);let N=!1;const ee=!!S.text;let A;if(rt(p,L)&&(A=p[L](L,V),S.attribs=V=A.attribs,A.text!==void 0&&(S.innerText=A.text),L!==A.tagName&&(S.name=L=A.tagName,x[C]=A.tagName)),_&&(A=_(L,V),S.attribs=V=A.attribs,L!==A.tagName&&(S.name=L=A.tagName,x[C]=A.tagName)),(!s(L)||e.disallowedTagsMode==="recursiveEscape"&&!t7(w)||e.nestingLimit!=null&&C>=e.nestingLimit)&&(N=!0,w[C]=!0,(e.disallowedTagsMode==="discard"||e.disallowedTagsMode==="completelyDiscard")&&l.indexOf(L)!==-1&&(b=!0,M=1)),C++,N){if(e.disallowedTagsMode==="discard"||e.disallowedTagsMode==="completelyDiscard"){if(S.innerText&&!ee){const O=z(S.innerText);e.textFilter?n+=e.textFilter(O,L):n+=O,R=!0}return}a=n,n=""}n+="<"+L,L==="script"&&(e.allowedScriptHostnames||e.allowedScriptDomains)&&(S.innerText=""),N&&(e.disallowedTagsMode==="escape"||e.disallowedTagsMode==="recursiveEscape")&&e.preserveEscapedAttributes?p1(V,function(O,H){n+=" "+H+'="'+z(O||"",!0)+'"'}):(!c||rt(c,L)||c["*"])&&p1(V,function(O,H){if(!i7.test(H)){delete S.attribs[H];return}if(O===""&&!e.allowedEmptyAttributes.includes(H)&&(e.nonBooleanAttributes.includes(H)||e.nonBooleanAttributes.includes("*"))){delete S.attribs[H];return}let te=!1;if(!c||rt(c,L)&&c[L].indexOf(H)!==-1||c["*"]&&c["*"].indexOf(H)!==-1||rt(u,L)&&u[L].test(H)||u["*"]&&u["*"].test(H))te=!0;else if(c&&c[L]){for(const U of c[L])if(X8(U)&&U.name&&U.name===H){te=!0;let $="";if(U.multiple===!0){const Z=O.split(" ");for(const G of Z)U.values.indexOf(G)!==-1&&($===""?$=G:$+=" "+G)}else U.values.indexOf(O)>=0&&($=O);O=$}}if(te){if(e.allowedSchemesAppliedToAttributes.indexOf(H)!==-1&&F(L,O)){delete S.attribs[H];return}if(L==="script"&&H==="src"){let U=!0;try{const $=W(O);if(e.allowedScriptHostnames||e.allowedScriptDomains){const Z=(e.allowedScriptHostnames||[]).find(function(K){return K===$.url.hostname}),G=(e.allowedScriptDomains||[]).find(function(K){return $.url.hostname===K||$.url.hostname.endsWith(`.${K}`)});U=Z||G}}catch{U=!1}if(!U){delete S.attribs[H];return}}if(L==="iframe"&&H==="src"){let U=!0;try{const $=W(O);if($.isRelativeUrl)U=rt(e,"allowIframeRelativeUrls")?e.allowIframeRelativeUrls:!e.allowedIframeHostnames&&!e.allowedIframeDomains;else if(e.allowedIframeHostnames||e.allowedIframeDomains){const Z=(e.allowedIframeHostnames||[]).find(function(K){return K===$.url.hostname}),G=(e.allowedIframeDomains||[]).find(function(K){return $.url.hostname===K||$.url.hostname.endsWith(`.${K}`)});U=Z||G}}catch{U=!1}if(!U){delete S.attribs[H];return}}if(H==="srcset")try{let U=Y8(O);if(U.forEach(function($){F("srcset",$.url)&&($.evil=!0)}),U=Ka(U,function($){return!$.evil}),U.length)O=r7(Ka(U,function($){return!$.evil})),S.attribs[H]=O;else{delete S.attribs[H];return}}catch{delete S.attribs[H];return}if(H==="class"){const U=d[L],$=d["*"],Z=f[L],G=h[L],K=h["*"],pe=f["*"],ge=[Z,pe].concat(G,K).filter(function(mt){return mt});if(U&&$?O=I(O,Ga(U,$),ge):O=I(O,U||$,ge),!O.length){delete S.attribs[H];return}}if(H==="style"){if(e.parseStyleAttributes)try{const U=Q8(L+" {"+O+"}",{map:!1}),$=y(U,e.allowedStyles);if(O=E($),O.length===0){delete S.attribs[H];return}}catch{typeof window<"u"&&console.warn('Failed to parse "'+L+" {"+O+`}", If you're running this in a browser, we recommend to disable style parsing: options.parseStyleAttributes: false, since this only works in a node environment due to a postcss dependency, More info: https://github.com/apostrophecms/sanitize-html/issues/547`),delete S.attribs[H];return}else if(e.allowedStyles)throw new Error("allowedStyles option cannot be used together with parseStyleAttributes: false.")}n+=" "+H,O&&O.length?n+='="'+z(O,!0)+'"':e.allowedEmptyAttributes.includes(H)&&(n+='=""')}else delete S.attribs[H]}),e.selfClosing.indexOf(L)!==-1?n+=" />":(n+=">",S.innerText&&!ee&&!e.textFilter&&(n+=z(S.innerText),R=!0)),N&&(n=a+z(n),a=""),S.openingTagLength=n.length-S.tagPosition},ontext:function(L){if(b)return;const V=v[v.length-1];let S;if(V&&(S=V.tag,L=V.innerText!==void 0?V.innerText:L),e.disallowedTagsMode==="completelyDiscard"&&!s(S))L="";else if((e.disallowedTagsMode==="discard"||e.disallowedTagsMode==="completelyDiscard")&&(S==="script"||S==="style"))n+=L;else if(!R){const N=z(L,!1);e.textFilter?n+=e.textFilter(N,S):n+=N}if(v.length){const N=v[v.length-1];N.text+=L}},onclosetag:function(L,V){if(e.onCloseTag&&e.onCloseTag(L,V),b)if(M--,!M)b=!1;else return;const S=v.pop();if(!S)return;if(S.tag!==L){v.push(S);return}b=e.enforceHtmlBoundary?L==="html":!1,C--;const N=w[C];if(N){if(delete w[C],e.disallowedTagsMode==="discard"||e.disallowedTagsMode==="completelyDiscard"){S.updateParentNodeText();return}a=n,n=""}if(x[C]&&(L=x[C],delete x[C]),e.exclusiveFilter){const ee=e.exclusiveFilter(S);if(ee==="excludeTag"){N&&(n=a,a=""),n=n.substring(0,S.tagPosition)+n.substring(S.tagPosition+S.openingTagLength);return}else if(ee){n=n.substring(0,S.tagPosition);return}}if(S.updateParentNodeMediaChildren(),S.updateParentNodeText(),e.selfClosing.indexOf(L)!==-1||V&&!s(L)&&["escape","recursiveEscape"].indexOf(e.disallowedTagsMode)>=0){N&&(n=a,a="");return}n+="</"+L+">",N&&(n=a+z(n),a=""),R=!1}},e.parser);return T.write(t),T.end(),n;function B(){n="",C=0,v=[],w={},x={},b=!1,M=0}function z(L,V){return typeof L!="string"&&(L=L+""),e.parser.decodeEntities&&(L=L.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">"),V&&(L=L.replace(/"/g,"""))),L=L.replace(/&(?![a-zA-Z0-9#]{1,20};)/g,"&").replace(/</g,"<").replace(/>/g,">"),V&&(L=L.replace(/"/g,""")),L}function F(L,V){for(V=V.replace(/[\x00-\x20]+/g,"");;){const ee=V.indexOf("<!--");if(ee===-1)break;const A=V.indexOf("-->",ee+4);if(A===-1)break;V=V.substring(0,ee)+V.substring(A+3)}const S=V.match(/^([a-zA-Z][a-zA-Z0-9.\-+]*):/);if(!S)return V.match(/^[/\\]{2}/)?!e.allowProtocolRelative:!1;const N=S[1].toLowerCase();return rt(e.allowedSchemesByTag,L)?e.allowedSchemesByTag[L].indexOf(N)===-1:!e.allowedSchemes||e.allowedSchemes.indexOf(N)===-1}function W(L){if(L=L.replace(/^(\w+:)?\s*[\\/]\s*[\\/]/,"$1//"),L.startsWith("relative:"))throw new Error("relative: exploit attempt");let V="relative://relative-site";for(let ee=0;ee<100;ee++)V+=`/${ee}`;const S=new URL(L,V);return{isRelativeUrl:S&&S.hostname==="relative-site"&&S.protocol==="relative:",url:S}}function y(L,V){if(!V)return L;const S=L.nodes[0];let N;return V[S.selector]&&V["*"]?N=Ga(V[S.selector],V["*"]):N=V[S.selector]||V["*"],N&&(L.nodes[0].nodes=S.nodes.reduce(q(N),[])),L}function E(L){return L.nodes[0].nodes.reduce(function(V,S){return V.push(`${S.prop}:${S.value}${S.important?" !important":""}`),V},[]).join(";")}function q(L){return function(V,S){return rt(L,S.prop)&&L[S.prop].some(function(ee){return ee.test(S.value)})&&V.push(S),V}}function I(L,V,S){return V?(L=L.split(/\s+/),L.filter(function(N){return V.indexOf(N)!==-1||S.some(function(ee){return ee.test(N)})}).join(" ")):L}}const a7={decodeEntities:!0};w2.defaults={allowedTags:["address","article","aside","footer","header","h1","h2","h3","h4","h5","h6","hgroup","main","nav","section","blockquote","dd","div","dl","dt","figcaption","figure","hr","li","menu","ol","p","pre","ul","a","abbr","b","bdi","bdo","br","cite","code","data","dfn","em","i","kbd","mark","q","rb","rp","rt","rtc","ruby","s","samp","small","span","strong","sub","sup","time","u","var","wbr","caption","col","colgroup","table","tbody","td","tfoot","th","thead","tr"],nonBooleanAttributes:["abbr","accept","accept-charset","accesskey","action","allow","alt","as","autocapitalize","autocomplete","blocking","charset","cite","class","color","cols","colspan","content","contenteditable","coords","crossorigin","data","datetime","decoding","dir","dirname","download","draggable","enctype","enterkeyhint","fetchpriority","for","form","formaction","formenctype","formmethod","formtarget","headers","height","hidden","high","href","hreflang","http-equiv","id","imagesizes","imagesrcset","inputmode","integrity","is","itemid","itemprop","itemref","itemtype","kind","label","lang","list","loading","low","max","maxlength","media","method","min","minlength","name","nonce","optimum","pattern","ping","placeholder","popover","popovertarget","popovertargetaction","poster","preload","referrerpolicy","rel","rows","rowspan","sandbox","scope","shape","size","sizes","slot","span","spellcheck","src","srcdoc","srclang","srcset","start","step","style","tabindex","target","title","translate","type","usemap","value","width","wrap","onauxclick","onafterprint","onbeforematch","onbeforeprint","onbeforeunload","onbeforetoggle","onblur","oncancel","oncanplay","oncanplaythrough","onchange","onclick","onclose","oncontextlost","oncontextmenu","oncontextrestored","oncopy","oncuechange","oncut","ondblclick","ondrag","ondragend","ondragenter","ondragleave","ondragover","ondragstart","ondrop","ondurationchange","onemptied","onended","onerror","onfocus","onformdata","onhashchange","oninput","oninvalid","onkeydown","onkeypress","onkeyup","onlanguagechange","onload","onloadeddata","onloadedmetadata","onloadstart","onmessage","onmessageerror","onmousedown","onmouseenter","onmouseleave","onmousemove","onmouseout","onmouseover","onmouseup","onoffline","ononline","onpagehide","onpageshow","onpaste","onpause","onplay","onplaying","onpopstate","onprogress","onratechange","onreset","onresize","onrejectionhandled","onscroll","onscrollend","onsecuritypolicyviolation","onseeked","onseeking","onselect","onslotchange","onstalled","onstorage","onsubmit","onsuspend","ontimeupdate","ontoggle","onunhandledrejection","onunload","onvolumechange","onwaiting","onwheel"],disallowedTagsMode:"discard",allowedAttributes:{a:["href","name","target"],img:["src","srcset","alt","title","width","height","loading"]},allowedEmptyAttributes:["alt"],selfClosing:["img","br","hr","area","base","basefont","input","link","meta"],allowedSchemes:["http","https","ftp","mailto","tel"],allowedSchemesByTag:{},allowedSchemesAppliedToAttributes:["href","src","cite"],allowProtocolRelative:!0,enforceHtmlBoundary:!1,parseStyleAttributes:!0,preserveEscapedAttributes:!1};w2.simpleTransform=function(t,e,r){return r=r===void 0?!0:r,e=e||{},function(n,a){let o;if(r)for(o in e)a[o]=e[o];else a=e;return{tagName:t,attribs:a}}};const o7=q1(n7),s7="_markdown_1ek7s_146",Xa={markdown:s7,"markdown--external-links":"_markdown--external-links_1ek7s_161"},l7={allowedAttributes:{a:["href","target"]},allowedTags:["a","strong","br","p"]};function R4({className:t,disableAutolinks:e=!1,elementTag:r="span",inline:n=!1,isExternalLinksIcon:a,text:o}){const s=r,l=e?f=>{const h=f.raw,p=f.type==="link"?f.href:"",_=/\[.*\]\(.*\)/.test(h);if(!(f.type==="autolink"||f.type==="link"&&p&&/^(?:mailto:|https?:|www\.)/.test(p)&&!_))return;const v=String(f.text??(p?p.replace(/^mailto:/,""):h.replace(/^<|>$/g,"")));f.type="text",f.raw=v,f.text=v,delete f.href,delete f.title,delete f.tokens}:void 0,c={breaks:!0,...l&&{walkTokens:l}},u=n?ae.parseInline(o,c):ae.parse(o,c),d=o7(u,l7);return m.jsx(s,{className:P(Xa.markdown,{[Xa["markdown--external-links"]]:a},t),dangerouslySetInnerHTML:{__html:d}})}const Ya={"react-datepicker":"_react-datepicker_elfhm_116","react-datepicker__day-names":"_react-datepicker__day-names_elfhm_119","react-datepicker__week":"_react-datepicker__week_elfhm_123","react-datepicker__day--outside-month":"_react-datepicker__day--outside-month_elfhm_130","react-datepicker__time-container":"_react-datepicker__time-container_elfhm_139","react-datepicker__time":"_react-datepicker__time_elfhm_139","react-datepicker__time-box":"_react-datepicker__time-box_elfhm_142","typography-landing--claim":"_typography-landing--claim_elfhm_146","typography-landing--claim-uppercase":"_typography-landing--claim-uppercase_elfhm_187","typography-landing--h1":"_typography-landing--h1_elfhm_228","typography-landing--h1-uppercase":"_typography-landing--h1-uppercase_elfhm_269","typography-landing--h2":"_typography-landing--h2_elfhm_310","typography-landing--h2-uppercase":"_typography-landing--h2-uppercase_elfhm_351","typography-landing--h3":"_typography-landing--h3_elfhm_392","typography-landing--h4":"_typography-landing--h4_elfhm_433","typography-landing--h5":"_typography-landing--h5_elfhm_474","typography-landing--h6":"_typography-landing--h6_elfhm_515","typography-landing--overline":"_typography-landing--overline_elfhm_556","typography-landing--body-large":"_typography-landing--body-large_elfhm_596","typography-landing--body-large-semibold":"_typography-landing--body-large-semibold_elfhm_636","typography-landing--body":"_typography-landing--body_elfhm_596","typography-landing--body-semibold":"_typography-landing--body-semibold_elfhm_716","typography-landing--body-small":"_typography-landing--body-small_elfhm_756","typography-landing--body-small-semibold":"_typography-landing--body-small-semibold_elfhm_796","typography-landing--body-small-italic":"_typography-landing--body-small-italic_elfhm_836","typography-landing--body-italic":"_typography-landing--body-italic_elfhm_876","typography-landing--body-large-italic":"_typography-landing--body-large-italic_elfhm_916","typography-landing--quote-large":"_typography-landing--quote-large_elfhm_956","typography-landing--detail-small":"_typography-landing--detail-small_elfhm_968","typography-landing--detail-small-bold":"_typography-landing--detail-small-bold_elfhm_980","typography-landing":"_typography-landing_elfhm_146","typography-product":"_typography-product_elfhm_1010","typography-product--h1":"_typography-product--h1_elfhm_1022","typography-product--h2":"_typography-product--h2_elfhm_1034","typography-product--h3":"_typography-product--h3_elfhm_1046","typography-product--h4":"_typography-product--h4_elfhm_1058","typography-product--h5":"_typography-product--h5_elfhm_1070","typography-product--h6":"_typography-product--h6_elfhm_1082","typography-product--h7":"_typography-product--h7_elfhm_1094","typography-product--h8":"_typography-product--h8_elfhm_1106","typography-product--body-large":"_typography-product--body-large_elfhm_1118","typography-product--body-regular":"_typography-product--body-regular_elfhm_1142","typography-product--body-semibold":"_typography-product--body-semibold_elfhm_1166","typography-product--body-italic":"_typography-product--body-italic_elfhm_1190","typography-product--body-text-link":"_typography-product--body-text-link_elfhm_1215","typography-product--detail-medium":"_typography-product--detail-medium_elfhm_1227","typography-product--detail-bold":"_typography-product--detail-bold_elfhm_1251","typography-product--detail-upper-case":"_typography-product--detail-upper-case_elfhm_1275","typography-product--detail-regular":"_typography-product--detail-regular_elfhm_1299","typography-product--detail-text-link":"_typography-product--detail-text-link_elfhm_1323"};function c7(t){switch(t){case"h1":case"h1-uppercase":return"h1";case"h2":case"claim":case"claim-uppercase":return"h2";case"h3":case"h4":case"h5":return t;case"h6":case"overline":return"h6";default:return"span"}}const j=t=>{const{as:e,children:r,className:n,fontSet:a="product",markdown:o=a==="landing",markdownInline:s=!0,disableAutolinks:l,type:c}=t,u=e||c7(c),d=P(Ya[`typography-${a}`],Ya[`typography-${a}--${c}`],n);return m.jsx(m.Fragment,{children:typeof r=="string"&&o?m.jsx(R4,{className:d,text:r,inline:s,elementTag:u,isExternalLinksIcon:a==="landing",disableAutolinks:l}):m.jsx(u,{className:d,"data-testid":t["data-testid"],children:r})})},u7="_heading_q3ile_146",d7="_title_q3ile_160",h7="_icon_q3ile_176",f7="_iconExpanded_q3ile_183",p7="_panel_q3ile_192",Pt={"react-datepicker":"_react-datepicker_q3ile_116","react-datepicker__day-names":"_react-datepicker__day-names_q3ile_119","react-datepicker__week":"_react-datepicker__week_q3ile_123","react-datepicker__day--outside-month":"_react-datepicker__day--outside-month_q3ile_130","react-datepicker__time-container":"_react-datepicker__time-container_q3ile_139","react-datepicker__time":"_react-datepicker__time_q3ile_139","react-datepicker__time-box":"_react-datepicker__time-box_q3ile_142",heading:u7,"accordionItem--large":"_accordionItem--large_q3ile_157",title:d7,"heading--hideBorder":"_heading--hideBorder_q3ile_172",icon:h7,iconExpanded:f7,panel:p7},m7=({accordionBtnClassName:t,accordionPanelClassName:e,children:r,handleClick:n,hideBorder:a,id:o,opened:s,size:l,title:c})=>{const[u,d]=g.useState(s||!1);g.useEffect(()=>{d(s||!1)},[s]);const f=()=>{n?n():d(h=>!h)};return m.jsxs("div",{className:Pt[`accordionItem--${l}`],children:[m.jsxs("button",{id:`accordion-header-${o}`,className:P(Pt.heading,t,{[Pt["heading--hideBorder"]]:a}),"aria-expanded":u,"aria-controls":`accordion-panel-${o}`,"data-expanded":u,onClick:f,children:[m.jsx(j,{type:"body-regular",as:"h3",className:Pt.title,"data-expanded":u,children:c}),m.jsx(ne,{name:"chevron_down",size:"24",className:P(Pt.icon,{[Pt.iconExpanded]:u})})]}),m.jsx("div",{id:`accordion-panel-${o}`,className:P(Pt.panel,e),"data-expanded":u,"aria-labelledby":`accordion-header-${o}`,hidden:!u,children:r})]})};function g7(t){return typeof t=="string"}function _7(t,e,r){return t===void 0||g7(t)?e:{...e,ownerState:{...e.ownerState,...r}}}function Qa(t,e,r=(n,a)=>n===a){return t.length===e.length&&t.every((n,a)=>r(n,e[a]))}const v7={disableDefaultClasses:!1},q4=i.createContext(v7);process.env.NODE_ENV!=="production"&&(q4.displayName="ClassNameConfiguratorContext");function Jt(t){const{disableDefaultClasses:e}=i.useContext(q4);return r=>e?"":t(r)}function Ne(t,e=[]){if(t===void 0)return{};const r={};return Object.keys(t).filter(n=>n.match(/^on[A-Z]/)&&typeof t[n]=="function"&&!e.includes(n)).forEach(n=>{r[n]=t[n]}),r}function C7(t){const{rootElementName:e="",componentName:r}=t,[n,a]=i.useState(e.toUpperCase());process.env.NODE_ENV!=="production"&&i.useEffect(()=>{e&&n!==e.toUpperCase()&&console.error(`useRootElementName: the \`rootElementName\` prop of ${r?`the ${r} component`:"a component"} expected the '${e}' element, but a '${n.toLowerCase()}' was rendered instead`,"This may cause hydration issues in an SSR context, for example in a Next.js app")},[e,n,r]);const o=i.useCallback(s=>{a((s==null?void 0:s.tagName)??"")},[]);return[n,o]}function Re(...t){const e=i.useRef(void 0),r=i.useCallback(n=>{const a=t.map(o=>{if(o==null)return null;if(typeof o=="function"){const s=o,l=s(n);return typeof l=="function"?l:()=>{s(null)}}return o.current=n,()=>{o.current=null}});return()=>{a.forEach(o=>o==null?void 0:o())}},t);return i.useMemo(()=>t.every(n=>n==null)?null:n=>{e.current&&(e.current(),e.current=void 0),n!=null&&(e.current=r(n))},t)}function Ja(t){if(t===void 0)return{};const e={};return Object.keys(t).filter(r=>!(r.match(/^on[A-Z]/)&&typeof t[r]=="function")).forEach(r=>{e[r]=t[r]}),e}function w7(t){const{getSlotProps:e,additionalProps:r,externalSlotProps:n,externalForwardedProps:a,className:o}=t;if(!e){const p=P(r==null?void 0:r.className,o,a==null?void 0:a.className,n==null?void 0:n.className),_={...r==null?void 0:r.style,...a==null?void 0:a.style,...n==null?void 0:n.style},C={...r,...a,...n};return p.length>0&&(C.className=p),Object.keys(_).length>0&&(C.style=_),{props:C,internalRef:void 0}}const s=Ne({...a,...n}),l=Ja(n),c=Ja(a),u=e(s),d=P(u==null?void 0:u.className,r==null?void 0:r.className,o,a==null?void 0:a.className,n==null?void 0:n.className),f={...u==null?void 0:u.style,...r==null?void 0:r.style,...a==null?void 0:a.style,...n==null?void 0:n.style},h={...u,...r,...c,...l};return d.length>0&&(h.className=d),Object.keys(f).length>0&&(h.style=f),{props:h,internalRef:u.ref}}function b7(t,e,r){return typeof t=="function"?t(e,r):t}function ut(t){var f;const{elementType:e,externalSlotProps:r,ownerState:n,skipResolvingSlotProps:a=!1,...o}=t,s=a?{}:b7(r,n),{props:l,internalRef:c}=w7({...o,externalSlotProps:s}),u=Re(c,s==null?void 0:s.ref,(f=t.additionalProps)==null?void 0:f.ref);return _7(e,{...l,ref:u},n)}var xn={exports:{}};/*
|
|
101
101
|
object-assign
|
|
102
102
|
(c) Sindre Sorhus
|
|
103
103
|
@license MIT
|
package/index.mjs
CHANGED
|
@@ -6800,7 +6800,7 @@ const v7 = /* @__PURE__ */ z1(m7), C7 = "_markdown_1ek7s_146", i3 = {
|
|
|
6800
6800
|
allowedAttributes: {
|
|
6801
6801
|
a: ["href", "target"]
|
|
6802
6802
|
},
|
|
6803
|
-
allowedTags: ["a", "strong"]
|
|
6803
|
+
allowedTags: ["a", "strong", "br", "p"]
|
|
6804
6804
|
};
|
|
6805
6805
|
function w7({
|
|
6806
6806
|
className: t,
|