@apipass/design-system 1.6.3 → 1.6.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8,5 +8,5 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
8
8
  monaco.config({ paths: { vs: '...' } })
9
9
 
10
10
  For more please check the link https://github.com/suren-atoyan/monaco-loader#config
11
- `},V6=kr(vr)(F6),Mr={config:gr},mr=function(){for(var r=arguments.length,o=new Array(r),n=0;n<r;n++)o[n]=arguments[n];return function(s){return o.reduceRight(function(c,l){return l(c)},s)}};function R6(t,r){return Object.keys(r).forEach(function(o){r[o]instanceof Object&&t[o]&&Object.assign(r[o],R6(t[o],r[o]))}),b6(b6({},t),r)}var Ir={type:"cancelation",msg:"operation is manually canceled"};function z3(t){var r=!1,o=new Promise(function(n,s){t.then(function(c){return r?s(Ir):n(c)}),t.catch(s)});return o.cancel=function(){return r=!0},o}var br=["monaco"],wr=jr.create({config:xr,isInitialized:!1,resolve:null,reject:null,monaco:null}),A6=Qt(wr,2),_3=A6[0],F3=A6[1];function Hr(t){var r=Mr.config(t),o=r.monaco,n=Kt(r,br);F3(function(s){return{config:R6(s.config,n),monaco:o}})}function Vr(){var t=_3(function(r){var o=r.monaco,n=r.isInitialized,s=r.resolve;return{monaco:o,isInitialized:n,resolve:s}});if(!t.isInitialized){if(F3({isInitialized:!0}),t.monaco)return t.resolve(t.monaco),z3(q3);if(window.monaco&&window.monaco.editor)return B6(window.monaco),t.resolve(window.monaco),z3(q3);mr(_r,$r)(Nr)}return z3(q3)}function _r(t){return document.body.appendChild(t)}function Pr(t){var r=document.createElement("script");return t&&(r.src=t),r}function $r(t){var r=_3(function(n){var s=n.config,c=n.reject;return{config:s,reject:c}}),o=Pr("".concat(r.config.paths.vs,"/loader.js"));return o.onload=function(){return t()},o.onerror=r.reject,o}function Nr(){var t=_3(function(o){var n=o.config,s=o.resolve,c=o.reject;return{config:n,resolve:s,reject:c}}),r=window.require;r.config(t.config),r(["vs/editor/editor.main"],function(o){var n=o.m||o;B6(n),t.resolve(n)},function(o){t.reject(o)})}function B6(t){_3().monaco||F3({monaco:t})}function Wr(){return _3(function(t){var r=t.monaco;return r})}var q3=new Promise(function(t,r){return F3({resolve:t,reject:r})}),U6={config:Hr,init:Vr,__getMonacoInstance:Wr},yr={wrapper:{display:"flex",position:"relative",textAlign:"initial"},fullWidth:{width:"100%"},hide:{display:"none"}},K3=yr,Tr={container:{display:"flex",height:"100%",width:"100%",justifyContent:"center",alignItems:"center"}},Sr=Tr;function Zr({children:t}){return d.createElement("div",{style:Sr.container},t)}var Er=Zr,Dr=Er;function Or({width:t,height:r,isEditorReady:o,loading:n,_ref:s,className:c,wrapperProps:l}){return d.createElement("section",{style:{...K3.wrapper,width:t,height:r},...l},!o&&d.createElement(Dr,null,n),d.createElement("div",{ref:s,style:{...K3.fullWidth,...!o&&K3.hide},className:c}))}var Fr=Or,G6=d.memo(Fr);function Rr(t){d.useEffect(t,[])}var z6=Rr;function Ar(t,r,o=!0){let n=d.useRef(!0);d.useEffect(n.current||!o?()=>{n.current=!1}:t,r)}var S=Ar;function b3(){}function C3(t,r,o,n){return Br(t,n)||Ur(t,r,o,n)}function Br(t,r){return t.editor.getModel(q6(t,r))}function Ur(t,r,o,n){return t.editor.createModel(r,o,n?q6(t,n):void 0)}function q6(t,r){return t.Uri.parse(r)}function Gr({original:t,modified:r,language:o,originalLanguage:n,modifiedLanguage:s,originalModelPath:c,modifiedModelPath:l,keepCurrentOriginalModel:a=!1,keepCurrentModifiedModel:u=!1,theme:p="light",loading:x="Loading...",options:j={},height:M="100%",width:b="100%",className:L,wrapperProps:g={},beforeMount:$=b3,onMount:N=b3}){let[V,G]=d.useState(!1),[z,_]=d.useState(!0),W=d.useRef(null),P=d.useRef(null),J=d.useRef(null),y=d.useRef(N),m=d.useRef($),q=d.useRef(!1);z6(()=>{let k=U6.init();return k.then(I=>(P.current=I)&&_(!1)).catch(I=>(I==null?void 0:I.type)!=="cancelation"&&console.error("Monaco initialization: error:",I)),()=>W.current?e3():k.cancel()}),S(()=>{if(W.current&&P.current){let k=W.current.getOriginalEditor(),I=C3(P.current,t||"",n||o||"text",c||"");I!==k.getModel()&&k.setModel(I)}},[c],V),S(()=>{if(W.current&&P.current){let k=W.current.getModifiedEditor(),I=C3(P.current,r||"",s||o||"text",l||"");I!==k.getModel()&&k.setModel(I)}},[l],V),S(()=>{let k=W.current.getModifiedEditor();k.getOption(P.current.editor.EditorOption.readOnly)?k.setValue(r||""):r!==k.getValue()&&(k.executeEdits("",[{range:k.getModel().getFullModelRange(),text:r||"",forceMoveMarkers:!0}]),k.pushUndoStop())},[r],V),S(()=>{var k,I;(I=(k=W.current)==null?void 0:k.getModel())==null||I.original.setValue(t||"")},[t],V),S(()=>{let{original:k,modified:I}=W.current.getModel();P.current.editor.setModelLanguage(k,n||o||"text"),P.current.editor.setModelLanguage(I,s||o||"text")},[o,n,s],V),S(()=>{var k;(k=P.current)==null||k.editor.setTheme(p)},[p],V),S(()=>{var k;(k=W.current)==null||k.updateOptions(j)},[j],V);let Y=d.useCallback(()=>{var F;if(!P.current)return;m.current(P.current);let k=C3(P.current,t||"",n||o||"text",c||""),I=C3(P.current,r||"",s||o||"text",l||"");(F=W.current)==null||F.setModel({original:k,modified:I})},[o,r,s,t,n,c,l]),n3=d.useCallback(()=>{var k;!q.current&&J.current&&(W.current=P.current.editor.createDiffEditor(J.current,{automaticLayout:!0,...j}),Y(),(k=P.current)==null||k.editor.setTheme(p),G(!0),q.current=!0)},[j,p,Y]);d.useEffect(()=>{V&&y.current(W.current,P.current)},[V]),d.useEffect(()=>{!z&&!V&&n3()},[z,V,n3]);function e3(){var I,F,R,K;let k=(I=W.current)==null?void 0:I.getModel();a||((F=k==null?void 0:k.original)==null||F.dispose()),u||((R=k==null?void 0:k.modified)==null||R.dispose()),(K=W.current)==null||K.dispose()}return d.createElement(G6,{width:b,height:M,isEditorReady:V,loading:x,_ref:J,className:L,wrapperProps:g})}var zr=Gr;d.memo(zr);function qr(t){let r=d.useRef();return d.useEffect(()=>{r.current=t},[t]),r.current}var Kr=qr,N3=new Map;function Xr({defaultValue:t,defaultLanguage:r,defaultPath:o,value:n,language:s,path:c,theme:l="light",line:a,loading:u="Loading...",options:p={},overrideServices:x={},saveViewState:j=!0,keepCurrentModel:M=!1,width:b="100%",height:L="100%",className:g,wrapperProps:$={},beforeMount:N=b3,onMount:V=b3,onChange:G,onValidate:z=b3}){let[_,W]=d.useState(!1),[P,J]=d.useState(!0),y=d.useRef(null),m=d.useRef(null),q=d.useRef(null),Y=d.useRef(V),n3=d.useRef(N),e3=d.useRef(),k=d.useRef(n),I=Kr(c),F=d.useRef(!1),R=d.useRef(!1);z6(()=>{let v=U6.init();return v.then(H=>(y.current=H)&&J(!1)).catch(H=>(H==null?void 0:H.type)!=="cancelation"&&console.error("Monaco initialization: error:",H)),()=>m.current?L3():v.cancel()}),S(()=>{var H,f,w,T;let v=C3(y.current,t||n||"",r||s||"",c||o||"");v!==((H=m.current)==null?void 0:H.getModel())&&(j&&N3.set(I,(f=m.current)==null?void 0:f.saveViewState()),(w=m.current)==null||w.setModel(v),j&&((T=m.current)==null||T.restoreViewState(N3.get(c))))},[c],_),S(()=>{var v;(v=m.current)==null||v.updateOptions(p)},[p],_),S(()=>{!m.current||n===void 0||(m.current.getOption(y.current.editor.EditorOption.readOnly)?m.current.setValue(n):n!==m.current.getValue()&&(R.current=!0,m.current.executeEdits("",[{range:m.current.getModel().getFullModelRange(),text:n,forceMoveMarkers:!0}]),m.current.pushUndoStop(),R.current=!1))},[n],_),S(()=>{var H,f;let v=(H=m.current)==null?void 0:H.getModel();v&&s&&((f=y.current)==null||f.editor.setModelLanguage(v,s))},[s],_),S(()=>{var v;a!==void 0&&((v=m.current)==null||v.revealLine(a))},[a],_),S(()=>{var v;(v=y.current)==null||v.editor.setTheme(l)},[l],_);let K=d.useCallback(()=>{var v;if(!(!q.current||!y.current)&&!F.current){n3.current(y.current);let H=c||o,f=C3(y.current,n||t||"",r||s||"",H||"");m.current=(v=y.current)==null?void 0:v.editor.create(q.current,{model:f,automaticLayout:!0,...p},x),j&&m.current.restoreViewState(N3.get(H)),y.current.editor.setTheme(l),a!==void 0&&m.current.revealLine(a),W(!0),F.current=!0}},[t,r,o,n,s,c,p,x,j,l,a]);d.useEffect(()=>{_&&Y.current(m.current,y.current)},[_]),d.useEffect(()=>{!P&&!_&&K()},[P,_,K]),k.current=n,d.useEffect(()=>{var v,H;_&&G&&((v=e3.current)==null||v.dispose(),e3.current=(H=m.current)==null?void 0:H.onDidChangeModelContent(f=>{R.current||G(m.current.getValue(),f)}))},[_,G]),d.useEffect(()=>{if(_){let v=y.current.editor.onDidChangeMarkers(H=>{var w;let f=(w=m.current.getModel())==null?void 0:w.uri;if(f&&H.find(T=>T.path===f.path)){let T=y.current.editor.getModelMarkers({resource:f});z==null||z(T)}});return()=>{v==null||v.dispose()}}return()=>{}},[_,z]);function L3(){var v,H;(v=e3.current)==null||v.dispose(),M?j&&N3.set(c,m.current.saveViewState()):(H=m.current.getModel())==null||H.dispose(),m.current.dispose()}return d.createElement(G6,{width:b,height:L,isEditorReady:_,loading:u,_ref:q,className:g,wrapperProps:$})}var Qr=Xr,Jr=d.memo(Qr),Yr=Jr;function i6({value:t,defaultValue:r,onChange:o,language:n="javascript",theme:s="vs",height:c="300px",isDisabled:l=!1,isReadOnly:a=!1,options:u,className:p,editorRef:x}){const[j,M]=d.useState(!1),b=d.useRef(null);function L($,N){x&&(x.current=$),$.onDidFocusEditorWidget(()=>M(!0)),$.onDidBlurEditorWidget(()=>M(!1))}const g=h("code-editor-wrapper",p,{"code-editor-focused":j,"code-editor-disabled":l});return e.jsx("div",{ref:b,className:g,"data-disabled":l||void 0,style:{height:c},children:e.jsx(Yr,{height:"100%",value:t,defaultValue:r,language:n,theme:s,onChange:o,onMount:L,loading:e.jsx("div",{className:"code-editor-loading"}),options:{readOnly:a||l,minimap:{enabled:!1},scrollBeyondLastLine:!1,fontSize:13,lineNumbersMinChars:3,...u}})})}function e4({className:t,label:r,description:o,errorMessage:n,...s}){const c=d.useId(),l=h(t,"field");return e.jsxs("div",{className:l,children:[r&&e.jsx(Z,{htmlFor:c,children:r}),e.jsx(i6,{...s}),o&&e.jsx(O,{children:o}),n&&typeof n=="string"&&e.jsx(U,{children:n})]})}const t4="Clique no editor e pressione F1 para visualizar os atalhos do teclado";function r4({title:t,shortcutHint:r=t4,onBeautify:o,className:n,isDisabled:s=!1,isReadOnly:c=!1,...l}){const a=d.useRef(null),u=!s&&!c;function p(){var x,j;if(o){o();return}(j=(x=a.current)==null?void 0:x.getAction("editor.action.formatDocument"))==null||j.run()}return e.jsxs("div",{className:h("code-editor-panel",n),children:[u&&e.jsxs("div",{className:"code-editor-panel-header",children:[e.jsxs("div",{className:"code-editor-panel-title-group",children:[e.jsx("span",{className:"code-editor-panel-title",children:t}),r&&e.jsxs("span",{className:"code-editor-panel-hint",children:["(",r,")"]})]}),e.jsx(D,{size:"small",variant:"primary",onPress:p,children:"Beautify"})]}),e.jsx(i6,{...l,isDisabled:s,isReadOnly:c,editorRef:a})]})}function o4(t){return"href"in t}const f3=d.forwardRef(function(r,o){const{style:n,...s}=r;return o4(r)?e.jsx(C.Link,{...s,className:r.className,ref:o,children:r.children}):e.jsx(C.Button,{...s,className:r.className,ref:o,children:r.children})});function K6({initials:t,src:r,alt:o}){return e.jsxs(e.Fragment,{children:[t&&e.jsxs("svg",{viewBox:"0 0 100 100","aria-hidden":o?void 0:"true",children:[o&&e.jsx("title",{children:o}),e.jsx("text",{x:"50%",y:"50%",alignmentBaseline:"middle",dominantBaseline:"middle",textAnchor:"middle",dy:".125em",children:t})]}),r&&e.jsx("img",{src:r,alt:o})]})}function n4({className:t,src:r=null,square:o=!1,initials:n,alt:s="",size:c="medium",...l}){const a=h(t,"avatar",`avatar-size-${c}`,`avatar-shape-${o?"square":"circle"}`,r?"avatar-image":"avatar-initials");return e.jsx("span",{className:a,...l,children:K6({initials:n,src:r,alt:s})})}const s4=d.forwardRef(function({className:r,src:o=null,square:n=!1,initials:s,alt:c="",size:l="medium",...a},u){const p=h(r,"avatar","avatar-button",`avatar-size-${l}`,`avatar-shape-${n?"square":"circle"}`,o?"avatar-image":"avatar-initials");return e.jsx(f3,{...a,className:p,ref:u,children:K6({initials:s,src:o,alt:c})})}),i4=({className:t,children:r,title:o,description:n,...s})=>{const c=h(t,"avatar-block");return e.jsxs("div",{className:c,...s,children:[r,e.jsx(f1,{slot:"label",children:o}),n&&e.jsx(V3,{slot:"description",children:n})]})},c4=({className:t,children:r,max:o=3,spacing:n="200",...s})=>{const c=h(t,"avatar-group",`avatar-group-spacing-${n}`),l=d.Children.toArray(r),a=l.length,u=Math.max(0,a-o),p=l.splice(0,a-u);return e.jsxs("div",{className:c,...s,children:[p,u>0&&e.jsxs("span",{className:"avatar-group-overflow",children:["+",u]})]})},D=d.forwardRef(function({className:r,size:o="medium",variant:n="primary",...s},c){const l=h(r,"button",`button-size-${o}`,`button-variant-${n}`),{style:a,...u}=s;return X6(s)?e.jsx(C.Link,{...u,className:l,ref:c,children:s.children}):e.jsx(C.Button,{...u,className:l,ref:c,children:s.children})}),c6=d.forwardRef(function({className:r,size:o="medium",variant:n="danger-primary",...s},c){const l=h(r,"button",`button-size-${o}`,`button-variant-${n}`),{style:a,...u}=s;return X6(s)?e.jsx(C.Link,{...u,className:l,ref:c,children:s.children}):e.jsx(C.Button,{...u,className:l,ref:c,children:s.children})});function X6(t){return"href"in t}const l4=({align:t="start",className:r,...o})=>{const n=h(r,"button-group",`button-group-align-${t}`);return e.jsx("div",{className:n,...o})};function a4({className:t,label:r,description:o,errorMessage:n,children:s,...c}){const l=h(t,"checkbox-group");return e.jsxs(C.CheckboxGroup,{...c,className:l,children:[r&&e.jsx(Z,{children:r}),o&&e.jsx(O,{children:o}),n&&e.jsx(U,{children:n}),s]})}function d4({children:t,className:r,label:o,description:n,errorMessage:s,...c}){const l=h(r,"checkbox-field"),a=o||(typeof t=="string"?t:void 0);return e.jsx(C.Checkbox,{className:l,...c,children:e.jsxs(e.Fragment,{children:[e.jsx(Z,{children:a}),e.jsx(R3,{}),n&&e.jsx(O,{children:n}),e.jsx(U,{children:s}),a!==t&&t]})})}function R3({className:t,...r}){const o=h(t,"checkbox");return e.jsxs("div",{className:o,...r,children:[e.jsx(D6,{"aria-hidden":"true",className:"icon-indeterminate",size:"16"}),e.jsx(O3,{"aria-hidden":"true",className:"icon-selected",size:"16"})]})}function A3({className:t,type:r="card",...o}){const n=h(t,"dialog",`dialog-type-${r}`);return e.jsx(C.Dialog,{className:n,...o})}const l6=({onPress:t})=>e.jsx(o3,{className:"dialog-close","aria-label":"Dismiss dialog",onPress:t,variant:"subtle",size:"small",children:e.jsx(x3,{})});function Q6({...t}){return e.jsx(C.DialogTrigger,{...t})}function h4({label:t,icon:r,variant:o,children:n,...s}){return e.jsxs(Q6,{children:[r?e.jsx(o3,{variant:o,"aria-label":t,children:r}):e.jsx(D,{variant:o,children:t}),e.jsx(B3,{isDismissable:!0,children:e.jsx(A3,{...s,children:n})})]})}function a6({className:t,...r}){const o=h(t,"dialog-title");return e.jsx(P3,{...r,slot:"title",className:o})}function u4({className:t,...r}){const o=h(t,"dialog-description");return e.jsx(V3,{...r,className:o})}function d6({bleed:t,className:r,...o}){const n=h(r,"dialog-body",t&&"dialog-body-bleed");return e.jsx("div",{...o,className:n})}function B3({children:t,className:r,isDismissable:o,...n}){const s=h(r,"dialog-backdrop");return e.jsx(C.ModalOverlay,{className:s,...n,children:e.jsx(C.Modal,{className:"dialog-container",children:t})})}function C4({...t}){const r=h("fieldset");return e.jsx("fieldset",{...t,className:r})}function p4({...t}){const r=h("legend");return e.jsx("legend",{...t,className:r})}function j4({...t}){const r=h("field-group");return e.jsx("div",{...t,className:r})}function x4({className:t,singleLine:r,...o}){const n=h(t,"form",r&&"form-single-line");return e.jsx(C.Form,{className:n,...o})}function k4(t){const r=s=>Array.isArray(s),o=new FormData(t),n={};return o.forEach((s,c)=>{if(!Reflect.has(n,c)){n[c]=s;return}const l=n[c];r(l)?l.push(s):n[c]=[l,s]}),n}function h6({className:t,...r}){const o=h(t,"field");return e.jsx("div",{className:o,...r})}function Z({className:t,...r}){const o=h(t,"label");return e.jsx(C.Label,{className:o,slot:"label",...r})}function O({className:t,...r}){const o=h(t,"description");return e.jsx(C.Text,{className:o,slot:"description",...r})}function U({className:t,...r}){const o=h(t,"error-message");return e.jsx(C.FieldError,{...r,className:o})}function J6({className:t,children:r,...o}){const n=h(t,"keyboard"),s=typeof r=="string"?r.split("").map(c=>e.jsx("kbd",{children:c},c)):r;return e.jsx(C.Keyboard,{...o,className:n,children:s})}function i({size:t="16",children:r,className:o}){return e.jsx("svg",{className:h(o,"icon",`icon-size-${t}`),width:t,height:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:r})}const o3=d.forwardRef(function({className:r,...o},n){const s=h(r,"icon-button");return e.jsx(D,{...o,...n,className:s})}),Y6=d.forwardRef(function(r,o){return e.jsx(c6,{...r,...o,className:"icon-button"})});function e1({aspectRatio:t="natural",className:r,size:o="natural",variant:n="rounded",...s}){const[c,l]=d.useState(!1),a=h(r,"image",`image-aspect-ratio-${t}`,`image-size-${o}`,`image-variant-${n}`,!c&&"image-loading");return e.jsxs(e.Fragment,{children:[!c&&e.jsx("span",{className:h("image-placeholder",a)}),s.src&&e.jsx("img",{className:a,...s,onLoad:()=>l(!0)})]})}function f4({className:t,...r}){const o=h(t,"picture");return e.jsx("picture",{className:o,...r})}function g4({...t}){return e.jsx("source",{...t})}function t1({className:t,placeholder:r,label:o,description:n,errorMessage:s,...c}){const l=h(t,"field");return e.jsxs(C.TextField,{className:l,...c,children:[o&&e.jsx(Z,{children:o}),e.jsx(u6,{placeholder:r}),n&&e.jsx(O,{children:n}),e.jsx(U,{children:s})]})}const u6=d.forwardRef(function({className:r,...o},n){const s=h(r,"input");return e.jsx(C.Input,{className:s,ref:n,...o})}),r1=d.forwardRef(function(r,o){const n=h("link",r.className);return e.jsx("a",{...r,ref:o,className:n})});function C6({children:t,className:r,...o}){const n=h(r,"list-box");return e.jsx(C.ListBox,{className:n,...o,children:t})}function p6({className:t,...r}){const o=h(t,"list-box-item");return e.jsx(C.ListBoxItem,{className:o,...r})}function L4({className:t,...r}){const o=h(t,"logo");return e.jsx(f3,{className:o,...r,"aria-label":"Company logo",children:e.jsxs("svg",{width:"172",height:"247",viewBox:"0 0 172 247",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e.jsx("path",{d:"M164 46.5C164 67.763 146.763 85 125.5 85L86 85L86 8.0001L125.5 8.0001C146.763 8.0001 164 25.2371 164 46.5V46.5Z",stroke:"var(--logo-color)",strokeWidth:"15.081"}),e.jsx("path",{d:"M8 46.5C8 67.763 25.237 85 46.5 85L86 85L86 8.0001L46.5 8.0001C25.237 8.0001 8 25.2371 8 46.5V46.5Z",stroke:"var(--logo-color)",strokeWidth:"15.081"}),e.jsx("path",{d:"M8 123.501C8 144.764 25.237 162.001 46.5 162.001H86L86 85.0011L46.5 85.0011C25.237 85.0011 8 102.238 8 123.501V123.501Z",stroke:"var(--logo-color)",strokeWidth:"15.081"}),e.jsx("path",{d:"M8 200.5C8 221.763 25.4854 239 46.7484 239V239C68.2875 239 86 221.539 86 200L86 162H46.5C25.237 162 8 179.237 8 200.5V200.5Z",stroke:"var(--logo-color)",strokeWidth:"15.081"}),e.jsx("path",{d:"M86 123.501C86 144.764 103.237 162.001 124.5 162.001H125.5C146.763 162.001 164 144.764 164 123.501V123.501C164 102.238 146.763 85.0011 125.5 85.0011H124.5C103.237 85.0011 86 102.238 86 123.501V123.501Z",stroke:"var(--logo-color)",strokeWidth:"15.081"})]})})}function o1({className:t,...r}){return e.jsx(C.Menu,{className:h(t,"menu"),...r})}function n1({...t}){return e.jsx(C.MenuTrigger,{...t})}function v4({label:t,children:r,icon:o,placement:n,variant:s,...c}){return e.jsxs(n1,{children:[o?e.jsx(o3,{variant:s,"aria-label":t,children:o}):e.jsx(D,{variant:s,children:t}),e.jsx(s1,{placement:n,children:e.jsx(o1,{...c,children:r})})]})}function s1({...t}){return e.jsx(C.Popover,{...t})}function M4({className:t,...r}){const o=h(t,"menu-item"),n=r.textValue||(typeof r.children=="string"?r.children:void 0);return e.jsx(C.MenuItem,{...r,className:o,textValue:n,children:({hasSubmenu:s})=>e.jsxs(e.Fragment,{children:[r.children,s&&e.jsx(k3,{})]})})}function m4({className:t,...r}){const o=h(t,"menu-header");return e.jsx("div",{...r,className:o})}function I4({className:t,...r}){const o=h(t,"menu-section");return e.jsx("div",{...r,className:o})}function b4({className:t,...r}){const o=h(t,"menu-heading");return e.jsx(P3,{...r,className:o})}function w4({className:t,...r}){const o=h(t,"menu-separator");return e.jsx(C.Separator,{...r,className:o})}function H4({className:t,...r}){const o=h(t,"menu-label");return e.jsx(Z,{...r,className:o})}function V4({className:t,...r}){const o=h(t,"menu-description");return e.jsx(O,{...r,className:o})}function _4({children:t,className:r,...o}){const n=h(r,"menu-shortcut");return e.jsx(J6,{...o,className:n,children:t})}function P4({className:t,direction:r="row",...o}){const n=h(t,"navigation",`navigation-direction-${r}`);return e.jsx("nav",{className:n,...o})}function $4({className:t,isSelected:r,...o}){const n=h(t,"navigation-pill");return e.jsx(f3,{"data-selected":r||void 0,className:n,...o})}function N4({children:t,className:r,isSelected:o,icon:n,direction:s="column",size:c="medium",...l}){const a=h(r,"navigation-button",`navigation-button-direction-${s}`,`navigation-button-size-${c}`);return e.jsxs(f3,{"data-selected":o||void 0,className:a,...l,children:[n,t]})}function j6({children:t,className:r,isDismissible:o,icon:n,variant:s="message",...c}){const l=h(r,"notification",`notification-variant-${s}`);return e.jsxs("div",{className:l,...c,children:[n&&e.jsx("span",{className:"notification-icon",children:n}),e.jsx("div",{className:"notification-content",children:t}),o&&(s==="alert"?e.jsx(Y6,{size:"small",variant:"danger-subtle","aria-label":"Dismiss notification",children:e.jsx(x3,{})}):e.jsx(o3,{size:"small",variant:"subtle","aria-label":"Dismiss notification",children:e.jsx(x3,{})}))]})}function W4({message:t,style:r}){return t?e.jsx(j6,{variant:"alert",style:{marginBottom:"1rem",...r},children:t}):null}function y4({message:t,style:r}){return t?e.jsx(j6,{style:{marginBottom:"1rem",...r},children:t}):null}const h3={tablet:600,desktop:1024};function u3(t){const[r,o]=d.useMemo(()=>{const n=globalThis.matchMedia(t);function s(l){return n.addEventListener("change",l),()=>n.removeEventListener("change",l)}return[s,()=>n.matches]},[t]);return d.useSyncExternalStore(r,o)}const x6=()=>{const t=u3(`(max-width: ${h3.tablet-1}px)`),r=u3(`(min-width: ${h3.tablet}px) and (max-width: ${h3.desktop-1}px)`),o=u3(`(min-width: ${h3.desktop}px)`),n=u3(`(min-width: ${h3.tablet}px)`),s=u3(`(max-width: ${h3.desktop-1}px)`);return d.useMemo(()=>({isMobile:t,isTablet:r,isDesktop:o,isTabletUp:n,isTabletDown:s}),[t,r,o,n,s])};function T4({"aria-label":t="Page navigation",className:r,...o}){const n=h("pagination");return e.jsx("nav",{"aria-label":t,...o,className:n})}function S4({href:t=null,children:r="Previous"}){return e.jsxs(D,{...t===null?{disabled:!0}:{href:t},variant:"subtle","aria-label":"Previous page",children:[e.jsx(n6,{}),r]})}function Z4({href:t=null,children:r="Next"}){return e.jsxs(D,{...t===null?{disabled:!0}:{href:t},variant:"subtle","aria-label":"Next page",children:[r,e.jsx(s6,{})]})}function E4({children:t}){const{isTabletUp:r}=x6();return r&&e.jsx("span",{className:"pagination-list",children:t})}function D4({href:t,children:r,current:o=!1}){return e.jsx(D,{href:t,"aria-label":`Page ${r}`,"aria-current":o?"page":void 0,variant:o?"primary":"subtle",className:h(),children:e.jsx("span",{className:"",children:r})})}function O4(){return e.jsx("div",{"aria-hidden":"true",className:"",children:"…"})}function F4({className:t,label:r,description:o,errorMessage:n,children:s,...c}){const l=h(t,"radio-group");return e.jsxs(C.RadioGroup,{...c,className:l,children:[r&&e.jsx(Z,{children:r}),o&&e.jsx(O,{children:o}),n&&e.jsx(U,{children:n}),s]})}function R4({children:t,className:r,label:o,description:n,errorMessage:s,...c}){const l=h(r,"radio-field"),a=o||(typeof t=="string"?t:void 0);return e.jsx(C.Radio,{className:l,...c,children:e.jsxs(e.Fragment,{children:[e.jsx(Z,{children:a}),e.jsx(i1,{}),n&&e.jsx(O,{children:n}),e.jsx(U,{children:s}),a!==t&&t]})})}function i1({className:t,...r}){const o=h(t,"radio");return e.jsx("div",{className:o,...r,children:e.jsx("span",{"aria-hidden":"true",className:"radio-check"})})}const c1=d.forwardRef(function({className:r,results:o,onSearch:n,...s},c){const[l,a]=d.useState(""),u=d.useRef(null),p=j=>{a(j),n&&n(j)},x=h(r,"search-input-container");return e.jsxs(C.ComboBox,{className:x,children:[e.jsx(Z,{hidden:!0,children:s["aria-label"]||"Search"}),e.jsx(u6,{type:"search",className:"search-input",value:l,onInput:j=>p(j.currentTarget.value),ref:j=>{u.current=j,typeof c=="function"?c(j):c&&(c.current=j)},...s}),e.jsx("span",{className:"search-icon",children:l?e.jsx(o3,{"aria-label":"Clear search",onPress:()=>p(""),size:"small",variant:"subtle",children:e.jsx(x3,{})}):e.jsx(o3,{"aria-label":"Clear search",onPress:()=>{var j;return(j=u==null?void 0:u.current)==null?void 0:j.focus()},size:"small",variant:"subtle",children:e.jsx(O6,{})})}),e.jsx(C.Popover,{children:e.jsx(C6,{children:o==null?void 0:o.map(j=>e.jsx(p6,{onAction:()=>p(j),children:j},j))})})]})});function A4({className:t,label:r,description:o,errorMessage:n,children:s,items:c,...l}){const a=h(t,"select-container");return e.jsx(l1,{className:a,...l,children:e.jsxs(h6,{children:[r&&e.jsx(Z,{children:r}),e.jsxs(C.Button,{className:"select",children:[e.jsx(C.SelectValue,{className:"select-value"}),e.jsx(k3,{"aria-hidden":"true"})]}),e.jsx(C.Popover,{children:e.jsx(C6,{items:c,children:s})}),o&&e.jsx(O,{children:o}),e.jsx(U,{children:n})]})})}function l1({...t}){return e.jsx(C.Select,{...t})}function B4({children:t,className:r,...o}){const n=h(r,"select-item"),s=typeof t=="string"?t:"";return e.jsx(p6,{textValue:s,className:n,...o,children:e.jsxs(e.Fragment,{children:[e.jsx(O3,{className:"select-item-check"}),t]})})}function U4({name:t,label:r,description:o,showOutput:n,thumbLabels:s,...c}){return e.jsx(a1,{...c,children:e.jsxs(h6,{children:[r&&e.jsx(Z,{children:r}),n&&e.jsx(d1,{children:({state:l})=>l.values.map((a,u)=>l.getThumbValueLabel(u)).join(" - ")}),e.jsx(u1,{children:({state:l})=>l.values.map((a,u)=>e.jsx(h1,{name:l.values.length>1?`${t}-${(s==null?void 0:s[u])||u}`:t,index:u,"aria-label":s==null?void 0:s[u]},u))}),o&&e.jsx(O,{children:o})]})})}function a1({className:t,...r}){const o=h(t,"slider-field");return e.jsx(C.Slider,{className:o,...r})}function d1({className:t,...r}){const o=h(t,"slider-output");return e.jsx(C.SliderOutput,{className:o,...r})}function h1({className:t,...r}){const o=h(t,"slider-thumb");return e.jsx(C.SliderThumb,{className:o,...r})}function u1({className:t,...r}){const o=h(t,"slider");return e.jsx(C.SliderTrack,{className:o,...r})}function G4({className:t,...r}){const o=h(t,"switch-group");return e.jsx("div",{...r,className:o})}function z4({children:t,className:r,label:o,description:n,errorMessage:s,...c}){const l=h(r,"switch-field"),a=o||(typeof t=="string"?t:void 0);return e.jsx(C.Switch,{className:l,...c,children:e.jsxs(e.Fragment,{children:[e.jsx(Z,{children:a}),e.jsx(C1,{}),n&&e.jsx(O,{children:n}),e.jsx(U,{children:s}),a!==t&&t]})})}function C1({className:t,...r}){const o=h(t,"switch");return e.jsx("div",{className:o,...r,children:e.jsx("span",{"aria-hidden":"true",className:"switch-icon"})})}function q4({className:t,...r}){const o=h(t,"tab");return e.jsx(C.Tab,{className:o,...r})}function K4({className:t,...r}){const o=h(t,"tab-list");return e.jsx(C.TabList,{className:o,...r})}function X4({className:t,...r}){const o=h(t,"tab-panel");return e.jsx(C.TabPanel,{className:o,...r})}function Q4({className:t,...r}){const o=h(t,"tabs");return e.jsx(C.Tabs,{className:o,...r})}function p1({bleed:t=!1,dense:r=!1,grid:o=!1,striped:n=!1,className:s,...c}){const l=h(s,"table-container",t&&"table-container-bleed"),a=h("table",t&&"table-bleed",r&&"table-dense",o&&"table-grid",n&&"table-striped");return e.jsx("div",{className:l,children:e.jsx(C.Table,{className:a,...c})})}function p3({align:t="start",className:r,...o}){const n=h(r,"table-column",`table-align-${t}`);return e.jsx(C.Column,{className:n,...o,children:({allowsSorting:s,sortDirection:c})=>e.jsx("div",{className:h("table-column-inner"),children:e.jsxs(e.Fragment,{children:[o.children,s&&e.jsx("span",{"aria-hidden":"true",className:"sort-indicator",children:c==="ascending"?e.jsx(Z6,{}):e.jsx(k3,{})})]})})})}function j1({className:t,...r}){return e.jsx(C.TableBody,{...r})}function x1({className:t,columns:r,children:o,...n}){const{selectionBehavior:s,selectionMode:c,allowsDragging:l}=C.useTableOptions(),a=h(t,"table-head");return e.jsxs(C.TableHeader,{className:a,...n,children:[l&&e.jsx(p3,{}),s==="toggle"&&e.jsx(p3,{children:c==="multiple"&&e.jsx(R3,{slot:"selection"})}),e.jsx(C.Collection,{items:r,children:o})]})}function J3({id:t,columns:r,children:o,className:n,...s}){const{selectionBehavior:c,allowsDragging:l}=C.useTableOptions(),a=h(n,"table-row");return e.jsxs(C.Row,{id:t,...s,className:a,children:[l&&e.jsx(l3,{children:e.jsx(C.Button,{slot:"drag",children:"≡"})}),c==="toggle"&&e.jsx(l3,{children:e.jsx(R3,{slot:"selection"})}),e.jsx(C.Collection,{items:r,children:o})]})}function l3({align:t="start",className:r,...o}){const n=h(r,"table-cell",`table-align-${t}`);return e.jsx(C.Cell,{className:n,...o})}function J4({children:t,scheme:r="brand",variant:o="primary",onRemove:n,...s}){const c=h("tag",`tag-scheme-${r}`,`tag-variant-${o}`);return e.jsxs("span",{...s,className:c,children:[t," ",n&&e.jsx(C.Button,{className:"tag-remove-button",onPress:n,children:e.jsx(x3,{size:"16"})})]})}const Y4=d.forwardRef(function({className:r,scheme:o="brand",variant:n="primary",...s},c){const l=h(r,"tag","tag-button",`tag-scheme-${o}`,`tag-variant-${n}`);return e.jsx(f3,{...s,className:l,ref:c})});function eo({children:t,className:r,iconStart:o,textValue:n,...s}){const c=h(r,"tag","tag-toggle");return n=n||(typeof t=="string"?t:(t||"").toString()),e.jsx(C.Tag,{className:c,textValue:n,...s,children:e.jsxs(e.Fragment,{children:[o,t]})})}function to({className:t,...r}){const o=h(t,"tag-toggle-group");return e.jsx(C.TagGroup,{className:o,...r})}function ro({className:t,...r}){const o=h(t,"tag-toggle-list");return e.jsx(C.TagList,{className:o,...r})}function B({className:t,alignPrimary:r="start",alignSecondary:o="start",container:n=!1,direction:s="row",gap:c,type:l="auto",wrap:a=!1,...u}){const p=h(t,"flex",n&&"flex-container",`flex-align-primary-${r}`,`flex-align-secondary-${o}`,`flex-direction-${s}`,`flex-type-${l}`,c&&`flex-gap-${c}`,a&&"flex-wrap");return e.jsx("div",{style:{"--flex-align-primary":r,"--flex-align-secondary":o,"--flex-direction":s},className:p,...u})}function oo({className:t,children:r,size:o}){const n=h(t,"flex-item",o&&`flex-item-size-${o}`);return e.jsx("div",{className:n,children:r})}function no({children:t,className:r,elementType:o="section",padding:n="600",paddingBottom:s,paddingTop:c,...l}){const{variant:a="subtle",...u}=l,p=h(r,"section",`section-variant-${l.variant}`,`section-padding-top-${c||n}`,`section-padding-bottom-${s||n}`),x=l.variant==="image"?e.jsx(e1,{alt:"Background image",role:"presentation",src:l.src,size:"fill",aspectRatio:"fill",className:"section-image"}):null;switch(o){case"section":return e.jsxs("section",{className:p,...u,children:[x," ",t]});case"header":return e.jsxs("header",{className:p,...u,children:[x," ",t]});case"footer":return e.jsxs("footer",{className:p,...u,children:[x," ",t]})}}function so({className:t,columns:r="none",rows:o="none",gap:n,columnGap:s,rowGap:c,flow:l,container:a=!1,justifyItems:u="stretch",alignItems:p="stretch",style:x={},...j}){const M=h(t,"grid",a&&"grid-container",`grid-justify-items-${u}`,`grid-align-items-${p}`,n&&`grid-gap-${n}`,s&&`grid-column-gap-${s}`,c&&`grid-row-gap-${c}`,l&&`grid-flow-${l.replace(" ","-")}`),b={...x,display:"grid",gridTemplateColumns:r,gridTemplateRows:o,gap:n?`var(--sds-size-space-${n})`:void 0,columnGap:s?`var(--sds-size-space-${s})`:void 0,rowGap:c?`var(--sds-size-space-${c})`:void 0,justifyItems:u,alignItems:p};return e.jsx("div",{className:M,style:b,...j})}function io({className:t,column:r,row:o,area:n,style:s={},...c}){const l=h(t,"grid-item"),a={...s};return r&&(a.gridColumn=r),o&&(a.gridRow=o),n&&(a.gridArea=n),e.jsx("div",{className:l,style:a,...c})}function V3({className:t,elementType:r="p",lineHeight:o="body",lineClamp:n,...s}){const c=h(t,!!n&&"text-truncate","text-body-base",`text-line-height-${o}`),l=n?{"--text-truncate-line-clamp":n}:void 0;return e.jsx(C.Text,{style:l,elementType:r,className:c,...s})}function k1({className:t,elementType:r="small",lineHeight:o="body",lineClamp:n,...s}){const c=h(t,!!n&&"text-truncate","text-body-small",`text-line-height-${o}`),l=n?{"--text-truncate-line-clamp":n}:void 0;return e.jsx(C.Text,{style:l,className:c,elementType:r,...s})}function co({className:t,elementType:r="small",lineClamp:o,lineHeight:n="body",...s}){const c=h(t,!!o&&"text-truncate","text-body-small-strong",`text-line-height-${n}`),l=o?{"--text-truncate-line-clamp":o}:void 0;return e.jsx(C.Text,{style:l,className:c,elementType:r,...s})}function f1({className:t,elementType:r="strong",lineClamp:o,...n}){const s=h(t,!!o&&"text-truncate","text-body-strong"),c=o?{"--text-truncate-line-clamp":o}:void 0;return e.jsx(C.Text,{style:c,className:s,elementType:r,...n})}function lo({className:t,elementType:r,...o}){const n=h(t,"text-body-emphasis");return e.jsx(C.Text,{className:n,elementType:r,...o})}function ao({className:t,...r}){const o=h(t,"text-body-link");return e.jsx(r1,{className:o,...r})}function ho({className:t,...r}){const o=h(t,"text-body-code");return e.jsx(C.Text,{className:o,...r})}function uo({className:t,...r}){const o=h(t,"text-input");return e.jsx(C.Text,{className:o,...r})}function g1({className:t,elementType:r="h1",lineClamp:o,...n}){const s=h(t,!!o&&"text-truncate","text-title-hero"),c=o?{"--text-truncate-line-clamp":o}:void 0;return e.jsx(C.Text,{style:c,className:s,elementType:r,...n})}function k6({className:t,elementType:r="h2",lineClamp:o,...n}){const s=h(t,!!o&&"text-truncate","text-title-page"),c=o?{"--text-truncate-line-clamp":o}:void 0;return e.jsx(C.Text,{style:c,className:s,elementType:r,...n})}function L1({className:t,elementType:r="p",lineClamp:o,...n}){const s=h(t,!!o&&"text-truncate","text-subtitle"),c=o?{"--text-truncate-line-clamp":o}:void 0;return e.jsx(C.Text,{style:c,className:s,elementType:r,...n})}function P3({className:t,elementType:r="h3",lineClamp:o,...n}){const s=h(t,!!o&&"text-truncate","text-heading"),c=o?{"--text-truncate-line-clamp":o}:void 0;return e.jsx(C.Text,{style:c,className:s,elementType:r,...n})}function v1({className:t,elementType:r="p",lineClamp:o,...n}){const s=h(t,!!o&&"text-truncate","text-subheading"),c=o?{"--text-truncate-line-clamp":o}:void 0;return e.jsx(C.Text,{style:c,className:s,elementType:r,...n})}function Co({className:t,currency:r,size:o="large",price:n,label:s,...c}){const l=h(t,"text-price",`text-price-size-${o}`),a=e.jsxs(e.Fragment,{children:[e.jsx("sup",{className:"text-price-currency",children:r}),n]});return e.jsxs(C.Text,{elementType:"p",className:l,...c,children:[o==="small"?e.jsx(P3,{elementType:"span",children:a}):e.jsx(k6,{elementType:"span",children:a}),s&&e.jsx(k1,{children:s})]})}function po({className:t,...r}){const o=h(t,"text-list-item");return e.jsx("li",{className:o,...r})}function M1({children:t,className:r,density:o="default",title:n,...s}){const c=h(r,"text-list",`text-list-density-${o}`);return e.jsxs("ul",{className:c,...s,children:[n&&e.jsx("li",{className:"text-list-title",children:n}),t]})}function jo({className:t,...r}){const o=h(t,"text-link-list");return e.jsx(M1,{className:o,...r})}function xo({align:t="start",className:r,heading:o,subheading:n,...s}){const c=h(r,"text-content-heading",`text-align-${t}`);return e.jsxs(B,{direction:"column",gap:"200",className:c,...s,children:[e.jsx(P3,{children:o}),n&&e.jsx(v1,{children:n})]})}function ko({align:t="start",className:r,title:o,subtitle:n,...s}){const c=h(r,"text-content-title"),{isMobile:l}=x6();return e.jsxs(B,{direction:"column",gap:"200",className:c,...s,children:[l?e.jsx(k6,{className:`text-align-${t}`,children:o}):e.jsx(g1,{className:`text-align-${t}`,children:o}),n&&e.jsx(L1,{className:`text-align-${t}`,children:n})]})}function fo({className:t,placeholder:r,label:o,description:n,errorMessage:s,...c}){const l=h(t,"field");return e.jsxs(C.TextField,{className:l,...c,children:[o&&e.jsx(Z,{children:o}),e.jsx(m1,{placeholder:r}),n&&e.jsx(O,{children:n}),e.jsx(U,{children:s})]})}const m1=d.forwardRef(function({isResizable:r=!0,...o},n){const s=h("text-area",r&&"text-area-resizable");return e.jsx(C.TextArea,{ref:n,className:s,...o})}),U3=typeof document<"u"?d.useLayoutEffect:()=>{};var X3;const go=(X3=d.useInsertionEffect)!==null&&X3!==void 0?X3:U3;function Lo(t){const r=d.useRef(null);return go(()=>{r.current=t},[t]),d.useCallback((...o)=>{const n=r.current;return n==null?void 0:n(...o)},[])}const S3={prefix:String(Math.round(Math.random()*1e10)),current:0},I1=d.createContext(S3),vo=d.createContext(!1);let Mo=!!(typeof window<"u"&&window.document&&window.document.createElement),Q3=new WeakMap;function mo(t=!1){let r=d.useContext(I1),o=d.useRef(null);if(o.current===null&&!t){var n,s;let c=(s=d.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)===null||s===void 0||(n=s.ReactCurrentOwner)===null||n===void 0?void 0:n.current;if(c){let l=Q3.get(c);l==null?Q3.set(c,{id:r.current,state:c.memoizedState}):c.memoizedState!==l.state&&(r.current=l.id,Q3.delete(c))}o.current=++r.current}return o.current}function Io(t){let r=d.useContext(I1);r===S3&&!Mo&&process.env.NODE_ENV!=="production"&&console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server.");let o=mo(!!t),n=r===S3&&process.env.NODE_ENV==="test"?"react-aria":`react-aria${r.prefix}`;return t||`${n}-${o}`}function bo(t){let r=d.useId(),[o]=d.useState(Po()),n=o||process.env.NODE_ENV==="test"?"react-aria":`react-aria${S3.prefix}`;return t||`${n}-${r}`}const wo=typeof d.useId=="function"?bo:Io;function Ho(){return!1}function Vo(){return!0}function _o(t){return()=>{}}function Po(){return typeof d.useSyncExternalStore=="function"?d.useSyncExternalStore(_o,Ho,Vo):d.useContext(vo)}let $o=!!(typeof window<"u"&&window.document&&window.document.createElement),j3=new Map,I3;typeof FinalizationRegistry<"u"&&(I3=new FinalizationRegistry(t=>{j3.delete(t)}));function No(t){let[r,o]=d.useState(t),n=d.useRef(null),s=wo(r),c=d.useRef(null);if(I3&&I3.register(c,s),$o){const l=j3.get(s);l&&!l.includes(n)?l.push(n):j3.set(s,[n])}return U3(()=>{let l=s;return()=>{I3&&I3.unregister(c),j3.delete(l)}},[s]),d.useEffect(()=>{let l=n.current;return l&&o(l),()=>{l&&(n.current=null)}}),s}function Wo(t,r){if(t===r)return t;let o=j3.get(t);if(o)return o.forEach(s=>s.current=r),r;let n=j3.get(r);return n?(n.forEach(s=>s.current=t),t):r}function yo(...t){return(...r)=>{for(let o of t)typeof o=="function"&&o(...r)}}const d3=t=>{var r;return(r=t==null?void 0:t.ownerDocument)!==null&&r!==void 0?r:document},Y3=t=>t&&"window"in t&&t.window===t?t:d3(t).defaultView||window;function To(t){return t!==null&&typeof t=="object"&&"nodeType"in t&&typeof t.nodeType=="number"}function So(t){return To(t)&&t.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in t}let Zo=!1;function f6(){return Zo}function Eo(t,r){if(!f6())return r&&t?t.contains(r):!1;if(!t||!r)return!1;let o=r;for(;o!==null;){if(o===t)return!0;o.tagName==="SLOT"&&o.assignedSlot?o=o.assignedSlot.parentNode:So(o)?o=o.host:o=o.parentNode}return!1}const Z3=(t=document)=>{var r;if(!f6())return t.activeElement;let o=t.activeElement;for(;o&&"shadowRoot"in o&&(!((r=o.shadowRoot)===null||r===void 0)&&r.activeElement);)o=o.shadowRoot.activeElement;return o};function Do(t){return f6()&&t.target.shadowRoot&&t.composedPath?t.composedPath()[0]:t.target}function e6(...t){let r={...t[0]};for(let o=1;o<t.length;o++){let n=t[o];for(let s in n){let c=r[s],l=n[s];typeof c=="function"&&typeof l=="function"&&s[0]==="o"&&s[1]==="n"&&s.charCodeAt(2)>=65&&s.charCodeAt(2)<=90?r[s]=yo(c,l):(s==="className"||s==="UNSAFE_className")&&typeof c=="string"&&typeof l=="string"?r[s]=h(c,l):s==="id"&&c&&l?r.id=Wo(c,l):r[s]=l!==void 0?l:c}}return r}function _6(t){if(Oo())t.focus({preventScroll:!0});else{let r=Fo(t);t.focus(),Ro(r)}}let W3=null;function Oo(){if(W3==null){W3=!1;try{document.createElement("div").focus({get preventScroll(){return W3=!0,!0}})}catch{}}return W3}function Fo(t){let r=t.parentNode,o=[],n=document.scrollingElement||document.documentElement;for(;r instanceof HTMLElement&&r!==n;)(r.offsetHeight<r.scrollHeight||r.offsetWidth<r.scrollWidth)&&o.push({element:r,scrollTop:r.scrollTop,scrollLeft:r.scrollLeft}),r=r.parentNode;return n instanceof HTMLElement&&o.push({element:n,scrollTop:n.scrollTop,scrollLeft:n.scrollLeft}),o}function Ro(t){for(let{element:r,scrollTop:o,scrollLeft:n}of t)r.scrollTop=o,r.scrollLeft=n}function G3(t){var r;if(typeof window>"u"||window.navigator==null)return!1;let o=(r=window.navigator.userAgentData)===null||r===void 0?void 0:r.brands;return Array.isArray(o)&&o.some(n=>t.test(n.brand))||t.test(window.navigator.userAgent)}function g6(t){var r;return typeof window<"u"&&window.navigator!=null?t.test(((r=window.navigator.userAgentData)===null||r===void 0?void 0:r.platform)||window.navigator.platform):!1}function Q(t){if(process.env.NODE_ENV==="test")return t;let r=null;return()=>(r==null&&(r=t()),r)}const L6=Q(function(){return g6(/^Mac/i)}),Ao=Q(function(){return g6(/^iPhone/i)}),Bo=Q(function(){return g6(/^iPad/i)||L6()&&navigator.maxTouchPoints>1}),Uo=Q(function(){return Ao()||Bo()});Q(function(){return L6()||Uo()});Q(function(){return G3(/AppleWebKit/i)&&!Go()});const Go=Q(function(){return G3(/Chrome/i)}),zo=Q(function(){return G3(/Android/i)});Q(function(){return G3(/Firefox/i)});let t3=new Map,t6=new Set;function P6(){if(typeof window>"u")return;function t(n){return"propertyName"in n}let r=n=>{if(!t(n)||!n.target)return;let s=t3.get(n.target);s||(s=new Set,t3.set(n.target,s),n.target.addEventListener("transitioncancel",o,{once:!0})),s.add(n.propertyName)},o=n=>{if(!t(n)||!n.target)return;let s=t3.get(n.target);if(s&&(s.delete(n.propertyName),s.size===0&&(n.target.removeEventListener("transitioncancel",o),t3.delete(n.target)),t3.size===0)){for(let c of t6)c();t6.clear()}};document.body.addEventListener("transitionrun",r),document.body.addEventListener("transitionend",o)}typeof document<"u"&&(document.readyState!=="loading"?P6():document.addEventListener("DOMContentLoaded",P6));function qo(){for(const[t]of t3)"isConnected"in t&&!t.isConnected&&t3.delete(t)}function Ko(t){requestAnimationFrame(()=>{qo(),t3.size===0?t():t6.add(t)})}function Xo(){let t=d.useRef(new Map),r=d.useCallback((s,c,l,a)=>{let u=a!=null&&a.once?(...p)=>{t.current.delete(l),l(...p)}:l;t.current.set(l,{type:c,eventTarget:s,fn:u,options:a}),s.addEventListener(c,u,a)},[]),o=d.useCallback((s,c,l,a)=>{var u;let p=((u=t.current.get(l))===null||u===void 0?void 0:u.fn)||l;s.removeEventListener(c,p,a),t.current.delete(l)},[]),n=d.useCallback(()=>{t.current.forEach((s,c)=>{o(s.eventTarget,s.type,c,s.options)})},[o]);return d.useEffect(()=>n,[n]),{addGlobalListener:r,removeGlobalListener:o,removeAllGlobalListeners:n}}function Qo(t,r){U3(()=>{if(t&&t.ref&&r)return t.ref.current=r.current,()=>{t.ref&&(t.ref.current=null)}})}function Jo(t){return t.pointerType===""&&t.isTrusted?!0:zo()&&t.pointerType?t.type==="click"&&t.buttons===1:t.detail===0&&!t.pointerType}function Yo(t,r,o){let[n,s]=d.useState(t||r),c=d.useRef(t!==void 0),l=t!==void 0;d.useEffect(()=>{let p=c.current;p!==l&&process.env.NODE_ENV!=="production"&&console.warn(`WARN: A component changed from ${p?"controlled":"uncontrolled"} to ${l?"controlled":"uncontrolled"}.`),c.current=l},[l]);let a=l?t:n,u=d.useCallback((p,...x)=>{let j=(M,...b)=>{o&&(Object.is(a,M)||o(M,...b)),l||(a=M)};typeof p=="function"?(process.env.NODE_ENV!=="production"&&console.warn("We can not support a function callback. See Github Issues for details https://github.com/adobe/react-spectrum/issues/2320"),s((b,...L)=>{let g=p(l?a:b,...L);return j(g,...x),l?b:g})):(l||s(p),j(p,...x))},[l,a,o]);return[a,u]}function en(t){let r=t;return r.nativeEvent=t,r.isDefaultPrevented=()=>r.defaultPrevented,r.isPropagationStopped=()=>r.cancelBubble,r.persist=()=>{},r}function tn(t){let r=d.useRef({isFocused:!1,observer:null});U3(()=>{const n=r.current;return()=>{n.observer&&(n.observer.disconnect(),n.observer=null)}},[]);let o=Lo(n=>{t==null||t(n)});return d.useCallback(n=>{if(n.target instanceof HTMLButtonElement||n.target instanceof HTMLInputElement||n.target instanceof HTMLTextAreaElement||n.target instanceof HTMLSelectElement){r.current.isFocused=!0;let s=n.target,c=l=>{if(r.current.isFocused=!1,s.disabled){let a=en(l);o(a)}r.current.observer&&(r.current.observer.disconnect(),r.current.observer=null)};s.addEventListener("focusout",c,{once:!0}),r.current.observer=new MutationObserver(()=>{if(r.current.isFocused&&s.disabled){var l;(l=r.current.observer)===null||l===void 0||l.disconnect();let a=s===document.activeElement?null:document.activeElement;s.dispatchEvent(new FocusEvent("blur",{relatedTarget:a})),s.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:a}))}}),r.current.observer.observe(s,{attributes:!0,attributeFilter:["disabled"]})}},[o])}let rn=!1,g3=null,on=new Set,w3=new Map,a3=!1,r6=!1;function v6(t,r){for(let o of on)o(t,r)}function nn(t){return!(t.metaKey||!L6()&&t.altKey||t.ctrlKey||t.key==="Control"||t.key==="Shift"||t.key==="Meta")}function E3(t){a3=!0,nn(t)&&(g3="keyboard",v6("keyboard",t))}function E(t){g3="pointer",(t.type==="mousedown"||t.type==="pointerdown")&&(a3=!0,v6("pointer",t))}function b1(t){Jo(t)&&(a3=!0,g3="virtual")}function w1(t){t.target===window||t.target===document||rn||!t.isTrusted||(!a3&&!r6&&(g3="virtual",v6("virtual",t)),a3=!1,r6=!1)}function H1(){a3=!1,r6=!0}function $6(t){if(typeof window>"u"||typeof document>"u"||w3.get(Y3(t)))return;const r=Y3(t),o=d3(t);let n=r.HTMLElement.prototype.focus;r.HTMLElement.prototype.focus=function(){a3=!0,n.apply(this,arguments)},o.addEventListener("keydown",E3,!0),o.addEventListener("keyup",E3,!0),o.addEventListener("click",b1,!0),r.addEventListener("focus",w1,!0),r.addEventListener("blur",H1,!1),typeof PointerEvent<"u"?(o.addEventListener("pointerdown",E,!0),o.addEventListener("pointermove",E,!0),o.addEventListener("pointerup",E,!0)):process.env.NODE_ENV==="test"&&(o.addEventListener("mousedown",E,!0),o.addEventListener("mousemove",E,!0),o.addEventListener("mouseup",E,!0)),r.addEventListener("beforeunload",()=>{V1(t)},{once:!0}),w3.set(r,{focus:n})}const V1=(t,r)=>{const o=Y3(t),n=d3(t);r&&n.removeEventListener("DOMContentLoaded",r),w3.has(o)&&(o.HTMLElement.prototype.focus=w3.get(o).focus,n.removeEventListener("keydown",E3,!0),n.removeEventListener("keyup",E3,!0),n.removeEventListener("click",b1,!0),o.removeEventListener("focus",w1,!0),o.removeEventListener("blur",H1,!1),typeof PointerEvent<"u"?(n.removeEventListener("pointerdown",E,!0),n.removeEventListener("pointermove",E,!0),n.removeEventListener("pointerup",E,!0)):process.env.NODE_ENV==="test"&&(n.removeEventListener("mousedown",E,!0),n.removeEventListener("mousemove",E,!0),n.removeEventListener("mouseup",E,!0)),w3.delete(o))};function sn(t){const r=d3(t);let o;return r.readyState!=="loading"?$6(t):(o=()=>{$6(t)},r.addEventListener("DOMContentLoaded",o)),()=>V1(t,o)}typeof document<"u"&&sn();function cn(){return g3!=="pointer"}function _1(){return g3}function ln(t){const r=d3(t),o=Z3(r);if(_1()==="virtual"){let n=o;Ko(()=>{Z3(r)===n&&t.isConnected&&_6(t)})}else _6(t)}function an(t){let{isDisabled:r,onFocus:o,onBlur:n,onFocusChange:s}=t;const c=d.useCallback(u=>{if(u.target===u.currentTarget)return n&&n(u),s&&s(!1),!0},[n,s]),l=tn(c),a=d.useCallback(u=>{const p=d3(u.target),x=p?Z3(p):Z3();u.target===u.currentTarget&&x===Do(u.nativeEvent)&&(o&&o(u),s&&s(!0),l(u))},[s,o,l]);return{focusProps:{onFocus:!r&&(o||s||n)?a:void 0,onBlur:!r&&(n||s)?c:void 0}}}function N6(t){if(!t)return;let r=!0;return o=>{let n={...o,preventDefault(){o.preventDefault()},isDefaultPrevented(){return o.isDefaultPrevented()},stopPropagation(){r&&process.env.NODE_ENV!=="production"?console.error("stopPropagation is now the default behavior for events in React Spectrum. You can use continuePropagation() to revert this behavior."):r=!0},continuePropagation(){r=!1},isPropagationStopped(){return r}};t(n),r&&o.stopPropagation()}}function dn(t){return{keyboardProps:t.isDisabled?{}:{onKeyDown:N6(t.onKeyDown),onKeyUp:N6(t.onKeyUp)}}}let hn=d.createContext(null);function un(t){let r=d.useContext(hn)||{};Qo(r,t);let{ref:o,...n}=r;return n}function Cn(t,r){let{focusProps:o}=an(t),{keyboardProps:n}=dn(t),s=e6(o,n),c=un(r),l=t.isDisabled?{}:c,a=d.useRef(t.autoFocus);d.useEffect(()=>{a.current&&r.current&&ln(r.current),a.current=!1},[r]);let u=t.excludeFromTabOrder?-1:0;return t.isDisabled&&(u=void 0),{focusableProps:e6({...s,tabIndex:u},l)}}let D3=!1,y3=0;function o6(){D3=!0,setTimeout(()=>{D3=!1},50)}function W6(t){t.pointerType==="touch"&&o6()}function pn(){if(!(typeof document>"u"))return y3===0&&(typeof PointerEvent<"u"?document.addEventListener("pointerup",W6):process.env.NODE_ENV==="test"&&document.addEventListener("touchend",o6)),y3++,()=>{y3--,!(y3>0)&&(typeof PointerEvent<"u"?document.removeEventListener("pointerup",W6):process.env.NODE_ENV==="test"&&document.removeEventListener("touchend",o6))}}function jn(t){let{onHoverStart:r,onHoverChange:o,onHoverEnd:n,isDisabled:s}=t,[c,l]=d.useState(!1),a=d.useRef({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;d.useEffect(pn,[]);let{addGlobalListener:u,removeAllGlobalListeners:p}=Xo(),{hoverProps:x,triggerHoverEnd:j}=d.useMemo(()=>{let M=(g,$)=>{if(a.pointerType=$,s||$==="touch"||a.isHovered||!g.currentTarget.contains(g.target))return;a.isHovered=!0;let N=g.currentTarget;a.target=N,u(d3(g.target),"pointerover",V=>{a.isHovered&&a.target&&!Eo(a.target,V.target)&&b(V,V.pointerType)},{capture:!0}),r&&r({type:"hoverstart",target:N,pointerType:$}),o&&o(!0),l(!0)},b=(g,$)=>{let N=a.target;a.pointerType="",a.target=null,!($==="touch"||!a.isHovered||!N)&&(a.isHovered=!1,p(),n&&n({type:"hoverend",target:N,pointerType:$}),o&&o(!1),l(!1))},L={};return typeof PointerEvent<"u"?(L.onPointerEnter=g=>{D3&&g.pointerType==="mouse"||M(g,g.pointerType)},L.onPointerLeave=g=>{!s&&g.currentTarget.contains(g.target)&&b(g,g.pointerType)}):process.env.NODE_ENV==="test"&&(L.onTouchStart=()=>{a.ignoreEmulatedMouseEvents=!0},L.onMouseEnter=g=>{!a.ignoreEmulatedMouseEvents&&!D3&&M(g,"mouse"),a.ignoreEmulatedMouseEvents=!1},L.onMouseLeave=g=>{!s&&g.currentTarget.contains(g.target)&&b(g,"mouse")}),{hoverProps:L,triggerHoverEnd:b}},[r,o,n,s,a,u,p]);return d.useEffect(()=>{s&&j({currentTarget:a.target},a.pointerType)},[s]),{hoverProps:x,isHovered:c}}function xn(t,r,o){let{isDisabled:n,trigger:s}=t,c=No(),l=d.useRef(!1),a=d.useRef(!1),u=()=>{(l.current||a.current)&&r.open(a.current)},p=N=>{!l.current&&!a.current&&r.close(N)};d.useEffect(()=>{let N=V=>{o&&o.current&&V.key==="Escape"&&(V.stopPropagation(),r.close(!0))};if(r.isOpen)return document.addEventListener("keydown",N,!0),()=>{document.removeEventListener("keydown",N,!0)}},[o,r]);let x=()=>{s!=="focus"&&(_1()==="pointer"?l.current=!0:l.current=!1,u())},j=()=>{s!=="focus"&&(a.current=!1,l.current=!1,p())},M=()=>{a.current=!1,l.current=!1,p(!0)},b=()=>{cn()&&(a.current=!0,u())},L=()=>{a.current=!1,l.current=!1,p(!0)},{hoverProps:g}=jn({isDisabled:n,onHoverStart:x,onHoverEnd:j}),{focusableProps:$}=Cn({isDisabled:n,onFocus:b,onBlur:L},o);return{triggerProps:{"aria-describedby":r.isOpen?c:void 0,...e6($,g,{onPointerDown:M,onKeyDown:M}),tabIndex:void 0},tooltipProps:{id:c}}}function kn(t){let[r,o]=Yo(t.isOpen,t.defaultOpen||!1,t.onOpenChange);const n=d.useCallback(()=>{o(!0)},[o]),s=d.useCallback(()=>{o(!1)},[o]),c=d.useCallback(()=>{o(!r)},[o,r]);return{isOpen:r,setOpen:o,open:n,close:s,toggle:c}}const fn=1500,y6=500;let i3={},gn=0,M3=!1,X=null,c3=null;function Ln(t={}){let{delay:r=fn,closeDelay:o=y6}=t,{isOpen:n,open:s,close:c}=kn(t),l=d.useMemo(()=>`${++gn}`,[]),a=d.useRef(null),u=d.useRef(c),p=()=>{i3[l]=M},x=()=>{for(let L in i3)L!==l&&(i3[L](!0),delete i3[L])},j=()=>{a.current&&clearTimeout(a.current),a.current=null,x(),p(),M3=!0,s(),X&&(clearTimeout(X),X=null),c3&&(clearTimeout(c3),c3=null)},M=L=>{L||o<=0?(a.current&&clearTimeout(a.current),a.current=null,u.current()):a.current||(a.current=setTimeout(()=>{a.current=null,u.current()},o)),X&&(clearTimeout(X),X=null),M3&&(c3&&clearTimeout(c3),c3=setTimeout(()=>{delete i3[l],c3=null,M3=!1},Math.max(y6,o)))},b=()=>{x(),p(),!n&&!X&&!M3?X=setTimeout(()=>{X=null,M3=!0,j()},r):n||j()};return d.useEffect(()=>{u.current=c},[c]),d.useEffect(()=>()=>{a.current&&clearTimeout(a.current),i3[l]&&delete i3[l]},[l]),{isOpen:n,open:L=>{!L&&r>0&&!a.current?b():j()},close:M}}function vn({children:t,content:r,className:o,offset:n,delay:s,closeDelay:c,placement:l}){const a=Ln({delay:s,closeDelay:c}),u=d.useRef(null),{triggerProps:p,tooltipProps:x}=xn({},a,u),j=h(o,"tooltip");return e.jsxs(e.Fragment,{children:[e.jsx("span",{ref:u,className:"tooltip-trigger-wrapper",...p,children:t}),e.jsx(C.TooltipTriggerStateContext.Provider,{value:a,children:e.jsxs(C.Tooltip,{...x,triggerRef:u,className:j,offset:n,placement:l,children:[e.jsx(M6,{}),e.jsx("div",{className:"dialog dialog-type-card",children:r})]})})]})}function P1({children:t,content:r,className:o,offset:n=16,trigger:s="hover",delay:c=500,closeDelay:l=100,placement:a,...u}){const p=h(o,"tooltip");return s==="click"?e.jsxs(C.DialogTrigger,{children:[t,e.jsxs(C.Popover,{...u,className:p,offset:n,placement:a,children:[e.jsx(M6,{}),e.jsx(C.Dialog,{className:"dialog dialog-type-card","aria-label":"Tooltip",children:r})]})]}):e.jsx(vn,{content:r,className:o,offset:n,delay:c,closeDelay:l,placement:a,...u,children:t})}function M6({className:t,...r}){const o=h(t,"tooltip-overlay-arrow");return e.jsxs(C.OverlayArrow,{...r,className:o,children:[e.jsx("svg",{viewBox:"0 0 10 5",children:e.jsx("path",{d:"M0 0 L5 5 L10 0"})}),e.jsx("svg",{viewBox:"0 0 10 5",children:e.jsx("path",{d:"M0 0 L5 5 L10 0"})})]})}function $1({isAllowed:t,noAccessLabel:r,children:o}){const n=typeof o=="function"?o(t):o;return t?n:e.jsx(P1,{content:r,trigger:"hover",placement:"top",offset:4,children:e.jsx("span",{style:{display:"inline-flex"},children:n})})}function Mn({title:t,headerIcon:r,children:o,bodyPadding:n="24px",className:s,style:c}){return e.jsxs("div",{className:h("info-card",s),style:c,children:[e.jsxs("div",{className:"info-card-header",children:[e.jsx("span",{className:"info-card-header-title",children:t}),r&&e.jsx("span",{className:"info-card-header-icon",children:r})]}),e.jsx("div",{className:"info-card-body",style:{padding:n},children:o})]})}function mn({isOpen:t,title:r,message:o,confirmValue:n,confirmValueLabel:s,confirmLabel:c="Confirm",cancelLabel:l="Cancel",isDanger:a=!1,isLoading:u=!1,onConfirm:p,onClose:x}){const[j,M]=d.useState(""),b=n?j===n:!0;function L(){M(""),x()}function g(){b&&(M(""),p())}return t?e.jsx(B3,{isOpen:t,onOpenChange:$=>!$&&L(),children:e.jsxs(A3,{children:[e.jsxs(B,{direction:"row",alignPrimary:"space-between",alignSecondary:"center",children:[e.jsx(a6,{children:r}),e.jsx(l6,{onPress:L})]}),e.jsxs(d6,{children:[o&&e.jsx("p",{className:"confirm-dialog-message",dangerouslySetInnerHTML:{__html:o}}),n&&e.jsx(t1,{label:s,value:j,onChange:M,isRequired:!0})]}),e.jsxs(B,{direction:"row",gap:"200",alignPrimary:"end",className:"confirm-dialog-footer",children:[e.jsx(D,{variant:"neutral",onPress:L,isDisabled:u,children:l}),a?e.jsx(c6,{variant:"danger-primary",onPress:g,isDisabled:!b||u,children:u?"...":c}):e.jsx(D,{variant:"primary",onPress:g,isDisabled:!b||u,children:u?"...":c})]})]})}):null}function In(t,r){if(r<=6)return Array.from({length:r},(s,c)=>c+1);const o=[1,2,3],n=[r-1,r];return t<=4?[...o,"...",...n]:t>=r-3?[1,2,"...",r-2,r-1,r]:[1,"...",t-1,t,t+1,"...",r]}function bn({currentPage:t,totalPages:r,onPageChange:o,previousLabel:n,nextLabel:s}){const c=In(t,r);return e.jsxs("div",{className:"data-table-pagination",children:[e.jsxs("button",{onClick:()=>o(Math.max(1,t-1)),disabled:t===1,className:"data-table-page-btn data-table-page-nav","aria-label":n,children:[e.jsx(n6,{size:"16"}),n]}),e.jsx("div",{className:"data-table-page-numbers",children:c.map((l,a)=>l==="..."?e.jsx("span",{className:"data-table-page-ellipsis",children:"..."},`ellipsis-${a}`):e.jsx("button",{onClick:()=>o(l),className:`data-table-page-btn${l===t?" data-table-page-btn-active":""}`,children:l},l))}),e.jsxs("button",{onClick:()=>o(Math.min(r,t+1)),disabled:t===r,className:"data-table-page-btn data-table-page-nav","aria-label":s,children:[s,e.jsx(s6,{size:"16"})]})]})}function wn({action:t,item:r}){const o=t.isAllowed!==!1,n=e.jsx("button",{className:"data-table-row-action-btn","aria-label":t.label,disabled:!o,onClick:o?()=>t.onPress(r):void 0,children:t.icon});return o?n:e.jsx($1,{isAllowed:!1,noAccessLabel:t.noAccessLabel??"",children:n})}function N1({columns:t,data:r,actions:o,rowActions:n,rowActionsLabel:s="",searchPlaceholder:c="Search...",searchKeys:l=[],isLoading:a=!1,loadingMessage:u="Loading...",emptyMessage:p="No records found",previousLabel:x="Previous",nextLabel:j="Next",pageSize:M=10,nestedColumns:b,getNestedData:L,nestedLoadingMessage:g="Loading...",nestedEmptyMessage:$="No records found",nestedSearchKeys:N,nestedSearchPlaceholder:V,nestedActions:G,nestedPageSize:z}){const[_,W]=d.useState(""),[P,J]=d.useState(1),[y,m]=d.useState(new Set),[q,Y]=d.useState(new Map),n3=!!L&&!!b,e3=!!n;function k(f){const w=f.id;m(T=>{const s3=new Set(T);if(s3.has(w))s3.delete(w);else if(s3.add(w),!q.has(w)){const A=L(f);A instanceof Promise?(Y(v3=>new Map(v3).set(w,{status:"loading",data:[]})),A.then(v3=>{Y(W1=>new Map(W1).set(w,{status:"loaded",data:v3}))})):Y(v3=>new Map(v3).set(w,{status:"loaded",data:A}))}return s3})}const I=l.length>0,F=I||!!o,R=d.useMemo(()=>{if(!_.trim()||!I)return r;const f=_.toLowerCase();return r.filter(w=>l.some(T=>String(w[T]??"").toLowerCase().includes(f)))},[r,_,l,I]),K=Math.max(1,Math.ceil(R.length/M)),L3=Math.min(P,K),v=R.slice((L3-1)*M,L3*M);function H(f,w){return w.render?w.render(f):String(f[w.key]??"")}return e.jsxs(B,{direction:"column",gap:"300",className:"data-table",children:[F&&e.jsxs("div",{className:"data-table-toolbar",children:[I&&e.jsx(c1,{placeholder:c,onSearch:f=>{W(f),J(1)},className:"data-table-search"}),o&&e.jsx("div",{className:"data-table-actions",children:o})]}),a?e.jsx("div",{role:"status","aria-live":"polite","aria-label":u,className:"data-table-status",children:u}):R.length===0?e.jsx("div",{role:"status",className:"data-table-status data-table-empty",children:p}):e.jsxs(p1,{grid:!0,children:[e.jsxs(x1,{children:[n3&&e.jsx(p3,{className:"data-table-expand-col"}),t.map((f,w)=>e.jsx(p3,{align:f.align,isRowHeader:w===0,children:f.label},String(f.key))),e3&&e.jsx(p3,{align:"right",className:"data-table-row-actions-col",children:s})]}),e.jsx(j1,{children:v.flatMap(f=>{const w=y.has(f.id),T=q.get(f.id),s3=[e.jsxs(J3,{id:f.id,children:[n3&&e.jsx(l3,{className:"data-table-expand-cell",children:e.jsx("button",{className:"data-table-expand-btn","aria-label":w?"Collapse row":"Expand row","aria-expanded":w,onClick:()=>k(f),children:w?e.jsx(k3,{size:"16"}):e.jsx(S6,{size:"16"})})}),t.map(A=>e.jsx(l3,{align:A.align,children:H(f,A)},String(A.key))),e3&&e.jsx(l3,{align:"right",className:"data-table-row-actions-cell",children:e.jsx("div",{className:"data-table-row-actions",children:(typeof n=="function"?n(f):n).map(A=>e.jsx(wn,{action:A,item:f},A.key))})})]},f.id)];return w&&s3.push(e.jsx(J3,{id:`${f.id}-nested`,className:"data-table-nested-row",children:e.jsx(l3,{colSpan:t.length+1,className:"data-table-nested-cell",children:e.jsx(N1,{columns:b,data:(T==null?void 0:T.data)??[],isLoading:!T||T.status==="loading",loadingMessage:g,emptyMessage:$,searchKeys:N,searchPlaceholder:V,actions:G==null?void 0:G(f),pageSize:z??M})})},`${f.id}-nested`)),s3})})]}),K>1&&e.jsx(bn,{currentPage:L3,totalPages:K,onPageChange:J,previousLabel:x,nextLabel:j})]})}function Hn({isOpen:t,title:r,submitLabel:o="Save",cancelLabel:n="Cancel",isLoading:s=!1,isSubmitDisabled:c=!1,size:l="medium",onSubmit:a,onClose:u,children:p}){return t?e.jsx(B3,{isOpen:t,onOpenChange:x=>!x&&u(),children:e.jsxs(A3,{className:h("form-modal",`form-modal--${l}`),children:[e.jsxs(B,{direction:"row",alignPrimary:"space-between",alignSecondary:"center",children:[e.jsx(a6,{children:r}),e.jsx(l6,{onPress:u})]}),e.jsx(d6,{children:e.jsx(B,{direction:"column",gap:"300",children:p})}),e.jsxs(B,{direction:"row",gap:"200",alignPrimary:"end",className:"form-modal-footer",children:[e.jsx(D,{variant:"neutral",onPress:u,isDisabled:s,children:n}),e.jsx(D,{variant:"primary",onPress:a,isDisabled:c||s,children:s?"...":o})]})]})}):null}function Vn({title:t,subtitle:r}){return e.jsxs(B,{direction:"column",gap:"200",className:"page-header",children:[e.jsx(V3,{elementType:"h1",className:"page-header-title",children:t}),r&&e.jsx(V3,{className:"page-header-subtitle",children:r})]})}function _n({items:t,currentRoute:r,onNavigate:o}){const n=r.replace(/^\//,"");function s(c){return n===c||n.startsWith(c+"/")}return e.jsx("aside",{className:"sidebar",children:t.map(c=>{const l=s(c.key);return e.jsx("button",{onClick:()=>o(c.key),title:c.label,"aria-label":c.label,"data-active":l||void 0,className:"sidebar-item",children:c.icon},c.key)})})}exports.Accordion=Rt;exports.AccordionItem=At;exports.AnchorOrButton=f3;exports.Avatar=n4;exports.AvatarBlock=i4;exports.AvatarButton=s4;exports.AvatarGroup=c4;exports.Button=D;exports.ButtonDanger=c6;exports.ButtonGroup=l4;exports.Card=Mn;exports.Checkbox=R3;exports.CheckboxField=d4;exports.CheckboxGroup=a4;exports.CodeBlock=Bt;exports.CodeEditor=i6;exports.CodeEditorField=e4;exports.CodeEditorPanel=r4;exports.ConfirmDialog=mn;exports.DataTable=N1;exports.Description=O;exports.DestructiveIconButton=Y6;exports.Dialog=A3;exports.DialogBody=d6;exports.DialogButton=h4;exports.DialogClose=l6;exports.DialogDescription=u4;exports.DialogModal=B3;exports.DialogTitle=a6;exports.DialogTrigger=Q6;exports.ErrorNotification=W4;exports.Field=h6;exports.FieldError=U;exports.FieldGroup=j4;exports.Fieldset=C4;exports.Flex=B;exports.FlexItem=oo;exports.Form=x4;exports.FormModal=Hn;exports.Grid=so;exports.GridItem=io;exports.Icon=i;exports.IconActivity=y1;exports.IconAirplay=T1;exports.IconAlertCircle=S1;exports.IconAlertOctagon=Z1;exports.IconAlertTriangle=E1;exports.IconAlignCenter=D1;exports.IconAlignJustify=O1;exports.IconAlignLeft=F1;exports.IconAlignRight=R1;exports.IconAnchor=A1;exports.IconAperture=B1;exports.IconArchive=U1;exports.IconArrowDown=G1;exports.IconArrowDownCircle=z1;exports.IconArrowDownLeft=q1;exports.IconArrowDownRight=K1;exports.IconArrowLeft=n6;exports.IconArrowLeftCircle=X1;exports.IconArrowRight=s6;exports.IconArrowRightCircle=Q1;exports.IconArrowUp=J1;exports.IconArrowUpCircle=Y1;exports.IconArrowUpLeft=ee;exports.IconArrowUpRight=te;exports.IconAtSign=re;exports.IconAward=oe;exports.IconBarChart=ne;exports.IconBarChart2=se;exports.IconBattery=ie;exports.IconBatteryCharging=ce;exports.IconBell=le;exports.IconBellOff=ae;exports.IconBluetooth=de;exports.IconBold=he;exports.IconBook=ue;exports.IconBookOpen=Ce;exports.IconBookmark=pe;exports.IconBox=je;exports.IconBriefcase=xe;exports.IconButton=o3;exports.IconCalendar=ke;exports.IconCamera=fe;exports.IconCameraOff=ge;exports.IconCast=Le;exports.IconCheck=O3;exports.IconCheckCircle=ve;exports.IconCheckSquare=Me;exports.IconChevronDown=k3;exports.IconChevronLeft=me;exports.IconChevronRight=S6;exports.IconChevronUp=Z6;exports.IconChevronsDown=Ie;exports.IconChevronsLeft=be;exports.IconChevronsRight=we;exports.IconChevronsUp=He;exports.IconChrome=Ve;exports.IconCircle=_e;exports.IconClipboard=Pe;exports.IconClock=$e;exports.IconCloud=Ne;exports.IconCloudDrizzle=We;exports.IconCloudLightning=ye;exports.IconCloudOff=Te;exports.IconCloudRain=Se;exports.IconCloudSnow=Ze;exports.IconCode=Ee;exports.IconCodepen=De;exports.IconCodesandbox=Oe;exports.IconCoffee=Fe;exports.IconColumns=Re;exports.IconCommand=Ae;exports.IconCompass=Be;exports.IconCopy=E6;exports.IconCornerDownLeft=Ue;exports.IconCornerDownRight=Ge;exports.IconCornerLeftDown=ze;exports.IconCornerLeftUp=qe;exports.IconCornerRightDown=Ke;exports.IconCornerRightUp=Xe;exports.IconCornerUpLeft=Qe;exports.IconCornerUpRight=Je;exports.IconCpu=Ye;exports.IconCreditCard=e9;exports.IconCrop=t9;exports.IconCrosshair=r9;exports.IconDatabase=o9;exports.IconDelete=n9;exports.IconDisc=s9;exports.IconDivide=i9;exports.IconDivideCircle=c9;exports.IconDivideSquare=l9;exports.IconDollarSign=a9;exports.IconDownload=d9;exports.IconDownloadCloud=h9;exports.IconDribbble=u9;exports.IconDroplet=C9;exports.IconEdit=p9;exports.IconEdit2=j9;exports.IconEdit3=x9;exports.IconExternalLink=k9;exports.IconEye=f9;exports.IconEyeOff=g9;exports.IconFacebook=L9;exports.IconFastForward=v9;exports.IconFeather=M9;exports.IconFigma=m9;exports.IconFile=I9;exports.IconFileMinus=b9;exports.IconFilePlus=w9;exports.IconFileText=H9;exports.IconFilm=V9;exports.IconFilter=_9;exports.IconFlag=P9;exports.IconFolder=$9;exports.IconFolderMinus=N9;exports.IconFolderPlus=W9;exports.IconFramer=y9;exports.IconFrown=T9;exports.IconGift=S9;exports.IconGitBranch=Z9;exports.IconGitCommit=E9;exports.IconGitMerge=D9;exports.IconGitPullRequest=O9;exports.IconGithub=F9;exports.IconGitlab=R9;exports.IconGlobe=A9;exports.IconGrid=B9;exports.IconHardDrive=U9;exports.IconHash=G9;exports.IconHeadphones=z9;exports.IconHeart=q9;exports.IconHelpCircle=K9;exports.IconHexagon=X9;exports.IconHome=Q9;exports.IconImage=J9;exports.IconInbox=Y9;exports.IconInfo=e0;exports.IconInstagram=t0;exports.IconItalic=r0;exports.IconKey=o0;exports.IconLayers=n0;exports.IconLayout=s0;exports.IconLifeBuoy=i0;exports.IconLink=c0;exports.IconLink2=l0;exports.IconLinkedin=a0;exports.IconList=d0;exports.IconLoader=h0;exports.IconLock=u0;exports.IconLogIn=C0;exports.IconLogOut=p0;exports.IconMail=j0;exports.IconMap=x0;exports.IconMapPin=k0;exports.IconMaximize=f0;exports.IconMaximize2=g0;exports.IconMeh=L0;exports.IconMenu=v0;exports.IconMessageCircle=M0;exports.IconMessageSquare=m0;exports.IconMic=I0;exports.IconMicOff=b0;exports.IconMinimize=w0;exports.IconMinimize2=H0;exports.IconMinus=D6;exports.IconMinusCircle=V0;exports.IconMinusSquare=_0;exports.IconMonitor=P0;exports.IconMoon=$0;exports.IconMoreHorizontal=N0;exports.IconMoreVertical=W0;exports.IconMousePointer=y0;exports.IconMove=T0;exports.IconMusic=S0;exports.IconNavigation=Z0;exports.IconNavigation2=E0;exports.IconOctagon=D0;exports.IconPackage=O0;exports.IconPaperclip=F0;exports.IconPause=R0;exports.IconPauseCircle=A0;exports.IconPenTool=B0;exports.IconPercent=U0;exports.IconPhone=G0;exports.IconPhoneCall=z0;exports.IconPhoneForwarded=q0;exports.IconPhoneIncoming=K0;exports.IconPhoneMissed=X0;exports.IconPhoneOff=Q0;exports.IconPhoneOutgoing=J0;exports.IconPieChart=Y0;exports.IconPlay=e2;exports.IconPlayCircle=t2;exports.IconPlus=r2;exports.IconPlusCircle=o2;exports.IconPlusSquare=n2;exports.IconPocket=s2;exports.IconPower=i2;exports.IconPrinter=c2;exports.IconRadio=l2;exports.IconRefreshCcw=a2;exports.IconRefreshCw=d2;exports.IconRepeat=h2;exports.IconRewind=u2;exports.IconRotateCcw=C2;exports.IconRotateCw=p2;exports.IconRss=j2;exports.IconSave=x2;exports.IconScissors=k2;exports.IconSearch=O6;exports.IconSend=f2;exports.IconServer=g2;exports.IconSettings=L2;exports.IconShare=v2;exports.IconShare2=M2;exports.IconShield=m2;exports.IconShieldOff=I2;exports.IconShoppingBag=b2;exports.IconShoppingCart=w2;exports.IconShuffle=H2;exports.IconSidebar=V2;exports.IconSkipBack=_2;exports.IconSkipForward=P2;exports.IconSlack=$2;exports.IconSlash=N2;exports.IconSliders=W2;exports.IconSmartphone=y2;exports.IconSmile=T2;exports.IconSpeaker=S2;exports.IconSquare=Z2;exports.IconStar=E2;exports.IconStopCircle=D2;exports.IconSun=O2;exports.IconSunrise=F2;exports.IconSunset=R2;exports.IconTable=A2;exports.IconTablet=B2;exports.IconTag=U2;exports.IconTarget=G2;exports.IconTerminal=z2;exports.IconThermometer=q2;exports.IconThumbsDown=K2;exports.IconThumbsUp=X2;exports.IconToggleLeft=Q2;exports.IconToggleRight=J2;exports.IconTool=Y2;exports.IconTrash=et;exports.IconTrash2=tt;exports.IconTrashOutline=rt;exports.IconTrello=ot;exports.IconTrendingDown=nt;exports.IconTrendingUp=st;exports.IconTriangle=it;exports.IconTruck=ct;exports.IconTv=lt;exports.IconTwitch=at;exports.IconTwitter=dt;exports.IconType=ht;exports.IconUmbrella=ut;exports.IconUnderline=Ct;exports.IconUnlock=pt;exports.IconUpload=jt;exports.IconUploadCloud=xt;exports.IconUser=kt;exports.IconUserCheck=ft;exports.IconUserMinus=gt;exports.IconUserPlus=Lt;exports.IconUserX=vt;exports.IconUsers=Mt;exports.IconVideo=mt;exports.IconVideoOff=It;exports.IconVoicemail=bt;exports.IconVolume=wt;exports.IconVolume1=Ht;exports.IconVolume2=Vt;exports.IconVolumeX=_t;exports.IconWatch=Pt;exports.IconWifi=$t;exports.IconWifiOff=Nt;exports.IconWind=Wt;exports.IconX=x3;exports.IconXCircle=yt;exports.IconXOctagon=Tt;exports.IconXSquare=St;exports.IconYoutube=Zt;exports.IconZap=Et;exports.IconZapOff=Dt;exports.IconZoomIn=Ot;exports.IconZoomOut=Ft;exports.Image=e1;exports.Input=u6;exports.InputField=t1;exports.Keyboard=J6;exports.Label=Z;exports.Legend=p4;exports.Link=r1;exports.ListBox=C6;exports.ListBoxItem=p6;exports.Logo=L4;exports.Menu=o1;exports.MenuButton=v4;exports.MenuDescription=V4;exports.MenuHeader=m4;exports.MenuHeading=b4;exports.MenuItem=M4;exports.MenuLabel=H4;exports.MenuPopover=s1;exports.MenuSection=I4;exports.MenuSeparator=w4;exports.MenuShortcut=_4;exports.MenuTrigger=n1;exports.Navigation=P4;exports.NavigationButton=N4;exports.NavigationPill=$4;exports.Notification=j6;exports.PageHeader=Vn;exports.Pagination=T4;exports.PaginationGap=O4;exports.PaginationList=E4;exports.PaginationNext=Z4;exports.PaginationPage=D4;exports.PaginationPrevious=S4;exports.PermissionGate=$1;exports.Picture=f4;exports.PictureSource=g4;exports.Radio=i1;exports.RadioField=R4;exports.RadioGroup=F4;exports.Search=c1;exports.Section=no;exports.Select=l1;exports.SelectField=A4;exports.SelectItem=B4;exports.Sidebar=_n;exports.Slider=a1;exports.SliderField=U4;exports.SliderOutput=d1;exports.SliderThumb=h1;exports.SliderTrack=u1;exports.SuccessNotification=y4;exports.Switch=C1;exports.SwitchField=z4;exports.SwitchGroup=G4;exports.Tab=q4;exports.TabList=K4;exports.TabPanel=X4;exports.Table=p1;exports.TableBody=j1;exports.TableCell=l3;exports.TableColumn=p3;exports.TableHead=x1;exports.TableRow=J3;exports.Tabs=Q4;exports.Tag=J4;exports.TagButton=Y4;exports.TagToggle=eo;exports.TagToggleGroup=to;exports.TagToggleList=ro;exports.Text=V3;exports.TextCode=ho;exports.TextContentHeading=xo;exports.TextContentTitle=ko;exports.TextEmphasis=lo;exports.TextHeading=P3;exports.TextInput=uo;exports.TextLink=ao;exports.TextLinkList=jo;exports.TextList=M1;exports.TextListItem=po;exports.TextPrice=Co;exports.TextSmall=k1;exports.TextSmallStrong=co;exports.TextStrong=f1;exports.TextSubheading=v1;exports.TextSubtitle=L1;exports.TextTitleHero=g1;exports.TextTitlePage=k6;exports.Textarea=m1;exports.TextareaField=fo;exports.Tooltip=P1;exports.TooltipOverlayArrow=M6;exports.formEventTargetToFormData=k4;exports.useCustomMediaQuery=u3;exports.useMediaQuery=x6;
11
+ `},V6=kr(vr)(F6),Mr={config:gr},mr=function(){for(var r=arguments.length,o=new Array(r),n=0;n<r;n++)o[n]=arguments[n];return function(s){return o.reduceRight(function(c,l){return l(c)},s)}};function R6(t,r){return Object.keys(r).forEach(function(o){r[o]instanceof Object&&t[o]&&Object.assign(r[o],R6(t[o],r[o]))}),b6(b6({},t),r)}var Ir={type:"cancelation",msg:"operation is manually canceled"};function z3(t){var r=!1,o=new Promise(function(n,s){t.then(function(c){return r?s(Ir):n(c)}),t.catch(s)});return o.cancel=function(){return r=!0},o}var br=["monaco"],wr=jr.create({config:xr,isInitialized:!1,resolve:null,reject:null,monaco:null}),A6=Qt(wr,2),_3=A6[0],F3=A6[1];function Hr(t){var r=Mr.config(t),o=r.monaco,n=Kt(r,br);F3(function(s){return{config:R6(s.config,n),monaco:o}})}function Vr(){var t=_3(function(r){var o=r.monaco,n=r.isInitialized,s=r.resolve;return{monaco:o,isInitialized:n,resolve:s}});if(!t.isInitialized){if(F3({isInitialized:!0}),t.monaco)return t.resolve(t.monaco),z3(q3);if(window.monaco&&window.monaco.editor)return B6(window.monaco),t.resolve(window.monaco),z3(q3);mr(_r,$r)(Nr)}return z3(q3)}function _r(t){return document.body.appendChild(t)}function Pr(t){var r=document.createElement("script");return t&&(r.src=t),r}function $r(t){var r=_3(function(n){var s=n.config,c=n.reject;return{config:s,reject:c}}),o=Pr("".concat(r.config.paths.vs,"/loader.js"));return o.onload=function(){return t()},o.onerror=r.reject,o}function Nr(){var t=_3(function(o){var n=o.config,s=o.resolve,c=o.reject;return{config:n,resolve:s,reject:c}}),r=window.require;r.config(t.config),r(["vs/editor/editor.main"],function(o){var n=o.m||o;B6(n),t.resolve(n)},function(o){t.reject(o)})}function B6(t){_3().monaco||F3({monaco:t})}function Wr(){return _3(function(t){var r=t.monaco;return r})}var q3=new Promise(function(t,r){return F3({resolve:t,reject:r})}),U6={config:Hr,init:Vr,__getMonacoInstance:Wr},yr={wrapper:{display:"flex",position:"relative",textAlign:"initial"},fullWidth:{width:"100%"},hide:{display:"none"}},K3=yr,Tr={container:{display:"flex",height:"100%",width:"100%",justifyContent:"center",alignItems:"center"}},Sr=Tr;function Zr({children:t}){return d.createElement("div",{style:Sr.container},t)}var Er=Zr,Dr=Er;function Or({width:t,height:r,isEditorReady:o,loading:n,_ref:s,className:c,wrapperProps:l}){return d.createElement("section",{style:{...K3.wrapper,width:t,height:r},...l},!o&&d.createElement(Dr,null,n),d.createElement("div",{ref:s,style:{...K3.fullWidth,...!o&&K3.hide},className:c}))}var Fr=Or,G6=d.memo(Fr);function Rr(t){d.useEffect(t,[])}var z6=Rr;function Ar(t,r,o=!0){let n=d.useRef(!0);d.useEffect(n.current||!o?()=>{n.current=!1}:t,r)}var S=Ar;function b3(){}function C3(t,r,o,n){return Br(t,n)||Ur(t,r,o,n)}function Br(t,r){return t.editor.getModel(q6(t,r))}function Ur(t,r,o,n){return t.editor.createModel(r,o,n?q6(t,n):void 0)}function q6(t,r){return t.Uri.parse(r)}function Gr({original:t,modified:r,language:o,originalLanguage:n,modifiedLanguage:s,originalModelPath:c,modifiedModelPath:l,keepCurrentOriginalModel:a=!1,keepCurrentModifiedModel:u=!1,theme:p="light",loading:x="Loading...",options:j={},height:M="100%",width:b="100%",className:L,wrapperProps:g={},beforeMount:$=b3,onMount:N=b3}){let[V,G]=d.useState(!1),[z,_]=d.useState(!0),W=d.useRef(null),P=d.useRef(null),Y=d.useRef(null),y=d.useRef(N),m=d.useRef($),q=d.useRef(!1);z6(()=>{let k=U6.init();return k.then(I=>(P.current=I)&&_(!1)).catch(I=>(I==null?void 0:I.type)!=="cancelation"&&console.error("Monaco initialization: error:",I)),()=>W.current?K():k.cancel()}),S(()=>{if(W.current&&P.current){let k=W.current.getOriginalEditor(),I=C3(P.current,t||"",n||o||"text",c||"");I!==k.getModel()&&k.setModel(I)}},[c],V),S(()=>{if(W.current&&P.current){let k=W.current.getModifiedEditor(),I=C3(P.current,r||"",s||o||"text",l||"");I!==k.getModel()&&k.setModel(I)}},[l],V),S(()=>{let k=W.current.getModifiedEditor();k.getOption(P.current.editor.EditorOption.readOnly)?k.setValue(r||""):r!==k.getValue()&&(k.executeEdits("",[{range:k.getModel().getFullModelRange(),text:r||"",forceMoveMarkers:!0}]),k.pushUndoStop())},[r],V),S(()=>{var k,I;(I=(k=W.current)==null?void 0:k.getModel())==null||I.original.setValue(t||"")},[t],V),S(()=>{let{original:k,modified:I}=W.current.getModel();P.current.editor.setModelLanguage(k,n||o||"text"),P.current.editor.setModelLanguage(I,s||o||"text")},[o,n,s],V),S(()=>{var k;(k=P.current)==null||k.editor.setTheme(p)},[p],V),S(()=>{var k;(k=W.current)==null||k.updateOptions(j)},[j],V);let e3=d.useCallback(()=>{var F;if(!P.current)return;m.current(P.current);let k=C3(P.current,t||"",n||o||"text",c||""),I=C3(P.current,r||"",s||o||"text",l||"");(F=W.current)==null||F.setModel({original:k,modified:I})},[o,r,s,t,n,c,l]),n3=d.useCallback(()=>{var k;!q.current&&Y.current&&(W.current=P.current.editor.createDiffEditor(Y.current,{automaticLayout:!0,...j}),e3(),(k=P.current)==null||k.editor.setTheme(p),G(!0),q.current=!0)},[j,p,e3]);d.useEffect(()=>{V&&y.current(W.current,P.current)},[V]),d.useEffect(()=>{!z&&!V&&n3()},[z,V,n3]);function K(){var I,F,R,X;let k=(I=W.current)==null?void 0:I.getModel();a||((F=k==null?void 0:k.original)==null||F.dispose()),u||((R=k==null?void 0:k.modified)==null||R.dispose()),(X=W.current)==null||X.dispose()}return d.createElement(G6,{width:b,height:M,isEditorReady:V,loading:x,_ref:Y,className:L,wrapperProps:g})}var zr=Gr;d.memo(zr);function qr(t){let r=d.useRef();return d.useEffect(()=>{r.current=t},[t]),r.current}var Kr=qr,N3=new Map;function Xr({defaultValue:t,defaultLanguage:r,defaultPath:o,value:n,language:s,path:c,theme:l="light",line:a,loading:u="Loading...",options:p={},overrideServices:x={},saveViewState:j=!0,keepCurrentModel:M=!1,width:b="100%",height:L="100%",className:g,wrapperProps:$={},beforeMount:N=b3,onMount:V=b3,onChange:G,onValidate:z=b3}){let[_,W]=d.useState(!1),[P,Y]=d.useState(!0),y=d.useRef(null),m=d.useRef(null),q=d.useRef(null),e3=d.useRef(V),n3=d.useRef(N),K=d.useRef(),k=d.useRef(n),I=Kr(c),F=d.useRef(!1),R=d.useRef(!1);z6(()=>{let v=U6.init();return v.then(H=>(y.current=H)&&Y(!1)).catch(H=>(H==null?void 0:H.type)!=="cancelation"&&console.error("Monaco initialization: error:",H)),()=>m.current?L3():v.cancel()}),S(()=>{var H,f,w,T;let v=C3(y.current,t||n||"",r||s||"",c||o||"");v!==((H=m.current)==null?void 0:H.getModel())&&(j&&N3.set(I,(f=m.current)==null?void 0:f.saveViewState()),(w=m.current)==null||w.setModel(v),j&&((T=m.current)==null||T.restoreViewState(N3.get(c))))},[c],_),S(()=>{var v;(v=m.current)==null||v.updateOptions(p)},[p],_),S(()=>{!m.current||n===void 0||(m.current.getOption(y.current.editor.EditorOption.readOnly)?m.current.setValue(n):n!==m.current.getValue()&&(R.current=!0,m.current.executeEdits("",[{range:m.current.getModel().getFullModelRange(),text:n,forceMoveMarkers:!0}]),m.current.pushUndoStop(),R.current=!1))},[n],_),S(()=>{var H,f;let v=(H=m.current)==null?void 0:H.getModel();v&&s&&((f=y.current)==null||f.editor.setModelLanguage(v,s))},[s],_),S(()=>{var v;a!==void 0&&((v=m.current)==null||v.revealLine(a))},[a],_),S(()=>{var v;(v=y.current)==null||v.editor.setTheme(l)},[l],_);let X=d.useCallback(()=>{var v;if(!(!q.current||!y.current)&&!F.current){n3.current(y.current);let H=c||o,f=C3(y.current,n||t||"",r||s||"",H||"");m.current=(v=y.current)==null?void 0:v.editor.create(q.current,{model:f,automaticLayout:!0,...p},x),j&&m.current.restoreViewState(N3.get(H)),y.current.editor.setTheme(l),a!==void 0&&m.current.revealLine(a),W(!0),F.current=!0}},[t,r,o,n,s,c,p,x,j,l,a]);d.useEffect(()=>{_&&e3.current(m.current,y.current)},[_]),d.useEffect(()=>{!P&&!_&&X()},[P,_,X]),k.current=n,d.useEffect(()=>{var v,H;_&&G&&((v=K.current)==null||v.dispose(),K.current=(H=m.current)==null?void 0:H.onDidChangeModelContent(f=>{R.current||G(m.current.getValue(),f)}))},[_,G]),d.useEffect(()=>{if(_){let v=y.current.editor.onDidChangeMarkers(H=>{var w;let f=(w=m.current.getModel())==null?void 0:w.uri;if(f&&H.find(T=>T.path===f.path)){let T=y.current.editor.getModelMarkers({resource:f});z==null||z(T)}});return()=>{v==null||v.dispose()}}return()=>{}},[_,z]);function L3(){var v,H;(v=K.current)==null||v.dispose(),M?j&&N3.set(c,m.current.saveViewState()):(H=m.current.getModel())==null||H.dispose(),m.current.dispose()}return d.createElement(G6,{width:b,height:L,isEditorReady:_,loading:u,_ref:q,className:g,wrapperProps:$})}var Qr=Xr,Jr=d.memo(Qr),Yr=Jr;function i6({value:t,defaultValue:r,onChange:o,language:n="javascript",theme:s="vs",height:c="300px",isDisabled:l=!1,isReadOnly:a=!1,options:u,className:p,editorRef:x}){const[j,M]=d.useState(!1),b=d.useRef(null);function L($,N){x&&(x.current=$),$.onDidFocusEditorWidget(()=>M(!0)),$.onDidBlurEditorWidget(()=>M(!1))}const g=h("code-editor-wrapper",p,{"code-editor-focused":j,"code-editor-disabled":l});return e.jsx("div",{ref:b,className:g,"data-disabled":l||void 0,style:{height:c},children:e.jsx(Yr,{height:"100%",value:t,defaultValue:r,language:n,theme:s,onChange:o,onMount:L,loading:e.jsx("div",{className:"code-editor-loading"}),options:{readOnly:a||l,minimap:{enabled:!1},scrollBeyondLastLine:!1,fontSize:13,lineNumbersMinChars:3,...u}})})}function e4({className:t,label:r,description:o,errorMessage:n,...s}){const c=d.useId(),l=h(t,"field");return e.jsxs("div",{className:l,children:[r&&e.jsx(Z,{htmlFor:c,children:r}),e.jsx(i6,{...s}),o&&e.jsx(O,{children:o}),n&&typeof n=="string"&&e.jsx(U,{children:n})]})}const t4="Clique no editor e pressione F1 para visualizar os atalhos do teclado";function r4({title:t,shortcutHint:r=t4,onBeautify:o,className:n,isDisabled:s=!1,isReadOnly:c=!1,...l}){const a=d.useRef(null),u=!s&&!c;function p(){var x,j;if(o){o();return}(j=(x=a.current)==null?void 0:x.getAction("editor.action.formatDocument"))==null||j.run()}return e.jsxs("div",{className:h("code-editor-panel",n),children:[u&&e.jsxs("div",{className:"code-editor-panel-header",children:[e.jsxs("div",{className:"code-editor-panel-title-group",children:[e.jsx("span",{className:"code-editor-panel-title",children:t}),r&&e.jsxs("span",{className:"code-editor-panel-hint",children:["(",r,")"]})]}),e.jsx(D,{size:"small",variant:"primary",onPress:p,children:"Beautify"})]}),e.jsx(i6,{...l,isDisabled:s,isReadOnly:c,editorRef:a})]})}function o4(t){return"href"in t}const f3=d.forwardRef(function(r,o){const{style:n,...s}=r;return o4(r)?e.jsx(C.Link,{...s,className:r.className,ref:o,children:r.children}):e.jsx(C.Button,{...s,className:r.className,ref:o,children:r.children})});function K6({initials:t,src:r,alt:o}){return e.jsxs(e.Fragment,{children:[t&&e.jsxs("svg",{viewBox:"0 0 100 100","aria-hidden":o?void 0:"true",children:[o&&e.jsx("title",{children:o}),e.jsx("text",{x:"50%",y:"50%",alignmentBaseline:"middle",dominantBaseline:"middle",textAnchor:"middle",dy:".125em",children:t})]}),r&&e.jsx("img",{src:r,alt:o})]})}function n4({className:t,src:r=null,square:o=!1,initials:n,alt:s="",size:c="medium",...l}){const a=h(t,"avatar",`avatar-size-${c}`,`avatar-shape-${o?"square":"circle"}`,r?"avatar-image":"avatar-initials");return e.jsx("span",{className:a,...l,children:K6({initials:n,src:r,alt:s})})}const s4=d.forwardRef(function({className:r,src:o=null,square:n=!1,initials:s,alt:c="",size:l="medium",...a},u){const p=h(r,"avatar","avatar-button",`avatar-size-${l}`,`avatar-shape-${n?"square":"circle"}`,o?"avatar-image":"avatar-initials");return e.jsx(f3,{...a,className:p,ref:u,children:K6({initials:s,src:o,alt:c})})}),i4=({className:t,children:r,title:o,description:n,...s})=>{const c=h(t,"avatar-block");return e.jsxs("div",{className:c,...s,children:[r,e.jsx(f1,{slot:"label",children:o}),n&&e.jsx(V3,{slot:"description",children:n})]})},c4=({className:t,children:r,max:o=3,spacing:n="200",...s})=>{const c=h(t,"avatar-group",`avatar-group-spacing-${n}`),l=d.Children.toArray(r),a=l.length,u=Math.max(0,a-o),p=l.splice(0,a-u);return e.jsxs("div",{className:c,...s,children:[p,u>0&&e.jsxs("span",{className:"avatar-group-overflow",children:["+",u]})]})},D=d.forwardRef(function({className:r,size:o="medium",variant:n="primary",...s},c){const l=h(r,"button",`button-size-${o}`,`button-variant-${n}`),{style:a,...u}=s;return X6(s)?e.jsx(C.Link,{...u,className:l,ref:c,children:s.children}):e.jsx(C.Button,{...u,className:l,ref:c,children:s.children})}),c6=d.forwardRef(function({className:r,size:o="medium",variant:n="danger-primary",...s},c){const l=h(r,"button",`button-size-${o}`,`button-variant-${n}`),{style:a,...u}=s;return X6(s)?e.jsx(C.Link,{...u,className:l,ref:c,children:s.children}):e.jsx(C.Button,{...u,className:l,ref:c,children:s.children})});function X6(t){return"href"in t}const l4=({align:t="start",className:r,...o})=>{const n=h(r,"button-group",`button-group-align-${t}`);return e.jsx("div",{className:n,...o})};function a4({className:t,label:r,description:o,errorMessage:n,children:s,...c}){const l=h(t,"checkbox-group");return e.jsxs(C.CheckboxGroup,{...c,className:l,children:[r&&e.jsx(Z,{children:r}),o&&e.jsx(O,{children:o}),n&&e.jsx(U,{children:n}),s]})}function d4({children:t,className:r,label:o,description:n,errorMessage:s,...c}){const l=h(r,"checkbox-field"),a=o||(typeof t=="string"?t:void 0);return e.jsx(C.Checkbox,{className:l,...c,children:e.jsxs(e.Fragment,{children:[e.jsx(Z,{children:a}),e.jsx(R3,{}),n&&e.jsx(O,{children:n}),e.jsx(U,{children:s}),a!==t&&t]})})}function R3({className:t,...r}){const o=h(t,"checkbox");return e.jsxs("div",{className:o,...r,children:[e.jsx(D6,{"aria-hidden":"true",className:"icon-indeterminate",size:"16"}),e.jsx(O3,{"aria-hidden":"true",className:"icon-selected",size:"16"})]})}function A3({className:t,type:r="card",...o}){const n=h(t,"dialog",`dialog-type-${r}`);return e.jsx(C.Dialog,{className:n,...o})}const l6=({onPress:t})=>e.jsx(o3,{className:"dialog-close","aria-label":"Dismiss dialog",onPress:t,variant:"subtle",size:"small",children:e.jsx(x3,{})});function Q6({...t}){return e.jsx(C.DialogTrigger,{...t})}function h4({label:t,icon:r,variant:o,children:n,...s}){return e.jsxs(Q6,{children:[r?e.jsx(o3,{variant:o,"aria-label":t,children:r}):e.jsx(D,{variant:o,children:t}),e.jsx(B3,{isDismissable:!0,children:e.jsx(A3,{...s,children:n})})]})}function a6({className:t,...r}){const o=h(t,"dialog-title");return e.jsx(P3,{...r,slot:"title",className:o})}function u4({className:t,...r}){const o=h(t,"dialog-description");return e.jsx(V3,{...r,className:o})}function d6({bleed:t,className:r,...o}){const n=h(r,"dialog-body",t&&"dialog-body-bleed");return e.jsx("div",{...o,className:n})}function B3({children:t,className:r,isDismissable:o,...n}){const s=h(r,"dialog-backdrop");return e.jsx(C.ModalOverlay,{className:s,...n,children:e.jsx(C.Modal,{className:"dialog-container",children:t})})}function C4({...t}){const r=h("fieldset");return e.jsx("fieldset",{...t,className:r})}function p4({...t}){const r=h("legend");return e.jsx("legend",{...t,className:r})}function j4({...t}){const r=h("field-group");return e.jsx("div",{...t,className:r})}function x4({className:t,singleLine:r,...o}){const n=h(t,"form",r&&"form-single-line");return e.jsx(C.Form,{className:n,...o})}function k4(t){const r=s=>Array.isArray(s),o=new FormData(t),n={};return o.forEach((s,c)=>{if(!Reflect.has(n,c)){n[c]=s;return}const l=n[c];r(l)?l.push(s):n[c]=[l,s]}),n}function h6({className:t,...r}){const o=h(t,"field");return e.jsx("div",{className:o,...r})}function Z({className:t,...r}){const o=h(t,"label");return e.jsx(C.Label,{className:o,slot:"label",...r})}function O({className:t,...r}){const o=h(t,"description");return e.jsx(C.Text,{className:o,slot:"description",...r})}function U({className:t,...r}){const o=h(t,"error-message");return e.jsx(C.FieldError,{...r,className:o})}function J6({className:t,children:r,...o}){const n=h(t,"keyboard"),s=typeof r=="string"?r.split("").map(c=>e.jsx("kbd",{children:c},c)):r;return e.jsx(C.Keyboard,{...o,className:n,children:s})}function i({size:t="16",children:r,className:o}){return e.jsx("svg",{className:h(o,"icon",`icon-size-${t}`),width:t,height:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:r})}const o3=d.forwardRef(function({className:r,...o},n){const s=h(r,"icon-button");return e.jsx(D,{...o,...n,className:s})}),Y6=d.forwardRef(function(r,o){return e.jsx(c6,{...r,...o,className:"icon-button"})});function e1({aspectRatio:t="natural",className:r,size:o="natural",variant:n="rounded",...s}){const[c,l]=d.useState(!1),a=h(r,"image",`image-aspect-ratio-${t}`,`image-size-${o}`,`image-variant-${n}`,!c&&"image-loading");return e.jsxs(e.Fragment,{children:[!c&&e.jsx("span",{className:h("image-placeholder",a)}),s.src&&e.jsx("img",{className:a,...s,onLoad:()=>l(!0)})]})}function f4({className:t,...r}){const o=h(t,"picture");return e.jsx("picture",{className:o,...r})}function g4({...t}){return e.jsx("source",{...t})}function t1({className:t,placeholder:r,label:o,description:n,errorMessage:s,...c}){const l=h(t,"field");return e.jsxs(C.TextField,{className:l,...c,children:[o&&e.jsx(Z,{children:o}),e.jsx(u6,{placeholder:r}),n&&e.jsx(O,{children:n}),e.jsx(U,{children:s})]})}const u6=d.forwardRef(function({className:r,...o},n){const s=h(r,"input");return e.jsx(C.Input,{className:s,ref:n,...o})}),r1=d.forwardRef(function(r,o){const n=h("link",r.className);return e.jsx("a",{...r,ref:o,className:n})});function C6({children:t,className:r,...o}){const n=h(r,"list-box");return e.jsx(C.ListBox,{className:n,...o,children:t})}function p6({className:t,...r}){const o=h(t,"list-box-item");return e.jsx(C.ListBoxItem,{className:o,...r})}function L4({className:t,...r}){const o=h(t,"logo");return e.jsx(f3,{className:o,...r,"aria-label":"Company logo",children:e.jsxs("svg",{width:"172",height:"247",viewBox:"0 0 172 247",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e.jsx("path",{d:"M164 46.5C164 67.763 146.763 85 125.5 85L86 85L86 8.0001L125.5 8.0001C146.763 8.0001 164 25.2371 164 46.5V46.5Z",stroke:"var(--logo-color)",strokeWidth:"15.081"}),e.jsx("path",{d:"M8 46.5C8 67.763 25.237 85 46.5 85L86 85L86 8.0001L46.5 8.0001C25.237 8.0001 8 25.2371 8 46.5V46.5Z",stroke:"var(--logo-color)",strokeWidth:"15.081"}),e.jsx("path",{d:"M8 123.501C8 144.764 25.237 162.001 46.5 162.001H86L86 85.0011L46.5 85.0011C25.237 85.0011 8 102.238 8 123.501V123.501Z",stroke:"var(--logo-color)",strokeWidth:"15.081"}),e.jsx("path",{d:"M8 200.5C8 221.763 25.4854 239 46.7484 239V239C68.2875 239 86 221.539 86 200L86 162H46.5C25.237 162 8 179.237 8 200.5V200.5Z",stroke:"var(--logo-color)",strokeWidth:"15.081"}),e.jsx("path",{d:"M86 123.501C86 144.764 103.237 162.001 124.5 162.001H125.5C146.763 162.001 164 144.764 164 123.501V123.501C164 102.238 146.763 85.0011 125.5 85.0011H124.5C103.237 85.0011 86 102.238 86 123.501V123.501Z",stroke:"var(--logo-color)",strokeWidth:"15.081"})]})})}function o1({className:t,...r}){return e.jsx(C.Menu,{className:h(t,"menu"),...r})}function n1({...t}){return e.jsx(C.MenuTrigger,{...t})}function v4({label:t,children:r,icon:o,placement:n,variant:s,...c}){return e.jsxs(n1,{children:[o?e.jsx(o3,{variant:s,"aria-label":t,children:o}):e.jsx(D,{variant:s,children:t}),e.jsx(s1,{placement:n,children:e.jsx(o1,{...c,children:r})})]})}function s1({...t}){return e.jsx(C.Popover,{...t})}function M4({className:t,...r}){const o=h(t,"menu-item"),n=r.textValue||(typeof r.children=="string"?r.children:void 0);return e.jsx(C.MenuItem,{...r,className:o,textValue:n,children:({hasSubmenu:s})=>e.jsxs(e.Fragment,{children:[r.children,s&&e.jsx(k3,{})]})})}function m4({className:t,...r}){const o=h(t,"menu-header");return e.jsx("div",{...r,className:o})}function I4({className:t,...r}){const o=h(t,"menu-section");return e.jsx("div",{...r,className:o})}function b4({className:t,...r}){const o=h(t,"menu-heading");return e.jsx(P3,{...r,className:o})}function w4({className:t,...r}){const o=h(t,"menu-separator");return e.jsx(C.Separator,{...r,className:o})}function H4({className:t,...r}){const o=h(t,"menu-label");return e.jsx(Z,{...r,className:o})}function V4({className:t,...r}){const o=h(t,"menu-description");return e.jsx(O,{...r,className:o})}function _4({children:t,className:r,...o}){const n=h(r,"menu-shortcut");return e.jsx(J6,{...o,className:n,children:t})}function P4({className:t,direction:r="row",...o}){const n=h(t,"navigation",`navigation-direction-${r}`);return e.jsx("nav",{className:n,...o})}function $4({className:t,isSelected:r,...o}){const n=h(t,"navigation-pill");return e.jsx(f3,{"data-selected":r||void 0,className:n,...o})}function N4({children:t,className:r,isSelected:o,icon:n,direction:s="column",size:c="medium",...l}){const a=h(r,"navigation-button",`navigation-button-direction-${s}`,`navigation-button-size-${c}`);return e.jsxs(f3,{"data-selected":o||void 0,className:a,...l,children:[n,t]})}function j6({children:t,className:r,isDismissible:o,icon:n,variant:s="message",...c}){const l=h(r,"notification",`notification-variant-${s}`);return e.jsxs("div",{className:l,...c,children:[n&&e.jsx("span",{className:"notification-icon",children:n}),e.jsx("div",{className:"notification-content",children:t}),o&&(s==="alert"?e.jsx(Y6,{size:"small",variant:"danger-subtle","aria-label":"Dismiss notification",children:e.jsx(x3,{})}):e.jsx(o3,{size:"small",variant:"subtle","aria-label":"Dismiss notification",children:e.jsx(x3,{})}))]})}function W4({message:t,style:r}){return t?e.jsx(j6,{variant:"alert",style:{marginBottom:"1rem",...r},children:t}):null}function y4({message:t,style:r}){return t?e.jsx(j6,{style:{marginBottom:"1rem",...r},children:t}):null}const h3={tablet:600,desktop:1024};function u3(t){const[r,o]=d.useMemo(()=>{const n=globalThis.matchMedia(t);function s(l){return n.addEventListener("change",l),()=>n.removeEventListener("change",l)}return[s,()=>n.matches]},[t]);return d.useSyncExternalStore(r,o)}const x6=()=>{const t=u3(`(max-width: ${h3.tablet-1}px)`),r=u3(`(min-width: ${h3.tablet}px) and (max-width: ${h3.desktop-1}px)`),o=u3(`(min-width: ${h3.desktop}px)`),n=u3(`(min-width: ${h3.tablet}px)`),s=u3(`(max-width: ${h3.desktop-1}px)`);return d.useMemo(()=>({isMobile:t,isTablet:r,isDesktop:o,isTabletUp:n,isTabletDown:s}),[t,r,o,n,s])};function T4({"aria-label":t="Page navigation",className:r,...o}){const n=h("pagination");return e.jsx("nav",{"aria-label":t,...o,className:n})}function S4({href:t=null,children:r="Previous"}){return e.jsxs(D,{...t===null?{disabled:!0}:{href:t},variant:"subtle","aria-label":"Previous page",children:[e.jsx(n6,{}),r]})}function Z4({href:t=null,children:r="Next"}){return e.jsxs(D,{...t===null?{disabled:!0}:{href:t},variant:"subtle","aria-label":"Next page",children:[r,e.jsx(s6,{})]})}function E4({children:t}){const{isTabletUp:r}=x6();return r&&e.jsx("span",{className:"pagination-list",children:t})}function D4({href:t,children:r,current:o=!1}){return e.jsx(D,{href:t,"aria-label":`Page ${r}`,"aria-current":o?"page":void 0,variant:o?"primary":"subtle",className:h(),children:e.jsx("span",{className:"",children:r})})}function O4(){return e.jsx("div",{"aria-hidden":"true",className:"",children:"…"})}function F4({className:t,label:r,description:o,errorMessage:n,children:s,...c}){const l=h(t,"radio-group");return e.jsxs(C.RadioGroup,{...c,className:l,children:[r&&e.jsx(Z,{children:r}),o&&e.jsx(O,{children:o}),n&&e.jsx(U,{children:n}),s]})}function R4({children:t,className:r,label:o,description:n,errorMessage:s,...c}){const l=h(r,"radio-field"),a=o||(typeof t=="string"?t:void 0);return e.jsx(C.Radio,{className:l,...c,children:e.jsxs(e.Fragment,{children:[e.jsx(Z,{children:a}),e.jsx(i1,{}),n&&e.jsx(O,{children:n}),e.jsx(U,{children:s}),a!==t&&t]})})}function i1({className:t,...r}){const o=h(t,"radio");return e.jsx("div",{className:o,...r,children:e.jsx("span",{"aria-hidden":"true",className:"radio-check"})})}const c1=d.forwardRef(function({className:r,results:o,onSearch:n,...s},c){const[l,a]=d.useState(""),u=d.useRef(null),p=j=>{a(j),n&&n(j)},x=h(r,"search-input-container");return e.jsxs(C.ComboBox,{className:x,children:[e.jsx(Z,{hidden:!0,children:s["aria-label"]||"Search"}),e.jsx(u6,{type:"search",className:"search-input",value:l,onInput:j=>p(j.currentTarget.value),ref:j=>{u.current=j,typeof c=="function"?c(j):c&&(c.current=j)},...s}),e.jsx("span",{className:"search-icon",children:l?e.jsx(o3,{"aria-label":"Clear search",onPress:()=>p(""),size:"small",variant:"subtle",children:e.jsx(x3,{})}):e.jsx(o3,{"aria-label":"Clear search",onPress:()=>{var j;return(j=u==null?void 0:u.current)==null?void 0:j.focus()},size:"small",variant:"subtle",children:e.jsx(O6,{})})}),e.jsx(C.Popover,{children:e.jsx(C6,{children:o==null?void 0:o.map(j=>e.jsx(p6,{onAction:()=>p(j),children:j},j))})})]})});function A4({className:t,label:r,description:o,errorMessage:n,children:s,items:c,...l}){const a=h(t,"select-container");return e.jsx(l1,{className:a,...l,children:e.jsxs(h6,{children:[r&&e.jsx(Z,{children:r}),e.jsxs(C.Button,{className:"select",children:[e.jsx(C.SelectValue,{className:"select-value"}),e.jsx(k3,{"aria-hidden":"true"})]}),e.jsx(C.Popover,{children:e.jsx(C6,{items:c,children:s})}),o&&e.jsx(O,{children:o}),e.jsx(U,{children:n})]})})}function l1({...t}){return e.jsx(C.Select,{...t})}function B4({children:t,className:r,...o}){const n=h(r,"select-item"),s=typeof t=="string"?t:"";return e.jsx(p6,{textValue:s,className:n,...o,children:e.jsxs(e.Fragment,{children:[e.jsx(O3,{className:"select-item-check"}),t]})})}function U4({name:t,label:r,description:o,showOutput:n,thumbLabels:s,...c}){return e.jsx(a1,{...c,children:e.jsxs(h6,{children:[r&&e.jsx(Z,{children:r}),n&&e.jsx(d1,{children:({state:l})=>l.values.map((a,u)=>l.getThumbValueLabel(u)).join(" - ")}),e.jsx(u1,{children:({state:l})=>l.values.map((a,u)=>e.jsx(h1,{name:l.values.length>1?`${t}-${(s==null?void 0:s[u])||u}`:t,index:u,"aria-label":s==null?void 0:s[u]},u))}),o&&e.jsx(O,{children:o})]})})}function a1({className:t,...r}){const o=h(t,"slider-field");return e.jsx(C.Slider,{className:o,...r})}function d1({className:t,...r}){const o=h(t,"slider-output");return e.jsx(C.SliderOutput,{className:o,...r})}function h1({className:t,...r}){const o=h(t,"slider-thumb");return e.jsx(C.SliderThumb,{className:o,...r})}function u1({className:t,...r}){const o=h(t,"slider");return e.jsx(C.SliderTrack,{className:o,...r})}function G4({className:t,...r}){const o=h(t,"switch-group");return e.jsx("div",{...r,className:o})}function z4({children:t,className:r,label:o,description:n,errorMessage:s,...c}){const l=h(r,"switch-field"),a=o||(typeof t=="string"?t:void 0);return e.jsx(C.Switch,{className:l,...c,children:e.jsxs(e.Fragment,{children:[e.jsx(Z,{children:a}),e.jsx(C1,{}),n&&e.jsx(O,{children:n}),e.jsx(U,{children:s}),a!==t&&t]})})}function C1({className:t,...r}){const o=h(t,"switch");return e.jsx("div",{className:o,...r,children:e.jsx("span",{"aria-hidden":"true",className:"switch-icon"})})}function q4({className:t,...r}){const o=h(t,"tab");return e.jsx(C.Tab,{className:o,...r})}function K4({className:t,...r}){const o=h(t,"tab-list");return e.jsx(C.TabList,{className:o,...r})}function X4({className:t,...r}){const o=h(t,"tab-panel");return e.jsx(C.TabPanel,{className:o,...r})}function Q4({className:t,...r}){const o=h(t,"tabs");return e.jsx(C.Tabs,{className:o,...r})}function p1({bleed:t=!1,dense:r=!1,grid:o=!1,striped:n=!1,className:s,...c}){const l=h(s,"table-container",t&&"table-container-bleed"),a=h("table",t&&"table-bleed",r&&"table-dense",o&&"table-grid",n&&"table-striped");return e.jsx("div",{className:l,children:e.jsx(C.Table,{className:a,...c})})}function p3({align:t="start",className:r,...o}){const n=h(r,"table-column",`table-align-${t}`);return e.jsx(C.Column,{className:n,...o,children:({allowsSorting:s,sortDirection:c})=>e.jsx("div",{className:h("table-column-inner"),children:e.jsxs(e.Fragment,{children:[o.children,s&&e.jsx("span",{"aria-hidden":"true",className:"sort-indicator",children:c==="ascending"?e.jsx(Z6,{}):e.jsx(k3,{})})]})})})}function j1({className:t,...r}){return e.jsx(C.TableBody,{...r})}function x1({className:t,columns:r,children:o,...n}){const{selectionBehavior:s,selectionMode:c,allowsDragging:l}=C.useTableOptions(),a=h(t,"table-head");return e.jsxs(C.TableHeader,{className:a,...n,children:[l&&e.jsx(p3,{}),s==="toggle"&&e.jsx(p3,{children:c==="multiple"&&e.jsx(R3,{slot:"selection"})}),e.jsx(C.Collection,{items:r,children:o})]})}function J3({id:t,columns:r,children:o,className:n,...s}){const{selectionBehavior:c,allowsDragging:l}=C.useTableOptions(),a=h(n,"table-row");return e.jsxs(C.Row,{id:t,...s,className:a,children:[l&&e.jsx(l3,{children:e.jsx(C.Button,{slot:"drag",children:"≡"})}),c==="toggle"&&e.jsx(l3,{children:e.jsx(R3,{slot:"selection"})}),e.jsx(C.Collection,{items:r,children:o})]})}function l3({align:t="start",className:r,...o}){const n=h(r,"table-cell",`table-align-${t}`);return e.jsx(C.Cell,{className:n,...o})}function J4({children:t,scheme:r="brand",variant:o="primary",onRemove:n,...s}){const c=h("tag",`tag-scheme-${r}`,`tag-variant-${o}`);return e.jsxs("span",{...s,className:c,children:[t," ",n&&e.jsx(C.Button,{className:"tag-remove-button",onPress:n,children:e.jsx(x3,{size:"16"})})]})}const Y4=d.forwardRef(function({className:r,scheme:o="brand",variant:n="primary",...s},c){const l=h(r,"tag","tag-button",`tag-scheme-${o}`,`tag-variant-${n}`);return e.jsx(f3,{...s,className:l,ref:c})});function eo({children:t,className:r,iconStart:o,textValue:n,...s}){const c=h(r,"tag","tag-toggle");return n=n||(typeof t=="string"?t:(t||"").toString()),e.jsx(C.Tag,{className:c,textValue:n,...s,children:e.jsxs(e.Fragment,{children:[o,t]})})}function to({className:t,...r}){const o=h(t,"tag-toggle-group");return e.jsx(C.TagGroup,{className:o,...r})}function ro({className:t,...r}){const o=h(t,"tag-toggle-list");return e.jsx(C.TagList,{className:o,...r})}function B({className:t,alignPrimary:r="start",alignSecondary:o="start",container:n=!1,direction:s="row",gap:c,type:l="auto",wrap:a=!1,...u}){const p=h(t,"flex",n&&"flex-container",`flex-align-primary-${r}`,`flex-align-secondary-${o}`,`flex-direction-${s}`,`flex-type-${l}`,c&&`flex-gap-${c}`,a&&"flex-wrap");return e.jsx("div",{style:{"--flex-align-primary":r,"--flex-align-secondary":o,"--flex-direction":s},className:p,...u})}function oo({className:t,children:r,size:o}){const n=h(t,"flex-item",o&&`flex-item-size-${o}`);return e.jsx("div",{className:n,children:r})}function no({children:t,className:r,elementType:o="section",padding:n="600",paddingBottom:s,paddingTop:c,...l}){const{variant:a="subtle",...u}=l,p=h(r,"section",`section-variant-${l.variant}`,`section-padding-top-${c||n}`,`section-padding-bottom-${s||n}`),x=l.variant==="image"?e.jsx(e1,{alt:"Background image",role:"presentation",src:l.src,size:"fill",aspectRatio:"fill",className:"section-image"}):null;switch(o){case"section":return e.jsxs("section",{className:p,...u,children:[x," ",t]});case"header":return e.jsxs("header",{className:p,...u,children:[x," ",t]});case"footer":return e.jsxs("footer",{className:p,...u,children:[x," ",t]})}}function so({className:t,columns:r="none",rows:o="none",gap:n,columnGap:s,rowGap:c,flow:l,container:a=!1,justifyItems:u="stretch",alignItems:p="stretch",style:x={},...j}){const M=h(t,"grid",a&&"grid-container",`grid-justify-items-${u}`,`grid-align-items-${p}`,n&&`grid-gap-${n}`,s&&`grid-column-gap-${s}`,c&&`grid-row-gap-${c}`,l&&`grid-flow-${l.replace(" ","-")}`),b={...x,display:"grid",gridTemplateColumns:r,gridTemplateRows:o,gap:n?`var(--sds-size-space-${n})`:void 0,columnGap:s?`var(--sds-size-space-${s})`:void 0,rowGap:c?`var(--sds-size-space-${c})`:void 0,justifyItems:u,alignItems:p};return e.jsx("div",{className:M,style:b,...j})}function io({className:t,column:r,row:o,area:n,style:s={},...c}){const l=h(t,"grid-item"),a={...s};return r&&(a.gridColumn=r),o&&(a.gridRow=o),n&&(a.gridArea=n),e.jsx("div",{className:l,style:a,...c})}function V3({className:t,elementType:r="p",lineHeight:o="body",lineClamp:n,...s}){const c=h(t,!!n&&"text-truncate","text-body-base",`text-line-height-${o}`),l=n?{"--text-truncate-line-clamp":n}:void 0;return e.jsx(C.Text,{style:l,elementType:r,className:c,...s})}function k1({className:t,elementType:r="small",lineHeight:o="body",lineClamp:n,...s}){const c=h(t,!!n&&"text-truncate","text-body-small",`text-line-height-${o}`),l=n?{"--text-truncate-line-clamp":n}:void 0;return e.jsx(C.Text,{style:l,className:c,elementType:r,...s})}function co({className:t,elementType:r="small",lineClamp:o,lineHeight:n="body",...s}){const c=h(t,!!o&&"text-truncate","text-body-small-strong",`text-line-height-${n}`),l=o?{"--text-truncate-line-clamp":o}:void 0;return e.jsx(C.Text,{style:l,className:c,elementType:r,...s})}function f1({className:t,elementType:r="strong",lineClamp:o,...n}){const s=h(t,!!o&&"text-truncate","text-body-strong"),c=o?{"--text-truncate-line-clamp":o}:void 0;return e.jsx(C.Text,{style:c,className:s,elementType:r,...n})}function lo({className:t,elementType:r,...o}){const n=h(t,"text-body-emphasis");return e.jsx(C.Text,{className:n,elementType:r,...o})}function ao({className:t,...r}){const o=h(t,"text-body-link");return e.jsx(r1,{className:o,...r})}function ho({className:t,...r}){const o=h(t,"text-body-code");return e.jsx(C.Text,{className:o,...r})}function uo({className:t,...r}){const o=h(t,"text-input");return e.jsx(C.Text,{className:o,...r})}function g1({className:t,elementType:r="h1",lineClamp:o,...n}){const s=h(t,!!o&&"text-truncate","text-title-hero"),c=o?{"--text-truncate-line-clamp":o}:void 0;return e.jsx(C.Text,{style:c,className:s,elementType:r,...n})}function k6({className:t,elementType:r="h2",lineClamp:o,...n}){const s=h(t,!!o&&"text-truncate","text-title-page"),c=o?{"--text-truncate-line-clamp":o}:void 0;return e.jsx(C.Text,{style:c,className:s,elementType:r,...n})}function L1({className:t,elementType:r="p",lineClamp:o,...n}){const s=h(t,!!o&&"text-truncate","text-subtitle"),c=o?{"--text-truncate-line-clamp":o}:void 0;return e.jsx(C.Text,{style:c,className:s,elementType:r,...n})}function P3({className:t,elementType:r="h3",lineClamp:o,...n}){const s=h(t,!!o&&"text-truncate","text-heading"),c=o?{"--text-truncate-line-clamp":o}:void 0;return e.jsx(C.Text,{style:c,className:s,elementType:r,...n})}function v1({className:t,elementType:r="p",lineClamp:o,...n}){const s=h(t,!!o&&"text-truncate","text-subheading"),c=o?{"--text-truncate-line-clamp":o}:void 0;return e.jsx(C.Text,{style:c,className:s,elementType:r,...n})}function Co({className:t,currency:r,size:o="large",price:n,label:s,...c}){const l=h(t,"text-price",`text-price-size-${o}`),a=e.jsxs(e.Fragment,{children:[e.jsx("sup",{className:"text-price-currency",children:r}),n]});return e.jsxs(C.Text,{elementType:"p",className:l,...c,children:[o==="small"?e.jsx(P3,{elementType:"span",children:a}):e.jsx(k6,{elementType:"span",children:a}),s&&e.jsx(k1,{children:s})]})}function po({className:t,...r}){const o=h(t,"text-list-item");return e.jsx("li",{className:o,...r})}function M1({children:t,className:r,density:o="default",title:n,...s}){const c=h(r,"text-list",`text-list-density-${o}`);return e.jsxs("ul",{className:c,...s,children:[n&&e.jsx("li",{className:"text-list-title",children:n}),t]})}function jo({className:t,...r}){const o=h(t,"text-link-list");return e.jsx(M1,{className:o,...r})}function xo({align:t="start",className:r,heading:o,subheading:n,...s}){const c=h(r,"text-content-heading",`text-align-${t}`);return e.jsxs(B,{direction:"column",gap:"200",className:c,...s,children:[e.jsx(P3,{children:o}),n&&e.jsx(v1,{children:n})]})}function ko({align:t="start",className:r,title:o,subtitle:n,...s}){const c=h(r,"text-content-title"),{isMobile:l}=x6();return e.jsxs(B,{direction:"column",gap:"200",className:c,...s,children:[l?e.jsx(k6,{className:`text-align-${t}`,children:o}):e.jsx(g1,{className:`text-align-${t}`,children:o}),n&&e.jsx(L1,{className:`text-align-${t}`,children:n})]})}function fo({className:t,placeholder:r,label:o,description:n,errorMessage:s,...c}){const l=h(t,"field");return e.jsxs(C.TextField,{className:l,...c,children:[o&&e.jsx(Z,{children:o}),e.jsx(m1,{placeholder:r}),n&&e.jsx(O,{children:n}),e.jsx(U,{children:s})]})}const m1=d.forwardRef(function({isResizable:r=!0,...o},n){const s=h("text-area",r&&"text-area-resizable");return e.jsx(C.TextArea,{ref:n,className:s,...o})}),U3=typeof document<"u"?d.useLayoutEffect:()=>{};var X3;const go=(X3=d.useInsertionEffect)!==null&&X3!==void 0?X3:U3;function Lo(t){const r=d.useRef(null);return go(()=>{r.current=t},[t]),d.useCallback((...o)=>{const n=r.current;return n==null?void 0:n(...o)},[])}const S3={prefix:String(Math.round(Math.random()*1e10)),current:0},I1=d.createContext(S3),vo=d.createContext(!1);let Mo=!!(typeof window<"u"&&window.document&&window.document.createElement),Q3=new WeakMap;function mo(t=!1){let r=d.useContext(I1),o=d.useRef(null);if(o.current===null&&!t){var n,s;let c=(s=d.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)===null||s===void 0||(n=s.ReactCurrentOwner)===null||n===void 0?void 0:n.current;if(c){let l=Q3.get(c);l==null?Q3.set(c,{id:r.current,state:c.memoizedState}):c.memoizedState!==l.state&&(r.current=l.id,Q3.delete(c))}o.current=++r.current}return o.current}function Io(t){let r=d.useContext(I1);r===S3&&!Mo&&process.env.NODE_ENV!=="production"&&console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server.");let o=mo(!!t),n=r===S3&&process.env.NODE_ENV==="test"?"react-aria":`react-aria${r.prefix}`;return t||`${n}-${o}`}function bo(t){let r=d.useId(),[o]=d.useState(Po()),n=o||process.env.NODE_ENV==="test"?"react-aria":`react-aria${S3.prefix}`;return t||`${n}-${r}`}const wo=typeof d.useId=="function"?bo:Io;function Ho(){return!1}function Vo(){return!0}function _o(t){return()=>{}}function Po(){return typeof d.useSyncExternalStore=="function"?d.useSyncExternalStore(_o,Ho,Vo):d.useContext(vo)}let $o=!!(typeof window<"u"&&window.document&&window.document.createElement),j3=new Map,I3;typeof FinalizationRegistry<"u"&&(I3=new FinalizationRegistry(t=>{j3.delete(t)}));function No(t){let[r,o]=d.useState(t),n=d.useRef(null),s=wo(r),c=d.useRef(null);if(I3&&I3.register(c,s),$o){const l=j3.get(s);l&&!l.includes(n)?l.push(n):j3.set(s,[n])}return U3(()=>{let l=s;return()=>{I3&&I3.unregister(c),j3.delete(l)}},[s]),d.useEffect(()=>{let l=n.current;return l&&o(l),()=>{l&&(n.current=null)}}),s}function Wo(t,r){if(t===r)return t;let o=j3.get(t);if(o)return o.forEach(s=>s.current=r),r;let n=j3.get(r);return n?(n.forEach(s=>s.current=t),t):r}function yo(...t){return(...r)=>{for(let o of t)typeof o=="function"&&o(...r)}}const d3=t=>{var r;return(r=t==null?void 0:t.ownerDocument)!==null&&r!==void 0?r:document},Y3=t=>t&&"window"in t&&t.window===t?t:d3(t).defaultView||window;function To(t){return t!==null&&typeof t=="object"&&"nodeType"in t&&typeof t.nodeType=="number"}function So(t){return To(t)&&t.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in t}let Zo=!1;function f6(){return Zo}function Eo(t,r){if(!f6())return r&&t?t.contains(r):!1;if(!t||!r)return!1;let o=r;for(;o!==null;){if(o===t)return!0;o.tagName==="SLOT"&&o.assignedSlot?o=o.assignedSlot.parentNode:So(o)?o=o.host:o=o.parentNode}return!1}const Z3=(t=document)=>{var r;if(!f6())return t.activeElement;let o=t.activeElement;for(;o&&"shadowRoot"in o&&(!((r=o.shadowRoot)===null||r===void 0)&&r.activeElement);)o=o.shadowRoot.activeElement;return o};function Do(t){return f6()&&t.target.shadowRoot&&t.composedPath?t.composedPath()[0]:t.target}function e6(...t){let r={...t[0]};for(let o=1;o<t.length;o++){let n=t[o];for(let s in n){let c=r[s],l=n[s];typeof c=="function"&&typeof l=="function"&&s[0]==="o"&&s[1]==="n"&&s.charCodeAt(2)>=65&&s.charCodeAt(2)<=90?r[s]=yo(c,l):(s==="className"||s==="UNSAFE_className")&&typeof c=="string"&&typeof l=="string"?r[s]=h(c,l):s==="id"&&c&&l?r.id=Wo(c,l):r[s]=l!==void 0?l:c}}return r}function _6(t){if(Oo())t.focus({preventScroll:!0});else{let r=Fo(t);t.focus(),Ro(r)}}let W3=null;function Oo(){if(W3==null){W3=!1;try{document.createElement("div").focus({get preventScroll(){return W3=!0,!0}})}catch{}}return W3}function Fo(t){let r=t.parentNode,o=[],n=document.scrollingElement||document.documentElement;for(;r instanceof HTMLElement&&r!==n;)(r.offsetHeight<r.scrollHeight||r.offsetWidth<r.scrollWidth)&&o.push({element:r,scrollTop:r.scrollTop,scrollLeft:r.scrollLeft}),r=r.parentNode;return n instanceof HTMLElement&&o.push({element:n,scrollTop:n.scrollTop,scrollLeft:n.scrollLeft}),o}function Ro(t){for(let{element:r,scrollTop:o,scrollLeft:n}of t)r.scrollTop=o,r.scrollLeft=n}function G3(t){var r;if(typeof window>"u"||window.navigator==null)return!1;let o=(r=window.navigator.userAgentData)===null||r===void 0?void 0:r.brands;return Array.isArray(o)&&o.some(n=>t.test(n.brand))||t.test(window.navigator.userAgent)}function g6(t){var r;return typeof window<"u"&&window.navigator!=null?t.test(((r=window.navigator.userAgentData)===null||r===void 0?void 0:r.platform)||window.navigator.platform):!1}function J(t){if(process.env.NODE_ENV==="test")return t;let r=null;return()=>(r==null&&(r=t()),r)}const L6=J(function(){return g6(/^Mac/i)}),Ao=J(function(){return g6(/^iPhone/i)}),Bo=J(function(){return g6(/^iPad/i)||L6()&&navigator.maxTouchPoints>1}),Uo=J(function(){return Ao()||Bo()});J(function(){return L6()||Uo()});J(function(){return G3(/AppleWebKit/i)&&!Go()});const Go=J(function(){return G3(/Chrome/i)}),zo=J(function(){return G3(/Android/i)});J(function(){return G3(/Firefox/i)});let t3=new Map,t6=new Set;function P6(){if(typeof window>"u")return;function t(n){return"propertyName"in n}let r=n=>{if(!t(n)||!n.target)return;let s=t3.get(n.target);s||(s=new Set,t3.set(n.target,s),n.target.addEventListener("transitioncancel",o,{once:!0})),s.add(n.propertyName)},o=n=>{if(!t(n)||!n.target)return;let s=t3.get(n.target);if(s&&(s.delete(n.propertyName),s.size===0&&(n.target.removeEventListener("transitioncancel",o),t3.delete(n.target)),t3.size===0)){for(let c of t6)c();t6.clear()}};document.body.addEventListener("transitionrun",r),document.body.addEventListener("transitionend",o)}typeof document<"u"&&(document.readyState!=="loading"?P6():document.addEventListener("DOMContentLoaded",P6));function qo(){for(const[t]of t3)"isConnected"in t&&!t.isConnected&&t3.delete(t)}function Ko(t){requestAnimationFrame(()=>{qo(),t3.size===0?t():t6.add(t)})}function Xo(){let t=d.useRef(new Map),r=d.useCallback((s,c,l,a)=>{let u=a!=null&&a.once?(...p)=>{t.current.delete(l),l(...p)}:l;t.current.set(l,{type:c,eventTarget:s,fn:u,options:a}),s.addEventListener(c,u,a)},[]),o=d.useCallback((s,c,l,a)=>{var u;let p=((u=t.current.get(l))===null||u===void 0?void 0:u.fn)||l;s.removeEventListener(c,p,a),t.current.delete(l)},[]),n=d.useCallback(()=>{t.current.forEach((s,c)=>{o(s.eventTarget,s.type,c,s.options)})},[o]);return d.useEffect(()=>n,[n]),{addGlobalListener:r,removeGlobalListener:o,removeAllGlobalListeners:n}}function Qo(t,r){U3(()=>{if(t&&t.ref&&r)return t.ref.current=r.current,()=>{t.ref&&(t.ref.current=null)}})}function Jo(t){return t.pointerType===""&&t.isTrusted?!0:zo()&&t.pointerType?t.type==="click"&&t.buttons===1:t.detail===0&&!t.pointerType}function Yo(t,r,o){let[n,s]=d.useState(t||r),c=d.useRef(t!==void 0),l=t!==void 0;d.useEffect(()=>{let p=c.current;p!==l&&process.env.NODE_ENV!=="production"&&console.warn(`WARN: A component changed from ${p?"controlled":"uncontrolled"} to ${l?"controlled":"uncontrolled"}.`),c.current=l},[l]);let a=l?t:n,u=d.useCallback((p,...x)=>{let j=(M,...b)=>{o&&(Object.is(a,M)||o(M,...b)),l||(a=M)};typeof p=="function"?(process.env.NODE_ENV!=="production"&&console.warn("We can not support a function callback. See Github Issues for details https://github.com/adobe/react-spectrum/issues/2320"),s((b,...L)=>{let g=p(l?a:b,...L);return j(g,...x),l?b:g})):(l||s(p),j(p,...x))},[l,a,o]);return[a,u]}function en(t){let r=t;return r.nativeEvent=t,r.isDefaultPrevented=()=>r.defaultPrevented,r.isPropagationStopped=()=>r.cancelBubble,r.persist=()=>{},r}function tn(t){let r=d.useRef({isFocused:!1,observer:null});U3(()=>{const n=r.current;return()=>{n.observer&&(n.observer.disconnect(),n.observer=null)}},[]);let o=Lo(n=>{t==null||t(n)});return d.useCallback(n=>{if(n.target instanceof HTMLButtonElement||n.target instanceof HTMLInputElement||n.target instanceof HTMLTextAreaElement||n.target instanceof HTMLSelectElement){r.current.isFocused=!0;let s=n.target,c=l=>{if(r.current.isFocused=!1,s.disabled){let a=en(l);o(a)}r.current.observer&&(r.current.observer.disconnect(),r.current.observer=null)};s.addEventListener("focusout",c,{once:!0}),r.current.observer=new MutationObserver(()=>{if(r.current.isFocused&&s.disabled){var l;(l=r.current.observer)===null||l===void 0||l.disconnect();let a=s===document.activeElement?null:document.activeElement;s.dispatchEvent(new FocusEvent("blur",{relatedTarget:a})),s.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:a}))}}),r.current.observer.observe(s,{attributes:!0,attributeFilter:["disabled"]})}},[o])}let rn=!1,g3=null,on=new Set,w3=new Map,a3=!1,r6=!1;function v6(t,r){for(let o of on)o(t,r)}function nn(t){return!(t.metaKey||!L6()&&t.altKey||t.ctrlKey||t.key==="Control"||t.key==="Shift"||t.key==="Meta")}function E3(t){a3=!0,nn(t)&&(g3="keyboard",v6("keyboard",t))}function E(t){g3="pointer",(t.type==="mousedown"||t.type==="pointerdown")&&(a3=!0,v6("pointer",t))}function b1(t){Jo(t)&&(a3=!0,g3="virtual")}function w1(t){t.target===window||t.target===document||rn||!t.isTrusted||(!a3&&!r6&&(g3="virtual",v6("virtual",t)),a3=!1,r6=!1)}function H1(){a3=!1,r6=!0}function $6(t){if(typeof window>"u"||typeof document>"u"||w3.get(Y3(t)))return;const r=Y3(t),o=d3(t);let n=r.HTMLElement.prototype.focus;r.HTMLElement.prototype.focus=function(){a3=!0,n.apply(this,arguments)},o.addEventListener("keydown",E3,!0),o.addEventListener("keyup",E3,!0),o.addEventListener("click",b1,!0),r.addEventListener("focus",w1,!0),r.addEventListener("blur",H1,!1),typeof PointerEvent<"u"?(o.addEventListener("pointerdown",E,!0),o.addEventListener("pointermove",E,!0),o.addEventListener("pointerup",E,!0)):process.env.NODE_ENV==="test"&&(o.addEventListener("mousedown",E,!0),o.addEventListener("mousemove",E,!0),o.addEventListener("mouseup",E,!0)),r.addEventListener("beforeunload",()=>{V1(t)},{once:!0}),w3.set(r,{focus:n})}const V1=(t,r)=>{const o=Y3(t),n=d3(t);r&&n.removeEventListener("DOMContentLoaded",r),w3.has(o)&&(o.HTMLElement.prototype.focus=w3.get(o).focus,n.removeEventListener("keydown",E3,!0),n.removeEventListener("keyup",E3,!0),n.removeEventListener("click",b1,!0),o.removeEventListener("focus",w1,!0),o.removeEventListener("blur",H1,!1),typeof PointerEvent<"u"?(n.removeEventListener("pointerdown",E,!0),n.removeEventListener("pointermove",E,!0),n.removeEventListener("pointerup",E,!0)):process.env.NODE_ENV==="test"&&(n.removeEventListener("mousedown",E,!0),n.removeEventListener("mousemove",E,!0),n.removeEventListener("mouseup",E,!0)),w3.delete(o))};function sn(t){const r=d3(t);let o;return r.readyState!=="loading"?$6(t):(o=()=>{$6(t)},r.addEventListener("DOMContentLoaded",o)),()=>V1(t,o)}typeof document<"u"&&sn();function cn(){return g3!=="pointer"}function _1(){return g3}function ln(t){const r=d3(t),o=Z3(r);if(_1()==="virtual"){let n=o;Ko(()=>{Z3(r)===n&&t.isConnected&&_6(t)})}else _6(t)}function an(t){let{isDisabled:r,onFocus:o,onBlur:n,onFocusChange:s}=t;const c=d.useCallback(u=>{if(u.target===u.currentTarget)return n&&n(u),s&&s(!1),!0},[n,s]),l=tn(c),a=d.useCallback(u=>{const p=d3(u.target),x=p?Z3(p):Z3();u.target===u.currentTarget&&x===Do(u.nativeEvent)&&(o&&o(u),s&&s(!0),l(u))},[s,o,l]);return{focusProps:{onFocus:!r&&(o||s||n)?a:void 0,onBlur:!r&&(n||s)?c:void 0}}}function N6(t){if(!t)return;let r=!0;return o=>{let n={...o,preventDefault(){o.preventDefault()},isDefaultPrevented(){return o.isDefaultPrevented()},stopPropagation(){r&&process.env.NODE_ENV!=="production"?console.error("stopPropagation is now the default behavior for events in React Spectrum. You can use continuePropagation() to revert this behavior."):r=!0},continuePropagation(){r=!1},isPropagationStopped(){return r}};t(n),r&&o.stopPropagation()}}function dn(t){return{keyboardProps:t.isDisabled?{}:{onKeyDown:N6(t.onKeyDown),onKeyUp:N6(t.onKeyUp)}}}let hn=d.createContext(null);function un(t){let r=d.useContext(hn)||{};Qo(r,t);let{ref:o,...n}=r;return n}function Cn(t,r){let{focusProps:o}=an(t),{keyboardProps:n}=dn(t),s=e6(o,n),c=un(r),l=t.isDisabled?{}:c,a=d.useRef(t.autoFocus);d.useEffect(()=>{a.current&&r.current&&ln(r.current),a.current=!1},[r]);let u=t.excludeFromTabOrder?-1:0;return t.isDisabled&&(u=void 0),{focusableProps:e6({...s,tabIndex:u},l)}}let D3=!1,y3=0;function o6(){D3=!0,setTimeout(()=>{D3=!1},50)}function W6(t){t.pointerType==="touch"&&o6()}function pn(){if(!(typeof document>"u"))return y3===0&&(typeof PointerEvent<"u"?document.addEventListener("pointerup",W6):process.env.NODE_ENV==="test"&&document.addEventListener("touchend",o6)),y3++,()=>{y3--,!(y3>0)&&(typeof PointerEvent<"u"?document.removeEventListener("pointerup",W6):process.env.NODE_ENV==="test"&&document.removeEventListener("touchend",o6))}}function jn(t){let{onHoverStart:r,onHoverChange:o,onHoverEnd:n,isDisabled:s}=t,[c,l]=d.useState(!1),a=d.useRef({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;d.useEffect(pn,[]);let{addGlobalListener:u,removeAllGlobalListeners:p}=Xo(),{hoverProps:x,triggerHoverEnd:j}=d.useMemo(()=>{let M=(g,$)=>{if(a.pointerType=$,s||$==="touch"||a.isHovered||!g.currentTarget.contains(g.target))return;a.isHovered=!0;let N=g.currentTarget;a.target=N,u(d3(g.target),"pointerover",V=>{a.isHovered&&a.target&&!Eo(a.target,V.target)&&b(V,V.pointerType)},{capture:!0}),r&&r({type:"hoverstart",target:N,pointerType:$}),o&&o(!0),l(!0)},b=(g,$)=>{let N=a.target;a.pointerType="",a.target=null,!($==="touch"||!a.isHovered||!N)&&(a.isHovered=!1,p(),n&&n({type:"hoverend",target:N,pointerType:$}),o&&o(!1),l(!1))},L={};return typeof PointerEvent<"u"?(L.onPointerEnter=g=>{D3&&g.pointerType==="mouse"||M(g,g.pointerType)},L.onPointerLeave=g=>{!s&&g.currentTarget.contains(g.target)&&b(g,g.pointerType)}):process.env.NODE_ENV==="test"&&(L.onTouchStart=()=>{a.ignoreEmulatedMouseEvents=!0},L.onMouseEnter=g=>{!a.ignoreEmulatedMouseEvents&&!D3&&M(g,"mouse"),a.ignoreEmulatedMouseEvents=!1},L.onMouseLeave=g=>{!s&&g.currentTarget.contains(g.target)&&b(g,"mouse")}),{hoverProps:L,triggerHoverEnd:b}},[r,o,n,s,a,u,p]);return d.useEffect(()=>{s&&j({currentTarget:a.target},a.pointerType)},[s]),{hoverProps:x,isHovered:c}}function xn(t,r,o){let{isDisabled:n,trigger:s}=t,c=No(),l=d.useRef(!1),a=d.useRef(!1),u=()=>{(l.current||a.current)&&r.open(a.current)},p=N=>{!l.current&&!a.current&&r.close(N)};d.useEffect(()=>{let N=V=>{o&&o.current&&V.key==="Escape"&&(V.stopPropagation(),r.close(!0))};if(r.isOpen)return document.addEventListener("keydown",N,!0),()=>{document.removeEventListener("keydown",N,!0)}},[o,r]);let x=()=>{s!=="focus"&&(_1()==="pointer"?l.current=!0:l.current=!1,u())},j=()=>{s!=="focus"&&(a.current=!1,l.current=!1,p())},M=()=>{a.current=!1,l.current=!1,p(!0)},b=()=>{cn()&&(a.current=!0,u())},L=()=>{a.current=!1,l.current=!1,p(!0)},{hoverProps:g}=jn({isDisabled:n,onHoverStart:x,onHoverEnd:j}),{focusableProps:$}=Cn({isDisabled:n,onFocus:b,onBlur:L},o);return{triggerProps:{"aria-describedby":r.isOpen?c:void 0,...e6($,g,{onPointerDown:M,onKeyDown:M}),tabIndex:void 0},tooltipProps:{id:c}}}function kn(t){let[r,o]=Yo(t.isOpen,t.defaultOpen||!1,t.onOpenChange);const n=d.useCallback(()=>{o(!0)},[o]),s=d.useCallback(()=>{o(!1)},[o]),c=d.useCallback(()=>{o(!r)},[o,r]);return{isOpen:r,setOpen:o,open:n,close:s,toggle:c}}const fn=1500,y6=500;let i3={},gn=0,M3=!1,Q=null,c3=null;function Ln(t={}){let{delay:r=fn,closeDelay:o=y6}=t,{isOpen:n,open:s,close:c}=kn(t),l=d.useMemo(()=>`${++gn}`,[]),a=d.useRef(null),u=d.useRef(c),p=()=>{i3[l]=M},x=()=>{for(let L in i3)L!==l&&(i3[L](!0),delete i3[L])},j=()=>{a.current&&clearTimeout(a.current),a.current=null,x(),p(),M3=!0,s(),Q&&(clearTimeout(Q),Q=null),c3&&(clearTimeout(c3),c3=null)},M=L=>{L||o<=0?(a.current&&clearTimeout(a.current),a.current=null,u.current()):a.current||(a.current=setTimeout(()=>{a.current=null,u.current()},o)),Q&&(clearTimeout(Q),Q=null),M3&&(c3&&clearTimeout(c3),c3=setTimeout(()=>{delete i3[l],c3=null,M3=!1},Math.max(y6,o)))},b=()=>{x(),p(),!n&&!Q&&!M3?Q=setTimeout(()=>{Q=null,M3=!0,j()},r):n||j()};return d.useEffect(()=>{u.current=c},[c]),d.useEffect(()=>()=>{a.current&&clearTimeout(a.current),i3[l]&&delete i3[l]},[l]),{isOpen:n,open:L=>{!L&&r>0&&!a.current?b():j()},close:M}}function vn({children:t,content:r,className:o,offset:n,delay:s,closeDelay:c,placement:l}){const a=Ln({delay:s,closeDelay:c}),u=d.useRef(null),{triggerProps:p,tooltipProps:x}=xn({},a,u),j=h(o,"tooltip");return e.jsxs(e.Fragment,{children:[e.jsx("span",{ref:u,className:"tooltip-trigger-wrapper",...p,children:t}),e.jsx(C.TooltipTriggerStateContext.Provider,{value:a,children:e.jsxs(C.Tooltip,{...x,triggerRef:u,className:j,offset:n,placement:l,children:[e.jsx(M6,{}),e.jsx("div",{className:"dialog dialog-type-card",children:r})]})})]})}function P1({children:t,content:r,className:o,offset:n=16,trigger:s="hover",delay:c=500,closeDelay:l=100,placement:a,...u}){const p=h(o,"tooltip");return s==="click"?e.jsxs(C.DialogTrigger,{children:[t,e.jsxs(C.Popover,{...u,className:p,offset:n,placement:a,children:[e.jsx(M6,{}),e.jsx(C.Dialog,{className:"dialog dialog-type-card","aria-label":"Tooltip",children:r})]})]}):e.jsx(vn,{content:r,className:o,offset:n,delay:c,closeDelay:l,placement:a,...u,children:t})}function M6({className:t,...r}){const o=h(t,"tooltip-overlay-arrow");return e.jsxs(C.OverlayArrow,{...r,className:o,children:[e.jsx("svg",{viewBox:"0 0 10 5",children:e.jsx("path",{d:"M0 0 L5 5 L10 0"})}),e.jsx("svg",{viewBox:"0 0 10 5",children:e.jsx("path",{d:"M0 0 L5 5 L10 0"})})]})}function $1({isAllowed:t,noAccessLabel:r,children:o}){const n=typeof o=="function"?o(t):o;return t?n:e.jsx(P1,{content:r,trigger:"hover",placement:"top",offset:4,children:e.jsx("span",{style:{display:"inline-flex"},children:n})})}function Mn({title:t,headerIcon:r,children:o,bodyPadding:n="24px",className:s,style:c}){return e.jsxs("div",{className:h("info-card",s),style:c,children:[e.jsxs("div",{className:"info-card-header",children:[e.jsx("span",{className:"info-card-header-title",children:t}),r&&e.jsx("span",{className:"info-card-header-icon",children:r})]}),e.jsx("div",{className:"info-card-body",style:{padding:n},children:o})]})}function mn({isOpen:t,title:r,message:o,confirmValue:n,confirmValueLabel:s,confirmLabel:c="Confirm",cancelLabel:l="Cancel",isDanger:a=!1,isLoading:u=!1,onConfirm:p,onClose:x}){const[j,M]=d.useState(""),b=n?j===n:!0;function L(){M(""),x()}function g(){b&&(M(""),p())}return t?e.jsx(B3,{isOpen:t,onOpenChange:$=>!$&&L(),children:e.jsxs(A3,{children:[e.jsxs(B,{direction:"row",alignPrimary:"space-between",alignSecondary:"center",children:[e.jsx(a6,{children:r}),e.jsx(l6,{onPress:L})]}),e.jsxs(d6,{children:[o&&e.jsx("p",{className:"confirm-dialog-message",dangerouslySetInnerHTML:{__html:o}}),n&&e.jsx(t1,{label:s,value:j,onChange:M,isRequired:!0})]}),e.jsxs(B,{direction:"row",gap:"200",alignPrimary:"end",className:"confirm-dialog-footer",children:[e.jsx(D,{variant:"neutral",onPress:L,isDisabled:u,children:l}),a?e.jsx(c6,{variant:"danger-primary",onPress:g,isDisabled:!b||u,children:u?"...":c}):e.jsx(D,{variant:"primary",onPress:g,isDisabled:!b||u,children:u?"...":c})]})]})}):null}function In(t,r){if(r<=6)return Array.from({length:r},(s,c)=>c+1);const o=[1,2,3],n=[r-1,r];return t<=4?[...o,"...",...n]:t>=r-3?[1,2,"...",r-2,r-1,r]:[1,"...",t-1,t,t+1,"...",r]}function bn({currentPage:t,totalPages:r,onPageChange:o,previousLabel:n,nextLabel:s}){const c=In(t,r);return e.jsxs("div",{className:"data-table-pagination",children:[e.jsxs("button",{onClick:()=>o(Math.max(1,t-1)),disabled:t===1,className:"data-table-page-btn data-table-page-nav","aria-label":n,children:[e.jsx(n6,{size:"16"}),n]}),e.jsx("div",{className:"data-table-page-numbers",children:c.map((l,a)=>l==="..."?e.jsx("span",{className:"data-table-page-ellipsis",children:"..."},`ellipsis-${a}`):e.jsx("button",{onClick:()=>o(l),className:`data-table-page-btn${l===t?" data-table-page-btn-active":""}`,children:l},l))}),e.jsxs("button",{onClick:()=>o(Math.min(r,t+1)),disabled:t===r,className:"data-table-page-btn data-table-page-nav","aria-label":s,children:[s,e.jsx(s6,{size:"16"})]})]})}function wn({action:t,item:r}){const o=t.isAllowed!==!1,n=e.jsx("button",{className:"data-table-row-action-btn","aria-label":t.label,disabled:!o,onClick:o?()=>t.onPress(r):void 0,children:t.icon});return o?n:e.jsx($1,{isAllowed:!1,noAccessLabel:t.noAccessLabel??"",children:n})}function N1({columns:t,data:r,actions:o,rowActions:n,rowActionsLabel:s="",searchPlaceholder:c="Search...",searchKeys:l=[],isLoading:a=!1,loadingMessage:u="Loading...",emptyMessage:p="No records found",previousLabel:x="Previous",nextLabel:j="Next",pageSize:M=10,nestedColumns:b,getNestedData:L,nestedLoadingMessage:g="Loading...",nestedEmptyMessage:$="No records found",nestedSearchKeys:N,nestedSearchPlaceholder:V,nestedActions:G,nestedPageSize:z}){const[_,W]=d.useState(""),[P,Y]=d.useState(1),[y,m]=d.useState(new Set),[q,e3]=d.useState(new Map),n3=!!L&&!!b,K=!!n;function k(f){const w=f.id;m(T=>{const s3=new Set(T);if(s3.has(w))s3.delete(w);else if(s3.add(w),!q.has(w)){const A=L(f);A instanceof Promise?(e3(v3=>new Map(v3).set(w,{status:"loading",data:[]})),A.then(v3=>{e3(W1=>new Map(W1).set(w,{status:"loaded",data:v3}))})):e3(v3=>new Map(v3).set(w,{status:"loaded",data:A}))}return s3})}const I=l.length>0,F=I||!!o,R=d.useMemo(()=>{if(!_.trim()||!I)return r;const f=_.toLowerCase();return r.filter(w=>l.some(T=>String(w[T]??"").toLowerCase().includes(f)))},[r,_,l,I]),X=Math.max(1,Math.ceil(R.length/M)),L3=Math.min(P,X),v=R.slice((L3-1)*M,L3*M);function H(f,w){return w.render?w.render(f):String(f[w.key]??"")}return e.jsxs(B,{direction:"column",gap:"300",className:"data-table",children:[F&&e.jsxs("div",{className:"data-table-toolbar",children:[I&&e.jsx(c1,{placeholder:c,onSearch:f=>{W(f),Y(1)},className:"data-table-search"}),o&&e.jsx("div",{className:"data-table-actions",children:o})]}),a?e.jsx("div",{role:"status","aria-live":"polite","aria-label":u,className:"data-table-status",children:u}):R.length===0?e.jsx("div",{role:"status",className:"data-table-status data-table-empty",children:p}):e.jsxs(p1,{grid:!0,children:[e.jsxs(x1,{children:[n3&&e.jsx(p3,{className:"data-table-expand-col"}),t.map((f,w)=>e.jsx(p3,{align:f.align,isRowHeader:w===0,children:f.label},String(f.key))),K&&e.jsx(p3,{align:"right",className:"data-table-row-actions-col",children:s})]}),e.jsx(j1,{children:v.flatMap(f=>{const w=y.has(f.id),T=q.get(f.id),s3=[e.jsxs(J3,{id:f.id,children:[n3&&e.jsx(l3,{className:"data-table-expand-cell",children:e.jsx("button",{className:"data-table-expand-btn","aria-label":w?"Collapse row":"Expand row","aria-expanded":w,onClick:()=>k(f),children:w?e.jsx(k3,{size:"16"}):e.jsx(S6,{size:"16"})})}),t.map(A=>e.jsx(l3,{align:A.align,children:H(f,A)},String(A.key))),K&&e.jsx(l3,{align:"right",className:"data-table-row-actions-cell",children:e.jsx("div",{className:"data-table-row-actions",children:(typeof n=="function"?n(f):n).map(A=>e.jsx(wn,{action:A,item:f},A.key))})})]},f.id)];return w&&s3.push(e.jsx(J3,{id:`${f.id}-nested`,className:"data-table-nested-row",children:e.jsx(l3,{colSpan:t.length+1+(K?1:0),className:"data-table-nested-cell",children:e.jsx(N1,{columns:b,data:(T==null?void 0:T.data)??[],isLoading:!T||T.status==="loading",loadingMessage:g,emptyMessage:$,searchKeys:N,searchPlaceholder:V,actions:G==null?void 0:G(f),pageSize:z??M})})},`${f.id}-nested`)),s3})})]}),X>1&&e.jsx(bn,{currentPage:L3,totalPages:X,onPageChange:Y,previousLabel:x,nextLabel:j})]})}function Hn({isOpen:t,title:r,submitLabel:o="Save",cancelLabel:n="Cancel",isLoading:s=!1,isSubmitDisabled:c=!1,size:l="medium",onSubmit:a,onClose:u,children:p}){return t?e.jsx(B3,{isOpen:t,onOpenChange:x=>!x&&u(),children:e.jsxs(A3,{className:h("form-modal",`form-modal--${l}`),children:[e.jsxs(B,{direction:"row",alignPrimary:"space-between",alignSecondary:"center",children:[e.jsx(a6,{children:r}),e.jsx(l6,{onPress:u})]}),e.jsx(d6,{children:e.jsx(B,{direction:"column",gap:"300",children:p})}),e.jsxs(B,{direction:"row",gap:"200",alignPrimary:"end",className:"form-modal-footer",children:[e.jsx(D,{variant:"neutral",onPress:u,isDisabled:s,children:n}),e.jsx(D,{variant:"primary",onPress:a,isDisabled:c||s,children:s?"...":o})]})]})}):null}function Vn({title:t,subtitle:r}){return e.jsxs(B,{direction:"column",gap:"200",className:"page-header",children:[e.jsx(V3,{elementType:"h1",className:"page-header-title",children:t}),r&&e.jsx(V3,{className:"page-header-subtitle",children:r})]})}function _n({items:t,currentRoute:r,onNavigate:o}){const n=r.replace(/^\//,"");function s(c){return n===c||n.startsWith(c+"/")}return e.jsx("aside",{className:"sidebar",children:t.map(c=>{const l=s(c.key);return e.jsx("button",{onClick:()=>o(c.key),title:c.label,"aria-label":c.label,"data-active":l||void 0,className:"sidebar-item",children:c.icon},c.key)})})}exports.Accordion=Rt;exports.AccordionItem=At;exports.AnchorOrButton=f3;exports.Avatar=n4;exports.AvatarBlock=i4;exports.AvatarButton=s4;exports.AvatarGroup=c4;exports.Button=D;exports.ButtonDanger=c6;exports.ButtonGroup=l4;exports.Card=Mn;exports.Checkbox=R3;exports.CheckboxField=d4;exports.CheckboxGroup=a4;exports.CodeBlock=Bt;exports.CodeEditor=i6;exports.CodeEditorField=e4;exports.CodeEditorPanel=r4;exports.ConfirmDialog=mn;exports.DataTable=N1;exports.Description=O;exports.DestructiveIconButton=Y6;exports.Dialog=A3;exports.DialogBody=d6;exports.DialogButton=h4;exports.DialogClose=l6;exports.DialogDescription=u4;exports.DialogModal=B3;exports.DialogTitle=a6;exports.DialogTrigger=Q6;exports.ErrorNotification=W4;exports.Field=h6;exports.FieldError=U;exports.FieldGroup=j4;exports.Fieldset=C4;exports.Flex=B;exports.FlexItem=oo;exports.Form=x4;exports.FormModal=Hn;exports.Grid=so;exports.GridItem=io;exports.Icon=i;exports.IconActivity=y1;exports.IconAirplay=T1;exports.IconAlertCircle=S1;exports.IconAlertOctagon=Z1;exports.IconAlertTriangle=E1;exports.IconAlignCenter=D1;exports.IconAlignJustify=O1;exports.IconAlignLeft=F1;exports.IconAlignRight=R1;exports.IconAnchor=A1;exports.IconAperture=B1;exports.IconArchive=U1;exports.IconArrowDown=G1;exports.IconArrowDownCircle=z1;exports.IconArrowDownLeft=q1;exports.IconArrowDownRight=K1;exports.IconArrowLeft=n6;exports.IconArrowLeftCircle=X1;exports.IconArrowRight=s6;exports.IconArrowRightCircle=Q1;exports.IconArrowUp=J1;exports.IconArrowUpCircle=Y1;exports.IconArrowUpLeft=ee;exports.IconArrowUpRight=te;exports.IconAtSign=re;exports.IconAward=oe;exports.IconBarChart=ne;exports.IconBarChart2=se;exports.IconBattery=ie;exports.IconBatteryCharging=ce;exports.IconBell=le;exports.IconBellOff=ae;exports.IconBluetooth=de;exports.IconBold=he;exports.IconBook=ue;exports.IconBookOpen=Ce;exports.IconBookmark=pe;exports.IconBox=je;exports.IconBriefcase=xe;exports.IconButton=o3;exports.IconCalendar=ke;exports.IconCamera=fe;exports.IconCameraOff=ge;exports.IconCast=Le;exports.IconCheck=O3;exports.IconCheckCircle=ve;exports.IconCheckSquare=Me;exports.IconChevronDown=k3;exports.IconChevronLeft=me;exports.IconChevronRight=S6;exports.IconChevronUp=Z6;exports.IconChevronsDown=Ie;exports.IconChevronsLeft=be;exports.IconChevronsRight=we;exports.IconChevronsUp=He;exports.IconChrome=Ve;exports.IconCircle=_e;exports.IconClipboard=Pe;exports.IconClock=$e;exports.IconCloud=Ne;exports.IconCloudDrizzle=We;exports.IconCloudLightning=ye;exports.IconCloudOff=Te;exports.IconCloudRain=Se;exports.IconCloudSnow=Ze;exports.IconCode=Ee;exports.IconCodepen=De;exports.IconCodesandbox=Oe;exports.IconCoffee=Fe;exports.IconColumns=Re;exports.IconCommand=Ae;exports.IconCompass=Be;exports.IconCopy=E6;exports.IconCornerDownLeft=Ue;exports.IconCornerDownRight=Ge;exports.IconCornerLeftDown=ze;exports.IconCornerLeftUp=qe;exports.IconCornerRightDown=Ke;exports.IconCornerRightUp=Xe;exports.IconCornerUpLeft=Qe;exports.IconCornerUpRight=Je;exports.IconCpu=Ye;exports.IconCreditCard=e9;exports.IconCrop=t9;exports.IconCrosshair=r9;exports.IconDatabase=o9;exports.IconDelete=n9;exports.IconDisc=s9;exports.IconDivide=i9;exports.IconDivideCircle=c9;exports.IconDivideSquare=l9;exports.IconDollarSign=a9;exports.IconDownload=d9;exports.IconDownloadCloud=h9;exports.IconDribbble=u9;exports.IconDroplet=C9;exports.IconEdit=p9;exports.IconEdit2=j9;exports.IconEdit3=x9;exports.IconExternalLink=k9;exports.IconEye=f9;exports.IconEyeOff=g9;exports.IconFacebook=L9;exports.IconFastForward=v9;exports.IconFeather=M9;exports.IconFigma=m9;exports.IconFile=I9;exports.IconFileMinus=b9;exports.IconFilePlus=w9;exports.IconFileText=H9;exports.IconFilm=V9;exports.IconFilter=_9;exports.IconFlag=P9;exports.IconFolder=$9;exports.IconFolderMinus=N9;exports.IconFolderPlus=W9;exports.IconFramer=y9;exports.IconFrown=T9;exports.IconGift=S9;exports.IconGitBranch=Z9;exports.IconGitCommit=E9;exports.IconGitMerge=D9;exports.IconGitPullRequest=O9;exports.IconGithub=F9;exports.IconGitlab=R9;exports.IconGlobe=A9;exports.IconGrid=B9;exports.IconHardDrive=U9;exports.IconHash=G9;exports.IconHeadphones=z9;exports.IconHeart=q9;exports.IconHelpCircle=K9;exports.IconHexagon=X9;exports.IconHome=Q9;exports.IconImage=J9;exports.IconInbox=Y9;exports.IconInfo=e0;exports.IconInstagram=t0;exports.IconItalic=r0;exports.IconKey=o0;exports.IconLayers=n0;exports.IconLayout=s0;exports.IconLifeBuoy=i0;exports.IconLink=c0;exports.IconLink2=l0;exports.IconLinkedin=a0;exports.IconList=d0;exports.IconLoader=h0;exports.IconLock=u0;exports.IconLogIn=C0;exports.IconLogOut=p0;exports.IconMail=j0;exports.IconMap=x0;exports.IconMapPin=k0;exports.IconMaximize=f0;exports.IconMaximize2=g0;exports.IconMeh=L0;exports.IconMenu=v0;exports.IconMessageCircle=M0;exports.IconMessageSquare=m0;exports.IconMic=I0;exports.IconMicOff=b0;exports.IconMinimize=w0;exports.IconMinimize2=H0;exports.IconMinus=D6;exports.IconMinusCircle=V0;exports.IconMinusSquare=_0;exports.IconMonitor=P0;exports.IconMoon=$0;exports.IconMoreHorizontal=N0;exports.IconMoreVertical=W0;exports.IconMousePointer=y0;exports.IconMove=T0;exports.IconMusic=S0;exports.IconNavigation=Z0;exports.IconNavigation2=E0;exports.IconOctagon=D0;exports.IconPackage=O0;exports.IconPaperclip=F0;exports.IconPause=R0;exports.IconPauseCircle=A0;exports.IconPenTool=B0;exports.IconPercent=U0;exports.IconPhone=G0;exports.IconPhoneCall=z0;exports.IconPhoneForwarded=q0;exports.IconPhoneIncoming=K0;exports.IconPhoneMissed=X0;exports.IconPhoneOff=Q0;exports.IconPhoneOutgoing=J0;exports.IconPieChart=Y0;exports.IconPlay=e2;exports.IconPlayCircle=t2;exports.IconPlus=r2;exports.IconPlusCircle=o2;exports.IconPlusSquare=n2;exports.IconPocket=s2;exports.IconPower=i2;exports.IconPrinter=c2;exports.IconRadio=l2;exports.IconRefreshCcw=a2;exports.IconRefreshCw=d2;exports.IconRepeat=h2;exports.IconRewind=u2;exports.IconRotateCcw=C2;exports.IconRotateCw=p2;exports.IconRss=j2;exports.IconSave=x2;exports.IconScissors=k2;exports.IconSearch=O6;exports.IconSend=f2;exports.IconServer=g2;exports.IconSettings=L2;exports.IconShare=v2;exports.IconShare2=M2;exports.IconShield=m2;exports.IconShieldOff=I2;exports.IconShoppingBag=b2;exports.IconShoppingCart=w2;exports.IconShuffle=H2;exports.IconSidebar=V2;exports.IconSkipBack=_2;exports.IconSkipForward=P2;exports.IconSlack=$2;exports.IconSlash=N2;exports.IconSliders=W2;exports.IconSmartphone=y2;exports.IconSmile=T2;exports.IconSpeaker=S2;exports.IconSquare=Z2;exports.IconStar=E2;exports.IconStopCircle=D2;exports.IconSun=O2;exports.IconSunrise=F2;exports.IconSunset=R2;exports.IconTable=A2;exports.IconTablet=B2;exports.IconTag=U2;exports.IconTarget=G2;exports.IconTerminal=z2;exports.IconThermometer=q2;exports.IconThumbsDown=K2;exports.IconThumbsUp=X2;exports.IconToggleLeft=Q2;exports.IconToggleRight=J2;exports.IconTool=Y2;exports.IconTrash=et;exports.IconTrash2=tt;exports.IconTrashOutline=rt;exports.IconTrello=ot;exports.IconTrendingDown=nt;exports.IconTrendingUp=st;exports.IconTriangle=it;exports.IconTruck=ct;exports.IconTv=lt;exports.IconTwitch=at;exports.IconTwitter=dt;exports.IconType=ht;exports.IconUmbrella=ut;exports.IconUnderline=Ct;exports.IconUnlock=pt;exports.IconUpload=jt;exports.IconUploadCloud=xt;exports.IconUser=kt;exports.IconUserCheck=ft;exports.IconUserMinus=gt;exports.IconUserPlus=Lt;exports.IconUserX=vt;exports.IconUsers=Mt;exports.IconVideo=mt;exports.IconVideoOff=It;exports.IconVoicemail=bt;exports.IconVolume=wt;exports.IconVolume1=Ht;exports.IconVolume2=Vt;exports.IconVolumeX=_t;exports.IconWatch=Pt;exports.IconWifi=$t;exports.IconWifiOff=Nt;exports.IconWind=Wt;exports.IconX=x3;exports.IconXCircle=yt;exports.IconXOctagon=Tt;exports.IconXSquare=St;exports.IconYoutube=Zt;exports.IconZap=Et;exports.IconZapOff=Dt;exports.IconZoomIn=Ot;exports.IconZoomOut=Ft;exports.Image=e1;exports.Input=u6;exports.InputField=t1;exports.Keyboard=J6;exports.Label=Z;exports.Legend=p4;exports.Link=r1;exports.ListBox=C6;exports.ListBoxItem=p6;exports.Logo=L4;exports.Menu=o1;exports.MenuButton=v4;exports.MenuDescription=V4;exports.MenuHeader=m4;exports.MenuHeading=b4;exports.MenuItem=M4;exports.MenuLabel=H4;exports.MenuPopover=s1;exports.MenuSection=I4;exports.MenuSeparator=w4;exports.MenuShortcut=_4;exports.MenuTrigger=n1;exports.Navigation=P4;exports.NavigationButton=N4;exports.NavigationPill=$4;exports.Notification=j6;exports.PageHeader=Vn;exports.Pagination=T4;exports.PaginationGap=O4;exports.PaginationList=E4;exports.PaginationNext=Z4;exports.PaginationPage=D4;exports.PaginationPrevious=S4;exports.PermissionGate=$1;exports.Picture=f4;exports.PictureSource=g4;exports.Radio=i1;exports.RadioField=R4;exports.RadioGroup=F4;exports.Search=c1;exports.Section=no;exports.Select=l1;exports.SelectField=A4;exports.SelectItem=B4;exports.Sidebar=_n;exports.Slider=a1;exports.SliderField=U4;exports.SliderOutput=d1;exports.SliderThumb=h1;exports.SliderTrack=u1;exports.SuccessNotification=y4;exports.Switch=C1;exports.SwitchField=z4;exports.SwitchGroup=G4;exports.Tab=q4;exports.TabList=K4;exports.TabPanel=X4;exports.Table=p1;exports.TableBody=j1;exports.TableCell=l3;exports.TableColumn=p3;exports.TableHead=x1;exports.TableRow=J3;exports.Tabs=Q4;exports.Tag=J4;exports.TagButton=Y4;exports.TagToggle=eo;exports.TagToggleGroup=to;exports.TagToggleList=ro;exports.Text=V3;exports.TextCode=ho;exports.TextContentHeading=xo;exports.TextContentTitle=ko;exports.TextEmphasis=lo;exports.TextHeading=P3;exports.TextInput=uo;exports.TextLink=ao;exports.TextLinkList=jo;exports.TextList=M1;exports.TextListItem=po;exports.TextPrice=Co;exports.TextSmall=k1;exports.TextSmallStrong=co;exports.TextStrong=f1;exports.TextSubheading=v1;exports.TextSubtitle=L1;exports.TextTitleHero=g1;exports.TextTitlePage=k6;exports.Textarea=m1;exports.TextareaField=fo;exports.Tooltip=P1;exports.TooltipOverlayArrow=M6;exports.formEventTargetToFormData=k4;exports.useCustomMediaQuery=u3;exports.useMediaQuery=x6;
12
12
  //# sourceMappingURL=index.cjs.map