1"use strict";(globalThis.webpackChunksamw=globalThis.webpackChunksamw||[]).push([[18602],{647710(e,t,l){var a=l(971060);l.d(t,["P",0,e=>"string"==typeof e?(0,a.k)(e):"link"])},673872(e,t,l){l.d(t,{_:()=>w,P:()=>j}),l(218111),l(161701);var a=l(634164),o=l(353986),n=l(960182),r=l(230594),s=l(966331),d=l(731320),i=l(296540),c=l(40476),u=l(310770),m=l(939765),b=l(658700),g=l(924194),h=l(826612),p=l(108932),f=l(474848);const k=e=>{let t=e.children,l=e.className,o=e.onClick,n=e.pathname,r=e.search,s=void 0===r?"":r,d=e.target,c=e.title,k=e.dataTestId,x=void 0===k?"hamburger-navigation-link":k,v=e.source;const C=(0,i.useMemo)(()=>({[m.k_]:!0,gtm:(0,p.J)({label:c||""})}),[c]),y=(0,i.useMemo)(()=>({pathname:n,search:s}),[n,s]),N=(0,i.useMemo)(()=>o||u.l,[o]);return n?(0,g.q)(n)?(0,f.jsx)("a",{className:(0,a.$)(l),"data-test-id":x,href:(0,h.A)(`${n}${s}`,v),rel:"noopener noreferrer",target:null!=d?d:"_blank",onClick:N,children:t}):(0,f.jsx)(b.N_,{className:(0,a.$)(l),"data-test-id":x,source:v,state:C,target:d,to:y,onClick:o,children:t}):(0,f.jsx)("button",{className:(0,a.$)("oPsX9",l),"data-test-id":x,type:"button",onClick:N,children:t})};var x=l(647710);const v=e=>{let t=e.source,l=e.item,o=e.onLinkGroupClick,n=e.itemClassName,r=e.linkClassName;const u=(0,s.uB)()._,m=l.content,b=l.target,g=l.onClick,h=l.to,p=void 0===h?"":h,v=l.source,C=l.queryParams,y=l.linkClassName,N=(0,c.Z)(m)?u(m):m,j="string"==typeof N?N:"",w=(0,x.P)(N),$=(0,i.useCallback)(e=>{g&&g(e),o&&o(e)},[g,o]);return(0,f.jsx)("li",{className:(0,a.$)(n),children:(0,f.jsx)(k,{className:(0,a.$)("zv13G",r,y,"hover:underline"),dataTestId:`${w}-hamburger-navigation-link`,pathname:p,search:(0,d.z)(C),source:null!=v?v:t,target:b,title:j,onClick:$,children:null!=N?N:null})})},C=["item"],y=e=>{let t=e.item,l=(0,o.A)(e,C);switch(t.type){case n.r.DIVIDER:return(0,f.jsx)("li",{"aria-hidden":"true",children:(0,f.jsx)(r.D,{color:"black-10-light",rootClassName:"mx-0 my-1",variant:"thin"})});case n.r.ELEMENT:return t.element;default:return(0,f.jsx)(v,{item:t,...l})}},N=[],j=e=>{let t=e.rootClassName,l=e.dataTestId,o=e.children;return(0,f.jsx)("ul",{className:(0,a.$)("m-0 grow list-none pl-0",t),"data-test-id":l,children:o})},w=e=>{let t=e.dataTestId,l=e.itemClassName,a=e.linkClassName,o=e.listExtraClass,n=e.onClick,r=e.source,s=e.list,d=void 0===s?N:s;return d.length?(0,f.jsx)(j,{dataTestId:t,rootClassName:o,children:d.map(e=>(0,f.jsx)(y,{item:e,itemClassName:l,linkClassName:a,source:r,onLinkGroupClick:n},`link-container-${e.id}`))}):null}},108932(e,t,l){var a=l(42347);l.d(t,["J",0,e=>
1{let t=e.eventKey,l=void 0===t?"navigation_click":t,o=e.label;return{eventKey:l,GA_event_label:(0,a.Z)(o)}}])},230594(e,t,l){var a=l(634164),o=l(474848);const n={default:(0,a.$)("h-6"),thin:(0,a.$)("h-1")},r={"black-5":(0,a.$)("bg-black-5 dark:bg-black-80"),"black-10":(0,a.$)("bg-black-10 dark:bg-black-80"),"black-10-light":(0,a.$)("bg-black-10 dark:bg-black-50"),"black-20":(0,a.$)("bg-black-20 dark:bg-black-50"),"black-35":(0,a.$)("bg-black-35 dark:bg-black-50"),"black-50":(0,a.$)("bg-black-50 dark:bg-black-80"),"separator-thin":(0,a.$)("bg-share-separator-thin")};l.d(t,["D",0,e=>{let t=e.ref,l=e.variant,s=void 0===l?"default":l,d=e.color,i=void 0===d?"black-5":d,c=e.rootClassName;return(0,o.jsx)("div",{className:(0,a.$)(n[s],r[i],c),ref:t})}])},982095(e,t,l){l.d(t,{m:()=>I});var a=l(205544),o=(l(874423),l(736376)),n=l(434743),r=l(807315),s=l(634164),d=l(296540),i=l(195304),c=l(601784),u=l(251301),m=(l(218111),l(430531),l(161701),l(966331)),b=l(926457),g=l(373853),h=l(956237);const p={xs:{6:"rounded-6",8:"rounded-8"},md:{6:"md:rounded-6",8:"md:rounded-8"},lg:{6:"lg:rounded-6",8:"lg:rounded-8"}},f={xs:{tl:"rounded-tl-0",tr:"rounded-tr-0",bl:"rounded-bl-0",br:"rounded-br-0"},md:{tl:"md:rounded-tl-0",tr:"md:rounded-tr-0",bl:"md:rounded-bl-0",br:"md:rounded-br-0"},lg:{tl:"lg:rounded-tl-0",tr:"lg:rounded-tr-0",bl:"lg:rounded-bl-0",br:"lg:rounded-br-0"}};var k=l(40476),x=l(474848);const v=e=>{let t=e.onCloseDropdown,l=e.isOverlay,a=e.title,o=e.ref;const n=(0,m.uB)()._;return l?(0,x.jsx)("div",{className:"px-safe-or-18",ref:o,children:(0,x.jsxs)("div",{className:(0,s.$)("oS94V","flex items-center pb-18 pt-safe-or-18",a?"justify-between":"justify-end"),children:[a?(0,x.jsx)("h3",{className:"m-0 grow truncate pr-32 text-5x-large-r text-share-text-2","data-test-id":"dropdown-content-title",children:(0,k.Z)(a)?n(a):a}):null,(0,x.jsx)("button",{"aria-label":n({id:"E5gF1W"}),className:"mb-6 mt-12 shrink-0 self-start text-medium-b text-share-text","data-test-id":"dropdown-cancel-btn",type:"button",onClick:t,children:(0,x.jsx)(m.x6,{id:"dEgA5A"})})]})}):null},C={small:"jf7sQ",medium:"dWyiS",large:"HQIqr",fixed:"Jm40C",auto:""},y={full:(0,s.$)("grow"),auto:(0,s.$)("grow-0")},N=e=>{let t=e.children,l=e.onCloseDropdown,o=e.width,n=e.rounded,r=void 0===n?8:n,i=e.attachment,u=void 0===i?"floating":i,k=e.mobileHeight,N=void 0===k?"auto":k,j=e.setActiveItemId,w=e.verticalPlacement,$=e.extraClassName,I=e.isMobileView,O=void 0!==I&&I,A=e.hideHeader,E=e.title,P=e.setIsLoading,F=e.isLoading,S=e.disabledBodyScroll,R=e.returnFocusNodeRef,T=e.isReturnFocus,M=e.isOverlayPosition;const H=(0,m.uB)()._,_=(0,d.useState)(0),B=(0,a.A)(_,2),D=B[0],L=B[1],W=(0,b.Z)(L),Q=D>18;(0,g.N)(()=>{Q&&(null==P||P(!1))},[Q,P]);const V="auto"===N,q="attached"===u,z=(0,d.useMemo)(()=>{if(O||!w)return null;const e=!M&&q?(e=>"top"===e?["bl","br"]:["tl","tr"])(w):[];return(0,s.$)((0,c.E$)(r,p),e.flatMap(e=>[f.xs[e],f.md[e],f.lg[e]]),!M&&q?(e=>"top"===e?"kW7Il":"RAgAe")(w):"")},[r,q,M,w,O]),Y=Boolean((O||S)&&!F);return(0,d.useEffect)(()=>{const e=null==R?void 0:R.current;return()=>{T&&e&&(null==e||e.focus())}},[T,R]),(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(h.U,{lockScroll:Y,rootClassName:O?"bg-black/50":""}),O?(0,x.jsx)("button",{"aria-label":H({id:"E5gF1W"}),className:"fixed left-0 top-0 size-full cursor-default",type:"button",onClick:l}):null,(0,x.jsxs)("div",{className:(0,s.$)("Tv7Pg","relative flex flex-col",O?["WqqTp","max-h-full",V?"_pCa2":"",y[N],"pb-safe-or-18"]:[C[o],z],$),"data-test-id":"dropdown-content",ref:F?W:null,children:[F||A?null:(0,x.jsx)(v,{isOverlay:O,title:E,onCloseDropdown:l}),d.Children.map(t,e=>(0,d.isValidElement)(e)&&(0,d.cloneElement)(e,{onCloseDropdown:l,isOverlay:O,setActiveItemId:j}))]})]})},j=["content"],w={button:e=>({mainAxis:-e.rects.reference.height})},$={xs:{6:"before:rounded-6",8:"before:rounded-8"},md:{6:"md:before:rounded-6",8:"md:before:rounded-8"},lg:{6:"lg:before:rounded-6",8:"lg:before:rounded-8"}},I=e=>{let t=e.button,l=e.children,m=e.portalContainerRef,b=e.dataTestId,g=void 0===b?"dropdown":b,h=e.disabledBodyScroll,p=e.initialOpened,f=void 0!==p&&p,k=e.mobileHeight,v=e.contentClassName,C=e.placement,y=e.strategy,I=e.order,O=void 0===I?j:I,A=e.flipOptions,E=e.onClose,P
1=e.onOpen,F=e.onButtonToggleOpen,S=e.attachment,R=void 0===S?"floating":S,T=e.offsetY,M=e.width,H=void 0===M?"medium":M,_=e.withOverlay,B=e.rounded,D=void 0===B?8:B,L=e.title,W=e.hideHeader;const Q=(0,d.useState)(f),V=(0,a.A)(Q,2),q=V[0],z=V[1],Y=(0,d.useState)(!0),Z=(0,a.A)(Y,2),G=Z[0],J=Z[1],U=(0,d.useState)(!0),X=(0,a.A)(U,2),K=X[0],ee=X[1],te=(0,d.useState)(),le=(0,a.A)(te,2),ae=le[0],oe=le[1],ne=(0,d.useCallback)(e=>{var t;z(!1),ee(null===(t=null==e?void 0:e.returnFocus)||void 0===t||t)},[]),re=(0,d.useCallback)(()=>{z(!0)},[]),se=(0,i.zk)(),de=_||(0,u.Xb)()||(0,u.jl)()||se.innerHeight<400,ie=(0,o.we)({placement:C||"bottom-end",strategy:y,open:q,onOpenChange:e=>{e?(re(),null==P||P(),null==F||F()):(ne(),null==E||E(),null==F||F(),oe(null))},middleware:de?[]:[T&&(0,n.cY)(w[T]),(0,n.UU)(A),(0,n.Ej)({apply(e){const t=e.availableHeight,l=e.elements,a=`${Math.max(0,t).toFixed(0)}px`,o=`${Math.max(0,l.reference.offsetWidth)}px`,n=`${Math.max(0,l.reference.offsetHeight)}px`;l.floating.style.setProperty("--sa-dropdown-floating-max-height",a),l.floating.style.setProperty("--sa-dropdown-button-width",o),l.floating.style.setProperty("--sa-dropdown-button-height",n)}})],whileElementsMounted:r.ll}),ce=ie.refs,ue=ie.floatingStyles,me=ie.context,be=(Ce=ie.placement).includes("top")?"top":Ce.includes("bottom")?"bottom":null,ge=(0,o.kp)(me),he=(0,o.s9)(me,{ancestorScroll:!h,enabled:!de}),pe=(0,o.bv)([ge,he]),fe=pe.getReferenceProps,ke=pe.getFloatingProps,xe=fe(),ve="auto"===k;var Ce;return(0,x.jsxs)(x.Fragment,{children:[(0,d.cloneElement)(t,{buttonRef:ce.setReference,dataTestId:g,isOpen:q,toggleOpen:xe.onClick,yPosition:be,setIsOpen:z,activeItemId:ae}),q?(0,x.jsx)(o.XF,{root:m,children:(0,x.jsx)(o.s3,{closeOnFocusOut:!0,context:me,disabled:G,order:O,returnFocus:!1,children:(0,x.jsx)("div",{className:(0,s.$)("z-dropdown",G?"opacity-0":"opacity-100","sot61",de?"flex flex-col sa-fixed":"",de?{"justify-start":"top"===be,"justify-end":"bottom"===be,"top-sticky-offset after:top-0":ve}:"",de?"QwYmQ":"RVZdh",de?"":["top"===be?"cYSQS":"HOdWB"],de?"":["fixed"===H&&"button"===T?["IQJco"]:"rRciY",(0,c.E$)(D,$)]),ref:ce.setFloating,style:de?{}:ue,...ke(),children:(0,x.jsx)(N,{attachment:R,disabledBodyScroll:h,extraClassName:v,hideHeader:W,isLoading:G,isMobileView:de,isOverlayPosition:"button"===T,isReturnFocus:K,mobileHeight:k,returnFocusNodeRef:ce.domReference,rounded:D,setA
1ctiveItemId:oe,setIsLoading:J,title:L,verticalPlacement:be,width:H,onCloseDropdown:ne,children:l})})})}):null]})}}}]);
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.