1import{n as e,t}from"./rolldown-runtime.Bh1tDfsg.js";import{B as n,Bn as r,C as i,E as a,F as o,G as s,H as c,K as l,L as u,Ln as d,M as ee,N as te,Nn as ne,O as f,P as p,Rn as m,S as re,T as h,V as g,W as _,Wn as v,Yn as ie,a as ae,c as oe,k as se,m as y,n as ce,q as le,s as ue,w as de,x as fe,zn as b}from"./AppProviders.D3PpWFNS.js";var x=v(),S=e(ie(),1);function C(e,t){let n=0;return()=>{let r=Date.now();r-n>=t&&(e(),n=r)}}function pe(e=1e3*60){let[t,n]=S.useState(!1);return S.useEffect(()=>{let t,r=()=>{n(!0)},i=C(i=>{n(!1),window.clearTimeout(t),t=window.setTimeout(r,e)},500),a=()=>{document.hidden||i()};return t=window.setTimeout(r,e),window.addEventListener(`mousemove`,i),window.addEventListener(`mousedown`,i),window.addEventListener(`resize`,i),window.addEventListener(`keydown`,i),window.addEventListener(`touchstart`,i),window.addEventListener(`wheel`,i),document.addEventListener(`visibilitychange`,a),()=>{window.removeEventListener(`mousemove`,i),window.removeEventListener(`mousedown`,i),window.removeEventListener(`resize`,i),window.removeEventListener(`keydown`,i),window.removeEventListener(`touchstart`,i),window.removeEventListener(`wheel`,i),document.removeEventListener(`visibilitychange`,a),window.clearTimeout(t)}},[e]),t}function me(e={}){let{threshold:t=1,root:n=null,rootMargin:r=`0px`}=e,[i,a]=S.useState(null),o=S.useRef(null);return[S.useCallback(e=>{if(o.current&&=(o.current.disconnect(),null),e?.nodeType===Node.ELEMENT_NODE){let i=new IntersectionObserver(([e])=>{a(e)},{threshold:t,root:n,rootMargin:r});i.observe(e),o.current=i}},[t,n,r]),i]}function he(){let e=S.useRef(!0);return e.current===!0?(e.current=!1,!0):e.current}function ge(e){let t=S.useCallback(t=>{let n=window.matchMedia(e);return n.addEventListener(`change`,t),()=>{n.removeEventListener(`change`,t)}},[e]);return S.useSyncExternalStore(t,()=>window.matchMedia(e).matches,()=>{throw Error(`useMediaQuery is a client-only hook`)})}function _e({children:e,className:t,...n}){return(0,x.jsx)(de,{className:_(`text-xl px-012 py-010 font-bold leading-7`,t),...n,children:e})}function ve(e){window.dispatchEvent(new CustomEvent(`evoniksearch`,{detail:e}))}function ye(e,t){let[n,r]=d(u),i=m(p),a=m(f);return(0,S.useEffect)(()=>{if(!t)return;let o=t.summary.totalHits;if(!n)return;let s={searchTerm:i,searchType:e,searchResultCount:o,searchFilter:{selectedFilters:xe(a)}};n.type===`search`?ve({event:o===0?`nullsearch`:`search`,searchInfo:s}):ve({event:n.eventType,searchInfo:s}),r(void 0)},[t]),(n,r)=>{ve({event:`searchResultClickThrough`,searchInfo:{resultTitle:y(n),searchType:e,searchTerm:i,searchResultCount:t?.summary.totalPages??0,productId:r,searchFilter:{selectedFilters:xe(a)}}})}}function be(){let e=b(u),t=he();return(n,r=[])=>{t||n.length===0&&r.length===0||e({type:`filter`,eventType:new Set(n).difference(new Set(r)).size>0?`filterActivated`:`filterDeactivated`})}}function xe(e){return Object.entries(e).map(([e,t])=>({categories:e,filterNames:!t||t.length===0?[null]:t}))}var w=(0,S.createContext)(null),Se={didCatch:!1,error:null},T=class extends S.Component{constructor(e){super(e),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=Se}static getDerivedStateFromError(e){return{didCatch:!0,error:e}}resetErrorBoundary(...e){let{error:t}=this.state;t!==null&&(this.props.onReset?.({args:e,reason:`imperative-api`}),this.setState(Se))}componentDidCatch(e,t){this.props.onError?.(e,t)}componentDidUpdate(e,t){let{didCatch:n}=this.state,{resetKeys:r}=this.props;n&&t.error!==null&&Ce(e.resetKeys,r)&&(this.props.onReset?.({next:r,prev:e.resetKeys,reason:`keys`}),this.setState(Se))}render(){let{children:e,fallbackRender:t,FallbackComponent:n,fallback:r}=this.props,{didCatch:i,error:a}=this.state,o=e;if(i){let e={error:a,resetErrorBoundary:this.resetErrorBoundary};if(typeof t==`function`)o=t(e);else if(n)o=(0,S.createElement)(n,e);else if(r!==void 0)o=r;else throw a}return(0,S.createElement)(w.Provider,{value:{didCatch:i,error:a,resetErrorBoundary:this.resetErrorBoundary}},o)}};function Ce(e=[],t=[]){return e.length!==t.length||e.some((e,n)=>!Object.is(e,t[n]))}var E=t((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.portal`),r=Symbol.for(`react.fragment`),i=Symbol.for(`react.strict_mode`),a=Symbol.for(`react.profiler`),o=Symbol.for(`react.consumer`),s=Symbol.for(`react.context`),c=Symbol.for(`react.forward_ref`),l=Symbol.for(`react.suspense`),u=Symbol.for(`react.suspense_list`),d=Symbol.for(`react.memo`),ee=Symbol.for(`react.lazy`),te=Symbol.for(`react.view_transition`);function ne(e){if(typeof e==`object`&&e){var ne=e.$$typeof;switch(ne){case t:switch(e=e.type,e){case r:case a:case i:case l:case u:case te:return e;default:switch(e&&=e.$$typeof,e){case s:case c:case ee:case d:return e;case o:return e;default:return ne}}case n:return ne}}}e.isFragment=function(e){return ne(e)===r}})),we=t(((e,t)=>{t.exports=E()}))();function Te(e){return(0,we.isFragment)(e)}function D(e,t=0,n=[]){return S.Children.toArray(e).reduce((e,r,i)=>(Te(r)?e.push.apply(e,D(r.props.children,t+1,n.concat(r.key||i))):(0,S.isValidElement)(r)?e.push((0,S.cloneElement)(r,{key:n.concat(String(r.key)).join(`.`)})):(typeof r==`string`||typeof r==`number`||typeof r==`bigint`)&&e.push(r),e),[])}function O({children:e,icon:t,className:n=`gap-020 p-032`}){return(0,x.jsxs)(`div`,{className:_(`flex items-center bg-color-warmgrey-40`,n),children:[(0,x.jsx)(`div`,{className:`leading-none`,children:t??(0,x.jsx)(Ee,{})}),(0,x.jsx)(`div`,{children:e})]})}function Ee({className:e=`text-40`}){return(0,x.jsx)(h,{icon:`icon-cancel`,className:_(`text-color-primary`,e)})}function k({children:e,className:t=`text-20 tablet:text-28`}){return(0,x.jsx)(`p`,{className:_(`whitespace-pre-line`,t),children:e})}function De(e,t){let n=S.useRef(null);S.useEffect(()=>
1{if(e.current)return n.current=new ResizeObserver(t),n.current.observe(e.current),()=>{n.current?.disconnect()}},[e])}function A(e){let[t,n]=(0,S.useState)({width:0,height:0});function r(){if(!e.current)return;let{width:t,height:r}=e.current.getBoundingClientRect();n({width:t,height:r})}return(0,S.useEffect)(()=>{r()},[]),De(e,r),t}var Oe=r(Math.random());function j(){let e=b(p),t=b(f),r=b(a),i=b(te),s=b(n),c=b(o),[l,u]=d(Oe);return[()=>{e(``),r(!1),t({}),i(e=>({...e,page:0})),s({}),u(Math.random()),c()},l]}function ke({children:e,filter:t,additionalFilter:n,onReset:r,initialVisibleFilter:i,fullHeight:a}){let[o,s]=d(p),c=b(u),[l,ee]=(0,S.useState)(o??``),[te,ne]=j();function f(){te(),r?.()}function m(){c({type:`search`,term:l||null}),s(l)}function re(){s(null)}return(0,S.useEffect)(()=>{ee(o??``)},[o]),(0,x.jsxs)(`div`,{className:_(`search-frame flex scroll-mt-020 flex-col gap-016 tablet:gap-032 2 desktop:gap-040`,{"desktop:h-full desktop:overflow-y-auto":a}),children:[(0,x.jsxs)(`div`,{className:`grid gap-028 laptop:grid-cols-2`,children:[(0,x.jsx)(fe,{value:l,setValue:ee,onSubmit:m,onCancel:re,label:`Search query`,placeholder:`Search within results`}),n]}),(0,x.jsx)(Ae,{onReset:f,initialVisibleFilter:i,children:t},ne),(0,x.jsx)(`div`,{children:e})]})}function Ae({children:e,onReset:t,initialVisibleFilter:n=4}){let r=(0,S.useRef)(null),{height:i}=A(r),[a,o]=(0,S.useState)(!1),s=m(se),c=D(e),l=c.length>n,u=a||!l?c:c.slice(0,n-1);return(0,x.jsxs)(`div`,{className:`flex w-full flex-col gap-020 tablet:flex-row 3 tablet:flex-wrap tablet:items-start`,ref:r,children:[(0,x.jsxs)(T,{fallback:(0,x.jsxs)(O,{className:`mr-auto gap-010 p-012`,icon:(0,x.jsx)(Ee,{className:`text-28`}),children:[(0,x.jsx)(k,{className:`text-18 font-medium`,children:`Unknown error`}),(0,x.jsx)(`p`,{className:`mt-04 text-14`,children:`Something went wrong, please reset filters or try again later.`})]}),children:[u,l&&(0,x.jsxs)(_e,{onClick:()=>o(!a),className:`relative`,children:[a?`Less filters`:`More filters`,!a&&(0,x.jsx)(je,{hiddenChildren:c.slice(n-1)})]})]}),(0,x.jsx)(_e,{onClick:t,disabled:!s,className:_({"tablet:ml-auto":i<50}),children:`Reset all filters`})]})}function je({hiddenChildren:e}){let t=m(f),n=m(ee);return Me(e).filter(e=>(t[e]??[]).length>0||e===`languages`&&n.length>0).length>0&&(0,x.jsx)(`span`,{className:_(`absolute left-04 top-04 size-08 rounded-full 4 bg-color-white`),children:(0,x.jsx)(`span`,{className:`sr-only`,children:`Active filters hidden`})})}function Me(e){let t=[];for(let n of e)if((0,S.isValidElement)(n)){if(n.props.facetKey){t.push(n.props.facetKey);continue}if(n.type.facetKey){t.push(n.type.facetKey);continue}n.props.children&&t.push(...Me(n.props.children))}return t}function M({totalPages:e=0,isLoading:t}){let[n,r]=d(te),a=e===0?`Page 0 of 0`:`Page ${n.page+1} of ${e}`,o=n.page===0,s=n.page===e-1;return(0,x.jsx)(x.Fragment,{children:(0,x.jsxs)(`div`,{className:`flex items-center`,children:[!t&&(0,x.jsx)(`div`,{className:`text-18 font-medium`,children:a}),(0,x.jsxs)(`div`,{className:`ml-auto flex gap-020`,children:[(0,x.jsx)(i,{icon:`icon-chevron_left`,disabled:o,onClick:()=>r({size:n.size,page:n.page-1}),label:`Previous Page`,sizeClassName:`w-040`}),(0,x.jsx)(i,{icon:`icon-chevron_right`,disabled:s||e===0,onClick:()=>r({size:n.size,page:n.page+1}),label:`Next Page`,sizeClassName:`w-040`})]})]})})}var Ne=e=>{window.dispatchEvent(new CustomEvent(`modal:open`,{detail:{path:e}}))};function Pe({children:e,isLoading:t,isError:n,totalResults:r,onReset:i}){let{areaOfInterestUrl:o}=ne,s=m(a),[c]=j();function l(){c(),i&&i()}return t?(0,x.jsx)(oe,{}):n?(0,x.jsx)(O,{children:(0,x.jsx)(k,{children:`Search is currently not available. Please try again later.`})}):r?(0,x.jsx)(T,{fallback:(0,x.jsxs)(O,{children:[(0,x.jsx)(k,{children:`Unknown error`}),(0,x.jsx)(`p`,{className:`mb-04 mt-010`,children:`Something went wrong, please reset filters or try again later.`}),(0,x.jsx)(Fe,{onClick:l})]}),children:e}):s&&o?(0,x.jsxs)(O,{children:[(0,x.jsxs)(k,{children:[`We aim to deliver a personalized experience.`,(0,x.jsx)(`br`,{}),`Unfortunately, no results were found based on your areas of interest.`]}),(0,x.jsxs)(`p`,{className:`mt-010`,children:[`You can`,` `,(0,x.jsx)(`button`,{onClick:()=>Ne(o),className:`text-color-primary`,children:`review / change your preferences`}),` `,`here.`]})]}):(0,x.jsxs)(O,{children:[(0,x.jsx)(k,{children:`No results matching the search criteria.`}
4),(0,x.jsx)(`p`,{className:`mb-04 mt-010`,children:`Please check your query or adjust your search filters.`}),(0,x.jsx)(Fe,{onClick:l})]})}function Fe({onClick:e}){return(0,x.jsx)(`button`,{className:`text-14 text-color-primary hover:text-color-primary-dark 5 focus-visible:text-color-black`,onClick:e,children:`Clear filter`})}function Ie({isLoading:e,isError:t,summary:{totalHits:n,totalPages:r}={totalHits:0,totalPages:0},children:i,hidePagination:a,sortItems:o=c}){let s=`${n} Results`;return n===0?s=`No results found`:n===1&&(s=`1 Result`),(0,x.jsxs)(`div`,{className:`flex flex-col gap-020`,children:[(0,x.jsxs)(`div`,{className:`flex items-center`,children:[!e&&(0,x.jsx)(`div`,{className:`text-18 font-medium`,children:s}),(0,x.jsx)(`div`,{className:`ml-auto`,children:(0,x.jsx)(ae,{items:o})})]}),(0,x.jsx)(`div`,{className:`grid gap-020`,children:(0,x.jsx)(Pe,{isLoading:e,isError:t,totalResults:n??0,children:(0,x.jsx)(`ol`,{className:`grid gap-020 tablet:grid-cols-2 6 desktop:grid-cols-4`,children:i})})}),!a&&(0,x.jsx)(M,{totalPages:r,isLoading:e})]})}function Le(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Re(e){if(Array.isArray(e))return e}function ze(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a,o,s=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,t!==0)for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}function N(){throw TypeError(`Invalid attempt to destructure non-iterable instance. 7In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function P(e,t){return Re(e)||ze(e,t)||Be(e,t)||N()}function Be(e,t){if(e){if(typeof e==`string`)return Le(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Le(e,t):void 0}}var Ve=Object.entries,He=Object.setPrototypeOf,Ue=Object.isFrozen,We=Object.getPrototypeOf,Ge=Object.getOwnPropertyDescriptor,F=Object.freeze,I=Object.seal,Ke=Object.create,qe=typeof Reflect<`u`&&Reflect,Je=qe.apply,L=qe.construct;F||=function(e){return e},I||=function(e){return e},Je||=function(e,t){var n=[...arguments].slice(2);return e.apply(t,n)},L||=function(e){return new e(...[...arguments].slice(1))};var Ye=W(Array.prototype.forEach),Xe=W(Array.prototype.lastIndexOf),Ze=W(Array.prototype.pop),Qe=W(Array.prototype.push),$e=W(Array.prototype.splice),R=Array.isArray,et=W(String.prototype.toLowerCase),tt=W(String.prototype.toString),nt=W(String.prototype.match),rt=W(String.prototype.replace),it=W(String.prototype.indexOf),at=W(String.prototype.trim),z=W(Number.prototype.toString),ot=W(Boolean.prototype.toString),st=typeof BigInt>`u`?null:W(BigInt.prototype.toString),ct=typeof Symbol>`u`?null:W(Symbol.prototype.toString),B=W(Object.prototype.hasOwnProperty),V=W(Object.prototype.toString),H=W(RegExp.prototype.test),U=lt(TypeError);function W(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);var n=[...arguments].slice(1);return Je(e,t,n)}}function lt(e){return function(){return L(e,[...arguments])}}function G(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:et;if(He&&He(e,null),!R(t))return e;let r=t.length;for(;r--;){let i=t[r];if(typeof i==`string`){let e=n(i);e!==i&&(Ue(t)||(t[r]=e),i=e)}e[i]=!0}return e}function ut(e){for(let t=0;t<e.length;t++)B(e,t)||(e[t]=null);return e}function K(e){let t=Ke(null);for(let r of Ve(e)){var n=P(r,2);let i=n[0],a=n[1];B(e,i)&&(R(a)?t[i]=ut(a):a&&typeof a==`object`&&a.constructor===Object?t[i]=K(a):t[i]=a)}return t}function dt(e){switch(typeof e){case`string`:return e;case`number`:return z(e);case`boolean`:return ot(e);case`bigint`:return st?st(e):`0`;case`symbol`:return ct?ct(e):`Symbol()`;case`undefined`:return V(e);case`function`:case`object`:{if(e===null)return V(e);let t=e,n=q(t,`toString`);if(typeof n==`function`){let e=n(t);return typeof e==`string`?e:V(e)}return V(e)}default:return V(e)}}function q(e,t){for(;e!==null;){let n=Ge(e,t);if(n){if(n.get)return W(n.get);if(typeof n.value==`function`)return W(n.value)}e=We(e)}function n(){return null}return n}function ft(e){try{return H(e,``),!0}catch{return!1}}var pt=F(`a.abbr.acronym.address.area.article.aside.audio.b.bdi.bdo.big.blink.blockquote.body.br.button.canvas.caption.center.cite.code.col.colgroup.content.data.datalist.dd.decorator.del.details.dfn.dialog.dir.div.dl.dt.element.em.fieldset.f
7igcaption.figure.font.footer.form.h1.h2.h3.h4.h5.h6.head.header.hgroup.hr.html.i.img.input.ins.kbd.label.legend.li.main.map.mark.marquee.menu.menuitem.meter.nav.nobr.ol.optgroup.option.output.p.picture.pre.progress.q.rp.rt.ruby.s.samp.search.section.select.shadow.slot.small.source.spacer.span.strike.strong.style.sub.summary.sup.table.tbody.td.template.textarea.tfoot.th.thead.time.tr.track.tt.u.ul.var.video.wbr`.split(`.`)),mt=F(`svg.a.altglyph.altglyphdef.altglyphitem.animatecolor.animatemotion.animatetransform.circle.clippath.defs.desc.ellipse.enterkeyhint.exportparts.filter.font.g.glyph.glyphref.hkern.image.inputmode.line.lineargradient.marker.mask.metadata.mpath.part.path.pattern.polygon.polyline.radialgradient.rect.stop.style.switch.symbol.text.textpath.title.tref.tspan.view.vkern`.split(`.`)),ht=F([`feBlend`,`feColorMatrix`,`feComponentTransfer`,`feComposite`,`feConvolveMatrix`,`feDiffuseLighting`,`feDisplacementMap`,`feDistantLight`,`feDropShadow`,`feFlood`,`feFuncA`,`feFuncB`,`feFuncG`,`feFuncR`,`feGaussianBlur`,`feImage`,`feMerge`,`feMergeNode`,`feMorphology`,`feOffset`,`fePointLight`,`feSpecularLighting`,`feSpotLight`,`feTile`,`feTurbulence`]),gt=F([`animate`,`color-profile`,`cursor`,`discard`,`font-face`,`font-face-format`,`font-face-name`,`font-face-src`,`font-face-uri`,`foreignobject`,`hatch`,`hatchpath`,`mesh`,`meshgradient`,`meshpatch`,`meshrow`,`missing-glyph`,`script`,`set`,`solidcolor`,`unknown`,`use`]),_t=F(`math.menclose.merror.mfenced.mfrac.mglyph.mi.mlabeledtr.mmultiscripts.mn.mo.mover.mpadded.mphantom.mroot.mrow.ms.mspace.msqrt.mstyle.msub.msup.msubsup.mtable.mtd.mtext.mtr.munder.munderover.mprescripts`.split(`.`)),vt=F([`maction`,`maligngroup`,`malignmark`,`mlongdiv`,`mscarries`,`mscarry`,`msgroup`,`mstack`,`msline`,`msrow`,`semantics`,`annotation`,`annotation-xml`,`mprescripts`,`none`]),yt=F([`#text`]),bt=F(`accept.action.align.alt.autocapitalize.autocomplete.autopictureinpicture.autoplay.background.bgcolor.border.capture.cellpadding.cellspacing.checked.cite.class.clear.color.cols.colspan.command.commandfor.controls.controlslist.coords.crossorigin.datetime.decoding.default.dir.disabled.disablepictureinpicture.disableremoteplayback.download.draggable.enctype.enterkeyhint.exportparts.face.for.headers.height.hidden.high.href.hreflang.id.inert.inputmode.integrity.ismap.kind.label.lang.list.loading.loop.low.max.maxlength.media.method.min.minlength.multiple.muted.name.nonce.noshade.novalidate.nowrap.open.optimum.part.pattern.placeholder.playsinline.popover.popovertarget.popovertargetaction.poster.preload.pubdate.radiogroup.readonly.rel.required.rev.reversed.role.rows.rowspan.spellcheck.scope.selected.shape.size.sizes.slot.span.srclang.start.src.srcset.step.style.summary.tabindex.title.translate.type.usemap.valign.value.width.wrap.xmlns`.split(`.`)),xt=F(`accent-height.accumulate.additive.alignment-baseline.amplitude.ascent.attributename.attributetype.azimuth.basefrequency.baseline-shift.begin.bias.by.class.clip.clippathunits.clip-path.clip-rule.color.color-interpolation.color-interpolation-filters.color-profile.color-rendering.cx.cy.d.dx.dy.diffuseconstant.direction.display.divisor.dur.edgemode.elevation.end.exponent.fill.fill-opacity.fill-rule.filter.filterunits.flood-color.flood-opacity.font-family.font-size.font-size-adjust.font-stretch.font-style.font-variant.font-weight.fx.fy.g1.g2.glyph-name.glyphref.gradientunits.gradienttransform.height.href.id.image-rendering.in.in2.intercept.k.k1.k2.k3.k4.kerning.keypoints.keysplines.keytimes.lang.lengthadjust.letter-spacing.kernelmatrix.kernelunitlength.lighting-color.local.marker-end.marker-mid.marker-start.markerheight.markerunits.markerwidth.maskcontentunits.maskunits.max.mask.mask-type.media.method.mode.min.name.numoctaves.offset.operator.opacity.order.orient.orientation.origin.overflow.paint-order.path.pathlength.patterncontentunits.patterntransform.patternunits.points.preservealpha.preserveaspectratio.primitiveunits.r.rx.ry.radius.refx.refy.repeatcount.repeatdur.restart.result.rotate.scale.seed.shape-rendering.slope.specularconstant.specularexponent.spreadmethod.startoffset.stddeviation.stitchtiles.stop-color.stop-opacity.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke.stroke-width.style.surfacescale.systemlanguage.tabindex.tablevalues.targetx.targety.transform.transform-origin.text-anchor.text-decoration.text-rendering.textlength.type.u1.u2.unicode.values.viewbox.visibility.version.vert-adv-y.vert-origin-x.vert-origin-y.width.word-spacing.wrap.writing-mode.xchannelselector.ychannelselector.x.x1.x2.xmlns.y.y1.y2.z.zoomandpan`.split(`.`)),St=F(`accent.accentunder.align.bevelled.close.columnalign.columnlines.columnspacing.columnspan.denomalign.depth.dir.display.displaystyle.encoding.fence.frame.height.href.id.largeop.length.linethickness.lquote.lspace.mathbackground.mathcolor.mathsize.mathvariant.maxsize.minsize.movablelimits.notation.numalign.open.rowalign.rowlines.rowspacing.rowspan.rspace.rquote.scriptlevel.scriptminsize.scriptsizemultiplier.selection.separator.separators.stretchy.subscriptshift.supscriptshift.symmetric.voffset.width.xmlns`.split(`.`)),Ct=F([`xlink:href`,`xml:id`,`xlink:title`,`xml:space`,`xmlns:xlink`]),wt=I(/{{[\w\W]*|^[\w\W]*}}/g),Tt=I(/<%[\w\W]*|^[\w\W]*%>/g),Et=I(/\${[\w\W]*/g),Dt=I(/^data-[\-\w.\u00B7-\uFFFF]+$/),Ot=I(/^aria-[\-\w]+$/),kt=I(/^(?:(?:(?
vendor: 8,660 bytes, line 7
7:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),At=I(/^(?:\w+script|data):/i),jt=I(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Mt=I(/^html$/i),Nt=I(/^[a-z][.\w]*(-[.\w]+)+$/i),Pt=I(/<[/\w!]/g),Ft=I(/<[/\w]/g),It=I(/<\/no(script|embed|frames)/i),Lt=I(/\/>/i),J={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,processingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},Rt=function(){return typeof window>`u`?null:window},zt=function(e,t){if(typeof e!=`object`||typeof e.createPolicy!=`function`)return null;let n=null,r=`data-tt-policy-suffix`;t&&t.hasAttribute(r)&&(n=t.getAttribute(r));let i=`dompurify`+(n?`#`+n:``);try{return e.createPolicy(i,{createHTML(e){return e},createScriptURL(e){return e}})}catch{return console.warn(`TrustedTypes policy `+i+` could not be created.`),null}},Bt=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},Y=function(e,t,n,r){return B(e,t)&&R(e[t])?G(r.base?K(r.base):{},e[t],r.transform):n};function Vt(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Rt(),t=e=>Vt(e);if(t.version=`3.4.11`,t.removed=[],!e||!e.document||e.document.nodeType!==J.document||!e.Element)return t.isSupported=!1,t;let n=e.document,r=n,i=r.currentScript;e.DocumentFragment;let a=e.HTMLTemplateElement,o=e.Node,s=e.Element,c=e.NodeFilter;e.NamedNodeMap===void 0&&(e.NamedNodeMap||e.MozNamedAttrMap),e.HTMLFormElement;let l=e.DOMParser,u=e.trustedTypes,d=s.prototype,ee=q(d,`cloneNode`),te=q(d,`remove`),ne=q(d,`nextSibling`),f=q(d,`childNodes`),p=q(d,`parentNode`),m=q(d,`shadowRoot`),re=q(d,`attributes`),h=o&&o.prototype?q(o.prototype,`nodeType`):null,g=o&&o.prototype?q(o.prototype,`nodeName`):null;if(typeof a==`function`){let e=n.createElement(`template`);e.content&&e.content.ownerDocument&&(n=e.content.ownerDocument)}let _,v=``,ie,ae=!1,oe=0,se=function(){if(oe>0)throw U(`A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.`)},y=function(e){se(),oe++;try{return _.createHTML(e)}finally{oe--}},ce=function(e){se(),oe++;try{return _.createScriptURL(e)}finally{oe--}},le=function(){return ae||=(ie=zt(u,i),!0),ie},ue=n,de=ue.implementation,fe=ue.createNodeIterator,b=ue.createDocumentFragment,x=ue.getElementsByTagName,S=r.importNode,C=Bt();t.isSupported=typeof Ve==`function`&&typeof p==`function`&&de&&de.createHTMLDocument!==void 0;let pe=wt,me=Tt,he=Et,ge=Dt,_e=Ot,ve=At,ye=jt,be=Nt,xe=kt,w=null,Se=G({},[...pt,...mt,...ht,..._t,...yt]),T=null,Ce=G({},[...bt,...xt,...St,...Ct]),E=Object.seal(Ke(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),we=null,Te=null,D=Object.seal(Ke(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}})),O=!0,Ee=!0,k=!1,De=!0,A=!1,Oe=!0,j=!1,ke=!1,Ae=null,je=null,Me=!1,M=!1,Ne=!1,Pe=!1,Fe=!0,Ie=!1,Le=`user-content-`,Re=!0,ze=!1,N={},P=null,Be=G({},`annotation-xml.audio.colgroup.desc.foreignobject.head.iframe.math.mi.mn.mo.ms.mtext.noembed.noframes.noscript.plaintext.script.selectedcontent.style.svg.template.thead.title.video.xmp`.split(`.`)),He=null,Ue=G({},[`audio`,`video`,`img`,`source`,`image`,`track`]),We=null,Ge=G({},[`alt`,`class`,`for`,`id`,`label`,`name`,`pattern`,`placeholder`,`role`,`summary`,`title`,`value`,`style`,`xmlns`]),qe=`http://www.w3.org/1998/Math/MathML`,Je=`http://www.w3.org/2000/svg`,L=`http://www.w3.org/1999/xhtml`,z=L,ot=!1,st=null,ct=G({},[qe,Je,L],tt),V=F([`mi`,`mo`,`mn`,`ms`,`mtext`]),W=G({},V),lt=F([`annotation-xml`]),ut=G({},lt),Ht=G({},[`title`,`style`,`font`,`a`,`script`]),Ut=null,Wt=[`application/xhtml+xml`,`text/html`],X=null,Gt=null,Kt=n.createElement(`form`),qt=function(e){return e instanceof RegExp||e instanceof Function},Jt=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(Gt&&Gt===e)return;(!e||typeof e!=`object`)&&(e={}),e=K(e),Ut=Wt.indexOf(e.PARSER_MEDIA_TYPE)===-1?`text/html`:e.PARSER_MEDIA_TYPE,X=Ut===`application/xhtml+xml`?tt:et,w=Y(e,`ALLOWED_TAGS`,Se,{transform:X}),T=Y(e,`ALLOWED_ATTR`,Ce,{transform:X}),st=Y(e,`ALLOWED_NAMESPACES`,ct,{transform:tt}),We=Y(e,`ADD_URI_SAFE_ATTR`,Ge,{transform:X,base:Ge}),He=Y(e,`ADD_DATA_URI_TAGS`,Ue,{transform:X,base:Ue}),P=Y(e,`FORBID_CONTENTS`,Be,{transform:X}),we=Y(e,`FORBID_TAGS`,K({}),{transform:X}),Te=Y(e,`FORBID_ATTR`,K({}),{transform:X}),N=B(e,`USE_PROFILES`)?e.USE_PROFILES&&typeof e.USE_PROFILES==`object`?K(e.USE_PROFILES):e.USE_PROFILES:!1,O=e.ALLOW_ARIA_ATTR!==!1,Ee=e.ALLOW_DATA_ATTR!==!1,k=e.ALLOW_UNKNOWN_PROTOCOLS||!1,De=e.ALLOW_SELF_CLOSE_IN_ATTR!==!1,A=e.SAFE_FOR_TEMPLATES||!1,Oe=e.SAFE_FOR_XML!==!1,j=e.WHOLE_DOCUMENT||!1,M=e.RETURN_DOM||!1,Ne=e.RETURN_DOM_FRAGMENT||!1,Pe=e.RETURN_TRUSTED_TYPE||!1,Me=e.FORCE_BODY||!1,Fe=e.SANITIZE_DOM!==!1,Ie=e.SANITIZE_NAMED_PROPS||!1,Re=e.KEEP_CONTENT!==!1,ze=e.IN_PLACE||!1,xe=ft(e.ALLOWED_URI_REGEXP)?e.ALLOWED_URI_REGEXP:kt,z=typeof e.NAMESPACE==`string`?e.NAMESPACE:L,W=B(e,`MATHML_TEXT_INTEGRATION_POINTS`)&&e.MATHML_TEXT_INTEGRATION_POINTS&&typeof e.MATHML_TEXT_INTEGRATION_POINTS==`object`?K(e.MATHML_TEXT_INTEGRATION_POINTS):G({},V),ut=B(e,`HTML_INTEGRATION_POINTS`)&&e.HTML_INTEGRATION_POINTS&&typeof e.HTML_INTEGRATION_POINTS==`object`?K(e.HTML_INTEGRATION_POINTS):G({},lt);let t=B(e,`CUSTOM_ELEMENT_HANDLING`)&&e.CUSTOM_ELEMENT_HANDLING&&typeof e.CUSTOM_ELEMENT_HANDLING==`object`?K(e.CUSTOM_ELEMENT_HANDLING):Ke(null);if(E=Ke(null),B(t,`tagNameCheck`)&&qt(t.tagNameCheck)&&(E.tagNameCheck=t.tagNameCheck),B(t,`attributeNameCheck`)&&qt(t.attributeNameCheck)&&(E.attributeNameCheck=t.attributeNameCheck),B(t,`allowCustomizedBuiltInElements`)&&typeof t.allowCustomizedBuiltInElements==`boolean`&&(E.allowCustomizedBuiltInElements=t.allowCustomizedBuiltInElements),I(E),A&&(Ee=!1),Ne&&(M=!0),N&&(w=G({},yt),T=Ke(null),N.html===!0&&(G(w,pt),G(T,bt)),N.svg===!0&&(G(w,mt),G(T,xt),G(T,Ct)),N.svgFilters===!0&&(G(w,ht),G(T,xt),G(T,Ct)),N.mathMl===!0&&(G(w,_t),G(T,St),G(T,Ct))),D.tagCheck=null,D.attributeCheck=null,B(e,`ADD_TAGS`)&&(typeof e.ADD_TAGS==`function`?D.tagCheck=e.ADD_TAGS:R(e.ADD_TAGS)&&(w===Se&&(w=K(w)),G(w,e.ADD_TAGS,X))),B(e,`ADD_ATTR`)&&(typeof e.ADD_ATTR==`function`?D.attributeCheck=e.ADD_ATTR:R(e.ADD_ATTR)&&(T===Ce&&(T=K(T)),G(T,e.ADD_ATTR,X))),B(e,`ADD_URI_SAFE_ATTR`)&&R(e.ADD_URI_SAFE_ATTR)&&G(We,e.ADD_URI_SAFE_ATTR,X),B(e,`FORBID_CONTENTS`)&&R(e.FORBID_CONTENTS)&&(P===Be&&(P=K(P)),G(P,e.FORBID_CONTENTS,X)),B(e,`ADD_FORBID_CONTENTS`)&&R(e.ADD_FORBID_CONTENTS)&&(P===Be&&(P=K(P)),G(P,e.ADD_FORBID_CONTENTS,X)),Re&&(w[`#text`]=!0),j&&G(w,[`html`,`head`,`body`]),w.table&&(G(w,[`tbody`]),delete we.tbody),e.TRUSTED_TYPES_POLICY){if(typeof e.TRUSTED_TYPES_POLICY.createHTML!=`function`)throw U(`TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.`);if(typeof e.TRUSTED_TYPES_POLICY.createScriptURL!=`function`)throw U(`TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.`);let t=_;_=e.TRUSTED_TYPES_POLICY;try{v=y(``)}catch(e){throw _=t,e}}else e.TRUSTED_TYPES_POLICY===null?(_=void 0,v=``):(_===void 0&&(_=le()),_&&typeof v==`string`&&(v=y(``)));F&&F(e),Gt=e},Yt=G({},[...mt,...ht,...gt]),Xt=G({},[..._t,...vt]),Zt=function(e,t,n){return t.namespaceURI===L?e===`svg`:t.namespaceURI===qe?e===`svg`&&(n===`annotation-xml`||W[n]):!!Yt[e]},Qt=function(e,t,n){return t.namespaceURI===L?e===`math`:t.namespaceURI===Je?e===`math`&&ut[n]:!!Xt[e]},$t=function(e,t,n){return t.namespaceURI===Je&&!ut[n]||t.namespaceURI===qe&&!W[n]?!1:!Xt[e]&&(Ht[e]||!Yt[e])},en=function(e){let t=p(e);(!t||!t.tagName)&&(t={namespaceURI:z,tagName:`template`});let n=et(e.tagName),r=et(t.tagName);return st[e.namespaceURI]?e.namespaceURI===Je?Zt(n,t,r):e.namespaceURI===qe?Qt(n,t,r):e.namespaceURI===L?$t(n,t,r):!!(Ut===`application/xhtml+xml`&&st[e.namespaceURI]):!1},Z=function(e){Qe(t.removed,{element:e});try{p(e).removeChild(e)}catch{if(te(e),!p(e))throw U(`a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place`)}},tn=function(e){let t=f(e);
vendor: 5,319 bytes, line 7
7if(t){let e=[];Ye(t,t=>{Qe(e,t)}),Ye(e,e=>{try{te(e)}catch{}})}let n=re(e);if(n)for(let t=n.length-1;t>=0;--t){let r=n[t],i=r&&r.name;if(typeof i==`string`)try{e.removeAttribute(i)}catch{}}},Q=function(e,n){try{Qe(t.removed,{attribute:n.getAttributeNode(e),from:n})}catch{Qe(t.removed,{attribute:null,from:n})}if(n.removeAttribute(e),e===`is`)if(M||Ne)try{Z(n)}catch{}else try{n.setAttribute(e,``)}catch{}},nn=function(e){let t=re(e);if(t)for(let n=t.length-1;n>=0;--n){let r=t[n],i=r&&r.name;if(!(typeof i!=`string`||T[X(i)]))try{e.removeAttribute(i)}catch{}}},rn=function(e){let t=[e];for(;t.length>0;){let e=t.pop();(h?h(e):e.nodeType)===J.element&&nn(e);let n=f(e);if(n)for(let e=n.length-1;e>=0;--e)t.push(n[e])}},an=function(e){let t=null,r=null;if(Me)e=`<remove></remove>`+e;else{let t=nt(e,/^[\r\n\t ]+/);r=t&&t[0]}Ut===`application/xhtml+xml`&&z===L&&(e=`<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>`+e+`</body></html>`);let i=_?y(e):e;if(z===L)try{t=new l().parseFromString(i,Ut)}catch{}if(!t||!t.documentElement){t=de.createDocument(z,`template`,null);try{t.documentElement.innerHTML=ot?v:i}catch{}}let a=t.body||t.documentElement;return e&&r&&a.insertBefore(n.createTextNode(r),a.childNodes[0]||null),z===L?x.call(t,j?`html`:`body`)[0]:j?t.documentElement:a},on=function(e){return fe.call(e.ownerDocument||e,e,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT|c.SHOW_PROCESSING_INSTRUCTION|c.SHOW_CDATA_SECTION,null)},sn=function(e){return e=rt(e,pe,` `),e=rt(e,me,` `),e=rt(e,he,` `),e},cn=function(e){e.normalize();let t=fe.call(e.ownerDocument||e,e,c.SHOW_TEXT|c.SHOW_COMMENT|c.SHOW_CDATA_SECTION|c.SHOW_PROCESSING_INSTRUCTION,null),n=t.nextNode();for(;n;)n.data=sn(n.data),n=t.nextNode();let r=e.querySelectorAll?.call(e,`template`);r&&Ye(r,e=>{un(e.content)&&cn(e.content)})},ln=function(e){let t=g?g(e):null;return typeof t!=`string`||X(t)!==`form`?!1:typeof e.nodeName!=`string`||typeof e.textContent!=`string`||typeof e.removeChild!=`function`||e.attributes!==re(e)||typeof e.removeAttribute!=`function`||typeof e.setAttribute!=`function`||typeof e.namespaceURI!=`string`||typeof e.insertBefore!=`function`||typeof e.hasChildNodes!=`function`||e.nodeType!==h(e)||e.childNodes!==f(e)},un=function(e){if(!h||typeof e!=`object`||!e)return!1;try{return h(e)===J.documentFragment}catch{return!1}},dn=function(e){if(!h||typeof e!=`object`||!e)return!1;try{return typeof h(e)==`number`}catch{return!1}};function $(e,n,r){e.length!==0&&Ye(e,e=>{e.call(t,n,r,Gt)})}let fn=function(e,t){return!!(Oe&&e.hasChildNodes()&&!dn(e.firstElementChild)&&H(Pt,e.textContent)&&H(Pt,e.innerHTML)||Oe&&e.namespaceURI===L&&t===`style`&&dn(e.firstElementChild)||e.nodeType===J.processingInstruction||Oe&&e.nodeType===J.comment&&H(Ft,e.data))},pn=function(e,t){if(!we[t]&&_n(t)&&(E.tagNameCheck instanceof RegExp&&H(E.tagNameCheck,t)||E.tagNameCheck instanceof Function&&E.tagNameCheck(t)))return!1;if(Re&&!P[t]){let t=p(e),n=f(e);if(n&&t){let r=n.length;for(let i=r-1;i>=0;--i){let r=ze?n[i]:ee(n[i],!0);t.insertBefore(r,ne(e))}}}return Z(e),!0},mn=function(e){if($(C.beforeSanitizeElements,e,null),ln(e))return Z(e),!0;let n=X(g?g(e):e.nodeName);if($(C.uponSanitizeElement,e,{tagName:n,allowedTags:w}),fn(e,n))return Z(e),!0;if(we[n]||!(D.tagCheck instanceof Function&&D.tagCheck(n))&&!w[n])return pn(e,n);if((h?h(e):e.nodeType)===J.element&&!en(e)||(n===`noscript`||n===`noembed`||n===`noframes`)&&H(It,e.innerHTML))return Z(e),!0;if(A&&e.nodeType===J.text){let n=sn(e.textContent);e.textContent!==n&&(Qe(t.removed,{element:e.cloneNode()}),e.textContent=n)}return $(C.afterSanitizeElements,e,null),!1},hn=function(e,t,r){if(Te[t]||Fe&&(t===`id`||t===`name`)&&(r in n||r in Kt))return!1;let i=T[t]||D.attributeCheck instanceof Function&&D.attributeCheck(t,e);if(!(Ee&&H(ge,t))&&!(O&&H(_e,t))){if(!i){if(!(_n(e)&&(E.tagNameCheck instanceof RegExp&&H(E.tagNameCheck,e)||E.tagNameCheck instanceof Function&&E.tagNameCheck(e))&&(E.attributeNameCheck instanceof RegExp&&H(E.attributeNameCheck,t)||E.attributeNameCheck instanceof Function&&E.attributeNameCheck(t,e))||t===`is`&&E.allowCustomizedBuiltInElements&&(E.tagNameCheck instanceof RegExp&&H(E.tagNameCheck,r)||E.tagNameCheck instanceof Function&&E.tagNameCheck(r))))return!1}else if(!We[t]&&!H(xe,rt(r,ye,``))&&!((t===`src`||t===`xlink:href`||t===`href`)&&e!==`script`&&it(r,`data:`)===0&&He[e])&&!(k&&!H(ve,rt(r,ye,``)))&&r)return!1}return!0},gn=G({},[`annotation-xml`,`color-profile`,`font-face`,`font-face-format`,`font-face-name`,`font-face-src`,`font-face-uri`,`missing-glyph`]),_n=function(e){return!gn[et(e)]&&H(be,e)},vn=function(e,t,n,r){if(_&&typeof u==`object`&&typeof u.getAttributeType==`function`&&!n)switch(u.getAttributeType(e,t)){case`TrustedHTML`:return y(r);case`TrustedScriptURL`:return ce(r)}return r},yn=function(e,n,r,i){try{r?e.setAttributeNS(r,n,i):e.setAttribute(n,i),ln(e)?Z(e):Ze(t.removed)}catch{Q(n,e)}},bn=function(e){$(C.beforeSanitizeAttributes,e,null);let t=e.attributes;if(!t||ln(e))return;let n={attrName:``,attrValue:``,keepAttr:!0,allowedAttributes:T,forceKeepAttr:void 0},r=t.length,i=X(e.nodeName);for(;r--;){let a=t[r],o=a.name,s=a.namespaceURI,c=a.value,l=X(o),u=c,d=o===`value`?u:at(u);if(n.attrName=l,n.attrValue=d,n.keepAttr=!0,n.forceKeepAttr=void 0,$(C.uponSanitizeAttribute,e,n),d=n.attrValue,Ie&&(l===`id`||l===`
7name`)&&it(d,Le)!==0&&(Q(o,e),d=Le+d),Oe&&H(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,d)){Q(o,e);continue}if(l===`attributename`&&nt(d,`href`)){Q(o,e);continue}if(!n.forceKeepAttr){if(!n.keepAttr){Q(o,e);continue}if(!De&&H(Lt,d)){Q(o,e);continue}if(A&&(d=sn(d)),!hn(i,l,d)){Q(o,e);continue}d=vn(i,l,s,d),d!==u&&yn(e,o,s,d)}}$(C.afterSanitizeAttributes,e,null)},xn=function(e){let t=null,n=on(e);for($(C.beforeSanitizeShadowDOM,e,null);t=n.nextNode();)if($(C.uponSanitizeShadowNode,t,null),mn(t),bn(t),un(t.content)&&xn(t.content),(h?h(t):t.nodeType)===J.element){let e=m(t);un(e)&&(Sn(e),xn(e))}$(C.afterSanitizeShadowDOM,e,null)},Sn=function(e){let t=[{node:e,shadow:null}];for(;t.length>0;){let e=t.pop();if(e.shadow){xn(e.shadow);continue}let n=e.node,r=(h?h(n):n.nodeType)===J.element,i=f(n);if(i)for(let e=i.length-1;e>=0;--e)t.push({node:i[e],shadow:null});if(r){let e=g?g(n):null;if(typeof e==`string`&&X(e)===`template`){let e=n.content;un(e)&&t.push({node:e,shadow:null})}}if(r){let e=m(n);un(e)&&t.push({node:null,shadow:e},{node:e,shadow:null})}}};return t.sanitize=function(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=null,a=null,o=null,s=null;if(ot=!e,ot&&(e=`<!-->`),typeof e!=`string`&&!dn(e)&&(e=dt(e),typeof e!=`string`))throw U(`dirty is not a string, aborting`);if(!t.isSupported)return e;ke?(w=Ae,T=je):Jt(n),(C.uponSanitizeElement.length>0||C.uponSanitizeAttribute.length>0)&&(w=K(w)),C.uponSanitizeAttribute.length>0&&(T=K(T)),t.removed=[];let c=ze&&typeof e!=`string`&&dn(e);if(c){let t=g?g(e):e.nodeName;if(typeof t==`string`){let e=X(t);if(!w[e]||we[e])throw U(`root node is forbidden and cannot be sanitized in-place`)}if(ln(e))throw U(`root node is clobbered and cannot be sanitized in-place`);try{Sn(e)}catch(t){throw tn(e),t}}else if(dn(e))i=an(`<!---->`),a=i.ownerDocument.importNode(e,!0),a.nodeType===J.element&&a.nodeName===`BODY`||a.nodeName===`HTML`?i=a:i.appendChild(a),Sn(a);else{if(!M&&!A&&!j&&e.indexOf(`<`)===-1)return _&&Pe?y(e):e;if(i=an(e),!i)return M?null:Pe?v:``}i&&Me&&Z(i.firstChild);let l=on(c?e:i);try{for(;o=l.nextNode();)mn(o),bn(o),un(o.content)&&xn(o.content)}catch(t){throw c&&tn(e),t}if(c)return Ye(t.removed,e=>{e.element&&rn(e.element)}),A&&cn(e),e;if(M){if(A&&cn(i),Ne)for(s=b.call(i.ownerDocument);i.firstChild;)s.appendChild(i.firstChild);else s=i;return(T.shadowroot||T.shadowrootmode)&&(s=S.call(r,s,!0)),s}let u=j?i.outerHTML:i.innerHTML;return j&&w[`!doctype`]&&i.ownerDocument&&i.ownerDocument.doctype&&i.ownerDocument.doctype.name&&H(Mt,i.ownerDocument.doctype.name)&&(u=`<!DOCTYPE `+i.ownerDocument.doctype.name+`> 8`+u),A&&(u=sn(u)),_&&Pe?y(u):u},t.setConfig=function(){Jt(arguments.length>0&&arguments[0]!==void 0?arguments[0]:{}),ke=!0,Ae=w,je=T},t.clearConfig=function(){Gt=null,ke=!1,Ae=null,je=null,_=ie,v=``},t.isValidAttribute=function(e,t,n){return Gt||Jt({}),hn(X(e),X(t),n)},t.addHook=function(e,t){typeof t==`function`&&B(C,e)&&Qe(C[e],t)},t.removeHook=function(e,t){if(B(C,e)){if(t!==void 0){let n=Xe(C[e],t);return n===-1?void 0:$e(C[e],n,1)[0]}return Ze(C[e])}},t.removeHooks=function(e){B(C,e)&&(C[e]=[])},t.removeAllHooks=function(){C=Bt()},t}var Ht=Vt();function Ut({text:e,className:t,as:n,id:r}){return(0,x.jsx)(n??`div`,{className:_(`[&>em]:font-bold [&>em]:not-italic [&>em]:text-color-primary`,t),dangerouslySetInnerHTML:{__html:Ht.sanitize(e)},id:r})}function Wt({dateString:e,className:t}){return(0,x.jsx)(`time`,{dateTime:e,className:t,children:ce(new Date(e))})}function X({title:e,children:t,href:n,onClick:r,target:i,header:a}){let o=(0,S.useId)();return(0,x.jsx)(`li`,{className:`flex`,children:(0,x.jsxs)(`a`,{className:`flex w-full flex-col bg-color-warmgrey-40 p-016 9 hover:bg-color-warmgrey-80 focus:bg-color-warmgrey-80 10 tablet:p-030`,href:n,target:i,rel:`noopener noreferrer`,"aria-labelledby":`${o}-title`,"data-search-result-link":!0,onClick:r,children:[a,(0,x.jsx)(Ut,{id:`${o}-title`,className:`line-clamp-3 text-20 desktop:line-clamp-2`,text:e}),t]})})}function Gt({children:e}){return(0,x.jsx)(`div`,{className:`mb-020 flex items-baseline`,children:e})}function Kt({dateString:e}){return e?(0,x.jsx)(Wt,{dateString:e,className:`ml-auto text-12 font-medium`}):null}function qt({children:e}){return(0,x.jsx)(`div`,{className:`mr-auto bg-color-white px-016 py-014 font-medium 11 tablet:mb-020`,children:e})}function Jt({text:e}){return e?(0,x.jsx)(Ut,{className:`mt-012 line-clamp-4 desktop:line-clamp-3`,as:`p`,text:e}):null}function Yt({children:e,className:t}){return(0,x.jsx)(`dl`,{className:_(`mt-024 grid grid-cols-[min-content_auto] gap-x-08 gap-y-04`,t),children:e})}function Xt({icon:e,title:t,children:n}){return n?(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(`dt`,{className:`flex items-center`,children:(0,x.jsx)(h,{icon:e,label:t,className:`text-color-primary`})}),(0,x.jsx)(`dd`,{className:`font-medium`,children:n})]}):null}function Zt({asset:e,aspect:t,lazy:n=!0,className:r}){let i=n?`lazy`:`eager`,a=g[t];return(0,x.jsx)(`img`,{srcSet:Qt(e,a,t),src:$t(e,t),alt:e.altText??``,width:a.Large.width,height:a.Large.height,loading:i,className:_(`aspect-${t.replace(`-`,`/`)}`,`object-cover`,r)})}function Qt(e,t,n){if(!(e.mimeType===`image/svg+xml`||!e.dynamicMediaUrl||!n))return Object.keys(t).map(r=>{let i=t[r]?.width;if(i===void 0)return;let a=e.dynamicMediaPath?`?layer=0&src=is{${encodeURI(e.dynamicMediaPath)}%3A${n}-${r}}&layer=0&originN=0.5,0.5${e.isAiGenerated?`&$ai_generated$`:``}`:`:${n}-${r}`;return`${e.dynamicMediaUrl}${a} ${i}w`}).filter(e=>e!==void 0).join(`, `)}function $t(e,t){if(e.mimeType===`image/svg+xml`||!e.dynamicMediaUrl)return e.path;if(!t)return e.dynamicMediaUrl;let n=e.dynamicMediaPath?`?layer=0&src=is{${encodeURI(e.dynamicMediaPath)}%3A${t}-Small}&layer=0&originN=0.5,0.5${e.isAiGenerated?`&$ai_generated$`:``}`:`:${t}-Medium`;return`${e.dynamicMediaUrl}${n}`}
11function en({value:e,onChange:t,options:n,button:r}){let[i,a]=(0,S.useState)(e);return(0,S.useEffect)(()=>a(e),[e]),(0,x.jsx)(l,{value:i,onChange:a,multiple:!0,disabled:n.length===0,children:({open:e})=>((0,S.useEffect)(()=>{e||t(i)},[e]),(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(le,{as:S.Fragment,children:r}),(0,x.jsx)(ue,{children:n.map(e=>(0,x.jsxs)(s,{value:e.id,className:`group flex flex-1 cursor-pointer 12 items-center`,children:[(0,x.jsx)(Z,{}),e.title]},e.id))})]}))})}function Z(){return(0,x.jsx)(`div`,{className:`my-02 mr-010 grid size-020 place-items-center border-2 13 border-color-black group-hover:border-color-primary 14 group-data-[focus]:border-color-primary 15 group-data-[focus]:group-data-[selected]:border-color-primary-dark 16 group-data-[selected]:border-color-primary 17 group-data-[focus]:group-data-[selected]:bg-color-primary-dark 18 group-data-[selected]:bg-color-primary`,children:(0,x.jsx)(h,{icon:`icon-check`,className:`hidden text-color-white group-data-[selected]:block`})})}var tn=[{id:`English`,title:`English`},{id:`German`,title:`German`}];function Q({options:e=tn,label:t,facetKey:n}){let[r,i]=d(ee),[a,o]=d(f),s=be(),c=n?a[n]??[]:r;return(0,x.jsx)(en,{value:c,onChange:e=>{s(e,c),n?o(t=>{t[n]=e}):i(e)},options:e,button:(0,x.jsx)(re,{badgeNumber:c.length||e.length,active:c.length>0,children:t??`Language`})})}Q.facetKey=`languages`;export{_e as _,qt as a,ge as b,Yt as c,Wt as d,Ie as f,ve as g,ye as h,X as i,Xt as l,be as m,tn as n,Jt as o,ke as p,Zt as r,Gt as s,Q as t,Kt as u,pe as v,me as y};
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.