1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,395716,e=>{"use strict";var t=e.i(517530),n=e.i(286896);class r extends n.Component{state={hasError:!1};static getDerivedStateFromError(e){return{hasError:!0}}componentDidCatch(e,t){console.error({error:e,errorInfo:t})}render(){return this.state.hasError?null:(0,t.jsx)(t.Fragment,{children:this.props.children})}}e.s(["default",0,r])},134356,e=>{"use strict";var t=e.i(517530),n=e.i(778701),r=e.i(450127),l=e.i(679122),i=e.i(20112),a=e.i(910990),o=e.i(232894),s=e.i(34418),u=e.i(82717);function c({className:e,placement:n,placementType:r}){let l=(0,i.usePage)();return n.creatives.map(n=>n.MEDIA_URL&&n.DESTINATION_URL?(0,t.jsxs)("a",{href:n.DESTINATION_URL,className:(0,u.twMerge)("mx-auto block max-w-screen-xl",e),"data-testid":`algonomy-${r}`,onClick:()=>{(0,o.dlTeaserTracking)({event:"select_promotion",title:n.ALT_TXT,type:"Algonomy",context:l?.type??"unknown"})},children:[(0,t.jsx)(s.default,{title:n.ALT_TXT,type:"Algonomy"}),(0,t.jsxs)("picture",{children:[(0,t.jsx)("source",{srcSet:n.MEDIA_URL,media:"(min-width: 768px)"}),(0,t.jsx)("img",{src:n.MEDIA_URL_MOBILE,alt:n.ALT_TXT})]})]},n.campaign):null)}function d({advertisement:e,className:n,layout:i,placement:a,placementType:o,productCardGroupClassName:s}){let c=a.strategy?.toLowerCase().includes("sponsored")||!!e,f=c&&"list"===i;return(0,t.jsxs)("section",{className:(0,u.twMerge)("flex flex-col",f?"mx-4 md:mx-0":"items-center gap-5 md:gap-8",n),"data-testid":`algonomy-${o}`,children:[a.title&&(0,t.jsx)(r.default,{children:a.title}),(0,t.jsx)(l.default,{advertisement:c,className:(0,u.twMerge)("list"!==i&&"lg:grid-cols-4",s),layout:"list"===i?"row":"card",productGroups:[a.products],productsPerGroup:4,trackingData:{algonomy_placement_sponsored:c,algonomy_placement_type:o,item_list_name:a.title??"Algonomy placeholder",recommendation_source:"algonomy"}})]})}e.s(["default",0,function({isRoot:e,maxNumber:r,productCardGroupClassName:l,...i}){let o=(0,n.usePathname)(),s=(0,n.useSearchParams)(),u=s.get("q"),{data:f}=(0,a.useAlgonomy)({partialKeys:[o].concat(u||[]),searchParams:s});if(!i.placementType||!f)return null;let p=f?.contentPlacements?.[i.placementType],m=f?.productPlacements?.[i.placementType];return"content"===i.type&&p?(0,t.jsx)(c,{...i,placement:p}):m&&m.products.length?e?(0,t.jsx)("div",{className:"bg-primary-90",children:(0,t.jsx)("div",{className:"mx-auto max-w-screen-xl px-4 py-6 md:px-6 md:py-10",children:(0,t.jsx)(d,{...i,placement:m,productCardGroupClassName:l})})}):(0,t.jsx)(d,{...i,placement:m,productCardGroupClassName:l}):null}])},995099,274835,27119,592609,917198,828354,834627,222075,242039,171832,e=>{"use strict";e.s(["default",()=>nJ],242039);var t=e.i(517530);function n(){}function r(){}let l=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,i=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,a={};function o(e,t){return((t||a).jsx?i:l).test(e)}let s=/[ \t\n\f\r]/g;function u(e){return""===e.replace(s,"")}class c{constructor(e,t){this.attribute=t,this.property=e}}c.prototype.attribute="",c.prototype.booleanish=!1,c.prototype.boolean=!1,c.prototype.commaOrSpaceSeparated=!1,c.prototype.commaSeparated=!1,c.prototype.defined=!1,c.prototype.mustUseProperty=!1,c.prototype.number=!1,c.prototype.overloadedBoolean=!1,c.prototype.property="",c.prototype.spaceSeparated=!1,c.prototype.space=void 0;let d=0,f=v(),p=v(),m=v(),h=v(),g=v(),x=v(),y=v();function v(){return 2**++d}e.s(["boolean",0,f,"booleanish",0,p,"commaOrSpaceSeparated",0,y,"commaSeparated",0,x,"number",0,h,"overloadedBoolean",0,m,"spaceSeparated",0,g],603286);var b=e.i(603286);let k=Object.keys(b);class w extends c{constructor(e,t,n,r){let l=-1;if(super(e,t),function(e,t,n){n&&(e[t]=n)}(this,"space",r),"number"==typeof n)for(;++l<k.length;){const e=k[l];!function(e,t,n){n&&(e[t]=n)}(this,k[l],(n&b[e])===b[e])}}}function j(e){return e.toLowerCase()}w.prototype.defined=!0;let S=/[A-Z]/g,C=/-[a-z]/g,N=/^data[-\w.:]+$/i;function E(e){return"-"+e.toLowerCase()}function T(e){return e.charAt(1).toUpperCase()}let I={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};class A{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}}function P(e,t){let n={},r={};for(let t of e)Object.assign(n,t.property),Object.assign(r,t.normal);return new A(n,r,t)}function D(e){let t={},n={};for(let[r,l]of Object.entries(e.properties)){let i=new w(r,e.transform(e.attributes||{},r),l,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(i.mustUseProperty=!0),t[r]=i,n[j(r)]=r,n[j(i.attribute)]=r}return new A(t,n,e.space)}A.prototype.normal={},A.prototype.property={},A.prototype.space=void 0;let L=D({properties:{ariaActiveDescendant:null,ariaAtomic:p,ariaAutoComplete:null,ariaBusy:p,ariaChecked:
1p,ariaColCount:h,ariaColIndex:h,ariaColSpan:h,ariaControls:g,ariaCurrent:null,ariaDescribedBy:g,ariaDetails:null,ariaDisabled:p,ariaDropEffect:g,ariaErrorMessage:null,ariaExpanded:p,ariaFlowTo:g,ariaGrabbed:p,ariaHasPopup:null,ariaHidden:p,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:g,ariaLevel:h,ariaLive:null,ariaModal:p,ariaMultiLine:p,ariaMultiSelectable:p,ariaOrientation:null,ariaOwns:g,ariaPlaceholder:null,ariaPosInSet:h,ariaPressed:p,ariaReadOnly:p,ariaRelevant:null,ariaRequired:p,ariaRoleDescription:g,ariaRowCount:h,ariaRowIndex:h,ariaRowSpan:h,ariaSelected:p,ariaSetSize:h,ariaSort:null,ariaValueMax:h,ariaValueMin:h,ariaValueNow:h,ariaValueText:null,role:null},transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase()});function R(e,t){return t in e?e[t]:t}function M(e,t){return R(e,t.toLowerCase())}let _=D({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:x,acceptCharset:g,accessKey:g,action:null,allow:null,allowFullScreen:f,allowPaymentRequest:f,allowUserMedia:f,alpha:f,alt:null,as:null,async:f,autoCapitalize:null,autoComplete:g,autoFocus:f,autoPlay:f,blocking:g,capture:null,charSet:null,checked:f,cite:null,className:g,closedBy:null,colorSpace:null,cols:h,colSpan:h,command:null,commandFor:null,content:null,contentEditable:p,controls:f,controlsList:g,coords:h|x,crossOrigin:null,data:null,dateTime:null,decoding:null,default:f,defer:f,dir:null,dirName:null,disabled:f,download:m,draggable:p,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:f,formTarget:null,headers:g,height:h,hidden:m,high:h,href:null,hrefLang:null,htmlFor:g,httpEquiv:g,id:null,imageSizes:null,imageSrcSet:null,inert:f,inputMode:null,integrity:null,is:null,isMap:f,itemId:null,itemProp:g,itemRef:g,itemScope:f,itemType:g,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:f,low:h,manifest:null,max:null,maxLength:h,media:null,method:null,min:null,minLength:h,multiple:f,muted:f,name:null,nonce:null,noModule:f,noValidate:f,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:f,optimum:h,pattern:null,ping:g,placeholder:null,playsInline:f,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:f,referrerPolicy:null,rel:g,required:f,reversed:f,rows:h,rowSpan:h,sandbox:g,scope:null,scoped:f,seamless:f,selected:f,shadowRootClonable:f,shadowRootCustomElementRegistry:f,shadowRootDelegatesFocus:f,shadowRootMode:null,shadowRootSerializable:f,shape:null,size:h,sizes:null,slot:null,span:h,spellCheck:p,src:null,srcDoc:null,srcLang:null,srcSet:null,start:h,step:null,style:null,tabIndex:h,target:null,title:null,translate:null,type:null,typeMustMatch:f,useMap:null,value:p,width:h,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:g,axis:null,background:null,bgColor:null,border:h,borderColor:null,bottomMargin:h,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:f,declare:f,event:null,face:null,frame:null,frameBorder:null,hSpace:h,leftMargin:h,link:null,longDesc:null,lowSrc:null,marginHeight:h,marginWidth:h,noResize:f,noHref:f,noShade:f,noWrap:f,object:null,profile:null,prompt:null,rev:null,rightMargin:h,rules:null,scheme:null,scrolling:p,standby:null,summary:null,text:null,topMargin:h,valueType:null,version:null,vAlign:null,vLink:null,vSpace:h,allowTransparency:null,autoCorrect:null,autoSave:null,credentialless:f,disablePictureInPicture:f,disableRemotePlayback:f,exportParts:x,part:g,prefix:null,property:null,results:h,security:null,unselectable:null},space:"html",transform:M}),O=D({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRen
1dering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",maskType:"mask-type",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav
1-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:y,accentHeight:h,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:h,amplitude:h,arabicForm:null,ascent:h,attributeName:null,attributeType:null,azimuth:h,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:h,by:null,calcMode:null,capHeight:h,className:g,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:h,diffuseConstant:h,direction:null,display:null,dur:null,divisor:h,dominantBaseline:null,download:f,dx:null,dy:null,edgeMode:null,editable:null,elevation:h,enableBackground:null,end:null,event:null,exponent:h,externalResourcesRequired:null,fill:null,fillOpacity:h,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:x,g2:x,glyphName:x,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:h,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:h,horizOriginX:h,horizOriginY:h,id:null,ideographic:h,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:h,k:h,k1:h,k2:h,k3:h,k4:h,kernelMatrix:y,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:h,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskType:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:h,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,on
1Zoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:h,overlineThickness:h,paintOrder:null,panose1:null,path:null,pathLength:h,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:g,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:h,pointsAtY:h,pointsAtZ:h,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:y,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:y,rev:y,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:y,requiredFeatures:y,requiredFonts:y,requiredFormats:y,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:h,specularExponent:h,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:h,strikethroughThickness:h,string:null,stroke:null,strokeDashArray:y,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:h,strokeOpacity:h,strokeWidth:null,style:null,surfaceScale:h,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:y,tabIndex:h,tableValues:null,target:null,targetX:h,targetY:h,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:y,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:h,underlineThickness:h,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:h,values:null,vAlphabetic:h,vMathematical:h,vectorEffect:null,vHanging:h,vIdeographic:h,version:null,vertAdvY:h,vertOriginX:h,vertOriginY:h,viewB
1ox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:h,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:R}),z=D({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase()}),F=D({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:M}),B=D({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase()}),H=P([L,_,z,F,B],"html"),U=P([L,O,z,F,B],"svg");var $=e.i(339842);let q=W("end"),V=W("start");function W(e){return function(t){let n=t&&t.position&&t.position[e]||{};if("number"==typeof n.line&&n.line>0&&"number"==typeof n.column&&n.column>0)return{line:n.line,column:n.column,offset:"number"==typeof n.offset&&n.offset>-1?n.offset:void 0}}}function Q(e){return e&&"object"==typeof e?"position"in e||"type"in e?K(e.position):"start"in e||"end"in e?K(e):"line"in e||"column"in e?G(e):"":""}function G(e){return J(e&&e.line)+":"+J(e&&e.column)}function K(e){return G(e&&e.start)+"-"+G(e&&e.end)}function J(e){return e&&"number"==typeof e?e:1}class Y extends Error{constructor(e,t,n){super(),"string"==typeof t&&(n=t,t=void 0);let r="",l={},i=!1;if(t&&(l="line"in t&&"column"in t||"start"in t&&"end"in t?{place:t}:"type"in t?{ancestors:[t],place:t.position}:{...t}),"string"==typeof e?r=e:!l.cause&&e&&(i=!0,r=e.message,l.cause=e),!l.ruleId&&!l.source&&"string"==typeof n){const e=n.indexOf(":");-1===e?l.ruleId=n:(l.source=n.slice(0,e),l.ruleId=n.slice(e+1))}if(!l.place&&l.ancestors&&l.ancestors){const e=l.ancestors[l.ancestors.length-1];e&&(l.place=e.position)}const a=l.place&&"start"in l.place?l.place.start:l.place;this.ancestors=l.ancestors||void 0,this.cause=l.cause||void 0,this.column=a?a.column:void 0,this.fatal=void 0,this.file="",this.message=r,this.line=a?a.line:void 0,this.name=Q(l.place)||"1:1",this.place=l.place||void 0,this.reason=this.message,this.ruleId=l.ruleId||void 0,this.source=l.source||void 0,this.stack=i&&l.cause&&"string"==typeof l.cause.stack?l.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}Y.prototype.file="",Y.prototype.name="",Y.prototype.reason="",Y.prototype.message="",Y.prototype.stack="",Y.prototype.column=void 0,Y.prototype.line=void 0,Y.prototype.ancestors=void 0,Y.prototype.cause=void 0,Y.prototype.fatal=void 0,Y.prototype.place=void 0,Y.prototype.ruleId=void 0,Y.prototype.source=void 0;let Z={}.hasOwnProperty,X=new Map,ee=/[A-Z]/g,et=new Set(["table","tbody","thead","tfoot","tr"]),en=new Set(["td","th"]),er="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function el(e,t,r){var l,i,a,o,s,d,f,p,m;let h,g,x,y,v,b,k,A,P,D,L;return"element"===t.type?(l=e,i=t,a=r,g=h=l.schema,"svg"===i.tagName.toLowerCase()&&"html"===h.space&&(l.schema=U),l.ancestors.push(i),x=es(l,i.tagName,!1),y=function(e,t){let n,r,l={};for(r in t.properties)if("children"!==r&&Z.call(t.properties,r)){let i=function(e,t,n){let r=function(e,t){let n=j(t),r=t,l=c;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&N.test(t)){if("-"===t.charAt(4)){let e=t.slice(5).replace(C,T);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!C.test(e)){let n=e.replace(S,E);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}l=w}return new l(r,t)}(e.schema,t);if(!(null==n||"number"==typeof n&&Number.isNaN(n))){var l;let t;if(Array.isArray(n)&&(n=r.commaSeparated?(t={},(""===(l=n)[l.length-1]?[...l,""]:l).join((t.padRight?" ":"")+","+(!1===t.padLeft?"":" ")).trim()):n.join(" ").trim()),"style"===r.property){let t="object"==typeof n?n:function(e,t){try{return(0,$.default)(t,{reactCompat:!0})}catch(n){if(e.ignoreInvalidStyle)return{};let t=new Y("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:n,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw t.file=e.filePath||void 0,t.url=er+"#cannot-parse-style-attribute",t}}(e,String(n));return"css"===e.stylePropertyNameCase&&(t=function(e){let t,n={};for(t in e)Z.call(e,t)&&(n[function(e){let t=e.replace(ee,ec);return"ms-"===t.slice(0,3)&&(t="-"+t),t}(t)]=e[t]);return n}(t)),["style",t]}return["react"===e.elementAttributeNameCase&&r.space?I[r.property]||r.property:r.attribute,n]}}(e,r,t.properties[r]);if(i){let[r,a]=i;e.tableCellAlignToStyle&&"align"===r&&"string"==typeof a&&en.has(t.tagName)?n=a:l[r]=a}}return n&&((l.style||(l.style={}))["css"===e.stylePropertyNameCase?"text-align":"textAlign"]=n),l}(l,i),v=eo(l,i),et.has(i.tagName)&&(v=v.filter(function(e){return"string"!=typeof e||!("object"==typeof e?"text"===e.type&&u(e.value):u(e))})),ei(l,y,x,i),ea(y,v),l.ancestors.pop(),l.schema=h,l.create(i,x,y,a)):"mdxFlowExpression"===t.type||"mdxTextExpression"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater){let r=t.data.estree.body[0];return n(r.type),e.evaluater.evaluateExpression(r.expression)}eu(e,t.position)}(e,t):"mdxJsxFlowElement"===t.type||"mdxJsxTextElement"===t.type?(o=e,s=t,d=r,k=b=o.schema,"svg"===s.name&&"html"===b.space&&(o.schema=U),o.ancestors.push(s),A=null===s.name?o.Fragment:es(o,s.name,!0),P=function(e,t){let r={};for(let l of t.attributes)if("mdxJsxExpressionAttribute"===l.type)if(l.data&&l.data.estree&&e.evaluater){let t=l.data.estree.body[0];n(t.type);let i=t.expression;n(i.type);let a=i.properties[0];n(a.type),Object.assign(r,e.evaluater.evaluateExpression(a.argument))}else eu(e,t.position);else{let i,a=l.name;if(l.value&&"object"==typeof l.value)if(l.value.data&&l.value.data.estree&&e.evaluater){let t=l.value.data.estree.body[0];n(t.type),i=e.evaluater.evaluateExpression(t.expression)}else eu(e,t.position);else i=null===l.value||l.value;r[a]=i}return r}(o,s),D=eo(o,s),ei(o,P,A,s),ea(P,D),o.ancestors.pop(),o.schema=b,o.create(s,A,P,d)):"mdxjsEsm"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);eu(e,t.position)}(e,t):"root"===t.type?(f=e,p=t,m=r,ea(L={},eo(f,p)),f.create(p,f.Fragment,L,m)):"text"===t.type?t.value:void 0}function ei(e,t,n,r){"string"!=typeof n&&n!==e.Fragment&&e.passNode&&(t.node=r)}function ea(e,t){if(t.length>0){let n=t.length>1?t:t[0];n&&(e.children=n)}}function eo(e,t){let n=[],r=-1,l=e.passKeys?new Map:X;for(;++r<t.children.length;){let i,a=t.children[r];if(e.passKeys){let e="element"===a.type?a.tagName:"mdxJsxFlowElement"===a.type||"mdxJsxTextElement"===a.type?a.name:void 0;if(e){let t=l.get(e)||0;i=e+"-"+t,l.set(e,t+1)}}let o=el(e,a,i);void 0!==o&&n.push(o)}return n}function es(e,t,r){let l;if(r)if(t.includes(".")){let e,r=t.split("."),i=-1;for(;++i<r.length;){let t=o(r[i])?{type:"Identifier",name:r[i]}:{type:"Literal",value:r[i]};e=e?{type:"MemberExpression",object:e,property:t,computed:!!(i&&"Literal"===t.type),optional:!1}:t}n(),l=e}else l=o(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};else l={type:"Literal",value:t};if("Literal"===l.type){let t=l.value;return Z.call(e.components,t)?e.components[t]:t}if(e.evaluater)return e.evaluater.evaluateExpression(l);eu(e)}function eu(e,t){let n=new Y("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=er+"#cannot-handle-mdx-estrees-without-createevaluater",n}function ec(e){return"-"+e.toLowerCase()}let ed={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]};var ef=e.i(286896);let ep={};function em(e,t,n){var r;if((r=e)&&"object"==typeof r){if("value"in e)return"html"!==e.type||n?e.value:"";if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return eh(e.children,t,n)}return Array.isArray(e)?eh(e,t,n):""}function eh(e,t,n){let r=[],l=-1;for(;++l<e.length;)r[l]=em(e[l],t,n);return r.join("")}function eg(e,t,n,r){let l,i=e.length,a=0;if(t=t<0?-t>i?0:i+t:t>i?i:t,n=n>0?n:0,r.length<1e4)(l=Array.from(r)).unshift(t,n),e.splice(...l);else for(n&&e.splice(t,n);a<r.length;)(l=r.slice(a,a+1e4)).unshift(t,0),e.splice(...l),a+=1e4,t+=1e4}function ex(e,t){return e.length>0?(eg(e,e.length,0,t),e):t}let ey={}.hasOwnProperty,ev=eP(/[A-Za-z]/),eb=eP(/[\dA-Za-z]/),ek=eP(/[#-'*+\--9=?A-Z^-~]/);function ew(e){return null!==e&&(e<32||127===e)}let ej=eP(/\d/),eS=eP(/[\dA-Fa-f]/),eC=eP(/[!-/:-@[-`{-~]/);function eN(e){return null!==e&&e<-2}function eE(e){return null!==e&&(e<0||32===e)}function eT(e){return -2===e||-1===e||32===e}let eI=eP(/\p{P}|\p{S}/u),eA=eP(/\s/);function eP(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}function eD(e,t,n,r){let l=r?r-1:1/0,i=0;return function(r){return eT(r)?(e.enter(n),function r(a){return eT(a)&&i++<l?(e.consume(a),r):(e.exit(n),t(a))}(r)):t(r)}}let eL={tokenize:function(e){let t,n=e.attempt(this.parser.constructs.contentInitial,function(t){return null===t?void e.consume(t):(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),eD(e,n,"linePrefix"))},function(n){return e.enter("paragraph"),function n(r){let l=e.enter("chunkText",{contentType:"text",previous:t});return t&&(t.next=l),t=l,function t(r){if(null===r){e.exit("chunkText"),e.exit("paragraph"),e.consume(r);return}return eN(r)?(e.consume(r),e.exit("chunkText"),n):(e.consume(r),t)}(r)}(n)});return n}},eR={tokenize:function(e){let t,n,r,l=this,i=[],a=0;return o;function o(t){if(a<i.length){let n=i[a];return l.containerState=n[1],e.attempt(n[0].continuation,s,u)(t)}return u(t)}function s(e){if(a++,l.containerState._closeFlow){let n;l.containerState._closeFlow=void 0,t&&x();let r=l.events.length,i=r;for(;i--;)if("exit"===l.events[i][0]&&"chunkFlow"===l.events[i][1].type){n=l.events[i][1].end;break}g(a);let o=r;for(;o<l.events.length;)l.events[o][1].end={...n},o++;return eg(l.events,i+1,0,l.events.slice(r)),l.events.length=o,u(e)}return o(e)}function u(n){if(a===i.length){if(!t)return f(n);if(t.currentConstruct&&t.currentConstruct.concrete)return m(n);l.interrupt=!!(t.currentConstruct&&!t._gfmTableDynamicInterruptHack)}return l.containerState={},e.check(eM,c,d)(n)}function c(e){return t&&x(),g(a),f(e)}function d(e){return l.parser.lazy[l.now().line]=a!==i.length,r=l.now().offset,m
1(e)}function f(t){return l.containerState={},e.attempt(eM,p,m)(t)}function p(e){return a++,i.push([l.currentConstruct,l.containerState]),f(e)}function m(r){if(null===r){t&&x(),g(0),e.consume(r);return}return t=t||l.parser.flow(l.now()),e.enter("chunkFlow",{_tokenizer:t,contentType:"flow",previous:n}),function t(n){if(null===n){h(e.exit("chunkFlow"),!0),g(0),e.consume(n);return}return eN(n)?(e.consume(n),h(e.exit("chunkFlow")),a=0,l.interrupt=void 0,o):(e.consume(n),t)}(r)}function h(e,i){let o=l.sliceStream(e);if(i&&o.push(null),e.previous=n,n&&(n.next=e),n=e,t.defineSkip(e.start),t.write(o),l.parser.lazy[e.start.line]){let e,n,i=t.events.length;for(;i--;)if(t.events[i][1].start.offset<r&&(!t.events[i][1].end||t.events[i][1].end.offset>r))return;let o=l.events.length,s=o;for(;s--;)if("exit"===l.events[s][0]&&"chunkFlow"===l.events[s][1].type){if(e){n=l.events[s][1].end;break}e=!0}for(g(a),i=o;i<l.events.length;)l.events[i][1].end={...n},i++;eg(l.events,s+1,0,l.events.slice(o)),l.events.length=i}}function g(t){let n=i.length;for(;n-- >t;){let t=i[n];l.containerState=t[1],t[0].exit.call(l,e)}i.length=t}function x(){t.write([null]),n=void 0,t=void 0,l.containerState._closeFlow=void 0}}},eM={tokenize:function(e,t,n){return eD(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}},e_={partial:!0,tokenize:function(e,t,n){return function(t){return eT(t)?eD(e,r,"linePrefix")(t):r(t)};function r(e){return null===e||eN(e)?t(e):n(e)}}};class eO{constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){if(e<0||e>=this.left.length+this.right.length)throw RangeError("Cannot access index `"+e+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return e<this.left.length?this.left[e]:this.right[this.right.length-e+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(e,t){let n=null==t?1/0:t;return n<this.left.length?this.left.slice(e,n):e>this.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(e,t,n){this.setCursor(Math.trunc(e));let r=this.right.splice(this.right.length-(t||0),1/0);return n&&ez(this.left,n),r.reverse()}pop(){return this.setCursor(1/0),this.left.pop()}push(e){this.setCursor(1/0),this.left.push(e)}pushMany(e){this.setCursor(1/0),ez(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),ez(this.right,e.reverse())}setCursor(e){if(e!==this.left.length&&(!(e>this.left.length)||0!==this.right.length)&&(!(e<0)||0!==this.left.length))if(e<this.left.length){let t=this.left.splice(e,1/0);ez(this.right,t.reverse())}else{let t=this.right.splice(this.left.length+this.right.length-e,1/0);ez(this.left,t.reverse())}}}function ez(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function eF(e){let t,n,r,l,i,a,o,s={},u=-1,c=new eO(e);for(;++u<c.length;){for(;u in s;)u=s[u];if(t=c.get(u),u&&"chunkFlow"===t[1].type&&"listItemPrefix"===c.get(u-1)[1].type&&((r=0)<(a=t[1]._tokenizer.events).length&&"lineEndingBlank"===a[r][1].type&&(r+=2),r<a.length&&"content"===a[r][1].type))for(;++r<a.length&&"content"!==a[r][1].type;)"chunkText"===a[r][1].type&&(a[r][1]._isInFirstContentOfListItem=!0,r++);if("enter"===t[0])t[1].contentType&&(Object.assign(s,function(e,t){let n,r,l=e.get(t)[1],i=e.get(t)[2],a=t-1,o=[],s=l._tokenizer;!s&&(s=i.parser[l.contentType](l.start),l._contentTypeTextTrailing&&(s._c
1ontentTypeTextTrailing=!0));let u=s.events,c=[],d={},f=-1,p=l,m=0,h=0,g=[0];for(;p;){for(;e.get(++a)[1]!==p;);o.push(a),!p._tokenizer&&(n=i.sliceStream(p),p.next||n.push(null),r&&s.defineSkip(p.start),p._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=!0),s.write(n),p._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=void 0)),r=p,p=p.next}for(p=l;++f<u.length;)"exit"===u[f][0]&&"enter"===u[f-1][0]&&u[f][1].type===u[f-1][1].type&&u[f][1].start.line!==u[f][1].end.line&&(h=f+1,g.push(h),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(s.events=[],p?(p._tokenizer=void 0,p.previous=void 0):g.pop(),f=g.length;f--;){let t=u.slice(g[f],g[f+1]),n=o.pop();c.push([n,n+t.length-1]),e.splice(n,2,t)}for(c.reverse(),f=-1;++f<c.length;)d[m+c[f][0]]=m+c[f][1],m+=c[f][1]-c[f][0]-1;return d}(c,u)),u=s[u],o=!0);else if(t[1]._container){for(r=u,n=void 0;r--;)if("lineEnding"===(l=c.get(r))[1].type||"lineEndingBlank"===l[1].type)"enter"===l[0]&&(n&&(c.get(n)[1].type="lineEndingBlank"),l[1].type="lineEnding",n=r);else if("linePrefix"===l[1].type||"listItemIndent"===l[1].type);else break;n&&(t[1].end={...c.get(n)[1].start},(i=c.slice(n,u)).unshift(t),c.splice(n,u-n+1,i))}}return eg(e,0,1/0,c.slice(0)),!o}let eB={resolve:function(e){return eF(e),e},tokenize:function(e,t){let n;return function(t){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),r(t)};function r(t){return null===t?l(t):eN(t)?e.check(eH,i,l)(t):(e.consume(t),r)}function l(n){return e.exit("chunkContent"),e.exit("content"),t(n)}function i(t){return e.consume(t),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,r}}},eH={partial:!0,tokenize:function(e,t,n){let r=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),eD(e,l,"linePrefix")};function l(l){if(null===l||eN(l))return n(l);let i=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?t(l):e.interrupt(r.parser.constructs.flow,n,t)(l)}}},eU={tokenize:function(e){let t=this,n=e.attempt(e_,function(r){return null===r?void e.consume(r):(e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n)},e.attempt(this.parser.constructs.flowInitial,r,eD(e,e.attempt(this.parser.constructs.flow,r,e.attempt(eB,r)),"linePrefix")));return n;function r(r){return null===r?void e.consume(r):(e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n)}}},e$={resolveAll:eQ()},eq=eW("string"),eV=eW("text");function eW(e){return{resolveAll:eQ("text"===e?eG:void 0),tokenize:function(t){let n=this,r=this.parser.constructs[e],l=t.attempt(r,i,a);return i;function i(e){return s(e)?l(e):a(e)}function a(e){return null===e?void t.consume(e):(t.enter("data"),t.consume(e),o)}function o(e){return s(e)?(t.exit("data"),l(e)):(t.consume(e),o)}function s(e){if(null===e)return!0;let t=r[e],l=-1;if(t)for(;++l<t.length;){let e=t[l];if(!e.previous||e.previous.call(n,n.previous))return!0}return!1}}}}function eQ(e){return function(t,n){let r,l=-1;for(;++l<=t.length;)void 0===r?t[l]&&"data"===t[l][1].type&&(r=l,l++):t[l]&&"data"===t[l][1].type||(l!==r+2&&(t[r][1].end=t[l-1][1].end,t.splice(r+2,l-r-2),l=r+2),r=void 0);return e?e(t,n):t}}function eG(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||"lineEnding"===e[n][1].type)&&"data"===e[n-1][1].type){let r,l=e[n-1][1],i=t.sliceStream(l),a=i.length,o=-1,s=0;for(;a--;){let e=i[a];if("string"==typeof e){for(o=e.length;32===e.charCodeAt(o-1);)s++,o--;if(o)break;o=-1}else if(-2===e)r=!0,s++;else if(-1===e);else{a++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(s=0),s){let i={type:n===e.length||r||s<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:a?o:l.start._bufferIndex+o,_index:l.start._index+a,line:l.end.line,column:l.end.column-s,offset:l.end.offset-s},end:{...l.end}};l.end={...i.start},l.start.offset===l.end.offset?Object.assign(l,i):(e.splice(n,0,["enter",i,t],["exit",i,t]),n+=2)}n++}return e}function eK(e){return null===e||eE(e)||eA(e)?1:eI(e)?2:void 0}function eJ(e,t,n){let r=[],l=-1;for(;++l<e.length;){let i=e[l].resolveAll;i&&!r.includes(i)&&(t=i(t,n),r.push(i))}return t}let eY={name:"attention",resolveAll:function(e,t){let n,r,l,i,a,o,s,u,c=-1;for(;++c<e.length;)if("enter"===e[c][0]&&"attentionSequence"===e[c][1].type&&e[c][1]._close){for(n=c;n--;)if("exit"===e[n][0]&&"attentionSequence"===e[n][1].type&&e[n][1]._open&&t.sliceSerialize(e[
1n][1]).charCodeAt(0)===t.sliceSerialize(e[c][1]).charCodeAt(0)){if((e[n][1]._close||e[c][1]._open)&&(e[c][1].end.offset-e[c][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[c][1].end.offset-e[c][1].start.offset)%3))continue;o=e[n][1].end.offset-e[n][1].start.offset>1&&e[c][1].end.offset-e[c][1].start.offset>1?2:1;let d={...e[n][1].end},f={...e[c][1].start};eZ(d,-o),eZ(f,o),i={type:o>1?"strongSequence":"emphasisSequence",start:d,end:{...e[n][1].end}},a={type:o>1?"strongSequence":"emphasisSequence",start:{...e[c][1].start},end:f},l={type:o>1?"strongText":"emphasisText",start:{...e[n][1].end},end:{...e[c][1].start}},r={type:o>1?"strong":"emphasis",start:{...i.start},end:{...a.end}},e[n][1].end={...i.start},e[c][1].start={...a.end},s=[],e[n][1].end.offset-e[n][1].start.offset&&(s=ex(s,[["enter",e[n][1],t],["exit",e[n][1],t]])),s=ex(s,[["enter",r,t],["enter",i,t],["exit",i,t],["enter",l,t]]),s=ex(s,eJ(t.parser.constructs.insideSpan.null,e.slice(n+1,c),t)),s=ex(s,[["exit",l,t],["enter",a,t],["exit",a,t],["exit",r,t]]),e[c][1].end.offset-e[c][1].start.offset?(u=2,s=ex(s,[["enter",e[c][1],t],["exit",e[c][1],t]])):u=0,eg(e,n-1,c-n+3,s),c=n+s.length-u-2;break}}for(c=-1;++c<e.length;)"attentionSequence"===e[c][1].type&&(e[c][1].type="data");return e},tokenize:function(e,t){let n,r=this.parser.constructs.attentionMarkers.null,l=this.previous,i=eK(l);return function(a){return n=a,e.enter("attentionSequence"),function a(o){if(o===n)return e.consume(o),a;let s=e.exit("attentionSequence"),u=eK(o),c=!u||2===u&&i||r.includes(o),d=!i||2===i&&u||r.includes(l);return s._open=!!(42===n?c:c&&(i||!d)),s._close=!!(42===n?d:d&&(u||!c)),t(o)}(a)}}};function eZ(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}let eX={continuation:{tokenize:function(e,t,n){let r=this;return function(t){return eT(t)?eD(e,l,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):l(t)};function l(r){return e.attempt(eX,t,n)(r)}}},exit:function(e){e.exit("blockQuote")},name:"blockQuote",tokenize:function(e,t,n){let r=this;return function(t){if(62===t){let n=r.containerState;return n.open||(e.enter("blockQuote",{_container:!0}),n.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),l}return n(t)};function l(n){return eT(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}}},e0={name:"characterEscape",tokenize:function(e,t,n){return function(t){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(t),e.exit("escapeMarker"),r};function r(r){return eC(r)?(e.enter("characterEscapeValue"),e.consume(r),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(r)}}},e1=document.createElement("i");function e2(e){let t="&"+e+";";e1.innerHTML=t;let n=e1.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&n!==t&&n}let e4={name:"characterReference",tokenize:function(e,t,n){let r,l,i=this,a=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),o};function o(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),s):(e.enter("characterReferenceValue"),r=31,l=eb,u(t))}function s(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),r=6,l=eS,u):(e.enter("characterReferenceValue"),r=7,l=ej,u(t))}function u(o){if(59===o&&a){let r=e.exit("characterReferenceValue");return l!==eb||e2(i.sliceSerialize(r))?(e.enter("characterReferenceMarker"),e.consume(o),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(o)}return l(o)&&a++<r?(e.consume(o),u):n(o)}}},e6={partial:!0,tokenize:function(e,t,n){let r=this;return function(t){return null===t?n(t):(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),l)};function l(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}},e5={concrete:!0,name:"codeFenced",tokenize:function(e,t,n){let r,l=this,i={partial:!0,tokenize:function(e,t,n){let i=0;return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),a};
vendor: 10,539 bytes, line 1
1function a(t){return e.enter("codeFencedFence"),eT(t)?eD(e,s,"linePrefix",l.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):s(t)}function s(t){return t===r?(e.enter("codeFencedFenceSequence"),function t(l){return l===r?(i++,e.consume(l),t):i>=o?(e.exit("codeFencedFenceSequence"),eT(l)?eD(e,u,"whitespace")(l):u(l)):n(l)}(t)):n(t)}function u(r){return null===r||eN(r)?(e.exit("codeFencedFence"),t(r)):n(r)}}},a=0,o=0;return function(t){var i;let u;return i=t,a=(u=l.events[l.events.length-1])&&"linePrefix"===u[1].type?u[2].sliceSerialize(u[1],!0).length:0,r=i,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),function t(l){return l===r?(o++,e.consume(l),t):o<3?n(l):(e.exit("codeFencedFenceSequence"),eT(l)?eD(e,s,"whitespace")(l):s(l))}(i)};function s(i){return null===i||eN(i)?(e.exit("codeFencedFence"),l.interrupt?t(i):e.check(e6,c,m)(i)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),function t(l){return null===l||eN(l)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),s(l)):eT(l)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),eD(e,u,"whitespace")(l)):96===l&&l===r?n(l):(e.consume(l),t)}(i))}function u(t){return null===t||eN(t)?s(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),function t(l){return null===l||eN(l)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),s(l)):96===l&&l===r?n(l):(e.consume(l),t)}(t))}function c(t){return e.attempt(i,m,d)(t)}function d(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),f}function f(t){return a>0&&eT(t)?eD(e,p,"linePrefix",a+1)(t):p(t)}function p(t){return null===t||eN(t)?e.check(e6,c,m)(t):(e.enter("codeFlowValue"),function t(n){return null===n||eN(n)?(e.exit("codeFlowValue"),p(n)):(e.consume(n),t)}(t))}function m(n){return e.exit("codeFenced"),t(n)}}},e3={name:"codeIndented",tokenize:function(e,t,n){let r=this;return function(t){return e.enter("codeIndented"),eD(e,l,"linePrefix",5)(t)};function l(t){let l=r.events[r.events.length-1];return l&&"linePrefix"===l[1].type&&l[2].sliceSerialize(l[1],!0).length>=4?function t(n){return null===n?i(n):eN(n)?e.attempt(e9,t,i)(n):(e.enter("codeFlowValue"),function n(r){return null===r||eN(r)?(e.exit("codeFlowValue"),t(r)):(e.consume(r),n)}(n))}(t):n(t)}function i(n){return e.exit("codeIndented"),t(n)}}},e9={partial:!0,tokenize:function(e,t,n){let r=this;return l;function l(t){return r.parser.lazy[r.now().line]?n(t):eN(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),l):eD(e,i,"linePrefix",5)(t)}function i(e){let i=r.events[r.events.length-1];return i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?t(e):eN(e)?l(e):n(e)}}};function e8(e,t,n,r,l,i,a,o,s){let u=s||1/0,c=0;return function(t){return 60===t?(e.enter(r),e.enter(l),e.enter(i),e.consume(t),e.exit(i),d):null===t||32===t||41===t||ew(t)?n(t):(e.enter(r),e.enter(a),e.enter(o),e.enter("chunkString",{contentType:"string"}),m(t))};function d(n){return 62===n?(e.enter(i),e.consume(n),e.exit(i),e.exit(l),e.exit(r),t):(e.enter(o),e.enter("chunkString",{contentType:"string"}),f(n))}function f(t){return 62===t?(e.exit("chunkString"),e.exit(o),d(t)):null===t||60===t||eN(t)?n(t):(e.consume(t),92===t?p:f)}function p(t){return 60===t||62===t||92===t?(e.consume(t),f):f(t)}function m(l){return!c&&(null===l||41===l||eE(l))?(e.exit("chunkString"),e.exit(o),e.exit(a),e.exit(r),t(l)):c<u&&40===l?(e.consume(l),c++,m):41===l?(e.consume(l),c--,m):null===l||32===l||40===l||ew(l)?n(l):(e.consume(l),92===l?h:m)}function h(t){return 40===t||41===t||92===t?(e.consume(t),m):m(t)}}function e7(e,t,n,r,l,i){let a,o=this,s=0;return function(t){return e.enter(r),e.enter(l),e.consume(t),e.exit(l),e.enter(i),u};function u(d){return s>999||null===d||91===d||93===d&&!a||94===d&&!s&&"_hiddenFootnoteSupport"in o.parser.constructs?n(d):93===d?(e.exit(i),e.enter(l),e.consume(d),e.exit(l),e.exit(r),t):eN(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),u):(e.enter("chunkString",{contentType:"string"}),c(d))}function c(t){return null===t||91===t||93===t||eN(t)||s++>999?(e.exit("chunkString"),u(t)):(e.consume(t),a||(a=!eT(t)),92===t?d:c)}function d(t){return 91===t||92===t||93===t?(e.consume(t),s++,c):c(t)}}function te(e,t,n,r,l,i){let a;return function(t){return 34===t||39===t||40===t?(e.enter(r),e.enter(l),e.consume(t),e.exit(l),a=40===t?41:t,o):n(t)};function o(n){return n===a?(e.enter(l),e.consume(n),e.exit(l),e.exit(r),t):(e.enter(i),s(n))}function s(t){return t===a?(e.exit(i),o(a)):null===t?n(t):eN(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),eD(e,s,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),u(t))}function u(t){return t===a||null===t||eN(t)?(e.exit("chunkString"),s(t)):(e.consume(t),92===t?c:u)}function c(t){return t===a||92===t?(e.consume(t),u):u(t)}}function tt(e,t){let n;return function r(l){return eN(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),n=!0,r):eT(l)?eD(e,r,n?"linePrefix":"lineSuffix")(l):t(l)}}function tn(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}let tr={partial:!0,tokenize:function(e,t,n){return function(t){return eE(t)?tt(e,r)(t):n(t)};function r(t){return te(e,l,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function l(t){return eT(t)?eD(e,i,"whitespace")(t):i(t)}function i(e){return null===e||eN(e)?t(e):n(e)}}},tl=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],ti=["pre","script","style","textarea"],ta={partial:!0,tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(e_,t,n)}}},to={partial:!0,tokenize:function(e,t,n){let r=this;return function(t){return eN(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),l):n(t)};function l(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}},ts={name:"labelEnd",resolveAll:function(e){let t=-1,n=[];for(;++t<e.length;){let r=e[t][1];if(n.push(e[t]),"labelImage"===r.type||"labelLink"===r.type||"labelEnd"===r.type){let e="labelImage"===r.type?4:2;r.type="data",t+=e}}return e.length!==n.length&&eg(e,0,e.length,n),e},resolveTo:function(e,t){let n,r,l,i,a=e.length,o=0;for(;a--;)if(n=e[a][1],r){if("link"===n.type||"labelLink"===n.type&&n._inactive)break;"enter"===e[a][0]&&"labelLink"===n.type&&(n._inactive=!0)}else if(l){if("enter"===e[a][0]&&("labelImage"===n.type||"labelLink"===n.type)&&!n._balanced&&(r=a,"labelLink"!==n.type)){o=2;break}}else"labelEnd"===n.type&&(l=a);let s={type:"labelLink"===e[r][1].type?"link":"image",start:{...e[r][1].start},end:{...e[e.length-1][1].end}},u={type:"label",start:{...e[r][1].start},end:{...e[l][1].end}},c={type:"labelText",start:{...e[r+o+2][1].end},end:{...e[l-2][1].start}};return i=ex(i=[["enter",s,t],["enter",u,t]],e.slice(r+1,r+o+3)),i=ex(i,[["enter",c,t]]),i=ex(i,eJ(t.parser.constructs.insideSpan.null,e.slice(r+o+4,l-3),t)),i=ex(i,[["exit",c,t],e[l-2],e[l-1],["exit",u,t]]),i=ex(i,e.slice(l+1)),i=ex(i,[["exit",s,t]]),eg(e,r,e.length,i),e},tokenize:function(e,t,n){let r,l,i=this,a=i.events.length;for(;a--;)if(("labelImage"===i.events[a][1].type||"labelLink"===i.events[a][1].type)&&!i.events[a][1]._balanced){r=i.events[a][1];break}return function(t){return r?r._inactive?c(t):(l=i.parser.defined.includes(tn(i.sliceSerialize({start:r.end,end:i.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),o):n(t)};function o(t){return 40===t?e.attempt(tu,u,l?u:c)(t):91===t?e.attempt(tc,u,l?s:c)(t):l?u(t):c(t)}function s(t){return e.attempt(td,u,c)(t)}function u(e){return t(e)}function c(e){return r._balanced=!0,n(e)}}},tu={tokenize:function(e,t,n){return function(t){return e.enter("resource"),e.enter("resourceMarker"),e.consume(t),e.exit("resourceMarker"),r};function r(t){return eE(t)?tt(e,l)(t):l(t)}function l(t){return 41===t?u(t):e8(e,i,a,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function i(t){return eE(t)?tt(e,o)(t):u(t)}function a(e){return n(e)}function o(t){return 34===t||39===t||40===t?te(e,s,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):u(t)}function s(t){return eE(t)?tt(e,u)(t):u(t)}function u(r){return 41===r?(e.enter("resourceMarker"),e.consume(r),e.exit("resourceMarker"),e.exit("resource"),t):n(r)}}},tc={tokenize:function(e,t,n){let r=this;return function(t){return e7.call(r,e,l,i,"reference","referenceMarker","referenceString")(t)};function l(e){return r.parser.defined.includes(tn(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}function i(e){return n(e)}}},td={tokenize:function(e,t,n){return function(t){return e.enter("reference"),e.enter("referenceMarker"),e.consume(t),e.exit("referenceMarker"),r};function r(r){return 93===r?(e.enter("referenceMarker"),e.consume(r),e.exit("referenceMarker"),e.exit("reference"),t):n(r)}}},tf={name:"labelStartImage",resolveAll:ts.resolveAll,tokenize:function(e,t,n){let r=this;return function(t){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(t),e.exit("labelImageMarker"),l};function l(t){return 91===t?(e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelImage"),i):n(t)}function i(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}}},tp={name:"labelStartLink",resolveAll:ts.resolveAll,tokenize:function(e,t,n){let r=this;return function(t){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelLink"),l};function l(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}}},tm={name:"lineEnding",tokenize:function(e,t){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),eD(e,t,"linePrefix")}}},th={name:"thematicBreak",tokenize:function(e,t,n){let r,l=0;return function(i){var a;return e.enter("thematicBreak"),r=a=i,function i(a){return a===r?(e.enter("thematicBreakSequence"),function t(n){return n===r?(e.consume(n),l++,t):(e.exit("thematicBreakSequence"),eT(n)?eD(e,i,"whitespace")(n):i(n))}
1(a)):l>=3&&(null===a||eN(a))?(e.exit("thematicBreak"),t(a)):n(a)}(a)}}},tg={continuation:{tokenize:function(e,t,n){let r=this;return r.containerState._closeFlow=void 0,e.check(e_,function(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,eD(e,t,"listItemIndent",r.containerState.size+1)(n)},function(n){return r.containerState.furtherBlankLines||!eT(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,l(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(ty,t,l)(n))});function l(l){return r.containerState._closeFlow=!0,r.interrupt=void 0,eD(e,e.attempt(tg,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(l)}}},exit:function(e){e.exit(this.containerState.type)},name:"list",tokenize:function(e,t,n){let r=this,l=r.events[r.events.length-1],i=l&&"linePrefix"===l[1].type?l[2].sliceSerialize(l[1],!0).length:0,a=0;return function(t){let l=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===l?!r.containerState.marker||t===r.containerState.marker:ej(t)){if(r.containerState.type||(r.containerState.type=l,e.enter(l,{_container:!0})),"listUnordered"===l)return e.enter("listItemPrefix"),42===t||45===t?e.check(th,n,o)(t):o(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),function t(l){return ej(l)&&++a<10?(e.consume(l),t):(!r.interrupt||a<2)&&(r.containerState.marker?l===r.containerState.marker:41===l||46===l)?(e.exit("listItemValue"),o(l)):n(l)}(t)}return n(t)};function o(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(e_,r.interrupt?n:s,e.attempt(tx,c,u))}
1function s(e){return r.containerState.initialBlankLine=!0,i++,c(e)}function u(t){return eT(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),c):n(t)}function c(n){return r.containerState.size=i+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}}},tx={partial:!0,tokenize:function(e,t,n){let r=this;return eD(e,function(e){let l=r.events[r.events.length-1];return!eT(e)&&l&&"listItemPrefixWhitespace"===l[1].type?t(e):n(e)},"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)}},ty={partial:!0,tokenize:function(e,t,n){let r=this;return eD(e,function(e){let l=r.events[r.events.length-1];return l&&"listItemIndent"===l[1].type&&l[2].sliceSerialize(l[1],!0).length===r.containerState.size?t(e):n(e)},"listItemIndent",r.containerState.size+1)}},tv={name:"setextUnderline",resolveTo:function(e,t){let n,r,l,i=e.length;for(;i--;)if("enter"===e[i][0]){if("content"===e[i][1].type){n=i;break}"paragraph"===e[i][1].type&&(r=i)}else"content"===e[i][1].type&&e.splice(i,1),l||"definition"!==e[i][1].type||(l=i);let a={type:"setextHeading",start:{...e[n][1].start},end:{...e[e.length-1][1].end}};return e[r][1].type="setextHeadingText",l?(e.splice(r,0,["enter",a,t]),e.splice(l+1,0,["exit",e[n][1],t]),e[n][1].end={...e[l][1].end}):e[n][1]=a,e.push(["exit",a,t]),e},tokenize:function(e,t,n){let r,l=this;return function(t){var a;let o,s=l.events.length;for(;s--;)if("lineEnding"!==l.events[s][1].type&&"linePrefix"!==l.events[s][1].type&&"content"!==l.events[s][1].type){o="paragraph"===l.events[s][1].type;break}return!l.parser.lazy[l.now().line]&&(l.interrupt||o)?(e.enter("setextHeadingLine"),r=t,a=t,e.enter("setextHeadingLineSequence"),function t(n){return n===r?(e.consume(n),t):(e.exit("setextHeadingLineSequence"),eT(n)?eD(e,i,"lineSuffix")(n):i(n))}(a)):n(t)};function i(r){return null===r||eN(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}}};e.s(["attentionMarkers",0,{null:[42,95]},"contentInitial",0,{91:{name:"definition",tokenize:function(e,t,n){let r,l=this;return function(t){var r;return e.enter("definition"),r=t,e7.call(l,e,i,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(r)};function i(t){return(r=tn(l.sliceSerialize(l.events[l.events.length-1][1]).slice(1,-1)),58===t)?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),a):n(t)}function a(t){return eE(t)?tt(e,o)(t):o(t)}function o(t){return e8(e,s,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function s(t){return e.attempt(tr,u,u)(t)}function u(t){return eT(t)?eD(e,c,"whitespace")(t):c(t)}function c(i){return null===i||eN(i)?(e.exit("definition"),l.parser.defined.push(r),t(i)):n(i)}}}},"disable",0,{null:[]},"document",0,{42:tg,43:tg,45:tg,48:tg,49:tg,50:tg,51:tg,52:tg,53:tg,54:tg,55:tg,56:tg,57:tg,62:eX},"flow",0,{35:{name:"headingAtx",resolve:function(e,t){let n,r,l=e.length-2,i=3;return"whitespace"===e[3][1].type&&(i+=2),l-2>i&&"whitespace"===e[l][1].type&&(l-=2),"atxHeadingSequence"===e[l][1].type&&(i===l-1||l-4>i&&"whitespace"===e[l-2][1].type)&&(l-=i+1===l?2:4),l>i&&(n={type:"atxHeadingText",start:e[i][1].start,end:e[l][1].end},r={type:"chunkText",start:e[i][1].start,end:e[l][1].end,contentType:"text"},eg(e,i,l-i+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]])),e},tokenize:function(e,t,n){let r=0;return function(l){var i;return e.enter("atxHeading"),i=l,e.enter("atxHeadingSequence"),function l(i){return 35===i&&r++<6?(e.consume(i),l):null===i||eE(i)?(e.exit("atxHeadingSequence"),function n(r){return 35===r?(e.enter("atxHeadingSequence"),function t(r){return 35===r?(e.consume(r),t):(e.exit("atxHeadingSequence"),n(r))}(r)):null===r||eN(r)?(e.exit("atxHeading"),t(r)):eT(r)?eD(e,n,"whitespace")(r):(e.enter("atxHeadingText"),function t(r){return null===r||35===r||eE(r)?(e.exit("atxHeadingText"),n(r)):(e.consume(r),t)}(r))}(i)):n(i)}(i)}}},42:th,45:[tv,th],60:{concrete:!0,name:"htmlFlow",resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););return t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e},tokenize:function(e,t,n){let r,l,i,a,o,s=this;return function(t){var n;return n=t,e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(n),u};function u(a){return 33===a?(e.consume(a),c):47===a?(e.consume(a),l=!0,p):63===a?(e.consume(a),r=3,s.interrupt?t:D):ev(a)?(e.consume(a),i=String.fromCharCode(a),m):n(a)}
1function c(l){return 45===l?(e.consume(l),r=2,d):91===l?(e.consume(l),r=5,a=0,f):ev(l)?(e.consume(l),r=4,s.interrupt?t:D):n(l)}function d(r){return 45===r?(e.consume(r),s.interrupt?t:D):n(r)}function f(r){let l="CDATA[";return r===l.charCodeAt(a++)?(e.consume(r),a===l.length)?s.interrupt?t:S:f:n(r)}function p(t){return ev(t)?(e.consume(t),i=String.fromCharCode(t),m):n(t)}function m(a){if(null===a||47===a||62===a||eE(a)){let o=47===a,u=i.toLowerCase();return!o&&!l&&ti.includes(u)?(r=1,s.interrupt?t(a):S(a)):tl.includes(i.toLowerCase())?(r=6,o)?(e.consume(a),h):s.interrupt?t(a):S(a):(r=7,s.interrupt&&!s.parser.lazy[s.now().line]?n(a):l?function t(n){return eT(n)?(e.consume(n),t):w(n)}(a):g(a))}return 45===a||eb(a)?(e.consume(a),i+=String.fromCharCode(a),m):n(a)}function h(r){return 62===r?(e.consume(r),s.interrupt?t:S):n(r)}function g(t){return 47===t?(e.consume(t),w):58===t||95===t||ev(t)?(e.consume(t),x):eT(t)?(e.consume(t),g):w(t)}function x(t){return 45===t||46===t||58===t||95===t||eb(t)?(e.consume(t),x):y(t)}function y(t){return 61===t?(e.consume(t),v):eT(t)?(e.consume(t),y):g(t)}function v(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),o=t,b):eT(t)?(e.consume(t),v):function t(n){return null===n||34===n||39===n||47===n||60===n||61===n||62===n||96===n||eE(n)?y(n):(e.consume(n),t)}(t)}function b(t){return t===o?(e.consume(t),o=null,k):null===t||eN(t)?n(t):(e.consume(t),b)}function k(e){return 47===e||62===e||eT(e)?g(e):n(e)}function w(t){return 62===t?(e.consume(t),j):n(t)}function j(t){return null===t||eN(t)?S(t):eT(t)?(e.consume(t),j):n(t)}function S(t){return 45===t&&2===r?(e.consume(t),T):60===t&&1===r?(e.consume(t),I):62===t&&4===r?(e.consume(t),L):63===t&&3===r?(e.consume(t),D):93===t&&5===r?(e.consume(t),P):eN(t)&&(6===r||7===r)?(e.exit("htmlFlowData"),e.check(ta,R,C)(t)):null===t||eN(t)?(e.exit("htmlFlowData"),C(t)):(e.consume(t),S)}function C(t){return e.check(to,N,R)(t)}function N(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),E}function E(t){return null===t||eN(t)?C(t):(e.enter("htmlFlowData"),S(t))}function T(t){return 45===t?(e.consume(t),D):S(t)}function I(t){return 47===t?(e.consume(t),i="",A):S(t)}function A(t){if(62===t){let n=i.toLowerCase();return ti.includes(n)?(e.consume(t),L):S(t)}return ev(t)&&i.length<8?(e.consume(t),i+=String.fromCharCode(t),A):S(t)}function P(t){return 93===t?(e.consume(t),D):S(t)}function D(t){return 62===t?(e.consume(t),L):45===t&&2===r?(e.consume(t),D):S(t)}function L(t){return null===t||eN(t)?(e.exit("htmlFlowData"),R(t)):(e.consume(t),L)}function R(n){return e.exit("htmlFlow"),t(n)}}},61:tv,95:th,96:e5,126:e5},"flowInitial",0,{[-2]:e3,[-1]:e3,32:e3},"insideSpan",0,{null:[eY,e$]},"string",0,{38:e4,92:e0},"text",0,{[-5]:tm,[-4]:tm,[-3]:tm,33:tf,38:e4,42:eY,60:[{name:"autolink",tokenize:function(e,t,n){let r=0;return function(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),l};function l(t){return ev(t)?(e.consume(t),i):64===t?n(t):o(t)}function i(t){return 43===t||45===t||46===t||eb(t)?(r=1,function t(n){return 58===n?(e.consume(n),r=0,a):(43===n||45===n||46===n||eb(n))&&r++<32?(e.consume(n),t):(r=0,o(n))}(t)):o(t)}function a(r){return 62===r?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(r),e.exit("autolinkMarker"),e.exit("autolink"),t):null===r||32===r||60===r||ew(r)?n(r):(e.consume(r),a)}function o(t){return 64===t?(e.consume(t),s):ek(t)?(e.consume(t),o):n(t)}function s(l){return eb(l)?function l(i){return 46===i?(e.consume(i),r=0,s):62===i?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(i),e.exit("autolinkMarker"),e.exit("autolink"),t):function t(i){if((45===i||eb(i))&&r++<63){let n=45===i?t:l;return e.consume(i),n}return n(i)}(i)}(l):n(l)}}},{name:"htmlText",tokenize:function(e,t,n){let r,l,i,a=this;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),o};function o(t){return 33===t?(e.consume(t),s):47===t?(e.consume(t),b):63===t?(e.consume(t),y):ev(t)?(e.consume(t),w):n(t)}function s(t){return 45===t?(e.consume(t),u):91===t?(e.consume(t),l=0,p):ev(t)?(e.consume(t),x):n(t)}function u(t){return 45===t?(e.consume(t),f):n(t)}function c(t){return null===t?n(t):45===t?(e.consume(t),d):eN(t)?(i=c,A(t)):(e.consume(t),c)}function d(t){return 45===t?(e.consume(t),f):c(t)}function f(e){return 62===e?I(e):45===e?d(e):c(e)}function p(t){let r="CDATA[";return t===r.charCodeAt(l++)?(e.consume(t),l===r.length?m:p):n(t)}function m(t){return null===t?n(t):93===t?(e.consume(t),h):eN(t)?(i=m,A(t)):(e.consume(t),m)}function h(t){return 93===t?(e.consume(t),g):m(t)}function g(t){return 62===t?I(t):93===t?(e.consume(t),g):m(t)}function x(t){return null===t||62===t?I(t):eN(t)?(i=x,A(t)):(e.consume(t),x)}function y(t){return null===t?n(t):63===t?(e.consume(t),v):eN(t)?(i=y,A(t)):(e.consume(t),y)}function v(e){return 62===e?I(e):y(e)}function b(t){return ev(t)?(e.consume(t),k):n(t)}function k(t){return 45===t||eb(t)?(e.consume(t),k):function t(n){return eN(n)?(i=t,A(n)):eT(n)?(e.consume(n),t):I(n)}(t)}function w(t){return 45===t||eb(t)?(e.consume(t),w):47===t||62===t||eE(t)?j(t):n(t)}function j(t){return 47===t?(e.consume(t),I):58===t||95===t||ev(t)?(e.consume(t),S):eN(t)?(i=j,A(t)):eT(t)?(e.consume(t),j):I(t)}function S(t){return 45===t||46===t||58===t||95===t||eb(t)?(e.consume(t),S):function t(n){return 61===n?(e.consume(n),C):eN(n)?(i=t,A(n)):eT(n)?(e.consume(n),t):j(n)}(t)}function C(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),r=t,N):eN(t)?(i=C,A(t)):eT(t)?(e.consume(t),C):(e.consume(t),E)}function N(t){return t===r?(e.consume(t),r=void 0,T):null===t?n(t):eN(t)?(i=N,A(t)):(e.consume(t),N)}function E(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):47===t||62===t||eE(t)?j(t):(e.consume(t),E)}function T(e){return 47===e||62===e||eE(e)?j(e):n(e)}function I(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}function A(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),P}function P(t){return eT(t)?eD(e,D,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):D(t)}function D(t){return e.enter("htmlTextData"),i(t)}}}],91:tp,92:[{name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.consume(t),r};function r(r){return eN(r)?(e.exit("hardBreakEscape"),t(r)):n(r)}}},e0],93:ts,95:eY,96:{name:"codeText",previous:function(e){return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type},resolve:function(e){let t,n,r=e.length-4,l=3;if(("lineEnding"===e[3][1].type||"space"===e[l][1].type)&&("lineEnding"===e[r][1].type||"space"===e[r][1].type)){for(t=l;++t<r;)if("codeTextData"===e[t][1].type){e[l][1].type="codeTextPadding",e[r][1].type="codeTextPadding",l+=2,r-=2;break}}for(t=l-1,r++;++t<=r;)void 0===n?t!==r&&"lineEnding"!==e[t][1].type&&(n=t):(t===r||"lineEnding"===e[t][1].type)&&(e[n][1].type="codeTextData",t!==n+2&&(e[n][1].end=e[t-1][1].end,e.splice(n+2,t-n-2),r-=t-n-2,t=n+2),n=void 0);return e},tokenize:function(e,t,n){let r,l,i=0;
1return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),function t(n){return 96===n?(e.consume(n),i++,t):(e.exit("codeTextSequence"),a(n))}(t)};function a(s){return null===s?n(s):32===s?(e.enter("space"),e.consume(s),e.exit("space"),a):96===s?(l=e.enter("codeTextSequence"),r=0,function n(a){return 96===a?(e.consume(a),r++,n):r===i?(e.exit("codeTextSequence"),e.exit("codeText"),t(a)):(l.type="codeTextData",o(a))}(s)):eN(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),a):(e.enter("codeTextData"),o(s))}function o(t){return null===t||32===t||96===t||eN(t)?(e.exit("codeTextData"),a(t)):(e.consume(t),o)}}}}],1951);var tb=e.i(1951);let tk=/[\0\t\n\r]/g;function tw(e,t){let n=Number.parseInt(e,t);return n<9||11===n||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(65535&n)==65535||(65535&n)==65534||n>1114111?"�":String.fromCodePoint(n)}let tj=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function tS(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){let e=n.charCodeAt(1),t=120===e||88===e;return tw(n.slice(t?2:1),t?16:10)}return e2(n)||e}let tC={}.hasOwnProperty;function tN(e){return{line:e.line,column:e.column,offset:e.offset}}function tE(e,t){if(e)throw Error("Cannot close `"+e.type+"` ("+Q({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Q({start:t.start,end:t.end})+") is open");throw Error("Cannot close document, a token (`"+t.type+"`, "+Q({start:t.start,end:t.end})+") is still open")}function tT(e){let t=this;t.parser=function(n){var r,l;let i,a,o,s;return"object"==typeof(r={...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})&&(l=r,r=void 0),(function(e){let t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:r(x),autolinkProtocol:u,autolinkEmail:u,atxHeading:r(m),blockQuote:r(function(){return{type:"blockquote",children:[]}}),characterEscape:u,characterReference:u,codeFenced:r(p),codeFencedFenceInfo:l,codeFencedFenceMeta:l,codeIndented:r(p,l),codeText:r(function(){return{type:"inlineCode",value:""}},l),codeTextData:u,data:u,codeFlowValue:u,definition:r(function(){return{type:"definition",identifier:"",label:null,title:null,url:""}}),definitionDestinationString:l,definitionLabelString:l,definitionTitleString:l,emphasis:r(function(){return{type:"emphasis",children:[]}}),hardBreakEscape:r(h),hardBreakTrailing:r(h),htmlFlow:r(g,l),htmlFlowData:u,htmlText:r(g,l),htmlTextData:u,image:r(function(){return{type:"image",title:null,url:"",alt:null}}),label:l,link:r(x),listItem:r(function(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}),listItemValue:function(e){this.data.expectingFirstListItemValue&&(this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),this.data.expectingFirstListItemValue=void 0)},listOrdered:r(y,function(){this.data.expectingFirstListItemValue=!0}),listUnordered:r(y),paragraph:r(function(){return{type:"paragraph",children:[]}}),reference:function(){this.data.referenceType="collapsed"},referenceString:l,resourceDestinationString:l,resourceTitleString:l,setextHeading:r(m),strong:r(function(){return{type:"strong",children:[]}}),thematicBreak:r(function(){return{type:"thematicBreak"}})},exit:{atxHeading:a(),atxHeadingSequence:function(e){let t=this.stack[this.stack.length-1];t.depth||(t.depth=this.sliceSerialize(e).length)},autolink:a(),autolinkEmail:function(e){c.call(this,e),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)},autolinkProtocol:function(e){c.call(this,e),this.stack[this.stack.length-1].url=this.sliceSerialize(e)},blockQuote:a(),characterEscapeValue:c,characterReferenceMarkerHexadecimal:f,characterReferenceMarkerNumeric:f,characterReferenceValue:function(e){let t,n=this.sliceSerialize(e),r=this.data.characterReferenceType;r?(t=tw(n,"characterReferenceMarkerNumeric"===r?10:16),this.data.characterReferenceType=void 0):t=e2(n);let l=this.stack[this.stack.length-1];l.value+=t},characterReference:function(e){this.stack.pop().position.end=tN(e.end)},codeFenced:a(function(){let e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}),codeFencedFence:function(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)},codeFencedFenceInfo:function(){let e=this.resume();this.stack[this.stack.length-1].lang=e},codeFencedFenceMeta:function(){let e=this.resume();this.stack[this.stack.length-1].meta=e},codeFlowValue:c,codeIndented:a(function(){let e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")}),codeText:a(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),codeTextData:c,data:c,definition:a(),definitionDestinationString:function(){let e=this.resume();this.stack[this.stack.length-1].url=e},definitionLabelString:function(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=tn(this.sliceSerialize(e)).toLowerCase()},definitionTitleString:function(){let e=this.resume();this.stack[this.stack.length-1].title=e},emphasis:a(),hardBreakEscape:a(d),hardBreakTrailing:a(d),htmlFlow:a(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),htmlFlowData:c,htmlText:a(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),htmlTextData:c,image:a(function(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}),label:function(){let e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1];this.data.inReference=!0,"link"===n.type?n.children=e.children:n.alt=t},labelText:function(e){let t=this.sliceSerialize(e),n=this.stack[this.stack.length-2];n.label=t.replace(tj,tS),n.identifier=tn(t).toLowerCase()},lineEnding:function(e){let n=this.stack[this.stack.length-1];if(this.data.atHardBreak){n.children[n.children.length-1].position.end=tN(e.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(n.t
1ype)&&(u.call(this,e),c.call(this,e))},link:a(function(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}),listItem:a(),listOrdered:a(),listUnordered:a(),paragraph:a(),referenceString:function(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=tn(this.sliceSerialize(e)).toLowerCase(),this.data.referenceType="full"},resourceDestinationString:function(){let e=this.resume();this.stack[this.stack.length-1].url=e},resourceTitleString:function(){let e=this.resume();this.stack[this.stack.length-1].title=e},resource:function(){this.data.inReference=void 0},setextHeading:a(function(){this.data.setextHeadingSlurpLineEnding=void 0}),setextHeadingLineSequence:function(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).codePointAt(0)?1:2},setextHeadingText:function(){this.data.setextHeadingSlurpLineEnding=!0},strong:a(),thematicBreak:a()}};!function e(t,n){let r=-1;for(;++r<n.length;){let l=n[r];Array.isArray(l)?e(t,l):function(e,t){let n;for(n in t)if(tC.call(t,n))switch(n){case"canContainEols":{let r=t[n];r&&e[n].push(...r);break}case"transforms":{let r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{let r=t[n];r&&Object.assign(e[n],r)}}}(t,l)}}(t,(e||{}).mdastExtensions||[]);let n={};return function(e){let r={type:"root",children:[]},a={stack:[r],tokenStack:[],config:t,enter:i,exit:o,buffer:l,resume:s,data:n},u=[],c=-1;for(;++c<e.length;)("listOrdered"===e[c][1].type||"listUnordered"===e[c][1].type)&&("enter"===e[c][0]?u.push(c):c=function(e,t,n){let r,l,i,a,o=t-1,s=-1,u=!1;for(;++o<=n;){let t=e[o];switch(t[1].type){case"listUnordered":case"listOrdered":case"blockQuote":"enter"===t[0]?s++:s--,a=void 0;break;case"lineEndingBlank":"enter"===t[0]&&(!r||a||s||i||(i=o),a=void 0);break;case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:a=void 0}if(!s&&"enter"===t[0]&&"listItemPrefix"===t[1].type||-1===s&&"exit"===t[0]&&("listUnordered"===t[1].type||"listOrdered"===t[1].type)){if(r){let a=o;for(l=void 0;a--;){let t=e[a];if("lineEnding"===t[1].type||"lineEndingBlank"===t[1].type){if("exit"===t[0])continue;l&&(e[l][1].type="lineEndingBlank",u=!0),t[1].type="lineEnding",l=a}else if("linePrefix"===t[1].type||"blockQuotePrefix"===t[1].type||"blockQuotePrefixWhitespace"===t[1].type||"blockQuoteMarker"===t[1].type||"listItemIndent"===t[1].type);else break}i&&(!l||i<l)&&(r._spread=!0),r.end=Object.assign({},l?e[l][1].start:t[1].end),e.splice(l||o,0,["exit",r,t[2]]),o++,n++}if("listItemPrefix"===t[1].type){let l={type:"listItem",_spread:!1,start:Object.assign({},t[1].start),end:void 0};r=l,e.splice(o,0,["enter",l,t[2]]),o++,n++,i=void 0,a=!0}}}return e[t][1]._spread=u,n}(e,u.pop(),c));for(c=-1;++c<e.length;){let n=t[e[c][0]];tC.call(n,e[c][1].type)&&n[e[c][1].type].call(Object.assign({sliceSerialize:e[c][2].sliceSerialize},a),e[c][1])}if(a.tokenStack.length>0){let e=a.tokenStack[a.tokenStack.length-1];(e[1]||tE).call(a,void 0,e[0])}for(r.position={start:tN(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:tN(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},c=-1;++c<t.transforms.length;)r=t.transforms[c](r)||r;return r};function r(e,t){return function(n){i.call(this,e(n),n),t&&t.call(this,n)}}function l(){this.stack.push({type:"fragment",children:[]})}function i(e,t,n){this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([t,n||void 0]),e.position={start:tN(t.start),end:void 0}}function a(e){return function(t){e&&e.call(this,t),o.call(this,t)}}function o(e,t){let n=this.stack.pop(),r=this.tokenStack.pop();if(r)r[0].type!==e.type&&(t?t.call(this,e,r[0]):(r[1]||tE).call(this,e,r[0]));else throw Error("Cannot close `"+e.type+"` ("+Q({start:e.start,end:e.end})+"): itâs not open");n.position.end=tN(e.end)}function s(){var e;return e=this.stack.pop(),em(e,"boolean"!=typeof ep.includeImageAlt||ep.includeImageAlt,"boolean"!=typeof ep.includeHtml||ep.includeHtml)}function u(e){let t=this.stack[this.stack.length-1].children,n=t[t.length-1];n&&"text"===n.type||((n={type:"text",value:""}).position={start:tN(e.start),end:void 0},t.push(n)),this.stack.push(n)}function c(e){let t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=tN(e.end)}function d(){this.data.atHardBreak=!0}function f(e){this.data.characterReferenceType=e.type}function p(){return{type:"code",lang:null,meta:null,value:""}}function m(){return{type:"heading",depth:0,children:[]}}function h(){return{type:"break"}}function g(){return{type:"html",value:""}}function x(){return{type:"link",title:null,url:"",children:[]}}function y(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}})(l)(function(e){for(;!eF(e););return e}((function(e){let t={constructs:function(e){let t={},n=-1;for(;++n<e.length;)!function(e,t){let n;for(n in t){let r,l=(ey.call(e,n)?e[n]:void 0)||(e[n]={}),i=t[n];if(i)for(r in i){ey.call(l,r)||(l[r]=[]);let e=i[r];!function(e,t){let n=-1,r=[];for(;++n<t.length;)("after"===t[n].add?e:r).push(t[n]);eg(e,0,0,r)}(l[r],Array.isArray(e)?e:e?[e]:[])}}}(t,e[n]);return t}([tb,...(e||{}).extensions||[]]),content:n(eL),defined:[],document:n(eR),flow:n(eU),lazy:{},string:n(eq),text:n(eV)};return t;function n(e){return function(n){return function(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,c
1olumn:n&&n.column||1,offset:n&&n.offset||0},l={},i=[],a=[],o=[],s={attempt:m(function(e,t){h(e,t.from)}),check:m(p),consume:function(e){eN(e)?(r.line++,r.column=1,r.offset+=-3===e?2:1,g()):-1!==e&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===a[r._index].length&&(r._bufferIndex=-1,r._index++)),u.previous=e},enter:function(e,t){let n=t||{};return n.type=e,n.start=f(),u.events.push(["enter",n,u]),o.push(n),n},exit:function(e){let t=o.pop();return t.end=f(),u.events.push(["exit",t,u]),t},interrupt:m(p,{interrupt:!0})},u={code:null,containerState:{},defineSkip:function(e){l[e.line]=e.column,g()},events:[],now:f,parser:e,previous:null,sliceSerialize:function(e,t){return function(e,t){let n,r=-1,l=[];for(;++r<e.length;){let i,a=e[r];if("string"==typeof a)i=a;else switch(a){case -5:i="\r";break;case -4:i="\n";break;case -3:i="\r\n";break;case -2:i=t?" ":" ";break;case -1:if(!t&&n)continue;i=" ";break;default:i=String.fromCharCode(a)}n=-2===a,l.push(i)}return l.join("")}(d(e),t)},sliceStream:d,write:function(e){return(a=ex(a,e),function(){let e;for(;r._index<a.length;){let n=a[r._index];if("string"==typeof n)for(e=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===e&&r._bufferIndex<n.length;){var t;t=n.charCodeAt(r._bufferIndex),c=c(t)}else c=c(n)}}(),null!==a[a.length-1])?[]:(h(t,0),u.events=eJ(i,u.events,u),u.events)}},c=t.tokenize.call(u,s);return t.resolveAll&&i.push(t),u;function d(e){return function(e,t){let n,r=t.start._index,l=t.start._bufferIndex,i=t.end._index,a=t.end._bufferIndex;if(r===i)n=[e[r].slice(l,a)];else{if(n=e.slice(r,i),l>-1){let e=n[0];"string"==typeof e?n[0]=e.slice(l):n.shift()}a>0&&n.push(e[i].slice(0,a))}return n}(a,e)}function f(){let{_bufferIndex:e,_index:t,line:n,column:l,offset:i}=r;return{_bufferIndex:e,_index:t,line:n,column:l,offset:i}}function p(e,t){t.restore()}function m(e,t){return function(n,l,i){var a;let c,d,p,m;return Array.isArray(n)?h(n):"tokenize"in n?h([n]):(a=n,function(e){let t=null!==e&&a[e],n=null!==e&&a.null;return h([...Array.isArray(t)?t:t?[t]:[],...Array.isArray(n)?n:n?[n]:[]])(e)});function h(e){return(c=e,d=0,0===e.length)?i:x(e[d])}function x(e){return function(n){let l,i,a,c,d;return(l=f(),i=u.previous,a=u.currentConstruct,c=u.events.length,d=Array.from(o),m={from:c,restore:function(){r=l,u.previous=i,u.currentConstruct=a,u.events.length=c,o=d,g()}},p=e,e.partial||(u.currentConstruct=e),e.name&&u.parser.constructs.disable.null.includes(e.name))?v(n):e.tokenize.call(t?Object.assign(Object.create(u),t):u,s,y,v)(n)}}function y(t){return e(p,m),l}function v(e){return(m.restore(),++d<c.length)?x(c[d]):i}}}function h(e,t){e.resolveAll&&!i.includes(e)&&i.push(e),e.resolve&&eg(u.events,t,u.events.length-t,e.resolve(u.events.slice(t),u)),e.resolveTo&&(u.events=e.resolveTo(u.events,u))}function g(){r.line in l&&r.column<2&&(r.column=l[r.line],r.offset+=l[r.line]-1)}}(t,e,n)}}})(l).document().write((a=1,o="",s=!0,function(e,t,n){let r,l,u,c,d,f=[];for(e=o+("string"==typeof e?e.toString():new TextDecoder(t||void 0).decode(e)),u=0,o="",s&&(65279===e.charCodeAt(0)&&u++,s=void 0);u<e.length;){if(tk.lastIndex=u,c=(r=tk.exec(e))&&void 0!==r.index?r.index:e.length,d=e.charCodeAt(c),!r){o=e.slice(u);break}if(10===d&&u===c&&i)f.push(-3),i=void 0;else switch(i&&(f.push(-5),i=void 0),u<c&&(f.push(e.slice(u,c)),a+=c-u),d){case 0:f.push(65533),a++;break;case 9:for(l=4*Math.ceil(a/4),f.push(-2);a++<l;)f.push(-1);break;case 10:f.push(-4),a=1;break;default:i=!0,a=1}u=c+1}return n&&(i&&f.push(-5),o&&f.push(o),f.push(null)),f})(n,r,!0))))}}let{defineProperty:tI}=Object,tA="object"==typeof self?self:globalThis,tP=(e,t)=>
1{switch(e){case"Function":case"SharedWorker":case"Worker":case"eval":case"setInterval":case"setTimeout":throw TypeError("unable to deserialize "+e)}return new tA[e](t)},tD=e=>{var t;let n,r;return(t=new Map,n=(e,n)=>(t.set(n,e),e),r=l=>{if(t.has(l))return t.get(l);let[i,a]=e[l];switch(i){case 0:case -1:return n(a,l);case 1:{let e=n([],l);for(let t of a)e.push(r(t));return e}case 2:{let e=n({},l);for(let[t,n]of a){let l=r(t),i=r(n);"__proto__"===l?tI(e,l,{value:i,configurable:!0,enumerable:!0,writable:!0}):e[l]=i}return e}case 3:return n(new Date(a),l);case 4:{let{source:e,flags:t}=a;return n(new RegExp(e,t),l)}case 5:{let e=n(new Map,l);for(let[t,n]of a)e.set(r(t),r(n));return e}case 6:{let e=n(new Set,l);for(let t of a)e.add(r(t));return e}case 7:{let{name:e,message:t}=a;return n("function"==typeof tA[e]?tP(e,t):Error(t),l)}case 8:return n(BigInt(a),l);case"BigInt":return n(Object(BigInt(a)),l);case"ArrayBuffer":return n(new Uint8Array(a).buffer,a);case"DataView":{let{buffer:e}=new Uint8Array(a);return n(new DataView(e),a)}case"-0":return -0}return n(tP(i,a),l)})(0)},{toString:tL}={},{keys:tR,is:tM}=Object,t_=e=>{let t=typeof e;if("object"!==t||!e)return[0,t];let n=tL.call(e).slice(8,-1);switch(n){case"Array":return[1,""];case"Object":return[2,""];case"Date":return[3,""];case"RegExp":return[4,""];case"Map":return[5,""];case"Set":return[6,""];case"DataView":return[1,n]}return n.includes("Array")?[1,n]:e instanceof Error?[7,e.name||"Error"]:[2,n]},tO=([e,t])=>0===e&&("function"===t||"symbol"===t),tz=(e,{json:t,lossy:n}={})=>{var r,l,i;let a,o,s=[];return(r=!(t||n),l=!!t,i=new Map,a=(e,t)=>{let n=s.push(e)-1;return i.set(t,n),n},o=e=>{if(i.has(e))return i.get(e);let[t,n]=t_(e);switch(t){case 0:{let l=e;switch(n){case"bigint":t=8,l=e.toString();break;case"number":if(!e&&tM(e,-0))return s.push(["-0"])-1;break;case"function":case"symbol":if(r)throw TypeError("unable to serialize "+n);l=null;break;case"undefined":return a([-1],e)}return a([t,l],e)}case 1:{if(n){let t=e;return"DataView"===n?t=new Uint8Array(e.buffer):"ArrayBuffer"===n&&(t=new Uint8Array(e)),a([n,[...t]],e)}let r=[],l=a([t,r],e);for(let t of e)r.push(o(t));return l}case 2:{if(n)switch(n){case"BigInt":return a([n,e.toString()],e);case"Boolean":case"Number":case"String":return a([n,e.valueOf()],e)}if(l&&"toJSON"in e)return o(e.toJSON());let i=[],s=a([t,i],e);for(let t of tR(e))(r||!tO(t_(e[t])))&&i.push([o(t),o(e[t])]);return s}case 3:return a([t,isNaN(e.getTime())?"":e.toISOString()],e);case 4:{let{source:n,flags:r}=e;return a([t,{source:n,flags:r}],e)}case 5:{let n=[],l=a([t,n],e);for(let[t,l]of e)(r||!(tO(t_(t))||tO(t_(l))))&&n.push([o(t),o(l)]);return l}case 6:{let n=[],l=a([t,n],e);for(let t of e)(r||!tO(t_(t)))&&n.push(o(t));return l}}let{message:u}=e;return a([t,{name:n,message:u}],e)})(e),s},tF="function"==typeof structuredClone?(e,t)=>t&&("json"in t||"lossy"in t)?tD(tz(e,t)):structuredClone(e):(e,t)=>tD(tz(e,t));function tB(e){let t=[],n=-1,r=0,l=0;for(;++n<e.length;){let i=e.charCodeAt(n),a="";if(37===i&&eb(e.charCodeAt(n+1))&&eb(e.charCodeAt(n+2)))l=2;else if(i<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(i))||(a=String.fromCharCode(i));else if(i>55295&&i<57344){let t=e.charCodeAt(n+1);i<56320&&t>56319&&t<57344?(a=String.fromCharCode(i,t),l=1):a="�"}else a=String.fromCharCode(i);a&&(t.push(e.slice(r,n),encodeURIComponent(a)),r=n+l+1,a=""),l&&(n+=l,l=0)}return t.join("")+e.slice(r)}function tH(e,t){let n=[{type:"text",value:"â©"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function tU(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}let t$=function(e){var t,n;if(null==e)return tV;if("function"==typeof e)return tq(e);if("object"==typeof e){return Array.isArray(e)?function(e){let t=[],n=-1;for(;++n<e.length;)t[n]=t$(e[n]);return tq(function(...e){let n=-1;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1})}(e):(t=e,tq(function(e){let n;for(n in t)if(e[n]!==t[n])return!1;return!0}))}if("string"==typeof e){return n=e,tq(function(e){return e&&e.type===n})}throw Error("Expected function, string, or object as test")};function tq(e){return function(t,n,r){return!!(function(e){return null!==e&&"object"==typeof e&&"type"in e}(t)&&e.call(this,t,"number"==typeof n?n:void 0,r||void 0))}}function tV(){return!0}let tW=[];function tQ(e,t,n,r){var l,i,a;let o,s,u,c,d,f;"function"==typeof t&&"function"!=typeof n?(s=void 0,u=t,o=n):(s=t,u=n,o=r),l=s,i=function(e,t){let n=t[t.length-1],r=n?n.children.indexOf(e):void 0;return u(e,r,n)},a=o,"function"==typeof l&&"function"!=typeof i?(a=i,i=l):c=l,d=t$(c),f=a?-1:1,(function e(t,n,r){let o=t&&"object"==typeof t?t:{};if("string"==typeof o.type){let e="string"==typeof o.tagName?o.tagName:"string"==typeof o.name?o.name:void 0;Object.defineProperty(s,"name",{value:"node ("+t.type+(e?"<"+e+">":"")+")"})}return s;function s(){var o;let s,u,c,p=tW;if((!l||d(t,n,r[r.length-1]||void 0))&&!1===(p=Array.isArray(o=i(t,r))?o:"number"==typeof o?[!0,o]:null==o?tW:[o])[0])return p;
1if("children"in t&&t.children&&t.children&&"skip"!==p[0])for(u=(a?t.children.length:-1)+f,c=r.concat(t);u>-1&&u<t.children.length;){if(!1===(s=e(t.children[u],u,c)())[0])return s;u="number"==typeof s[1]?s[1]:u+f}return p}})(e,void 0,[])()}function tG(e,t){let n=t.referenceType,r="]";if("collapsed"===n?r+="[]":"full"===n&&(r+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return[{type:"text",value:"!["+t.alt+r}];let l=e.all(t),i=l[0];i&&"text"===i.type?i.value="["+i.value:l.unshift({type:"text",value:"["});let a=l[l.length-1];return a&&"text"===a.type?a.value+=r:l.push({type:"text",value:r}),l}function tK(e){let t=e.spread;return null==t?e.children.length>1:t}function tJ(e,t,n){let r=0,l=e.length;if(t){let t=e.codePointAt(r);for(;9===t||32===t;)r++,t=e.codePointAt(r)}if(n){let t=e.codePointAt(l-1);for(;9===t||32===t;)l--,t=e.codePointAt(l-1)}return l>r?e.slice(r,l):""}let tY={blockquote:function(e,t){let n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)},break:function(e,t){let n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:"\n"}]},code:function(e,t){let n=t.value?t.value+"\n":"",r={},l=t.lang?t.lang.split(/\s+/):[];l.length>0&&(r.className=["language-"+l[0]]);let i={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(i.data={meta:t.meta}),e.patch(t,i),i={type:"element",tagName:"pre",properties:{},children:[i=e.applyData(t,i)]},e.patch(t,i),i},delete:function(e,t){let n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},emphasis:function(e,t){let n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},footnoteReference:function(e,t){let n,r="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",l=String(t.identifier).toUpperCase(),i=tB(l.toLowerCase()),a=e.footnoteOrder.indexOf(l),o=e.footnoteCounts.get(l);void 0===o?(o=0,e.footnoteOrder.push(l),n=e.footnoteOrder.length):n=a+1,o+=1,e.footnoteCounts.set(l,o);let s={type:"element",tagName:"a",properties:{href:"#"+r+"fn-"+i,id:r+"fnref-"+i+(o>1?"-"+o:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(n)}]};e.patch(t,s);let u={type:"element",tagName:"sup",properties:{},children:[s]};return e.patch(t,u),e.applyData(t,u)},heading:function(e,t){let n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},html:function(e,t){if(e.options.allowDangerousHtml){let n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}},imageReference:function(e,t){let n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return tG(e,t);let l={src:tB(r.url||""),alt:t.alt};null!==r.title&&void 0!==r.title&&(l.title=r.title);let i={type:"element",tagName:"img",properties:l,children:[]};return e.patch(t,i),e.applyData(t,i)},image:function(e,t){let n={src:tB(t.url)};null!==t.alt&&void 0!==t.alt&&(n.alt=t.alt),null!==t.title&&void 0!==t.title&&(n.title=t.title);let r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)},inlineCode:function(e,t){let n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);let r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)},linkReference:function(e,t){let n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return tG(e,t);let l={href:tB(r.url||"")};null!==r.title&&void 0!==r.title&&(l.title=r.title);let i={type:"element",tagName:"a",properties:l,children:e.all(t)};return e.patch(t,i),e.applyData(t,i)},link:function(e,t){let n={href:tB(t.url)};null!==t.title&&void 0!==t.title&&(n.title=t.title);let r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},listItem:function(e,t,n){let r=e.all(t),l=n?function(e){let t=!1;if("list"===e.type){t=e.spread||!1;let n=e.children,r=-1;for(;!t&&++r<n.length;)t=tK(n[r])}return t}(n):tK(t),i={},a=[];if("boolean"==typeof t.checked){let e,n=r[0];n&&"element"===n.type&&"p"===n.tagName?e=n:(e={type:"element",tagName:"p",properties:{},children:[]},r.unshift(e)),e.children.length>0&&e.children.unshift({type:"text",value:" "}),e.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),i.className=["task-list-item"]}let o=-1;for(;++o<r.length;){let e=r[o];(l||0!==o||"element"!==e.type||"p"!==e.tagName)&&a.push({type:"text",value:"\n"}),"element"!==e.type||"p"!==e.tagName||l?a.push(e):a.push(...e.children)}let s=r[r.length-1];s&&(l||"element"!==s.type||"p"!==s.tagName)&&a.push({type:"text",value:"\n"});let u={type:"element",tagName:"li",properties:i,children:a};
1return e.patch(t,u),e.applyData(t,u)},list:function(e,t){let n={},r=e.all(t),l=-1;for("number"==typeof t.start&&1!==t.start&&(n.start=t.start);++l<r.length;){let e=r[l];if("element"===e.type&&"li"===e.tagName&&e.properties&&Array.isArray(e.properties.className)&&e.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}let i={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,i),e.applyData(t,i)},paragraph:function(e,t){let n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},root:function(e,t){let n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)},strong:function(e,t){let n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},table:function(e,t){let n=e.all(t),r=n.shift(),l=[];if(r){let n={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],n),l.push(n)}if(n.length>0){let r={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},i=V(t.children[1]),a=q(t.children[t.children.length-1]);i&&a&&(r.position={start:i,end:a}),l.push(r)}let i={type:"element",tagName:"table",properties:{},children:e.wrap(l,!0)};return e.patch(t,i),e.applyData(t,i)},tableCell:function(e,t){let n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},tableRow:function(e,t,n){let r=n?n.children:void 0,l=0===(r?r.indexOf(t):1)?"th":"td",i=n&&"table"===n.type?n.align:void 0,a=i?i.length:t.children.length,o=-1,s=[];for(;++o<a;){let n=t.children[o],r={},a=i?i[o]:void 0;a&&(r.align=a);let u={type:"element",tagName:l,properties:r,children:[]};n&&(u.children=e.all(n),e.patch(n,u),u=e.applyData(n,u)),s.push(u)}let u={type:"element",tagName:"tr",properties:{},children:e.wrap(s,!0)};return e.patch(t,u),e.applyData(t,u)},text:function(e,t){let n={type:"text",value:function(e){let t=String(e),n=/\r?\n|\r/g,r=n.exec(t),l=0,i=[];for(;r;)i.push(tJ(t.slice(l,r.index),l>0,!0),r[0]),l=r.index+r[0].length,r=n.exec(t);return i.push(tJ(t.slice(l),l>0,!1)),i.join("")}(String(t.value))};return e.patch(t,n),e.applyData(t,n)},thematicBreak:function(e,t){let n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)},toml:tZ,yaml:tZ,definition:tZ,footnoteDefinition:tZ};function tZ(){}let tX={}.hasOwnProperty,t0={};function t1(e,t){e.position&&(t.position=function(e){let t=V(e),n=q(e);if(t&&n)return{start:t,end:n}}(e))}function t2(e,t){let n=t;if(e&&e.data){let t=e.data.hName,r=e.data.hChildren,l=e.data.hProperties;"string"==typeof t&&("element"===n.type?n.tagName=t:n={type:"element",tagName:t,properties:{},children:"children"in n?n.children:[n]}),"element"===n.type&&l&&Object.assign(n.properties,tF(l)),"children"in n&&n.children&&null!=r&&(n.children=r)}return n}function t4(e,t){let n=[],r=-1;for(t&&n.push({type:"text",value:"\n"});++r<e.length;)r&&n.push({type:"text",value:"\n"}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:"\n"}),n}function t6(e){let t=0,n=e.charCodeAt(t);for(;9===n||32===n;)t++,n=e.charCodeAt(t);return e.slice(t)}function t5(e,t){let r,l,i,a,o=(r=t||t0,l=new Map,i=new Map,a={all:function(e){let t=[];if("children"in e){let n=e.children,r=-1;for(;++r<n.length;){let l=a.one(n[r],e);if(l){if(r&&"break"===n[r-1].type&&(Array.isArray(l)||"text"!==l.type||(l.value=t6(l.value)),!Array.isArray(l)&&"element"===l.type)){let e=l.children[0];e&&"text"===e.type&&(e.value=t6(e.value))}Array.isArray(l)?t.push(...l):t.push(l)}}}return t},applyData:t2,definitionById:l,footnoteById:i,footnoteCounts:new Map,footnoteOrder:[],handlers:{...tY,...r.handlers},one:function(e,t){let n=e.type,r=a.handlers[n];if(tX.call(a.handlers,n)&&r)return r(a,e,t);if(a.options.passThrough&&a.options.passThrough.includes(n)){if("children"in e){let{children:t,...n}=e,r=tF(n);return r.children=a.all(e),r}return tF(e)}return(a.options.unknownHandler||function(e,t){let n=t.data||{},r="value"in t&&!(tX.call(n,"hProperties")||tX.call(n,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)})(a,e,t)},options:r,patch:t1,wrap:t4},tQ(e,function(e){if("definition"===e.type||"footnoteDefinition"===e.type){let t="definition"===e.type?l:i,n=String(e.identifier).toUpperCase();t.has(n)||t.set(n,e)}}
1),a),s=o.one(e,void 0),u=function(e){let t="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||tH,r=e.options.footnoteBackLabel||tU,l=e.options.footnoteLabel||"Footnotes",i=e.options.footnoteLabelTagName||"h2",a=e.options.footnoteLabelProperties||{className:["sr-only"]},o=[],s=-1;for(;++s<e.footnoteOrder.length;){let l=e.footnoteById.get(e.footnoteOrder[s]);if(!l)continue;let i=e.all(l),a=String(l.identifier).toUpperCase(),u=tB(a.toLowerCase()),c=0,d=[],f=e.footnoteCounts.get(a);for(;void 0!==f&&++c<=f;){d.length>0&&d.push({type:"text",value:" "});let e="string"==typeof n?n:n(s,c);"string"==typeof e&&(e={type:"text",value:e}),d.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+u+(c>1?"-"+c:""),dataFootnoteBackref:"",ariaLabel:"string"==typeof r?r:r(s,c),className:["data-footnote-backref"]},children:Array.isArray(e)?e:[e]})}let p=i[i.length-1];if(p&&"element"===p.type&&"p"===p.tagName){let e=p.children[p.children.length-1];e&&"text"===e.type?e.value+=" ":p.children.push({type:"text",value:" "}),p.children.push(...d)}else i.push(...d);let m={type:"element",tagName:"li",properties:{id:t+"fn-"+u},children:e.wrap(i,!0)};e.patch(l,m),o.push(m)}if(0!==o.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:i,properties:{...tF(a),id:"footnote-label"},children:[{type:"text",value:l}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(o,!0)}
1,{type:"text",value:"\n"}]}}(o),c=Array.isArray(s)?{type:"root",children:s}:s||{type:"root",children:[]};return u&&(n(),c.children.push({type:"text",value:"\n"},u)),c}function t3(e,t){return e&&"run"in e?async function(n,r){let l=t5(n,{file:r,...t});await e.run(l,r)}:function(n,r){return t5(n,{file:r,...e||t})}}function t9(e){if(e)throw e}var t8=e.i(786182);function t7(e){if("object"!=typeof e||null===e)return!1;let t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}let ne=function(e,t){let n;if(void 0!==t&&"string"!=typeof t)throw TypeError('"ext" argument must be a string');nl(e);let r=0,l=-1,i=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;i--;)if(47===e.codePointAt(i)){if(n){r=i+1;break}}else l<0&&(n=!0,l=i+1);return l<0?"":e.slice(r,l)}if(t===e)return"";let a=-1,o=t.length-1;for(;i--;)if(47===e.codePointAt(i)){if(n){r=i+1;break}}else a<0&&(n=!0,a=i+1),o>-1&&(e.codePointAt(i)===t.codePointAt(o--)?o<0&&(l=i):(o=-1,l=a));return r===l?l=a:l<0&&(l=e.length),e.slice(r,l)},nt=function(e){let t;if(nl(e),0===e.length)return".";let n=-1,r=e.length;for(;--r;)if(47===e.codePointAt(r)){if(t){n=r;break}}else t||(t=!0);return n<0?47===e.codePointAt(0)?"/":".":1===n&&47===e.codePointAt(0)?"//":e.slice(0,n)},nn=function(e){let t;nl(e);let n=e.length,r=-1,l=0,i=-1,a=0;for(;n--;){let o=e.codePointAt(n);if(47===o){if(t){l=n+1;break}continue}r<0&&(t=!0,r=n+1),46===o?i<0?i=n:1!==a&&(a=1):i>-1&&(a=-1)}return i<0||r<0||0===a||1===a&&i===r-1&&i===l+1?"":e.slice(i,r)},nr=function(...e){var t;let n,r,l,i=-1;for(;++i<e.length;)nl(e[i]),e[i]&&(l=void 0===l?e[i]:l+"/"+e[i]);return void 0===l?".":(nl(t=l),n=47===t.codePointAt(0),0!==(r=function(e,t){let n,r,l="",i=0,a=-1,o=0,s=-1;for(;++s<=e.length;){if(s<e.length)n=e.codePointAt(s);else if(47===n)break;else n=47;if(47===n){if(a===s-1||1===o);else if(a!==s-1&&2===o){if(l.length<2||2!==i||46!==l.codePointAt(l.length-1)||46!==l.codePointAt(l.length-2)){if(l.length>2){if((r=l.lastIndexOf("/"))!==l.length-1){r<0?(l="",i=0):i=(l=l.slice(0,r)).length-1-l.lastIndexOf("/"),a=s,o=0;continue}}else if(l.length>0){l="",i=0,a=s,o=0;continue}}t&&(l=l.length>0?l+"/..":"..",i=2)}else l.length>0?l+="/"+e.slice(a+1,s):l=e.slice(a+1,s),i=s-a-1;a=s,o=0}else 46===n&&o>-1?o++:o=-1}return l}(t,!n)).length||n||(r="."),r.length>0&&47===t.codePointAt(t.length-1)&&(r+="/"),n?"/"+r:r)};function nl(e){if("string"!=typeof e)throw TypeError("Path must be a string. Received "+JSON.stringify(e))}function ni(e){return!!(null!==e&&"object"==typeof e&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&void 0===e.auth)}let na=["history","path","basename","stem","extname","dirname"];class no{constructor(e){let t,n;t=e?ni(e)?{path:e}:"string"==typeof e||function(e){return!!(e&&"object"==typeof e&&"byteLength"in e&&"byteOffset"in e)}(e)?{value:e}:e:{},this.cwd="cwd"in t?"":"/",this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<na.length;){const e=na[r];e in t&&void 0!==t[e]&&null!==t[e]&&(this[e]="history"===e?[...t[e]]:t[e])}for(n in t)na.includes(n)||(this[n]=t[n])}get basename(){return"string"==typeof this.path?ne(this.path):void 0}set basename(e){nu(e,"basename"),ns(e,"basename"),this.path=nr(this.dirname||"",e)}get dirname(){return"string"==typeof this.path?nt(this.path):void 0}set dirname(e){nc(this.basename,"dirname"),this.path=nr(e||"",this.basename)}get extname(){return"string"==typeof this.path?nn(this.path):void 0}set extname(e){if(ns(e,"extname"),nc(this.dirname,"extname"),e){if(46!==e.codePointAt(0))throw Error("`extname` must start with `.`");if(e.includes(".",1))throw Error("`extname` cannot contain multiple dots")}this.path=nr(this.dirname,this.stem+(e||""))}get path(){return this.history[this.history.length-1]}set path(e){ni(e)&&(e=function(e){if("string"==typeof e)e=new URL(e);else if(!ni(e)){let t=TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if("file:"!==e.protocol){let e=TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){let e=TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}let t=e.pathname,n=-1;for(;++n<t.length;)if(37===t.codePointAt(n)&&50===t.codePointAt(n+1)){let e=t.codePointAt(n+2);if(70===e||102===e){let e=TypeError("File URL path must not include encoded / characters");throw e.code="ERR_INVALID_FILE_URL_PATH",e}}return decodeURIComponent(t)}(e)}(e)),nu(e,"path"),this.path!==e&&this.history.push(e)}get stem(){return"string"==typeof this.path?ne(this.path,this.extname):void 0}set stem(e){nu(e,"stem"),ns(e,"stem"),this.path=nr(this.dirname||"",e+(this.extname||""))}fail(e,t,n){let r=this.message(e,t,n);throw r.fatal=!0,r}info(e,t,n){let r=this.message(e,t,n);return r.fatal=void 0,r}message(e,t,n){let r=new Y(e,t,n);return this.path&&(r.name=this.path+":"+r.name,r.file=this.path),r.fatal=!1,this.messages.push(r),r}toString(e){return void 0===this.value?"":"string"==typeof this.value?this.value:new TextDecoder(e||void 0).decode(this.value)}}function ns(e,t){if(e&&e.includes("/"))throw Error("`"+t+"` cannot be a path: did not expect `/`")}function nu(e,t){if(!e)throw Error("`"+t+"` cannot be empty")}function nc(e,t){if(!e)throw Error("Setting `"+t+"` requires `path` to be set too")}let nd=function(e){let t=this.constructor.prototype,n=t[e],r=function(){return n.apply(r,arguments)};return Object.setPrototypeOf(r,t),r},nf={}.hasOwnProperty,np=new class e extends nd{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=function(){let e=[],t={run:function(...t){let n=-1,r=t.pop();if("function"!=typeof r)throw TypeError("Expected function as last argument, not "+r);!function l(i,...a){let o=e[++n],s=-1;if(i)return void r(i);for(;++s<t.length;)(null===a[s]||void 0===a[s])&&(a[s]=t[s]);t=a,o?(function(e,t){let n;return function(...t){let i,a=e.length>t.length;a&&t.push(r);try{i=e.apply(this,t)}catch(e){if(a&&n)throw e;return r(e)}a||(i&&i.then&&"function"==typeof i.then?i.then(l,r):i instanceof Error?r(i):l(i))};function r(e,...l){n||(n=!0,t(e,...l))}function l(e){r(null,e)}})(o,l)(...a):r(null,...a)}(null,...t)},use:function(n){if("function"!=typeof n)throw TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}};return t}()}copy(){let t=new e,n=-1;for(;++n<this.attachers.length;){let e=this.attachers[n];t.use(...e)}return t.data((0,t8.default)(!0,{},this.namespace)),t}data(e,t){return"string"==typeof e?2==arguments.length?(ng("data",this.frozen),this.namespace[e]=t,this):nf.call(this.namespace,e)&&this.namespace[e]||void 0:e?(ng("data",this.frozen),this.namespace=e,this):this.namespace}freeze(){if(this.frozen)return this;for(;++this.freezeIndex<this.attachers.length;){let[e,...t]=this.attachers[this.freezeIndex];if(!1===t[0])continue;!0===t[0]&&(t[0]=void 0);let n=e.call(this,...t);"function"==typeof n&&this.transformers.use(n)}return this.frozen=!0,this.freezeIndex=1/0,this}parse(e){this.freeze();let t=nv(e),n=this.parser||this.Parser;return nm("parse",n),n(String(t),t)}process(e,t){let r=this;return this.freeze(),nm("process",this.parser||this.Parser),nh("process",this.compiler||this.Compiler),t?l(void 0,t):new Promise(l);function l(l,i){let a=nv(e),o=r.parse(a);function s(e,r){e||!r?i(e):l?l(r):(n(),t(void 0,r))}r.run(o,a,function(e,t,n){var l,i;if(e||!t||!n)return s(e);let a=r.stringify(t,n);"string"==typeof(l=a)||(i=l)&&"object"==typeof i&&"byteLength"in i&&"byteOffset"in i?n.value=a:n.result=a,s(e,n
1)})}}processSync(e){let t,r=!1;return this.freeze(),nm("processSync",this.parser||this.Parser),nh("processSync",this.compiler||this.Compiler),this.process(e,function(e,n){r=!0,t9(e),t=n}),ny("processSync","process",r),n(),t}run(e,t,r){nx(e),this.freeze();let l=this.transformers;return r||"function"!=typeof t||(r=t,t=void 0),r?i(void 0,r):new Promise(i);function i(i,a){n();let o=nv(t);l.run(e,o,function(t,l,o){let s=l||e;t?a(t):i?i(s):(n(),r(void 0,s,o))})}}runSync(e,t){let r,l=!1;return this.run(e,t,function(e,t){t9(e),r=t,l=!0}),ny("runSync","run",l),n(),r}stringify(e,t){this.freeze();let n=nv(t),r=this.compiler||this.Compiler;return nh("stringify",r),nx(e),r(e,n)}use(e,...t){let n=this.attachers,r=this.namespace;if(ng("use",this.frozen),null==e);else if("function"==typeof e)a(e,t);else if("object"==typeof e)Array.isArray(e)?i(e):l(e);else throw TypeError("Expected usable value, not `"+e+"`");return this;function l(e){if(!("plugins"in e)&&!("settings"in e))throw Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");i(e.plugins),e.settings&&(r.settings=(0,t8.default)(!0,r.settings,e.settings))}function i(e){let t=-1;if(null==e);else if(Array.isArray(e))for(;++t<e.length;)!function(e){if("function"==typeof e)a(e,[]);else if("object"==typeof e)if(Array.isArray(e)){let[t,...n]=e;a(t,n)}else l(e);else throw TypeError("Expected usable value, not `"+e+"`")}(e[t]);else throw TypeError("Expected a list of plugins, not `"+e+"`")}function a(e,t){let r=-1,l=-1;for(;++r<n.length;)if(n[r][0]===e){l=r;break}if(-1===l)n.push([e,...t]);else if(t.length>0){let[r,...i]=t,a=n[l][1];t7(a)&&t7(r)&&(r=(0,t8.default)(!0,a,r)),n[l]=[e,r,...i]}}}}().freeze();function nm(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `parser`")}function nh(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `compiler`")}function ng(e,t){if(t)throw Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function nx(e){if(!t7(e)||"string"!=typeof e.type)throw TypeError("Expected node, got `"+e+"`")}function ny(e,t,n){if(!n)throw Error("`"+e+"` finished async. Use `"+t+"` instead")}function nv(e){var t;return(t=e)&&"object"==typeof t&&"message"in t&&"messages"in t?e:new no(e)}let nb=[],nk={allowDangerousHtml:!0},nw=/^(https?|ircs?|mailto|xmpp)$/i,nj=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"className",id:"remove-classname"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function nS(e){var n;let l,i,a,o,s,u=(l=(n=e).rehypePlugins||nb,i=n.remarkPlugins||nb,a=n.remarkRehypeOptions?{...n.remarkRehypeOptions,...nk}:nk,np().use(tT).use(i).use(t3,a).use(l)),c=(o=e.children||"",s=new no,"string"==typeof o?s.value=o:r(),s);return function(e,n){let l=n.allowedElements,i=n.allowElement,a=n.components,o=n.disallowedElements,s=n.skipHtml,u=n.unwrapDisallowed,c=n.urlTransform||nC;for(let e of nj)Object.hasOwn(n,e.from)&&r((e.from,e.to&&e.to,e.id));return l&&o&&r(),tQ(e,function(e,t,n){if("raw"===e.type&&n&&"number"==typeof t)return s?n.children.splice(t,1):n.children[t]={type:"text",value:e.value},t;if("element"===e.type){let t;for(t in ed)if(Object.hasOwn(ed,t)&&Object.hasOwn(e.properties,t)){let n=e.properties[t],r=ed[t];(null===r||r.includes(e.tagName))&&(e.properties[t]=c(String(n||""),t,e))}}if("element"===e.type){let r=l?!l.includes(e.tagName):!!o&&o.includes(e.tagName);if(!r&&i&&"number"==typeof t&&(r=!i(e,t,n)),r&&n&&"number"==typeof t)return u&&e.children?n.children.splice(t,1,...e.children):n.children.splice(t,1),t}}),function(e,t){var n,r,l,i;let a;if(!t||void 0===t.Fragment)throw TypeError("Expected `Fragment` in options");let o=t.filePath||void 0;if(t.development){if("function"!=typeof t.jsxDEV)throw TypeError("Expected `jsxDEV` in options when `development: true`");n=o,r=t.jsxDEV,a=function(e,t,l,i){let a=Array.isArray(l.children),o=V(e);return r(t,l,i,a,{columnNumber:o?o.column-1:void 0,fileName:n,lineNumber:o?o.line:void 0},void 0)}}else{if("function"!=typeof t.jsx)throw TypeError("Expected `jsx` in production options");
1if("function"!=typeof t.jsxs)throw TypeError("Expected `jsxs` in production options");l=t.jsx,i=t.jsxs,a=function(e,t,n,r){let a=Array.isArray(n.children)?i:l;return r?a(t,n,r):a(t,n)}}let s={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:a,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:o,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:!1!==t.passKeys,passNode:t.passNode||!1,schema:"svg"===t.space?U:H,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:!1!==t.tableCellAlignToStyle},u=el(s,e,void 0);return u&&"string"!=typeof u?u:s.create(e,s.Fragment,{children:u||void 0},void 0)}(e,{Fragment:t.Fragment,components:a,ignoreInvalidStyle:!0,jsx:t.jsx,jsxs:t.jsxs,passKeys:!0,passNode:!0})}(u.runSync(u.parse(c),c),e)}function nC(e){let t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),l=e.indexOf("/");return -1===t||-1!==l&&t>l||-1!==n&&t>n||-1!==r&&t>r||nw.test(e.slice(0,t))?e:""}var nN=e.i(201025);function nE({markdown:e}){return(0,t.jsx)("div",{className:"flex flex-col items-stretch gap-6 md:flex-row",children:(0,t.jsx)(nS,{skipHtml:!0,components:{ul:e=>(0,t.jsx)("ul",{className:"flex w-full flex-col gap-4",children:e.children}),li:e=>(0,t.jsx)("li",{className:"wrap-anywhere flex font-semibold tracking-wide",children:e.children}),a:e=>(0,t.jsxs)(t.Fragment,{children:[e.href?.includes(".pdf")&&(0,t.jsx)(nN.Icon,{name:"pdf",className:"mr-2"}),(0,t.jsx)("a",{href:e.href,className:"text-primary-30 underline hover:text-primary-20",children:e.children})]})},children:e})})}e.s(["default",0,function({body:e,bottomText:n,title:r,topText:l}){return(0,t.jsxs)("div",{"data-testid":"boxed-markdown",className:"flex flex-col gap-6 bg-primary-95 p-8",children:[r&&(0,t.jsx)("h2",{className:"font-medium text-subheading-l tracking-wide",children:r}),l&&(0,t.jsx)("p",{children:l}),e&&(0,t.jsx)(nE,{markdown:e}),n&&(0,t.jsx)("p",{children:n})]})}],995099);var nT=e.i(335889),nI=e.i(509942),nA=e.i(232894),nP=e.i(34418);e.s(["default",0,function(e){return e.items?(0,t.jsx)("div",{className:"flex flex-col gap-4 lg:gap-2",children:e.items?.map(n=>{let{title:r}=n;return(0,t.jsxs)(nT.default,{href:n.href,className:"flex w-full border border-base-90 bg-white text-black transition-shadow duration-300 hover:no-underline hover:shadow-md",onClick:()=>{(0,nA.dlTeaserTracking)({title:r,type:"Teaser",context:e.trackingData?.context||"unknown",event:"select_promotion"})},children:[(0,t.jsx)(nP.default,{title:r,type:"Teaser",context:e.trackingData?.context}),(0,t.jsx)("div",{className:"relative size-24 shrink-0",children:(0,t.jsx)(nI.default,{alt:r,src:n.imageSrc,fill:!0,sizes:"(max-width: 1271px) 33vw, 12.5vw",className:"object-cover"})}),(0,t.jsx)("div",{className:"flex items-center p-3",children:(0,t.jsx)("h3",{className:"wrap-anywhere line-clamp-3 hyphens-auto whitespace-normal font-medium text-base",children:r})})]},n.href)})}):null}],274835);var nD=e.i(806712),nL=e.i(311276);function nR(e){return()=>{throw Error(`\`${e}\` is not supported in Client Components.`)}}e.s(["default",0,function(e){let n=(0,nD.useTranslations)("sf.re
1cipe");return e.content?(0,t.jsxs)("div",{className:"mt-10 max-w-screen-xl lg:mt-0","data-testid":"cooking-descriptions",children:[(0,t.jsx)("h2",{className:"mb-6 text-subheading-m md:text-subheading-l",children:n("cooking")}),(0,t.jsx)(nL.default,{className:"prose-lg",content:e.content})]}):null}],27119),nR("getFormatter"),nR("getNow"),nR("getTimeZone"),nR("getMessages"),nR("getLocale"),nR("getExtracted");let nM=nR("getTranslations");async function n_(e){let n=await nM();return(0,t.jsxs)("div",{className:"mx-auto flex w-full max-w-screen-xl flex-col md:flex-row md:px-6",children:[(0,t.jsxs)("div",{className:"w-full bg-primary-95 p-6 md:w-1/2 md:p-8 md:pl-12 lg:p-12 lg:pt-10",children:[e.title&&(0,t.jsx)("div",{className:"mb-6 text-display-s text-primary-30",children:e.title}),e.text&&(0,t.jsx)("div",{className:"mb-6 text-body-l leading-7 tracking-wider",children:e.text}),void 0!==e.phoneNumber&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"mb-2 font-bold text-overline-m uppercase tracking-widest",children:n("sf.customerService.callUs")}),(0,t.jsxs)("div",{className:"flex",children:[(0,t.jsx)(nN.Icon,{name:"phone",className:"mr-4"}),(0,t.jsx)("a",{className:"underline",href:`tel:${e.phoneNumber}`,children:e.phoneNumber})]})]})]}),(0,t.jsx)("div",{className:"flex w-full bg-primary-95 p-4 md:w-1/2 md:p-8 md:pl-0 lg:p-10 lg:pl-0",children:(0,t.jsxs)("div",{className:"grow bg-white p-6 md:p-8 lg:p-10",children:[e.openingHours&&(0,t.jsxs)("div",{className:"mb-10",children:[(0,t.jsx)("div",{className:"mb-2 font-bold text-overline-m text-primary-30 uppercase tracking-widest",children:n("sf.customerService.ordinaryOpeningHours")}),(0,t.jsx)(nL.default,{className:"wrap-break-word",content:e.openingHours})]}),e.deviatingOpeningHours&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"mb-2 font-bold text-error-40 text-overline-m uppercase tracking-widest",children:n("sf.customerService.deviatingOpeningHours")}),(0,t.jsx)(nL.default,{className:"wrap-break-word",content:e.deviatingOpeningHours})]})]})})]})}nR("setRequestLocale"),e.s(["default",0,n_],592609);var nO=e.i(450127);let nz=["col-start-5","col-start-3",""];async function nF({locations:e}){let n=await nM("sf.customerService");return(0,t.jsxs)("div",{className:"py-10",children:[(0,t.jsx)(nO.default,{className:"mb-8",children:n("contactDetailsAndOpeningHours")}),(0,t.jsx)("div",{className:"grid grid-cols-4 gap-4 md:grid-cols-8 md:gap-6 lg:grid-cols-12",children:e?.map((r,l)=>(0,t.jsxs)("div",{className:`col-span-4 flex flex-col gap-6 bg-white p-4 md:gap-8 md:p-6${0===l?" "+nz[e.length-1]:""}`,children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:"mb-6 text-base-10 text-display-xxs md:text-display-xs",children:r.title}),void 0!==r.phoneNumber&&(0,t.jsxs)("div",{className:"mt-4 flex",children:[(0,t.jsx)(nN.Icon,{name:"phone",className:"mr-4"}),(0,t.jsx)("a",{className:"underline",href:`tel:${r.phoneNumber}`,children:r.phoneNumber})]})]}),r.openingHours&&(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:"mb-2 font-bold text-overline-m text-primary-30 uppercase tracking-widest",children:n("ordinaryOpeningHours")}),(0,t.jsx)(nL.default,{className:"wrap-break-word tracking-wider",content:r.openingHours})]}),r.deviatingOpeningHours&&(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:"mb-2 font-bold text-error-40 text-overline-m uppercase tracking-widest",children:n("deviatingOpeningHours")}),(0,t.jsx)(nL.default,{className:"wrap-break-word tracking-wider",content:r.deviatingOpeningHours})]}),r.link&&r.linkText&&(0,t.jsx)("a",{href:r.link,className:"underline",children:r.linkText})]},r.title))})]})}e.s(["default",0,nF],917198);var nB=e.i(911611),nH=e.i(223244),nU=e.i(551881),n$=e.i(787449),nq=e.i(493131);let nV={Curator:nB.default,JotForm:nH.default,NowInteract:nU.default,OneTrust:function({id:e}){return(0,t.jsxs)("div",{"test-id":"onetrust-container",children:[(0,t.jsx)(n$.default,{strategy:"afterInteractive",src:`https://cdn.cookielaw.org/consent/${e}/OtAutoBlock.js`}),(0,t.jsx)(n$.default,{strategy:"afterInteractive",src:"https://cdn.cookielaw.org/scripttemplates/otSDKStub.js","data-domain-script":e}),(0,t.jsx)(n$.default,{strategy:"afterInteractive",id:"my-script",children:`function OptanonWrapper() { 2 window.dispatchEvent(new CustomEvent("oneTrustLoaded")) 3 }`})]})},ReachMee:nq.default};e.s(["default",0,function(e){let n=nV[e.type];return n&&e.id?(0,t.jsx)(n,{id:e.id}):(console.warn(`ExternalScript: ${e.type} script not found with id ${e.id}`),null)}],828354),e.s(["default",0,function(e){return e.content?(0,t.jsx)("div",{className:"flex justify-center bg-base-95 px-4 py-10 md:px-6 md:py-12","data-testid":"highlight","data-type":"highlight",children:(0,t.jsx)(nL.default,{content:e.content,className:"md:prose-lg"})}):null}],834627);var nW=e.i(779985),nQ=e.i(82717),nG=e.i(357237);e.s(["default",0,function(e){return(0,t.jsxs)("div",{className:(0,nQ.twMerge)("lg:flex",e.rightAlignment&&"lg:flex-row-reverse","BEIGE"===e.color&&"bg-base-90","GREEN"===e.color&&"bg-primary-30 text-white","WHITE"===e.color&&"border border-base-90 bg-white"),children:[(0,t.jsxs)("div",{className:"relative min-h-72 grow lg:min-h-96",children:[(0,t.jsx)(nI.default,{testid:"imageMap-"+e.id,alt:e.header||"image-map-image",src:e.image,className:"object-cover",sizes:"(max-width: 1024px) 100vw 50vw",fill:!0}),e.products&&(0,t.jsx)(nG.default,{skus:e.products,title:e.header,link:e.link,linkText:e.linkText})]}),(0,t.jsxs)("div",{className:"space-y-4 px-4 py-6 md:p-6 lg:w-96 lg:px-8 lg:py-14",children:[e.header&&(0,t.jsx)("div",{className:"text-display-xxs md:text-display-xs",children:e.header}),(0,t.jsx)("div",{className:"line-clamp-8 text-body-m",dangerouslySetInnerHTML:{__html:(0,nW.sanitizeHtml)(e.bodyText||"")}}),e.link&&e.linkText&&(0,t.jsx)(nT.default,{className:(0,nQ.twMerge)("font-semibold underline","GREEN"===e.color&&"text-white"),href:e.link,children:e.linkText})]})]})}],222075);var nK=e.i(785843);function nJ(e){let n=e.testid||"infocus";return(0,t.jsxs)("div",{className:"grid w-full grid-cols-1 gap-4 py-10 md:grid-cols-2 md:gap-6 md:py-20","data-testid":e.testid,children:[(0,t.jsxs)("div",{className:"col-span-1",children:[e.heading&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{"data-testid":n+"-heading",className:"text-display-s md:text-display-m xl:text-display-xxl",children:e.heading}),(0,t.jsx)("div",{className:"mt-6 h-0.5 w-20 grow bg-base-40 md:mt-12"})]}),(0,t.jsx)("div",{"data-testid":n+"-left-col",className:"mt-12",children:nY({blockArray:e.blocks[0],testid:n,title:e.heading})})]}),(0,t.jsx)("div",{"data-testid":n+"-right-col",className:"col-span-1",children:nY({blockArray:e.blocks[1],testid:n,title:e.heading})})]})}function nY({blockArray:e,testid:n,title:r=""}){return(0,t.jsx)("div",{className:"grid grid-cols-4 gap-4 md:grid-cols-8 md:gap-6 lg:grid-cols-12",children:e.map(e=>{if(!(e.type in nK.blockMap))return null;let t=nK.blockMap[e.type];return(0,ef.createElement)(t,{...e.data,key:e.id,testid:n+"-item",trackingData:{context:r}}
3)})})}e.s(["default",0,function(e){let n=(0,nD.useTranslations)("sf.recipe");return e.content?(0,t.jsxs)("div",{"data-testid":"ingredients",className:"ingredients lg:pl-14",children:[(0,t.jsx)("h2",{className:"mb-6 text-subheading-m md:text-subheading-l",children:n("ingredients")}),(0,t.jsx)(nL.default,{content:e.content})]}):null}],171832)},782681,e=>{"use strict";var t=e.i(517530),n=e.i(286896),r=e.i(806712);e.i(66518);var l=e.i(173235),i=e.i(941865),a=e.i(494762),o=e.i(143890);let s={CARD_BANK_QTY:"bankCardQuantity",CARD_BANK_AMT:"bankCardAmount",CARD_CREDIT_QTY:"creditCardQuantity",CARD_CREDIT_AMT:"creditCardAmount",CARD_BUSINESS_QTY:"businessCardQuantity",CARD_BUSINESS_AMT:"businessCardAmount",CARD_FOREIGN_QTY:"foreignCardQty",CARD_FOREIGN_AMT:"foreignCardAmount",INVOICE_TOTAL:"invoiceTotal"};function u({transactions:e,transactionsMultiplier:t,amount:n,amountMultiplier:r}){return(e?e*t:0)+(n?n*r:0)}function c(e,t){let n=[t.get(s.CARD_BANK_QTY),t.get(s.CARD_BUSINESS_QTY),t.get(s.CARD_CREDIT_QTY),t.get(s.CARD_FOREIGN_QTY)],r=[t.get(s.CARD_BANK_AMT),t.get(s.CARD_BUSINESS_AMT),t.get(s.CARD_CREDIT_AMT),t.get(s.CARD_FOREIGN_AMT)];return("amount"===e?r:n).filter(e=>!!e&&!isNaN(parseFloat(e))).reduce((e,t)=>{if(!(0,o.isDefined)(t))return e;let n=parseFloat(t.replace(",","."));return isNaN(n)?e:e+n},0)}e.s(["default",0,function(){let e=(0,r.useTranslations)("sf.cardAcquiringCalc"),[d,f]=(0,n.useState)(new Map),p=(0,n.useId)();function m(e){let{name:t,value:n}=e.target;n&&isNaN(parseFloat(n))||f(e=>new Map(e).set(t,n))}function h(e){return parseFloat(d.get(s[e])||"0")}let g=u({transactions:h("CARD_BANK_QTY"),amount:h("CARD_BANK_AMT"),transactionsMultiplier:.21,amountMultiplier:.0025})+u({transactions:h("CARD_CREDIT_QTY"),amount:h("CARD_CREDIT_AMT"),transactionsMultiplier:.31,amountMultiplier:.0043})+u({transactions:h("CARD_BUSINESS_QTY"),amount:h("CARD_BUSINESS_AMT"),transactionsMultiplier:.31,amountMultiplier:.0176})+u({transactions:h("CARD_FOREIGN_QTY"),amount:h("CARD_FOREIGN_AMT"),transactionsMultiplier:.31,amountMultiplier:.0177}),x=h("INVOICE_TOTAL")-g;return(0,t.jsxs)("article",{className:"-mx-4 max-w-screen-md bg-base-95 p-4 sm:mx-auto md:px-10 md:py-8",children:[(0,t.jsx)("h2",{className:"text-display-xs md:text-display-s",children:e("title")}),(0,t.jsx)("div",{className:"mt-4 mb-7 tracking-wide md:text-lg",children:e("preamble")}),(0,t.jsxs)("form",{className:"grid grid-cols-[minmax(0,1fr)_minmax(0,2fr)_minmax(0,2fr)] items-center gap-4 gap-x-2 md:gap-x-4 md:gap-y-4",children:[(0,t.jsx)("div",{className:"text-xs uppercase tracking-wider",children:e("cardType")}),(0,t.jsx)("div",{className:"text-right text-xs uppercase tracking-wider",children:e("transactions")}),(0,t.jsx)("div",{className:"text-right text-xs uppercase tracking-wider",children:e("revenue")}),(0,t.jsx)("div",{className:"font-semibold text-body-s md:text-body-m",children:e("cardBankSE")}),(0,t.jsx)(l.Input,{"aria-label":`${e("transactions")} ${e("cardBankSE")}`,inputClassName:"w-full pl-2",inputMode:"numeric",maxLength:10,name:s.CARD_BANK_QTY,onChange:m,placeholder:"0",suffix:e("quantity"),textRight:!0,value:d.get(s.CARD_BANK_QTY)||""}),(0,t.jsx)(l.Input,{"aria-label":`${e("revenue")} ${e("cardBankSE")}`,inputClassName:"w-full pl-2",inputMode:"decimal",maxLength:10,name:s.CARD_BANK_AMT,onChange:m,placeholder:"0",suffix:e("currency"),textRight:!0,value:d.get(s.CARD_BANK_AMT)||""}),(0,t.jsx)("div",{className:"font-semibold text-body-s md:text-body-m",children:e("cardCreditSE")}),(0,t.jsx)(l.Input,{"aria-label":`${e("transactions")} ${e("cardCreditSE")}`,inputClassName:"w-full pl-2",inputMode:"numeric",maxLength:10,name:s.CARD_CREDIT_QTY,onChange:m,placeholder:"0",suffix:e("quantity"),textRight:!0,value:d.get(s.CARD_CREDIT_QTY)||""}),(0,t.jsx)(l.Input,{"aria-label":`${e("revenue")} ${e("cardCreditSE")}`,inputClassName:"w-full pl-2",inputMode:"decimal",maxLength:10,name:s.CARD_CREDIT_AMT,onChange:m,placeholder:"0",suffix:e("currency"),textRight:!0,value:d.get(s.CARD_CREDIT_AMT)||""}),(0,t.jsx)("div",{className:"font-semibold text-body-s md:text-body-m",children:e("cardBusiness")}),(0,t.jsx)(l.Input,{"aria-label":`${e("transactions")} ${e("cardBusiness")}`,inputClassName:"w-full pl-2",inputMode:"numeric",maxLength:10,name:s.CARD_BUSINESS_QTY,onChange:m,placeholder:"0",suffix:e("quantity"),textRight:!0,value:d.get(s.CARD_BUSINESS_QTY)||""}),(0,t.jsx)(l.Input,{"aria-label":`${e("revenue")} ${e("cardBusiness")}`,inputClassName:"w-full pl-2",inputMode:"decimal",maxLength:10,name:s.CARD_BUSINESS_AMT,onChange:m,placeholder:"0",suffix:e("currency"),textRight:!0,value:d.get(s.CARD_BUSINESS_AMT)||""}),(0,t.jsx)("div",{className:"font-semibold text-body-s md:text-body-m",children:e("cardForeign")}),(0,t.jsx)(l.Input,{"aria-label":`${e("transactions")} ${e("cardForeign")}`,inputClassName:"w-full pl-2",inputMode:"numeric",maxLength:10,name:s.CARD_FOREIGN_QTY,onChange:m,placeholder:"0",suffix:e("quantity"),textRight:!0,value:d.get(s.CARD_FOREIGN_QTY)||""}),(0,t.jsx)(l.Input,{"aria-label":`${e("revenue")} ${e("cardForeign")}`,inputClassName:"w-full pl-2",inputMode:"decimal",maxLength:10,onChange:m,name:s.CARD_FOREIGN_AMT,placeholder:"0",suffix:e("currency"),textRight:!0,value:d.get(s.CARD_FOREIGN_AMT)||""}),(0,t.jsx)("div",{className:"font-bold tracking-wider",children:e("total")}),(0,t.jsxs)("div",{className:"text-right font-bold tracking-wider",children:[c("quantity",d)," ",e("quantity")]}),(0,t.jsx)("div",{className:"text-right font-bold",children:(0,o.formatPrice)({amount:c("amount",d),decimals:0})}),(0,t.jsx)("div",{className:"col-span-3 my-2 h-0 w-full border-base-40 border-b"}),(0,t.jsx)("label",{htmlFor:p,className:"col-span-2 text-body-s tracking-wide md:text-body-m",children:e.rich("invoiceTotalSum",{strong:e=>(0,t.jsx)("span",{className:"font-semibold",children:e}),mobileBreak:()=>(0,t.jsx)("br",{className:"md:hidden"})})}),(0,t.jsx)(l.Input,{id:p,inputClassName:"w-full pl-2",inputMode:"decimal",maxLength:10,name:"invoiceTotal",onChange:m,placeholder:"0",suffix:e("currency"),textRight:!0,value:d.get(s.INVOICE_TOTAL)||""}),(0,t.jsxs)("div",{className:"col-span-3 grid grid-cols-2 gap-2",children:[(0,t.jsx)("div",{className:"font-semibold text-body-s tracking-wide md:text-body-m",children:e.rich("totalSwedbankPay",{mobileBreak:()=>(0,t.jsx)("br",{className:"md:hidden"})})}),(0,t.jsx)("div",{className:"text-right font-semibold tracking-wide",children:(0,o.formatPrice)({amount:g,decimals:2})})]}),(0,t.jsxs)("div",{className:"col-span-3 flex flex-col gap-2 md:flex-row md:justify-between",children:[(0,t.jsx)("div",{className:"col-span-3 text-center font-semibold text-body-m text-primary-30 tracking-wide md:col-span-1 md:pt-5 md:text-left md:text-lg",children:e("savingsWithSwedbankPay")}),(0,t.jsx)("div",{className:"col-span-3 text-center align-bottom text-display-m text-primary-30 md:col-span-2 md:text-right",children:x>0?(0,o.formatPrice)({amount:x,decimals:2}):(0,o.formatPrice)({amount:0})})]}),(0,t.jsxs)("div",{className:"col-span-3 mt-2 flex flex-col gap-4 md:flex-row md:gap-6",children:[(0,t.jsx)(a.SecondaryButton,{onClick:function(){return f(new Map)},className:"bg-transparent sm:w-full",children:e("btnResetForm")}),(0,t.jsx)(i.PrimaryLinkButton,{href:"/utbildning-tjanster/partnererbjudanden/partnererbjudanden-kassa-betalning/swedbank-pay",className:"sm:w-full",children:e("btnSubmitForm")})]})]})]})}],782681)},76966,e=>{"use strict";
3var t=e.i(517530),n=e.i(286896),r=e.i(806712),l=e.i(618593),i=e.i(210302);e.i(66518);var a=e.i(694613),o=e.i(201025),s=e.i(941865),u=e.i(777110),c=e.i(530478),d=e.i(346631),f=e.i(82717),p=e.i(143890);function m(e){let n=(0,r.useTranslations)("sf.courseInfo")("heading");return(0,t.jsxs)("div",{className:"rounded-sm border border-base-80 bg-white p-6 tracking-wide",children:[(0,t.jsx)("h3",{className:"mb-4 font-semibold text-2xl text-primary-30",children:n}),e.children]})}function h({course:e,event:n,city:l}){let i=(0,r.useTranslations)("sf.courseInfo"),o="other"===e.categoryType;return(0,t.jsxs)("dl",{className:"grid grid-cols-2 gap-1",children:[!e.onDemand&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("dt",{className:"font-semibold",children:i("date")}),(0,t.jsx)("dd",{className:"text-right font-medium",children:(0,t.jsx)(a.DateTime,{date:n.startDate,options:{year:"numeric",month:"2-digit",day:"2-digit"}})})]}),o&&l&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("dt",{className:"font-semibold",children:i("place")}),(0,t.jsx)("dd",{className:"text-right font-medium",children:l})]}),(0,t.jsx)("dt",{className:"font-semibold",children:i("time")}),(0,t.jsx)("dd",{className:"text-right font-medium",children:e.onDemand?i("onDemandInfo"):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(a.DateTime,{date:n.startDate,options:{hour:"2-digit",minute:"2-digit"}}),"-",(0,t.jsx)(a.DateTime,{date:n.endDate,options:{hour:"2-digit",minute:"2-digit"}})]})})]})}e.s(["default",0,function({courseId:e=""}){let g=(0,c.useEnv)(),x=(0,r.useTranslations)("sf.courseInfo"),{data:y}=(0,l.useSession)(),{data:v,isFetching:b}=(0,i.useQuery)(d.orpc.courseInfo.queryOptions({input:{courseId:e},refetchOnWindowFocus:!1}));return b?(0,t.jsx)(m,{children:(0,t.jsxs)("div",{className:"flex items-center",children:[(0,t.jsx)(u.Spinner,{className:"mr-2"}),(0,t.jsx)("p",{children:x("fetchingInfo")})]})}):!v||v.error?(0,t.jsx)(m,{children:(0,t.jsx)("p",{children:x("unavailable")})}):(0,t.jsx)(m,{children:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("dl",{className:"mb-4 flex flex-col gap-1",children:[(0,t.jsxs)("div",{className:"flex",children:[(0,t.jsx)("dt",{className:"mr-1 font-semibold",children:x("courseType")}),(0,t.jsx)("dd",{className:"font-medium",children:x(`categoryType.${v.categoryType}`)})]}),v.days&&(0,t.jsxs)("div",{className:"flex",children:[(0,t.jsx)("dt",{className:"mr-1 font-semibold",children:x("duration")}),(0,t.jsx)("dd",{className:"font-medium",children:x("days",{count:v.days})})]}),v.price&&(0,t.jsxs)("div",{className:"flex",children:[(0,t.jsx)("dt",{className:"mr-1 font-semibold",children:x("price")}),(0,t.jsx)("dd",{className:"font-medium",children:x("priceValue",{amount:(0,p.formatPrice)({amount:v.price})})})]})]}),v.events.map(e=>(0,t.jsxs)("div",{className:"mb-6",children:[e.eventDates.length>1&&(0,t.jsxs)("p",{className:"mb-2",children:[(0,t.jsx)("span",{className:"mr-1 font-semibold",children:x("start")}),(0,t.jsx)("span",{className:"font-medium",children:(0,t.jsx)(a.DateTime,{date:e.startDate,options:{year:"numeric",month:"2-digit",day:"2-digit"}})})]}),(0,t.jsx)("div",{className:"flex flex-col gap-2 rounded-lg bg-base-95 px-3 py-2",children:e.eventDates.length>0?e.eventDates.map((r,l)=>(0,t.jsxs)(n.Fragment,{children:[(0,t.jsxs)("div",{children:[e.eventDates.length>1&&(0,t.jsx)("p",{className:"mb-1 font-semibold text-primary-30 text-sm uppercase",children:x("day",{number:l+1})}),(0,t.jsx)(h,{city:e.city,course:v,event:r})]}),l<e.eventDates.length-1&&(0,t.jsx)("div",{className:"h-px w-full bg-base-80"})]},r.eventDateId)):(0,t.jsx)(h,{city:e.city,course:v,event:e})}),(0,p.isDefined)(e.participantNumberLeft)&&(0,t.jsxs)("div",{className:"mt-2 flex items-center",children:[(0,t.jsx)("div",{className:(0,f.twMerge)(e.participantNumberLeft>0?"bg-success-40":"bg-error-40","mr-2 size-2 rounded-full")}),(0,t.jsx)("span",{className:"font-semibold text-base-40",children:x("seatsLeft",{count:e.participantNumberLeft})})]})]},e.eventId)),(0,t.jsxs)(s.PrimaryLinkButton,{external:!0,href:`https://bokautbildning${g?.DEPLOYMENT_ENV==="Prod"?"":"-test"}.martinservera.se/boka/${e}${y?.user.customerNumber?`?Kundnummer=${y.user.customerNumber}&`:"?"}URL=${window.location.href}`,target:"_blank",className:"flex w-full text-center",children:[x("goToBooking"),(0,t.jsx)(o.Icon,{name:"arrow-top-right-on-square",className:"ml-2"})]})]})})}])},911611,e=>{"use strict";
3var t=e.i(517530),n=e.i(286896);e.s(["default",0,function({id:e}){let r=e.split(";;;")[0],l=e.split(";;;")[1],[i,a]=(0,n.useState)(!1);return((0,n.useEffect)(()=>{let e=`https://cdn.curator.io/published/${r}.js`,t=document.createElement("script");return t.id="curator",t.async=!0,t.src=e,i&&t&&document.body.appendChild(t),a(!0),()=>{i&&t&&document.body.removeChild(t)}},[i,r]),r&&l)?(0,t.jsx)("div",{id:l,"data-testid":"curator-container"}):(console.warn(`CuratorScript: Faulty formatted ID field in ExternalScript block. scriptID: ${r} divID: ${l}`),null)}])},223244,e=>{"use strict";var t=e.i(517530),n=e.i(286896),r=e.i(778701);e.s(["default",0,function({id:e}){let l=e.split(":"),i=l[0],a=l[1];(0,n.useEffect)(()=>{function e(e){let t;if("object"==typeof e.data){"submission-completed"===e.data.action&&(window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:`form_submit-${a||i}`}));return}let n=e.data.split(":");if((t=n.length>2?document.getElementById("JotFormIFrame-"+n[n.length-1]):document.getElementById("JotFormIFrame"))&&t instanceof HTMLIFrameElement){switch(n[0]){case"scrollIntoView":console.info("scrollIntoView"),t.scrollIntoView();break;case"setHeight":t.style.height=n[1]+"px",!isNaN(n[1])&&parseInt(t.style.minHeight)>parseInt(n[1])&&(t.style.minHeight=n[1]+"px");break;case"collapseErrorPage":console.info("collapseErrorPage"),t.clientHeight>window.innerHeight&&(t.style.height=window.innerHeight+"px");break;case"reloadPage":window.location.reload();break;case"loadScript":if(!function(e,t){let n=document.createElement("a");n.href=e;let r=n.hostname,l=!1;if(void 0!==r)return t.forEach(function(e){(r.slice(-1*e.length-1)===".".concat(e)||r===e)&&(l=!0)}),l}(e.origin,["jotform.com","jotform.pro"]))break;let r=n[1];n.length>3&&(r=n[1]+":"+n[2]);let l=document.createElement("script");l.src=r,l.type="text/javascript",document.body.appendChild(l);break;case"exitFullscreen":window.document.exitFullscreen&&window.document.exitFullscreen()}if(e.origin.indexOf("jotform")>-1&&t.contentWindow&&"postMessage"in t.contentWindow){let e={docurl:encodeURIComponent(document.URL),referrer:encodeURIComponent(document.referrer)};t.contentWindow.postMessage(JSON.stringify({type:"urls",value:e}),"*")}}}return window.addEventListener("message",e,!1),()=>{window.removeEventListener("message",e,!1)}},[i,a]);let o=new URL(`https://martinservera.jotform.com/${i}`),s=new URLSearchParams([...(0,r.useSearchParams)(),...o.searchParams,["isIframeEmbed","1"]]);return(0,t.jsx)("div",{"test-id":"jotform-container",id:i,children:(0,t.jsx)("iframe",{id:`JotFormIFrame-${i}`,src:o.origin+o.pathname+"?"+s,className:"h-0 min-w-full"})})}])},551881,e=>{"use strict";var t=e.i(286896);e.s(["default",0,function({id:e}){let[n,r]=(0,t.useState)(!1);if((0,t.useEffect)(()=>{let t=`https://cdn.nowinteract.com/imp2/${e}`,l=document.createElement("script");return l.id="nowInteract",l.async=!0,l.src=t,n&&l&&document.body.appendChild(l),r(!0),()=>{n&&l&&document.body.removeChild(l)}},[n,e]),!e)return null}])},493131,e=>{"use strict";var t=e.i(517530),n=e.i(286896);e.i(66518);var r=e.i(777110);e.s(["default",0,function({id:e}){let[l,i]=(0,n.useState)(!1),a=e.split("-")[1],o=e.split("-")[2],s=(0,n.useRef)(null);return(0,n.useEffect)(()=>{let t=document.createElement("script"),n=s.current;function r(){let r=window.OnetrustActiveGroups?.split(",").find(e=>"c0004"===e.toLowerCase()),a=`https://web103.reachmee.com/customerjs/${e}.js${r?"":"?notrack=1"}`;t.id="reachmee",t.async=!0,t.src=a,n&&l&&t&&n.appendChild(t),i(!0)}return window.OnetrustActiveGroups?r():window.addEventListener("oneTrustLoaded",r),()=>{n&&l&&t&&n.removeChild(t)}},[e,l]),(0,t.jsx)("div",{className:"flex flex-col","data-testid":"reachmee-container",id:`reachmee-iframe-${a}-${o}`,ref:s,children:!l&&(0,t.jsx)(r.Spinner,{large:!0,className:"mx-auto"})})}])},905937,699116,e=>{"use strict";var t,n=e.i(517530),r=e.i(286896);e.s([],933163),e.i(933163);var l=e.i(266901),i=e.i(94151),a=e.i(611627),o=e.i(837097),s=e.i(714861),u=e.i(250026);let c=r.createContext(void 0);function d(){let e=r.useContext(c);if(void 0===e)throw Error((0,u.default)(64));return e}let f={tabActivationDirection:e=>({"data-activation-direction":e})};var p=e.i(940064),m=e.i(879081);let h=r.forwardRef(function(e,t){let{className:u,defaultValue:d=0,onValueChange:h,orientation:y="horizontal",render:v,value:b,style:k,...w}=e,j=void 0!==e.defaultValue,S=r.useRef([]),[C,N]=r.useState(()=>new Map),[E,T]=(0,l.useControlled)({controlled:b,default:d,name:"Tabs",state:"value"}),I=void 0!==b,[A,P]=r.useState(()=>new Map),D=r.useRef(void 0),L=r.useCallback(e=>g(A,e),[A]),[R,M]=r.useState(()=>({previousValue:E,tabActivationDirection:"none"})),{previousValue:_,tabActivationDirection:O}=R,z=O,F=!1;_!==E&&(z=x(_,E,y,A),F=null!=_&&null!=E&&null==L(E));let B=F?_:E,H=_!==B||O!==z;(0,i.useIsoLayoutEffect)(()=>{H&&M({previousValue:B,tabActivationDirection:z})},[B,H,z]);let U=(0,a.useStableCallback)((e,t)=>{t.activationDirection=x(E,e,y,A),h?.(e,t),t.isCanceled||T(e)}),$=(0,a.useStableCallback)((e,t)=>{h?.(e,(0,p.createChangeEventDetails)(t,void 0,void 0,{activationDirection:"none"}))}),q=(0,a.useStableCallback)((e,t)=>(N(n=>{let r=new Map(n);return r.set(e,t),r}),()=>{N(n=>{if(n.get(e)!==t)return n;let r=new Map(n);return r.delete(e),r})})),V=r.useCallback(e=>C.get(e),[C]),W=r.useCallback(e=>{for(let t of A.values())if(e===t.value)return t.id},[A]),Q=r.useMemo(()=>({getTabElementBySelectedValue:L,getTabIdByPanelValue:W,getTabPanelIdByValue:V,onValueChange:U,orientation:y,registerMountedTabPanel:q,setTabMap:P,tabActivationDirection:z,value:E}),[L,W,V,U,y,q,P,z,E]),G=r.useMemo(()=>{for(let e of A.values())if(e.value===E)return e},[A,E]),K=r.useMemo(()=>{for(let e of A.values())if(!e.disabled)return e.value},[A]),J=r.useRef(!j),Y=r.useRef(d),Z=r.useRef(j),X=r.useRef(!1);(0,i.useIsoLayoutEffect)(()=>
3{if(I)return;function e(e,t){T(e),M({previousValue:e,tabActivationDirection:"none"}),$(e,t),J.current=!1}if(0===A.size){X.current&&null!==E&&!D.current?.isConnected&&e(null,m.REASONS.missing);return}X.current=!0,D.current=A.keys().next().value;let t=G?.disabled,n=null==G&&null!==E;if(t||E!==Y.current||(Z.current=!1),Z.current&&t&&E===Y.current)return;let r=J.current;if(t||n){let n=K??null;if(E===n){J.current=!1;return}let l=m.REASONS.missing;r?l=m.REASONS.initial:t&&(l=m.REASONS.disabled),e(n,l);return}r&&null!=G&&($(E,m.REASONS.initial),J.current=!1)},[K,I,$,G,T,A,E]);let ee={orientation:y,tabActivationDirection:z},et=(0,o.useRenderElement)("div",e,{state:ee,ref:t,props:w,stateAttributesMapping:f});return(0,n.jsx)(c.Provider,{value:Q,children:(0,n.jsx)(s.CompositeList,{elementsRef:S,children:et})})});function g(e,t){for(let[n,r]of e.entries())if(t===r.value)return n;return null}function x(e,t,n,r){if(null==e||null==t)return"none";let[l,i,a]="horizontal"===n?["left","left","right"]:["top","up","down"],o=g(r,e),s=g(r,t);if(null==o||null==s)return o!==s&&("number"==typeof e||"string"==typeof e)&&typeof e==typeof t?t>e?a:i:"none";let u=o.getBoundingClientRect()[l],c=s.getBoundingClientRect()[l];return c<u?i:c>u?a:"none"}var y=e.i(146822),v=e.i(428592),b=e.i(534565),k=e.i(892222),w=e.i(729885),j=e.i(696116);let S=r.createContext(void 0);function C(){let e=r.useContext(S);if(void 0===e)throw Error((0,u.default)(65));return e}var N=e.i(150423);let E=r.forwardRef(function(e,t){let{className:n,disabled:l=!1,render:s,value:u,id:c,nativeButton:h=!0,style:g,...x}=e,{value:S,getTabPanelIdByValue:E,onValueChange:T,orientation:I,tabActivationDirection:A}=d(),{activateOnFocus:P,registerTabResizeObserverElement:D,tabsListElement:L}=C(),{highlightedIndex:R,onHighlightedIndexChange:M}=(0,j.useCompositeRootContext)(),_=(0,v.useBaseUiId)(c),O=r.useMemo(()=>({disabled:l,id:_,value:u}),[l,_,u]),{compositeProps:z,compositeRef:F,index:B}=(0,w.useCompositeItem)({metadata:O}),H=u===S,U=r.useRef(!1),$=r.useRef(null),q=(0,a.useStableCallback)(e=>{$.current?.(),$.current=e?D(e):null});(0,i.useIsoLayoutEffect)(()=>{if(U.current){U.current=!1;return}if(H&&B>-1&&R!==B){if(null!=L){let e=(0,N.activeElement)((0,y.ownerDocument)(L));if(e&&(0,N.contains)(L,e))return}l||M(B)}},[H,B,R,M,l,L]);let{getButtonProps:V,buttonRef:W}=(0,b.useButton)({disabled:l,native:h,focusableWhenDisabled:!0}),Q=E(u),G=r.useRef(!1),K=r.useRef(!1);function J(e){T(u,(0,p.createChangeEventDetails)(m.REASONS.none,e.nativeEvent,void 0,{activationDirection:"none"}))}return(0,o.useRenderElement)("button",e,{state:{disabled:l,active:H,orientation:I,tabActivationDirection:A},ref:[t,W,F,q],props:[z,{role:"tab","aria-controls":Q,"aria-selected":H,id:_,onClick:function(e){H||l||J(e)},onFocus:function(e){H||l||P&&(!G.current||K.current)&&J(e)},onPointerDown:function(e){if(H||l)return;G.current=!0,K.current=0===e.button;let t=(0,y.ownerDocument)(e.currentTarget);function n(){G.current=!1,K.current=!1,t.removeEventListener("pointerup",n),t.removeEventListener("pointercancel",n)}t.addEventListener("pointerup",n),t.addEventListener("pointercancel",n)},[k.ACTIVE_COMPOSITE_ITEM]:H?"":void 0,onKeyDownCapture(){U.current=!0}},x,V],stateAttributesMapping:f})});var T=e.i(807257),I=e.i(223732),A=e.i(959882),P=e.i(483845);function D(){return P.NOOP}function L(){return!1}function R(){return!0}let M=r.createContext(void 0),_={disableStyleElements:!1};function O(e){let{script:t}=e,{nonce:l}=r.useContext(M)??_;return(0,A.useSyncExternalStore)(D,L,R)?(0,n.jsx)("script",{nonce:l,dangerouslySetInnerHTML:{__html:t},suppressHydrationWarning:!0}):null}var z=e.i(424242),F=e.i(18302);let B={...f,activeTabPosition:()=>null,activeTabSize:()=>null},H=r.forwardRef(function(e,l){let{className:i,render:a,renderBeforeHydration:s=!1,style:u,...c}=e,{getTabElementBySelectedValue:f,orientation:p,tabActivationDirection:m,value:h}=d(),{tabsListElement:g,registerIndicatorUpdateListener:x}=C(),y=function(){let[,e]=r.useState({});return r.useCallback(()=>{e({})},[])}();r.useEffect(()=>x(y),[x,y]);let v=0,b=0,k=0,w=0,j=0,S=0,N=!1;if(null!=h&&null!=g){let e=f(h);if(null!=e){N=!0;let{width:t,height:n}=(0,z.getCssDimensions)(e),{width:r,height:l}=(0,z.getCssDimensions)(g),i=e.getBoundingClientRect(),a=g.getBoundingClientRect(),o=r>0?a.width/r:1,s=l>0?a.height/l:1,u=function(e,t){let n=U(e),r=U(t),l=n.left-r.left-t.clientLeft,i=n.top-r.top-t.clientTop,a=(0,T.getParentNode)(e);for(;(0,T.isHTMLElement)(a)&&a!==t&&!(0,T.isLastTraversableNode)(a);)l-=a.scrollLeft,i-=a.scrollTop,a=(0,T.getParentNode)(a);return{left:l,top:i}}(e,g);v=u.left,k=u.top;let c=(i.left-a.left)/o+g.scrollLeft-g.clientLeft,d=(i.top-a.top)/s+g.scrollTop-g.clientTop,f=function(e){let t=(0,I.ownerWindow)(e).getComputedStyle(e),{x:n,y:r}=(0,F.getElementTransform)(e,t),l=n,i=r,{translate:a}=t;if(a&&"none"!==a){let t=a.split(" ");l+=$(t[0],e.offsetWidth),i+=$(t[1],e.offsetHeight)}return{x:l,y:i}}(e);2>=Math.abs(c-f.x-v)&&2>=Math.abs(d-f.y-k)&&(v=c,k=d),j=t,S=n,b=g.scrollWidth-v-j,w=g.scrollHeight-k-S}}let E=N?{left:v,right:b,top:k,bottom:w}:null,A=N?{width:j,height:S}:null,P=N?{"--active-tab-left":`${v}px`,"--active-tab-right":`${b}px`,"--active-tab-top":`${k}
3px`,"--active-tab-bottom":`${w}px`,"--active-tab-width":`${j}px`,"--active-tab-height":`${S}px`}:void 0,D=N&&j>0&&S>0,L=(0,o.useRenderElement)("span",e,{state:{orientation:p,activeTabPosition:E,activeTabSize:A,tabActivationDirection:m},ref:l,props:[{role:"presentation",style:P,hidden:!D},c,{suppressHydrationWarning:!0}],stateAttributesMapping:B});return null==h?null:(0,n.jsxs)(r.Fragment,{children:[L,s&&(t||(t=(0,n.jsx)(O,{script:""})))]})});function U(e){let t=0,n=0,r=e;for(;null!=r;){t+=r.offsetLeft,n+=r.offsetTop;let e=r.offsetParent;null!=e&&(t+=e.clientLeft,n+=e.clientTop),r=e}return{left:t,top:n}}function $(e,t){if(!e)return 0;let n=parseFloat(e);return Number.isFinite(n)?e.endsWith("%")?n/100*t:n:0}var q=e.i(284976),V=e.i(564236),W=e.i(96535),Q=e.i(623010),G=e.i(865943),K=e.i(70403);K.TransitionStatusDataAttributes.startingStyle,K.TransitionStatusDataAttributes.endingStyle;let J={...f,...V.transitionStatusMapping},Y=r.forwardRef(function(e,t){let{className:n,value:l,render:a,keepMounted:s=!1,style:u,...c}=e,{value:f,getTabIdByPanelValue:p,orientation:m,tabActivationDirection:h,registerMountedTabPanel:g}=d(),x=(0,v.useBaseUiId)(),{ref:y,index:b}=(0,G.useCompositeListItem)(),k=l===f,{mounted:w,transitionStatus:j,setMounted:S}=(0,Q.useTransitionStatus)(k),C=!w,N=p(l),E=r.useRef(null),T=(0,o.useRenderElement)("div",e,{state:{hidden:C,orientation:m,tabActivationDirection:h,transitionStatus:j},ref:[t,y,E],props:[{"aria-labelledby":N,hidden:C,id:x,role:"tabpanel",tabIndex:k?0:-1,inert:(0,q.inertValue)(!k),"data-index":b},c],stateAttributesMapping:J});return((0,W.useOpenChangeComplete)({open:k,ref:E,onComplete(){k||S(!1)}}),(0,i.useIsoLayoutEffect)(()=>{if(null!=x&&(!C||s))return g(l,x)},[C,s,l,x,g]),s||w)?T:null});var Z=e.i(433579);let X=r.forwardRef(function(e,t){let{activateOnFocus:l=!1,className:o,loopFocus:s=!0,render:u,style:c,...p}=e,{orientation:m,setTabMap:h,tabActivationDirection:g}=d(),[x,y]=r.useState(0),[v,b]=r.useState(null),k=r.useRef(new Set),w=r.useRef(new Set),j=r.useRef(null);(0,i.useIsoLayoutEffect)(()=>{if("u"<typeof ResizeObserver)return;let e=new ResizeObserver(()=>{k.current.forEach(e=>{e()})});return j.current=e,v&&e.observe(v),w.current.forEach(t=>{e.observe(t)}),()=>{e.disconnect(),j.current=null}},[v]);let C=(0,a.useStableCallback)(e=>(k.current.add(e),()=>{k.current.delete(e)})),N=(0,a.useStableCallback)(e=>(w.current.add(e),j.current?.observe(e),()=>{w.current.delete(e),j.current?.unobserve(e)})),E=r.useMemo(()=>({activateOnFocus:l,registerIndicatorUpdateListener:C,registerTabResizeObserverElement:N,tabsListElement:v}),[l,C,N,v]);return(0,n.jsx)(S.Provider,{value:E,children:(0,n.jsx)(Z.CompositeRoot,{render:u,className:o,style:c,state:{orientation:m,tabActivationDirection:g},refs:[t,b],props:[{"aria-orientation":"vertical"===m?"vertical":void 0,role:"tablist"},p],stateAttributesMapping:f,highlightedIndex:x,enableHomeAndEndKeys:!0,loopFocus:s,orientation:m,onHighlightedIndexChange:y,onMapChange:h,disabledIndices:P.EMPTY_ARRAY})})});e.s(["Indicator",0,H,"List",0,X,"Panel",0,Y,"Root",0,h,"Tab",0,E],501296);var ee=e.i(501296);e.s(["Tabs",0,ee],699116);var ee=ee,et=e.i(728304),en=e.i(82717),er=e.i(568155),el=e.i(74888);e.s(["default",0,function(e){let{testid:t="facts"}=e,l=(0,r.useRef)(null),[i,a]=(0,r.useState)(!1),[o,s]=(0,r.useState)(!1),u=(0,r.useCallback)(function(){let e=l.current;e&&(a(e.scrollLeft>0),s(Math.ceil(e.scrollLeft)<Math.ceil(e.scrollWidth-e.offsetWidth)))},[]);return(0,r.useLayoutEffect)(()=>{u()},[u]),e.items?.length?(0,n.jsxs)("div",{className:"w-full py-10","data-testid":`${t}`,children:[e.isRoot&&(0,n.jsx)("h2",{className:"mb-8 px-2 text-center font-bold text-display-s md:px-3",children:e.label}),(0,n.jsxs)(ee.Root,{defaultValue:e.items[0].id,children:[(0,n.jsx)("div",{className:(0,er.twJoin)("px-2 md:px-3",(o||i)&&"relative overflow-clip",o&&"after:pointer-events-none after:absolute after:top-0 after:right-0 after:h-full after:w-24 after:bg-gradient-to-r after:from-transparent after:to-base-95",i&&"before:pointer-events-none before:absolute before:top-0 before:left-0 before:h-full before:w-24 before:bg-gradient-to-l before:from-transparent before:to-base-95"),children:(0,n.jsx)(ee.List,{activateOnFocus:!0,ref:l,"data-testid":`${t}-tabList`,className:(0,en.twMerge)("mx-auto mb-8 flex overflow-x-auto scroll-smooth pt-0.5 md:justify-center",(o||i)&&"md:justify-start"),onScroll:u,children:e.items.map(e=>e.data.items?.length?(0,n.jsx)(ee.Tab,{value:e.id,"data-testid":`${t}-tab`,className:(0,en.twMerge)("whitespace-nowrap border-b-2 border-b-base-60 px-4 py-2 font-semibold text-base-10 text-sm uppercase tracking-widest transition focus-visible:outline-none","focus:ring-2 focus:ring-primary-60 data-active:border-b-primary-30 data-active:text-primary-30"),children:e.data.label},`tab-${e.id}`):null)},`tablist-${e.id}`)}),e.items.map(e=>(e.testid=`${t}-block`,e.data.items?.length?(0,n.jsx)(ee.Panel,{value:e.id,className:"grid grid-cols-4 gap-4 md:grid-cols-8 md:gap-6 lg:grid-cols-12",children:e.data.items.map(e=>{switch(e.type){case"teaser":return(0,n.jsx)(et.default,{background:{color:"bg-white"},...e.data},e.id);case"video":return(0,n.jsx)(el.default,{...e.data},e.id);default:return null}})},`panel-${e.id}`):null))]})]}):null}],905937)},705775,e=>{"use strict";
3var t=e.i(517530),n=e.i(671924),r=e.i(688896);e.i(66518);var l=e.i(201025),i=e.i(941865),a=e.i(494762),o=e.i(311276);function s({questions:e,groupId:r}){return(0,t.jsx)(n.Accordion.Root,{multiple:!0,children:e.map(e=>(0,t.jsxs)(n.Accordion.Item,{value:`${r}-${e.id}}`,className:"group mb-2 rounded-sm border border-base-50 last:mb-8 hover:border-base-40 data-open:border-base-10 md:mb-4",children:[(0,t.jsx)(n.Accordion.Header,{children:(0,t.jsxs)(n.Accordion.Trigger,{className:"flex w-full justify-between rounded-sm p-4 text-left font-semibold tracking-wide hover:bg-base-90 data-panel-open:rounded-b-none data-panel-open:bg-base-95 data-panel-open:text-primary-30 data-panel-open:hover:text-base-10",children:[(0,t.jsx)("h3",{className:"pr-4",children:e.title}),(0,t.jsx)(l.Icon,{name:"chevron-down",className:"transition-all group-data-open:-rotate-180"})]})}),(0,t.jsx)(n.Accordion.Panel,{className:"p-4",children:"string"==typeof e.content?(0,t.jsx)(o.default,{content:e.content}):e.content})]},`${r}-${e.id}`))})}e.s(["default",0,function(e){let[n,o]=(0,r.useQueryState)("faq"),u=n?e.sections.filter(e=>e.groupID===n):e.sections;return e.groups.length?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"mx-auto mb-8 flex max-w-screen-sm flex-wrap justify-center gap-2 md:mb-14",children:e.groups.map(e=>n===e.id?(0,t.jsxs)(i.PrimaryButton,{className:"!bg-primary-40 rounded-full",onClick:()=>o(null),children:[e.title," ",(0,t.jsx)(l.Icon,{name:"x-mark",className:"-mr-2 ml-2",size:"small"})]},e.id):(0,t.jsx)(a.SecondaryButton,{className:"rounded-full",onClick:()=>o(e.id),children:e.title},e.id))}),e.groups.map(e=>{var n;let r=(n=e.id,u.filter(e=>e.groupID===n));if(r.length)return(0,t.jsxs)("div",{className:"mx-auto max-w-screen-sm",children:[(0,t.jsx)("h2",{className:"mb-4 font-medium text-primary-30 text-subheading-s lg:text-subheading-m",children:e.title}),(0,t.jsx)(s,{questions:r,groupId:e.id})]},e.id)})]}):(0,t.jsx)("div",{className:"mx-auto max-w-screen-sm",children:(0,t.jsx)(s,{questions:e.sections,groupId:"faq"})})}])},44701,e=>{"use strict";var t=e.i(517530),n=e.i(286896),r=e.i(806712);e.i(66518);var l=e.i(201025),i=e.i(779985);e.i(82717);var a=e.i(568155);e.s(["default",0,function(e){let o=(0,r.useTranslations)("sf"),{type:s,message:u,testid:c="globalmessage"}
3=e,[d,f]=(0,n.useState)(!1),[p,m]=(0,n.useState)(!1),h=(0,n.useRef)(null);return(0,n.useEffect)(()=>{h.current&&f(h.current.clientWidth<h.current.scrollWidth)},[]),u&&(0,t.jsx)("div",{"data-testid":c,className:(0,a.twJoin)("information"===s?"bg-info-90 text-info-30 [&_a]:text-info-30":"bg-caution-90 text-caution-30 [&_a]:text-caution-30","w-full [&_a]:font-semibold [&_a]:underline [&_strong]:font-semibold"),children:(0,t.jsxs)("div",{className:"mx-auto flex max-w-screen-xl items-start px-4 py-2 text-sm tracking-wide md:px-6",children:["information"===s?(0,t.jsx)(l.Icon,{testid:`${c}-icon-info`,name:"information-circle",size:"small",className:"mr-2 text-info-30"}):(0,t.jsx)(l.Icon,{testid:`${c}-icon-warning`,name:"exclamation-triangle",size:"small",className:"mr-2 text-caution-30"}),(0,t.jsx)("span",{ref:h,className:p?"":"sm:truncate","data-testid":`${c}-message`,dangerouslySetInnerHTML:{__html:(0,i.sanitizeHtml)(u)}}),d&&(0,t.jsx)("button",{className:"ml-4 shrink-0 underline",onClick:()=>m(!p),type:"button",children:o(p?"readLess":"readMore")})]})})}])},357237,e=>{"use strict";var t=e.i(517530),n=e.i(286896),r=e.i(806712),l=e.i(618593),i=e.i(665822),a=e.i(210302);e.i(66518);var o=e.i(621879),s=e.i(201025),u=e.i(148568),c=e.i(941865),d=e.i(295911),f=e.i(331945),p=e.i(262616),m=e.i(227052),h=e.i(250426),g=e.i(232894),x=e.i(465769);e.s(["default",0,function(e){let y=(0,r.useTranslations)("sf.imageMap"),[v,b]=(0,n.useState)(!1),k=(0,l.useSession)(),{data:w}=(0,p.useCart)(),{data:j=[]}=(0,a.useQuery)({queryKey:["imageMap-products",e.skus.join(":")],queryFn:()=>{let t;return t=new URLSearchParams({sku:e.skus.join(":")}),(0,h.fetcher)(`/api/products?${t}`)},enabled:v&&e.skus.length>0,refetchOnWindowFocus:!1}),S=(0,i.useQueries)({queries:j.map(e=>(0,m.productDetailOptions)({sku:e.sku,deliveryDate:w?.mainDeliveryDate,enabled:!!k.data&&v&&j.length>0}))}),C=S.length>0&&S.every(e=>!e.isLoading),N="image-map",E=e.title||y("drawerTitleDefault"),T=(0,x.getProductGroups)(j,5).productGroups.map(e=>e.map(e=>({product:e,trackingData:{item_list_id:N,item_list_name:E}})));return(0,t.jsx)(o.Drawer,{isOpen:v,onOpenChange:b,title:e.title?e.title:y("drawerTitleDefault"),trigger:(0,t.jsxs)(u.OnImageButton,{className:"absolute bottom-4 left-4 w-auto px-3 lg:bottom-5 lg:left-5 lg:px-4",size:"small",children:[(0,t.jsx)(s.Icon,{name:"shopping-bag",size:"small"}),(0,t.jsx)("span",{className:"hidden pl-2 md:inline",children:y("showArticles")})]}),children:(0,t.jsxs)("div",{className:"flex h-full flex-col",children:[(0,t.jsx)("div",{className:"grow overflow-y-auto px-4 pt-0 md:px-6",children:j.map((e,n)=>{let r=S.find(t=>t.data?.sku===e.sku)?.data;return(0,t.jsxs)("div",{className:"relative border-b border-b-base-80 last:mb-4",children:[n%5==0&&(0,t.jsx)(f.default,{items:T[n/5],item_list_id:N,item_list_name:E}),(0,t.jsx)(d.ProductInfoRow,{product:e,details:r,detailsLoading:!!k.data&&!C,onClick:()=>{(0,g.dlSelectItemView)({details:r,product:e}),(0,g.dlViewItem)({details:r,product:e}),b(!1)}})]},"image-map-product-"+e.sku)})}),e.link&&e.linkText&&(0,t.jsx)("div",{className:"border-base-80 border-t bg-base-99 p-4 md:p-6",children:(0,t.jsx)(c.PrimaryLinkButton,{className:"sm:w-full",href:e.link,children:e.linkText})})]})})}])},502961,352679,482482,67692,293988,e=>{"use strict";e.s(["default",()=>p],67692),e.s(["default",()=>r],502961),e.s(["default",()=>f],482482);var t=e.i(517530),n=e.i(4020);function r(e){return e.blocks.map((e,r)=>{if(!Array.isArray(e))return null;let l=e.find(e=>!!e.type.length),i=e.find(e=>!!e.id.length);return(0,t.jsx)(n.default,{content:e,innerClassName:l?.type==="teaserContainer"?"pt-4":void 0},i?.id??r)})}var l=e.i(64730);let i=(0,l.createServerReference)("404899d167c5189b2740468391a4b8385da9b83d7a",l.callServer,void 0,l.findSourceMapURL,"default");e.s(["default",0,i],352679);var a=e.i(475468),o=e.i(286896),s=e.i(335889),u=e.i(785843);e.i(82717);var c=e.i(568155),d=e.i(311276);function f(e){var n;let r=e.testid||"teasercontainer",l=e.background&&"background-transparent"!==e.background.color&&"background-white"!==e.background.color;
3return(0,t.jsxs)("div",{className:(0,c.twJoin)("w-full",l&&"py-10 md:py-20"),"data-testid":r,children:[e.heading&&e.heading.length>0&&(0,t.jsx)("h1",{className:"mb-4 max-w-screen-xl px-2 text-center font-brand font-medium text-2xl md:mb-8 md:px-3 md:text-display-s","data-testid":r+"-heading",children:e.heading}),e.microCards&&(0,t.jsx)("div",{className:"mx-auto mb-4 h-0.5 w-20 grow bg-base-40 md:mb-8"}),e.preamble&&(0,t.jsx)(d.default,{className:"prose-lg md:prose-xl mx-auto mb-4 flex w-full max-w-3xl items-center justify-center px-2 md:mb-8 md:px-3",content:e.preamble,testid:r+"-preamble"}),(0,t.jsx)("div",{className:(0,c.twJoin)(e.microCards?"mx-auto flex w-full grow flex-wrap justify-center gap-y-4 md:gap-y-6":e.singleColumn?"grid gap-4 md:gap-6":"grid grid-cols-4 gap-4 md:grid-cols-8 md:gap-6 lg:grid-cols-12"),children:(n=e).blocks?n.blocks.map((e,t)=>{if(!(e.type in u.blockMap))return null;let r=u.blockMap[e.type];return(0,o.createElement)(r,{...e.data,key:e.id,trackingData:{context:n.heading||"",position:t}})}):null}),e.link?.href&&e.link?.text&&(0,t.jsx)("div",{className:"mt-10 w-full px-2 py-2 text-center md:px-3","data-testid":r+"-link",children:(0,t.jsx)(s.default,{className:"font-medium text-primary-30 underline hover:text-primary-20 md:text-lg",href:e.link.href,...e.link.newWindow&&{target:"_blank"},children:e.link.text})})]})}function p(e){var n,r;let l=e.testid||"newslist",{items:i=[]}=e,o=e.background?.color&&"news-background-gray"===e.background.color?"background-gray":"background-white",s=e.readmoreHref&&e.readmoreText?{href:e.readmoreHref,text:e.readmoreText,newWindow:!1,type:"Manual"}:void 0,u=(n=e,r=i,"1/4"===n.teaserSize?r.map(e=>({id:e.id,type:"teaser",trackingData:{},data:{heading:e.data.title,horizontal:!1,image:e.data.image,imagePosition:e.data.imagePosition,link:{href:e.data.href,text:"Läs mer",type:"Manual"},preamble:e.data.preamble,showPreamble:!0,size:"1/4",tag:(0,a.getFormattedDate)({date:new Date(e.data.publishDate),dateFormat:"EEE d/M"}),testid:"newslist-teaser",trackingData:{},teaserType:"default"}})):r.map(e=>({id:e.id,type:"newsListTeaser",trackingData:{},data:{...e.data,testid:"newslist-teaser",trackingData:{}}})));return(0,t.jsx)("div",{"data-testid":l,children:(0,t.jsx)(f,{testid:l+"-container",isRoot:!1,heading:e.heading,link:s,background:{color:o},blocks:u})})}var m=e.i(509942);e.s(["default",0,function({author:e,imagePosition:n="image-right",imageSource:r,text:l="",type:i}){let a=r?.length;return(0,t.jsx)("article",{"data-type":i,"data-testid":i,className:"mx-auto w-full max-w-screen-lg md:px-6",children:(0,t.jsxs)("div",{className:(0,c.twJoin)("wrap-break-word mx-auto flex w-full max-w-screen-lg flex-col items-stretch md:flex-row","image-right"===n&&"md:flex-row-reverse"),children:[a&&(0,t.jsx)("div",{className:"w-full overflow-hidden md:w-1/2",children:(0,t.jsx)("div",{className:"relative h-[224px] w-full pb-0 md:h-full md:pb-[61%]",children:(0,t.jsx)(m.default,{fill:!0,sizes:"(max-width: 767px) 100vw, 50vw",src:r,alt:l,className:"object-cover","data-testid":"quote"===i?"quote-image":"headline-image"})})}),(0,t.jsxs)("div",{className:(0,c.twJoin)("flex w-full flex-col p-6",a?"self-center md:w-1/2":"items-center md:text-center",a&&"image-right"===n&&"md:pr-8",a&&"image-left"===n&&"md:pl-8"),children:[(0,t.jsx)("blockquote",{"data-testid":"quote"===i?"quote-text":"headline-text",className:"max-w-prose font-medium",children:(0,t.jsx)(d.default,{content:"quote"===i?`“${l}”`:l,className:"text-display-xs text-primary-30 md:text-display-s"})}),"quote"===i&&e&&(0,t.jsx)("p",{"data-testid":"quote-author",className:"w-full pt-4 text-body-m md:pt-6",children:e})]})]})})}],293988)},486742,e=>{"use strict";var t=e.i(517530),n=e.i(286896),r=e.i(789948),l=e.i(697237);function i(){return(i=Object.assign.bind()).apply(null,arguments)}function a(e,t){if(null==e)return{};var n={};for(var r in e)if(({}).hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}function o(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}let s="NOT_LOADED",u="LOADED",c="AUTH_FAILURE";class d{static async load(e,t){var n;let r=e.libraries?e.libraries.split(","):[],l=this.serializeParams(e);this.listeners.push(t),null!=(n=window.google)&&null!=(n=n.maps)&&n.importLibrary?(this.serializedApiParams||(this.loadingStatus=u),this.notifyLoadingStatusListeners()):(this.serializedApiParams=l,this.initImportLibrary(e)),this.serializedApiParams&&this.serializedApiParams!==l&&console.warn("[google-maps-api-loader] The maps API has already been loaded with different parameters and will not be loaded again. Refresh the page for new values to have effect.");let i=["maps",...r];await Promise.all(i.map(e=>google.maps.importLibrary(e)))}static serializeParams(e){return[e.v,e.key,e.language,e.region,e.authReferrerPolicy,e.solutionChannel].join("/")}static initImportLibrary(e){if(window.google||(window.google={}),window.google.maps||(window.google.maps={}),window.google.maps.importLibrary)return void console.error("[google-maps-api-loader-internal]: initImportLibrary must only be called once");let t=null,n=()=>t||(t=new Promise((t,n)=>{var r;let l=document.createElement("script"),i=new URLSearchParams;for(let[t,n]of Object.entries(e)){let e=t.replace(/[A-Z]/g,e=>"_"+e[0].toLowerCase());i.set(e,String(n))}i.set("loading","async"),i.set("callback","__googleMapsCallback__"),l.async=!0,l.src="https://maps.googleapis.com/ma
3ps/api/js?"+i.toString(),l.nonce=(null==(r=document.querySelector("script[nonce]"))?void 0:r.nonce)||"",l.onerror=()=>{this.loadingStatus="FAILED",this.notifyLoadingStatusListeners(),n(Error("The Google Maps JavaScript API could not load."))},window.__googleMapsCallback__=()=>{this.loadingStatus=u,this.notifyLoadingStatusListeners(),t()},window.gm_authFailure=()=>{this.loadingStatus=c,this.notifyLoadingStatusListeners()},this.loadingStatus="LOADING",this.notifyLoadingStatusListeners(),document.head.append(l)}));google.maps.importLibrary=e=>n().then(()=>google.maps.importLibrary(e))}static notifyLoadingStatusListeners(){for(let e of this.listeners)e(this.loadingStatus)}}d.loadingStatus=s,d.serializedApiParams=void 0,d.listeners=[];let f=["onLoad","onError","apiKey","version","libraries"],p=["children"],m=n.default.createContext(null),h=e=>{let{children:t}=e,r=a(e,p),{mapInstances:l,addMapInstance:s,removeMapInstance:u,clearMapInstances:c}=function(){let[e,t]=(0,n.useState)({});return{mapInstances:e,addMapInstance:(e,n="default")=>{t(t=>i({},t,{[n]:e}))},removeMapInstance:(e="default")=>{t(t=>a(t,[e].map(o)))},clearMapInstances:()=>{t({})}}}(),{status:h,loadedLibraries:g,importLibrary:x}=function(e){let{onLoad:t,onError:r,apiKey:l,version:o,libraries:s=[]}=e,u=a(e,f),[c,p]=(0,n.useState)(d.loadingStatus),[m,h]=(0,n.useReducer)((e,t)=>e[t.name]?e:i({},e,{[t.name]:t.value}),{}),g=(0,n.useMemo)(()=>null==s?void 0:s.join(","),[s]),x=(0,n.useMemo)(()=>JSON.stringify(i({apiKey:l,version:o},u)),[l,o,u]),y=(0,n.useCallback)(async e=>{var t;if(m[e])return m[e];if(!(null!=(t=google)&&null!=(t=t.maps)&&t.importLibrary))throw Error("[api-provider-internal] importLibrary was called before google.maps.importLibrary was defined.");let n=await window.google.maps.importLibrary(e);return h({name:e,value:n}),n},[m]);return(0,n.useEffect)(()=>{(async()=>{try{let e=i({key:l},u);for(let t of(o&&(e.v=o),(null==g?void 0:g.length)>0&&(e.libraries=g),(void 0===e.channel||e.channel<0||e.channel>999)&&delete e.channel,void 0===e.solutionChannel?e.solutionChannel="GMP_visgl_rgmlibrary_v1_default":""===e.solutionChannel&&delete e.solutionChannel,await d.load(e,e=>p(e)),["core","maps",...s]))await y(t);t&&t()}catch(e){r?r(e):console.error("<ApiProvider> failed to load the Google Maps JavaScript API",e)}})()},[l,g,x]),{status:c,loadedLibraries:m,importLibrary:y}}(r),y=(0,n.useMemo)(()=>({mapInstances:l,addMapInstance:s,removeMapInstance:u,clearMapInstances:c,status:h,loadedLibraries:g,importLibrary:x}),[l,s,u,c,h,g,x]);return n.default.createElement(m.Provider,{value:y},t)},g={onBoundsChanged:"bounds_changed",onCenterChanged:"center_changed",onClick:"click",onContextmenu:"contextmenu",onDblclick:"dblclick",onDrag:"drag",onDragend:"dragend",onDragstart:"dragstart",onHeadingChanged:"heading_changed",onIdle:"idle",onIsFractionalZoomEnabledChanged:"isfractionalzoomenabled_changed",onMapCapabilitiesChanged:"mapcapabilities_changed",onMapTypeIdChanged:"maptypeid_changed",onMousemove:"mousemove",onMouseout:"mouseout",onMouseover:"mouseover",onProjectionChanged:"projection_changed",onRenderingTypeChanged:"renderingtype_changed",onTilesLoaded:"tilesloaded",onTiltChanged:"tilt_changed",onZoomChanged:"zoom_changed",onCameraChanged:"bounds_changed"},x=["bounds_changed","center_changed","heading_changed","tilt_changed","zoom_changed"],y=["click","contextmenu","dblclick","mousemove","mouseout","mouseover"],v=Object.keys(g);function b(e,t){let r=(0,n.useRef)(e);return t(e,r.current)||(r.current=e),r.current}let k=new Set(["backgroundColor","clickableIcons","controlSize","disableDefaultUI","disableDoubleClickZoom","draggable","draggableCursor","draggingCursor","fullscreenControl","fullscreenControlOptions","gestureHandling","headingInteractionEnabled","isFractionalZoomEnabled","keyboardShortcuts","mapTypeControl","mapTypeControlOptions","mapTypeId","maxZoom","minZoom","noClear","panControl","panControlOptions","restriction","rotateControl","rotateControlOptions","scaleControl","scaleControlOptions","scrollwheel","streetView","streetViewControl","streetViewControlOptions","styles","tiltInteractionEnabled","zoomControl","zoomControlOptions"]);function w(){var e;return(null==(e=(0,n.useContext)(m))?void 0:e.status)||s}function j(e){return e&&"object"==typeof e&&"lat"in e&&"lng"in e&&Number.isFinite(e.lat)&&Number.isFinite(e.lng)?e:e.toJSON()}let S=()=>n.default.createElement("div",{style:{position:"absolute",top:0,left:0,bottom:0,right:0,zIndex:999,display:"flex",flexFlow:"column nowrap",textAlign:"center",justifyContent:"center",fontSize:".8rem",color:"rgba(0,0,0,0.6)",background:"#dddddd",padding:"1rem 1.5rem"}},n.default.createElement("h2",null,"Error: AuthFailure"),n.default.createElement("p",null,"A problem with your API key prevents the map from rendering correctly. Please make sure the value of the ",n.default.createElement("code",null,"APIProvider.apiKey")," prop is correct. Check the error-message in the console for further details.")),C=["id","defaultBounds","defaultCenter","defaultZoom","defaultHeading","defaultTilt","reuseMaps","renderingType","colorScheme"],N=["padding"];class E{static has(e){return this.entries[e]&&this.entries[e].length>0}static pop(e){return this.entries[e]&&this.entries[e].pop()||null}static push(e,t){this.entries[e]||(this.entries[e]=[]),this.entries[e].push(t)}}E.entries={};let T=n.default.createContext(null),I=e=>{let t,r,o,s,d,f,{children:p,id:h,className:I,style:A}=e,P=(0,n.useContext)(m),D=w();if(!P)throw Error("<Map> can only be used inside an <ApiProvider> component.");
3let[L,R,M]=function(e,t){let r,l,o=w()===u,[s,c]=(0,n.useState)(null),[d,f]=function(){let[e,t]=(0,n.useState)(null);return[e,(0,n.useCallback)(e=>t(e),[t])]}(),p=(r=function(){let[,e]=(0,n.useReducer)(e=>e+1,0);return e}(),l=(0,n.useRef)({center:{lat:0,lng:0},heading:0,tilt:0,zoom:0}),(0,n.useEffect)(()=>{if(!s)return;let e=google.maps.event.addListener(s,"bounds_changed",()=>{let e,t,n,i,a;e=s.getCenter(),t=s.getZoom(),n=s.getHeading()||0,i=s.getTilt()||0,a=s.getBounds(),e&&a&&Number.isFinite(t)||console.warn("[useTrackedCameraState] at least one of the values from the map returned undefined. This is not expected to happen. Please report an issue at https://github.com/visgl/react-google-maps/issues/new"),Object.assign(l.current,{center:(null==e?void 0:e.toJSON())||{lat:0,lng:0},zoom:t||0,heading:n,tilt:i}),r()});return()=>e.remove()},[s,r]),l),{id:m,defaultBounds:h,defaultCenter:g,defaultZoom:x,defaultHeading:y,defaultTilt:v,reuseMaps:b,renderingType:k,colorScheme:j}=e,S=a(e,C),T=void 0!==e.zoom||void 0!==e.defaultZoom,I=void 0!==e.center||void 0!==e.defaultCenter;for(let e of(h||T&&I||console.warn("<Map> component is missing configuration. You have to provide zoom and center (via the `zoom`/`defaultZoom` and `center`/`defaultCenter` props) or specify the region to show using `defaultBounds`. See https://visgl.github.io/react-google-maps/docs/api-reference/components/map#required"),!S.center&&g&&(S.center=g),!S.zoom&&Number.isFinite(x)&&(S.zoom=x),!S.heading&&Number.isFinite(y)&&(S.heading=y),!S.tilt&&Number.isFinite(v)&&(S.tilt=v),Object.keys(S)))void 0===S[e]&&delete S[e];let A=(0,n.useRef)(void 0);return(0,n.useEffect)(()=>{let n,r;if(!d||!o)return;let{addMapInstance:l,removeMapInstance:s}=t,{mapId:u}=e,f=`${u||"default"}:${k||"default"}:${j||"LIGHT"}`;if(b&&E.has(f)?(n=(r=E.pop(f)).getDiv(),d.appendChild(n),r.setOptions(S),setTimeout(()=>r.setCenter(r.getCenter()),0)):((n=document.createElement("div")).style.height="100%",d.appendChild(n),r=new google.maps.Map(n,i({},S,k?{renderingType:k}:{},j?{colorScheme:j}:{}))),c(r),l(r,m),h){let{padding:e}=h,t=a(h,N);r.fitBounds(t,e)}else T&&I||r.fitBounds({east:180,west:-180,south:-90,north:90});if(A.current){let{mapId:e,cameraState:t}=A.current;e!==u&&r.setOptions(t)}return()=>{A.current={mapId:u,cameraState:p.current},n.remove(),b?E.push(f,r):google.maps.event.clearInstanceListeners(r),c(null),s(m)}},[d,o,m,e.mapId,e.renderingType,e.colorScheme]),[s,f,p]}(e,P);for(let l of(t=e.center?j(e.center):null,r=null,o=null,t&&Number.isFinite(t.lat)&&Number.isFinite(t.lng)&&(r=t.lat,o=t.lng),s=Number.isFinite(e.zoom)?e.zoom:null,d=Number.isFinite(e.heading)?e.heading:null,f=Number.isFinite(e.tilt)?e.tilt:null,(0,n.useLayoutEffect)(()=>{if(!L)return;let e={},t=!1;null!==r&&null!==o&&(M.current.center.lat!==r||M.current.center.lng!==o)&&(e.center={lat:r,lng:o},t=!0),null!==s&&M.current.zoom!==s&&(e.zoom=s,t=!0),null!==d&&M.current.heading!==d&&(e.heading=d,t=!0),null!==f&&M.current.tilt!==f&&(e.tilt=f,t=!0),t&&L.moveCamera(e)}),v)){let t=e[l],r=g[l];(0,n.useEffect)(()=>{if(!L||!t)return;let e=google.maps.event.addListener(L,r,e=>{t(function(e,t,n){let r={type:e,map:t,detail:{},stoppable:!1,stop:()=>{}};if(x.includes(e)){let e=t.getCenter(),n=t.getZoom(),l=t.getHeading()||0,i=t.getTilt()||0,a=t.getBounds();return e&&a&&Number.isFinite(n)||console.warn("[createEvent] at least one of the values from the map returned undefined. This is not expected to happen. Please report an issue at https://github.com/visgl/react-google-maps/issues/new"),r.detail={center:(null==e?void 0:e.toJSON())||{lat:0,lng:0},zoom:n||0,heading:l,tilt:i,bounds:(null==a?void 0:a.toJSON())||{north:90,east:180,south:-90,west:-180}},r}if(y.includes(e)){var l;if(!n)throw Error("[createEvent] mouse events must provide a srcEvent");return r.domEvent=n.domEvent,r.stoppable=!0,r.stop=()=>n.stop(),r.detail={latLng:(null==(l=n.latLng)?void 0:l.toJSON())||null,placeId:n.placeId},r}return r}(r,L,e))});return()=>e.remove()},[L,r,t])}!function(e,t){var r,i,a;let o={};for(let e of Object.keys(t))k.has(e)&&(o[e]=t[e]);r=()=>{e&&e.setOptions(o)},i=[o],a=l.default,(0,n.useEffect)(r,[b(i,a)])}(L,e);let _=function(e,t){let{viewport:r,viewState:l}=t;return(0,n.useLayoutEffect)(()=>
3{if(!e||!l)return;let{latitude:t,longitude:n,bearing:r,pitch:i,zoom:a}=l;e.moveCamera({center:{lat:t,lng:n},heading:r,tilt:i,zoom:a+1})},[e,l]),!!r}(L,e),O=!!e.controlled;(0,n.useEffect)(()=>{if(L)return _&&L.setOptions({disableDefaultUI:!0}),(_||O)&&L.setOptions({gestureHandling:"none",keyboardShortcuts:!1}),()=>{L.setOptions({gestureHandling:e.gestureHandling,keyboardShortcuts:e.keyboardShortcuts})}},[L,_,O,e.gestureHandling,e.keyboardShortcuts]);let z=e.center?j(e.center):null,F=null,B=null;z&&Number.isFinite(z.lat)&&Number.isFinite(z.lng)&&(F=z.lat,B=z.lng);let H=(0,n.useMemo)(()=>{var t,n,r,l,i;return{center:{lat:null!=(t=F)?t:0,lng:null!=(n=B)?n:0},zoom:null!=(r=e.zoom)?r:0,heading:null!=(l=e.heading)?l:0,tilt:null!=(i=e.tilt)?i:0}},[F,B,e.zoom,e.heading,e.tilt]);(0,n.useLayoutEffect)(()=>{if(!L||!O)return;L.moveCamera(H);let e=L.addListener("bounds_changed",()=>{L.moveCamera(H)});return()=>e.remove()},[L,O,H]);let U=(0,n.useMemo)(()=>i({width:"100%",height:"100%",position:"relative",zIndex:_?-1:0},A),[A,_]),$=(0,n.useMemo)(()=>({map:L}),[L]);return D===c?n.default.createElement("div",{style:i({position:"relative"},I?{}:U),className:I},n.default.createElement(S,null)):n.default.createElement("div",i({ref:R,"data-testid":"map",style:I?void 0:U,className:I},h?{id:h}:{}),L?n.default.createElement(T.Provider,{value:$},p):null)};I.deckGLViewProps=!0;let A=new Set;function P(...e){let t=JSON.stringify(e);A.has(t)||(A.add(t),console.error(...e))}let D=(e=null)=>{let t=(0,n.useContext)(m),{map:r}=(0,n.useContext)(T)||{};if(null===t)return P("useMap(): failed to retrieve APIProviderContext. Make sure that the <APIProvider> component exists and that the component you are calling `useMap()` from is a sibling of the <APIProvider>."),null;let{mapInstances:l}=t;return null!==e?l[e]||null:r||l.default||null};function L(e){let t=w()===u,r=(0,n.useContext)(m);return(0,n.useEffect)(()=>{t&&r&&r.importLibrary(e)},[t,r,e]),(null==r?void 0:r.loadedLibraries[e])||null}function R(e,t,r){(0,n.useEffect)(()=>{if(!e||!t||!r)return;let n=google.maps.event.addListener(e,t,r);return()=>n.remove()},[e,t,r])}function M(e,t,r){(0,n.useEffect)(()=>{e&&(e[t]=r)},[e,t,r])}function _(e,t,r){(0,n.useEffect)(()=>{if(e&&t&&r)return e.addEventListener(t,r),()=>e.removeEventListener(t,r)},[e,t,r])}function O(e){return e.nodeType===Node.ELEMENT_NODE}let z=n.default.createContext(null),F=["50%","100%"],B=({children:e,styles:t,className:r,anchorPoint:l})=>{let[i,a]=null!=l?l:F,o=`-${i}`,s=`-${a}`;i.trimStart().startsWith("-")&&(o=i.substring(1)),a.trimStart().startsWith("-")&&(s=a.substring(1));let u=`translate(50%, 100%) translate(${o}, ${s})`;return n.default.createElement("div",{style:{transform:u}},n.default.createElement("div",{className:r,style:t},e))},H=(0,n.forwardRef)((e,t)=>{let{children:l,style:i,className:a,anchorPoint:o}=e,[s,u]=function(e){let[t,r]=(0,n.useState)(null),[l,i]=(0,n.useState)(null),a=D(),o=L("marker"),{children:s,onClick:u,className:c,onMouseEnter:d,onMouseLeave:f,onDrag:p,onDragStart:m,onDragEnd:h,collisionBehavior:g,clickable:x,draggable:y,position:v,title:b,zIndex:k}=e,w=n.Children.count(s);return(0,n.useEffect)(()=>{if(!a||!o)return;let e=new o.AdvancedMarkerElement;e.map=a,r(e);let t=null;return w>0&&((t=document.createElement("div")).isCustomMarker=!0,e.content=t,i(t)),()=>{var n;e.map=null,null==(n=t)||n.remove(),r(null),i(null)}},[a,o,w]),(0,n.useEffect)(()=>{null!=t&&t.content&&O(t.content)&&!(w>0)&&(t.content.className=null!=c?c:"")},[t,c,w]),M(t,"position",v),M(t,"title",null!=b?b:""),M(t,"zIndex",k),M(t,"collisionBehavior",g),(0,n.useEffect)(()=>{t&&(void 0!==y?t.gmpDraggable=y:p||m||h?t.gmpDraggable=!0:t.gmpDraggable=!1)},[t,y,p,h,m]),(0,n.useEffect)(()=>{if(!t)return;let e=void 0!==x||!!u||!!d||!!f;t.gmpClickable=e,e&&null!=t&&t.content&&O(t.content)&&(t.content.style.pointerEvents="none",t.content.firstElementChild&&(t.content.firstElementChild.style.pointerEvents="all"))},[t,x,u,d,f]),R(t,"click",u),R(t,"drag",p),R(t,"dragstart",m),R(t,"dragend",h),_(null==t?void 0:t.element,"mouseenter",d),_(null==t?void 0:t.element,"mouseleave",f),[t,l]}(e),c=(0,n.useMemo)(()=>s?{marker:s}:null,[s]);return((0,n.useImperativeHandle)(t,()=>s,[s]),u)?n.default.createElement(z.Provider,{value:c},(0,r.createPortal)(n.default.createElement(B,{anchorPoint:o,styles:i,className:a},l),u)):null});function U(e,t,n){var r;let l=0===t.indexOf("--");null==n||"boolean"==typeof n||""===n?l?e.setProperty(t,""):"float"===t?e.cssFloat="":e[t]="":l?e.setProperty(t,n):"number"!=typeof n||0===n||(r=t,$.has(r))?"float"===t?e.cssFloat=n:e[t]=(""+n).trim():e[t]=n+"px"}let $=new Set(["animationIterationCount","aspectRatio","borderImageOutset","borderImageSlice","borderImageWidth","boxFlex","boxFlexGroup","boxOrdinalGroup","columnCount","columns","flex","flexGrow","flexPositive","flexShrink","flexNegative","flexOrder","gridArea","gridRow","gridRowEnd","gridRowSpan","gridRowStart","gridColumn","gridColumnEnd","gridColumnSpan","gridColumnStart","fontWeight","lineClamp","lineHeight","o
3pacity","order","orphans","scale","tabSize","widows","zIndex","zoom","fillOpacity","floodOpacity","stopOpacity","strokeDasharray","strokeDashoffset","strokeMiterlimit","strokeOpacity","strokeWidth"]),q=["children","headerContent","style","className","pixelOffset","anchor","shouldFocus","onClose","onCloseClick"],V=e=>{let{children:t,headerContent:i,style:o,className:s,pixelOffset:u,anchor:c,shouldFocus:d,onClose:f,onCloseClick:p}=e,m=a(e,q),h=L("maps"),[g,x]=(0,n.useState)(null),y=(0,n.useRef)(null),v=(0,n.useRef)(null),k=b(m,l.default);(0,n.useEffect)(()=>{if(!h)return;y.current=document.createElement("div"),v.current=document.createElement("div"),u&&(k.pixelOffset=new google.maps.Size(u[0],u[1])),i&&(k.headerContent="string"==typeof i?i:v.current);let e=new google.maps.InfoWindow(k);return e.setContent(y.current),x(e),()=>{var t,n;e.setContent(null),null==(t=y.current)||t.remove(),null==(n=v.current)||n.remove(),y.current=null,v.current=null,x(null)}},[h]);let w=(0,n.useRef)(null);(0,n.useEffect)(()=>{g&&y.current&&(!function(e,t,n){if(null!=t&&"object"!=typeof t)throw Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");let r=e.style;if(null==n){if(null==t)return;for(let e in t)t.hasOwnProperty(e)&&U(r,e,t[e]);return}for(let e in n)n.hasOwnProperty(e)&&(null==t||!t.hasOwnProperty(e))&&(0===e.indexOf("--")?r.setProperty(e,""):"float"===e?r.cssFloat="":r[e]="");if(null!=t)for(let e in t){let l=t[e];t.hasOwnProperty(e)&&n[e]!==l&&U(r,e,l)}}(y.current,o||null,w.current),w.current=o||null,s!==y.current.className&&(y.current.className=s||""))},[g,s,o]),(0,n.useEffect)(()=>{g&&(u?k.pixelOffset=new google.maps.Size(u[0],u[1]):k.pixelOffset=null,i?k.headerContent="string"==typeof i?i:v.current:k.headerContent=null,g.setOptions(k))},[k,u,i]),R(g,"close",f),R(g,"closeclick",p);let j=D();return(0,n.useEffect)(()=>{if(!j||!g||null===c)return;let e=!!c,t={map:j};if(c&&(t.anchor=c,void 0!==c.content&&c.content instanceof Element)){let e=c.content,t=null==e?void 0:e.getBoundingClientRect();if(t&&null!=e&&e.isCustomMarker){var n;let e=null==(n=c.content.firstElementChild)?void 0:n.firstElementChild,r=null==e?void 0:e.getBoundingClientRect(),l=r.x-t.x+(r.width-t.width)/2,i=r.y-t.y;k.pixelOffset=new google.maps.Size(u?u[0]+l:l,u?u[1]+i:i),g.setOptions(k)}}return void 0!==d&&(t.shouldFocus=d),g.open(t),()=>{e&&g.set("anchor",null),g.close()}},[g,c,j,d,k,u]),n.default.createElement(n.default.Fragment,null,y.current&&(0,r.createPortal)(t,y.current),null!==v.current&&(0,r.createPortal)(i,v.current))},W=["onClick","onDrag","onDragStart","onDragEnd","onMouseOver","onMouseOut"];(0,n.forwardRef)((e,t)=>{let r=function(e){let[t,r]=(0,n.useState)(null),l=D(),{onClick:i,onDrag:o,onDragStart:s,onDragEnd:u,onMouseOver:c,onMouseOut:d}=e,f=a(e,W),{position:p,draggable:m}=f;return(0,n.useEffect)(()=>{if(!l){void 0===l&&console.error("<Marker> has to be inside a Map component.");return}let e=new google.maps.Marker(f);return e.setMap(l),r(e),()=>{e.setMap(null),r(null)}},[l]),(0,n.useEffect)(()=>{if(!t)return;let e=google.maps.event;return i&&e.addListener(t,"click",i),o&&e.addListener(t,"drag",o),s&&e.addListener(t,"dragstart",s),u&&e.addListener(t,"dragend",u),c&&e.addListener(t,"mouseover",c),d&&e.addListener(t,"mouseout",d),t.setDraggable(!!m),()=>{e.clearInstanceListeners(t)}},[t,m,i,o,s,u,c,d]),(0,n.useEffect)(()=>{t&&t.setOptions(f)},[t,f]),(0,n.useEffect)(()=>{!m&&p&&t&&t.setPosition(p)},[m,p,t]),t}(e);return(0,n.useImperativeHandle)(t,()=>r,[r]),n.default.createElement(n.default.Fragment,null)});let Q=e=>{var t;let l=null==(t=(0,n.useContext)(z))?void 0:t.marker,a=(0,n.useMemo)(()=>document.createElement("div"),[]);return(0,n.useEffect)(()=>{var t;if(!l){void 0===l&&console.error("The <Pin> component can only be used inside <AdvancedMarker>.");return}e.glyph&&e.children&&P("The <Pin> component only uses children to render the glyph if both the glyph property and children are present."),n.Children.count(e.children)>1&&P("Passing multiple children to the <Pin> component might lead to unexpected results.");let r=i({},e),o=new google.maps.marker.PinElement(r);e.children&&(o.glyph=a);let s=null==(t=l.content)||null==(t=t.firstChild)?void 0:t.firstChild;for(;null!=s&&s.firstChild;)s.removeChild(s.firstChild);s&&s.appendChild(o.element)},[l,a,e]),(0,r.createPortal)(e.children,a)};var G=e.i(335889),K=e.i(806712);e.i(66518);var J=e.i(128093);function Y({content:e,position:r,...l}){let i=(0,K.useTranslations)("sf"),[a,o]=function(){let[e,t]=(0,n.use
3State)(null);return[(0,n.useCallback)(e=>{t(e)},[]),e]}(),{image:s,link:u,text:c}=e;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(H,{onClick:()=>l.setSelectedId(l.uuid),position:r,ref:a,children:l.children}),l.selectedId===l.uuid&&(0,t.jsx)(V,{anchor:o,headerContent:(0,t.jsx)("span",{className:"font-medium",children:u?.text}),onCloseClick:()=>l.setSelectedId(void 0),children:(0,t.jsxs)("div",{className:"flex max-w-72 gap-3",children:[s&&(0,t.jsx)("div",{className:"relative",children:(0,t.jsx)(J.Image,{alt:u?.text||"",className:"aspect-square object-cover",height:80,src:s,width:80})}),(0,t.jsxs)("div",{children:[c&&(0,t.jsx)("div",{children:c}),u&&u.href&&u.text?(0,t.jsx)(G.default,{href:u.href,className:"mt-1 inline-block font-medium text-primary-30 underline hover:text-primary-20",target:u.target||"_self",children:i("readMoreAbout",{title:u.text})}):null]})]})})]})}function Z({markers:e}){let t=D();return(0,n.useEffect)(()=>{if(t&&e?.length){let n=new window.google.maps.LatLngBounds;e.forEach(({position:e})=>{e.lat&&e.lng&&n.extend(e)}),t.fitBounds(n)}},[t,e]),null}e.s(["default",0,function({markers:e,...r}){let[l,i]=(0,n.useState)(),a=e&&1===e.length?e[0].position:{lat:59,lng:18};return(0,t.jsxs)(h,{apiKey:r.apiKey,children:[r.title&&(0,t.jsx)("h1",{className:"mb-4 max-w-screen-xl px-2 text-center font-brand font-medium text-2xl md:mb-8 md:px-3 md:text-display-s",children:r.title}),(0,t.jsxs)(I,{className:"h-[500px]",defaultCenter:a,defaultZoom:10,fullscreenControl:!1,mapId:"db4e1a26ec403180",mapTypeControl:!1,onClick:()=>i(void 0),streetViewControl:!1,children:[e?.map(e=>(0,t.jsx)(Y,{selectedId:l,setSelectedId:i,...e,children:(0,t.jsx)(Q,{background:"var(--primary-40)",borderColor:"white",glyphColor:"white"})},e.uuid)),e&&e.length>1&&(0,t.jsx)(Z,{markers:e})]})]})}],486742)},1743,e=>{"use strict";var t=e.i(517530),n=e.i(335889);e.i(66518);var r=e.i(201025),l=e.i(509614),i=e.i(470014);function a({salesPersons:e}){return(0,t.jsx)("div",{className:"grid gap-4 sm:grid-cols-2 sm:gap-6 lg:grid-cols-3",children:e.map(e=>(0,t.jsxs)("div",{className:"space-y-4 bg-primary-95 p-6",children:[(0,t.jsx)("div",{className:"text-display-xs",children:e.name}),(0,t.jsx)("div",{children:e.fieldDescription}),(0,t.jsxs)("ul",{className:"space-y-4 text-primary-30",children:[e.phone&&(0,t.jsxs)("li",{className:"flex items-center gap-4",children:[(0,t.jsx)(r.Icon,{name:"phone",size:"small",className:"text-black"}),(0,t.jsx)("a",{className:"underline",href:`tel:${e.phone}`,children:e.phone})]}),e.email&&(0,t.jsxs)("li",{className:"flex items-center gap-4",children:[(0,t.jsx)(r.Icon,{name:"envelope",size:"small",className:"text-black"}),(0,t.jsx)(n.default,{href:`mailto:${e.email}`,className:"break-all underline",children:e.email})]})]})]},e.name))})}e.s(["MySalesPersons",0,a,"default",0,function(){let{data:e}=(0,i.useSalesPersons)();return e?(0,t.jsx)(a,{salesPersons:e}):(0,t.jsx)("div",{className:"grid gap-4 sm:grid-cols-2 sm:gap-6 lg:grid-cols-3",children:Array.from("123").map(e=>(0,t.jsxs)("div",{className:"space-y-6 bg-primary-95 p-6",children:[(0,t.jsx)(l.Skeleton,{className:"h-6 w-40"}),(0,t.jsx)(l.Skeleton,{className:"h-4 w-60"}),(0,t.jsx)(l.Skeleton,{className:"h-4 w-60"}),(0,t.jsx)(l.Skeleton,{className:"h-4 w-60"})]},e))})}])},134122,e=>{"use strict";var t=e.i(517530),n=e.i(335889),r=e.i(806712),l=e.i(311276),i=e.i(694613),a=e.i(509942),o=e.i(232894),s=e.i(34418),u=e.i(619917);function c(e){return(0,t.jsx)("time",{className:"text-base-40 text-overline-s uppercase",dateTime:e.dateISO,"data-testid":e.testid,children:(0,t.jsx)(i.DateTime,{date:e.dateISO})})}e.s(["default",0,function(e){let i=(0,r.useTranslations)("sf"),d=e.testid||"newslist-teaser";function f(){(0,o.dlTeaserTracking)({title:e.title,type:"Teaser",context:e.trackingData?.context||"unknown",event:"select_promotion"})}return(0,t.jsxs)("div",{className:"col-span-4 flex flex-col border-base-60 border-b border-b-solid pt-2 pb-6 md:col-span-8 md:flex-row md:pt-0 lg:col-span-12","data-testid":d,"data-type":"newslist-teaser",children:[(0,t.jsx)(s.default,{context:e.trackingData?.context,title:e.title,type:"Teaser"}),(0,t.jsx)("div",{className:"transparent relative h-72 w-full overflow-hidden md:w-1/3",children:e.image?(0,t.jsx)(a.default,{testid:d+"-teasermedia",alt:e.title||"",src:e.image,className:(0,u.getTeaserImagePositionClass)(e.imagePosition),fill:!0,sizes:"(max-width: 768px) 100vw, 50vw"}):null}),(0,t.jsxs)("div",{className:"flex flex-col gap-4 pt-6 md:w-2/3 md:px-6 md:pt-0",children:[(0,t.jsx)(c,{dateISO:e.publishDate,testid:d+"-published"}),(0,t.jsx)("h2",{"data-testid":d+"-heading",className:"w-full text-display-xs transition-all hover:text-primary-30",children:(0,t.jsx)(n.default,{className:"text-black hover:text-primary-30",href:e.href,"data-testid":d+"-title-link",onClick:f,children:e.title})}),e.preamble&&(0,t.jsx)(l.default,{content:e.preamble,className:"prose wrap-break-word line-clamp-3 max-w-prose text-body-m",testid:d+"-preamble"}),(0,t.jsx)(n.default,{"aria-label":i("readMoreAbout",{title:e.title}),className:"inline-block text-action-m text-primary-30 underline hover:text-primary-20","data-testid":d+"-readmore",href:e.href,onClick:f,children:i("readMore")})]})]})}])},246809,e=>{"use strict";
3var t=e.i(517530),n=e.i(679122),r=e.i(465769);e.i(82717);var l=e.i(568155),i=e.i(143890);e.s(["default",0,function(e){let a=e.testid||"productlist",o=e.background?.color&&i.blockBackgroundColors[e.background?.color],s=o&&"bg-transparent"!==o,{productGroups:u,productsPerGroup:c}=(0,r.getProductGroups)(e.products||[]);return(0,t.jsxs)("div",{className:(0,l.twJoin)(o,"w-full",s&&"py-10 md:py-20"),children:[e.heading&&(0,t.jsx)("h2",{className:"mx-auto mb-4 max-w-screen-xl px-2 text-center font-brand font-medium text-2xl md:mb-8 md:px-3 md:text-display-s","data-testid":a+"-heading",children:e.heading}),(0,t.jsx)(n.default,{className:(0,l.twJoin)("mx-auto max-w-screen-xl sm:p-4 md:px-6",e.singleColumn?"!grid-cols-1":"lg:!grid-cols-4"),layout:"card",productGroups:u,productsPerGroup:c,trackingData:{item_list_name:e.heading}})]})}])},356029,e=>{"use strict";var t=e.i(517530),n=e.i(489379);e.s(["default",0,function(e){return(0,t.jsx)("div",{className:"col-span-2 md:col-span-4 lg:col-span-3",children:(0,t.jsx)(n.default,{group:[e],layout:"card",productsPerGroup:1,skus:e.sku,trackingData:{item_list_name:e.trackingData.listName||"productTeaser",position:0}})})}])},794068,e=>{"use strict";var t=e.i(517530),n=e.i(450127),r=e.i(679122),l=e.i(20112),i=e.i(227052);e.s(["default",0,function(e){let a=(0,l.usePage)(),{attribute:o,numberOfProducts:s}=e,u=a?.sku,{data:c}=(0,i.useRelatedProducts)({attribute:o,enabled:!!u,numberOfProducts:s,sku:u||""});return!c||c.length<1?null:(0,t.jsx)("div",{className:"w-full bg-base-95 py-10",children:(0,t.jsxs)("div",{className:"mx-auto flex max-w-screen-xl flex-col gap-5 px-4 md:gap-8 md:px-6",children:[(0,t.jsx)(n.default,{children:e.title}),(0,t.jsx)(r.default,{className:"grid-cols-2 sm:grid-cols-3 lg:grid-cols-4",layout:"card",productGroups:[c],productsPerGroup:4})]})})}])},723815,e=>{"use strict";e.s(["default",()=>f]);var t=e.i(517530),n=e.i(286896),r=e.i(806712),l=e.i(450127),i=e.i(679122),a=e.i(366327),o=e.i(509614);e.i(405708);var s=e.i(590834),u=e.i(785843),c=e.i(465769);function d({fallbackBlocks:e,fallbackTitle:l}){let i=(0,r.useTranslations)("sf");return 0===e.length?(0,t.jsx)("p",{className:"text-center text-display-xs md:text-display-s xl:text-display-xs",children:i("loggedInContent.noRecsToShow")}):(0,t.jsxs)("div",{className:"w-full",children:[l&&(0,t.jsx)("h2",{className:"mb-2 text-center text-display-xs md:text-display-s xl:text-left",children:l}),e.map((e,t)=>{let r=e.type;if(r in u.blockMap){let l=u.blockMap[r];return(0,n.createElement)(l,{...e.data,key:e.id||t,className:"gap-6 md:items-start lg:grid-cols-3 xl:gap-2"})}})]})}function f({categories:e,context:n,limit:r,scenarios:u,...p}){let{data:m,isPending:h}=s.smartRecsQueries.useSmartRecs({categories:e,context:n,limit:r,scenarios:u,enabled:"mini"===p.type});if("mini"!==p.type)return null;if(h)return(0,t.jsxs)("div",{className:"flex w-full flex-col gap-6 xl:gap-3",children:[(0,t.jsx)(o.Skeleton,{className:"mx-auto h-8 w-64 md:m-0 md:h-10"}),(0,t.jsxs)("div",{className:"mdgap-4 grid grid-cols-2 md:gap-4 lg:grid-cols-4",children:[(0,t.jsx)(a.ProductCardSkeleton,{}),(0,t.jsx)(a.ProductCardSkeleton,{}),(0,t.jsx)(a.ProductCardSkeleton,{}),(0,t.jsx)(a.ProductCardSkeleton,{})]})]});if(!m||0===m.items.length)return(0,t.jsx)("div",{className:"min-h-96 w-full md:min-h-auto",children:(0,t.jsx)(d,{fallbackBlocks:p.fallbackBlocks,fallbackTitle:p.fallbackTitle})});let g=(0,c.getProductGroups)(m.items.map(e=>{let t=(0,c.flattenAttributesArray)(e.recommendedProduct.attributes);return{...t,sku:t.SKU}})||[]);return(0,t.jsxs)("div",{className:"flex w-full flex-col gap-6 xl:gap-2",children:[(0,t.jsx)(l.default,{className:"font-medium xl:text-left",children:p.title}),(0,t.jsx)(i.default,{className:"grid-cols-2 lg:grid-cols-3 lg:gap-6",layout:"card",productGroups:g.productGroups,productsPerGroup:g.productsPerGroup,trackingData:{item_list_id:"inloggad startsida",item_list_name:p.title,recID:m.recID,recommendation_source:"gaffhook"}})]})}},882340,e=>{"use strict";var t=e.i(517530),n=e.i(335889),r=e.i(20112),l=e.i(232894);e.s(["default",0,function(e){let i=(0,r.usePage)();return(0,t.jsx)(n.default,{className:"hover-shadow-md wrap-anywhere block h-full border border-base-95 bg-white transition-shadow duration-300 hover:no-underline hover:shadow-md","data-testid":e.testid+"-teaserlink",href:e.link?.href||"/",target:e.link?.newWindow?"_blank":"_self",onClick:()=>{(0,l.dlTeaserTracking)({title:e.link?.text??"",type:"Teaser",context:e.trackingData?.context??i?.type??"unknown",event:"select_promotion"})},children:e.children})}])},74888,e=>{"use strict";
3var t=e.i(517530),n=e.i(286896),r=e.i(806712);e.i(66518);var l=e.i(201025),i=e.i(128093),a=e.i(192785),o=e.i(262768),s=e.i(82717),u=e.i(568155);function c(e){let c=(0,r.useTranslations)("sf"),[d,f]=(0,n.useState)(!!e.previewImgSrc),[p,m]=(0,n.useState)(!0),h=(0,o.default)(e.size),g=e.testid||"video",x=!!e.previewImgSrc?.length,y=["sbs-l","sbs-r"].includes(e.size),v="sbs-l"===e.size,b=(0,t.jsx)("div",{"aria-label":`${c("clickToPlayVideo")} ${e.title||""}`,className:(0,s.twMerge)("relative h-56 w-full shrink-0 overflow-hidden",d&&"cursor-pointer","1/1"===e.size&&"aspect-video h-auto",y&&"md:aspect-video md:h-auto md:w-1/2"),onClick:()=>{f(!1),m(!1)},onKeyDown:e=>{("Enter"===e.key||"Space"===e.key)&&(e.preventDefault(),f(!1),m(!1))},tabIndex:0,"data-testid":`${g}-clickarea`,children:d&&e.previewImgSrc?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(i.Image,{alt:`${c("videoThumbnailTitle")}${e.title?`: ${e.title}`:""}`,className:"object-cover","data-testid":`${g}-thumbnail`,fill:!0,sizes:h.imgSizes,src:e.previewImgSrc}),(0,t.jsx)("div",{className:"absolute inset-0 m-auto flex h-14 w-14 items-center justify-center rounded-full border border-white bg-white text-black shadow hover:bg-primary-40 hover:text-white active:bg-black active:text-white",children:(0,t.jsx)(l.Icon,{className:"ml-1 size-8",name:"play"})})]}):(0,t.jsx)(a.default,{autoPlay:x,controls:!0,mute:p,source:e.source})}),k=(0,t.jsxs)("div",{className:(0,s.twMerge)("1/1"===e.size?"mt-4":"bg-white p-6",y&&"md:p-8","flex w-full grow flex-col gap-3"),children:[e.title&&(0,t.jsx)("h1",{className:"wrap-anywhere w-full whitespace-normal text-black text-display-xxs md:text-display-xs","data-testid":`${g}-heading`,children:e.title}),e.preamble&&(0,t.jsx)("div",{"data-testid":`${g}-preamble`,className:(0,s.twMerge)("prose line-clamp-5 max-w-prose text-wrap text-body-m",y&&"md:line-clamp-6 lg:line-clamp-[9]"),children:e.preamble})]});return(0,t.jsx)("article",{className:(0,u.twJoin)(h.colspan,"1/1"===e.size?"mx-auto w-full max-w-prose":"border border-base-95"),"data-testid":g,children:(0,t.jsxs)("div",{"data-testid":`${g}-container`,className:(0,s.twMerge)("flex h-full flex-col",y&&"md:flex-row"),children:[v?k:b,v?b:k]})})}e.s(["default",0,function({source:e,...n}){return e?n.isRoot?(0,t.jsx)("div",{className:"grid w-full grid-cols-4 gap-4 md:grid-cols-8 md:gap-6 lg:grid-cols-12",children:(0,t.jsx)(c,{...n,source:e})}):(0,t.jsx)(c,{...n,source:e}):null}])},553795,e=>{"use strict";var t=e.i(517530),n=e.i(286896),r=e.i(806712);e.i(66518);var l=e.i(128093),i=e.i(941865),a=e.i(82717),o=e.i(311276);function s({buttonText:e,doNotShowImage:n,doNotShowTitle:r,image:u,preamble:c,title:d,type:f,urlLink:p}){return u&&d?(0,t.jsxs)("article",{children:[!n&&(0,t.jsx)("div",{className:"relative mx-auto h-[248px] w-full max-w-screen-2xl md:h-[496px]","data-type":"hero-carousel","data-testid":"hero-carousel",children:(0,t.jsx)(l.Image,{alt:d||"",className:"object-cover",fill:!0,preload:!0,src:u,sizes:"100vw","data-testid":"hero-image"})}),(0,t.jsxs)("div",{className:(0,a.twMerge)("relative mx-4 flex flex-col items-center gap-4 bg-base-99 pt-6 md:mx-6 md:max-w-screen-lg md:gap-6 md:px-20 md:pt-12 lg:mx-auto",!n&&"-mt-14"),children:[f?(0,t.jsx)("p",{className:"font-bold text-base-40 text-sm uppercase tracking-widest md:text-base",children:f}):null,!r&&(0,t.jsx)("h1",{className:"hyphens-auto px-4 text-center font-medium text-display-s md:px-0 md:text-display-m lg:text-display-l",children:d}),c?(0,t.jsx)(o.default,{content:c,className:"text-center text-base-10 text-preamble-s md:text-preamble-m lg:text-preamble-l"}):null,e&&p?(0,t.jsx)(i.PrimaryLinkButton,{href:p,children:e}):null]})]}):null}var u=e.i(192785);function c({title:e,source:n,preamble:r,type:l,buttonText:a,urlLink:s}){return n&&e?(0,t.jsxs)("article",{children:[(0,t.jsx)("div",{className:"pointer-events-none relative mx-auto h-[248px] w-full max-w-screen-xl md:h-[496px]","data-type":"hero-video","data-testid":"hero-video",children:(0,t.jsx)(u.default,{source:n,autoPlay:!0,mute:!0,controls:!1})}),(0,t.jsxs)("div",{className:"relative mx-4 -mt-14 flex flex-col items-center gap-6 bg-white p-12 pb-0 md:mx-6 md:max-w-screen-lg md:pt-10 lg:mx-auto",children:[l?(0,t.jsx)("p",{className:"font-medium text-base-40 text-overline-l uppercase tracking-widest",children:l}):null,(0,t.jsx)("h1",{className:"text-center font-bold text-display-s md:text-display-l",children:e}),r?(0,t.jsx)("div",{className:"max-w-prose text-preamble-m md:text-preamble-l",children:(0,t.jsx)(o.default,{content:r,className:"md:prose-xl"})}):null,a&&s?(0,t.jsx)(i.PrimaryLinkButton,{href:s,children:a}):null]})]}):null}var d=e.i(807807),f=e.i(568155);function p(e){return"video"===e.mediaType?(0,t.jsx)(c,{...e}):(0,t.jsx)(s,{...e,image:e.source})}e.s(["default",0,function({content:e}
3){let l=(0,r.useTranslations)(),[i,a]=(0,n.useState)(0),o=(0,n.useRef)(null),s=e.length,u=s>1,c=(0,n.useCallback)(e=>o.current?100/(s-1)*e/100*(o.current.scrollWidth-o.current.clientWidth):0,[s]);function m(e){let t;if(!o.current)return;let n=o.current.scrollWidth;return t=e>=s?0:-1===e?n:c(e),o.current.scrollTo({left:t,behavior:"smooth"})}return(0,n.useEffect)(()=>{o.current?.scrollTo&&o.current.scrollTo({left:0})},[]),e&&0!==s?(0,t.jsxs)("div",{className:"relative w-full","data-testid":"carousel",children:[u?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:(0,f.twJoin)("absolute right-4 z-10 flex h-[248px] items-center md:right-6 md:h-[496px]"),children:(0,t.jsx)(d.IconButton,{"aria-label":l("sf.next"),fill:!0,testid:"carousel-next",icon:"chevron-right",onClick:()=>m(i+1)})}),(0,t.jsx)("div",{className:(0,f.twJoin)("absolute left-4 z-10 flex h-[248px] items-center md:left-6 md:h-[496px]"),children:(0,t.jsx)(d.IconButton,{"aria-label":l("sf.previous"),fill:!0,testid:"carousel-previous",icon:"chevron-left",onClick:()=>m(i-1)})})]}):null,(0,t.jsx)("div",{className:"scrollbar-hide flex w-full snap-x snap-mandatory flex-nowrap overflow-x-auto overflow-y-hidden scroll-smooth",onScroll:function(){a(o.current?Math.round(o.current.scrollLeft/(o.current.scrollWidth-o.current.clientWidth)*100/(100/(s-1))):0)},ref:o,children:e.map(e=>(0,t.jsx)("div",{className:"w-full shrink-0 snap-center","data-testid":`carousel-slide-item-${e.id}`,children:(0,t.jsx)(p,{...e})},`carousel-slide-item-${e.id}`))}),u?(0,t.jsx)("div",{className:"mx-auto mt-8 flex min-h-[20px] max-w-full items-center justify-center gap-4","data-testid":"slide-indicators",children:e.map((e,n)=>(0,t.jsx)("div",{className:`cursor-pointer transition-all ${i===n?"h-4 w-4 bg-primary-30":"h-3 w-3 bg-base-60"} rounded-full`,"data-testid":"slide-indicator",onClick:()=>m(n)},`slide-indicator-${e.id}`))}):null]}):null}],553795)},450127,e=>{"use strict";var t=e.i(517530);e.i(82717);var n=e.i(568155);e.s(["default",0,function(e){return e.children?(0,t.jsx)("h2",{className:(0,n.twJoin)("text-center text-black text-display-xs md:text-display-s",e.className),children:e.children}):null}])},4020,e=>{"use strict";e.s(["default",()=>o]);var t=e.i(517530),n=e.i(395716),r=e.i(785843),l=e.i(82717),i=e.i(143890);let a={loggedOutCustomerService:"bg-primary-95",facts:"bg-base-95",inFocus:"bg-base-95"};function o({content:e,innerClassName:s}){return e?e.map((e,o)=>{let u=e.type,c="object"==typeof e.data?.background&&e.data.background?e.data.background.color:void 0,d=c&&i.blockBackgroundColors[c],f=(0,r.getRenderableBlockComponent)(u);if(!f)return null;{let r=a[u];return["algonomy","customerService","loggedInContent","landingPageWrapper","relatedProductsList","productGrid"].includes(u)?(0,t.jsx)(n.default,{children:(0,t.jsx)(f,{...e.data,isRoot:!0})},e.id||o):(0,t.jsx)(n.default,{children:(0,t.jsx)("section",{className:(0,l.twMerge)(d||r,"w-full"),children:(0,t.jsx)("div",{className:(0,l.twMerge)("mx-auto max-w-screen-xl px-4 md:px-6",s),children:(0,t.jsx)(f,{...e.data,isRoot:!0})})})},e.id||o)}}):null}},295911,e=>{"use strict";var t=e.i(517530),n=e.i(335889),r=e.i(618593);e.i(66518);var l=e.i(201025),i=e.i(128093),a=e.i(784720),o=e.i(619313),s=e.i(509614),u=e.i(465769),c=e.i(143890);e.s(["ProductInfoRow",0,function({product:e,details:d,detailsLoading:f,onClick:p}){let m=(0,r.useSession)(),h=(0,u.getSelectedUnit)(d),g=(0,o.getParams)(e),x=(0,o.getLinkUrl)({product:e,params:g});return(0,t.jsx)(n.default,{href:x,className:"relative flex flex-col gap-2 py-2 text-black hover:no-underline",onClick:p,title:e.title,children:(0,t.jsxs)("div",{className:"flex w-full gap-2",children:[(0,t.jsx)("div",{className:"relative size-14 shrink-0",children:e.image&&(0,t.jsx)(i.Image,{src:e.image,alt:e.title||"",fill:!0,className:"h-full w-full object-contain",sizes:"64px"})}),(0,t.jsxs)("div",{className:"flex w-full flex-col justify-center gap-1 overflow-x-hidden",children:[(0,t.jsx)("span",{className:"line-clamp-2 text-base-10 text-label-title-l",children:e.title}),(0,t.jsxs)("div",{className:"flex h-5 w-full items-center gap-2 text-label-description-m",children:[(0,t.jsx)("span",{className:"text-base-40",children:e.sku}),(0,t.jsx)(a.EcomTags,{product:e,details:d,variant:"short"})]}),m.data&&f&&!d&&(0,t.jsx)(s.Skeleton,{className:"h-6 w-24"}),h&&(0,t.jsx)("div",{className:"h-6 font-bold leading-6 tracking-wide",children:`${(0,c.formatPrice)({amount:h.price,decimals:2})}/${h.shortName.toLocaleLowerCase()}`})]}),(0,t.jsx)(l.Icon,{name:"chevron-right",className:"my-2 ml-2 self-center text-base-10 sm:ml-4"})]})})}])},192785,e=>{"use strict";
3var t=e.i(517530);e.s(["default",0,function(e){let n=function(e){let t,{source:n,controls:r,mute:l}=e,i=n;switch(!0){case/mp4|ogg|webm/.test(n):t="video";break;case/vimeo/.test(n):i.match(/player./)||(i=i.split("vimeo.com").join("player.vimeo.com/video")),i+="?loop=1&byline=0&portrait=0&title=0&autopause=0&background=0&dnt=1",t="iframe";break;case/youtube/.test(n):i.match(/embed/)||(i=i.split("watch?v=").join("embed/")),i=i.split("youtube.com").join("youtube-nocookie.com")+`?loop=1&modestbranding=1&rel=0&showinfo=0&controls=${r?"1":"0"}&mute=${l?"1":"0"}`,t="iframe";break;case/iframe/.test(n):t="iframe-external"}return{allow:"autoplay; fullscreen; picture-in-picture",type:t,url:i}}({...e});switch(n.type){case"iframe":return(0,t.jsx)("iframe",{allow:n.allow,className:"absolute block h-full w-full border-none","data-ot-ignore":!0,"data-testid":"video-cardmedia",src:n.url+`&autoplay=${e.autoPlay?"1":"0"}`});case"iframe-external":return(0,t.jsx)("iframe",{className:"absolute block h-full w-full border-none","data-ot-ignore":!0,"data-testid":"video-cardmedia",src:n.url+`${-1===n.url.indexOf("?")?"?":"&"}autoplay=${e.autoPlay?"1":"0"}&mute=${e.mute?"1":"0"}`});case"video":return(0,t.jsx)("video",{autoPlay:e.autoPlay,className:"absolute block h-full w-full border-none",controls:e.controls,"data-testid":"video-cardmedia",draggable:!1,loop:!0,src:n.url});default:return null}}])},590834,e=>{"use strict";var t=e.i(625554);e.s(["smartRecsQueries",0,t])},785843,e=>{"use strict";e.s(["blockMap",()=>z,"getRenderableBlockComponent",()=>F],785843);var t=e.i(134356),n=e.i(995099),r=e.i(782681),l=e.i(274835),i=e.i(27119),a=e.i(76966),o=e.i(592609),s=e.i(917198),u=e.i(828354),c=e.i(905937),d=e.i(705775),f=e.i(44701),p=e.i(834627),m=e.i(311276),h=e.i(222075),g=e.i(242039),x=e.i(171832),y=e.i(502961),v=e.i(352679),b=e.i(486742),k=e.i(1743),w=e.i(67692),j=e.i(134122),S=e.i(246809),C=e.i(356029),N=e.i(293988),E=e.i(794068),T=e.i(723815),I=e.i(728304),A=e.i(482482),P=e.i(517530),D=e.i(509942),L=e.i(34418),R=e.i(619917),M=e.i(882340),_=e.i(74888),O=e.i(553795);let z={algonomy:t.default,boxedMarkdown:n.default,cardAcquiringCalculation:r.default,contentListVariations:l.default,cookingDescriptions:i.default,courseInfo:a.default,customerService:o.default,externalScript:u.default,facts:c.default,faq:d.default,globalMessage:f.default,carousel:O.default,highlight:p.default,html:m.default,imageMap:h.default,inFocus:g.default,ingredients:x.default,landingPageWrapper:y.default,loggedInContent:v.default,loggedOutCustomerService:s.default,map:b.default,mySalesPersons:k.default,newsList:w.default,newsListTeaser:j.default,productGrid:S.default,productTeaser:C.default,quote:N.default,relatedProductsList:E.default,smartRecs:T.default,teaser:I.default,teaserContainer:A.default,teaserMicro:function(e){let t=e.testid||"microteaser";return e.image?(0,P.jsxs)("article",{className:"basis-1/2 px-2 md:basis-1/4 md:px-3 lg:basis-1/6","data-testid":t,children:[(0,P.jsx)(L.default,{title:e.link?.text??"",type:"Teaser",context:e.trackingData?.context}),(0,P.jsxs)(M.default,{...e,children:[(0,P.jsx)("div",{className:"relative inset-0 block w-full overflow-hidden pb-[100%]",children:(0,P.jsx)(D.default,{testid:t+"-teasermedia",alt:"micro-teaser-image",src:e.image,sizes:"17vw",fill:!0,className:(0,R.getTeaserImagePositionClass)(e.imagePosition)})}),e.link?.text&&(0,P.jsx)("div",{"data-testid":t+"-teasertext",className:"p-4 text-center text-black text-subheading-xs",children:e.link.text})]})]}):null},video:_.default};function F(e){return Object.hasOwn(z,e)?z[e]:null}},786182,(e,t,n)=>{"use strict";var r=Object.prototype.hasOwnProperty,l=Object.prototype.toString,i=Object.defineProperty,a=Object.getOwnPropertyDescriptor,o=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===l.call(e)},s=function(e){if(!e||"[object Object]"!==l.call(e))return!1;var t,n=r.call(e,"constructor"),i=e.constructor&&e.constructor.prototype&&r.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!n&&!i)return!1;for(t in e);return void 0===t||r.call(e,t)},u=function(e,t){i&&"__proto__"===t.name?i(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},c=function(e,t){if("__proto__"===t){if(!r.call(e,t))return;else if(a)return a(e,t).value}return e[t]};t.exports=function e(){var t,n,r,l,i,a,d=arguments[0],f=1,p=arguments.length,m=!1;for("boolean"==typeof d&&(m=d,d=arguments[1]||{},f=2),(null==d||"object"!=typeof d&&"function"!=typeof d)&&(d={});f<p;++f)if(t=arguments[f],null!=t)for(n in t)r=c(d,n),d!==(l=c(t,n))&&(m&&l&&(s(l)||(i=o(l)))?(i?(i=!1,a=r&&o(r)?r:[]):a=r&&s(r)?r:{},u(d,{name:n,newValue:e(m,a,l)})):void 0!==l&&u(d,{name:n,newValue:l}));return d}},697237,(e,t,n)=>{"use strict";
3t.exports=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;if(Array.isArray(t)){if((r=t.length)!=n.length)return!1;for(l=r;0!=l--;)if(!e(t[l],n[l]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((r=(i=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(l=r;0!=l--;)if(!Object.prototype.hasOwnProperty.call(n,i[l]))return!1;for(l=r;0!=l--;){var r,l,i,a=i[l];if(!e(t[a],n[a]))return!1}return!0}return t!=t&&n!=n}},295514,(e,t,n)=>{"use strict";var r=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,l=/\n/g,i=/^\s*/,a=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,s=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,u=/^[;\s]*/,c=/^\s+|\s+$/g;function d(e){return e?e.replace(c,""):""}t.exports=function(e,t){if("string"!=typeof e)throw TypeError("First argument must be a string");if(!e)return[];t=t||{};var n=1,c=1;function f(e){var t=e.match(l);t&&(n+=t.length);var r=e.lastIndexOf("\n");c=~r?e.length-r:c+e.length}function p(){var e={line:n,column:c};return function(t){return t.position=new m(e),g(i),t}}function m(e){this.start=e,this.end={line:n,column:c},this.source=t.source}function h(r){var l=Error(t.source+":"+n+":"+c+": "+r);if(l.reason=r,l.filename=t.source,l.line=n,l.column=c,l.source=e,t.silent);else throw l}function g(t){var n=t.exec(e);if(n){var r=n[0];return f(r),e=e.slice(r.length),n}}function x(e){var t;for(e=e||[];t=y();)!1!==t&&e.push(t);return e}function y(){var t=p();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;""!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,""===e.charAt(n-1))return h("End of comment missing");var r=e.slice(2,n-2);return c+=2,f(r),e=e.slice(n),c+=2,t({type:"comment",comment:r})}}m.prototype.content=e,g(i);var v,b=[];for(x(b);v=function(){var e=p(),t=g(a);if(t){if(y(),!g(o))return h("property missing ':'");var n=g(s),l=e({type:"declaration",property:d(t[0].replace(r,"")),value:n?d(n[0].replace(r,"")):""});return g(u),l}}();)!1!==v&&(b.push(v),x(b));return b}},351413,(e,t,n)=>{"use strict";var r=e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e,t){let n=null;if(!e||"string"!=typeof e)return n;let r=(0,l.default)(e),i="function"==typeof t;return r.forEach(e=>{if("declaration"!==e.type)return;let{property:r,value:l}=e;i?t(r,l,e):l&&((n=n||{})[r]=l)}),n};let l=r(e.r(295514))},72249,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.camelCase=void 0;var r=/^--[a-zA-Z0-9_-]+$/,l=/-([a-z])/g,i=/^[^-]+$/,a=/^-(webkit|moz|ms|o|khtml)-/,o=/^-(ms)-/,s=function(e,t){return t.toUpperCase()},u=function(e,t){return"".concat(t,"-")};n.camelCase=function(e,t){var n;return(void 0===t&&(t={}),!(n=e)||i.test(n)||r.test(n))?e:(e=e.toLowerCase(),(e=t.reactCompat?e.replace(o,u):e.replace(a,u)).replace(l,s))}},339842,(e,t,n)=>{"use strict";var r=(e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}})(e.r(351413)),l=e.r(72249);function i(e,t){var n={};return e&&"string"==typeof e&&(0,r.default)(e,function(e,r){e&&r&&(n[(0,l.camelCase)(e,t)]=r)}),n}i.default=i,t.exports=i},64730,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={callServer:function(){return i.callServer},createServerReference:function(){return o.createServerReference},findSourceMapURL:function(){return a.findSourceMapURL}};for(var l in r)Object.defineProperty(n,l,{enumerable:!0,get:r[l]});let i=e.r(462742),a=e.r(688078),o=e.r(253173)},787449,(e,t,n)=>{t.exports=e.r(378570)}]);
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.