`)}`}args(){return[this.providerState,this.preferredTimezone,this.eventQuery,this.date,this.groupId,this.days]}loadState(){return b(this,void 0,void 0,function*(){if(this.events)return;const e=yield this.loadEvents();(e==null?void 0:e.length)>0&&(this.events=e)})}eventClicked(e){this.fireCustomEvent("eventClick",e)}getEventTimeString(e){if(e.isAllDay)return"ALL DAY";let t=e.start.dateTime;e.start.timeZone==="UTC"&&(t+="Z");let n=e.end.dateTime;e.end.timeZone==="UTC"&&(n+="Z");const i=this.prettyPrintTimeFromDateTime(new Date(t)),o=this.prettyPrintTimeFromDateTime(new Date(n));return`${i} - ${o}`}loadEvents(){return b(this,void 0,void 0,function*(){const e=L.globalProvider;let t=[];if((e==null?void 0:e.state)===_.SignedIn){const n=e.graph.forComponent(this);if(this.eventQuery)try{const i=this.eventQuery.split("|");let o,a;i.length>1?(a=i[0].trim(),o=i[1].trim()):a=this.eventQuery;const d=yield k(n,a,o?[o]:[]);if(d!=null&&d.value)for(t=d.value;d.hasNext;)yield d.next(),t=d.value}catch{}else{const i=this.date?new Date(this.date):new Date,o=new Date(i.getTime());o.setDate(i.getDate()+this.days);try{const a=yield Y(n,i,o,this.groupId);if(a!=null&&a.value)for(t=a.value;a.hasNext;)yield a.next(),t=a.value}catch{}}}return t})}prettyPrintTimeFromDateTime(e){return e.toLocaleTimeString(navigator.language,{timeStyle:"short",timeZone:this.preferredTimezone})}getDateHeaderFromDateTimeString(e){return new Date(e).toLocaleDateString(navigator.language,{dateStyle:"full",timeZone:this.preferredTimezone})}}g([v({attribute:"date",type:String}),h("design:type",String)],p.prototype,"date",void 0);g([v({attribute:"group-id",type:String}),h("design:type",String)],p.prototype,"groupId",void 0);g([v({attribute:"days",type:Number}),h("design:type",Object)],p.prototype,"days",void 0);g([v({attribute:"event-query",type:String}),h("design:type",String)],p.prototype,"eventQuery",void 0);g([v({attribute:"events",type:Array,hasChanged:(s,e)=>s!==e}),h("design:type",Array)],p.prototype,"events",void 0);g([v({attribute:"show-max",type:Number}),h("design:type",Number)],p.prototype,"showMax",void 0);g([v({attribute:"group-by-day",type:Boolean}),h("design:type",Boolean)],p.prototype,"groupByDay",void 0);g([v({attribute:"preferred-timezone",type:String}),h("design:type",String)],p.prototype,"preferredTimezone",void 0);g([v({attribute:!1}),h("design:type",Boolean)],p.prototype,"_isNarrow",void 0);const J=C("agenda",X),K=C("spinner",Q),ee=w({email:{boxShadow:"var(--box-shadow)",...m.padding("10px"),...m.margin("8px"),":hover":{borderLeftWidth:"4px",borderLeftColor:"var(--input-border-color--hover)",borderLeftStyle:"solid",paddingLeft:"6px"},"& mgt-person":{"--font-size":"12px","--person-avatar-size":"16px"}},link:{color:"var(--color-sub1)",textDecorationLine:"none"},header:{display:"flex",justifyContent:"space-between"},subject:{color:"var(--color-sub1)",fontSize:"14px",...m.gridArea("1 / 1 / auto / 3"),...m.margin("0")},title:{display:"flex",justifyContent:"space-between",marginBottom:"4px",color:"var(--color-sub1)"},date:{fontSize:"12px",paddingLeft:"4px",float:"right"},body:{fontSize:"13px",textOverflow:"ellipsis",wordWrap:"break-word",...m.overflow("hidden"),maxHeight:"2.8em",lineHeight:"1.4em",color:"var(--color-sub2)"},emptyBody:{fontStyle:"italic"}});function T(s){var n,i;const e=ee(),t=s.dataContext;return r.jsx("div",{className:e.email,children:r.jsxs("a",{className:e.link,href:t.webLink,target:"_blank",rel:"noreferrer",children:[r.jsx("div",{className:e.header,children:r.jsx("div",{children:r.jsx(Z,{personQuery:(i=(n=t.sender)==null?void 0:n.emailAddress)==null?void 0:i.address,personCardInteraction:"hover",view:"oneline"})})}),r.jsxs("div",{className:e.title,children:[r.jsx("h3",{className:e.subject,children:t.subject}),r.jsx("span",{className:e.date,children:new Date(t.receivedDateTime).toLocaleDateString()})]}),t!=null&&t.bodyPreview?r.jsx("div",{className:e.body,children:t.bodyPreview}):r.jsx("div",{className:D(e.body,e.emptyBody),children:"..."})]})})}const te=w({root:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 300px)"},message:{paddingLeft:"10px"}}),$=s=>{const e=te();return r.jsxs("div",{className:e.root,children:[r.jsx(K,{}),r.jsx("div",{className:e.message,children:r.jsx("span",{children:s.message||"Loading..."})})]})},ne=w({container:{display:"flex",flexDirection:"row"},panels:{...m.padding("10px")},main:{display:"flex",flexDirection:"column",flexWrap:"nowrap",width:"70%"},side:{display:"flex",flexDirection:"column",flexWrap:"nowrap",width:"30%"}}),pe=()=>{const s=ne(),[e,t]=E.useState("focused"),n=(i,o)=>{t(o.value)};return r.jsxs(r.Fragment,{children:[r.jsx(I,{title:"Mail and Calendar",description:"Stay productive and navigate your emails and your calendar appointments"}),r.jsxs(q,{selectedValue:e,onTabSelect:n,className:s.container,children:[r.jsx(S,{value:"focused",children:"Focused"}),r.jsx(S,{value:"others",children:"Others"})]}),r.jsxs("div",{className:s.container,children:[r.jsxs("div",{className:D(s.panels,s.main),children:[e==="focused"&&r.jsxs(j,{resource:"/me/mailFolders/Inbox/messages?$orderby=InferenceClassification, createdDateTime DESC&filter=InferenceClassification eq 'Focused'",maxPages:3,scopes:["Mail.Read"],children:[r.jsx(T,{template:"value"}),r.jsx($,{template:"loading",message:"Loading your focused inbox..."})]}),e==="others"&&r.jsxs(j,{resource:"/me/mailFolders/Inbox/messages?$orderby=InferenceClassification, createdDateTime DESC&filter=InferenceClassification eq 'Other'",maxPages:3,scopes:["Mail.Read"],children:[r.jsx(T,{template:"value"}),r.jsx($,{template:"loading",message:"Loading your other inbox..."})]})]}),r.jsx("div",{className:s.side,children:r.jsx(J,{groupByDay:!0})})]})]})};export{pe as default};
diff --git a/next/sample/pr/3325/assets/PageHeader-BLfiQIXJ.js b/next/sample/pr/3325/assets/PageHeader-BLfiQIXJ.js
new file mode 100644
index 0000000000..af15d9f076
--- /dev/null
+++ b/next/sample/pr/3325/assets/PageHeader-BLfiQIXJ.js
@@ -0,0 +1 @@
+import{r as p,j as d}from"./index-hkJM60Tb.js";import{ab as s,b9 as h,ad as c,ae as v,ai as b,aj as n,ak as m,an as u}from"./App-c9ixsJC9.js";const w=r=>s(r.root,{children:r.root.children!==void 0&&s(r.wrapper,{children:r.root.children})}),x=(r,e)=>{const{alignContent:f="center",appearance:t="default",inset:a=!1,vertical:l=!1,wrapper:i}=r,o=h("divider-");return{alignContent:f,appearance:t,inset:a,vertical:l,components:{root:"div",wrapper:"div"},root:c(v("div",{role:"separator","aria-orientation":l?"vertical":"horizontal","aria-labelledby":r.children?o:void 0,...r,ref:e}),{elementType:"div"}),wrapper:c(i,{defaultProps:{id:o,children:r.children},elementType:"div"})}},k={root:"fui-Divider",wrapper:"fui-Divider__wrapper"},y=n({base:{Bt984gj:"f122n59",B7ck84d:"f1ewtqcl",mc9l5x:"f22iagw",Beiy3e4:"f1063pyq",Bh6795r:"fqerorx",qhf8xq:"f10pi13n",Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm",fsow6f:"f17mccla",Bcvre1j:"fyl8oag",Br0sdwz:"f16vkdww",Bn78ew0:"fhsnbul",li1rpt:"f1gw3sf2",ap17g6:"f1ly5f7u",B771hl4:"f1s3tz6t"},childless:{susq4k:"f1kyqvp9",Bicfajf:["fzynn9s","f1z0ukd1"],jwcpgy:["fekrn8e","ftdg338"],B4rk6o:"fesgyo"},start:{Bsft5z2:"f13zj6fq"},center:{Ftih45:"f1wl9k8s",Bsft5z2:"f13zj6fq"},end:{Ftih45:"f1wl9k8s"},brand:{sj55zd:"f16muhyy",Bq4z7u6:"fcbuu2a",Bk5zm6e:["f1wdw2dr","f1ttio3w"],Bqjgrrk:"f1582fpk",Bm6vgfq:["f1ttio3w","f1wdw2dr"],B0n5ga8:"f1ahrvm8",s924m2:["f1cd3wbc","f17hbk9y"],B1q35kw:"fvrapl0",Gp14am:["f17hbk9y","f1cd3wbc"]},default:{sj55zd:"fkfq4zb",Bq4z7u6:"f1vccso1",Bk5zm6e:["f1geml7w","fjml6kk"],Bqjgrrk:"f1r7kh1m",Bm6vgfq:["fjml6kk","f1geml7w"],B0n5ga8:"f16j7guv",s924m2:["fx01ahm","fj1a37q"],B1q35kw:"fl8d8yv",Gp14am:["fj1a37q","fx01ahm"]},subtle:{sj55zd:"f11d4kpn",Bq4z7u6:"f5g06un",Bk5zm6e:["f13sxdku","f1n015lb"],Bqjgrrk:"f1x6bl8t",Bm6vgfq:["f1n015lb","f13sxdku"],B0n5ga8:"fvod1wy",s924m2:["fwslg65","flk0e17"],B1q35kw:"f103fvts",Gp14am:["flk0e17","fwslg65"]},strong:{sj55zd:"f19n0e5",Bq4z7u6:"f10tv6oz",Bk5zm6e:["f16xp3sf","f1seuxxq"],Bqjgrrk:"fwrmqbx",Bm6vgfq:["f1seuxxq","f16xp3sf"],B0n5ga8:"ft83z1f",s924m2:["f1g4150c","f192dr6e"],B1q35kw:"f1qnawh6",Gp14am:["f192dr6e","f1g4150c"]}},{d:[".f122n59{align-items:center;}",".f1ewtqcl{box-sizing:border-box;}",".f22iagw{display:flex;}",".f1063pyq{flex-direction:row;}",".fqerorx{flex-grow:1;}",".f10pi13n{position:relative;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f17mccla{text-align:center;}",".fyl8oag::before{box-sizing:border-box;}",".f16vkdww::before{display:flex;}",".fhsnbul::before{flex-grow:1;}",".f1gw3sf2::after{box-sizing:border-box;}",".f1ly5f7u::after{display:flex;}",".f1s3tz6t::after{flex-grow:1;}",".f1kyqvp9::before{margin-bottom:0;}",".fzynn9s::before{margin-right:0;}",".f1z0ukd1::before{margin-left:0;}",".fekrn8e::after{margin-left:0;}",".ftdg338::after{margin-right:0;}",".fesgyo::after{margin-top:0;}",'.f13zj6fq::after{content:"";}','.f1wl9k8s::before{content:"";}',".f16muhyy{color:var(--colorBrandForeground1);}",".fcbuu2a::before{border-top-color:var(--colorBrandStroke1);}",".f1wdw2dr::before{border-right-color:var(--colorBrandStroke1);}",".f1ttio3w::before{border-left-color:var(--colorBrandStroke1);}",".f1582fpk::before{border-bottom-color:var(--colorBrandStroke1);}",".f1ahrvm8::after{border-top-color:var(--colorBrandStroke1);}",".f1cd3wbc::after{border-right-color:var(--colorBrandStroke1);}",".f17hbk9y::after{border-left-color:var(--colorBrandStroke1);}",".fvrapl0::after{border-bottom-color:var(--colorBrandStroke1);}",".fkfq4zb{color:var(--colorNeutralForeground2);}",".f1vccso1::before{border-top-color:var(--colorNeutralStroke2);}",".f1geml7w::before{border-right-color:var(--colorNeutralStroke2);}",".fjml6kk::before{border-left-color:var(--colorNeutralStroke2);}",".f1r7kh1m::before{border-bottom-color:var(--colorNeutralStroke2);}",".f16j7guv::after{border-top-color:var(--colorNeutralStroke2);}",".fx01ahm::after{border-right-color:var(--colorNeutralStroke2);}",".fj1a37q::after{border-left-color:var(--colorNeutralStroke2);}",".fl8d8yv::after{border-bottom-color:var(--colorNeutralStroke2);}",".f11d4kpn{color:var(--colorNeutralForeground3);}",".f5g06un::before{border-top-color:var(--colorNeutralStroke3);}",".f13sxdku::before{border-right-color:var(--colorNeutralStroke3);}",".f1n015lb::before{border-left-color:var(--colorNeutralStroke3);}",".f1x6bl8t::before{border-bottom-color:var(--colorNeutralStroke3);}",".fvod1wy::after{border-top-color:var(--colorNeutralStroke3);}",".fwslg65::after{border-right-color:var(--colorNeutralStroke3);}",".flk0e17::after{border-left-color:var(--colorNeutralStroke3);}",".f103fvts::after{border-bottom-color:var(--colorNeutralStroke3);}",".f19n0e5{color:var(--colorNeutralForeground1);}",".f10tv6oz::before{border-top-color:var(--colorNeutralStroke1);}",".f16xp3sf::before{border-right-color:var(--colorNeutralStroke1);}",".f1seuxxq::before{border-left-color:var(--colorNeutralStroke1);}",".fwrmqbx::before{border-bottom-color:var(--colorNeutralStroke1);}",".ft83z1f::after{border-top-color:var(--colorNeutralStroke1);}",".f1g4150c::after{border-right-color:var(--colorNeutralStroke1);}",".f192dr6e::after{border-left-color:var(--colorNeutralStroke1);}",".f1qnawh6::after{border-bottom-color:var(--colorNeutralStroke1);}"]}),B=n({base:{a9b677:"fly5x3f",Bdkvgpv:"f163fonl",B0qfbqy:"f51yk4v",pbipgd:"f13rof3u",Bm2nyyq:"f8rth92",xrcqlc:"f6czdpx",i5u598:"f1iyka9k"},inset:{uwmqm3:["fjlbh76","f11qrl6u"],z189sj:["f11qrl6u","fjlbh76"]},start:{Ftih45:"f1wl9k8s",Bicfajf:["f1ojjlep","fk1kexq"],Bxwl2t9:"f1he2m4d",jwcpgy:["f12w1bnb","f1558wlj"]},center:{Bicfajf:["f1ojjlep","fk1kexq"],jwcpgy:["f12w1bnb","f1558wlj"]},end:{Bicfajf:["f1ojjlep","fk1kexq"],Bsft5z2:"f13zj6fq",jwcpgy:["f12w1bnb","f1558wlj"],Iy66sp:"f1ayce8x"}},{d:[".fly5x3f{width:100%;}",".f163fonl::before{border-top-style:solid;}",".f51yk4v::before{border-top-width:var(--strokeWidthThin);}",".f13rof3u::before{min-width:8px;}",".f8rth92::after{border-top-style:solid;}",".f6czdpx::after{border-top-width:var(--strokeWidthThin);}",".f1iyka9k::after{min-width:8px;}",".fjlbh76{padding-left:12px;}",".f11qrl6u{padding-right:12px;}",'.f1wl9k8s::before{content:"";}',".f1ojjlep::before{margin-right:12px;}",".fk1kexq::before{margin-left:12px;}",".f1he2m4d::before{max-width:8px;}",".f12w1bnb::after{margin-left:12px;}",".f1558wlj::after{margin-right:12px;}",'.f13zj6fq::after{content:"";}',".f1ayce8x::after{max-width:8px;}"]}),j=n({base:{Beiy3e4:"f1vx9l62",sshi5w:"f16gbxbe",m598lv:["f1yq6w5o","f1jpmc5p"],B4f6apu:["f9sc749","f1x8pvcy"],zkzzav:"fhkwbjy",Barhvk9:["flthirb","ftkbnf5"],Ihftqj:["f13hvwk3","f1en4csx"],Bde111x:"f19onpk6"},inset:{B6of3ja:"f1xdg43u",jrapky:"f1jlhsmd"},withChildren:{sshi5w:"f1tjaq3g"},start:{Ftih45:"f1wl9k8s",susq4k:"fg2pwug",Bbdr6tz:"fkjtzyi",B4rk6o:"f8vk40g"},center:{susq4k:"fg2pwug",B4rk6o:"f8vk40g"},end:{susq4k:"fg2pwug",Bsft5z2:"f13zj6fq",B4rk6o:"f8vk40g",gn64ia:"fqg5mu5"}},{d:[".f1vx9l62{flex-direction:column;}",".f16gbxbe{min-height:20px;}",".f1yq6w5o::before{border-right-style:solid;}",".f1jpmc5p::before{border-left-style:solid;}",".f9sc749::before{border-right-width:var(--strokeWidthThin);}",".f1x8pvcy::before{border-left-width:var(--strokeWidthThin);}",".fhkwbjy::before{min-height:8px;}",".flthirb::after{border-right-style:solid;}",".ftkbnf5::after{border-left-style:solid;}",".f13hvwk3::after{border-right-width:var(--strokeWidthThin);}",".f1en4csx::after{border-left-width:var(--strokeWidthThin);}",".f19onpk6::after{min-height:8px;}",".f1xdg43u{margin-top:12px;}",".f1jlhsmd{margin-bottom:12px;}",".f1tjaq3g{min-height:84px;}",'.f1wl9k8s::before{content:"";}',".fg2pwug::before{margin-bottom:12px;}",".fkjtzyi::before{max-height:8px;}",".f8vk40g::after{margin-top:12px;}",'.f13zj6fq::after{content:"";}',".fqg5mu5::after{max-height:8px;}"]}),q=r=>{const e=y(),f=B(),t=j(),{alignContent:a,appearance:l,inset:i,vertical:o}=r;return r.root.className=b(k.root,e.base,e[a],l&&e[l],!o&&f.base,!o&&i&&f.inset,!o&&f[a],o&&t.base,o&&i&&t.inset,o&&t[a],o&&r.root.children!==void 0&&t.withChildren,r.root.children===void 0&&e.childless,r.root.className),r.wrapper&&(r.wrapper.className=b(k.wrapper,r.wrapper.className)),r},g=p.forwardRef((r,e)=>{const f=x(r,e);return q(f),m("useDividerStyles_unstable")(f),w(f)});g.displayName="Divider";const z=u({divider:{alignItems:"self-start",paddingTop:"20px",marginBottom:"20px"}}),F=r=>{const e=z();return d.jsxs("div",{children:[d.jsx("h1",{children:r.title}),d.jsx("div",{children:r.description}),d.jsx(g,{className:e.divider})]})};export{F as P};
diff --git a/next/sample/pr/3325/assets/SearchPage-BdnzkGN-.js b/next/sample/pr/3325/assets/SearchPage-BdnzkGN-.js
new file mode 100644
index 0000000000..7f0141224d
--- /dev/null
+++ b/next/sample/pr/3325/assets/SearchPage-BdnzkGN-.js
@@ -0,0 +1,369 @@
+import{G as xe,b as Pe,a as ze,p as De,j as n,r as U}from"./index-hkJM60Tb.js";import{P as Te}from"./PageHeader-BLfiQIXJ.js";import{aE as ke,F as K,x as Y,D as pe,_ as l,b as p,o as R,m as X,r as Ce,aF as Se,p as $e,y as G,z as Ee,J as M,aG as oe,E as Le,K as Ie,aH as V,N as Q,I as Me,G as Fe,aI as Oe,Q as Ae,aJ as _e,X as je,a0 as Ue,av as qe,a3 as Ve,Z as He,$ as f,aK as ne,aL as O,aM as H,aN as Ne,aO as Be,a7 as E,a4 as k,a5 as D,a8 as A,aP as L,aQ as ae,aR as I,aS as N,Y as z,a2 as We,a1 as Ye,aT as Xe,w as ge,an as fe,aU as Ge,aq as ve,aV as le,ap as Qe,aW as Je,ar as Ke,as as _}from"./App-c9ixsJC9.js";import{r as me}from"./mgt-file-Dpu464qL.js";import{g as J,l as he,m as ce,O as Ze,D as et,d as tt,f as de,h as it,i as st,j as rt,k as B,T as W,S as j}from"./DataGridHeaderCell-Bb_zMzQi.js";const ot="beta";class q extends xe{static fromGraph(e){const t=new q(e.client);return t.setComponent(e.componentName),t}constructor(e,t=ot){super(e,t)}forComponent(e){const t=new q(this.client);return this.setComponent(e),t}}class nt{constructor(){this.intersectionDetector=null,this.observedElements=new Map,this.requestPosition=(e,t)=>{var i;if(this.intersectionDetector!==null){if(this.observedElements.has(e)){(i=this.observedElements.get(e))===null||i===void 0||i.push(t);return}this.observedElements.set(e,[t]),this.intersectionDetector.observe(e)}},this.cancelRequestPosition=(e,t)=>{const i=this.observedElements.get(e);if(i!==void 0){const r=i.indexOf(t);r!==-1&&i.splice(r,1)}},this.initializeIntersectionDetector=()=>{ke.IntersectionObserver&&(this.intersectionDetector=new IntersectionObserver(this.handleIntersection,{root:null,rootMargin:"0px",threshold:[0,1]}))},this.handleIntersection=e=>{if(this.intersectionDetector===null)return;const t=[],i=[];e.forEach(r=>{var o;(o=this.intersectionDetector)===null||o===void 0||o.unobserve(r.target);const h=this.observedElements.get(r.target);h!==void 0&&(h.forEach(c=>{let d=t.indexOf(c);d===-1&&(d=t.length,t.push(c),i.push([])),i[d].push(r)}),this.observedElements.delete(r.target))}),t.forEach((r,o)=>{r(i[o])})},this.initializeIntersectionDetector()}}class a extends K{constructor(){super(...arguments),this.anchor="",this.viewport="",this.horizontalPositioningMode="uncontrolled",this.horizontalDefaultPosition="unset",this.horizontalViewportLock=!1,this.horizontalInset=!1,this.horizontalScaling="content",this.verticalPositioningMode="uncontrolled",this.verticalDefaultPosition="unset",this.verticalViewportLock=!1,this.verticalInset=!1,this.verticalScaling="content",this.fixedPlacement=!1,this.autoUpdateMode="anchor",this.anchorElement=null,this.viewportElement=null,this.initialLayoutComplete=!1,this.resizeDetector=null,this.baseHorizontalOffset=0,this.baseVerticalOffset=0,this.pendingPositioningUpdate=!1,this.pendingReset=!1,this.currentDirection=Y.ltr,this.regionVisible=!1,this.forceUpdate=!1,this.updateThreshold=.5,this.update=()=>{this.pendingPositioningUpdate||this.requestPositionUpdates()},this.startObservers=()=>{this.stopObservers(),this.anchorElement!==null&&(this.requestPositionUpdates(),this.resizeDetector!==null&&(this.resizeDetector.observe(this.anchorElement),this.resizeDetector.observe(this)))},this.requestPositionUpdates=()=>{this.anchorElement===null||this.pendingPositioningUpdate||(a.intersectionService.requestPosition(this,this.handleIntersection),a.intersectionService.requestPosition(this.anchorElement,this.handleIntersection),this.viewportElement!==null&&a.intersectionService.requestPosition(this.viewportElement,this.handleIntersection),this.pendingPositioningUpdate=!0)},this.stopObservers=()=>{this.pendingPositioningUpdate&&(this.pendingPositioningUpdate=!1,a.intersectionService.cancelRequestPosition(this,this.handleIntersection),this.anchorElement!==null&&a.intersectionService.cancelRequestPosition(this.anchorElement,this.handleIntersection),this.viewportElement!==null&&a.intersectionService.cancelRequestPosition(this.viewportElement,this.handleIntersection)),this.resizeDetector!==null&&this.resizeDetector.disconnect()},this.getViewport=()=>typeof this.viewport!="string"||this.viewport===""?document.documentElement:document.getElementById(this.viewport),this.getAnchor=()=>document.getElementById(this.anchor),this.handleIntersection=e=>{this.pendingPositioningUpdate&&(this.pendingPositioningUpdate=!1,this.applyIntersectionEntries(e)&&this.updateLayout())},this.applyIntersectionEntries=e=>{const t=e.find(o=>o.target===this),i=e.find(o=>o.target===this.anchorElement),r=e.find(o=>o.target===this.viewportElement);return t===void 0||r===void 0||i===void 0?!1:!this.regionVisible||this.forceUpdate||this.regionRect===void 0||this.anchorRect===void 0||this.viewportRect===void 0||this.isRectDifferent(this.anchorRect,i.boundingClientRect)||this.isRectDifferent(this.viewportRect,r.boundingClientRect)||this.isRectDifferent(this.regionRect,t.boundingClientRect)?(this.regionRect=t.boundingClientRect,this.anchorRect=i.boundingClientRect,this.viewportElement===document.documentElement?this.viewportRect=new DOMRectReadOnly(r.boundingClientRect.x+document.documentElement.scrollLeft,r.boundingClientRect.y+document.documentElement.scrollTop,r.boundingClientRect.width,r.boundingClientRect.height):this.viewportRect=r.boundingClientRect,this.updateRegionOffset(),this.forceUpdate=!1,!0):!1},this.updateRegionOffset=()=>{this.anchorRect&&this.regionRect&&(this.baseHorizontalOffset=this.baseHorizontalOffset+(this.anchorRect.left-this.regionRect.left)+(this.translateX-this.baseHorizontalOffset),this.baseVerticalOffset=this.baseVerticalOffset+(this.anchorRect.top-this.regionRect.top)+(this.translateY-this.baseVerticalOffset))},this.isRectDifferent=(e,t)=>Math.abs(e.top-t.top)>this.updateThreshold||Math.abs(e.right-t.right)>this.updateThreshold||Math.abs(e.bottom-t.bottom)>this.updateThreshold||Math.abs(e.left-t.left)>this.updateThreshold,this.handleResize=e=>{this.update()},this.reset=()=>{this.pendingReset&&(this.pendingReset=!1,this.anchorElement===null&&(this.anchorElement=this.getAnchor()),this.viewportElement===null&&(this.viewportElement=this.getViewport()),this.currentDirection=J(this),this.startObservers())},this.updateLayout=()=>{let e,t;if(this.horizontalPositioningMode!=="uncontrolled"){const o=this.getPositioningOptions(this.horizontalInset);if(this.horizontalDefaultPosition==="center")t="center";else if(this.horizontalDefaultPosition!=="unset"){let b=this.horizontalDefaultPosition;if(b==="start"||b==="end"){const $=J(this);if($!==this.currentDirection){this.currentDirection=$,this.initialize();return}this.currentDirection===Y.ltr?b=b==="start"?"left":"right":b=b==="start"?"right":"left"}switch(b){case"left":t=this.horizontalInset?"insetStart":"start";break;case"right":t=this.horizontalInset?"insetEnd":"end";break}}const h=this.horizontalThreshold!==void 0?this.horizontalThreshold:this.regionRect!==void 0?this.regionRect.width:0,c=this.anchorRect!==void 0?this.anchorRect.left:0,d=this.anchorRect!==void 0?this.anchorRect.right:0,g=this.anchorRect!==void 0?this.anchorRect.width:0,v=this.viewportRect!==void 0?this.viewportRect.left:0,u=this.viewportRect!==void 0?this.viewportRect.right:0;(t===void 0||this.horizontalPositioningMode!=="locktodefault"&&this.getAvailableSpace(t,c,d,g,v,u)this.getAvailableSpace(o[1],c,d,g,v,u)?o[0]:o[1])}if(this.verticalPositioningMode!=="uncontrolled"){const o=this.getPositioningOptions(this.verticalInset);if(this.verticalDefaultPosition==="center")e="center";else if(this.verticalDefaultPosition!=="unset")switch(this.verticalDefaultPosition){case"top":e=this.verticalInset?"insetStart":"start";break;case"bottom":e=this.verticalInset?"insetEnd":"end";break}const h=this.verticalThreshold!==void 0?this.verticalThreshold:this.regionRect!==void 0?this.regionRect.height:0,c=this.anchorRect!==void 0?this.anchorRect.top:0,d=this.anchorRect!==void 0?this.anchorRect.bottom:0,g=this.anchorRect!==void 0?this.anchorRect.height:0,v=this.viewportRect!==void 0?this.viewportRect.top:0,u=this.viewportRect!==void 0?this.viewportRect.bottom:0;(e===void 0||this.verticalPositioningMode!=="locktodefault"&&this.getAvailableSpace(e,c,d,g,v,u)this.getAvailableSpace(o[1],c,d,g,v,u)?o[0]:o[1])}const i=this.getNextRegionDimension(t,e),r=this.horizontalPosition!==t||this.verticalPosition!==e;if(this.setHorizontalPosition(t,i),this.setVerticalPosition(e,i),this.updateRegionStyle(),!this.initialLayoutComplete){this.initialLayoutComplete=!0,this.requestPositionUpdates();return}this.regionVisible||(this.regionVisible=!0,this.style.removeProperty("pointer-events"),this.style.removeProperty("opacity"),this.classList.toggle("loaded",!0),this.$emit("loaded",this,{bubbles:!1})),this.updatePositionClasses(),r&&this.$emit("positionchange",this,{bubbles:!1})},this.updateRegionStyle=()=>{this.style.width=this.regionWidth,this.style.height=this.regionHeight,this.style.transform=`translate(${this.translateX}px, ${this.translateY}px)`},this.updatePositionClasses=()=>{this.classList.toggle("top",this.verticalPosition==="start"),this.classList.toggle("bottom",this.verticalPosition==="end"),this.classList.toggle("inset-top",this.verticalPosition==="insetStart"),this.classList.toggle("inset-bottom",this.verticalPosition==="insetEnd"),this.classList.toggle("vertical-center",this.verticalPosition==="center"),this.classList.toggle("left",this.horizontalPosition==="start"),this.classList.toggle("right",this.horizontalPosition==="end"),this.classList.toggle("inset-left",this.horizontalPosition==="insetStart"),this.classList.toggle("inset-right",this.horizontalPosition==="insetEnd"),this.classList.toggle("horizontal-center",this.horizontalPosition==="center")},this.setHorizontalPosition=(e,t)=>{if(e===void 0||this.regionRect===void 0||this.anchorRect===void 0||this.viewportRect===void 0)return;let i=0;switch(this.horizontalScaling){case"anchor":case"fill":i=this.horizontalViewportLock?this.viewportRect.width:t.width,this.regionWidth=`${i}px`;break;case"content":i=this.regionRect.width,this.regionWidth="unset";break}let r=0;switch(e){case"start":this.translateX=this.baseHorizontalOffset-i,this.horizontalViewportLock&&this.anchorRect.left>this.viewportRect.right&&(this.translateX=this.translateX-(this.anchorRect.left-this.viewportRect.right));break;case"insetStart":this.translateX=this.baseHorizontalOffset-i+this.anchorRect.width,this.horizontalViewportLock&&this.anchorRect.right>this.viewportRect.right&&(this.translateX=this.translateX-(this.anchorRect.right-this.viewportRect.right));break;case"insetEnd":this.translateX=this.baseHorizontalOffset,this.horizontalViewportLock&&this.anchorRect.leftthis.viewportRect.right)?this.translateX=this.translateX-(o-this.viewportRect.left):h>this.viewportRect.right&&!(o{if(e===void 0||this.regionRect===void 0||this.anchorRect===void 0||this.viewportRect===void 0)return;let i=0;switch(this.verticalScaling){case"anchor":case"fill":i=this.verticalViewportLock?this.viewportRect.height:t.height,this.regionHeight=`${i}px`;break;case"content":i=this.regionRect.height,this.regionHeight="unset";break}let r=0;switch(e){case"start":this.translateY=this.baseVerticalOffset-i,this.verticalViewportLock&&this.anchorRect.top>this.viewportRect.bottom&&(this.translateY=this.translateY-(this.anchorRect.top-this.viewportRect.bottom));break;case"insetStart":this.translateY=this.baseVerticalOffset-i+this.anchorRect.height,this.verticalViewportLock&&this.anchorRect.bottom>this.viewportRect.bottom&&(this.translateY=this.translateY-(this.anchorRect.bottom-this.viewportRect.bottom));break;case"insetEnd":this.translateY=this.baseVerticalOffset,this.verticalViewportLock&&this.anchorRect.topthis.viewportRect.bottom)?this.translateY=this.translateY-(o-this.viewportRect.top):h>this.viewportRect.bottom&&!(oe?["insetStart","insetEnd"]:["start","end"],this.getAvailableSpace=(e,t,i,r,o,h)=>{const c=t-o,d=h-(t+r);switch(e){case"start":return c;case"insetStart":return c+r;case"insetEnd":return d+r;case"end":return d;case"center":return Math.min(c,d)*2+r}},this.getNextRegionDimension=(e,t)=>{const i={height:this.regionRect!==void 0?this.regionRect.height:0,width:this.regionRect!==void 0?this.regionRect.width:0};return e!==void 0&&this.horizontalScaling==="fill"?i.width=this.getAvailableSpace(e,this.anchorRect!==void 0?this.anchorRect.left:0,this.anchorRect!==void 0?this.anchorRect.right:0,this.anchorRect!==void 0?this.anchorRect.width:0,this.viewportRect!==void 0?this.viewportRect.left:0,this.viewportRect!==void 0?this.viewportRect.right:0):this.horizontalScaling==="anchor"&&(i.width=this.anchorRect!==void 0?this.anchorRect.width:0),t!==void 0&&this.verticalScaling==="fill"?i.height=this.getAvailableSpace(t,this.anchorRect!==void 0?this.anchorRect.top:0,this.anchorRect!==void 0?this.anchorRect.bottom:0,this.anchorRect!==void 0?this.anchorRect.height:0,this.viewportRect!==void 0?this.viewportRect.top:0,this.viewportRect!==void 0?this.viewportRect.bottom:0):this.verticalScaling==="anchor"&&(i.height=this.anchorRect!==void 0?this.anchorRect.height:0),i},this.startAutoUpdateEventListeners=()=>{window.addEventListener(he,this.update,{passive:!0}),window.addEventListener(ce,this.update,{passive:!0,capture:!0}),this.resizeDetector!==null&&this.viewportElement!==null&&this.resizeDetector.observe(this.viewportElement)},this.stopAutoUpdateEventListeners=()=>{window.removeEventListener(he,this.update),window.removeEventListener(ce,this.update),this.resizeDetector!==null&&this.viewportElement!==null&&this.resizeDetector.unobserve(this.viewportElement)}}anchorChanged(){this.initialLayoutComplete&&(this.anchorElement=this.getAnchor())}viewportChanged(){this.initialLayoutComplete&&(this.viewportElement=this.getViewport())}horizontalPositioningModeChanged(){this.requestReset()}horizontalDefaultPositionChanged(){this.updateForAttributeChange()}horizontalViewportLockChanged(){this.updateForAttributeChange()}horizontalInsetChanged(){this.updateForAttributeChange()}horizontalThresholdChanged(){this.updateForAttributeChange()}horizontalScalingChanged(){this.updateForAttributeChange()}verticalPositioningModeChanged(){this.requestReset()}verticalDefaultPositionChanged(){this.updateForAttributeChange()}verticalViewportLockChanged(){this.updateForAttributeChange()}verticalInsetChanged(){this.updateForAttributeChange()}verticalThresholdChanged(){this.updateForAttributeChange()}verticalScalingChanged(){this.updateForAttributeChange()}fixedPlacementChanged(){this.$fastController.isConnected&&this.initialLayoutComplete&&this.initialize()}autoUpdateModeChanged(e,t){this.$fastController.isConnected&&this.initialLayoutComplete&&(e==="auto"&&this.stopAutoUpdateEventListeners(),t==="auto"&&this.startAutoUpdateEventListeners())}anchorElementChanged(){this.requestReset()}viewportElementChanged(){this.$fastController.isConnected&&this.initialLayoutComplete&&this.initialize()}connectedCallback(){super.connectedCallback(),this.autoUpdateMode==="auto"&&this.startAutoUpdateEventListeners(),this.initialize()}disconnectedCallback(){super.disconnectedCallback(),this.autoUpdateMode==="auto"&&this.stopAutoUpdateEventListeners(),this.stopObservers(),this.disconnectResizeDetector()}adoptedCallback(){this.initialize()}disconnectResizeDetector(){this.resizeDetector!==null&&(this.resizeDetector.disconnect(),this.resizeDetector=null)}initializeResizeDetector(){this.disconnectResizeDetector(),this.resizeDetector=new window.ResizeObserver(this.handleResize)}updateForAttributeChange(){this.$fastController.isConnected&&this.initialLayoutComplete&&(this.forceUpdate=!0,this.update())}initialize(){this.initializeResizeDetector(),this.anchorElement===null&&(this.anchorElement=this.getAnchor()),this.requestReset()}requestReset(){this.$fastController.isConnected&&this.pendingReset===!1&&(this.setInitialState(),pe.queueUpdate(()=>this.reset()),this.pendingReset=!0)}setInitialState(){this.initialLayoutComplete=!1,this.regionVisible=!1,this.translateX=0,this.translateY=0,this.baseHorizontalOffset=0,this.baseVerticalOffset=0,this.viewportRect=void 0,this.regionRect=void 0,this.anchorRect=void 0,this.verticalPosition=void 0,this.horizontalPosition=void 0,this.style.opacity="0",this.style.pointerEvents="none",this.forceUpdate=!1,this.style.position=this.fixedPlacement?"fixed":"absolute",this.updatePositionClasses(),this.updateRegionStyle()}}a.intersectionService=new nt;l([p],a.prototype,"anchor",void 0);l([p],a.prototype,"viewport",void 0);l([p({attribute:"horizontal-positioning-mode"})],a.prototype,"horizontalPositioningMode",void 0);l([p({attribute:"horizontal-default-position"})],a.prototype,"horizontalDefaultPosition",void 0);l([p({attribute:"horizontal-viewport-lock",mode:"boolean"})],a.prototype,"horizontalViewportLock",void 0);l([p({attribute:"horizontal-inset",mode:"boolean"})],a.prototype,"horizontalInset",void 0);l([p({attribute:"horizontal-threshold"})],a.prototype,"horizontalThreshold",void 0);l([p({attribute:"horizontal-scaling"})],a.prototype,"horizontalScaling",void 0);l([p({attribute:"vertical-positioning-mode"})],a.prototype,"verticalPositioningMode",void 0);l([p({attribute:"vertical-default-position"})],a.prototype,"verticalDefaultPosition",void 0);l([p({attribute:"vertical-viewport-lock",mode:"boolean"})],a.prototype,"verticalViewportLock",void 0);l([p({attribute:"vertical-inset",mode:"boolean"})],a.prototype,"verticalInset",void 0);l([p({attribute:"vertical-threshold"})],a.prototype,"verticalThreshold",void 0);l([p({attribute:"vertical-scaling"})],a.prototype,"verticalScaling",void 0);l([p({attribute:"fixed-placement",mode:"boolean"})],a.prototype,"fixedPlacement",void 0);l([p({attribute:"auto-update-mode"})],a.prototype,"autoUpdateMode",void 0);l([R],a.prototype,"anchorElement",void 0);l([R],a.prototype,"viewportElement",void 0);l([R],a.prototype,"initialLayoutComplete",void 0);const at=(s,e)=>X`
+
+`,lt={separator:"separator",presentation:"presentation"};class Z extends K{constructor(){super(...arguments),this.role=lt.separator,this.orientation=Ze.horizontal}}l([p],Z.prototype,"role",void 0);l([p],Z.prototype,"orientation",void 0);const ht=(s,e)=>X`
+ ${Ce(t=>t.tooltipVisible,X`
+ <${s.tagFor(a)}
+ fixed-placement="true"
+ auto-update-mode="${t=>t.autoUpdateMode}"
+ vertical-positioning-mode="${t=>t.verticalPositioningMode}"
+ vertical-default-position="${t=>t.verticalDefaultPosition}"
+ vertical-inset="${t=>t.verticalInset}"
+ vertical-scaling="${t=>t.verticalScaling}"
+ horizontal-positioning-mode="${t=>t.horizontalPositioningMode}"
+ horizontal-default-position="${t=>t.horizontalDefaultPosition}"
+ horizontal-scaling="${t=>t.horizontalScaling}"
+ horizontal-inset="${t=>t.horizontalInset}"
+ vertical-viewport-lock="${t=>t.horizontalViewportLock}"
+ horizontal-viewport-lock="${t=>t.verticalViewportLock}"
+ dir="${t=>t.currentDirection}"
+ ${Se("region")}
+ >
+
+
+ `}getResourceUrl(e){return e.webUrl||e.webLink||null}getResourceName(e){return e.displayName||e.subject||L(e.name)}getResultSummary(e){var t;return I(e.summary||((t=e.resource)===null||t===void 0?void 0:t.description)||null)}getResourceIcon(e){switch(e["@odata.type"]){case"#microsoft.graph.site":return k(D.Globe);case"#microsoft.graph.message":return k(D.Email);case"#microsoft.graph.event":return k(D.Event);case"microsoft.graph.chatMessage":return k(D.SmallChat);default:return k(D.FileOuter)}}shouldRetrieveCache(){return H()&&this.cacheEnabled&&!this.isRefreshing}shouldUpdateCache(){return H()&&this.cacheEnabled}getRequestOptions(){const e={entityTypes:this.entityTypes,query:{queryString:this.queryString},from:this.from?this.from:void 0,size:this.size?this.size:void 0,fields:this.getFields(),enableTopResults:this.enableTopResults?this.enableTopResults:void 0};return this.entityTypes.includes("externalItem")&&(e.contentSources=this.contentSources),this.version==="beta"&&(e.query.queryTemplate=this.queryTemplate?this.queryTemplate:void 0),e}getFields(){if(this.fields)return this.defaultFields.concat(this.fields)}}x([z({attribute:"query-string",type:String}),y("design:type",String),y("design:paramtypes",[String])],w.prototype,"queryString",null);x([z({attribute:"query-template",type:String}),y("design:type",String)],w.prototype,"queryTemplate",void 0);x([z({attribute:"entity-types",converter:s=>s.split(",").map(e=>e.trim()),type:String}),y("design:type",Array)],w.prototype,"entityTypes",void 0);x([z({attribute:"scopes",converter:(s,e)=>s?s.toLowerCase().split(","):null}),y("design:type",Array)],w.prototype,"scopes",void 0);x([z({attribute:"content-sources",converter:(s,e)=>s?s.toLowerCase().split(","):null}),y("design:type",Array)],w.prototype,"contentSources",void 0);x([z({attribute:"version",reflect:!0,type:String}),y("design:type",Object)],w.prototype,"version",void 0);x([z({attribute:"size",reflect:!0,type:Number}),y("design:type",Number),y("design:paramtypes",[Object])],w.prototype,"size",null);x([z({attribute:"paging-max",reflect:!0,type:Number}),y("design:type",Object)],w.prototype,"pagingMax",void 0);x([z({attribute:"fetch-thumbnail",type:Boolean}),y("design:type",Boolean)],w.prototype,"fetchThumbnail",void 0);x([z({attribute:"fields",converter:s=>s.split(",").map(e=>e.trim()),type:String}),y("design:type",Array)],w.prototype,"fields",void 0);x([z({attribute:"enable-top-results",reflect:!0,type:Boolean}),y("design:type",Object)],w.prototype,"enableTopResults",void 0);x([z({attribute:"cache-enabled",reflect:!0,type:Boolean}),y("design:type",Object)],w.prototype,"cacheEnabled",void 0);x([z({attribute:"cache-invalidation-period",reflect:!0,type:Number}),y("design:type",Object)],w.prototype,"cacheInvalidationPeriod",void 0);x([We(),y("design:type",Object)],w.prototype,"response",void 0);x([z({attribute:!1}),y("design:type",Object)],w.prototype,"currentPage",void 0);const bt=ge("file",me),F=ge("search-results",mt),yt=s=>n.jsx(n.Fragment,{children:s.searchTerm&&n.jsxs(n.Fragment,{children:[s.searchTerm!=="*"&&n.jsx(F,{entityTypes:["bookmark"],queryString:s.searchTerm,version:"beta",size:1,scopes:["Bookmark.Read.All"],children:n.jsx(wt,{template:"no-data"})}),n.jsx(F,{entityTypes:["driveItem","listItem","site"],queryString:s.searchTerm,scopes:["Files.Read.All","Files.ReadWrite.All","Sites.Read.All"],fetchThumbnail:!0})]})}),wt=s=>n.jsx(n.Fragment,{}),Rt=s=>n.jsx(n.Fragment,{children:n.jsx(F,{entityTypes:["people"],size:20,queryString:s.searchTerm,version:"beta"})}),xt=s=>n.jsx(n.Fragment,{children:s.searchTerm&&n.jsx(F,{entityTypes:["externalItem"],contentSources:["/external/connections/contosoBlogPosts"],queryString:s.searchTerm,scopes:["ExternalItem.Read.All"],version:"beta"})}),be=fe({container:{...ve.gap("16px"),display:"flex",flexDirection:"row",flexWrap:"wrap"},card:{width:"300px",height:"fit-content",maxWidth:"100%"},caption:{color:le.colorNeutralForeground3},noDataSearchTerm:{fontWeight:le.fontWeightSemibold},emptyContainer:{display:"flex",justifyContent:"center",alignItems:"center",flexDirection:"column",height:"calc(100vh - 300px)"},fileContainer:{display:"flex"},fileTitle:{paddingLeft:"10px",alignSelf:"center"},noDataMessage:{paddingLeft:"10px"},noDataIcon:{fontSize:"128px"},row:{cursor:"pointer"}}),ye=30,Pt=s=>n.jsx(n.Fragment,{children:s.searchTerm&&n.jsxs(F,{entityTypes:["driveItem"],queryString:s.searchTerm,fetchThumbnail:!0,queryTemplate:"({searchTerms}) ContentTypeId:0x0101*",version:"beta",fields:["createdBy","lastModifiedDateTime","Title","DefaultEncodingURL"],size:ye,cacheEnabled:!0,children:[n.jsx(ue,{template:"default"}),n.jsx(ue,{template:"loading"}),n.jsx(Dt,{template:"no-data"})]})}),zt=(s,e)=>[B({columnId:"name",renderHeaderCell:()=>"Name",renderCell:i=>n.jsx(W,{children:s?n.jsx(j,{shape:"rectangle",style:{width:"120px"}}):n.jsxs("div",{className:e.fileContainer,children:[n.jsx(bt,{fileDetails:i.resource,view:"image"}),n.jsx("span",{className:e.fileTitle,children:i.resource.listItem.fields.title})]})})}),B({columnId:"modified",renderHeaderCell:()=>"Modified",renderCell:i=>n.jsx(W,{children:s?n.jsx(j,{shape:"rectangle",style:{width:"120px"}}):Tt(new Date(i.resource.lastModifiedDateTime))})}),B({columnId:"owner",renderHeaderCell:()=>"Owner",renderCell:i=>n.jsx(W,{children:s?n.jsxs("div",{style:{display:"grid",alignItems:"center",position:"relative",gridTemplateColumns:"min-content 80%",gap:"10px"},children:[n.jsx(j,{shape:"circle",size:32}),n.jsx(j,{style:{width:"120px"}})]}):n.jsx(Qe,{personQuery:i.resource.createdBy.user.email,view:"oneline",personCardInteraction:"hover"})})})],ue=s=>{var r,o,h;const e=be(),[t]=U.useState((h=(o=(r=s.dataContext.value)==null?void 0:r[0])==null?void 0:o.hitsContainers[0])==null?void 0:h.hits),i=c=>{const d=new URL(c.resource.listItem.fields.defaultEncodingURL);d.searchParams.append("Web","1"),window.open(d.toString(),"_blank")};return n.jsx("div",{children:n.jsxs(et,{columns:zt(s.template==="loading",e),items:s.template==="loading"?[...Array(ye)]:t,children:[n.jsx(tt,{children:n.jsx(de,{children:({renderHeaderCell:c})=>n.jsx(it,{children:c()})})}),n.jsx(st,{children:({item:c,rowId:d})=>n.jsx(de,{className:e.row,onClick:()=>i(c),children:({renderCell:g})=>n.jsx(rt,{children:g(c)})},d)})]})})},Dt=s=>{var i;const e=be(),[t]=U.useState((i=s.dataContext.value[0])==null?void 0:i.searchTerms);return n.jsxs("div",{className:e.emptyContainer,children:[n.jsx("div",{children:n.jsx(Ge,{className:e.noDataIcon})}),n.jsxs("div",{className:e.noDataMessage,children:["We couldn't find any results for ",n.jsx("span",{className:e.noDataSearchTerm,children:t.join(" ")})]})]})},Tt=s=>{const e=new Date,t=new Date(e.getFullYear(),e.getMonth(),e.getDate());if(s>=t)return s.toLocaleString("default",{hour:"numeric",minute:"numeric"});const i=new Date(t);if(i.setDate(e.getDate()-e.getDay()),s>=i)return s.toLocaleString("default",{hour:"numeric",minute:"numeric",weekday:"short"});const r=new Date(i);return r.setDate(i.getDate()-7),s>=r?s.toLocaleString("default",{day:"numeric",month:"numeric",weekday:"short"}):s.toLocaleString("default",{day:"numeric",month:"numeric",year:"numeric"})},kt=fe({panels:{...ve.padding("10px")},container:{maxWidth:"1028px",width:"100%"}}),Mt=()=>{const s=kt(),e=Je(),[t]=U.useState(new URLSearchParams(window.location.search).get("q")),[i,r]=U.useState("allResults"),o=(h,c)=>{r(c.value)};return n.jsxs(n.Fragment,{children:[n.jsx(Te,{title:"Search",description:"Use this Search Center to test Microsot Graph Toolkit search components capabilities"}),n.jsxs("div",{className:s.container,children:[n.jsxs(Ke,{selectedValue:i,onTabSelect:o,children:[n.jsx(_,{value:"allResults",children:"All Results"}),n.jsx(_,{value:"driveItems",children:"Files"}),n.jsx(_,{value:"externalItems",children:"External Items"}),n.jsx(_,{value:"people",children:"People"})]}),n.jsxs("div",{className:s.panels,children:[i==="allResults"&&n.jsx(yt,{searchTerm:t??e.state.searchTerm}),i==="driveItems"&&n.jsx(Pt,{searchTerm:t??e.state.searchTerm}),i==="externalItems"&&n.jsx(xt,{searchTerm:t??e.state.searchTerm}),i==="people"&&n.jsx(Rt,{searchTerm:t??e.state.searchTerm})]})]})]})};export{Mt as default};
diff --git a/next/sample/pr/3325/assets/TaxonomyPage-CEcnOueD.js b/next/sample/pr/3325/assets/TaxonomyPage-CEcnOueD.js
new file mode 100644
index 0000000000..2f2a9cb8c4
--- /dev/null
+++ b/next/sample/pr/3325/assets/TaxonomyPage-CEcnOueD.js
@@ -0,0 +1,69 @@
+import{r as p,d as Ct,h as Tt,j as E}from"./index-hkJM60Tb.js";import{P as Et}from"./PageHeader-BLfiQIXJ.js";import{X as Bt,a0 as It,a3 as Ft,Z as zt,a8 as me,$ as se,Y as A,a2 as Le,w as Pt,ah as St,bu as Nt,ab as R,ag as Dt,ac as jt,af as ye,ad as X,ae as oe,ai as j,ak as re,aX as At,bb as Pe,c1 as Rt,br as qt,aa as Mt,aj as W,b0 as Ot,b3 as Z,c2 as ce,c3 as K,b2 as We,b4 as He,bj as Lt,bf as Wt,an as Ht,aq as H,aV as Gt,c4 as Ut,c5 as Vt}from"./App-c9ixsJC9.js";import{r as Kt}from"./mgt-get-nlun5DqF.js";import{r as $t}from"./mgt-spinner-DCTBtyM4.js";import{f as Jt,a as Qt}from"./index-DlteEK7B.js";import{G as Ge}from"./get-Bki3P7Iw.js";const Yt={termsetIdRequired:"The termsetId property or termset-id attribute is required",noTermsFound:"No terms found",comboboxPlaceholder:"Select a term",loadingMessage:"Loading..."},Xt=[Bt`
+:host([hidden]){display:none}:host{display:block;font-family:var(--default-font-family, "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, "BlinkMacSystemFont", "Roboto", "Helvetica Neue", sans-serif);font-size:var(--default-font-size, 14px);--theme-primary-color:#0078d7;--theme-dark-color:#005a9e}:focus-visible{outline-color:var(--focus-ring-color,Highlight);outline-color:var(--focus-ring-color,-webkit-focus-ring-color);outline-style:var(--focus-ring-style,auto)}.ms-icon{display:inline-block;font-family:FabricMDL2Icons;font-style:normal;font-weight:400;font-size:16px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin:4px 0}.error{background-color:#fde7e9;padding-block:8px;padding-inline:8px 12px}.ms-icon-chevron-down::before{content:"\\\e70d"}.ms-icon-chevron-up::before{content:"\\\e70e"}.ms-icon-contact::before{content:"\\\e77b"}.ms-icon-add-friend::before{content:"\\\e8fa"}.ms-icon-outlook-logo-inverser::before{content:"\\\eb6d"}:host{--max-height:var(--taxonomy-picker-list-max-height, 380px)}:host .picker{background-color:var(--taxonomy-picker-background-color,transparent)}:host fluent-combobox::part(selected-value)::placeholder{color:var(--taxonomy-picker-placeholder-color,var(--input-filled-placeholder-rest))}:host fluent-combobox::part(selected-value):hover::placeholder{color:var(--taxonomy-picker-placeholder-color-hover,var(--secondary-text-hover-color))}[dir=rtl] .picker{direction:rtl}
+`];var N=function(o,e,t,r){var i=arguments.length,n=i<3?e:r===null?r=Object.getOwnPropertyDescriptor(e,t):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(o,e,t,r);else for(var l=o.length-1;l>=0;l--)(s=o[l])&&(n=(i<3?s(n):i>3?s(e,t,n):s(e,t))||n);return i>3&&n&&Object.defineProperty(e,t,n),n},D=function(o,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(o,e)};const Zt=()=>{It(Qt,Jt),$t(),Kt(),Ft("taxonomy-picker",S)};class S extends zt{get strings(){return Yt}static get styles(){return Xt}constructor(){super(),this.version="beta",this.position="below",this.selectedTerm=null,this.cacheEnabled=!1,this.cacheInvalidationPeriod=0,this.renderLoading=()=>this.terms?this.renderContent():this.renderTemplate("loading",null,"loading")||me`
+
+
+
+ ${this.strings.loadingMessage}
+
+
+ `,this.renderContent=()=>{var e;return this.error?this.renderError():this.noTerms?this.renderNoData():((e=this.terms)===null||e===void 0?void 0:e.length)>0?this.renderTaxonomyPicker():this.renderGet()},this.renderError=()=>this.renderTemplate("error",null,"error")||se`${this.error}`,this.placeholder=this.strings.comboboxPlaceholder,this.noTerms=!1}refresh(e=!1){e&&this.clearState()}clearState(){this.terms=null,this.error=null,this.noTerms=!1}renderNoData(){return this.renderTemplate("no-data",null)||se`${this.strings.noTermsFound}`}renderTaxonomyPicker(){return me`
+
+ ${this.terms.map(e=>this.renderTaxonomyPickerItem(e))}
+
+ `}renderTaxonomyPickerItem(e){const t=this.defaultSelectedTermId&&this.defaultSelectedTermId===e.id;return se`
+ this.handleClick(r,e)}> ${this.renderTemplate("term",{term:e},e.id)||e.labels[0].name}
+ `}renderGet(){if(!this.termsetId)return se`${this.strings.termsetIdRequired}`;let e=`/termStore/sets/${this.termsetId}/children`;return this.termId&&(e=`/termStore/sets/${this.termsetId}/terms/${this.termId}/children`),this.siteId&&(e=`/sites/${this.siteId}${e}`),e+="?$select=id,labels,descriptions,properties",me`
+
+ `}firstUpdated(e){super.firstUpdated(e),this.renderRoot.addEventListener("dataChange",r=>this.handleDataChange(r))}handleDataChange(e){const t=e.detail.error?e.detail.error:null;if(t){this.error=t;return}this.locale&&(this.locale=this.locale.toLowerCase());const i=e.detail.response.value.map(n=>{const s=n.labels;if(s&&s.length>0&&this.locale){const l=s.find(a=>a.languageTag.toLowerCase()===this.locale);l&&(n.labels=[l,...s.filter(a=>a.languageTag.toLowerCase()!==this.locale)])}return n});this.terms=i,i.length===0&&(this.noTerms=!0)}handleClick(e,t){this.selectedTerm=t,this.fireCustomEvent("selectionChanged",t)}}N([A({attribute:"term-set-id",type:String}),D("design:type",String)],S.prototype,"termsetId",void 0);N([A({attribute:"term-id",type:String}),D("design:type",String)],S.prototype,"termId",void 0);N([A({attribute:"site-id",type:String}),D("design:type",String)],S.prototype,"siteId",void 0);N([A({attribute:"locale",type:String}),D("design:type",String)],S.prototype,"locale",void 0);N([A({attribute:"version",type:String}),D("design:type",Object)],S.prototype,"version",void 0);N([A({attribute:"placeholder",type:String}),D("design:type",String)],S.prototype,"placeholder",void 0);N([A({attribute:"position",type:String,converter:o=>o==="above"?"above":"below"}),D("design:type",String)],S.prototype,"position",void 0);N([A({attribute:"default-selected-term-id",type:String}),D("design:type",String)],S.prototype,"defaultSelectedTermId",void 0);N([A({attribute:"selected-term",type:Object}),D("design:type",Object)],S.prototype,"selectedTerm",void 0);N([A({attribute:"disabled",type:Boolean}),D("design:type",Boolean)],S.prototype,"disabled",void 0);N([A({attribute:"cache-enabled",type:Boolean}),D("design:type",Object)],S.prototype,"cacheEnabled",void 0);N([A({attribute:"cache-invalidation-period",type:Number}),D("design:type",Object)],S.prototype,"cacheInvalidationPeriod",void 0);N([Le(),D("design:type",Array)],S.prototype,"terms",void 0);N([Le(),D("design:type",Boolean)],S.prototype,"noTerms",void 0);const eo=Pt("taxonomy-picker",Zt);function to(o){return o!==null&&typeof o=="object"&&!Array.isArray(o)&&!p.isValidElement(o)}const Ue=St(void 0),oo={openItems:[],collapsible:!1,multiple:!1,navigation:void 0,requestToggle(){}},{Provider:ro}=Ue,te=o=>Nt(Ue,(e=oo)=>o(e)),io=(o,e)=>R(o.root,{children:R(ro,{value:e.accordion,children:o.root.children})}),no=(o,e)=>{const{openItems:t,defaultOpenItems:r,multiple:i=!1,collapsible:n=!1,onToggle:s,navigation:l}=o,[a,c]=Dt({state:p.useMemo(()=>lo(t),[t]),defaultState:r&&(()=>so({defaultOpenItems:r,multiple:i})),initialState:[]}),d=jt({circular:l==="circular",tabbable:!0}),u=ye(f=>{const h=ao(f.value,a,i,n);s==null||s(f.event,{value:f.value,openItems:h}),c(h)});return{collapsible:n,multiple:i,navigation:l,openItems:a,requestToggle:u,components:{root:"div"},root:X(oe("div",{...o,...l?d:void 0,ref:e}),{elementType:"div"})}};function so({defaultOpenItems:o,multiple:e}){return o!==void 0?Array.isArray(o)?e?o:[o[0]]:[o]:[]}function ao(o,e,t,r){if(t)if(e.includes(o)){if(e.length>1||r)return e.filter(i=>i!==o)}else return[...e,o].sort();else return e[0]===o&&r?[]:[o];return e}function lo(o){if(o!==void 0)return Array.isArray(o)?o:[o]}function co(o){const{navigation:e,openItems:t,requestToggle:r,multiple:i,collapsible:n}=o;return{accordion:{navigation:e,openItems:t,requestToggle:r,collapsible:n,multiple:i}}}const uo={root:"fui-Accordion"},fo=o=>(o.root.className=j(uo.root,o.root.className),o),we=p.forwardRef((o,e)=>{const t=no(o,e),r=co(t);return fo(t),re("useAccordionStyles_unstable")(t),io(t,r)});we.displayName="Accordion";const ho=(o,e)=>{const{value:t,disabled:r=!1}=o,i=te(l=>l.requestToggle),n=te(l=>l.openItems.includes(t)),s=ye(l=>i({event:l,value:t}));return{open:n,value:t,disabled:r,onHeaderClick:s,components:{root:"div"},root:X(oe("div",{ref:e,...o}),{elementType:"div"})}};function mo(o){const{disabled:e,open:t,value:r,onHeaderClick:i}=o;return{accordionItem:p.useMemo(()=>({disabled:e,open:t,value:r,onHeaderClick:i}),[e,t,r,i])}}const Ve=p.createContext(void 0),po={open:!1,disabled:!1,value:void 0,onHeaderClick(){}},{Provider:go}=Ve,Ke=()=>{var o;return(o=p.useContext(Ve))!==null&&o!==void 0?o:po},vo=(o,e)=>R(o.root,{children:R(go,{value:e.accordionItem,children:o.root.children})}),bo={root:"fui-AccordionItem"},_o=o=>(o.root.className=j(bo.root,o.root.className),o),ke=p.forwardRef((o,e)=>{const t=ho(o,e),r=mo(t);return _o(t),re("useAccordionItemStyles_unstable")(t),vo(t,r)});ke.displayName="AccordionItem";const yo=(o,e)=>{const{icon:t,button:r,expandIcon:i,inline:n=!1,size:s="medium",expandIconPosition:l="start"}=o,{value:a,disabled:c,open:d}=Ke(),u=te(b=>b.requestToggle),f=te(b=>!b.collapsible&&b.openItems.length===1&&d),{dir:h}=At();let g;l==="end"?g=d?-90:90:g=d?90:h!=="rtl"?0:180;const v=X(r,{elementType:"button",defaultProps:{disabled:c,disabledFocusable:f,"aria-expanded":d,type:"button"}});return v.onClick=ye(b=>{if(to(r)){var y;(y=r.onClick)===null||y===void 0||y.call(r,b)}b.defaultPrevented||u({value:a,event:b})}),{disabled:c,open:d,size:s,inline:n,expandIconPosition:l,components:{root:"div",button:"button",expandIcon:"span",icon:"div"},root:X(oe("div",{ref:e,...o}),{elementType:"div"}),icon:Pe(t,{elementType:"div"}),expandIcon:Pe(i,{renderByDefault:!0,defaultProps:{children:p.createElement(Rt,{style:{transform:`rotate(${g}deg)`}}),"aria-hidden":!0},elementType:"span"}),button:qt(v.as,v)}},wo=p.createContext(void 0),{Provider:ko}=wo,xo=(o,e)=>R(ko,{value:e.accordionHeader,children:R(o.root,{children:Mt(o.button,{children:[o.expandIconPosition==="start"&&o.expandIcon&&R(o.expandIcon,{}),o.icon&&R(o.icon,{}),o.root.children,o.expandIconPosition==="end"&&o.expandIcon&&R(o.expandIcon,{})]})})}),ae={root:"fui-AccordionHeader",button:"fui-AccordionHeader__button",expandIcon:"fui-AccordionHeader__expandIcon",icon:"fui-AccordionHeader__icon"},Co=W({resetButton:{B7ck84d:"f1e4lqlz",De3pzq:"f1u2r49w",sj55zd:"f1ym3bx4",Bahqtrf:"f1mo0ibp",Be2twd7:"fjoy568",Bg96gwp:"fytdu2e",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1gl81tg",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1mk8lai",Bv0vk6g:"f37px4s",fsow6f:"fgusgyc"},focusIndicator:{Brovlpu:"ftqa4ok",B486eqv:"f2hkw1w",B8q5s1w:"f8hki3x",Bci5o5g:["f1d2448m","ffh67wi"],n8qw10:"f1bjia2o",Bdrgwmp:["ffh67wi","f1d2448m"],Bb7d1vk:"f226i61",zhwhgb:["f13kzufm","fsx75g8"],dhy2o1:"flujwa2",Gfyso:["fsx75g8","f13kzufm"],Bm4h7ae:"f15bsgw9",B7ys5i9:"f14e48fq",Busjfv9:"f18yb2kv",Bhk32uz:"fd6o370",f6g5ot:0,Boxcth7:0,Bhdgwq3:0,hgwjuy:0,Bshpdp8:0,Bsom6fd:0,Blkhhs4:0,Bonggc9:0,Ddfuxk:0,i03rao:0,kclons:0,clg4pj:0,Bpqj9nj:0,B6dhp37:0,Bf4ptjt:0,Bqtpl0w:0,i4rwgc:"ffwy5si",Dah5zi:0,B1tsrr9:0,qqdqy8:0,Bkh64rk:0,e3fwne:"f3znvyf",J0r882:"f57olzd",Bule8hv:["f4stah7","fs1por5"],Bjwuhne:"f480a47",Ghsupd:["fs1por5","f4stah7"]},root:{sj55zd:"f19n0e5",De3pzq:"f1c21dwh",jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1s184ao",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5"},rootDisabled:{Bcmaq0h:"fwrgwhw",sj55zd:"f1s2aq7o"},rootInline:{mc9l5x:"f14t3ns0"},button:{qhf8xq:"f10pi13n",a9b677:"fly5x3f",B4j52fo:"fre7gi1",Bekrc4i:["f1358rze","f1rvrf73"],Bn0qgzm:"fqdk4by",ibv6hh:["f1rvrf73","f1358rze"],Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["f1rmphuq","f26yw9j"],sshi5w:"f5pgtk9",mc9l5x:"f22iagw",Bt984gj:"f122n59",Bceei9c:"f1k6fduh",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi",B7ck84d:"f1ewtqcl"},buttonSmall:{sshi5w:"f1nxs5xn",Be2twd7:"fy9rknc"},buttonLarge:{Bg96gwp:"faaz57k",Be2twd7:"fod5ikn"},buttonExtraLarge:{Bg96gwp:"f106mvju",Be2twd7:"f1pp30po"},buttonInline:{mc9l5x:"ftuwxu6"},buttonExpandIconEndNoIcon:{uwmqm3:["f1uw59to","fw5db7e"]},buttonExpandIconEnd:{z189sj:["f11gcy0p","f1ng84yb"]},buttonDisabled:{Bceei9c:"fdrzuqr"},expandIcon:{Bqenvij:"f1l02sjl",mc9l5x:"f22iagw",Bt984gj:"f122n59",Bg96gwp:"f106mvju",Be2twd7:"f1pp30po"},expandIconStart:{z189sj:["f1vdfbxk","f1f5gg8d"]},expandIconEnd:{Bh6795r:"fqerorx",Bnnss6s:"f1neuvcm",xawz:"flqd7gy",mc9l5x:"f22iagw",Brf1p80:"f9c4gz4",uwmqm3:["f1f5gg8d","f1vdfbxk"]},icon:{Bqenvij:"f1l02sjl",mc9l5x:"f22iagw",Bt984gj:"f122n59",z189sj:["f1vdfbxk","f1f5gg8d"],Bg96gwp:"f106mvju",Be2twd7:"f1pp30po"}},{d:[".f1e4lqlz{box-sizing:content-box;}",".f1u2r49w{background-color:inherit;}",".f1ym3bx4{color:inherit;}",".f1mo0ibp{font-family:inherit;}",".fjoy568{font-size:inherit;}",".fytdu2e{line-height:normal;}",[".f1gl81tg{overflow:visible;}",{p:-1}],[".f1mk8lai{padding:0;}",{p:-1}],".f37px4s{-webkit-appearance:button;}",".fgusgyc{text-align:unset;}",".f8hki3x[data-fui-focus-visible]{border-top-color:transparent;}",".f1d2448m[data-fui-focus-visible]{border-right-color:transparent;}",".ffh67wi[data-fui-focus-visible]{border-left-color:transparent;}",".f1bjia2o[data-fui-focus-visible]{border-bottom-color:transparent;}",'.f15bsgw9[data-fui-focus-visible]::after{content:"";}',".f14e48fq[data-fui-focus-visible]::after{position:absolute;}",".f18yb2kv[data-fui-focus-visible]::after{pointer-events:none;}",".fd6o370[data-fui-focus-visible]::after{z-index:1;}",[".ffwy5si[data-fui-focus-visible]::after{border:2px solid var(--colorStrokeFocus2);}",{p:-2}],[".f3znvyf[data-fui-focus-visible]::after{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f57olzd[data-fui-focus-visible]::after{top:calc(2px * -1);}",".f4stah7[data-fui-focus-visible]::after{right:calc(2px * -1);}",".fs1por5[data-fui-focus-visible]::after{left:calc(2px * -1);}",".f480a47[data-fui-focus-visible]::after{bottom:calc(2px * -1);}",".f19n0e5{color:var(--colorNeutralForeground1);}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".f1s184ao{margin:0;}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fwrgwhw{background-image:none;}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f14t3ns0{display:inline-block;}",".f10pi13n{position:relative;}",".fly5x3f{width:100%;}",".fre7gi1{border-top-width:0;}",".f1358rze{border-right-width:0;}",".f1rvrf73{border-left-width:0;}",".fqdk4by{border-bottom-width:0;}",[".f1rmphuq{padding:0 var(--spacingHorizontalM) 0 var(--spacingHorizontalMNudge);}",{p:-1}],[".f26yw9j{padding:0 var(--spacingHorizontalMNudge) 0 var(--spacingHorizontalM);}",{p:-1}],".f5pgtk9{min-height:44px;}",".f22iagw{display:flex;}",".f122n59{align-items:center;}",".f1k6fduh{cursor:pointer;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".f1ewtqcl{box-sizing:border-box;}",".f1nxs5xn{min-height:32px;}",".fy9rknc{font-size:var(--fontSizeBase200);}",".faaz57k{line-height:var(--lineHeightBase400);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".f106mvju{line-height:var(--lineHeightBase500);}",".f1pp30po{font-size:var(--fontSizeBase500);}",".ftuwxu6{display:inline-flex;}",".f1uw59to{padding-left:var(--spacingHorizontalM);}",".fw5db7e{padding-right:var(--spacingHorizontalM);}",".f11gcy0p{padding-right:var(--spacingHorizontalMNudge);}",".f1ng84yb{padding-left:var(--spacingHorizontalMNudge);}",".fdrzuqr{cursor:not-allowed;}",".f1l02sjl{height:100%;}",".f1vdfbxk{padding-right:var(--spacingHorizontalS);}",".f1f5gg8d{padding-left:var(--spacingHorizontalS);}",".fqerorx{flex-grow:1;}",".f1neuvcm{flex-shrink:1;}",".flqd7gy{flex-basis:0%;}",".f9c4gz4{justify-content:flex-end;}"],f:[".ftqa4ok:focus{outline-style:none;}"],i:[".f2hkw1w:focus-visible{outline-style:none;}"],m:[["@media (forced-colors: active){.f226i61[data-fui-focus-visible]::after{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f13kzufm[data-fui-focus-visible]::after{border-right-color:Highlight;}.fsx75g8[data-fui-focus-visible]::after{border-left-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.flujwa2[data-fui-focus-visible]::after{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}]]}),To=o=>{const e=Co();return o.root.className=j(ae.root,e.root,o.inline&&e.rootInline,o.disabled&&e.rootDisabled,o.root.className),o.button.className=j(ae.button,e.resetButton,e.button,e.focusIndicator,o.expandIconPosition==="end"&&!o.icon&&e.buttonExpandIconEndNoIcon,o.expandIconPosition==="end"&&e.buttonExpandIconEnd,o.inline&&e.buttonInline,o.size==="small"&&e.buttonSmall,o.size==="large"&&e.buttonLarge,o.size==="extra-large"&&e.buttonExtraLarge,o.disabled&&e.buttonDisabled,o.button.className),o.expandIcon&&(o.expandIcon.className=j(ae.expandIcon,e.expandIcon,o.expandIconPosition==="start"&&e.expandIconStart,o.expandIconPosition==="end"&&e.expandIconEnd,o.expandIcon.className)),o.icon&&(o.icon.className=j(ae.icon,e.icon,o.icon.className)),o};function Eo(o){const{disabled:e,expandIconPosition:t,open:r,size:i}=o;return{accordionHeader:p.useMemo(()=>({disabled:e,expandIconPosition:t,open:r,size:i}),[e,t,r,i])}}const xe=p.forwardRef((o,e)=>{const t=yo(o,e),r=Eo(t);return To(t),re("useAccordionHeaderStyles_unstable")(t),xo(t,r)});xe.displayName="AccordionHeader";const Bo=(o,e)=>{const{open:t}=Ke(),r=Ot({focusable:{excludeFromMover:!0}}),i=te(n=>n.navigation);return{open:t,components:{root:"div"},root:X(oe("div",{ref:e,...o,...i&&r}),{elementType:"div"})}},Io=o=>o.open?R(o.root,{children:o.root.children}):null,Fo={root:"fui-AccordionPanel"},zo=W({root:{jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1axvtxu"}},{d:[[".f1axvtxu{margin:0 var(--spacingHorizontalM);}",{p:-1}]]}),Po=o=>{const e=zo();return o.root.className=j(Fo.root,e.root,o.root.className),o},Ce=p.forwardRef((o,e)=>{const t=Bo(o,e);return Po(t),re("useAccordionPanelStyles_unstable")(t),Io(t)});Ce.displayName="AccordionPanel";const $e=(o,e)=>{const{wrap:t,truncate:r,block:i,italic:n,underline:s,strikethrough:l,size:a,font:c,weight:d,align:u}=o;return{align:u??"start",block:i??!1,font:c??"base",italic:n??!1,size:a??300,strikethrough:l??!1,truncate:r??!1,underline:s??!1,weight:d??"regular",wrap:t??!0,components:{root:"span"},root:X(oe("span",{ref:e,...o}),{elementType:"span"})}},Je=o=>R(o.root,{}),So={root:"fui-Text"},No=W({root:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bg96gwp:"f1i3iumi",Bhrd7zp:"figsok6",fsow6f:"fpgzoln",mc9l5x:"f1w7gpdv",Huce71:"f6juhto",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1gl81tg",ygn44y:"f2jf649"},nowrap:{Huce71:"fz5stix",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1a3p1vp"},truncate:{ygn44y:"f1cmbuwj"},block:{mc9l5x:"ftgm304"},italic:{B80ckks:"f1j4dglz"},underline:{w71qe1:"f13mvf36"},strikethrough:{w71qe1:"fv5q2k7"},strikethroughUnderline:{w71qe1:"f1drk4o6"},base100:{Be2twd7:"f13mqy1h",Bg96gwp:"fcpl73t"},base200:{Be2twd7:"fy9rknc",Bg96gwp:"fwrc4pm"},base400:{Be2twd7:"fod5ikn",Bg96gwp:"faaz57k"},base500:{Be2twd7:"f1pp30po",Bg96gwp:"f106mvju"},base600:{Be2twd7:"f1x0m3f5",Bg96gwp:"fb86gi6"},hero700:{Be2twd7:"fojgt09",Bg96gwp:"fcen8rp"},hero800:{Be2twd7:"fccw675",Bg96gwp:"f1ebx5kk"},hero900:{Be2twd7:"f15afnhw",Bg96gwp:"fr3w3wp"},hero1000:{Be2twd7:"fpyltcb",Bg96gwp:"f1ivgwrt"},monospace:{Bahqtrf:"f1fedwem"},numeric:{Bahqtrf:"f1uq0ln5"},weightMedium:{Bhrd7zp:"fdj6btp"},weightSemibold:{Bhrd7zp:"fl43uef"},weightBold:{Bhrd7zp:"flh3ekv"},alignCenter:{fsow6f:"f17mccla"},alignEnd:{fsow6f:"f12ymhq5"},alignJustify:{fsow6f:"f1j59e10"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fpgzoln{text-align:start;}",".f1w7gpdv{display:inline;}",".f6juhto{white-space:normal;}",[".f1gl81tg{overflow:visible;}",{p:-1}],".f2jf649{text-overflow:clip;}",".fz5stix{white-space:nowrap;}",[".f1a3p1vp{overflow:hidden;}",{p:-1}],".f1cmbuwj{text-overflow:ellipsis;}",".ftgm304{display:block;}",".f1j4dglz{font-style:italic;}",".f13mvf36{text-decoration-line:underline;}",".fv5q2k7{text-decoration-line:line-through;}",".f1drk4o6{text-decoration-line:line-through underline;}",".f13mqy1h{font-size:var(--fontSizeBase100);}",".fcpl73t{line-height:var(--lineHeightBase100);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",".f1pp30po{font-size:var(--fontSizeBase500);}",".f106mvju{line-height:var(--lineHeightBase500);}",".f1x0m3f5{font-size:var(--fontSizeBase600);}",".fb86gi6{line-height:var(--lineHeightBase600);}",".fojgt09{font-size:var(--fontSizeHero700);}",".fcen8rp{line-height:var(--lineHeightHero700);}",".fccw675{font-size:var(--fontSizeHero800);}",".f1ebx5kk{line-height:var(--lineHeightHero800);}",".f15afnhw{font-size:var(--fontSizeHero900);}",".fr3w3wp{line-height:var(--lineHeightHero900);}",".fpyltcb{font-size:var(--fontSizeHero1000);}",".f1ivgwrt{line-height:var(--lineHeightHero1000);}",".f1fedwem{font-family:var(--fontFamilyMonospace);}",".f1uq0ln5{font-family:var(--fontFamilyNumeric);}",".fdj6btp{font-weight:var(--fontWeightMedium);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".flh3ekv{font-weight:var(--fontWeightBold);}",".f17mccla{text-align:center;}",".f12ymhq5{text-align:end;}",".f1j59e10{text-align:justify;}"]}),Qe=o=>{const e=No();return o.root.className=j(So.root,e.root,o.wrap===!1&&e.nowrap,o.truncate&&e.truncate,o.block&&e.block,o.italic&&e.italic,o.underline&&e.underline,o.strikethrough&&e.strikethrough,o.underline&&o.strikethrough&&e.strikethroughUnderline,o.size===100&&e.base100,o.size===200&&e.base200,o.size===400&&e.base400,o.size===500&&e.base500,o.size===600&&e.base600,o.size===700&&e.hero700,o.size===800&&e.hero800,o.size===900&&e.hero900,o.size===1e3&&e.hero1000,o.font==="monospace"&&e.monospace,o.font==="numeric"&&e.numeric,o.weight==="medium"&&e.weightMedium,o.weight==="semibold"&&e.weightSemibold,o.weight==="bold"&&e.weightBold,o.align==="center"&&e.alignCenter,o.align==="end"&&e.alignEnd,o.align==="justify"&&e.alignJustify,o.root.className),o},Ye=p.forwardRef((o,e)=>{const t=$e(o,e);return Qe(t),re("useTextStyles_unstable")(t),Je(t)});Ye.displayName="Text";function Do(o){const{useStyles:e,className:t,displayName:r}=o,i=p.forwardRef((n,s)=>{const l=e(),a=$e(n,s);return Qe(a),a.root.className=j(t,a.root.className,l.root,n.className),Je(a)});return i.displayName=r,i}const jo={root:"fui-Caption1"},Ao=W({root:{Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}"]}),Ro=Do({useStyles:Ao,className:jo.root,displayName:"Caption1"}),Xe=Symbol.for("fui.slotRenderFunction"),fe=Symbol.for("fui.slotElementType");function Te(o,e){const{defaultProps:t,elementType:r}=e,i=qo(o),n={...t,...i,[fe]:r};return i&&typeof i.children=="function"&&(n[Xe]=i.children,n.children=t==null?void 0:t.children),n}function Q(o,e){if(!(o===null||o===void 0&&!e.renderByDefault))return Te(o,e)}function qo(o){return typeof o=="string"||typeof o=="number"||Array.isArray(o)||p.isValidElement(o)?{children:o}:o}function Se(o){return!!(o!=null&&o.hasOwnProperty(fe))}const B=(...o)=>{const e={};for(const t of o){const r=Array.isArray(t)?t:Object.keys(t);for(const i of r)e[i]=1}return e},Mo=B(["onAuxClick","onAnimationEnd","onAnimationStart","onCopy","onCut","onPaste","onCompositionEnd","onCompositionStart","onCompositionUpdate","onFocus","onFocusCapture","onBlur","onBlurCapture","onChange","onInput","onSubmit","onLoad","onError","onKeyDown","onKeyDownCapture","onKeyPress","onKeyUp","onAbort","onCanPlay","onCanPlayThrough","onDurationChange","onEmptied","onEncrypted","onEnded","onLoadedData","onLoadedMetadata","onLoadStart","onPause","onPlay","onPlaying","onProgress","onRateChange","onSeeked","onSeeking","onStalled","onSuspend","onTimeUpdate","onVolumeChange","onWaiting","onClick","onClickCapture","onContextMenu","onDoubleClick","onDrag","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDragStart","onDrop","onMouseDown","onMouseDownCapture","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onMouseUpCapture","onSelect","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","onScroll","onWheel","onPointerCancel","onPointerDown","onPointerEnter","onPointerLeave","onPointerMove","onPointerOut","onPointerOver","onPointerUp","onGotPointerCapture","onLostPointerCapture"]),Oo=B(["accessKey","children","className","contentEditable","dir","draggable","hidden","htmlFor","id","lang","ref","role","style","tabIndex","title","translate","spellCheck","name"]),Lo=B(["itemID","itemProp","itemRef","itemScope","itemType"]),I=B(Oo,Mo,Lo),Wo=B(I,["form"]),Ze=B(I,["height","loop","muted","preload","src","width"]),Ho=B(Ze,["poster"]),Go=B(I,["start"]),Uo=B(I,["value"]),Vo=B(I,["download","href","hrefLang","media","rel","target","type"]),Ko=B(I,["dateTime"]),he=B(I,["autoFocus","disabled","form","formAction","formEncType","formMethod","formNoValidate","formTarget","type","value"]),$o=B(he,["accept","alt","autoCapitalize","autoComplete","checked","dirname","form","height","inputMode","list","max","maxLength","min","multiple","pattern","placeholder","readOnly","required","src","step","size","type","value","width"]),Jo=B(he,["autoCapitalize","cols","dirname","form","maxLength","placeholder","readOnly","required","rows","wrap"]),Qo=B(he,["form","multiple","required"]),Yo=B(I,["selected","value"]),Xo=B(I,["cellPadding","cellSpacing"]),Zo=I,er=B(I,["colSpan","rowSpan","scope"]),tr=B(I,["colSpan","headers","rowSpan","scope"]),or=B(I,["span"]),rr=B(I,["span"]),ir=B(I,["disabled","form"]),nr=B(I,["acceptCharset","action","encType","encType","method","noValidate","target"]),sr=B(I,["allow","allowFullScreen","allowPaymentRequest","allowTransparency","csp","height","importance","referrerPolicy","sandbox","src","srcDoc","width"]),ar=B(I,["alt","crossOrigin","height","src","srcSet","useMap","width"]),lr=B(I,["open","onCancel","onClose"]);function cr(o,e,t){const r=Array.isArray(e),i={},n=Object.keys(o);for(const s of n)(!r&&e[s]||r&&e.indexOf(s)>=0||s.indexOf("data-")===0||s.indexOf("aria-")===0)&&!t&&(i[s]=o[s]);return i}const dr={label:Wo,audio:Ze,video:Ho,ol:Go,li:Uo,a:Vo,button:he,input:$o,textarea:Jo,select:Qo,option:Yo,table:Xo,tr:Zo,th:er,td:tr,colGroup:or,col:rr,fieldset:ir,form:nr,iframe:sr,img:ar,time:Ko,dialog:lr};function ur(o,e,t){const r=o&&dr[o]||I;return r.as=1,cr(e,r,t)}const et=(o,e,t)=>{var r;return ur((r=e.as)!==null&&r!==void 0?r:o,e,t)},tt=p.createContext(void 0),fr={targetDocument:typeof document=="object"?document:void 0,dir:"ltr"};tt.Provider;function Ee(){var o;return(o=p.useContext(tt))!==null&&o!==void 0?o:fr}function hr(o){return typeof o=="function"}const mr=o=>{"use no memo";const[e,t]=p.useState(()=>o.defaultState===void 0?o.initialState:pr(o.defaultState)?o.defaultState():o.defaultState),r=p.useRef(o.state);p.useEffect(()=>{r.current=o.state},[o.state]);const i=p.useCallback(n=>{hr(n)&&n(r.current)},[]);return gr(o.state)?[o.state,i]:[e,t]};function pr(o){return typeof o=="function"}const gr=o=>{"use no memo";const[e]=p.useState(()=>o!==void 0);return e};function vr(){return typeof window<"u"&&!!(window.document&&window.document.createElement)}const br={current:0},_r=p.createContext(void 0);function yr(){var o;return(o=p.useContext(_r))!==null&&o!==void 0?o:br}const wr=vr()?p.useLayoutEffect:p.useEffect,ot=p.createContext(void 0);ot.Provider;function kr(){return p.useContext(ot)||""}function xr(o="fui-",e){"use no memo";const t=yr(),r=kr(),i=Ct.useId;if(i){const n=i(),s=p.useMemo(()=>n.replace(/:/g,""),[n]);return e||`${r}${o}${s}`}return p.useMemo(()=>e||`${r}${o}${++t.current}`,[r,o,e,t])}function Cr(...o){"use no memo";const e=p.useCallback(t=>{e.current=t;for(const r of o)typeof r=="function"?r(t):r&&(r.current=t)},[...o]);return e}function Ne(o,e){return(...t)=>{o==null||o(...t),e==null||e(...t)}}function Tr(o){return o&&!!o._virtual}function Er(o){return Tr(o)&&o._virtual.parent||null}function Br(o,e={}){if(!o)return null;if(!e.skipVirtual){const r=Er(o);if(r)return r}const t=o.parentNode;return t&&t.nodeType===Node.DOCUMENT_FRAGMENT_NODE?t.host:t}/*!
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License.
+ */const L="data-tabster",Ir="data-tabster-dummy",rt=["a[href]","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])","*[tabindex]","*[contenteditable]","details > summary","audio[controls]","video[controls]"].join(", "),Y={EscapeGroupper:1,Restorer:2,Deloser:3},le={Unlimited:0,Limited:1,LimitedTrapFocus:2},De={Enter:1,Escape:2},Fr={Auto:0,Inside:1,Outside:2};/*!
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License.
+ */function M(o,e){var t;return(t=o.storageEntry(e))===null||t===void 0?void 0:t.tabster}function it(o,e,t){var r,i;const n=t||o._noop?void 0:e.getAttribute(L);let s=o.storageEntry(e),l;if(n)if(n!==((r=s==null?void 0:s.attr)===null||r===void 0?void 0:r.string))try{const u=JSON.parse(n);if(typeof u!="object")throw new Error(`Value is not a JSON object, got '${n}'.`);l={string:n,object:u}}catch{}else return;else if(!s)return;s||(s=o.storageEntry(e,!0)),s.tabster||(s.tabster={});const a=s.tabster||{},c=((i=s.attr)===null||i===void 0?void 0:i.object)||{},d=(l==null?void 0:l.object)||{};for(const u of Object.keys(c))if(!d[u]){if(u==="root"){const f=a[u];f&&o.root.onRoot(f,!0)}switch(u){case"deloser":case"root":case"groupper":case"modalizer":case"restorer":case"mover":const f=a[u];f&&(f.dispose(),delete a[u]);break;case"observed":delete a[u],o.observedElement&&o.observedElement.onObservedElementUpdate(e);break;case"focusable":case"outline":case"uncontrolled":case"sys":delete a[u];break}}for(const u of Object.keys(d)){const f=d.sys;switch(u){case"deloser":a.deloser?a.deloser.setProps(d.deloser):o.deloser&&(a.deloser=o.deloser.createDeloser(e,d.deloser));break;case"root":a.root?a.root.setProps(d.root):a.root=o.root.createRoot(e,d.root,f),o.root.onRoot(a.root);break;case"modalizer":a.modalizer?a.modalizer.setProps(d.modalizer):o.modalizer&&(a.modalizer=o.modalizer.createModalizer(e,d.modalizer,f));break;case"restorer":a.restorer?a.restorer.setProps(d.restorer):o.restorer&&d.restorer&&(a.restorer=o.restorer.createRestorer(e,d.restorer));break;case"focusable":a.focusable=d.focusable;break;case"groupper":a.groupper?a.groupper.setProps(d.groupper):o.groupper&&(a.groupper=o.groupper.createGroupper(e,d.groupper,f));break;case"mover":a.mover?a.mover.setProps(d.mover):o.mover&&(a.mover=o.mover.createMover(e,d.mover,f));break;case"observed":o.observedElement&&(a.observed=d.observed,o.observedElement.onObservedElementUpdate(e));break;case"uncontrolled":a.uncontrolled=d.uncontrolled;break;case"outline":o.outline&&(a.outline=d.outline);break;case"sys":a.sys=d.sys;break;default:console.error(`Unknown key '${u}' in data-tabster attribute value.`)}}l?s.attr=l:(Object.keys(a).length===0&&(delete s.tabster,delete s.attr),o.storageEntry(e,!1))}/*!
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License.
+ */const zr="tabster:focusin",Pr="tabster:focusout",Sr="tabster:movefocus",je="tabster:groupper:movefocus",Nr="tabster:root:focus",Dr="tabster:root:blur",jr=typeof CustomEvent<"u"?CustomEvent:function(){};class ie extends jr{constructor(e,t){super(e,{bubbles:!0,cancelable:!0,composed:!0,detail:t}),this.details=t}}class Ar extends ie{constructor(e){super(zr,e)}}class Rr extends ie{constructor(e){super(Pr,e)}}class U extends ie{constructor(e){super(Sr,e)}}class qr extends ie{constructor(e){super(Nr,e)}}class Mr extends ie{constructor(e){super(Dr,e)}}/*!
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License.
+ */const Or=o=>new MutationObserver(o),Lr=(o,e,t,r)=>o.createTreeWalker(e,t,r),Wr=o=>o?o.parentNode:null,Hr=o=>o?o.parentElement:null,Gr=(o,e)=>!!(e&&(o!=null&&o.contains(e))),Ur=o=>o.activeElement,Vr=(o,e)=>o.querySelector(e),Kr=(o,e)=>Array.prototype.slice.call(o.querySelectorAll(e),0),$r=(o,e)=>o.getElementById(e),Jr=o=>(o==null?void 0:o.firstChild)||null,Qr=o=>(o==null?void 0:o.lastChild)||null,Yr=o=>(o==null?void 0:o.nextSibling)||null,Xr=o=>(o==null?void 0:o.previousSibling)||null,Zr=o=>(o==null?void 0:o.firstElementChild)||null,ei=o=>(o==null?void 0:o.lastElementChild)||null,ti=o=>(o==null?void 0:o.nextElementSibling)||null,oi=o=>(o==null?void 0:o.previousElementSibling)||null,ri=(o,e)=>o.appendChild(e),ii=(o,e,t)=>o.insertBefore(e,t),ni=o=>{var e;return((e=o.ownerDocument)===null||e===void 0?void 0:e.getSelection())||null},si=(o,e)=>o.ownerDocument.getElementsByName(e),m={createMutationObserver:Or,createTreeWalker:Lr,getParentNode:Wr,getParentElement:Hr,nodeContains:Gr,getActiveElement:Ur,querySelector:Vr,querySelectorAll:Kr,getElementById:$r,getFirstChild:Jr,getLastChild:Qr,getNextSibling:Yr,getPreviousSibling:Xr,getFirstElementChild:Zr,getLastElementChild:ei,getNextElementSibling:ti,getPreviousElementSibling:oi,appendChild:ri,insertBefore:ii,getSelection:ni,getElementsByName:si};function ai(o){for(const e of Object.keys(o))m[e]=o[e]}/*!
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License.
+ */let ve,li=0;try{document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT),ve=!1}catch{ve=!0}const pe=100;function $(o){const e=o();let t=e.__tabsterInstanceContext;return t||(t={elementByUId:{},basics:{Promise:e.Promise||void 0,WeakRef:e.WeakRef||void 0},containerBoundingRectCache:{},lastContainerBoundingRectCacheId:0,fakeWeakRefs:[],fakeWeakRefsStarted:!1},e.__tabsterInstanceContext=t),t}function ci(o){const e=o.__tabsterInstanceContext;e&&(e.elementByUId={},delete e.WeakRef,e.containerBoundingRectCache={},e.containerBoundingRectCacheTimer&&o.clearTimeout(e.containerBoundingRectCacheTimer),e.fakeWeakRefsTimer&&o.clearTimeout(e.fakeWeakRefsTimer),e.fakeWeakRefs=[],delete o.__tabsterInstanceContext)}function di(o){const e=o.__tabsterInstanceContext;return new((e==null?void 0:e.basics.WeakMap)||WeakMap)}function ui(o){return!!o.querySelector(rt)}class nt{constructor(e){this._target=e}deref(){return this._target}static cleanup(e,t){return e._target?t||!Be(e._target.ownerDocument,e._target)?(delete e._target,!0):!1:!0}}class O{constructor(e,t,r){const i=$(e);let n;i.WeakRef?n=new i.WeakRef(t):(n=new nt(t),i.fakeWeakRefs.push(n)),this._ref=n,this._data=r}get(){const e=this._ref;let t;return e&&(t=e.deref(),t||delete this._ref),t}getData(){return this._data}}function st(o,e){const t=$(o);t.fakeWeakRefs=t.fakeWeakRefs.filter(r=>!nt.cleanup(r,e))}function at(o){const e=$(o);e.fakeWeakRefsStarted||(e.fakeWeakRefsStarted=!0,e.WeakRef=vi(e)),e.fakeWeakRefsTimer||(e.fakeWeakRefsTimer=o().setTimeout(()=>{e.fakeWeakRefsTimer=void 0,st(o),at(o)},2*60*1e3))}function fi(o){const e=$(o);e.fakeWeakRefsStarted=!1,e.fakeWeakRefsTimer&&(o().clearTimeout(e.fakeWeakRefsTimer),e.fakeWeakRefsTimer=void 0,e.fakeWeakRefs=[])}function lt(o,e,t){if(e.nodeType!==Node.ELEMENT_NODE)return;const r=ve?t:{acceptNode:t};return m.createTreeWalker(o,e,NodeFilter.SHOW_ELEMENT,r,!1)}function hi(o){o.__shouldIgnoreFocus=!0}function ct(o){return!!o.__shouldIgnoreFocus}function mi(o){const e=new Uint32Array(4);if(o.crypto&&o.crypto.getRandomValues)o.crypto.getRandomValues(e);else if(o.msCrypto&&o.msCrypto.getRandomValues)o.msCrypto.getRandomValues(e);else for(let r=0;r{if(this._fixedTarget){const f=this._fixedTarget.get();f&&K(f);return}const u=this.input;if(this.onFocusIn&&u){const f=d.relatedTarget;this.onFocusIn(this,this._isBackward(!0,u,f),f)}},this._focusOut=d=>{if(this._fixedTarget)return;this.useDefaultAction=!1;const u=this.input;if(this.onFocusOut&&u){const f=d.relatedTarget;this.onFocusOut(this,this._isBackward(!1,u,f),f)}};const l=e(),a=l.document.createElement("i");a.tabIndex=0,a.setAttribute("role","none"),a.setAttribute(Ir,""),a.setAttribute("aria-hidden","true");const c=a.style;c.position="fixed",c.width=c.height="1px",c.opacity="0.001",c.zIndex="-1",c.setProperty("content-visibility","hidden"),hi(a),this.input=a,this.isFirst=r.isFirst,this.isOutside=t,this._isPhantom=(s=r.isPhantom)!==null&&s!==void 0?s:!1,this._fixedTarget=n,a.addEventListener("focusin",this._focusIn),a.addEventListener("focusout",this._focusOut),a.__tabsterDummyContainer=i,this._isPhantom&&(this._disposeTimer=l.setTimeout(()=>{delete this._disposeTimer,this.dispose()},0),this._clearDisposeTimeout=()=>{this._disposeTimer&&(l.clearTimeout(this._disposeTimer),delete this._disposeTimer),delete this._clearDisposeTimeout})}dispose(){var e;this._clearDisposeTimeout&&this._clearDisposeTimeout();const t=this.input;t&&(delete this._fixedTarget,delete this.onFocusIn,delete this.onFocusOut,delete this.input,t.removeEventListener("focusin",this._focusIn),t.removeEventListener("focusout",this._focusOut),delete t.__tabsterDummyContainer,(e=m.getParentNode(t))===null||e===void 0||e.removeChild(t))}setTopLeft(e,t){var r;const i=(r=this.input)===null||r===void 0?void 0:r.style;i&&(i.top=`${e}px`,i.left=`${t}px`)}_isBackward(e,t,r){return e&&!r?!this.isFirst:!!(r&&t.compareDocumentPosition(r)&Node.DOCUMENT_POSITION_FOLLOWING)}}const ut={Root:1,Modalizer:2,Mover:3,Groupper:4};class ue{constructor(e,t,r,i,n,s){this._element=t,this._instance=new yi(e,t,this,r,i,n,s)}_setHandlers(e,t){this._onFocusIn=e,this._onFocusOut=t}moveOut(e){var t;(t=this._instance)===null||t===void 0||t.moveOut(e)}moveOutWithDefaultAction(e,t){var r;(r=this._instance)===null||r===void 0||r.moveOutWithDefaultAction(e,t)}getHandler(e){return e?this._onFocusIn:this._onFocusOut}setTabbable(e){var t;(t=this._instance)===null||t===void 0||t.setTabbable(this,e)}dispose(){this._instance&&(this._instance.dispose(this),delete this._instance),delete this._onFocusIn,delete this._onFocusOut}static moveWithPhantomDummy(e,t,r,i,n){const l=new de(e.getWindow,!0,{isPhantom:!0,isFirst:!0}).input;if(l){let a,c;if(t.tagName==="BODY")a=t,c=r&&i||!r&&!i?m.getFirstElementChild(t):null;else{r&&(!i||i&&!e.focusable.isFocusable(t,!1,!0,!0))?(a=t,c=i?t.firstElementChild:null):(a=m.getParentElement(t),c=r&&i||!r&&!i?t:m.getNextElementSibling(t));let d,u;do d=r&&i||!r&&!i?m.getPreviousElementSibling(c):c,u=Ie(d),u===t?c=r&&i||!r&&!i?d:m.getNextElementSibling(d):u=null;while(u)}a!=null&&a.dispatchEvent(new U({by:"root",owner:a,next:null,relatedEvent:n}))&&(m.insertBefore(a,l,c),K(l))}}static addPhantomDummyWithTarget(e,t,r,i){const s=new de(e.getWindow,!0,{isPhantom:!0,isFirst:!0},void 0,new O(e.getWindow,i)).input;if(s){let l,a;ui(t)&&!r?(l=t,a=m.getFirstElementChild(t)):(l=m.getParentElement(t),a=r?t:m.getNextElementSibling(t)),l&&m.insertBefore(l,s,a)}}}class _i{constructor(e){this._updateQueue=new Set,this._lastUpdateQueueTime=0,this._changedParents=new WeakSet,this._dummyElements=[],this._dummyCallbacks=new WeakMap,this._domChanged=t=>{var r;this._changedParents.has(t)||(this._changedParents.add(t),!this._updateDummyInputsTimer&&(this._updateDummyInputsTimer=(r=this._win)===null||r===void 0?void 0:r.call(this).setTimeout(()=>{delete this._updateDummyInputsTimer;for(const i of this._dummyElements){const n=i.get();if(n){const s=this._dummyCallbacks.get(n);if(s){const l=m.getParentNode(n);(!l||this._changedParents.has(l))&&s()}}}this._changedParents=new WeakSet},pe)))},this._win=e}add(e,t){!this._dummyCallbacks.has(e)&&this._win&&(this._dummyElements.push(new O(this._win,e)),this._dummyCallbacks.set(e,t),this.domChanged=this._domChanged)}remove(e){this._dummyElements=this._dummyElements.filter(t=>{const r=t.get();return r&&r!==e}),this._dummyCallbacks.delete(e),this._dummyElements.length===0&&delete this.domChanged}dispose(){var e;const t=(e=this._win)===null||e===void 0?void 0:e.call(this);this._updateTimer&&(t==null||t.clearTimeout(this._updateTimer),delete this._updateTimer),this._updateDummyInputsTimer&&(t==null||t.clearTimeout(this._updateDummyInputsTimer),delete this._updateDummyInputsTimer),this._changedParents=new WeakSet,this._dummyCallbacks=new WeakMap,this._dummyElements=[],this._updateQueue.clear(),delete this.domChanged,delete this._win}updatePositions(e){this._win&&(this._updateQueue.add(e),this._lastUpdateQueueTime=Date.now(),this._scheduledUpdatePositions())}_scheduledUpdatePositions(){var e;this._updateTimer||(this._updateTimer=(e=this._win)===null||e===void 0?void 0:e.call(this).setTimeout(()=>{if(delete this._updateTimer,this._lastUpdateQueueTime+pe<=Date.now()){const t=new Map,r=[];for(const i of this._updateQueue)r.push(i(t));this._updateQueue.clear();for(const i of r)i();t.clear()}else this._scheduledUpdatePositions()},pe))}}class yi{constructor(e,t,r,i,n,s,l){this._wrappers=[],this._isOutside=!1,this._transformElements=new Set,this._onFocusIn=(h,g,v)=>{this._onFocus(!0,h,g,v)},this._onFocusOut=(h,g,v)=>{this._onFocus(!1,h,g,v)},this.moveOut=h=>{var g;const v=this._firstDummy,b=this._lastDummy;if(v&&b){this._ensurePosition();const y=v.input,_=b.input,C=(g=this._element)===null||g===void 0?void 0:g.get();if(y&&_&&C){let k;h?(y.tabIndex=0,k=y):(_.tabIndex=0,k=_),k&&K(k)}}},this.moveOutWithDefaultAction=(h,g)=>{var v;const b=this._firstDummy,y=this._lastDummy;if(b&&y){this._ensurePosition();const _=b.input,C=y.input,k=(v=this._element)===null||v===void 0?void 0:v.get();if(_&&C&&k){let T;h?!b.isOutside&&this._tabster.focusable.isFocusable(k,!0,!0,!0)?T=k:(b.useDefaultAction=!0,_.tabIndex=0,T=_):(y.useDefaultAction=!0,C.tabIndex=0,T=C),T&&k.dispatchEvent(new U({by:"root",owner:k,next:null,relatedEvent:g}))&&K(T)}}},this.setTabbable=(h,g)=>{var v,b;for(const _ of this._wrappers)if(_.manager===h){_.tabbable=g;break}const y=this._getCurrent();if(y){const _=y.tabbable?0:-1;let C=(v=this._firstDummy)===null||v===void 0?void 0:v.input;C&&(C.tabIndex=_),C=(b=this._lastDummy)===null||b===void 0?void 0:b.input,C&&(C.tabIndex=_)}},this._addDummyInputs=()=>{this._addTimer||(this._addTimer=this._getWindow().setTimeout(()=>{delete this._addTimer,this._ensurePosition(),this._addTransformOffsets()},0))},this._addTransformOffsets=()=>{this._tabster._dummyObserver.updatePositions(this._computeTransformOffsets)},this._computeTransformOffsets=h=>{var g,v;const b=((g=this._firstDummy)===null||g===void 0?void 0:g.input)||((v=this._lastDummy)===null||v===void 0?void 0:v.input),y=this._transformElements,_=new Set;let C=0,k=0;const T=this._getWindow();for(let w=b;w&&w.nodeType===Node.ELEMENT_NODE;w=m.getParentElement(w)){let x=h.get(w);if(x===void 0){const F=T.getComputedStyle(w).transform;F&&F!=="none"&&(x={scrollTop:w.scrollTop,scrollLeft:w.scrollLeft}),h.set(w,x||null)}x&&(_.add(w),y.has(w)||w.addEventListener("scroll",this._addTransformOffsets),C+=x.scrollTop,k+=x.scrollLeft)}for(const w of y)_.has(w)||w.removeEventListener("scroll",this._addTransformOffsets);return this._transformElements=_,()=>{var w,x;(w=this._firstDummy)===null||w===void 0||w.setTopLeft(C,k),(x=this._lastDummy)===null||x===void 0||x.setTopLeft(C,k)}};const a=t.get();if(!a)throw new Error("No element");this._tabster=e,this._getWindow=e.getWindow,this._callForDefaultAction=l;const c=a.__tabsterDummy;if((c||this)._wrappers.push({manager:r,priority:i,tabbable:!0}),c)return c;a.__tabsterDummy=this;const d=n==null?void 0:n.dummyInputsPosition,u=a.tagName;this._isOutside=d?d===Fr.Outside:(s||u==="UL"||u==="OL"||u==="TABLE")&&!(u==="LI"||u==="TD"||u==="TH"),this._firstDummy=new de(this._getWindow,this._isOutside,{isFirst:!0},t),this._lastDummy=new de(this._getWindow,this._isOutside,{isFirst:!1},t);const f=this._firstDummy.input;f&&e._dummyObserver.add(f,this._addDummyInputs),this._firstDummy.onFocusIn=this._onFocusIn,this._firstDummy.onFocusOut=this._onFocusOut,this._lastDummy.onFocusIn=this._onFocusIn,this._lastDummy.onFocusOut=this._onFocusOut,this._element=t,this._addDummyInputs()}dispose(e,t){var r,i,n,s;if((this._wrappers=this._wrappers.filter(a=>a.manager!==e&&!t)).length===0){delete((r=this._element)===null||r===void 0?void 0:r.get()).__tabsterDummy;for(const d of this._transformElements)d.removeEventListener("scroll",this._addTransformOffsets);this._transformElements.clear();const a=this._getWindow();this._addTimer&&(a.clearTimeout(this._addTimer),delete this._addTimer);const c=(i=this._firstDummy)===null||i===void 0?void 0:i.input;c&&this._tabster._dummyObserver.remove(c),(n=this._firstDummy)===null||n===void 0||n.dispose(),(s=this._lastDummy)===null||s===void 0||s.dispose()}}_onFocus(e,t,r,i){var n;const s=this._getCurrent();s&&(!t.useDefaultAction||this._callForDefaultAction)&&((n=s.manager.getHandler(e))===null||n===void 0||n(t,r,i))}_getCurrent(){return this._wrappers.sort((e,t)=>e.tabbable!==t.tabbable?e.tabbable?-1:1:e.priority-t.priority),this._wrappers[0]}_ensurePosition(){var e,t,r;const i=(e=this._element)===null||e===void 0?void 0:e.get(),n=(t=this._firstDummy)===null||t===void 0?void 0:t.input,s=(r=this._lastDummy)===null||r===void 0?void 0:r.input;if(!(!i||!n||!s))if(this._isOutside){const l=m.getParentNode(i);if(l){const a=m.getNextSibling(i);a!==s&&m.insertBefore(l,s,a),m.getPreviousElementSibling(i)!==n&&m.insertBefore(l,n,i)}}else{m.getLastElementChild(i)!==s&&m.appendChild(i,s);const l=m.getFirstElementChild(i);l&&l!==n&&l.parentNode&&m.insertBefore(l.parentNode,n,l)}}}function ft(o){let e=null;for(let t=m.getLastElementChild(o);t;t=m.getLastElementChild(t))e=t;return e||void 0}function wi(o,e){let t=o,r=null;for(;t&&!r;)r=e?m.getPreviousElementSibling(t):m.getNextElementSibling(t),t=m.getParentElement(t);return r||void 0}function ki(o){var e,t;const r=o.ownerDocument,i=(e=r.defaultView)===null||e===void 0?void 0:e.getComputedStyle(o);return o.offsetParent===null&&r.body!==o&&(i==null?void 0:i.position)!=="fixed"||(i==null?void 0:i.visibility)==="hidden"||(i==null?void 0:i.position)==="fixed"&&(i.display==="none"||((t=o.parentElement)===null||t===void 0?void 0:t.offsetParent)===null&&r.body!==o.parentElement)}function be(o){return o.tagName==="INPUT"&&!!o.name&&o.type==="radio"}function xi(o){if(!be(o))return;const e=o.name;let t=Array.from(m.getElementsByName(o,e)),r;return t=t.filter(i=>be(i)?(i.checked&&(r=i),!0):!1),{name:e,buttons:new Set(t),checked:r}}function Ie(o){var e;return((e=o==null?void 0:o.__tabsterDummyContainer)===null||e===void 0?void 0:e.get())||null}/*!
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License.
+ */function ht(o,e){return JSON.stringify(o)}function Ci(o,e){for(const t of Object.keys(e)){const r=e[t];r?o[t]=r:delete o[t]}}function Ti(o,e,t){let r;{const i=o.getAttribute(L);if(i)try{r=JSON.parse(i)}catch{}}r||(r={}),Ci(r,e),Object.keys(r).length>0?o.setAttribute(L,ht(r)):o.removeAttribute(L)}class Re extends ue{constructor(e,t,r,i){super(e,t,ut.Root,i,void 0,!0),this._onDummyInputFocus=n=>{var s;if(n.useDefaultAction)this._setFocused(!1);else{this._tabster.keyboardNavigation.setNavigatingWithKeyboard(!0);const l=this._element.get();if(l){this._setFocused(!0);const a=this._tabster.focusedElement.getFirstOrLastTabbable(n.isFirst,{container:l,ignoreAccessibility:!0});if(a){K(a);return}}(s=n.input)===null||s===void 0||s.blur()}},this._setHandlers(this._onDummyInputFocus),this._tabster=e,this._setFocused=r}}class Ei extends dt{constructor(e,t,r,i,n){super(e,t,i),this._isFocused=!1,this._setFocused=c=>{var d;if(this._setFocusedTimer&&(this._tabster.getWindow().clearTimeout(this._setFocusedTimer),delete this._setFocusedTimer),this._isFocused===c)return;const u=this._element.get();u&&(c?(this._isFocused=!0,(d=this._dummyManager)===null||d===void 0||d.setTabbable(!1),u.dispatchEvent(new qr({element:u}))):this._setFocusedTimer=this._tabster.getWindow().setTimeout(()=>{var f;delete this._setFocusedTimer,this._isFocused=!1,(f=this._dummyManager)===null||f===void 0||f.setTabbable(!0),u.dispatchEvent(new Mr({element:u}))},0))},this._onFocusIn=c=>{const d=this._tabster.getParent,u=this._element.get();let f=c.composedPath()[0];do{if(f===u){this._setFocused(!0);return}f=f&&d(f)}while(f)},this._onFocusOut=()=>{this._setFocused(!1)},this._onDispose=r;const s=e.getWindow;this.uid=pi(s,t),this._sys=n,(e.controlTab||e.rootDummyInputs)&&this.addDummyInputs();const a=s().document;a.addEventListener(Z,this._onFocusIn),a.addEventListener(ce,this._onFocusOut),this._add()}addDummyInputs(){this._dummyManager||(this._dummyManager=new Re(this._tabster,this._element,this._setFocused,this._sys))}dispose(){var e;this._onDispose(this);const t=this._tabster.getWindow(),r=t.document;r.removeEventListener(Z,this._onFocusIn),r.removeEventListener(ce,this._onFocusOut),this._setFocusedTimer&&(t.clearTimeout(this._setFocusedTimer),delete this._setFocusedTimer),(e=this._dummyManager)===null||e===void 0||e.dispose(),this._remove()}moveOutWithDefaultAction(e,t){const r=this._dummyManager;if(r)r.moveOutWithDefaultAction(e,t);else{const i=this.getElement();i&&Re.moveWithPhantomDummy(this._tabster,i,!0,e,t)}}_add(){}_remove(){}}class P{constructor(e,t){this._autoRootWaiting=!1,this._roots={},this._forceDummy=!1,this.rootById={},this._autoRootCreate=()=>{var r;const i=this._win().document,n=i.body;if(n){this._autoRootUnwait(i);const s=this._autoRoot;if(s)return Ti(n,{root:s}),it(this._tabster,n),(r=M(this._tabster,n))===null||r===void 0?void 0:r.root}else this._autoRootWaiting||(this._autoRootWaiting=!0,i.addEventListener("readystatechange",this._autoRootCreate))},this._onRootDispose=r=>{delete this._roots[r.id]},this._tabster=e,this._win=e.getWindow,this._autoRoot=t,e.queueInit(()=>{this._autoRoot&&this._autoRootCreate()})}_autoRootUnwait(e){e.removeEventListener("readystatechange",this._autoRootCreate),this._autoRootWaiting=!1}dispose(){const e=this._win();this._autoRootUnwait(e.document),delete this._autoRoot,Object.keys(this._roots).forEach(t=>{this._roots[t]&&(this._roots[t].dispose(),delete this._roots[t])}),this.rootById={}}createRoot(e,t,r){const i=new Ei(this._tabster,e,this._onRootDispose,t,r);return this._roots[i.id]=i,this._forceDummy&&i.addDummyInputs(),i}addDummyInputs(){this._forceDummy=!0;const e=this._roots;for(const t of Object.keys(e))e[t].addDummyInputs()}static getRootByUId(e,t){const r=e().__tabsterInstance;return r&&r.root.rootById[t]}static getTabsterContext(e,t,r){r===void 0&&(r={});var i,n,s,l;if(!t.ownerDocument)return;const{checkRtl:a,referenceElement:c}=r,d=e.getParent;e.drainInitQueue();let u,f,h,g,v=!1,b,y,_,C,k=c||t;const T={};for(;k&&(!u||a);){const x=M(e,k);if(a&&_===void 0){const ze=k.dir;ze&&(_=ze.toLowerCase()==="rtl")}if(!x){k=d(k);continue}const F=k.tagName;(x.uncontrolled||F==="IFRAME"||F==="WEBVIEW")&&(C=k),!g&&(!((i=x.focusable)===null||i===void 0)&&i.excludeFromMover)&&!h&&(v=!0);const J=x.modalizer,q=x.groupper,ne=x.mover;!f&&J&&(f=J),!h&&q&&(!f||J)&&(f?(!q.isActive()&&q.getProps().tabbability&&f.userId!==((n=e.modalizer)===null||n===void 0?void 0:n.activeId)&&(f=void 0,h=q),y=q):h=q),!g&&ne&&(!f||J)&&(!q||k!==t)&&k.contains(t)&&(g=ne,b=!!h&&h!==q),x.root&&(u=x.root),!((s=x.focusable)===null||s===void 0)&&s.ignoreKeydown&&Object.assign(T,x.focusable.ignoreKeydown),k=d(k)}if(!u){const x=e.root;x._autoRoot&&!((l=t.ownerDocument)===null||l===void 0)&&l.body&&(u=x._autoRootCreate())}return h&&!g&&(b=!0),u?{root:u,modalizer:f,groupper:h,mover:g,groupperBeforeMover:b,modalizerInGroupper:y,rtl:a?!!_:void 0,uncontrolled:C,excludedFromMover:v,ignoreKeydown:x=>!!T[x.key]}:void 0}static getRoot(e,t){var r;const i=e.getParent;for(let n=t;n;n=i(n)){const s=(r=M(e,n))===null||r===void 0?void 0:r.root;if(s)return s}}onRoot(e,t){t?delete this.rootById[e.uid]:this.rootById[e.uid]=e}}/*!
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License.
+ */class mt{constructor(){this._callbacks=[]}dispose(){this._callbacks=[],delete this._val}subscribe(e){const t=this._callbacks;t.indexOf(e)<0&&t.push(e)}subscribeFirst(e){const t=this._callbacks,r=t.indexOf(e);r>=0&&t.splice(r,1),t.unshift(e)}unsubscribe(e){const t=this._callbacks.indexOf(e);t>=0&&this._callbacks.splice(t,1)}setVal(e,t){this._val!==e&&(this._val=e,this._callCallbacks(e,t))}getVal(){return this._val}trigger(e,t){this._callCallbacks(e,t)}_callCallbacks(e,t){this._callbacks.forEach(r=>r(e,t))}}/*!
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License.
+ */class Bi{constructor(e){this._tabster=e}dispose(){}getProps(e){const t=M(this._tabster,e);return t&&t.focusable||{}}isFocusable(e,t,r,i){return gi(e,rt)&&(t||e.tabIndex!==-1)?(r||this.isVisible(e))&&(i||this.isAccessible(e)):!1}isVisible(e){if(!e.ownerDocument||e.nodeType!==Node.ELEMENT_NODE||ki(e))return!1;const t=e.ownerDocument.body.getBoundingClientRect();return!(t.width===0&&t.height===0)}isAccessible(e){var t;for(let r=e;r;r=m.getParentElement(r)){const i=M(this._tabster,r);if(this._isHidden(r)||!((t=i==null?void 0:i.focusable)===null||t===void 0?void 0:t.ignoreAriaDisabled)&&this._isDisabled(r))return!1}return!0}_isDisabled(e){return e.hasAttribute("disabled")}_isHidden(e){var t;const r=e.getAttribute("aria-hidden");return!!(r&&r.toLowerCase()==="true"&&!(!((t=this._tabster.modalizer)===null||t===void 0)&&t.isAugmented(e)))}findFirst(e,t){return this.findElement({...e},t)}findLast(e,t){return this.findElement({isBackward:!0,...e},t)}findNext(e,t){return this.findElement({...e},t)}findPrev(e,t){return this.findElement({...e,isBackward:!0},t)}findDefault(e,t){return this.findElement({...e,acceptCondition:r=>this.isFocusable(r,e.includeProgrammaticallyFocusable)&&!!this.getProps(r).isDefault},t)||null}findAll(e){return this._findElements(!0,e)||[]}findElement(e,t){const r=this._findElements(!1,e,t);return r&&r[0]}_findElements(e,t,r){var i,n,s;const{container:l,currentElement:a=null,includeProgrammaticallyFocusable:c,useActiveModalizer:d,ignoreAccessibility:u,modalizerId:f,isBackward:h,onElement:g}=t;r||(r={});const v=[];let{acceptCondition:b}=t;const y=!!b;if(!l)return null;b||(b=T=>this.isFocusable(T,c,!1,u));const _={container:l,modalizerUserId:f===void 0&&d?(i=this._tabster.modalizer)===null||i===void 0?void 0:i.activeId:f||((s=(n=P.getTabsterContext(this._tabster,l))===null||n===void 0?void 0:n.modalizer)===null||s===void 0?void 0:s.userId),from:a||l,isBackward:h,isFindAll:e,acceptCondition:b,hasCustomCondition:y,includeProgrammaticallyFocusable:c,ignoreAccessibility:u,cachedGrouppers:{},cachedRadioGroups:{}},C=lt(l.ownerDocument,l,T=>this._acceptElement(T,_));if(!C)return null;const k=T=>{var w,x;const F=(w=_.foundElement)!==null&&w!==void 0?w:_.foundBackward;return F&&v.push(F),e?F&&(_.found=!1,delete _.foundElement,delete _.foundBackward,delete _.fromCtx,_.from=F,g&&!g(F))?!1:!!(F||T):(F&&r&&(r.uncontrolled=(x=P.getTabsterContext(this._tabster,F))===null||x===void 0?void 0:x.uncontrolled),!!(T&&!F))};if(a||(r.outOfDOMOrder=!0),a&&m.nodeContains(l,a))C.currentNode=a;else if(h){const T=ft(l);if(!T)return null;if(this._acceptElement(T,_)===NodeFilter.FILTER_ACCEPT&&!k(!0))return _.skippedFocusable&&(r.outOfDOMOrder=!0),v;C.currentNode=T}do h?C.previousNode():C.nextNode();while(k());return _.skippedFocusable&&(r.outOfDOMOrder=!0),v.length?v:null}_acceptElement(e,t){var r,i,n;if(t.found)return NodeFilter.FILTER_ACCEPT;const s=t.foundBackward;if(s&&(e===s||!m.nodeContains(s,e)))return t.found=!0,t.foundElement=s,NodeFilter.FILTER_ACCEPT;const l=t.container;if(e===l)return NodeFilter.FILTER_SKIP;if(!m.nodeContains(l,e)||Ie(e)||m.nodeContains(t.rejectElementsFrom,e))return NodeFilter.FILTER_REJECT;const a=t.currentCtx=P.getTabsterContext(this._tabster,e);if(!a)return NodeFilter.FILTER_SKIP;if(ct(e))return this.isFocusable(e,void 0,!0,!0)&&(t.skippedFocusable=!0),NodeFilter.FILTER_SKIP;if(!t.hasCustomCondition&&(e.tagName==="IFRAME"||e.tagName==="WEBVIEW"))return((r=a.modalizer)===null||r===void 0?void 0:r.userId)===((i=this._tabster.modalizer)===null||i===void 0?void 0:i.activeId)?(t.found=!0,t.rejectElementsFrom=t.foundElement=e,NodeFilter.FILTER_ACCEPT):NodeFilter.FILTER_REJECT;if(!t.ignoreAccessibility&&!this.isAccessible(e))return this.isFocusable(e,!1,!0,!0)&&(t.skippedFocusable=!0),NodeFilter.FILTER_REJECT;let c,d=t.fromCtx;d||(d=t.fromCtx=P.getTabsterContext(this._tabster,t.from));const u=d==null?void 0:d.mover;let f=a.groupper,h=a.mover;if(c=(n=this._tabster.modalizer)===null||n===void 0?void 0:n.acceptElement(e,t),c!==void 0&&(t.skippedFocusable=!0),c===void 0&&(f||h||u)){const g=f==null?void 0:f.getElement(),v=u==null?void 0:u.getElement();let b=h==null?void 0:h.getElement();b&&m.nodeContains(v,b)&&m.nodeContains(l,v)&&(!g||!h||m.nodeContains(v,g))&&(h=u,b=v),g&&(g===l||!m.nodeContains(l,g))&&(f=void 0),b&&!m.nodeContains(l,b)&&(h=void 0),f&&h&&(b&&g&&!m.nodeContains(g,b)?h=void 0:f=void 0),f&&(c=f.acceptElement(e,t)),h&&(c=h.acceptElement(e,t))}if(c===void 0&&(c=t.acceptCondition(e)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP,c===NodeFilter.FILTER_SKIP&&this.isFocusable(e,!1,!0,!0)&&(t.skippedFocusable=!0)),c===NodeFilter.FILTER_ACCEPT&&!t.found){if(!t.isFindAll&&be(e)&&!e.checked){const g=e.name;let v=t.cachedRadioGroups[g];if(v||(v=xi(e),v&&(t.cachedRadioGroups[g]=v)),v!=null&&v.checked&&v.checked!==e)return NodeFilter.FILTER_SKIP}t.isBackward?(t.foundBackward=e,c=NodeFilter.FILTER_SKIP):(t.found=!0,t.foundElement=e)}return c}}/*!
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License.
+ */const ee={Tab:"Tab",Enter:"Enter",Escape:"Escape",Space:" ",PageUp:"PageUp",PageDown:"PageDown",End:"End",Home:"Home",ArrowLeft:"ArrowLeft",ArrowUp:"ArrowUp",ArrowRight:"ArrowRight",ArrowDown:"ArrowDown"};/*!
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License.
+ */function Ii(o,e){var t;const r=o.getParent;let i=e;do{const n=(t=M(o,i))===null||t===void 0?void 0:t.uncontrolled;if(n&&o.uncontrolled.isUncontrolledCompletely(i,!!n.completely))return i;i=r(i)}while(i)}const qe={[Y.Restorer]:0,[Y.Deloser]:1,[Y.EscapeGroupper]:2};class z extends mt{constructor(e,t){super(),this._init=()=>{const r=this._win(),i=r.document;i.addEventListener(Z,this._onFocusIn,!0),i.addEventListener(ce,this._onFocusOut,!0),r.addEventListener("keydown",this._onKeyDown,!0);const n=m.getActiveElement(i);n&&n!==i.body&&this._setFocusedElement(n),this.subscribe(this._onChanged)},this._onFocusIn=r=>{const i=r.composedPath()[0];i&&this._setFocusedElement(i,r.detail.relatedTarget,r.detail.isFocusedProgrammatically)},this._onFocusOut=r=>{var i;this._setFocusedElement(void 0,(i=r.detail)===null||i===void 0?void 0:i.originalEvent.relatedTarget)},this._validateFocusedElement=r=>{},this._onKeyDown=r=>{if(r.key!==ee.Tab||r.ctrlKey)return;const i=this.getVal();if(!i||!i.ownerDocument||i.contentEditable==="true")return;const n=this._tabster,s=n.controlTab,l=P.getTabsterContext(n,i);if(!l||l.ignoreKeydown(r))return;const a=r.shiftKey,c=z.findNextTabbable(n,l,void 0,i,void 0,a,!0),d=l.root.getElement();if(!d)return;const u=c==null?void 0:c.element,f=Ii(n,i);if(u){const h=c.uncontrolled;if(l.uncontrolled||m.nodeContains(h,i)){if(!c.outOfDOMOrder&&h===l.uncontrolled||f&&!m.nodeContains(f,u))return;ue.addPhantomDummyWithTarget(n,i,a,u);return}if(h||u.tagName==="IFRAME"){d.dispatchEvent(new U({by:"root",owner:d,next:u,relatedEvent:r}))&&ue.moveWithPhantomDummy(this._tabster,h??u,!1,a,r);return}(s||c!=null&&c.outOfDOMOrder)&&d.dispatchEvent(new U({by:"root",owner:d,next:u,relatedEvent:r}))&&(r.preventDefault(),r.stopImmediatePropagation(),K(u))}else!f&&d.dispatchEvent(new U({by:"root",owner:d,next:null,relatedEvent:r}))&&l.root.moveOutWithDefaultAction(a,r)},this._onChanged=(r,i)=>{var n,s;if(r)r.dispatchEvent(new Ar(i));else{const l=(n=this._lastVal)===null||n===void 0?void 0:n.get();if(l){const a={...i},c=P.getTabsterContext(this._tabster,l),d=(s=c==null?void 0:c.modalizer)===null||s===void 0?void 0:s.userId;d&&(a.modalizerId=d),l.dispatchEvent(new Rr(a))}}},this._tabster=e,this._win=t,e.queueInit(this._init)}dispose(){super.dispose();const e=this._win(),t=e.document;t.removeEventListener(Z,this._onFocusIn,!0),t.removeEventListener(ce,this._onFocusOut,!0),e.removeEventListener("keydown",this._onKeyDown,!0),this.unsubscribe(this._onChanged);const r=this._asyncFocus;r&&(e.clearTimeout(r.timeout),delete this._asyncFocus),delete z._lastResetElement,delete this._nextVal,delete this._lastVal}static forgetMemorized(e,t){var r,i;let n=z._lastResetElement,s=n&&n.get();s&&m.nodeContains(t,s)&&delete z._lastResetElement,s=(i=(r=e._nextVal)===null||r===void 0?void 0:r.element)===null||i===void 0?void 0:i.get(),s&&m.nodeContains(t,s)&&delete e._nextVal,n=e._lastVal,s=n&&n.get(),s&&m.nodeContains(t,s)&&delete e._lastVal}getFocusedElement(){return this.getVal()}getLastFocusedElement(){var e;let t=(e=this._lastVal)===null||e===void 0?void 0:e.get();return(!t||t&&!Be(t.ownerDocument,t))&&(this._lastVal=t=void 0),t}focus(e,t,r){return this._tabster.focusable.isFocusable(e,t,!1,r)?(e.focus(),!0):!1}focusDefault(e){const t=this._tabster.focusable.findDefault({container:e});return t?(this._tabster.focusedElement.focus(t),!0):!1}getFirstOrLastTabbable(e,t){var r;const{container:i,ignoreAccessibility:n}=t;let s;if(i){const l=P.getTabsterContext(this._tabster,i);l&&(s=(r=z.findNextTabbable(this._tabster,l,i,void 0,void 0,!e,n))===null||r===void 0?void 0:r.element)}return s&&!m.nodeContains(i,s)&&(s=void 0),s||void 0}_focusFirstOrLast(e,t){const r=this.getFirstOrLastTabbable(e,t);return r?(this.focus(r,!1,!0),!0):!1}focusFirst(e){return this._focusFirstOrLast(!0,e)}focusLast(e){return this._focusFirstOrLast(!1,e)}resetFocus(e){if(!this._tabster.focusable.isVisible(e))return!1;if(this._tabster.focusable.isFocusable(e,!0,!0,!0))this.focus(e);else{const t=e.getAttribute("tabindex"),r=e.getAttribute("aria-hidden");e.tabIndex=-1,e.setAttribute("aria-hidden","true"),z._lastResetElement=new O(this._win,e),this.focus(e,!0,!0),this._setOrRemoveAttribute(e,"tabindex",t),this._setOrRemoveAttribute(e,"aria-hidden",r)}return!0}requestAsyncFocus(e,t,r){const i=this._tabster.getWindow(),n=this._asyncFocus;if(n){if(qe[e]>qe[n.source])return;i.clearTimeout(n.timeout)}this._asyncFocus={source:e,callback:t,timeout:i.setTimeout(()=>{this._asyncFocus=void 0,t()},r)}}cancelAsyncFocus(e){const t=this._asyncFocus;(t==null?void 0:t.source)===e&&(this._tabster.getWindow().clearTimeout(t.timeout),this._asyncFocus=void 0)}_setOrRemoveAttribute(e,t,r){r===null?e.removeAttribute(t):e.setAttribute(t,r)}_setFocusedElement(e,t,r){var i,n;if(this._tabster._noop)return;const s={relatedTarget:t};if(e){const a=(i=z._lastResetElement)===null||i===void 0?void 0:i.get();if(z._lastResetElement=void 0,a===e||ct(e))return;s.isFocusedProgrammatically=r;const c=P.getTabsterContext(this._tabster,e),d=(n=c==null?void 0:c.modalizer)===null||n===void 0?void 0:n.userId;d&&(s.modalizerId=d)}const l=this._nextVal={element:e?new O(this._win,e):void 0,detail:s};e&&e!==this._val&&this._validateFocusedElement(e),this._nextVal===l&&this.setVal(e,s),this._nextVal=void 0}setVal(e,t){super.setVal(e,t),e&&(this._lastVal=new O(this._win,e))}static findNextTabbable(e,t,r,i,n,s,l){const a=r||t.root.getElement();if(!a)return null;let c=null;const d=z._isTabbingTimer,u=e.getWindow();d&&u.clearTimeout(d),z.isTabbing=!0,z._isTabbingTimer=u.setTimeout(()=>{delete z._isTabbingTimer,z.isTabbing=!1},0);const f=t.modalizer,h=t.groupper,g=t.mover,v=b=>{if(c=b.findNextTabbable(i,n,s,l),i&&!(c!=null&&c.element)){const y=b!==f&&m.getParentElement(b.getElement());if(y){const _=P.getTabsterContext(e,i,{referenceElement:y});if(_){const C=b.getElement(),k=s?C:C&&ft(C)||C;k&&(c=z.findNextTabbable(e,_,r,k,y,s,l),c&&(c.outOfDOMOrder=!0))}}}};if(h&&g)v(t.groupperBeforeMover?h:g);else if(h)v(h);else if(g)v(g);else if(f)v(f);else{const b={container:a,currentElement:i,referenceElement:n,ignoreAccessibility:l,useActiveModalizer:!0},y={};c={element:e.focusable[s?"findPrev":"findNext"](b,y),outOfDOMOrder:y.outOfDOMOrder,uncontrolled:y.uncontrolled}}return c}}z.isTabbing=!1;/*!
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License.
+ */class Fi extends ue{constructor(e,t,r,i){super(r,e,ut.Groupper,i,!0),this._setHandlers((n,s,l)=>{var a,c;const d=e.get(),u=n.input;if(d&&u){const f=P.getTabsterContext(r,u);if(f){let h;h=(a=t.findNextTabbable(l||void 0,void 0,s,!0))===null||a===void 0?void 0:a.element,h||(h=(c=z.findNextTabbable(r,f,void 0,n.isOutside?u:wi(d,!s),void 0,s,!0))===null||c===void 0?void 0:c.element),h&&K(h)}}})}}class zi extends dt{constructor(e,t,r,i,n){super(e,t,i),this._shouldTabInside=!1,this.makeTabbable(!1),this._onDispose=r,e.controlTab||(this.dummyManager=new Fi(this._element,this,e,n))}dispose(){var e;this._onDispose(this),this._element.get(),(e=this.dummyManager)===null||e===void 0||e.dispose(),delete this.dummyManager,delete this._first}findNextTabbable(e,t,r,i){const n=this.getElement();if(!n)return null;const s=Ie(e)===n;if(!this._shouldTabInside&&e&&m.nodeContains(n,e)&&!s)return{element:void 0,outOfDOMOrder:!0};const l=this.getFirst(!0);if(!e||!m.nodeContains(n,e)||s)return{element:l,outOfDOMOrder:!0};const a=this._tabster;let c=null,d=!1,u;if(this._shouldTabInside&&l){const f={container:n,currentElement:e,referenceElement:t,ignoreAccessibility:i,useActiveModalizer:!0},h={};c=a.focusable[r?"findPrev":"findNext"](f,h),d=!!h.outOfDOMOrder,!c&&this._props.tabbability===le.LimitedTrapFocus&&(c=a.focusable[r?"findLast":"findFirst"]({container:n,ignoreAccessibility:i,useActiveModalizer:!0},h),d=!0),u=h.uncontrolled}return{element:c,uncontrolled:u,outOfDOMOrder:d}}makeTabbable(e){this._shouldTabInside=e||!this._props.tabbability}isActive(e){var t;const r=this.getElement()||null;let i=!0;for(let s=m.getParentElement(r);s;s=m.getParentElement(s)){const l=(t=M(this._tabster,s))===null||t===void 0?void 0:t.groupper;l&&(l._shouldTabInside||(i=!1))}let n=i?this._props.tabbability?this._shouldTabInside:!1:void 0;if(n&&e){const s=this._tabster.focusedElement.getFocusedElement();s&&(n=s!==this.getFirst(!0))}return n}getFirst(e){var t;const r=this.getElement();let i;if(r){if(e&&this._tabster.focusable.isFocusable(r))return r;i=(t=this._first)===null||t===void 0?void 0:t.get(),i||(i=this._tabster.focusable.findFirst({container:r,useActiveModalizer:!0})||void 0,i&&this.setFirst(i))}return i}setFirst(e){e?this._first=new O(this._tabster.getWindow,e):delete this._first}acceptElement(e,t){const r=t.cachedGrouppers,i=m.getParentElement(this.getElement()),n=i&&P.getTabsterContext(this._tabster,i),s=n==null?void 0:n.groupper,l=n!=null&&n.groupperBeforeMover?s:void 0;let a;const c=f=>{let h=r[f.id],g;return h?g=h.isActive:(g=this.isActive(!0),h=r[f.id]={isActive:g}),g};if(l&&(a=l.getElement(),!c(l)&&a&&t.container!==a&&m.nodeContains(t.container,a)))return t.skippedFocusable=!0,NodeFilter.FILTER_REJECT;const d=c(this),u=this.getElement();if(u&&d!==!0){if(u===e&&s&&(a||(a=s.getElement()),a&&!c(s)&&m.nodeContains(t.container,a)&&a!==t.container)||u!==e&&m.nodeContains(u,e))return t.skippedFocusable=!0,NodeFilter.FILTER_REJECT;const f=r[this.id];let h;if("first"in f?h=f.first:h=f.first=this.getFirst(!0),h&&t.acceptCondition(h))return t.rejectElementsFrom=u,t.skippedFocusable=!0,h!==t.from?(t.found=!0,t.foundElement=h,NodeFilter.FILTER_ACCEPT):NodeFilter.FILTER_REJECT}}}class Pi{constructor(e,t){this._current={},this._grouppers={},this._init=()=>{const r=this._win();this._tabster.focusedElement.subscribeFirst(this._onFocus);const i=r.document,n=m.getActiveElement(i);n&&this._onFocus(n),i.addEventListener("mousedown",this._onMouseDown,!0),r.addEventListener("keydown",this._onKeyDown,!0),r.addEventListener(je,this._onMoveFocus)},this._onGroupperDispose=r=>{delete this._grouppers[r.id]},this._onFocus=r=>{r&&this._updateCurrent(r,!0,!0)},this._onMouseDown=r=>{r.target&&this._updateCurrent(r.target,!0)},this._onKeyDown=r=>{if(r.key!==ee.Enter&&r.key!==ee.Escape||r.ctrlKey||r.altKey||r.shiftKey||r.metaKey)return;const i=this._tabster.focusedElement.getFocusedElement();i&&this.handleKeyPress(i,r)},this._onMoveFocus=r=>{var i;const n=r.composedPath()[0],s=(i=r.detail)===null||i===void 0?void 0:i.action;n&&s!==void 0&&!r.defaultPrevented&&(s===De.Enter?this._enterGroupper(n):this._escapeGroupper(n),r.stopImmediatePropagation())},this._tabster=e,this._win=t,e.queueInit(this._init)}dispose(){const e=this._win();this._tabster.focusedElement.cancelAsyncFocus(Y.EscapeGroupper),this._current={},this._updateTimer&&(e.clearTimeout(this._updateTimer),delete this._updateTimer),this._tabster.focusedElement.unsubscribe(this._onFocus),e.document.removeEventListener("mousedown",this._onMouseDown,!0),e.removeEventListener("keydown",this._onKeyDown,!0),e.removeEventListener(je,this._onMoveFocus),Object.keys(this._grouppers).forEach(t=>{this._grouppers[t]&&(this._grouppers[t].dispose(),delete this._grouppers[t])})}createGroupper(e,t,r){const i=new zi(this._tabster,e,this._onGroupperDispose,t,r);this._grouppers[i.id]=i;const n=this._tabster.focusedElement.getFocusedElement();return n&&m.nodeContains(e,n)&&!this._updateTimer&&(this._updateTimer=this._win().setTimeout(()=>{delete this._updateTimer,n===this._tabster.focusedElement.getFocusedElement()&&this._updateCurrent(n,!0,!0)},0)),i}forgetCurrentGrouppers(){this._current={}}_updateCurrent(e,t,r){var i;this._updateTimer&&(this._win().clearTimeout(this._updateTimer),delete this._updateTimer);const n={};let s=!0;for(let l=e;l;l=m.getParentElement(l)){const a=(i=M(this._tabster,l))===null||i===void 0?void 0:i.groupper;if(a){if(n[a.id]=!0,s&&r&&l!==e&&(s=!1),t||!s){this._current[a.id]=a;const c=a.isActive()||e!==l&&(!a.getProps().delegated||a.getFirst(!1)!==e);a.makeTabbable(c)}s=!1}}for(const l of Object.keys(this._current)){const a=this._current[l];a.id in n||(a.makeTabbable(!1),a.setFirst(void 0),delete this._current[l])}}_enterGroupper(e,t){const r=this._tabster,i=P.getTabsterContext(r,e),n=(i==null?void 0:i.groupper)||(i==null?void 0:i.modalizerInGroupper),s=n==null?void 0:n.getElement();if(n&&s&&(e===s||n.getProps().delegated&&e===n.getFirst(!1))){const l=r.focusable.findNext({container:s,currentElement:e,useActiveModalizer:!0});if(l&&(!t||t&&s.dispatchEvent(new U({by:"groupper",owner:s,next:l,relatedEvent:t}))))return t&&(t.preventDefault(),t.stopImmediatePropagation()),l.focus(),l}return null}_escapeGroupper(e,t,r){var i;const n=this._tabster,s=P.getTabsterContext(n,e),l=s==null?void 0:s.modalizerInGroupper;let a=(s==null?void 0:s.groupper)||l;const c=a==null?void 0:a.getElement();if(a&&c&&m.nodeContains(c,e)){let d;if(e!==c||r)d=a.getFirst(!0);else{const u=m.getParentElement(c),f=u?P.getTabsterContext(n,u):void 0;a=f==null?void 0:f.groupper,d=a==null?void 0:a.getFirst(!0)}if(d&&(!t||t&&c.dispatchEvent(new U({by:"groupper",owner:c,next:d,relatedEvent:t}))))return a&&(a.makeTabbable(!1),l&&((i=n.modalizer)===null||i===void 0||i.setActive(void 0))),d.focus(),d}return null}moveFocus(e,t){return t===De.Enter?this._enterGroupper(e):this._escapeGroupper(e)}handleKeyPress(e,t,r){const i=this._tabster,n=P.getTabsterContext(i,e);if(n&&(n!=null&&n.groupper||n!=null&&n.modalizerInGroupper)){if(i.focusedElement.cancelAsyncFocus(Y.EscapeGroupper),n.ignoreKeydown(t))return;if(t.key===ee.Enter)this._enterGroupper(e,t);else if(t.key===ee.Escape){const s=i.focusedElement.getFocusedElement();i.focusedElement.requestAsyncFocus(Y.EscapeGroupper,()=>{s!==i.focusedElement.getFocusedElement()&&(r&&!s||!r)||this._escapeGroupper(e,t,r)},0)}}}}/*!
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License.
+ */class Si extends mt{constructor(e){super(),this._onChange=t=>{this.setVal(t,void 0)},this._keyborg=We(e()),this._keyborg.subscribe(this._onChange)}dispose(){super.dispose(),this._keyborg&&(this._keyborg.unsubscribe(this._onChange),He(this._keyborg),delete this._keyborg)}setNavigatingWithKeyboard(e){var t;(t=this._keyborg)===null||t===void 0||t.setVal(e)}isNavigatingWithKeyboard(){var e;return!!(!((e=this._keyborg)===null||e===void 0)&&e.isNavigatingWithKeyboard())}}/*!
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License.
+ */function Ni(o,e,t,r){if(typeof MutationObserver>"u")return()=>{};const i=e.getWindow;let n;const s=d=>{var u,f,h,g,v;const b=new Set;for(const y of d){const _=y.target,C=y.removedNodes,k=y.addedNodes;if(y.type==="attributes")y.attributeName===L&&(b.has(_)||t(e,_));else{for(let T=0;Ta(h,u));if(f)for(;f.nextNode(););}function a(d,u){var f;if(!d.getAttribute)return NodeFilter.FILTER_SKIP;const h=d.__tabsterElementUID;return h&&n&&(u?delete n[h]:(f=n[h])!==null&&f!==void 0||(n[h]=new O(i,d))),(M(e,d)||d.hasAttribute(L))&&t(e,d,u),NodeFilter.FILTER_SKIP}const c=m.createMutationObserver(s);return r&&l(i().document.body),c.observe(o,{childList:!0,subtree:!0,attributes:!0,attributeFilter:[L]}),()=>{c.disconnect()}}/*!
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License.
+ */class Di{constructor(e){this._isUncontrolledCompletely=e}isUncontrolledCompletely(e,t){var r;const i=(r=this._isUncontrolledCompletely)===null||r===void 0?void 0:r.call(this,e,t);return i===void 0?t:i}}/*!
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License.
+ */class ji{constructor(e){this.keyboardNavigation=e.keyboardNavigation,this.focusedElement=e.focusedElement,this.focusable=e.focusable,this.root=e.root,this.uncontrolled=e.uncontrolled,this.core=e}}class Ai{constructor(e,t){var r,i;this._forgetMemorizedElements=[],this._wrappers=new Set,this._initQueue=[],this._version="8.1.0",this._noop=!1,this.getWindow=()=>{if(!this._win)throw new Error("Using disposed Tabster.");return this._win},this._storage=di(e),this._win=e;const n=this.getWindow;t!=null&&t.DOMAPI&&ai({...t.DOMAPI}),this.keyboardNavigation=new Si(n),this.focusedElement=new z(this,n),this.focusable=new Bi(this),this.root=new P(this,t==null?void 0:t.autoRoot),this.uncontrolled=new Di((t==null?void 0:t.checkUncontrolledCompletely)||(t==null?void 0:t.checkUncontrolledTrappingFocus)),this.controlTab=(r=t==null?void 0:t.controlTab)!==null&&r!==void 0?r:!0,this.rootDummyInputs=!!(t!=null&&t.rootDummyInputs),this._dummyObserver=new _i(n),this.getParent=(i=t==null?void 0:t.getParent)!==null&&i!==void 0?i:m.getParentNode,this.internal={stopObserver:()=>{this._unobserve&&(this._unobserve(),delete this._unobserve)},resumeObserver:s=>{if(!this._unobserve){const l=n().document;this._unobserve=Ni(l,this,it,s)}}},at(n),this.queueInit(()=>{this.internal.resumeObserver(!0)})}_mergeProps(e){var t;e&&(this.getParent=(t=e.getParent)!==null&&t!==void 0?t:this.getParent)}createTabster(e,t){const r=new ji(this);return e||this._wrappers.add(r),this._mergeProps(t),r}disposeTabster(e,t){t?this._wrappers.clear():this._wrappers.delete(e),this._wrappers.size===0&&this.dispose()}dispose(){var e,t,r,i,n,s,l,a;this.internal.stopObserver();const c=this._win;c==null||c.clearTimeout(this._initTimer),delete this._initTimer,this._initQueue=[],this._forgetMemorizedElements=[],c&&this._forgetMemorizedTimer&&(c.clearTimeout(this._forgetMemorizedTimer),delete this._forgetMemorizedTimer),(e=this.outline)===null||e===void 0||e.dispose(),(t=this.crossOrigin)===null||t===void 0||t.dispose(),(r=this.deloser)===null||r===void 0||r.dispose(),(i=this.groupper)===null||i===void 0||i.dispose(),(n=this.mover)===null||n===void 0||n.dispose(),(s=this.modalizer)===null||s===void 0||s.dispose(),(l=this.observedElement)===null||l===void 0||l.dispose(),(a=this.restorer)===null||a===void 0||a.dispose(),this.keyboardNavigation.dispose(),this.focusable.dispose(),this.focusedElement.dispose(),this.root.dispose(),this._dummyObserver.dispose(),fi(this.getWindow),Ae(this.getWindow),this._storage=new WeakMap,this._wrappers.clear(),c&&(ci(c),delete c.__tabsterInstance,delete this._win)}storageEntry(e,t){const r=this._storage;let i=r.get(e);return i?t===!1&&Object.keys(i).length===0&&r.delete(e):t===!0&&(i={},r.set(e,i)),i}forceCleanup(){this._win&&(this._forgetMemorizedElements.push(this._win.document.body),!this._forgetMemorizedTimer&&(this._forgetMemorizedTimer=this._win.setTimeout(()=>{delete this._forgetMemorizedTimer;for(let e=this._forgetMemorizedElements.shift();e;e=this._forgetMemorizedElements.shift())Ae(this.getWindow,e),z.forgetMemorized(this.focusedElement,e)},0),st(this.getWindow,!0)))}queueInit(e){var t;this._win&&(this._initQueue.push(e),this._initTimer||(this._initTimer=(t=this._win)===null||t===void 0?void 0:t.setTimeout(()=>{delete this._initTimer,this.drainInitQueue()},0)))}drainInitQueue(){if(!this._win)return;const e=this._initQueue;this._initQueue=[],e.forEach(t=>t())}}function Ri(o,e){let t=Oi(o);return t?t.createTabster(!1,e):(t=new Ai(o,e),o.__tabsterInstance=t,t.createTabster())}function qi(o){const e=o.core;return e.groupper||(e.groupper=new Pi(e,e.getWindow)),e.groupper}function Mi(o,e){o.core.disposeTabster(o,e)}function Oi(o){return o.__tabsterInstance}const Fe=()=>{const{targetDocument:o}=Ee(),e=(o==null?void 0:o.defaultView)||void 0,t=e==null?void 0:e.__tabsterShadowDOMAPI,r=p.useMemo(()=>e?Ri(e,{autoRoot:{},controlTab:!1,getParent:Br,checkUncontrolledTrappingFocus:i=>{var n;return!!(!((n=i.firstElementChild)===null||n===void 0)&&n.hasAttribute("data-is-focus-trap-zone-bumper"))},DOMAPI:t}):null,[e,t]);return wr(()=>()=>{r&&Mi(r)},[r]),r},Li=o=>{Fe();const e=ht(o);return p.useMemo(()=>({[L]:e}),[e])},Wi=o=>{const e=Fe();return e&&qi(e),Li({groupper:{tabbability:Hi(o==null?void 0:o.tabBehavior)},focusable:{ignoreKeydown:o==null?void 0:o.ignoreDefaultKeydown}})},Hi=o=>{switch(o){case"unlimited":return le.Unlimited;case"limited":return le.Limited;case"limited-trap-focus":return le.LimitedTrapFocus;default:return}},Gi=()=>{const o=Fe(),{targetDocument:e}=Ee(),t=p.useCallback((l,a)=>(o==null?void 0:o.focusable.findAll({container:l,acceptCondition:a}))||[],[o]),r=p.useCallback(l=>o==null?void 0:o.focusable.findFirst({container:l}),[o]),i=p.useCallback(l=>o==null?void 0:o.focusable.findLast({container:l}),[o]),n=p.useCallback((l,a={})=>{if(!o||!e)return null;const{container:c=e.body}=a;return o.focusable.findNext({currentElement:l,container:c})},[o,e]),s=p.useCallback((l,a={})=>{if(!o||!e)return null;const{container:c=e.body}=a;return o.focusable.findPrev({currentElement:l,container:c})},[o,e]);return{findAllFocusable:t,findFirstFocusable:r,findLastFocusable:i,findNextFocusable:n,findPrevFocusable:s}},pt="data-fui-focus-within";function Ui(o,e){const t=We(e);t.subscribe(n=>{n||Me(o)});const r=n=>{t.isNavigatingWithKeyboard()&&Oe(n.target)&&Vi(o)},i=n=>{(!n.relatedTarget||Oe(n.relatedTarget)&&!o.contains(n.relatedTarget))&&Me(o)};return o.addEventListener(Z,r),o.addEventListener("focusout",i),()=>{o.removeEventListener(Z,r),o.removeEventListener("focusout",i),He(t)}}function Vi(o){o.setAttribute(pt,"")}function Me(o){o.removeAttribute(pt)}function Oe(o){return o?!!(o&&typeof o=="object"&&"classList"in o&&"contains"in o):!1}function Ki(){const{targetDocument:o}=Ee(),e=p.useRef(null);return p.useEffect(()=>{if(o!=null&&o.defaultView&&e.current)return Ui(e.current,o.defaultView)},[e,o]),e}const $i=(o,{referenceLabel:e,referenceId:t},r)=>{const{checkbox:i={},onSelectionChange:n,floatingAction:s,onClick:l,onKeyDown:a}=o,{findAllFocusable:c}=Gi(),d=p.useRef(null),[u,f]=mr({state:o.selected,defaultState:o.defaultSelected,initialState:!1}),h=[o.selected,o.defaultSelected,n].some(w=>typeof w<"u"),[g,v]=p.useState(!1),b=p.useCallback(w=>{if(!r.current)return!1;const x=c(r.current),F=w.target,J=x.some(ne=>ne.contains(F)),q=(d==null?void 0:d.current)===F;return J&&!q},[r,c]),y=p.useCallback(w=>{if(b(w))return;const x=!u;f(x),n&&n(w,{selected:x})},[n,u,f,b]),_=p.useCallback(w=>{[Lt].includes(w.key)&&(w.preventDefault(),y(w))},[y]),C=p.useMemo(()=>{if(!h||s)return;const w={};return t?w["aria-labelledby"]=t:e&&(w["aria-label"]=e),Q(i,{defaultProps:{ref:d,type:"checkbox",checked:u,onChange:x=>y(x),onFocus:()=>v(!0),onBlur:()=>v(!1),...w},elementType:"input"})},[i,s,u,h,y,t,e]),k=p.useMemo(()=>{if(s)return Q(s,{defaultProps:{ref:d},elementType:"div"})},[s]),T=p.useMemo(()=>h?{onClick:Ne(l,y),onKeyDown:Ne(a,_)}:null,[h,y,l,a,_]);return{selected:u,selectable:h,selectFocused:g,selectableCardProps:T,checkboxSlot:C,floatingActionSlot:k}},gt=p.createContext(void 0),_e={selectableA11yProps:{referenceId:void 0,setReferenceId(){},referenceLabel:void 0,setReferenceLabel(){}}},Ji=gt.Provider,Qi=()=>{var o;return(o=p.useContext(gt))!==null&&o!==void 0?o:_e},Yi={off:void 0,"no-tab":"limited-trap-focus","tab-exit":"limited","tab-only":"unlimited"},Xi=({focusMode:o,...e})=>{const t=["onClick","onDoubleClick","onMouseUp","onMouseDown","onPointerUp","onPointerDown","onTouchStart","onTouchEnd","onDragStart","onDragEnd"].some(s=>e[s]),r=o??(t?"no-tab":"off"),n={...Wi({tabBehavior:Yi[r]}),tabIndex:0};return{interactive:t,focusAttributes:r==="off"?null:n}},Zi=(o,e)=>{const{appearance:t="filled",orientation:r="vertical",size:i="medium"}=o,[n,s]=p.useState(_e.selectableA11yProps.referenceId),[l,a]=p.useState(_e.selectableA11yProps.referenceId),c=Ki(),{selectable:d,selected:u,selectableCardProps:f,selectFocused:h,checkboxSlot:g,floatingActionSlot:v}=$i(o,{referenceId:n,referenceLabel:l},c),b=Cr(c,e),{interactive:y,focusAttributes:_}=Xi(o);return{appearance:t,orientation:r,size:i,interactive:y,selectable:d,selectFocused:h,selected:u,selectableA11yProps:{setReferenceId:s,referenceId:n,referenceLabel:l,setReferenceLabel:a},components:{root:"div",floatingAction:"div",checkbox:"input"},root:Te(et("div",{ref:b,role:"group",...d?null:_,...o,...f}),{elementType:"div"}),floatingAction:v,checkbox:g}};function en(o,e){return{...e,[fe]:o}}function vt(o,e){return function(r,i,n,s,l){return Se(i)?e(en(r,i),null,n,s,l):Se(r)?e(r,i,n,s,l):o(r,i,n,s,l)}}function bt(o){const{as:e,[fe]:t,[Xe]:r,...i}=o,n=i,s=typeof t=="string"?e??t:t;return typeof s!="string"&&e&&(n.as=e),{elementType:s,props:n,renderFunction:r}}const V=Tt,tn=(o,e,t)=>{const{elementType:r,renderFunction:i,props:n}=bt(o),s={...n,...e};return i?V.jsx(p.Fragment,{children:i(r,s)},t):V.jsx(r,s,t)},on=(o,e,t)=>{const{elementType:r,renderFunction:i,props:n}=bt(o),s={...n,...e};return i?V.jsx(p.Fragment,{children:i(r,{...s,children:V.jsxs(p.Fragment,{children:s.children},void 0)})},t):V.jsxs(r,s,t)},G=vt(V.jsx,tn),_t=vt(V.jsxs,on),rn=(o,e)=>G(o.root,{children:_t(Ji,{value:e,children:[o.checkbox?G(o.checkbox,{}):null,o.floatingAction?G(o.floatingAction,{}):null,o.root.children]})}),yt={root:"fui-CardHeader",image:"fui-CardHeader__image",header:"fui-CardHeader__header",description:"fui-CardHeader__description",action:"fui-CardHeader__action"},nn=W({root:{Bkc6ea2:"fkufhic",Bt984gj:"f122n59"},image:{mc9l5x:"ftuwxu6",t21cq0:["fql5097","f6yss9k"]},header:{mc9l5x:"f22iagw"},description:{mc9l5x:"f22iagw"},action:{Frg6f3:["f6yss9k","fql5097"],B7frvx2:"f1ndzpm5",B06c7xf:["f1fkeggc","f1u45u6i"],B8uq84v:"f16eyofs",snkdo8:["f1u45u6i","f1fkeggc"],Bpf22ct:"f1wkmkig",apjfyd:"f18alut9"}},{d:[".fkufhic{--fui-CardHeader--gap:12px;}",".f122n59{align-items:center;}",".ftuwxu6{display:inline-flex;}",".fql5097{margin-right:var(--fui-CardHeader--gap);}",".f6yss9k{margin-left:var(--fui-CardHeader--gap);}",".f22iagw{display:flex;}"],m:[["@media (forced-colors: active){.f1ndzpm5 .fui-Button,.f1ndzpm5 .fui-Link{border-top-color:currentColor;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1fkeggc .fui-Button,.f1fkeggc .fui-Link{border-right-color:currentColor;}.f1u45u6i .fui-Button,.f1u45u6i .fui-Link{border-left-color:currentColor;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f16eyofs .fui-Button,.f16eyofs .fui-Link{border-bottom-color:currentColor;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1wkmkig .fui-Button,.f1wkmkig .fui-Link{color:currentColor;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f18alut9 .fui-Button,.f18alut9 .fui-Link{outline-color:currentColor;}}",{m:"(forced-colors: active)"}]]}),sn=W({root:{mc9l5x:"f13qh94s",t4k1zu:"f8a668j"},image:{Br312pm:"fwpfdsa",Ijaq50:"fldnz9j"},header:{Br312pm:"fd46tj4",Ijaq50:"f16hsg94"},description:{Br312pm:"fd46tj4",Ijaq50:"faunodf"},action:{Br312pm:"fis13di",Ijaq50:"fldnz9j"}},{d:[".f13qh94s{display:grid;}",".f8a668j{grid-auto-columns:min-content 1fr min-content;}",".fwpfdsa{grid-column-start:1;}",".fldnz9j{grid-row-start:span 2;}",".fd46tj4{grid-column-start:2;}",".f16hsg94{grid-row-start:1;}",".faunodf{grid-row-start:2;}",".fis13di{grid-column-start:3;}"]}),an=W({root:{mc9l5x:"f22iagw"},header:{Bh6795r:"fqerorx"},image:{},description:{},action:{}},{d:[".f22iagw{display:flex;}",".fqerorx{flex-grow:1;}"]}),ln=o=>{"use no memo";const e=nn(),t=sn(),r=an(),i=o.description?t:r,n=s=>{var l;return j(yt[s],e[s],i[s],(l=o[s])===null||l===void 0?void 0:l.className)};return o.root.className=n("root"),o.image&&(o.image.className=n("image")),o.header&&(o.header.className=n("header")),o.description&&(o.description.className=n("description")),o.action&&(o.action.className=n("action")),o},ge={root:"fui-Card",floatingAction:"fui-Card__floatingAction",checkbox:"fui-Card__checkbox"},cn=Wt("rfxo2k2","rgle7w9",[".rfxo2k2{overflow:hidden;border-radius:var(--fui-Card--border-radius);padding:var(--fui-Card--size);gap:var(--fui-Card--size);display:flex;position:relative;box-sizing:border-box;color:var(--colorNeutralForeground1);}",'.rfxo2k2::after{position:absolute;top:0;left:0;right:0;bottom:0;content:"";pointer-events:none;border-top-style:solid;border-right-style:solid;border-bottom-style:solid;border-left-style:solid;border-top-width:var(--strokeWidthThin);border-right-width:var(--strokeWidthThin);border-bottom-width:var(--strokeWidthThin);border-left-width:var(--strokeWidthThin);border-radius:var(--fui-Card--border-radius);}',".rfxo2k2>.fui-CardHeader,.rfxo2k2>.fui-CardFooter{flex-shrink:0;}",".rgle7w9{overflow:hidden;border-radius:var(--fui-Card--border-radius);padding:var(--fui-Card--size);gap:var(--fui-Card--size);display:flex;position:relative;box-sizing:border-box;color:var(--colorNeutralForeground1);}",'.rgle7w9::after{position:absolute;top:0;right:0;left:0;bottom:0;content:"";pointer-events:none;border-top-style:solid;border-left-style:solid;border-bottom-style:solid;border-right-style:solid;border-top-width:var(--strokeWidthThin);border-left-width:var(--strokeWidthThin);border-bottom-width:var(--strokeWidthThin);border-right-width:var(--strokeWidthThin);border-radius:var(--fui-Card--border-radius);}',".rgle7w9>.fui-CardHeader,.rgle7w9>.fui-CardFooter{flex-shrink:0;}"]),dn=W({focused:{Brovlpu:"ftqa4ok",B486eqv:"f2hkw1w",B8q5s1w:"f8hki3x",Bci5o5g:["f1d2448m","ffh67wi"],n8qw10:"f1bjia2o",Bdrgwmp:["ffh67wi","f1d2448m"],Bb7d1vk:"f226i61",zhwhgb:["f13kzufm","fsx75g8"],dhy2o1:"flujwa2",Gfyso:["fsx75g8","f13kzufm"],Bm4h7ae:"f15bsgw9",B7ys5i9:"f14e48fq",Busjfv9:"f18yb2kv",Bhk32uz:"fd6o370",f6g5ot:0,Boxcth7:0,Bhdgwq3:0,hgwjuy:0,Bshpdp8:0,Bsom6fd:0,Blkhhs4:0,Bonggc9:0,Ddfuxk:0,i03rao:0,kclons:0,clg4pj:0,Bpqj9nj:0,B6dhp37:0,Bf4ptjt:0,Bqtpl0w:0,i4rwgc:"fpqizxz",Dah5zi:0,B1tsrr9:0,qqdqy8:0,Bkh64rk:0,e3fwne:"fnd8nzh",J0r882:"f15fr7a0",Bule8hv:["fwsq40z","fy0y4wt"],Bjwuhne:"f34ld9f",Ghsupd:["fy0y4wt","fwsq40z"]},selectableFocused:{Brovlpu:"ftqa4ok",B486eqv:"f2hkw1w",Bssx7fj:"f1b1k54r",uh7if5:["f4ne723","fqqcjud"],clntm0:"fh7aioi",Dlk2r6:["fqqcjud","f4ne723"],Bm3wd5j:"f1k55ka9",Bbrhkcr:["fgclinu","f16pcs8n"],f1oku:"fycbxed",aywvf2:["f16pcs8n","fgclinu"],B2j2mmj:"ffht0p2",wigs8:"f1p0ul1q",pbfy6t:"f1c901ms",B0v4ure:"f1alokd7",Byrf0fs:0,Bsiemmq:0,Bwckmig:0,skfxo0:0,Iidy0u:0,B98u21t:0,Bvwlmkc:0,jo1ztg:0,Ba1iezr:0,Blmvk6g:0,B24cy0v:0,Bil7v7r:0,Br3gin4:0,nr063g:0,ghq09:0,Bbgo44z:0,Bseh09z:"f1i978nd",az1dzo:0,Ba3ybja:0,B6352mv:0,vppk2z:0,Biaj6j7:"f1nh8hsq",B2pnrqr:"f1amxum7",B29w5g4:["f1cec8w7","f554mv0"],Bhhzhcn:"f1sj6kbr",Bec0n69:["f554mv0","f1cec8w7"]},orientationHorizontal:{Beiy3e4:"f1063pyq",Bt984gj:"f122n59",Binpb3b:"ftrw7vg",qrt8p2:"f18opajm",k6ws3r:["f13002it","fqo182t"],Btcwela:["f18yna97","f1kd6wh7"],Fer9m8:"f4i4759"},orientationVertical:{Beiy3e4:"f1vx9l62",B5nvv7i:["f14k419y","f1fgo9fz"],Baxg94k:["f1fgo9fz","f14k419y"],tn21ii:"fvqmfsm",B0ud6bj:"f3am6yf",Bgdo4j:"f1r5wgso"},sizeSmall:{B7balbw:"f1pi9uxy",B1h88n7:"f1h1zgly"},sizeMedium:{B7balbw:"frsmuga",B1h88n7:"fuldkky"},sizeLarge:{B7balbw:"f1qua4xo",B1h88n7:"fimkt6v"},interactive:{rhjd8f:"f1epqm3e"},filled:{De3pzq:"fxugw4r",E5pizo:"f1whvlc6",B0n5ga8:"f16gxe2i",s924m2:["fpgykix","fzybk4o"],B1q35kw:"f1osi826",Gp14am:["fzybk4o","fpgykix"]},filledInteractive:{Bceei9c:"f1k6fduh",De3pzq:"fxugw4r",E5pizo:"f1whvlc6",B0n5ga8:"f16gxe2i",s924m2:["fpgykix","fzybk4o"],B1q35kw:"f1osi826",Gp14am:["fzybk4o","fpgykix"],Bi91k9c:"feu1g3u",Jwef8y:"f1knas48",Bvxd0ez:"f1m145df",ecr2s2:"fb40n2d"},filledInteractiveSelected:{De3pzq:"f1nfm20t",B0n5ga8:"f16eln5f",s924m2:["fa2okxs","fg4zq3l"],B1q35kw:"ff6932p",Gp14am:["fg4zq3l","fa2okxs"],Bi91k9c:"fx9teim",Jwef8y:"f1kz6goq"},filledAlternative:{De3pzq:"f1dmdbja",E5pizo:"f1whvlc6",B0n5ga8:"f16gxe2i",s924m2:["fpgykix","fzybk4o"],B1q35kw:"f1osi826",Gp14am:["fzybk4o","fpgykix"]},filledAlternativeInteractive:{Bceei9c:"f1k6fduh",De3pzq:"f1dmdbja",E5pizo:"f1whvlc6",B0n5ga8:"f16gxe2i",s924m2:["fpgykix","fzybk4o"],B1q35kw:"f1osi826",Gp14am:["fzybk4o","fpgykix"],Bi91k9c:"fnwyq0v",Jwef8y:"f1uvynv3",Bvxd0ez:"f1m145df",ecr2s2:"f1yhgkbh"},filledAlternativeInteractiveSelected:{De3pzq:"fjxa0vh",B0n5ga8:"f16eln5f",s924m2:["fa2okxs","fg4zq3l"],B1q35kw:"ff6932p",Gp14am:["fg4zq3l","fa2okxs"],Bi91k9c:"f1luvkty",Jwef8y:"fehi0vp"},outline:{De3pzq:"f1c21dwh",E5pizo:"f1couhl3",B0n5ga8:"ft83z1f",s924m2:["f1g4150c","f192dr6e"],B1q35kw:"f1qnawh6",Gp14am:["f192dr6e","f1g4150c"]},outlineInteractive:{Bceei9c:"f1k6fduh",De3pzq:"f1c21dwh",E5pizo:"f1couhl3",B0n5ga8:"ft83z1f",s924m2:["f1g4150c","f192dr6e"],B1q35kw:"f1qnawh6",Gp14am:["f192dr6e","f1g4150c"],Bi91k9c:"feu1g3u",Jwef8y:"fjxutwb",Be0v6ae:"f1llr77y",B5kxglz:["fzk0khw","fjj8tog"],B3pwyw6:"fb1u8ub",Bymgtzf:["fjj8tog","fzk0khw"],ecr2s2:"fophhak",dmfk:"f1uohb70",B4ofi8:["f1jm7v1n","f1bus3rq"],jgq6uv:"f1fbu7rr",Baxewws:["f1bus3rq","f1jm7v1n"]},outlineInteractiveSelected:{De3pzq:"f1q9pm1r",B0n5ga8:"f16eln5f",s924m2:["fa2okxs","fg4zq3l"],B1q35kw:"ff6932p",Gp14am:["fg4zq3l","fa2okxs"],Bi91k9c:"fx9teim",Jwef8y:"fg59vm4"},subtle:{De3pzq:"fhovq9v",E5pizo:"f1couhl3",B0n5ga8:"f16gxe2i",s924m2:["fpgykix","fzybk4o"],B1q35kw:"f1osi826",Gp14am:["fzybk4o","fpgykix"]},subtleInteractive:{Bceei9c:"f1k6fduh",De3pzq:"fhovq9v",E5pizo:"f1couhl3",B0n5ga8:"f16gxe2i",s924m2:["fpgykix","fzybk4o"],B1q35kw:"f1osi826",Gp14am:["fzybk4o","fpgykix"],Bi91k9c:"feu1g3u",Jwef8y:"f1t94bn6",ecr2s2:"f1wfn5kd"},subtleInteractiveSelected:{De3pzq:"fq5gl1p",B0n5ga8:"f16eln5f",s924m2:["fa2okxs","fg4zq3l"],B1q35kw:"ff6932p",Gp14am:["fg4zq3l","fa2okxs"],Bi91k9c:"fx9teim",Jwef8y:"f1uqaxdt"},highContrastSelected:{ycbfsm:"fkc42ay",Bsw6fvg:"f1rirnrt",Bbusuzp:"f1lkg8j3",xgfqdd:"f1nkj0oa",Bmmdzwq:"fey3rwa",zkpvhj:["f5jhx11","fff9uym"],B20bydw:"fm7n0jy",Bwwwggl:["fff9uym","f5jhx11"]},highContrastInteractive:{h1vhog:"fpfvv3l",kslmdy:"f1oamsm6",Baaf6ca:"f1il21bs",x9zz3d:"fnn5dk0",Bmmdzwq:"fey3rwa",zkpvhj:["f5jhx11","fff9uym"],B20bydw:"fm7n0jy",Bwwwggl:["fff9uym","f5jhx11"]},select:{qhf8xq:"f1euv43f",Bhzewxz:"fqclxi7",j35jbq:["fiv86kb","f36uhnt"],Bj3rh1h:"f19g0ac"},hiddenCheckbox:{B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1a3p1vp",a9b677:"frkrog8",Bqenvij:"f1mpe4l3",qhf8xq:"f1euv43f",Bh84pgu:"fmf1zke",Bgl5zvf:"f1wch0ki",Huce71:"fz5stix"}},{f:[".ftqa4ok:focus{outline-style:none;}"],i:[".f2hkw1w:focus-visible{outline-style:none;}"],d:[".f8hki3x[data-fui-focus-visible]{border-top-color:transparent;}",".f1d2448m[data-fui-focus-visible]{border-right-color:transparent;}",".ffh67wi[data-fui-focus-visible]{border-left-color:transparent;}",".f1bjia2o[data-fui-focus-visible]{border-bottom-color:transparent;}",'.f15bsgw9[data-fui-focus-visible]::after{content:"";}',".f14e48fq[data-fui-focus-visible]::after{position:absolute;}",".f18yb2kv[data-fui-focus-visible]::after{pointer-events:none;}",".fd6o370[data-fui-focus-visible]::after{z-index:1;}",[".fpqizxz[data-fui-focus-visible]::after{border:var(--strokeWidthThick) solid var(--colorStrokeFocus2);}",{p:-2}],[".fnd8nzh[data-fui-focus-visible]::after{border-radius:var(--fui-Card--border-radius);}",{p:-1}],".f15fr7a0[data-fui-focus-visible]::after{top:calc(0px - var(--strokeWidthThick) - -2px);}",".fwsq40z[data-fui-focus-visible]::after{right:calc(0px - var(--strokeWidthThick) - -2px);}",".fy0y4wt[data-fui-focus-visible]::after{left:calc(0px - var(--strokeWidthThick) - -2px);}",".f34ld9f[data-fui-focus-visible]::after{bottom:calc(0px - var(--strokeWidthThick) - -2px);}",".f1b1k54r[data-fui-focus-within]:focus-within{border-top-color:transparent;}",".f4ne723[data-fui-focus-within]:focus-within{border-right-color:transparent;}",".fqqcjud[data-fui-focus-within]:focus-within{border-left-color:transparent;}",".fh7aioi[data-fui-focus-within]:focus-within{border-bottom-color:transparent;}",'.ffht0p2[data-fui-focus-within]:focus-within::after{content:"";}',".f1p0ul1q[data-fui-focus-within]:focus-within::after{position:absolute;}",".f1c901ms[data-fui-focus-within]:focus-within::after{pointer-events:none;}",".f1alokd7[data-fui-focus-within]:focus-within::after{z-index:1;}",[".f1i978nd[data-fui-focus-within]:focus-within::after{border:var(--strokeWidthThick) solid var(--colorStrokeFocus2);}",{p:-2}],[".f1nh8hsq[data-fui-focus-within]:focus-within::after{border-radius:var(--fui-Card--border-radius);}",{p:-1}],".f1amxum7[data-fui-focus-within]:focus-within::after{top:calc(0px - var(--strokeWidthThick) - -2px);}",".f1cec8w7[data-fui-focus-within]:focus-within::after{right:calc(0px - var(--strokeWidthThick) - -2px);}",".f554mv0[data-fui-focus-within]:focus-within::after{left:calc(0px - var(--strokeWidthThick) - -2px);}",".f1sj6kbr[data-fui-focus-within]:focus-within::after{bottom:calc(0px - var(--strokeWidthThick) - -2px);}",".f1063pyq{flex-direction:row;}",".f122n59{align-items:center;}",".ftrw7vg>.fui-CardPreview{margin-top:calc(var(--fui-Card--size) * -1);}",".f18opajm>.fui-CardPreview{margin-bottom:calc(var(--fui-Card--size) * -1);}",'.f13002it>:not([aria-hidden="true"]).fui-CardPreview:first-of-type{margin-left:calc(var(--fui-Card--size) * -1);}','.fqo182t>:not([aria-hidden="true"]).fui-CardPreview:first-of-type{margin-right:calc(var(--fui-Card--size) * -1);}','.f18yna97>:not([aria-hidden="true"]).fui-CardPreview:last-of-type{margin-right:calc(var(--fui-Card--size) * -1);}','.f1kd6wh7>:not([aria-hidden="true"]).fui-CardPreview:last-of-type{margin-left:calc(var(--fui-Card--size) * -1);}',".f4i4759>.fui-CardHeader:last-of-type,.f4i4759>.fui-CardFooter:last-of-type{flex-grow:1;}",".f1vx9l62{flex-direction:column;}",".f14k419y>.fui-CardPreview{margin-left:calc(var(--fui-Card--size) * -1);}",".f1fgo9fz>.fui-CardPreview{margin-right:calc(var(--fui-Card--size) * -1);}",'.fvqmfsm>:not([aria-hidden="true"]).fui-CardPreview:first-of-type{margin-top:calc(var(--fui-Card--size) * -1);}',".f3am6yf>.fui-Card__floatingAction+.fui-CardPreview{margin-top:calc(var(--fui-Card--size) * -1);}",'.f1r5wgso>:not([aria-hidden="true"]).fui-CardPreview:last-of-type{margin-bottom:calc(var(--fui-Card--size) * -1);}',".f1pi9uxy{--fui-Card--size:8px;}",".f1h1zgly{--fui-Card--border-radius:var(--borderRadiusSmall);}",".frsmuga{--fui-Card--size:12px;}",".fuldkky{--fui-Card--border-radius:var(--borderRadiusMedium);}",".f1qua4xo{--fui-Card--size:16px;}",".fimkt6v{--fui-Card--border-radius:var(--borderRadiusLarge);}",".f1epqm3e .fui-Text{color:currentColor;}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f1whvlc6{box-shadow:var(--shadow4);}",".f16gxe2i::after{border-top-color:var(--colorTransparentStroke);}",".fpgykix::after{border-right-color:var(--colorTransparentStroke);}",".fzybk4o::after{border-left-color:var(--colorTransparentStroke);}",".f1osi826::after{border-bottom-color:var(--colorTransparentStroke);}",".f1k6fduh{cursor:pointer;}",".f1nfm20t{background-color:var(--colorNeutralBackground1Selected);}",".f16eln5f::after{border-top-color:var(--colorNeutralStroke1Selected);}",".fa2okxs::after{border-right-color:var(--colorNeutralStroke1Selected);}",".fg4zq3l::after{border-left-color:var(--colorNeutralStroke1Selected);}",".ff6932p::after{border-bottom-color:var(--colorNeutralStroke1Selected);}",".f1dmdbja{background-color:var(--colorNeutralBackground2);}",".fjxa0vh{background-color:var(--colorNeutralBackground2Selected);}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",".f1couhl3{box-shadow:none;}",".ft83z1f::after{border-top-color:var(--colorNeutralStroke1);}",".f1g4150c::after{border-right-color:var(--colorNeutralStroke1);}",".f192dr6e::after{border-left-color:var(--colorNeutralStroke1);}",".f1qnawh6::after{border-bottom-color:var(--colorNeutralStroke1);}",".f1q9pm1r{background-color:var(--colorTransparentBackgroundSelected);}",".fhovq9v{background-color:var(--colorSubtleBackground);}",".fq5gl1p{background-color:var(--colorSubtleBackgroundSelected);}",".f1euv43f{position:absolute;}",".fqclxi7{top:4px;}",".fiv86kb{right:4px;}",".f36uhnt{left:4px;}",".f19g0ac{z-index:1;}",[".f1a3p1vp{overflow:hidden;}",{p:-1}],".frkrog8{width:1px;}",".f1mpe4l3{height:1px;}",".fmf1zke{clip:rect(0 0 0 0);}",".f1wch0ki{clip-path:inset(50%);}",".fz5stix{white-space:nowrap;}"],m:[["@media (forced-colors: active){.f226i61[data-fui-focus-visible]::after{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f13kzufm[data-fui-focus-visible]::after{border-right-color:Highlight;}.fsx75g8[data-fui-focus-visible]::after{border-left-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.flujwa2[data-fui-focus-visible]::after{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1k55ka9[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f16pcs8n[data-fui-focus-within]:focus-within::after{border-left-color:Highlight;}.fgclinu[data-fui-focus-within]:focus-within::after{border-right-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fycbxed[data-fui-focus-within]:focus-within::after{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fkc42ay{forced-color-adjust:none;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1rirnrt{background-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1lkg8j3{color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1nkj0oa .fui-CardPreview,.f1nkj0oa .fui-CardFooter{forced-color-adjust:auto;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fey3rwa::after{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f5jhx11::after{border-right-color:Highlight;}.fff9uym::after{border-left-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fm7n0jy::after{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fpfvv3l:hover,.fpfvv3l :active{forced-color-adjust:none;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1oamsm6:hover,.f1oamsm6 :active{background-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1il21bs:hover,.f1il21bs :active{color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fnn5dk0:hover .fui-CardPreview,.fnn5dk0 :active .fui-CardPreview,.fnn5dk0:hover .fui-CardFooter,.fnn5dk0 :active .fui-CardFooter{forced-color-adjust:auto;}}",{m:"(forced-colors: active)"}]],h:[".feu1g3u:hover{color:var(--colorNeutralForeground1Hover);}",".f1knas48:hover{background-color:var(--colorNeutralBackground1Hover);}",".f1m145df:hover{box-shadow:var(--shadow8);}",".fx9teim:hover{color:var(--colorNeutralForeground1Selected);}",".f1kz6goq:hover{background-color:var(--colorNeutralBackground1Selected);}",".fnwyq0v:hover{color:var(--colorNeutralForeground2Hover);}",".f1uvynv3:hover{background-color:var(--colorNeutralBackground2Hover);}",".f1luvkty:hover{color:var(--colorNeutralForeground2Selected);}",".fehi0vp:hover{background-color:var(--colorNeutralBackground2Selected);}",".fjxutwb:hover{background-color:var(--colorTransparentBackgroundHover);}",".f1llr77y:hover::after{border-top-color:var(--colorNeutralStroke1Hover);}",".fzk0khw:hover::after{border-right-color:var(--colorNeutralStroke1Hover);}",".fjj8tog:hover::after{border-left-color:var(--colorNeutralStroke1Hover);}",".fb1u8ub:hover::after{border-bottom-color:var(--colorNeutralStroke1Hover);}",".fg59vm4:hover{background-color:var(--colorTransparentBackgroundSelected);}",".f1t94bn6:hover{background-color:var(--colorSubtleBackgroundHover);}",".f1uqaxdt:hover{background-color:var(--colorSubtleBackgroundSelected);}"],a:[".fb40n2d:active{background-color:var(--colorNeutralBackground1Pressed);}",".f1yhgkbh:active{background-color:var(--colorNeutralBackground2Pressed);}",".fophhak:active{background-color:var(--colorTransparentBackgroundPressed);}",".f1uohb70:active::after{border-top-color:var(--colorNeutralStroke1Pressed);}",".f1jm7v1n:active::after{border-right-color:var(--colorNeutralStroke1Pressed);}",".f1bus3rq:active::after{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1fbu7rr:active::after{border-bottom-color:var(--colorNeutralStroke1Pressed);}",".f1wfn5kd:active{background-color:var(--colorSubtleBackgroundPressed);}"]}),un=o=>{"use no memo";const e=cn(),t=dn(),r={horizontal:t.orientationHorizontal,vertical:t.orientationVertical},i={small:t.sizeSmall,medium:t.sizeMedium,large:t.sizeLarge},n={filled:t.filled,"filled-alternative":t.filledAlternative,outline:t.outline,subtle:t.subtle},s={filled:t.filledInteractiveSelected,"filled-alternative":t.filledAlternativeInteractiveSelected,outline:t.outlineInteractiveSelected,subtle:t.subtleInteractiveSelected},l={filled:t.filledInteractive,"filled-alternative":t.filledAlternativeInteractive,outline:t.outlineInteractive,subtle:t.subtleInteractive},a=o.interactive||o.selectable,c=p.useMemo(()=>o.selectable?o.selectFocused?t.selectableFocused:"":t.focused,[o.selectFocused,o.selectable,t.focused,t.selectableFocused]);return o.root.className=j(ge.root,e,r[o.orientation],i[o.size],n[o.appearance],a&&t.interactive,a&&l[o.appearance],o.selected&&s[o.appearance],c,a&&t.highContrastInteractive,o.selected&&t.highContrastSelected,o.root.className),o.floatingAction&&(o.floatingAction.className=j(ge.floatingAction,t.select,o.floatingAction.className)),o.checkbox&&(o.checkbox.className=j(ge.checkbox,t.hiddenCheckbox,o.checkbox.className)),o};function fn({selectableA11yProps:o}){return{selectableA11yProps:o}}const wt=p.forwardRef((o,e)=>{const t=Zi(o,e),r=fn(t);return un(t),rn(t,r)});wt.displayName="Card";function hn(o){function e(t){return p.isValidElement(t)&&!!t.props.id}return p.Children.toArray(o).find(e)}function mn(o,e,t){return o||(e!=null&&e.props.id?e.props.id:t)}const pn=(o,e)=>{const{image:t,header:r,description:i,action:n}=o,{selectableA11yProps:{referenceId:s,setReferenceId:l}}=Qi(),a=p.useRef(null),c=p.useRef(!1),d=xr(yt.header,s),u=Q(r,{renderByDefault:!0,defaultProps:{ref:a,id:c.current?void 0:s},elementType:"div"});return p.useEffect(()=>{var f;const h=c.current||(f=a.current)===null||f===void 0?void 0:f.id,g=hn(u==null?void 0:u.children);c.current=!!g,l(mn(h,g,d))},[d,r,u,l]),{components:{root:"div",image:"div",header:"div",description:"div",action:"div"},root:Te(et("div",{ref:e,...o}),{elementType:"div"}),image:Q(t,{elementType:"div"}),header:u,description:Q(i,{elementType:"div"}),action:Q(n,{elementType:"div"})}},gn=o=>_t(o.root,{children:[o.image&&G(o.image,{}),o.header&&G(o.header,{}),o.description&&G(o.description,{}),o.action&&G(o.action,{})]}),kt=p.forwardRef((o,e)=>{const t=pn(o,e);return ln(t),gn(t)});kt.displayName="CardHeader";const vn=()=>E.jsx(E.Fragment,{children:E.jsx(Ge,{resource:"termStore/groups",version:"beta",scopes:["TermStore.Read.All"],children:E.jsx(bn,{template:"default"})})}),xt=Ht({main:{...H.gap("36px"),display:"flex",flexDirection:"column",flexWrap:"wrap"},title:{...H.margin(0,0,"12px")},description:{...H.margin(0,0,"12px")},card:{width:"480px",maxWidth:"100%",height:"fit-content",...H.margin("12px",0)},caption:{color:Gt.colorNeutralForeground3},icon:{width:"24px",height:"24px"},text:{...H.margin(0)},groupPanel:{...H.margin("12px","24px")},termPanel:{...H.margin("12px","36px")}}),bn=o=>{const e=xt(),[t]=p.useState(o.dataContext.value);return E.jsx(we,{collapsible:!0,children:t.map(r=>E.jsxs(ke,{value:r.id,children:[E.jsx(xe,{icon:E.jsx(Ut,{}),children:r.displayName}),E.jsx(Ce,{className:e.groupPanel,children:E.jsx(Ge,{resource:`termStore/groups/${r.id}/sets`,version:"beta",scopes:["TermStore.Read.All"],children:E.jsx(_n,{template:"default"})})})]},r.id))})},_n=o=>{const e=xt(),[t]=p.useState(o.dataContext.value),[r,i]=p.useState(null);return E.jsx(we,{collapsible:!0,onToggle:()=>i(null),children:t.map(n=>{var s,l,a;return E.jsxs(ke,{value:n.id,children:[E.jsx(xe,{children:n.localizedNames[0].name}),E.jsxs(Ce,{className:e.termPanel,children:[E.jsx(eo,{termsetId:n.id,selectionChanged:c=>i(c.detail)}),r&&E.jsxs(wt,{className:e.card,children:[E.jsx(kt,{image:E.jsx(Vt,{className:e.icon}),header:E.jsx(Ye,{weight:"semibold",children:(s=r.labels)==null?void 0:s[0].name}),description:E.jsx(Ro,{className:e.caption,children:r.id})}),((l=r.descriptions)==null?void 0:l.length)>0&&E.jsx("p",{className:e.text,children:(a=r.descriptions)==null?void 0:a[0].description})]})]})]},n.id)})})},Bn=()=>E.jsxs(E.Fragment,{children:[E.jsx(Et,{title:"Taxonomy Explorer",description:"Use this taxonomy explorer to see all term groups, term sets and terms available"}),E.jsx(vn,{})]});export{Bn as default};
diff --git a/next/sample/pr/3325/assets/get-Bki3P7Iw.js b/next/sample/pr/3325/assets/get-Bki3P7Iw.js
new file mode 100644
index 0000000000..4bd23756cf
--- /dev/null
+++ b/next/sample/pr/3325/assets/get-Bki3P7Iw.js
@@ -0,0 +1 @@
+import{w as t}from"./App-c9ixsJC9.js";import{r}from"./mgt-get-nlun5DqF.js";const m=t("get",r);export{m as G};
diff --git a/next/sample/pr/3325/assets/index-D1MpQKKC.js b/next/sample/pr/3325/assets/index-D1MpQKKC.js
new file mode 100644
index 0000000000..2f1d32c9a3
--- /dev/null
+++ b/next/sample/pr/3325/assets/index-D1MpQKKC.js
@@ -0,0 +1,285 @@
+import{m as g,u as x,d4 as S,F as k,d5 as H,_ as i,b as s,o as p,c6 as I,D as w,n as u,bB as f,bC as A,bD as O,bz as L,aF as E,bA as M,d6 as _,y as h,z as v,bG as b,E as r,K as z,J as N,cD as R,d7 as D,G as B,I as m,P as q,d8 as G,d9 as j,da as K,db as J,bJ as y,dc as P,bK as U,M as W,dd as Q,de as V,bW as X,bV as Y,Q as F,R as o,df as Z,cj as ee,ce as $,ck as te,cg as ae,ch as oe}from"./App-c9ixsJC9.js";import{_ as ie}from"./index-hkJM60Tb.js";const le=(t,a)=>g`
+ e.keypressHandler(c.event)}"
+ @click="${(e,c)=>e.clickHandler(c.event)}"
+ class="${e=>e.readOnly?"readonly":""} ${e=>e.checked?"checked":""} ${e=>e.indeterminate?"indeterminate":""}"
+ >
+