1System.register(["react/jsx-runtime","react","react-dom"],(function(p,Ep){"use strict";var f,Y,qe,re,M,Q,ve,me,j,H,Yn,G,oo,io,Xn,Ve,ft,tt,rn,Ht,so,ol,il;return{setters:[function(be){f=be.jsx,Y=be.jsxs,qe=be.Fragment},function(be){re=be.default,M=be.useRef,Q=be.useCallback,ve=be.useContext,me=be.createContext,j=be.useState,H=be.useMemo,Yn=be.useLayoutEffect,G=be.useEffect,oo=be.useReducer,io=be.createElement,Xn=be.forwardRef,Ve=be.Children,ft=be.isValidElement,tt=be.cloneElement,rn=be,Ht=be.Fragment,so=be.Component},function(be){ol=be.flushSync,il=be.default}],execute:(function(){p({Menu:dp,MenuTrigger:mp,PopoverTrigger:Ns,RenderComp:w,SwanSSRProvider:ql,assignRef:yo,assignRefs:xe,className:_e,classNames:nr,composeEventHandlersUtil:gt,conditionalPropType:Tp,createClickOnEnterHandler:Ma,createClickOnSpaceHandler:es,createComponent:Cf,createKeyPressHandlers:La,createSwanGlobalObject:xo,createSwanVersionMetaTag:Co,deprecatedComponent:Le,deprecatedProp:xf,deprecatedPropValues:Pf,filterProps:Wi,getEnv:El,getKey:uo,getRootClassNames:Nl,getSameKeyValueMapForManifest:Ut,getSwanAssetFolderName:tr,getSwanAssetUrl:St,getSwanBaseUrl:Wr,getSwanFontRenderConfig:js,getSwanFontUrl:Tl,getSwanIconUrl:Pl,getSwanIllustrationUrl:Cl,getSwanImageUrl:xl,getSwanJsUrl:wl,getSwanScriptPolyfillUrl:So,getSwanStylesheetUrl:$l,getTokenCssVar:an,hasNestedStandardMode:os,isFunction:vo,isIterableSet:bo,isNonNullish:Gr,isNotProduction:Il,isNotTestOrProduction:go,isProduction:Bl,isResponsiveModifier:Qn,isSupportedTenant:Dl,isTestEnv:Fl,isValidStyleProperty:on,iterToSet:sn,manifestResolve:Xe,mergeIterables:kl,polyfillResolve:po,prefersReducedMotion:jr,processStyleProps:yt,renderElem:ka,renderWithRef:S,resetAutoId:hm,setAutoIdSignature:mm,swanStyleObjectFit:fo,useAccordionContext:ls,useAlertBoxContext:hs,useAnchorBarIsPinned:ps,useAnchorBarScroll:gs,useAsyncList:om,useBrowserClasses:um,useBrowserHistoryState:fm,useCollapsibleContext:ja,useControllableValue:bt,useDidImmutableValueChange:ns,useExpansionPackI18nContext:Ze,useFormFieldProps:Kt,useMap:Fr,useModalDialogContext:en,useModeExtractor:Va,useNonAnchorElementAsAnchor:dm,useNonButtonElementAsButton:cm,useNonNullishContext:Be,usePaginationContext:pp,useSelectionSetContext:Cs,useSelectionSetInputContext:qa,useSwanContext:Qt,useSwanHeadConfig:Mr,useTabsContext:Ar,useTransition:ss,waitForStyles:Al});const be=p("breakpoints",{xsStart:0,xsEnd:767,smStart:768,smEnd:1023,mdStart:1024,mdEnd:1439,lgStart:1440,lgEnd:1919,xlStart:1920}),zt=p("SWAN_BASE_CDN_URL","https://swan.prod.merch.vpsvc.com/"),lo=p("SWAN_BASE_URL_MAP",{default:{cdn:zt,s3:"https://vds-swan-prod.s3-eu-west-1.amazonaws.com/"},relative:"/swan/",vistaprint:{au:"https://www.vistaprint.com.au/swan/",at:"https://www.vistaprint.at/swan/",be:"https://www.vistaprint.be/swan/",ca:"https://www.vistaprint.ca/swan/",ch:"https://www.vistaprint.ch/swan/",com:"https://www.vistaprint.com/swan/",de:"https://www.vistaprint.de/swan/",dk:"https://www.vistaprint.dk/swan/",es:"https://www.vistaprint.es/swan/",fi:"https://www.vistaprint.fi/swan/",fr:"https://www.vistaprint.fr/swan/",ie:"https://www.vistaprint.ie/swan/",in:"https://www.vistaprint.in/swan/",it:"https://www.vistaprint.it/swan/",nl:"https://www.vistaprint.nl/swan/",no:"https://www.vistaprint.no/swan/",nz:"https://www.vistaprint.co.nz/swan/",pt:"https://www.vistaprint.pt/swan/",se:"https://www.vistaprint.se/swan/",sg:"https://www.vistaprint.sg/swan/",uk:"https://www.vistaprint.co.uk/swan/"}}),Fp=p("SWAN_BASE_URL_LIST",[...Object.values(lo.default),...Object.values(lo.vistaprint)]),Bp=[0,1,2,3,4,5,6,7,8,9,10,11,12,"0","1","2","3","4","5","6","7","8","9","10","11","12"];function sl(e){return e.replace(/([A-Z])([A-Z][a-z])/g,"$1-$2").replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/([a-zA-Z])([0-9]+)(?![a-z])/g,"$1-$2").toLowerCase()}function Ip(e){return`var(--${sl(e)})`}function an(e){if(!e)return"";const t=`--${sl(e)}`;if(typeof document<"u"){const n=document.querySelector('.swan[class*="swan-theme-"]');if(!n)return`var(${t})`;getComputedStyle(n).getPropertyValue(t).trim()||console.error(`[SWAN] getTokenCssVar() was called with an unknown token name "${e}" (\`${t}\` is not defined). Please make sure the token name is correct`)}return`var(${t})`}const Jn=p("stylePropertyPrefixes",{margin:"m",marginTop:"mt",marginRight:"mr",marginBottom:"mb",marginLeft:"ml",marginX:"mx",marginY:"my",padding:"p",paddingTop:"pt",paddingRight:"pr",paddingBottom:"pb",paddingLeft:"pl",paddingX:"px",paddingY:"py",backgroundColor:"bgc",visuallyHidden:"visually-hidden",textAlign:"text-align",textColor:"text-color",textAllCaps:"text-all-caps",fontWeight:"font-weight",fontSize:"text",fontFamily:"font",fontSkin:"font-skin",standardMode:"standard-mode",darkMode:"dark-mode",compactMode:"compact-mode",loadingShimmer:"loading-shimmer"}),kp={margin:!1,m:!1,marginTop:!1,mt:!1,marginRight:!1,mr:!1,marginBottom:!1,mb:!1,marginLeft:!1,ml:!1,marginX:!1,mx:!1,marginY:!1,my:!1,padding:!1,p:!1,paddingTop:!1,pt:!1,paddingRight:!1,pr:!1,paddingBottom:!1,pb:!1,paddingLeft:!1,pl:!1,paddingX:!1,px:!1,paddingY:!1,py:!1,backgroundColor:!1,bgc:!1,textAlign:!1,textAllCaps:!1,textColor:!1,fontWeight:!1,fontSize:!1,fontFamily:!1,fontSkin:!1,display:!1,standardMode:!1,darkMode:!1,compactMode:!1,overflow:!1,visuallyHidden:!1,loadingShimmer:!1},ll=p("styleValidProperties",new Set(Object.keys(kp))),co=p("responsiveModifierSet",new Set(["xs","sm","md","lg","xl"]));function on(e){return ll.has(e)}function Qn(e){return co.has(e)}function uo(e){return on(e)?Jn[e]||e:null}const Np=p("swanStyleObjectFitValues",["cover","contain","none","unset","fill"]);function fo(e){return e?`swan-image-fit-${e}`:null}const Rp=Bp.reduce((e,t)=>
1{const n=`SwanSemSpace${t}`;return n!=="SwanSemSpace0"?{...e,[t]:an(n)}:e},{0:an("SwanSemSpaceNone")}),Ye=p("ROOT_CLASSNAMES",{base:"swan",standardMode:`swan-${Jn.standardMode}`,darkMode:`swan-${Jn.darkMode}`,compactMode:`swan-${Jn.compactMode}`}),mo=p("SWAN_PUBLIC_ASSET_FOLDER","v3-assets"),Vr=p("SWAN_VERSION","3.41.1"),cl=p("SWAN_HASHED_FOLDER","v3"),dl=p("SWAN_VERSIONED_FOLDER","v3.41.1"),Lp=p("MARKETING_COLORS",{atlantic:"#16618c",black900:"#000000",caspian:"#204949",celtic:"#046240",darkGrey:"#5c5c5c",emerald:"#0a806b",graphite:"#313131",holiday:"#9a0202",holidayBeige1:"#ede3cf",holidayGreen1:"#50af60",holidayGreen2:"#06462E",holidayRed1:"#8b0d13",holidayRed2:"#8b0d13",kingfisher:"#017eb4",mediumGreen:"#318643",mediumGrey:"#dfdfdf",opal:"#c0e6df",platinum:"efefef",rio:"#99d3f3",rum:"#c94b2f",talavera:"#2b3b55",warmWhite:"#f6f6ec",white:"#ffffff"}),Mp=p("BACKGROUND_WITH_MODE",{standard:{standardMode:!0,darkMode:!0},info:{standardMode:!0,darkMode:!0},destructive:{standardMode:!0,darkMode:!0},strong:{standardMode:!0,darkMode:!0},accent:{standardMode:!0,darkMode:!0},promo:{standardMode:!0,darkMode:!0},help:{standardMode:!0,darkMode:!0},success:{standardMode:!0,darkMode:!0},warning:{standardMode:!0,darkMode:!0},error:{standardMode:!0,darkMode:!0},"surface-light-1":{standardMode:!0,darkMode:!1},"surface-dark-1":{standardMode:!1,darkMode:!0},"surface-dark-2":{standardMode:!1,darkMode:!0},sustainability:{standardMode:!0,darkMode:!0},"warm-white":{standardMode:!0,darkMode:!1},midnight:{standardMode:!1,darkMode:!0},fern:{standardMode:!1,darkMode:!0},black:{standardMode:!1,darkMode:!0},holiday:{standardMode:!1,darkMode:!0},"holiday-beige-1":{standardMode:!0,darkMode:!1},"holiday-green-1":{standardMode:!0,darkMode:!1},"holiday-green-2":{standardMode:!1,darkMode:!0},"holiday-red-1":{standardMode:!1,darkMode:!0},"holiday-red-2":{standardMode:!1,darkMode:!0},transparent:{standardMode:!0,darkMode:!0}}),ul={"da-dk":{name:"Danish (Denmark)"},"de-at":{name:"German (Austria)",derivedFrom:"de-de"},"de-ch":{name:"German (Switzerland)",derivedFrom:"de-de"},"de-de":{name:"German (Germany)"},"en-au":{name:"English (Australia)",derivedFrom:"en-gb"},"en-ca":{name:"English (Canada)",derivedFrom:"en-us"},"en-gb":{name:"English (UK)"},"en-ie":{name:"English (Ireland)",derivedFrom:"en-gb"},"en-in":{name:"English (India)",derivedFrom:"en-us"},"en-nz":{name:"English (New Zealand)",derivedFrom:"en-au"},"en-sg":{name:"English (Singapore)",derivedFrom:"en-au"},"en-us":{name:"English (US)"},"es-es":{name:"Spanish (Spain)"},"es-us":{name:"Spanish (US)"},"fi-fi":{name:"Finnish (Finland)"},"fr-be":{name:"French (Belgium)",derivedFrom:"fr-fr"},"fr-ca":{name:"French (Canada)"},"fr-ch":{name:"French (Switzerland)",derivedFrom:"fr-fr"},"fr-fr":{name:"French (France)"},"it-ch":{name:"Italian (Switzerland)",derivedFrom:"it-it"},"it-it":{name:"Italian (Italy)"},"nb-no":{name:"Norwegian (Bokm\xE5l)"},"nl-be":{name:"Dutch (Belgium)",derivedFrom:"nl-nl"},"nl-nl":{name:"Dutch (Netherlands)"},"pt-pt":{name:"Portuguese (Portugal)"},"sv-se":{name:"Swedish (Sweden)"}},fl=e=>
1e.toLowerCase(),ho=p("ALL_SUPPORTED_LOCALES",Object.keys(ul)),Ap=p("LOCALE_INHERITANCE",ho.reduce((e,t)=>{const n=ul[t];return"derivedFrom"in n&&n.derivedFrom!==void 0&&(e[t]=n.derivedFrom),e},{})),Kr=p("MANIFEST_IMAGES",{legalWarning:{hashed:"legal-warning.14e030436e9ab3e5a708ec3fb9d655a1.png",versioned:"legal-warning.png"}}),_r=p("MANIFEST_FONTS",{tiemposRegular2:{hashed:"tiempos-regular2.e4e5aee576677174d2fbcddb1caa0fd3.woff2",versioned:"tiempos-regular2.woff2"},robotoSlabRegular:{hashed:"roboto-slab-regular.1ff337f1742b74cf846d0bac50a16c3a.woff2",versioned:"roboto-slab-regular.woff2"},robotoSlabBold:{hashed:"roboto-slab-bold.9b677cb044d5d7835f70894a665110e1.woff2",versioned:"roboto-slab-bold.woff2"},robotoRegular:{hashed:"roboto-regular.4279528ce0e7dc28919e6f8ce5f0eaa5.woff2",versioned:"roboto-regular.woff2"},robotoBold:{hashed:"roboto-bold.10a07810f28f8ff9a071a88dc2255bbb.woff2",versioned:"roboto-bold.woff2"},redHatTextRegular:{hashed:"red-hat-text-regular.ba9ea916b1bda1967ebb11ce76dffe04.woff2",versioned:"red-hat-text-regular.woff2"},redHatTextBold:{hashed:"red-hat-text-bold.c87883e73d34404fc7b5aa45cbcbcaf1.woff2",versioned:"red-hat-text-bold.woff2"},outfitRegular:{hashed:"outfit-regular.23191c444b9e40528bdfc989d29560ea.woff2",versioned:"outfit-regular.woff2"},outfitBold:{hashed:"outfit-bold.6a0674c3b77b4d6c7d0a423c59740655.woff2",versioned:"outfit-bold.woff2"},graphicRegular2:{hashed:"graphic_regular2.7c96db81b23a97fd67cbeb7e7efad583.woff2",versioned:"graphic_regular2.woff2"},graphicRegular:{hashed:"graphic_regular.e694f50e9c3a4ee999da756a90b0e872.woff",versioned:"graphic_regular.woff"},graphicMedium2:{hashed:"graphic_medium2.3829398551b96ac319a48122465462c2.woff2",versioned:"graphic_medium2.woff2"},graphicMedium:{hashed:"graphic_medium.1e5761591bb4bdd7e1d6ef96bb7cef90.woff",versioned:"graphic_medium.woff"}}),Hr=p("MANIFEST_ILLUSTRATIONS",{success:{hashed:"success.ee8dd462350f3598477e5ee81c0315c6.png",versioned:"success.png"},search:{hashed:"search.82fbc13bf809c54d18d56b05ed27479f.png",versioned:"search.png"},orders:{hashed:"orders.bd590b57579864f9d4c75e2a0d39a8e8.png",versioned:"orders.png"},myProjects:{hashed:"myProjects.4b2021e559f64e486bf639713f0cd9ef.png",versioned:"myProjects.png"},liveChat:{hashed:"liveChat.4a5f752113fbf8850f596cb3b6562701.png",versioned:"liveChat.png"},generic:{hashed:"generic.f7bb7d8c61ea6b096d6bc42c4c773a95.png",versioned:"generic.png"},error:{hashed:"error.560f86dcd0824bb242c4f0ccdb79abb1.png",versioned:"error.png"},designServices:{hashed:"designServices.32272965be487e0b51e965535b66bf06.png",versioned:"designServices.png"},cart:{hashed:"cart.418e6b99048d6fd8dfd60e38e3b01e23.png",versioned:"cart.png"},canvas:{hashed:"canvas.41fa0e4cf3e094e40b6f50fbeba06432.png",versioned:"canvas.png"},brief:{hashed:"brief.023d3e24edc545a0006e3f9932d38811.png",versioned:"brief.png"},brandKit:{hashed:"brand-kit.14454e2f49f5d15d8a7ab5acd36d988e.png",versioned:"brand-kit.png"}}),zr=p("MANIFEST_ICONS",{zoomOut:{hashed:"zoom_out.772f954aa8914b78937e25fe5c2cdfd8.svg",versioned:"zoom_out.svg"},zoomIn:{hashed:"zoom_in.44cbb4a3b06e4169f1386e72da3911ac.svg",versioned:"zoom_in.svg"},workWithAPro:{hashed:"work_with_a_pro.54f00512b71a6a5080a43705e091f527.svg",versioned:"work_with_a_pro.svg"},wayfinding:{hashed:"wayfinding.ce93b403912bfb4730823374bd542d5d.svg",versioned:"wayfinding.svg"},warning:{hashed:"warning.59db9627694bfe6101a22e466beda2ec.svg",versioned:"warning.svg"},view:{hashed:"view.cde626e3b4cc870cb4eb31e03135b6a4.svg",versioned:"view.svg"},videoChat:{hashed:"video_chat.20db5d5043da6b92953bcd33e02b8286.svg",versioned:"video_chat.svg"},video:{hashed:"video.8742f04d4d7cbf470a062f4aea4421bb.svg",versioned:"video.svg"},vertical:{hashed:"vertical.b2513c98c5c5a483182454922f648d24.svg",versioned:"vertical.svg"},users:{hashed:"users.403146c560eae655e220bf46614b9684.svg",versioned:"users.svg"},uploadYourArtwork:{hashed:"upload_your_artwork.f828fbaa5cab5380b5b8cb16ff60c6f2.svg",versioned:"upload_your_artwork.svg"},upload:{hashed:"upload.16020141fa68d29928c4178fb86f8461.svg",versioned:"upload.svg"},unlock:{hashed:"unlock.9c607a81c446a9ab7f929a81e24c7823.svg",versioned:"unlock.svg"},ungroup:{hashed:"ungroup.1c6001d3798e91f3655ddab44009ba3a.svg",versioned:"ungroup.svg"},undo:{hashed:"undo.b8357da76287a3a049acec979833211b.svg",versioned:"undo.svg"},twoSide:{hashed:"two_side.943e5e5fb33feb2e153eed9329b8532f.svg",versioned:"two_side.svg"},toggleOff:{hashed:"toggle_off.fb1740b0b9ebc115410008bd018c43ee.svg",versioned:"toggle_off.svg"},time:{hashed:"time.6f71e935ecaacf125909505fb73170bc.svg",versioned:"time.svg"},text:{hashed:"text.130b2316a85bd49520ae2220e99f6e6b.svg",versioned:"text.svg"},templates:{hashed:"templates.ae9361c412e0c034b57a131b12255f18.svg",versioned:"templates.svg"},tables:{hashed:"tables.c8fb909e00a7afd80fcb82568d49b07b.svg",versioned:"tables.svg"},sustainability:{hashed:"sustainability.2447ef23b894d7f40d60b6e1e4190386.svg",versioned:"sustainability.svg"},success:{hashed:"success.4fdf44249cfeb9e69cddd08e9d82880a.svg",versioned:"success.svg"},straight:{hashed:"straight.9ac96cd9dcb289d0ef037696a472bb1c.svg",versioned:"straight.svg"},starFilled:{hashed:"star_filled.dfbd6306d615c1f4dd047cfec17af079.svg",versioned:"star_filled.svg"},starEmpty:{hashed:"star_empty.ed760cd6952477b481de5e4a2532a485.svg",versioned:"star_empty.svg"},star:{hashed:"star.ed760cd6952477b481de5e4a2532a485.svg",versioned:"star.svg"},standard:{hashed:"standard.df3d1b7a4ad0d3e6bbe03a77abe7508c.svg",versioned:"standard.svg"},square:{hashed:"square.ea8ef17812e6139b4f7c9190e2df27a5.svg",versioned:"square.svg"},sparkle:{hashed:"sparkle.f96d8f23d25c94848faad3002d02b45e.svg",versioned:"sparkle.svg"},soundOn:{hashed:"sound_on.60eb97dadfa9e4e4ae73dfbff5c58932.svg",versioned:"sound_on.svg"},soundOff:{hashed:"sound_off.a1c9606816de37286cbed1ff37bdc3ae.svg",versioned:"sound_off.svg"},socialMediaTemplates:{hashed:"social_media_templates.494dfd7304cb6bb1bab96c452c7dbda5.svg",versioned:"social_media_templates.svg"},slightCurveUp:{hashed:"slight_curve_up.2433ebf5e29258caae71b145058e0b1a.svg",versioned:"slight_curve_up.svg"},slightCurveDown:{hashed:"slight_curve_down.b06d47e3a0f449493351278c39401701.svg",versioned:"slight_curve_down.svg"},shuffle:{hashed:"shuffle.83ade9f438e4e88cb4e9a3263d8ed22d.svg",versioned:"shuffle.svg"},shoppingBag_0:{hashed:"shopping_bag_0.f7b2f931ecb99b3104d83a4d51238ec1.svg",versioned:"shopping_bag_0.svg"},shop:{hashed:"shop.d2606a4a04aad44caaf42ce184acad71.svg",versioned:"shop.svg"},share:{hashed:"share.6c8e1f9f19a7384242ceb4f5b739c468.svg",versioned:"share.svg"},shapes:{hashed:"shapes.f714c63cf96bc6a4c0e2414e9407a7ca.svg",versioned:"shapes.svg"},settings:{hashed:"settings.fb3ec5cd331d1bc51a38e69112c5b0bd.svg",versioned:"settings.svg"},sendToBack:{hashed:"send_to_back.d830f35a61f7fd753a6df96421452ecd.svg",versioned:"send_to_back.svg"},send:{hashed:"send.2adc9f9f3602926ab723cb46b76bede1.svg",versioned:"send.svg"},secure:{hashed:"secure.f1f07e94179562e17eae796bd9406a6e.svg",versioned:"secure.svg"},search:{hashed:"search.0ed88af2d9772071041f88a0eb491cc0.svg",versioned:"search.svg"},searchLarge:{hashed:"search-large.0ed88af2d9772071041f88a0eb491cc0.svg",versioned:"search-large.svg"},saveAsCopy:{hashed:"save_as_copy.1081e62f8a41e5ec4e58aeef55bcced5.svg",versioned:"save_as_copy.svg"},save:{hashed:"save.714e2e1b4374a6b48c6daaa47769bba5.svg",versioned:"save.svg"},satisfaction:{hashed:"satisfaction.735a8072023e16d5e732462e061dbc52.svg",versioned:"satisfaction.svg"},samples:{hashed:"samples.31c9e8f3260656f743cda79d5ae5327a.svg",versioned:"samples.svg"},roundedCorners:{hashed:"rounded_corners.8cb7744027ae299d92ed7b29b451d0da.svg",versioned:"rounded_corners.svg"},rotateOrientation:{hashed:"rotate_orientation.3e61dc5f64bde57ab7684d3c679cee80.svg",versioned:"rotate_orientation.svg"},rotate:{hashed:"rotate.dc9ba37f20867298483890bea40ec063.svg",versioned:"rotate.svg"},resize:{hashed:"resize.d3c7903f2db5c5d38f4191a6bb2c74f8.svg",versioned:"resize.svg"},reset:{hashed:"reset.6c7c15742e9d9096a69e8fc600b9e55e.svg",versioned:"reset.svg"},replace:{hashed:"replace.b67c76857a4f76638e66593ca63d4d22.svg",versioned:"replace.svg"},reorder:{hashed:"reorder.382d8844f1df9cb7e77efaa85cc119dc.svg",versioned:"reorder.svg"},removeColor:{hashed:"remove_color.63db0f89c9b1e62a7cbd94f8688d7fc2.svg",versioned:"remove_color.svg"},redo:{hashed:"redo.8740f23081f3076ecdfe80e69a211983.svg",versioned:"redo.svg"},recent:{hashed:"recent.bbc4030ee8d55ee4179fd580d27ff0a2.svg",versioned:"recent.svg"},rating:{hashed:"rating.c864416be85f5fdfe4c7003254929f9f.svg",versioned:"rating.svg"},qrCode:{hashed:"qr_code.c5ca5d4c6c814c1321a10f8b8bd1d6a5.svg",versioned:"qr_code.svg"},promoCode:{hashed:"promo_code.c753ca0fc9ed82caef63ef844214f60a.svg",versioned:"promo_code.svg"},promo:{hashed:"promo.f603ea598ef2ce6e58d71588aa3e4532.svg",versioned:"promo.svg"},proShop:{hashed:"pro_shop.3d01c9d116e1dafec4c66a31da083204.svg",versioned:"pro_shop.svg"},proAdvantage:{hashed:"pro_advantage.7004fa707921d0604ce3bf5ea848b730.svg",versioned:"pro_advantage.svg"},printedProducts:{hashed:"printed_products.6897631f46fb4c16cc61f9003779a606.svg",versioned:"printed_products.svg"},priceTag:{hashed:"price_tag.2865552069c2d205f116b4f7a5f76eba.svg",versioned:"price_tag.svg"},preview:{hashed:"preview.e720508c5a83409357ad48d82fbcee6a.svg",versioned:"preview.svg"},postcardMailingService:{hashed:"postcard_mailing_service.ceaa084c2010fabab0d566dad79df1fa.svg",versioned:"postcard_mailing_service.svg"},polish:{hashed:"polish.f96d8f23d25c94848faad3002d02b45e.svg",versioned:"polish.svg"},plusRounded:{hashed:"plus_rounded.724bc0953885f55e578529370a4963db.svg",versioned:"plus_rounded.svg"},plus:{hashed:"plus.dca40afd7a81c95c718176a04a4fba83.svg",versioned:"plus.svg"},playRounded:{hashed:"play_rounded.4e89da2fd7bf849d7da87afc18ca7acf.svg",versioned:"play_rounded.svg"},play:{hashed:"play.b5e69b7530b3ce98603b57255f01d66b.svg",versioned:"play.svg"},phoneCall:{hashed:"phone_call.ccb32b1b8a67ae171ab7979615d1c9ec.svg",versioned:"phone_call.svg"},phone:{hashed:"phone.e2d8fff5c99f40dc6096bc97d3c2e04b.svg",versioned:"phone.svg"},personal:{hashed:"personal.75101f0d874807395bf60ef32853e412.svg",versioned:"personal.svg"},pause:{hashed:"pause.3d061da5be91b9aeb6c9ecd75b3ed0e0.svg",versioned:"pause.svg"},passwordShow:{hashed:"password_show.43a1049a1dbdf167774db390fa3aad4e.svg",versioned:"password_show.svg"},passwordHide:{hashed:"password_hide.ccdb78b5e46b477c11cb8c1b90d7ba4f.svg",versioned:"password_hide.svg"},orders:{hashed:"orders.c4a3fe86c741794e74e677cd931c2b5b.svg",versioned:"orders.svg"},orderSearch:{hashed:"order_search.89e10056a3909f0afbb6c86a537087f0.svg",versioned:"order_search.svg"},orderHistory:{hashed:"order_history.6f71e935ecaacf125909505fb73170bc.svg",versioned:"order_history.svg"},numericList:{hashed:"numeric_list.5852a43c04a98b7bd9099c15cb187488.svg",versioned:"numeric_list.svg"},notificationsOn:{hashed:"notifications_on.ced4e43a86aa62a4cd94b4e95584a5a0.svg",versioned:"notifications_on.svg"},notificationsOff:{hashed:"notifications_off.d445685efaa56b95f6229849cdf66a0b.svg",versioned:"notifications_off.svg"},myProjects_1:{hashed:"my_projects_1.1f85d56667aa2820f6f351ab52be2c5e.svg",versioned:"my_projects_1.svg"},myProjects:{hashed:"my_projects.1f85d56667aa2820f6f351ab52be2c5e.svg",versioned:"my_projects.svg"},myDigitalMarketing:{hashed:"my_digital_marketing.b55e9ba01aed17c656d4d64f98e9c88c.svg",versioned:"my_digital_marketing.svg"},moreHorizontal:{hashed:"more_horizontal.3e2b5c399d3a86d8bd44fbf64417b754.svg",versioned:"more_horizontal.svg"},more:{hashed:"more.3e2b5c399d3a86d8bd44fbf64417b754.svg",versioned:"more.svg"},minus:{hashed:"minus.94a34251d9afd3b3e1100bea6828924c.svg",versioned:"minus.svg"},menu:{hashed:"menu.4a6ffcab2bb3f40ccaf420db3ec79273.svg",versioned:"menu.svg"},mailingServiceAdded:{hashed:"mailing_service_added.4e0fd3b81daf3a7206cc64debc012b92.svg",versioned:"mailing_service_added.svg"},mailingService:{hashed:"mailing_service.4e0fd3b81daf3a7206cc64debc012b92.svg",versioned:"mailing_service.svg"},mail:{hashed:"mail.bf52df695c673a49a874d2c0c6a8c2e1.svg",versioned:"mail.svg"},magic:{hashed:"magic.153e580abc3ed0a5387cd5881000653a.svg",versioned:"magic.svg"},logomaker:{hashed:"logomaker.e94e4e9da98348e967dd160b4cb869ef.svg",versioned:"logomaker.svg"},logo:{hashed:"logo.d2627cf638817398d9c7a220b578d516.svg",versioned:"logo.svg"},login:{hashed:"login.7e7f4793540a01cdedae0eb039b23b73.svg",versioned:"login.svg"},lock:{hashed:"lock.f1f07e94179562e17eae796bd9406a6e.svg",versioned:"lock.svg"},liveChat:{hashed:"live_chat.0c91b22f94451864870cbcfb132e04d6.svg",versioned:"live_chat.svg"},list:{hashed:"list.b965426971847782647117548f241db9.svg",versioned:"list.svg"},like:{hashed:"like.8d63c68e1fba0fe459673f8a3f875764.svg",versioned:"like.svg"},language:{hashed:"language.b05553f915fca4ab1dc14452d2318f8a.svg",versioned:"language.svg"},invoice:{hashed:"invoice.22647769391c29bb68837bfeef5e1e75.svg",versioned:"invoice.svg"},info:{hashed:"info.b64b18161f0d5f737b78d50f684fb742.svg",versioned:"info.svg"},indeterminate:{hashed:"indeterminate.94a34251d9afd3b3e1100bea6828924c.svg",versioned:"indeterminate.svg"},image:{hashed:"image.9450c651fb1053109493a08d371842b0.svg",versioned:"image.svg"},home:{hashed:"home.4c010b1f5f75365413a6a22317903861.svg",versioned:"home.svg"},helpQuery:{hashed:"help_query.ce0b6b79f3dfb2f803a739e0d11cd9fe.svg",versioned:"help_query.svg"},help:{hashed:"help.fdc652f2b42f86fcbb5ca03ad665ed60.svg",versioned:"help.svg"},heartFilled:{hashed:"heart_filled.0c3d3ca0c00759dbff686cf73bac3d6a.svg",versioned:"heart_filled.svg"},heartEmpty:{hashed:"heart_empty.e97b9f1a4398b515768606e0c1d640cb.svg",versioned:"heart_empty.svg"},heart:{hashed:"heart.e97b9f1a4398b515768606e0c1d640cb.svg",versioned:"heart.svg"},heading2:{hashed:"heading2.5022841455fc6b52577349003418b78a.svg",versioned:"heading2.svg"},heading1:{hashed:"heading1.c289c8aceabcab686249de59df697ae9.svg",versioned:"heading1.svg"},guaranteedSatisfaction:{hashed:"guaranteed_satisfaction.f5e5ab2db7017b26049c0bc0715f5247.svg",versioned:"guaranteed_satisfaction.svg"},group:{hashed:"group.fd3243b9d033d32bf27e409a3b5b64b6.svg",versioned:"group.svg"},fullDesign:{hashed:"full_design.c51e9e3edd8b007e6d0576bfb997ebb5.svg",versioned:"full_design.svg"},fullCurveUp:{hashed:"full_curve_up.239d57f4e6280516d451cf0f894c72d0.svg",versioned:"full_curve_up.svg"},fullCurveDown:{hashed:"full_curve_down.0973e086a6cca6beb49e4b92c2e0691e.svg",versioned:"full_curve_down.svg"},fold:{hashed:"fold.022fa28b4aedb08653b0015cc272dcca.svg",versioned:"fold.svg"},focus:{hashed:"focus.aff942f61f10a5cc3a3d5572d892269a.svg",versioned:"focus.svg"},finishes:{hashed:"finishes.6af2b578b973437eff401f6afd9f8a90.svg",versioned:"finishes.svg"},filter:{hashed:"filter.d2f0379c89b073e7856b4ba7c62b941c.svg",versioned:"filter.svg"},fill:{hashed:"fill.3f41b6ee7e30f264418c1393864d32ea.svg",versioned:"fill.svg"},fileSvg:{hashed:"file_svg.16f8058d7c7ed0e42331d2db625877be.svg",versioned:"file_svg.svg"},filePsd:{hashed:"file_psd.9e757548e32ce5b4d14e01f6c5cfc832.svg",versioned:"file_psd.svg"},filePng:{hashed:"file_png.8e53e2cf6ab9eb70a6afad94940f407a.svg",versioned:"file_png.svg"},filePdf:{hashed:"file_pdf.03a08a4f0cee7c1117281fa2422d3541.svg",versioned:"file_pdf.svg"},fileJpg:{hashed:"file_jpg.c0a31acdbb2c85542e4d0248c414964e.svg",versioned:"file_jpg.svg"},fileId:{hashed:"file_id.1f572927720563aa883e730914afc172.svg",versioned:"file_id.svg"},fileGeneric:{hashed:"file_generic.29b7e1fb6fe439dec9be97c8e86b0a64.svg",versioned:"file_generic.svg"},fileEps:{hashed:"file_eps.c98342689dcf7c3bebc56bed97a7d798.svg",versioned:"file_eps.svg"},fileAi:{hashed:"file_ai.6b2ee3dde56aa4862a94ff331e474c7f.svg",versioned:"file_ai.svg"},favoriteFilled:{hashed:"favorite_filled.0c3d3ca0c00759dbff686cf73bac3d6a.svg",versioned:"favorite_filled.svg"},favorite:{hashed:"favorite.7de47cb357fd9dbaf0a322421a845a9d.svg",versioned:"favorite.svg"},externalLink:{hashed:"external_link.8d1204bc8ee600749dd56b55d6a1f45b.svg",versioned:"external_link.svg"},expand:{hashed:"expand.01c08de3397a6ff0fc4e5887f42f1bb5.svg",versioned:"expand.svg"},error:{hashed:"error.a65ada8992e9179959b2a8ff63f54ae5.svg",versioned:"error.svg"},emoji:{hashed:"emoji.b84309c3e4afbe99caef3e7954ceb2f5.svg",versioned:"emoji.svg"},email:{hashed:"email.bf52df695c673a49a874d2c0c6a8c2e1.svg",versioned:"email.svg"},edit:{hashed:"edit.f25f12dc296c96d5a4dd9b4c3e7
133c20.svg",versioned:"edit.svg"},duplicate:{hashed:"duplicate.a55a46cafbe075caab0336ccee2ff418.svg",versioned:"duplicate.svg"},dragHandleVertical:{hashed:"drag_handle_vertical.fd177d527cfaacfac44e291b9b86be85.svg",versioned:"drag_handle_vertical.svg"},dragHandleHorizontal:{hashed:"drag_handle_horizontal.f6d74a894c4a9ad1c56ef28ff002b31d.svg",versioned:"drag_handle_horizontal.svg"},download:{hashed:"download.02a5cd26b21906d60814a54b58479a3c.svg",versioned:"download.svg"},dislike:{hashed:"dislike.b5bb5476f31ddd168546b223d3251ea5.svg",versioned:"dislike.svg"},dictation:{hashed:"dictation.74a482262c0cc5adb842d160cc8d9be5.svg",versioned:"dictation.svg"},designerMarketplace:{hashed:"designer_marketplace.b84309c3e4afbe99caef3e7954ceb2f5.svg",versioned:"designer_marketplace.svg"},designServices:{hashed:"design_services.54f7e70b3823619b021f367c1d4b6ddc.svg",versioned:"design_services.svg"},designEducation:{hashed:"design_education.d32adce91dd28cb8d7f95710ba6c9211.svg",versioned:"design_education.svg"},deliveryFast:{hashed:"delivery_fast.9995b46411cb13cd531483be2d0cd047.svg",versioned:"delivery_fast.svg"},delivery:{hashed:"delivery.3541aae92f3c5cf675b3fc0f9eed1f6d.svg",versioned:"delivery.svg"},deleteStudio:{hashed:"delete_studio.c5e398c71cc1b21c4c5b47f23b9722bc.svg",versioned:"delete_studio.svg"},delete:{hashed:"delete.c5e398c71cc1b21c4c5b47f23b9722bc.svg",versioned:"delete.svg"},customQuote:{hashed:"custom_quote.2472b7b09d9d8a2b51e4140b5e8b1d5a.svg",versioned:"custom_quote.svg"},cross:{hashed:"cross.fb1740b0b9ebc115410008bd018c43ee.svg",versioned:"cross.svg"},creditCard:{hashed:"credit_card.84db1f95c7099dc26f38218eeb6e399d.svg",versioned:"credit_card.svg"},copy:{hashed:"copy.1081e62f8a41e5ec4e58aeef55bcced5.svg",versioned:"copy.svg"},consumer:{hashed:"consumer.403146c560eae655e220bf46614b9684.svg",versioned:"consumer.svg"},collapse:{hashed:"collapse.9931b86eee1a48cc87a6dea0cb0ee88e.svg",versioned:"collapse.svg"},closedCaptionsOn:{hashed:"closed_captions_on.4ad1515ad144cddbfb6683a787dccbc5.svg",versioned:"closed_captions_on.svg"},closedCaptionsOff:{hashed:"closed_captions_off.126a20a4921eb5e01a4c9cc3df68d04c.svg",versioned:"closed_captions_off.svg"},closeSmall:{hashed:"close_small.fb1740b0b9ebc115410008bd018c43ee.svg",versioned:"close_small.svg"},closeLarge:{hashed:"close_large.fb1740b0b9ebc115410008bd018c43ee.svg",versioned:"close_large.svg"},close:{hashed:"close.fb1740b0b9ebc115410008bd018c43ee.svg",versioned:"close.svg"},clock:{hashed:"clock.6f71e935ecaacf125909505fb73170bc.svg",versioned:"clock.svg"},clear:{hashed:"clear.f1beeafd15a60ed278c031d3856d2f21.svg",versioned:"clear.svg"},chevronRight:{hashed:"chevron_right.03024c5bbf0f27c7e12edb1bc4160f84.svg",versioned:"chevron_right.svg"},chevronLeft:{hashed:"chevron_left.90be720a8f305e3b49f47f416f251c3d.svg",versioned:"chevron_left.svg"},checkRoundedEdgesMini:{hashed:"check_rounded_edges_mini.f40333dc3e38ee20800b3d79994563c7.svg",versioned:"check_rounded_edges_mini.svg"},checkRoundedEdges:{hashed:"check_rounded_edges.f40333dc3e38ee20800b3d79994563c7.svg",versioned:"check_rounded_edges.svg"},check:{hashed:"check.f40333dc3e38ee20800b3d79994563c7.svg",versioned:"check.svg"},chatReview:{hashed:"chat_review.b96a6859c3a9cb59b5e7956bf45de490.svg",versioned:"chat_review.svg"},cart:{hashed:"cart.f7b2f931ecb99b3104d83a4d51238ec1.svg",versioned:"cart.svg"},caretUp:{hashed:"caret_up.d99f975b21275ab43bea547989410e0e.svg",versioned:"caret_up.svg"},caretRight:{hashed:"caret_right.03024c5bbf0f27c7e12edb1bc4160f84.svg",versioned:"caret_right.svg"},caretDown:{hashed:"caret_down.53c278384addd2ae1c7c7d02d77d0cd3.svg",versioned:"caret_down.svg"},cancel:{hashed:"cancel.58ce91bac998ea1ce1ce306b653deea6.svg",versioned:"cancel.svg"},calendar:{hashed:"calendar.bf08dd009a96c4db872ba2cb2549fddb.svg",versioned:"calendar.svg"},business:{hashed:"business.f2b4146dbea2f8969846665e5ae47766.svg",versioned:"business.svg"},browseDesigns:{hashed:"browse_designs.b4620fac13a93ee4c9d6e8129513aa06.svg",versioned:"browse_designs.svg"},bringToFront:{hashed:"bring_to_front.ed06f373ee7988d4060cd2c7ccaf326e.svg",versioned:"bring_to_front.svg"}
1,brandKit:{hashed:"brand_kit.6c998c91ea890c8537a401f4627ee188.svg",versioned:"brand_kit.svg"},bodyText:{hashed:"body_text.47ee6a806fb99a670d74ac1b7e0d3400.svg",versioned:"body_text.svg"},award:{hashed:"award.ff86c29166d814c2aa13e8f67d7f333f.svg",versioned:"award.svg"},attachment:{hashed:"attachment.66bb02d13be13ec4f8431b4f03f280e1.svg",versioned:"attachment.svg"},article:{hashed:"article.d32adce91dd28cb8d7f95710ba6c9211.svg",versioned:"article.svg"},arrowRight:{hashed:"arrow_right.7e7f4793540a01cdedae0eb039b23b73.svg",versioned:"arrow_right.svg"},arrowLeft:{hashed:"arrow_left.4e6fd6c30f4c04743c1188029c049a77.svg",versioned:"arrow_left.svg"},arrowUp:{hashed:"arrow-up.a4bd00282b448cc5a182766b4e257578.svg",versioned:"arrow-up.svg"},arrowDown:{hashed:"arrow-down.c412460f044ef5ed990e8a6d221bc39d.svg",versioned:"arrow-down.svg"},alignRight:{hashed:"align_right.93c2928fa80a89d984b92bebaf35b5b6.svg",versioned:"align_right.svg"},alignLeft:{hashed:"align_left.11f078727683d0eaa0b44de547fd5cac.svg",versioned:"align_left.svg"},alignCenter:{hashed:"align_center.e526003496a42e0508da937bd71344f3.svg",versioned:"align_center.svg"},aiSupport:{hashed:"ai_support.85622cb66f01154cd6859333d6e166ea.svg",versioned:"ai_supp
1ort.svg"},ai:{hashed:"ai.153e580abc3ed0a5387cd5881000653a.svg",versioned:"ai.svg"},add:{hashed:"add.724bc0953885f55e578529370a4963db.svg",versioned:"add.svg"},account:{hashed:"account.7e51e8b40a59ee440b6e1db5012789aa.svg",versioned:"account.svg"}}),Ur=p("MANIFEST_JS",{toggleSwitch:{hashed:"toggle-switch.b959553da98ffd9165e17db01e5b22d5.min.js",versioned:"toggle-switch.min.js"},tabs:{hashed:"tabs.9b00075085a9d21ac770004da98cec57.min.js",versioned:"tabs.min.js"},progressiveImage:{hashed:"progressive-image.cc3b911f4711e1b6adf0f01b23ccc149.min.js",versioned:"progressive-image.min.js"},progress:{hashed:"progress.950a9e90782b06532045448a3d4a7fb5.min.js",versioned:"progress.min.js"},popover:{hashed:"popover.850c897de9883b0d6e8b2a541e063b86.min.js",versioned:"popover.min.js"},modalDialog:{hashed:"modal-dialog.7bbd43a03630c1994632804d40140972.min.js",versioned:"modal-dialog.min.js"},core:{hashed:"core.bec0760e9fcda2003e8ae9357cd477ec.min.js",versioned:"core.min.js"},alertBox:{hashed:"alert-box.59c5c15fc3f789a64155ba4d88a701c3.min.js",versioned:"alert-box.min.js"},accordion:{hashed:"accordion.f8968d81b09206055855244a0a432d92.min.js",versioned:"accordion.min.js"}}),er=p("MANIFEST_STYLES",{utility:{hashed:"utility.da68a3765a857ff8c1d675008a4d6bfe.min.css",versioned:"utility.min.css"},core:{hashed:"core.d4aa415245f8b1f119cd388cfd024667.min.css",versioned:"core.min.css"},coreOmitVistaprint:{hashed:"core-omit-vistaprint.d4f9e62e2960b228ed0e8ff45aec91b2.min.css",versioned:"core-omit-vistaprint.min.css"},zoomableImage:{hashed:"zoomable-image.28a15385025f2009f6a2b81fd3fc3117.min.css",versioned:"zoomable-image.min.css"},zoomControls:{hashed:"zoom-controls.5303bf9c697e5470628775811317dd51.min.css",versioned:"zoom-controls.min.css"},visible:{hashed:"visible.388bb400607befa65ff09c5a81d28b7f.min.css",versioned:"visible.min.css"},toggleSwitch:{hashed:"toggle-switch.36e889bc3954a14e0091e9ba5d5a6114.min.css",versioned:"toggle-switch.min.css"},thumbnailsHero:{hashed:"thumbnails-hero.6cccf0ef86d4f1faee5795febf7e6049.min.css",versioned:"thumbnails-hero.min.css"},tabs:{hashed:"tabs.1b5babc9a6c4cd5c513b84208bf90f8b.min.css",versioned:"tabs.min.css"},table:{hashed:"table.7c27fed48ffbdda179852ed258bbb101.min.css",versioned:"table.min.css"},stepIndicator:{hashed:"step-indicator.8ce88b871c02fb0ea6edc5c8b9617fc2.min.css",versioned:"step-indicator.min.css"},statusMessage:{hashed:"status-message.bb45f27130aa3bbbcb50e6fb7e5d6f62.min.css",versioned:"status-message.min.css"},standardTile:{hashed:"standard-tile.e24fb425dacbaed042c3df853b489249.min.css",versioned:"standard-tile.min.css"},spinner:{hashed:"spinner.d41d8cd98f00b204e9800998ecf8427e.min.css",versioned:"spinner.min.css"},selectionSet:{hashed:"selection-set.c1751e4f98c084623a6ce3b36bf34913.min.css",versioned:"selection-set.min.css"},ratingsStars:{hashed:"ratings-stars.4bed96f3340c8c237f91266555a080b1.min.css",versioned:"ratings-stars.min.css"},progressiveImage:{hashed:"progressive-image.f0a54c9123842f31dd3ce49ef0961118.min.css",versioned:"progressive-image.min.css"},progressBar:{hashed:"progress-bar.9ed59ed4ed19ef67c767bc6a2c72d2db.min.css",versioned:"progress-bar.min.css"},pricing:{hashed:"pricing.d41d8cd98f00b204e9800998ecf8427e.min.css",versioned:"pricing.min.css"},priceBar:{hashed:"price-bar.c59632fef7af9057aa13a38cfb877f88.min.css",versioned:"price-bar.min.css"},popover:{hashed:"popover.38f340c2c51fd130ce69ca81edd281bf.min.css",versioned:"popover.min.css"},pagination:{hashed:"pagination.02f5a29b85b6d9eeae50a8821c800184.min.css",versioned:"pagination.min.css"},modalDialog:{hashed:"modal-dialog.f83fb48676eea97852baa5dea64edde9.min.css",versioned:"modal-dialog.min.css"},listbox:{hashed:"listbox.116c22e843d90eb01e0ad044b749213e.min.css",versioned:"listbox.min.css"},lightbox:{hashed:"lightbox.8a1124919cade414039e2f79370fae22.min.css",versioned:"lightbox.min.css"},icon:{hashed:"icon.d41d8cd98f00b204e9800998ecf8427e.min.css",versioned:"icon.min.css"},hidden:{hashed:"hidden.90549d732670d4ba02fac0dc001a0bb8.min.css",versioned:"hidden.min.css"},grid:{hashed:"grid.fcb48a60f1205bb45b8ed8d06c06ce75.min.css",versioned:"grid.min.css"},fileTile:{hashed:"file-tile.b7356bf6c0e9511fc15b0a0cf52f5117.min.css",versioned:"file-tile.min.css"},fileDropzone:{hashed:"file-dropzone.25fdb99626ebc39a359b3c1a8174b7f1.min.css",versioned:"file-dropzone.min.css"},fieldSet:{hashed:"field-set.d41d8cd98f00b204e9800998ecf8427e.min.css",versioned:"field-set.min.css"},emptyState:{hashed:"empty-state.ec1d487c7239d6d21361709bc3810948.min.css",versioned:"empty-state.min.css"},datePicker:{hashed:"date-picker.82cd2eb5e1f13c83ec2950389e844883.min.css",versioned:"date-picker.min.css"},carousel:{hashed:"carousel.2483833db17b2474a4f486c960bf0a30.min.css",versioned:"carousel.min.css"},button:{hashed:"button.d41d8cd98f00b204e9800998ecf8427e.min.css",versioned:"button.min.css"},baseTile:{hashed:"base-tile.964be2fd921ab1b5faa59fc00cac65d0.min.css",versioned:"base-tile.min.css"},banner:{hashed:"banner.7f8b4ddbc51500535aa8e3e59ea1510c.min.css",versioned:"banner.min.css"},avatar:{hashed:"avatar.98742329cd28aaf8e8992afe35830560.min.css",versioned:"avatar.min.css"},anchorBar:{hashed:"anchor-bar.9a98ca69b9e392d9cf6b7bd105dd38d6.min.css",versioned:"anchor-bar.min.css"},alertBox:{hashed:"alert-box.0cf1ad3933e3851d8be3a1121167bcee.min.css",versioned:"alert-box.min.css"}
1,adaptiveCarousel:{hashed:"adaptive-carousel.940be3018778bb09561e711ad9279498.min.css",versioned:"adaptive-carousel.min.css"},accordion:{hashed:"accordion.581bfcfd7ec0847087dad8f818a7e0cf.min.css",versioned:"accordion.min.css"}}),ml=p("MANIFEST_ICONS_BRANDS",{}),hl=p("MANIFEST_ILLUSTRATIONS_BRANDS",{vistaprint:{success:{hashed:"success.b3e20e5c148826dc9c9aef81886b2551.png",versioned:"success.png"},search:{hashed:"search.e0a29535f6c39b8c36a0443916bab4d7.png",versioned:"search.png"},orders:{hashed:"orders.9949a658b5d5c622d79e64d8d9c9ef3d.png",versioned:"orders.png"},myProjects:{hashed:"myProjects.53c5cf35f0558e75bfd196639c74d28d.png",versioned:"myProjects.png"},liveChat:{hashed:"liveChat.208e20d88182705d838d1a63131534b8.png",versioned:"liveChat.png"},generic:{hashed:"generic.f7bb7d8c61ea6b096d6bc42c4c773a95.png",versioned:"generic.png"},error:{hashed:"error.0905d81c1fcac74b226be7f452e700d5.png",versioned:"error.png"},designServices:{hashed:"designServices.c34d0bb4b567ff8902a4f752e9a1b42a.png",versioned:"designServices.png"},cart:{hashed:"cart.18615cc74704cae1de302cffb567c881.png",versioned:"cart.png"},canvas:{hashed:"canvas.53ec3121438c526a285d2d5392a31aa9.png",versioned:"canvas.png"},brief:{hashed:"brief.6daa55f571692bd8d143ddac3f96f747.png",versioned:"brief.png"},brandKit:{hashed:"brand-kit.ece7c5bcd3db1347a6d86497a28f3cea.png",versioned:"brand-kit.png"}}}),pl=p("tokensRaw",{SwanBaseBorderRadius0:"0px",SwanBaseBorderRadius100:"4px",SwanBaseBorderRadius200:"8px",SwanBaseBorderRadius300:"12px",SwanBaseBorderRadius400:"16px",SwanBaseBorderRadiusMax:"9999px",SwanBaseBorderWidth0:"0px",SwanBaseBorderWidth100:"1px",SwanBaseBorderWidth200:"2px",SwanBaseBorderWidth300:"3px",SwanBaseBreakpointXsStart:"0px",SwanBaseBreakpointXsEnd:"767px",SwanBaseBreakpointSmStart:"768px",SwanBaseBreakpointSmEnd:"1023px",SwanBaseBreakpointMdStart:"1024px",SwanBaseBreakpointMdEnd:"1439px",SwanBaseBreakpointLgStart:"1440px",SwanBaseBreakpointLgEnd:"1919px",SwanBaseBreakpointXlStart:"1920px",SwanBaseColorAccent1:"#F2F2F2",SwanBaseColorAccent2:"#BDBDBD",SwanBaseColorAccent3:"#000",SwanBaseColorTransparent:"transparent",SwanBaseColorBlack:"#000000",SwanBaseColorBlackOpacity10:"rgba(0, 0, 0, 0.05)",SwanBaseColorBlackOpacity20:"rgba(0, 0, 0, 0.09)",SwanBaseColorBlackOpacity30:"rgba(0, 0, 0, 0.17)",SwanBaseColorBlackOpacity40:"rgba(0, 0, 0, 0.26)",SwanBaseColorBlackOpacity50:"rgba(0, 0, 0, 0.39)",SwanBaseColorBlackOpacity60:"rgba(0, 0, 0, 0.49)",SwanBaseColorBlackOpacity70:"rgba(0, 0, 0, 0.58)",SwanBaseColorBlackOpacity80:"rgba(0, 0, 0, 0.69)",SwanBaseColorBlackOpacity90:"rgba(0, 0, 0, 0.77)",SwanBaseColorGrey100:"#f3f3f3",SwanBaseColorGrey200:"#e6e6e6",SwanBaseColorGrey300:"#d3d3d3",SwanBaseColorGrey400:"#c4c4c4",SwanBaseColorGrey500:"#9c9c9c",SwanBaseColorGrey600:"#838383",SwanBaseColorGrey700:"#6c6c6c",SwanBaseColorGrey800:"#505050",SwanBaseColorGrey900:"#3a3a3a",SwanBaseColorGrey950:"#1d1d1d",SwanBaseColorWhite:"#ffffff",SwanBaseColorWhiteOpacity10:"rgba(255,255,255,0.13)",SwanBaseColorWhiteOpacity20:"rgba(255,255,255,0.22)",SwanBaseColorWhiteOpacity30:"rgba(255,255,255,0.35)",SwanBaseColorWhiteOpacity40:"rgba(255,255,255,0.45)",SwanBaseColorWhiteOpacity50:"rgba(255,255,255,0.56)",SwanBaseColorWhiteOpacity60:"rgba(255,255,255,0.71)",SwanBaseColorWhiteOpacity70:"rgba(255,255,255,0.81)",SwanBaseColorWhiteOpacity80:"rgba(255,255,255,0.89)",SwanBaseColorWhiteOpacity90:"rgba(255,255,255,0.95)",SwanBaseColorRed100:"#FFEEEB",SwanBaseColorRed200:"#FFDFDB",SwanBaseColorRed300:"#FFC6BF",SwanBaseColorRed400:"#FFB1A5",SwanBaseColorRed500:"#F5765F",SwanBaseColorRed600:"#E84D2F",SwanBaseColorRed700:"#CC3011",SwanBaseColorRed800:"#952911",SwanBaseColorRed900:"#6B2110",SwanBaseColorYellow100:"#FFF1DE",SwanBaseColorYellow200:"#FFE2BD",SwanBaseColorYellow300:"#FFCA87",SwanBaseColorYellow400:"#FAA837",SwanBaseColorYellow500:"#E58325",SwanBaseColorYellow600:"#D4620B",SwanBaseColorYellow700:"#A94505",SwanBaseColorYellow800:"#86390C",SwanBaseColorYellow900:"#602B0D",SwanBaseColorGreen100:"#E2F8E7",SwanBaseColorGreen200:"#C8F0D1",SwanBaseColorGreen300:"#A2E2B3",SwanBaseColorGreen400:"#85D5A0",SwanBaseColorGreen500:"#3EAF79",SwanBaseColorGreen600:"#1B956B",SwanBaseColorGreen700:"#117A5E",SwanBaseColorGreen800:"#065B45",SwanBaseColorGreen900:"#044232",SwanBaseColorBlue100:"#E5F5FD",SwanBaseColorBlue200:"#C8EBFB",SwanBaseColorBlue300:"#9BDCF8",SwanBaseColorBlue400:"#6FD0F5",SwanBaseColorBlue500:"#2BA8E0",SwanBaseColorBlue600:"#1C8BC3",SwanBaseColorBlue700:"#0C72A9",SwanBaseColorBlue800:"#005484",SwanBaseColorBlue900:"#003D62",SwanBaseColorNavy100:"#F2F3F4",SwanBaseColorNavy200:"#E5E6EA",SwanBaseColorNavy300:"#D2D3DA",SwanBaseColorNavy400:"#C1C3CC",SwanBaseColorNavy500:"#979CAA",SwanBaseColorNavy600:"#7D8394",SwanBaseColorNavy700:"#656B80",SwanBaseColorNavy800:"#474F67",SwanBaseColorNavy900:"#2F3A53",SwanBaseColorNeutral1:"rgba(0, 0, 0, 0.05)",SwanBaseColorNeutral2:"rgba(0, 0, 0, 0.26)",SwanBaseColorNeutral3:"rgba(0, 0, 0, 0.58)",SwanBaseColorError1:"#FFEEEB",SwanBaseColorError2:"#FFA497",SwanBaseColorError3:"#CC3011",SwanBaseColorDestructive1:"#FFEEEB",SwanBaseColorDestructive2:"#FFA497",SwanBaseColorDestructive3:"#CC3011",SwanBaseColorWarning1:"#FFF1DE",SwanBaseColorWarning2:"#FAA837",SwanBaseColorWarning3:"#B94F07",SwanBaseColorHelp1:"#FFF1DE",SwanBaseColorHelp2:"#FAA837",SwanBaseColorHelp3:"#B94F07",SwanBaseColorSuccess1:"#E2F8E7",SwanBaseColorSuccess2:"#77CE97",SwanBaseColorSuccess3:"#117A5E",SwanBaseColorPromo1:"#E2F8E7",SwanBaseColorPromo2:"#77CE97",SwanBaseColorPromo3
1:"#117A5E",SwanBaseColorInfo1:"#EEF2F9",SwanBaseColorInfo2:"#ACBCE0",SwanBaseColorInfo3:"#2F3A53",SwanBaseFontFamilyPrimary:"system-ui, sans-serif",SwanBaseFontFamilySecondary:"system-ui, serif",SwanBaseFontLetterSpacing100:"0em",SwanBaseFontLetterSpacing200:"0.005em",SwanBaseFontLetterSpacing300:"0.01em",SwanBaseFontLetterSpacing025:"-0.03em",SwanBaseFontLetterSpacing050:"-0.02em",SwanBaseFontLetterSpacing075:"-0.01em",SwanBaseFontLineHeight100:1.1,SwanBaseFontLineHeight200:1.2,SwanBaseFontLineHeight300:1.3,SwanBaseFontLineHeight400:1.4,SwanBaseFontLineHeight500:1.5,SwanBaseFontLineHeight075:.9,SwanBaseFontSize100:"16px",SwanBaseFontSize200:"18px",SwanBaseFontSize300:"20px",SwanBaseFontSize400:"24px",SwanBaseFontSize500:"28px",SwanBaseFontSize600:"32px",SwanBaseFontSize700:"36px",SwanBaseFontSize800:"42px",SwanBaseFontSize900:"48px",SwanBaseFontSize1000:"64px",SwanBaseFontSize050:"12px",SwanBaseFontSize075:"14px",SwanBaseFontWeightNormal:"400",SwanBaseFontWeightBold:"700",SwanBaseSpace0:"0px",SwanBaseSpace100:"8px",SwanBaseSpace150:"12px",SwanBaseSpace200:"16px",SwanBaseSpace300:"24px",SwanBaseSpace400:"32px",SwanBaseSpace550:"44px",SwanBaseSpace700:"56px",SwanBaseSpace900:"72px",SwanBaseSpace1200:"96px",SwanBaseSpace1600:"128px",SwanBaseSpace025:"2px",SwanBaseSpace050:"4px",SwanBaseSpace075:"6px",SwanSemBorderRadiusNone:"0px",SwanSemBorderRadiusSubtle:"4px",SwanSemBorderRadiusStandard:"8px",SwanSemBorderRadiusStrong:"16px",SwanSemBorderRadiusRounded:"9999px",SwanSemBorderRadiusFocus:"4px",SwanSemBorderRadiusAction:"8px",SwanSemBorderRadiusInput:"8px",SwanSemBorderRadiusContainer:"16px",SwanSemBorderWidthNone:"0px",SwanSemBorderWidthStandard:"1px",SwanSemBorderWidthStrong:"2px",SwanSemBorderWidthStronger:"2px",SwanSemBorderWidthInput:"1px",SwanSemBorderWidthAction:"1px",SwanSemBorderWidthPartition:"1px",SwanSemBorderWidthFloating:"1px",SwanSemBorderWidthSelected:"2px",SwanSemColorBgNone:"transparent",SwanSemColorBgStandard:"#ffffff",SwanSemColorBgStrong:"#F3F3F3",SwanSemColorBgDisabled:"#e6e6e6",SwanSemColorBgSelected:"#000000",SwanSemColorBgSelectedAccent:"#BDBDBD",SwanSemColorBgSelectedBlue:"#F2F2F2",SwanSemColorBgSelectedStrongPaired:"#000",SwanSemColorBgAccent:"#F2F2F2",SwanSemColorBgAccentStrongPaired:"#BDBDBD",SwanSemColorBgError:"#FFEEEB",SwanSemColorBgErrorStrongPaired:"#CC3011",SwanSemColorBgWarning:"#FFF1DE",SwanSemColorBgWarningStrongPaired:"#FAA837",SwanSemColorBgSuccess:"#E2F8E7",SwanSemColorBgSuccessStrongPaired:"#117A5E",SwanSemColorBgPromo:"#E2F8E7",SwanSemColorBgPromoStrongPaired:"#117A5E",SwanSemColorBgHelp:"#FFF1DE",SwanSemColorBgHelpStrongPaired:"#FAA837",SwanSemColorBgInfo:"#EEF2F9",SwanSemColorBgInfoStrongPaired:"#2F3A53",SwanSemColorBgDestructive:"#FFEEEB",SwanSemColorBgDestructiveStrongPaired:"#CC3011",SwanSemColorBgSustainability:"#E3F5FF",SwanSemColorBgAction:"#ffffff",SwanSemColorBgControl:"#ffffff",SwanSemColorBgInput:"#ffffff",SwanSemColorBgContainer:"#ffffff",SwanSemColorBgPage:"#ffffff",SwanSemColorBgHover:"#ffffff",SwanSemColorBgActive:"#ffffff",SwanSemColorBgBrandPaired:"#3A3A3A",SwanSemColorBgSurfaceLight1:"#F2F2F2",SwanSemColorBgSurfaceDark1:"#ffffff",SwanSemColorBgSurfaceDark2:"#ffffff",SwanSemColorBgNoneHover:"transparent",SwanSemColorBgNoneActive:"transparent",SwanSemColorBgStandardHover:"#ffffff",SwanSemColorBgStandardActive:"#ffffff",SwanSemColorBgStrongHover:"#F3F3F3",SwanSemColorBgStrongActive:"#F3F3F3",SwanSemColorBgSelectedHover:"#000000",SwanSemColorBgSelectedActive:"#000000",SwanSemColorBgSelectedAccentHover:"#BDBDBD",SwanSemColorBgSelectedAccentActive:"#BDBDBD",SwanSemColorBgSelectedBlueHover:"#F2F2F2",SwanSemColorBgSelectedBlueActive:"#F2F2F2",SwanSemColorBgSelectedStrongHoverPaired:"#000",SwanSemColorBgSelectedStrongActivePaired:"#000",SwanSemColorBgAccentStrongHoverPaired:"#BDBDBD",SwanSemColorBgAccentStrongActivePaired:"#BDBDBD",SwanSemColorBgDestructiveStrongHoverPaired:"#CC3011",SwanSemColorBgDestructiveStrongActivePaired:"#CC3011",SwanSemColorBgActionHover:"#ffffff",SwanSemColorBgActionActive:"#ffffff",SwanSemColorBgControlHover:"#ffffff",SwanSemColorBgControlActive:"#ffffff",SwanSemColorBgInputHover:"#ffffff",SwanSemColorBgInputActive:"#ffffff",SwanSemColorBorderNone:"transparent",SwanSemColorBorderStandard:"rgba(0, 0, 0, 0.26)",SwanSemColorBorderStrong:"rgba(0, 0, 0, 0.58)",SwanSemColorBorderDisabled:"rgba(0, 0, 0, 0.05)",SwanSemColorBorderSelected:"#000000",SwanSemColorBorderSelectedAccent:"#BDBDBD",SwanSemColorBorderSelectedBlue:"#000",SwanSemColorBorderSelectedStrongPaired:"#000",SwanSemColorBorderAccent:"#BDBDBD",SwanSemColorBorderAccentStrongPaired:"#BDBDBD",SwanSemColorBorderError:"#FFA497",SwanSemColorBorderErrorStrongPaired:"#CC3011",SwanSemColorBorderWarning:"#FAA837",SwanSemColorBorderWarningStrongPaired:"#FAA837",SwanSemColorBorderSuccess:"#77CE97",SwanSemColorBorderSuccessStrongPaired:"#117A5E",SwanSemColorBorderPromo:"#77CE97",SwanSemColorBorderPromoStrongPaired:"#117A5E",SwanSemColorBorderHelp:"#FAA837",SwanSemColorBorderHelpStrongPaired:"#FAA837",SwanSemColorBorderInfo:"#ACBCE0",SwanSemColorBorderInfoStrongPaired:"#2F3A53",SwanSemColorBorderDestructive:"#FFA497",SwanSemColorBorderDestructiveStrongPaired:"#CC3011",SwanSemColorBorderAction:"rgba(0, 0, 0, 0.26)",SwanSemColorBorderControl:"rgba(0, 0, 0, 0.58)",SwanSemColorBorderInput:"rgba(0, 0, 0, 0.58)",SwanSemColorBorderInputError:"#CC3011",SwanSemColorBorderContainer:"rgba(0, 0, 0, 0.26)",SwanSemColorBorderPartition:"rgba(0, 0, 0, 0.26)",SwanSemColorBorderHover:"rgba(0, 0, 0, 0.26)",SwanSemColorBorderActive:"rgba(0, 0, 0, 0.26)",SwanSemColorBorderBrandPaired:"#3A3A3A",SwanSemColorBorderNoneHover:"transparent",SwanSemColorBorderNoneActive:"transparent",SwanSemColorBorderStandardHover:"rgba(0, 0, 0, 0.26)",SwanSemColorBorderStandardActive:"rgba(0, 0, 0, 0.26)",SwanSemColorBorderStrongHover:"rgba(0, 0, 0, 0.58)",SwanSemColorBorderStrongActive:"rgba(0, 0, 0, 0.58)",SwanSemColorBorderSelectedHover:"#000000",SwanSemColorBorderSelectedActive:"#000000",SwanSemColorBorderSelectedAccentHover:"#BDBDBD",SwanSemColorBorderSelectedAccentActive:"#BDBDBD",SwanSemColorBorderSelectedBlueHover:"#000",SwanSemColorBorderSelectedBlueActive:"#000",SwanSemColorBorderSelectedStrongHoverPaired:"#000",SwanSemColorBorderSelectedStrongActivePaired:"#000",SwanSemColorBorderAccentStrongHoverPaired:"#BDBDBD",SwanSemColorBorderAccentStrongActivePaired:"#BDBDBD",SwanSemColorBorderDestructiveStrongHoverPaired:"#CC3011",SwanSemColorBorderDestructiveStrongActivePaired:"#CC3011",SwanSemColorBorderActionHover:"rgba(0, 0, 0, 0.26)",SwanSemColorBorderActionActive:"rgba(0, 0, 0, 0.26)",SwanSemColorBorderControlHover:"rgba(0, 0, 0, 0.58)",SwanSemColorBorderControlActive:"rgba(0, 0, 0, 0.58)",SwanSemColorBorderInputHover:"rgba(0, 0, 0, 0.58)",SwanSemColorBorderInputActive:"rgba(0, 0, 0, 0.58)",SwanSemColorFgBrandPaired:"#FFFFFF",SwanSemColorFgStandard:"#000000",SwanSemColorFgSubtle:"rgba(0, 0, 0, 0.58)",SwanSemColorFgInverse:"#ffffff",SwanSemColorFgInput:"#000000",SwanSemColorFgPlaceholder:"rgba(0, 0, 0, 0.58)",SwanSemColorFgSelected:"#000000",SwanSemColorFgSelectedStrongPaired:"#ffffff",SwanSemColorFgAccentStrongPaired:"#000000",SwanSemColorFgErrorStrongPaired:"#ffffff",SwanSemColorFgWarningStrongPaired:"#000000",SwanSemColorFgSuccessStrongPaired:"#ffffff",SwanSemColorFgPromoStrongPaired:"#ffffff",SwanSemColorFgHelpStrongPaired:"#000000",SwanSemColorFgInfoStrongPaired:"#ffffff",SwanSemColorFgDestructiveStrongPaired:"#ffffff",SwanSemColorFgAccent:"#000",SwanSemColorFgError:"#CC3011",SwanSemColorFgWarning:"#B94F07",SwanSemColorFgSuccess:"#117A5E",SwanSemColorFgPromo:"#117A5E",SwanSemColorFgHelp:"#B94F07",SwanSemColorFgInfo:"#2F3A53",SwanSemColorFgDestructive:"#CC3011",SwanSemColorFgSustainability:"#00649D",SwanSemColorFgAction:"#000000",SwanSemColorFgDisabled:"rgba(0, 0, 0, 0.26)",SwanSemColorFgLink:"inherit",SwanSemColorFgLinkHover:"#000000",SwanSemColorFgLinkActive:"#000000",SwanSemColorFgStandardHover:"#000000",SwanSemColorFgStandardActive:"#000000",SwanSemColorBrandVistaBlue:"#6FD0F5",SwanSemColorBrandMidnight:"#2F3A53",SwanSemColorBrandWarmWhite:"#F6F6EC",SwanSemColorBrandFern:"#3B7A24",SwanSemColorIconStandard:"#000000",SwanSemColorIconDisabled:"rgba(0, 0, 0, 0.26)",SwanSemColorIconAccent:"#000",SwanSemColorIconAccentStrongPaired:"#000000",SwanSemColorIconSelected:"#000000",SwanSemColorIconSelectedStrongPaired:"#ffffff",SwanSemColorIconError:"#CC3011",SwanSemColorIconErrorStrongPaired:"#ffffff",SwanSemColorIconWarning:"#B94F07",SwanSemColorIconWarningStrongPaired:"#000000",SwanSemColorIconSuccess:"#117A5E",SwanSemColorIconSuccessStrongPaired:"#ffffff",SwanSemColorIconPromo:"#117A5E",SwanSemColorIconPromoStrongPaired:"#ffffff",SwanSemColorIconHelp:"#B94F07",SwanSemColorIconHelpStrongPaired:"#000000",SwanSemColorIconInfo:"#2F3A53",SwanSemColorIconInfoStrongPaired:"#ffffff",SwanSemColorIconDestructive:"#CC3011",SwanSemColorIconDestructiveStrongPaired:"#ffffff",SwanSemColorIconSubtle:"rgba(0, 0, 0, 0.58)",SwanSemColorTextStandard:"#000000",SwanSemColorTextSubtle:"rgba(0, 0, 0, 0.58)",SwanSemColorTextInput:"#000000",SwanSemColorTextPlaceholder:"rgba(0, 0, 0, 0.58)",SwanSemColorTextSelected:"#000000",SwanSemColorTextSelectedStrongPaired:"#ffffff",SwanSemColorTextError:"#CC3011",SwanSemColorTextErrorAlt:"#000000",SwanSemColorTextErrorStrongPaired:"#ffffff",SwanSemColorTextWarning:"#B94F07",SwanSemColorTextWarningAlt:"#000000",SwanSemColorTextWarningStrongPaired:"#000000",SwanSemColorTextDisabled:"rgba(0, 0, 0, 0.26)",SwanSemColorTextPromo:"#117A5E",SwanSemColorTextPromoAlt:"#000000",SwanSemColorTextPromoStrongPaired:"#ffffff",SwanSemColorTextHover:"#000000",SwanSemColorTextActive:"#000000",SwanSemColorTextAccent:"#000",SwanSemColorTextAccentAlt:"#000000",SwanSemColorTextAccentStrongPaired:"#000000",SwanSemColorTextHelp:"#B94F07",SwanSemColorTextHelpAlt:"#000000",SwanSemColorTextHelpStrongPaired:"#000000",SwanSemColorTextSuccess:"#117A5E",SwanSemColorTextSuccessAlt:"#000000",SwanSemColorTextSuccessStrongPaired:"#ffffff",SwanSemColorTextInfo:"#2F3A53",SwanSemColorTextInfoAlt:"#000000",SwanSemColorTextInfoStrongPaired:"#ffffff",SwanSemColorTextDestructive:"#CC3011",SwanSemColorTextDestructiveAlt:"#000000",SwanSemColorTextDestructiveStrongPaired:"#ffffff",SwanSemColorTextLink:"inherit",SwanSemColorTextLinkHover:"#000000",SwanSemColorTextLinkActive:"#000000",SwanSemElevationNone:"none",SwanSemElevationSubtle:"0 2px 4px 0 rgba(0, 0, 0, 0.05)",SwanSemElevationStandard:"0 2px 6px 0 rgba(0, 0, 0, 0.05)",SwanSemElevationStrong:"0 2px 8px 0 rgba(0, 0, 0, 0.09)",SwanSemElevationFloating:"0 2px 6px 0 rgba(0, 0, 0, 0.05)",SwanSemElevationOverlay:"0 2px 8px 0 rgba(0, 0, 0, 0.09)",SwanSemElevationScrollHorizontal:"0 0 12px 12px #ffffff",SwanSemFocusBorderRadius:"4px",SwanSemFocusBorderWidthInner:"2px",SwanSemFocusBorderWidthOuter:"4px",SwanSemFocusColorInner:"#ffffff",SwanSemFocusColorOuter:"#000",SwanSemFocusStandard:"0 0 0 2px #ffffff, 0 0 0 4px #000",SwanSemFocusInset:"inset 0 0 0 2px #ffffff, inset 0 0 0 4px #000",SwanSemFocusTight:"0 0 0 2px #000",SwanSemFontSizeX5large:"42px",SwanSemFontSizeX4large:"36px",SwanSemFontSizeX3large:"28px",SwanSemFontSizeX2large:"20px",SwanSemFontSizeXlarge:"18px",SwanSemFontSizeLarge:"16px",SwanSemFontSizeStandard:"14px",SwanSemFontSizeSmall:"12px",SwanSemFontSizeXsmall:"
112px",SwanSemFontSkinTitleHeroFontFamily:"system-ui, sans-serif",SwanSemFontSkinTitleHeroFontSize:"42px",SwanSemFontSkinTitleHeroFontWeight:"700",SwanSemFontSkinTitleHeroLetterSpacing:"-0.03em",SwanSemFontSkinTitleHeroLineHeight:1.1,SwanSemFontSkinTitleHeroCase:"none",SwanSemFontSkinTitleDisplayFontFamily:"system-ui, sans-serif",SwanSemFontSkinTitleDisplayFontSize:"36px",SwanSemFontSkinTitleDisplayFontWeight:"700",SwanSemFontSkinTitleDisplayLetterSpacing:"-0.03em",SwanSemFontSkinTitleDisplayLineHeight:1.1,SwanSemFontSkinTitleDisplayCase:"none",SwanSemFontSkinTitleHeadlineFontFamily:"system-ui, sans-serif",SwanSemFontSkinTitleHeadlineFontSize:"28px",SwanSemFontSkinTitleHeadlineFontWeight:"700",SwanSemFontSkinTitleHeadlineLetterSpacing:"-0.03em",SwanSemFontSkinTitleHeadlineLineHeight:1.1,SwanSemFontSkinTitleHeadlineCase:"none",SwanSemFontSkinTitleSectionFontFamily:"system-ui, sans-serif",SwanSemFontSkinTitleSectionFontSize:"20px",SwanSemFontSkinTitleSectionFontWeight:"700",SwanSemFontSkinTitleSectionLetterSpacing:"-0.03em",SwanSemFontSkinTitleSectionLineHeight:1.2,SwanSemFontSkinTitleSectionCase:"none",SwanSemFontSkinTitleSubsectionFontFamily:"system-ui, sans-serif",SwanSemFontSkinTitleSubsectionFontSize:"16px",SwanSemFontSkinTitleSubsectionFontWeight:"700",SwanSemFontSkinTitleSubsectionLetterSpacing:"-0.02em",SwanSemFontSkinTitleSubsectionLineHeight:1.3,SwanSemFontSkinTitleSubsectionCase:"none",SwanSemFontSkinTitleItemFontFamily:"system-ui, sans-serif",SwanSemFontSkinTitleItemFontSize:"14px",SwanSemFontSkinTitleItemFontWeight:"700",SwanSemFontSkinTitleItemLetterSpacing:"0em",SwanSemFontSkinTitleItemLineHeight:1.4,SwanSemFontSkinTitleItemCase:"none",SwanSemFontSkinEditorialHeadlineFontFamily:"system-ui, serif",SwanSemFontSkinEditorialHeadlineFontSize:"36px",SwanSemFontSkinEditorialHeadlineFontWeight:"400",SwanSemFontSkinEditorialHeadlineLetterSpacing:"0em",SwanSemFontSkinEditorialHeadlineLineHeight:1.2,SwanSemFontSkinEditorialHeadlineCase:"none",SwanSemFontSkinEditorialContentFontFamily:"system-ui, serif",SwanSemFontSkinEditorialContentFontSize:"18px",SwanSemFontSkinEditorialContentFontWeight:"400",SwanSemFontSkinEditorialContentLetterSpacing:"0.005em",SwanSemFontSkinEditorialContentLineHeight:1.3,SwanSemFontSkinEditorialContentCase:"none",SwanSemFontSkinBodyStandardFontFamily:"system-ui, sans-serif",SwanSemFontSkinBodyStandardFontSize:"14px",SwanSemFontSkinBodyStandardFontWeight:"400",SwanSemFontSkinBodyStandardLetterSpacing:"0em",SwanSemFontSkinBodyStandardLineHeight:1.5,SwanSemFontSkinBodyStandardCase:"none",SwanSemFontSkinBodyStandardBoldFontFamily:"system-ui, sans-serif",SwanSemFontSkinBodyStandardBoldFontSize:"14px",SwanSemFontSkinBodyStandardBoldFontWeight:"700",SwanSemFontSkinBodyStandardBoldLetterSpacing:"0em",SwanSemFontSkinBodyStandardBoldLineHeight:1.5,SwanSemFontSkinBodyStandardBoldCase:"none",SwanSemFontSkinBodySmallFontFamily:"system-ui, sans-serif",SwanSemFontSkinBodySmallFontSize:"12px",SwanSemFontSkinBodySmallFontWeight:"400",SwanSemFontSkinBodySmallLetterSpacing:"0.005em",SwanSemFontSkinBodySmallLineHeight:1.5,SwanSemFontSkinBodySmallCase:"none",SwanSemFontSkinBodySmallBoldFontFamily:"system-ui, sans-serif",SwanSemFontSkinBodySmallBoldFontSize:"12px",SwanSemFontSkinBodySmallBoldFontWeight:"700",SwanSemFontSkinBodySmallBoldLetterSpacing:"0.005em",SwanSemFontSkinBodySmallBoldLineHeight:1.5,SwanSemFontSkinBodySmallBoldCase:"none",SwanSemFontSkinFootnoteFontFamily:"system-ui, sans-serif",SwanSemFontSkinFootnoteFontSize:"12px",SwanSemFontSkinFootnoteFontWeight:"400",SwanSemFontSkinFootnoteLetterSpacing:"0.01em",SwanSemFontSkinFootnoteLineHeight:1.5,SwanSemFontSkinFootnoteCase:"none",SwanSemFontSkinFootnoteBoldFontFamily:"system-ui, sans-serif",SwanSemFontSkinFootnoteBoldFontSize:"12px",SwanSemFontSkinFootnoteBoldFontWeight:"700",SwanSemFontSkinFootnoteBoldLetterSpacing:"0.01em",SwanSemFontSkinFootnoteBoldLineHeight:1.5,SwanSemFontSkinFootnoteBoldCase:"none",SwanSemMqEqXl:"'only screen and (min-width: 1920px)'",SwanSemMqEqLg:"'only screen and (min-width: 1440px) and (max-width: 1919px)'",SwanSemMqEqMd:"'only screen and (min-width: 1024px) and (max-width: 1439px)'",SwanSemMqEqSm:"'only screen and (min-width: 768px) and (max-width: 1023px)'",SwanSemMqEqXs:"'only screen and (max-width: 767px)'",SwanSemMqGtXl:"'only screen and (min-width: 1920px)'",SwanSemMqGtLg:"'only screen and (min-width: 1920px)'",SwanSemMqGtMd:"'only screen and (min-width: 1440px)'",SwanSemMqGtSm:"'only screen and (min-width: 1024px)'",SwanSemMqGtXs:"'only screen and (min-width: 768px)'",SwanSemMqGteXl:"'only screen and (min-width: 1920px)'",SwanSemMqGteLg:"'only screen and (min-width: 1440px)'",SwanSemMqGteMd:"'only screen and (min-width: 1024px)'",SwanSemMqGteSm:"'only screen and (min-width: 768px)'",SwanSemMqGteXs:"'only screen and (min-width: 0px)'",SwanSemMqLtXl:"'only screen and (max-width: 1919px)'",SwanSemMqLtLg:"'only screen and (max-width: 1439px)'",SwanSemMqLtMd:"'only screen and (max-width: 1023px)'",SwanSemMqLtSm:"'only screen and (max-width: 767px)'",SwanSemMqLteLg:"'only screen and (max-width: 1919px)'",SwanSemMqLteMd:"'only screen and (max-width: 1439px)'",SwanSemMqLteSm:"'only screen and (max-width: 1023px)'",SwanSemMqLteXs:"'only screen and (max-width: 767px)'",SwanSemSizeIconStandard:"20px",SwanSemSizeIconDynamic:"1lh",SwanSemSizeIconStrokeWidth:"2px",SwanSemSizeIconSmall:"16px",SwanSemSizeIllustrationStandard:"104px",SwanSemSizeIllustrationLarge:"168px",SwanSemSizeActionAndInputInnerHeight:"20px",SwanSemSizeActionAndInputInnerMinWidth:"20px",SwanSemSizeControl:"20px",SwanSemSizeActionInnerHeight:"20px",SwanSemSizeInputInnerHeight:"20px",SwanSemSizeClickTargetMinHeight:"24px",SwanSemSizeClickTargetMinWidth:"24px",SwanSemSizePageMaxWidth:"1920px",SwanSemSpace1:"2px",SwanSemSpace2:"4px",SwanSemSpace3:"8px",SwanSemSpace4:"12px",SwanSemSpace5:"16px",SwanSemSpace6:"24px",SwanSemSpace7:"32px",SwanSemSpace8:"44px",SwanSemSpace9:"56px",SwanSemSpace10:"72px",SwanSemSpace11:"96px",SwanSemSpace12:"128px",SwanSemSpaceNone:"0px",SwanSemSpaceGutterStandard:"8px",SwanSemSpaceGutterTight:"2px",SwanSemSpaceBetweenColumns:"16px",SwanSemSpaceBetweenSections:"44px",SwanSemSpaceBetweenSubsections:"24px",SwanSemSpaceBetweenActions:"8px",SwanSemSpaceBetweenIconAndText:"8px",SwanSemSpaceToActions:"16px",SwanSemSpaceInputPaddingHorizontal:"16px",SwanSemSpaceInputPaddingVertical:"12px",SwanSemSpaceInnerInputHorizontal:"16px",SwanSemSpaceInnerInputVertical:"12px",SwanSemSpaceInnerActionHorizontal:"16px",SwanSemSpaceInnerActionVertical:"12px",SwanSemZIndexRaised:1,SwanSemZIndexLinkCovering:5,SwanSemZIndexOverlay:10,SwanSemZIndexFloating:1e5,SwanSemZIndexOverTheTop:1e6}),gl={SwanSemMqEqXl:"'only screen and (min-width: 1920px)'",SwanSemMqEqLg:"'only screen and (min-width: 1440px) and (max-width: 1919px)'",SwanSemMqEqMd:"'only screen and (min-width: 1024px) and (max-width: 1439px)'",SwanSemMqEqSm:"'only screen and (min-width: 768px) and (max-width: 1023px)'",SwanSemMqEqXs:"'only screen and (max-width: 767px)'",SwanSemMqGtXl:"'only screen and (min-width: 1920px)'",SwanSemMqGtLg:"'only screen and (min-width: 1920px)'",SwanSemMqGtMd:"'only screen and (min-width: 1440px)'",SwanSemMqGtSm:"'only screen and (min-width: 1024px)'",SwanSemMqGtXs:"'only screen and (min-width: 768px)'",SwanSemMqGteXl:"'only screen and (min-width: 1920px)'",SwanSemMqGteLg:"'only screen and (min-width: 1440px)'",SwanSemMqGteMd:"'only screen and (min-width: 1024px)'",SwanSemMqGteSm:"'only screen and (min-width: 768px)'",SwanSemMqGteXs:"'only screen and (min-width: 0px)'",SwanSemMqLtXl:"'only screen and (max-width: 1919px)'",SwanSemMqLtLg:"'only screen and (max-width: 1439px)'",SwanSemMqLtMd:"'only screen and (max-width: 1023px)'",SwanSemMqLtSm:"'only screen and (max-width: 767px)'",SwanSemMqLteLg:"'only screen and (max-width: 1919px)'",SwanSemMqLteMd:"'only screen and (max-width: 1439px)'",SwanSemMqLteSm:"'only screen and (max-width: 1023px)'",SwanSemMqLteXs:"'only screen and (max-width: 767px)'"}
1,Op=Object.keys(pl),Vp=p("tokens",Object.fromEntries(Op.map(e=>[e,e in gl?gl[e]:Ip(e)])));var Ft=p("SwanPathTypeEnum",(e=>(e.hashed="hashed",e.versioned="versioned",e))(Ft||{})),Ee=p("SwanAssetFolders",(e=>(e.FONTS="FONTS",e.ICONS="ICONS",e.ILLUSTRATIONS="ILLUSTRATIONS",e.IMAGES="IMAGES",e.JS="JS",e.STYLES="STYLES",e.FAVICONS="FAVICONS",e.POLYFILLS="POLYFILLS",e.THEMES="THEMES",e))(Ee||{}));function tr(e){switch(e){case Ee.FAVICONS:return"favicons";case Ee.POLYFILLS:return"polyfills";case Ee.FONTS:return"fonts";case Ee.ICONS:return"icons";case Ee.ILLUSTRATIONS:return"illustrations";case Ee.IMAGES:return"images";case Ee.JS:return"js";case Ee.STYLES:return"styles";case Ee.THEMES:return"themes"}}const Kp=(e=Ft.hashed)=>e===Ft.hashed?cl:dl;function Xe(e,t,n,r=Ft.hashed,a=zt,o){const i=e[t];if(!i)return console.error(`SWAN Warning: Invalid asset key \`${t}\`: Please remove any deprecated, unsupported, or misspelled asset keys.`),null;const s=i[r]||i.hashed||i.versioned;if(s){const l=Kp(r),c=tr(n);return`${a||""}${l}/${o?`brands/${o}/`:""}${c}/${s}`}return null}function po(e,t=zt){const n=tr(Ee.POLYFILLS);return`${t}${mo}/${n}/${e}`}function Ut(e){return Object.fromEntries(Object.keys(e).map(t=>[t,t]))}const Bt=p("SWAN_FONT_KEY_MAP",Ut(_r)),bl=p("SWAN_ICON_KEY_MAP",Ut(zr)),vl=p("SWAN_ILLUSTRATION_KEY_MAP",Ut(Hr)),_p=p("SWAN_IMAGE_KEY_MAP",Ut(Kr)),Hp=p("SWAN_JS_KEY_MAP",Ut(Ur)),ae=p("SWAN_STYLE_KEY_MAP",Ut(er)),Sl=p("SWAN_STYLE_KEY_LIST",[ae.core,ae.utility,...Object.keys(er).filter(e=>e!==ae.core&&e!==ae.utility&&e!==ae.coreOmitVistaprint)]);function yl({defaultManifest:e,brandManifests:t,key:n,folder:r,pathType:a,baseUrl:o,brand:i}){const s=i?t[i]:void 0;return s&&n in s?Xe(s,n,r,a,o,i):Xe(e,n,r,a,o)}function St(e){const{type:t,key:n,pathType:r,baseUrl:a,brand:o}=e;if(!a)throw new Error("getSwanAssetUrl: baseUrl is required");switch(t){case"js":return Xe(Ur,n,Ee.JS,r,a);case"stylesheet":return Xe(er,n,Ee.STYLES,r,a);case"image":return Xe(Kr,n,Ee.IMAGES,r,a);case"icon":return yl({defaultManifest:zr,brandManifests:ml,key:n,folder:Ee.ICONS,pathType:r,baseUrl:a,brand:o});case"illustration":return yl({defaultManifest:Hr,brandManifests:hl,ke
1y:n,folder:Ee.ILLUSTRATIONS,pathType:r,baseUrl:a,brand:o});case"font":return Xe(_r,n,Ee.FONTS,r,a);default:return null}}function wl(e,t,n){return Xe(Ur,e,Ee.JS,t,n)}function $l(e,t,n){return Xe(er,e,Ee.STYLES,t,n)}function Cl(e,t,n){return Xe(Hr,e,Ee.ILLUSTRATIONS,t,n)}function xl(e,t,n){return Xe(Kr,e,Ee.IMAGES,t,n)}function Pl(e,t,n){return Xe(zr,e,Ee.ICONS,t,n)}function Tl(e,t,n){return Xe(_r,e,Ee.FONTS,t,n)}function g2(e,t){}const zp={vistaprint:{"da-DK":"www.vistaprint.dk","de-AT":"www.vistaprint.at","de-CH":"www.vistaprint.ch","de-DE":"www.vistaprint.de","en-AU":"www.vistaprint.com.au","en-CA":"www.vistaprint.ca","en-GB":"www.vistaprint.co.uk","en-IE":"www.vistaprint.ie","en-IN":"www.vistaprint.in","en-NZ":"www.vistaprint.co.nz","en-SG":"www.vistaprint.sg","en-US":"www.vistaprint.com","es-ES":"www.vistaprint.es","es-US":"www.vistaprint.com","fi-FI":"www.vistaprint.fi","fr-BE":"www.vistaprint.be","fr-CA":"www.vistaprint.ca","fr-CH":"www.vistaprint.ch","fr-FR":"www.vistaprint.fr","it-CH":"www.vistaprint.ch","it-IT":"www.vistaprint.it","ja-JP":"www.vistaprint.jp","nb-NO":"www.vistaprint.no","nl-BE":"www.vistaprint.be","nl-NL":"www.vistaprint.nl","pt-PT":"www.vistaprint.pt","sv-SE":"www.vistaprint.se"}};function Dl(e){return!e||!e.trim()?!1:e==="vcs"||e==="vistaprint"}function Up(e,t){if(!e||!t||e==="vcs"||e==="other")return;const n=zp[e.toLowerCase()],[r,a]=t.split("-"),o=`${r.toLowerCase()}-${a.toUpperCase()}`,i=n?.[o];if(i)return`https://${i}/swan/`}function Wr(e,t){return Up(e,t)??"https://swan.prod.merch.vpsvc.com/"}function Wp(e,t,n=!1){for(const r of t)(n||r)&&e.add(r);return e}function It(e,t=" "){return Array.from(e).filter(Boolean).join(t)}function nr(e,...t){return t.forEach(n=>{n&&typeof n=="object"?Array.isArray(n)?Wp(e,nr(e,...n)):Object.keys(n).forEach(r=>{n[r]&&e.add(r)}):n&&e.add(n)}),e}function _e(...e){return It(nr(new Set,...e)," ")}function El(){try{return"production"}catch{return"production"}}function Fl(){return!1}function Bl(){return!0}function Il(){return!1}function go(){return"production"!=="production"}function bo(e){return e instanceof Set}function Gr(e){return e!=null}function vo(e){return typeof e=="function"}function sn(e){return bo(e)?e:new Set(e)}function kl(...e){const t=[];return e.forEach(n=>{n&&t.push(...Array.from(n))}),new Set(t)}function Nl({brand:e="vistaprint",standardMode:t,darkMode:n,compactMode:r}={},a=[]){const o=sn(a);return o.add(Ye.base),t&&o.add(Ye.standardMode),n&&o.add(Ye.darkMode),r&&o.add(Ye.compactMode),o.add(`swan-theme-${e}`),It(o)}const Gp=[];function So(e,t){let n,r;if(typeof e=="object"){if(n=e.fileName,r=e.swanBaseUrl,!r)throw new Error("getSwanFontRenderConfig: swanAssetBaseUrl is required")}else n=e,r=t||zt;return po(n,r)}function jp(e){const t=document.createDocumentFragment();return Gp.forEach(n=>{const{loadCondition:r,scriptFileName:a}=n;if(r()&&a){const o=So(a,e);if(!document.querySelector(`script[src="${o}"]`)){const i=document.createElement("script");i.src=o,i.type="text/javascript",i.defer=!0,t.appendChild(i)}}}),{scriptFragment:t}}const Rl=p("loadSwanPolyfill",e=>{const{scriptFragment:t}=jp(e);document.head.appendChild(t)});function jr(){return typeof window<"u"?window.matchMedia("(prefers-reduced-motion: reduce)").matches:!1}function yo(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function xe(...e){return t=>{e.forEach(n=>yo(n,t))}}const wo=p("styleKeyVarMap",{core:"",coreOmitVistaprint:"",utility:"",accordion:"--swan-accordion",adaptiveCarousel:"--swan-adaptive-carousel",alertBox:"--swan-alert-box",anchorBar:"--swan-anchor-bar",avatar:"--swan-avatar",banner:"--swan-banner",baseTile:"--swan-base-tile",button:"",carousel:"--swan-carousel",datePicker:"--swan-date-picker",emptyState:"--swan-empty-state",fieldSet:"--swan-fieldset",fileTile:"--swan-file-tile",fileDropzone:"--swan-file-dropzone",grid:"--swan-grid",hidden:"--swan-hidden",icon:"",listbox:"--swan-listbox",modalDialog:"--swan-modal-dialog",pagination:"--swan-pagination",popover:"--swan-popover",priceBar:"--swan-price-bar",pricing:"",progressBar:"--swan-progress-bar",progressiveImage:"",ratingsStars:"--swan-ratings-stars",selectionSet:"--swan-selection-set",spinner:"",standardTile:"--swan-standard-tile",statusMessage:"--swan-status-message",stepIndicator:"--swan-step-indicator",table:"--swan-table",tabs:"--swan-tabs",thumbnailsHero:"--swan-thumbnails-hero",toggleSwitch:"--swan-toggle-switch",visible:"--swan-visible",zoomControls:"--swan-zoom-control
1s",zoomableImage:"--swan-zoomable-image",lightbox:"--swan-lightbox"});function Zp(e,t,n="xs"){if(t==null)return null;const r=uo(e);if(!r)return null;const a=`swan-${r}`,o=n==="xs"?"":`-${n}`;return typeof t==="boolean"?t?a+o:null:a+`-${t}`+o}function Ll(e,t,n,r){const a=Zp(e,t,n);return a&&r.add(a),r}function $o(e,t,n=new Set){return Object.keys(e).forEach(r=>{if(!on(r))return null;if(typeof e[r]=="object"){const a=e[r];Object.keys(a).forEach(o=>{Qn(o)&&Ll(r,a[o],o,n)})}else Ll(r,e[r],t,n)}),n}function yt(e,t){let n=sn(t);if(e.swanStyle){const r=e.swanStyle;co.forEach(a=>{const o=r[a];o&&(n=$o(o,a,n))}),n=$o(e.swanStyle,"xs",n)}return $o(e,"xs",n),n}function qp(e){return e?e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`):""}function Ml(e){const{propKey:t,propValue:n,breakpoint:r="xs",classNamePrefix:a}=e;if(typeof n!="string"&&typeof n!="number"&&n!==!0)return;const o=["swan"];return a&&o.push(a),o.push(qp(t)),n!==!0&&o.push(n),r!=="xs"&&o.push(r),o.join("-")}function Yp(e,t){const n=new Set;for(const r in e){const a=e[r];if(!(a==null||a===!1)){if(typeof a!="object"||Array.isArray(a)){const o=Ml({propKey:r,propValue:a,classNamePrefix:t});o&&n.add(o);continue}for(const o in a){if(!Qn(o))continue;const i=a[o],s=Ml({propKey:r,propValue:i,breakpoint:o,classNamePrefix:t});s&&n.add(s)}}}return n}const Zr=p("SWAN_VERSION_META_NAME","swanVersion");function Co(){if(typeof window<"u"&&!document.querySelector('meta[name="swanVersion"]')){const e=document.createElement("meta");e.name=Zr,e.content=Vr,document.head.appendChild(e)}}function xo(e){typeof window<"u"&&(window.__swan={version:Vr,swanBaseUrl:e})}async function Al(e=5e3){const t=Date.now();return new Promise((n,r)=>{const a=()=>{const o=getComputedStyle(document.documentElement);if(Object.values(wo).every(s=>s?o.getPropertyValue(s)==="1":!0))n();else if(Date.now()-t>=e){const s=Object.entries(wo).reduce((l,[c,d])=>d?{...l,[c]:o.getPropertyValue(c)==="1"}:{...l,[c]:!0},{});console.log("Loaded styles:",JSON.stringify(s,null,2)),r(new Error("Timeout exceeded while waiting for styles to load"))}else setTimeout(a,100)};a()})}function at(e){if(Xp())e.focus({preventScroll:!0});else{let t=Jp(e);e.focus(),Qp(t)}}let qr=null;function Xp(){if(qr==null){qr=!1;try{document.createElement("div").focus({get preventScroll(){return qr=!0,!0}})}catch{}}return qr}function Jp(e){let t=e.parentNode,n=[],r=document.scrollingElement||document.documentElement;for(;t instanceof HTMLElement&&t!==r;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&n.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return r instanceof HTMLElement&&n.push({element:r,scrollTop:r.scrollTop,scrollLeft:r.scrollLeft}),n}function Qp(e){for(let{element:t,scrollTop:n,scrollLeft:r}of e)t.scrollTop=n,t.scrollLeft=r}const ge=e=>e?.ownerDocument??document,He=e=>e&&"window"in e&&e.window===e?e:ge(e).defaultView||window;function eg(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&typeof e.nodeType=="number"}function tg(e){return eg(e)&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in e}let ng=!1;function kt(){return ng}function ue(e,t){if(!kt())return t&&e?e.contains(t):!1;if(!e||!t)return!1;let n=t;for(;n!==null;){if(n===e)return!0;n.tagName==="SLOT"&&n.assignedSlot?n=n.assignedSlot.parentNode:tg(n)?n=n.host:n=n.parentNode}return!1}const Se=(e=document)=>{if(!kt())return e.activeElement;let t=e.activeElement;for(;t&&"shadowRoot"in t&&t.shadowRoot?.activeElement;)t=t.shadowRoot.activeElement;return t};function ee(e){if(kt()&&e.target instanceof Element&&e.target.shadowRoot){if("composedPath"in e)return e.composedPath()[0]??null;if("composedPath"in e.nativeEvent)return e.nativeEvent.composedPath()[0]??null}return e.target}function rr(e){if(!e)return!1;let t=e.getRootNode(),n=He(e);if(!(t instanceof n.Document||t instanceof n.ShadowRoot))return!1;let r=t.activeElement;return r!=null&&e.contains(r)}const rg=typeof Element<"u"&&"checkVisibility"in Element.prototype;function ag(e){const t=He(e);if(!(e instanceof t.HTMLElement)&&!(e instanceof t.SVGElement))return!1;let{display:n,visibility:r}=e.style,a=n!=="none"&&r!=="hidden"&&r!=="collapse";if(a){const{getComputedStyle:o}=He(e);let{display:i,visibility:s}=o(e);a=i!=="none"&&s!=="hidden"&&s!=="collapse"}return a}function og(e,t){return!e.hasAttribute("hidden")&&!e.hasAttribute("data-react-aria-prevent-focus")&&(e.nodeName==="DETAILS"&&t&&t.nodeName!=="SUMMARY"?e.hasAttribute("open"):!0)}function Po(e,t){return rg?e.checkVisibility({visibilityProperty:!0})&&!e.closest("[data-react-aria-prevent-focus]"):e.nodeName!=="#comment"&&ag(e)&&og(e,t)&&(!e.parentElement||Po(e.parentElement,e))}const To=["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable^="false"])',"permission"],ig=To.join(":not([hidden]),")+",[tabindex]:not
1([disabled]):not([hidden])";To.push('[tabindex]:not([tabindex="-1"]):not([disabled])');const sg=To.join(':not([hidden]):not([tabindex="-1"]),');function Ol(e,t){return e.matches(ig)&&!Kl(e)&&(t?.skipVisibilityCheck||Po(e))}function Vl(e){return e.matches(sg)&&Po(e)&&!Kl(e)}function Kl(e){let t=e;for(;t!=null;){if(t instanceof He(t).HTMLElement&&t.inert)return!0;t=t.parentElement}return!1}const Pe=typeof document<"u"?re.useLayoutEffect:()=>{};function Do(e){let t=e;return t.nativeEvent=e,t.isDefaultPrevented=()=>t.defaultPrevented,t.isPropagationStopped=()=>t.cancelBubble,t.persist=()=>{},t}function _l(e,t){Object.defineProperty(e,"target",{value:t}),Object.defineProperty(e,"currentTarget",{value:t})}function Hl(e){let t=M({isFocused:!1,observer:null});return Pe(()=>{const n=t.current;return()=>{n.observer&&(n.observer.disconnect(),n.observer=null)}},[]),Q(n=>{let r=ee(n);if(r instanceof HTMLButtonElement||r instanceof HTMLInputElement||r instanceof HTMLTextAreaElement||r instanceof HTMLSelectElement){t.current.isFocused=!0;let a=r,o=i=>{if(t.current.isFocused=!1,a.disabled){let s=Do(i);e?.(s)}t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)};a.addEventListener("focusout",o,{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&a.disabled){t.current.observer?.disconnect();let i=a===Se()?null:Se();a.dispatchEvent(new FocusEvent("blur",{relatedTarget:i})),a.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:i}))}}),t.current.observer.observe(a,{attributes:!0,attributeFilter:["disabled"]})}},[e])}let Yr=!1;function lg(e){for(;e&&!Ol(e,{skipVisibilityCheck:!0});)e=e.parentElement;let t=He(e),n=t.document.activeElement;if(!n||n===e)return;Yr=!0;let r=!1,a=d=>{(ee(d)===n||r)&&d.stopImmediatePropagation()},o=d=>{(ee(d)===n||r)&&(d.stopImmediatePropagation(),!e&&!r&&(r=!0,at(n),l()))},i=d=>{(ee(d)===e||r)&&d.stopImmediatePropagation()},s=d=>{(ee(d)===e||r)&&(d.stopImmediatePropagation(),r||(r=!0,at(n),l()))};t.addEventListener("blur",a,!0),t.addEventListener("focusout",o,!0),t.addEventListener("focusin",s,!0),t.addEventListener("focus",i,!0);let l=()=>{cancelAnimationFrame(c),t.removeEventListener("blur",a,!0),t.removeEventListener("focusout",o,!0),t.removeEventListener("focusin",s,!0),t.removeEventListener("focus",i,!0),Yr=!1,r=!1},c=requestAnimationFrame(l);return l}function Xr(e){if(typeof window>"u"||window.navigator==null)return!1;let t=window.navigator.userAgentData?.brands;return Array.isArray(t)&&t.some(n=>e.test(n.brand))||e.test(window.navigator.userAgent)}function Eo(e){return typeof window<"u"&&window.navigator!=null?e.test(window.navigator.userAgentData?.platform||window.navigator.platform):!1}function Nt(e){let t=null;return()=>(t==null&&(t=e()),t)}const Wt=Nt(function(){return Eo(/^Mac/i)}),cg=Nt(function(){return Eo(/^iPhone/i)}),zl=Nt(function(){return Eo(/^iPad/i)||Wt()&&navigator.maxTouchPoints>1}),ln=Nt(function(){return cg()||zl()}),Jr=Nt(function(){return Wt()||ln()}),Ul=Nt(function(){return Xr(/AppleWebKit/i)&&!Wl()}),Wl=Nt(function(){return Xr(/Chrome/i)}),Fo=Nt(function(){return Xr(/Android/i)}),dg=Nt(function(){return Xr(/Firefox/i)});function Gl(e){return e.pointerType===""&&e.isTrusted?!0:Fo()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function ug(e){return!Fo()&&e.width===0&&e.height===0||e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType==="mouse"}const fg=me({isNative:!0,open:pg,useHref:e=>e});function ar(){return ve(fg)}function mg(e,t){let n=e.getAttribute("target");return(!n||n==="_self")&&e.origin===location.origin&&!e.hasAttribute("download")&&!t.metaKey&&!t.ctrlKey&&!t.altKey&&!t.shiftKey}function Rt(e,t,n=!0){let{metaKey:r,ctrlKey:a,altKey:o,shiftKey:i}=t;dg()&&window.event?.type?.startsWith("key")&&e.target==="_blank"&&(Wt()?r=!0:a=!0);let s=Ul()&&Wt()&&!zl()?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:r,ctrlKey:a,altKey:o,shiftKey:i}):new MouseEvent("click",{metaKey:r,ctrlKey:a,altKey:o,shiftKey:i,detail:1,bubbles:!0,cancelable:!0});Rt.isOpening=n,at(e),e.dispatchEvent(s),Rt.isOpening=!1}Rt.isOpening=!1;function hg(e,t){if(e instanceof HTMLAnchorElement)t(e);else if(e.hasAttribute("data-href")){let n=document.createElement("a");n.href=e.getAttribute("data-href"),e.hasAttribute("data-target")&&(n.target=e.getAttribute("data-target")),e.hasAttribute("data-rel")&&(n.rel=e.getAttribute("data-rel")),e.hasAttribute("data-download")&&(n.download=e.getAttribute("data-download")),e.hasAttribute("data-ping")&&(n.ping=e.getAttribute("data-ping")),e.hasAttribute("data-referrer-policy")&&(n.referrerPolicy=e.getAttribute("data-referrer-policy")),e.appendChild(n),t(n),e.removeChild(n)}}function pg(e,t){hg(e,n=>Rt(n,t))}function jl(e){const n=ar().useHref(e?.href??"");let r={};if(e)for(let a of["href","target","rel","download","ping","referrerPolicy"])a in e&&(r[a]=a==="href"?n:e[a]);return r}function gg(e,t,n,r){!t.isNative&&e.currentTarget instanceof HTMLAnchorElement&&e.currentTarget.href&&!e.isDefaultPrevented()&&mg(e.currentTarget,e)&&n&&(e.preventDefault(),t.open(e.currentTarget,e,n,r))}const Qr={prefix:String(Math.round(Math.random()*1e10)),current:0},ea=re.createContext(Qr),Zl=re.createContext(!1);function bg(e){let t=ve(ea),n=Yl(t===Qr),[r,a]=j(!0),o=H(()=>({prefix:t===Qr?"":`${t.prefix}-${n}`,current:0}),[t,n]);return typeof document<"u"&&Yn(()=>{a(!1)},[]),re.createElement(ea.Provider,{value:o},re.createElement(Zl.Provider,{value:r},e.children))}function ql(e){return typeof re.useId=="function"?re.createElement(re.Fragment,null,e.children):re.createElement(bg,e)}let Bo=new WeakMap;function Yl(e=!1){let t=ve(ea),n=M(null);
1if(n.current===null&&!e){let r=re.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED?.ReactCurrentOwner?.current;if(r){let a=Bo.get(r);a==null?Bo.set(r,{id:t.current,state:r.memoizedState}):r.memoizedState!==a.state&&(t.current=a.id,Bo.delete(r))}n.current=++t.current}return n.current}function vg(e){let t=ve(ea),n=Yl(!!e),r=`react-aria${t.prefix}`;return e||`${r}-${n}`}function Sg(e){let t=re.useId(),[n]=j(Io()),r=n?"react-aria":`react-aria${Qr.prefix}`;return e||`${r}-${t}`}const yg=typeof re.useId=="function"?Sg:vg;function wg(){return!1}function $g(){return!0}function Cg(e){return()=>{}}function Io(){return typeof re.useSyncExternalStore=="function"?re.useSyncExternalStore(Cg,wg,$g):ve(Zl)}let cn=null;const ko=new Set;let or=new Map,dn=!1,No=!1;const xg={Tab:!0,Escape:!0};function ta(e,t){for(let n of ko)n(e,t)}function Pg(e){return!(e.metaKey||!Wt()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function na(e){dn=!0,!Rt.isOpening&&Pg(e)&&(cn="keyboard",ta("keyboard",e))}function In(e){cn="pointer","pointerType"in e&&e.pointerType,(e.type==="mousedown"||e.type==="pointerdown")&&(dn=!0,ta("pointer",e))}function Xl(e){!Rt.isOpening&&Gl(e)&&(dn=!0,cn="virtual")}function Jl(e){let t=He(ee(e)),n=ge(ee(e));ee(e)===t||ee(e)===n||Yr||!e.isTrusted||(!dn&&!No&&(cn="virtual",ta("virtual",e)),dn=!1,No=!1)}function Ql(){Yr||(dn=!1,No=!0)}function Ro(e){if(typeof window>"u"||typeof document>"u")return;const t=He(e),n=ge(e);if(or.get(t))return;let r=t.HTMLElement.prototype.focus;Reflect.defineProperty(t.HTMLElement.prototype,"focus",{configurable:!0,writable:!0,value:function(){dn=!0,r.apply(this,arguments)}}),n.addEventListener("keydown",na,!0),n.addEventListener("keyup",na,!0),n.addEventListener("click",Xl,!0),t.addEventListener("focus",Jl,!0),t.addEventListener("blur",Ql,!1),typeof PointerEvent<"u"&&(n.addEventListener("pointerdown",In,!0),n.addEventListener("pointermove",In,!0),n.addEventListener("pointerup",In,!0)),t.addEventListener("beforeunload",()=>{ec(e)},{once:!0}),or.set(t,{focus:r})}const ec=(e,t)=>{const n=He(e),r=ge(e);t&&r.removeEventListener("DOMContentLoaded",t),or.has(n)&&(Reflect.defineProperty(n.HTMLElement.prototype,"focus",{configurable:!0,writable:!0,value:or.get(n).focus}),r.removeEventListener("keydown",na,!0),r.removeEventListener("keyup",na,!0),r.removeEventListener("click",Xl,!0),n.removeEventListener("focus",Jl,!0),n.removeEventListener("blur",Ql,!1),typeof PointerEvent<"u"&&(r.removeEventListener("pointerdown",In,!0),r.removeEventListener("pointermove",In,!0),r.removeEventListener("pointerup",In,!0)),or.delete(n))};function Tg(e){const t=ge(e);let n;return t.readyState!=="loading"?Ro(e):(n=()=>{Ro(e)},t.addEventListener("DOMContentLoaded",n)),()=>ec(e,n)}typeof document<"u"&&Tg();function Gt(){return cn!=="pointer"}function un(){return cn}function Lo(e){cn=e,ta(e,null)}const Dg=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function Eg(e,t,n){let r=n?ee(n):void 0,a=ge(r),o=He(r);const i=typeof o<"u"?o.HTMLInputElement:HTMLInputElement,s=typeof o<"u"?o.HTMLTextAreaElement:HTMLTextAreaElement,l=typeof o<"u"?o.HTMLElement:HTMLElement,c=typeof o<"u"?o.KeyboardEvent:KeyboardEvent;let d=Se(a);return e=e||d instanceof i&&!Dg.has(d.type)||d instanceof s||d instanceof l&&d.isContentEditable,!(e&&t==="keyboard"&&n instanceof c&&!xg[n.key])}function Fg(e,t,n){Ro(),G(()=>{if(n?.enabled===!1)return;let r=(a,o)=>{Eg(!!n?.isTextInput,a,o)&&e(Gt())};return ko.add(r),()=>{ko.delete(r)}},t)}let jt=new Map,Mo=new Set;function tc(){if(typeof window>"u")return;function e(r){return"propertyName"in r}let t=r=>{let a=ee(r);if(!e(r)||!a)return;let o=jt.get(a);o||(o=new Set,jt.set(a,o),a.addEventListener("transitioncancel",n,{once:!0})),o.add(r.propertyName)},n=r=>{let a=ee(r);if(!e(r)||!a)return;let o=jt.get(a);if(o&&(o.delete(r.propertyName),o.size===0&&(a.removeEventListener("transitioncancel",n),jt.delete(a)),jt.size===0)){for(let i of Mo)i();Mo.clear()}};document.body.addEventListener("transitionrun",t),document.body.addEventListener("transitionend",n)}typeof document<"u"&&(document.readyState!=="loading"?tc():document.addEventListener("DOMContentLoaded",tc));function Bg(){for(const[e]of jt)"isConnected"in e&&!e.isConnected&&jt.delete(e)}function nc(e){requestAnimationFrame(()=>{Bg(),jt.size===0?e():Mo.add(e)})}function fn(e){if(!e.isConnected)return;const t=ge(e);if(un()==="virtual"){let n=Se(t);nc(()=>{const r=Se(t);(r===n||r===t.body)&&e.isConnected&&at(e)}
1)}else at(e)}function mn(...e){return(...t)=>{for(let n of e)typeof n=="function"&&n(...t)}}function Ig(e){let[t,n]=j(e),r=M(t),a=M(null),o=M(()=>{if(!a.current)return;let s=a.current.next();if(s.done){a.current=null;return}r.current===s.value?o.current():n(s.value)});Pe(()=>{r.current=t,a.current&&o.current()});let i=Q(s=>{a.current=s(r.current),o.current()},[o]);return[t,i]}let kg=!!(typeof window<"u"&&window.document&&window.document.createElement),kn=new Map,ir;typeof FinalizationRegistry<"u"&&(ir=new FinalizationRegistry(e=>{kn.delete(e)}));function Me(e){let[t,n]=j(e),r=M(null),a=yg(t),o=M(null);if(ir&&ir.register(o,a),kg){const i=kn.get(a);i&&!i.includes(r)?i.push(r):kn.set(a,[r])}return Pe(()=>{let i=a;return()=>{ir&&ir.unregister(o),kn.delete(i)}},[a]),G(()=>{let i=r.current;return i&&n(i),()=>{i&&(r.current=null)}}),a}function Ng(e,t){if(e===t)return e;let n=kn.get(e);if(n)return n.forEach(a=>a.current=t),t;let r=kn.get(t);return r?(r.forEach(a=>a.current=e),e):t}function Lt(e=[]){let t=Me(),[n,r]=Ig(t),a=Q(()=>{r(function*(){yield t,yield document.getElementById(t)?t:void 0})},[t,r]);return Pe(a,[t,a,...e]),n}function Rg(...e){return e.length===1&&e[0]?e[0]:t=>{let n=!1;const r=e.map(a=>{const o=rc(a,t);return n||=typeof o=="function",o});if(n)return()=>{r.forEach((a,o)=>{typeof a=="function"?a():rc(e[o],null)})}}}function rc(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function ac(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(t=0;t<a;t++)e[t]&&(n=ac(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Lg(){for(var e,t,n=0,r="",a=arguments.length;n<a;n++)(e=arguments[n])&&(t=ac(e))&&(r&&(r+=" "),r+=t);return r}function he(...e){let t={...e[0]};for(let n=1;n<e.length;n++){let r=e[n];for(let a in r){let o=t[a],i=r[a];typeof o=="function"&&typeof i=="function"&&a[0]==="o"&&a[1]==="n"&&a.charCodeAt(2)>=65&&a.charCodeAt(2)<=90?t[a]=mn(o,i):(a==="className"||a==="UNSAFE_className")&&typeof o=="string"&&typeof i=="string"?t[a]=Lg(o,i):a==="id"&&o&&i?t.id=Ng(o,i):a==="ref"&&o&&i?t.ref=Rg(o,i):t[a]=i!==void 0?i:o}}return t}function oc(e){let{isDisabled:t,onFocus:n,onBlur:r,onFocusChange:a}=e;const o=Q(l=>{if(ee(l)===l.currentTarget)return r&&r(l),a&&a(!1),!0},[r,a]),i=Hl(o),s=Q(l=>{let c=ee(l);const d=ge(c),u=d?Se(d):Se();c===l.currentTarget&&c===u&&(n&&n(l),a&&a(!0),i(l))},[a,n,i]);return{focusProps:{onFocus:!t&&(n||a||r)?s:void 0,onBlur:!t&&(r||a)?o:void 0}}}function ic(e){if(!e)return;let t=!0;return n=>{let r={...n,preventDefault(){n.preventDefault()},isDefaultPrevented(){return n.isDefaultPrevented()},stopPropagation(){t=!0},continuePropagation(){t=!1,typeof n.continuePropagation=="function"&&n.continuePropagation()},isPropagationStopped(){return t}};e(r),t&&n.stopPropagation()}}function sc(e){return{keyboardProps:e.isDisabled?{}:{onKeyDown:ic(e.onKeyDown),onKeyUp:ic(e.onKeyUp)}}}function lc(e,t){Pe(()=>{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref&&(e.ref.current=null)}})}let Mg=re.createContext(null);function Ag(e){let t=ve(Mg)||{};lc(t,e);let{ref:n,...r}=t;return r}function ra(e,t){let{focusProps:n}=oc(e),{keyboardProps:r}=sc(e),a=he(n,r),o=Ag(t),i=e.isDisabled?{}:o,s=M(e.autoFocus);G(()=>{s.current&&t.current&&fn(t.current),s.current=!1},[t]);let l=e.excludeFromTabOrder?-1:0;return e.isDisabled&&(l=void 0),{focusableProps:he({...a,tabIndex:l},i)}}const Og="react-aria-clear-focus",Vg="react-aria-focus";function cc(e){let t=_g(ge(e));t!==e&&(t&&Kg(t,e),e&&Ao(e,t))}function Kg(e,t){e.dispatchEvent(new FocusEvent("blur",{relatedTarget:t})),e.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:t}))}function Ao(e,t){e.dispatchEvent(new FocusEvent("focus",{relatedTarget:t})),e.dispatchEvent(new FocusEvent("focusin",{bubbles:!0,relatedTarget:t}))}function _g(e){let t=Se(e),n=t?.getAttribute("aria-activedescendant");return n&&e.getElementById(n)||t}const F=void 0;function Nn(e){return Wt()?e.metaKey:e.ctrlKey}const Hg=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function Oo(e){return e instanceof HTMLInputElement&&!Hg.has(e.type)||e instanceof HTMLTextAreaElement||e instanceof HTMLElement&&e.isContentEditable}const zg=re.useInsertionEffect??Pe;function Ae(e){const t=M(null);return zg(()=>{t.current=e},[e]),Q((...n)=>{const r=t.current;return r?.(...n)},[])}function mt(e,t,n,r){let a=Ae(n),o=n==null;G(()=>{if(o||!e.current)return;let i=e.current;return i.addEventListener(t,a,r),()=>{i.removeEventListener(t,a,r)}},[e,t,r,o])}function hn(e,t){let{id:n,"aria-label":r,"aria-labelledby":a}=e;return n=Me(n),a&&r?a=[...new Set([n,...a.trim().split(/\s+/)])].join(" "):a&&(a=a.trim().split(/\s+/).join(" ")),!r&&!a&&t&&(r=t),{id:n,"aria-label":r,"aria-labelledby":a}}
1const Ug=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),Wg=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function dc(e){if(Intl.Locale){let n=new Intl.Locale(e).maximize(),r=typeof n.getTextInfo=="function"?n.getTextInfo():n.textInfo;if(r)return r.direction==="rtl";if(n.script)return Ug.has(n.script)}let t=e.split("-")[0];return Wg.has(t)}const uc=Symbol.for("react-aria.i18n.locale");function fc(){let e=typeof window<"u"&&window[uc]||typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return{locale:e,direction:dc(e)?"rtl":"ltr"}}let Vo=fc(),sr=new Set;function mc(){Vo=fc();for(let e of sr)e(Vo)}function hc(){let e=Io(),[t,n]=j(Vo);return G(()=>(sr.size===0&&window.addEventListener("languagechange",mc),sr.add(n),()=>{sr.delete(n),sr.size===0&&window.removeEventListener("languagechange",mc)}),[]),e?{locale:typeof window<"u"&&window[uc]||"en-US",direction:"ltr"}:t}const Ko=re.createContext(null);function Gg(e){let{locale:t,children:n}=e,r=re.useMemo(()=>({locale:t,direction:dc(t)?"rtl":"ltr"}),[t]);return re.createElement(Ko.Provider,{value:r},n)}function jg(e){let{children:t}=e,n=hc();return re.createElement(Ko.Provider,{value:n},t)}function Zg(e){let{locale:t,children:n}=e;return t?re.createElement(Gg,{locale:t,children:n}):re.createElement(jg,{children:n})}function nt(){let e=hc();return ve(Ko)||e}const qg=Symbol.for("react-aria.i18n.locale"),Yg=Symbol.for("react-aria.i18n.strings");let aa;class Zt{constructor(t,n="en-US"){this.strings=Object.fromEntries(Object.entries(t).filter(([,r])=>r)),this.defaultLocale=n}getStringForLocale(t,n){let a=this.getStringsForLocale(n)[t];if(!a)throw new Error(`Could not find intl message ${t} in ${n} locale`);return a}getStringsForLocale(t){let n=this.strings[t];return n||(n=Xg(t,this.strings,this.defaultLocale),this.strings[t]=n),n}static getGlobalDictionaryForPackage(t){if(typeof window>"u")return null;let n=window[qg];if(aa===void 0){let a=window[Yg];if(!a)return null;aa={};for(let o in a)aa[o]=new Zt({[n]:a[o]},n)}let r=aa?.[t];if(!r)throw new Error(`Strings for package "${t}" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);return r}}function Xg(e,t,n="en-US"){if(t[e])return t[e];let r=Jg(e);if(t[r])return t[r];for(let a in t)if(a.startsWith(r+"-"))return t[a];return t[n]}function Jg(e){return Intl.Locale?new Intl.Locale(e).language:e.split("-")[0]}const pc=new Map,gc=new Map;class bc{constructor(t,n){this.locale=t,this.strings=n}format(t,n){let r=this.strings.getStringForLocale(t,this.locale);return typeof r=="function"?r(n,this):r}plural(t,n,r="cardinal"){let a=n["="+t];if(a)return typeof a=="function"?a():a;let o=this.locale+":"+r,i=pc.get(o);i||(i=new Intl.PluralRules(this.locale,{type:r}),pc.set(o,i));let s=i.select(t);return a=n[s]||n.other,typeof a=="function"?a():a}number(t){let n=gc.get(this.locale);return n||(n=new Intl.NumberFormat(this.locale),gc.set(this.locale,n)),n.format(t)}select(t,n){let r=t[n]||t.other;return typeof r=="function"?r():r}}const vc=new WeakMap;function Qg(e){let t=vc.get(e);return t||(t=new Zt(e),vc.set(e,t)),t}function Sc(e,t){return t&&Zt.getGlobalDictionaryForPackage(t)||Qg(e)}function ht(e,t){let{locale:n}=nt(),r=Sc(e,t);return H(()=>new bc(n,r),[n,r])}const eb=new Set(["id"]),tb=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),nb=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),rb=new Set(["dir","lang","hidden","inert","translate"]),yc=new Set(["onClick","onAuxClick","onContextMenu","onDoubleClick","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","onPointerDown","onPointerMove","onPointerUp","onPointerCancel","onPointerEnter","onPointerLeave","onPointerOver","onPointerOut","onGotPointerCapture","onLostPointerCapture","onScroll","onWheel","onAnimationStart","onAnimationEnd","onAnimationIteration","onTransitionCancel","onTransitionEnd","onTransitionRun","onTransitionStart"]),ab=/^(data-.*)$/;function ot(e,t={}){let{labelable:n,isLink:r,global:a,events:o=a,propNames:i}=t,s={};for(const l in e)Object.prototype.hasOwnProperty.call(e,l)&&(eb.has(l)||n&&tb.has(l)||r&&nb.has(l)||a&&rb.has(l)||o&&(yc.has(l)||l.endsWith("Capture")&&yc.has(l.slice(0,-7)))||i?.has(l)||ab.test(l))&&(s[l]=e[l]);return s}let Rn="default",_o="",oa=new WeakMap;function ob(e){if(ln()){if(Rn==="default"){const t=ge(e);_o=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none"}Rn="disabled"}else if(e instanceof HTMLElement||e instanceof SVGElement){let t="userSelect"in e.style?"userSelect":"webkitUserSelect";oa.set(e,e.style[t]),e.style[t]="none"}}function wc(e){if(ln()){if(Rn!=="disabled")return;Rn="restoring",setTimeout(()=>{nc(()=>
1{if(Rn==="restoring"){const t=ge(e);t.documentElement.style.webkitUserSelect==="none"&&(t.documentElement.style.webkitUserSelect=_o||""),_o="",Rn="default"}})},300)}else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&oa.has(e)){let t=oa.get(e),n="userSelect"in e.style?"userSelect":"webkitUserSelect";e.style[n]==="none"&&(e.style[n]=t),e.getAttribute("style")===""&&e.removeAttribute("style"),oa.delete(e)}}function $c(e){return e?.defaultView?.__webpack_nonce__||globalThis.__webpack_nonce__||void 0}let Ho=new WeakMap;function Cc(e){let t=e??(typeof document<"u"?document:void 0);if(!t)return $c(t);if(Ho.has(t))return Ho.get(t);let n=t.querySelector('meta[property="csp-nonce"]'),r=n&&n instanceof He(n).HTMLMetaElement&&(n.nonce||n.content)||$c(t)||void 0;return r!==void 0&&Ho.set(t,r),r}const zo=re.createContext({register:()=>{}});zo.displayName="PressResponderContext";function lr(){let e=M(new Map),t=Q((a,o,i,s)=>{let l=s?.once?(...c)=>{e.current.delete(i),i(...c)}:i;e.current.set(i,{type:o,eventTarget:a,fn:l,options:s}),a.addEventListener(o,l,s)},[]),n=Q((a,o,i,s)=>{let l=e.current.get(i)?.fn||i;a.removeEventListener(o,l,s),e.current.delete(i)},[]),r=Q(()=>{e.current.forEach((a,o)=>{n(a.eventTarget,a.type,o,a.options)})},[n]);return G(()=>r,[r]),{addGlobalListener:t,removeGlobalListener:n,removeAllGlobalListeners:r}}function ib(e){let t=ve(zo);if(t){let{register:n,ref:r,...a}=t;e=he(a,e),n()}return lc(t,e.ref),e}class ia{#e;constructor(t,n,r,a){this.#e=!0;const i=(a?.target??r.currentTarget)?.getBoundingClientRect();let s,l=0,c,d=null;r.clientX!=null&&r.clientY!=null&&(c=r.clientX,d=r.clientY),i&&(c!=null&&d!=null?(s=c-i.left,l=d-i.top):(s=i.width/2,l=i.height/2)),this.type=t,this.pointerType=n,this.target=r.currentTarget,this.shiftKey=r.shiftKey,this.metaKey=r.metaKey,this.ctrlKey=r.ctrlKey,this.altKey=r.altKey,this.x=s,this.y=l,this.key=r.key}continuePropagation(){this.#e=!1}get shouldStopPropagation(){return this.#e}}const xc=Symbol("linkClicked"),Pc="react-aria-pressable-style",Tc="data-react-aria-pressable";function Ln(e){let{onPress:t,onPressChange:n,onPressStart:r,onPressEnd:a,onPressUp:o,onClick:i,isDisabled:s,isPressed:l,preventFocusOnPress:c,shouldCancelOnPointerExit:d,allowTextSelectionOnPress:u,ref:m,...h}=ib(e),[b,g]=j(!1),v=M({isPressed:!1,ignoreEmulatedMouseEvents:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null,disposables:[]}),{addGlobalListener:y,removeAllGlobalListeners:$}=lr(),C=Q((P,R)=>{let V=v.current;if(s||V.didFirePressStart)return!1;let A=!0;if(V.isTriggeringEvent=!0,r){let O=new ia("pressstart",R,P);r(O),A=O.shouldStopPropagation}return n&&n(!0),V.isTriggeringEvent=!1,V.didFirePressStart=!0,g(!0),A},[s,r,n]),x=Q((P,R,V=!0)=>{let A=v.current;if(!A.didFirePressStart)return!1;A.didFirePressStart=!1,A.isTriggeringEvent=!0;let O=!0;if(a){let L=new ia("pressend",R,P);a(L),O=L.shouldStopPropagation}if(n&&n(!1),g(!1),t&&V&&!s){let L=new ia("press",R,P);t(L),O&&=L.shouldStopPropagation}return A.isTriggeringEvent=!1,O},[s,a,n,t]),E=Ae(x),T=Q((P,R)=>{let V=v.current;if(s)return!1;if(o){V.isTriggeringEvent=!0;let A=new ia("pressup",R,P);return o(A),V.isTriggeringEvent=!1,A.shouldStopPropagation}return!0},[s,o]),I=Ae(T),k=Q(P=>{let R=v.current;if(R.isPressed&&R.target){R.didFirePressStart&&R.pointerType!=null&&x(pn(R.target,P),R.pointerType,!1),R.isPressed=!1,R.isOverTarget=!1,R.activePointerId=null,R.pointerType=null,$(),u||wc(R.target);for(let V of R.disposables)V();R.disposables=[]}},[u,$,x]),K=Ae(k);G(()=>{s&&v.current.isPressed&&K({currentTarget:v.current.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})},[s]);let U=Q(P=>{d&&k(P)},[d,k]),B=Q(P=>{s||i?.(P)},[s,i]),N=Q((P,R)=>{if(!s&&i){let V=new MouseEvent("click",P);_l(V,R),i(Do(V))}},[s,i]),_=H(()=>{let P=v.current,R={onKeyDown(A){if(Wo(A.nativeEvent,A.currentTarget)&&ue(A.currentTarget,ee(A))){Dc(ee(A),A.key)&&A.preventDefault();let O=!0;!P.isPressed&&!A.repeat&&(P.target=A.currentTarget,P.isPressed=!0,P.pointerType="keyboard",O=C(A,"keyboard"));let L=A.currentTarget,D=q=>{Wo(q,L)&&!q.repeat&&ue(L,ee(q))&&P.target&&I(pn(P.target,q),"keyboard")};y(ge(A.currentTarget),"keyup",mn(D,V),!0),O&&A.stopPropagation(),A.metaKey&&Wt()&&P.metaKeyEvents?.set(A.key,A.nativeEvent)}else A.key==="Meta"&&(P.metaKeyEvents=new Map)},onClick(A){if(!(A&&!ue(A.currentTarget,ee(A)))&&A&&A.button===0&&!P.isTriggeringEvent&&!Rt.isOpening){let O=!0;
1if(s&&A.preventDefault(),!P.ignoreEmulatedMouseEvents&&!P.isPressed&&(P.pointerType==="virtual"||Gl(A.nativeEvent))){let L=C(A,"virtual"),D=I(A,"virtual"),q=E(A,"virtual");B(A),O=L&&D&&q}else if(P.isPressed&&P.pointerType!=="keyboard"){let L=P.pointerType||A.nativeEvent.pointerType||"virtual",D=I(pn(A.currentTarget,A),L),q=E(pn(A.currentTarget,A),L,!0);O=D&&q,P.isOverTarget=!1,B(A),K(A)}P.ignoreEmulatedMouseEvents=!1,O&&A.stopPropagation()}}},V=A=>{if(P.isPressed&&P.target&&Wo(A,P.target)){Dc(ee(A),A.key)&&A.preventDefault();let O=ee(A),L=ue(P.target,O);E(pn(P.target,A),"keyboard",L),L&&N(A,P.target),$(),A.key!=="Enter"&&Uo(P.target)&&ue(P.target,O)&&!A[xc]&&(A[xc]=!0,Rt(P.target,A,!1)),P.isPressed=!1,P.metaKeyEvents?.delete(A.key)}else if(A.key==="Meta"&&P.metaKeyEvents?.size){let O=P.metaKeyEvents;P.metaKeyEvents=void 0;for(let L of O.values())P.target?.dispatchEvent(new KeyboardEvent("keyup",L))}};if(typeof PointerEvent<"u"){R.onPointerDown=L=>{if(L.button!==0||!ue(L.currentTarget,ee(L)))return;if(ug(L.nativeEvent)){P.pointerType="virtual";return}P.pointerType=L.pointerType;let D=!0;if(!P.isPressed){P.isPressed=!0,P.isOverTarget=!0,P.activePointerId=L.pointerId,P.target=L.currentTarget,u||ob(P.target),D=C(L,P.pointerType);let q=ee(L);"releasePointerCapture"in q&&("hasPointerCapture"in q?q.hasPointerCapture(L.pointerId)&&q.releasePointerCapture(L.pointerId):q.releasePointerCapture(L.pointerId)),y(ge(L.currentTarget),"pointerup",A,!1),y(ge(L.currentTarget),"pointercancel",O,!1)}D&&L.stopPropagation()},R.onMouseDown=L=>{if(ue(L.currentTarget,ee(L))&&L.button===0){if(c){let D=lg(L.target);D&&P.disposables.push(D)}L.stopPropagation()}},R.onPointerUp=L=>{!ue(L.currentTarget,ee(L))||P.pointerType==="virtual"||L.button===0&&!P.isPressed&&I(L,P.pointerType||L.pointerType)},R.onPointerEnter=L=>{L.pointerId===P.activePointerId&&P.target&&!P.isOverTarget&&P.pointerType!=null&&(P.isOverTarget=!0,C(pn(P.target,L),P.pointerType))},R.onPointerLeave=L=>{L.pointerId===P.activePointerId&&P.target&&P.isOverTarget&&P.pointerType!=null&&(P.isOverTarget=!1,E(pn(P.target,L),P.pointerType,!1),U(L))};let A=L=>{if(L.pointerId===P.activePointerId&&P.isPressed&&L.button===0&&P.target){if(ue(P.target,ee(L))&&P.pointerType!=null){let D=!1,q=setTimeout(()=>{P.isPressed&&P.target instanceof HTMLElement&&(D?K(L):(at(P.target),P.target.click()))},80);y(L.currentTarget,"click",()=>D=!0,!0),P.disposables.push(()=>clearTimeout(q))}else K(L);P.isOverTarget=!1}},O=L=>{K(L)};R.onDragStart=L=>{ue(L.currentTarget,ee(L))&&K(L)}}return R},[y,s,c,$,u,U,C,B,N]);return G(()=>{if(!m)return;const P=ge(m.current);if(!P||!P.head||P.getElementById(Pc))return;const R=P.createElement("style");R.id=Pc;let V=Cc(P);V&&(R.nonce=V),R.textContent=` 2@layer { 3 [${Tc}] { 4 touch-action: pan-x pan-y pinch-zoom; 5 } 6} 7 `.trim(),P.head.prepend(R)},[m]),G(()=>{let P=v.current;return()=>{u||wc(P.target??void 0);for(let R of P.disposables)R();P.disposables=[]}},[u]),{isPressed:l||b,pressProps:he(h,_,{[Tc]:!0})}}function Uo(e){return e.tagName==="A"&&e.hasAttribute("href")}function Wo(e,t){const{key:n,code:r}=e,a=t,o=a.getAttribute("role");return(n==="Enter"||n===" "||n==="Spacebar"||r==="Space")&&!(a instanceof He(a).HTMLInputElement&&!Ec(a,n)||a instanceof He(a).HTMLTextAreaElement||a.isContentEditable)&&!((o==="link"||!o&&Uo(a))&&n!=="Enter")}function pn(e,t){let n=t.clientX,r=t.clientY;return{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey,clientX:n,clientY:r,key:t.key}}function sb(e){return e instanceof HTMLInputElement?!1:e instanceof HTMLButtonElement?e.type!=="submit"&&e.type!=="reset":!Uo(e)}function Dc(e,t){return e instanceof HTMLInputElement?!Ec(e,t):sb(e)}const lb=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function Ec(e,t){return e.type==="checkbox"||e.type==="radio"?t===" ":lb.has(e.type)}function cr(e,t){let{elementType:n="button",isDisabled:r,onPress:a,onPressStart:o,onPressEnd:i,onPressUp:s,onPressChange:l,preventFocusOnPress:c,allowFocusWhenDisabled:d,onClick:u,href:m,target:h,rel:b,type:g="button"}=e,v;n==="button"?v={type:g,disabled:r,form:e.form,formAction:e.formAction,formEncType:e.formEncType,formMethod:e.formMethod,formNoValidate:e.formNoValidate,formTarget:e.formTarget,name:e.name,value:e.value}:v={role:"button",href:n==="a"&&!r?m:void 0,target:n==="a"?h:void 0,type:n==="input"?g:void 0,disabled:n==="input"?r:void 0,"aria-disabled":!r||n==="input"?void 0:r,rel:n==="a"?b:void 0};let{pressProps:y,isPressed:$}=Ln({onPressStart:o,onPressEnd:i,onPressChange:l,onPress:a,onPressUp:s,onClick:u,isDisabled:r,preventFocusOnPress:c,ref:t}),{focusableProps:C}=ra(e,t);d&&(C.tabIndex=r?-1:C.tabIndex);let x=he(C,y,ot(e,{labelable:!0}));return{isPressed:$,buttonProps:he(v,x,{"aria-haspopup":e["aria-haspopup"],"aria-expanded":e["aria-expanded"],"aria-controls":e["aria-controls"],"aria-pressed":e["aria-pressed"],"aria-current":e["aria-current"],"aria-disabled":e["aria-disabled"]})}}class cb{constructor(t,n,r,a){this._walkerStack=[],this._currentSetFor=new Set,this._acceptNode=i=>{if(i.nodeType===Node.ELEMENT_NODE){const s=i.shadowRoot;if(s){const l=this._doc.createTreeWalker(s,this.whatToShow,{acceptNode:this._acceptNode});return this._walkerStack.unshift(l),NodeFilter.FILTER_ACCEPT}else{if(typeof this.filter=="function")return this.filter(i);if(this.filter?.acceptNode)return this.filter.acceptNode(i);if(this.filter===null)return NodeFilter.FILTER_ACCEPT}}return NodeFilter.FILTER_SKIP},this._doc=t,this.root=n,this.filter=a??null,this.whatToShow=r??NodeFilter.SHOW_ALL,this._currentNode=n,this._walkerStack.unshift(t.createTreeWalker(n,r,this._acceptNode));const o=n.shadowRoot;if(o){const i=this._doc.createTreeWalker(o,this.whatToShow,{acceptNode:this._acceptNode});this._walkerStack.unshift(i)}}get currentNode(){return this._currentNode}set currentNode(t){if(!ue(this.root,t))throw new Error("Cannot set currentNode to a node that is not contained by the root node.");const n=[];let r=t,a=t;for(this._currentNode=t;r&&r!==this.root;)if(r.nodeType===Node.DOCUMENT_FRAGMENT_NODE){const i=r,s=this._doc.createTreeWalker(i,this.whatToShow,{acceptNode:this._acceptNode});n.push(s),s.currentNode=a,this._currentSetFor.add(s),r=a=i.host}else r=r.parentNode;const o=this._doc.createTreeWalker(this.root,this.whatToShow,{acceptNode:this._acceptNode});n.push(o),o.currentNode=a,this._currentSetFor.add(o),this._walkerStack=n}get doc(){return this._doc}firstChild(){let t=this.currentNode,n=this.nextNode();return ue(t,n)?(n&&(this.currentNode=n),n):(this.currentNode=t,null)}lastChild(){let n=this._walkerStack[0].lastChild();return n&&(this.currentNode=n),n}nextNode(){const t=this._walkerStack[0].nextNode();if(t){if(t.shadowRoot){let r;if(typeof this.filter=="function"?r=this.filter(t):this.filter?.acceptNode&&(r=this.filter.acceptNode(t)),r===NodeFilter.FILTER_ACCEPT)return this.currentNode=t,t;let a=this.nextNode();return a&&(this.currentNode=a),a}return t&&(this.currentNode=t),t}else if(this._walkerStack.length>1){this._walkerStack.shift();let n=this.nextNode();return n&&(this.currentNode=n),n}else return null}previousNode(){const t=this._walkerStack[0];if(t.currentNode===t.root){if(this._currentSetFor.has(t))if(this._currentSetFor.delete(t),this._walkerStack.length>1){this._walkerStack.shift();let r=this.previousNode();return r&&(this.currentNode=r),r}else return null;return null}const n=t.previousNode();if(n){if(n.shadowRoot){let a;if(typeof this.filter=="function"?a=this.filter(n):this.filter?.acceptNode&&(a=this.filter.acceptNode(n)),a===NodeFilter.FILTER_ACCEPT)return n&&(this.currentNode=n),n;let o=this.lastChild();return o&&(this.currentNode=o),o}return n&&(this.currentNode=n),n}else if(this._walkerStack.length>1){this._walkerStack.shift();let r=this.previousNode();return r&&(this.currentNode=r),r}else return null}nextSibling(){return null}previousSibling(){return null}parentNode(){return null}}function Fc(e,t,n,r){return kt()?new cb(e,t,n,r):e.createTreeWalker(t,n,r)}const Bc=re.createContext(null),Go="react-aria-focus-scope-restore";let Te=null;
7function db(e){let{children:t,contain:n,restoreFocus:r,autoFocus:a}=e,o=M(null),i=M(null),s=M([]),{parentNode:l}=ve(Bc)||{},c=H(()=>new Yo({scopeRef:s}),[s]);Pe(()=>{let m=l||Re.root;if(Re.getTreeNode(m.scopeRef)&&Te&&!sa(Te,m.scopeRef)){let h=Re.getTreeNode(Te);h&&(m=h)}m.addChild(c),Re.addNode(c)},[c,l]),Pe(()=>{let m=Re.getTreeNode(s);m&&(m.contain=!!n)},[n]),Pe(()=>{let m=o.current?.nextSibling,h=[],b=g=>g.stopPropagation();for(;m&&m!==i.current;)h.push(m),m.addEventListener(Go,b),m=m.nextSibling;return s.current=h,()=>{for(let g of h)g.removeEventListener(Go,b)}},[t]),bb(s,r,n),hb(s,n),vb(s,r,n),gb(s,a),G(()=>{const m=Se(ge(s.current?s.current[0]:void 0));let h=null;if(it(m,s.current)){for(let b of Re.traverse())b.scopeRef&&it(m,b.scopeRef.current)&&(h=b);h===Re.getTreeNode(s)&&(Te=h.scopeRef)}},[s]),Pe(()=>()=>{let m=Re.getTreeNode(s)?.parent?.scopeRef??null;(s===Te||sa(s,Te))&&(!m||Re.getTreeNode(m))&&(Te=m),Re.removeTreeNode(s)},[s]);let d=H(()=>ub(s),[]),u=H(()=>({focusManager:d,parentNode:c}),[c,d]);return re.createElement(Bc.Provider,{value:u},re.createElement("span",{"data-focus-scope-start":!0,hidden:!0,ref:o}),t,re.createElement("span",{"data-focus-scope-end":!0,hidden:!0,ref:i}))}function ub(e){return{focusNext(t={}){let n=e.current,{from:r,tabbable:a,wrap:o,accept:i}=t,s=r||Se(ge(n[0]??void 0)),l=n[0].previousElementSibling,c=gn(n),d=je(c,{tabbable:a,accept:i},n);d.currentNode=it(s,n)?s:l;let u=d.nextNode();
7return!u&&o&&(d.currentNode=l,u=d.nextNode()),u&&Je(u,!0),u},focusPrevious(t={}){let n=e.current,{from:r,tabbable:a,wrap:o,accept:i}=t,s=r||Se(ge(n[0]??void 0)),l=n[n.length-1].nextElementSibling,c=gn(n),d=je(c,{tabbable:a,accept:i},n);d.currentNode=it(s,n)?s:l;let u=d.previousNode();return!u&&o&&(d.currentNode=l,u=d.previousNode()),u&&Je(u,!0),u},focusFirst(t={}){let n=e.current,{tabbable:r,accept:a}=t,o=gn(n),i=je(o,{tabbable:r,accept:a},n);i.currentNode=n[0].previousElementSibling;let s=i.nextNode();return s&&Je(s,!0),s},focusLast(t={}){let n=e.current,{tabbable:r,accept:a}=t,o=gn(n),i=je(o,{tabbable:r,accept:a},n);i.currentNode=n[n.length-1].nextElementSibling;let s=i.previousNode();return s&&Je(s,!0),s}}}function gn(e){return e[0].parentElement}function dr(e){let t=Re.getTreeNode(Te);for(;t&&t.scopeRef!==e;){if(t.contain)return!1;t=t.parent}return!0}function fb(e){if(!e.form)return Array.from(ge(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)).filter(r=>!r.form);const t=e.form.elements.namedItem(e.name);let n=He(e);return t instanceof n.RadioNodeList?Array.from(t).filter(r=>r instanceof n.HTMLInputElement):t instanceof n.HTMLInputElement?[t]:[]}function mb(e){if(e.checked)return!0;const t=fb(e);return t.length>0&&!t.some(n=>n.checked)}function hb(e,t){let n=M(void 0),r=M(void 0);Pe(()=>{let a=e.current;if(!t){r.current&&(cancelAnimationFrame(r.current),r.current=void 0);return}const o=ge(a?a[0]:void 0);let i=c=>{if(c.key!=="Tab"||c.altKey||c.ctrlKey||c.metaKey||!dr(e)||c.isComposing)return;let d=Se(o),u=e.current;if(!u||!it(d,u))return;let m=gn(u),h=je(m,{tabbable:!0},u);if(!d)return;h.currentNode=d;let b=c.shiftKey?h.previousNode():h.nextNode();b||(h.currentNode=c.shiftKey?u[u.length-1].nextElementSibling:u[0].previousElementSibling,b=c.shiftKey?h.previousNode():h.nextNode()),c.preventDefault(),b&&(Je(b,!0),b instanceof He(b).HTMLInputElement&&b.select())},s=c=>{(!Te||sa(Te,e))&&it(ee(c),e.current)?(Te=e,n.current=ee(c)):dr(e)&&!qt(ee(c),e)?n.current?n.current.focus():Te&&Te.current&&jo(Te.current):dr(e)&&(n.current=ee(c))},l=c=>{r.current&&cancelAnimationFrame(r.current),r.current=requestAnimationFrame(()=>{let d=un(),u=(d==="virtual"||d===null)&&Fo()&&Wl(),m=Se(o);if(!u&&m&&dr(e)&&!qt(m,e)){Te=e;let h=ee(c);h&&h.isConnected?(n.current=h,n.current?.focus()):Te.current&&jo(Te.current)}})};return o.addEventListener("keydown",i,!1),o.addEventListener("focusin",s,!1),a?.forEach(c=>c.addEventListener("focusin",s,!1)),a?.forEach(c=>c.addEventListener("focusout",l,!1)),()=>{o.removeEventListener("keydown",i,!1),o.removeEventListener("focusin",s,!1),a?.forEach(c=>c.removeEventListener("focusin",s,!1)),a?.forEach(c=>c.removeEventListener("focusout",l,!1))}},[e,t]),Pe(()=>()=>{r.current&&cancelAnimationFrame(r.current)},[r])}function Ic(e){return qt(e)}function it(e,t){return!e||!t?!1:t.some(n=>ue(n,e))}function qt(e,t=null){if(e instanceof Element&&e.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:n}of Re.traverse(Re.getTreeNode(t)))if(n&&it(e,n.current))return!0;return!1}function pb(e){return qt(e,Te)}function sa(e,t){let n=Re.getTreeNode(t)?.parent;for(;n;){if(n.scopeRef===e)return!0;n=n.parent}return!1}function Je(e,t=!1){if(e!=null&&!t)try{fn(e)}catch{}else if(e!=null)try{e.focus()}catch{}}function kc(e,t=!0){let n=e[0].previousElementSibling,r=gn(e),a=je(r,{tabbable:t},e);a.currentNode=n;let o=a.nextNode();return t&&!o&&(r=gn(e),a=je(r,{tabbable:!1},e),a.currentNode=n,o=a.nextNode()),o}function jo(e,t=!0){Je(kc(e,t))}function gb(e,t){const n=re.useRef(t);G(()=>{if(n.current){Te=e;const r=ge(e.current?e.current[0]:void 0);!it(Se(r),Te.current)&&e.current&&jo(e.current)}n.current=!1},[e])}function bb(e,t,n){Pe(()=>{if(t||n)return;let r=e.current;const a=ge(r?r[0]:void 0);let o=i=>{let s=ee(i);it(s,e.current)?Te=e:Ic(s)||(Te=null)};return a.addEventListener("focusin",o,!1),r?.forEach(i=>i.addEventListener("focusin",o,!1)),()=>{a.removeEventListener("focusin",o,!1),r?.forEach(i=>i.removeEventListener("focusin",o,!1))}},[e,t,n])}function Nc(e){let t=Re.getTreeNode(Te);for(;t&&t.scopeRef!==e;
7){if(t.nodeToRestore)return!1;t=t.parent}return t?.scopeRef===e}function vb(e,t,n){const r=M(typeof document<"u"?Se(ge(e.current?e.current[0]:void 0)):null);Pe(()=>{let a=e.current;const o=ge(a?a[0]:void 0);if(!t||n)return;let i=()=>{(!Te||sa(Te,e))&&it(Se(o),e.current)&&(Te=e)};return o.addEventListener("focusin",i,!1),a?.forEach(s=>s.addEventListener("focusin",i,!1)),()=>{o.removeEventListener("focusin",i,!1),a?.forEach(s=>s.removeEventListener("focusin",i,!1))}},[e,n]),Pe(()=>{const a=ge(e.current?e.current[0]:void 0);if(!t)return;let o=i=>{if(i.key!=="Tab"||i.altKey||i.ctrlKey||i.metaKey||!dr(e)||i.isComposing)return;let s=a.activeElement;if(!qt(s,e)||!Nc(e))return;let l=Re.getTreeNode(e);if(!l)return;let c=l.nodeToRestore,d=je(a.body,{tabbable:!0});d.currentNode=s;let u=i.shiftKey?d.previousNode():d.nextNode();if((!c||!c.isConnected||c===a.body)&&(c=void 0,l.nodeToRestore=void 0),(!u||!qt(u,e))&&c){d.currentNode=c;do u=i.shiftKey?d.previousNode():d.nextNode();while(qt(u,e));i.preventDefault(),i.stopPropagation(),u?Je(u,!0):Ic(c)?Je(c,!0):s.blur()}};return n||a.addEventListener("keydown",o,!0),()=>{n||a.removeEventListener("keydown",o,!0)}},[e,t,n]),Pe(()=>{const a=ge(e.current?e.current[0]:void 0);if(!t)return;let o=Re.getTreeNode(e);if(o)return o.nodeToRestore=r.current??void 0,()=>{let i=Re.getTreeNode(e);if(!i)return;let s=i.nodeToRestore,l=Se(a);if(t&&s&&(l&&qt(l,e)||l===a.body&&Nc(e))){let c=Re.clone();requestAnimationFrame(()=>{if(a.activeElement===a.body){let d=c.getTreeNode(e);for(;d;){if(d.nodeToRestore&&d.nodeToRestore.isConnected){Rc(d.nodeToRestore);return}d=d.parent}for(d=c.getTreeNode(e);d;){if(d.scopeRef&&d.scopeRef.current&&Re.getTreeNode(d.scopeRef)){let u=kc(d.scopeRef.current,!0);Rc(u);return}d=d.parent}}})}}},[e,t])}function Rc(e){e.dispatchEvent(new CustomEvent(Go,{bubbles:!0,cancelable:!0}))&&Je(e)}function je(e,t,n){let r=t?.tabbable?Vl:Ol,a=e?.nodeType===Node.ELEMENT_NODE?e:null,o=ge(a),i=Fc(o,e||o,NodeFilter.SHOW_ELEMENT,{acceptNode(s){return ue(t?.from,s)||t?.tabbable&&s.tagName==="INPUT"&&s.getAttribute("type")==="radio"&&(!mb(s)||i.currentNode.tagName==="INPUT"&&i.currentNode.type==="radio"&&i.currentNode.name===s.name)?NodeFilter.FILTER_REJECT:r(s)&&(!n||it(s,n))&&(!t?.accept||t.accept(s))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});return t?.from&&(i.currentNode=t.from),i}function la(e,t={}){return{focusNext(n={}){let r=e.current;if(!r)return null;let{from:a,tabbable:o=t.tabbable,wrap:i=t.wrap,accept:s=t.accept}=n,l=a||Se(ge(r)),c=je(r,{tabbable:o,accept:s});ue(r,l)&&(c.currentNode=l);let d=c.nextNode();return!d&&i&&(c.currentNode=r,d=c.nextNode()),d&&Je(d,!0),d},focusPrevious(n=t){let r=e.current;if(!r)return null;let{from:a,tabbable:o=t.tabbable,wrap:i=t.wrap,accept:s=t.accept}=n,l=a||Se(ge(r)),c=je(r,{tabbable:o,accept:s});if(ue(r,l))c.currentNode=l;else{let u=Zo(c);return u&&Je(u,!0),u??null}let d=c.previousNode();if(!d&&i){c.currentNode=r;let u=Zo(c);if(!u)return null;d=u}return d&&Je(d,!0),d??null},focusFirst(n=t){let r=e.current;if(!r)return null;let{tabbable:a=t.tabbable,accept:o=t.accept}=n,s=je(r,{tabbable:a,accept:o}).nextNode();return s&&Je(s,!0),s},focusLast(n=t){let r=e.current;if(!r)return null;let{tabbable:a=t.tabbable,accept:o=t.accept}=n,i=je(r,{tabbable:a,accept:o}),s=Zo(i);return s&&Je(s,!0),s??null}}}function Zo(e){let t,n;do n=e.lastChild(),n&&(t=n);while(n);return t}class qo{constructor(){this.fastMap=new Map,this.root=new Yo({scopeRef:null}),this.fastMap.set(null,this.root)}get size(){return this.fastMap.size}getTreeNode(t){return this.fastMap.get(t)}addTreeNode(t,n,r){let a=this.fastMap.get(n??null);if(!a)return;let o=new Yo({scopeRef:t});a.addChild(o),o.parent=a,this.fastMap.set(t,o),r&&(o.nodeToRestore=r)}addNode(t){this.fastMap.set(t.scopeRef,t)}removeTreeNode(t){if(t===null)return;let n=this.fastMap.get(t);if(!n)return;let r=n.parent;for(let o of this.traverse())o!==n&&n.nodeToRestore&&o.nodeToRestore&&n.scopeRef&&n.scopeRef.current&&it(o.nodeToRestore,n.scopeRef.current)&&(o.nodeToRestore=n.nodeToRestore);let a=n.children;r&&(r.removeChild(n),a.size>0&&a.forEach(o=>r&&r.addChild(o))),this.fastMap.delete(n.scopeRef)}*traverse(t=this.root){if(t.scopeRef!=null&&(yield t),t.children.size>0)for(let n of t.children)yield*this.traverse(n)}clone(){let t=new qo;for(let n of this.traverse())t.addTreeNode(n.scopeRef,n.parent?.scopeRef??null,n.nodeToRestore);return t}}class Yo{constructor(t){this.children=new Set,this.contain=!1,this.scopeRef=t.scopeRef}addChild(t){this.children.add(t),t.parent=this}removeChild(t){this.children.delete(t),t.parent=void 0}}let Re=new qo;const Lc=7e3;let Yt=null;function Mn(e,t="assertive",n=Lc){Yt?Yt.announce(e,t,n):(Yt=new yb,(typeof IS_REACT_ACT_ENVIRONMENT=="boolean"?IS_REACT_ACT_ENVIRONMENT:typeof jest<"u")?Yt.announce(e,t,n):setTimeout(()=>{Yt?.isAttached()&&Yt?.announce(e,t,n)},100))}function Sb(e){Yt&&Yt.clear(e)}class yb{constructor(){this.node=null,this.assertiveLog=null,this.politeLog=null,typeof document<"u"&&(this.node=document.createElement("div"),this.node.dataset.liveAnnouncer="true",Object.assign(this.node.style,{border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"}),this.assertiveLog=this.createLog("assertive"),this.node.appendChild(this.assertiveLog),this.politeLog=this.createLog("polite"),this.node.appendChild(this.politeLog),document.body.prepend(this.node))}isAttached(){return this.node?.isConnected}createLog(t){let n=document.createElement("div");return n.setAttribute("role","log"),n.setAttribute("aria-live",t),n.setAttribute("aria-relevant","additions"),n}destroy(){this.node&&(document.body.removeChild(this.node),this.node=null)}announce(t,n="assertive",r=Lc){if(!this.node)return;let a=document.createElement("div");typeof t=="object"?(a.setAttribute("role","img"),a.setAttribute("aria-labelledby",t["aria-labelledby"])):a.textContent=t,n==="assertive"?this.assertiveLog?.appendChild(a):this.politeLog?.appendChild(a),t!==""&&setTimeout(()=>{a.remove()},r)}clear(t){this.node&&((!t||t==="assertive")&&this.assertiveLog&&(this.assertiveLog.innerHTML=""),(!t||t==="polite")&&this.politeLog&&(this.politeLog.innerHTML=""))}}var Mc={};Mc={dateRange:e=>`${e.startDate} til ${e.endDate}`,dateSelected:e=>`${e.date} valgt`,finishRangeSelectionPrompt:"Klik for at fuldf\xF8re valg af datoomr\xE5de",maximumDate:"Sidste ledige dato",minimumDate:"F\xF8rste ledige dato",next:"N\xE6ste",previous:"Forrige",selectedDateDescription:e=>`Valgt dato: ${e.date}`,selectedRangeDescription:e=>`Valgt interval: ${e.dateRange}`,startRangeSelectionPrompt:"Klik for at starte valg af datoomr\xE5de",todayDate:e=>`I dag, ${e.date}`,todayDateSelected:e=>`I dag, ${e.date} valgt`};var Ac={};Ac={dateRange:e=>`${e.startDate} bis ${e.endDate}`,dateSelected:e=>`${e.date} ausgew\xE4hlt`,finishRangeSelectionPrompt:"Klicken, um die Auswahl des Datumsbereichs zu beenden",maximumDate:"Letztes verf\xFCgbares Datum",minimumDate:"Erstes verf\xFCgbares Datum",next:"Weiter",previous:"Zur\xFCck",selectedDateDescription:e=>`Ausgew\xE4hltes Datum: ${e.date}`,selectedRangeDescription:e=>`Ausgew\xE4hlter Bereich: ${e.dateRange}`,startRangeSelectionPrompt:"Klicken, um die Auswahl des Datumsbereichs zu beginnen",todayDate:e=>`Heute, ${e.date}`,todayDateSelected:e=>`Heute, ${e.date} ausgew\xE4hlt`};var Oc={};Oc={previous:"Previous",next:"Next",selectedDateDescription:e=>`Selected Date: ${e.date}`,selectedRangeDescription:e=>`Selected Range: ${e.dateRange}`,todayDate:e=>`Today, ${e.date}`,todayDateSelected:e=>`Today, ${e.date} selected`,dateSelected:e=>`${e.date} selected`,startRangeSelectionPrompt:"Click to start selecting date range",finishRangeSelectionPrompt:"Click to finish selecting date range",minimumDate:"First available date",maximumDate:"Last available date",dateRange:e=>`${e.startDate} to ${e.endDate}`};var Vc={};Vc={dateRange:e=>`${e.startDate} a ${e.endDate}`,dateSelected:e=>`${e.date} seleccionado`,finishRangeSelectionPrompt:"Haga clic para terminar de seleccionar rango de fechas",maximumDate:"\xDAltima fecha disponible",minimumDate:"Primera fecha disponible",next:"Siguiente",previous:"Anterior",selectedDateDescription:e=>
7`Fecha seleccionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo seleccionado: ${e.dateRange}`,startRangeSelectionPrompt:"Haga clic para comenzar a seleccionar un rango de fechas",todayDate:e=>`Hoy, ${e.date}`,todayDateSelected:e=>`Hoy, ${e.date} seleccionado`};var Kc={};Kc={dateRange:e=>`${e.startDate} \u2013 ${e.endDate}`,dateSelected:e=>`${e.date} valittu`,finishRangeSelectionPrompt:"Lopeta p\xE4iv\xE4m\xE4\xE4r\xE4alueen valinta napsauttamalla t\xE4t\xE4.",maximumDate:"Viimeinen varattavissa oleva p\xE4iv\xE4m\xE4\xE4r\xE4",minimumDate:"Ensimm\xE4inen varattavissa oleva p\xE4iv\xE4m\xE4\xE4r\xE4",next:"Seuraava",previous:"Edellinen",selectedDateDescription:e=>`Valittu p\xE4iv\xE4m\xE4\xE4r\xE4: ${e.date}`,selectedRangeDescription:e=>`Valittu aikav\xE4li: ${e.dateRange}`,startRangeSelectionPrompt:"Aloita p\xE4iv\xE4m\xE4\xE4r\xE4alueen valinta napsauttamalla t\xE4t\xE4.",todayDate:e=>`T\xE4n\xE4\xE4n, ${e.date}`,todayDateSelected:e=>`T\xE4n\xE4\xE4n, ${e.date} valittu`};var _c={};_c={dateRange:e=>`${e.startDate} \xE0 ${e.endDate}`,dateSelected:e=>`${e.date} s\xE9lectionn\xE9`,finishRangeSelectionPrompt:"Cliquer pour finir de s\xE9lectionner la plage de dates",maximumDate:"Derni\xE8re date disponible",minimumDate:"Premi\xE8re date disponible",next:"Suivant",previous:"Pr\xE9c\xE9dent",selectedDateDescription:e=>`Date s\xE9lectionn\xE9e\xA0: ${e.date}`,selectedRangeDescription:e=>`Plage s\xE9lectionn\xE9e\xA0: ${e.dateRange}`,startRangeSelectionPrompt:"Cliquer pour commencer \xE0 s\xE9lectionner la plage de dates",todayDate:e=>`Aujourd'hui, ${e.date}`,todayDateSelected:e=>`Aujourd\u2019hui, ${e.date} s\xE9lectionn\xE9`};var Hc={};Hc={dateRange:e=>`Da ${e.startDate} a ${e.endDate}`,dateSelected:e=>`${e.date} selezionata`,finishRangeSelectionPrompt:"Fai clic per completare la selezione dell\u2019intervallo di date",maximumDate:"Ultima data disponibile",minimumDate:"Prima data disponibile",next:"Successivo",previous:"Precedente",selectedDateDescription:e=>`Data selezionata: ${e.date}`,selectedRangeDescription:e=>`Intervallo selezionato: ${e.dateRange}`,startRangeSelectionPrompt:"Fai clic per selezionare l\u2019intervallo di date",todayDate:e=>`Oggi, ${e.date}`,todayDateSelected:e=>`Oggi, ${e.date} selezionata`};var zc={};zc={dateRange:e=>`${e.startDate} til ${e.endDate}`,dateSelected:e=>`${e.date} valgt`,finishRangeSelectionPrompt:"Klikk for \xE5 fullf\xF8re valg av datoomr\xE5de",maximumDate:"Siste tilgjengelige dato",minimumDate:"F\xF8rste tilgjengelige dato",next:"Neste",previous:"Forrige",selectedDateDescription:e=>`Valgt dato: ${e.date}`,selectedRangeDescription:e=>`Valgt omr\xE5de: ${e.dateRange}`,startRangeSelectionPrompt:"Klikk for \xE5 starte valg av datoomr\xE5de",todayDate:e=>`I dag, ${e.date}`,todayDateSelected:e=>`I dag, ${e.date} valgt`};var Uc={};Uc={dateRange:e=>`${e.startDate} tot ${e.endDate}`,dateSelected:e=>`${e.date} geselecteerd`,finishRangeSelectionPrompt:"Klik om de selectie van het datumbereik te voltooien",maximumDate:"Laatste beschikbare datum",minimumDate:"Eerste beschikbare datum",next:"Volgende",previous:"Vorige",selectedDateDescription:e=>`Geselecteerde datum: ${e.date}`,selectedRangeDescription:e=>`Geselecteerd bereik: ${e.dateRange}`,startRangeSelectionPrompt:"Klik om het datumbereik te selecteren",todayDate:e=>`Vandaag, ${e.date}`,todayDateSelected:e=>`Vandaag, ${e.date} geselecteerd`};var Wc={};Wc={dateRange:e=>`${e.startDate} a ${e.endDate}`,dateSelected:e=>`${e.date} selecionado`,finishRangeSelectionPrompt:"Clique para terminar de selecionar o intervalo de datas",maximumDate:"\xDAltima data dispon\xEDvel",minimumDate:"Primeira data dispon\xEDvel",next:"Pr\xF3ximo",previous:"Anterior",selectedDateDescription:e=>`Data selecionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo selecionado: ${e.dateRange}`,startRangeSelectionPrompt:"Clique para come\xE7ar a selecionar o intervalo de datas",todayDate:e=>`Hoje, ${e.date}`,todayDateSelected:e=>`Hoje, ${e.date} selecionado`};var Gc={};Gc={dateRange:e=>`${e.startDate} till ${e.endDate}`,dateSelected:e=>`${e.date} har valts`,finishRangeSelectionPrompt:"Klicka f\xF6r att avsluta val av datumintervall",maximumDate:"Sista t
7illg\xE4ngliga datum",minimumDate:"F\xF6rsta tillg\xE4ngliga datum",next:"N\xE4sta",previous:"F\xF6reg\xE5ende",selectedDateDescription:e=>`Valt datum: ${e.date}`,selectedRangeDescription:e=>`Valt intervall: ${e.dateRange}`,startRangeSelectionPrompt:"Klicka f\xF6r att v\xE4lja datumintervall",todayDate:e=>`Idag, ${e.date}`,todayDateSelected:e=>`Idag, ${e.date} har valts`};var ur={};ur={"ar-AE":F,"bg-BG":F,"cs-CZ":F,"da-DK":Mc,"de-DE":Ac,"el-GR":F,"en-US":Oc,"es-ES":Vc,"et-EE":F,"fi-FI":Kc,"fr-FR":_c,"he-IL":F,"hr-HR":F,"hu-HU":F,"it-IT":Hc,"ja-JP":F,"ko-KR":F,"lt-LT":F,"lv-LV":F,"nb-NO":zc,"nl-NL":Uc,"pl-PL":F,"pt-BR":F,"pt-PT":Wc,"ro-RO":F,"ru-RU":F,"sk-SK":F,"sl-SI":F,"sr-SP":F,"sv-SE":Gc,"tr-TR":F,"uk-UA":F,"zh-CN":F,"zh-TW":F};function jc(e,t){let n=M(null);return e&&n.current&&t(e,n.current)&&(e=n.current),n.current=e,e}function Xo(e,t){return e-t*Math.floor(e/t)}const Zc=1721426;function ca(e,t,n,r){t=Jo(e,t);let a=t-1,o=-2;return n<=2?o=0:da(t)&&(o=-1),Zc-1+365*a+Math.floor(a/4)-Math.floor(a/100)+Math.floor(a/400)+Math.floor((367*n-362)/12+o+r)}function da(e){return e%4===0&&(e%100!==0||e%400===0)}function Jo(e,t){return e==="BC"?1-t:t}function wb(e){let t="AD";return e<=0&&(t="BC",e=1-e),[t,e]}const $b={standard:[31,28,31,30,31,30,31,31,30,31,30,31],leapyear:[31,29,31,30,31,30,31,31,30,31,30,31]};class Qe{fromJulianDay(t){let n=t,r=n-Zc,a=Math.floor(r/146097),o=Xo(r,146097),i=Math.floor(o/36524),s=Xo(o,36524),l=Math.floor(s/1461),c=Xo(s,1461),d=Math.floor(c/365),u=a*400+i*100+l*4+d+(i!==4&&d!==4?1:0),[m,h]=wb(u),b=n-ca(m,h,1,1),g=2;n<ca(m,h,3,1)?g=0:da(h)&&(g=1);let v=Math.floor(((b+g)*12+373)/367),y=n-ca(m,h,v,1)+1;return new st(m,h,v,y)}toJulianDay(t){return ca(t.era,t.year,t.month,t.day)}getDaysInMonth(t){return $b[da(t.year)?"leapyear":"standard"][t.month-1]}getMonthsInYear(t){return 12}getDaysInYear(t){return da(t.year)?366:365}getMaximumMonthsInYear(){return 12}getMaximumDaysInMonth(){return 31}getYearsInEra(t){return 9999}getEras(){return["BC","AD"]}isInverseEra(t){return t.era==="BC"}balanceDate(t){t.year<=0&&(t.era=t.era==="BC"?"AD":"BC",t.year=1-t.year)}constructor(){this.identifier="gregory"}}const Cb={"001":1,AD:1,AE:6,AF:6,AI:1,AL:1,AM:1,AN:1,AR:1,AT:1,AU:1,AX:1,AZ:1,BA:1,BE:1,BG:1,BH:6,BM:1,BN:1,BY:1,CH:1,CL:1,CM:1,CN:1,CR:1,CY:1,CZ:1,DE:1,DJ:6,DK:1,DZ:6,EC:1,EE:1,EG:6,ES:1,FI:1,FJ:1,FO:1,FR:1,GB:1,GE:1,GF:1,GP:1,GR:1,HR:1,HU:1,IE:1,IQ:6,IR:6,IS:1,IT:1,JO:6,KG:1,KW:6,KZ:1,LB:1,LI:1,LK:1,LT:1,LU:1,LV:1,LY:6,MC:1,MD:1,ME:1,MK:1,MN:1,MQ:1,MV:5,MY:1,NL:1,NO:1,NZ:1,OM:6,PL:1,QA:6,RE:1,RO:1,RS:1,RU:1,SD:6,SE:1,SI:1,SK:1,SM:1,SY:6,TJ:1,TM:1,TR:1,UA:1,UY:1,UZ:1,VA:1,VN:1,XK:1};function De(e,t){return t=Fe(t,e.calendar),e.era===t.era&&e.year===t.year&&e.month===t.month&&e.day===t.day}function xb(e,t){return ua(e.calendar,t.calendar)&&De(e,t)}function ua(e,t){return e.isEqual?.(t)??t.isEqual?.(e)??e.identifier===t.identifier}function Pb(e,t){return De(e,fr(t))}const Tb={sun:0,mon:1,tue:2,wed:3,thu:4,fri:5,sat:6};function Qo(e,t,n){let r=e.calendar.toJulianDay(e),a=n?Tb[n]:Ib(t),o=Math.ceil(r+1-a)%7;return o<0&&(o+=7),o}function qc(e){return At(Date.now(),e)}function fr(e){return ze(qc(e))}function Yc(e,t){return e.calendar.toJulianDay(e)-t.calendar.toJulianDay(t)}function Xc(e,t){return Jc(e)-Jc(t)}function Jc(e){return e.hour*36e5+e.minute*6e4+e.second*1e3+e.millisecond}let ei=null,Db=!1;function ti(){return ei==null&&(ei=new Intl.DateTimeFormat().resolvedOptions().timeZone),ei}function Qc(){return Db}function mr(e){return e.subtract({days:e.day-1})}function ni(e){return e.add({days:e.calendar.getDaysInMonth(e)-e.day})}function Eb(e){return mr(e.subtract({months:e.month-1}))}function hr(e,t,n){let r=Qo(e,t,n);return e.subtract({days:r})}function Fb(e,t,n){return hr(e,t,n).add({days:6})}const ed=new Map,ri=new Map;function Bb(e){if(Intl.Locale){let n=ed.get(e);return n||(n=new Intl.Locale(e).maximize().region,n&&ed.set(e,n)),n}let t=e.split("-")[1];return t==="u"?void 0:t}function Ib(e){let t=ri.get(e);if(!t){if(Intl.Locale){let r=new Intl.Locale(e);if("getWeekInfo"in r&&(t=r.getWeekInfo(),t))return ri.set(e,t),t.firstDay}let n=Bb(e);
7if(e.includes("-fw-")){let r=e.split("-fw-")[1].split("-")[0];r==="mon"?t={firstDay:1}:r==="tue"?t={firstDay:2}:r==="wed"?t={firstDay:3}:r==="thu"?t={firstDay:4}:r==="fri"?t={firstDay:5}:r==="sat"?t={firstDay:6}:t={firstDay:0}}else e.includes("-ca-iso8601")?t={firstDay:1}:t={firstDay:n&&Cb[n]||0};ri.set(e,t)}return t.firstDay}function td(e,t,n){let r=e.calendar.getDaysInMonth(e);return Math.ceil((Qo(mr(e),t,n)+r)/7)}function ai(e,t){return e&&t?e.compare(t)<=0?e:t:e||t}function oi(e,t){return e&&t?e.compare(t)>=0?e:t:e||t}function An(e){e=Fe(e,new Qe);let t=Jo(e.era,e.year);return nd(t,e.month,e.day,e.hour,e.minute,e.second,e.millisecond)}function nd(e,t,n,r,a,o,i){let s=new Date;return s.setUTCHours(r,a,o,i),s.setUTCFullYear(e,t-1,n),s.getTime()}function ii(e,t){if(t==="UTC")return 0;if(e>0&&t===ti()&&!Qc())return new Date(e).getTimezoneOffset()*-6e4;let{year:n,month:r,day:a,hour:o,minute:i,second:s}=ad(e,t);return nd(n,r,a,o,i,s,0)-Math.floor(e/1e3)*1e3}const rd=new Map;function ad(e,t){let n=rd.get(t);n||(n=new Intl.DateTimeFormat("en-US",{timeZone:t,hour12:!1,era:"short",year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"}),rd.set(t,n));let r=n.formatToParts(new Date(e)),a={};for(let o of r)o.type!=="literal"&&(a[o.type]=o.value);return{year:a.era==="BC"||a.era==="B"?-a.year+1:+a.year,month:+a.month,day:+a.day,hour:a.hour==="24"?0:+a.hour,minute:+a.minute,second:+a.second}}const od=864e5;function kb(e,t,n,r){return(n===r?[n]:[n,r]).filter(o=>Nb(e,t,o))}function Nb(e,t,n){let r=ad(n,t);return e.year===r.year&&e.month===r.month&&e.day===r.day&&e.hour===r.hour&&e.minute===r.minute&&e.second===r.second}function Mt(e,t,n="compatible"){let r=wt(e);if(t==="UTC")return An(r);if(t===ti()&&n==="compatible"&&!Qc()){r=Fe(r,new Qe);let l=new Date,c=Jo(r.era,r.year);return l.setFullYear(c,r.month-1,r.day),l.setHours(r.hour,r.minute,r.second,r.millisecond),l.getTime()}let a=An(r),o=ii(a-od,t),i=ii(a+od,t),s=kb(r,t,a-o,a-i);if(s.length===1)return s[0];if(s.length>1)switch(n){case"compatible":case"earlier":return s[0];case"later":return s[s.length-1];case"reject":throw new RangeError("Multiple possible absolute times found")}switch(n){case"earlier":return Math.min(a-o,a-i);case"compatible":case"later":return Math.max(a-o,a-i);case"reject":throw new RangeError("No such absolute time found")}}function id(e,t,n="compatible"){return new Date(Mt(e,t,n))}function At(e,t){let n=ii(e,t),r=new Date(e+n),a=r.getUTCFullYear(),o=r.getUTCMonth()+1,i=r.getUTCDate(),s=r.getUTCHours(),l=r.getUTCMinutes(),c=r.getUTCSeconds(),d=r.getUTCMilliseconds();return new br(a<1?"BC":"AD",a<1?-a+1:a,o,i,t,n,s,l,c,d)}function ze(e){return new st(e.calendar,e.era,e.year,e.month,e.day)}function wt(e,t){let n=0,r=0,a=0,o=0;if("timeZone"in e)({hour:n,minute:r,second:a,millisecond:o}=e);else if("hour"in e&&!t)return e;return t&&({hour:n,minute:r,second:a,millisecond:o}=t),new ha(e.calendar,e.era,e.year,e.month,e.day,n,r,a,o)}function Fe(e,t){if(ua(e.calendar,t))return e;let n=t.fromJulianDay(e.calendar.toJulianDay(e)),r=e.copy();return r.calendar=t,r.era=n.era,r.year=n.year,r.month=n.month,r.day=n.day,bn(r),r}function Rb(e,t,n){if(e instanceof br)return e.timeZone===t?e:Mb(e,t);let r=Mt(e,t,n);return At(r,t)}function Lb(e){let t=An(e)-e.offset;return new Date(t)}function Mb(e,t){let n=An(e)-e.offset;return Fe(At(n,t),e.calendar)}const pr=36e5;function fa(e,t){let n=e.copy(),r="hour"in n?dd(n,t):0;si(n,t.years||0),n.calendar.balanceYearMonth&&n.calendar.balanceYearMonth(n,e),n.month+=t.months||0,li(n),sd(n),n.day+=(t.weeks||0)*7,n.day+=t.days||0,n.day+=r,Ab(n),n.calendar.balanceDate&&n.calendar.balanceDate(n),n.year<1&&(n.year=1,n.month=1,n.day=1);let a=n.calendar.getYearsInEra(n);if(n.year>a){let i=n.calendar.isInverseEra?.(n);n.year=a,n.month=i?1:n.calendar.getMonthsInYear(n),n.day=i?1:n.calendar.getDaysInMonth(n)}n.month<1&&(n.month=1,n.day=1);let o=n.calendar.getMonthsInYear(n);return n.month>o&&(n.month=o,n.day=n.calendar.getDaysInMonth(n)),n.day=Math.max(1,Math.min(n.calendar.getDaysInMonth(n),n.day)),n}function si(e,t){e.calendar.isInverseEra?.(e)&&(t=-t),e.year+=t}function li(e){for(;e.month<1;)si(e,-1),e.month+=e.calendar.getMonthsInYear(e);let t=0;for(;e.month>(t=e.calendar.getMonthsInYear(e));)e.month-=t,si(e,1)}function Ab(e){for(;e.day<1;)e.month--,li(e),e.day+=e.calendar.getDaysInMonth(e);for(;e.day>e.calendar.getDaysInMonth(e);)e.day-=e.calendar.getDaysInMonth(e),e.month++,li(e)}function sd(e){e.month=Math.max(1,Math.min(e.calendar.getMonthsInYear(e),e.month)),e.day=Math.max(1,Math.min(e.calendar.getDaysInMonth(e),e.day))}function bn(e){e.calendar.constrainDate&&e.calendar.constrainDate(e),e.year=Math.max(1,Math.min(e.calendar.getYearsInEra(e),e.year)),sd(e)}function ci(e){let t={};for(let n in e)typeof e[n]=="number"&&(t[n]=-e[n]);return t}function ld(e,t){return fa(e,ci(t))}function di(e,t){let n=e.copy();return t.era!=null&&(n.era=t.era),t.year!=null&&(n.year=t.year),t.month!=null&&(n.month=t.month),t.day!=null&&(n.day=t.day),bn(n),n}function gr(e,t){let n=e.copy();return t.hour!=null&&(n.hour=t.hour),t.minute!=null&&(n.minute=t.minute),t.second!=null&&(n.second=t.second),t.millisecond!=null&&(n.millisecond=t.millisecond),cd(n),n}function Ob(e){e.second+=Math.floor(e.millisecond/1e3),e.millisecond=ma(e.millisecond,1e3),e.minute+=Math.floor(e.second/60),e.second=ma(e.second,60),e.hour+=Math.floor(e.minute/60),e.minute=ma(e.minute,60);let t=Math.floor(e.hour/24);return e.hour=ma(e.hour,24),t}function cd(e){e.millisecond=Math.max(0,Math.min(e.millisecond,1e3)),e.second=Math.max(0,Math.min(e.second,59)),e.minute=Math.max(0,Math.min(e.minute,59)),e.hour=Math.max(0,Math.min(e.hour,23))}function ma(e,t){let n=e%t;return n<0&&(n+=t),n}function dd(e,t){return e.hour+=t.hours||0,e.minute+=t.minutes||0,e.second+=t.seconds||0,e.millisecond+=t.milliseconds||0,Ob(e)}function ud(e,t){let n=e.copy();return dd(n,t),n}function Vb(e,t){return ud(e,ci(t))}function ui(e,t,n,r){let a=e.copy();switch(t){case"era":{let o=e.calendar.getEras(),i=o.indexOf(e.era);if(i<0)throw new Error("Invalid era: "+e.era);i=Ot(i,n,0,o.length-1,r?.round),a.era=o[i],bn(a);break}case"year":a.calendar.isInverseEra?.(a)&&(n=-n),a.year=Ot(e.year,n,-1/0,9999,r?.round),a.year===-1/0&&(a.year=1),a.calendar.balanceYearMonth&&a.calendar.balanceYearMonth(a,e);break;case"month":a.month=Ot(e.month,n,1,e.calendar.getMonthsInYear(e),r?.round);break;case"day":a.day=Ot(e.day,n,1,e.calendar.getDaysInMonth(e),r?.round);break;default:throw new Error("Unsupported field "+t)}return e.calendar.balanceDate&&e.calendar.balanceDate(a),bn(a),a}function fi(e,t,n,r){let a=e.copy();switch(t){case"hour":{let o=e.hour,i=0,s=23;if(r?.hourCycle===12){let l=o>=12;i=l?12:0,s=l?23:11}a.hour=Ot(o,n,i,s,r?.round);break}case"minute":a.minute=Ot(e.minute,n,0,59,r?.round);break;case"second":a.second=Ot(e.second,n,0,59,r?.round);break;case"millisecond":a.millisecond=Ot(e.millisecond,n,0,999,r?.round);break;default:throw new Error("Unsupported field "+t)}return a}function Ot(e,t,n,r,a=!1){if(a){e+=Math.sign(t),e<n&&(e=r);let o=Math.abs(t);t>0?e=Math.ceil(e/o)*o:e=Math.floor(e/o)*o,e>r&&(e=n)}else e+=t,e<n?e=r-(n-e-1):e>r&&(e=n+(e-r-1));return e}function fd(e,t){let n;if(t.years!=null&&t.years!==0||t.months!=null&&t.months!==0||t.weeks!=null&&t.weeks!==0||t.days!=null&&t.days!==0){let a=fa(wt(e),{years:t.years,months:t.months,weeks:t.weeks,days:t.days});n=Mt(a,e.timeZone)}else n=An(e)-e.offset;n+=t.milliseconds||0,n+=(t.seconds||0)*1e3,n+=(t.minutes||0)*6e4,n+=(t.hours||0)*36e5;let r=At(n,e.timeZone);return Fe(r,e.calendar)}function Kb(e,t){return fd(e,ci(t))}function _b(e,t,n,r){switch(t){case"hour":{let a=0,o=23;if(r?.hourCycle===12){let b=e.hour>=12;a=b?12:0,o=b?23:11}let i=wt(e),s=Fe(gr(i,{hour:a}),new Qe),l=[Mt(s,e.timeZone,"earlier"),Mt(s,e.timeZone,"later")].filter(b=>At(b,e.timeZone).day===s.day)[0],c=Fe(gr(i,{hour:o}),new Qe),d=[Mt(c,e.timeZone,"earlier"),Mt(c,e.timeZone,"later")].filter(b=>At(b,e.timeZone).day===c.day).pop(),u=An(e)-e.offset,m=Math.floor(u/pr),h=u%pr;return u=Ot(m,n,Math.floor(l/pr),Math.floor(d/pr),r?.round)*pr+h,Fe(At(u,e.timeZone),e.calendar)}case"minute":case"second":case"millisecond":return fi(e,t,n,r);case"era":case"year":case"month":case"day":{let a=ui(wt(e),t,n,r),o=Mt(a,e.timeZone);return Fe(At(o,e.timeZone),e.calendar)}default:throw new Error("Unsupported field "+t)}}function Hb(e,t,n){let r=wt(e),a=gr(di(r,t),t);if(a.compare(r)===0)return e;let o=Mt(a,e.timeZone,n);return Fe(At(o,e.timeZone),e.calendar)}function md(e){return`${String(e.hour).padStart(2,"0")}
7:${String(e.minute).padStart(2,"0")}:${String(e.second).padStart(2,"0")}${e.millisecond?String(e.millisecond/1e3).slice(1):""}`}function hd(e){let t=Fe(e,new Qe),n;return t.era==="BC"?n=t.year===1?"0000":"-"+String(Math.abs(1-t.year)).padStart(6,"00"):n=String(t.year).padStart(4,"0"),`${n}-${String(t.month).padStart(2,"0")}-${String(t.day).padStart(2,"0")}`}function pd(e){return`${hd(e)}T${md(e)}`}function zb(e){let t=Math.sign(e)<0?"-":"+";e=Math.abs(e);let n=Math.floor(e/36e5),r=Math.floor(e%36e5/6e4),a=Math.floor(e%36e5%6e4/1e3),o=`${t}${String(n).padStart(2,"0")}:${String(r).padStart(2,"0")}`;return a!==0&&(o+=`:${String(a).padStart(2,"0")}`),o}function Ub(e){return`${pd(e)}${zb(e.offset)}[${e.timeZone}]`}function mi(e){let t=typeof e[0]=="object"?e.shift():new Qe,n;if(typeof e[0]=="string")n=e.shift();else{let i=t.getEras();n=i[i.length-1]}let r=e.shift(),a=e.shift(),o=e.shift();return[t,n,r,a,o]}class st{#e;constructor(...t){let[n,r,a,o,i]=mi(t);this.calendar=n,this.era=r,this.year=a,this.month=o,this.day=i,bn(this)}copy(){return this.era?new st(this.calendar,this.era,this.year,this.month,this.day):new st(this.calendar,this.year,this.month,this.day)}add(t){return fa(this,t)}subtract(t){return ld(this,t)}set(t){return di(this,t)}cycle(t,n,r){return ui(this,t,n,r)}toDate(t){return id(this,t)}toString(){return hd(this)}compare(t){return Yc(this,t)}}class hi{#e;constructor(t=0,n=0,r=0,a=0){this.hour=t,this.minute=n,this.second=r,this.millisecond=a,cd(this)}copy(){return new hi(this.hour,this.minute,this.second,this.millisecond)}add(t){return ud(this,t)}subtract(t){return Vb(this,t)}set(t){return gr(this,t)}cycle(t,n,r){return fi(this,t,n,r)}toString(){return md(this)}compare(t){return Xc(this,t)}}class ha{#e;constructor(...t){let[n,r,a,o,i]=mi(t);this.calendar=n,this.era=r,this.year=a,this.month=o,this.day=i,this.hour=t.shift()||0,this.minute=t.shift()||0,this.second=t.shift()||0,this.millisecond=t.shift()||0,bn(this)}copy(){return this.era?new ha(this.calendar,this.era,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond):new ha(this.calendar,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond)}add(t){return fa(this,t)}subtract(t){return ld(this,t)}set(t){return di(gr(this,t),t)}cycle(t,n,r){switch(t){case"era":case"year":case"month":case"day":return ui(this,t,n,r);default:return fi(this,t,n,r)}}toDate(t,n){return id(this,t,n)}toString(){return pd(this)}compare(t){let n=Yc(this,t);return n===0?Xc(this,wt(t)):n}}class br{#e;constructor(...t){let[n,r,a,o,i]=mi(t),s=t.shift(),l=t.shift();this.calendar=n,this.era=r,this.year=a,this.month=o,this.day=i,this.timeZone=s,this.offset=l,this.hour=t.shift()||0,this.minute=t.shift()||0,this.second=t.shift()||0,this.millisecond=t.shift()||0,bn(this)}copy(){return this.era?new br(this.calendar,this.era,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond):new br(this.calendar,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond)}add(t){return fd(this,t)}subtract(t){return Kb(this,t)}set(t,n){return Hb(this,t,n)}cycle(t,n,r){return _b(this,t,n,r)}toDate(){return Lb(this)}toString(){return Ub(this)}toAbsoluteString(){return this.toDate().toISOString()}compare(t){return this.toDate().getTime()-Rb(t,this.timeZone).toDate().getTime()}}let pi=new Map;class lt{constructor(t,n={}){this.formatter=gd(t,n),this.options=n}format(t){return this.formatter.format(t)}formatToParts(t){return this.formatter.formatToParts(t)}formatRange(t,n){if(typeof this.formatter.formatRange=="function")return this.formatter.formatRange(t,n);if(n<t)throw new RangeError("End date must be >= start date");return`${this.formatter.format(t)} \u2013 ${this.formatter.format(n)}`}formatRangeToParts(t,n){if(typeof this.formatter.formatRangeToParts=="function")return this.formatter.formatRangeToParts(t,n);if(n<t)throw new RangeError("End date must be >= start date");let r=this.formatter.formatToParts(t),a=this.formatter.formatToParts(n);return[...r.map(o=>({...o,source:"startRange"})),{type:"literal",value:" \u2013 ",source:"shared"},...a.map(o=>({...o,source:"endRange"}))]}resolvedOptions(){let t=this.formatter.resolvedOptions();return jb()&&(this.resolvedHourCycle||(this.resolvedHourCycle=Zb(t.locale,this.options)),t.hourCycle=this.resolvedHourCycle,t.hour12=this.resolvedHourCycle==="h11"||this.resolvedHourCycle==="h12"),t.calendar==="ethiopic-amete-alem"&&(t.calendar="ethioaa"),t}}const Wb={true:{ja:"h11"},false:{}};function gd(e,t={}){if(typeof t.hour12=="boolean"&&Gb()){t={...t};let a=Wb[String(t.hour12)][e.split("-")[0]],o=t.hour12?"h12":"h23";t.hourCycle=a??o,delete t.hour12}let n=e+(t?Object.entries(t).sort((a,o)=>a[0]<o[0]?-1:1).join():"");if(pi.has(n))return pi.get(n);let r=new Intl.DateTimeFormat(e,t);return pi.set(n,r),r}let gi=null;function Gb(){return gi==null&&(gi=new Intl.DateTimeFormat("en-US",{hour:"numeric",hour12:!1}).format(new Date(2020,2,3,0))==="24"),gi}let bi=null;function jb(){return bi==null&&(bi=new Intl.DateTimeFormat("fr",{hour:"numeric",hour12:!1}).resolvedOptions().hourCycle==="h12"),bi}function Zb(e,t){if(!t.timeStyle&&!t.hour)return;e=e.replace(/(-u-)?-nu-[a-zA-Z0-9]+/,""),e+=(e.includes("-u-")?"":"-u")+"-nu-latn";let n=gd(e,{...t,timeZone:void 0}),r=parseInt(n.formatToParts(new Date(2020,2,3,0)).find(o=>o.type==="hour").value,10),a=parseInt(n.formatToParts(new Date(2020,2,3,23)).find(o=>o.type==="hour").value,10);if(r===0&&a===23)return"h23";if(r===24&&a===23)return"h24";if(r===0&&a===11)return"h11";if(r===12&&a===11)return"h12";throw new Error("Unexpected hour cycle result")}function $t(e){e=jc(e??{},qb);let{locale:t}=nt();return H(()=>new lt(t,e),[t,e])}function qb(e,t){if(e===t)return!0;let n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let a of n)if(t[a]!==e[a])return!1;return!0}
7function bd(e){return e&&e.__esModule?e.default:e}const vi=new WeakMap;function vr(e){return e?.calendar.identifier==="gregory"&&e.era==="BC"?"short":void 0}function Yb(e){let t=ht(bd(ur),"@react-aria/calendar"),n,r;"highlightedRange"in e?{start:n,end:r}=e.highlightedRange||{}:(n=Array.isArray(e.value)?e.value[0]:e.value??void 0,r=Array.isArray(e.value)?e.value.at(-1):e.value??void 0);let a=$t({weekday:"long",month:"long",year:"numeric",day:"numeric",era:vr(n)||vr(r),timeZone:e.timeZone}),{locale:o}=nt(),i=H(()=>new Intl.ListFormat(o),[o]),s="anchorDate"in e?e.anchorDate:null;return H(()=>{if(!s&&n&&r){if(De(n,r)){let l=a.format(n.toDate(e.timeZone));return t.format("selectedDateDescription",{date:l})}else if("highlightedRange"in e){let l=yi(a,t,n,r,e.timeZone);return t.format("selectedRangeDescription",{dateRange:l})}else if(Array.isArray(e.value)){let l=e.value.map(d=>a.format(d.toDate(e.timeZone))),c=i.format(l);return t.format("selectedDateDescription",{date:c})}}return""},[n,r,s,e,t,a,i])}function Si(e,t,n,r){let a=ht(bd(ur),"@react-aria/calendar"),o=vr(e)||vr(t),i=$t({month:"long",year:"numeric",era:o,calendar:e.calendar.identifier,timeZone:n}),s=$t({month:"long",year:"numeric",day:"numeric",era:o,calendar:e.calendar.identifier,timeZone:n});return H(()=>{if(De(e,mr(e))){let l=e,c=t;if(e.calendar.getFormattableMonth&&(l=e.calendar.getFormattableMonth(e)),t.calendar.getFormattableMonth&&(c=t.calendar.getFormattableMonth(t)),De(t,ni(e)))return i.format(l.toDate(n));if(De(t,ni(t)))return r?yi(i,a,l,c,n):i.formatRange(l.toDate(n),c.toDate(n))}return r?yi(s,a,e,t,n):s.formatRange(e.toDate(n),t.toDate(n))},[e,t,i,s,a,n,r])}function yi(e,t,n,r,a){let o=e.formatRangeToParts(n.toDate(a),r.toDate(a)),i=-1;for(let c=0;c<o.length;c++){let d=o[c];if(d.source==="shared"&&d.type==="literal")i=c;else if(d.source==="endRange")break}let s="",l="";for(let c=0;c<o.length;c++)c<i?s+=o[c].value:c>i&&(l+=o[c].value);return t.format("dateRange",{startDate:s,endDate:l})}function wi(e,t){const n=M(!0),r=M(null);let a=Ae(e);G(()=>(n.current=!0,()=>{n.current=!1}),[]),G(()=>{let o=r.current;n.current?n.current=!1:(!o||t.some((i,s)=>!Object.is(i,o[s])))&&a(),r.current=t},t)}function Xb(e){return e&&e.__esModule?e.default:e}function vd(e,t){let n=ht(Xb(ur),"@react-aria/calendar"),r=ot(e),a=Si(t.visibleRange.start,t.visibleRange.end,t.timeZone,!1),o=Si(t.visibleRange.start,t.visibleRange.end,t.timeZone,!0);wi(()=>{t.isFocused||Mn(o)},[o]);let i=Yb(t);wi(()=>{i&&Mn(i,"polite",4e3)},[i]);let s=Lt([!!e.errorMessage,e.isInvalid,e.validationState]);vi.set(t,{ariaLabel:e["aria-label"],ariaLabelledBy:e["aria-labelledby"],errorMessageId:s,selectedDateDescription:i});let[l,c]=j(!1),d=e.isDisabled||t.isNextVisibleRangeInvalid();d&&l&&(c(!1),t.setFocused(!0));let[u,m]=j(!1),h=e.isDisabled||t.isPreviousVisibleRangeInvalid();h&&u&&(m(!1),t.setFocused(!0));let b=hn({id:e.id,"aria-label":[e["aria-label"],o].filter(Boolean).join(", "),"aria-labelledby":e["aria-labelledby"]});return{calendarProps:he(r,b,{role:"application","aria-details":e["aria-details"]||void 0,"aria-describedby":e["aria-describedby"]||void 0}),nextButtonProps:{onPress:()=>t.focusNextPage(),"aria-label":n.format("next"),isDisabled:d,onFocusChange:c},prevButtonProps:{onPress:()=>t.focusPreviousPage(),"aria-label":n.format("previous"),isDisabled:h,onFocusChange:m},errorMessageProps:{id:s},title:a}}function Jb(e,t){return vd(e,t)}function On(e,t){if(!e)return!1;let n=window.getComputedStyle(e),r=document.scrollingElement||document.documentElement,a=/(auto|scroll)/.test(n.overflow+n.overflowX+n.overflowY);return e===r&&n.overflow!=="hidden"&&(a=!0),a&&t&&(a=e.scrollHeight!==e.clientHeight||e.scrollWidth!==e.clientWidth),a}function pa(e,t){let n=e;for(On(n,t)&&(n=n.parentElement);n&&!On(n,t);)n=n.parentElement;return n||document.scrollingElement||document.documentElement}function $i(e,t){let n=[],r=document.scrollingElement||document.documentElement;for(;e&&(On(e,t)&&n.push(e),e!==r);)e=e.parentElement;return n}function ga(e,t,n={}){let{block:r="nearest",inline:a="nearest"}=n;if(e===t)return;let o=e.scrollTop,i=e.scrollLeft,s=t.getBoundingClientRect(),l=e.getBoundingClientRect(),c=window.getComputedStyle(t),d=window.getComputedStyle(e),u=document.scrollingElement||document.documentElement,m=e===u,h=e===u?0:l.top,b=e===u?e.clientHeight:l.bottom,g=e===u?0:l.left,v=e===u?e.clientWidth:l.right,y=parseFloat(c.scrollMarginTop)||0,$=parseFloat(c.scrollMarginBottom)||
70,C=parseFloat(c.scrollMarginLeft)||0,x=parseFloat(c.scrollMarginRight)||0,E=parseFloat(d.scrollPaddingTop)||0,T=parseFloat(d.scrollPaddingBottom)||0,I=parseFloat(d.scrollPaddingLeft)||0,k=parseFloat(d.scrollPaddingRight)||0,K=parseFloat(d.borderTopWidth)||0,U=parseFloat(d.borderBottomWidth)||0,B=parseFloat(d.borderLeftWidth)||0,N=parseFloat(d.borderRightWidth)||0,_=s.top-y,P=s.bottom+$,R=s.left-C,V=s.right+x,A=e===u?0:B+N,O=e===u?0:K+U,L=e===u?0:e.offsetWidth-e.clientWidth-A,D=e===u?0:e.offsetHeight-e.clientHeight-O,q=h+(m?0:K)+E,te=b-(m?0:U)-T-D,Z=g+(m?0:B)+I,W=v-(m?0:N)-k;d.direction==="rtl"&&!ln()?Z+=L:W-=L;let ne=_<q||P>te,oe=R<Z||V>W;if(ne&&r==="start")o+=_-q;else if(ne&&r==="center")o+=(_+P)/2-(q+te)/2;else if(ne&&r==="end")o+=P-te;else if(ne&&r==="nearest"){let z=_-q,X=P-te;o+=Math.abs(z)<=Math.abs(X)?z:X}if(oe&&a==="start")i+=R-Z;else if(oe&&a==="center")i+=(R+V)/2-(Z+W)/2;else if(oe&&a==="end")i+=V-W;else if(oe&&a==="nearest"){let z=R-Z,X=V-W;i+=Math.abs(z)<=Math.abs(X)?z:X}e.scrollTo({left:i,top:o})}function ba(e,t={}){let{containingElement:n}=t;if(e&&e.isConnected){let r=document.scrollingElement||document.documentElement;if(window.getComputedStyle(r).overflow==="hidden"){let{left:o,top:i}=e.getBoundingClientRect(),s=$i(e,!0);for(let d of s)ga(d,e);let{left:l,top:c}=e.getBoundingClientRect();if(Math.abs(o-l)>1||Math.abs(i-c)>1){s=n?$i(n,!0):[];for(let d of s)ga(d,n,{block:"center",inline:"center"});for(let d of $i(e,!0))ga(d,e)}}else{let{left:o,top:i}=e.getBoundingClientRect();e?.scrollIntoView?.({block:"nearest"});let{left:s,top:l}=e.getBoundingClientRect();(Math.abs(o-s)>1||Math.abs(i-l)>1)&&(n?.scrollIntoView?.({block:"center",inline:"center"}),e.scrollIntoView?.({block:"nearest"}))}}}let Qb=0;const Ci=new Map;function Sr(e){let[t,n]=j();return Pe(()=>{if(!e)return;let r=Ci.get(e);if(r)n(r.element.id);else{let a=`react-aria-description-${Qb++}`;n(a);let o=document.createElement("div");o.id=a,o.style.display="none",o.textContent=e,document.body.appendChild(o),r={refCount:0,element:o},Ci.set(e,r)}return r.refCount++,()=>{r&&--r.refCount===0&&(r.element.remove(),Ci.delete(e))}},[e]),{"aria-describedby":e?t:void 0}}function ev(e){return e&&e.__esModule?e.default:e}function tv(e,t,n){let{date:r,isDisabled:a}=e,{errorMessageId:o,selectedDateDescription:i}=vi.get(t),s=ht(ev(ur),"@react-aria/calendar"),l=$t({weekday:"long",day:"numeric",month:"long",year:"numeric",era:vr(r),timeZone:t.timeZone}),c=t.isCellFocused(r)&&!e.isOutsideMonth;a=a||t.isCellDisabled(r)||!!e.isOutsideMonth;let d=t.isCellUnavailable(r),u=!a&&!d,m=t.isSelected(r)&&u,h=!1;t.isValueInvalid&&("highlightedRange"in t?h=!t.anchorDate&&t.highlightedRange!=null&&r.compare(t.highlightedRange.start)>=0&&r.compare(t.highlightedRange.end)<=0:Array.isArray(t.value)?h=t.value.some(B=>De(B,r)):t.value&&(h=De(t.value,r))),h&&!a&&(m=!0),r=jc(r,xb);let b=H(()=>r.toDate(t.timeZone),[r,t.timeZone]),g=Pb(r,t.timeZone),v=H(()=>{let B="";return"highlightedRange"in t&&t.value&&!t.anchorDate&&(De(r,t.value.start)||De(r,t.value.end))&&(B=i+", "),B+=l.format(b),g?B=s.format(m?"todayDateSelected":"todayDate",{date:B}):m&&(B=s.format("dateSelected",{date:B})),t.minValue&&De(r,t.minValue)?B+=", "+s.format("minimumDate"):t.maxValue&&De(r,t.maxValue)&&(B+=", "+s.format("maximumDate")),B},[l,b,s,m,g,r,t,i]),y="";"anchorDate"in t&&c&&!t.isReadOnly&&u&&(t.anchorDate?y=s.format("finishRangeSelectionPrompt"):y=s.format("startRangeSelectionPrompt"));let $=Sr(y),C=M(!1),x=M(!1),E=M(void 0),{pressProps:T,isPressed:I}=Ln({shouldCancelOnPointerExit:"anchorDate"in t&&!!t.anchorDate,preventFocusOnPress:!0,isDisabled:!u||t.isReadOnly,onPressStart(B){if(t.isReadOnly){t.setFocusedDate(r),t.setFocused(!0);return}if("highlightedRange"in t&&!t.anchorDate&&(B.pointerType==="mouse"||B.pointerType==="touch")){if(t.highlightedRange&&!h){if(De(r,t.highlightedRange.start)){t.setAnchorDate(t.highlightedRange.end),t.setFocusedDate(r),t.setFocused(!0),t.setDragging(!0),x.current=!0;return}else if(De(r,t.highlightedRange.end)){t.setAnchorDate(t.highlightedRange.start),t.setFocusedDate(r),t.setFocused(!0),t.setDragging(!0),x.current=!0;return}}let N=()=>{t.setDragging(!0),E.current=void 0,t.selectDate(r),t.setFocusedDate(r),t.setFocused(!0),C.current=!0};B.pointerType==="touch"?E.current=setTimeout(N,200):N()}},onPressEnd(){x.current=!1,C.current=!1,clearTimeout(E.current),E.current=void 0},onPress(){!("anchorDate"in t)&&!t.isReadOnly&&(t.selectDate(r),t.setFocusedDate(r),t.setFocused(!0))},onPressUp(B){t.isReadOnly||("anchorDate"in t&&E.current&&(t.selectDate(r),t.setFocusedDate(r),t.setFocused(!0)),"anchorDate"in t&&(x.current?t.setAnchorDate(r):t.anchorDate&&!C.current?(t.selectDate(r),t.setFocusedDate(r),t.setFocused(!0)):B.pointerType==="keyboard"&&!t.anchorDate?(t.selectDate(r),t.focu
7sNearestAvailableDate(r)):B.pointerType==="virtual"&&(t.selectDate(r),t.setFocusedDate(r),t.setFocused(!0))))}}),k;a||(k=De(r,t.focusedDate)?0:-1),G(()=>{c&&n.current&&(at(n.current),un()!=="pointer"&&Se()===n.current&&ba(n.current,{containingElement:pa(n.current)}))},[c,n]);let K=$t({day:"numeric",timeZone:t.timeZone,calendar:r.calendar.identifier}),U=H(()=>K.formatToParts(b).find(B=>B.type==="day").value,[K,b]);return{cellProps:{role:"gridcell","aria-disabled":!u||void 0,"aria-selected":m||void 0,"aria-invalid":h||void 0},buttonProps:he(T,{onFocus(){a||(t.setFocusedDate(r),t.setFocused(!0))},tabIndex:k,role:"button","aria-disabled":!u||void 0,"aria-label":v,"aria-invalid":h||void 0,"aria-describedby":[h?o:void 0,$["aria-describedby"]].filter(Boolean).join(" ")||void 0,onPointerEnter(B){"highlightDate"in t&&(B.pointerType!=="touch"||t.isDragging)&&u&&t.highlightDate(r)},onPointerDown(B){let N=ee(B);N instanceof HTMLElement&&"releasePointerCapture"in N&&("hasPointerCapture"in N?N.hasPointerCapture(B.pointerId)&&N.releasePointerCapture(B.pointerId):N.releasePointerCapture(B.pointerId))},onContextMenu(B){B.preventDefault()}}),isPressed:I,isFocused:c,isSelected:m,isDisabled:a,isUnavailable:d,isOutsideVisibleRange:r.compare(t.visibleRange.start)<0||r.compare(t.visibleRange.end)>0,isInvalid:h,formattedDate:U}}function nv(e,t){let{startDate:n=t.visibleRange.start,endDate:r=t.visibleRange.end,firstDayOfWeek:a}=e,{direction:o}=nt(),i=g=>{switch(g.key){case"Enter":case" ":g.preventDefault(),t.selectFocusedDate();break;case"PageUp":g.preventDefault(),g.stopPropagation(),t.focusPreviousSection(g.shiftKey);break;case"PageDown":g.preventDefault(),g.stopPropagation(),t.focusNextSection(g.shiftKey);break;case"End":g.preventDefault(),g.stopPropagation(),t.focusSectionEnd();break;case"Home":g.preventDefault(),g.stopPropagation(),t.focusSectionStart();break;case"ArrowLeft":g.preventDefault(),g.stopPropagation(),o==="rtl"?t.focusNextDay():t.focusPreviousDay();break;case"ArrowUp":g.preventDefault(),g.stopPropagation(),t.focusPreviousRow();break;case"ArrowRight":g.preventDefault(),g.stopPropagation(),o==="rtl"?t.focusPreviousDay():t.focusNextDay();break;case"ArrowDown":g.preventDefault(),g.stopPropagation(),t.focusNextRow();break;case"Escape":"setAnchorDate"in t&&(g.preventDefault(),t.setAnchorDate(null));break}},s=Si(n,r,t.timeZone,!0),{ariaLabel:l,ariaLabelledBy:c}=vi.get(t),d=hn({"aria-label":[l,s].filter(Boolean).join(", "),"aria-labelledby":c}),u=$t({weekday:e.weekdayStyle||"narrow",timeZone:t.timeZone}),{locale:m}=nt(),h=H(()=>{let g=t.visibleDuration.days&&t.visibleDuration.days<7,v=g?n:hr(fr(t.timeZone),m,a),y=g?t.visibleDuration.days:7;return[...new Array(y).keys()].map($=>{let x=v.add({days:$}).toDate(t.timeZone);return u.format(x)})},[m,t.timeZone,u,a,n,t.visibleDuration.days]),b=t.getWeeksInMonth(n);return{gridProps:he(d,{role:"grid","aria-readonly":t.isReadOnly||void 0,"aria-disabled":t.isDisabled||void 0,"aria-multiselectable":"highlightedRange"in t||t.selectionMode==="multiple"||void 0,onKeyDown:i,onFocus:()=>t.setFocused(!0),onBlur:()=>t.setFocused(!1)}),headerProps:{"aria-hidden":!0},weekDays:h,weeksInMonth:b}}function rv(e,t,n){let{commitBehavior:r="select",...a}=e,o=vd(a,t),i=M(!1),s=M(typeof window<"u"?window:null);mt(s,"pointerdown",d=>{i.current=d.width===0&&d.height===0});const l={clear:()=>t.clearSelection(),reset:()=>t.setAnchorDate(null),select:()=>t.commitSelection()};return mt(s,"pointerup",d=>{if(i.current){i.current=!1;return}if(t.setDragging(!1),!t.anchorDate)return;let u=d.target;n.current&&rr(n.current)&&(!ue(n.current,u)||!u.closest('button, [role="button"]'))&&l[r]()}),o.calendarProps.onBlur=d=>{n.current&&(!d.relatedTarget||!ue(n.current,d.relatedTarget))&&t.anchorDate&&l[r]()},mt(n,"touchmove",d=>{t.isDragging&&d.preventDefault()},{passive:!1,capture:!0}),o}function xi(e,t,n){let r=Ae(a=>{n&&!a.defaultPrevented&&n(t)});G(()=>{let a=e?.current?.form;return a?.addEventListener("reset",r),()=>{a?.removeEventListener("reset",r)}},[e])}function Sd(e,t,n){let{validationBehavior:r,focus:a}=e;Pe(()=>{if(r==="native"&&n?.current&&"setCustomValidity"in n.current&&!n.current.disabled){let c=t.realtimeValidation.isInvalid?t.realtimeValidation.validationErrors.join(" ")||"Invalid value.":"";n.current.setCustomValidity(c),n.current.hasAttribute("title")||(n.current.title=""),t.realtimeValidation.isInvalid||t.updateValidation(ov(n.current))}});let o=M(!1),i=Ae(()=>{o.current||t.resetValidation()}),s=Ae(c=>{t.displayValidation.isInvalid||t.commitValidation();let d=n?.current?.form;!c.defaultPrevented&&n&&d&&iv(d)===n.current&&(a?a():n.current?.focus(),Lo("keyboard")),c.preventDefault()}),l=Ae(()=>{t.commitValidation()});G(()=>{let c=n?.current;if(!c)return;let d=c.form,u=d?.reset;return d&&(d.reset=()=>{o.current=!window.event||window.event.type==="message"&&ee(window.event)instanceof MessagePort,u?.call(d),o.current=!1}),c.addEventListener("invalid",s),c.addEventListener("change",l),d?.addEventListener("reset",i),()=>{c.removeEventListener("invalid",s),c.removeEventListener("change",l),d?.removeEventListener("reset",i),d&&(
7d.reset=u)}},[n,r])}function av(e){let t=e.validity;return{badInput:t.badInput,customError:t.customError,patternMismatch:t.patternMismatch,rangeOverflow:t.rangeOverflow,rangeUnderflow:t.rangeUnderflow,stepMismatch:t.stepMismatch,tooLong:t.tooLong,tooShort:t.tooShort,typeMismatch:t.typeMismatch,valueMissing:t.valueMissing,valid:t.valid}}function ov(e){return{isInvalid:!e.validity.valid,validationDetails:av(e),validationErrors:e.validationMessage?[e.validationMessage]:[]}}function iv(e){for(let t=0;t<e.elements.length;t++){let n=e.elements[t];if(n.validity?.valid===!1)return n}return null}const va={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!0},yd={...va,customError:!0,valid:!1},vn={isInvalid:!1,validationDetails:va,validationErrors:[]},sv=me({}),Vn="__reactAriaFormValidationState";function yr(e){if(e[Vn]){let{realtimeValidation:t,displayValidation:n,updateValidation:r,resetValidation:a,commitValidation:o}=e[Vn];return{realtimeValidation:t,displayValidation:n,updateValidation:r,resetValidation:a,commitValidation:o}}return lv(e)}function lv(e){let{isInvalid:t,validationState:n,name:r,value:a,builtinValidation:o,validate:i,validationBehavior:s="aria"}=e;n&&(t||=n==="invalid");let l=t!==void 0?{isInvalid:t,validationErrors:[],validationDetails:yd}:null,c=H(()=>{if(!i||a==null)return null;let U=cv(i,a);return wd(U)},[i,a]);o?.validationDetails.valid&&(o=void 0);let d=ve(sv),u=H(()=>r?Array.isArray(r)?r.flatMap(U=>Pi(d[U])):Pi(d[r]):[],[d,r]),[m,h]=j(d),[b,g]=j(!1);d!==m&&(h(d),g(!1));let v=H(()=>wd(b?[]:u),[b,u]),y=M(vn),[$,C]=j(vn),x=M(vn),E=()=>
7{if(!T)return;I(!1);let U=c||o||y.current;Ti(U,x.current)||(x.current=U,C(U))},[T,I]=j(!1);return G(E),{realtimeValidation:l||v||c||o||vn,displayValidation:s==="native"?l||v||$:l||v||c||o||$,updateValidation(U){s==="aria"&&!Ti($,U)?C(U):y.current=U},resetValidation(){let U=vn;Ti(U,x.current)||(x.current=U,C(U)),s==="native"&&I(!1),g(!0)},commitValidation(){s==="native"&&I(!0),g(!0)}}}function Pi(e){return e?Array.isArray(e)?e:[e]:[]}function cv(e,t){if(typeof e=="function"){let n=e(t);if(n&&typeof n!="boolean")return Pi(n)}return[]}function wd(e){return e.length?{isInvalid:!0,validationErrors:e,validationDetails:yd}:null}function Ti(e,t){return e===t?!0:!!e&&!!t&&e.isInvalid===t.isInvalid&&e.validationErrors.length===t.validationErrors.length&&e.validationErrors.every((n,r)=>n===t.validationErrors[r])&&Object.entries(e.validationDetails).every(([n,r])=>t.validationDetails[n]===r)}function Sa(...e){let t=new Set,n=!1,r={...va};for(let a of e){for(let o of a.validationErrors)t.add(o);n||=a.isInvalid;for(let o in r)r[o]||=a.validationDetails[o]}return r.valid=!n,{isInvalid:n,validationErrors:[...t],validationDetails:r}}function $d(e){let{id:t,label:n,"aria-labelledby":r,"aria-label":a,labelElementType:o="label"}=e;t=Me(t);let i=Me(),s={};n&&(r=r?`${i} ${r}`:i,s={id:i,htmlFor:o==="label"?t:void 0});let l=hn({id:t,"aria-label":a,"aria-labelledby":r});return{labelProps:s,fieldProps:l}}function ya(e){let{description:t,errorMessage:n,isInvalid:r,validationState:a}=e,{labelProps:o,fieldProps:i}=$d(e),s=Lt([!!t,!!n,r,a]),l=Lt([!!t,!!n,r,a]);return i=he(i,{"aria-describedby":[s,l,e["aria-describedby"]].filter(Boolean).join(" ")||void 0}),{labelProps:o,fieldProps:i,descriptionProps:{id:s},errorMessageProps:{id:l}}}function Sn(e){let{isDisabled:t,onBlurWithin:n,onFocusWithin:r,onFocusWithinChange:a}=e,o=M({isFocusWithin:!1}),{addGlobalListener:i,removeAllGlobalListeners:s}=lr(),l=Q(u=>{ue(u.currentTarget,ee(u))&&o.current.isFocusWithin&&!ue(u.currentTarget,u.relatedTarget)&&(o.current.isFocusWithin=!1,s(),n&&n(u),a&&a(!1))},[n,a,o,s]),c=Hl(l),d=Q(u=>{if(!ue(u.currentTarget,ee(u)))return;let m=ee(u);const h=ge(m),b=Se(h);if(!o.current.isFocusWithin&&b===m){r&&r(u),a&&a(!0),o.current.isFocusWithin=!0,c(u);let g=u.currentTarget;i(h,"focus",v=>{let y=ee(v);if(o.current.isFocusWithin&&!ue(g,y)){let $=new h.defaultView.FocusEvent("blur",{relatedTarget:y});_l($,g);let C=Do($);l(C)}},{capture:!0})}},[r,a,c,i,l]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:d,onBlur:l}}}const dv=typeof document<"u"?re.useInsertionEffect??re.useLayoutEffect:()=>{};function ct(e,t,n){let[r,a]=j(e||t),o=M(r),i=M(e!==void 0),s=e!==void 0;G(()=>{i.current,i.current=s},[s]);let l=s?e:r;dv(()=>{o.current=l});let[,c]=oo(()=>({}),{}),d=Q((u,...m)=>{let h=typeof u=="function"?u(o.current):u;Object.is(o.current,h)||(o.current=h,a(h),c(),n?.(h,...m))},[n]);return[l,d]}function Di(e,t=-1/0,n=1/0){return Math.min(Math.max(e,t),n)}let Ei=new Map,Fi=!1;try{Fi=new Intl.NumberFormat("de-DE",{signDisplay:"exceptZero"}).resolvedOptions().signDisplay==="exceptZero"}catch{}let wa=!1;try{wa=new Intl.NumberFormat("de-DE",{style:"unit",unit:"degree"}).resolvedOptions().style==="unit"}catch{}const Cd={degree:{narrow:{default:"\xB0","ja-JP":" \u5EA6","zh-TW":"\u5EA6","sl-SI":" \xB0"}}};class Bi{constructor(t,n={}){this.numberFormatter=uv(t,n),this.options=n}format(t){let n="";if(!Fi&&this.options.signDisplay!=null?n=fv(this.numberFormatter,this.options.signDisplay,t):n=this.numberFormatter.format(t),this.options.style==="unit"&&!wa){let{unit:r,unitDisplay:a="short",locale:o}=this.resolvedOptions();if(!r)return n;let i=Cd[r]?.[a];n+=i[o]||i.default}return n}formatToParts(t){return this.numberFormatter.formatToParts(t)}formatRange(t,n){if(typeof this.numberFormatter.formatRange=="function")return this.numberFormatter.formatRange(t,n);if(n<t)throw new RangeError("End date must be >= start date");return`${this.format(t)} \u2013 ${this.format(n)}`}formatRangeToParts(t,n){if(typeof this.numberFormatter.formatRangeToParts=="function")return this.numberFormatter.formatRangeToParts(t,n);if(n<t)throw new RangeError("End date must be >= start date");let r=this.numberFormatter.formatToParts(t),a=this.numberFormatter.formatToParts(n);return[...r.map(o=>({...o,source:"startRange"})),{type:"literal",value:" \u2013 ",source:"shared"},...a.map(o=>({...o,source:"endRange"}))]}resolvedOptions(){let t=this.numberFormatter.resolvedOptions();return!Fi&&this.options.signDisplay!=null&&(t={...t,signDisplay:this.options.signDisplay}),!wa&&this.options.style==="unit"&&(t={...t,style:"unit",unit:this.options.unit,unitDisplay:this.options.unitDisplay}),t}}
vendor: 4,701 bytes, line 7
7function uv(e,t={}){let{numberingSystem:n}=t;if(n&&e.includes("-nu-")&&(e.includes("-u-")||(e+="-u-"),e+=`-nu-${n}`),t.style==="unit"&&!wa){let{unit:o,unitDisplay:i="short"}=t;if(!o)throw new Error('unit option must be provided with style: "unit"');if(!Cd[o]?.[i])throw new Error(`Unsupported unit ${o} with unitDisplay = ${i}`);t={...t,style:"decimal"}}let r=e+(t?Object.entries(t).sort((o,i)=>o[0]<i[0]?-1:1).join():"");if(Ei.has(r))return Ei.get(r);let a=new Intl.NumberFormat(e,t);return Ei.set(r,a),a}function fv(e,t,n){if(t==="auto")return e.format(n);if(t==="never")return e.format(Math.abs(n));{let r=!1;if(t==="always"?r=n>0||Object.is(n,0):t==="exceptZero"&&(Object.is(n,-0)||Object.is(n,0)?n=Math.abs(n):r=n>0),r){let a=e.format(-n),o=e.format(n),i=a.replace(o,"").replace(/\u200e|\u061C/,"");return[...i].length!==1&&console.warn("@react-aria/i18n polyfill for NumberFormat signDisplay: Unsupported case"),a.replace(o,"!!!").replace(i,"+").replace("!!!",o)}else return e.format(n)}}const mv=new RegExp("^.*\\(.*\\).*$"),hv=["latn","arab","hanidec","deva","beng","fullwide"];class xd{constructor(t,n={}){this.locale=t,this.options=n}parse(t){return Ii(this.locale,this.options,t).parse(t)}isValidPartialNumber(t,n,r){return Ii(this.locale,this.options,t).isValidPartialNumber(t,n,r)}getNumberingSystem(t){return Ii(this.locale,this.options,t).options.numberingSystem}}const Pd=new Map;function Ii(e,t,n){let r=Td(e,t);if(!e.includes("-nu-")&&!r.isValidPartialNumber(n)){for(let a of hv)if(a!==r.options.numberingSystem){let o=Td(e+(e.includes("-u-")?"-nu-":"-u-nu-")+a,t);if(o.isValidPartialNumber(n))return o}}return r}function Td(e,t){let n=e+(t?Object.entries(t).sort((a,o)=>a[0]<o[0]?-1:1).join():""),r=Pd.get(n);return r||(r=new pv(e,t),Pd.set(n,r)),r}class pv{constructor(t,n={}){this.locale=t,n.roundingIncrement!==1&&n.roundingIncrement!=null&&(n.maximumFractionDigits==null&&n.minimumFractionDigits==null?(n.maximumFractionDigits=0,n.minimumFractionDigits=0):n.maximumFractionDigits==null?n.maximumFractionDigits=n.minimumFractionDigits:n.minimumFractionDigits==null&&(n.minimumFractionDigits=n.maximumFractionDigits)),this.formatter=new Intl.NumberFormat(t,n),this.options=this.formatter.resolvedOptions(),this.symbols=gv(t,this.formatter,this.options,n),this.options.style==="percent"&&((this.options.minimumFractionDigits??0)>18||(this.options.maximumFractionDigits??0)>18)&&console.warn("NumberParser cannot handle percentages with greater than 18 decimal places, please reduce the number in your options.")}parse(t){let n=this.formatter.resolvedOptions().useGrouping,r=this.sanitize(t);if(!n&&this.symbols.group&&r.includes(this.symbols.group))return NaN;if(this.symbols.group&&(r=r.replaceAll(this.symbols.group,"")),this.symbols.decimal&&(r=r.replace(this.symbols.decimal,".")),this.symbols.minusSign&&(r=r.replace(this.symbols.minusSign,"-")),r=r.replace(this.symbols.numeral,this.symbols.index),this.options.style==="percent"){let o=r.indexOf("-");r=r.replace("-",""),r=r.replace("+","");let i=r.indexOf(".");i===-1&&(i=r.length),r=r.replace(".",""),i-2===0?r=`0.${r}`:i-2===-1?r=`0.0${r}`:i-2===-2?r="0.00":r=`${r.slice(0,i-2)}.${r.slice(i-2)}`,o>-1&&(r=`-${r}`)}let a=r?+r:NaN;if(isNaN(a))return NaN;if(this.options.style==="percent"){let o={...this.options,style:"decimal",minimumFractionDigits:Math.min((this.options.minimumFractionDigits??0)+2,20),maximumFractionDigits:Math.min((this.options.maximumFractionDigits??0)+2,20)};return new xd(this.locale,o).parse(new Bi(this.locale,o).format(a))}return this.options.currencySign==="accounting"&&mv.test(t)&&(a=-1*a),a}sanitize(t){let n=this.formatter.resolvedOptions().useGrouping;return this.symbols.noNumeralUnits.length>0&&this.symbols.noNumeralUnits.find(r=>r.unit===t)?this.symbols.noNumeralUnits.find(r=>r.unit===t).value.toString():(t=t.replace(this.symbols.literals,""),this.symbols.minusSign&&(t=t.replace("-",this.symbols.minusSign)),this.options.numberingSystem==="arab"&&(this.symbols.decimal&&(t=Xt(t,",",this.symbols.decimal),t=Xt(t,"\u060C",this.symbols.decimal)),this.symbols.group&&n&&(t=Xt(t,".",this.symbols.group))),this.symbols.group==="\u2019"&&t.includes("'")&&n&&(t=Xt(t,"'",this.symbols.group)),this.symbols.group==="'"&&t.includes("\u2019")&&n&&(t=Xt(t,"\u2019",this.symbols.group)),this.options.locale==="fr-FR"&&this.symbols.group&&n&&(t=Xt(t," ",this.symbols.group),t=Xt(t,/\u00A0/g,this.symbols.group)),t)}isValidPartialNumber(t,n=-1/0,r=1/0){let a=this.formatter.resolvedOptions().useGrouping;return t=this.sanitize(t),this.symbols.minusSign&&t.startsWith(this.symbols.minusSign)&&n<0?t=t.slice(this.symbols.minusSign.length):this.symbols.plusSign&&t.startsWith(this.symbols.plusSign)&&r>
70&&(t=t.slice(this.symbols.plusSign.length)),this.symbols.decimal&&t.indexOf(this.symbols.decimal)>-1&&this.options.maximumFractionDigits===0?!1:(this.symbols.group&&a&&(t=Xt(t,this.symbols.group,"")),t=t.replace(this.symbols.numeral,""),this.symbols.decimal&&(t=t.replace(this.symbols.decimal,"")),t.length===0)}}const Dd=new Set(["decimal","fraction","integer","minusSign","plusSign","group"]),Ed=[0,4,2,1,11,20,3,7,100,21,.1,1.1];function gv(e,t,n,r){let a=new Intl.NumberFormat(e,{...n,minimumSignificantDigits:1,maximumSignificantDigits:21,roundingIncrement:1,roundingPriority:"auto",roundingMode:"halfExpand",useGrouping:!0}),o=a.formatToParts(-10000.111),i=a.formatToParts(10000.111),s=Ed.map(T=>a.formatToParts(T)),l=s.map((T,I)=>{let k=T.find(K=>K.type==="unit");return k&&!T.some(K=>K.type==="integer"||K.type==="fraction")?{unit:k.value,value:Ed[I]}:null}).filter(T=>!!T),c=o.find(T=>T.type==="minusSign")?.value??"-",d=i.find(T=>T.type==="plusSign")?.value;!d&&(r?.signDisplay==="exceptZero"||r?.signDisplay==="always")&&(d="+");let m=new Intl.NumberFormat(e,{...n,minimumFractionDigits:2,maximumFractionDigits:2}).formatToParts(.001).find(T=>T.type==="decimal")?.value,h=o.find(T=>T.type==="group")?.value,b=o.filter(T=>!Dd.has(T.type)).map(T=>Fd(T.value)),g=s.flatMap(T=>T.filter(I=>!Dd.has(I.type)).map(I=>Fd(I.value))),v=[...new Set([...b,...g])].sort((T,I)=>I.length-T.length),y=v.length===0?new RegExp("\\p{White_Space}|\\p{Cf}","gu"):new RegExp(`${v.join("|")}|\\p{White_Space}|\\p{Cf}`,"gu"),$=[...new Intl.NumberFormat(n.locale,{useGrouping:!1}).format(9876543210)].reverse(),C=new Map($.map((T,I)=>[T,I])),x=new RegExp(`[${$.join("")}]`,"g");return{minusSign:c,plusSign:d,decimal:m,group:h,literals:y,numeral:x,numerals:$,index:T=>String(C.get(T)),noNumeralUnits:l}}function Xt(e,t,n){return e.replaceAll?e.replaceAll(t,n):e.split(t).join(n)}function Fd(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}const Bd={border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"};function bv(e={}){let{style:t,isFocusable:n}=e,[r,a]=j(!1),{focusWithinProps:o}=Sn({isDisabled:!n,onFocusWithinChange:s=>a(s)}),i=H(()=>r?t:t?{...Bd,...t}:Bd,[r]);return{visuallyHiddenProps:{...o,style:i}}}function vv(e){let{children:t,elementType:n="div",isFocusable:r,style:a,...o}=e,{visuallyHiddenProps:i}=bv(e);return re.createElement(n,he(o,i),t)}function Sv(e,t){let{inputElementType:n="input",isDisabled:r=!1,isRequired:a=!1,isReadOnly:o=!1,type:i="text",validationBehavior:s="aria"}=e,[l,c]=ct(e.value,e.defaultValue||"",e.onChange),{focusableProps:d}=ra(e,t),u=yr({...e,value:l}),{isInvalid:m,validationErrors:h,validationDetails:b}=u.displayValidation,{labelProps:g,fieldProps:v,descriptionProps:y,errorMessageProps:$}=ya({...e,isInvalid:m,errorMessage:e.errorMessage||h}),C=ot(e,{labelable:!0});const x={type:i,pattern:e.pattern};let[E]=j(l);return xi(t,e.defaultValue??E,c),Sd(e,u,t),{labelProps:g,inputProps:he(C,n==="input"?x:void 0,{disabled:r,readOnly:o,required:a&&s==="native","aria-required":a&&s==="aria"||void 0,"aria-invalid":m||void 0,"aria-errormessage":e["aria-errormessage"],"aria-activedescendant":e["aria-activedescendant"],"aria-autocomplete":e["aria-autocomplete"],"aria-haspopup":e["aria-haspopup"],"aria-controls":e["aria-controls"],value:l,onChange:T=>c(ee(T).value),autoComplete:e.autoComplete,autoCapitalize:e.autoCapitalize,maxLength:e.maxLength,minLength:e.minLength,name:e.name,form:e.form,placeholder:e.placeholder,inputMode:e.inputMode,autoCorrect:e.autoCorrect,spellCheck:e.spellCheck,[parseInt(re.version,10)>=17?"enterKeyHint":"enterkeyhint"]:e.enterKeyHint,onCopy:e.onCopy,onCut:e.onCut,onPaste:e.onPaste,onCompositionEnd:e.onCompositionEnd,onCompositionStart:e.onCompositionStart,onCompositionUpdate:e.onCompositionUpdate,onSelect:e.onSelect,onBeforeInput:e.onBeforeInput,onInput:e.onInput,...d,...v}),descriptionProps:y,errorMessageProps:$,isInvalid:m,validationErrors:h,validationDetails:b}}var Id={};Id={Empty:"Tom"};var kd={};kd={Empty:"Leer"};var Nd={};Nd={Empty:"Empty"};var Rd={};Rd={Empty:"Vac\xEDo"};var Ld={};Ld={Empty:"Tyhj\xE4"};var Md={};Md={Empty:"Vide"};var Ad={};Ad={Empty:"Vuoto"};var Od={};Od={Empty:"Tom"};var Vd={};Vd={Empty:"Leeg"};var Kd={};Kd={Empty:"Vazio"};var _d={};_d={Empty:"Tomt"};var Hd={};Hd={"ar-AE":F,"bg-BG":F,"cs-CZ":F,"da-DK":Id,"de-DE":kd,"el-GR":F,"en-US":Nd,"es-ES":Rd,"et-EE":F,"fi-FI":Ld,"fr-FR":Md,"he-IL":F,"hr-HR":F,"hu-HU":F,"it-IT":Ad,"ja-JP":F,"ko-KR":F,"lt-LT":F,"lv-LV":F,"nb-NO":Od,"nl-NL":Vd,"pl-PL":F,"pt-BR":F,"pt-PT":Kd,"ro-RO":F,"ru-RU":F,"sk-SK":F,"sl-SI":F,"sr-SP":F,"sv-SE":_d,"tr-TR":F,"uk-UA":F,"zh-CN":F,"zh-TW":F};
7function yv(e){return e&&e.__esModule?e.default:e}const zd=()=>{};function wv(e){const t=M(void 0);let{value:n,textValue:r,minValue:a,maxValue:o,isDisabled:i,isReadOnly:s,isRequired:l,onIncrement:c,onIncrementPage:d,onDecrement:u,onDecrementPage:m,onDecrementToMin:h,onIncrementToMax:b}=e;const g=ht(yv(Hd),"@react-aria/spinbutton");let v=M(!1);const y=Q(()=>{clearTimeout(t.current),v.current=!1},[]),$=Ae(()=>{y()});G(()=>()=>$(),[]);let C=Z=>{if(!(Z.ctrlKey||Z.metaKey||Z.shiftKey||Z.altKey||s||Z.nativeEvent.isComposing))switch(Z.key){case"PageUp":if(d){Z.preventDefault(),d?.();break}case"ArrowUp":case"Up":c&&(Z.preventDefault(),c?.());break;case"PageDown":if(m){Z.preventDefault(),m?.();break}case"ArrowDown":case"Down":u&&(Z.preventDefault(),u?.());break;case"Home":h&&(Z.preventDefault(),h?.());break;case"End":b&&(Z.preventDefault(),b?.());break}},x=M(!1),E=()=>{x.current=!0},T=()=>{x.current=!1},I=r===""?g.format("Empty"):(r||`${n}`).replace("-","\u2212");G(()=>{x.current&&(Sb("assertive"),Mn(I,"assertive"))},[I]);let k=Q(()=>{y()},[y]);const K=Ae(c??zd),U=Ae(u??zd),B=Ae(()=>{(o===void 0||isNaN(o)||n===void 0||isNaN(n)||n<o)&&(K(),N(60))}),N=Ae(Z=>{$(),v.current=!0,t.current=window.setTimeout(B,Z)}),_=Ae(()=>{(a===void 0||isNaN(a)||n===void 0||isNaN(n)||n>a)&&(U(),P(60))}),P=Ae(Z=>{$(),v.current=!0,t.current=window.setTimeout(_,Z)});let R=Z=>{Z.preventDefault()},{addGlobalListener:V,removeAllGlobalListeners:A}=lr(),O=M(!1),[L,D]=j(null);G(()=>{L==="touch"?N(600):L?N(400):L||$()},[L]);let[q,te]=j(null);return G(()=>{q==="touch"?P(600):q?P(400):q||$()},[q]),{spinButtonProps:{role:"spinbutton","aria-valuenow":n!==void 0&&!isNaN(n)?n:void 0,"aria-valuetext":I,"aria-valuemin":a,"aria-valuemax":o,"aria-disabled":i||void 0,"aria-readonly":s||void 0,"aria-required":l||void 0,onKeyDown:C,onFocus:E,onBlur:T},incrementButtonProps:{onPressStart:Z=>{y(),Z.pointerType!=="touch"?(c?.(),D("mouse")):(V(window,"pointercancel",k,{capture:!0}),O.current=!1,D("touch")),V(window,"contextmenu",R)},onPressUp:Z=>{y(),Z.pointerType==="touch"&&(O.current=!0),A(),D(null)},onPressEnd:Z=>{y(),Z.pointerType==="touch"&&!v.current&&O.current&&c?.(),O.current=!1,D(null)},onFocus:E,onBlur:T},decrementButtonProps:{onPressStart:Z=>{y(),Z.pointerType!=="touch"?(u?.(),te("mouse")):(V(window,"pointercancel",k,{capture:!0}),O.current=!1,te("touch"))},onPressUp:Z=>{y(),Z.pointerType==="touch"&&(O.current=!0),A(),te(null)},onPressEnd:Z=>{y(),Z.pointerType==="touch"&&!v.current&&O.current&&u?.(),O.current=!1,te(null)},onFocus:E,onBlur:T}}}const $v=typeof HTMLElement<"u"&&"inert"in HTMLElement.prototype;function Ud(e){return e.dataset.liveAnnouncer==="true"||e.dataset.reactAriaTopLayer!==void 0}let wr=new WeakMap,et=[];function Wd(e,t){let n=He(e?.[0]),r=t instanceof n.Element?{root:t}:t,a=r?.root??document.body,o=r?.shouldUseInert&&$v,i=new Set(e),s=new Set,l=v=>o&&v instanceof n.HTMLElement?v.inert:v.getAttribute("aria-hidden")==="true",c=(v,y)=>{o&&v instanceof n.HTMLElement?v.inert=y:y?v.setAttribute("aria-hidden","true"):(v.removeAttribute("aria-hidden"),v instanceof n.HTMLElement&&(v.inert=!1))},d=new Set;if(kt())for(let v of e){let y=v;for(;y&&y!==a;){let $=y.getRootNode();"shadowRoot"in $&&d.add($.shadowRoot),y=$.parentNode}}let u=v=>{for(let x of v.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]"))i.add(x);let y=x=>{if(s.has(x)||i.has(x)||x.parentElement&&s.has(x.parentElement)&&x.parentElement.getAttribute("role")!=="row")return NodeFilter.FILTER_REJECT;for(let E of i)if(ue(x,E))return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT},$=Fc(ge(v),v,NodeFilter.SHOW_ELEMENT,{acceptNode:y}
7),C=y(v);if(C===NodeFilter.FILTER_ACCEPT&&m(v),C!==NodeFilter.FILTER_REJECT){let x=$.nextNode();for(;x!=null;)m(x),x=$.nextNode()}},m=v=>{let y=wr.get(v)??0;l(v)&&y===0||(y===0&&c(v,!0),s.add(v),wr.set(v,y+1))};et.length&&et[et.length-1].disconnect(),u(a);let h=new MutationObserver(v=>{for(let y of v)if(y.type==="childList"){if(y.target.isConnected&&![...i,...s].some($=>ue($,y.target)))for(let $ of y.addedNodes)($ instanceof HTMLElement||$ instanceof SVGElement)&&Ud($)?i.add($):$ instanceof Element&&u($);if(kt()){for(let $ of d)if(!$.isConnected){h.disconnect();break}}}});h.observe(a,{childList:!0,subtree:!0});let b=new Set;if(kt())for(let v of d){let y=new MutationObserver($=>{for(let C of $)if(C.type==="childList"){if(C.target.isConnected&&![...i,...s].some(x=>ue(x,C.target)))for(let x of C.addedNodes)(x instanceof HTMLElement||x instanceof SVGElement)&&Ud(x)?i.add(x):x instanceof Element&&u(x);if(kt()){for(let x of d)if(!x.isConnected){h.disconnect();break}}}});y.observe(v,{childList:!0,subtree:!0}),b.add(y)}let g={visibleNodes:i,hiddenNodes:s,observe(){h.observe(a,{childList:!0,subtree:!0})},disconnect(){h.disconnect()}};return et.push(g),()=>{if(h.disconnect(),kt())for(let v of b)v.disconnect();for(let v of s){let y=wr.get(v);y!=null&&(y===1?(c(v,!1),wr.delete(v)):wr.set(v,y-1))}g===et[et.length-1]?(et.pop(),et.length&&et[et.length-1].observe()):et.splice(et.indexOf(g),1)}}function Cv(e){let t=et[et.length-1];if(t&&!t.visibleNodes.has(e))return t.visibleNodes.add(e),()=>{t.visibleNodes.delete(e)}}const $a=new WeakMap;function xv(e){return typeof e=="string"?e.replace(/\s*/g,""):""+e}function Gd(e,t){let n=$a.get(e);if(!n)throw new Error("Unknown list");return`${n.id}-option-${xv(t)}`}var jd={};jd={buttonLabel:"Vis forslag",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} mulighed tilg\xE6ngelig`,other:()=>`${t.number(e.optionCount)} muligheder tilg\xE6ngelige`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Angivet gruppe ${e.groupTitle}, med ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} mulighed`,other:()=>`${t.number(e.groupCount)} muligheder`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valgt",other:""},e.isSelected)}`,listboxLabel:"Forslag",selectedAnnouncement:e=>`${e.optionText}, valgt`};var Zd={};Zd={buttonLabel:"Empfehlungen anzeigen",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} Option`,other:()=>`${t.number(e.optionCount)} Optionen`})} verf\xFCgbar.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Eingetretene Gruppe ${e.groupTitle}, mit ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} Option`,other:()=>`${t.number(e.groupCount)} Optionen`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", ausgew\xE4hlt",other:""},e.isSelected)}`,listboxLabel:"Empfehlungen",selectedAnnouncement:e=>`${e.optionText}, ausgew\xE4hlt`};var qd={};qd={focusAnnouncement:(e,t)=>`${t.select({true:()=>`Entered group ${e.groupTitle}, with ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} option`,other:()=>`${t.number(e.groupCount)} options`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selected",other:""},e.isSelected)}`,countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} option`,other:()=>`${t.number(e.optionCount)} options`})} available.`,selectedAnnouncement:e=>`${e.optionText}, selected`,buttonLabel:"Show suggestions",listboxLabel:"Suggestions"};var Yd={};Yd={buttonLabel:"Mostrar sugerencias",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opci\xF3n`,other:()=>`${t.number(e.optionCount)} opciones`})} disponible(s).`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Se ha unido al grupo ${e.groupTitle}, con ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opci\xF3n`,other:()=>`${t.number(e.groupCount)} opciones`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", seleccionado",other:""},e.isSelected)}`,listboxLabel:"Sugerencias",selectedAnnouncement:e=>`${e.optionText}, seleccionado`};var Xd={};Xd={buttonLabel:"N\xE4yt\xE4 ehdotukset",countAnnouncement:(e,t)=>
7`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} vaihtoehto`,other:()=>`${t.number(e.optionCount)} vaihtoehdot`})} saatavilla.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Mentiin ryhm\xE4\xE4n ${e.groupTitle}, ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} vaihtoehdon`,other:()=>`${t.number(e.groupCount)} vaihtoehdon`})} kanssa.`,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valittu",other:""},e.isSelected)}`,listboxLabel:"Ehdotukset",selectedAnnouncement:e=>`${e.optionText}, valittu`};var Jd={};Jd={buttonLabel:"Afficher les suggestions",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} option`,other:()=>`${t.number(e.optionCount)} options`})} disponible(s).`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Groupe ${e.groupTitle} rejoint, avec ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} option`,other:()=>`${t.number(e.groupCount)} options`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", s\xE9lectionn\xE9(s)",other:""},e.isSelected)}`,listboxLabel:"Suggestions",selectedAnnouncement:e=>`${e.optionText}, s\xE9lectionn\xE9`};var Qd={};Qd={buttonLabel:"Mostra suggerimenti",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opzione disponibile`,other:()=>`${t.number(e.optionCount)} opzioni disponibili`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Ingresso nel gruppo ${e.groupTitle}, con ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opzione`,other:()=>`${t.number(e.groupCount)} opzioni`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selezionato",other:""},e.isSelected)}`,listboxLabel:"Suggerimenti",selectedAnnouncement:e=>`${e.optionText}, selezionato`};var eu={};eu={buttonLabel:"Vis forslag",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} alternativ`,other:()=>`${t.number(e.optionCount)} alternativer`})} finnes.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Angitt gruppe ${e.groupTitle}, med ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} alternativ`,other:()=>`${t.number(e.groupCount)} alternativer`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valgt",other:""},e.isSelected)}`,listboxLabel:"Forslag",selectedAnnouncement:e=>`${e.optionText}, valgt`};var tu={};tu={buttonLabel:"Suggesties weergeven",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} optie`,other:()=>`${t.number(e.optionCount)} opties`})} beschikbaar.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Groep ${e.groupTitle} ingevoerd met ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} optie`,other:()=>`${t.number(e.groupCount)} opties`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", geselecteerd",other:""},e.isSelected)}`,listboxLabel:"Suggesties",selectedAnnouncement:e=>`${e.optionText}, geselecteerd`};var nu={};nu={buttonLabel:"Apresentar sugest\xF5es",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} op\xE7\xE3o`,other:()=>`${t.number(e.optionCount)} op\xE7\xF5es`})} dispon\xEDvel.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Grupo introduzido ${e.groupTitle}, com ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} op\xE7\xE3o`,other:()=>`${t.number(e.groupCount)} op\xE7\xF5es`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selecionado",other:""},e.isSelected)}`,listboxLabel:"Sugest\xF5es",selectedAnnouncement:e=>`${e.optionText}, selecionado`};var ru={};ru={buttonLabel:"Visa f\xF6rslag",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} alternativ`,other:()=>`${t.number(e.optionCount)} alternativ`})} tillg\xE4ngliga.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Ingick i gruppen ${e.groupTitle} med ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} alternativ`,other:()=>`${t.number(e.groupCount)} alternativ`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valda",other:""},e.isSelected)}`,listboxLabel:"F\xF6rslag",selectedAnnouncement:e=>`${e.optionText}, valda`};var au={};au={"ar-AE":F,"bg-BG":F,"cs-CZ":F,"da-DK":jd,"de-DE":Zd,"el-GR":F,"en-US":qd,"es-ES":Yd,"et-EE":F,"fi-FI":Xd,"fr-FR":Jd,"he-IL":F,"hr-HR":F,"hu-HU":F,"it-IT":Qd,"ja-JP":F,"ko-KR":F,"lt-LT":F,"lv-LV":F,"nb-NO":eu,"nl-NL":tu,"pl-PL":F,"pt-BR":F,"pt-PT":nu,"ro-RO":F,"ru-RU":F,"sk-SK":F,"sl-SI":F,"sr-SP":F,"sv-SE":ru,"tr-TR":F,"uk-UA":F,"zh-CN":F,"zh-TW":F};function ki(e){return Jr()?e.altKey:e.ctrlKey}function yn(e,t){let n=`[data-key="${CSS.escape(String(t))}"]`,r=e.current?.dataset.collection;return r&&(n=`[data-collection="${CSS.escape(r)}"]${n}`),e.current?.querySelector(n)}const ou=new WeakMap;function Pv(e){let t=Me();return ou.set(e,t),t}function Tv(e){return ou.get(e)}class iu{constructor(t){this.ref=t}getItemRect(t){let n=this.ref.current;if(!n)return null;let r=t!=null?yn(this.ref,t):null;if(!r)return null;let a=n.getBoundingClientRect(),o=r.getBoundingClientRect();return{x:o.left-a.left-n.clientLeft+n.scrollLeft,y:o.top-a.top-n.clientTop+n.scrollTop,width:o.width,height:o.height}}getContentSize(){let t=this.ref.current;return{width:t?.scrollWidth??0,height:t?.scrollHeight??0}}getVisibleRect(){let t=this.ref.current;return{x:t?.scrollLeft??0,y:t?.scrollTop??0,width:t?.clientWidth??0,height:t?.clientHeight??0}}}class su{constructor(...t){if(t.length===1){let n=t[0];this.collection=n.collection,this.ref=n.ref,this.collator=n.collator,this.disabledKeys=n.disabledKeys||new Set,this.disabledBehavior=n.disabledBehavior||"all",this.orientation=n.orientation||"vertical",this.direction=n.direction,this.layout=n.layout||"stack",this.layoutDelegate=n.layoutDelegate||new iu(n.ref)}else this.collection=t[0],this.disabledKeys=t[1],this.ref=t[2],this.collator=t[3],this.layout="stack",this.orientation="vertical",this.disabledBehavior="all",this.layoutDelegate=new iu(this.ref);this.layout==="stack"&&this.orientation==="vertical"&&(this.getKeyLeftOf=void 0,this.getKeyRightOf=void 0)}isDisabled(t){return this.disabledBehavior==="all"&&(t.props?.isDisabled||this.disabledKeys.has(t.key))&&t.props?.disabledBehavior!=="selection"}findNextNonDisabled(t,n,r=!1){let a=t;for(;a!=null;){let o=this.collection.getItem(a);if(o?.type==="item"&&(r||!this.isDisabled(o)))return a;a=n(a)}return null}getNextKey(t,n){let r=t;return r=this.collection.getKeyAfter(r),this.findNextNonDisabled(r,a=>this.collection.getKeyAfter(a),n?.includeDisabled)}getPreviousKey(t,n){let r=t;return r=this.collection.getKeyBefore(r),this.findNextNonDisabled(r,a=>this.collection.getKeyBefore(a),n?.includeDisabled)}findKey(t,n,r){let a=t,o=this.layoutDelegate.getItemRect(a);if(!o||a==null)return null;let i=o;do{if(a=n(a),a==null)break;o=this.layoutDelegate.getItemRect(a)}while(o&&r(i,o)&&a!=null);return a}isSameRow(t,n){return t.y===n.y||t.x!==n.x}isSameColumn(t,n){return t.x===n.x||t.y!==n.y}isReversed(t){let n=this.getNextKey(t),r=yn(this.ref,t);if(n!=null){let o=yn(this.ref,n);return!r||!o?!1:r.getBoundingClientRect().top>o.getBoundingClientRect().top}let a=this.getPreviousKey(t);if(a!=null){let o=yn(this.ref,a);return!r||!o?!1:o.getBoundingClientRect().top>r.getBoundingClientRect().top}return!1}getKeyBelow(t,n){return this.layout==="grid"&&this.orientation==="vertical"?this.findKey(t,r=>this.getNextKey(r,n),this.isSameRow):this.orientation==="vertical"?this.isReversed(t)?this.getPreviousKey(t,n):this.getNextKey(t,n):this.getNextKey(t,n)}
7getKeyAbove(t,n){return this.layout==="grid"&&this.orientation==="vertical"?this.findKey(t,r=>this.getPreviousKey(r,n),this.isSameRow):this.orientation==="vertical"?this.isReversed(t)?this.getNextKey(t,n):this.getPreviousKey(t,n):this.getPreviousKey(t,n)}getNextColumn(t,n,r){return n?this.getPreviousKey(t,r):this.getNextKey(t,r)}getKeyRightOf(t,n){let r=this.direction==="ltr"?"getKeyRightOf":"getKeyLeftOf";return this.layoutDelegate[r]?(t=this.layoutDelegate[r](t),this.findNextNonDisabled(t,a=>this.layoutDelegate[r](a),n?.includeDisabled)):this.layout==="grid"?this.orientation==="vertical"?this.getNextColumn(t,this.direction==="rtl",n):this.findKey(t,a=>this.getNextColumn(a,this.direction==="rtl",n),this.isSameColumn):this.orientation==="horizontal"?this.getNextColumn(t,this.direction==="rtl",n):null}getKeyLeftOf(t,n){let r=this.direction==="ltr"?"getKeyLeftOf":"getKeyRightOf";return this.layoutDelegate[r]?(t=this.layoutDelegate[r](t),this.findNextNonDisabled(t,a=>this.layoutDelegate[r](a),n?.includeDisabled)):this.layout==="grid"?this.orientation==="vertical"?this.getNextColumn(t,this.direction==="ltr",n):this.findKey(t,a=>this.getNextColumn(a,this.direction==="ltr",n),this.isSameColumn):this.orientation==="horizontal"?this.getNextColumn(t,this.direction==="ltr",n):null}getFirstKey(){let t=this.collection.getFirstKey();return this.findNextNonDisabled(t,n=>this.collection.getKeyAfter(n))}getLastKey(){let t=this.collection.getLastKey();return this.findNextNonDisabled(t,n=>this.collection.getKeyBefore(n))}getKeyPageAbove(t){let n=this.ref.current,r=this.layoutDelegate.getItemRect(t);if(!r)return null;let a=this.isReversed(t);if(n&&!On(n))return this.getFirstKey();let o=t;if(this.orientation==="horizontal"){let i=Math.max(0,r.x+r.width-this.layoutDelegate.getVisibleRect().width);for(;r&&r.x>i&&o!=null;)o=this.getKeyAbove(o),r=o==null?null:this.layoutDelegate.getItemRect(o)}else{let i=this.layoutDelegate.getVisibleRect(),s=a?r.y-i.height:Math.max(0,r.y+r.height-i.height);for(;r&&r.y>s&&o!=null;)o=this.getKeyAbove(o),r=o==null?null:this.layoutDelegate.getItemRect(o)}return o??(a?this.getLastKey():this.getFirstKey())}getKeyPageBelow(t){let n=this.ref.current,r=this.layoutDelegate.getItemRect(t);if(!r)return null;let a=this.isReversed(t);if(n&&!On(n))return this.getLastKey();let o=t;if(this.orientation==="horizontal"){let i=Math.min(this.layoutDelegate.getContentSize().width,r.x-r.width+this.layoutDelegate.getVisibleRect().width);for(;r&&r.x<i&&o!=null;)o=this.getKeyBelow(o),r=o==null?null:this.layoutDelegate.getItemRect(o)}else{let i=Math.min(this.layoutDelegate.getContentSize().height,r.y-r.height+this.layoutDelegate.getVisibleRect().height);for(;r&&r.y<i&&o!=null;)o=this.getKeyBelow(o),r=o==null?null:this.layoutDelegate.getItemRect(o)}return o??(a?this.getFirstKey():this.getLastKey())}getKeyForSearch(t,n){if(!this.collator)return null;let r=this.collection,a=n||this.getFirstKey();for(;a!=null;){let o=r.getItem(a);if(!o)return null;let i=o.textValue.slice(0,t.length);if(o.textValue&&this.collator.compare(i,t)===0)return a;a=this.getNextKey(a)}return null}}var lu={};lu={longPressMessage:"Langt tryk eller tryk p\xE5 Alt + pil ned for at \xE5bne menuen"};var cu={};cu={longPressMessage:"Dr\xFCcken Sie lange oder dr\xFCcken Sie Alt + Nach-unten, um das Men\xFC zu \xF6ffnen"};var du={};du={longPressMessage:"Long press or press Alt + ArrowDown to open menu"};var uu={};uu={longPressMessage:"Mantenga pulsado o pulse Alt + flecha abajo para abrir el men\xFA"};var fu={};fu={longPressMessage:"Avaa valikko painamalla pohjassa tai n\xE4pp\xE4inyhdistelm\xE4ll\xE4 Alt + Alanuoli"};var mu={};mu={longPressMessage:"Appuyez de mani\xE8re prolong\xE9e ou appuyez sur Alt\xA0+\xA0Fl\xE8che vers le bas pour ouvrir le menu."};var hu={};hu={longPressMessage:"Premi a lungo o premi Alt + Freccia gi\xF9 per aprire il menu"};var pu={};pu={longPressMessage:"Langt trykk eller trykk Alt + PilNed for \xE5 \xE5pne menyen"};var gu={};gu={longPressMessage:"Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen"};var bu={};bu={longPressMessage:"Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu"};var vu={};vu={longPressMessage:"H\xE5ll nedtryckt eller tryck p\xE5 Alt + pil ned\xE5t f\xF6r att \xF6ppna menyn"};var Su={};Su={"ar-AE":F,"bg-BG":F,"cs-CZ":F,"da-DK":lu,"de-DE":cu,"el-GR":F,"en-US":du,"es-ES":uu,"et-EE":F,"fi-FI":fu,"fr-FR":mu,"he-IL":F,"hr-HR":F,"hu-HU":F,"it-IT":hu,"ja-JP":F,"ko-KR":F,"lt-LT":F,"lv-LV":F,"nb-NO":pu,"nl-NL":gu,"pl-PL":F,"pt-BR":F,"pt-PT":bu,"ro-RO":F,"ru-RU":F,"sk-SK":F,"sl-SI":F,"sr-SP":F,"sv-SE":vu,"tr-TR":F,"uk-UA":F,"zh-CN":F,"zh-TW":F};const Dv=500;function yu(e){let{isDisabled:t,onLongPressStart:n,onLongPressEnd:r,onLongPress:a,threshold:o=Dv,accessibilityDescription:i}=e;const s=M(void 0);let{addGlobalListener:l,removeGlobalListener:c}=lr(),{pressProps:d}=Ln({isDisabled:t,onPressStart(m){if(m.continuePropagation(),(m.pointerType==="mouse"||m.pointerType==="touch")&&(n&&n({...m,type:"longpressstart"}),s.current=setTimeout(()=>{m.target.dispatchEvent(new PointerEvent("pointercancel",{bubbles:!0})),ge(m.target).activeElement!==m.target&&at(m.target),a&&a({...m,type:"longpress"}),s.current=void 0},o),m.pointerType==="touch")){let h=g=>{g.preventDefault()},b=He(m.target);l(m.target,"contextmenu",h,{once:!0}),l(b,"pointerup",()=>{setTimeout(()=>{c(m.target,"contextmenu",h)},30)},{once:!0})}},onPressEnd(m){s.current&&clearTimeout(s.current),r&&(m.pointerType==="mouse"||m.pointerType==="touch")&&r({...m,type:"longpressend"})}}),u=Sr(a&&!t?i:void 0);return{longPressProps:he(d,u)}}const wu=new WeakMap;function Ev(e){let{triggerRef:t,isOpen:n,onClose:r}=e;G(()=>{if(!n||r===null)return;let a=o=>{let i=ee(o);if(!t.current||i instanceof Node&&!ue(i,t.current)||i instanceof HTMLInputElement||i instanceof HTMLTextAreaElement)return;let s=r||wu.get(t.current);s&&s()};return window.addEventListener("scroll",a,!0),()=>{window.removeEventListener("scroll",a,!0)}},[n,r,t])}function $u(e,t,n){let{type:r}=e,{isOpen:a}=t;G(()=>{n&&n.current&&wu.set(n.current,t.close)});let o;r==="menu"?o=!0:r==="listbox"&&(o="listbox");let i=Me();return{triggerProps:{"aria-haspopup":o,"aria-expanded":a,"aria-controls":a?i:void 0,onPress:t.toggle},overlayProps:{id:i}}}
7function Fv(e){return e&&e.__esModule?e.default:e}function Ni(e,t,n){let{type:r="menu",isDisabled:a,trigger:o="press"}=e,i=Me(),{triggerProps:s,overlayProps:l}=$u({type:r},t,n),c=h=>{if(!a&&!(o==="longPress"&&!h.altKey)&&n&&n.current)switch(h.key){case"Enter":case" ":if(o==="longPress"||h.isDefaultPrevented())return;case"ArrowDown":"continuePropagation"in h||h.stopPropagation(),h.preventDefault(),t.toggle("first");break;case"ArrowUp":"continuePropagation"in h||h.stopPropagation(),h.preventDefault(),t.toggle("last");break;default:"continuePropagation"in h&&h.continuePropagation()}},d=ht(Fv(Su),"@react-aria/menu"),{longPressProps:u}=yu({isDisabled:a||o!=="longPress",accessibilityDescription:d.format("longPressMessage"),onLongPressStart(){t.close()},onLongPress(){t.open("first")}}),m={preventFocusOnPress:!0,onPressStart(h){h.pointerType!=="touch"&&h.pointerType!=="keyboard"&&!a&&(at(h.target),t.open(h.pointerType==="virtual"?"first":null))},onPress(h){h.pointerType==="touch"&&!a&&(at(h.target),t.toggle())}};return delete s.onPress,{menuTriggerProps:{...s,...o==="press"?m:u,id:i,onKeyDown:c},menuProps:{...l,"aria-labelledby":i,autoFocus:t.focusStrategy||!0,onClose:t.close}}}const Cu=1e3;function Bv(e){let{keyboardDelegate:t,selectionManager:n,onTypeSelect:r}=e,a=M({search:"",timeout:void 0}),o=s=>{if(a.current.search.length>0&&s.key===" "){if(s.preventDefault(),(!("continuePropagation"in s)||"continuePropagation"in s&&!s.isPropagationStopped())&&s.stopPropagation(),a.current.search+=" ",t.getKeyForSearch!=null){let l=t.getKeyForSearch(a.current.search,n.focusedKey);l==null&&(l=t.getKeyForSearch(a.current.search)),l!=null&&(n.setFocusedKey(l),r&&r(l))}clearTimeout(a.current.timeout),a.current.timeout=setTimeout(()=>{a.current.search=""},Cu)}},i=s=>{let l=Iv(s.key);if(!(!l||s.ctrlKey||s.metaKey||s.altKey||!ue(s.currentTarget,ee(s))||a.current.search.length===0&&l===" ")){if(a.current.search+=l,t.getKeyForSearch!=null){let c=t.getKeyForSearch(a.current.search,n.focusedKey);if(c==null&&(c=t.getKeyForSearch(a.current.search)),c!=null)n.setFocusedKey(c),r&&r(c),s.preventDefault(),"continuePropagation"in s||s.stopPropagation();else{a.current.search="",clearTimeout(a.current.timeout),a.current.timeout=void 0;return}}clearTimeout(a.current.timeout),a.current.timeout=setTimeout(()=>{a.current.search=""},Cu)}};return G(()=>{let s=a.current.timeout;return()=>{clearTimeout(s)}},[a]),{typeSelectProps:{onKeyDownCapture:t.getKeyForSearch?o:void 0,onKeyDown:t.getKeyForSearch?i:void 0}}}function Iv(e){return e.length===1||!/^[A-Z]/i.test(e)?e:""}function xu(e,t){const n=M(!0),r=M(null);Pe(()=>(n.current=!0,()=>{n.current=!1}),[]),Pe(()=>{n.current?n.current=!1:(!r.current||t.some((a,o)=>!Object.is(a,r[o])))&&e(),r.current=t},t)}function Pu(e){let{selectionManager:t,keyboardDelegate:n,ref:r,autoFocus:a=!1,shouldFocusWrap:o=!1,disallowEmptySelection:i=!1,disallowSelectAll:s=!1,escapeKeyBehavior:l="clearSelection",selectOnFocus:c=t.selectionBehavior==="replace",disallowTypeAhead:d=!1,shouldUseVirtualFocus:u,allowsTabNavigation:m=!1,scrollRef:h=r,linkBehavior:b="action",UNSTABLE_focusOnEntry:g}=e,{direction:v}=nt(),y=ar(),$=V=>{if(V.altKey&&V.key==="Tab"&&V.preventDefault(),!r.current||!ue(r.current,ee(V)))return;const A=(O,L)=>{if(O!=null){if(t.isLink(O)&&b==="selection"&&c&&!ki(V)){ol(()=>{t.setFocusedKey(O,L)});let D=yn(r,O),q=t.getItemProps(O);D&&y.open(D,V,q.href,q.routerOptions);return}if(t.setFocusedKey(O,L),t.isLink(O)&&b==="override")return;V.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(O):c&&!ki(V)&&t.replaceSelection(O)}};switch(V.key){case"ArrowDown":if(n.getKeyBelow){let O=t.focusedKey!=null?n.getKeyBelow?.(t.focusedKey):n.getFirstKey?.();O==null&&o&&(O=n.getFirstKey?.(t.focusedKey)),O!=null&&(V.preventDefault(),A(O))}break;case"ArrowUp":if(n.getKeyAbove){let O=t.focusedKey!=null?n.getKeyAbove?.(t.focusedKey):n.getLastKey?.();O==null&&o&&(O=n.getLastKey?.(t.focusedKey)),O!=null&&(V.preventDefault(),A(O))}break;case"ArrowLeft":if(n.getKeyLeftOf){let O=t.focusedKey!=null?n.getKeyLeftOf?.(t.focusedKey):n.getFirstKey?.();O==null&&o&&(O=v==="rtl"?n.getFirstKey?.(t.focusedKey):n.getLastKey?.(t.focusedKey)),O!=null&&(V.preventDefault(),A(O,v==="rtl"?"first":"last"))}break;case"ArrowRight":if(n.getKeyRightOf){let O=t.focusedKey!=null?n.getKeyRightOf?.(t.focusedKey):n.getFirstKey?.();O==null&&o&&(O=v==="rtl"?n.getLastKey?.(t.focusedKey):n.getFirstKey?.(t.focusedKey)),O!=null&&(V.preventDefault(),A(O,v==="rtl"?"last":"first"))}break;
7case"Home":if(n.getFirstKey){if(t.focusedKey===null&&V.shiftKey)return;V.preventDefault();let O=n.getFirstKey(t.focusedKey,Nn(V));t.setFocusedKey(O),O!=null&&(Nn(V)&&V.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(O):c&&t.replaceSelection(O))}break;case"End":if(n.getLastKey){if(t.focusedKey===null&&V.shiftKey)return;V.preventDefault();let O=n.getLastKey(t.focusedKey,Nn(V));t.setFocusedKey(O),O!=null&&(Nn(V)&&V.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(O):c&&t.replaceSelection(O))}break;case"PageDown":if(n.getKeyPageBelow&&t.focusedKey!=null){let O=n.getKeyPageBelow(t.focusedKey);O!=null&&(V.preventDefault(),A(O))}break;case"PageUp":if(n.getKeyPageAbove&&t.focusedKey!=null){let O=n.getKeyPageAbove(t.focusedKey);O!=null&&(V.preventDefault(),A(O))}break;case"a":Nn(V)&&t.selectionMode==="multiple"&&s!==!0&&(V.preventDefault(),t.selectAll());break;case"Escape":l==="clearSelection"&&!i&&t.selectedKeys.size!==0&&(V.stopPropagation(),V.preventDefault(),t.clearSelection());break;case"Tab":if(!m){if(V.shiftKey)r.current.focus();else{let O=je(r.current,{tabbable:!0}),L,D;do D=O.lastChild(),D&&(L=D);while(D);let q=Se();L&&(!rr(L)||q&&!Vl(q))&&at(L)}break}}},C=M({top:0,left:0});mt(h,"scroll",()=>{C.current={top:h.current?.scrollTop??0,left:h.current?.scrollLeft??0}});let x=V=>{if(t.isFocused){ue(V.currentTarget,ee(V))||t.setFocused(!1);return}if(!ue(V.currentTarget,ee(V)))return;let A=un();t.setFocused(!0);let O=L=>{L!=null&&(t.setFocusedKey(L),c&&!t.isSelected(L)&&t.replaceSelection(L))};if(g&&(A==="keyboard"||A==="virtual"))O(g==="first"?n.getFirstKey?.():n.getLastKey?.());else if(t.focusedKey==null){let L=V.relatedTarget;L&&V.currentTarget.compareDocumentPosition(L)&Node.DOCUMENT_POSITION_FOLLOWING?O(t.lastSelectedKey??n.getLastKey?.()):O(t.firstSelectedKey??n.getFirstKey?.())}else h.current&&(h.current.scrollTop=C.current.top,h.current.scrollLeft=C.current.left);if(t.focusedKey!=null&&h.current){let L=yn(r,t.focusedKey);L instanceof HTMLElement&&(!rr(L)&&!u&&at(L),(A==="keyboard"||g&&A==="virtual")&&ba(L,{containingElement:r.current}))}},E=V=>{ue(V.currentTarget,V.relatedTarget)||t.setFocused(!1)},T=M(!1);mt(r,Vg,u?V=>{let{detail:A}=V;V.stopPropagation(),t.setFocused(!0),A?.focusStrategy==="first"&&(T.current=!0)}:void 0);let I=n.getFirstKey?.()??null;xu(()=>{if(T.current)if(I==null){let V=Se();cc(r.current),Ao(V,null),t.collection.size>0&&(T.current=!1)}else t.setFocusedKey(I),T.current=!1},[I,t.collection.size]),xu(()=>{t.collection.size>0&&(T.current=!1)},[t.focusedKey]),mt(r,Og,u?V=>{V.stopPropagation(),t.setFocused(!1),V.detail?.clearFocusKey&&t.setFocusedKey(null)}:void 0);const k=M(a),K=M(!1);G(()=>{if(k.current){let V=null;a==="first"&&(V=n.getFirstKey?.()??null),a==="last"&&(V=n.getLastKey?.()??null);let A=t.selectedKeys;if(A.size){for(let O of A)if(t.canSelectItem(O)){V=O;break}}t.setFocused(!0),t.setFocusedKey(V),V==null&&!u&&r.current&&fn(r.current),t.collection.size>0&&(k.current=!1,K.current=!0)}});let U=M(t.focusedKey),B=M(null);G(()=>
7{if(t.isFocused&&t.focusedKey!=null&&(t.focusedKey!==U.current||K.current)&&h.current&&r.current){let V=un(),A=yn(r,t.focusedKey);if(!(A instanceof HTMLElement))return;(V==="keyboard"||K.current)&&(B.current&&cancelAnimationFrame(B.current),B.current=requestAnimationFrame(()=>{h.current&&(ga(h.current,A),V!=="virtual"&&ba(A,{containingElement:r.current}))}))}!u&&t.isFocused&&t.focusedKey==null&&U.current!=null&&r.current&&fn(r.current),U.current=t.focusedKey,K.current=!1}),G(()=>()=>{B.current&&cancelAnimationFrame(B.current)},[]),mt(r,"react-aria-focus-scope-restore",V=>{V.preventDefault(),t.setFocused(!0)});let N={onKeyDown:$,onFocus:x,onBlur:E,onMouseDown(V){h.current===ee(V)&&V.preventDefault()}},{typeSelectProps:_}=Bv({keyboardDelegate:n,selectionManager:t});d||(N=he(_,N));let P;u||(P=t.focusedKey==null?0:-1);let R=Pv(t.collection);return{collectionProps:he(N,{tabIndex:P,"data-collection":R})}}function Ca(e,t){return typeof t.getChildren=="function"?t.getChildren(e.key):e.childNodes}function kv(e){return Nv(e)}function Nv(e,t){for(let n of e)return n}function Ri(e,t,n){if(t.parentKey===n.parentKey)return t.index-n.index;let r=[...Tu(e,t),t],a=[...Tu(e,n),n],o=r.slice(0,a.length).findIndex((i,s)=>i!==a[s]);return o!==-1?(t=r[o],n=a[o],t.index-n.index):r.findIndex(i=>i===n)>=0?1:(a.findIndex(i=>i===t)>=0,-1)}function Tu(e,t){let n=[],r=t;for(;r?.parentKey!=null;)r=e.getItem(r.parentKey),r&&n.unshift(r);return n}const Du=new WeakMap;function Li(e){let t=Du.get(e);if(t!=null)return t;let n=0,r=a=>{for(let o of a)o.type==="section"?r(Ca(o,e)):o.type==="item"&&n++};return r(e),Du.set(e,n),n}function Rv(e){return e&&e.__esModule?e.default:e}function Lv(e,t){let{buttonRef:n,popoverRef:r,inputRef:a,listBoxRef:o,keyboardDelegate:i,layoutDelegate:s,shouldFocusWrap:l,isReadOnly:c,isDisabled:d}=e,u=M(null);n=n??u;let m=ht(Rv(au),"@react-aria/combobox"),{menuTriggerProps:h,menuProps:b}=Ni({type:"listbox",isDisabled:d||c},t,n);$a.set(t,{id:b.id});let{collection:g}=t,{disabledKeys:v}=t.selectionManager,y=H(()=>i||new su({collection:g,disabledKeys:v,ref:o,layoutDelegate:s}),[i,s,g,v,o]),{collectionProps:$}=Pu({selectionManager:t.selectionManager,keyboardDelegate:y,disallowTypeAhead:!0,disallowEmptySelection:!0,shouldFocusWrap:l,ref:a,isVirtualized:!0}),C=ar(),x=J=>{if(!J.nativeEvent.isComposing)switch(J.key){case"Enter":case"Tab":if(t.isOpen&&J.key==="Enter"&&J.preventDefault(),t.isOpen&&o.current&&t.selectionManager.focusedKey!=null){let fe=t.collection.getItem(t.selectionManager.focusedKey);if(fe?.props.href){let de=o.current.querySelector(`[data-key="${CSS.escape(t.selectionManager.focusedKey.toString())}"]`);J.key==="Enter"&&de instanceof HTMLAnchorElement&&C.open(de,J,fe.props.href,fe.props.routerOptions),t.close();break}else if(fe?.props.onAction){fe.props.onAction(),t.close();break}}(J.key==="Enter"||t.isOpen)&&t.commit(),J.key==="Tab"&&J.continuePropagation();break;case"Escape":(!t.selectionManager.isEmpty||t.inputValue===""||e.allowsCustomValue)&&J.continuePropagation(),t.revert();break;case"ArrowDown":t.open("first","manual");break;case"ArrowUp":t.open("last","manual");break;case"ArrowLeft":case"ArrowRight":t.selectionManager.setFocusedKey(null);break}},E=J=>{let fe=n?.current&&n.current===J.relatedTarget,de=ue(r.current,J.relatedTarget);fe||de||(e.onBlur&&e.onBlur(J),t.setFocused(!1))},T=J=>{t.isFocused||(e.onFocus&&e.onFocus(J),t.setFocused(!0))},I=Mv([t.selectionManager.selectedKeys,t.selectionManager.selectionMode]),{isInvalid:k,validationErrors:K,validationDetails:U}=t.displayValidation,{labelProps:B,inputProps:N,descriptionProps:_,errorMessageProps:P}=Sv({...e,isRequired:e.selectionMode==="multiple"?e.isRequired&&t.selectionManager.isEmpty:e.isRequired,onChange:t.setInputValue,onKeyDown:c?e.onKeyDown:mn(t.isOpen&&$.onKeyDown,x,e.onKeyDown),onBlur:E,value:t.inputValue,defaultValue:t.defaultInputValue,onFocus:T,autoComplete:"off",validate:void 0,[Vn]:t,"aria-describedby":[I,e["aria-describedby"]].filter(Boolean).join(" ")||void 0},a);xi(a,t.defaultValue,t.setValue);let R=J=>{J.pointerType==="touch"&&(a.current?.focus(),t.toggle(null,"manual"))},V=J=>{J.pointerType!=="touch"&&(a.current?.focus(),t.toggle(J.pointerType==="keyboard"||J.pointerType==="virtual"?"first":null,"manual"))},A=hn({id:h.id,"aria-label":m.format("buttonLabel"),"aria-labelledby":e["aria-labelledby"]||B.id}),O=hn({id:b.id,"aria-label":m.format("listboxLabel"),"aria-labelledby":e["aria-labelledby"]||B.id}),L=M(0),D=J=>{if(d||c)return;if(J.timeStamp-L.current<500){J.preventDefault(),a.current?.focus();return}let fe=ee(J).getBoundingClientRect(),de=J.changedTouches[0],Ce=Math.ceil(fe.left+.5*fe.width),Ge=Math.ceil(fe.to
7p+.5*fe.height);de.clientX===Ce&&de.clientY===Ge&&(J.preventDefault(),a.current?.focus(),t.toggle(null,"manual"),L.current=J.timeStamp)},q=t.selectionManager.focusedKey!=null&&t.isOpen?t.collection.getItem(t.selectionManager.focusedKey):void 0,te=q?.parentKey??null,Z=t.selectionManager.focusedKey??null,W=M(te),ne=M(Z);G(()=>{if(Jr()&&q!=null&&Z!=null&&Z!==ne.current){let J=t.selectionManager.isSelected(Z),fe=te!=null?t.collection.getItem(te):null,de=fe?.["aria-label"]||(typeof fe?.rendered=="string"?fe.rendered:"")||"",Ce=m.format("focusAnnouncement",{isGroupChange:(fe&&te!==W.current)??!1,groupTitle:de,groupCount:fe?[...Ca(fe,t.collection)].length:0,optionText:q["aria-label"]||q.textValue||"",isSelected:J});Mn(Ce)}W.current=te,ne.current=Z});let oe=Li(t.collection),z=M(oe),X=M(t.isOpen);G(()=>{let J=t.isOpen!==X.current&&(t.selectionManager.focusedKey==null||Jr());if(t.isOpen&&(J||oe!==z.current)){let fe=m.format("countAnnouncement",{optionCount:oe});Mn(fe)}z.current=oe,X.current=t.isOpen});let se=M(t.selectedKey);return G(()=>{if(Jr()&&t.isFocused&&t.selectedItem&&t.selectedKey!==se.current){let J=t.selectedItem["aria-label"]||t.selectedItem.textValue||"",fe=m.format("selectedAnnouncement",{optionText:J});Mn(fe)}se.current=t.selectedKey}),G(()=>{if(t.isOpen)return Wd([a.current,r.current].filter(J=>J!=null))},[t.isOpen,a,r]),wi(()=>{!q&&a.current&&Se(ge(a.current))===a.current&&Ao(a.current,null)},[q]),mt(o,"react-aria-item-action",t.isOpen?()=>{t.close()}:void 0),{labelProps:B,buttonProps:{...h,...A,excludeFromTabOrder:!0,preventFocusOnPress:!0,onPress:R,onPressStart:V,isDisabled:d||c},inputProps:he(N,{role:"combobox","aria-expanded":h["aria-expanded"],"aria-controls":t.isOpen?b.id:void 0,"aria-autocomplete":"list","aria-activedescendant":q?Gd(t,q.key):void 0,onTouchEnd:D,autoCorrect:"off",spellCheck:"false"}),listBoxProps:he(b,O,{onAction:void 0,autoFocus:t.focusStrategy||!0,shouldUseVirtualFocus:!0,shouldSelectOnPressUp:!0,shouldFocusOnHover:!0,linkBehavior:"selection",UNSTABLE_itemBehavior:"action"}),valueProps:{id:I},descriptionProps:_,errorMessageProps:P,isInvalid:k,validationErrors:K,validationDetails:U}}function Mv(e=[]){let t=Me(),[n,r]=j(!0),[a,o]=j(e);return a.some((i,s)=>!Object.is(i,e[s]))&&(r(!0),o(e)),G(()=>{n&&!document.getElementById(t)&&r(!1)},[t,n,a]),n?t:void 0}var Eu={};Eu={calendar:"Kalender",day:"dag",dayPeriod:"AM/PM",endDate:"Slutdato",era:"\xE6ra",hour:"time",minute:"minut",month:"m\xE5ned",second:"sekund",selectedDateDescription:e=>`Valgt dato: ${e.date}`,selectedRangeDescription:e=>`Valgt interval: ${e.startDate} til ${e.endDate}`,selectedTimeDescription:e=>`Valgt tidspunkt: ${e.time}`,startDate:"Startdato",timeZoneName:"tidszone",weekday:"ugedag",year:"\xE5r"};var Fu={};Fu={calendar:"Kalender",day:"Tag",dayPeriod:"Tagesh\xE4lfte",endDate:"Enddatum",era:"Epoche",hour:"Stunde",minute:"Minute",month:"Monat",second:"Sekunde",selectedDateDescription:e=>`Ausgew\xE4hltes Datum: ${e.date}`,selectedRangeDescription:e=>`Ausgew\xE4hlter Bereich: ${e.startDate} bis ${e.endDate}`,selectedTimeDescription:e=>`Ausgew\xE4hlte Zeit: ${e.time}`,startDate:"Startdatum",timeZoneName:"Zeitzone",weekday:"Wochentag",year:"Jahr"};var Bu={};Bu={era:"era",year:"year",month:"month",day:"day",hour:"hour",minute:"minute",second:"second",dayPeriod:"AM/PM",calendar:"Calendar",startDate:"Start Date",endDate:"End Date",weekday:"day of the week",timeZoneName:"time zone",selectedDateDescription:e=>`Selected Date: ${e.date}`,selectedRangeDescription:e=>`Selected Range: ${e.startDate} to ${e.endDate}`,selectedTimeDescription:e=>`Selected Time: ${e.time}`};var Iu={};Iu={calendar:"Calendario",day:"d\xEDa",dayPeriod:"a.\xA0m./p.\xA0m.",endDate:"Fecha final",era:"era",hour:"hora",minute:"minuto",month:"mes",second:"segundo",selectedDateDescription:e=>`Fecha seleccionada: ${e.date}`,selectedRangeDescription:e=>`Rango seleccionado: ${e.startDate} a ${e.endDate}`,selectedTimeDescription:e=>`Hora seleccionada: ${e.time}`,startDate:"Fecha de inicio",timeZoneName:"zona horaria",weekday:"d\xEDa de la semana",year:"a\xF1o"};var ku={};ku={calendar:"Kalenteri",day:"p\xE4iv\xE4",dayPeriod:"vuorokaudenaika",endDate:"P\xE4\xE4ttymisp\xE4iv\xE4",era:"aikakausi",hour:"tunti",minute:"minuutti",month:"kuukausi",second:"sekunti",selectedDateDescription:e=>`Valittu p\xE4iv\xE4m\xE4\xE4r\xE4: ${e.date}`,selectedRangeDescription:e=>`Valittu aikav\xE4li: ${e.startDate} \u2013 ${e.endDate}`,selectedTimeDescription:e=>
vendor: 4,361 bytes, line 7
7`Valittu aika: ${e.time}`,startDate:"Alkamisp\xE4iv\xE4",timeZoneName:"aikavy\xF6hyke",weekday:"viikonp\xE4iv\xE4",year:"vuosi"};var Nu={};Nu={calendar:"Calendrier",day:"jour",dayPeriod:"cadran",endDate:"Date de fin",era:"\xE8re",hour:"heure",minute:"minute",month:"mois",second:"seconde",selectedDateDescription:e=>`Date s\xE9lectionn\xE9e\xA0: ${e.date}`,selectedRangeDescription:e=>`Plage s\xE9lectionn\xE9e\xA0: ${e.startDate} au ${e.endDate}`,selectedTimeDescription:e=>`Heure choisie\xA0: ${e.time}`,startDate:"Date de d\xE9but",timeZoneName:"fuseau horaire",weekday:"jour de la semaine",year:"ann\xE9e"};var Ru={};Ru={calendar:"Calendario",day:"giorno",dayPeriod:"AM/PM",endDate:"Data finale",era:"era",hour:"ora",minute:"minuto",month:"mese",second:"secondo",selectedDateDescription:e=>`Data selezionata: ${e.date}`,selectedRangeDescription:e=>`Intervallo selezionato: da ${e.startDate} a ${e.endDate}`,selectedTimeDescription:e=>`Ora selezionata: ${e.time}`,startDate:"Data iniziale",timeZoneName:"fuso orario",weekday:"giorno della settimana",year:"anno"};var Lu={};Lu={calendar:"Kalender",day:"dag",dayPeriod:"a.m./p.m.",endDate:"Sluttdato",era:"tidsalder",hour:"time",minute:"minutt",month:"m\xE5ned",second:"sekund",selectedDateDescription:e=>`Valgt dato: ${e.date}`,selectedRangeDescription:e=>`Valgt omr\xE5de: ${e.startDate} til ${e.endDate}`,selectedTimeDescription:e=>`Valgt tid: ${e.time}`,startDate:"Startdato",timeZoneName:"tidssone",weekday:"ukedag",year:"\xE5r"};var Mu={};Mu={calendar:"Kalender",day:"dag",dayPeriod:"a.m./p.m.",endDate:"Einddatum",era:"tijdperk",hour:"uur",minute:"minuut",month:"maand",second:"seconde",selectedDateDescription:e=>`Geselecteerde datum: ${e.date}`,selectedRangeDescription:e=>`Geselecteerd bereik: ${e.startDate} tot ${e.endDate}`,selectedTimeDescription:e=>`Geselecteerde tijd: ${e.time}`,startDate:"Startdatum",timeZoneName:"tijdzone",weekday:"dag van de week",year:"jaar"};var Au={};Au={calendar:"Calend\xE1rio",day:"dia",dayPeriod:"am/pm",endDate:"Data de T\xE9rmino",era:"era",hour:"hora",minute:"minuto",month:"m\xEAs",second:"segundo",selectedDateDescription:e=>`Data selecionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo selecionado: ${e.startDate} a ${e.endDate}`,selectedTimeDescription:e=>`Hora selecionada: ${e.time}`,startDate:"Data de In\xEDcio",timeZoneName:"fuso hor\xE1rio",weekday:"dia da semana",year:"ano"};var Ou={};Ou={calendar:"Kalender",day:"dag",dayPeriod:"fm/em",endDate:"Slutdatum",era:"era",hour:"timme",minute:"minut",month:"m\xE5nad",second:"sekund",selectedDateDescription:e=>`Valt datum: ${e.date}`,selectedRangeDescription:e=>`Valt intervall: ${e.startDate} till ${e.endDate}`,selectedTimeDescription:e=>`Vald tid: ${e.time}`,startDate:"Startdatum",timeZoneName:"tidszon",weekday:"veckodag",year:"\xE5r"};var $r={};$r={"ar-AE":F,"bg-BG":F,"cs-CZ":F,"da-DK":Eu,"de-DE":Fu,"el-GR":F,"en-US":Bu,"es-ES":Iu,"et-EE":F,"fi-FI":ku,"fr-FR":Nu,"he-IL":F,"hr-HR":F,"hu-HU":F,"it-IT":Ru,"ja-JP":F,"ko-KR":F,"lt-LT":F,"lv-LV":F,"nb-NO":Lu,"nl-NL":Mu,"pl-PL":F,"pt-BR":F,"pt-PT":Au,"ro-RO":F,"ru-RU":F,"sk-SK":F,"sl-SI":F,"sr-SP":F,"sv-SE":Ou,"tr-TR":F,"uk-UA":F,"zh-CN":F,"zh-TW":F};function Mi(e,t,n){let{direction:r}=nt(),a=H(()=>la(t),[t]),o=l=>{if(ue(l.currentTarget,ee(l))&&(l.altKey&&(l.key==="ArrowDown"||l.key==="ArrowUp")&&"setOpen"in e&&(l.preventDefault(),l.stopPropagation(),e.setOpen(!0)),!n))switch(l.key){case"ArrowLeft":if(l.preventDefault(),l.stopPropagation(),r==="rtl"){if(t.current){let c=ee(l),d=Vu(t.current,c.getBoundingClientRect().left,-1);d&&d.focus()}}else a.focusPrevious();break;case"ArrowRight":if(l.preventDefault(),l.stopPropagation(),r==="rtl"){if(t.current){let c=ee(l),d=Vu(t.current,c.getBoundingClientRect().left,1);d&&d.focus()}}else a.focusNext();break}},i=()=>{if(!t.current)return;let l=window.event?ee(window.event):null,c=je(t.current,{tabbable:!0});if(l&&(c.currentNode=l,l=c.previousNode()),!l){let d;do d=c.lastChild(),d&&(l=d);while(d)}for(;l?.hasAttribute("data-placeholder");){let d=c.previousNode();if(d&&d.hasAttribute("data-placeholder"))l=d;else break}l&&l.focus()},{pressProps:s}=Ln({preventFocusOnPress:!0,allowTextSelectionOnPress:!0,onPressStart(l){l.pointerType==="mouse"&&i()},onPress(l){(l.pointerType==="touch"||l.pointerType==="pen")&&i()}});return he(s,{onKeyDown:o})}function Vu(e,t,n){let r=je(e,{tabbable:!0}
7),a=r.nextNode(),o=null,i=1/0;for(;a;){let l=a.getBoundingClientRect().left-t,c=Math.abs(l);Math.sign(l)===n&&c<i&&(o=a,i=c),a=r.nextNode()}return o}function Av(e){return e&&e.__esModule?e.default:e}const Ku=new WeakMap,Cr="__reactAriaDateFieldRole",_u="__reactAriaDateFieldFocusManager";function Ov(e,t,n){let{isInvalid:r,validationErrors:a,validationDetails:o}=t.displayValidation,{labelProps:i,fieldProps:s,descriptionProps:l,errorMessageProps:c}=ya({...e,labelElementType:"span",isInvalid:r,errorMessage:e.errorMessage||a}),d=M(null),{focusWithinProps:u}=Sn({...e,onFocusWithin(K){d.current=t.value,e.onFocus?.(K)},onBlurWithin:K=>{t.confirmPlaceholder(),t.value!==d.current&&t.commitValidation(),e.onBlur?.(K)},onFocusWithinChange:e.onFocusChange}),m=ht(Av($r),"@react-aria/datepicker"),h=t.maxGranularity==="hour"?"selectedTimeDescription":"selectedDateDescription",b=t.maxGranularity==="hour"?"time":"date",g=t.value?m.format(h,{[b]:t.formatValue({month:"long"})}):"",v=Sr(g),y=e[Cr]==="presentation"?s["aria-describedby"]:[v["aria-describedby"],s["aria-describedby"]].filter(Boolean).join(" ")||void 0,$=e[_u],C=H(()=>$||la(n),[$,n]),x=Mi(t,n,e[Cr]==="presentation");Ku.set(t,{ariaLabel:e["aria-label"],ariaLabelledBy:[i.id,e["aria-labelledby"]].filter(Boolean).join(" ")||void 0,ariaDescribedBy:y,focusManager:C});let E=M(e.autoFocus),T;e[Cr]==="presentation"?T={role:"presentation"}:T=he(s,{role:"group","aria-disabled":e.isDisabled||void 0,"aria-describedby":y}),G(()=>{E.current&&C.focusFirst(),E.current=!1},[C]),xi(e.inputRef,t.defaultValue,t.setValue),Sd({...e,focus(){C.focusFirst()}},t,e.inputRef);let I={type:"hidden",name:e.name,form:e.form,value:t.value?.toString()||"",disabled:e.isDisabled};e.validationBehavior==="native"&&(I.type="text",I.hidden=!0,I.required=e.isRequired,I.onChange=()=>{});let k=ot(e);return{labelProps:{...i,onClick:()=>{C.focusFirst()}},fieldProps:he(k,T,x,u,{onKeyDown(K){e.onKeyDown&&e.onKeyDown(K)},onKeyUp(K){e.onKeyUp&&e.onKeyUp(K)},style:{unicodeBidi:"isolate"}}),inputProps:I,descriptionProps:l,errorMessageProps:c,isInvalid:r,validationErrors:a,validationDetails:o}}function Vv(e){return e&&e.__esModule?e.default:e}function Kv(e,t,n){let r=Me(),a=Me(),o=Me(),i=ht(Vv($r),"@react-aria/datepicker"),{isInvalid:s,validationErrors:l,validationDetails:c}=t.displayValidation,{labelProps:d,fieldProps:u,descriptionProps:m,errorMessageProps:h}=ya({...e,labelElementType:"span",isInvalid:s,errorMessage:e.errorMessage||l}),b=Mi(t,n),g=u["aria-labelledby"]||u.id,{locale:v}=nt(),y=t.formatValue(v,{month:"long"}),$=y?i.format("selectedDateDescription",{date:y}):"",C=Sr($),x=[C["aria-describedby"],u["aria-describedby"]].filter(Boolean).join(" ")||void 0,E=ot(e),T=H(()=>la(n),[n]),I=M(!1),{focusWithinProps:k}=Sn({...e,isDisabled:t.isOpen,onBlurWithin:K=>{let U=document.getElementById(a);ue(U,K.relatedTarget)||(I.current=!1,e.onBlur?.(K),e.onFocusChange?.(!1))},onFocusWithin:K=>{I.current||(I.current=!0,e.onFocus?.(K),e.onFocusChange?.(!0))}});return{groupProps:he(E,b,u,C,k,{role:"group","aria-disabled":e.isDisabled||null,"aria-labelledby":g,"aria-describedby":x,onKeyDown(K){t.isOpen||e.onKeyDown&&e.onKeyDown(K)},onKeyUp(K){t.isOpen||e.onKeyUp&&e.onKeyUp(K)}}),labelProps:{...d,onClick:()=>{T.focusFirst()}},fieldProps:{...u,id:o,[Cr]:"presentation","aria-describedby":x,value:t.value,defaultValue:t.defaultValue,onChange:t.setValue,placeholderValue:e.placeholderValue,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,shouldForceLeadingZeros:e.shouldForceLeadingZeros,granularity:e.granularity,isDisabled:e.isDisabled,isReadOnly:e.isReadOnly,isRequired:e.isRequired,validationBehavior:e.validationBehavior,[Vn]:t,autoFocus:e.autoFocus,name:e.name,form:e.form},descriptionProps:m,errorMessageProps:h,buttonProps:{...C,id:r,"aria-haspopup":"dialog","aria-label":i.format("calendar"),"aria-labelledby":`${r} ${g}`,"aria-describedby":x,"aria-expanded":t.isOpen,isDisabled:e.isDisabled||e.isReadOnly,onPress:()=>t.setOpen(!0)},dialogProps:{id:a,"aria-labelledby":`${r} ${g}`},calendarProps:{autoFocus:!0,value:t.dateValue,onChange:t.setDateValue,minValue:e.minValue,maxValue:e.maxValue,isDisabled:e.isDisabled,isReadOnly:e.isReadOnly,isDateUnavailable:e.isDateUnavailable,defaultFocusedValue:t.dateValue?void 0:e.placeholderValue,isInvalid:t.isInvalid,errorMessage:typeof e.errorMessage=="function"?e.errorMessage(t.displayValidation):e.errorMessage||t.dis
7playValidation.validationErrors.join(" "),firstDayOfWeek:e.firstDayOfWeek,pageBehavior:e.pageBehavior},isInvalid:s,validationErrors:l,validationDetails:c}}function _v(e){return e&&e.__esModule?e.default:e}function Hv(e,t,n){let r=ht(_v($r),"@react-aria/datepicker"),{isInvalid:a,validationErrors:o,validationDetails:i}=t.displayValidation,{labelProps:s,fieldProps:l,descriptionProps:c,errorMessageProps:d}=ya({...e,labelElementType:"span",isInvalid:a,errorMessage:e.errorMessage||o}),u=l["aria-labelledby"]||l.id,{locale:m}=nt(),h=t.formatValue(m,{month:"long"}),b=h?r.format("selectedRangeDescription",{startDate:h.start,endDate:h.end}):"",g=Sr(b),v={"aria-label":r.format("startDate"),"aria-labelledby":u},y={"aria-label":r.format("endDate"),"aria-labelledby":u},$=Me(),C=Me(),x=Mi(t,n),E=[g["aria-describedby"],l["aria-describedby"]].filter(Boolean).join(" ")||void 0,T=H(()=>la(n,{accept:_=>_.id!==$}),[n,$]),I={[_u]:T,[Cr]:"presentation","aria-describedby":E,placeholderValue:e.placeholderValue,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,granularity:e.granularity,shouldForceLeadingZeros:e.shouldForceLeadingZeros,isDisabled:e.isDisabled,isReadOnly:e.isReadOnly,isRequired:e.isRequired,validationBehavior:e.validationBehavior},k=ot(e),K=M(!1),{focusWithinProps:U}=Sn({...e,isDisabled:t.isOpen,onBlurWithin:_=>{let P=document.getElementById(C);ue(P,_.relatedTarget)||(K.current=!1,e.onBlur?.(_),e.onFocusChange?.(!1))},onFocusWithin:_=>{K.current||(K.current=!0,e.onFocus?.(_),e.onFocusChange?.(!0))}}),B=M(vn),N=M(vn);return{groupProps:he(k,x,l,g,U,{role:"group","aria-disabled":e.isDisabled||null,"aria-describedby":E,onKeyDown(_){t.isOpen||e.onKeyDown&&e.onKeyDown(_)},onKeyUp(_){t.isOpen||e.onKeyUp&&e.onKeyUp(_)}}),labelProps:{...s,onClick:()=>{T.focusFirst()}},buttonProps:{...g,id:$,"aria-haspopup":"dialog","aria-label":r.format("calendar"),"aria-labelledby":`${$} ${u}`,"aria-describedby":E,"aria-expanded":t.isOpen,isDisabled:e.isDisabled||e.isReadOnly,onPress:()=>t.setOpen(!0)},dialogProps:{id:C,"aria-labelledby":`${$} ${u}`},startFieldProps:{...v,...I,value:t.value?.start??null,defaultValue:t.defaultValue?.start,onChange:_=>t.setDateTime("start",_),autoFocus:e.autoFocus,name:e.startName,form:e.form,[Vn]:{realtimeValidation:t.realtimeValidation,displayValidation:t.displayValidation,updateValidation(_){B.current=_,t.updateValidation(Sa(_,N.current))},resetValidation:t.resetValidation,commitValidation:t.commitValidation}},endFieldProps:{...y,...I,value:t.value?.end??null,defaultValue:t.defaultValue?.end,onChange:_=>t.setDateTime("end",_),name:e.endName,form:e.form,[Vn]:{realtimeValidation:t.realtimeValidation,displayValidation:t.displayValidation,updateValidation(_){N.current=_,t.updateValidation(Sa(B.current,_))},resetValidation:t.resetValidation,commitValidation:t.commitValidation}},descriptionProps:c,errorMessageProps:d,calendarProps:{autoFocus:!0,value:t.dateRange?.start&&t.dateRange.end?t.dateRange:null,onChange:t.setDateRange,minValue:e.minValue,maxValue:e.maxValue,isDisabled:e.isDisabled,isReadOnly:e.isReadOnly,isDateUnavailable:e.isDateUnavailable,allowsNonContiguousRanges:e.allowsNonContiguousRanges,defaultFocusedValue:t.dateRange?void 0:e.placeholderValue,isInvalid:t.isInvalid,errorMessage:typeof e.errorMessage=="function"?e.errorMessage(t.displayValidation):e.errorMessage||t.displayValidation.validationErrors.join(" "),firstDayOfWeek:e.firstDayOfWeek,pageBehavior:e.pageBehavior},isInvalid:a,validationErrors:o,validationDetails:i}}function zv(e){return e&&e.__esModule?e.default:e}function Uv(){let{locale:e}=nt(),t=Sc(zv($r),"@react-aria/datepicker");return H(()=>{try{return new Intl.DisplayNames(e,{type:"dateTimeField"})}catch{return new Wv(e,t)}},[e,t])}class Wv{constructor(t,n){this.locale=t,this.dictionary=n}of(t){return this.dictionary.getStringForLocale(t,this.locale)}}let Ai=new Map;function Hu(e){let{locale:t}=nt(),n=t+(e?Object.entries(e).sort((a,o)=>a[0]<o[0]?-1:1).join():"");if(Ai.has(n))return Ai.get(n);let r=new Intl.Collator(t,e);return Ai.set(n,r),r}function zu(e){let t=Hu({usage:"search",...e}),n=Q((o,i)=>i.length===0?!0:(o=o.normalize("NFC"),i=i.normalize("NFC"),t.compare(o.slice(0,i.length),i)===0),[t]),r=Q((o,i)=>i.length===0?!0:(o=o.normalize("NFC"),i=i.normalize("NFC"),t.compare(o.slice(-i.length),i)===0),[t]),a=Q((o,i)=>{if(i.length===0)return!0;o=o.normalize("NFC"),i=i.normalize("NFC");let s=0,l=i.length;for(;s+l<=o.length;s++){let c=o.slice(s,s+l);if(t.compare(i,c)===0)return!0}return!1},[t]);return H(()=>({startsWith:n,endsWith:r,contains:a}),[n,r,a])}function Gv(e,t,n){let r=M(""),{locale:a,direction:o}
7=nt(),i=Uv(),{ariaLabel:s,ariaLabelledBy:l,ariaDescribedBy:c,focusManager:d}=Ku.get(t),u=e.isPlaceholder?"":e.text,m=H(()=>t.dateFormatter.resolvedOptions(),[t.dateFormatter]),h=$t({month:"long",timeZone:m.timeZone}),b=$t({hour:"numeric",hour12:m.hour12,timeZone:m.timeZone});if(e.type==="month"&&!e.isPlaceholder){let D=h.format(t.dateValue);u=D!==u?`${u} \u2013 ${D}`:D}else e.type==="hour"&&!e.isPlaceholder&&(u=b.format(t.dateValue));let{spinButtonProps:g}=wv({value:e.value??void 0,textValue:u,minValue:e.minValue,maxValue:e.maxValue,isDisabled:t.isDisabled,isReadOnly:t.isReadOnly||!e.isEditable,isRequired:t.isRequired,onIncrement:()=>{r.current="",t.increment(e.type)},onDecrement:()=>{r.current="",t.decrement(e.type)},onIncrementPage:()=>{r.current="",t.incrementPage(e.type)},onDecrementPage:()=>{r.current="",t.decrementPage(e.type)},onIncrementToMax:()=>{r.current="",t.incrementToMax(e.type)},onDecrementToMin:()=>{r.current="",t.decrementToMin(e.type)}}),v=H(()=>new xd(a,{maximumFractionDigits:0}),[a]),y=()=>{if(e.text===e.placeholder&&d.focusPrevious(),v.isValidPartialNumber(e.text)&&!t.isReadOnly&&!e.isPlaceholder){let D=e.text.slice(0,-1),q=v.parse(D);D=q===0?"":D,D.length===0||q===0?t.clearSegment(e.type):t.setSegment(e.type,q),r.current=D}else(e.type==="dayPeriod"||e.type==="era")&&t.clearSegment(e.type)},$=D=>{if(D.key==="a"&&(Wt()?D.metaKey:D.ctrlKey)&&D.preventDefault(),!(D.ctrlKey||D.metaKey||D.shiftKey||D.altKey))switch(D.key){case"Backspace":case"Delete":D.preventDefault(),D.stopPropagation(),y();break}},{startsWith:C}=zu({sensitivity:"base"}),x=$t({hour:"numeric",hour12:!0}),E=H(()=>{let D=new Date;return D.setHours(0),x.formatToParts(D).find(q=>q.type==="dayPeriod").value},[x]),T=H(()=>{let D=new Date;return D.setHours(12),x.formatToParts(D).find(q=>q.type==="dayPeriod").value},[x]),I=$t({year:"numeric",era:"narrow",timeZone:"UTC"}),k=H(()=>{if(e.type!=="era")return[];let D=Fe(new st(1,1,1),t.calendar),q=t.calendar.getEras().map(Z=>{let W=D.set({year:1,month:1,day:1,era:Z}).toDate("UTC"),oe=I.formatToParts(W).find(z=>z.type==="era").value;return{era:Z,formatted:oe}}),te=jv(q.map(Z=>Z.formatted));if(te)for(let Z of q)Z.formatted=Z.formatted.slice(te);return q},[I,t.calendar,e.type]),K=D=>{if(t.isDisabled||t.isReadOnly)return;let q=r.current+D;switch(e.type){case"dayPeriod":if(C(E,D))t.setSegment("dayPeriod",0);else if(C(T,D))t.setSegment("dayPeriod",1);else break;d.focusNext();break;case"era":{let te=k.find(Z=>C(Z.formatted,D));te&&(t.setSegment("era",te.era),d.focusNext());break}case"day":case"hour":case"minute":case"second":case"month":case"year":{if(!v.isValidPartialNumber(q))return;let te=v.parse(q),Z=te;if(e.maxValue!==void 0&&te>e.maxValue&&(Z=v.parse(D)),isNaN(te))return;t.setSegment(e.type,Z),e.maxValue!==void 0&&(+(te+"0")>e.maxValue||q.length>=String(e.maxValue).length)?(r.current="",d.focusNext()):r.current=q;break}}},U=()=>{r.current="",n.current&&ba(n.current,{containingElement:pa(n.current)}),window.getSelection()?.collapse(n.current)},B=M(typeof document<"u"?document:null);mt(B,"selectionchange",()=>{let D=window.getSelection();D?.anchorNode&&ue(n.current,D?.anchorNode)&&D.collapse(n.current)});let N=M("");mt(n,"beforeinput",D=>{if(n.current)switch(D.preventDefault(),D.inputType){case"deleteContentBackward":case"deleteContentForward":v.isValidPartialNumber(e.text)&&!t.isReadOnly&&y();break;case"insertCompositionText":N.current=n.current.textContent,n.current.textContent=n.current.textContent;break;default:D.data!=null&&K(D.data);break}}),mt(n,"input",D=>{let{inputType:q,data:te}=D;q==="insertCompositionText"&&(n.current&&(n.current.textContent=N.current),te!=null&&(C(E,te)||C(T,te))&&K(te))}),Pe(()=>{let D=n.current;return()=>{Se()===D&&(d.focusPrevious()||d.focusNext())}},[n,d]);let _=ln()||e.type==="timeZoneName"?{role:"textbox","aria-valuemax":null,"aria-valuemin":null,"aria-valuetext":null,"aria-valuenow":null}:{},P=H(()=>t.segments.find(D=>D.isEditable),[t.segments]);e!==P&&!t.isInvalid&&(c=void 0);let R=Me(),V=!t.isDisabled&&!t.isReadOnly&&e.isEditable,A=e.type==="literal"?"":i.of(e.type),O=hn({"aria-label":`${A}${s?`, ${s}`:""}${l?", ":""}`,"aria-labelledby":l});if(e.type==="literal")return{segmentProps:{"aria-hidden":!0}};let L={caretColor:"transparent"};if(o==="rtl"){L.unicodeBidi="embed";let D=m[e.type];(D==="numeric"||D==="2-digit")&&(L.direction="ltr")}return{segmentProps:he(g,O,{id:R,..._,"aria-invalid":t.isInvalid?"true":void 0,"aria-describedby":c,"aria-readonly":t.isReadOnly||!e.isEditable?"true":void 0,"data-placeholder":e.isPlaceholder||void 0,contentEditable:V,suppressContentEditableWarning:V,spellCheck:V?"false":void 0,autoCorrect:V?"off":void 0,[parseInt(re.version,10)>=17?"enterKeyHint":"enterkeyhint"]:V?"next":void 0,inputMode:t.isDisabled||e.type==="dayPeriod"||e.type==="era"||!V?void 0:"numeric",tabIndex:t.isDisabled?void 0:0,onKeyDown:$,onFocus:U,style:L,onPointerDown(D){D.stopPropagation()},onMouseDown(D){D.stopPropagation()}})}}function jv(e){e.sort();let t=e[0],n=e[e.length-1];for(let r=0;r<t.length;r++)if(t[r]!==n[r])return r;return 0}function Zv({children:e}){let t=H(()=>({register:()=>{}}),[]);return re.createElement(zo.Provider,{value:t},e)}const qv=me({});function Yv(){return ve(qv)??{}}const Uu=re.createContext(null);
7function Wu(e){let t=Io(),{portalContainer:n=t?null:document.body,isExiting:r}=e,[a,o]=j(!1),i=H(()=>({contain:a,setContain:o}),[a,o]),{getContainer:s}=Yv();if(!e.portalContainer&&s&&(n=s()),!n)return null;let l=e.children;return e.disableFocusManagement||(l=re.createElement(db,{restoreFocus:!0,contain:(e.shouldContainFocus||a)&&!r},l)),l=re.createElement(Uu.Provider,{value:i},re.createElement(Zv,null,l)),il.createPortal(l,n)}function Xv(){let t=ve(Uu)?.setContain;Pe(()=>{t?.(!0)},[t])}function Jv(e,t){let{role:n="dialog"}=e,r=Lt();r=e["aria-label"]?void 0:r;let a=M(!1);return G(()=>{if(t.current&&!rr(t.current)){fn(t.current);let o=setTimeout(()=>{(Se()===t.current||Se()===document.body)&&(a.current=!0,t.current&&(t.current.blur(),fn(t.current)),a.current=!1)},500);return()=>{clearTimeout(o)}}},[t]),Xv(),M(!1),G(()=>{}),{dialogProps:{...ot(e,{labelable:!0}),role:n,tabIndex:-1,"aria-labelledby":e["aria-labelledby"]||r,onBlur:o=>{a.current&&o.stopPropagation()}},titleProps:{id:r}}}function Qv(e={}){let{autoFocus:t=!1,isTextInput:n,within:r}=e,a=M({isFocused:!1,isFocusVisible:t||Gt()}),[o,i]=j(!1),[s,l]=j(()=>a.current.isFocused&&a.current.isFocusVisible),c=Q(()=>l(a.current.isFocused&&a.current.isFocusVisible),[]),d=Q(h=>{a.current.isFocused=h,a.current.isFocusVisible=Gt(),i(h),c()},[c]);Fg(h=>{a.current.isFocusVisible=h,c()},[n,o],{enabled:o,isTextInput:n});let{focusProps:u}=oc({isDisabled:r,onFocusChange:d}),{focusWithinProps:m}=Sn({isDisabled:!r,onFocusWithinChange:d});return{isFocused:o,isFocusVisible:s,focusProps:r?m:u}}let Oi=!1,xa=0;function eS(){Oi=!0,setTimeout(()=>{Oi=!1},500)}function Gu(e){e.pointerType==="touch"&&eS()}function tS(){let e=ge(null);if(!(typeof e>"u"))return xa===0&&typeof PointerEvent<"u"&&e.addEventListener("pointerup",Gu),xa++,()=>{xa--,!(xa>0)&&typeof PointerEvent<"u"&&e.removeEventListener("pointerup",Gu)}}function Pa(e){let{onHoverStart:t,onHoverChange:n,onHoverEnd:r,isDisabled:a}=e,[o,i]=j(!1),s=M({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;G(tS,[]);let{addGlobalListener:l,removeAllGlobalListeners:c}=lr(),{hoverProps:d,triggerHoverEnd:u}=H(()=>{let m=(g,v)=>{if(s.pointerType=v,a||v==="touch"||s.isHovered||!ue(g.currentTarget,ee(g)))return;s.isHovered=!0;let y=g.currentTarget;s.target=y,l(ge(ee(g)),"pointerover",$=>{s.isHovered&&s.target&&!ue(s.target,ee($))&&h($,$.pointerType)},{capture:!0}),t&&t({type:"hoverstart",target:y,pointerType:v}),n&&n(!0),i(!0)},h=(g,v)=>{let y=s.target;s.pointerType="",s.target=null,!(v==="touch"||!s.isHovered||!y)&&(s.isHovered=!1,c(),r&&r({type:"hoverend",target:y,pointerType:v}),n&&n(!1),i(!1))},b={};return typeof PointerEvent<"u"&&(b.onPointerEnter=g=>{Oi&&g.pointerType==="mouse"||m(g,g.pointerType)},b.onPointerLeave=g=>{!a&&ue(g.currentTarget,ee(g))&&h(g,g.pointerType)}),{hoverProps:b,triggerHoverEnd:h}},[t,n,r,a,s,l,c]);return G(()=>{a&&u({currentTarget:s.target},s.pointerType)},[a]),{hoverProps:d,isHovered:o}}function nS(e){let{ref:t,onInteractOutside:n,isDisabled:r,onInteractOutsideStart:a}=e,o=M({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),i=Ae(l=>{n&&ju(l,t)&&(a&&a(l),o.current.isPointerDown=!0)}),s=Ae(l=>{n&&n(l)});G(()=>{let l=o.current;if(r)return;const c=t.current,d=ge(c);if(typeof PointerEvent<"u"){let u=m=>{l.isPointerDown&&ju(m,t)&&s(m),l.isPointerDown=!1};return d.addEventListener("pointerdown",i,!0),d.addEventListener("click",u,!0),()=>{d.removeEventListener("pointerdown",i,!0),d.removeEventListener("click",u,!0)}}},[t,r])}function ju(e,t){if(e.button>0)return!1;let n=ee(e);if(n){const r=n.ownerDocument;if(!r||!ue(r.documentElement,n)||n.closest("[data-react-aria-top-layer]"))return!1}return t.current?!e.composedPath().includes(t.current):!1}function Zu(e){let{selectionManager:t,collection:n,disabledKeys:r,ref:a,keyboardDelegate:o,layoutDelegate:i,orientation:s}=e,l=Hu({usage:"search",sensitivity:"base"}),c=t.disabledBehavior,d=H(()=>o||new su({collection:n,disabledKeys:r,disabledBehavior:c,ref:a,collator:l,layoutDelegate:i,orientation:s}),[o,i,n,r,a,l,c,s]),{collectionProps:u}=Pu({...e,ref:a,selectionManager:t,keyboardDelegate:d});return{listProps:u}}function qu(e){let{id:t,selectionManager:n,key:r,ref:a,shouldSelectOnPressUp:o,shouldUseVirtualFocus:i,focus:s,isDisabled:l,onAction:c,allowsDifferentPressOrigin:d,linkBehavior:u="action"}=e,m=ar();t=Me(t);let h=D=>
7{if(D.pointerType==="keyboard"&&ki(D))n.toggleSelection(r);else{if(n.selectionMode==="none")return;if(n.isLink(r)){if(u==="selection"&&a.current){let q=n.getItemProps(r);m.open(a.current,D,q.href,q.routerOptions),n.setSelectedKeys(n.selectedKeys);return}else if(u==="override"||u==="none")return}n.selectionMode==="single"?n.isSelected(r)&&!n.disallowEmptySelection?n.toggleSelection(r):n.replaceSelection(r):D&&D.shiftKey?n.extendSelection(r):n.selectionBehavior==="toggle"||D&&(Nn(D)||D.pointerType==="touch"||D.pointerType==="virtual")?n.toggleSelection(r):n.replaceSelection(r)}};G(()=>{r===n.focusedKey&&n.isFocused&&(i?cc(a.current):s?s():Se()!==a.current&&a.current&&fn(a.current))},[a,r,n.focusedKey,n.childFocusStrategy,n.isFocused,i]),l=l||n.isDisabled(r);let b={};!i&&!l?b={tabIndex:r===n.focusedKey?0:-1,onFocus(D){ee(D)===a.current&&n.setFocusedKey(r)}}:l&&(b.onMouseDown=D=>{D.preventDefault()}),G(()=>{l&&n.focusedKey===r&&n.setFocusedKey(null)},[n,l,r]);let g=n.isLink(r)&&u==="override",v=c&&e.UNSTABLE_itemBehavior==="action",y=n.isLink(r)&&u!=="selection"&&u!=="none",$=!l&&n.canSelectItem(r)&&!g&&!v,C=(c||y)&&!l,x=C&&(n.selectionBehavior==="replace"?!$:!$||n.isEmpty),E=C&&$&&n.selectionBehavior==="replace",T=x||E,I=M(null),k=T&&$,K=M(!1),U=M(!1),B=n.getItemProps(r),N=D=>{c&&(c(),a.current?.dispatchEvent(new CustomEvent("react-aria-item-action",{bubbles:!0}))),y&&a.current&&m.open(a.current,D,B.href,B.routerOptions)},_={ref:a};if(o?(_.onPressStart=D=>{I.current=D.pointerType,K.current=k,D.pointerType==="keyboard"&&(!T||Xu(D.key))&&h(D)},d?(_.onPressUp=x?void 0:D=>{D.pointerType==="mouse"&&$&&h(D)},_.onPress=x?N:D=>{D.pointerType!=="keyboard"&&D.pointerType!=="mouse"&&$&&h(D)}):_.onPress=D=>{if(x||E&&D.pointerType!=="mouse"){if(D.pointerType==="keyboard"&&!Yu(D.key))return;N(D)}else D.pointerType!=="keyboard"&&$&&h(D)}):(_.onPressStart=D=>{I.current=D.pointerType,K.current=k,U.current=x,$&&(D.pointerType==="mouse"&&!x||D.pointerType==="keyboard"&&(!C||Xu(D.key)))&&h(D)},_.onPress=D=>{(D.pointerType==="touch"||D.pointerType==="pen"||D.pointerType==="virtual"||D.pointerType==="keyboard"&&T&&Yu(D.key)||D.pointerType==="mouse"&&U.current)&&(T?N(D):$&&h(D))}),b["data-collection"]=Tv(n.collection),b["data-key"]=r,_.preventFocusOnPress=i,i&&(_=he(_,{onPressStart(D){D.pointerType!=="touch"&&(n.setFocused(!0),n.setFocusedKey(r))},onPress(D){D.pointerType==="touch"&&(n.setFocused(!0),n.setFocusedKey(r))}})),B)for(let D of["onPressStart","onPressEnd","onPressChange","onPress","onPressUp","onClick"])B[D]&&(_[D]=mn(_[D],B[D]));let{pressProps:P,isPressed:R}=Ln(_),V=E?D=>{I.current==="mouse"&&(D.stopPropagation(),D.preventDefault(),N(D))}:void 0,{longPressProps:A}=yu({isDisabled:!k,onLongPress(D){D.pointerType==="touch"&&(h(D),n.setSelectionBehavior("toggle"))}}),O=D=>{I.current==="touch"&&K.current&&D.preventDefault()},L=u!=="none"&&n.isLink(r)?D=>{Rt.isOpening||D.preventDefault()}:void 0;return{itemProps:he(b,$||x||i&&!l?P:{},k?A:{},{onDoubleClick:V,onDragStartCapture:O,onClick:L,id:t},i?{onMouseDown:D=>D.preventDefault()}:void 0),isPressed:R,isSelected:n.isSelected(r),isFocused:n.isFocused&&n.focusedKey===r,isDisabled:l,allowsSelection:$,hasAction:T}}function Yu(e){return e==="Enter"}function Xu(e){return e===" "}function rS(e,t,n){let r=ot(e,{labelable:!0}),a=e.selectionBehavior||"toggle",o=e.orientation||"vertical",i=e.linkBehavior||(a==="replace"?"action":"override");a==="toggle"&&i==="action"&&(i="override");let{listProps:s}=Zu({...e,ref:n,selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,linkBehavior:i}),{focusWithinProps:l}=Sn({onFocusWithin:e.onFocus,onBlurWithin:e.onBlur,onFocusWithinChange:e.onFocusChange}),c=Me(e.id);$a.set(t,{id:c,shouldUseVirtualFocus:e.shouldUseVirtualFocus,shouldSelectOnPressUp:e.shouldSelectOnPressUp,shouldFocusOnHover:e.shouldFocusOnHover,isVirtualized:e.isVirtualized,onAction:e.onAction,linkBehavior:i,UNSTABLE_itemBehavior:e.UNSTABLE_itemBehavior});let{labelProps:d,fieldProps:u}=$d({...e,id:c,labelElementType:"span"});return{labelProps:d,listBoxProps:he(r,l,t.selectionManager.selectionMode==="multiple"?{"aria-multiselectable":"true"}:{},{role:"listbox","aria-orientation":o,...he(u,s)})}}function aS(e){let{heading:t,"aria-label":n}=e,r=Me();return{itemProps:{role:"presentation"},headingProps:t?{id:r,role:"presentation",onMouseDown:a=>{a.preventDefault()}}:{},groupProps:{role:"group","aria-label":n,"aria-labelledby":t?r:void 0}}}function oS(e,t,n){let{key:r}=e,a=$a.get(t),o=e.isDisabled??t.selectionManager.isDisabled(r),i=e.isSelected??t.selectionManager.isSelected(r),s=e.shouldSelectOnPressUp??a?.shouldSelectOnPressUp,l=e.shouldFocusOnHover??a?.shouldFocusOnHover,c=e.shouldUseVirtualFocus??a?.shouldUseVirtualFocus,d=e.isVirtualized??a?.isVirtualized,u=Lt(),m=Lt(),h={role:"option","aria-disabled":o||void 0,"aria-selected":t.selectionManager.selectionMode!=="none"?i:void 0,"aria-label":e["aria-label"],"aria-labelledby":u,"aria-describedby":m},b=t.collection.getItem(r);if(d){let K=Number(b?.index);h["aria-posinset"]=Number.isNaN(K)?void 0:K+1,h["aria-setsize"]=Li(t.collection)}let g=a?.onAction?()=>a?.onAction?.(r):void 0,v=Gd(t,r),{itemProps:y,isPressed:$,isFocused:C,hasAction:x,allowsSelection:E}=qu({selectionManager:t.selectionManager,key:r,ref:n,shouldSelectOnPressUp:s,allowsDifferentPressOrigin:s&&l,isVirtualized:d,shouldUseVirtualFocus:c,isDisabled:o,onAction:g||b?.props?.onAction?mn(b?.props?.onAction,g):void 0,linkBehavior:a?.linkBehavior,UNSTABLE_itemBehavior:a?.UNSTABLE_itemBehavior,id:v}),{hoverProps:T}=Pa({isDisabled:o||!l,onHoverStart(){Gt()||(t.selectionManager.setFocused(!0),t.selectionManager.setFocusedKey(r))}}),I=ot(b?.props);delete I.id;let k=jl(b?.props);return{optionProps:{...h,...he(I,y,T,k),id:v},labelProps:{id:u},descriptionProps:{id:m},isFocused:C,isFocusVisible:C&&t.selectionManager.isFocused&&Gt(),isSelected:i,isDisabled:o,isPressed:$,allowsSelection:E,hasAction:x}}const Ju=new WeakMap;function iS(e,t,n){let{shouldFocusWrap:r=!0,onKeyDown:a,onKeyUp:o,...i}=e;!e["aria-label"]&&e["aria-labelledby"];let s=ot(e,{labelable:!0}),{listProps:l}=Zu({...i,ref:n,selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,shouldFocusWrap:r,linkBehavior:"override"});return Ju.set(t,{onClose:e.onClose,onAction:e.onAction,shouldUseVirtualFocus:e.shouldUseVirtualFocus}),{menuProps:he(s,{onKeyDown:a,onKeyUp:o},{role:"menu",...l,onKeyDown:c=>{(c.key!=="Escape"||e.shouldUseVirtualFocus)&&l.onKeyDown?.(c)}})}}function sS(e,t,n){let{id:r,key:a,closeOnSelect:o,shouldCloseOnSelect:i,isVirtualized:s,"aria-haspopup":l,onPressStart:c,onPressUp:d,onPress:u,onPressChange:m,onPressEnd:h,onClick:b,onHoverStart:g,onHoverChange:v,onHoverEnd:y,onKeyDown:$,onKeyUp:C,onFocus:x,onFocusChange:E,onBlur:T,selectionManager:I=t.selectionManager}=e,k=!!l,K=k&&e["aria-expanded"]==="true",U=e.isDisabled??I.isDisabled(a),B=e.isSelected??I.isSelected(a),N=Ju.get(t),_=t.collection.getItem(a),P=e.onClose||N.onClose,R=ar(),V=()=>
7{if(!k&&(_?.props?.onAction?_.props.onAction():e.onAction&&e.onAction(a),N.onAction)){let le=N.onAction;le(a,_?.value)}},A="menuitem";k||(I.selectionMode==="single"?A="menuitemradio":I.selectionMode==="multiple"&&(A="menuitemcheckbox"));let O=Lt(),L=Lt(),D=Lt(),q={id:r,"aria-disabled":U||void 0,role:A,"aria-label":e["aria-label"],"aria-labelledby":O,"aria-describedby":[e["aria-describedby"],L,D].filter(Boolean).join(" ")||void 0,"aria-controls":e["aria-controls"],"aria-haspopup":l,"aria-expanded":e["aria-expanded"]};if(I.selectionMode!=="none"&&!k&&(q["aria-checked"]=B),s){let le=Number(_?.index);q["aria-posinset"]=Number.isNaN(le)?void 0:le+1,q["aria-setsize"]=Li(t.collection)}let te=M(!1),Z=le=>{m?.(le),te.current=le},W=M(null),ne=le=>{le.pointerType!=="keyboard"&&(W.current={pointerType:le.pointerType}),le.pointerType==="mouse"&&(te.current||le.target.click()),d?.(le)},oe=le=>{b?.(le),V(),gg(le,R,_.props.href,_?.props.routerOptions);let rt=W.current?.pointerType==="keyboard"?W.current?.key==="Enter"||I.selectionMode==="none"||I.isLink(a):I.selectionMode!=="multiple"||I.isLink(a);rt=i??o??rt,P&&!k&&rt&&P(),W.current=null},{itemProps:z,isFocused:X}=qu({id:r,selectionManager:I,key:a,ref:n,shouldSelectOnPressUp:!0,allowsDifferentPressOrigin:!0,linkBehavior:"none",shouldUseVirtualFocus:N.shouldUseVirtualFocus}),{pressProps:se,isPressed:J}=Ln({onPressStart:c,onPress:u,onPressUp:ne,onPressChange:Z,onPressEnd:h,isDisabled:U}),{hoverProps:fe}=Pa({isDisabled:U,onHoverStart(le){!Gt()&&!(K&&l)&&(I.setFocused(!0),I.setFocusedKey(a)),g?.(le)},onHoverChange:v,onHoverEnd:y}),{keyboardProps:de}=sc({onKeyDown:le=>{if(le.repeat){le.continuePropagation();return}switch(le.key){case" ":W.current={pointerType:"keyboard",key:" "},ee(le).click(),Lo("keyboard");break;case"Enter":W.current={pointerType:"keyboard",key:"Enter"},ee(le).tagName!=="A"&&ee(le).click(),Lo("keyboard");break;default:k||le.continuePropagation(),$?.(le);break}},onKeyUp:C}),{focusableProps:Ce}=ra({onBlur:T,onFocus:x,onFocusChange:E},n),Ge=ot(_?.props);delete Ge.id;let Ke=jl(_?.props);return{menuItemProps:{...q,...he(Ge,Ke,k?{onFocus:z.onFocus,"data-collection":z["data-collection"],"data-key":z["data-key"]}:z,se,fe,de,Ce,N.shouldUseVirtualFocus||k?{onMouseDown:le=>le.preventDefault()}:void 0,U?void 0:{onClick:oe}),tabIndex:z.tabIndex!=null&&K&&!N.shouldUseVirtualFocus?-1:z.tabIndex},labelProps:{id:O},descriptionProps:{id:L},keyboardShortcutProps:{id:D},isFocused:X,isFocusVisible:X&&I.isFocused&&Gt()&&!K,isSelected:B,isPressed:J,isDisabled:U}}function lS(e){let{heading:t,"aria-label":n}=e,r=Me();return{itemProps:{role:"presentation"},headingProps:t?{id:r,role:"presentation"}:{},groupProps:{role:"group","aria-label":n,"aria-labelledby":t?r:void 0}}}function cS(){return typeof window.ResizeObserver<"u"}function Qu(e){const{ref:t,box:n,onResize:r}=e;let a=Ae(r);G(()=>{let o=t?.current;if(o)if(cS()){const i=new window.ResizeObserver(s=>{s.length&&a()});return i.observe(o,{box:n}),()=>{o&&i.unobserve(o)}}else return window.addEventListener("resize",a,!1),()=>{window.removeEventListener("resize",a,!1)}},[t,n])}var ef={};ef={dismiss:"Luk"};var tf={};tf={dismiss:"Schlie\xDFen"};var nf={};nf={dismiss:"Dismiss"};var rf={};rf={dismiss:"Descartar"};var af={};af={dismiss:"Hylk\xE4\xE4"};var of={};of={dismiss:"Rejeter"};var sf={};sf={dismiss:"Ignora"};var lf={};lf={dismiss:"Lukk"};var cf={};cf={dismiss:"Negeren"};var df={};df={dismiss:"Dispensar"};var uf={};uf={dismiss:"Avvisa"};var ff={};ff={"ar-AE":F,"bg-BG":F,"cs-CZ":F,"da-DK":ef,"de-DE":tf,"el-GR":F,"en-US":nf,"es-ES":rf,"et-EE":F,"fi-FI":af,"fr-FR":of,"he-IL":F,"hr-HR":F,"hu-HU":F,"it-IT":sf,"ja-JP":F,"ko-KR":F,"lt-LT":F,"lv-LV":F,"nb-NO":lf,"nl-NL":cf,"pl-PL":F,"pt-BR":F,"pt-PT":df,"ro-RO":F,"ru-RU":F,"sk-SK":F,"sl-SI":F,"sr-SP":F,"sv-SE":uf,"tr-TR":F,"uk-UA":F,"zh-CN":F,"zh-TW":F};function dS(e){return e&&e.__esModule?e.default:e}function Ta(e){let{onDismiss:t,...n}=e,r=ht(dS(ff),"@react-aria/overlays"),a=hn(n,r.format("dismiss")),o=()=>{t&&t()};return re.createElement(vv,null,re.createElement("button",{...a,tabIndex:-1,onClick:o,style:{width:1,height:1}}))}const Ct=[];function uS(e,t){let{onClose:n,shouldCloseOnBlur:r,isOpen:a,isDismissable:o=!1,isKeyboardDismissDisabled:i=!1,shouldCloseOnInteractOutside:s}=e,l=M(void 0);G(()=>{if(a&&!Ct.includes(t))return Ct.push(t),()=>{let b=Ct.indexOf(t);b>=0&&Ct.splice(b,1)}},[a,t]);let c=()=>{Ct[Ct.length-1]===t&&n&&n()},d=b=>{const g=Ct[Ct.length-1];l.current=g,(!s||s(ee(b)))&&g===t&&b.stopPropagation()},u=b=>{(!s||s(ee(b)))&&(Ct[Ct.length-1]===t&&b.stopPropagation(),l.current===t&&c()),l.current=void 0},m=b=>{b.key==="Escape"&&!i&&!b.nativeEvent.isComposing&&(b.stopPropagation(),b.preventDefault(),c())};nS({ref:t,onInteractOutside:o&&a?u:void 0,onInteractOutsideStart:d});let{focusWithinProps:h}=Sn({isDisabled:!r,onBlurWithin:b=>{!b.relatedTarget||pb(b.relatedTarget)||(!s||s(b.relatedTarget))&&n?.()}});return{overlayProps:{onKeyDown:m,...h},underlayProps:{}}}
vendor: 5,799 bytes, lines 7-12
7const xr=typeof document<"u"&&window.visualViewport;let Da=0,Vi;function Ki(e={}){let{isDisabled:t}=e;Pe(()=>{if(!t)return Da++,Da===1&&(ln()?Vi=mS():Vi=fS()),()=>{Da--,Da===0&&Vi()}},[t])}function fS(){let e=window.innerWidth-document.documentElement.clientWidth;return mn(e>0&&("scrollbarGutter"in document.documentElement.style?Ea(document.documentElement,"scrollbarGutter","stable"):Ea(document.documentElement,"paddingRight",`${e}px`)),Ea(document.documentElement,"overflow","hidden"))}function mS(){let e=Ea(document.documentElement,"overflow","hidden"),t,n=!1,r=d=>{let u=ee(d);t=On(u)?u:pa(u,!0),n=!1;let m=u.ownerDocument.defaultView.getSelection();m&&!m.isCollapsed&&m.containsNode(u,!0)&&(n=!0),d.composedPath().some(h=>h instanceof HTMLInputElement&&h.type==="range")&&(n=!0),"selectionStart"in u&&"selectionEnd"in u&&u.selectionStart<u.selectionEnd&&u.ownerDocument.activeElement===u&&(n=!0)},a=document.createElement("style"),o=Cc();o&&(a.nonce=o),a.textContent=` 8@layer { 9 * { 10 overscroll-behavior: contain; 11 } 12}`.trim(),document.head.prepend(a);let i=d=>{if(!(d.touches.length===2||n)){if(!t||t===document.documentElement||t===document.body){d.preventDefault();return}t.scrollHeight===t.clientHeight&&t.scrollWidth===t.clientWidth&&d.preventDefault()}},s=d=>{let u=ee(d),m=d.relatedTarget;m&&Oo(m)?(m.focus({preventScroll:!0}),mf(m,Oo(u))):m||u.parentElement?.closest("[tabindex]")?.focus({preventScroll:!0})},l=HTMLElement.prototype.focus;HTMLElement.prototype.focus=function(d){let u=Se(),m=u!=null&&Oo(u);l.call(this,{...d,preventScroll:!0}),(!d||!d.preventScroll)&&mf(this,m)};let c=mn(_i(document,"touchstart",r,{passive:!1,capture:!0}),_i(document,"touchmove",i,{passive:!1,capture:!0}),_i(document,"blur",s,!0));return()=>{e(),c(),a.remove(),HTMLElement.prototype.focus=l}}function Ea(e,t,n){let r=e.style[t];return e.style[t]=n,()=>{e.style[t]=r}}function _i(e,t,n,r){return e.addEventListener(t,n,r),()=>{e.removeEventListener(t,n,r)}}function mf(e,t){t||!xr?hf(e):xr.addEventListener("resize",()=>hf(e),{once:!0})}function hf(e){let t=document.scrollingElement||document.documentElement,n=e;for(;n&&n!==t;){let r=pa(n);if(r!==document.documentElement&&r!==document.body&&r!==n){let a=r.getBoundingClientRect(),o=n.getBoundingClientRect();if(o.top<a.top||o.bottom>a.top+n.clientHeight){let i=a.bottom;xr&&(i=Math.min(i,xr.offsetTop+xr.height));let s=o.top-a.top-((i-a.top)/2-o.height/2);r.scrollTo({top:Math.max(0,Math.min(r.scrollHeight-r.clientHeight,r.scrollTop+s)),behavior:"smooth"})}}n=r.parentElement}}const dt={top:"top",bottom:"top",left:"left",right:"left"},Fa={top:"bottom",bottom:"top",left:"right",right:"left"},hS={top:"left",left:"top"},Hi={top:"height",left:"width"},pf={width:"totalWidth",height:"totalHeight"},Ba={};let pS=()=>typeof document<"u"?window.visualViewport:null;function gf(e,t){let n=0,r=0,a=0,o=0,i=0,s=0,l={},c=(t?.scale??1)>1;if(e.tagName==="BODY"||e.tagName==="HTML"){let d=document.documentElement;a=d.clientWidth,o=d.clientHeight,n=t?.width??a,r=t?.height??o,l.top=d.scrollTop||e.scrollTop,l.left=d.scrollLeft||e.scrollLeft,t&&(i=t.offsetTop,s=t.offsetLeft)}else({width:n,height:r,top:i,left:s}=Pr(e,!1)),l.top=e.scrollTop,l.left=e.scrollLeft,a=n,o=r;return Ul()&&(e.tagName==="BODY"||e.tagName==="HTML")&&c&&(l.top=0,l.left=0,i=t?.pageTop??0,s=t?.pageLeft??0),{width:n,height:r,totalWidth:a,totalHeight:o,scroll:l,top:i,left:s}}function gS(e){return{top:e.scrollTop,left:e.scrollLeft,width:e.scrollWidth,height:e.scrollHeight}}function bf(e,t,n,r,a,o,i){let s=a.scroll[e]??0,l=r[Hi[e]],c=i[e]+r.scroll[dt[e]]+o,d=i[e]+r.scroll[dt[e]]+l-o,u=t-s+r.scroll[dt[e]]+i[e]-r[dt[e]],m=t-s+n+r.scroll[dt[e]]+i[e]-r[dt[e]];return u<c?c-u:m>d?Math.max(d-m,c-u):0}function bS(e){let t=window.getComputedStyle(e);return{top:parseInt(t.marginTop,10)||0,bottom:parseInt(t.marginBottom,10)||0,left:parseInt(t.marginLeft,10)||0,right:parseInt(t.marginRight,10)||0}}function vf(e){if(Ba[e])return Ba[e];let[t,n]=e.split(" "),r=dt[t]||"right",a=hS[r];dt[n]||(n="center");let o=Hi[r],i=Hi[a];return Ba[e]={placement:t,crossPlacement:n,axis:r,crossAxis:a,size:o,crossSize:i},Ba[e]}function zi(e,t,n,r,a,o,i,s,l,c,d){let{placement:u,crossPlacement:m,axis:h,crossAxis:b,size:g,crossSize:v}=r,y={};y[b]=e[b]??0,m==="center"?y[b]+=((e[v]??0)-(n[v]??0))/2:m!==b&&(y[b]+=(e[v]??0)-(n[v]??0)),y[b]+=o;const $=e[b]-n[v]+l+c,C=e[b]+e[v]-l-c;if(y[b]=Di(y[b],$,C),u===h){let x=s?d[g]:d[pf[g]];y[Fa[h]]=Math.floor(x-e[h]+a)}else y[h]=Math.floor(e[h]+e[g]+a);return y}function vS(e,t,n,r,a,o,i,s,l,c,d){let u=(e.top!=null?e.top:l[pf.height]-(e.bottom??0)-i)-(l.scroll.top??0),m=c?n.top:0,h={top:Math.max(t.top+m,(d?.offsetTop??t.top)+m),bottom:Math.min(t.top+t.height+m,(d?.offsetTop??0)+(d?.height??0))};return s!=="top"?Math.max(0,h.bottom-u-((a.top??0)+(a.bottom??0)+o)):Math.max(0,u+i-h.top-((a.top??0)+(a.bottom??0)+o))}function Sf(e,t,n,r,a,o,i,s){let{placement:l,axis:c,size:d}=o;return l===c?Math.max(0,n[c]-(i.scroll[c]??0)-(e[c]+(s?t[c]:0))-(r[c]??0)-r[Fa[c]]-a):Math.max(0,e[d]+e[c]+(s?t[c]:0)-n[c]-n[d]+(i.scroll[c]??0)-(r[c]??0)-r[Fa[c]]-a)}function SS(e,t,n,r,a,o,i,s,l,c,d,u,m,h,b,g,v,y){let $=vf(e),{size:C,crossAxis:x,crossSize:E,placement:T,crossPlacement:I}=$,k=zi(t,s,n,$,d,u,c,m,b,g,l),K=d,U=Sf(s,c,t,a,o+d,$,l,v);if(i&&n[C]>U){let ne=vf(`${Fa[T]} ${I}`),oe=zi(t,s,n,ne,d,u,c,m,b,g,l);Sf(s,c,t,a,o+d,ne,l,v)>U&&($=ne,k=oe,K=d)}let B="bottom";$.axis==="top"?$.placement==="top"?B="top":$.placement==="bottom"&&(B="bottom"):$.crossAxis==="top"&&($.crossPlacement==="top"?B="bottom":$.crossPlacement==="bottom"&&(B="top"));let N=bf(x,k[x],n[E],s,l,o,c);k[x]+=N;let _=vS(k,s,c,m,a,o,n.height,B,l,v,y);h&&h<_&&(_=h),n.height=Math.min(n.height,_),k=zi(t,s,n,$,K,u,c,m,b,g,l),N=bf(x,k[x],n[E],s,l,o,c),k[x]+=N;let P={},R=t[x]-k[x]-a[dt[x]],V=R+.5*t[E];
12const A=b/2+g,O=dt[x]==="left"?(a.left??0)+(a.right??0):(a.top??0)+(a.bottom??0),L=n[E]-O-b/2-g,D=t[x]+b/2-(k[x]+a[dt[x]]),q=t[x]+t[E]-b/2-(k[x]+a[dt[x]]),te=Di(V,D,q);P[x]=Di(te,A,L),{placement:T,crossPlacement:I}=$,b?R=P[x]:I==="right"?R+=t[E]:I==="center"&&(R+=t[E]/2);let Z=T==="left"||T==="top"?n[C]:0,W={x:T==="top"||T==="bottom"?R:Z,y:T==="left"||T==="right"?R:Z};return{position:k,maxHeight:_,arrowOffsetLeft:P.left,arrowOffsetTop:P.top,placement:T,triggerAnchorPoint:W}}function yS(e){let{placement:t,targetNode:n,overlayNode:r,scrollNode:a,padding:o,shouldFlip:i,boundaryElement:s,offset:l,crossOffset:c,maxHeight:d,arrowSize:u=0,arrowBoundaryOffset:m=0,targetRect:h}=e,b=pS(),g=r instanceof HTMLElement?wS(r):document.documentElement,v=g===document.documentElement;const y=window.getComputedStyle(g).position;let $=!!y&&y!=="static",C=v?Pr(n,!1,h):yf(n,g,!1,h);if(!v){let{marginTop:B,marginLeft:N}=window.getComputedStyle(n);C.top+=parseInt(B,10)||0,C.left+=parseInt(N,10)||0}let x=Pr(r,!0),E=bS(r);x.width+=(E.left??0)+(E.right??0),x.height+=(E.top??0)+(E.bottom??0);let T=gS(a),I=gf(s,b),k=gf(g,b),K;if((s.tagName==="BODY"||s.tagName==="HTML")&&!v){let B=Ia(g,!1);K={top:-(B.top-I.top),left:-(B.left-I.left),width:0,height:0}}else(s.tagName==="BODY"||s.tagName==="HTML")&&v?K={top:0,left:0,width:0,height:0}:K=yf(s,g,!1);let U=ue(s,g);return SS(t,C,x,T,E,o,i,I,k,K,l,c,$,d,u,m,U,b)}function Ia(e,t){let{top:n,left:r,width:a,height:o}=e.getBoundingClientRect();return t&&e instanceof e.ownerDocument.defaultView.HTMLElement&&(a=e.offsetWidth,o=e.offsetHeight),{top:n,left:r,width:a,height:o}}function Pr(e,t,n){let{top:r,left:a,width:o,height:i}=n||Ia(e,t),{scrollTop:s,scrollLeft:l,clientTop:c,clientLeft:d}=document.documentElement;return{top:r+s-c,left:a+l-d,width:o,height:i}}function yf(e,t,n,r){let a=window.getComputedStyle(e),o;if(a.position==="fixed")o=r||Ia(e,n);else{o=Pr(e,n,r);let i=Pr(t,n),s=window.getComputedStyle(t);i.top+=(parseInt(s.borderTopWidth,10)||0)-t.scrollTop,i.left+=(parseInt(s.borderLeftWidth,10)||0)-t.scrollLeft,o.top-=i.top,o.left-=i.left}return o.top-=parseInt(a.marginTop,10)||0,o.left-=parseInt(a.marginLeft,10)||0,o}function wS(e){let t=e.offsetParent;if(t&&t===document.body&&window.getComputedStyle(t).position==="static"&&!wf(t)&&(t=document.documentElement),t==null)for(t=e.parentElement;t&&!wf(t);)t=t.parentElement;return t||document.documentElement}function wf(e){let t=window.getComputedStyle(e);return t.transform!=="none"||/transform|perspective/.test(t.willChange)||t.filter!=="none"||t.contain==="paint"||"backdropFilter"in t&&t.backdropFilter!=="none"||"WebkitBackdropFilter"in t&&t.WebkitBackdropFilter!=="none"}let wn=typeof document<"u"?window.visualViewport:null;function $f(e){let{direction:t}=nt(),{arrowSize:n,targetRef:r,overlayRef:a,arrowRef:o,scrollRef:i=a,placement:s="bottom",containerPadding:l=12,shouldFlip:c=!0,boundaryElement:d=typeof document<"u"?document.body:null,offset:u=0,crossOffset:m=0,shouldUpdatePosition:h=!0,isOpen:b=!0,onClose:g,maxHeight:v,arrowBoundaryOffset:y=0,getTargetRect:$}=e,[C,x]=j(null),E=[h,s,a.current,r.current,o?.current,i.current,l,c,d,u,m,b,t,v,y,n],T=M(wn?.scale);G(()=>{b&&(T.current=wn?.scale)},[b]);let I=Q(()=>{if(h===!1||!b||!a.current||!r.current||!d||wn?.scale!==T.current)return;let U=null;if(i.current&&rr(i.current)){let P=Se()?.getBoundingClientRect(),R=i.current.getBoundingClientRect();U={type:"top",offset:(P?.top??0)-R.top},U.offset>R.height/2&&(U.type="bottom",U.offset=(P?.bottom??0)-R.bottom)}let B=a.current;!v&&a.current&&(B.style.top="0px",B.style.bottom="",B.style.maxHeight=(window.visualViewport?.height??window.innerHeight)+"px");let N=yS({placement:CS(s,t),overlayNode:a.current,targetNode:r.current,scrollNode:i.current||a.current,padding:l,shouldFlip:c,boundaryElement:d,offset:u,crossOffset:m,maxHeight:v,arrowSize:n??(o?.current?Ia(o.current,!0).width:0),arrowBoundaryOffset:y,targetRect:$?.(r.current)});if(!N.position)return;B.style.top="",B.style.bottom="",B.style.left="",B.style.right="",Object.keys(N.position).forEach(P=>B.style[P]=N.position[P]+"px"),B.style.maxHeight=N.maxHeight!=null?N.maxHeight+"px":"";let _=Se();if(U&&_&&i.current){let P=_.getBoundingClientRect(),R=i.current.getBoundingClientRect(),V=P[U.type]-R[U.type];i.current.scrollTop+=V-U.offset}x(N)},E);Pe(I,E),$S(I),Qu({ref:a,onResize:I}),Qu({ref:r,onResize:I});let k=M(!1);Pe(()=>{let U,B=()=>
vendor: 1,132 bytes, line 12
12{k.current=!0,clearTimeout(U),U=setTimeout(()=>{k.current=!1},500),I()},N=()=>{k.current&&B()};return wn?.addEventListener("resize",B),wn?.addEventListener("scroll",N),()=>{wn?.removeEventListener("resize",B),wn?.removeEventListener("scroll",N)}},[I]);let K=Q(()=>{k.current||g?.()},[g,k]);return Ev({triggerRef:r,isOpen:b,onClose:g&&K}),{overlayProps:{style:{position:C?"absolute":"fixed",top:C?void 0:0,left:C?void 0:0,zIndex:1e5,...C?.position,maxHeight:C?.maxHeight??"100vh"}},placement:C?.placement??null,triggerAnchorPoint:C?.triggerAnchorPoint??null,arrowProps:{"aria-hidden":"true",role:"presentation",style:{left:C?.arrowOffsetLeft,top:C?.arrowOffsetTop}},updatePosition:I}}function $S(e){Pe(()=>(window.addEventListener("resize",e,!1),()=>{window.removeEventListener("resize",e,!1)}),[e])}function CS(e,t){return t==="rtl"?e.replace("start","right").replace("end","left"):e.replace("start","left").replace("end","right")}function xS(e,t){let{triggerRef:n,popoverRef:r,groupRef:a,isNonModal:o,isKeyboardDismissDisabled:i,shouldCloseOnInteractOutside:s,...l}=e,c=l.trigger==="SubmenuTrigger",{overlayProps:d,underlayProps:u}
12=uS({isOpen:t.isOpen,onClose:t.close,shouldCloseOnBlur:!0,isDismissable:!o||c,isKeyboardDismissDisabled:i,shouldCloseOnInteractOutside:s},a??r),{overlayProps:m,arrowProps:h,placement:b,triggerAnchorPoint:g}=$f({...l,targetRef:n,overlayRef:r,isOpen:t.isOpen,onClose:o&&!c?t.close:null});return Ki({isDisabled:o||!t.isOpen}),G(()=>{if(t.isOpen&&r.current)return o?Cv(a?.current??r.current):Wd([a?.current??r.current],{shouldUseInert:!0})},[o,t.isOpen,r,a]),{popoverProps:he(d,m),arrowProps:h,underlayProps:u,placement:b,triggerAnchorPoint:g}}function PS(e,t){let n=ot(e,{labelable:!0}),{hoverProps:r}=Pa({onHoverStart:()=>t?.open(!0),onHoverEnd:()=>t?.close()});return{tooltipProps:he(n,r,{role:"tooltip"})}}function TS(e,t,n){let{isDisabled:r,trigger:a,shouldCloseOnPress:o=!0}=e,i=Me(),s=M(!1),l=M(!1),c=()=>{(s.current||l.current)&&t.open(l.current)},d=$=>{!s.current&&!l.current&&t.close($)};G(()=>{let $=C=>{n&&n.current&&C.key==="Escape"&&(C.stopPropagation(),t.close(!0))};if(t.isOpen)return document.addEventListener("keydown",$,!0),()=>{document.removeEventListener("keydown",$,!0)}},[n,t]);let u=()=>{a!=="focus"&&(un()==="pointer"?s.current=!0:s.current=!1,c())},m=()=>{a!=="focus"&&(l.current=!1,s.current=!1,d())},h=()=>{o&&(l.current=!1,s.current=!1,d(!0))},b=()=>{Gt()&&(l.current=!0,c())},g=()=>{l.current=!1,s.current=!1,d(!0)},{hoverProps:v}=Pa({isDisabled:r,onHoverStart:u,onHoverEnd:m}),{focusableProps:y}=ra({isDisabled:r,onFocus:b,onBlur:g},n);return{triggerProps:{"aria-describedby":t.isOpen?i:void 0,...he(y,v,{onPointerDown:h,onKeyDown:h}),tabIndex:void 0},tooltipProps:{id:i}}}function DS(e,t){return typeof e=="function"?e(t):e}function ES(e,t,n){return typeof e=="function"?e(t,n):t}function FS(e,t,n){return e?typeof e=="function"?e(t,n):new Set(e):null}function BS(e){const t=Object.entries(e).filter(([n])=>on(n)||Ui(n));return Object.fromEntries(t)}function $n(e){const t=Object.entries(e).filter(([n])=>!on(n)&&!Ui(n));return Object.fromEntries(t)}const IS=new Set(["as","component","render","swanStyle","className","children","__dangerouslySuppressWarning"]);function Ui(e){return IS.has(e)}function kS(e){if(!e)return()=>!1;const t=sn(e);return function(r){return t.has(r)}}function Wi(e,t,n){const r=kS(t),a=Object.entries(e).filter(([s])=>!(on(s)||Ui(s)||s==="htmlSize"||r(s))),o=_e(e.className,n?Array.from(n):null);o&&a.push(["className",o]);const i=e.htmlSize;return i!==void 0&&a.push(["size",i]),Object.fromEntries(a)}function NS(e,t,n){return r=>e(t,n,r)}function RS(e,t,n){const{derivedProps:r,processProps:a,classNames:o,wrapRoot:i,wrapChildren:s}=t||{},l=DS(r,e),c=ES(a,e,l),d=FS(o,c,l),u=yt(c,d),m=Wi(c,n,u);return{processedProps:c,props:m,wrapRoot:i?NS(i,c,l):null,children:s?s(c,l,c.children):c.children}}const LS=new Set;function pe(e,t){G(()=>{const n=t===null?[]:Array.isArray(t)?t:[t];e&&n.length>0&&!LS.has(e)&&go()},[])}function ka({root:e,ref:t,renderProps:n,props:r,children:a}){if(typeof n.render=="function")return n.render({...r,children:a},t);const o=n.as||n.component||e;return a!=null?io(o,{...r,key:r.key,ref:t},a):io(o,{...r,key:r.key,ref:t})}function S(e,t,n){const r=Xn(n);return r.displayName=`WithRef(${e})`,r}function Cf({propTypes:e,displayName:t,root:n,propConfig:r,requiredStyleKeys:a=[],propKeysToRemove:o=e?Object.keys(e):null}){return S(t,e,(i,s)=>{pe(t,a);const{props:l,wrapRoot:c,children:d,processedProps:u}=RS(i,r,o),m=ka({root:n,ref:s,renderProps:u,props:l,children:d});return c?c(m):m})}function Le({root:e,displayName:t,description:n}){const r=Xn((a,o)=>(G(()=>{a.__dangerouslySuppressWarning},[a.__dangerouslySuppressWarning]),f(e,{...a,ref:o})));return r.displayName=`deprecated(${e.displayName})`,r}function xf(e,t){let n=!1;return function(a,o,i,s,l,...c){const d=i||"<<anonymous>>";return a[o]!=null&&!a.__dangerouslySuppressWarning&&(n||console.warn(`${d}: props received =======>`,a),n=!0),e(a,o,i,s,l,...c)}}function Pf(e,t,n){let r=!1;return function(o,i,s,l,c,...d){const u=s||"<<anonymous>>",m=c||i;return o[i]!=null&&!o.__dangerouslySuppressWarning&&t.includes(o[i])&&(`${m}${o[i]}${u}${n}`,r||console.warn(`${u}: props received =======>`,o),r=!0),e(o,i,s,l,c,...d)}}function ie(e,t,n){G(()=>{},[e,t,n])}const Cn="Holiday colors are deprecated and will be removed in v4. They have been moved to @vp/marketing-colors and should only be used for Contentful-authored content.",Tf={holiday:Cn,"holiday-beige-1":Cn,"holiday-green-1":Cn,"holiday-green-2":Cn,"holiday-red-1":Cn,"holiday-red-2":Cn,"warm-white":"Deprecated. Use 'surface-light-1' instead.",black:"Deprecated. Use 'surface-dark-1' instead.",midnight:"Deprecated. Use 'surface-dark-2' instead.",fern:"Deprecated. Use 'sustainability' instead."},MS={"editorial-headline":"Deprecated. Use 'title-hero' instead.","editorial-content":"Deprecated without a replacement."};function w({root:e,props:t,propKeysToRemove:n,forwardedRef:r,classNames:a,children:o}){const i=yt(t,a),s=t.className;s&&i.add(s),ie(null,t,[{propName:"textColor",deprecatedValues:{holiday:Cn}},{propName:"backgroundColor",deprecatedValues:Tf},{propName:"bgc",deprecatedValues:Tf},{propName:"fontSkin",deprecatedValues:MS}]);const l={...$n(t),className:It(i)};return ka({root:e,ref:r,renderProps:t,props:l,children:o})}function Jt(e,t,n){return t!=null&&e.compare(t)<0||n!=null&&e.compare(n)>0}function Gi(e,t,n,r,a){let o={};for(let s in t)o[s]=Math.floor(t[s]/2),o[s]>0&&t[s]%2===0&&o[s]--;let i=xn(e,t,n).subtract(o);return Tr(e,i,t,n,r,a)}function xn(e,t,n,r,a){let o=e;return t.years?o=Eb(e):t.months?o=mr(e):(t.weeks||t.days&&t.days>7)&&(o=hr(e,n)),Tr(e,o,t,n,r,a)}function ji(e,t,n,r,a){let o={...t};o.days?o.days--:o.weeks?o.weeks--:o.months?o.months--:o.years&&o.years--;let i=xn(e,t,n).subtract(o);return Tr(e,i,t,n,r,a)}function Tr(e,t,n,r,a,o){if(a&&e.compare(a)>=0){let i=oi(t,xn(ze(a),n,r));i&&(t=i)}if(o&&e.compare(o)<=0){let i=ai(t,ji(ze(o),n,r));i&&(t=i)}return t}function xt(e,t,n){if(t){let r=oi(e,ze(t));r&&(e=r)}if(n){let r=ai(e,ze(n));r&&(e=r)}return e}function Df(e,t,n){if(!n)return e;for(;e.compare(t)>=0&&n(e);)e=e.subtract({days:1});return e.compare(t)>=0?e:null}function AS(e,t){return e===t?!0:e.days===t.days&&e.weeks===t.weeks&&e.months===t.months&&e.years===t.years}function Ef(e){let t=H(()=>new lt(e.locale),[e.locale]),n=H(()=>t.resolvedOptions(),[t]),{locale:r,createCalendar:a,visibleDuration:o={months:1},minValue:i,maxValue:s,selectionAlignment:l,isDateUnavailable:c,pageBehavior:d="visible",selectionMode:u="single",firstDayOfWeek:m,weeksInMonth:h}=e,b=H(()=>a(n.calendar),[a,n.calendar]),[g,v]=ct(e.value,e.defaultValue??null,e.onChange),y=H(()=>Array.isArray(g)?g.map(W=>Fe(ze(W),b)):g?Fe(ze(g),b):null,[g,b]),$=H(()=>{let W=Array.isArray(g)?g[0]:g;return W&&"timeZone"in W?W.timeZone:n.timeZone},[g,n.timeZone]),C=H(()=>e.focusedValue?xt(Fe(ze(e.focusedValue),b),i,s):void 0,[e.focusedValue,b,i,s]),x=H(()=>e.defaultFocusedValue?xt(Fe(ze(e.defaultFocusedValue),b),i,s):xt(y?Array.isArray(y)?y[0]:y:Fe(fr($),b),i,s),[e.defaultFocusedValue,y,$,b,i,s]),[E,T]=ct(C,x,e.onFocusChange),I=()=>{switch(l){case"start":return xn(E,o,r,i,s);case"end":return ji(E,o,r,i,s);default:return Gi(E,o,r,i,s)}},[k,K]=j(I),[U,B]=j(e.autoFocus||!1),[N,_]=j(o);
12AS(o,N)||(_(o),K(I()));let P=H(()=>{let W={...o};return W.days?W.days--:W.days=-1,k.add(W)},[k,o]),[R,V]=j(b);if(!ua(b,R)){let W=Fe(E,b);K(Gi(W,o,r,i,s)),T(W),V(b)}Jt(E,i,s)?T(xt(E,i,s)):E.compare(k)<0?K(ji(E,o,r,i,s)):E.compare(P)>0&&K(xn(E,o,r,i,s));function A(W){W=xt(W,i,s),T(W)}function O(W){let ne=xt(W,i,s),oe=Df(ne,k,c);if(!oe)return null;let z=Array.isArray(g)?g[0]:g,X=Fe(oe,z?.calendar||new Qe);return z&&"hour"in z?z.set(X):X}function L(W){if(!e.isDisabled&&!e.isReadOnly){if(W===null){v(u==="multiple"?[]:null);return}if(Array.isArray(W))v(W.map(O).filter(Boolean));else{let ne=O(W);ne&&v(ne)}}}let D=H(()=>y?Array.isArray(y)?y.some(W=>c?.(W)||Jt(W,i,s)):c?.(y)||Jt(y,i,s):!1,[y,c,i,s]),q=e.isInvalid||e.validationState==="invalid"||D,te=q?"invalid":null,Z=H(()=>d==="visible"?o:Zi(o),[d,o]);return{isDisabled:e.isDisabled??!1,isReadOnly:e.isReadOnly??!1,value:y,setValue:L,selectionMode:u,visibleDuration:o,visibleRange:{start:k,end:P},minValue:i,maxValue:s,focusedDate:E,timeZone:$,validationState:te,isValueInvalid:q,setFocusedDate(W){A(W)},focusNextDay(){A(E.add({days:1}))},focusPreviousDay(){A(E.subtract({days:1}))},focusNextRow(){o.days?this.focusNextPage():(o.weeks||o.months||o.years)&&A(E.add({weeks:1}))},focusPreviousRow(){o.days?this.focusPreviousPage():(o.weeks||o.months||o.years)&&A(E.subtract({weeks:1}))},focusNextPage(){let W=k.add(Z);T(xt(E.add(Z),i,s)),K(xn(Tr(E,W,Z,r,i,s),Z,r))},focusPreviousPage(){let W=k.subtract(Z);T(xt(E.subtract(Z),i,s)),K(xn(Tr(E,W,Z,r,i,s),Z,r))},focusSectionStart(){o.days?A(k):o.weeks?A(hr(E,r)):(o.months||o.years)&&A(mr(E))},focusSectionEnd(){o.days?A(P):o.weeks?A(Fb(E,r)):(o.months||o.years)&&A(ni(E))},focusNextSection(W){if(!W&&!o.days){A(E.add(Zi(o)));return}o.days?this.focusNextPage():o.weeks?A(E.add({months:1})):(o.months||o.years)&&A(E.add({years:1}))},focusPreviousSection(W){if(!W&&!o.days){A(E.subtract(Zi(o)));return}o.days?this.focusPreviousPage():o.weeks?A(E.subtract({months:1})):(o.months||o.years)&&A(E.subtract({years:1}))},selectFocusedDate(){c&&c(E)||this.selectDate(E)},selectDate(W){if(!(e.isDisabled||e.isReadOnly))if(u==="multiple"&&W!=null){let ne=O(W);if(!ne)return;let oe=[];Array.isArray(g)?oe=g:g!=null&&(oe=[g]);let z=oe.findIndex(se=>De(se,ne)),X=z>=0?oe.slice(0,z).concat(oe.slice(z+1)):[...oe,ne];v(X)}else L(W)},isFocused:U,setFocused:B,isInvalid(W){return Jt(W,i,s)},isSelected(W){return!y||this.isCellDisabled(W)||this.isCellUnavailable(W)?!1:Array.isArray(y)?y.some(ne=>De(ne,W)):De(W,y)},isCellFocused(W){return U&&E&&De(W,E)},isCellDisabled(W){return e.isDisabled||W.compare(k)<0||W.compare(P)>0||this.isInvalid(W)},isCellUnavailable(W){return e.isDateUnavailable?e.isDateUnavailable(W):!1},isPreviousVisibleRangeInvalid(){let W=k.subtract({days:1});return De(W,k)||this.isInvalid(W)},isNextVisibleRangeInvalid(){let W=P.add({days:1});return De(W,P)||this.isInvalid(W)},getDatesInWeek(W,ne=k){let oe=ne.add({weeks:W}),z=[],X=o.days&&o.days<7?o.days:7;if(X===7){oe=hr(oe,r,m);let se=Qo(oe,r,m);for(let J=0;J<se;J++)z.push(null)}for(;z.length<X;){z.push(oe);let se=oe.add({days:1});if(De(oe,se))break;oe=se}for(;z.length<X;)z.push(null);return z},getWeeksInMonth(W=k){let ne=h||td(W,r,m);return(o.weeks||o.days)&&(ne=o.weeks??0,o.days&&(ne+=Math.ceil(o.days/7))),ne}}}function Zi(e){let t={...e};for(let n in e)t[n]=1;return t}function OS(e){let{value:t,defaultValue:n,onChange:r,createCalendar:a,locale:o,visibleDuration:i={months:1},minValue:s,maxValue:l,...c}=e,[d,u]=ct(t,n||null,r),[m,h]=j(null),b="center";if(d&&d.start&&d.end){let _=Gi(ze(d.start),i,o,s,l).add(i).subtract({days:1});d.end.compare(_)>0&&(b="start")}let g=H(()=>{let N=e.isDateUnavailable;if(N)return _=>N(_,m)},[e.isDateUnavailable,m]),v=Q(N=>{if(N&&g&&!e.allowsNonContiguousRanges){const _=Bf(N,g,i,-1),P=Bf(N,g,i,1);return{start:_,end:P}}else return null},[g,i,e.allowsNonContiguousRanges]),y=H(()=>v(m),[v,m]),$=H(()=>oi(s,y?.start),[s,y]),C=H(()=>ai(l,y?.end),[l,y]),x=Ef({...c,value:d&&d.start,createCalendar:a,locale:o,visibleDuration:i,minValue:$,maxValue:C,selectionAlignment:e.selectionAlignment||b,isDateUnavailable:g}),E=m?qi(m,x.focusedDate):d&&qi(d.start,d.end),T=N=>{if(e.isReadOnly)return;const _=xt(N,$,C),P=Df(_,x.visibleRange.start,g);if(P)if(!m)h(P);else{let R=qi(m,P);R&&u({start:Ff(R.start,d?.start),end:Ff(R.end,d?.end)}),h(null)}},[I,k]=j(!1),K=H(()=>!d||m?!1:g&&(g(d.start)||g(d.end))?!0:Jt(d.start,s,l)||Jt(d.end,s,l),[g,d,m,s,l]),U=e.isInvalid||e.validationState==="invalid"||K;return{...x,value:d,setValue:u,anchorDate:m,setAnchorDate:h,highlightedRange:E,validationState:U?"invali
12d":null,isValueInvalid:U,selectFocusedDate(){x.isCellUnavailable(x.focusedDate)||T(x.focusedDate)},commitSelection(){T(x.focusedDate)},selectDate:T,highlightDate(N){m&&x.setFocusedDate(N)},isSelected(N){return!!(E&&N.compare(E.start)>=0&&N.compare(E.end)<=0&&!x.isCellDisabled(N)&&!x.isCellUnavailable(N))},isInvalid(N){return x.isInvalid(N)||Jt(N,y?.start,y?.end)},isDragging:I,setDragging:k,clearSelection(){h(null),u(null)},focusNearestAvailableDate(N){let _=v(N),P=V=>this.isInvalid(V)||Jt(V,_?.start,_?.end),R=N.add({days:1});P(R)&&(R=N.subtract({days:1})),P(R)||(this.setFocusedDate(R),this.setFocused(!0))}}}function qi(e,t){return!e||!t?null:(t.compare(e)<0&&([e,t]=[t,e]),{start:ze(e),end:ze(t)})}function Ff(e,t){return e=Fe(e,t?.calendar||new Qe),t&&"hour"in t?t.set(e):e}function Bf(e,t,n,r){let a=e.add({days:r}),o=e.subtract(n),i=e.add(n);for(;(r<0?a.compare(o)>=0:a.compare(i)<=0)&&!t(a);)a=a.add({days:r});if(t(a))return a.add({days:-r})}class Yi{constructor(t){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.iterable=t;let n=i=>{if(this.keyMap.set(i.key,i),i.childNodes&&i.type==="section")for(let s of i.childNodes)n(s)};for(let i of t)n(i);let r=null,a=0,o=0;for(let[i,s]of this.keyMap)r?(r.nextKey=i,s.prevKey=r.key):(this.firstKey=i,s.prevKey=void 0),s.type==="item"&&(s.index=a++),(s.type==="section"||s.type==="item")&&o++,r=s,r.nextKey=void 0;this._size=o,this.lastKey=r?.key??null}*[Symbol.iterator](){yield*this.iterable}get size(){return this._size}getKeys(){return this.keyMap.keys()}getKeyBefore(t){let n=this.keyMap.get(t);return n?n.prevKey??null:null}getKeyAfter(t){let n=this.keyMap.get(t);return n?n.nextKey??null:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(t){return this.keyMap.get(t)??null}at(t){const n=[...this.getKeys()];return this.getItem(n[t])}getChildren(t){return this.keyMap.get(t)?.childNodes||[]}}class pt extends Set{constructor(t,n,r){super(t),t instanceof pt?(this.anchorKey=n??t.anchorKey,this.currentKey=r??t.currentKey):(this.anchorKey=n??null,this.currentKey=r??null)}}function VS(e,t){if(e.size!==t.size)return!1;for(let n of e)if(!t.has(n))return!1;return!0}function If(e){let{selectionMode:t="none",disallowEmptySelection:n=!1,allowDuplicateSelectionEvents:r,selectionBehavior:a="toggle",disabledBehavior:o="all"}=e,i=M(!1),[,s]=j(!1),l=M(null),c=M(null),[,d]=j(null),u=H(()=>kf(e.selectedKeys),[e.selectedKeys]),m=H(()=>kf(e.defaultSelectedKeys,new pt),[e.defaultSelectedKeys]),[h,b]=ct(u,m,e.onSelectionChange),g=H(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),[v,y]=j(a);a==="replace"&&v==="toggle"&&typeof h=="object"&&h.size===0&&y("replace");let $=M(a);return G(()=>{a!==$.current&&(y(a),$.current=a)},[a]),{selectionMode:t,disallowEmptySelection:n,selectionBehavior:v,setSelectionBehavior:y,get isFocused(){return i.current},setFocused(C){i.current=C,s(C)},get focusedKey(){return l.current},get childFocusStrategy(){return c.current},setFocusedKey(C,x="first"){l.current=C,c.current=x,d(C)},selectedKeys:h,setSelectedKeys(C){(r||!VS(C,h))&&b(C)},disabledKeys:g,disabledBehavior:o}}function kf(e,t){return e?e==="all"?"all":new pt(e):t}class Na{constructor(t,n,r){this.collection=t,this.state=n,this.allowsCellSelection=r?.allowsCellSelection??!1,this._isSelectAll=null,this.layoutDelegate=r?.layoutDelegate||null,this.fullCollection=r?.fullCollection||null}get selectionMode(){return this.state.selectionMode}get disallowEmptySelection(){return this.state.disallowEmptySelection}get selectionBehavior(){return this.state.selectionBehavior}setSelectionBehavior(t){this.state.setSelectionBehavior(t)}get isFocused(){return this.state.isFocused}setFocused(t){this.state.setFocused(t)}get focusedKey(){return this.state.focusedKey}get childFocusStrategy(){return this.state.childFocusStrategy}setFocusedKey(t,n){(t==null||this.collection.getItem(t))&&this.state.setFocusedKey(t,n)}get selectedKeys(){return this.state.selectedKeys==="all"?new Set(this.getSelectAllKeys()):this.state.selectedKeys}get rawSelection(){return this.state.selectedKeys}isSelected(t){if(this.state.selectionMode==="none")return!1;let n=this.getKey(t);return n==null?!1:this.state.selectedKeys==="all"?this.canSelectItem(n):this.state.selectedKeys.has(n)}get isEmpty(){return this.state.selectedKeys!=="all"&&this.state.selectedKeys.size===0}get isSelectAll(){if(this.isEmpty)return!1;if(this.state.selectedKeys==="all")return!0;
12if(this._isSelectAll!=null)return this._isSelectAll;let t=this.getSelectAllKeys(),n=this.state.selectedKeys;return this._isSelectAll=t.every(r=>n.has(r)),this._isSelectAll}get firstSelectedKey(){let t=null;for(let n of this.state.selectedKeys){let r=this.collection.getItem(n);(!t||r&&Ri(this.collection,r,t)<0)&&(t=r)}return t?.key??null}get lastSelectedKey(){let t=null;for(let n of this.state.selectedKeys){let r=this.collection.getItem(n);(!t||r&&Ri(this.collection,r,t)>0)&&(t=r)}return t?.key??null}get disabledKeys(){return this.state.disabledKeys}get disabledBehavior(){return this.state.disabledBehavior}extendSelection(t){if(this.selectionMode==="none")return;if(this.selectionMode==="single"){this.replaceSelection(t);return}let n=this.getKey(t);if(n==null)return;let r;if(this.state.selectedKeys==="all")r=new pt([n],n,n);else{let a=this.state.selectedKeys,o=a.anchorKey??n;r=new pt(a,o,n);for(let i of this.getKeyRange(o,a.currentKey??n))r.delete(i);for(let i of this.getKeyRange(n,o))this.canSelectItem(i)&&r.add(i)}this.state.setSelectedKeys(r)}getKeyRange(t,n){let r=this.collection.getItem(t),a=this.collection.getItem(n);return r&&a?Ri(this.collection,r,a)<=0?this.getKeyRangeInternal(t,n):this.getKeyRangeInternal(n,t):[]}getKeyRangeInternal(t,n){if(this.layoutDelegate?.getKeyRange)return this.layoutDelegate.getKeyRange(t,n);let r=[],a=t;for(;a!=null;){let o=this.collection.getItem(a);if(o&&(o.type==="item"||o.type==="cell"&&this.allowsCellSelection)&&r.push(a),a===n)return r;a=this.collection.getKeyAfter(a)}return[]}getKey(t){let n=this.collection.getItem(t);if(!n||n.type==="cell"&&this.allowsCellSelection)return t;for(;n&&n.type!=="item"&&n.parentKey!=null;)n=this.collection.getItem(n.parentKey);return!n||n.type!=="item"?null:n.key}toggleSelection(t){if(this.selectionMode==="none")return;if(this.selectionMode==="single"&&!this.isSelected(t)){this.replaceSelection(t);return}let n=this.getKey(t);if(n==null)return;let r=new pt(this.state.selectedKeys==="all"?this.getSelectAllKeys():this.state.selectedKeys);r.has(n)?r.delete(n):this.canSelectItem(n)&&(r.add(n),r.anchorKey=n,r.currentKey=n),!(this.disallowEmptySelection&&r.size===0)&&this.state.setSelectedKeys(r)}replaceSelection(t){if(this.selectionMode==="none")return;let n=this.getKey(t);if(n==null)return;let r=this.canSelectItem(n)?new pt([n],n,n):new pt;this.state.setSelectedKeys(r)}setSelectedKeys(t){if(this.selectionMode==="none")return;let n=new pt;for(let r of t){let a=this.getKey(r);if(a!=null&&(n.add(a),this.selectionMode==="single"))break}this.state.setSelectedKeys(n)}getSelectAllKeys(){let t=this.fullCollection??this.collection,n=[],r=a=>{for(;a!=null;){if(this.canSelectItemIn(a,t)){let o=t.getItem(a);o?.type==="item"&&n.push(a),o?.hasChildNodes&&(this.allowsCellSelection||o.type!=="item")&&r(kv(Ca(o,t))?.key??null)}a=t.getKeyAfter(a)}};return r(t.getFirstKey()),n}selectAll(){!this.isSelectAll&&this.selectionMode==="multiple"&&this.state.setSelectedKeys("all")}clearSelection(){!this.disallowEmptySelection&&(this.state.selectedKeys==="all"||this.state.selectedKeys.size>0)&&this.state.setSelectedKeys(new pt)}toggleSelectAll(){this.isSelectAll?this.clearSelection():this.selectAll()}select(t,n){this.selectionMode!=="none"&&(this.selectionMode==="single"?this.isSelected(t)&&!this.disallowEmptySelection?this.toggleSelection(t):this.replaceSelection(t):this.selectionBehavior==="toggle"||n&&(n.pointerType==="touch"||n.pointerType==="virtual")?this.toggleSelection(t):this.replaceSelection(t))}isSelectionEqual(t){if(t===this.state.selectedKeys)return!0;let n=this.selectedKeys;if(t.size!==n.size)return!1;for(let r of t)if(!n.has(r))return!1;for(let r of n)if(!t.has(r))return!1;return!0}canSelectItem(t){return this.canSelectItemIn(t,this.collection)}canSelectItemIn(t,n){if(this.state.selectionMode==="none"||this.state.disabledKeys.has(t))return!1;let r=n.getItem(t);return!(!r||r?.props?.isDisabled||r.type==="cell"&&!this.allowsCellSelection)}isDisabled(t){let n=this.collection.getItem(t);return this.state.disabledBehavior==="all"&&(this.state.disabledKeys.has(t)||!!n?.props?.isDisabled)&&n?.props?.disabledBehavior!=="selection"}isLink(t){return!!this.collection.getItem(t)?.props?.href}getItemProps(t){return this.collection.getItem(t)?.props}withCollection(t){return new Na(t,this.state,{allowsCellSelection:this.allowsCellSelection,layoutDelegate:this.layoutDelegate||void 0,fullCollection:this.fullCollection??this.collection})}}class KS{build(t,n){return this.context=n,Nf(()=>this.iterateCollection(t))}*iterateCollection(t){let{children:n,items:r}=t;if(re.isValidElement(n)&&n.type===re.Fragment)yield*this.iterateCollection({children:n.props.children,items:r});else if(typeof n=="function"){if(!r)throw new Error("props.children was a function but props.items is missing");let a=0;for(let o of r)yield*this.getFullNode({value:o,index:a},{renderer:n}),a++}else{let a=[];
12re.Children.forEach(n,i=>{i&&a.push(i)});let o=0;for(let i of a){let s=this.getFullNode({element:i,index:o},{});for(let l of s)o++,yield l}}}getKey(t,n,r,a){if(t.key!=null)return t.key;if(n.type==="cell"&&n.key!=null)return`${a}${n.key}`;let o=n.value;if(o!=null){let i=o.key??o.id;if(i==null)throw new Error("No key found for item");return i}return a?`${a}.${n.index}`:`$.${n.index}`}getChildState(t,n){return{renderer:n.renderer||t.renderer}}*getFullNode(t,n,r,a){if(re.isValidElement(t.element)&&t.element.type===re.Fragment){let l=[];re.Children.forEach(t.element.props.children,d=>{l.push(d)});let c=t.index??0;for(const d of l)yield*this.getFullNode({element:d,index:c++},n,r,a);return}let o=t.element;if(!o&&t.value&&n&&n.renderer){let l=this.cache.get(t.value);if(l&&(!l.shouldInvalidate||!l.shouldInvalidate(this.context))){l.index=t.index,l.parentKey=a?a.key:null,yield l;return}o=n.renderer(t.value)}if(re.isValidElement(o)){let l=o.type;if(typeof l!="function"&&typeof l.getCollectionNode!="function"){let m=o.type;throw new Error(`Unknown element <${m}> in collection.`)}let c=l.getCollectionNode(o.props,this.context),d=t.index??0,u=c.next();for(;!u.done&&u.value;){let m=u.value;t.index=d;let h=m.key??null;h==null&&(h=m.element?null:this.getKey(o,t,n,r));let g=[...this.getFullNode({...m,key:h,index:d,wrapper:_S(t.wrapper,m.wrapper)},this.getChildState(n,m),r?`${r}${o.key}`:o.key,a)];for(let v of g){if(v.value=m.value??t.value??null,v.value&&this.cache.set(v.value,v),t.type&&v.type!==t.type)throw new Error(`Unsupported type <${Xi(v.type)}> in <${Xi(a?.type??"unknown parent type")}>. Only <${Xi(t.type)}> is supported.`);d++,yield v}u=c.next(g)}return}if(t.key==null||t.type==null)return;let i=this,s={type:t.type,props:t.props,key:t.key,parentKey:a?a.key:null,value:t.value??null,level:(a?.level??0)+(a?.type==="item"?1:0),index:t.index,rendered:t.rendered,textValue:t.textValue??"","aria-label":t["aria-label"],wrapper:t.wrapper,shouldInvalidate:t.shouldInvalidate,hasChildNodes:t.hasChildNodes||!1,childNodes:Nf(function*(){if(!t.hasChildNodes||!t.childNodes)return;let l=0;for(let c of t.childNodes()){c.key!=null&&(c.key=`${s.key}${c.key}`);let d=i.getFullNode({...c,index:l},i.getChildState(n,c),s.key,s);for(let u of d)l++,yield u}})};yield s}constructor(){this.cache=new WeakMap}}function Nf(e){let t=[],n=null;return{*[Symbol.iterator](){for(let r of t)yield r;n||(n=e());for(let r of n)t.push(r),yield r}}}function _S(e,t){if(e&&t)return n=>e(t(n));if(e)return e;if(t)return t}function Xi(e){return e[0].toUpperCase()+e.slice(1)}function Rf(e,t,n){let r=H(()=>new KS,[]),{children:a,items:o,collection:i}=e;return H(()=>{if(i)return i;let l=r.build({children:a,items:o},n);return t(l)},[r,a,o,i,n,t])}function Lf(e){let{filter:t,layoutDelegate:n}=e,r=If(e),a=H(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),o=Q(c=>t?new Yi(t(c)):new Yi(c),[t]),i=H(()=>({suppressTextValueWarning:e.suppressTextValueWarning}),[e.suppressTextValueWarning]),s=Rf(e,o,i),l=H(()=>new Na(s,r,{layoutDelegate:n}),[s,r,n]);return HS(s,l),{collection:s,disabledKeys:a,selectionManager:l}}function HS(e,t){const n=M(null);G(()=>{if(t.focusedKey!=null&&!e.getItem(t.focusedKey)&&n.current){let r=n.current.getKeyAfter(t.focusedKey),a=null;for(;r!=null;){let o=e.getItem(r);if(o&&o.type==="item"&&!t.isDisabled(r)){a=r;break}r=n.current.getKeyAfter(r)}if(a==null)for(r=n.current.getKeyBefore(t.focusedKey);r!=null;){let o=e.getItem(r);if(o&&o.type==="item"&&!t.isDisabled(r)){a=r;break}r=n.current.getKeyBefore(r)}t.setFocusedKey(a)}n.current=e},[e,t])}function Kn(e){let[t,n]=ct(e.isOpen,e.defaultOpen||!1,e.onOpenChange);const r=Q(()=>{n(!0)},[n]),a=Q(()=>{n(!1)},[n]),o=Q(()=>{n(!t)},[n,t]);return{isOpen:t,setOpen:n,open:r,close:a,toggle:o}}function zS(e){let{defaultFilter:t,menuTrigger:n="input",allowsEmptyCollection:r=!1,allowsCustomValue:a,shouldCloseOnBlur:o=!0,selectionMode:i="single"}=e,[s,l]=j(!1),[c,d]=j(!1),[u,m]=j(null),h=H(()=>e.defaultValue!==void 0?e.defaultValue:i==="single"?e.defaultSelectedKey??null:[],[e.defaultValue,e.defaultSelectedKey,i]),b=H(()=>e.value!==void 0?e.value:i==="single"?e.selectedKey:void 0,[e.value,e.selectedKey,i]),[g,v]=ct(b,h,e.onChange),y=i==="single"&&Array.isArray(g)?g[0]:g,$=ce=>{if(i==="single"){let Ie=Array.isArray(ce)?ce[0]??null:ce;v(Ie),Ie!==y&&e.onSelectionChange?.(Ie)}else{let Ie=[];Array.isArray(ce)?Ie=ce:ce!=null&&(Ie=[ce]),v(Ie)}},{collection:C,selectionManager:x,disabledKeys:E}=Lf({...e,items:e.items??e.defaultItems,selectionMode:i,disallowEmptySelection:i==="single",allowDuplicateSelectionEvents:!0,selectedKeys:H(()=>WS(y),[y]),onSelectionChange:ce=>{if(ce!=="all")if(i==="single"){let Ie=ce.values().next().value??null;Ie===y?(e.onSelectionChange?.(Ie),oe(),Z()):$(Ie)}else $([...ce])}}),T=i==="single"?x.firstSelectedKey:null,I=H(()=>[...x.selectedKeys].map(ce=>C.getItem(ce)).filter(ce=>ce!=null),[x.selectedKeys,C]),[k,K]=ct(e.inputValue,Af(e.defaultInputValue,T,C)||"",e.onInputChange),[U]=j(y),[B]=j(k),N=C,_=H(()=>e.items!=null||!t?C:US(C,k,t),[C,k,t,e.items]),[P,R]=j(_),V=M("focus"),O=Kn({...e,onOpenChange:ce=>{e.onOpenChange&&e.onOpenChange(ce,ce?V.current:void 0),x.setFocused(ce),ce||x.setFocusedKey(null)},isOpen:void 0,defaultOpen:void 0}),L=(ce=null,Ie)=>{let nn=Ie==="manual"||Ie==="focus"&&n==="focus";(r||_.size>0||nn&&N.size>0||e.items)&&(nn&&!O.isOpen&&e.items===void 0&&l(!0),V.current=Ie,m(ce),O.open())},D=(ce=null,Ie)=>{let nn=Ie==="manual"||Ie==="focus"&&n==="focus";!(r||_.size>0||nn&&N.size>0||e.items)&&!O.isOpen||(nn&&!O.isOpen&&e.items===void 0&&l(!0),O.isOpen||(V.current=Ie),te(ce))},q=Q(()=>{R(s?N:_)},[s,N,_]),te=Q((ce=null)=>
12{O.isOpen&&q(),m(ce),O.toggle()},[O,q]),Z=Q(()=>{O.isOpen&&(q(),O.close())},[O,q]),[W,ne]=j(k),oe=()=>{let ce=T!=null?C.getItem(T)?.textValue??"":"";ne(ce),K(ce)},z=M(y),X=M(T!=null?C.getItem(T)?.textValue??"":"");G(()=>{c&&(_.size>0||r)&&!O.isOpen&&k!==W&&n!=="manual"&&L(null,"input"),!s&&!r&&O.isOpen&&_.size===0&&Z(),y!=null&&y!==z.current&&i==="single"&&Z(),k!==W&&(x.setFocusedKey(null),l(!1),i==="single"&&k===""&&(e.inputValue===void 0||b===void 0)&&$(null)),y!==z.current&&(e.inputValue===void 0||b===void 0)?oe():W!==k&&ne(k);let ce=T!=null?C.getItem(T)?.textValue??"":"";!c&&T!=null&&e.inputValue===void 0&&T===z.current&&X.current!==ce&&(ne(ce),K(ce)),z.current=y,X.current=ce});let se=yr({...e,value:H(()=>Array.isArray(y)&&y.length===0?null:{inputValue:k,value:y,selectedKey:T},[k,T,y])}),J=()=>{a&&T==null?fe():de()},fe=()=>{if(i==="multiple"){ne(k),Z();return}let ce=null;z.current=ce,$(ce),Z()},de=(ce=!1)=>{if(b!==void 0&&e.inputValue!==void 0){let Ie=T!=null?C.getItem(T)?.textValue??"":"";(ce||i==="multiple"||k!==Ie)&&(e.onSelectionChange?.(T),e.onChange?.(y)),ne(Ie),Z()}else oe(),Z()};const Ce=()=>{if(a){const ce=T!=null?C.getItem(T)?.textValue??"":"";k===ce?de():fe()}else de()};let Ge=()=>{O.isOpen&&x.focusedKey!=null?x.isSelected(x.focusedKey)&&i==="single"?de(!0):x.select(x.focusedKey):Ce()},Ke=M([k,y]),le=ce=>{ce?(Ke.current=[k,y],n==="focus"&&!e.isReadOnly&&L(null,"focus")):(o&&Ce(),(k!==Ke.current[0]||y!==Ke.current[1])&&se.commitValidation()),d(ce)},rt=H(()=>O.isOpen?s?N:_:P,[O.isOpen,N,_,s,P]),qn=e.defaultSelectedKey??(i==="single"?U:null);return{...se,...O,focusStrategy:u,toggle:D,open:L,close:Ce,selectionManager:x,value:y,defaultValue:h??U,setValue:$,selectedKey:T,selectedItems:I,defaultSelectedKey:qn,setSelectedKey:$,disabledKeys:E,isFocused:c,setFocused:le,selectedItem:I[0]??null,collection:rt,inputValue:k,defaultInputValue:Af(e.defaultInputValue,qn,C)??B,setInputValue:K,commit:Ge,revert:J}}function US(e,t,n){return new Yi(Mf(e,e,t,n))}function Mf(e,t,n,r){let a=[];for(let o of t)if(o.type==="section"&&o.hasChildNodes){let i=Mf(e,Ca(o,e),n,r);[...i].some(s=>s.type==="item")&&a.push({...o,childNodes:i})}else o.type==="item"&&r(o.textValue,n)?a.push({...o}):o.type!=="item"&&a.push({...o});return a}function Af(e,t,n){return e==null&&t!=null?n.getItem(t)?.textValue??"":e}function WS(e){if(e!==void 0)return e===null?[]:Array.isArray(e)?e:[e]}var Of={};Of={rangeOverflow:e=>`V\xE6rdien skal v\xE6re ${e.maxValue} eller tidligere.`,rangeReversed:"Startdatoen skal v\xE6re f\xF8r slutdatoen.",rangeUnderflow:e=>`V\xE6rdien skal v\xE6re ${e.minValue} eller nyere.`,unavailableDate:"Den valgte dato er ikke tilg\xE6ngelig."};var Vf={};Vf={rangeOverflow:e=>`Der Wert muss ${e.maxValue} oder fr\xFCher sein.`,rangeReversed:"Das Startdatum muss vor dem Enddatum liegen.",rangeUnderflow:e=>`Der Wert muss ${e.minValue} oder sp\xE4ter sein.`,unavailableDate:"Das ausgew\xE4hlte Datum ist nicht verf\xFCgbar."};var Kf={};Kf={rangeUnderflow:e=>`Value must be ${e.minValue} or later.`,rangeOverflow:e=>`Value must be ${e.maxValue} or earlier.`,rangeReversed:"Start date must be before end date.",unavailableDate:"Selected date unavailable."};var _f={};_f={rangeOverflow:e=>`El valor debe ser ${e.maxValue} o anterior.`,rangeReversed:"La fecha de inicio debe ser anterior a la fecha de finalizaci\xF3n.",rangeUnderflow:e=>`El valor debe ser ${e.minValue} o posterior.`,unavailableDate:"Fecha seleccionada no disponible."};var Hf={};Hf={rangeOverflow:e=>`Arvon on oltava ${e.maxValue} tai sit\xE4 aikaisempi.`,rangeReversed:"Aloitusp\xE4iv\xE4n on oltava ennen lopetusp\xE4iv\xE4\xE4.",rangeUnderflow:e=>`Arvon on oltava ${e.minValue} tai sit\xE4 my\xF6h\xE4isempi.`,unavailableDate:"Valittu p\xE4iv\xE4m\xE4\xE4r\xE4 ei ole k\xE4ytett\xE4viss\xE4."};var zf={};zf={rangeOverflow:e=>`La valeur doit \xEAtre ${e.maxValue} ou ant\xE9rieure.`,rangeReversed:"La date de d\xE9but doit \xEAtre ant\xE9rieure \xE0 la date de fin.",rangeUnderflow:e=>`La valeur doit \xEAtre ${e.minValue} ou ult\xE9rieure.`,unavailableDate:"La date s\xE9lectionn\xE9e n\u2019est pas disponible."};var Uf={};Uf={rangeOverflow:e=>`Il valore deve essere ${e.maxValue} o precedente.`,rangeReversed:"La data di inizio deve essere antecedente alla data di fine.",rangeUnderflow:e=>`Il valore deve essere ${e.minValue} o successivo.`,unavailableDate:"Data selezionata non disponibile."};var Wf={};Wf={rangeOverflow:e=>`Verdien m\xE5 v\xE6re ${e.maxValue} eller tidligere.`,rangeReversed:"Startdatoen m\xE5 v\xE6re f\xF8r sluttdatoen.",rangeUnderflow:e=>`Verdien m\xE5 v\xE6re ${e.minValue} eller senere.`,unavailableDate:"Valgt dato utilgjengelig."};var Gf={};Gf={rangeOverflow:e=>`Waarde moet ${e.maxValue} of eerder zijn.`,rangeReversed:"De startdatum moet voor de einddatum liggen.",rangeUnderflow:e=>`Waarde moet ${e.minValue} of later zijn.`,unavailableDate:"Geselecteerde datum niet beschikbaar."};var jf={};jf={rangeOverflow:e=>`O valor tem de ser ${e.maxValue} ou anterior.`,rangeReversed:"A data de in\xEDcio deve ser anterior \xE0 data de fim.",rangeUnderflow:e=>`O valor tem de ser ${e.minValue} ou posterior.`,unavailableDate:"Data selecionada indispon\xEDvel."};var Zf={};Zf={rangeOverflow:e=>`V\xE4rdet m\xE5ste vara ${e.maxValue} eller tidigare.`,rangeReversed:"Startdatumet m\xE5ste vara f\xF6re slutdatumet.",rangeUnderflow:e=>`V\xE4rdet m\xE5ste vara ${e.minValue} eller senare.`,unavailableDate:"Det valda datumet \xE4r inte tillg\xE4ngligt."};var qf={};qf={"ar-AE":F,"bg-BG":F,"cs-CZ":F,"da-DK":Of,"de-DE":Vf,"el-GR":F,"en-US":Kf,"es-ES":_f,"et-EE":F,"fi-FI":Hf,"fr-FR":zf,"he-IL":F,"hr-HR":F,"hu-HU":F,"it-IT":Uf,"ja-JP":F,"ko-KR":F,"lt-LT":F,"lv-LV":F,"nb-NO":Wf,"nl-NL":Gf,"pl-PL":F,"pt-BR":F,"pt-PT":jf,"ro-RO":F,"ru-RU":F,"sk-SK":F,"sl-SI":F,"sr-SP":F,"sv-SE":Zf,"tr-TR":F,"uk-UA":F,"zh-CN":F,"zh-TW":F};
vendor: 4,749 bytes, line 12
12function GS(e){return e&&e.__esModule?e.default:e}const Yf=new Zt(GS(qf));function Xf(){let e=typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return e}function Ra(e,t,n,r,a){let o=e!=null&&n!=null&&e.compare(n)>0,i=e!=null&&t!=null&&e.compare(t)<0,s=e!=null&&r?.(e)||!1,l=o||i||s,c=[];if(l){let d=Xf(),u=Zt.getGlobalDictionaryForPackage("@react-stately/datepicker")||Yf,m=new bc(d,u),h=new lt(d,Vt({},a)),b=h.resolvedOptions().timeZone;i&&t!=null&&c.push(m.format("rangeUnderflow",{minValue:h.format(t.toDate(b))})),o&&n!=null&&c.push(m.format("rangeOverflow",{maxValue:h.format(n.toDate(b))})),s&&c.push(m.format("unavailableDate"))}return{isInvalid:l,validationErrors:c,validationDetails:{badInput:s,customError:!1,patternMismatch:!1,rangeOverflow:o,rangeUnderflow:i,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!l}}}function jS(e,t,n,r,a){let o=Ra(e?.start??null,t,n,r,a),i=Ra(e?.end??null,t,n,r,a),s=Sa(o,i);if(e?.end!=null&&e.start!=null&&e.end.compare(e.start)<0){let l=Zt.getGlobalDictionaryForPackage("@react-stately/datepicker")||Yf;s=Sa(s,{isInvalid:!0,validationErrors:[l.getStringForLocale("rangeReversed",Xf())],validationDetails:{...va,rangeUnderflow:!0,rangeOverflow:!0,valid:!1}})}return s}const ZS={year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"2-digit",second:"2-digit"},qS={year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"};function Vt(e,t){e={...t.shouldForceLeadingZeros?qS:ZS,...e};let r=t.granularity||"minute",a=Object.keys(e),o=a.indexOf(t.maxGranularity??"year");o<0&&(o=0);let i=a.indexOf(r);if(i<0&&(i=2),o>i)throw new Error("maxGranularity must be greater than granularity");let s=a.slice(o,i+1).reduce((c,d)=>(c[d]=e[d],c),{});return t.hourCycle!=null&&(s.hour12=t.hourCycle===12),s.timeZone=t.timeZone||"UTC",(r==="hour"||r==="minute"||r==="second")&&t.timeZone&&!t.hideTimeZone&&(s.timeZoneName="short"),t.showEra&&o===0&&(s.era="short"),s}function _n(e){return e&&"hour"in e?e:new hi}function Jf(e,t){if(e===null)return null;if(e)return Fe(e,t)}function YS(e,t,n,r){if(e)return Jf(e,n);let a=Fe(qc(r??ti()).set({hour:0,minute:0,second:0,millisecond:0}),n);return t==="year"||t==="month"||t==="day"?ze(a):r?a:wt(a)}function Ji(e,t){let n=e&&"timeZone"in e?e.timeZone:void 0,r=e&&"minute"in e?"minute":"day";if(e&&t&&!(t in e))throw new Error("Invalid granularity "+t+" for value "+e.toString());let[a,o]=j([r,n]);e&&(a[0]!==r||a[1]!==n)&&o([r,n]),t||(t=e?r:a[0]);let i=e?n:a[1];return[t,i]}const XS=new Zt({ach:{year:"mwaka",month:"dwe",day:"nino"},af:{year:"jjjj",month:"mm",day:"dd"},am:{year:"\u12D3\u12D3\u12D3\u12D3",month:"\u121A\u121C",day:"\u1240\u1240"},an:{year:"aaaa",month:"mm",day:"dd"},ar:{year:"\u0633\u0646\u0629",month:"\u0634\u0647\u0631",day:"\u064A\u0648\u0645"},ast:{year:"aaaa",month:"mm",day:"dd"},az:{year:"iiii",month:"aa",day:"gg"},be:{year:"\u0433\u0433\u0433\u0433",month:"\u043C\u043C",day:"\u0434\u0434"},bg:{year:"\u0433\u0433\u0433\u0433",month:"\u043C\u043C",day:"\u0434\u0434"},bn:{year:"yyyy",month:"\u09AE\u09BF\u09AE\u09BF",day:"dd"},br:{year:"bbbb",month:"mm",day:"dd"},bs:{year:"gggg",month:"mm",day:"dd"},ca:{year:"aaaa",month:"mm",day:"dd"},cak:{year:"jjjj",month:"ii",day:"q'q'"},ckb:{year:"\u0633\u0627\u06B5",month:"\u0645\u0627\u0646\u06AF",day:"\u0695\u06C6\u0698"},cs:{year:"rrrr",month:"mm",day:"dd"},cy:{year:"bbbb",month:"mm",day:"dd"},da:{year:"\xE5\xE5\xE5\xE5",month:"mm",day:"dd"},de:{year:"jjjj",month:"mm",day:"tt"},dsb:{year:"llll",month:"mm",day:"\u017A\u017A"},el:{year:"\u03B5\u03B5\u03B5\u03B5",month:"\u03BC\u03BC",day:"\u03B7\u03B7"},en:{year:"yyyy",month:"mm",day:"dd"},eo:{year:"jjjj",month:"mm",day:"tt"},es:{year:"aaaa",month:"mm",day:"dd"},et:{year:"aaaa",month:"kk",day:"pp"},eu:{year:"uuuu",month:"hh",day:"ee"},fa:{year:"\u0633\u0627\u0644",month:"\u0645\u0627\u0647",day:"\u0631\u0648\u0632"},ff:{year:"hhhh",month:"ll",day:"\xF1\xF1"},fi:{year:"vvvv",month:"kk",day:"pp"},fr:{year:"aaaa",month:"mm",day:"jj"},fy:{year:"jjjj",month:"mm",day:"dd"},ga:{year:"bbbb",month:"mm",day:"ll"},gd:{year:"bbbb",month:"mm",day:"ll"},gl:{year:"aaaa",month:"mm",day:"dd"},he:{year:"\u05E9\u05E0\u05D4",month:"\u05D7\u05D5\u05D3\u05E9",day:"\u05D9\u05D5\u05DD"},hr:{year:"gggg",month:"mm",day:"dd"},hsb:{year:"llll",month:"mm",day:"dd"},hu:{year:"\xE9\xE9\xE9\xE9",month:"hh",day:"nn"},ia:{year:"aaaa",month:"mm",day:"dd"},id:{year:"tttt",month:"bb",day:"hh"},is:{year:"\xE1\xE1\xE1\xE1",month:"mm",day:"dd"},it:{year:"aaaa",month:"mm",day:"gg"},ja:{year:"\u5E74",month:"\u6708",day:"\u65E5"},ka:{year:"\u10EC\u10EC\u10EC\u10EC",month:"\u10D7\u10D7",day:"\u10E0\u10E0"}
12,kk:{year:"\u0436\u0436\u0436\u0436",month:"\u0430\u0430",day:"\u043A\u043A"},kn:{year:"\u0CB5\u0CB5\u0CB5\u0CB5",month:"\u0CAE\u0CBF\u0CAE\u0CC0",day:"\u0CA6\u0CBF\u0CA6\u0CBF"},ko:{year:"\uC5F0\uB3C4",month:"\uC6D4",day:"\uC77C"},lb:{year:"jjjj",month:"mm",day:"dd"},lo:{year:"\u0E9B\u0E9B\u0E9B\u0E9B",month:"\u0E94\u0E94",day:"\u0EA7\u0EA7"},lt:{year:"mmmm",month:"mm",day:"dd"},lv:{year:"gggg",month:"mm",day:"dd"},meh:{year:"aaaa",month:"mm",day:"dd"},ml:{year:"\u0D35\u0D7C\u0D37\u0D02",month:"\u0D2E\u0D3E\u0D38\u0D02",day:"\u0D24\u0D40\u0D2F\u0D24\u0D3F"},ms:{year:"tttt",month:"mm",day:"hh"},nb:{year:"\xE5\xE5\xE5\xE5",month:"mm",day:"dd"},nl:{year:"jjjj",month:"mm",day:"dd"},nn:{year:"\xE5\xE5\xE5\xE5",month:"mm",day:"dd"},no:{year:"\xE5\xE5\xE5\xE5",month:"mm",day:"dd"},oc:{year:"aaaa",month:"mm",day:"jj"},pl:{year:"rrrr",month:"mm",day:"dd"},pt:{year:"aaaa",month:"mm",day:"dd"},rm:{year:"oooo",month:"mm",day:"dd"},ro:{year:"aaaa",month:"ll",day:"zz"},ru:{year:"\u0433\u0433\u0433\u0433",month:"\u043C\u043C",day:"\u0434\u0434"},sc:{year:"aaaa",month:"mm",day:"dd"},scn:{year:"aaaa",month:"mm",day:"jj"},sk:{year:"rrrr",month:"mm",day:"dd"},sl:{year:"llll",month:"mm",day:"dd"},sr:{year:"\u0433\u0433\u0433\u0433",month:"\u043C\u043C",day:"\u0434\u0434"},"sr-Latn":{year:"gggg",month:"mm",day:"dd"},sv:{year:"\xE5\xE5\xE5\xE5",month:"mm",day:"dd"},szl:{year:"rrrr",month:"mm",day:"dd"},tg:{year:"\u0441\u0441\u0441\u0441",month:"\u043C\u043C",day:"\u0440\u0440"},th:{year:"\u0E1B\u0E1B\u0E1B\u0E1B",month:"\u0E14\u0E14",day:"\u0E27\u0E27"},tr:{year:"yyyy",month:"aa",day:"gg"},uk:{year:"\u0440\u0440\u0440\u0440",month:"\u043C\u043C",day:"\u0434\u0434"},"zh-CN":{year:"\u5E74",month:"\u6708",day:"\u65E5"},"zh-TW":{year:"\u5E74",month:"\u6708",day:"\u65E5"}},"en");function JS(e,t,n){return e==="era"||e==="dayPeriod"?t:e==="year"||e==="month"||e==="day"?XS.getStringForLocale(e,n):"\u2013\u2013"}class Pt{constructor(t,n,r){if(this.era=r?.era??null,this.calendar=t,this.year=r?.year??null,this.month=r?.month??null,this.day=r?.day??null,this.hour=r?.hour??null,this.hourCycle=n,this.dayPeriod=null,this.minute=r?.minute??null,this.second=r?.second??null,this.millisecond=r?.millisecond??null,this.offset="offset"in(r??{})?r.offset:null,this.hour!=null){let[a,o]=Hn(this.hour,n);this.dayPeriod=a,this.hour=o}}copy(){let t=new Pt(this.calendar,this.hourCycle);return t.era=this.era,t.year=this.year,t.month=this.month,t.day=this.day,t.hour=this.hour,t.dayPeriod=this.dayPeriod,t.minute=this.minute,t.second=this.second,t.millisecond=this.millisecond,t.offset=this.offset,t}isComplete(t){return t.every(n=>this[n]!=null)}validate(t,n){return n.every(r=>{if((r==="hour"||r==="dayPeriod")&&"hour"in t){let[a,o]=Hn(t.hour,this.hourCycle);return this.dayPeriod===a&&this.hour===o}return this[r]===t[r]})}isCleared(t){return t.every(n=>this[n]===null)}set(t,n,r){let a=this.copy();return a[t]=n,t==="hour"&&a.dayPeriod==null&&"hour"in r&&(a.dayPeriod=Hn(r.hour,this.hourCycle)[0]),t==="year"&&a.era==null&&(a.era=r.era),t!=="second"&&t!=="literal"&&t!=="timeZoneName"&&(a.offset=null),a}clear(t){let n=this.copy();return n[t]=null,t==="year"&&(n.era=null),n.offset=null,n}cycle(t,n,r,a){let o=this.copy();if(o[t]==null&&t!=="dayPeriod"&&t!=="era"){if(t==="hour"&&"hour"in r){let[i,s]=Hn(r.hour,this.hourCycle);o.dayPeriod=i,o.hour=s}else o[t]=r[t];return t==="year"&&o.era==null&&(o.era=r.era),o}switch(t){case"era":{let i=this.calendar.getEras(),s=i.indexOf(o.era);s=Pn(s,n,0,i.length-1),o.era=i[s];break}case"year":{let i=new st(this.calendar,this.era??r.era,this.year??r.year,this.month??1,this.day??1);i=i.cycle(t,n,{round:t==="year"}),o.era=i.era,o.year=i.year;break}case"month":o.month=Pn(o.month??1,n,1,this.calendar.getMaximumMonthsInYear());break;case"day":o.day=Pn(o.day??1,n,1,this.calendar.getMaximumDaysInMonth());break;case"hour":{let i=a.some(s=>["year","month","day"].includes(s));if("timeZone"in r&&(!i||o.year!=null&&o.month!=null&&o.day!=null)){let s=this.toValue(r);s=s.cycle("hour",n,{hourCycle:this.hourCycle==="h12"?12:24,round:!1});let[l,c]=Hn(s.hour,this.hourCycle);o.hour=c,o.dayPeriod=l,o.offset=s.offset}else{let s=o.hour??0,l=this.getSegmentLimits("hour");o.hour=Pn(s,n,l.minValue,l.maxValue),o.dayPeriod==null&&"hour"in r&&(o.dayPeriod=Hn(r.hour,this.hourCycle)[0])}break}case"dayPeriod":o.dayPeriod=Pn(o.dayPeriod??0,n,0,1);break;case"minute":o.minute=Pn(o.minute??0,n,0,59,!0);break;case"second":o.second=Pn(o.second??0,n,0,59,!0);break}return o}toValue(t){if("hour"in t){let n=this.hour;n!=null?n=QS(n,this.dayPeriod??0,this.hourCycle):(this.hourCycle==="h12"||this.hourCycle==="h11")&&(n=this.dayPeriod===1?12:0);let r=t.set({era:this.era??t.era,year:this.year??t.year,month:this.month??t.month,day:this.day??t.day,hour:n??t.hour,minute:this.minute??t.minute,second:this.second??t.second,millisecond:this.millisecond??t.millisecond});return"offset"in r&&this.offset!=null&&r.offset!==this.offset&&(r=r.add({milliseconds:r.offset-this.offset})),r}else return t.set({era:this.era??t.era,year:this.year??t.year,month:this.month??t.month,day:this.day??t.day})}getSegmentLimits(t){switch(t){case"era":{let n=this.calendar.getEras();return{value:this.era!=null?n.indexOf(this.era):n.length-1,minValue:0,maxValue:n.length-1}}case"year":return{value:this.year,minValue:1,maxValue:9999};case"month":return{value:this.month,minValue:1,maxValue:this.calendar.getMaximumMonthsInYear()};case"day":return{value:this.day,minValue:1,maxValue:this.calendar.getMaximumDaysInMonth()};case"dayPeriod":return{value:this.dayPeriod,minValue:0,maxValue:1};case"hour":{let n=0,r=23;return this.hourCycle==="h12"?(n=1,r=12):this.hourCycle==="h11"&&(n=0,r=11),{value:this.hour,minValue:n,maxValue:r}}case"minute":return{value:this.minute,minValue:0,maxValue:59};case"second":return{value:this.second,minValue:0,maxValue:59}}}}function Pn(e,t,n,r,a=!1){if(a){e+=Math.sign(t),e<n&&(e=r);let o=Math.abs(t);t>0?e=Math.ceil(e/o)*o:e=Math.floor(e/o)*o,e>r&&(e=n)}else e+=t,e<n?e=r-(n-e-1):e>r&&(e=n+(e-r-1));return e}function Hn(e,t){let n=e>=12?1:0;switch(t){case"h11":e>=12&&(e-=12);break;case"h12":e===0?e=12:e>12&&(e-=12);break;case"h23":n=null;break;case"h24":e+=1,n=null}return[n,e]}function QS(e,t,n){switch(n){case"h11":t===1&&(e+=12);break;case"h12":e===12&&(e=0),t===1&&(e+=12);break;case"h24":e-=1;break}return e}const Qi={year:!0,month:!0,day:!0,hour:!0,minute:!0,second:!0,dayPeriod:!0,era:!0},Qf={year:5,month:2,day:7,hour:2,minute:15,second:15},e0={dayperiod:"dayPeriod",relatedYear:"year",yearName:"literal",unknown:"literal"};function t0(e){let{locale:t,createCalendar:n,hideTimeZone:r,isDisabled:a=!1,isReadOnly:o=!1,isRequired:i=!1,minValue:s,maxValue:l,isDateUnavailable:c}
12=e,d=e.value||e.defaultValue||e.placeholderValue||null,[u,m]=Ji(d,e.granularity),h=m||"UTC";if(d&&!(u in d))throw new Error("Invalid granularity "+u+" for value "+d.toString());let[b,g]=H(()=>{let X=new lt(t,{dateStyle:"short",timeStyle:"short",hour12:e.hourCycle!=null?e.hourCycle===12:void 0}).resolvedOptions();return[n(X.calendar),X.hourCycle]},[t,e.hourCycle,n]),[v,y]=ct(e.value,e.defaultValue??null,e.onChange),[$]=j(v),C=H(()=>Jf(v,b)??null,[v,b]),[x,E]=j(()=>new Pt(b,g,C)),T=b.identifier==="gregory"&&x.era==="BC",I=H(()=>({granularity:u,maxGranularity:e.maxGranularity??"year",timeZone:m,hideTimeZone:r,hourCycle:e.hourCycle,showEra:T,shouldForceLeadingZeros:e.shouldForceLeadingZeros}),[e.maxGranularity,u,e.hourCycle,e.shouldForceLeadingZeros,m,r,T]),k=H(()=>Vt({},I),[I]),K=H(()=>new lt(t,k),[t,k]),U=H(()=>K.resolvedOptions(),[K]),B=H(()=>YS(e.placeholderValue,u,b,m),[e.placeholderValue,u,b,m]),N=H(()=>{let z=g==="h11"||g==="h12",X=["era","year","month","day","hour",...z?["dayPeriod"]:[],"minute","second"],se=X.indexOf(e.maxGranularity||"era"),J=X.indexOf(u==="hour"&&z?"dayPeriod":u);return X.slice(se,J+1)},[e.maxGranularity,u,g]),[_,P]=j(C),[R,V]=j(b),[A,O]=j(g);(C!==_||g!==A||!ua(b,R))&&(x=new Pt(b,g,C),P(C),V(b),O(g),E(x));let L=z=>{if(!(e.isDisabled||e.isReadOnly))if(z==null||z instanceof Pt&&z.isCleared(N))E(new Pt(b,g,C)),y(null);else if(!(z instanceof Pt))z=Fe(z,d?.calendar||new Qe),E(new Pt(b,g,C)),y(z);else{if(z.isComplete(N)){let X=z.toValue(C??B);if(z.validate(X,N)){let se=Fe(X,d?.calendar||new Qe);if(!v||se.compare(v)!==0){E(new Pt(b,g,C)),y(se);return}}}E(z)}},D=H(()=>x.toValue(C??B).toDate(h),[x,h,C,B]),q=H(()=>n0(D,x,K,U,b,t,u),[D,K,U,x,b,t,u]),te=(z,X)=>{L(x.cycle(z,X,B,N))},Z=H(()=>Ra(v,s,l,c,I),[v,s,l,c,I]),W=yr({...e,value:v,builtinValidation:Z}),ne=W.displayValidation.isInvalid,oe=e.validationState||(ne?"invalid":null);return{...W,value:C,defaultValue:e.defaultValue??$,dateValue:D,calendar:b,setValue:L,segments:q,dateFormatter:K,validationState:oe,isInvalid:ne,granularity:u,maxGranularity:e.maxGranularity??"year",isDisabled:a,isReadOnly:o,isRequired:i,increment(z){te(z,1)},decrement(z){te(z,-1)},incrementPage(z){te(z,Qf[z]||1)},decrementPage(z){te(z,-(Qf[z]||1))},incrementToMax(z){let X=z==="hour"&&g==="h12"?11:x.getSegmentLimits(z).maxValue;L(x.set(z,X,B))},decrementToMin(z){let X=z==="hour"&&g==="h12"?12:x.getSegmentLimits(z).minValue;L(x.set(z,X,B))},setSegment(z,X){L(x.set(z,X,B))},confirmPlaceholder(){if(!(e.isDisabled||e.isReadOnly)&&x.isComplete(N)){let z=x.toValue(C??B),X=Fe(z,d?.calendar||new Qe);(!v||X.compare(v)!==0)&&y(X),E(new Pt(b,g,C))}},clearSegment(z){let X=x;z!=="timeZoneName"&&z!=="literal"&&(X=x.clear(z)),L(X)},formatValue(z){if(!C)return"";let X=Vt(z,I);return new lt(t,X).format(D)},getDateFormatter(z,X){let se={...I,...X},J=Vt({},se);return new lt(z,J)}}}function n0(e,t,n,r,a,o,i){let s=["hour","minute","second"],l=n.formatToParts(e),c=new Bi(o,{useGrouping:!1}),d=new Bi(o,{useGrouping:!1,minimumIntegerDigits:2});for(let m of l)if(m.type==="year"||m.type==="month"||m.type==="day"||m.type==="hour"){let h=t[m.type]??0;r[m.type]==="2-digit"?m.value=d.format(h):m.value=c.format(h)}let u=[];for(let m of l){let h=e0[m.type]||m.type,b=Qi[h];h==="era"&&a.getEras().length===1&&(b=!1);let g=Qi[h]&&t[m.type]==null,v=Qi[h]?JS(h,m.value,o):null,y={type:h,text:g?v:m.value,...t.getSegmentLimits(h),isPlaceholder:g,placeholder:v,isEditable:b};h==="hour"?(u.push({type:"literal",text:"\u2066",isPlaceholder:!1,placeholder:"",isEditable:!1}),u.push(y),h===i&&u.push({type:"literal",text:"\u2069",isPlaceholder:!1,placeholder:"",isEditable:!1})):s.includes(h)&&h===i?(u.push(y),u.push({type:"literal",text:"\u2069",isPlaceholder:!1,placeholder:"",isEditable:!1})):u.push(y)}return u}function r0(e){let t=Kn(e),[n,r]=ct(e.value,e.defaultValue||null,e.onChange),[a]=j(n),o=n||e.placeholderValue||null,[i,s]=Ji(o,e.granularity),l=n!=null?n.toDate(s??"UTC"):null,c=i==="hour"||i==="minute"||i==="second",d=e.shouldCloseOnSelect??!0,[u,m]=j(null),[h,b]=j(null);if(n&&(u=n,"hour"in n&&(h=n)),o&&!(i in o))throw new Error("Invalid granularity "+i+" for value "+o.toString());let g=n?.calendar.identifier==="gregory"&&n.era==="BC",v=H(()=>({granularity:i,timeZone:s,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,shouldForceLeadingZeros:e.shouldForceLeadingZeros,showEra:g}),[i,e.hourCycle,e.shouldForceLeadingZeros,s,e.hideTimeZone,g]),{minValue:y,maxValue:$,isDateUnavailable:C}=e,x=H(()=>Ra(n,y,$,C,v),[n,y,$,C,v]),E=yr({...e,value:n,builtinValidation:x}),T=E.displayValidation.isInvalid,I=e.validationState||(T?"invalid":null),k=(B,N)=>{r("timeZone"in N?N.set(ze(B)):wt(B,N)),m(null),b(null),E.commitValidation()},K=B=>{let N=typeof d=="function"?d():d;c?h||N?k(B,h||_n(e.defaultValue||e.placeholderValue)):m(B):(r(B),E.commitValidation()),N&&t.setOpen(!1)},U=B=>{u&&B?k(u,B):b(B)};return{...E,value:n,defaultValue:e.defaultValue??a,setValue:r,dateValue:u,timeValue:h,setDateValue:K,setTimeValue:U,granularity:i,hasTime:c,...t,setOpen(B){!B&&!n&&u&&c&&k(u,h||_n(e.defaultValue||e.placeholderValue)),t.setOpen(B)},validationState:I,isInvalid:T,formatValue(B,N){if(!l)return"";let _=Vt(N,v);return new lt(B,_).format(l)},getDateFormatter(B,N){let _={...v,...N},P=Vt({},_);return new lt(B,P)}}}function a0(e){let t=Kn(e),[n,r]=ct(e.value,e.defaultValue||null,e.onChange),[a]=j(n),[o,i]=j(()=>n||{start:null,end:null});n==null&&o.start&&o.end&&(o={start:null,end:null}
12,i(o));let s=n||o,l=P=>{s=P||{start:null,end:null},i(s),Tn(s)?r(s):r(null)},c=s?.start||s?.end||e.placeholderValue||null,[d,u]=Ji(c,e.granularity),m=d==="hour"||d==="minute"||d==="second",h=e.shouldCloseOnSelect??!0,[b,g]=j(null),[v,y]=j(null);s&&Tn(s)&&(b=s,"hour"in s.start&&(v=s));let $=(P,R)=>{l({start:"timeZone"in R.start?R.start.set(ze(P.start)):wt(P.start,R.start),end:"timeZone"in R.end?R.end.set(ze(P.end)):wt(P.end,R.end)}),g(null),y(null),B.commitValidation()},C=P=>{let R=typeof h=="function"?h():h;m?Tn(P)&&(R||v?.start&&v?.end)?$(P,{start:v?.start||_n(e.placeholderValue),end:v?.end||_n(e.placeholderValue)}):g(P):Tn(P)?(l(P),B.commitValidation()):g(P),R&&t.setOpen(!1)},x=P=>{Tn(b)&&Tn(P)?$(b,P):y(P)},E=s?.start?.calendar.identifier==="gregory"&&s.start.era==="BC"||s?.end?.calendar.identifier==="gregory"&&s.end.era==="BC",T=H(()=>({granularity:d,timeZone:u,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,shouldForceLeadingZeros:e.shouldForceLeadingZeros,showEra:E}),[d,e.hourCycle,e.shouldForceLeadingZeros,u,e.hideTimeZone,E]),{minValue:I,maxValue:k,isDateUnavailable:K}=e,U=H(()=>jS(s,I,k,K?P=>K(P,null):void 0,T),[s,I,k,K,T]),B=yr({...e,value:n,name:H(()=>[e.startName,e.endName].filter(P=>P!=null),[e.startName,e.endName]),builtinValidation:U}),N=B.displayValidation.isInvalid,_=e.validationState||(N?"invalid":null);return{...B,value:s,defaultValue:e.defaultValue??a,setValue:l,dateRange:b,timeRange:v,granularity:d,hasTime:m,setDate(P,R){C(P==="start"?{start:R,end:b?.end??null}:{start:b?.start??null,end:R})},setTime(P,R){x(P==="start"?{start:R,end:v?.end??null}:{start:v?.start??null,end:R})},setDateTime(P,R){l(P==="start"?{start:R,end:s?.end??null}:{start:s?.start??null,end:R})},setDateRange:C,setTimeRange:x,...t,setOpen(P){!P&&!(s?.start&&s?.end)&&Tn(b)&&m&&$(b,{start:v?.start||_n(e.placeholderValue),end:v?.end||_n(e.placeholderValue)}),t.setOpen(P)},validationState:_,isInvalid:N,formatValue(P,R){if(!s||!s.start||!s.end)return null;let V="timeZone"in s.start?s.start.timeZone:void 0,A=e.granularity||(s.start&&"minute"in s.start?"minute":"day"),O="timeZone"in s.end?s.end.timeZone:void 0,L=e.granularity||(s.end&&"minute"in s.end?"minute":"day"),D=Vt(R,{granularity:A,timeZone:V,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,showEra:s.start.calendar.identifier==="gregory"&&s.start.era==="BC"||s.end.calendar.identifier==="gregory"&&s.end.era==="BC"}),q=s.start.toDate(V||"UTC"),te=s.end.toDate(O||"UTC"),Z=new lt(P,D),W;if(V===O&&A===L&&s.start.compare(s.end)!==0){try{let ne=Z.formatRangeToParts(q,te),oe=-1;for(let se=0;se<ne.length;se++){let J=ne[se];if(J.source==="shared"&&J.type==="literal")oe=se;else if(J.source==="endRange")break}let z="",X="";for(let se=0;se<ne.length;se++)se<oe?z+=ne[se].value:se>oe&&(X+=ne[se].value);return{start:z,end:X}}catch{}W=Z}else{let ne=Vt(R,{granularity:L,timeZone:O,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle});W=new lt(P,ne)}return{start:Z.format(q),end:W.format(te)}},getDateFormatter(P,R){let V={...T,...R},A=Vt({},V);return new lt(P,A)}}}function Tn(e){return e?.start!=null&&e.end!=null}function em(e){return null}em.getCollectionNode=function*(t,n){let{childItems:r,title:a,children:o}=t,i=t.title||t.children,s=t.textValue||(typeof i=="string"?i:"")||t["aria-label"]||"";!s&&n?.suppressTextValueWarning,yield{type:"item",props:t,rendered:i,textValue:s,"aria-label":t["aria-label"],hasChildNodes:o0(t),*childNodes(){if(r)for(let l of r)yield{type:"item",value:l};else if(a){let l=[];re.Children.forEach(o,c=>{l.push({type:"item",element:c})}),yield*l}}}};function o0(e){return e.hasChildItems!=null?e.hasChildItems:!!(e.childItems||e.title&&re.Children.count(e.children)>0)}let tm=em;function nm(e){return null}nm.getCollectionNode=function*(t){let{children:n,title:r,items:a}=t;yield{type:"section",props:t,hasChildNodes:!0,rendered:r,"aria-label":t["aria-label"],*childNodes(){if(typeof n=="function"){if(!a)throw new Error("props.children was a function but props.items is missing");for(let o of a)yield{type:"item",value:o,renderer:n}}else{let o=[];re.Children.forEach(n,i=>{o.push({type:"item",element:i})}),yield*o}}}};let rm=nm;function i0(e,t){let{cursor:n,getKey:r}=e;return{setSelectedKeys(a){t(o=>({...o,selectedKeys:a}))},addKeysToSelection(a){t(o=>o.selectedKeys==="all"?o:a==="all"?{...o,selectedKeys:"all"}:{...o,selectedKeys:new Set([...o.selectedKeys,...a])})},removeKeysFromSelection(a){t(o=>{if(a==="all")return{...o,selectedKeys:new Set};let i=o.selectedKeys==="all"?new Set(o.items.map(r)):new Set(o.selectedKeys);for(let s of a)i.delete(s);return{...o,selectedKeys:i}})},setFilterText(a){t(o=>({...o,filterText:a}))},insert(a,...o){t(i=>Dr(i,a,...o))},insertBefore(a,...o){t(i=>{let s=i.items.findIndex(l=>r?.(l)===a);if(s===-1)if(i.items.length===0)s=0;else return i;return Dr(i,s,...o)})},insertAfter(a,...o){t(i=>{let s=i.items.findIndex(l=>r?.(l)===a);if(s===-1)if(i.items.length===0)s=0;else return i;return Dr(i,s+1,...o)})},prepend(...a){t(o=>Dr(o,0,...a))},append(...a){t(o=>Dr(o,o.items.length,...a))},remove(...a){t(o=>
12{let i=new Set(a),s=o.items.filter(c=>!i.has(r(c))),l="all";if(o.selectedKeys!=="all"){l=new Set(o.selectedKeys);for(let c of a)l.delete(c)}return n==null&&s.length===0&&(l=new Set),{...o,items:s,selectedKeys:l}})},removeSelectedItems(){t(a=>{if(a.selectedKeys==="all")return{...a,items:[],selectedKeys:new Set};let o=a.selectedKeys,i=a.items.filter(s=>!o.has(r(s)));return{...a,items:i,selectedKeys:new Set}})},move(a,o){t(i=>{let s=i.items.findIndex(d=>r(d)===a);if(s===-1)return i;let l=i.items.slice(),[c]=l.splice(s,1);return l.splice(o,0,c),{...i,items:l}})},moveBefore(a,o){t(i=>{let s=i.items.findIndex(d=>r(d)===a);if(s===-1)return i;let c=(Array.isArray(o)?o:[...o]).map(d=>i.items.findIndex(u=>r(u)===d)).sort((d,u)=>d-u);return am(i,c,s)})},moveAfter(a,o){t(i=>{let s=i.items.findIndex(d=>r(d)===a);if(s===-1)return i;let c=(Array.isArray(o)?o:[...o]).map(d=>i.items.findIndex(u=>r(u)===d)).sort((d,u)=>d-u);return am(i,c,s+1)})},update(a,o){t(i=>{let s=i.items.findIndex(c=>r(c)===a);if(s===-1)return i;let l;return typeof o=="function"?l=o(i.items[s]):l=o,{...i,items:[...i.items.slice(0,s),l,...i.items.slice(s+1)]}})}}}function Dr(e,t,...n){return{...e,items:[...e.items.slice(0,t),...n,...e.items.slice(t)]}}function am(e,t,n){n-=t.filter(o=>o<n).length;let r=t.map(o=>({from:o,to:n++}));for(let o=0;o<r.length;o++){let i=r[o].from;for(let s=o;s<r.length;s++)r[s].from>i&&r[s].from--}for(let o=0;o<r.length;o++){let i=r[o];for(let s=r.length-1;s>o;s--){let l=r[s];l.from<i.to?i.to++:l.from++}}let a=e.items.slice();for(let o of r){let[i]=a.splice(o.from,1);a.splice(o.to,0,i)}return{...e,items:a}}function s0(e,t){let n;switch(e.state){case"idle":case"error":switch(t.type){case"loading":case"loadingMore":case"sorting":case"filtering":return{...e,filterText:t.filterText??e.filterText,state:t.type,items:t.type==="loading"?[]:e.items,sortDescriptor:t.sortDescriptor??e.sortDescriptor,abortController:t.abortController};case"update":return{...e,...t.updater?.(e)};case"success":case"error":return e;default:throw new Error(`Invalid action "${t.type}" in state "${e.state}"`)}case"loading":case"sorting":case"filtering":switch(t.type){case"success":return t.abortController!==e.abortController?e:(n=t.selectedKeys??e.selectedKeys,{...e,filterText:t.filterText??e.filterText,state:"idle",items:[...t.items??[]],selectedKeys:n==="all"?"all":new Set(n),sortDescriptor:t.sortDescriptor??e.sortDescriptor,abortController:void 0,cursor:t.cursor});case"error":return t.abortController!==e.abortController?e:{...e,state:"error",error:t.error,abortController:void 0};case"loading":case"loadingMore":case"sorting":case"filtering":return e.abortController?.abort("aborting current load and starting new one"),{...e,filterText:t.filterText??e.filterText,state:t.type,items:t.type==="loading"?[]:e.items,abortController:t.abortController};case"update":return{...e,...t.updater?.(e)};default:throw new Error(`Invalid action "${t.type}" in state "${e.state}"`)}case"loadingMore":switch(t.type){case"success":return n=e.selectedKeys==="all"||t.selectedKeys==="all"?"all":new Set([...e.selectedKeys,...t.selectedKeys??[]]),{...e,state:"idle",items:[...e.items,...t.items??[]],selectedKeys:n,sortDescriptor:t.sortDescriptor??e.sortDescriptor,abortController:void 0,cursor:t.cursor};case"error":return t.abortController!==e.abortController?e:{...e,state:"error",error:t.error};case"loading":case"sorting":case"filtering":return e.abortController?.abort(),{...e,filterText:t.filterText??e.filterText,state:t.type,items:t.type==="loading"?[]:e.items,abortController:t.abortController};case"loadingMore":return t.abortController?.abort(),e;case"update":return{...e,...t.updater?.(e)};default:throw new Error(`Invalid action "${t.type}" in state "${e.state}"`)}default:throw new Error(`Invalid state "${e.state}"`)}}function om(e){const{load:t,sort:n,initialSelectedKeys:r,initialSortDescriptor:a,getKey:o=u=>u.id||u.key,initialFilterText:i=""}=e;let[s,l]=oo(s0,{state:"idle",error:void 0,items:[],selectedKeys:r==="all"?"all":new Set(r),sortDescriptor:a,filterText:i});const c=async(u,m)=>{let h=new AbortController;try{l({...u,abortController:h});let b=u.filterText??s.filterText,g=await m({items:s.items.slice(),selectedKeys:s.selectedKeys,sortDe
12scriptor:u.sortDescriptor??s.sortDescriptor,signal:h.signal,cursor:u.type==="loadingMore"?s.cursor:void 0,filterText:b,loadingState:s.state}),v=g.filterText??b;l({type:"success",...g,abortController:h}),v&&v!==b&&!h.signal.aborted&&c({type:"filtering",filterText:v},t)}catch(b){l({type:"error",error:b,abortController:h})}};let d=M(!1);return G(()=>{d.current||(c({type:"loading"},t),d.current=!0)},[]),{items:s.items,selectedKeys:s.selectedKeys,sortDescriptor:s.sortDescriptor,isLoading:s.state==="loading"||s.state==="loadingMore"||s.state==="sorting"||s.state==="filtering",loadingState:s.state,error:s.error,filterText:s.filterText,getItem(u){return s.items.find(m=>o(m)===u)},reload(){c({type:"loading"},t)},loadMore(){s.state==="loading"||s.state==="loadingMore"||s.state==="filtering"||s.cursor==null||c({type:"loadingMore"},t)},sort(u){c({type:"sorting",sortDescriptor:u},n||t)},...i0({...e,getKey:o,cursor:s.cursor},u=>{l({type:"update",updater:u})}),setFilterText(u){c({type:"filtering",filterText:u},t)}}}function im(e){let t=Kn(e),[n,r]=j(null),[a,o]=j([]),i=()=>{o([]),t.close()};return{focusStrategy:n,...t,open(c=null){r(c),t.open()},toggle(c=null){r(c),t.toggle()},close(){i()},expandedKeysStack:a,openSubmenu:(c,d)=>{o(u=>d>u.length?u:[...u.slice(0,d),c])},closeSubmenu:(c,d)=>{o(u=>u[d]===c?u.slice(0,d):u)}}}const l0=1500,sm=500;let Dn={},c0=0,Er=!1,Tt=null,En=null;function d0(e={}){let{delay:t=l0,closeDelay:n=sm}=e,{isOpen:r,open:a,close:o}=Kn(e),i=H(()=>`${++c0}`,[]),s=M(null),l=M(o),c=()=>{Dn[i]=m},d=()=>{for(let b in Dn)b!==i&&(Dn[b](!0),delete Dn[b])},u=()=>{s.current&&clearTimeout(s.current),s.current=null,d(),c(),Er=!0,a(),Tt&&(clearTimeout(Tt),Tt=null),En&&(clearTimeout(En),En=null)},m=b=>{b||n<=0?(s.current&&clearTimeout(s.current),s.current=null,l.current()):s.current||(s.current=setTimeout(()=>{s.current=null,l.current()},n)),Tt&&(clearTimeout(Tt),Tt=null),Er&&(En&&clearTimeout(En),En=setTimeout(()=>{delete Dn[i],En=null,Er=!1},Math.max(sm,n)))},h=()=>{d(),c(),!r&&!Er?(Tt&&clearTimeout(Tt),Tt=setTimeout(()=>{Tt=null,Er=!0,u()},t)):r||u()};return G(()=>{l.current=o},[o]),G(()=>()=>{s.current&&clearTimeout(s.current),Dn[i]&&delete Dn[i]},[i]),{isOpen:r,open:b=>{!b&&t>0&&!s.current?h():u()},close:m}}class u0{constructor(t,{expandedKeys:n}={}){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.iterable=t,n=n||new Set;let r=i=>{if(this.keyMap.set(i.key,i),i.childNodes&&(i.type==="section"||n.has(i.key)))for(let s of i.childNodes)r(s)};for(let i of t)r(i);let a=null,o=0;for(let[i,s]of this.keyMap)a?(a.nextKey=i,s.prevKey=a.key):(this.firstKey=i,s.prevKey=void 0),s.type==="item"&&(s.index=o++),a=s,a.nextKey=void 0;this.lastKey=a?.key??null}*[Symbol.iterator](){yield*this.iterable}get size(){return this.keyMap.size}getKeys(){return this.keyMap.keys()}getKeyBefore(t){let n=this.keyMap.get(t);return n?n.prevKey??null:null}getKeyAfter(t){let n=this.keyMap.get(t);return n?n.nextKey??null:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(t){return this.keyMap.get(t)??null}at(t){const n=[...this.getKeys()];return this.getItem(n[t])}}function f0(e){let{onExpandedChange:t}=e,[n,r]=ct(e.expandedKeys?new Set(e.expandedKeys):void 0,e.defaultExpandedKeys?new Set(e.defaultExpandedKeys):new Set,t),a=If(e),o=H(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),i=Rf(e,Q(l=>new u0(l,{expandedKeys:n}),[n]),null);return G(()=>{a.focusedKey!=null&&!i.getItem(a.focusedKey)&&a.setFocusedKey(null)},[i,a.focusedKey]),{collection:i,expandedKeys:n,disabledKeys:o,toggleKey:l=>{r(m0(n,l))},setExpandedKeys:r,selectionManager:new Na(i,a)}}function m0(e,t){let n=new Set(e);return n.has(t)?n.delete(t):n.add(t),n}function gt(...e){return t=>{e.forEach(n=>{typeof n=="function"&&!t.isDefaultPrevented()&&n(t)})}}function La(e,t,...n){return r=>{(n.includes(r.key)||r.keyCode===t||r.which===t)&&e(r)}}function lm(e){e&&e.current&&typeof e.current.click=="function"&&e.current.dispatchEvent(new Event("click"))}function Ma(e){return La(()=>lm(e),13,"Enter")}function es(e){return La(()=>lm(e),32," ","Spacebar")}function cm(e){const t=M(null),n={role:"button",tabIndex:0,onKeyPress:gt(e,Ma(t),es(t))};return[t,n]}function dm(e){const t=M(null),n={role:"link",tabIndex:0,onKeyPress:gt(e,Ma(t))};return[t,n]}function h0(e=new Set){const{userAgent:t}=navigator;return t.indexOf("Safari/")!==-1&&t.indexOf("Chrome/")===-1&&t.indexOf("Chromium/")===-1&&e.add("swan-safari"),t.indexOf("Firefox/")!==-1&&t.indexOf("Seamonkey/")===-1&&e.add("swan-firefox"),t.indexOf("Edg/")!==-1&&e.add("swan-edge"),e}function um(e,t){const[n,r]=j(()=>It(sn(t)));return G(()=>{r(It(h0(sn(t))))},[t]),G(()=>{if(e&&n)try{const a=document.querySelector("head");return a?.classList.add(n),()=>a?.classList.remove(n)}catch{console.info("Could not sync browser class name.")}},[n,e]),n}function Aa(e){return`${e}/get`}function Oa(e){return`${e}/has`}function p0(e,t){return e?.[Oa(t)]===!0}function g0(e,t){return e?.[Aa(t)]}function ts(e,t,n){return p0(e,t)?g0(e,t):n}function fm(e,t,n){const[r,a]=j(()=>typeof window<"u"?ts(window.history.state,e,t):t),o=n?.replace===!0;return G(()=>{const i=ts(window.history.state,e,t);!r&&i&&o?window.history.replaceState({[Aa(e)]:!1,[Oa(e)]:!0},""):JSON.stringify(r)!==JSON.stringify(i)&&(window.history.pushState({[Aa(e)]:r,[Oa(e)]:!0},""),o&&window.history.replaceState({[Aa(e)]:!1,[Oa(e)]:!0},""))},[r,e,t,o]),G(()=>{const i=s=>{const l=ts(s.state,e,t);JSON.stringify(l)!==JSON.stringify(r)&&a(l)};return window.addEventListener("popstate",i),()=>window.removeEventListener("popstate",i)},[r,e,t]),[r,a]}function bt(e){const{value:t,onChange:n,defaultValue:r,defaultOnChange:a}=e,o=t!==void 0,[i,s]=j(r),l=o?t:i;let c;return o?c=n!==void 0?n:()=>{}:c=(...d)=>{a(s,...d),n!==void 0&&n(...d)},[l,c]}function ns(e){return M(e).current!==e}let rs=Math.random().toString(36).substring(2,11),as=0;function mm(e){rs=e}function hm(e){rs=e,as=0}function b0(){return as+=1,`auto-id-${rs}-${as}`}const we=p("useId",e=>{const[t,n]=j(e??void 0);return G(()=>{n(r=>r||b0())},[]),t}),v0=()=>
12{if(typeof window>"u")return!1;const{userAgent:e}=navigator,{vendor:t}=navigator;if(!(t&&t.includes("Apple")&&e.includes("Safari")&&!e.includes("Chrome")))return!1;const{matches:r}=window.matchMedia(`(max-width: ${be.xsEnd}px)`),a=e.match(/Version\/(\d+(\.\d+)?)/);if(a&&a[1]){const o=parseFloat(a[1]);return o>=18&&o<18.2&&e.includes("iPhone")&&r}return!1},pm=p("useHasSafariViewportBug",()=>{const[e,t]=j(!1);return G(()=>{t(v0())},[]),e}),zn=p("useIsomorphicLayoutEffect",typeof document<"u"?Yn:G);function Fr(e={}){const[t,n]=j(e),r=Q((i,s)=>{n(l=>({...l,[i]:s}))},[]),a=Q(i=>{n(s=>{const l={...s};return delete l[i],l})},[]),o=Q(i=>t[i]!==void 0,[t]);return[t,{set:r,remove:a,has:o}]}function gm(e){return!!e?.className.includes(Ye.standardMode)}function os(e,t){let n=e?.parentElement;for(;n&&n!==t;){if(gm(n))return!0;n=n.parentElement}return!1}function bm(e,t,n){if(gm(e.current))t(!1);else{const r=e.current?.closest(`.${Ye[n]}`);if(r){const a=os(e.current,r);t(!a)}else t(!1)}}function Va(e,t){const[n,r]=j(!1),[a,o]=j(!1),[i]=t??[!1];return zn(()=>{bm(e,r,"darkMode"),bm(e,o,"compactMode")},[e,i]),H(()=>({hasDarkMode:n,hasCompactMode:a}),[n,a])}function Be(e,t){const n=ve(e);if(n==null)throw new Error(t??`Context:${e.displayName} is null Or undefined`);return n}var is=p("TransitionStatus",(e=>(e.ENTERED="entered",e.ENTERING="entering",e.EXITED="exited",e.EXITING="exiting",e))(is||{}));function ss(e,t=200){const[n,r]=j(e?"entered":"exited");return G(()=>{r(o=>e?o!=="entered"?"entering":"entered":o!=="exited"?"exiting":"exited");const a=setTimeout(()=>{r(o=>{switch(o){case"entering":return"entered";case"exiting":return"exited";default:return o}})},t);return()=>clearTimeout(a)},[t,e]),n}const Ka=p("AccordionContext",me(void 0));Ka.displayName="AccordionContext";function ls(){return ve(Ka)}const S0=p("SkinEnum",{STANDARD:"standard",COLOR_SWATCHES:"color-swatches"}),cs="Accordion",y0=p("Accordion",S(cs,null,(e,t)=>{pe(cs,ae.accordion),ie(cs,e,[{propName:"fullBleed",instructions:"This prop is deprecated without a replacement as full bleed is now the default behaviour."}]);const{single:n=!1,expandedCollapsibles:r,onRequestExpandedChange:a,defaultExpandedCollapsibles:o,children:i,purpose:s,skin:l="standard",fullBleed:c=!1,...d}=e,u=new Set(["swan-vanilla-ignore","swan-accordion"]);l==="color-swatches"&&u.add(`swan-accordion-skin-${l}`),c&&u.add("swan-accordion-full-bleed"),r!==void 0&&e.single;const[m,h]=bt({value:r||void 0,onChange:a||void 0,defaultValue:o||{},defaultOnChange:(b,...g)=>{const[v,y]=g;b($=>({...n?{}:$,[v]:y}))}});return f(Ka.Provider,{value:{expandedCollapsibleMap:m,requestExpandedChange:h,purpose:s},children:f(w,{root:"div",forwardedRef:t,classNames:u,props:{...d,as:s==="list"?e.as||e.component||"ol":e.as},children:i})})})),w0={swanBaseUrl:zt,swanPathType:Ft.hashed},_a=p("SwanContext",me(w0));_a.displayName="SwanContext";function Qt(){return ve(_a)}const vm={sustainability:an("SwanSemColorFgSustainability")},$e=p("Icon",S("Icon",null,(e,t)=>{ie("Icon",e,[{propName:"size",deprecatedValues:{"10p":'Use size="16p" instead.',"28p":'Use size="standard" instead.',"32p":'Use size="standard" instead.',"40p":'Use size="standard" instead.',"48p":'Use size="standard" instead.',"60p":'Use size="standard" instead.'}},{propName:"skin",deprecatedValues:{white:'Use "standard" instead in dark mode'}}]);const{children:n,src:r,size:a,skin:o="standard",iconType:i,objectFit:s,alt:l,style:c,...d}=e,{swanPathType:u,swanBaseUrl:m,brand:h}=Qt(),b=!!r,g=Object.keys(bl),v=!!(i&&g.includes(i));let y="";i&&v&&(y=St({type:"icon",key:i,pathType:u,baseUrl:m,brand:h}));
12const $=y?`url(${y})`:void 0;let C={...c,maskImage:$,WebkitMaskImage:$};const x=new Set(["swan-icon","swan-icon-mask"]),E=fo(s);return E&&x.add(E),a&&x.add(`swan-icon-size-${a}`),i&&i in vm?C={...C,backgroundColor:vm[i]}:o&&x.add(`swan-icon-skin-${o}`),b?x.add("swan-icon-custom"):v&&x.add(`swan-icon-type-${i}`),f(w,{root:"img",forwardedRef:t,classNames:x,props:{...d,style:C,src:r||($?"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==":void 0),alt:l||"",draggable:!1},children:n})})),Sm=Symbol("hideIconButtonTooltip"),vt={__dangerouslyHideTooltip:Sm},Br=me(null);Br.displayName="SwanI18nContext";function ke(){return ve(Br)}function Ze(){return Be(Br,"This component can only be used within SWAN's new i18n system. Please opt into i18n before using this component.")}const $0="This prop has been replaced by SWAN's i18n system. Please opt into i18n and then remove this prop",C0="This prop is no longer needed as it is handled by the internal i18n system.";function ye(e){return e?C0:$0}function Un(e,t){const n=ke();G(()=>{const r=[];if(n==null){for(const a of t)e[a]===void 0&&r.push(a);r.length&&console.warn(`The '${r.join(", ")}' prop/s are required. Either opt into SWAN's internationalisation support, or pass the props directly.`)}},[n,t,e])}const Ha=p("Spinner",S("Spinner",null,(e,t)=>{const n=ke();ie("Spinner",e,[{propName:"size",deprecatedValues:{mini:'Use size="standard" instead',tiny:'Use size="standard" instead'}},{propName:"accessibleText",instructions:ye(n)}]);const{size:r="standard",accessibleText:a,layout:o="vertical",showText:i=!1,overlay:s=!1,...l}=e;let c=a;n&&c==null&&(c=n.t("spinner.accessible-text"));const d=new Set([]);return d.add("swan-spinner"),r!=="standard"&&d.add(`swan-spinner-${r}`),o==="horizontal"&&d.add("swan-spinner-horizontal"),i&&d.add("swan-spinner-show-text"),s&&d.add("swan-spinner-overlay"),Y(w,{root:"span",forwardedRef:t,classNames:d,props:{...l},children:[f("span",{className:"swan-spinner-animation",children:f("span",{className:"swan-spinner-animation-inner"})}),f("span",{className:"swan-spinner-text",children:c})]})}));function x0(e,t){if(typeof document>"u"||!e)return t;const n=e.replace(/^var\((.+)\)$/,"$1").trim(),r=document.querySelector(`.${Ye.base}[class*="swan-theme-"]`);return r&&getComputedStyle(r).getPropertyValue(n).trim()||t}function Fn(e,t){return x0(an(e),t)}const ym=e=>{const t=me({});t.displayName=`${e}InternalComponentConfig`;function n(){return ve(t)}const r=({config:a,children:o})=>{const i=n(),s=H(()=>({...i,...a}),[a,i]);return f(t.Provider,{value:s,children:o})};return r.displayName="InternalComponentConfigProvider",[r,n,t]},za=p("ModalDialogContext",me(null));za.displayName="ModalDialogContext";function en(){return Be(za)}const[P0,Ir,wm]=ym("Dialog");p({useInternalDialogConfigContext:Ir,DialogConfigContext:wm});const $m=p("Dialog",S("Dialog",null,(e,t)=>{pe("Dialog",ae.modalDialog);const{variant:n="standard",onRequestDismiss:r,takeOver:a=!1,bodyWidth:o="standard",isOpen:i=!1,children:s,isModal:l=!1,onlyRenderWhenOpen:c=!1,bgc:d,backgroundColor:u,...m}=e,[h,b]=j(!!i),[g,v]=j(void 0),[y,$]=j(void 0),C=ss(!!i);Ki({isDisabled:!h||ln()});const x=M(null),E=M(null),T=xe(t,x),I=Q(()=>{x.current?.open&&x.current?.close()},[]),k=Q(B=>{b(!1),vo(r)&&B.target===x.current&&r()},[r]);G(()=>{if(x.current)if(i){const B=window.innerWidth-document.documentElement.clientWidth;B>0&&document.documentElement.style.setProperty("--swan-internal-scrollbar-gutter-width",`${B}px`),b(!0),l?x.current.showModal():x.current.show()}else document.documentElement.style.setProperty("--swan-internal-scrollbar-gutter-width","0px"),I()},[i,l,I]),G(()=>{const B=x.current;let N,_;const P=A=>{N=A.target},R=A=>{_=A.target},V=A=>{l&&A.target===x.current&&N&&N===_?I():(N=null,_=null)};if(B)return B.addEventListener("mousedown",P),B.addEventListener("mouseup",R),B.addEventListener("click",V),B.addEventListener("close",k),()=>{B.removeEventListener("mousedown",P),B.removeEventListener("mouseup",R),B.removeEventListener("click",V),B.removeEventListener("close",k)}},[I,k,l]);const K=_e("swan-dialog","swan-vanilla-ignore",{"swan-dialog-modeless":!l},...yt(m),m.className),U={...$n(m),className:K,"aria-modal":l?"true":"false"};return!m["aria-label"]&&!m["aria-labelledby"]&&g&&(U["aria-labelledby"]=g),f(za.Provider,{value:{showDialog:h,variant:n,transitionState:C,handleModalCloseButton:I,titleId:g,setTitleId:v,bgc:d,backgroundColor:u,takeOver:a??!1,isModal:l??!1,bodyWidth:o||"standard",footerPinned:y,setFooterPinned:$},children:f(P0,{config:{inModal:!0,portal:!1,portalRef:E,dialogRef:x},children:f(w,{root:"dialog",forwardedRef:T,props:U,children:!c||i?s:null})})})})),Cm="swan-theme-",T0=`[class*="${Cm}"]`;function D0(e){const t=e?.closest(T0);return t?Array.from(t.classList).find(r=>r.startsWith(Cm))??null:null}function xm(e,t){const[n,r]=j(null),[a]=t??[!1];return zn(()=>{r(D0(e.current))},[e,a]),n}const Pm=S("Tooltip",null,(e,t)=>{const{children:n,offset:r,triggerRef:a,tooltipState:o,triggerTooltipProps:i,...s}=e,{tooltipProps:l}=PS({},o),{inModal:c,portalRef:d,dialogRef:u}=Ir(),m=Va(a,[o.isOpen]),h=xm(a,[o.isOpen]),b=c&&d.current?d.current:void 0,g=M(null),v=xe(t,g),{overlayProps:y}
12=$f({targetRef:a,overlayRef:g,isOpen:o.isOpen,placement:"top",offset:r??parseInt(Fn("SwanSemSpace3","8")),boundaryElement:c&&u.current?.firstElementChild||void 0}),$=new Set([Ye.base,"swan-tooltip"]);return m.hasDarkMode&&$.add(Ye.darkMode),m.hasCompactMode&&$.add(Ye.compactMode),h&&$.add(h),o.isOpen?f(Wu,{...y,portalContainer:b,children:f(w,{root:"span",forwardedRef:v,classNames:$,props:{...s,...i,...l,"aria-hidden":!0},children:n})}):null});function Tm(e){const{triggerRef:t,isDisabled:n=!1,suppressVirtualFocusTooltip:r=!1}=e,a=d0({delay:0,closeDelay:100}),{triggerProps:o,tooltipProps:i}=TS({isDisabled:n},a,t),{"aria-describedby":s,onFocus:l,...c}=o;return{tooltipProps:i,triggerProps:{...c,onFocus:u=>{r&&un()==="virtual"||l?.(u)}},tooltipState:a}}const ut=p("IconButton",S("IconButton",null,(e,t)=>{const{as:n,component:r,render:a,children:o,tooltip:i,skin:s="secondary",loading:l,"aria-label":c,type:d,__dangerouslyHideTooltip:u=void 0,...m}=e,h=M(null),b=xe(t,h),g=u===Sm,{triggerProps:v,tooltipState:y,tooltipProps:$}=Tm({triggerRef:h,isDisabled:l||m.disabled||g,suppressVirtualFocusTooltip:!0}),C=n??r??"button",x=C==="button"||C==="input"?d??"button":d,E={...he(m,v),as:C,render:a,"aria-label":c??i,"aria-disabled":m["aria-disabled"]??(l||void 0),...C==="button"&&!a?{type:x}:{}},T=new Set(["swan-icon-button",`swan-icon-button-skin-${s}`]);return l&&T.add("swan-icon-button-loading"),Y(qe,{children:[Y(w,{root:"button",forwardedRef:b,classNames:T,props:E,children:[o,l&&f(Ha,{accessibleText:"","aria-hidden":!0})]}),g?null:f(Pm,{triggerRef:h,tooltipState:y,triggerTooltipProps:$,children:i})]})})),Dm=p("ModalDialogBody",S("ModalDialogBody",null,({children:e,...t},n)=>f(w,{root:"div",forwardedRef:n,props:t,classNames:["swan-modal-dialog-body"],children:e}))),E0=p("ModalDialogButtonsText",S("ModalDialogButtonsText",null,({children:e,...t},n)=>f(w,{root:"div",forwardedRef:n,props:t,classNames:["swan-modal-dialog-buttons-text"],children:e}))),F0=p("ModalDialogButtons",S("ModalDialogButtons",null,({children:e,...t},n)=>f(w,{root:"div",forwardedRef:n,props:t,classNames:["swan-modal-dialog-buttons"],children:e}))),Ue=p("VisuallyHidden",S("VisuallyHidden",null,({children:e,...t},n)=>f(w,{root:"span",forwardedRef:n,classNames:["swan-visually-hidden"],props:t,children:e}))),B0=p("ModalDialogCloseButton",S("ModalDialogCloseButton",null,(e,t)=>{const n=ke();ie("ModalDialogCloseButton",e,[{propName:"visuallyHiddenLabel",instructions:ye(n)},{propName:"accessibleText",instructions:ye(n)}]);const{handleModalCloseButton:r}=en(),{visuallyHiddenLabel:a,accessibleText:o,onClick:i,className:s,children:l,...c}=e;let d=o??a;n&&!d&&(d=n.t("modal-dialog.close-button.accessible-text-for-icon"));const u=_e("swan-modal-dialog-close-button",s);return Y(ut,{skin:"tertiary",className:u,ref:t,...c,onClick:gt(i,r),tooltip:"",...vt,children:[d!==null?f(Ue,{children:d}):null,f($e,{iconType:"close",size:"standard"})]})})),Em=p("ModalDialogContent",S("ModalDialogContent",null,(e,t)=>{const{bgc:n,backgroundColor:r,variant:a,takeOver:o,footerPinned:i,bodyWidth:s,transitionState:l,isModal:c}=en(),{portalRef:d}=Ir(),{fullBleed:u=!1,children:m,style:h,...b}=e,g=new Set(["swan-modal-dialog"]);c||g.add("swan-modeless-dialog"),u&&g.add("swan-modal-dialog-skin-full-bleed"),is.ENTERED===l&&g.add("swan-modal-dialog-visible"),a&&["panel-right","panel-left","panel-bottom","panel-top","menu"].includes(a)&&g.add("swan-modal-dialog-panel"),a&&["panel-left","menu"].includes(a)&&g.add("swan-modal-dialog-panel-left"),a&&["panel-right","panel-left","panel-bottom","panel-top","menu"].includes(a)&&s==="capped"&&g.add("swan-modal-dialog-panel-capped"),s==="grow"&&g.add("swan-modal-dialog-grow"),a==="panel-bottom"&&g.add("swan-modal-dialog-panel-bottom"),a==="panel-top"&&g.add("swan-modal-dialog-panel-top"),a==="menu"&&g.add("swan-modal-dialog-panel-menu"),o&&g.add("swan-modal-dialog-takeover"),i&&g.add("swan-modal-dialog-panel-pinned");const v=pm(),y={...h};return v&&(y.minHeight="-webkit-fill-available",y.maxHeight="-webkit-fill-available"),Y(qe,{children:[f(w,{root:"div",forwardedRef:t,classNames:g,props:{bgc:n,backgroundColor:r,...b,style:y},children:m}),f("div",{ref:d})]})})),I0=be.xsEnd,k0=()=>{const{innerHeight:e,innerWidth:t}=window,n=t>e,r=t<=I0;return!(n&&r)},N0=p("ModalDialogFooter",S("ModalDialogFooter",null,({children:e,pinned:t=!1,...n},r)=>{const{setFooterPinned:a,showDialog:o}=en();return Yn(()=>
12{if(!o)return;const i=()=>{a(t?k0():!1)};return i(),window.addEventListener("resize",i),()=>{a(void 0),window.removeEventListener("resize",i)}},[a,o,t]),f(w,{root:"div",forwardedRef:r,props:n,classNames:["swan-modal-dialog-footer"],children:e})})),R0=p("ModalDialogHeader",S("ModalDialogHeader",null,({children:e,...t},n)=>f(w,{root:"div",forwardedRef:n,props:t,classNames:["swan-modal-dialog-header"],children:e}))),L0=p("ModalDialogNav",S("ModalDialogNav",null,({children:e,...t},n)=>{const r=M(null),{showDialog:a}=en();G(()=>{if(!r.current||!a)return;const i=r.current.offsetHeight;r.current.closest("dialog")?.style.setProperty("--swan-internal-modal-dialog-nav-height",`${i}px`)},[a]);const o=xe(n,r);return f(w,{root:"div",forwardedRef:o,props:t,classNames:["swan-modal-dialog-nav"],children:e})})),M0=p("ModalDialogTitle",S("ModalDialogTitle",null,({children:e,id:t,...n},r)=>{const a=we(t),{setTitleId:o}=en();return G(()=>(o(a),()=>o(void 0)),[a,o]),f(w,{root:"h2",forwardedRef:r,props:{...n,id:a},classNames:["swan-modal-dialog-title"],children:e})})),Fm=p("ModalDialog",S("ModalDialog",null,({children:e,...t},n)=>f($m,{ref:n,...t,isModal:!0,children:e}))),A0=S("LightboxCloseButtonInternal",null,(e,t)=>{const n=Ze(),{handleModalCloseButton:r}=en(),{onClick:a,...o}=e;return f(ut,{className:"swan-lightbox-close-button",ref:t,...o,"aria-label":n.t("lightbox.close-button.accessible-text-for-icon"),onClick:gt(a,r),tooltip:"",...vt,children:f($e,{iconType:"close"})})}),[O0,Bm]=ym("Lightbox"),V0=p("Lightbox",S("Lightbox",null,(e,t)=>{pe("Lightbox",[ae.lightbox,ae.modalDialog]);const n=new Set(["swan-lightbox"]),{children:r,onRequestDismiss:a,...o}=e;return f(w,{root:Fm,forwardedRef:t,classNames:n,props:{...o,onRequestDismiss:a,takeOver:!0,onlyRenderWhenOpen:!0},children:Y(Em,{className:"swan-lightbox-content",children:[f(A0,{className:"swan-lightbox-close-button"}),f(Dm,{className:"swan-lightbox-body",children:f(O0,{config:{zoomTrigger:"click",slidesToShow:1},children:r})})]})})})),K0=S("AdaptiveCarouselSlideNavigationInternal",null,(e,t)=>{const{carouselId:n,setPreviousSlide:r,setNextSlide:a,isPreviousDisabled:o,isNextDisabled:i,skin:s="standard",...l}=e,{t:c}=Ze(),d=new Set(["swan-adaptive-carousel-slide-navigation-internal"]),u={"aria-controls":n,skin:s==="promo-bar"?"tertiary":void 0,tooltip:""};return Y(w,{root:"div",forwardedRef:t,classNames:d,props:l,children:[f(ut,{className:o?"swan-adaptive-carousel-slide-navigation-internal-disabled":"","aria-disabled":o?"true":void 0,onClick:o?void 0:r,"aria-label":c("adaptive-carousel-slide-navigation-internal.accessible-text-for-previous-button"),...u,...vt,children:f($e,{iconType:"chevronLeft"})}),f(ut,{className:i?"swan-adaptive-carousel-slide-navigation-internal-disabled":"","aria-disabled":i?"true":void 0,onClick:i?void 0:a,"aria-label":c("adaptive-carousel-slide-navigation-internal.accessible-text-for-next-button"),...u,...vt,children:f($e,{iconType:"chevronRight"})})]})}),_0=S("AdaptiveCarouselSlidePickerInternal",null,(e,t)=>{const{closestPage:n,goToSlide:r,pages:a,...o}=e,{t:i}=Ze();return f(w,{root:"div",forwardedRef:t,classNames:new Set(["swan-adaptive-carousel-slide-picker-internal"]),props:o,children:a.map(l=>f(Dt,{className:"swan-adaptive-carousel-slide-picker-internal-button","aria-current":l===n,onClick:()=>r(l),skin:"unstyled","aria-label":i("adaptive-carousel-slide-picker-internal.accessible-text-for-button",{slideNumber:l+1})},l))})}),Im=me(void 0);function H0(){return Be(Im)}const tn={defaultMerge:Symbol("deepmerge-ts: default merge"),skip:Symbol("deepmerge-ts: skip")};tn.defaultMerge;function z0(e,t){return t}function U0(e,t){return e.filter(n=>n!==void 0)}var km;(function(e){e[e.NOT=0]="NOT",e[e.RECORD=1]="RECORD",e[e.ARRAY=2]="ARRAY",e[e.SET=3]="SET",e[e.MAP=4]="MAP",e[e.OTHER=5]="OTHER"})(km||(km={}));function Nm(e){return typeof e!="object"||e===null?0:Array.isArray(e)?2:j0(e)?1:e instanceof Set?3:e instanceof Map?4:5}function W0(e){const t=new Set;for(const n of e)for(const r of[...Object.keys(n),...Object.getOwnPropertySymbols(n)])t.add(r);return t}function G0(e,t){return typeof e=="object"&&Object.prototype.propertyIsEnumerable.call(e,t)}function Rm(e){let t=0,n=e[0]?.[Symbol.iterator]();return{[Symbol.iterator](){return{next(){do{if(n===void 0)return{done:!0,value:void 0};const r=n.next();if(r.done===!0){t+=1,n=e[t]?.[Symbol.iterator]();continue}return{done:!1,value:r.value}}while(!0)}}}}}const Lm=["[object Object]","[object Module]"];function j0(e){if(!Lm.includes(Object.prototype.toString.call(e)))return!1;const{constructor:t}=e;if(t===void 0)return!0;const n=t.prototype;return!(n===null||typeof n!="object"||!Lm.includes(Object.prototype.toString.call(n))||!n.hasOwnProperty("isPrototypeOf"))}function Z0(e,t,n){const r={};for(const a of W0(e)){const o=[];for(const l of e)G0(l,a)&&o.push(l[a]);if(o.length===0)continue;const i=t.metaDataUpdater(n,{key:a,parents:e}),s=Mm(o,t,i);s!==tn.skip&&(a==="__proto__"?Object.defineProperty(r,a,{value:s,configurable:!0,enumerable:!0,writable:!0}):r[a]=s)}return r}function q0(e){return e.flat()}function Y0(e){return new Set(Rm(e))}function X0(e){return new Map(Rm(e))}function J0(e){return e.at(-1)}const Ua={mergeRecords:Z0,mergeArrays:q0,mergeSets:Y0,mergeMaps:X0,mergeOthers:J0};function Q0(e,t){const n=ey(e,r);function r(...a){return Mm(a,n,t)}return r}function ey(e,t){return{defaultMergeFunctions:Ua,mergeFunctions:{...Ua,...Object.fromEntries(Object.entries(e).filter(([n,r])=>
12Object.hasOwn(Ua,n)).map(([n,r])=>r===!1?[n,Ua.mergeOthers]:[n,r]))},metaDataUpdater:e.metaDataUpdater??z0,deepmerge:t,useImplicitDefaultMerging:e.enableImplicitDefaultMerging??!1,filterValues:e.filterValues===!1?void 0:e.filterValues??U0,actions:tn}}function Mm(e,t,n){const r=t.filterValues?.(e,n)??e;if(r.length===0)return;if(r.length===1)return ds(r,t,n);const a=Nm(r[0]);if(a!==0&&a!==5){for(let o=1;o<r.length;o++)if(Nm(r[o])!==a)return ds(r,t,n)}switch(a){case 1:return ty(r,t,n);case 2:return ny(r,t,n);case 3:return ry(r,t,n);case 4:return ay(r,t,n);default:return ds(r,t,n)}}function ty(e,t,n){const r=t.mergeFunctions.mergeRecords(e,t,n);return r===tn.defaultMerge||t.useImplicitDefaultMerging&&r===void 0&&t.mergeFunctions.mergeRecords!==t.defaultMergeFunctions.mergeRecords?t.defaultMergeFunctions.mergeRecords(e,t,n):r}function ny(e,t,n){const r=t.mergeFunctions.mergeArrays(e,t,n);return r===tn.defaultMerge||t.useImplicitDefaultMerging&&r===void 0&&t.mergeFunctions.mergeArrays!==t.defaultMergeFunctions.mergeArrays?t.defaultMergeFunctions.mergeArrays(e):r}function ry(e,t,n){const r=t.mergeFunctions.mergeSets(e,t,n);return r===tn.defaultMerge||t.useImplicitDefaultMerging&&r===void 0&&t.mergeFunctions.mergeSets!==t.defaultMergeFunctions.mergeSets?t.defaultMergeFunctions.mergeSets(e):r}function ay(e,t,n){const r=t.mergeFunctions.mergeMaps(e,t,n);return r===tn.defaultMerge||t.useImplicitDefaultMerging&&r===void 0&&t.mergeFunctions.mergeMaps!==t.defaultMergeFunctions.mergeMaps?t.defaultMergeFunctions.mergeMaps(e):r}function ds(e,t,n){const r=t.mergeFunctions.mergeOthers(e,t,n);return r===tn.defaultMerge||t.useImplicitDefaultMerging&&r===void 0&&t.mergeFunctions.mergeOthers!==t.defaultMergeFunctions.mergeOthers?t.defaultMergeFunctions.mergeOthers(e):r}const oy=(e,t)=>{const n=[...e[0]??[]];for(let r=1;r<e.length;r++)e[r].forEach((o,i)=>{n[i]=t.deepmerge(n[i],o)});return n};function iy(e){return Q0({mergeArrays:oy})(...e)}function Am(e,t){return Object.keys(e).reduce((r,a)=>{if(!(t.indexOf(a)!==-1)){const i=a;r[i]=e[i]}return r},{})}const sy=typeof window=="object";function ly(e){const{defaultScreenClass:t,breakpoints:n,cascadeMode:r="no-cascade"}=e,a=Object.entries(n).sort(([,v],[,y])=>v>y?1:0),o=a.map(([v])=>v);function i(v){return o.slice(0,o.indexOf(v)+1)}function s(v){return o.slice(o.indexOf(v)).reverse()}const l=me(void 0),c=me(!1),{Provider:d}=l,u=({children:v})=>{const[y,$]=j(t),[C,x]=j(!1);return zn(()=>{if(!sy)return;const E=a.map(([I,k],K)=>{const U=K>0?a[K-1][1]+1:0,B=[];U!==0&&B.push(`(min-width: ${U}px)`),k!==1/0&&B.push(`(max-width: ${k}px)`);const N=B.join(" and "),_=window.matchMedia(N);return _.matches&&($(I),x(!0)),[I,_]}),T=[];return E.forEach(([I,k])=>{const K=U=>{U.matches&&($(I),x(!0))};k.addListener(K),T.push([k,K])}),()=>T.forEach(([I,k])=>I.removeListener(k))},[]),f(c.Provider,{value:C,children:f(d,{value:y,children:v})})};function m(){const v=ve(l);return v===void 0?t:v}function h(){return ve(c)}function b(v){const y=ve(l);if(y===void 0)return Am(v,o);const $=Am(v,o);let C=[];switch(r){case"mobile-first":C=i(y);break;case"desktop-first":C=s(y);break;default:C=[y]}const x=[$,...C.map(E=>v[E]??{})];return iy(x)}function g(v){const y=Xn(($,C)=>{const x=b($);return f(v,{ref:C,...x})});return y.displayName=v.displayName!==void 0?`Responsive(${v.displayName})`:"ResponsiveComponent",y}return{ScreenClassContext:l,ScreenClassProvider:u,useResponsiveProps:b,useScreenClass:m,useIsScreenClassInitialized:h,responsive:g}}const cy={xs:be.xsEnd,sm:be.smEnd,md:be.mdEnd,lg:be.lgEnd,xl:1/0},{ScreenClassProvider:Om,ScreenClassContext:us,useScreenClass:Vm,useIsScreenClassInitialized:Km,responsive:_m,useResponsiveProps:Hm}=ly({breakpoints:cy,defaultScreenClass:"xs",cascadeMode:"mobile-first"});p({ScreenClassProvider:Om,ScreenClassContext:us,useScreenClass:Vm,useIsScreenClassInitialized:Km,responsive:_m,useResponsiveProps:Hm});const dy=(e,t)=>({getPluralKey:(s,l)=>{const d=new Intl.PluralRules(e).select(l),u=`${s}_${d}`;return t[u]?u:t[`${s}_other`]?`${s}_other`:s},formatNumber:(s,l)=>new Intl.NumberFormat(e,l).format(s),formatDate:(s,l)=>new Intl.DateTimeFormat(e,l).format(s),formatDateRange:(s,l,c)=>{const d=new Intl.DateTimeFormat(e,c);return"formatRange"in d&&typeof d.formatRange=="function"?d.formatRange(s,l):`${d.format(s)} \u2013 ${d.format(l)}`},t:(s,l)=>{if(!(s in t))throw new Error(`Missing entry for translation key '${s}'.`);return t[s].replace(/{{(\w+)}}/g,(d,u)=>{if(!l||!(u in l))throw Error(`Missing placeholder for '${u}' in translation key '${s}'`);return l[u].toString()})},translations:t}),zm=p("SwanI18nProvider",e=>{const{translations:t,children:n}=e,r=ve(Br),{locale:a,translations:o}=r||{},i=a||(e.locale?fl(e.locale):void 0);if(!i)throw new Error("SwanI18nProvider requires a locale to be provided either via props or context.");const s=H(()=>{const l={...o,...t},c=dy(i,l);return{locale:i,...c}},[i,o,t]);return f(Br.Provider,{value:s,children:f(Zg,{locale:i,children:n})})});Co();const uy=Ft.hashed,Um=me(!1),Wm=p("SwanProvider",({swanBaseUrl:e,pathType:t,swanPathType:n,swanTenant:r,brand:a,swanLocale:o,globalLinkComponent:i,children:s,translations:l})=>{const c=Qt(),d=ve(Um),u=i??(d?c.globalLinkComponent:void 0),m=H(()=>
12{const g=o&&typeof o=="string"?fl(o):o,v=e||Wr(r,g);return{globalLinkComponent:u,swanBaseUrl:v,swanPathType:n||t||uy,swanTenant:r,brand:a??"vistaprint",swanLocale:g}},[u,e,r,n,t,a,o]),h=H(()=>d?{...c,globalLinkComponent:u}:m,[d,c,u,m]),b=typeof h.swanLocale=="string"&&ho.includes(h.swanLocale);if(l&&!b)throw new Error("`swanLocale` must be a valid locale when `translations` are provided");return G(()=>{xo(h.swanBaseUrl)},[h.swanBaseUrl]),G(()=>{Rl(h.swanBaseUrl)},[h.swanBaseUrl]),f(Um.Provider,{value:!0,children:f(_a.Provider,{value:h,children:b&&l?f(zm,{locale:h.swanLocale,translations:l,children:s}):s})})});Wm.displayName="SwanProvider";const Gm=(e=1)=>{const t=ve(us);if(typeof e=="number")return e;let n=1;if(t===void 0)return n;const r=["xs","sm","md","lg","xl"];for(const a of r)if(n=e[a]??n,t===a)return n;return n},fy=(e,t)=>{const[n,r]=j(null);return G(()=>{if(!("ResizeObserver"in window))return;const a=new ResizeObserver(()=>{if(!e.current)return;let o=null;for(const i of t)if(o=e.current.querySelector(i),o)break;o&&r(o.clientHeight/2)});return e.current&&a.observe(e.current),()=>a.disconnect()},[e,t]),n},kr=(e,t)=>{if(typeof e=="object"){const n=e[t];return n?Math.floor(n):void 0}if(typeof e=="number")return Math.floor(e)};function my({derivedSlidesToShow:e,firstVisibleSlideIndex:t,totalSlides:n}){let r=[];const a=Math.floor(Gm(e)),o=a-1||1;if(a===1)r=Array.from({length:n},(u,m)=>m);else{let u=0;for(;u+a<=n;)r.push(u),u+=o;const m=n-a;!r.includes(m)&&m>=0&&r.push(m)}const i=t===0,s=t+a>=n;let l;i?l=r[0]:s?l=r[r.length-1]:(l=Math.max(...r.filter(u=>u<=t)),l===r[0]&&!i&&(l=r[1]));let c=t+(a-1);n&&c>n-1&&(c=n-1);const d={"--swan-internal-adaptive-carousel-slides-to-show-derived":a,"--swan-internal-adaptive-carousel-slides-to-show-xs":kr(e,"xs"),"--swan-internal-adaptive-carousel-slides-to-show-sm":kr(e,"sm"),"--swan-internal-adaptive-carousel-slides-to-show-md":kr(e,"md"),"--swan-internal-adaptive-carousel-slides-to-show-lg":kr(e,"lg"),"--swan-internal-adaptive-carousel-slides-to-show-xl":kr(e,"xl")};return{calculatedSlidesToShow:a,closestPage:l,lastVisibleSlideIndex:c,pages:r,scrolledToEnd:s,slidesToScroll:o,slidesToShowStyle:d}}const fs=30,hy=200,jm=4,py=p("AdaptiveCarousel",S("AdaptiveCarousel",null,(e,t)=>{pe("AdaptiveCarousel",ae.adaptiveCarousel);const{children:n,onSlideChange:r,skin:a,slidePicker:o="standard",slidesToShow:i,initialSlide:s=1,...l}=e,{getPluralKey:c,t:d}=Ze(),{slidesToShow:u}=Bm();let m=u??i;m==null&&(a==="promo-bar"||o!=="standard"?m=1:m=jm);const h=we(),b=M(!1),g=M(null),v=M(null),y=M(null),[$,C]=j(!0),[x,E]=j(!1),T=fy(g,[".swan-base-tile-image",".swan-standard-tile-image"]),I=L(),k=I.size||Ve.count(n)||0,K=Array.from(I.values()),[U,B]=j(0),{calculatedSlidesToShow:N,closestPage:_,lastVisibleSlideIndex:P,pages:R,scrolledToEnd:V,slidesToScroll:A,slidesToShowStyle:O}=my({derivedSlidesToShow:m,firstVisibleSlideIndex:U,totalSlides:k});G(()=>{E(V)},[V]);function L(){return v.current||(v.current=new Map),v.current}const D=(z,X=!1)=>{const se=k-N,J=Math.min(Math.max(z,0),Math.max(0,se)),fe=K[J];fe&&g.current?.scrollTo?.({left:fe.offsetLeft,behavior:jr()||X?"instant":"smooth"})};Yn(()=>{if(K.length>0&&!b.current){if(b.current=!0,s<=1)return;const z=s-1;D(z,!0)}},[s,K.length]);const q=()=>{const z=g.current;if(!z)return;const X=z.scrollLeft,se=K.findIndex(J=>J.offsetLeft+fs>=X);typeof se=="number"&&(B(se),C(X<=fs),E(X+z.clientWidth+fs>=z.scrollWidth),r&&(y.current&&clearTimeout(y.current),y.current=setTimeout(()=>{r(se+1,P+1)},hy)))},te=()=>{const z=U-A;D(z)},Z=()=>{const z=U+A;D(z)},W=H(()=>d(c("adaptive-carousel.accessible-text-for-visible-slides",N),{start:U+1,end:P+1,totalSlides:k}),[N,U,c,P,d,k]),ne=new Set(["swan-adaptive-carousel"]);a==="promo-bar"&&ne.add("swan-adaptive-carousel-promo-bar");const oe={...l,"aria-roledescription":d("adaptive-carousel.aria-roledescription"),id:h,style:{...O,...T&&{"--swan-internal-adaptive-carousel-arrow-height":`${T}px`},...l.style,"--swan-internal-adaptive-carousel-default-slides":jm}};return f(Im.Provider,{value:{firstVisibleSlideIndex:U,goToSlide:D,lastVisibleSlideIndex:P},children:Y(w,{root:"section",forwardedRef:t,classNames:ne,props:oe,children:[f(K0,{carouselId:h,isPreviousDisabled:$,isNextDisabled:x,setPreviousSlide:te,setNextSlide:Z,skin:a}
12),f("div",{ref:g,className:"swan-adaptive-carousel-track",onScroll:q,tabIndex:0,"data-testid":"adaptive-carousel-track",children:Ve.map(n,(z,X)=>{if(ft(z)){const se=X>=U&&X<=P;return tt(z,{ref:J=>{const fe=L();fe.set(z,J),J||fe.delete(z)},active:se,"aria-label":d("adaptive-carousel.accessible-text-for-slide",{current:X+1,totalSlides:k})})}})}),f(_0,{closestPage:_,goToSlide:D,pages:R}),o!=="standard"?o:void 0,f(Ue,{"aria-live":"polite","data-testid":"adaptive-carousel-live-region",children:W})]})})})),gy=p("AdaptiveCarouselImage",S("AdaptiveCarouselImage",null,(e,t)=>{const{alt:n="",aspectRatio:r,objectFit:a,objectPosition:o,...i}=e,s=new Set(["swan-adaptive-carousel-image"]),l={aspectRatio:r,objectFit:a,objectPosition:o,...i.style};return f(w,{root:"img",forwardedRef:t,classNames:s,props:{alt:n,...i,style:l}})})),by=typeof rn.use=="function",vy=e=>{if(!e)return by?!0:"true"},Sy=p("AdaptiveCarouselSlide",S("AdaptiveCarouselSlide",null,(e,t)=>{const{active:n,alignSelf:r="start",children:a,...o}=e,{t:i}=Ze(),s=new Set(["swan-adaptive-carousel-slide"]);n&&s.add("swan-adaptive-carousel-slide-active");const l={...o,role:"group","aria-hidden":!n,"aria-roledescription":i("adaptive-carousel-slide.aria-roledescription"),inert:vy(n),style:{alignSelf:r,...o.style}};return f(w,{root:"div",forwardedRef:t,classNames:s,props:l,children:a})})),yy=S("ButtonDescription",null,({children:e,...t},n)=>f(w,{root:"span",forwardedRef:n,classNames:["swan-button-description"],props:t,children:e})),wy=p("ButtonDescription",Le({displayName:"ButtonDescription",root:yy,description:"This is deprecated without a replacement."})),Dt=p("Button",S("Button",null,(e,t)=>{ie("Button",e,[{propName:"size",instructions:"Sizing is now handled automatically by standardMode/compactMode"},{propName:"buttonShape",instructions:"Use `IconButton` component for creating icon-only buttons"},{propName:"width",deprecatedValues:{wide:'Use default width or "full-width" for container-width buttons. Note: Neither option will exactly match the previous "wide" behavior.'}},{propName:"specialVariant",instructions:"This is deprecated without a replacement."}]);const{as:n,component:r,render:a,skin:o="secondary",size:i="standard",width:s="standard",specialVariant:l="standard",iconPosition:c,buttonShape:d="standard",children:u,type:m,loading:h,...b}=e,g=["unstyled","clear-selection","link"],v=n??r??"button",y=v==="button"||v==="input"?m??"button":m,$=!g.includes(o??"secondary"),C=new Set([]);if($&&(C.add("swan-button"),C.add(`swan-button-skin-${o}`)),$||C.add(`swan-button-skin-${o}`),d==="round"&&C.add("swan-button-round"),c==="left"&&C.add("swan-button-with-icon-left"),(l==="design-path"&&!c||c==="right")&&C.add("swan-button-with-icon-right"),i!=="standard"&&$&&C.add(`swan-button-${i}`),i!=="standard"&&!$&&C.add(`swan-button-${i}`),s!=="standard"&&C.add(`swan-button-${s}`),l==="design-path"&&C.add("swan-button-design-path"),h&&C.add("swan-button-loading"),v==="input")return f(w,{root:"input",forwardedRef:t,classNames:C,props:{...b,type:y},children:u});const x={"aria-disabled":h||void 0,render:a,as:v,...b,...v==="button"&&!a?{type:y}:{}};return Y(w,{root:"button",forwardedRef:t,classNames:C,props:x,children:[u,h&&f(Ha,{accessibleText:"","aria-hidden":!0})]})})),$y=p("ClearAllButton",S("ClearAllButton",null,({children:e,...t},n)=>f(w,{root:"button",forwardedRef:n,classNames:["swan-link","swan-clear-all-button"],props:t,children:e}))),Cy=p("ClearSelectionButtons",S("ClearSelectionButtons",null,({children:e,...t},n)=>f(w,{root:"div",forwardedRef:n,classNames:["swan-clear-selection-buttons"],props:t,children:e}))),xy=p("AdaptiveCarouselSlidePickerThumbnail",S("AdaptiveCarouselSlidePickerThumbnail",null,(e,t)=>{const{children:n,index:r=0,video:a,...o}=e,{t:i}
12=Ze(),{firstVisibleSlideIndex:s,goToSlide:l}=H0(),c=new Set(["swan-adaptive-carousel-slide-picker-thumbnail"]),d=s===r;return d&&c.add("swan-adaptive-carousel-slide-picker-thumbnail-active"),Y(Dt,{className:It(c),ref:t,...o,skin:"unstyled",onClick:()=>l(r),"aria-label":i("adaptive-carousel-slide-picker-thumbnail.accessible-text-for-button",{slideNumber:r+1}),"aria-current":d?"true":"false",standardMode:!0,children:[n,a&&f("span",{className:"swan-adaptive-carousel-slide-picker-thumbnail-icon",children:f($e,{iconType:"play",darkMode:!0})})]})})),Py=p("AdaptiveCarouselSlidePickerThumbnails",S("AdaptiveCarouselSlidePickerThumbnails",null,(e,t)=>{const{children:n,...r}=e;return f(w,{root:"div",forwardedRef:t,classNames:new Set(["swan-adaptive-carousel-slide-picker-thumbnails"]),props:r,children:Ve.map(n,(o,i)=>ft(o)?tt(o,{index:i}):null)})})),ms=p("AlertBoxContext",me(void 0));function hs(){return Be(ms)}const Ty=p("AlertBoxDismissButton",S("AlertBoxDismissButton",null,(e,t)=>{const{onRequestDismiss:n}=hs(),r=ke();ie("AlertBoxDismissButton",e,[{propName:"visuallyHiddenLabel",instructions:ye(r)},{propName:"accessibleText",instructions:ye(r)}]);const a=new Set(["swan-alert-box-close-button"]),{visuallyHiddenLabel:o,accessibleText:i,children:s,onClick:l,...c}=e;let d=i??o;return r&&!d&&(d=r.t("alert-box-dismiss-button.accessible-text-for-icon")),Y(w,{root:"button",forwardedRef:t,classNames:a,props:{...c,onClick:gt(l,()=>typeof n=="function"&&n())},children:[d!=null&&f(Ue,{children:d}),s]})})),Dy=p("AlertBox",S("AlertBox",null,(e,t)=>{const{swanPathType:n,swanBaseUrl:r}=Qt(),a=ke(),o=St({type:"image",key:"legalWarning",pathType:n,baseUrl:r});pe("AlertBox",ae.alertBox),ie("AlertBox",e,[{propName:"skin",deprecatedValues:{standard:'Use skin="info" instead.',positive:'Use skin="success" instead.'}},{propName:"width",instructions:"To maintain consistent user experience `width` is deprecated without a replacement."},{propName:"accessibleTextForIcon",instructions:ye(a)}]);const{skin:i="info",width:s="standard",toast:l=!1,children:c,accessibleTextForIcon:d,dismissed:u,onRequestDismiss:m,...h}=e,[b,g]=bt({value:u,onChange:m||void 0,defaultValue:!1,defaultOnChange:x=>{x(!0)}});if(b)return null;const v=new Set(["swan-vanilla-ignore","swan-alert-box"]);i&&i!=="info"&&i!=="standard"&&v.add(`swan-alert-box-skin-${i}`),s==="narrow"&&v.add("swan-alert-box-narrow"),l&&v.add("swan-alert-box-toast");const y=i==="standard"?"info":i==="positive"?"success":i;let $=d;a&&!d&&($=a.t(`alert-box.accessible-text-for-skin-${y}-icon`));let C={};return $&&(C={role:"img","aria-label":$}),f(ms.Provider,{value:{onRequestDismiss:g},children:Y(w,{root:"div",forwardedRef:t,classNames:v,props:{...h,role:"alert"},children:[i==="legal-warning"&&o?f("img",{src:o,alt:$||""}):f("span",{...C,className:`swan-alert-box-icon swan-alert-box-icon-${i}`}),c]})})})),Ey=e=>e.map(n=>document.getElementById(n)).filter(n=>!!n).sort((n,r)=>n.getBoundingClientRect().top-r.getBoundingClientRect().top),Fy=e=>t=>{const n=t.target.closest("a");if(!n)return;const r=n.getAttribute("href")??"",o=document.querySelector(r)?.getAttribute("id");if(o){t.preventDefault();const i=document.getElementById(o),{top:s}=i.getBoundingClientRect(),{height:l}=e.getBoundingClientRect(),c=parseInt(Fn("SwanBaseSpace200","16px"));window.scrollTo({top:window.scrollY+s-l-c,behavior:jr()?"instant":"smooth"}),i.getAttribute("tabindex")||i.setAttribute("tabindex","-1"),i.focus({preventScroll:!0})}};function By(e,t,n){if(!("IntersectionObserver"in window))return()=>{};let r=0,a="up";const o={rootMargin:`${-2*t.getBoundingClientRect().height}px 0px`,threshold:0},i=d=>{const u=n.findIndex(m=>m==d.target);return u>=n.length-1?d.target:n[u+1]},s=d=>!!(a==="down"&&!d.isIntersecting||a==="up"&&d.isIntersecting),l=d=>{d.forEach(u=>{a=window.scrollY>r?"down":"up",r=window.scrollY;const h=(a==="down"?i(u):u.target).getAttribute("id")??"";s(u)&&e(h)})},c=new IntersectionObserver(l,o);return n.forEach(d=>{c.observe(d)}),()=>c.disconnect()}function ps(e,t){const[n,r]=j(!1);return G(()=>{if(!t||!("IntersectionObserver"in window))return;const a=new IntersectionObserver(o=>{o.forEach(i=>
12r(i.intersectionRatio<1))},{threshold:1});return e.current&&a.observe(e.current),()=>a.disconnect()},[e,t]),[n]}function Iy(e){G(()=>{const t=e.current;if(!t)return;const n=Fy(t);return t?.addEventListener("click",n),()=>t?.removeEventListener("click",n)},[e])}function ky(e,t){const{sticky:n,setActiveAnchor:r}=t;G(()=>{const a=e.current;if(!a||!n)return;const o=[...a.querySelectorAll(".swan-anchor-bar-list-item a[href]")],i=Ey(o.map(l=>(l.getAttribute("href")??"").replace("#",""))),s=By(r,a,i);return()=>{s()}},[n,e])}function Ny(e,t){const{pinned:n}=t;G(()=>{const r=e.current,a=e.current?.querySelector(".swan-anchor-bar-list");if(!r||!a)return;const o=[...r.querySelectorAll(".swan-anchor-bar-list-item")],i=o[0],s=o[o.length-1],l=new IntersectionObserver(c=>c.forEach(d=>{const u=d.target===i?"swan-anchor-bar-scroll-left":"swan-anchor-bar-scroll-right";d.intersectionRatio<1?r.classList.contains(u)||r.classList.add(u):r.classList.remove(u)}),{threshold:1,root:a});return l.observe(i),l.observe(s),()=>l.disconnect()},[e,n])}function gs(e,t){Iy(e),ky(e,t),Ny(e,t)}const Ry=p("AnchorBar",S("AnchorBar",null,(e,t)=>{pe("AnchorBar",ae.anchorBar);const{children:n,sticky:r=!1,onActiveAnchorChanged:a,...o}=e,i=M(null),[s]=ps(i,r??!1),l=Q(u=>{a&&a(u)},[a]);gs(i,{sticky:r??!1,pinned:s,setActiveAnchor:l});const c=new Set(["swan-anchor-bar"]);r&&c.add("swan-anchor-bar-sticky"),s&&c.add("swan-anchor-bar-sticky-pinned");const d=xe(t,i);return G(()=>{if(!i.current)return;const u="--swan-internal-anchor-bar-el-height";if(s){const m=i.current.offsetHeight;document.documentElement.style.setProperty(u,`${m}px`)}else document.documentElement.style.removeProperty(u)},[s]),f(w,{root:"div",forwardedRef:d,classNames:c,props:{...o,darkMode:e.darkMode,role:"navigation"},children:n})})),Ly=p("AnchorBarList",S("SubNavList",null,(e,t)=>{const n=new Set(["swan-anchor-bar-list"]),{children:r}=e;return f(w,{root:"ul",forwardedRef:t,classNames:n,props:e,children:r})})),Zm=p("ListItem",S("ListItem",null,(e,t)=>{const{children:n,selected:r=!1,...a}=e,o=new Set;return r&&o.add("swan-list-item-selected"),f(w,{root:"li",forwardedRef:t,classNames:o,props:a,children:n})})),qm=p("List",S("List",null,(e,t)=>{const{children:n,skin:r="standard",role:a,...o}=e,i=new Set(["swan-list"]);return r!="standard"&&i.add(`swan-list-skin-${r}`),f(w,{root:"ul",forwardedRef:t,classNames:i,props:{...o,role:r==="minimal"?a??"list":a},children:n})})),Ym=p("OrderedList",S("OrderedList",null,(e,t)=>{const{children:n,skin:r="standard",start:a,...o}=e,i=new Set(["swan-list"]);return r!="standard"&&i.add(`swan-list-skin-${r}`),f(w,{root:"ol",forwardedRef:t,classNames:i,props:{...o,style:{...e.style||{},"--swan-internal-ordered-list-counter":a}},children:n})})),My=p("BulletListContent",S("BulletListContent",null,(e,t)=>f(w,{root:"div",forwardedRef:t,classNames:["swan-bullet-list-contents"],props:e,children:e.children}))),Ay=p("BulletListIcon",S("BulletListIcon",null,(e,t)=>f(w,{root:"img",forwardedRef:t,classNames:["swan-bullet-list-icon"],props:{...e,alt:"",role:"presentation"},children:e.children}))),Oy=p("BulletList",S("BulletList",null,(e,t)=>f(w,{root:"ul",forwardedRef:t,classNames:["swan-bullet-list"],props:e,children:e.children}))),Vy=p("LinkListHeading",S("LinkListHeading",null,(e,t)=>f(w,{root:"h3",forwardedRef:t,classNames:["swan-link-list-heading"],props:e,children:e.children}))),Ky=p("LinkList",S("LinkList",null,(e,t)=>f(w,{root:"ul",forwardedRef:t,classNames:["swan-link-list"],props:e,children:e.children}))),_y=p("Ul",qm),Hy=p("Ol",Ym),Xm=p("Li",Zm),zy=p("AnchorBarListItem",S("AnchorBarListItem",null,(e,t)=>{const n=new Set(["swan-anchor-bar-list-item"]),{children:r}=e;return f(w,{root:Xm,forwardedRef:t,classNames:n,props:e,children:r})})),Uy=p("AnchorBarListItemDescription",S("AnchorBarListItem",null,(e,t)=>{const n=new Set(["swan-anchor-bar-list-item-description"]),{children:r}=e;return f(w,{root:"span",forwardedRef:t,classNames:n,props:e,children:r})})),Jm=p("AspectRatioContainer",S("AspectRatioContainer",null,({children:e,ratio:t,style:n,...r},a)=>f(w,{root:"span",forwardedRef:a,classNames:["swan-aspect-ratio-container"],props:{...r,style:{...n,paddingBottom:t?`${t*100}%`:void 0}},children:e}))),Qm=p("AspectRatioContent",S("AspectRatioContent",null,({children:e,...t},n)=>f(w,{root:"span",forwardedRef:n,classNames:["swan-aspect-ratio-content"],props:t,children:e}))),eh=p("AspectRatio",S("AspectRatio",null,({children:e,...t},n)=>f(Jm,{...t,ref:n,children:f(Qm,{children:e})}))),Wy=p("Avatar",S("Avatar",null,(e,t)=>{pe("Avatar",ae.avatar),ie("Button",e,[{propName:"size",deprecatedValues:{mini:'use width="small" instead. width="mini" has been renamed for consistency with the rest of the system.'}}]);const{src:n,alt:r,size:a="standard",...o}=e,i=new Set(["swan-avatar"]);(a==="mini"||a==="small")&&i.add(`swan-avatar-${a}`);const s={...o,style:{"--swan-internal-avatar-image":n?`url(${n})`:null}};return r&&(s.role="img",s["aria-label"]=r),f(w,{root:"div",forwardedRef:t,classNames:i,props:{...s}})})),Gy=p("Banner",S("Banner",null,(e,t)=>{pe("Banner",ae.banner),ie("Banner",e,[{propName:"textHorizontalAlignOnExtraSmall",instructions:"The text will be by default center aligned on extra small screen size devices and to maintain the consistent user experience, we are deprecating this prop."},{propName:"imageFocalPoint",instructions:"This prop is deprecated and will be removed in a future release. Please set 'imageFocalPoint' on 'BannerImage' or 'BannerSecondaryImage' instead."}]);const{children:n,height:r,textHorizontalAlignOnExtraSmall:a,textBoxHorizontalAlign:o="left",variant:i="card",twoImages:s=!1,multiColumnOffer:l=!1,withLeftHandNavigation:c=!1,preferSecondaryImage:d=!1,hideImageOnExtraSmall:u=!1,editorial:m=!1,imageFocalPoint:h,...b}=e,g=new Set(["swan-banner"]);return g.add(`swan-banner-${i}`),a&&g.add(`swan-banner-text-horizontal-align-on-extra-small-${a}`),o&&g.add(`swan-banner-text-box-horizontal-align-${o}`),r==="short"&&g.add("swan-banner-short"),s&&i==="card"&&g.add("swan-banner-two-images"),l&&g.add("swan-banner-multi-column-offer"),c&&i==="card"&&o==="left"&&g.add("swan-banner-with-left-hand-navigation"),d&&g.add("swan-banner-prefer-secondary-image"),u&&g.add("swan-banner-hide-image-on-extra-small"),m&&g.add("swan-banner-editorial"),h&&g.add(`swan-banner-image-focal-point-${h.replace(/ +/g,"-")}`),f(w,{root:"div",forwardedRef:t,classNames:g,props:b,children:n})})),jy=p("BannerOfferColumn",S("BannerOfferColumn",null,(e,t)=>{const n=["swan-banner-offer-column"],{children:r}=e;return f(w,{root:"div",forwardedRef:t,classNames:n,props:e,children:r})})),Zy=p("BannerOfferColumns",S("BannerOfferColumns",null,(e,t)=>{const n=["swan-banner-offer-columns"],{children:r}=e;return f(w,{root:"div",forwardedRef:t,classNames:n,props:e,children:r})})),qy=p("BannerDescription",S("BannerDescription",null,(e,t)=>{const n=["swan-banner-description"],{children:r}=e;return f(w,{root:"div",forwardedRef:t,classNames:n,props:e,children:r})})),Yy=p("BannerDisplay",S("BannerDisplay",null,(e,t)=>{const n=["swan-banner-display"],{children:r}=e;return f(w,{root:"p",forwardedRef:t,classNames:n,props:e,children:r})})),Xy=p("BannerEyebrow",S("BannerEyebrow",null,(e,t)=>{const n=["swan-banner-eyebrow"],{children:r}=e;return f(w,{root:"p",forwardedRef:t,classNames:n,props:e,children:r})})),Jy=p("BannerFootnote",S("BannerFootnote",null,(e,t)=>{const n=["swan-banner-footnote"],{children:r}=e;return f(w,{root:"p",forwardedRef:t,classNames:n,props:e,children:r})})),Qy=p("BannerImage",S("BannerImage",null,({imageFocalPoint:e,children:t,...n},r)=>{const a=new Set(["swan-banner-image"]);return e&&a.add(`swan-banner-image-focal-point-${e.replace(/ +/g,"-")}`),f(w,{root:"div",forwardedRef:r,classNames:a,props:n,children:t})})),ew=p("BannerImageContainer",S("BannerImageContainer",null,(e,t)=>{const n=["swan-banner-image-container"],{children:r}=e;return f(w,{root:"div",forwardedRef:t,classNames:n,props:e,children:r})})),tw=p("BannerLinks",S("BannerLinks",null,(e,t)=>{const n=["swan-banner-links"],{children:r}=e;return f(w,{root:"div",forwardedRef:t,classNames:n,props:e,children:r})})),nw=p("BannerPrice",S("BannerPrice",null,(e,t)=>{const n=["swan-banner-price"],{children:r}=e;return f(w,{root:"p",forwardedRef:t,classNames:n,props:e,children:r})})),rw=p("BannerSecondaryImage",S("BannerSecondaryImage",null,({imageFocalPoint:e,children:t,...n},r)=>{const a=new Set(["swan-banner-image","swan-banner-secondary-image"]);return e&&a.add(`swan-banner-image-focal-point-${e.replace(/ +/g,"-")}`),f(w,{root:"div",forwardedRef:r,classNames:a,props:n,children:t})})),aw=p("BannerSecondaryImageContainer",S("BannerSecondaryImageContainer",null,(e,t)=>{const n=["swan-banner-image-container","swan-banner-secondary-image-container"],{children:r}=e;return f(w,{root:"div",forwardedRef:t,classNames:n,props:e,children:r})})),ow=p("BannerSubtitle",S("BannerSubtitle",null,(e,t)=>{const n=["swan-banner-subtitle"],{children:r}=e;return f(w,{root:"p",forwardedRef:t,classNames:n,props:e,children:r})})),iw=p("BannerTextContainer",S("BannerTextContainer",null,(e,t)=>{const n=["swan-banner-text-container"],{children:r}=e;return f(w,{root:"div",forwardedRef:t,classNames:n,props:e,children:r})})),sw=p("BannerText",S("BannerText",null,(e,t)=>{const n=["swan-banner-text"],{children:r}=e;return f(w,{root:"div",forwardedRef:t,classNames:n,props:e,children:r})})),lw=p("BannerTitle",S("BannerTitle",null,(e,t)=>{const n=["swan-banner-title"],{children:r}=e;return f(w,{root:"p",forwardedRef:t,classNames:n,props:e,children:r})})),th=p("BoundedContent",S("BoundedContent",null,({children:e,...t},n)=>f(w,{root:"div",classNames:["swan-bounded-content"],forwardedRef:n,props:t,children:e}))),nh=p("BannerWithLeftHandNavigationBelowBannerContents",S("BannerWithLeftHandNavigationBelowBannerContents",null,(e,t)=>{const n=["swan-banner-with-left-hand-navigation-below-banner"],{children:r}=e;return f(w,{root:"div",forwardedRef:t,classNames:n,props:e,children:r})})),cw=p("BannerWithLeftHandNavigationBelowBanner",S("BannerWithLeftHandNavigationBelowBanner",null,(e,t)=>f(th,{ref:t,...e,children:f(nh,{children:e.children})}))),dw=p("DoubleBanner",S("DoubleBanner",null,(e,t)=>{const{children:n,hideFirstBannerBelowMedium:r,hideSecondBannerBelowMedium:a,...o}=e,i=new Set(["swan-double-banner"]);return r&&i.add("swan-double-banner-hide-first-banner-below-medium"),a&&i.add("swan-double-banner-hide-second-banner-below-medium"),f(w,{root:"div",forwardedRef:t,classNames:i,props:o,children:n})}
12)),uw=p("BaseTileBody",S("BaseTileBody",null,(e,t)=>f(w,{root:"div",forwardedRef:t,classNames:["swan-base-tile-body"],props:e,children:e.children}))),fw=p("BaseTileFooter",S("BaseTileFooter",null,(e,t)=>f(w,{root:"div",forwardedRef:t,classNames:["swan-base-tile-footer"],props:e,children:e.children}))),mw=p("BaseTileHeader",S("BaseTileHeader",null,(e,t)=>f(w,{root:"div",forwardedRef:t,classNames:["swan-base-tile-header"],props:e,children:e.children}))),hw=p("BaseTileImage",S("BaseTileImage",null,({aspectRatio:e="1",style:t,...n},r)=>f(w,{root:"img",forwardedRef:r,classNames:["swan-base-tile-image"],props:{...n,style:{...t,aspectRatio:e}}}))),pw=p("BaseTileName",S("BaseTileName",null,(e,t)=>f(w,{root:"div",forwardedRef:t,classNames:["swan-base-tile-name"],props:e,children:e.children}))),gw=p("BaseTileOverlay",S("BaseTileOverlay",null,(e,t)=>{const{children:n,inset:r="standard",position:a,showOnHoverOrFocus:o=!1,...i}=e,s=new Set(["swan-base-tile-overlay",`swan-base-tile-overlay-${a}`]);return r!=="standard"&&s.add(`swan-base-tile-overlay-${r}`),o&&s.add("swan-base-tile-overlay-show-on-hover-or-focus"),f(w,{root:"div",forwardedRef:t,classNames:s,props:i,children:n})})),bw=p("BaseTileTargetAdditional",S("BaseTileTargetAdditional",null,(e,t)=>f(w,{root:"div",forwardedRef:t,classNames:["swan-base-tile-target-additional"],props:e,children:e.children}))),vw=p("BaseTileTargetCovering",S("BaseTileTargetCovering",null,(e,t)=>f(w,{root:"div",forwardedRef:t,classNames:["swan-base-tile-target-covering"],props:e,children:e.children}))),Sw=p("BaseTileTargetImage",S("BaseTileTargetImage",null,(e,t)=>f(w,{root:"a",forwardedRef:t,classNames:["swan-base-tile-target-image","swan-button-skin-unstyled"],props:e,children:e.children}))),yw=p("BaseTile",S("BaseTile",null,(e,t)=>{pe("BaseTile",ae.baseTile);const{children:n,evenHeight:r=!1,skin:a="standard",...o}=e,i=new Set(["swan-base-tile",`swan-base-tile-skin-${a}`]);return r&&i.add("swan-base-tile-even-height"),f(w,{root:"div",forwardedRef:t,classNames:i,props:o,children:n})})),rh=p("Box",S("Box",null,({children:e,...t},n)=>f(w,{root:"div",forwardedRef:n,props:t,children:e}))),bs=p("BreadcrumbList",S("BreadcrumbList",null,({children:e,...t},n)=>f(w,{root:"ul",forwardedRef:n,props:t,children:e}))),ww=p("Breadcrumb",S("Breadcrumb",null,({id:e,children:t,...n},r)=>f(w,{root:"li",forwardedRef:r,classNames:new Set([]),props:{...n,id:e,key:e},children:t}))),$w=p("BreadcrumbsContainer",S("BreadcrumbsContainer",null,({children:e,...t},n)=>f(w,{root:"nav",classNames:["swan-breadcrumbs"],forwardedRef:n,props:t,children:e})));function Cw(e){if(typeof e!="object")return e?["swan-breadcrumbs-hide-current-page"]:[];const t=[];for(const[n,r]of Object.entries(e))Qn(n)&&(r===!0?t.push(n==="xs"?"swan-breadcrumbs-hide-current-page":`swan-breadcrumbs-hide-current-page-${n}`):r===!1&&n!=="xs"&&t.push(`swan-breadcrumbs-show-current-page-${n}`));return t}const xw=p("Breadcrumbs",S("Breadcrumbs",null,(e,t)=>{const n=ke();ie("Breadcrumbs",e,[{propName:"accessibleTextForMore",instructions:ye(n)}]);const{accessibleTextForMore:r,hideCurrentPage:a,children:o,...i}=e,[s,l]=j(!1),c=M(null),d=we(),u=H(()=>{const g=Ve.map(o,(v,y)=>{if(ft(v)&&d){const $=v,C=$.props.id??`${d}-${y}`;return y===1?tt($,{id:C,ref:c}):tt($,{id:C})}return v});return Ve.toArray(g)},[o,d]),m=H(()=>u.map(g=>ft(g)?g.props.id:null),[u]);let h=r;n&&!h&&(h=n.t("breadcrumbs.accessible-text-for-more-button"));function b(){l(!0),setTimeout(()=>{if(!c.current)return;const g=c.current;g.children?.length>0&&g.children[0].focus()},500)}return f(w,{root:"nav",forwardedRef:t,classNames:["swan-breadcrumbs",...Cw(a)],props:i,children:h&&m.length>4?Y(bs,{className:s?"":"swan-breadcrumbs-collapsed",children:[u[0],f("li",{className:"swan-breadcrumbs-button-more",children:f("button",{"aria-label":h,"aria-expanded":"false",onClick:b,"aria-controls":m.slice(1,-2).join(" "),children:"..."})}),u.slice(1)]}):f(bs,{children:u})})})),vs=p("ButtonbarContext",me(null)),ah=p("useButtonbarContext",()=>Be(vs)),Ss=p("ButtonbarButtonContext",me(void 0)),oh=p("useButtonbarButtonContext",()=>Be(Ss)),Pw=p("ButtonbarButtonLabel",S("ButtonbarButtonLabel",null,(e,t)=>{const n=oh();return f(w,{root:"label",forwardedRef:t,props:{...e,htmlFor:n?.inputId},children:e.children})})),Tw=p("ButtonbarButton",S("ButtonbarButton",null,(e,t)=>{const{value:n,children:r,id:a,onChange:o}=e,{variant:i,selectedValues:s,selectedValue:l,onSelectedValuesChange:c,onSelectedValueChange:d,name:u}=ah(),m=we(a),h=i==="multi-select",b=[h?"swan-checkbox":"swan-radio"],g=h?!!s?.includes(n):l===n,y={type:h?"checkbox":"radio",...e,id:m,name:u,value:n,checked:g,onChange:gt(o,h?$=>{$.target.checked?c([...s||[],n],$):c((s||[]).filter(C=>C!==n),$)}:$=>{$.target.checked&&d(n,$)})};return Y(qe,{children:[f(w,{root:"input",forwardedRef:t,props:y,classNames:b}),f(Ss.Provider,{value:{inputId:m},children:r})]})}));function ys(e){return e.variant==="single-select"||e.variant==null}const Dw=e=>{if(ys(e)){const{selectedValue:t,onSelectedValueChange:n,defaultSelectedValue:r,...a}=e;return a}else{const{selectedValues:t,onSelectedValuesChange:n,defaultSelectedValues:r,...a}=e;return a}},Ew=e=>{let t,n,r=null;ys(e)&&(t=e.selectedValue,n=e.onSelectedValueChange,r=e.defaultSelectedValue);const[a,o]=bt({value:t??void 0,onChange:n??void 0,defaultValue:r,defaultOnChange:(u,...m)=>{const[h]=m;u(h)}});let i,s,l=null;ys(e)||(i=e.selectedValues,s=e.onSelectedValuesChange,l=e.defaultSelectedValues);const[c,d]=bt({value:i??void 0,onChange:s??void 0,defaultValue:l||[],defaultOnChange:(u,...m)=>{const[h]=m;u(h)}});return{selectedValue:a,onSelectedValueChange:o,selectedValues:c,onSelectedValuesChange:d}},Fw=p("Buttonbar",S("Buttonbar",null,(e,t)=>{const{children:n,variant:r="single-select",width:a="standard","aria-label":o,"aria-controls":i,name:s,...l}=Dw(e),c=new Set(["swan-buttonbar"]);a!=="standard"&&c.add(`swan-buttonbar-${a}`);const d=we(s),{selectedValue:u,onSelectedValueChange:m,selectedValues:h,onSelectedValuesChange:b}=Ew(e);let g="radiogroup";switch(r){case"toolbar":g="toolbar";break;case"multi-select":g="group";break}const v={...l,role:g,"aria-label":o,"aria-controls":i};return f(vs.Provider,{value:{name:d,variant:r,selectedValue:u,onSelectedValueChange:m,selectedValues:h,onSelectedValuesChange:b},children:f(w,{root:"div",forwardedRef:t,classNames:c,props:v,children:n})})})),Bw=p("Callout",S("Callout",null,(e,t)=>{const{skin:n="info",border:r="standard",variant:a="standard",emphasis:o="standard",size:i="standard",children:s,...l}=e;
12ie("Callout",e,[{propName:"border",instructions:"This is deprecated without a replacement."},{propName:"variant",instructions:'This is deprecated without a replacement. Use emphasis=low for "overlay".'},{propName:"size",instructions:"Sizing is now handled automatically by standardMode/compactMode"},{propName:"skin",deprecatedValues:{discount:'Use skin="promo" instead.',standard:'Use skin="info" instead.',foil:"This is deprecated without a replacement.",new:'Use skin="accent" instead.',announcement:'Use skin="accent" instead.',holiday:"This is deprecated without a replacement."}}]);const c=new Set(["swan-callout"]);return n!=="standard"&&n!=="info"&&c.add(`swan-callout-skin-${n}`),r==="none"&&c.add("swan-callout-borderless"),a==="overlay"&&c.add("swan-callout-overlay"),a==="inverse"&&c.add("swan-callout-inverse"),o==="low"&&c.add("swan-callout-emphasis-low"),i==="mini"&&c.add("swan-callout-mini"),f(w,{root:"span",forwardedRef:t,classNames:c,props:l,children:s})})),ih=p("Card",S("Card",null,(e,t)=>{const{bordered:n=!1,evenHeight:r=!1,fullBleed:a=!1,skin:o,children:i,...s}=e,l=new Set(["swan-card"]);return o==="link"&&l.add("swan-card-skin-link"),n&&l.add("swan-card-bordered"),r&&l.add("swan-card-even-height"),a&&l.add("swan-card-full-bleed"),f(w,{root:"div",forwardedRef:t,classNames:l,props:s,children:i})})),Iw=S("CarouselSlide",null,(e,t)=>{const{children:n,"aria-roledescription":r,...a}=e,o=ke();let i=r;return r===void 0&&o&&(i=o.t("carousel-slide.aria-roledescription")),ie("CarouselSlide",e,[{propName:"aria-roledescription",instructions:ye(o)}]),f(w,{root:"div",forwardedRef:t,classNames:["swan-carousel-slide"],props:{role:"group",...a,"aria-roledescription":i||"slide"},children:n})}),Wa=p("CarouselSlide",Le({description:"Use AdaptiveCarousel instead",displayName:"CarouselSlide",root:Iw}));function kw(e,t=5){const n=M(0),r=M(0);G(()=>{const a=s=>(r.current=s.touches[0].clientX-n.current,Math.abs(r.current)>t?(s.preventDefault(),!1):!0),o=s=>{n.current=s.touches[0].clientX},i=e?.current;return i&&(i.addEventListener("touchstart",o),i.addEventListener("touchmove",a,{passive:!1})),()=>{i&&(i.removeEventListener("touchstart",o),i.removeEventListener("touchmove",a))}})}function sh(e,t){const n=e?.querySelector(".swan-carousel-slide")?.firstElementChild;t(n?.classList?.contains("swan-dark-mode")??!1)}function Nw(e,t){const[n,r]=j(!1),{beforeChange:a,children:o,skin:i}=t,s=Q((l,c)=>{if(a&&a(l,c),i!=="promo-bar")return;const d=e.current?.innerSlider?.list?.querySelectorAll(".slick-slide");d&&sh(d[c],r)},[e,r,i,a]);return G(()=>{if(i!=="promo-bar")return;const l=e.current?.innerSlider?.list?.querySelector(".slick-current");l&&sh(l,r)},[e,o,i]),{forceDarkMode:n,beforeChange:s}}function Rw(){const[e,t]=j(void 0);return G(()=>{let n=!0;return Ep.import("./index-qUnCqHLc.js").then(function(r){return r.i}).then(r=>{n&&t(()=>r.default)}),()=>{n=!1}},[]),e}const lh=({onClick:e,accessibleText:t,iconType:n,className:r,style:a})=>{const o=we();return Y(ut,{tooltip:"",...vt,onClick:e,disabled:r?.includes("slick-disabled"),className:r,style:a,"aria-labelledby":o,children:[f(Ue,{id:o,children:t}),f($e,{alt:"",iconType:n})]})},Lw=e=>{const{children:t,className:n}=e;return f("div",{className:`swan-carousel swan-carousel-placeholder ${n}`,children:f("div",{className:"slick-list",children:f("div",{className:"slick-track",children:Ve.map(t,r=>f("div",{className:"slick-slide",children:f("div",{children:r})}))})})})},Mw=S("Carousel",null,(e,t)=>{pe("Carousel",ae.carousel);const{as:n,component:r,skin:a="standard",progressIndicator:o="none",progressIndicatorAlignment:i=!1,peek:s=!1,gridGutters:l=!1,gridGuttersVariant:c="standard",arrowVerticalPosition:d,arrowVerticalOffset:u="0px",children:m,dots:h=!1,arrows:b=!0,variableWidth:g=!1,centerMode:v=!1,slidesToShow:y=1,centerPadding:$,role:C="region","aria-label":x,"aria-labelledby":E,"aria-roledescription":T,accessibleTextForPrevious:I,accessibleTextForNext:k,accessibleTextForDots:K,accessibleTextForVisibleSlides:U,accessibleTextForSlide:B,customPaging:N,currentSlide:_,initialSlide:P=_,id:R,fade:V,darkMode:A,...O}=e,L=ke();Un(e,["accessibleTextForPrevious","accessibleTextForNext"]);let D=I,q=k,te=K,Z=T;const W=Ve.toArray(m).length;
12L&&(I||(D=L.t("carousel.accessible-text-for-previous-button")),k||(q=L.t("carousel.accessible-text-for-next-button")),K||(te=Array.from({length:W},(Ne,Oe)=>L.t("carousel.accessible-text-for-dot-button",{slideNumber:Oe+1}))),T||(Z=L.t("carousel.aria-roledescription"))),ie("Carousel",e,[{propName:"gridGuttersVariant",instructions:"It is rarely used, and has been deprecated to improve consistency."},...["accessibleTextForPrevious","accessibleTextForNext","accessibleTextForDots","accessibleTextForVisibleSlides","accessibleTextForSlide","aria-roledescription"].map(Ne=>({propName:Ne,instructions:ye(L)}))]);const[ne,oe]=j(a==="promo-bar"),z=Rw(),se=`swan-carousel-placeholder-${we(R)}`,J=M(null),fe=M(void 0),de=xe(t,fe),Ce=h||o!=="none"||!!N,{forceDarkMode:Ge,beforeChange:Ke}=Nw(fe,e),le=Gm(y),rt={prevArrow:f(lh,{accessibleText:D,iconType:"chevronLeft"}),nextArrow:f(lh,{accessibleText:q,iconType:"chevronRight"}),arrows:b,centerMode:!!(v||s),dots:Ce,customPaging:Ce?N||(Ne=>{const Oe=Array.isArray(te)&&te[Ne]!=null?te[Ne]:Ne+1;return f("button",{children:Oe})}):void 0,appendDots:Ce?Ne=>f("ul",{children:Ve.map(Ne,Oe=>ft(Oe)?tt(Oe,{},tt(Oe.props.children,{"aria-current":Oe.props.className==="slick-active"})):Oe)}):void 0,initialSlide:typeof P=="number"?P:s&&le>1?1:0,slidesToShow:le,variableWidth:g,autoplay:!1,fade:V??a==="promo-bar"},qn={arrows:b};$!==void 0&&(rt.centerPadding=$,qn.centerPadding=$),s&&(qn.centerPadding="8");const ce=yt({...O,darkMode:Ge||A}),Ie=$n(O),nn=_e(O.className,...ce,"swan-carousel",{[`swan-carousel-skin-${a}`]:a!=="standard","swan-carousel-dots":rt.dots,"swan-carousel-dots-left":rt.dots&&i==="left","swan-carousel-dots-inset":o==="dots-inset","swan-carousel-hide-arrows":!rt.arrows,"swan-carousel-variable-width":rt.variableWidth,"swan-carousel-grid-gutters":l,"swan-carousel-grid-gutters-tight":l&&c==="tight",["swan-carousel-peek-non-focusable-"+le]:!!s&&le%2===0,[se]:!ne}),u2={"--swan-internal-carousel-placeholder-slides-to-show-derived":le||1,"--swan-internal-carousel-placeholder-slides-to-show-xs":typeof y=="object"?y.xs:void 0,"--swan-internal-carousel-placeholder-slides-to-show-sm":typeof y=="object"?y.sm:void 0,"--swan-internal-carousel-placeholder-slides-to-show-md":typeof y=="object"?y.md:void 0,"--swan-internal-carousel-placeholder-slides-to-show-lg":typeof y=="object"?y.lg:void 0,"--swan-internal-carousel-placeholder-slides-to-show-xl":typeof y=="object"?y.xl:void 0},f2={"--swan-internal-carousel-arrow-top":d,"--swan-internal-carousel-arrow-vertical-offset":u};kw(J);const[rl,m2]=j(null),h2=H(()=>{const Ne=[];if(rl===null)return null;let Oe=rl+1;for(let ao=0;ao<le;ao++)Ne.push(Oe),Oe===W?Oe=1:Oe++;const Or=Ne[0].toString(),al=Ne[Ne.length-1].toString();return L&&!U?L.t(L.getPluralKey("carousel.accessible-text-for-visible-slides",le),{start:Or,end:al,totalSlides:W}):(U??(le===1?"Slide {start} of {totalSlides}":"Slides {start} through {end} of {totalSlides}")).replace("{start}",Or).replace("{end}",al).replace("{totalSlides}",W.toString()).replace("{activeSlides}",Ne.join(", "))},[rl,U,L,le,W]),p2=H(()=>Ve.map(m,(Ne,Oe)=>{if(ft(Ne)&&Ne.props["aria-label"]===void 0){const Or=(Oe+1).toString();if(L&&!B){const ao=L.t("carousel.accessible-text-for-slide",{current:Or,totalSlides:W});return tt(Ne,{"aria-label":ao})}const Dp=(B??"{current} of {totalSlides}").replace("{current}",Or).replace("{totalSlides}",W.toString());return tt(Ne,{"aria-label":Dp})}return Ne}),[B,m,L,W]);return G(()=>{oe(!0)},[]),G(()=>{typeof _=="number"&&fe.current&&fe.current.slickGoTo(_)},[_]),(le>W||W===1&&le===1)&&(rt.infinite=!1),Y("div",{className:"swan-carousel-container",ref:J,"aria-label":x,"aria-labelledby":E,"aria-roledescription":Z||"carousel",role:C,style:u2,children:[ne&&z?f(z,{responsive:[{breakpoint:be.xsEnd,settings:qn}],...Ie,...rt,ref:de,className:nn,children:p2,style:f2,beforeChange:(Ne,Oe)=>{Ke(Ne,Oe),m2(Oe)}}):f(Lw,{className:nn,children:m}),f("div",{"data-testid":"carousel-aria-live",className:"swan-carousel-current-visible-slides","aria-live":"polite",children:ne?h2:null})]})}),ch=p("Carousel",Le({description:"Use AdaptiveCarousel instead",displayName:"C
12arousel",root:Mw})),Aw=p("Checkbox",S("Checkbox",null,(e,t)=>{const{instant:n=!1,skin:r="standard",indeterminate:a=!1,...o}=e,i=new Set(["swan-checkbox"]);r=="favorite"&&i.add("swan-checkbox-skin-favorite"),n&&i.add("swan-checkbox-instant");const s=M(void 0),l=xe(s,t);return G(()=>{s.current&&(s.current.indeterminate=!!a)},[a]),f(w,{root:"input",forwardedRef:l,classNames:i,props:{type:"checkbox",...o},children:e.children})})),Ga=p("CollapsibleContext",me(void 0));Ga.displayName="CollapsibleContext";function ja(){return Be(Ga)}const dh=p("CollapsibleContent",S("CollapsibleContent",null,(e,t)=>{const{id:n}=e,r=we(n),{setContentId:a,expanded:o}=ja();G(()=>(a(r),()=>a(void 0)),[r,a]);const i=new Set(["swan-collapsible-content"]);return o&&i.add("swan-collapsible-content-open"),f(w,{root:"div",forwardedRef:t,classNames:i,props:{...e,id:r},children:e.children})})),uh=p("CollapsibleSummaryButton",S("CollapsibleSummaryButton",null,(e,t)=>{const{expanded:n,onRequestExpandedChange:r,contentId:a,disabled:o,headingLevel:i}=ja(),s=i??qe,l={...e,"aria-expanded":n,"aria-controls":a??void 0};return o||(l.onClick=gt(e.onClick,()=>r(!n))),f(s,{children:f(w,{root:"button",forwardedRef:t,classNames:["swan-collapsible-summary-button"],props:l,children:e.children})})})),fh=p("CollapsibleSummary",S("CollapsibleSummary",null,(e,t)=>f(w,{root:"div",forwardedRef:t,classNames:["swan-collapsible-summary"],props:e,children:e.children}))),Ow=e=>{const{expanded:t,onRequestExpandedChange:n,defaultExpanded:r=!1,collapsibleId:a,disabled:o=!1,headingLevel:i}=e,[s,l]=j(),c=ls(),d=c!==void 0,[u,m]=bt({value:t,onChange:n||void 0,defaultValue:r,defaultOnChange:(g,v)=>g(v)});let h=!!u,b=m;return d&&(h=!!c?.expandedCollapsibleMap[a],b=g=>{c?.requestExpandedChange(a,g)}),{expanded:h,onRequestExpandedChange:b,contentId:s,setContentId:l,disabled:o,purpose:c?.purpose,headingLevel:i}},ws="Collapsible",mh=p("Collapsible",S(ws,null,(e,t)=>{pe(ws,ae.accordion),ie(ws,e,[{propName:"fullBleed",instructions:"This prop is deprecated without a replacement as full bleed is now the default behaviour."}]);const{disabled:n=!1,fullBleed:r=!1,children:a,expanded:o,defaultExpanded:i,onRequestExpandedChange:s,collapsibleId:l,headingLevel:c,...d}=e,u=new Set(["swan-vanilla-ignore","swan-collapsible"]);n&&u.add("swan-collapsible-disabled"),r&&u.add("swan-collapsible-full-bleed");const m=Ow({expanded:o,disabled:n,defaultExpanded:i,onRequestExpandedChange:s,collapsibleId:l,headingLevel:c}),h={...d,"aria-disabled":!!e.disabled,as:e.as||e.component||(m?.purpose==="list"?"li":"div")};return f(Ga.Provider,{value:{...m},children:f(w,{root:"div",forwardedRef:t,classNames:u,props:h,children:a})})})),Vw=p("BasicCollapsible",S("BasicCollapsible",null,({children:e,...t},n)=>Y(w,{root:mh,forwardedRef:n,props:t,children:[f(fh,{children:f(uh,{render:typeof t.heading!="string"?({children:r,...a})=>f("div",{role:"button",tabIndex:0,...a,children:r}):void 0,children:t.heading})}),f(dh,{children:e})]}))),Kw=p("CollapsibleSummaryTextClosed",S("CollapsibleSummaryTextClosed",null,(e,t)=>f(w,{root:"span",forwardedRef:t,classNames:["swan-collapsible-summary-text-closed"],props:e,children:e.children}))),_w=p("CollapsibleSummaryTextOpen",S("CollapsibleSummaryTextOpen",null,(e,t)=>f(w,{root:"span",forwardedRef:t,classNames:["swan-collapsible-summary-text-open"],props:e,children:e.children}))),Za=p("SelectionSetContext",me(null));Za.displayName="SelectionSetContext";const $s=p("SelectionSetInputContext",me(void 0));function Cs(){return Be(Za)}function qa(){return ve($s)}function Hw(e){const t=e?.startsWith('"')?"":'"';return e?`url(${t}${e}${t})`:void 0}const zw=p("ColorSwatch",S("ColorSwatch",null,(e,t)=>{const{children:n,primaryColor:r="transparent",secondaryColor:a,tertiaryColor:o,backgroundImage:i,accessibleText:s,disabled:l=!1,gradient:c,title:d,style:u={},...m}=e,h=M(null),b=xe(t,h),g=qa(),{triggerProps:v,tooltipState:y,tooltipProps:$}=Tm({triggerRef:h,isDisabled:l??!1});G(()=>{g?.isFocusVisible?y.open(!0):y.close(!0)},[g?.isFocusVisible]);const C=[r,a,o].filter(T=>T!=null).length,x={...m,disabled:l,"aria-disabled":!!l,role:"presentation",style:{...u,"--swan-internal-color-swatch-primary-color":r??void 0,"--swan-internal-color-swatch-secondary-color":a??void 0,"--swan-internal-color-swatch-tertiary-color":o??void 0,backgroundImage:Hw(i)},"data-color-count":C},E=["swan-color-swatch"];return l&&E.push("swan-color-swatch-disabled"),c&&E.push(`swan-color-swatch-${c}-gradient`),Y(qe,{children:[Y("span",{className:"swan-color-swatch-wrapper",children:[f(w,{root:"span",classNames:E,forwardedRef:b,props:{...he(x,v)},children:n}),f(Ue,{children:s??d})]}),f(Pm,{className:"swan-tooltip-reduce-motion",triggerRef:h,tooltipState:y,triggerTooltipProps:$,offset:g?.isFocusVisible&&parseInt(Fn("SwanSemSpace5","16"))||void 0,children:s??d})]})})),Uw=p("ColorSwatchesMore",S("ColorSwatchesMore",null,({children:e,...t},n)=>f(w,{root:"span",classNames:["swan-color-swatches-more"],forwardedRef:n,props:t,children:e}))),Ww=me(void 0),Gw=p("ColorSwatches",S("ColorSwatches",null,({children:e,labelPosition:t="top",size:n="standard",...r},a)=>{ie("ColorSwatches",{size:n,...r},[{propName:"size",deprecatedValues:{super:'Use size="large" instead.'}}]);const o=new Set(["swan-color-swatches"]);n!="standard"&&o.add(`swan-color-swatches-${n}`);const i=H(()=>({labelPosition:t}),[t]);return f(Ww.Provider,{value:i,children:f(w,{root:"div",classNames:o,forwardedRef:a,props:r,children:e})})})),xs=me(null),hh=()=>ve(xs),ph=()=>Be(xs);function Nr({children:e}){const[t,n]=j(),r=H(()=>({inputId:t,setInputId:n}),[t,n]);return f(xs.Provider,{value:r,children:e})}function Ps(e){const{id:t}=e,r=hh()?.setInputId;return G(()=>{if(r!==void 0)return r(t),()=>{r(void 0)}},[t,r]),e}function Ts(e){const t=hh(),n={...e};return t&&(n.placeholder=e.placeholder??" "),Ps(n)}function Ya(){const{inputId:e}=ph();return{htmlFor:e}}const jw=S("TextInputFloatingLabel",null,({children:e,...t},n)=>{const r=Ya();return f(w,{root:"label",forwardedRef:n,props:{...t,...r},children:e})}),Zw=p("TextInputFloatingLabel",Le({description:"Use the generic component FloatingLabel instead",displayName:"TextInputFloatingLabel",root:jw})),qw=p("TextInputWithButtonBeside",S("TextInputWithButtonBeside",null,({children:e,...t},n)=>f(w,{root:"div",classNames:["swan-vanilla-ignore","swan-input-with-button-beside"],forwardedRef:n,props:{role:"group",...t},children:e}))),Yw=p("TextInputWithButtonInset",S("TextInputWithButtonInset",null,(e,t)=>{const{buttonPosition:n="right",children:r,...a}=e,o=new Set(["swan-vanilla-ignore","swan-input-with-button-inset"]);return n==="left"&&o.add("swan-input-with-button-left"),f(w,{root:"div",classNames:o,forwardedRef:t,props:{role:"group",...a},children:r})})),Xw=S("TextInputWithFloatingLabel",null,(e,t)=>{const{children:n,...r}=e;return f(Nr,{children:f(w,{root:"div",forwardedRef:t,props:r,classNames:["swan-vanilla-ignore","swan-input-with-floating-label"],children:n})})}),Jw=p("TextInputWithFloatingLabel",Le({description:"Use the generic component InputWithFloatingLabel instead",displayName:"TextInputWithFloatingLabel",root:Xw})),Bn=p("FormFieldContext",me(null));Bn.displayName="FormFieldContext";const Ds=p("useFormFieldContext",()=>ve(Bn)),Xa=p("useNonNullishFormFieldContext",()=>Be(Bn));function Kt(e){const t=Ds();if(G(()=>{if(t&&e){const{setInputId:o}=t;return o(e),()=>o(void 0)}},[t,e]),t==null)return{id:e};const{errorIds:n,helperIds:r,labelId:a}=t;return{id:e,"aria-invalid":n.size>0,"aria-errormessage":n.size>0?[...n].join(" "):void 0,"aria-describedby":n.size+r.size>0?[...r,...n].join(" "):void 0,"aria-labelledby":t.renderLabelAsDiv?a:void 0}}const gh=p("FormError",S("FormError",null,({children:e,...t},n)=>{const r=we(t.id),{setErrorIds:a}=Xa();return G(()=>(r&&a(o=>new Set([...o,r])),()=>{r&&a(o=>{const i=new Set([...o]);return i.delete(r),i})}),[r,a]),Y(w,{root:"p",forwardedRef:n,props:{...t,id:r},classNames:["swan-input-group-error-text"],children:[f($e,{iconType:"error",skin:"error",alt:""}),e]})}
12)),Qw=p("FormField",S("FormField",null,({children:e,...t},n)=>{const[r,a]=j(void 0),[o,i]=j(void 0),[s,l]=j(new Set),[c,d]=j(new Set),[u,m]=j(!1),h=H(()=>({inputId:r,setInputId:a,labelId:o,setLabelId:i,helperIds:s,setHelperIds:l,errorIds:c,setErrorIds:d,renderLabelAsDiv:u,setRenderLabelAsDiv:m}),[r,a,o,i,s,l,c,d,u,m]);return f(Bn.Provider,{value:h,children:f(w,{root:"div",forwardedRef:n,props:t,children:e})})})),e1=p("FormHelper",S("FormHelper",null,({children:e,...t},n)=>{const r=we(t.id),{setHelperIds:a}=Xa();return G(()=>(r&&a(o=>new Set([...o,r])),()=>{r&&a(o=>{const i=new Set([...o]);return i.delete(r),i})}),[r,a]),f(w,{root:"p",forwardedRef:n,props:{...t,id:r},classNames:["swan-input-group-helper-text"],children:e})})),t1=p("FormInputGroup",S("FormInputGroup",null,({children:e,...t},n)=>f(w,{root:"div",forwardedRef:n,props:t,classNames:["swan-input-group"],children:e}))),n1=p("FormLabelOptional",S("FormLabelOptional",null,({children:e,...t},n)=>f(w,{root:"span",forwardedRef:n,props:t,classNames:["swan-label-optional"],children:e}))),r1=p("FormLabel",S("FormLabel",null,({children:e,skin:t,...n},r)=>{ie("FormLabel",{children:e,skin:t,...n},[{propName:"skin",instructions:"With the new visual language, this prop has become redundant."}]);const{inputId:a,setLabelId:o,renderLabelAsDiv:i}=Xa(),s=we(n.id);G(()=>(o(s),()=>o(void 0)),[o,s]);const l=i?"div":"label",d={...n,htmlFor:i?void 0:a,id:i?s:void 0,onClick:m=>{if(i&&a){const h=document.getElementById(a);if(!h)return;h.tabIndex>=0?h.focus():h.querySelector('button, input, select, [tabindex]:not([tabindex="-1"])')?.focus()}n.onClick?.(m)}},u=["swan-label"];return t==="line"&&u.push("swan-label-skin-line"),f(w,{root:l,forwardedRef:r,props:d,classNames:u,children:e})})),a1=p("StandardForm",S("StandardForm",null,(e,t)=>{ie("StandardForm",e,[{propName:"variant",instructions:"As this variant is rarely used, it has been deprecated to improve consistency for customers, better align with post-elev8 design standards, and reduce UX debt."},{propName:"skin",instructions:"With the new visual language, this prop has become redundant."}]);const{children:n,variant:r="vertical",skin:a="standard",...o}=e,i=["swan-form"];r==="horizontal"&&i.push("swan-form-horizontal"),a==="tight"&&i.push("swan-form-skin-tight");const s={...o,onSubmit:!o.onSubmit&&!o.method&&!o.action?l=>l.preventDefault():o.onSubmit};return f(w,{root:"form",forwardedRef:t,props:s,classNames:i,children:n})})),Es=p("TextInput",S("TextInput",null,(e,t)=>{ie("TextInput",e,[{propName:"size",instructions:"Sizing is now handled automatically by standardMode/compactMode"}]);const{children:n,size:r="standard",skin:a="standard",htmlSize:o,...i}=e,s=we(i.id),l=Ts({...i,id:s}),c=Kt(l.id),{"aria-invalid":d}=c,u=new Set(["swan-input"]);(a==="error"||d)&&u.add("swan-input-skin-error"),r!=="standard"&&u.add(`swan-input-${r}`);const m={...l,...c,size:o};return f(w,{root:"input",classNames:u,forwardedRef:t,props:m,children:n})}));function bh(e,t,n){return H(()=>({listState:n,listProps:{disallowEmptySelection:!0,shouldSelectOnPressUp:!0,...e},listboxRef:t}),[n,e,t])}const Fs=me(void 0);function Bs(){return Be(Fs)}const Is=p("SwanPopoverContext",me({})),Wn=p("SwanPopoverContextProvider",e=>{const{children:t,value:n}=e;return f(Is.Provider,{value:n,children:t})}),We=p("useSwanPopover",()=>ve(Is)),o1=p("PopoverCloser",S("PopoverCloser",null,(e,t)=>{const{overlayState:n}=We();return f(w,{root:"div",classNames:["swan-popover-close"],forwardedRef:t,props:{...e,...{onClick:()=>{n.close()}}},children:e.children})})),i1=parseInt(Fn("SwanSemSpace2","4")),Ja=S("PopoverContent",{},(e,t)=>{const{children:n,offset:r=i1,isNonModal:a=!1,portalContainer:o,hideArrow:i=!1,fullBleed:s,className:l,placement:c="top",disableContainerPadding:d,...u}=e,{popoverRef:m,triggerRef:h,overlayProps:b,overlayState:g,maxHeight:v}=We(),y=Va(h,[g.isOpen]),$=xm(h,[g.isOpen]),{inModal:C,portalRef:x,dialogRef:E}=Ir(),T=o??(C&&x.current?x.current:void 0),{popoverProps:I,underlayProps:k,placement:K,arrowProps:U}=xS({popoverRef:m,triggerRef:h,placement:c,offset:r,isNonModal:a,boundaryElement:C&&E.current||void 0,containerPadding:d?0:void 0,maxHeight:v},g),B=xe(t,m),N=new Set([Ye.base,"swan-popover"]);return s&&N.add("swan-popover-skin-full-bleed"),y.hasDarkMode&&N.add(Ye.darkMode),y.hasCompactMode&&N.add(Ye.compactMode),$&&N.add($),l&&N.add(l),Ki({isDisabled:!1}),Y(Wu,{...b,portalContainer:T,children:[!a&&f("div",{...k,className:"swan-popover-underlay"}),Y(w,{root:"div",forwardedRef:B,props:{...u,...I,"data-placement":i?void 0:K},classNames:N,children:[i?null:f("svg",{...U,className:"swan-popover-arrow",viewBox:"0 0 24 24",children:f("path",{d:"M0 0 L12 12 L24 0"})}),n]})]})}),ks=p("PopoverDialog",e=>{const{children:t,...n}=e,{overlayProps:r}=We(),a=M(null),{dialogProps:o}=Jv({...n,...r,role:"dialog"},a);return f("div",{...o,...n,ref:a,className:"swan-popover-dialog",children:t})}),s1=p("PopoverContent",S("PopoverContent",null,(e,t)=>{ie("PopoverContent",e,[{propName:"dialog",instructions:"Popovers are always treated as dialogs now, so this prop is unnecessary."},{propName:"labelText",instructions:"Use `aria-label` or `aria-labelledby` instead."}]);const{children:n,dialog:r,fullBleed:a,hideArrow:o,placement:i,"aria-label":s,"aria-labelledby":l,...c}=e,{overlayState:d,popoverPlacement:u,triggerProps:m}=We(),h={...c,hideArrow:o,placement:i??u??"top",fullBleed:a??void 0},b={"aria-label":s,"aria-labelledby":s?void 0:l||m?.id};return d.isOpen?f(Ja,{...h,ref:t,children:Y(ks,{...b,children:[f(Ta,{onDismiss:()=>d.close}),n,f(Ta,{onDismiss:()=>d.close})]})}):null}));function vh({children:e,triggerRef:t,triggerProps:n={},className:r,removeAriaExpanded:a=!1}){const o=Ve.map(e,(l,c)=>{const d=l;if(c===0&&ft(l)&&!d.props.disabled)return d.props.onClick})?.find(l=>typeof l=="function"),{buttonProps:i}=cr({...n,onPressEnd:o},t),s={ref:t,...i,type:void 0};return a&&!i["aria-expanded"]&&delete s["aria-expanded"],f(qe,{children:Ve.map(e,(l,c)=>{const d=l;if(c===0&&ft(l)&&!d.props.disabled){const u="ref"in d?d.ref:d.props?.ref??null,m=xe(t,u);return tt(d,{...s,className:_e(r,d.props.className),disabled:typeof d.props.disabled<"u"?d.props.disabled:s.disabled,ref:m})}return l})})}function Ns({children:e}){const{triggerRef:t,triggerProps:n={}}=We();return f(vh,{triggerRef:t,triggerProps:n,removeAriaExpanded:!0,children:e})}const l1=p("PopoverLauncher",S("PopoverLauncher",null,(e,t)=>{const{children:n}=e;return f(w,{root:"span",forwardedRef:t,classNames:["swan-popover-launcher"],props:e,children:f(Ns,{children:n})})})),c1=p("Popover",S("Popover",null,(e,t)=>{pe("Popover",ae.popover);const{position:n="top",children:r,...a}=e,o=M(null),i=xe(t,o),s=M(null),l=M(null),c=we(),d=Kn({}),{overlayProps:u,triggerProps:m}=$u({type:"dialog"},d,l),h=H(()=>({popoverRef:s,triggerRef:l,overlayState:d,overlayProps:u,triggerProps:{...m,id:c},popoverPlacement:n??"top"}),[l,c,s,d,u,m,n]);return f(Wn,{value:h,children:f(w,{root:"div",forwardedRef:i,classNames:["swan-popover-container"],props:a,children:r})})})),Sh=me(void 0);function Gn(){return Be(Sh)}function yh(e,t){const{setDisabledKeys:n}=Gn();G(()=>{t!=null&&n(r=>{const a=new Set(r);return t?a.add(e):a.delete(e),a})},[n,e,t])}function Rs(e){const{children:t,items:n}=e,[r,a]=j(e.disabledKeys),[o,i]=j(e.disabledKeys);r!==o&&(a(r),i(r));const[s,l]=j(),c=H(()=>({items:n,childItems:s,setChildItems:l,disabledKeys:r,setDisabledKeys:a}),[n,s,l,r,a]);return f(Sh.Provider,{value:c,children:t})}const wh=me(void 0);function d1(){return Be(wh)}const u1=parseFloat(Fn("SwanBaseFontLineHeight500","1.5"))*parseFloat(Fn("SwanBaseFontSize100","16")),f1=24,m1=parseFloat(Fn("SwanSemSpace1","2")),Ls=(u1+f1+m1)*6.5+8,h1=Ls;function p1(e){const{children:t,disabled:n,skin:r,selectionProps:a}=e,{triggerRef:o,triggerProps:i,overlayState:s}=We(),{menuTriggerProps:l,menuProps:c}=Ni({...i,isDisabled:n,type:"listbox"},s,o),d=H(()=>({skin:r,triggerProps:l,triggerDisabled:n??!1}),[l,n,r]),{childItems:u,items:m,disabledKeys:h}=Gn(),b=H(()=>{const{onSelectionChange:$,...C}=a??{};return{...c,...C,disabledKeys:h,onSelectionChange:x=>{$?.(x),C.selectionMode!=="multiple"&&s.close()}}},[h,c,s,a]),g=M(null),v=Lf({...b,disallowEmptySelection:!0,items:m,children:u}),y=bh({...b,shouldFocusOnHover:!1},g,v);return f(wh.Provider,{value:d,children:f(Fs.Provider,{value:y,children:t})})}function g1(e){const{fullWidth:t,maxHeight:n,...r}=e,a=im({}),o=M(null),i=M(null),s=H(()=>({popoverRef:o,triggerRef:i,overlayState:a,overlayProps:{},triggerProps:{},fullWidth:t,maxHeight:n??h1}),[a,t,n]);return f(Wn,{value:s,children:f(p1,{...r})})}const b1=Ls,$h=me(void 0);function v1(e){const{children:t,onSelectionChange:n,selectedKey:r,disableAutoFilter:a=!1,"aria-label":o,"aria-labelledby":i,inputValue:s,defaultInputValue:l,onInputChange:c,menuTrigger:d="input",allowsCustomValue:u,allowEmptyCollection:m=!1,maxHeight:h,defaultItems:b}=e,{childItems:g,items:v,disabledKeys:y}=Gn(),$=Q(O=>{const L=typeof O=="number"?O:O?.toString()??"";n?.(L??"")},[n]),{contains:C}=zu({sensitivity:"base"}),E=zS({children:g,items:v,defaultItems:b,defaultFilter:a?void 0:C,onSelectionChange:$,selectedKey:r,inputValue:s,defaultInputValue:l,onInputChange:c,allowsCustomValue:u,allowsEmptyCollection:m,menuTrigger:d,disabledKeys:y}),T=M(null),I=M(null),k=M(null),K=M(null),U=M(null),{buttonProps:B,inputProps:N,listBoxProps:_,labelProps:P}=Lv({"aria-label":o,"aria-labelledby":i,menuTrigger:d,inputRef:I,buttonRef:T,listBoxRef:K,popoverRef:U,disabledKeys:y},E),R=H(()=>({popoverRef:U,triggerRef:k?.current?k:I,overlayState:E,fullWidth:!0,maxHeight:h??b1}),[I,U,k,E,h]),V=H(()=>({buttonProps:B,inputProps:N,labelProps:P,buttonRef:T,inputRef:I,triggerRef:k,setInputValue:E.setInputValue,menuTrigger:d}),[B,N,P,E,d]),A=bh({..._,shouldFocusOnHover:!1},K,E);return f(Wn,{value:R,children:f($h.Provider,{value:V,children:f(Fs.Provider,{value:A,children:t})})})}function Ch(){return Be($h)}const Ms=p("ComboboxInput",S("ComboboxInput",null,(e,t)=>{const{buttonRef:n,buttonProps:r,inputRef:a,inputProps:o,menuTrigger:i}=Ch(),{buttonProps:s}=cr({...r,isDisabled:e.disabled},n),l=xe(t,a),c={...o,...e,onBlur:u=>{e.onBlur?.(u),o.onBlur?.(u)},className:_e(e.className,"swan-combobox")}
12,d=Ts(c);return Y(qe,{children:[f(w,{forwardedRef:l,root:Es,props:{...d,type:"text"}}),i==="focus"&&f(ut,{ref:n,...s,tooltip:"",...vt,className:"swan-combobox-button",skin:"tertiary",children:s["aria-expanded"]?f($e,{iconType:"caretUp"}):f($e,{iconType:"caretDown"})})]})})),S1=()=>{const{listState:e}=Bs(),{selectionManager:t,collection:n}=e,{selectedKeys:r}=t,a=H(()=>[...r].map(i=>n.getItem(i)).filter(Boolean),[r,n]),o=H(()=>{const i=n.getFirstKey();let s;if(i!=null&&(s=n.getItem(i)),s?.type!=="item")for(const l of n.getKeys()){const c=n.getItem(l);if(c?.type==="item"){s=c;break}}return s},[n]);return H(()=>({selectedItems:a,selectedItemsOrFirst:a.length>0||!o?a:[o]}),[a,o])},y1=({className:e,placeholder:t})=>{const{selectedItems:n,selectedItemsOrFirst:r}=S1(),{listState:a}=Bs(),o=new Set(e);let i="";if(n.length===0&&t!=null)i=t;else if(r.length===1){const s=r[0];i=s?.props?.label??s?.rendered??s?.textValue??"",(s?.props?.disabled||a?.disabledKeys?.has(s?.key??""))&&o.add("swan-listbox-button-disabled-option")}else i=r.reduce((s,l,c)=>{const d=l?.props,u=l?.value?.toString()??c,m=f(Ht,{children:d.label??l?.rendered??l?.textValue},u),h=[...s,m];return c<r.length-1&&h.push(f(Ht,{children:", "},`${u},`)),h},[]);return f("span",{className:It(o),children:i})},xh=p("ListboxButton",S("ListboxButton",{},({className:e,labelPrefix:t,placeholder:n,...r},a)=>{const{triggerRef:o}=We(),{triggerProps:i,triggerDisabled:s,skin:l}=d1(),c=xe(a,o),{buttonProps:d}=cr(i,o),u=Ps({...r,placeholder:void 0,id:d.id}),m=Kt(u.id),h=new Set(["swan-listbox-button"]);return t&&h.add("swan-listbox-button-with-label"),(l==="error"||m["aria-invalid"])&&h.add("swan-listbox-skin-error"),e&&h.add(e),Y(w,{root:"button",forwardedRef:c,classNames:h,props:{...d,...u,...m,disabled:s},children:[t?f("span",{className:"swan-listbox-button-label",children:t}):null,f(y1,{placeholder:n})]})})),Ph=({item:e,state:t})=>{const n=M(null),{withThumbnail:r,disabled:a,textValue:o,label:i,...s}=e.props??{},{optionProps:l,isFocusVisible:c}=oS(e,t,n);yh(e.key,a);const d=new Set(["swan-listbox-option"]);return r&&d.add("swan-listbox-option-with-thumbnail"),c&&d.add("swan-listbox-option-focused"),Y(w,{root:e.props?.href?"a":"li",forwardedRef:n,props:{...s,...l},classNames:d,children:[f("span",{className:"swan-listbox-option-content",children:e.rendered}),f("span",{className:"swan-listbox-option-selected",role:"presentation"})]})};function w1({section:e,state:t}){const{itemProps:n,headingProps:r,groupProps:a}=aS({heading:e.rendered,"aria-label":e["aria-label"]});return Y("li",{...n,children:[e.rendered&&f("span",{...r,className:"swan-listbox-section-title",children:e.rendered}),f("ul",{...a,className:"swan-listbox-section",children:[...e.childNodes].map(o=>f(Ph,{item:o,state:t},o.key))})]})}const As=p("ListboxList",S("ListboxList",null,(e,t)=>{const{children:n,className:r,"aria-label":a}=e,{setChildItems:o}=Gn(),{overlayState:i}=We(),{listProps:s,listState:l,listboxRef:c}=Bs();G(()=>{o(()=>n)},[o,n]);const{listBoxProps:d}=rS({...s,"aria-label":a},l,c),u=xe(t,c),m=new Set(["swan-listbox-list"]);return r&&m.add(r),f("ul",{...e,...d,ref:u,className:[...m].join(" "),children:i.isOpen?[...l.collection].map(h=>h.type==="section"?f(w1,{section:h,state:l},h.key):f(Ph,{item:h,state:l},h.key)):null})})),Os=p("ListboxPopover",S("ListboxPopover",null,(e,t)=>{ie("ListboxPopover",e,[{propName:"labelText",instructions:"This is deprecated without a replacement."}]);const{children:n,className:r,placement:a="bottom start",hideArrow:o=!0,inModal:i,...s}=e,{overlayState:l,triggerRef:c,fullWidth:d}=We(),u=M(null),m=xe(t,u),h=new Set(["swan-listbox-popover"]);return r&&h.add(r),zn(()=>{function b(){const g=u.current,v=c.current;if(l.isOpen&&d&&v&&g){const{width:y}=v.getBoundingClientRect();g.style.width=`${y}px`,g.style.minWidth=`${y}px`,g.style.maxWidth=`${y}px`}}if(b(),typeof window=="object")return window.addEventListener("resize",b),()=>window.removeEventListener("resize",b)},[l.isOpen,d,c]),l.isOpen?f(w,{root:Ja,forwardedRef:m,classNames:h,props:{placement:a,hideArrow:o,disableContainerPadding:!0,...s},children:n}):f("div",{"aria-hidden":"true",className:"swan-display-none",children:n})})),$1=({selectionMode:e="single",selectedKeys:t,onSelectionChange:n,value:r,onChange:a})=>{const o=M(!1);e!=="single"&&(a||r)&&!o.current&&(console.warn('Listbox - Do not use "onChange" or "value" props with multiple selection mode. Only one item will be selected'),o.current=!0);const i=Q(s=>
12{n&&n(s),a&&e==="single"&&s!=="all"&&a([...s][0])},[a,n,e]);return H(()=>({selectionMode:e,selectedKeys:r?new Set([r]):t,onSelectionChange:i}),[e,r,t,i])},Th=p("Listbox",S("Listbox",null,(e,t)=>{ie("Listbox",e,[{propName:"size",instructions:"Sizing is now handled automatically by standardMode/compactMode."}]),pe("Listbox",[ae.listbox,ae.popover]);const{children:n,disabled:r=!1,fullWidth:a=!1,size:o="standard",skin:i="standard",selectionMode:s,selectedKeys:l,disabledKeys:c,onSelectionChange:d,onChange:u,value:m,items:h,maxHeight:b,...g}=e,v=$1({selectionMode:s,selectedKeys:l,onSelectionChange:d,value:m,onChange:u}),y=_e("swan-listbox",{"swan-listbox-mini":o==="mini","swan-listbox-full-width":a},...yt(g),e.className),$={...$n(g),className:y};return f("div",{...$,ref:t,children:f(Rs,{items:h,disabledKeys:c,children:f(g1,{fullWidth:a,skin:i||"standard",disabled:r??!1,selectionProps:v,maxHeight:b,children:n})})})})),C1=p("BasicListbox",S("BasicListbox",null,(e,t)=>{const{children:n,inModal:r=!1,darkMode:a,bgc:o,backgroundColor:i,"aria-label":s,"aria-labelledby":l,...c}=e,d=o||i;return Y(Th,{darkMode:a,bgc:d,...c,ref:t,children:[f(xh,{"aria-label":s,"aria-labelledby":l}),f(Os,{darkMode:a,bgc:d,inModal:r,children:f(As,{children:n})})]})})),x1=S("ListboxFloatingLabel",null,({children:e,...t},n)=>{const r=Ya();return f(w,{root:"label",classNames:["swan-listbox-floating-label"],forwardedRef:n,props:{...t,...r},children:e})}),P1=p("ListboxFloatingLabel",Le({description:"Use the generic component FloatingLabel instead",displayName:"ListboxFloatingLabel",root:x1})),Dh=p("ListboxOptionTextContainer",S("ListboxOptionTextContainer",null,({children:e,...t},n)=>f(w,{root:"div",classNames:["swan-listbox-option-text-container"],forwardedRef:n,props:t,children:e}))),Eh=p("ListboxOptionThumbnailContainer",S("ListboxOptionThumbnailContainer",null,({children:e,...t},n)=>f(w,{root:"div",classNames:["swan-listbox-option-thumbnail-container"],forwardedRef:n,props:t,children:e}))),Rr=p("ListboxOption",e=>f(tm,{...e}));Object.assign(Rr,tm),Rr.displayName="ListboxOption";const Lr=p("ListboxSection",e=>f(rm,{...e}));Object.assign(Lr,rm),Lr.displayName="ListboxSection";const T1=S("ListboxWithFloatingLabel",null,(e,t)=>{const{fullWidth:n=!1,children:r,...a}=e,o=new Set(["swan-vanilla-ignore","swan-listbox-with-floating-label"]);return n&&o.add("swan-listbox-with-floating-label-full-width"),f(Nr,{children:f(w,{root:"div",forwardedRef:t,props:a,classNames:o,children:Ve.map(r,(i,s)=>s===0&&ft(i)?tt(i,{fullWidth:n??void 0}):i)})})}),D1=p("ListboxWithFloatingLabel",Le({description:"Use the generic component InputWithFloatingLabel instead",displayName:"ListboxWithFloatingLabel",root:T1})),Fh=p("ComboboxList",As),Bh=p("ComboboxPopover",S("ComboboxPopover",null,(e,t)=>{ie("ComboboxPopover",e,[{propName:"labelText",instructions:"This is deprecated without a replacement."}]);const{children:n,placement:r="bottom start",className:a}=e,o=_e(a,"swan-combobox-popover");return f(Os,{className:o,...e,placement:r,ref:t,isNonModal:!0,children:n})})),Vs=p("FlexBox",S("FlexBox",null,({children:e,alignItems:t,flexWrap:n,flexDirection:r,justifyContent:a,gap:o,...i},s)=>{const l=_e("swan-display-flex",...Yp({alignItems:t,flexWrap:n,flexDirection:r,justifyContent:a,gap:o},"flex-box"));return f(w,{root:"div",forwardedRef:s,props:{...i},classNames:[l],children:e})})),Ks=p("Combobox",S("Combobox",null,(e,t)=>{pe("Combobox",[ae.listbox,ae.popover]);const{children:n,items:r,menuTrigger:a,disabledKeys:o,...i}=e,s=_e(e.className,...yt(i),"swan-combobox-container",{"swan-combobox-container-with-focus-trigger":a==="focus"});return f(Vs,{className:s,ref:t,children:f(Rs,{items:r,disabledKeys:o,children:f(v1,{...$n(e),children:n})})})})),E1=p("BasicCombobox",S("BasicCombobox",void 0,(e,t)=>{const{"aria-label":n,"aria-labelledby":r,onSelectionChange:a,disableAutoFilter:o,selectedKey:i,inModal:s,children:l,allowsCustomValue:c,items:d,menuTrigger:u="input",maxHeight:m,...h}=e,b=It(yt(h,h.className?[h.className]:null)),g=$n(h);return Y(Ks,{items:d,onSelectionChange:a,disableAutoFilter:o,selectedKey:i,"aria-label":n,"aria-labelledby":r,className:b,allowsCustomValue:c,menuTrigger:u,maxHeight:m,children:[f(Ms,{ref:t,...g}),f(Bh,{inModal:s,children:f(Fh,{children:l})})]})})),F1=S("ComboboxFloatingLabel",null,({children:e,...t},n)=>{const r=Ya();return f(w,{root:"label",forwardedRef:n,props:{...t,...r},children:e})}),B1=p("ComboboxFloatingLabel",Le({description:"Use the generic component FloatingLabel instead",displayName:"ComboboxFloatingLabel",root:F1})),I1=p("ComboboxOptionTextContainer",Dh),k1=p("ComboboxOptionThumbnailContainer",Eh),Ih=p("ComboboxOption",Rr);Ih.displayName="ComboboxOption";const N1=p("ComboboxPopoverTitle",S("ComboboxPopoverTitle",null,({children:e,...t},n)=>f(w,{root:"h4",classNames:["swan-combobox-popover-title"],forwardedRef:n,props:t,children:e}))),kh=p("SearchInput",S("SearchInput",null,(e,t)=>{const n=ke();Un(e,["accessibleTextForClearButton","accessibleTextForSearchButton"]),ie("SearchInput",e,[{propName:"accessibleTextForClearButton",instructions:ye(n)},{propName:"accessibleTextForSearchButton",instructions:ye(n)}]);const r=M(void 0),a=xe(t,r),{skin:o="standard",disabled:i,onClear:s,onSearchSubmit:l,accessibleTextForClearButton:c,accessibleTextForSearchButton:d,...u}=e,m=BS(u);let h=c,b=d;n&&!h&&(h=n.t("search-input.accessible-text-for-clear-button")),n&&!b&&(b=n.t("search-input.accessible-text-for-search-button"));const g=Q(y=>{r.current&&(r.current.value="",r.current.focus()),s&&s(y)},[s]),v=new Set(["swan-search-input"]);return o==="error"&&v.add("swan-search-input-skin-error"),Y(w,{root:"div",classNames:v,props:{...m},children:[f(w,{forwardedRef:a,root:Es,props:{type:"search",disabled:i,...u}}),f(ut,{className:"swan-search-input-clear",skin:"tertiary",onClick:g,"aria-label":h,disabled:i,tooltip:"",...vt,children:f($e,{iconType:"clear"})}),f("span",{className:"swan-search-divider"}),f(ut,{type:"submit",skin:"tertiary",className:"swan-search-input-submit",onClick:l??void 0,"aria-label":b,disabled:i,tooltip:"",...vt,children:f($e,{iconType:"search"})})]})})),R1=p("ComboboxSearchInput",S("ComboboxSearchInput",null,(e,t)=>{const{inputRef:n,triggerRef:r,setInputValue:a}=Ch(),{overlayState:o}=We(),i=xe(t,n),s=l=>({...l,type:"search",onClear:c=>{e.onClear?.(c),a("")}});return G(()=>{const l=n.current,c=d=>{const u=o.selectionManager.focusedKey;d.key==="Enter"&&!u&&r.current?.querySelector('button[type="submit"]')?.click()};return l?.addEventListener("keydown",c),()=>l?.removeEventListener("keydown",c)},[n,r,o]),f(w,{root:"div",forwardedRef:r,classNames:["swan-combobox-search-input-container"],props:{},children:f(Ms,{...e,ref:i,render:(l,c)=>f(w,{root:kh,forwardedRef:c,props:s(l)})})})})),Nh=p("ComboboxSection",Lr);Nh.displayName="ComboboxSection";const L1=S("Combobox",null,(e,t)=>{const{className:n,children:r}=e,a=new Set(["swan-combobox-with-floating-label","swan-input-with-floating-label"]);return n&&a.add(n),f(Nr,{children:f(w,{root:Ks,forwardedRef:t,props:e,classNames:a,children:r})})}),M1=p("ComboboxWithFloatingLabel",Le({description:"Use the generic component InputWithFloatingLabel instead",displayName:"ComboboxWithFloatingLabel",root:L1})),A1=p("Count",S("Count",null,({children:e,skin:t="standard",...n},r)=>{const a=new Set(["swan-count"]);return t!="standard"&&a.add(`swan-count-skin-${t}`),f(w,{root:"span",classNames:a,forwardedRef:r,props:n,children:e})})),O1=S("DropdownFloatingLabel",null,({children:e,...t},n)=>{const r=Ya();return f(w,{root:"label",classNames:["swan-dropdown-floating-label"],forwardedRef:n,props:{...t,...r},children:e})}),V1=p("DropdownFloatingLabel",Le({description:"Use the generic component FloatingLabel instead",displayName:"DropdownFloatingLabel",root:O1})),Qa=p("DropdownOption",S("DropdownOption",null,({children:e,...t},n)=>f(w,{root:"option",forwardedRef:n,props:t,children:e}))),K1=S("DropdownWithFloatingLabel",null,(e,t)=>{const{fullWidth:n=!1,children:r,...a}=e,o=new Set(["swan-vanilla-ignore","swan-dropdown-with-floating-label"]);return n&&o.add("swan-dropdown-with-floating-label-full-width"),f(Nr,{children:f(w,{root:"div",forwardedRef:t,props:a,classNames:o,children:r})})}),_1=p("DropdownWithFloatingLabel",Le({description:"Use the generic component InputWithFloatingLabel instead",displayName:"DropdownWithFloatingLabel",root:K1})),eo=p("Dropdown",S("Dropdown",null,(e,t)=>{const{children:n,skin:r="standard",size:a="standard",fullWidth:o=!1,id:i,htmlSize:s,...l}=e;ie("Dropdown",e,[{propName:"skin",deprecatedValues:{line:'Use skin="standard" instead'}},{propName:"size",instructions:"Sizing is now handled automatically by standardMode/compactMode"}]);const c=we(i),d=Ps({...l,id:c}),u=Kt(d.id),m=new Set(["swan-dropdown"]);a==="mini"&&m.add("swan-dropdown-mini"),(r==="error"||u["aria-invalid"])&&m.add("swan-dropdown-skin-error"),r==="line"&&m.add("swan-dropdown-skin-line"),o&&m.add("swan-dropdown-full-width");const h={...d,...u,size:s};return f(w,{root:"select",classNames:m,forwardedRef:t,props:h,children:n})})),H1=e=>{const{calendarState:t,onAfterChange:n,containerProps:r}=e,{formatDate:a,t:o}=Ze(),{visibleRange:i,minValue:s,maxValue:l,isDisabled:c}=t,{month:d,year:u}=i.start,m=T=>{if(!s&&!l)return!1;const I=new st(u,T,1);if(s){const k=new st(s.year,s.month,1);if(I.compare(k)<0)return!0}if(l){const k=new st(l.year,l.month+1,1);if(I.compare(k)>=0)return!0}return!1},h=Array.from({length:12},(T,I)=>I+1).filter(T=>!m(T)).map(T=>{const I=a(new Date(2020,T-1,1),{month:"short"}),k=a(new Date(2020,T-1,1),{month:"long"});return{value:T,label:I,"aria-label":k}}),b=parseInt(a(new Date,{year:"numeric"})),g=b-120,v=b+10,y=s?s.year:g,C=(l?l.year:v)-y+1,x=Array.from({length:C},(T,I)=>y+I).map(T=>({value:T,label:T.toString()})),E=(T,I)=>{const k=parseInt(T.target.value),K=new st(I==="year"?k:u,I==="month"?k:d,1);t.setFocusedDate(K),n?.()};return Y("div",{className:"swan-date-calendar-dropdowns",...r,children:[f("div",{children:f(eo,{disabled:c,"aria-label":o("date-picker.dropdown-month-label"),value:d,onChange:T=>E(T,"month"),children:h.map(T=>f(Qa,{value:T.value,"aria-label":T["aria-label"],children:T.label},T.value))})}),f("div",{children:f(eo,{disabled:c,"aria-label":o("date-picker.dropdown-year-label"),value:u,onChange:T=>E(T,"year"),children:x.map(T=>f(Qa,{value:T.value,children:T.label},T.value))})})]})},z1=e=>{const t=M(null),{calendarState:n,date:r}=e,{isDisabled:a,value:o}=n,{cellProps:i,buttonProps:s,isOutsideVisibleRange:l,isDisabled:c,formattedDate:d,isInvalid:u,isUnavailable:m}=tv({date:r},n,t),h=["swan-date-calendar-day-cell"];if(!l){const g="highlightedRange"in n,v=g&&n.highlightedRange?n.highlightedRange.start:void 0,y=g&&n.highlightedRange?n.highlightedRange.end:void 0,$=v&&De(r,v)||!1,C=y&&De(r,y)||!1,x=v&&r.compare(v)>0&&y&&r.compare(y)<0||!1,E=o&&!("start"in o&&"end"in o),T=g&&$&&C||E&&De(r,o),I=a&&($||C||x||T),k=De(r,fr(n.timeZone));T?h.push("swan-date-calendar-day-selected"):$?h.push("swan-date-calendar-day-selected-start"):C?h.push("swan-date-calendar-day-selected-e
12nd"):x&&h.push("swan-date-calendar-day-selected-middle"),k&&h.push("swan-date-calendar-day-today"),(c||u||m)&&h.push("swan-date-calendar-day-disabled"),I&&h.push("swan-date-calendar-day-preselected")}const b=_e(h);return f("td",{...i,className:b,children:f(Dt,{as:"div",skin:"tertiary",width:"full-width",...s,ref:t,hidden:l,className:"swan-date-calendar-day-button",children:d})})},Rh=Xn((e,t)=>{const{locale:n}=Ze(),{calendarState:r}=e,a={weekdayStyle:"short"},{gridProps:o,headerProps:i,weekDays:s}=nv(a,r),l=r.visibleRange.start.month,c=td(r.visibleRange.start,n);return Y("table",{ref:t,...o,className:"swan-date-calendar-grid",children:[f("thead",{...i,children:f("tr",{children:s.map(d=>f("th",{className:"swan-date-calendar-weekday-cell",children:d},d))})}),f("tbody",{children:[...new Array(c).keys()].map(d=>f("tr",{children:r.getDatesInWeek(d).map((u,m)=>{const h=`${l}-${d}-${m}`;return u?f(z1,{calendarState:r,date:u},h):f("td",{},h)})},`week-${d}`))})]})});Rh.displayName="CalendarGridInternal";const Lh="data-swan-date-calendar-dropdowns",U1=(e,t,n)=>{const r=e==="range",a=s=>s.stopPropagation(),o=s=>{if(!r)return!1;const l=s.target,c=s.relatedTarget;return l?.closest(`[${Lh}]`)?c===null||!!n.current?.contains(c):!1},i=r?{...t,onBlur:s=>{o(s)||t.onBlur?.(s)}}:t;return{dropdownContainerProps:{[Lh]:"",onPointerUp:a},composedCalendarProps:i}},W1=(e,t)=>{const n=M(!1),[r,a]=j(0),o=t.toString();return zn(()=>{n.current&&(n.current=!1,e.current?.querySelector('[tabindex="0"]')?.focus())},[r,o]),Q(()=>{n.current=!0,a(s=>s+1)},[])};function _t(e,t){return e==="single"}const G1=(e,t,n)=>{const{locale:r}=Ze(),a=_t(e)?t:{},o=_t(e)?{}:t,i=Ef({...a,locale:r,createCalendar:()=>new Qe}),s=OS({...o,locale:r,createCalendar:()=>new Qe}),l=Jb(a,i),c=rv(o,s,n);return H(()=>e==="single"?{calendarState:i,calendarProps:l.calendarProps,prevButtonProps:l.prevButtonProps,nextButtonProps:l.nextButtonProps}:{calendarState:s,calendarProps:c.calendarProps,prevButtonProps:c.prevButtonProps,nextButtonProps:c.nextButtonProps},[e,i,s,l,c])},j1=(e,t,n)=>{const r={"aria-label":t["aria-label"],"aria-labelledby":t["aria-labelledby"]},a=_t(e)?t:r,o=_t(e)?r:t,i=r0(a),s=Kv(a,i,n),l=a0(o),c=Hv(o,l,n);return H(()=>e==="single"?{datePickerState:i,datePickerProps:s}:{datePickerState:l,datePickerProps:c},[e,i,l,s,c])};function Mh(e,t=!1){const n=Ds();G(()=>{if(!(!n||t))return n.setRenderLabelAsDiv(!0),n.setInputId(e),()=>{n.setRenderLabelAsDiv(!1),n.setInputId(void 0)}},[n,e,t])}const Ah=e=>{const{iconType:t,...n}=e,r=M(null),{buttonProps:a}=cr(n,r);return f(ut,{...a,skin:"tertiary",ref:r,tooltip:"",...vt,children:f($e,{iconType:t})})},Oh=S("DateCalendarInternal",null,(e,t)=>{const n=M(null),r=M(null),a=xe(t,r),{t:o}=Ze(),{selectionMode:i,calendarProps:s,showTodayButton:l=!1,showClearButton:c=!1,handleClearClick:d,allowFormContext:u=!1,...m}=e,h=Kt(),b=u?{...s,"aria-describedby":[s["aria-describedby"],h["aria-describedby"]].filter(Boolean).join(" "),"aria-labelledby":[s["aria-labelledby"],h["aria-labelledby"]].filter(Boolean).join(" ")}:s,{calendarState:g,calendarProps:v,prevButtonProps:y,nextButtonProps:$}=G1(i,b,r);Mh(v.id,!u);const C=W1(n,g.focusedDate),[x,E]=j(""),T=()=>{d?d():g.setValue(null),E(o(i==="range"?"date-picker.accessible-text-for-date-range-cleared":"date-picker.accessible-text-for-date-cleared")),setTimeout(()=>{E("")},2e3)},I=()=>{const U=fr(g.timeZone);g.setFocusedDate(U),C()},{dropdownContainerProps:k,composedCalendarProps:K}=U1(i,v,r);return f(Bn.Provider,{value:void 0,children:Y(w,{root:"div",forwardedRef:a,props:{...K,...m},children:[Y("div",{className:"swan-date-calendar-nav-bar",children:[f(Ah,{...y,iconType:"arrowLeft","aria-label":o("date-picker.button-previous-month")}),f(H1,{calendarState:g,onAfterChange:C,containerProps:k}),f(Ah,{...$,iconType:"arrowRight","aria-label":o("date-picker.button-next-month")})]}),f(Rh,{ref:n,calendarState:g}),Y("div",{className:"swan-date-calendar-shortcut-buttons",children:[l?f(Dt,{skin:"tertiary",onClick:I,children:o("date-picker.button-today")}):null,c?f(Dt,{skin:"tertiary",onClick:T,className:"swan-date-calendar-clear-shortcut","aria-label":o("date-picker.button-clear.accessible-text"),children:o("date-picker.button-clear")}
12):null]}),f(Ue,{role:"status","aria-atomic":"true","aria-live":"polite","data-testid":"date-picker-calendar-live-region",children:x})]})})});function jn(e){if(!e)return;const t=e.getFullYear(),n=e.getMonth()+1,r=e.getDate();return new st(t,n,r)}function Vh(e){if(!e)return;const{start:t,end:n}=e,r=jn(t),a=jn(n);if(!(r===void 0||a===void 0))return{start:r,end:a}}function to(e){return new Date(e.year,e.month-1,e.day)}function Kh(e,t){const n=_t(e)?t:{},r=_t(e)?{}:t;let a,o;if(e==="single"){const{selectedDate:g,onSelectedDateChange:v,defaultDate:y,...$}=n,C=x=>{v&&v(x?to(x):null)};a={defaultValue:jn(y),value:g===null?null:jn(g),onChange:C},o={...$}}else{const{selectedRange:g,onSelectedRangeChange:v,defaultRange:y,allowsNonContiguousRanges:$=!0,...C}=r,x=E=>{v&&v(E?{start:to(E.start),end:to(E.end)}:null)};a={allowsNonContiguousRanges:$,defaultValue:Vh(y),value:g===null?null:Vh(g),onChange:x},o={...C}}const{minDate:i,maxDate:s,isDateUnavailable:l,disabled:c,"aria-label":d,"aria-labelledby":u,"aria-describedby":m,...h}=o,b={minValue:jn(i),maxValue:jn(s),isDateUnavailable:l?g=>l(to(g)):void 0,isDisabled:c||!1,"aria-label":d,"aria-labelledby":u,"aria-describedby":m};return{dateProps:{...a,...b},otherProps:h}}const Z1=p("DateCalendar",S("DateCalendar",null,(e,t)=>{const n=M(null),r=xe(t,n),{selectionMode:a="single",showTodayButton:o=!1,showClearButton:i=!1,...s}=e,{dateProps:l,otherProps:c}=Kh(a,s);return f(w,{root:Oh,forwardedRef:r,props:{allowFormContext:!0,selectionMode:a,showTodayButton:o,showClearButton:i,calendarProps:l,...c}})})),_h=me(void 0);function q1(e){const{dateProps:t,selectionMode:n,disabled:r,children:a}=e,o=M(null),i=M(null),s=M(null),l=M(null),c=Kt(),d=c?.["aria-invalid"],u=he(c,t,{isInvalid:d||void 0}),{datePickerState:m,datePickerProps:h}=j1(n,u,l),{buttonProps:b,dialogProps:g,groupProps:v,calendarProps:y}=h,$=_t(n)?h.fieldProps:null,C=_t(n)?null:h.startFieldProps,x=_t(n)?null:h.endFieldProps;Mh(v?.id);const E=H(()=>({selectionMode:n,buttonRef:o,inputRef:l,triggerRef:i,popoverRef:s,groupProps:v,buttonProps:b,dialogProps:g,datePickerState:m,calendarProps:y,fieldProps:$,startFieldProps:C,endFieldProps:x,disabled:r,invalid:!!d}),[n,v,b,g,m,y,$,C,x,r,d]),T=H(()=>({dialogProps:g,overlayState:m,popoverRef:s,triggerRef:l,overlayProps:{},triggerProps:b}),[g,m,b]);return f(Wn,{value:T,children:f(_h.Provider,{value:E,children:a})})}function _s(){return Be(_h)}const Y1=p("DatePickerCalendar",S("DatePickerCalendar",null,(e,t)=>{const n=M(null),r=xe(t,n),{showTodayButton:a=!1,showClearButton:o=!1,...i}=e,{selectionMode:s,calendarProps:l,datePickerState:c}=_s();return f(w,{root:Oh,forwardedRef:r,props:{selectionMode:s,showTodayButton:a,showClearButton:o,handleClearClick:()=>c.setValue(null),calendarProps:l,...i}})})),X1=e=>{const t=M(null),{segment:n,state:r}=e,{segmentProps:a}=Gv(n,r,t),o=[];n.type==="literal"?o.push("swan-date-picker-segment-separator"):o.push("swan-date-picker-segment");const i=_e(o),s={};return n.type!=="literal"&&(s["--swan-internal-date-picker-segment-length"]=n.placeholder.length.toString()),f("div",{...a,ref:t,className:i,style:{...a.style,...s},children:n.isPlaceholder?f("span",{className:"swan-date-picker-segment-placeholder","aria-hidden":"true",children:n.placeholder}):n.text})},Hs=e=>{const t=M(null),{locale:n}=Ze(),r=t0({...e,locale:n,createCalendar:()=>new Qe}),{fieldProps:a}=Ov({...e},r,t);return f("div",{...a,ref:t,className:"swan-date-picker-field",children:r.segments.map((o,i)=>f(X1,{segment:o,state:r},`${o.type}-${i}`))})},J1=p("H1",S("H1",null,(e,t)=>{const{children:n}=e;return f(w,{root:"h1",forwardedRef:t,classNames:["swan-heading"],props:{fontSize:"x4large",fontWeight:"bold",...e},children:n})})),Q1=p("H2",S("H2",null,(e,t)=>{const{children:n}=e;return f(w,{root:"h2",forwardedRef:t,classNames:["swan-heading"],props:{fontSize:"x3large",fontWeight:"bold",...e},children:n})})),e$=p("H3",S("H3",null,(e,t)=>{const{children:n}=e;return f(w,{root:"h3",forwardedRef:t,classNames:["swan-heading"],props:{fontSize:"x2large",fontWeight:"bold",...e},children:n})})),t$=p("H4",S("H4",null,(e,t)=>{const{children:n}=e;return f(w,{root:"h4",forwardedRef:t,classNames:["swan-heading"],props:{fontSize:"large",fontWeight:"bold",...e},children:n})})),n$=p("H5",S("H5",null,(e,t)=>{const{children:n}=e;return f(w,{root:"h5",forwardedRef:t,classNames:["swan-heading"],props:{fontSize:"standard",fontWeight:"bold",...e},children:n})})),r$=p("H6",S("H6",null,(e,t)=>{const{children:n}=e;return f(w,{root:"h6",forwardedRef:t,classNames:["swan-heading"],props:{fontSize:"standard",fontWeight:"bold",...e},children:n})})),Hh=p("FluidImage",S("FluidImage",null,({children:e,...t},n)=>f(w,{root:"img",forwardedRef:n,props:t,classNames:["swan-fluid-image"],children:e}))),zs=new Map,no=new WeakMap;let zh=0,a$;function o$(e){return e?(no.has(e)||(zh+=1,no.set(e,zh.toString())),no.get(e)):"0"}function i$(e){return Object.keys(e).sort().filter(t=>e[t]!==void 0).map(t=>`${t}_${t==="root"?o$(e.root):e[t]}`).toString()}function s$(e){let t=i$(e),n=zs.get(t);if(!n){const r=new Map;let a;const o=new IntersectionObserver(i=>
12{i.forEach(s=>{var l;const c=s.isIntersecting&&a.some(d=>s.intersectionRatio>=d);e.trackVisibility&&typeof s.isVisible>"u"&&(s.isVisible=c),(l=r.get(s.target))==null||l.forEach(d=>{d(c,s)})})},e);a=o.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),n={id:t,observer:o,elements:r},zs.set(t,n)}return n}function l$(e,t,n={},r=a$){if(typeof window.IntersectionObserver>"u"&&r!==void 0){const l=e.getBoundingClientRect();return t(r,{isIntersecting:r,target:e,intersectionRatio:typeof n.threshold=="number"?n.threshold:0,time:0,boundingClientRect:l,intersectionRect:l,rootBounds:l}),()=>{}}const{id:a,observer:o,elements:i}=s$(n);let s=i.get(e)||[];return i.has(e)||i.set(e,s),s.push(t),o.observe(e),function(){s.splice(s.indexOf(t),1),s.length===0&&(i.delete(e),o.unobserve(e)),i.size===0&&(o.disconnect(),zs.delete(a))}}function c$({threshold:e,delay:t,trackVisibility:n,rootMargin:r,root:a,triggerOnce:o,skip:i,initialInView:s,fallbackInView:l,onChange:c}={}){var d;const[u,m]=rn.useState(null),h=rn.useRef(),[b,g]=rn.useState({inView:!!s,entry:void 0});h.current=c,rn.useEffect(()=>{if(i||!u)return;let C;return C=l$(u,(x,E)=>{g({inView:x,entry:E}),h.current&&h.current(x,E),E.isIntersecting&&o&&C&&(C(),C=void 0)},{root:a,rootMargin:r,threshold:e,trackVisibility:n,delay:t},l),()=>{C&&C()}},[Array.isArray(e)?e.toString():e,u,a,r,o,i,n,l,t]);const v=(d=b.entry)==null?void 0:d.target,y=rn.useRef();!u&&v&&!o&&!i&&y.current!==v&&(y.current=v,g({inView:!!s,entry:void 0}));const $=[m,b.inView,b.entry];return $.ref=$[0],$.inView=$[1],$.entry=$[2],$}const d$=({open:e,error:t,errorInfo:n,msg:r="Something went wrong!"})=>Y("div",{children:[typeof r=="string"?f("h2",{children:r}):r,Y("details",{style:{whiteSpace:"pre-wrap"},open:e,children:[f("summary",{children:"Error details"}),f("p",{children:t&&t.toString()}),f("h4",{className:"swan-mt-4",children:"Stack trace:"}),f("div",{children:n&&n.componentStack})]})]});class Us extends so{constructor(t){super(t),this.state={error:null,errorInfo:null}}static getDerivedStateFromError(t){return{error:t}}componentDidCatch(t,n){this.setState({error:t,errorInfo:n})}render(){const{children:t,fallback:n,forceShowError:r=!1,errorDetailMsg:a}=this.props;return this.state.error?Y(qe,{children:[n,r||!n?f(d$,{error:this.state.error,errorInfo:this.state.errorInfo,open:!n,msg:a}):null]}):f(qe,{children:t})}}p("ErrorBoundary",Us);class u$ extends so{constructor(t){super(t),this.loadImage=(n,r)=>{this.image&&(this.image.onload=null,this.image.onerror=null);const a=new Image;this.image=a,a.onload=this.onLoad,a.onerror=this.onError,a.src=n,r&&(a.srcset=r.srcSet,a.sizes=r.sizes)},this.onLoad=()=>{this.props.delay?this.setImageWithDelay():this.setImage()},this.setImageWithDelay=()=>{setTimeout(()=>{this.setImage()},this.props.delay)},this.setImage=()=>{this.setState({image:this.image?.src||"",loading:!1,srcSetData:{srcSet:this.image?.srcset||"",sizes:this.image?.sizes||""}})},this.onError=n=>{const{onError:r}=this.props;r&&r(n)},this.image=void 0,this.state={image:t.placeholder,loading:!0,srcSetData:{srcSet:"",sizes:""}}}componentDidMount(){const{src:t,srcSetData:n}=this.props;this.loadImage(t,n)}componentDidUpdate(t){const{src:n,placeholder:r,srcSetData:a}=this.props;n!==t.src&&this.initializeState(n,r,a)}componentWillUnmount(){this.image&&(this.image.onload=null,this.image.onerror=null)}initializeState(t,n,r){this.setState({image:n,loading:!0},()=>{this.loadImage(t,r)})}render(){const{image:t,loading:n,srcSetData:r}=this.state,{children:a}=this.props;if(!a||typeof a!="function")throw new Error("ProgressiveImage requires a function as its only child");return a(t,n,r)}}const Uh=p("ProgressiveImage",S("ProgressiveImage",null,(e,t)=>{const{children:n,onError:r,placeholder:a="",src:o="",srcSet:i,sizes:s,trigger:l="inView",intersectionOptions:c={threshold:0},...d}=e,[u,m]=j({delay:0,src:a??"",sizes:void 0,srcSet:void 0}),{ref:h,inView:b}=c$({...c,triggerOnce:!0});G(()=>{l==="immediate"||l==="inView"&&b?m({src:o,srcSet:i,sizes:s,delay:0}):typeof l=="number"&&m({src:o,srcSet:i,sizes:s,delay:l})},[l,o,i,s,b]);const g=new Set(["swan-progressive-image-wrapper"]);return f(Us,{fallback:n({src:o},!1),children:f(w,{root:"div",forwardedRef:h,props:d,classNames:g,children:f(u$,{src:u.src,placeholder:a??"",srcSetData:{srcSet:u.srcSet||"",sizes:u.sizes||""},delay:u.delay,onError:v=>{r&&r(v)},children:(v,y,$)=>n({src:v,srcSet:$?.srcSet,sizes:$?.sizes},l!=="immediate"&&l==="inView"&&!b||y)})})})})),Wh=p("ResponsiveImageContainer",S("ResponsiveImageContainer",null,({as
12pectRatio:e,className:t,children:n,...r},a)=>f(eh,{...r,className:_e(t,"swan-responsive-image-wrapper"),ratio:e,ref:a,children:n}))),Gh=p("ResponsiveImage",S("ResponsiveImage",null,({children:e,...t},n)=>f(w,{root:"img",classNames:["swan-responsive-image"],forwardedRef:n,props:t,children:e}))),jh=p("BasicResponsiveImage",S("BasicResponsiveImage",null,({aspectRatio:e,...t},n)=>f(Wh,{aspectRatio:e,children:f(Gh,{...t,ref:n})}))),Zh=p("Img",e=>e.variant==="responsive"?f(jh,{...e,variant:void 0}):e.variant==="progressive"?f(Uh,{...e,variant:void 0}):f(Hh,{...e,variant:void 0}));Zh.displayName="Img";const f$=p("P",S("Paragraph",null,(e,t)=>{const{children:n}=e;return f(w,{root:"p",forwardedRef:t,props:e,children:n})})),m$=p("Section",S("Section",null,({children:e,...t},n)=>f(w,{root:"section",forwardedRef:n,props:t,children:e}))),qh=p("Span",S("Span",null,(e,t)=>{const{children:n}=e;return f(w,{root:"span",forwardedRef:t,props:e,children:n})})),h$=p("DatePickerInput",S("DatePickerInput",null,(e,t)=>{const{skin:n="standard",...r}=e,{selectionMode:a,inputRef:o,buttonRef:i,fieldProps:s,groupProps:l,startFieldProps:c,endFieldProps:d,buttonProps:u,disabled:m,invalid:h}=_s(),{buttonProps:b}=cr({...u},i),g=xe(t,o),v={...r,...l},y=["swan-date-picker-input-group"];(n==="error"||h)&&y.push("swan-date-picker-input-error");const C=_e(["swan-date-picker-input"]);return Y(w,{root:"div",forwardedRef:g,classNames:y,props:v,children:[f("div",{className:C,"aria-disabled":m,children:a==="range"?Y("div",{className:"swan-date-picker-field-range",children:[f(Hs,{...c}),f(qh,{"aria-hidden":"true",children:"\u2013"}),f(Hs,{...d})]}):f(Hs,{...s})}),f(ut,{ref:i,...b,tooltip:"",...vt,skin:"tertiary",className:"swan-date-picker-button",children:f($e,{iconType:"calendar"})})]})})),p$=p("DatePickerPopover",S("DatePickerPopover",{},(e,t)=>{const{children:n,...r}=e,{overlayState:a}=We(),{dialogProps:o}=_s();return a.isOpen?f(Ja,{ref:t,placement:"bottom left",fullBleed:!0,disableContainerPadding:!0,hideArrow:!0,className:"swan-date-picker-popover",...r,children:Y(ks,{...o,children:[f(Ta,{onDismiss:()=>a.close}),n,f(Ta,{onDismiss:()=>a.close})]})}):null})),g$=p("DatePicker",S("DatePicker",null,(e,t)=>{pe("DatePicker",ae.datePicker);const{children:n,selectionMode:r="single",disabled:a=!1,...o}=e,{dateProps:i,otherProps:s}=Kh(r,{disabled:a,...o});return f(w,{root:"div",forwardedRef:t,props:s,classNames:new Set(["swan-date-picker"]),children:f(q1,{selectionMode:r,disabled:a,dateProps:i,children:n})})})),b$=p("Divider",S("Divider",null,({children:e,...t},n)=>f(w,{root:"hr",classNames:["swan-divider"],forwardedRef:n,props:t,children:e}))),v$=p("EmptyStateActions",S("EmptyStateActions",null,(e,t)=>f(w,{root:"div",forwardedRef:t,classNames:["swan-empty-state-actions"],props:e,children:e.children}))),S$=p("EmptyStateDescription",S("EmptyStateDescription",null,(e,t)=>f(w,{root:"p",forwardedRef:t,classNames:["swan-empty-state-description"],props:e,children:e.children}))),y$=p("EmptyStateFooter",S("EmptyStateFooter",null,(e,t)=>f(w,{root:"div",forwardedRef:t,classNames:["swan-empty-state-footer"],props:e,children:e.children}))),w$=p("EmptyStateIllustration",S("EmptyStateIllustration",null,(e,t)=>{const{alt:n="",illustrationType:r,...a}=e;ie("EmptyStateIllustration",e,[{propName:"illustrationType",deprecatedValues:{generic:"Use one of the context-specific illustrations."}}]);const{swanPathType:o,swanBaseUrl:i,brand:s}=Qt(),l=r&&r in vl?St({type:"illustration",key:r,pathType:o,baseUrl:i,brand:s}):void 0;return f(w,{root:"img",forwardedRef:t,classNames:["swan-empty-state-illustration"],props:{...a,alt:n,src:l}})})),$$=p("EmptyStateTitle",S("EmptyStateTitle",null,(e,t)=>f(w,{root:"p",forwardedRef:t,classNames:["swan-empty-state-title"],props:e,children:e.children}))),C$=p("EmptyState",S("EmptyState",null,(e,t)=>{pe("EmptyState",ae.emptyState);const{children:n,size:r="standard",...a}=e,o=new Set(["swan-empty-state",`swan-empty-state-${r}`]);return f(w,{root:"div",forwardedRef:t,classNames:o,props:a,children:n})})),x$=p("FieldSetLegend",S("FieldSetLegend",null,({children:e,...t},n)=>f(w,{root:"legend",forwardedRef:n,props:t,children:e}))),P$=p("FieldSet",S("FieldSet",null,({children:e,...t},n)=>f(w,{root:"fieldset",forwardedRef:n,props:t,classNames:["swan-fieldset"],children:e}))),T$=e=>{const[t,n]=j(!1),[r,a]=j(!1),o=M(0),i=Q(d=>{d.preventDefault();const u=e.current?.querySelector(".swan-file-input");if(!u)return null;u.disabled===!1&&!u.multiple&&d.dataTransfer&&d.dataTransfer.items.length>1&&a(!0)},[e]),s=Q(d=>{d.preventDefault();const u=e.current?.querySelector(".swan-file-input");if(!u)return null;o.current++,u.disabled===!1&&n(!0)},[e]),l=Q(d=>{d.preventDefault();const u=e.current?.querySelector(".swan-file-input");if(!u)return null;o.current--,o.current===0&&u.disabled===!1&&(n(!1),a(!1))},[e]),c=Q(d=>{d.preventDefault();const u=e.current?.querySelector(".swan-file-input");if(!u)return null;if(o.current=0,u.disabled===!1){n(!1),a(!1);const m=d.dataTransfer?.files;if(!m||m.length<=0)return;if(u.multiple)u.files=m;else{const h=m.item(0);if(!h)return;const b=new DataTransfer;b.items.add(h),u.files=b.files}
12u.dispatchEvent(new Event("change",{bubbles:!0}))}},[e]);return G(()=>{const d=e.current;if(d)return d.addEventListener("dragover",i),d.addEventListener("dragenter",s),d.addEventListener("dragleave",l),d.addEventListener("drop",c),()=>{d.removeEventListener("dragover",i),d.removeEventListener("dragenter",s),d.removeEventListener("dragleave",l),d.removeEventListener("drop",c)}},[e,s,l,i,c]),{isDragging:t,isMultiDropError:r}},D$={h1:"x4large",h2:"x3large",h3:"x2large",h4:"large",h5:"standard",h6:"standard"},Ws={h1:"bold",h2:"bold",h3:"bold",h4:"bold",h5:"bold",h6:"bold"};function Yh(e,t){if(!(t==null||!e)&&t in e)return e[t]}const Zn=p("Typography",S("Typography",null,(e,t)=>{const{children:n,noWrap:r=!1,truncate:a=!1,...o}=e,i=new Set,s=o.as||o.component;typeof s=="string"&&s in Ws&&i.add("swan-heading"),r&&i.add("swan-text-no-wrap"),a&&i.add("swan-text-truncate"),typeof s=="string"&&s in Ws&&(e.__dangerouslySuppressWarning,`${s}${s.toUpperCase()}`,void 0);const l={fontSize:e.fontSize||Yh(D$,s)||void 0,fontWeight:e.fontWeight||Yh(Ws,s),...o};return f(w,{root:"div",forwardedRef:t,classNames:i,props:l,children:n})})),E$=p("FileDropzone",S("FileDropzone",null,(e,t)=>{const n=ke();Un(e,["note","dropNote","multiFileErrorMessage"]),pe("FileDropzone",ae.fileDropzone),ie("FileDropzone",e,[{propName:"note",instructions:ye(n)},{propName:"dropNote",instructions:ye(n)},{propName:"multiFileErrorMessage",instructions:ye(n)}]);const{children:r,note:a,dropNote:o,multiFileErrorMessage:i,...s}=e,l=new Set(["swan-file-dropzone"]),c=M(null),{isDragging:d,isMultiDropError:u}=T$(c);d&&l.add("swan-file-dropzone-on-drag"),u&&l.add("swan-file-dropzone-has-multi-file-error");const m=xe(t,c);let h=a,b=o,g=i;return n&&!a&&(h=n.t("file-dropzone.drag-and-drop-note")),n&&!o&&(b=n.t("file-dropzone.drop-note")),n&&!i&&(g=n.t("file-dropzone.multi-file-error-message")),Y(w,{classNames:l,root:"div",forwardedRef:m,props:s,children:[r,f(Zn,{className:"swan-file-dropzone-note",children:h}),Y("div",{className:"swan-file-dropzone-drop-note",children:[f($e,{iconType:"add"}),f(Zn,{fontSkin:"body-standard-bold",children:b})]}),Y("div",{className:"swan-file-dropzone-error-message",children:[f($e,{iconType:"error"}),f(Zn,{fontSkin:"body-standard-bold",children:g})]})]})})),F$=p("FileDropzoneSources",S("FileDropzoneSources",null,(e,t)=>{const n=new Set(["swan-file-dropzone-sources"]),{children:r,...a}=e;return f(w,{root:"div",forwardedRef:t,classNames:n,props:a,children:r})})),Xh=me(void 0),B$=()=>Be(Xh),I$=p("FileInput",S("FileInput",null,(e,t)=>{const{children:n,id:r,disabled:a,...o}=e,i=we(r),s=Kt(i);return Y(qe,{children:[f(w,{classNames:["swan-file-input","swan-visually-hidden"],root:"input",forwardedRef:t,props:{...o,...s,disabled:a,type:"file"}}),f(Xh.Provider,{value:{inputId:i,disabled:a},children:n})]})})),k$=p("FileInputLabel",S("FileInputLabel",null,({children:e,skin:t,size:n,width:r,specialVariant:a,iconPosition:o,buttonShape:i,...s},l)=>{const{inputId:c,disabled:d}=B$();return f(Dt,{skin:t,size:n,width:r,specialVariant:a,iconPosition:o,buttonShape:i,render:({className:u})=>f(w,{root:"label",forwardedRef:l,classNames:["swan-file-input-label",u??""],props:{...s,htmlFor:c,"aria-disabled":d},children:e})})})),Jh=me(void 0),N$=({children:e})=>{const[t,n]=j(void 0),r=H(()=>({id:t,setId:n}),[t]);return f(Jh.Provider,{value:r,children:e})},Qh=()=>ve(Jh),R$=e=>{const t=Qh(),n=we(e);return G(()=>{t?.setId(n)},[t,n]),t?.id},ep=p("ProgressBarContainer",S("ProgressBarContainer",void 0,(e,t)=>f(N$,{children:f(w,{root:"div",forwardedRef:t,classNames:["swan-progress-bar-container"],props:e,children:e.children})}))),tp=p("ProgressOutput",S("ProgressOutput",null,({children:e,...t},n)=>{const r=Qh();return f(w,{root:"output",classNames:["swan-progress-label"],forwardedRef:n,props:{...t,htmlFor:t.htmlFor??r?.id},children:e})})),Gs=p("Progress",S("Progress",void 0,(e,t)=>{pe("Progress",ae.progressBar);const n=R$(e.id);return f(w,{root:"progress",classNames:["swan-progress"],forwardedRef:t,props:{max:100,...e,id:n},children:e.children})})),L$=p("ProgressBar",S("ProgressBar",void 0,(e,t)=>
12{const n=It(yt(e,e.className?[e.className]:void 0)),r={...$n(e),as:e.as,component:e.component,render:e.render};return Y(ep,{className:n,children:[f(Gs,{ref:t,...r,children:e.children}),e.value===null||e.value===void 0?null:Y(tp,{children:[e.value,"%"]})]})})),M$=p("FileTile",S("FileTile",null,(e,t)=>{const n=ke();Un(e,["accessibleTextForProgress","accessibleTextForSpinner"]),ie("FileTile",e,[{propName:"accessibleTextForProgress",instructions:ye(n)},{propName:"accessibleTextForSpinner",instructions:ye(n)}]),pe("FileTile",ae.fileTile);const{children:r,fileName:a,fileDescription:o,progressValue:i,accessibleTextForProgress:s,accessibleTextForSpinner:l,skin:c="standard",layout:d="thumb",errorMessage:u,...m}=e;let h=s,b=l;n&&!h&&(h=n.t("file-tile.accessible-text-for-progress",{progress:n.formatNumber(i??0,{style:"unit",unit:"percent"})})),n&&!b&&(b=n.t("file-tile.accessible-text-for-spinner"));const g=c==="error"||u,v=new Set(["swan-file-tile",`swan-file-tile-skin-${g?"error":c}`,`swan-file-tile-layout-${d}`]),y=ve(Bn);if(g&&!y)throw Error('FileTile must be wrapped in FormField with a FileInput when using skin="error"');return Y(ih,{className:Array.from(v).join(" "),ref:t,...m,bordered:!0,children:[f(Ha,{className:"swan-file-tile-spinner",accessibleText:b??""}),r,Y("div",{className:"swan-file-tile-details",children:[f(Zn,{className:"swan-file-tile-name",fontSkin:"title-item",children:a}),f(Zn,{className:"swan-file-tile-description",fontSkin:"body-small",textColor:"subtle",children:g?f(gh,{as:"div",children:u}):c==="queued"?b:o}),f("div",{className:"swan-file-tile-progress-container",children:f(Gs,{value:i??0,"aria-label":h})})]})]})})),A$=p("FileTileDeleteButton",S("FileTileDeleteButton",null,(e,t)=>{const n=ke();ie("FileDropzone",e,[{propName:"accessibleText",instructions:ye(n)}]),Un(e,["accessibleText"]);const{accessibleText:r,...a}=e;let o=r;return n&&!r&&(o=n.t("file-tile-delete-button.accessible-text-for-icon")),f(ut,{className:"swan-file-tile-delete-button",skin:"destructive-secondary","aria-label":o,ref:t,...a,tooltip:"",...vt,children:f($e,{iconType:"delete"})})})),O$=p("FileTileThumbnail",S("FileTileThumbnail",null,(e,t)=>{const{children:n,...r}=e;return Y(w,{classNames:new Set(["swan-file-tile-thumbnail"]),root:"div",forwardedRef:t,props:{...r},children:[n?f("div",{className:"swan-file-tile-thumbnail-image-container",children:n}):null,f($e,{className:"swan-file-tile-icon",iconType:"fileGeneric"}),f($e,{className:"swan-file-tile-icon-error",iconType:"error",skin:"error"})]})})),V$=p("Column",S("Column",null,(e,t)=>{ie("Column",e,[{propName:"floatingContainer",instructions:"No replacement available."},{propName:"floatingContainerAlignment",instructions:"No replacement available."}]);const{children:n,span:r,spanXs:a,spanSm:o,spanMd:i,spanLg:s,spanXl:l,offset:c,offsetSm:d,offsetMd:u,offsetLg:m,offsetXl:h,push:b,pushSm:g,pushMd:v,pushLg:y,pushXl:$,pull:C,pullSm:x,pullMd:E,pullLg:T,pullXl:I,flexColumn:k=!1,verticallyCenterContent:K=!1,sticky:U=!1,unsticky:B="none",floatingContainer:N=!1,floatingContainerAlignment:_="left",...P}=e,R=[`swan-col-${r}`];return a!==void 0&&R.push(`swan-col-xs-${a}`),o!==void 0&&R.push(`swan-col-sm-${o}`),i!==void 0&&R.push(`swan-col-md-${i}`),s!==void 0&&R.push(`swan-col-lg-${s}`),l!==void 0&&R.push(`swan-col-xl-${l}`),c!==void 0&&R.push(`swan-col-offset-${c}`),d!==void 0&&R.push(`swan-col-sm-offset-${d}`),u!==void 0&&R.push(`swan-col-md-offset-${u}`),m!==void 0&&R.push(`swan-col-lg-offset-${m}`),h!==void 0&&R.push(`swan-col-xl-offset-${h}`),C!==void 0&&R.push(`swan-col-pull-${C}`),x!==void 0&&R.push(`swan-col-sm-pull-${x}`),E!==void 0&&R.push(`swan-col-md-pull-${E}`),T!==void 0&&R.push(`swan-col-lg-pull-${T}`),I!==void 0&&R.push(`swan-col-xl-pull-${I}`),b!==void 0&&R.push(`swan-col-push-${b}`),g!==void 0&&R.push(`swan-col-sm-push-${g}`),v!==void 0&&R.push(`swan-col-md-push-${v}`),y!==void 0&&R.push(`swan-col-lg-push-${y}`),$!==void 0&&R.push(`swan-col-xl-push-${$}`),k&&R.push("swan-col-flex-column"),K&&R.push("swan-col-vertically-center"),U&&R.push("swan-col-sticky"),B==="xs"&&R.push("swan-col-unsticky-xs"),N&&R.push("swan-floating-container"),_==="right"&&R.push("swan-floating-container-right"),f(w,{root:"div",forwardedRef:t,props:P,classNames:R,children:n})})),K$=p("GridContainer",S("GridContainer",null,(e,t)=>{ie("GridContainer",e,[{propName:"gutter",instructions:"As it is rarely used, it has been deprecated to improve c
12onsistency for customers, and reduce UX debt."}]);const{children:n,dividers:r=!1,gutter:a="standard",...o}=e;pe("GridContainer",ae.grid);const i=["swan-grid-container"];return r&&i.push("swan-grid-dividers"),a==="tight"&&i.push("swan-grid-container-tight"),f(w,{root:"div",forwardedRef:t,props:o,classNames:i,children:n})})),_$={...Rp,matchGutter:an("SwanSemSpaceBetweenColumns")},H$=p("Row",S("Row",null,({children:e,sticky:t=!1,style:n,verticalGap:r,...a},o)=>{const i=["swan-row"];t&&i.push("swan-row-sticky");const s={...n,rowGap:r!=null?_$[r]:void 0};return f(w,{root:"div",forwardedRef:o,props:{...a,style:s},classNames:i,children:e})}));function Mr(e,t,n,r){const{swanBaseUrl:a,swanPathType:o,swanTenant:i,swanLocale:s}=Qt();return H(()=>{const l=a===zt?Wr(n||i,r||s):a;return{swanPathType:t||o,swanBaseUrl:e||l}},[o,a,i,s,e,t,n,r])}var np=p("SwanFontNameEnum",(e=>(e.Graphik="Graphik",e.GraphikMedium="GraphikMedium",e.GraphikRegular="GraphikRegular",e.Tiempos="Tiempos",e.TiemposRegular="TiemposRegular",e.Primary="Graphik",e.PrimaryBold="GraphikMedium",e.PrimaryRegular="GraphikRegular",e.Secondary="Tiempos",e.SecondaryRegular="TiemposRegular",e))(np||{}));const rp=p("SwanFonts",({fontNames:e,swanPathType:t,swanBaseUrl:n,swanTenant:r,swanLocale:a,renderWith:o=Ht,renderStyleContentAsChildren:i})=>{const{swanBaseUrl:s,swanPathType:l}=Mr(n,t,r,a),[c,d]=H(()=>js(e||void 0,l,s),[e,l,s]);return Y(o,{children:[c.map(u=>f("link",{rel:"preload",crossOrigin:"anonymous",as:"font",href:u},u)),i?f("style",{type:"text/css",children:d},"swan-font-config-children"):f("style",{type:"text/css",dangerouslySetInnerHTML:{__html:d}},"swan-font-config-inner-html")]})});function js(e,t=Ft.hashed,n){const r=["Graphik","Tiempos"];let a,o;if(e&&!Array.isArray(e)){if(a=e.pathType??Ft.hashed,o=e.swanAssetBaseUrl,!o)throw new Error("getSwanFontRenderConfig: swanAssetBaseUrl is required")}else a=t,o=n??zt;const i=r.flatMap(l=>Zs(l,a,o)).filter(Gr),s=r.map(l=>qs(l,a,o)).join(` 13`);return[i,s]}function Zs(e,t,n){switch(e){case"Graphik":return["GraphikMedium","GraphikRegular"].flatMap(r=>Zs(r,t,n));case"GraphikMedium":return[St({type:"font",key:Bt.graphicMedium2,pathType:t,baseUrl:n})];case"GraphikRegular":return[St({type:"font",key:Bt.graphicRegular2,pathType:t,baseUrl:n})];case"Tiempos":return["TiemposRegular"].flatMap(r=>Zs(r,t,n));case"TiemposRegular":return[St({type:"font",key:Bt.tiemposRegular2,pathType:t,baseUrl:n})];default:return[null]}}function qs(e,t,n){const r=a=>St({type:"font",key:a,pathType:t,baseUrl:n})||"";switch(e){case"Graphik":return["GraphikMedium","GraphikRegular"].map(a=>qs(a,t,n)).join(` 14`);case"Tiempos":return["TiemposRegular"].map(a=>qs(a,t,n)).join(` 15`);case"GraphikMedium":return` 16 @font-face { 17 font-family: 'Graphik'; 18 font-stretch: normal; 19 font-style: normal; 20 font-weight: 700; 21 font-display: swap; 22 src: url('${r(Bt.graphicMedium2)}') format('woff2'), 23 url('${r(Bt.graphicMedium)}') format('woff'); 24 }`;case"GraphikRegular":return` 25 @font-face { 26 font-family: 'Graphik'; 27 font-stretch: normal; 28 font-style: normal; 29 font-weight: 400; 30 font-display: swap; 31 src: url('${r(Bt.graphicRegular2)}') format('woff2'), 32 url('${r(Bt.graphicRegular)}') format('woff'); 33 }`;case"TiemposRegular":return` 34 @font-face { 35 font-family: 'Tiempos'; 36 font-stretch: normal; 37 font-style: normal; 38 font-weight: 400; 39 font-display: swap; 40 src: url('${r(Bt.tiemposRegular2)}') format('woff2'); 41 } 42 `;default:return""}}const ap=p("SwanPageMeta",({swanBaseUrl:e,swanPathType:t,swanTenant:n,swanLocale:r,renderWith:a=Ht})=>{const{swanBaseUrl:o}=Mr(e,t,n,r),i=`${o}${mo}/${tr(Ee.FAVICONS)}`;return Y(a,{children:[f("meta",{charSet:"UTF-8"},"charset"),f("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0"},"viewport"),f("meta",{name:"format-detection",content:"telephone=no"},"telephone format detection"),f("meta",{name:Zr,content:Vr},Zr),f("link",{rel:"shortcut icon",href:`${i}/favicon.ico`},"favIcon"),f("link",{rel:"apple-touch-icon",sizes:"152x152",href:`${i}
42/apple-icon-152x152.png`},"favIcon152"),f("link",{rel:"apple-touch-icon",sizes:"120x120",href:`${i}/apple-icon-120x120.png`},"favIcon120"),f("link",{rel:"apple-touch-icon",sizes:"76x76",href:`${i}/apple-icon-76x76.png`},"favIcon76"),f("link",{rel:"apple-touch-icon",sizes:"60x60",href:`${i}/apple-icon-60x60.png`},"favIcon60")]})}),op=p("SwanStylesheets",({styleSheetKeys:e=Sl,swanPathType:t,swanBaseUrl:n,swanTenant:r,swanLocale:a,renderWith:o=Ht})=>{const{swanBaseUrl:i,swanPathType:s}=Mr(n,t,r,a),l=H(()=>{const d=new Set(e);d.delete(ae.core),d.delete(ae.utility);const u=Array.from(d);return u.sort(),u.unshift(ae.core,ae.utility),u.map(b=>St({type:"stylesheet",key:b,pathType:s,baseUrl:i})).filter(Gr)},[e,s,i]),c=o==null||o===Ht?{precedence:"swan-3"}:{};return f(o,{children:l.map(d=>f("link",{rel:"stylesheet",href:d,...c},d))})}),z$=p("SwanHead",({fontNames:e,styleSheetKeys:t,renderStyleContentAsChildren:n,...r})=>Y(qe,{children:[f(ap,{...r}),f(rp,{fontNames:e,renderStyleContentAsChildren:n,...r}),f(op,{styleSheetKeys:t,...r})]})),U$=p("Hidden",S("Hidden",null,(e,t)=>{pe("Hidden",ae.hidden);const{children:n,xs:r=!1,sm:a=!1,md:o=!1,lg:i=!1,xl:s=!1,...l}=e,c=new Set;return r&&c.add("swan-hidden-xs"),a&&c.add("swan-hidden-sm"),o&&c.add("swan-hidden-md"),i&&c.add("swan-hidden-lg"),s&&c.add("swan-hidden-xl"),f(w,{root:"div",forwardedRef:t,classNames:c,props:l,children:n})})),W$=p("InputWithFloatingLabel",S("InputWithFloatingLabel",null,(e,t)=>{const{children:n}=e;return f(Nr,{children:f(w,{root:"div",forwardedRef:t,props:e,classNames:["swan-vanilla-ignore","swan-input-with-floating-label"],children:n})})})),G$=p("FloatingLabel",S("FloatingLabel",null,({children:e,...t},n)=>{const{inputId:r}=ph();return f(w,{root:"label",forwardedRef:n,props:{...t,htmlFor:r},classNames:["swan-label"],children:e})})),j$=p("LeftHandNavigationHeader",S("LeftHandNavigationHeader",null,(e,t)=>f(w,{root:"h2",forwardedRef:t,classNames:["swan-lhn-header"],props:e,children:e.children}))),Z$=p("LeftHandNavigation",S("LeftHandNavigation",null,(e,t)=>{const{children:n,skin:r="standard",...a}=e,o=new Set(["swan-lhn"]);return r&&r!=="standard"&&o.add(`swan-lhn-skin-${r}`),f(w,{root:"nav",forwardedRef:t,classNames:o,props:a,children:n})})),ip=p("Link",S("Link",null,(e,t)=>{ie("Link",e,[{propName:"withIconSeparated",instructions:"This prop behaves the same as `withIcon`, use `withIcon` instead."}]);const{children:n,skin:r="standard",width:a="standard",withIcon:o=!1,withIconSeparated:i=!1,covering:s=!1,to:l,...c}=e,{globalLinkComponent:d}=Qt();let u={...c,to:l};d&&(u={...u,as:e.as||e.component||d}),!e.href&&!e.as&&!e.component&&!e.render&&(u={href:e.to||void 0,...u});const m=new Set(["swan-link"]);return r!=="standard"&&m.add(`swan-link-skin-${r}`),a==="full-width"&&m.add("swan-link-full-width"),(o||i)&&m.add("swan-link-with-icon"),i&&m.add("swan-link-with-icon-separated"),s&&m.add("swan-link-covering"),Y(w,{root:"a",forwardedRef:t,classNames:m,props:u,children:[r==="cta-left"&&f($e,{iconType:"arrowLeft"}),n,r==="cta"&&f($e,{iconType:"arrowRight"})]})})),sp=p("Markup",S("Markup",null,(e,t)=>{const{children:n,...r}=e;return f(w,{root:"div",forwardedRef:t,classNames:new Set(["swan-markup"]),props:r,children:n})})),q$=p("UncustomizableMarkup",sp);function Y$(e,t,n){return H(()=>({menuState:n,menuProps:{...e},menuRef:t}),[n,e,t])}const lp=me(void 0);function X$(){return Be(lp)}const cp=me(void 0);function J$(){return Be(cp)}const Q$=Ls;function eC(e){const{children:t,onAction:n}=e,{triggerRef:r,triggerProps:a,overlayState:o}=We(),{menuTriggerProps:i,menuProps:s}=Ni({...a,type:"menu"},o,r),l=H(()=>({triggerProps:i,triggerDisabled:!1}),[i]),c=M(null),{childItems:d,items:u,disabledKeys:m}=Gn(),h=f0({...s,items:u,disabledKeys:m,children:d}),b=Y$({...s,onAction:n},c,h);return f(cp.Provider,{value:l,children:f(lp.Provider,{value:b,children:t})})}function tC(e){const{maxHeight:t,...n}=e,r=im({}),a=M(null),o=M(null),i=H(()=>({popoverRef:a,triggerRef:o,overlayState:r,overlayProps:{},triggerProps:{},maxHeight:t??Q$}),[a,o,r,t]);return f(Wn,{value:i,children:f(eC,{...n})})}function dp(e){const{children:t,onChange:n,maxHeight:r,disabledKeys:a}=e;return pe("Menu",[ae.popover,ae.listbox]),f(Rs,{disabledKeys:a,children:f(tC,{onAction:n,maxHeight:r,children:t})})}const up=p("MenuItem",Rr);up.displayName="MenuItem";const fp=({item:e,state:t})=>{const n=M(null),{disabled:r,href:a,textValue:o,...i}=e.props??{};yh(e.key,r);const{menuItemProps:s,isFocusVisible:l}=sS({key:e.key},t,n),c=new Set(["swan-menu-item","swan-listbox-option"]);return l&&c.add("swan-menu-item-focused swan-listbox-option-focused"),f(w,{root:a?"a":"li",forwardedRef:n,props:{href:a,...i,...s},classNames:c,children:e.rendered})};function nC({section:e,state:t}){const{itemProps:n,headingProps:r,groupProps:a}=lS({heading:e.rendered,"aria-label":e["aria-label"]});return Y("li",{...n,children:[e.rendered&&f("span",{...r,className:"swan-listbox-section-title swan-menu-section-title",children:e.rendered}),f("ul",{...a,className:"swan-listbox-section swan-menu-section",children:[...e.childNodes].map(o=>f(fp,{item:o,state:t},o.key))})]})}const rC=p("MenuList",S("MenuList",null,(e,t)=>{const{children:n,className:r,"aria-label":a}=e,{setChildItems:o}=Gn(),{overlayState:i}=We(),{menuProps:s,menuState:l,menuRef:c}=X$();G(()=>{o(()=>n)},[o,n]);const{menuProps:d}=iS({...s,"aria-label":a},l,c),u=xe(t,c),m=new Set(["swan-menu-list","swan-listbox-list"]);return r&&m.add(r),f("ul",{...e,...d,ref:u,className:[...m].join(" "),children:i.isOpen?[...l.collection].map(h=>h.type==="section"?f(nC,{section:h,state:l},h.key):f(fp,{item:h,state:l},h.key)):null})})),aC=p("MenuPopover",S("MenuPopover",{},(e,t)=>{ie("MenuPopover",e,[{propName:"labelText",instructions:"This is deprecated without a replacement."}]);const{children:n,className:r,placement:a="bottom start",hideArrow:o=!0,...i}=e,{overlayState:s}=We(),l=M(null),c=xe(t,l),d=new Set(["swan-menu-popover","swan-listbox-popover"]);return r&&d.add(r),s.isOpen?f(w,{root:Ja,forwardedRef:c,classNames:d,props:{placement:a,hideArrow:o,disableContainerPadding:!0,...i},children:n}):f("div",{"aria-hidden":"true",className:"swan-display-none",children:n})})),oC=p("MenuSection",Lr);function mp({children:e}){const{triggerRef:t}=We(),{triggerProps:n={}}=J$();return f(vh,{triggerRef:t,triggerProps:n,className:"swan-menu-trigger",children:e})}const iC=p("MainContentStart",S("MainContentStart",null,({children:e,...t},n)=>f(w,{root:"span",forwardedRef:n,props:{id:"maincontentstart",...t},children:e}))),sC=p("SiteContent",S("SiteContent",null,({children:e,...t},n)=>f(w,{root:"div",classNames:["swan-site-content"],forwardedRef:n,props:t,children:e}))),lC=p("SiteMain",S("SiteMain",null,({children:e,...t},n)=>f(w,{root:"main",classNames:["swan-site-main"],forwardedRef:n,props:t,children:e}))),cC=p("SkipLink",S("SkipLink",null,({children:e,...t},n)=>f(w,{root:"a",classNames:["swan-skip-link"],forwardedRef:n,props:{href:"#maincontentstart",...t},children:e}))),dC=p("PaginationButton",S("PaginationButton",null,(e,t)=>{const n=ke();ie("PaginationButton",e,[{propName:"accessibleText",instructions:ye(n)}]);const{children:r,disabled:a=!1,variant:o,accessibleText:i,as:s,component:l,href:c,...d}=e;let u=i;n&&!u&&(u=n.t(o==="next"?"pagination-button-next.accessible-text-for-icon":"pagination-button-previous.accessible-text-for-icon"));const m={"aria-label":u??void 0,...d,as:a?"button":s||l||"a",disabled:a?!0:void 0,href:a?void 0:c},h=[`swan-pagination-button-${o}`];return a&&h.push("swan-pagination-button-disabled"),f("li",{children:Y(w,{root:"a",classNames:h,forwardedRef:t,props:m,children:[o==="next"&&f($e,{iconType:"chevronRight"}),o==="previous"&&f($e,{iconType:"chevronLeft"}),r]})})})),uC=p("PaginationEllipses",S("PaginationEllipses",null,({children:e,...t},n)=>f("li",{children:f(w,{root:"div",classNames:["swan-pagination-step-ellipses"],forwardedRef:n,props:{...t,"aria-hidden":!0},children:e})}))),fC=p("PaginationStep",S("PaginationStep",null,(e,t)=>{const{children:n,active:r=!1,disabled:a=!1,accessibleText:o,as:i,component:s,pageNumber:l,href:c,...d}=e,u=ke();ie("PaginationStep",e,[{propName:"disabled",instructions:"This is deprecated without a replacement."},{propName:"accessibleText",instructions:ye(u)}]);let m=o;u&&!m&&(m=u.t("pagination-step.accessible-text-for-button",{pageNumber:l??""}));const h={...d,as:a?"button":i||s||"a",disabled:a?!0:void 0,href:a?void 0:c,"aria-current":!!r},b=new Set(["swan-pagination-step"]);return a&&b.add("swan-pagination-step-disabled"),r&&b.add("swan-pagination-step-active"),f("li",{children:Y(w,{root:"a",classNames:b,forwardedRef:t,props:h,children:[f(Ue,{children:m}),f("span",{"aria-hidden":o||u?"true":"false",children:l||n})]})})})),mC=p("Pagination",S("Pagination",null,(e,t)=>{const n=ke();ie("Pagination",e,[{propName:"accessibleText",instructions:ye(n)}]),pe("Pagination",ae.pagination);const{accessibleText:r,children:a,...o}=e;let i=r;return n&&!i&&(i=n.t("pagination.accessible-text")),f(w,{root:"nav",classNames:["swan-pagination"],forwardedRef:t,props:{"aria-label":i??void 0,...o,role:"navigation"},children:f("ul",{children:a})})})),hp=p("PaginationContext",me(null));function pp(){return Be(hp)}const hC=p("PipeSeparator",S("PipeSeparator",null,({children:e,...t},n)=>f(w,{root:"span",classNames:["swan-pipe-separator"],forwardedRef:n,props:{...t,role:"presentation"},children:e}))),pC=p("PriceBarBannerSegmentImage",S("PriceBarBannerSegmentImage",null,(e,t)=>f(w,{root:"img",forwardedRef:t,classNames:new Set(["swan-price-bar-banner-icon"]),props:e}))),gC=p("PriceBarBannerSegmentText",S("PriceBarBannerSegmentText",null,(e,t)=>{const{children:n}=e;return f(w,{root:"div",forwardedRef:t,classNames:new Set(["swan-price-bar-banner-text"]),props:e,children:n})})),bC=p("PriceBarBannerSegment",S("PriceBarBannerSegment",null,(e,t)=>{const{children:n}=e;return f(w,{root:"div",forwardedRef:t,classNames:new Set(["swan-price-bar-banner-segment"]),props:e,children:n})})),vC=p("PriceBarBanner",S("PriceBarBanner",null,(e,t)=>{const{children:n}=e;return f(w,{root:"div",forwardedRef:t,classNames:new Set(["swan-price-bar-banner"]),props:e,children:n})})),SC=p("PriceBarButtons",S("PriceBarButtons",null,(e,t)=>{const{children:n}=e;return f(w,{root:"div",forwardedRef:t,classNames:new Set(["swan-price-bar-buttons"]),props:e,children:n})})),yC=p("PriceBarCouponCallout",S("PriceBarCouponCallout`",null,(e,t)=>{const{children:n}=e;return f(w,{root:"div",forwardedRef:t,classNames:new Set(["swan-price-bar-coupon-callout"]),props:e,children:n})}
42)),wC=p("PriceBarInfoDetails",S("PriceBarInfoDetails",null,(e,t)=>{const{children:n}=e;return f(w,{root:"div",forwardedRef:t,classNames:new Set(["swan-price-bar-main-info-details"]),props:e,children:n})})),$C=p("PriceBarLink",S("PriceBarLink",null,(e,t)=>{const{children:n}=e;return f(w,{root:"button",forwardedRef:t,classNames:new Set(["swan-price-bar-main-link"]),props:e,children:n})})),CC=p("PriceBarMainButton",S("PriceBarMainButton",null,(e,t)=>{const{skin:n="primary",children:r}=e;return f(w,{root:Dt,forwardedRef:t,props:{skin:n,...e},children:r})})),xC=p("PriceBarMainInfo",S("PriceBarMainInfo",null,(e,t)=>{const{children:n}=e;return f(w,{root:"div",forwardedRef:t,classNames:new Set(["swan-price-bar-main-info"]),props:e,children:n})})),PC=p("PriceBarMain",S("PriceBarMain",null,(e,t)=>{const{children:n}=e;return f(w,{root:"div",forwardedRef:t,classNames:new Set(["swan-price-bar-main"]),props:e,children:n})})),TC=p("PriceBarPriceInfo",S("PriceBarPriceInfo",null,(e,t)=>{const n=ke();ie("PriceBarPriceInfo",e,[{propName:"accessibleText",instructions:ye(n)}]);const{accessibleText:r,...a}=e;let o=r;return n&&!r&&(o=n.t("price-bar-price-info.accessible-text-for-icon-button")),f(w,{root:"div",forwardedRef:t,classNames:new Set(["swan-price-bar-price-info"]),props:a,children:f(Dt,{skin:"unstyled",children:f($e,{alt:o||"",iconType:"info",size:"16p"})})})})),DC=p("PriceBarPrice",S("PriceBarPrice",null,(e,t)=>{const{children:n}=e;return f(w,{root:"div",forwardedRef:t,classNames:new Set(["swan-price-bar-price"]),props:e,children:n})})),EC=p("PriceBarQuantityAmount",S("PriceBarQuantityAmount",null,(e,t)=>{const n=new Set(["swan-price-bar-button-quantity-amount"]),{children:r}=e;return f(w,{root:"span",forwardedRef:t,classNames:n,props:e,children:r})})),FC=p("PriceBarQuantityLabel",S("PriceBarQuantityLabel",null,(e,t)=>{const n=new Set(["swan-price-bar-button-label"]),{children:r}=e;return f(w,{root:"span",forwardedRef:t,classNames:n,props:e,children:r})})),BC=p("PriceBarQuantity",S("PriceBarQuantity",null,(e,t)=>f(w,{root:"button",forwardedRef:t,classNames:new Set(["swan-button"]),props:e,children:e.children}))),IC=p("PriceBarVat",S("PriceBarVat",null,(e,t)=>{const{children:n}=e;return f(w,{root:"div",forwardedRef:t,classNames:new Set(["swan-price-bar-vat"]),props:e,children:n})})),kC=p("PriceBar",S("PriceBar",null,(e,t)=>{pe("PriceBar",ae.priceBar),ie("PriceBar",e,[{propName:"showBannerOnly",instructions:"To maintain a high-quality user experience, we are no longer supporting this feature, and are not providing a direct replacement."}]);const{showBannerOnly:n=!1,children:r,...a}=e,o=new Set(["swan-price-bar"]);return n&&o.add("swan-price-bar-show-banner"),f(w,{root:"div",forwardedRef:t,classNames:o,props:a,children:f("div",{className:"swan-price-bar-inner",children:r})})})),Ys=p("PriceBarQuantityContext",me(void 0));Ys.displayName="PriceBarQuantityContext";const NC=p("usePriceBarQuantityContext",()=>Be(Ys)),RC=p("DiscountPrice",S("DiscountPrice",null,(e,t)=>{const{children:n}=e;return f(w,{root:"span",forwardedRef:t,classNames:new Set(["swan-discount-price"]),props:e,children:n})})),LC=p("ListPrice",S("ListPrice",null,(e,t)=>{const{children:n}=e;return f(w,{root:"span",forwardedRef:t,classNames:new Set(["swan-list-price"]),props:e,children:n})})),MC=p("PricingComparison",S("PricingComparison",null,(e,t)=>{const{children:n}=e;return f(w,{root:"span",forwardedRef:t,classNames:new Set(["swan-pricing-comparison"]),props:e,children:n})})),AC=p("PricingOffer",S("PricingOffer",null,(e,t)=>{const{children:n}=e;return f(w,{root:"span",forwardedRef:t,classNames:new Set(["swan-pricing-offer"]),props:e,children:n})})),OC=p("Pricing",S("Pricing",null,(e,t)=>{const{children:n}=e;return f(w,{root:"span",forwardedRef:t,classNames:new Set(["swan-pricing"]),props:e,children:n})})),VC=p("ShortTaxMessage",S("ShortTaxMessage",null,(e,t)=>{const{children:n}=e;return f(w,{root:"span",forwardedRef:t,classNames:new Set(["swan-short-tax-message"]),props:e,children:n})})),KC=p("PromoCode",S("PromoCode",null,({children:e,...t},n)=>f(w,{root:"div",classNames:["swan-promo-code"],forwardedRef:n,props:t,children:e}))),_C=p("RadioButton",S("RadioButton",null,({children:e,...t},n)=>f(w,{root:"input",classNames:["swan-radio"],forwardedRef:n,props:{...t,type:"radio"},children:e}))),HC=p("Range",S("Range",null,({children:e,skin:t="standard",unfilled:n=!1,gradientEndColor:r,gradientStartColor:a,style:o,...i},s)=>{const l=["swan-range"];
42n&&l.push("swan-range-unfilled"),t!=="standard"&&l.push(`swan-range-skin-${t}`);const c={type:"range",...i,style:{...o||{},"--swan-internal-range-gradient-start-color":a,"--swan-internal-range-gradient-end-color":r}};return f(w,{root:"input",classNames:l,forwardedRef:s,props:c,children:e})})),zC=p("RatingsStars",S("RatingsStars",null,(e,t)=>{const n=ke();ie("RatingsStars",e,[{propName:"accessibleTextForReviewCount",instructions:ye(n)},{propName:"aria-label",instructions:ye(n)}]),pe("RatingsStars",ae.ratingsStars);const{skin:r="standard",ratingValue:a=0,hideRating:o=!1,reviews:i,href:s,"aria-label":l,accessibleTextForReviewCount:c,...d}=e;let u=c,m=l;n&&!m&&(m=n.t("ratings-stars.accessible-text",{rating:a})),n&&!u&&(u=n.t(n.getPluralKey(s?"ratings-stars.accessible-link-text-for-review-count":"ratings-stars.accessible-text-for-review-count",i||0),{count:i||0}));const[h,b]=a.toFixed(1).split(".").map($=>Number($)),g=["swan-ratings"];r!=="standard"&&g.push(`swan-ratings-skin-${r}`);const v=s?ip:Ht,y=s?{to:s}:{};return f(w,{root:"div",props:d,forwardedRef:t,classNames:g,children:Y(Vs,{className:"swan-ratings-stars-container",flexWrap:"wrap",alignItems:"center",gap:2,children:[f(rh,{className:"swan-ratings-stars",role:"img","aria-label":m,children:Array.from({length:5}).map(($,C)=>{const x=["swan-ratings-star"];return C+1<=h&&x.push("swan-ratings-star-filled"),(b&&C+1)===h+1&&x.push(`swan-ratings-star-filled-p${b}`),f("span",{className:x.join(" ")},`star_${C}`)})}),!o&&f("span",{className:"swan-ratings-stars-rating","aria-hidden":m?"true":"false",children:a}),i!=null&&Y("span",{className:"swan-ratings-stars-reviews",children:["(",Y(v,{...y,children:[f("span",{"aria-hidden":u?"true":"false",children:i}),u&&f(Ue,{children:u})]}),")"]})]})})})),UC=p("SelectionSetError",S("SelectionSetError",null,(e,t)=>Y(w,{root:"p",forwardedRef:t,classNames:["swan-selection-set-error"],props:e,children:[f($e,{iconType:"error",skin:"error",alt:""}),e.children]}))),WC=p("SelectionSetInput",S("SelectionSetInput",null,(e,t)=>{const{value:n,children:r,id:a,onChange:o,...i}=e,s=Cs(),l=we(a),c=s.variant==="multi-select",d=["swan-selection-set-input",c?"swan-checkbox":"swan-radio"],{isFocusVisible:u,focusProps:m}=Qv(),h=c?s.selectedValues[n]:s.selectedValue===n,b=c?y=>{s.onSelectedValuesChange({...s.selectedValues,[n]:y.target.checked},y)}:y=>{y.target.checked&&s.onSelectedValueChange(n,y)},g={type:c?"checkbox":"radio",...i,id:l,name:s.name,value:n,checked:h,onChange:gt(o,b)},v=H(()=>({selectionSetInputId:l,isFocusVisible:u}),[l,u]);return Y(qe,{children:[f(w,{root:"input",forwardedRef:t,classNames:d,props:he(g,m)}),f($s.Provider,{value:v,children:r})]})})),GC=p("SelectionSetLabel",S("SelectionSet",null,(e,t)=>{const n=qa();return f(w,{root:"label",forwardedRef:t,classNames:["swan-selection-set-label"],props:{...e,htmlFor:n?.selectionSetInputId},children:e.children})})),jC=p("SelectionSetTileContents",S("SelectionSetTileContents",null,(e,t)=>f(w,{root:"div",forwardedRef:t,classNames:["swan-selection-set-tile-contents"],props:e,children:e.children}))),ZC=p("SelectionSetTileDescription",S("SelectionSetTileDescription",null,(e,t)=>f(w,{root:"p",forwardedRef:t,classNames:["swan-selection-set-tile-description"],props:e,children:e.children}))),qC=p("SelectionSetTileImageContainer",S("SelectionSetTileImageContainer",null,(e,t)=>f(w,{root:"div",forwardedRef:t,classNames:["swan-selection-set-tile-image-container"],props:e,children:e.children}))),YC=p("SelectionSetTileName",S("SelectionSetTileName",null,(e,t)=>f(w,{root:"p",forwardedRef:t,classNames:["swan-selection-set-tile-name"],props:e,children:e.children}))),XC=p("SelectionSetTilePrice",S("SelectionSetTilePrice",null,(e,t)=>f(w,{root:"div",forwardedRef:t,classNames:["swan-selection-set-tile-price"],props:e,children:e.children})));function Xs(e){return e.variant==="single-select"||e.variant==null}const JC=e=>{if(Xs(e)){const{selectedValue:t,onSelectedValueChange:n,defaultSelectedValue:r,...a}=e;return a}else{const{selectedValues:t,onSelectedValuesChange:n,defaultSelectedValues:r,...a}=e;return a}},QC=e=>{let t,n,r=null;Xs(e)&&(t=e.selectedValue,n=e.onSelectedValueChange,r=e.defaultSelectedValue);const[a,o]=bt({value:t??void 0,onChange:n??void 0,defaultValue:r??null,defaultOnChange:(u,...m)=>{const[h]=m;u(h)}});let i,s,l=null;Xs(e)||(i=e.selectedValues,s=e.onSelectedValuesChange,l=e.defaultSelectedValues);const[c,d]=bt({value:i??void 0,onChange:s??void 0,defaultValue:l??{},defaultOnChange:(u,...m)=>{const[h]=m;u(h)}});return{selectedValue:a,onSelectedValueChange:o,selectedValues:c,onSelectedValuesChange:d}},ex=p("SelectionSet",S("SelectionSet",null,(e,t)=>{pe("SelectionSet",ae.selectionSet);const{children:n,variant:r="single-select",skin:a="standard",imageWidth:o="fixed",imageVerticalAlignment:i="cover",tileContentsPadding:s="standard",tileImagePadding:l="standard",name:c,role:d,...u}=JC(e),m=new Set(["swan-selection-set"]);a!=="standard"&&m.add(`swan-selection-set-skin-${a}`),a==="simple-column"&&m.add("swan-selection-set-show-inputs"),o==="proportional"&&m.add("swan-selection-set-image-width-proportional"),i==="center"&&m.add("swan-selection-set-image-vertical-alignment-center"),s==="tight"&&m.add("swan-selection-set-tile-contents-padding-tight"),l==="wide"&&m.add("swan-selection-set-tile-image-padding-wide");const h=we(c),{selectedValue:b,onSelectedValueChange:g,selectedValues:v,onSelectedValuesChange:y}=QC(e),$={...u,role:d??(r==="single-select"?"radiogroup":"group")};return f(Za.Provider,{value:{name:h,variant:r,skin:a,imageWidth:o,imageVerticalAlignment:i,tileContentsPadding:s,tileImagePadding:l,selectedValue:b,onSelectedValueChange:g,selectedValues:v,onSelectedValuesChange:y},children:f(w,{root:"div",forwardedRef:t,classNames:m,props:$,children:n})})})),tx=p("SkeletonTextHeading",S("SkeletonTextHeading",null,({children:e,...t},n)=>f(w,{root:"div",classNames:["swan-skeleton-text-heading","swan-loading-shimmer"],forwardedRef:n,props:t,children:e}))),nx=p("SkeletonTextLine",S("SkeletonTextLine",null,({children:e,width:t="standard",...n},r)=>{const a=new Set(["swan-skeleton-text-line swan-loading-shimmer"]);return t==="narrow"&&a.add("swan-skeleton-text-line-narrow"),f(w,{root:"div",classNames:a,forwardedRef:r,props:n,children:e})})),rx=p("SkeletonText",S("SkeletonText",null,({children:e,...t},n)=>f(w,{root:"div",classNames:["swan-skeleton-text"],forwardedRef:n,props:t,children:e}))),ax=p("SquareImageContainer",S("SquareImageContainer",null,(e,t)=>f(w,{root:"div",forwardedRef:t,classNames:new Set(["swan-square-image-container"]),props:e,children:f("div",{className:"swan-square-image-container-inner",children:e.children})}))),ox=p("StandardTileContents",S("StandardTileContents",null,(e,t)=>f(w,{root:"div",forwardedRef:t,classNames:["swan-standard-tile-contents"],props:e,children:e.children}))),ix=p("StandardTileDescription",S("StandardTileDescription",null,(e,t)=>f(w,{root:"div",forwardedRef:t,classNames:["swan-standard-tile-description"],props:e,children:e.children}))),sx=p("StandardTileFooter",S("StandardTileFooter",null,(e,t)=>f(w,{root:"div",forwardedRef:t,classNames:["swan-standard-tile-footer"],props:e,children:e.children}))),lx=p("StandardTileImage",S("StandardTileImage",null,(e,t)=>f(w,{root:"div",forwardedRef:t,classNames:["swan-standard-tile-image"],props:e,children:e.children}
42))),cx=p("StandardTileName",S("StandardTileName",null,(e,t)=>f(w,{root:"div",forwardedRef:t,classNames:["swan-standard-tile-name"],props:e,children:e.children}))),dx=p("StandardTileOverlay",S("StandardTileOverlay",null,(e,t)=>f(w,{root:"div",forwardedRef:t,classNames:["swan-standard-tile-overlay"],props:e,children:e.children}))),ux=p("StandardTilePrice",S("StandardTilePrice",null,(e,t)=>f(w,{root:"div",forwardedRef:t,classNames:["swan-standard-tile-price"],props:e,children:e.children}))),fx=p("StandardTilePromoCodeLabel",S("StandardTilePromoCodeLabel",null,(e,t)=>f(w,{root:"div",forwardedRef:t,classNames:["swan-standard-tile-promo-code-label"],props:e,children:e.children}))),mx=p("StandardTilePromoCode",S("StandardTilePromoCode",null,(e,t)=>f(w,{root:"div",forwardedRef:t,classNames:["swan-standard-tile-promo-code"],props:e,children:e.children}))),hx=p("StandardTileSeparatelyClickableContents",S("StandardTileSeparatelyClickableContents",null,(e,t)=>f(w,{root:"div",forwardedRef:t,classNames:["swan-standard-tile-separately-clickable-contents"],props:e,children:e.children}))),px=p("StandardTileSwatches",S("StandardTileSwatches",null,(e,t)=>f(w,{root:"div",forwardedRef:t,classNames:["swan-standard-tile-swatches"],props:e,children:e.children}))),gx=p("StandardTile",S("StandardTile",null,(e,t)=>{pe("StandardTile",ae.standardTile);const{skin:n="standard",layout:r="vertical",imageWidth:a="standard",...o}=e,i=new Set(["swan-standard-tile"]);return n!=="standard"&&i.add(`swan-standard-tile-skin-${n}`),r==="horizontal"&&i.add("swan-standard-tile-horizontal"),a==="full-bleed"&&n==="product"&&i.add("swan-standard-tile-full-bleed"),f(w,{root:"div",forwardedRef:t,classNames:i,props:o,children:e.children})})),bx={info:"info",success:"success",warning:"warning",error:"error",help:"helpQuery"},vx=p("StatusMessage",S("StatusMessage",null,(e,t)=>{const n=ke();ie("StatusMessage",e,[{propName:"accessibleTextForIcon",instructions:ye(n)}]),pe("StatusMessage",ae.statusMessage);const{children:r,skin:a="info",size:o="standard",accessibleTextForIcon:i,...s}=e;let l=i;n&&!l&&(l=n.t(`status-message.accessible-text-for-skin-${a}-icon`));const c=new Set(["swan-status-message",`swan-status-message-skin-${a}`,`swan-status-message-size-${o}`]);return Y(w,{classNames:c,root:"div",forwardedRef:t,props:s,children:[f($e,{skin:a,iconType:bx[a],size:o,alt:l||""}),r]})})),Sx=p("StepIndicatorStepList",S("StepIndicatorStepList",null,({children:e,...t},n)=>f(w,{root:"ol",forwardedRef:n,props:t,children:e}))),yx=p("StepIndicatorStepValue",S("StepIndicatorStepValue",null,({children:e,skin:t="standard",...n},r)=>{const a=new Set(["swan-step-value"]);return t!=="standard"&&a.add(`swan-step-value-skin-${t}`),f(w,{root:"span",classNames:a,forwardedRef:r,props:n,children:e})})),Js=me(void 0);Js.displayName="StepIndicatorContext";const wx=()=>Be(Js),$x=p("StepIndicatorStep",S("StepIndicatorStep",null,(e,t)=>{const{currentStepNumber:n}=wx(),{stepNumber:r=1,children:a,...o}=e,i=nr(new Set(["swan-step"]),{"swan-step-past":r<n,"swan-step-previous":r===n-1,"swan-step-current":r===n,"swan-step-next":r===n+1,"swan-step-future":r>n});return f(w,{root:"li",forwardedRef:t,classNames:i,props:{...o,...r===n?{"aria-current":"step"}:{}},children:a})})),Cx=p("StepIndicator",S("StepIndicator",null,(e,t)=>{pe("StepIndicator",ae.stepIndicator);const{currentStepNumber:n=1,showAllSteps:r=!1,...a}=e,o=new Set(["swan-step-indicator"]);return r&&o.add("swan-step-indicator-show-all-steps"),f(Js.Provider,{value:{currentStepNumber:n},children:f(w,{root:"div",forwardedRef:t,classNames:o,props:a,children:e.children})})})),xx=p("TableBody",S("TableBody",null,({children:e,...t},n)=>f(w,{root:"tbody",classNames:["swan-tbody"],forwardedRef:n,props:t,children:e}))),Px=p("TableCaption",S("TableBody",null,({children:e,...t},n)=>f(w,{root:"caption",classNames:["swan-table-caption"],forwardedRef:n,props:t,children:e}))),Qs=me(!1);Qs.displayName="TableHeadContext";const Tx=()=>ve(Qs),Dx=p("TableCell",S("TableCell",null,({children:e,...t},n)=>{const r=Tx(),a=r?{...t,as:t.as||t.component||"th"}:t;return f(w,{root:"td",classNames:[r?"swan-th":"swan-td"],forwardedRef:n,props:a,children:e})})),Ex=p("TableHead",S("TableHead",null,({children:e,...t},n)=>f(Qs.Provider,{value:!0,children:f(w,{root:"thead",classNames:["swan-thead"],forwardedRef:n,props:t,children:e})}
42))),Fx=p("TableRow",S("TableRow",null,({children:e,...t},n)=>f(w,{root:"tr",classNames:["swan-tr"],forwardedRef:n,props:t,children:e}))),Bx=p("TableScrollContainer",S("TableScrollContainer",null,({children:e,...t},n)=>f(w,{root:"div",classNames:["swan-table-scroll"],forwardedRef:n,props:t,children:e}))),Ix=p("Table",S("Table",null,({children:e,...t},n)=>(pe("Table",ae.table),f(w,{root:"table",classNames:["swan-table"],forwardedRef:n,props:t,children:e})))),ro=p("TabsContext",me(null));ro.displayName="TabsContext";function Ar(){return Be(ro)}const kx=p("TabContent",S("TabContent",null,(e,t)=>{const{children:n,tabId:r,id:a,...o}=e,{selectedTabId:i,labelIds:s,registerContent:l,unregisterContent:c}=Ar(),d=we(a);G(()=>(l(r,d),()=>c(r)),[r,d,l,c]);const u=new Set([]);return r===i&&u.add("swan-tab-selected"),f(w,{root:"div",forwardedRef:t,classNames:u,props:{...o,id:d,role:"tabpanel","aria-labelledby":s[r]},children:n})})),gp=p("TabHeaderInput",S("TabHeaderInput",null,(e,t)=>{const{tabsName:n,selectedTabId:r,contentIds:a,registerHeader:o,unregisterHeader:i,onRequestTabChange:s}=Ar(),{children:l,id:c,tabId:d,...u}=e,m=we(c);return G(()=>(o(d,m),()=>i(d)),[d,m,o,i]),f(w,{root:"input",forwardedRef:t,props:{...u,id:m,type:"radio",role:"tab",name:n,"aria-controls":a[d],checked:d===r,onChange:h=>{h.target.checked&&s(d,h)}},children:l})})),bp=p("TabHeaderLabel",S("TabHeaderLabel",null,(e,t)=>{const{headerIds:n,registerLabel:r,unregisterLabel:a}=Ar(),{children:o,id:i,tabId:s,...l}=e,c=we(i);return G(()=>(r(s,c),()=>a(s)),[s,c,r,a]),f(w,{root:"label",forwardedRef:t,props:{...l,id:c,htmlFor:n[s]},children:o})})),Nx=p("TabHeader",e=>{const{children:t,inputProps:n={},tabId:r,disabled:a=!1,...o}=e;return ie("TabHeader",e,[{propName:"disabled",instructions:"Disabled tabs are discouraged and will be removed in a future version of SWAN. Please avoid using this prop."}]),Y(qe,{children:[f(gp,{tabId:r,disabled:!!a,...n}),f(bp,{tabId:r,...o,children:t})]})}),Rx=p("TabsContents",S("TabsContents",null,({children:e,...t},n)=>f(w,{root:"div",classNames:["swan-tabs-contents"],forwardedRef:n,props:t,children:e}))),Lx=p("TabsHeaders",S("TabsHeader",null,({children:e,...t},n)=>f(w,{root:"div",classNames:["swan-tabs-headers"],forwardedRef:n,props:{...t,role:"tablist"},children:e}))),Mx=p("Tabs",S("Tabs",null,(e,t)=>{ie("Tabs",e,[{propName:"wrapHeaders",instructions:"Use the default scrolling behaviour of Tabs instead."}]),pe("Tabs",ae.tabs);const{children:n,centerHeaders:r=!1,stickyHeaders:a=!1,wrapHeaders:o=!1,showDividingLine:i=!0,defaultSelectedTabId:s,selectedTabId:l,onRequestTabChange:c,...d}=e,u=new Set(["swan-vanilla-ignore","swan-tabs"]);r&&u.add("swan-tabs-center-headers"),a&&u.add("swan-tabs-sticky-headers"),o&&u.add("swan-tabs-wrap-headers"),i===!1&&u.add("swan-tabs-no-dividing-line"),ns(l!==void 0);const[h,{set:b,remove:g}]=Fr(),[v,{set:y,remove:$}]=Fr(),[C,{set:x,remove:E}]=Fr(),[T,I]=bt({value:l,onChange:c||void 0,defaultValue:s??null,defaultOnChange:(K,...U)=>{const[B]=U;K(B)}}),k=we();return f(ro.Provider,{value:{tabsName:k,selectedTabId:T,onRequestTabChange:I,headerIds:h,registerHeader:b,unregisterHeader:g,labelIds:v,registerLabel:y,unregisterLabel:$,contentIds:C,registerContent:x,unregisterContent:E},children:f(w,{root:"div",forwardedRef:t,classNames:u,props:d,children:n})})})),Ax=p("TextArea",S("TextArea",null,(e,t)=>{const n=we(e.id),r=Ts({...e,id:n}),a=Kt(r.id),o={...r,...a},i=new Set(["swan-textarea"]),{children:s,skin:l="standard",resize:c="both",fullWidth:d=!1,...u}=o;return(l==="error"||u["aria-invalid"])&&i.add("swan-textarea-skin-error"),d&&i.add("swan-textarea-full-width"),c==="vertical"&&i.add("swan-textarea-resize-vertical"),f(w,{root:"textarea",classNames:i,forwardedRef:t,props:u,children:s})})),Ox=S("ThumbnailsHeroBackgroundContainer",null,({children:e,...t},n)=>f(w,{root:"div",forwardedRef:n,classNames:["swan-thumbnails-hero-background-container"],props:t,children:e})),vp=p("ThumbnailsHeroBackgroundContainer",Le({description:"Use AdaptiveCarousel instead",displayName:"ThumbnailsHeroBackgroundContainer",root:Ox})),Vx=S("ThumbnailsHeroContentContainer",null,({children:e,...t},n)=>f(w,{root:"div",forwardedRef:n,classNames:["swan-thumbnails-hero-content-container"],props:t,children:e})),Sp=p("ThumbnailsHeroContentContainer",Le({description:"Remove any content and use only an image",displayName:"Thumbn
42ailsHeroContentContainer",root:Vx})),Kx=S("ThumbnailsHeroContent",null,({children:e,...t},n)=>f(w,{root:"div",forwardedRef:n,classNames:["swan-thumbnails-hero-content"],props:t,children:e})),_x=p("ThumbnailsHeroContent",Le({description:"Remove any content and use only an image",displayName:"ThumbnailsHeroContent",root:Kx})),Hx=S("ThumbnailsHeroImagesSlidesContainer",null,({children:e,...t},n)=>f(w,{root:"div",forwardedRef:n,classNames:["swan-thumbnails-hero-images-slides"],props:t,children:e})),yp=p("ThumbnailsHeroImagesSlidesContainer",Le({description:"Use AdaptiveCarousel instead",displayName:"ThumbnailsHeroImagesSlidesContainer",root:Hx})),zx=S("ThumbnailsHeroThumbnailsSlidesContainer",null,({children:e,...t},n)=>f(w,{root:"div",forwardedRef:n,classNames:["swan-thumbnails-hero-thumbnails-slides"],props:t,children:e})),wp=p("ThumbnailsHeroThumbnailsSlidesContainer",Le({description:"Use AdaptiveCarousel instead",displayName:"ThumbnailsHeroThumbnailsSlidesContainer",root:zx})),Ux=S("ThumbnailsHeroVideoThumbnailSlide",null,({children:e,...t},n)=>Y(Wa,{ref:n,...t,children:[f("span",{className:"swan-thumbnails-hero-thumbnail-play-icon"}),e]})),$p=p("ThumbnailsHeroVideoThumbnailSlide",Le({description:"Use AdaptiveCarousel instead",displayName:"ThumbnailsHeroVideoThumbnailSlide",root:Ux})),Wx=S("ThumbnailsHero",null,(e,t)=>{pe("ThumbnailsHero",ae.thumbnailsHero);const{currentSlide:n=0,accessibleTextForDots:r,onSlideChange:a,children:o,...i}=e,s=ke();Un(e,["accessibleTextForDots"]);let l=r;if(s&&!r){const b=Ve.toArray(o).length;l=Array.from({length:b},(g,v)=>s.t("carousel.accessible-text-for-dot-button",{slideNumber:v+1}))}ie("ThumbnailsHero",e,[{propName:"accessibleTextForDots",instructions:ye(s)}]);const c=[],d=[];let u=null,m=null;return Ve.forEach(o,b=>{if(ft(b))switch(b.type){case wp:c.push(...Ve.map(b.props.children,(g,v)=>[Wa,$p].includes(g.type)?tt(g,{key:v,component:g.props.component||"span"}):null));break;case yp:d.push(...Ve.map(b.props.children,(g,v)=>g.type===Wa?tt(g,{key:v}):null));break;case vp:u=b;break;case Sp:m=b;break}}),Y(w,{root:"div",forwardedRef:t,classNames:new Set(["swan-thumbnails-hero"]),props:i,children:[u,f("div",{className:"swan-thumbnails-hero-images-carousel-container",children:f(ch,{slidesToScroll:1,slidesToShow:1,arrows:!1,accessibleTextForNext:"",accessibleTextForPrevious:"",__dangerouslySuppressWarning:!0,accessibleTextForDots:r,customPaging:b=>f("button",{"aria-label":l[b],children:c[b]},b),progressIndicator:"dots",progressIndicatorAlignment:"left",currentSlide:n??0,beforeChange:a??void 0,fade:!0,responsive:[{breakpoint:be.mdStart,settings:{fade:!1}}],children:d})}),m]})}),Gx=p("ThumbnailsHero",Le({description:"Use AdaptiveCarousel instead",displayName:"ThumbnailsHero",root:Wx})),el=me(null);el.displayName="TimePickerContext";function jx(){return Be(el)}const Zx=p("TimePicker",S("TimePicker",null,(e,t)=>{const n=new Set(["swan-time-picker"]),{timeZone:r,children:a,size:o,...i}=e;return f(el.Provider,{value:{timeZone:r},children:f(w,{root:eo,forwardedRef:t,classNames:n,props:{...i,htmlSize:o},children:a})})})),qx=p("TimePickerOption",S("TimePickerOption",null,(e,t)=>{const{timeZone:n}=jx(),{formatDate:r,formatDateRange:a}=Ze(),{placeholderText:o,value:i,startTime:s,endTime:l,...c}=e;let d=o;if(s){const u={timeStyle:"short",timeZone:n};d=l?a(s,l,u):r(s,u)}return f(w,{root:Qa,forwardedRef:t,props:{value:i,...c},children:d})})),Yx=p("ToggleSwitchOffLabel",S("ToggleSwitchOffLabel",null,({children:e,...t},n)=>f(w,{root:"span",forwardedRef:n,classNames:["swan-toggle-switch-text-off"],props:t,children:e}))),Xx=p("ToggleSwitchOnLabel",S("ToggleSwitchOnLabel",null,({children:e,...t},n)=>f(w,{root:"span",forwardedRef:n,classNames:["swan-toggle-switch-text-on"],props:t,children:e}))),Jx=p("ToggleSwitchSize",{Standard:"standard",Super:"super",Mini:"mini"}),Qx=p("ToggleSwitch",S("ToggleSwitch",null,(e,t)=>{ie("ToggleSwitch",e,[{propName:"size",instructions:"Sizing is now handled automatically by standardMode/compactMode"}]),pe("ToggleSwitch",ae.toggleSwitch);const{hideText:n=!1,size:r="standard",defaultActivated:a=!1,activated:o,onRequestActivatedChange:i,children:s,...l}=e,[c,d]=bt({value:o,onChange:i||void 0,defaultValue:a,defaultOnChange:(m,...h)=>{const[b]=h;m(b)}}),u=new Set(["swan-vanilla-ignore","swan-toggle-switch"]);return r==="mini"&&u.add(`swan-toggle-switch-${r}`),r==="super"&&u.add(`swan-toggle-switch-${r}`),n&&u.add("swan-toggle-switch-hide-text"),f(w,{root:"button",forwardedRef:t,classNames:u,props:{...l,role:"switch","aria-checked":!!c,onClick:gt(e.onClick,m=>{d(!c,m)})},children:s})})),e2=p("Visible",S("Visible",null,(e,t)=>{pe("Visible",ae.visible);const{xs:n=!1,sm:r=!1,md:a=!1,lg:o=!1,xl:i=!1,children:s,...l}=e,c=new Set;return n&&c.add("swan-visible-xs"),r&&c.add("swan-visible-sm"),a&&c.add("swan-visible-md"),o&&c.add("swan-visible-lg"),i&&c.add("swan-visible-xl"),f(w,{root:"div",forwardedRef:t,classNames:c,props:l,children:s})})),Cp=me({}),t2=({children:e})=>{const[t,n]=j(void 0),r=H(()=>({id:t,setId:n}),[t,n]);return f(Cp.Provider,{value:r,children:e})},tl=()=>ve(Cp),n2=p("ZoomControlsIn",S("ZoomControlsIn",null,(e,t)=>{const n=ke();ie("ZoomControlsIn",e,[{propName:"visuallyHiddenLabel",instructions:ye(n)},{propName:"accessibleText",instructions:ye(n)}]);const{visuallyHiddenLabel:r,accessibleText:a,children:o,...i}=e;let s=a??r;
42n&&!s&&(s=n.t("zoom-controls-in.accessible-text-for-zoom-in"));const{id:l}=tl();return Y(w,{root:"button",forwardedRef:t,classNames:["swan-zoom-controls-in"],props:{...i,"aria-controls":l},children:[f(Ue,{children:s}),f($e,{iconType:"zoomIn"}),o]})})),r2=p("ZoomControlsOut",S("ZoomControlsOut",null,(e,t)=>{const n=ke();ie("ZoomControlsOut",e,[{propName:"visuallyHiddenLabel",instructions:ye(n)},{propName:"accessibleText",instructions:ye(n)}]);const{visuallyHiddenLabel:r,accessibleText:a,children:o,...i}=e;let s=a??r;n&&!s&&(s=n.t("zoom-controls-out.accessible-text-for-zoom-out"));const{id:l}=tl();return Y(w,{root:"button",forwardedRef:t,classNames:["swan-zoom-controls-out"],props:{...i,"aria-controls":l},children:[f(Ue,{children:s}),f($e,{iconType:"zoomOut"}),o]})})),a2=p("ZoomControlsValue",S("ZoomControlsValue",null,(e,t)=>{const n=ke();ie("ZoomControlsValue",e,[{propName:"visuallyHiddenLabel",instructions:ye(n)},{propName:"accessibleText",instructions:ye(n)}]);const{visuallyHiddenLabel:r,accessibleText:a,value:o,children:i,...s}=e,{setId:l}=tl(),c=we(s.id);G(()=>{l(c)},[c,l]);const d=n&&o?n.formatNumber(o,{style:"unit",unit:"percent"}):"";let u=a??r;return n&&!u&&(u=n.t("zoom-controls-value.accessible-text-for-zoom-value",{value:d})),Y(w,{root:"span",forwardedRef:t,classNames:["swan-zoom-controls-value"],props:{...s,id:c,"aria-live":"polite","aria-atomic":"true"},children:[f(Ue,{children:u}),f("span",{"aria-hidden":!!d,children:d||i})]})})),o2=p("ZoomControls",S("ZoomControls",null,({children:e,...t},n)=>(pe("ZoomControls",ae.zoomControls),f(t2,{children:f(w,{root:"div",forwardedRef:n,classNames:["swan-zoom-controls"],props:t,children:e})})))),Et=1,i2=2,s2=3,xp=e=>e<=Et?0:(e-1)/e/2*100,Pp=()=>typeof window<"u"&&window.matchMedia("(hover: hover)").matches,l2=p("ZoomableImage",S("ZoomableImage",null,(e,t)=>{pe("ZoomableImage",ae.zoomableImage);const n=Ze(),{src:r,srcSet:a,sizes:o,alt:i,aspectRatio:s,objectFit:l,objectPosition:c,onLoad:d,onError:u,onExpandClick:m,...h}=e,b=M(null),[g,v]=j(Et),[y,$]=j({x:0,y:0}),[C,x]=j({x:0,y:0}),[E,T]=j(!1),I=we(),k=we(),K=we(),U=we(),{zoomTrigger:B="hover"}=Bm(),N=B==="hover",_=N?i2:s2,P=g===Et,R=()=>$({x:0,y:0}),V=()=>x({x:0,y:0});G(()=>{P&&(R(),V())},[P]);const A=Q(()=>{Pp()&&(v(de=>de===Et?_:Et),T(!0))},[_]),O=Q(()=>{N&&v(Et)},[N]),L=Q(()=>{O(),T(!1)},[O]),D=Q(()=>{!Pp()||!N||v(_)},[_,N]),q=Q(de=>{if(!b.current)return;V();const Ce=b.current.getBoundingClientRect(),Ge=((de.clientX-Ce.left)/Ce.width-.5)*2,Ke=((de.clientY-Ce.top)/Ce.height-.5)*2,le=xp(_);$({x:Ge*le,y:Ke*le})},[_]),te=Q(de=>{R(),v(Ce=>Math.max(Et,Math.min(_,Ce+de))),T(!0)},[_]),Z=Q((de,Ce)=>{R(),T(!0),x(Ge=>{const Ke=xp(g);return{x:Math.max(-Ke,Math.min(Ke,Ge.x+de)),y:Math.max(-Ke,Math.min(Ke,Ge.y+Ce))}})},[g]),W=Q(de=>{switch(de.key){case"+":case"=":de.preventDefault(),te(1);return;case"-":case"_":de.preventDefault(),te(-1);return}},[te]),ne=Q(de=>{switch(de.key){case"ArrowUp":de.preventDefault(),Z(0,-10);break;case"ArrowDown":de.preventDefault(),Z(0,10);break;case"ArrowLeft":de.preventDefault(),Z(-10,0);break;case"ArrowRight":de.preventDefault(),Z(10,0);break}},[Z]),oe=Q(de=>{N&&W(de),ne(de)},[N,ne,W]),z=()=>{let de=Et,Ce=0,Ge=0;const Ke=y.x!==0||y.y!==0?"mouse":"keyboard";return g!==Et&&(de=g,Ce=Ke==="keyboard"?-C.x:-y.x,Ge=Ke==="keyboard"?-C.y:-y.y),{"--swan-internal-zoomable-image-scale":de,"--swan-internal-zoomable-image-translate-x":`${Ce}%`,"--swan-internal-zoomable-image-translate-y":`${Ge}%`}},X=!N||m,se=X?{}:{"aria-labelledby":`${I} ${K}`,"aria-describedby":k,tabIndex:0},J={role:"group",ref:b,onBlur:L,onKeyDown:oe,onMouseEnter:D,onMouseLeave:O,onMouseMove:q,...se},fe={...z(),aspectRatio:s,objectFit:l,objectPosition:c};return f(w,{root:"div",forwardedRef:t,classNames:["swan-zoomable-image"],props:h,children:Y("div",{className:"swan-zoomable-image-content",...J,children:[f(Ue,{id:I,children:n.t("zoomable-image.accessible-label")}),f("img",{id:K,src:r,srcSet:a,sizes:o,onLoad:d,onError:u,alt:i||"",style:fe}),f(Ue,{"aria-live":"polite","aria-atomic":"true",role:"status",children:n.t("zoomable-image.zoom-to-label",{zoomLevel:g===Et?n.t("zoomable-image.zoom-level-min"):n.t("zoomable-image.zoom-level-max")})}),X?f(Dt,{id:U,"aria-labelledby":`${I} ${K} ${U}`,"aria-describedby":k,skin:"unstyled",className:"swan-zoomable-image-button",onClick:N?m:A,style:N?void 0:{cursor:P?"zoom-in":"zoom-out"},children:f(Ue,{children:N?n.t("zoomable-image.accessible-label-hover-trigger-button"):n.t("zoomable-image.accessible-label-click-trigger-button")})}):null,f(Ue,{id:k,children:N?n.t("zoomable-image.accessible-text-for-hover-instruction"):n.t("zoomable-image.accessible-text-for-click-instruction")}),f("div",{"aria-hidden":"true",className:"swan-zoomable-image-instructions",style:E?{"--swan-internal-zoomable-image-instructions-opacity":0}:{},children:N?n.t("zoomable-image.hover-instruction",{zoomInKey:"+",zoomOutKey:"-"}):n.t("zoomable-image.click-instruction")})]})})}));function Tp(e,t,n){return function(a,o,i,s,l,...c){return e(a,o,i,s,l)?t(a,o,i,s,l,...c):n(a,o,i,s,l,...c)}}const nl=(()=>null);nl.isRequired=nl;const c2=p("nullishPropType",nl);
42var d2=Object.freeze({__proto__:null,ALL_SUPPORTED_LOCALES:ho,Accordion:y0,AccordionContext:Ka,AdaptiveCarousel:py,AdaptiveCarouselImage:gy,AdaptiveCarouselSlide:Sy,AdaptiveCarouselSlidePickerThumbnail:xy,AdaptiveCarouselSlidePickerThumbnails:Py,AlertBox:Dy,AlertBoxContext:ms,AlertBoxDismissButton:Ty,AnchorBar:Ry,AnchorBarList:Ly,AnchorBarListItem:zy,AnchorBarListItemDescription:Uy,AspectRatio:eh,AspectRatioContainer:Jm,AspectRatioContent:Qm,Avatar:Wy,BACKGROUND_WITH_MODE:Mp,Banner:Gy,BannerDescription:qy,BannerDisplay:Yy,BannerEyebrow:Xy,BannerFootnote:Jy,BannerImage:Qy,BannerImageContainer:ew,BannerLinks:tw,BannerOfferColumn:jy,BannerOfferColumns:Zy,BannerPrice:nw,BannerSecondaryImage:rw,BannerSecondaryImageContainer:aw,BannerSubtitle:ow,BannerText:sw,BannerTextContainer:iw,BannerTitle:lw,BannerWithLeftHandNavigationBelowBanner:cw,BannerWithLeftHandNavigationBelowBannerContents:nh,BaseTile:yw,BaseTileBody:uw,BaseTileFooter:fw,BaseTileHeader:mw,BaseTileImage:hw,BaseTileName:pw,BaseTileOverlay:gw,BaseTileTargetAdditional:bw,BaseTileTargetCovering:vw,BaseTileTargetImage:Sw,BasicCollapsible:Vw,BasicCombobox:E1,BasicListbox:C1,BasicResponsiveImage:jh,BoundedContent:th,Box:rh,Breadcrumb:ww,BreadcrumbList:bs,Breadcrumbs:xw,BreadcrumbsContainer:$w,BulletList:Oy,BulletListContent:My,BulletListIcon:Ay,Button:Dt,ButtonDescription:wy,Buttonbar:Fw,ButtonbarButton:Tw,ButtonbarButtonContext:Ss,ButtonbarButtonLabel:Pw,ButtonbarContext:vs,Callout:Bw,Card:ih,Carousel:ch,CarouselSlide:Wa,Checkbox:Aw,ClearAllButton:$y,ClearSelectionButtons:Cy,Collapsible:mh,CollapsibleContent:dh,CollapsibleContext:Ga,CollapsibleSummary:fh,CollapsibleSummaryButton:uh,CollapsibleSummaryTextClosed:Kw,CollapsibleSummaryTextOpen:_w,ColorSwatch:zw,ColorSwatches:Gw,ColorSwatchesMore:Uw,Column:V$,Combobox:Ks,ComboboxFloatingLabel:B1,ComboboxInput:Ms,ComboboxList:Fh,ComboboxOption:Ih,ComboboxOptionTextContainer:I1,ComboboxOptionThumbnailContainer:k1,ComboboxPopover:Bh,ComboboxPopoverTitle:N1,ComboboxSearchInput:R1,ComboboxSection:Nh,ComboboxWithFloatingLabel:M1,Count:A1,DateCalendar:Z1,DatePicker:g$,DatePickerCalendar:Y1,DatePickerInput:h$,DatePickerPopover:p$,Dialog:$m,DialogConfigContext:wm,DiscountPrice:RC,Divider:b$,DoubleBanner:dw,Dropdown:eo,DropdownFloatingLabel:V1,DropdownOption:Qa,DropdownWithFloatingLabel:_1,EmptyState:C$,EmptyStateActions:v$,EmptyStateDescription:S$,EmptyStateFooter:y$,EmptyStateIllustration:w$,EmptyStateTitle:$$,ErrorBoundary:Us,FieldSet:P$,FieldSetLegend:x$,FileDropzone:E$,FileDropzoneSources:F$,FileInput:I$,FileInputLabel:k$,FileTile:M$,FileTileDeleteButton:A$,FileTileThumbnail:O$,FlexBox:Vs,FloatingLabel:G$,FluidImage:Hh,FormError:gh,FormField:Qw,FormFieldContext:Bn,FormHelper:e1,FormInputGroup:t1,FormLabel:r1,FormLabelOptional:n1,GridContainer:K$,H1:J1,H2:Q1,H3:e$,H4:t$,H5:n$,H6:r$,Hidden:U$,Icon:$e,IconButton:ut,Img:Zh,InputWithFloatingLabel:W$,LOCALE_INHERITANCE:Ap,LeftHandNavigation:Z$,LeftHandNavigationHeader:j$,Li:Xm,Lightbox:V0,Link:ip,LinkList:Ky,LinkListHeading:Vy,List:qm,ListItem:Zm,ListPrice:LC,Listbox:Th,ListboxButton:xh,ListboxFloatingLabel:P1,ListboxList:As,ListboxOption:Rr,ListboxOptionTextContainer:Dh,ListboxOptionThumbnailContainer:Eh,ListboxPopover:Os,ListboxSection:Lr,ListboxWithFloatingLabel:D1,MANIFEST_FONTS:_r,MANIFEST_ICONS:zr,MANIFEST_ICONS_BRANDS:ml,MANIFEST_ILLUSTRATIONS:Hr,MANIFEST_ILLUSTRATIONS_BRANDS:hl,MANIFEST_IMAGES:Kr,MANIFEST_JS:Ur,MANIFEST_STYLES:er,MARKETING_COLORS:Lp,MainContentStart:iC,Markup:sp,Menu:dp,MenuItem:up,MenuList:rC,MenuPopover:aC,MenuSection:oC,MenuTrigger:mp,ModalDialog:Fm,ModalDialogBody:Dm,ModalDialogButtons:F0,ModalDialogButtonsText:E0,ModalDialogCloseButton:B0,ModalDialogContent:Em,ModalDialogContext:za,ModalDialogFooter:N0,ModalDialogHeader:R0,ModalDialogNav:L0,ModalDialogTitle:M0,Ol:Hy,OrderedList:Ym,P:f$,Pagination:mC,PaginationButton:dC,PaginationContext:hp,PaginationEllipses:uC,PaginationStep:fC,PipeSeparator:hC,Popover:c1,PopoverCloser:o1,PopoverContent:s1,PopoverDialog:ks,PopoverLauncher:l1,PopoverTrigger:Ns,PriceBar:kC,PriceBarBanner:vC,PriceBarBannerSegment:bC,PriceBarBannerSegmentImage:pC,PriceBarBannerSegmentText:gC,PriceBarButtons:SC,PriceBarCouponCallout:yC,PriceBarInfoDetail
42s:wC,PriceBarLink:$C,PriceBarMain:PC,PriceBarMainButton:CC,PriceBarMainInfo:xC,PriceBarPrice:DC,PriceBarPriceInfo:TC,PriceBarQuantity:BC,PriceBarQuantityAmount:EC,PriceBarQuantityContext:Ys,PriceBarQuantityLabel:FC,PriceBarVat:IC,Pricing:OC,PricingComparison:MC,PricingOffer:AC,Progress:Gs,ProgressBar:L$,ProgressBarContainer:ep,ProgressOutput:tp,ProgressiveImage:Uh,PromoCode:KC,ROOT_CLASSNAMES:Ye,RadioButton:_C,Range:HC,RatingsStars:zC,RenderComp:w,ResponsiveImage:Gh,ResponsiveImageContainer:Wh,Row:H$,SWAN_BASE_CDN_URL:zt,SWAN_BASE_URL_LIST:Fp,SWAN_BASE_URL_MAP:lo,SWAN_FONT_KEY_MAP:Bt,SWAN_HASHED_FOLDER:cl,SWAN_ICON_KEY_MAP:bl,SWAN_ILLUSTRATION_KEY_MAP:vl,SWAN_IMAGE_KEY_MAP:_p,SWAN_JS_KEY_MAP:Hp,SWAN_PUBLIC_ASSET_FOLDER:mo,SWAN_STYLE_KEY_LIST:Sl,SWAN_STYLE_KEY_MAP:ae,SWAN_VERSION:Vr,SWAN_VERSIONED_FOLDER:dl,SWAN_VERSION_META_NAME:Zr,ScreenClassContext:us,ScreenClassProvider:Om,SearchInput:kh,Section:m$,SelectionSet:ex,SelectionSetContext:Za,SelectionSetError:UC,SelectionSetInput:WC,SelectionSetInputContext:$s,SelectionSetLabel:GC,SelectionSetTileContents:jC,SelectionSetTileDescription:ZC,SelectionSetTileImageContainer:qC,SelectionSetTileName:YC,SelectionSetTilePrice:XC,ShortTaxMessage:VC,SiteContent:sC,SiteMain:lC,SkeletonText:rx,SkeletonTextHeading:tx,SkeletonTextLine:nx,SkinEnum:S0,SkipLink:cC,Span:qh,Spinner:Ha,SquareImageContainer:ax,StandardForm:a1,StandardTile:gx,StandardTileContents:ox,StandardTileDescription:ix,StandardTileFooter:sx,StandardTileImage:lx,StandardTileName:cx,StandardTileOverlay:dx,StandardTilePrice:ux,StandardTilePromoCode:mx,StandardTilePromoCodeLabel:fx,StandardTileSeparatelyClickableContents:hx,StandardTileSwatches:px,StatusMessage:vx,StepIndicator:Cx,StepIndicatorStep:$x,StepIndicatorStepList:Sx,StepIndicatorStepValue:yx,SwanAssetFolders:Ee,SwanContext:_a,SwanFontNameEnum:np,SwanFonts:rp,SwanHead:z$,
42SwanI18nProvider:zm,SwanPageMeta:ap,SwanPathTypeEnum:Ft,SwanPopoverContext:Is,SwanPopoverContextProvider:Wn,SwanProvider:Wm,SwanSSRProvider:ql,SwanStylesheets:op,TabContent:kx,TabHeader:Nx,TabHeaderInput:gp,TabHeaderLabel:bp,Table:Ix,TableBody:xx,TableCaption:Px,TableCell:Dx,TableHead:Ex,TableRow:Fx,TableScrollContainer:Bx,Tabs:Mx,TabsContents:Rx,TabsContext:ro,TabsHeaders:Lx,TextArea:Ax,TextInput:Es,TextInputFloatingLabel:Zw,TextInputWithButtonBeside:qw,TextInputWithButtonInset:Yw,TextInputWithFloatingLabel:Jw,ThumbnailsHero:Gx,ThumbnailsHeroBackgroundContainer:vp,ThumbnailsHeroContent:_x,ThumbnailsHeroContentContainer:Sp,ThumbnailsHeroImagesSlidesContainer:yp,ThumbnailsHeroThumbnailsSlidesContainer:wp,ThumbnailsHeroVideoThumbnailSlide:$p,TimePicker:Zx,TimePickerOption:qx,ToggleSwitch:Qx,ToggleSwitchOffLabel:Yx,ToggleSwitchOnLabel:Xx,ToggleSwitchSize:Jx,TransitionStatus:is,Typography:Zn,Ul:_y,UncustomizableMarkup:q$,Visible:e2,VisuallyHidden:Ue,ZoomControls:o2,ZoomControlsIn:n2,ZoomControlsOut:r2,ZoomControlsValue:a2,ZoomableImage:l2,assignRef:yo,assignRefs:xe,breakpoints:be,className:_e,classNames:nr,composeEventHandlersUtil:gt,conditionalPropType:Tp,createClickOnEnterHandler:Ma,createClickOnSpaceHandler:es,createComponent:Cf,createKeyPressHandlers:La,createSwanGlobalObject:xo,createSwanVersionMetaTag:Co,deprecatedComponent:Le,deprecatedProp:xf,deprecatedPropValues:Pf,filterProps:Wi,getEnv:El,getKey:uo,getRootClassNames:Nl,getSameKeyValueMapForManifest:Ut,getSwanAssetFolderName:tr,getSwanAssetUrl:St,getSwanBaseUrl:Wr,getSwanFontRenderConfig:js,getSwanFontUrl:Tl,getSwanIconUrl:Pl,getSwanIllustrationUrl:Cl,getSwanImageUrl:xl,getSwanJsUrl:wl,getSwanScriptPolyfillUrl:So,getSwanStylesheetUrl:$l,getTokenCssVar:an,hasNestedStandardMode:os,isFunction:vo,isIterableSet:bo,isNonNullish:Gr,isNotProduction:Il,isNotTestOrProduction:go,isProduction:Bl,isResponsiveModifier:Qn,isSupportedTenant:Dl,isTestEnv:Fl,isValidStyleProperty:on,iterToSet:sn,loadSwanPolyfill:Rl,manifestResolve:Xe,mergeIterables:kl,nullishPropType:c2,polyfillResolve:po,prefersReducedMotion:jr,processStyleProps:yt,renderElem:ka,renderWithRef:S,resetAutoId:hm,responsive:_m,responsiveModifierSet:co,setAutoIdSignature:mm,styleKeyVarMap:wo,stylePropertyPrefixes:Jn,styleValidProperties:ll,swanStyleObjectFit:fo,swanStyleObjectFitValues:Np,tokens:Vp,tokensRaw:pl,useAccordionContext:ls,useAlertBoxContext:hs,useAnchorBarIsPinned:ps,useAnchorBarScroll:gs,useAsyncList:om,useBrowserClasses:um,useBrowserHistoryState:fm,useButtonbarButtonContext:oh,useButtonbarContext:ah,useCollapsibleContext:ja,useControllableValue:bt,useDidImmutableValueChange:ns,useExpansionPackI18nContext:Ze,useFormFieldContext:Ds,useFormFieldProps:Kt,useHasSafariViewportBug:pm,useId:we,useInternalDialogConfigContext:Ir,useIsScreenClassInitialized:Km,useIsomorphicLayoutEffect:zn,useMap:Fr,useModalDialogContext:en,useModeExtractor:Va,useNonAnchorElementAsAnchor:dm,useNonButtonElementAsButton:cm,useNonNullishContext:Be,useNonNullishFormFieldContext:Xa,usePaginationContext:pp,usePriceBarQuantityContext:NC,useResponsiveProps:Hm,useScreenClass:Vm,useSelectionSetContext:Cs,useSelectionSetInputContext:qa,useSwanContext:Qt,useSwanHeadConfig:Mr,useSwanPopover:We,useTabsContext:Ar,useTransition:ss,waitForStyles:Al});p("default",d2)})}})); 43//# sourceMappingURL=swan-Cm56NTmj.js.map
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.