@wildo-ai/application-creation-workbench 1.1.8 → 1.1.10
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.
- package/dist/.vite/manifest.json +385 -385
- package/dist/assets/{ChartEmptyState-CPZnYOAw.js → ChartEmptyState-BIIyFwDZ.js} +1 -1
- package/dist/assets/{ChartView-ULKE6l35.js → ChartView-DKDZOjZJ.js} +1 -1
- package/dist/assets/{_basePickBy-BiLKhh6-.js → _basePickBy-BuyVDPfJ.js} +1 -1
- package/dist/assets/{_baseUniq-DqfHtDwq.js → _baseUniq-CVvDgwC4.js} +1 -1
- package/dist/assets/{arc-CbziG7uU.js → arc-DE9sx_Jn.js} +1 -1
- package/dist/assets/{architectureDiagram-VXUJARFQ-DNknUUYG.js → architectureDiagram-VXUJARFQ-DY4uZXMe.js} +1 -1
- package/dist/assets/{blockDiagram-VD42YOAC-DjyyEJw4.js → blockDiagram-VD42YOAC-TQm1EY8a.js} +1 -1
- package/dist/assets/{c4Diagram-YG6GDRKO-CpQzPjh8.js → c4Diagram-YG6GDRKO-DPVnrqS2.js} +1 -1
- package/dist/assets/channel-C4B85_Ht.js +1 -0
- package/dist/assets/{chunk-4BX2VUAB-D4SAUSXH.js → chunk-4BX2VUAB-V_Lu-A8z.js} +1 -1
- package/dist/assets/{chunk-55IACEB6-CSgJZSYU.js → chunk-55IACEB6-CrshiQUZ.js} +1 -1
- package/dist/assets/{chunk-B4BG7PRW-BaaR_68i.js → chunk-B4BG7PRW-B4fN1huZ.js} +1 -1
- package/dist/assets/{chunk-DI55MBZ5-Ctws9Nua.js → chunk-DI55MBZ5-gtIXZHBU.js} +1 -1
- package/dist/assets/{chunk-FMBD7UC4-miRsz_bp.js → chunk-FMBD7UC4-j8bev95J.js} +1 -1
- package/dist/assets/{chunk-QN33PNHL-DyqXU-AC.js → chunk-QN33PNHL-B-kGe_H0.js} +1 -1
- package/dist/assets/{chunk-QZHKN3VN-DoGQixgZ.js → chunk-QZHKN3VN-BLVfc9yR.js} +1 -1
- package/dist/assets/{chunk-TZMSLE5B-DUkaqvSW.js → chunk-TZMSLE5B-CHEgF8Sz.js} +1 -1
- package/dist/assets/classDiagram-2ON5EDUG-CejTSo9E.js +1 -0
- package/dist/assets/classDiagram-v2-WZHVMYZB-CejTSo9E.js +1 -0
- package/dist/assets/clone-eq-IW2p2.js +1 -0
- package/dist/assets/{cm6-editor-Ex5Z8Emo.js → cm6-editor-ComXvSgE.js} +3 -3
- package/dist/assets/{code-block-IT6T5CEO-OZDQuPLO.js → code-block-IT6T5CEO-CL2mSW30.js} +1 -1
- package/dist/assets/{context-BxQoCUbC.js → context-BB5qtAPe.js} +1 -1
- package/dist/assets/{cose-bilkent-S5V4N54A-DfpaT0ww.js → cose-bilkent-S5V4N54A-DMODvaS_.js} +1 -1
- package/dist/assets/{dagre-6UL2VRFP-BXv69Oxl.js → dagre-6UL2VRFP-D-6HwSlh.js} +1 -1
- package/dist/assets/{diagram-PSM6KHXK-BRc3-xgi.js → diagram-PSM6KHXK-DVMAwfhR.js} +1 -1
- package/dist/assets/{diagram-QEK2KX5R-8CpEq7ZA.js → diagram-QEK2KX5R-ztEXARNd.js} +1 -1
- package/dist/assets/{diagram-S2PKOQOG-D1W1sSkJ.js → diagram-S2PKOQOG-aOEIHitS.js} +1 -1
- package/dist/assets/{dropbox-picker-BHSSkFLC.js → dropbox-picker-Cgd6aaxu.js} +1 -1
- package/dist/assets/{erDiagram-Q2GNP2WA-DiLkIVeF.js → erDiagram-Q2GNP2WA-BeX2p48P.js} +1 -1
- package/dist/assets/{flowDiagram-NV44I4VS-DuorS0Te.js → flowDiagram-NV44I4VS-B5OF-K2x.js} +1 -1
- package/dist/assets/{flows-actors-graph-runtime-C0MZ4gE8.js → flows-actors-graph-runtime-BN2k8R04.js} +1 -1
- package/dist/assets/{ganttDiagram-JELNMOA3-D6rWWaQh.js → ganttDiagram-JELNMOA3-CMYOZD-b.js} +1 -1
- package/dist/assets/{gitGraphDiagram-V2S2FVAM-CfZsCbMz.js → gitGraphDiagram-V2S2FVAM-DBYlH4FL.js} +1 -1
- package/dist/assets/{google-drive-picker-DVx5Omaa.js → google-drive-picker-BKyN80GQ.js} +1 -1
- package/dist/assets/{graph-gqV6Zkhz.js → graph-AvBeoHop.js} +1 -1
- package/dist/assets/{graph-runtime-DnTcDIcx.js → graph-runtime-4LdwGgRA.js} +1 -1
- package/dist/assets/{index-Cw01f2TF.js → index-6zr8R4dA.js} +1 -1
- package/dist/assets/{index-CEQG0sL4.js → index-9hIdGCE2.js} +1 -1
- package/dist/assets/{index-BtMOrmRc.js → index-B5EaGcLw.js} +1 -1
- package/dist/assets/{index-gI9jukto.js → index-BFcDqzUt.js} +1 -1
- package/dist/assets/{index-rZVYAYhY.js → index-BG-y5UcD.js} +1 -1
- package/dist/assets/{index--n_CsJ_L.js → index-BHi5TkWc.js} +1 -1
- package/dist/assets/{index-CVuPkWUj.js → index-BJGqq48m.js} +1 -1
- package/dist/assets/{index-CvOUzGfB.js → index-BLyj7STg.js} +1 -1
- package/dist/assets/index-BVKCM4BG.js +1 -0
- package/dist/assets/{index-CnWI1gxP.js → index-BZeyH3ke.js} +1 -1
- package/dist/assets/{index-CXlCPLW3.js → index-BjG3MUUI.js} +71 -71
- package/dist/assets/{index-CDsihDHt.js → index-Bpku8s6k.js} +1 -1
- package/dist/assets/{index-B7L9jUWa.js → index-Br7zFzuz.js} +1 -1
- package/dist/assets/{index-BpAZX5i7.js → index-C-hOTyb_.js} +1 -1
- package/dist/assets/{index-Dh0Bmwci.js → index-C8H6aj0j.js} +1 -1
- package/dist/assets/{index-B0VAn5-V.js → index-CHO8NA6v.js} +250 -250
- package/dist/assets/{index-BsttfdbI.js → index-CK3Bi__8.js} +1 -1
- package/dist/assets/{index-DYSQAORQ.js → index-CMQis7aS.js} +1 -1
- package/dist/assets/{index-BpG1Asja.js → index-Cj0s-NJv.js} +1 -1
- package/dist/assets/{index-CqzxLcDY.js → index-CwdHV_FX.js} +1 -1
- package/dist/assets/{index-D0Tl3k_n.js → index-D3CAZMVF.js} +1 -1
- package/dist/assets/{index-Dl1_rx0L.js → index-DIo0Wrbb.js} +1 -1
- package/dist/assets/{index-D_qREvJE.js → index-DYY9gnp9.js} +1 -1
- package/dist/assets/{index-8yCF6i2e.js → index-Db4UIXz-.js} +1 -1
- package/dist/assets/{index-Cd7vOcmr.js → index-DikSr-5K.js} +1 -1
- package/dist/assets/{index-DpNmbMZ6.js → index-Dv1hCn5N.js} +1 -1
- package/dist/assets/{index-DhO-M1Ob.js → index-DyQa6Mm5.js} +1 -1
- package/dist/assets/{index.es-CznBk03W.js → index.es-B9u8rJ1d.js} +1 -1
- package/dist/assets/{infoDiagram-HS3SLOUP-DFtdjaMK.js → infoDiagram-HS3SLOUP-Bt2AfSr_.js} +1 -1
- package/dist/assets/{journeyDiagram-XKPGCS4Q-DbdwxQHC.js → journeyDiagram-XKPGCS4Q-B9RxAwyj.js} +1 -1
- package/dist/assets/{kanban-definition-3W4ZIXB7-Bi1qDqWT.js → kanban-definition-3W4ZIXB7-KUyHlyqc.js} +1 -1
- package/dist/assets/{layout-D5DcKJsv.js → layout-Dq4vO6R-.js} +1 -1
- package/dist/assets/{linear-BAEXCBnK.js → linear-BIzHWTWZ.js} +1 -1
- package/dist/assets/{maximize-2-BPmhoPLp.js → maximize-2-Bl11RTvy.js} +1 -1
- package/dist/assets/{mermaid-VLURNSYL-D2mykrpe.js → mermaid-VLURNSYL-DPc-hyxN.js} +4 -4
- package/dist/assets/{mermaid.core-B_cUK0gA.js → mermaid.core-DL97wpul.js} +5 -5
- package/dist/assets/{mindmap-definition-VGOIOE7T-DExoSL-S.js → mindmap-definition-VGOIOE7T-ih3nvg2M.js} +1 -1
- package/dist/assets/{onedrive-picker-CukId4tT.js → onedrive-picker-9JhZVdja.js} +1 -1
- package/dist/assets/{pdf-viewer-CCg2RXkT.js → pdf-viewer-BU_zv2sb.js} +1 -1
- package/dist/assets/{pieDiagram-ADFJNKIX-dyQp_y9R.js → pieDiagram-ADFJNKIX-2y6i9a-Q.js} +1 -1
- package/dist/assets/{quadrantDiagram-AYHSOK5B-NQ0_JfN_.js → quadrantDiagram-AYHSOK5B-Bpbt_ZL6.js} +1 -1
- package/dist/assets/{requirementDiagram-UZGBJVZJ-Dp7ND9vz.js → requirementDiagram-UZGBJVZJ-DKhx22Et.js} +1 -1
- package/dist/assets/{sankeyDiagram-TZEHDZUN-DR3FyaES.js → sankeyDiagram-TZEHDZUN-DOz9tNgj.js} +1 -1
- package/dist/assets/{sequenceDiagram-WL72ISMW-COxtegpi.js → sequenceDiagram-WL72ISMW-aQQbVp6L.js} +1 -1
- package/dist/assets/{shiki-highlighter-runtime-7rNdU0U5.js → shiki-highlighter-runtime-B9niRUB2.js} +1 -1
- package/dist/assets/{stateDiagram-FKZM4ZOC-DGFUOEdh.js → stateDiagram-FKZM4ZOC-vDZ9FAaz.js} +1 -1
- package/dist/assets/stateDiagram-v2-4FDKWEC3-Cfb6lTuy.js +1 -0
- package/dist/assets/{timeline-definition-IT6M3QCI-C7I88B18.js → timeline-definition-IT6M3QCI-C1jpqiM9.js} +1 -1
- package/dist/assets/{treemap-GDKQZRPO-CGjffbYp.js → treemap-GDKQZRPO-Bskqcsjn.js} +1 -1
- package/dist/assets/{useQuickActionButtonBehavior-DSvj7lAT.js → useQuickActionButtonBehavior-DK86ZrMU.js} +1 -1
- package/dist/assets/{xychartDiagram-PRI3JC2R-DysnJiZf.js → xychartDiagram-PRI3JC2R-BD8d9TGv.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +8 -8
- package/dist/assets/channel-8XWMyg2t.js +0 -1
- package/dist/assets/classDiagram-2ON5EDUG-BQOkAVtr.js +0 -1
- package/dist/assets/classDiagram-v2-WZHVMYZB-BQOkAVtr.js +0 -1
- package/dist/assets/clone-R56dYs_d.js +0 -1
- package/dist/assets/index-C8A3XsfH.js +0 -1
- package/dist/assets/stateDiagram-v2-4FDKWEC3-C75QKVY6.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{ar as re,as as L,at as Te,L as Ce,ag as _,au as ce,r as s,av as ue,aw as v,ax as b,ay as he,az as le,aA as de,aB as ge,aC as Ae,aD as D,aE as V,aF as k,l as E,aG as W,aH as G,aI as J,aJ as ye,aK as Ie,aL as be,aM as Oe,aN as Q,aO as Se,a7 as Re,aP as fe,aQ as Ne,aR as pe,aS as Ee,aT as se,aU as Y,aV as z,u as Z,F as B,aW as Me,aX as Be,aY as Le,aZ as ve,a_ as Pe,a$ as X,b0 as _e,b1 as ke,a4 as we,b2 as me,b3 as q,b4 as ee,b5 as Ue,b6 as Ve,b7 as K,b8 as Fe,b9 as De,ba as xe,bb as He,bc as ne,bd as Ke,be as je,bf as w,t as $,bg as Qe,bh as Ye,bi as ae}from"./index-B0VAn5-V.js";const ie=new Set;function ze(n){const o=typeof n=="string"?n:re(n)?n.placement:void 0;if(o===void 0)return L.BOTTOM;if(Te(o))return o;const t=String(o);return ie.has(t)||(ie.add(t),Ce.getLogger().warn(`[app-shell] the status bar is configured at '${t}', which no shell layout places (only '${L.TOP}' and '${L.BOTTOM}'); it is shown at '${L.BOTTOM}'.`)),L.BOTTOM}function an(){const{UIConfig:n,navigationLayout:o,appComponentsConfiguration:t}=_(),{markComponentInitialized:a}=ce(),i=!!(o&&t);return s.useEffect(()=>{i&&a(ue.APP_MAIN_CONTAINER)},[i,a]),s.useMemo(()=>{if(!i||!o||!t)return{hasMenubar:!1,hasSidebar:!1,hasStatusBar:!1,hasToolbar:!1,hasActivityBar:!1,hasQuickActionButton:!1,hasUtilityPanel:!1,sidebarPlacement:v.START,statusBarPlacement:L.BOTTOM,utilityPanelPlacement:v.END,isLayoutReady:!1};const r=t[b.SIDEBAR],d=t[b.STATUS_BAR],l=t[b.UTILITY_PANEL],m=he(r)?r.placement:v.START;return{hasMenubar:!!t[b.MENUBAR],hasSidebar:!!r,hasStatusBar:!!d,hasToolbar:!!t[b.TOOLBAR],hasActivityBar:!!t[b.ACTIVITY_BAR],hasQuickActionButton:!!t[b.QUICK_ACTION_BUTTON],hasUtilityPanel:!!l,sidebarPlacement:m,statusBarPlacement:ze(d),utilityPanelPlacement:le(l)?l.position??v.END:v.END,isLayoutReady:!0}},[i,o,t])}function $e(n){s.useEffect(()=>{if(!n)return;const o=Array.from(document.querySelectorAll('link[rel~="icon"]')),t=o.length===0?document.createElement("link"):void 0;t&&(t.rel="icon",document.head.appendChild(t));const a=t?[t]:o,i=a.map(r=>r.getAttribute("href"));return a.forEach(r=>{r.href=n}),()=>{if(t){t.remove();return}a.forEach((r,d)=>{const l=i[d];l==null?r.removeAttribute("href"):r.setAttribute("href",l)})}},[n])}function rn(n=!1,o){const{markComponentInitialized:t,frontendConfiguration:a}=ce();s.useEffect(()=>{t(ue.PUBLIC_APP_CONTAINER)},[t]);const i=de(),{shellIdentity:r}=_(),d=n&&!r?o:void 0,l=d?{name:d.organizationName||i.name,logoUrl:d.logoUrl||i.logoUrl,logoComposition:void 0}:i,m=a.publicShellIdentityMode===ge.BRAND_HEADER?l:void 0;return $e(d?.faviconUrl),{useCardLayout:n,isReady:!0,brandHeader:m,brandAccentColor:m?d?.primaryColor:void 0}}function We(n){return typeof n=="object"&&n!==null&&!Array.isArray(n)}function Ge(n){switch(n){case V.VERTICAL_RAIL:return{direction:k.VERTICAL,borderSide:E.END,tooltipSide:E.END,orientation:k.VERTICAL};case V.HORIZONTAL_BAR:return{direction:k.HORIZONTAL,borderSide:E.BOTTOM,tooltipSide:E.TOP,orientation:k.HORIZONTAL};case V.BOTTOM_TAB_BAR:return{direction:k.HORIZONTAL,borderSide:E.TOP,tooltipSide:E.TOP,orientation:k.HORIZONTAL};default:return{direction:k.VERTICAL,borderSide:E.END,tooltipSide:E.END,orientation:k.VERTICAL}}}function cn(){const{UIConfig:n,appComponentsConfiguration:o}=_(),t=Ae(),a=o?.[b.ACTIVITY_BAR],r=n?.currentBreakpoint===D.MOBILE,d=s.useMemo(()=>We(a)?r?a.mobileRendering??V.BOTTOM_TAB_BAR:a.desktopRendering??V.VERTICAL_RAIL:r?V.BOTTOM_TAB_BAR:V.VERTICAL_RAIL,[a,r]),l=s.useMemo(()=>Ge(d),[d]);return{availableModes:s.useMemo(()=>t?.availableModes??[],[t?.availableModes]),activeMode:t?.activeMode??null,setActiveMode:t?.setActiveMode??(()=>{}),hasModes:t?.hasModes??!1,activeRenderingMode:d,layout:l,isNavigationLoading:!t}}function j(n){return typeof n=="object"&&n!==null&&!Array.isArray(n)}function un(n={}){const{mode:o}=n,{UIConfig:t,appComponentsConfiguration:a,navigationLayout:i,homeDefinition:r}=_(),d=W(),{navigate:l}=G(),m=J(),{isNavigationItemActive:T,isHomeActive:h,handleHomeClick:A}=ye(),I=r?.compositeViewReference,C=a?.[b.MENUBAR],g=t?.currentBreakpoint,y=j(C)?C.brandMarkTheme:void 0,N=de({theme:y}),S=j(C)&&C.brandHeader===!0?N:void 0,P=s.useMemo(()=>j(C)?Ie(b.MENUBAR,C.hostedComponents,a,g,v.START,i):[],[a,C,g,i]),c=s.useMemo(()=>j(C)?be(C.items,m):void 0,[C,m]),e=s.useMemo(()=>{if(!d||!c?.length)return[];const p=Oe(void 0,c,d),O=Q.getMostSpecificActiveRoute(p.items.map(u=>u.urlPath),T),M=u=>h&&I!==void 0&&u.viewRef===I;return p.items.map(u=>({id:u.id,label:u.label,icon:u.icon,group:u.group,isActive:O!==void 0&&u.urlPath===O||M(u),...u.notificationBadgeRef?{notificationBadgeRef:u.notificationBadgeRef}:{},onExecute:()=>{Q.dispatchNavigationForResolvedTarget(l,u,b.MENUBAR)}}))},[c,d,l,T,h,I]),f=s.useMemo(()=>{const p=o||(j(C)?C.displayPolicy??"FIXED":typeof C=="string"?C:"FIXED"),O=p==="OVERLAY",M=g===D.MOBILE;return{mode:p,isOverlay:O,showMobileLayout:M&&O}},[C,o,g]);return{containerComponents:P,brandHeader:S,isHomeActive:h,handleHomeClick:A,items:e,menubarConfig:f,mapToFrontendComponentType:Se}}function Je(n,o){if(!n)return;const t=n.resourceConfigurations[o.resourceType];if(!t?.mainSchema)return;const a=t.mainSchema.shape,i=a?.[o.fieldIdentifier];if(i)return{schema:i,isPrimaryKeyFallback:!1};if(o.fieldIdentifier!==t.resourceFieldIdentifier)return;const r=a?._id??a?.id;return r?{schema:r,isPrimaryKeyFallback:!0}:void 0}function ln(n={}){const o=Re(),{on:t}=fe(),{registry:a}=Ne(),[i,r]=s.useState(0),d=n.focusTrigger??i;s.useEffect(()=>{if(n.focusTrigger===void 0)return t(pe.HOTKEY_QUICK_SWITCHER_OPEN,()=>{r(c=>c+1)})},[t,n.focusTrigger]);const l=Ee({mode:"onChange",defaultValues:o?.customScopeValues??{}}),m=s.useRef(!1),T=s.useCallback((c,e)=>c==null?e?[]:void 0:Array.isArray(c)?e?c:c[0]:e?[c]:c,[]),h=s.useMemo(()=>o?.customScopeFields?[...o.customScopeFields].sort((c,e)=>(c.position??se)-(e.position??se)):[],[o?.customScopeFields]),A=s.useMemo(()=>{const c=new Map;if(!a)return c;for(const e of h){const f=Je(a,e);f&&c.set(e.fieldIdentifier,f)}return c},[h,a]);s.useEffect(()=>{if(o?.customScopeValues){m.current=!0;for(const c of o.customScopeFields){const e=c.fieldIdentifier,f=o.customScopeValues[e],p=l.getValues(e),O=A.get(e)?.schema,M=O?Y(O)===z.ARRAY:Array.isArray(f),u=T(f??null,M);JSON.stringify(p)!==JSON.stringify(u)&&l.setValue(e,u)}queueMicrotask(()=>{m.current=!1})}},[o?.customScopeValues,o?.customScopeFields,l,T,A]);const I=s.useMemo(()=>{const c=new Set;for(const e of h)c.add(e.resourceType);return Array.from(c)},[h]),{tResourceHeader:C}=Z({component:B.APPLICATION_LEVEL_QUICK_SWITCHER,resource:I}),g=s.useMemo(()=>h.map(c=>c.fieldIdentifier),[h]),y=Me({control:l.control,name:g});s.useEffect(()=>{m.current||g.forEach((c,e)=>{const f=y[e],p=o?.customScopeValues[c],O=A.get(c)?.schema,M=O?Y(O)===z.ARRAY:!1;let u;if(f===void 0||f===""||f===null)u=null;else if(M){const R=Array.isArray(f)?f.filter(U=>typeof U=="string"&&U.length>0):[String(f)];u=R.length>0?R:null}else u=Array.isArray(f)?f[0]??null:String(f);JSON.stringify(u)!==JSON.stringify(p??null)&&o?.setScopeValue(c,u,{initiator:Be.USER_SELECTION})})},[y,g,o,h,A]);const N=s.useCallback(c=>{const e=c.dependsOn?o?.allScopeValues?.[c.dependsOn]:null;return c.dependsOn?Array.isArray(e)?e.length===0:!e:!1},[o?.allScopeValues]),S=s.useMemo(()=>h.flatMap(c=>{const e=c.fieldIdentifier,f=A.get(e);if(!f)return Le.isDevelopment()&&console.warn(`[QuickSwitcher] No schema found for scope field "${e}" — field will not render.`),[];const{schema:p,isPrimaryKeyFallback:O}=f,u=Y(p)===z.ARRAY,R=u?ve(p)??p:p,U=Y(R),x=Pe(R)||O?X.RESOURCE_REFERENCE:U===z.ENUM?X.ENUM:X.RAW,te=C(c.resourceType,"title"),oe=c.label||te||e;return[{fieldId:e,label:oe,schema:p,valueSchema:R,disabled:N(c),isMultiple:u,controlKind:x,targetResourceType:O?c.resourceType:void 0,placeholder:te||oe,optionDisplayMode:c.optionDisplayMode??ke,presentation:c.presentation??_e.CONTROL_ONLY,onClear:()=>l.setValue(e,u?[]:void 0,{shouldDirty:!0,shouldTouch:!0}),hasValue:(()=>{const H=l.getValues(e);return Array.isArray(H)?H.length>0:H!=null&&H!==""})(),definition:c}]}),[h,A,C,N,l,y]),P=s.useMemo(()=>n.containerType===b.SIDEBAR?"vertical":"horizontal",[n.containerType]);return{fields:S,formMethods:l,layoutDirection:P,focusTrigger:d}}function dn(n=L.BOTTOM){const{UIConfig:o,appComponentsConfiguration:t,shellAppearance:a}=_(),{tComponent:i}=Z({component:B.APPLICATION_LEVEL_STATUS_BAR}),{status:r}=we(),{notifications:d}=me(),l=t?.[b.STATUS_BAR],m=o?.currentBreakpoint,T=re(l)?l:void 0,h=T?.showConnectionStatus??!0,A=T?.showConnectionStatusOnMobile??!1,I=T?.showNotificationCount??!0,C=T?.showMemoryUsage??!1,g=s.useMemo(()=>I?d.length:0,[I,d.length]),y=s.useMemo(()=>(T?.statusItems??[]).map(u=>{const R=u.value!=null?String(u.value):void 0;switch(u.type){case ee.LINK:return{id:u.id,label:u.label,iconReference:u.icon,valueText:R,interaction:{type:q.LINK,href:u.href}};case ee.BUTTON:return{id:u.id,label:u.label,iconReference:u.icon,valueText:R,interaction:{type:q.BUTTON,onClick:u.onClick}};case ee.TEXT:default:return{id:u.id,label:u.label,iconReference:u.icon,valueText:R,interaction:{type:q.STATIC}}}}),[T]),N=s.useMemo(()=>T?.style,[T]),S=s.useMemo(()=>{const u=m===D.MOBILE;return{height:T?.height??(u?28:32)}},[m,T]),P=s.useMemo(()=>{const u=n===L.TOP,R=n===L.BOTTOM,U=m===D.MOBILE,x=a===Ue.CONTINUOUS;return{isTop:u,isBottom:R,isMobile:U,backgroundClassName:T?.backgroundClassName??(x?"bg-transparent":"bg-surface-sunken"),textClassName:T?.textClassName??(x?"text-foreground":"text-surface-sunken-foreground"),showBorder:T?.showBorder??!x}},[n,m,T,a]),c=s.useMemo(()=>{const u=m===D.MOBILE;return h&&(!u||A)},[m,h,A]),e=I&&g>0,f=s.useMemo(()=>!C||typeof performance>"u"||!("memory"in performance)?null:`${Math.round((performance.memory?.usedJSHeapSize??0)/1048576)}MB`,[C]),p=s.useMemo(()=>Ve(g),[g]),O=s.useMemo(()=>i(B.APPLICATION_LEVEL_STATUS_BAR,"notificationCount",{count:p}),[p,i]),M=s.useMemo(()=>{switch(r){case K.CONNECTED:return i(B.APPLICATION_LEVEL_STATUS_BAR,"connected");case K.CONNECTING:case K.RECONNECTING:return i(B.APPLICATION_LEVEL_STATUS_BAR,"reconnecting");case K.DISCONNECTED:case K.ERROR:default:return i(B.APPLICATION_LEVEL_STATUS_BAR,"disconnected")}},[r,i]);return{totalBadgeCount:g,connectionStatus:r,showConnectionStatus:h,showConnectionStatusOnMobile:A,shouldShowConnectionStatus:c,showNotificationCount:I,shouldShowNotificationCount:e,showMemoryUsage:C,memoryUsageLabel:f,notificationCountLabel:p,notificationCountAriaLabel:O,connectionStatusLabel:M,statusItems:y,dimensions:S,statusBarConfig:P,customStyle:N,currentBreakpoint:m}}function Ze(n){return typeof n=="object"&&n!==null&&!Array.isArray(n)}function fn(){const{UIConfig:n,appComponentsConfiguration:o}=_(),t=W(),{navigate:a}=G(),i=J(),r=o?.[b.TOOLBAR],d=n?.currentBreakpoint,l=d===D.MOBILE,m=Ze(r)?r:void 0,T=s.useMemo(()=>Fe(m?.tools,i),[m?.tools,i]),h=s.useMemo(()=>!T?.length||!t?[]:De(T,t),[T,t]),A=s.useMemo(()=>h.map(g=>({id:g.id,label:g.label,icon:g.icon,iconOnly:g.iconOnly,onClick:()=>Q.dispatchNavigationForResolvedTarget(a,g,b.TOOLBAR)})),[h,a]),I=s.useMemo(()=>({placement:m?.placement??"top",compact:m?.compact??!1,showSeparator:m?.showSeparator??!0,hideOnMobile:m?.hideOnMobile??!1}),[m]),C=A.length>0&&!(l&&I.hideOnMobile);return{tools:A,toolbarConfig:I,shouldRender:C,currentBreakpoint:d}}function Xe(n){return xe.isRegistered(n,He.DEFAULT)}function qe(n,o,t=Xe){return n.map(a=>{if(a.kind===ne.VIEW){const r=o.includes(a.viewRef);return!r&&typeof console<"u"&&console.warn(`[utility-panel] item "${a.label}" names viewRef "${a.viewRef}", which no declared application-scoped view carries. Declare it in the application's \`flowsActorsViews\`, or the panel has nothing to host for this item.`),{kind:ne.VIEW,viewRef:a.viewRef,resolvedViewRef:r?a.viewRef:null,icon:a.icon,label:a.label}}const i=t(a.componentRef);return!i&&typeof console<"u"&&console.warn(`[utility-panel] item "${a.label}" names componentRef "${a.componentRef}", which has no component registered under the default preset. Register it — an application component through its domain module's \`componentRegistrations\`, an engine one through its preset — or nothing will render for this item.`),{kind:ne.CUSTOM_COMPONENT,componentRef:a.componentRef,resolvedComponentRef:i?a.componentRef:null,icon:a.icon,label:a.label}})}function pn(n=v.END,o){const{UIConfig:t,appComponentsConfiguration:a,flowsActorsViews:i}=_(),[r,d]=s.useState(!1),l=t?.currentBreakpoint,m=a?.[b.UTILITY_PANEL],T=le(m)?m:void 0,h=s.useMemo(()=>qe(o??T?.items??[],i?.map(I=>I.ref)??[]),[T,o,i]),A=s.useMemo(()=>T?.position??n,[T,n]);return{isOpen:r,setIsOpen:d,items:h,itemCount:h.length,position:A,currentBreakpoint:l}}function en(n,o){const t=Number(n);return Number.isFinite(t)?t:o}function mn(n=v.END,o=[]){const{UIConfig:t,appComponentsConfiguration:a}=_(),i=W(),{navigate:r}=G(),{tComponent:d}=Z({component:B.APPLICATION_LEVEL_CONTROL_PANEL}),l=J(),[m,T]=s.useState(!1),h=t?.currentBreakpoint,A=a?.[b.CONTROL_PANEL],I=typeof A=="object"&&A!==null?A.items:void 0,C=s.useMemo(()=>Ke(I,l),[I,l]),g=s.useMemo(()=>!C||!i?[]:je(C,i),[C,i]),y=s.useMemo(()=>{const e={uncategorized:[]};for(const f of g){const p=f.section??"uncategorized";e[p]||(e[p]=[]),e[p].push(f)}return e},[g]),N=s.useMemo(()=>o.map(e=>{const f=!e.onChange;switch(e.type){case w.BUTTON:return{id:e.id,label:e.label,type:w.BUTTON,disabled:f,onTrigger:()=>e.onChange?.(!0)};case w.TOGGLE:{const p=e.value===!0;return{id:e.id,label:e.label,type:w.TOGGLE,disabled:f,value:p,onToggle:()=>e.onChange?.(!p)}}case w.SELECT:return{id:e.id,label:e.label,type:w.SELECT,disabled:f,value:e.value,options:(e.options??[]).map(p=>({label:p.label,value:p.value,isSelected:e.value===p.value,onSelect:()=>e.onChange?.(p.value)}))};case w.SLIDER:{const p=e.min??0,O=e.max??100,M=e.step??1,u=en(e.value,p);return{id:e.id,label:e.label,type:w.SLIDER,disabled:f,value:u,min:p,max:O,step:M,onValueChange:R=>e.onChange?.(R)}}}}),[o]),S=s.useMemo(()=>Object.entries(y).filter(([,e])=>e.length>0).map(([e,f])=>({id:e,label:e==="uncategorized"?d(B.APPLICATION_LEVEL_CONTROL_PANEL,"actions"):d(B.APPLICATION_LEVEL_CONTROL_PANEL,e),items:f})),[y,d]),P=s.useCallback(e=>{T(!1),Q.dispatchNavigationForResolvedTarget(r,e,b.CONTROL_PANEL)},[r]),c=s.useMemo(()=>{const e=n;return e===v.START?E.START:e===v.END?E.END:e===L.TOP?E.TOP:e===L.BOTTOM?E.BOTTOM:E.END},[n]);return{isOpen:m,setIsOpen:T,groupedItems:y,sections:S,controls:N,handleItemClick:P,sheetSide:c,isNavigationLoading:!i,navigationItemCount:g.length,currentBreakpoint:h}}function F(n,o,t,a){const i=B.APPLICATION_LEVEL_NOTIFICATION_CENTER,r=n(i,o,a),d=`components.${i}.${o}`;return r===d?t??r:r}function nn(n,o,t,a){const i=o-n,r=Math.floor(i/6e4),d=Math.floor(i/36e5),l=Math.floor(i/864e5);return r<1?F(t,"timeJustNow"):r<60?F(t,"timeMinutesAgo",void 0,{count:r}):d<24?F(t,"timeHoursAgo",void 0,{count:d}):l<7?F(t,"timeDaysAgo",void 0,{count:l}):a(n)}function tn(n){switch(n){case"success":return $.CHECK_CIRCLE;case"warning":return $.WARNING;case"error":return $.X_CIRCLE;default:return $.INFO}}function Tn(n,o,t={}){const{notifications:a,clearAll:i,removeNotification:r}=me(),{on:d}=fe(),{tComponent:l,formatDate:m}=Z({component:B.APPLICATION_LEVEL_NOTIFICATION_CENTER}),[T,h]=s.useState(!1),[A,I]=s.useState(()=>Date.now()),C=t.listenForHotkeys!==!1,g=n!==void 0&&o!==void 0,y=g?n:T,N=s.useRef(y);N.current=y;const S=s.useCallback(e=>{if(g&&o){o(e);return}h(e)},[g,o]);s.useEffect(()=>C?d(pe.HOTKEY_NOTIFICATIONS_OPEN,()=>{S(!N.current)}):void 0,[d,C,S]),s.useEffect(()=>{const e=globalThis.setInterval(()=>{I(Date.now())},6e4);return()=>globalThis.clearInterval(e)},[]);const P=s.useMemo(()=>a.map(e=>{let f="",p=e.message;return e.source==="resource"&&e.resourceContext?(f=F(l,"resourceNotificationTitle",e.resourceContext.resourceType,{resourceType:e.resourceContext.resourceType}),p||(p=F(l,"resourceNotificationMessage",e.resourceContext.operationIdentifier,{operation:e.resourceContext.operationIdentifier}))):e.source==="custom"&&e.identifier&&(f=""),!f&&p&&(f=p,p=""),!f&&e.identifier&&(f=e.identifier),f||(f=l(B.APPLICATION_LEVEL_NOTIFICATION_CENTER,"title")),{id:e.id,type:e.type,source:e.source,timestamp:e.timestamp,displayTitle:f,displayMessage:p,relativeTimeLabel:nn(e.timestamp,A,l,m),iconReference:tn(e.type),nextStep:e.nextStep}}),[a,l,A,m]),c=s.useCallback(e=>{r(e)},[r]);return{isOpen:y,setIsOpen:S,sessionNotifications:P,notificationCount:a.length,handleClearAll:i,dismissNotification:c}}function on(n){return typeof n=="object"&&n!==null&&!Array.isArray(n)}function Cn(){const{UIConfig:n,appComponentsConfiguration:o}=_(),t=W(),{navigate:a}=G(),i=J(),r=o?.[b.QUICK_ACTION_BUTTON],d=on(r)?r:void 0,l=s.useMemo(()=>Qe(d?.actions,i),[d?.actions,i]),m=s.useMemo(()=>!l?.length||!t?[]:Ye(l,t),[l,t]),T=s.useMemo(()=>m.map(y=>({id:y.id,label:y.label,icon:y.icon,displayPolicy:y.displayPolicy,onClick:()=>Q.dispatchNavigationForResolvedTarget(a,y,b.QUICK_ACTION_BUTTON)})),[m,a]),{primaryAction:h,menuActions:A}=s.useMemo(()=>{const y=T.find(S=>S.displayPolicy===ae.PRIMARY)??null,N=T.filter(S=>S.displayPolicy!==ae.PRIMARY);return{primaryAction:y,menuActions:N}},[T]),[I,C]=s.useState(!1),g=s.useCallback(y=>{C(!1),y.onClick()},[]);return{allItems:T,primaryAction:h,menuActions:A,isOpen:I,setIsOpen:C,handleActionClick:g,hasActions:!!l?.length,isNavigationLoading:!!l?.length&&t===null,currentBreakpoint:n?.currentBreakpoint}}export{ze as a,qe as b,an as c,mn as d,un as e,Tn as f,rn as g,Cn as h,Xe as i,ln as j,dn as k,fn as l,pn as m,Je as r,cn as u};
|
|
1
|
+
import{ar as re,as as L,at as Te,L as Ce,ag as _,au as ce,r as s,av as ue,aw as v,ax as b,ay as he,az as le,aA as de,aB as ge,aC as Ae,aD as D,aE as V,aF as k,l as E,aG as W,aH as G,aI as J,aJ as ye,aK as Ie,aL as be,aM as Oe,aN as Q,aO as Se,a7 as Re,aP as fe,aQ as Ne,aR as pe,aS as Ee,aT as se,aU as Y,aV as z,u as Z,F as B,aW as Me,aX as Be,aY as Le,aZ as ve,a_ as Pe,a$ as X,b0 as _e,b1 as ke,a4 as we,b2 as me,b3 as q,b4 as ee,b5 as Ue,b6 as Ve,b7 as K,b8 as Fe,b9 as De,ba as xe,bb as He,bc as ne,bd as Ke,be as je,bf as w,t as $,bg as Qe,bh as Ye,bi as ae}from"./index-CHO8NA6v.js";const ie=new Set;function ze(n){const o=typeof n=="string"?n:re(n)?n.placement:void 0;if(o===void 0)return L.BOTTOM;if(Te(o))return o;const t=String(o);return ie.has(t)||(ie.add(t),Ce.getLogger().warn(`[app-shell] the status bar is configured at '${t}', which no shell layout places (only '${L.TOP}' and '${L.BOTTOM}'); it is shown at '${L.BOTTOM}'.`)),L.BOTTOM}function an(){const{UIConfig:n,navigationLayout:o,appComponentsConfiguration:t}=_(),{markComponentInitialized:a}=ce(),i=!!(o&&t);return s.useEffect(()=>{i&&a(ue.APP_MAIN_CONTAINER)},[i,a]),s.useMemo(()=>{if(!i||!o||!t)return{hasMenubar:!1,hasSidebar:!1,hasStatusBar:!1,hasToolbar:!1,hasActivityBar:!1,hasQuickActionButton:!1,hasUtilityPanel:!1,sidebarPlacement:v.START,statusBarPlacement:L.BOTTOM,utilityPanelPlacement:v.END,isLayoutReady:!1};const r=t[b.SIDEBAR],d=t[b.STATUS_BAR],l=t[b.UTILITY_PANEL],m=he(r)?r.placement:v.START;return{hasMenubar:!!t[b.MENUBAR],hasSidebar:!!r,hasStatusBar:!!d,hasToolbar:!!t[b.TOOLBAR],hasActivityBar:!!t[b.ACTIVITY_BAR],hasQuickActionButton:!!t[b.QUICK_ACTION_BUTTON],hasUtilityPanel:!!l,sidebarPlacement:m,statusBarPlacement:ze(d),utilityPanelPlacement:le(l)?l.position??v.END:v.END,isLayoutReady:!0}},[i,o,t])}function $e(n){s.useEffect(()=>{if(!n)return;const o=Array.from(document.querySelectorAll('link[rel~="icon"]')),t=o.length===0?document.createElement("link"):void 0;t&&(t.rel="icon",document.head.appendChild(t));const a=t?[t]:o,i=a.map(r=>r.getAttribute("href"));return a.forEach(r=>{r.href=n}),()=>{if(t){t.remove();return}a.forEach((r,d)=>{const l=i[d];l==null?r.removeAttribute("href"):r.setAttribute("href",l)})}},[n])}function rn(n=!1,o){const{markComponentInitialized:t,frontendConfiguration:a}=ce();s.useEffect(()=>{t(ue.PUBLIC_APP_CONTAINER)},[t]);const i=de(),{shellIdentity:r}=_(),d=n&&!r?o:void 0,l=d?{name:d.organizationName||i.name,logoUrl:d.logoUrl||i.logoUrl,logoComposition:void 0}:i,m=a.publicShellIdentityMode===ge.BRAND_HEADER?l:void 0;return $e(d?.faviconUrl),{useCardLayout:n,isReady:!0,brandHeader:m,brandAccentColor:m?d?.primaryColor:void 0}}function We(n){return typeof n=="object"&&n!==null&&!Array.isArray(n)}function Ge(n){switch(n){case V.VERTICAL_RAIL:return{direction:k.VERTICAL,borderSide:E.END,tooltipSide:E.END,orientation:k.VERTICAL};case V.HORIZONTAL_BAR:return{direction:k.HORIZONTAL,borderSide:E.BOTTOM,tooltipSide:E.TOP,orientation:k.HORIZONTAL};case V.BOTTOM_TAB_BAR:return{direction:k.HORIZONTAL,borderSide:E.TOP,tooltipSide:E.TOP,orientation:k.HORIZONTAL};default:return{direction:k.VERTICAL,borderSide:E.END,tooltipSide:E.END,orientation:k.VERTICAL}}}function cn(){const{UIConfig:n,appComponentsConfiguration:o}=_(),t=Ae(),a=o?.[b.ACTIVITY_BAR],r=n?.currentBreakpoint===D.MOBILE,d=s.useMemo(()=>We(a)?r?a.mobileRendering??V.BOTTOM_TAB_BAR:a.desktopRendering??V.VERTICAL_RAIL:r?V.BOTTOM_TAB_BAR:V.VERTICAL_RAIL,[a,r]),l=s.useMemo(()=>Ge(d),[d]);return{availableModes:s.useMemo(()=>t?.availableModes??[],[t?.availableModes]),activeMode:t?.activeMode??null,setActiveMode:t?.setActiveMode??(()=>{}),hasModes:t?.hasModes??!1,activeRenderingMode:d,layout:l,isNavigationLoading:!t}}function j(n){return typeof n=="object"&&n!==null&&!Array.isArray(n)}function un(n={}){const{mode:o}=n,{UIConfig:t,appComponentsConfiguration:a,navigationLayout:i,homeDefinition:r}=_(),d=W(),{navigate:l}=G(),m=J(),{isNavigationItemActive:T,isHomeActive:h,handleHomeClick:A}=ye(),I=r?.compositeViewReference,C=a?.[b.MENUBAR],g=t?.currentBreakpoint,y=j(C)?C.brandMarkTheme:void 0,N=de({theme:y}),S=j(C)&&C.brandHeader===!0?N:void 0,P=s.useMemo(()=>j(C)?Ie(b.MENUBAR,C.hostedComponents,a,g,v.START,i):[],[a,C,g,i]),c=s.useMemo(()=>j(C)?be(C.items,m):void 0,[C,m]),e=s.useMemo(()=>{if(!d||!c?.length)return[];const p=Oe(void 0,c,d),O=Q.getMostSpecificActiveRoute(p.items.map(u=>u.urlPath),T),M=u=>h&&I!==void 0&&u.viewRef===I;return p.items.map(u=>({id:u.id,label:u.label,icon:u.icon,group:u.group,isActive:O!==void 0&&u.urlPath===O||M(u),...u.notificationBadgeRef?{notificationBadgeRef:u.notificationBadgeRef}:{},onExecute:()=>{Q.dispatchNavigationForResolvedTarget(l,u,b.MENUBAR)}}))},[c,d,l,T,h,I]),f=s.useMemo(()=>{const p=o||(j(C)?C.displayPolicy??"FIXED":typeof C=="string"?C:"FIXED"),O=p==="OVERLAY",M=g===D.MOBILE;return{mode:p,isOverlay:O,showMobileLayout:M&&O}},[C,o,g]);return{containerComponents:P,brandHeader:S,isHomeActive:h,handleHomeClick:A,items:e,menubarConfig:f,mapToFrontendComponentType:Se}}function Je(n,o){if(!n)return;const t=n.resourceConfigurations[o.resourceType];if(!t?.mainSchema)return;const a=t.mainSchema.shape,i=a?.[o.fieldIdentifier];if(i)return{schema:i,isPrimaryKeyFallback:!1};if(o.fieldIdentifier!==t.resourceFieldIdentifier)return;const r=a?._id??a?.id;return r?{schema:r,isPrimaryKeyFallback:!0}:void 0}function ln(n={}){const o=Re(),{on:t}=fe(),{registry:a}=Ne(),[i,r]=s.useState(0),d=n.focusTrigger??i;s.useEffect(()=>{if(n.focusTrigger===void 0)return t(pe.HOTKEY_QUICK_SWITCHER_OPEN,()=>{r(c=>c+1)})},[t,n.focusTrigger]);const l=Ee({mode:"onChange",defaultValues:o?.customScopeValues??{}}),m=s.useRef(!1),T=s.useCallback((c,e)=>c==null?e?[]:void 0:Array.isArray(c)?e?c:c[0]:e?[c]:c,[]),h=s.useMemo(()=>o?.customScopeFields?[...o.customScopeFields].sort((c,e)=>(c.position??se)-(e.position??se)):[],[o?.customScopeFields]),A=s.useMemo(()=>{const c=new Map;if(!a)return c;for(const e of h){const f=Je(a,e);f&&c.set(e.fieldIdentifier,f)}return c},[h,a]);s.useEffect(()=>{if(o?.customScopeValues){m.current=!0;for(const c of o.customScopeFields){const e=c.fieldIdentifier,f=o.customScopeValues[e],p=l.getValues(e),O=A.get(e)?.schema,M=O?Y(O)===z.ARRAY:Array.isArray(f),u=T(f??null,M);JSON.stringify(p)!==JSON.stringify(u)&&l.setValue(e,u)}queueMicrotask(()=>{m.current=!1})}},[o?.customScopeValues,o?.customScopeFields,l,T,A]);const I=s.useMemo(()=>{const c=new Set;for(const e of h)c.add(e.resourceType);return Array.from(c)},[h]),{tResourceHeader:C}=Z({component:B.APPLICATION_LEVEL_QUICK_SWITCHER,resource:I}),g=s.useMemo(()=>h.map(c=>c.fieldIdentifier),[h]),y=Me({control:l.control,name:g});s.useEffect(()=>{m.current||g.forEach((c,e)=>{const f=y[e],p=o?.customScopeValues[c],O=A.get(c)?.schema,M=O?Y(O)===z.ARRAY:!1;let u;if(f===void 0||f===""||f===null)u=null;else if(M){const R=Array.isArray(f)?f.filter(U=>typeof U=="string"&&U.length>0):[String(f)];u=R.length>0?R:null}else u=Array.isArray(f)?f[0]??null:String(f);JSON.stringify(u)!==JSON.stringify(p??null)&&o?.setScopeValue(c,u,{initiator:Be.USER_SELECTION})})},[y,g,o,h,A]);const N=s.useCallback(c=>{const e=c.dependsOn?o?.allScopeValues?.[c.dependsOn]:null;return c.dependsOn?Array.isArray(e)?e.length===0:!e:!1},[o?.allScopeValues]),S=s.useMemo(()=>h.flatMap(c=>{const e=c.fieldIdentifier,f=A.get(e);if(!f)return Le.isDevelopment()&&console.warn(`[QuickSwitcher] No schema found for scope field "${e}" — field will not render.`),[];const{schema:p,isPrimaryKeyFallback:O}=f,u=Y(p)===z.ARRAY,R=u?ve(p)??p:p,U=Y(R),x=Pe(R)||O?X.RESOURCE_REFERENCE:U===z.ENUM?X.ENUM:X.RAW,te=C(c.resourceType,"title"),oe=c.label||te||e;return[{fieldId:e,label:oe,schema:p,valueSchema:R,disabled:N(c),isMultiple:u,controlKind:x,targetResourceType:O?c.resourceType:void 0,placeholder:te||oe,optionDisplayMode:c.optionDisplayMode??ke,presentation:c.presentation??_e.CONTROL_ONLY,onClear:()=>l.setValue(e,u?[]:void 0,{shouldDirty:!0,shouldTouch:!0}),hasValue:(()=>{const H=l.getValues(e);return Array.isArray(H)?H.length>0:H!=null&&H!==""})(),definition:c}]}),[h,A,C,N,l,y]),P=s.useMemo(()=>n.containerType===b.SIDEBAR?"vertical":"horizontal",[n.containerType]);return{fields:S,formMethods:l,layoutDirection:P,focusTrigger:d}}function dn(n=L.BOTTOM){const{UIConfig:o,appComponentsConfiguration:t,shellAppearance:a}=_(),{tComponent:i}=Z({component:B.APPLICATION_LEVEL_STATUS_BAR}),{status:r}=we(),{notifications:d}=me(),l=t?.[b.STATUS_BAR],m=o?.currentBreakpoint,T=re(l)?l:void 0,h=T?.showConnectionStatus??!0,A=T?.showConnectionStatusOnMobile??!1,I=T?.showNotificationCount??!0,C=T?.showMemoryUsage??!1,g=s.useMemo(()=>I?d.length:0,[I,d.length]),y=s.useMemo(()=>(T?.statusItems??[]).map(u=>{const R=u.value!=null?String(u.value):void 0;switch(u.type){case ee.LINK:return{id:u.id,label:u.label,iconReference:u.icon,valueText:R,interaction:{type:q.LINK,href:u.href}};case ee.BUTTON:return{id:u.id,label:u.label,iconReference:u.icon,valueText:R,interaction:{type:q.BUTTON,onClick:u.onClick}};case ee.TEXT:default:return{id:u.id,label:u.label,iconReference:u.icon,valueText:R,interaction:{type:q.STATIC}}}}),[T]),N=s.useMemo(()=>T?.style,[T]),S=s.useMemo(()=>{const u=m===D.MOBILE;return{height:T?.height??(u?28:32)}},[m,T]),P=s.useMemo(()=>{const u=n===L.TOP,R=n===L.BOTTOM,U=m===D.MOBILE,x=a===Ue.CONTINUOUS;return{isTop:u,isBottom:R,isMobile:U,backgroundClassName:T?.backgroundClassName??(x?"bg-transparent":"bg-surface-sunken"),textClassName:T?.textClassName??(x?"text-foreground":"text-surface-sunken-foreground"),showBorder:T?.showBorder??!x}},[n,m,T,a]),c=s.useMemo(()=>{const u=m===D.MOBILE;return h&&(!u||A)},[m,h,A]),e=I&&g>0,f=s.useMemo(()=>!C||typeof performance>"u"||!("memory"in performance)?null:`${Math.round((performance.memory?.usedJSHeapSize??0)/1048576)}MB`,[C]),p=s.useMemo(()=>Ve(g),[g]),O=s.useMemo(()=>i(B.APPLICATION_LEVEL_STATUS_BAR,"notificationCount",{count:p}),[p,i]),M=s.useMemo(()=>{switch(r){case K.CONNECTED:return i(B.APPLICATION_LEVEL_STATUS_BAR,"connected");case K.CONNECTING:case K.RECONNECTING:return i(B.APPLICATION_LEVEL_STATUS_BAR,"reconnecting");case K.DISCONNECTED:case K.ERROR:default:return i(B.APPLICATION_LEVEL_STATUS_BAR,"disconnected")}},[r,i]);return{totalBadgeCount:g,connectionStatus:r,showConnectionStatus:h,showConnectionStatusOnMobile:A,shouldShowConnectionStatus:c,showNotificationCount:I,shouldShowNotificationCount:e,showMemoryUsage:C,memoryUsageLabel:f,notificationCountLabel:p,notificationCountAriaLabel:O,connectionStatusLabel:M,statusItems:y,dimensions:S,statusBarConfig:P,customStyle:N,currentBreakpoint:m}}function Ze(n){return typeof n=="object"&&n!==null&&!Array.isArray(n)}function fn(){const{UIConfig:n,appComponentsConfiguration:o}=_(),t=W(),{navigate:a}=G(),i=J(),r=o?.[b.TOOLBAR],d=n?.currentBreakpoint,l=d===D.MOBILE,m=Ze(r)?r:void 0,T=s.useMemo(()=>Fe(m?.tools,i),[m?.tools,i]),h=s.useMemo(()=>!T?.length||!t?[]:De(T,t),[T,t]),A=s.useMemo(()=>h.map(g=>({id:g.id,label:g.label,icon:g.icon,iconOnly:g.iconOnly,onClick:()=>Q.dispatchNavigationForResolvedTarget(a,g,b.TOOLBAR)})),[h,a]),I=s.useMemo(()=>({placement:m?.placement??"top",compact:m?.compact??!1,showSeparator:m?.showSeparator??!0,hideOnMobile:m?.hideOnMobile??!1}),[m]),C=A.length>0&&!(l&&I.hideOnMobile);return{tools:A,toolbarConfig:I,shouldRender:C,currentBreakpoint:d}}function Xe(n){return xe.isRegistered(n,He.DEFAULT)}function qe(n,o,t=Xe){return n.map(a=>{if(a.kind===ne.VIEW){const r=o.includes(a.viewRef);return!r&&typeof console<"u"&&console.warn(`[utility-panel] item "${a.label}" names viewRef "${a.viewRef}", which no declared application-scoped view carries. Declare it in the application's \`flowsActorsViews\`, or the panel has nothing to host for this item.`),{kind:ne.VIEW,viewRef:a.viewRef,resolvedViewRef:r?a.viewRef:null,icon:a.icon,label:a.label}}const i=t(a.componentRef);return!i&&typeof console<"u"&&console.warn(`[utility-panel] item "${a.label}" names componentRef "${a.componentRef}", which has no component registered under the default preset. Register it — an application component through its domain module's \`componentRegistrations\`, an engine one through its preset — or nothing will render for this item.`),{kind:ne.CUSTOM_COMPONENT,componentRef:a.componentRef,resolvedComponentRef:i?a.componentRef:null,icon:a.icon,label:a.label}})}function pn(n=v.END,o){const{UIConfig:t,appComponentsConfiguration:a,flowsActorsViews:i}=_(),[r,d]=s.useState(!1),l=t?.currentBreakpoint,m=a?.[b.UTILITY_PANEL],T=le(m)?m:void 0,h=s.useMemo(()=>qe(o??T?.items??[],i?.map(I=>I.ref)??[]),[T,o,i]),A=s.useMemo(()=>T?.position??n,[T,n]);return{isOpen:r,setIsOpen:d,items:h,itemCount:h.length,position:A,currentBreakpoint:l}}function en(n,o){const t=Number(n);return Number.isFinite(t)?t:o}function mn(n=v.END,o=[]){const{UIConfig:t,appComponentsConfiguration:a}=_(),i=W(),{navigate:r}=G(),{tComponent:d}=Z({component:B.APPLICATION_LEVEL_CONTROL_PANEL}),l=J(),[m,T]=s.useState(!1),h=t?.currentBreakpoint,A=a?.[b.CONTROL_PANEL],I=typeof A=="object"&&A!==null?A.items:void 0,C=s.useMemo(()=>Ke(I,l),[I,l]),g=s.useMemo(()=>!C||!i?[]:je(C,i),[C,i]),y=s.useMemo(()=>{const e={uncategorized:[]};for(const f of g){const p=f.section??"uncategorized";e[p]||(e[p]=[]),e[p].push(f)}return e},[g]),N=s.useMemo(()=>o.map(e=>{const f=!e.onChange;switch(e.type){case w.BUTTON:return{id:e.id,label:e.label,type:w.BUTTON,disabled:f,onTrigger:()=>e.onChange?.(!0)};case w.TOGGLE:{const p=e.value===!0;return{id:e.id,label:e.label,type:w.TOGGLE,disabled:f,value:p,onToggle:()=>e.onChange?.(!p)}}case w.SELECT:return{id:e.id,label:e.label,type:w.SELECT,disabled:f,value:e.value,options:(e.options??[]).map(p=>({label:p.label,value:p.value,isSelected:e.value===p.value,onSelect:()=>e.onChange?.(p.value)}))};case w.SLIDER:{const p=e.min??0,O=e.max??100,M=e.step??1,u=en(e.value,p);return{id:e.id,label:e.label,type:w.SLIDER,disabled:f,value:u,min:p,max:O,step:M,onValueChange:R=>e.onChange?.(R)}}}}),[o]),S=s.useMemo(()=>Object.entries(y).filter(([,e])=>e.length>0).map(([e,f])=>({id:e,label:e==="uncategorized"?d(B.APPLICATION_LEVEL_CONTROL_PANEL,"actions"):d(B.APPLICATION_LEVEL_CONTROL_PANEL,e),items:f})),[y,d]),P=s.useCallback(e=>{T(!1),Q.dispatchNavigationForResolvedTarget(r,e,b.CONTROL_PANEL)},[r]),c=s.useMemo(()=>{const e=n;return e===v.START?E.START:e===v.END?E.END:e===L.TOP?E.TOP:e===L.BOTTOM?E.BOTTOM:E.END},[n]);return{isOpen:m,setIsOpen:T,groupedItems:y,sections:S,controls:N,handleItemClick:P,sheetSide:c,isNavigationLoading:!i,navigationItemCount:g.length,currentBreakpoint:h}}function F(n,o,t,a){const i=B.APPLICATION_LEVEL_NOTIFICATION_CENTER,r=n(i,o,a),d=`components.${i}.${o}`;return r===d?t??r:r}function nn(n,o,t,a){const i=o-n,r=Math.floor(i/6e4),d=Math.floor(i/36e5),l=Math.floor(i/864e5);return r<1?F(t,"timeJustNow"):r<60?F(t,"timeMinutesAgo",void 0,{count:r}):d<24?F(t,"timeHoursAgo",void 0,{count:d}):l<7?F(t,"timeDaysAgo",void 0,{count:l}):a(n)}function tn(n){switch(n){case"success":return $.CHECK_CIRCLE;case"warning":return $.WARNING;case"error":return $.X_CIRCLE;default:return $.INFO}}function Tn(n,o,t={}){const{notifications:a,clearAll:i,removeNotification:r}=me(),{on:d}=fe(),{tComponent:l,formatDate:m}=Z({component:B.APPLICATION_LEVEL_NOTIFICATION_CENTER}),[T,h]=s.useState(!1),[A,I]=s.useState(()=>Date.now()),C=t.listenForHotkeys!==!1,g=n!==void 0&&o!==void 0,y=g?n:T,N=s.useRef(y);N.current=y;const S=s.useCallback(e=>{if(g&&o){o(e);return}h(e)},[g,o]);s.useEffect(()=>C?d(pe.HOTKEY_NOTIFICATIONS_OPEN,()=>{S(!N.current)}):void 0,[d,C,S]),s.useEffect(()=>{const e=globalThis.setInterval(()=>{I(Date.now())},6e4);return()=>globalThis.clearInterval(e)},[]);const P=s.useMemo(()=>a.map(e=>{let f="",p=e.message;return e.source==="resource"&&e.resourceContext?(f=F(l,"resourceNotificationTitle",e.resourceContext.resourceType,{resourceType:e.resourceContext.resourceType}),p||(p=F(l,"resourceNotificationMessage",e.resourceContext.operationIdentifier,{operation:e.resourceContext.operationIdentifier}))):e.source==="custom"&&e.identifier&&(f=""),!f&&p&&(f=p,p=""),!f&&e.identifier&&(f=e.identifier),f||(f=l(B.APPLICATION_LEVEL_NOTIFICATION_CENTER,"title")),{id:e.id,type:e.type,source:e.source,timestamp:e.timestamp,displayTitle:f,displayMessage:p,relativeTimeLabel:nn(e.timestamp,A,l,m),iconReference:tn(e.type),nextStep:e.nextStep}}),[a,l,A,m]),c=s.useCallback(e=>{r(e)},[r]);return{isOpen:y,setIsOpen:S,sessionNotifications:P,notificationCount:a.length,handleClearAll:i,dismissNotification:c}}function on(n){return typeof n=="object"&&n!==null&&!Array.isArray(n)}function Cn(){const{UIConfig:n,appComponentsConfiguration:o}=_(),t=W(),{navigate:a}=G(),i=J(),r=o?.[b.QUICK_ACTION_BUTTON],d=on(r)?r:void 0,l=s.useMemo(()=>Qe(d?.actions,i),[d?.actions,i]),m=s.useMemo(()=>!l?.length||!t?[]:Ye(l,t),[l,t]),T=s.useMemo(()=>m.map(y=>({id:y.id,label:y.label,icon:y.icon,displayPolicy:y.displayPolicy,onClick:()=>Q.dispatchNavigationForResolvedTarget(a,y,b.QUICK_ACTION_BUTTON)})),[m,a]),{primaryAction:h,menuActions:A}=s.useMemo(()=>{const y=T.find(S=>S.displayPolicy===ae.PRIMARY)??null,N=T.filter(S=>S.displayPolicy!==ae.PRIMARY);return{primaryAction:y,menuActions:N}},[T]),[I,C]=s.useState(!1),g=s.useCallback(y=>{C(!1),y.onClick()},[]);return{allItems:T,primaryAction:h,menuActions:A,isOpen:I,setIsOpen:C,handleActionClick:g,hasActions:!!l?.length,isNavigationLoading:!!l?.length&&t===null,currentBreakpoint:n?.currentBreakpoint}}export{ze as a,qe as b,an as c,mn as d,un as e,Tn as f,rn as g,Cn as h,Xe as i,ln as j,dn as k,fn as l,pn as m,Je as r,cn as u};
|
package/dist/assets/{xychartDiagram-PRI3JC2R-DysnJiZf.js → xychartDiagram-PRI3JC2R-BD8d9TGv.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{s as ei,g as si,q as Lt,p as ni,a as ai,b as ri,_ as a,l as Et,I as oi,d as hi,y as li,G as xt,h as ci,E as It,F as ui,a0 as gi,aE as xi,a8 as Tt}from"./mermaid.core-
|
|
1
|
+
import{s as ei,g as si,q as Lt,p as ni,a as ai,b as ri,_ as a,l as Et,I as oi,d as hi,y as li,G as xt,h as ci,E as It,F as ui,a0 as gi,aE as xi,a8 as Tt}from"./mermaid.core-DL97wpul.js";import"./index-CHO8NA6v.js";import{i as di}from"./init-Gi6I4Gst.js";import{o as fi}from"./ordinal-Cboi1Yqb.js";import{l as Dt}from"./linear-BIzHWTWZ.js";import"./mermaid-VLURNSYL-DPc-hyxN.js";import"./index-e-4cSkrt.js";import"./maximize-2-Bl11RTvy.js";import"./defaultLocale-DX6XiGOO.js";function pi(t,i,e){t=+t,i=+i,e=(n=arguments.length)<2?(i=t,t=0,1):n<3?1:+e;for(var s=-1,n=Math.max(0,Math.ceil((i-t)/e))|0,x=new Array(n);++s<n;)x[s]=t+s*e;return x}function ht(){var t=fi().unknown(void 0),i=t.domain,e=t.range,s=0,n=1,x,g,m=!1,S=0,D=0,v=.5;delete t.unknown;function w(){var y=i().length,E=n<s,T=E?n:s,P=E?s:n;x=(P-T)/Math.max(1,y-S+D*2),m&&(x=Math.floor(x)),T+=(P-T-x*(y-S))*v,g=x*(1-S),m&&(T=Math.round(T),g=Math.round(g));var I=pi(y).map(function(p){return T+x*p});return e(E?I.reverse():I)}return t.domain=function(y){return arguments.length?(i(y),w()):i()},t.range=function(y){return arguments.length?([s,n]=y,s=+s,n=+n,w()):[s,n]},t.rangeRound=function(y){return[s,n]=y,s=+s,n=+n,m=!0,w()},t.bandwidth=function(){return g},t.step=function(){return x},t.round=function(y){return arguments.length?(m=!!y,w()):m},t.padding=function(y){return arguments.length?(S=Math.min(1,D=+y),w()):S},t.paddingInner=function(y){return arguments.length?(S=Math.min(1,y),w()):S},t.paddingOuter=function(y){return arguments.length?(D=+y,w()):D},t.align=function(y){return arguments.length?(v=Math.max(0,Math.min(1,y)),w()):v},t.copy=function(){return ht(i(),[s,n]).round(m).paddingInner(S).paddingOuter(D).align(v)},di.apply(w(),arguments)}var lt=(function(){var t=a(function(F,o,c,u){for(c=c||{},u=F.length;u--;c[F[u]]=o);return c},"o"),i=[1,10,12,14,16,18,19,21,23],e=[2,6],s=[1,3],n=[1,5],x=[1,6],g=[1,7],m=[1,5,10,12,14,16,18,19,21,23,34,35,36],S=[1,25],D=[1,26],v=[1,28],w=[1,29],y=[1,30],E=[1,31],T=[1,32],P=[1,33],I=[1,34],p=[1,35],_=[1,36],l=[1,37],W=[1,43],z=[1,42],U=[1,47],X=[1,50],h=[1,10,12,14,16,18,19,21,23,34,35,36],L=[1,10,12,14,16,18,19,21,23,24,26,27,28,34,35,36],C=[1,10,12,14,16,18,19,21,23,24,26,27,28,34,35,36,41,42,43,44,45,46,47,48,49,50],k=[1,64],$={trace:a(function(){},"trace"),yy:{},symbols_:{error:2,start:3,eol:4,XYCHART:5,chartConfig:6,document:7,CHART_ORIENTATION:8,statement:9,title:10,text:11,X_AXIS:12,parseXAxis:13,Y_AXIS:14,parseYAxis:15,LINE:16,plotData:17,BAR:18,acc_title:19,acc_title_value:20,acc_descr:21,acc_descr_value:22,acc_descr_multiline_value:23,SQUARE_BRACES_START:24,commaSeparatedNumbers:25,SQUARE_BRACES_END:26,NUMBER_WITH_DECIMAL:27,COMMA:28,xAxisData:29,bandData:30,ARROW_DELIMITER:31,commaSeparatedTexts:32,yAxisData:33,NEWLINE:34,SEMI:35,EOF:36,alphaNum:37,STR:38,MD_STR:39,alphaNumToken:40,AMP:41,NUM:42,ALPHA:43,PLUS:44,EQUALS:45,MULT:46,DOT:47,BRKT:48,MINUS:49,UNDERSCORE:50,$accept:0,$end:1},terminals_:{2:"error",5:"XYCHART",8:"CHART_ORIENTATION",10:"title",12:"X_AXIS",14:"Y_AXIS",16:"LINE",18:"BAR",19:"acc_title",20:"acc_title_value",21:"acc_descr",22:"acc_descr_value",23:"acc_descr_multiline_value",24:"SQUARE_BRACES_START",26:"SQUARE_BRACES_END",27:"NUMBER_WITH_DECIMAL",28:"COMMA",31:"ARROW_DELIMITER",34:"NEWLINE",35:"SEMI",36:"EOF",38:"STR",39:"MD_STR",41:"AMP",42:"NUM",43:"ALPHA",44:"PLUS",45:"EQUALS",46:"MULT",47:"DOT",48:"BRKT",49:"MINUS",50:"UNDERSCORE"},productions_:[0,[3,2],[3,3],[3,2],[3,1],[6,1],[7,0],[7,2],[9,2],[9,2],[9,2],[9,2],[9,2],[9,3],[9,2],[9,3],[9,2],[9,2],[9,1],[17,3],[25,3],[25,1],[13,1],[13,2],[13,1],[29,1],[29,3],[30,3],[32,3],[32,1],[15,1],[15,2],[15,1],[33,3],[4,1],[4,1],[4,1],[11,1],[11,1],[11,1],[37,1],[37,2],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1]],performAction:a(function(o,c,u,d,A,r,j){var f=r.length-1;switch(A){case 5:d.setOrientation(r[f]);break;case 9:d.setDiagramTitle(r[f].text.trim());break;case 12:d.setLineData({text:"",type:"text"},r[f]);break;case 13:d.setLineData(r[f-1],r[f]);break;case 14:d.setBarData({text:"",type:"text"},r[f]);break;case 15:d.setBarData(r[f-1],r[f]);break;case 16:this.$=r[f].trim(),d.setAccTitle(this.$);break;case 17:case 18:this.$=r[f].trim(),d.setAccDescription(this.$);break;case 19:this.$=r[f-1];break;case 20:this.$=[Number(r[f-2]),...r[f]];break;case 21:this.$=[Number(r[f])];break;case 22:d.setXAxisTitle(r[f]);break;case 23:d.setXAxisTitle(r[f-1]);break;case 24:d.setXAxisTitle({type:"text",text:""});break;case 25:d.setXAxisBand(r[f]);break;case 26:d.setXAxisRangeData(Number(r[f-2]),Number(r[f]));break;case 27:this.$=r[f-1];break;case 28:this.$=[r[f-2],...r[f]];break;case 29:this.$=[r[f]];break;case 30:d.setYAxisTitle(r[f]);break;case 31:d.setYAxisTitle(r[f-1]);break;case 32:d.setYAxisTitle({type:"text",text:""});break;case 33:d.setYAxisRangeData(Number(r[f-2]),Number(r[f]));break;case 37:this.$={text:r[f],type:"text"};break;case 38:this.$={text:r[f],type:"text"};break;case 39:this.$={text:r[f],type:"markdown"};break;case 40:this.$=r[f];break;case 41:this.$=r[f-1]+""+r[f];break}},"anonymous"),table:[t(i,e,{3:1,4:2,7:4,5:s,34:n,35:x,36:g}),{1:[3]},t(i,e,{4:2,7:4,3:8,5:s,34:n,35:x,36:g}),t(i,e,{4:2,7:4,6:9,3:10,5:s,8:[1,11],34:n,35:x,36:g}),{1:[2,4],9:12,10:[1,13],12:[1,14],14:[1,15],16:[1,16],18:[1,17],19:[1,18],21:[1,19],23:[1,20]},t(m,[2,34]),t(m,[2,35]),t(m,[2,36]),{1:[2,1]},t(i,e,{4:2,7:4,3:21,5:s,34:n,35:x,36:g}),{1:[2,3]},t(m,[2,5]),t(i,[2,7],{4:22,34:n,35:x,36:g}),{11:23,37:24,38:S,39:D,40:27,41:v,42:w,43:y,44:E,45:T,46:P,47:I,48:p,49:_,50:l},{11:39,13:38,24:W,27:z,29:40,30:41,37:24,38:S,39:D,40:27,41:v,42:w,43:y,44:E,45:T,46:P,47:I,48:p,49:_,50:l},{11:45,15:44,27:U,33:46,37:24,38:S,39:D,40:27,41:v,42:w,43:y,44:E,45:T,46:P,47:I,48:p,49:_,50:l},{11:49,17:48,24:X,37:24,38:S,39:D,40:27,41:v,42:w,43:y,44:E,45:T,46:P,47:I,48:p,49:_,50:l},{11:52,17:51,24:X,37:24,38:S,39:D,40:27,41:v,42:w,43:y,44:E,45:T,46:P,47:I,48:p,49:_,50:l},{20:[1,53]},{22:[1,54]},t(h,[2,18]),{1:[2,2]},t(h,[2,8]),t(h,[2,9]),t(L,[2,37],{40:55,41:v,42:w,43:y,44:E,45:T,46:P,47:I,48:p,49:_,50:l}),t(L,[2,38]),t(L,[2,39]),t(C,[2,40]),t(C,[2,42]),t(C,[2,43]),t(C,[2,44]),t(C,[2,45]),t(C,[2,46]),t(C,[2,47]),t(C,[2,48]),t(C,[2,49]),t(C,[2,50]),t(C,[2,51]),t(h,[2,10]),t(h,[2,22],{30:41,29:56,24:W,27:z}),t(h,[2,24]),t(h,[2,25]),{31:[1,57]},{11:59,32:58,37:24,38:S,39:D,40:27,41:v,42:w,43:y,44:E,45:T,46:P,47:I,48:p,49:_,50:l},t(h,[2,11]),t(h,[2,30],{33:60,27:U}),t(h,[2,32]),{31:[1,61]},t(h,[2,12]),{17:62,24:X},{25:63,27:k},t(h,[2,14]),{17:65,24:X},t(h,[2,16]),t(h,[2,17]),t(C,[2,41]),t(h,[2,23]),{27:[1,66]},{26:[1,67]},{26:[2,29],28:[1,68]},t(h,[2,31]),{27:[1,69]},t(h,[2,13]),{26:[1,70]},{26:[2,21],28:[1,71]},t(h,[2,15]),t(h,[2,26]),t(h,[2,27]),{11:59,32:72,37:24,38:S,39:D,40:27,41:v,42:w,43:y,44:E,45:T,46:P,47:I,48:p,49:_,50:l},t(h,[2,33]),t(h,[2,19]),{25:73,27:k},{26:[2,28]},{26:[2,20]}],defaultActions:{8:[2,1],10:[2,3],21:[2,2],72:[2,28],73:[2,20]},parseError:a(function(o,c){if(c.recoverable)this.trace(o);else{var u=new Error(o);throw u.hash=c,u}},"parseError"),parse:a(function(o){var c=this,u=[0],d=[],A=[null],r=[],j=this.table,f="",J=0,St=0,Zt=2,_t=1,Jt=r.slice.call(arguments,1),R=Object.create(this.lexer),Y={yy:{}};for(var nt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,nt)&&(Y.yy[nt]=this.yy[nt]);R.setInput(o,Y.yy),Y.yy.lexer=R,Y.yy.parser=this,typeof R.yylloc>"u"&&(R.yylloc={});var at=R.yylloc;r.push(at);var ti=R.options&&R.options.ranges;typeof Y.yy.parseError=="function"?this.parseError=Y.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function ii(V){u.length=u.length-2*V,A.length=A.length-V,r.length=r.length-V}a(ii,"popStack");function kt(){var V;return V=d.pop()||R.lex()||_t,typeof V!="number"&&(V instanceof Array&&(d=V,V=d.pop()),V=c.symbols_[V]||V),V}a(kt,"lex");for(var M,H,B,rt,q={},tt,O,Rt,it;;){if(H=u[u.length-1],this.defaultActions[H]?B=this.defaultActions[H]:((M===null||typeof M>"u")&&(M=kt()),B=j[H]&&j[H][M]),typeof B>"u"||!B.length||!B[0]){var ot="";it=[];for(tt in j[H])this.terminals_[tt]&&tt>Zt&&it.push("'"+this.terminals_[tt]+"'");R.showPosition?ot="Parse error on line "+(J+1)+`:
|
|
2
2
|
`+R.showPosition()+`
|
|
3
3
|
Expecting `+it.join(", ")+", got '"+(this.terminals_[M]||M)+"'":ot="Parse error on line "+(J+1)+": Unexpected "+(M==_t?"end of input":"'"+(this.terminals_[M]||M)+"'"),this.parseError(ot,{text:R.match,token:this.terminals_[M]||M,line:R.yylineno,loc:at,expected:it})}if(B[0]instanceof Array&&B.length>1)throw new Error("Parse Error: multiple actions possible at state: "+H+", token: "+M);switch(B[0]){case 1:u.push(M),A.push(R.yytext),r.push(R.yylloc),u.push(B[1]),M=null,St=R.yyleng,f=R.yytext,J=R.yylineno,at=R.yylloc;break;case 2:if(O=this.productions_[B[1]][1],q.$=A[A.length-O],q._$={first_line:r[r.length-(O||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-(O||1)].first_column,last_column:r[r.length-1].last_column},ti&&(q._$.range=[r[r.length-(O||1)].range[0],r[r.length-1].range[1]]),rt=this.performAction.apply(q,[f,St,J,Y.yy,B[1],A,r].concat(Jt)),typeof rt<"u")return rt;O&&(u=u.slice(0,-1*O*2),A=A.slice(0,-1*O),r=r.slice(0,-1*O)),u.push(this.productions_[B[1]][0]),A.push(q.$),r.push(q._$),Rt=j[u[u.length-2]][u[u.length-1]],u.push(Rt);break;case 3:return!0}}return!0},"parse")},Ct=(function(){var F={EOF:1,parseError:a(function(c,u){if(this.yy.parser)this.yy.parser.parseError(c,u);else throw new Error(c)},"parseError"),setInput:a(function(o,c){return this.yy=c||this.yy||{},this._input=o,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:a(function(){var o=this._input[0];this.yytext+=o,this.yyleng++,this.offset++,this.match+=o,this.matched+=o;var c=o.match(/(?:\r\n?|\n).*/g);return c?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),o},"input"),unput:a(function(o){var c=o.length,u=o.split(/(?:\r\n?|\n)/g);this._input=o+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-c),this.offset-=c;var d=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),u.length-1&&(this.yylineno-=u.length-1);var A=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:u?(u.length===d.length?this.yylloc.first_column:0)+d[d.length-u.length].length-u[0].length:this.yylloc.first_column-c},this.options.ranges&&(this.yylloc.range=[A[0],A[0]+this.yyleng-c]),this.yyleng=this.yytext.length,this},"unput"),more:a(function(){return this._more=!0,this},"more"),reject:a(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
4
|
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:a(function(o){this.unput(this.match.slice(o))},"less"),pastInput:a(function(){var o=this.matched.substr(0,this.matched.length-this.match.length);return(o.length>20?"...":"")+o.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:a(function(){var o=this.match;return o.length<20&&(o+=this._input.substr(0,20-o.length)),(o.substr(0,20)+(o.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:a(function(){var o=this.pastInput(),c=new Array(o.length+1).join("-");return o+this.upcomingInput()+`
|
package/dist/index.html
CHANGED
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
}
|
|
76
76
|
</style>
|
|
77
77
|
<title>Wildo Application-Creation Workbench</title>
|
|
78
|
-
<script type="module" crossorigin src="/assets/index-
|
|
78
|
+
<script type="module" crossorigin src="/assets/index-CHO8NA6v.js"></script>
|
|
79
79
|
<link rel="stylesheet" crossorigin href="/assets/index-D-THewyc.css">
|
|
80
80
|
</head>
|
|
81
81
|
<body>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wildo-ai/application-creation-workbench",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.10",
|
|
4
4
|
"description": "Application-creation workbench: the built operator UI and the server that fronts it on an application's companion.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"author": "Wildo AI",
|
|
@@ -28,13 +28,13 @@
|
|
|
28
28
|
"@types/react": "^19.0.0",
|
|
29
29
|
"@types/react-dom": "^19.0.0",
|
|
30
30
|
"@vitejs/plugin-react": "^4.5.1",
|
|
31
|
-
"@wildo-ai/platform-core-shared": "1.1.
|
|
32
|
-
"@wildo-ai/presets-components": "1.1.
|
|
33
|
-
"@wildo-ai/presets-components-models": "1.1.
|
|
34
|
-
"@wildo-ai/saas-frontend-lib": "1.1.
|
|
35
|
-
"@wildo-ai/saas-models": "1.1.
|
|
36
|
-
"@wildo-ai/saas-specifications": "1.1.
|
|
37
|
-
"@wildo-ai/zod-decorators": "1.1.
|
|
31
|
+
"@wildo-ai/platform-core-shared": "1.1.10",
|
|
32
|
+
"@wildo-ai/presets-components": "1.1.10",
|
|
33
|
+
"@wildo-ai/presets-components-models": "1.1.10",
|
|
34
|
+
"@wildo-ai/saas-frontend-lib": "1.1.10",
|
|
35
|
+
"@wildo-ai/saas-models": "1.1.10",
|
|
36
|
+
"@wildo-ai/saas-specifications": "1.1.10",
|
|
37
|
+
"@wildo-ai/zod-decorators": "1.1.10",
|
|
38
38
|
"@xyflow/react": "^12.9.3",
|
|
39
39
|
"jsdom": "^24.0.0",
|
|
40
40
|
"lucide-react": "^1.39.0",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{U as a,C as n}from"./mermaid.core-B_cUK0gA.js";const t=(r,o)=>a.lang.round(n.parse(r)[o]);export{t as c};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{s as a,c as s,a as e,C as t}from"./chunk-B4BG7PRW-BaaR_68i.js";import{_ as i}from"./mermaid.core-B_cUK0gA.js";import"./index-B0VAn5-V.js";import"./chunk-FMBD7UC4-miRsz_bp.js";import"./chunk-55IACEB6-CSgJZSYU.js";import"./chunk-QN33PNHL-DyqXU-AC.js";import"./mermaid-VLURNSYL-D2mykrpe.js";import"./index-e-4cSkrt.js";import"./maximize-2-BPmhoPLp.js";var b={parser:e,get db(){return new t},renderer:s,styles:a,init:i(r=>{r.class||(r.class={}),r.class.arrowMarkerAbsolute=r.arrowMarkerAbsolute},"init")};export{b as diagram};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{s as a,c as s,a as e,C as t}from"./chunk-B4BG7PRW-BaaR_68i.js";import{_ as i}from"./mermaid.core-B_cUK0gA.js";import"./index-B0VAn5-V.js";import"./chunk-FMBD7UC4-miRsz_bp.js";import"./chunk-55IACEB6-CSgJZSYU.js";import"./chunk-QN33PNHL-DyqXU-AC.js";import"./mermaid-VLURNSYL-D2mykrpe.js";import"./index-e-4cSkrt.js";import"./maximize-2-BPmhoPLp.js";var b={parser:e,get db(){return new t},renderer:s,styles:a,init:i(r=>{r.class||(r.class={}),r.class.arrowMarkerAbsolute=r.arrowMarkerAbsolute},"init")};export{b as diagram};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{b as r}from"./_baseUniq-DqfHtDwq.js";var e=4;function a(o){return r(o,e)}export{a as c};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{bs as Ye,bt as Qe,bu as $e,bv as Ze,bw as Xe,bx as K,by as ye,bz as U,bA as Je,aR as de,bB as Le,bC as et,aQ as ne,bD as ce,r as n,bE as ue,bF as Ae,bG as xe,bH as W,bI as we,bJ as ke,bK as tt,bL as Me,aP as at,bM as st,bN as ot,bO as nt,bP as rt,aN as it,bQ as Ne,bR as Ce,bS as ve,bT as be,bU as Z,bV as te,bW as ct,bX as ut,bY as lt,bZ as dt,b_ as pt,j as c,b$ as Be,c0 as mt,c1 as ft,c2 as Fe,c3 as St,c4 as At,c5 as Ct,c6 as b,F as C,bb as F,c7 as It,c8 as gt,a4 as Rt,a5 as se,c9 as pe,ca as Et,u as Ie,e as _t,t as Pe,I as Te,D as ht,c as Ue,cb as Ve,aW as yt,cc as vt,cd as bt,ce as Ft,cf as Pt,cg as Tt,aH as Dt,ch as Ot,ci as me,B as oe,y as De,z as Se,cj as Lt,ck as xt,cl as wt,cm as kt,cn as Mt,co as Nt,R as fe,cp as Bt,cq as Ut,cr as Vt,cs as jt,ct as Gt,cu as Ht,cv as zt,cw as qt,cx as Kt,cy as Wt,cz as Yt,cA as je,cB as Ge}from"./index-B0VAn5-V.js";import{cC as gs,cD as Rs,cE as Es,cF as _s,cG as hs,cH as ys,cI as vs,cJ as bs,cK as Fs,cL as Ps,cM as Ts,cN as Ds,cO as Os,cP as Ls,cQ as xs,cR as ws,cS as ks,cT as Ms,cU as Ns,cV as Bs,cW as Us,cX as Vs,cY as js,cZ as Gs,H as Hs,c_ as zs,c$ as qs,d0 as Ks,d1 as Ws,d2 as Ys,d3 as Qs,d4 as $s,d5 as Zs,J as Xs,d6 as Js,d7 as eo,d8 as to,d9 as ao,da as so,db as oo,dc as no,dd as ro,de as io,df as co,dg as uo,dh as lo,di as po,dj as mo,dk as fo,dl as So,Q as Ao,O as Co,dm as Io,dn as go,dp as Ro,dq as Eo,dr as _o,ds as ho,dt as yo,du as vo,dv as bo,dw as Fo,dx as Po,dy as To,dz as Do,dA as Oo,dB as Lo,dC as xo,dD as wo,dE as ko,dF as Mo,dG as No,dH as Bo,dI as Uo,dJ as Vo,dK as jo,dL as Go,dM as Ho,dN as zo,dO as qo,dP as Ko,dQ as Wo,dR as Yo,dS as Qo,dT as $o,dU as Zo,dV as Xo,dW as Jo,dX as en,dY as tn,dZ as an,d_ as sn,d$ as on,e0 as nn,e1 as rn,e2 as cn,e3 as un,e4 as ln,e5 as dn,e6 as pn,e7 as mn,e8 as fn,e9 as Sn,ea as An,eb as Cn,ec as In,ed as gn,ee as Rn,ef as En,eg as _n,eh as hn,ei as yn,ej as vn,ek as bn,el as Fn,em as Pn,en as Tn,eo as Dn,ep as On,eq as Ln,er as xn,es as wn,et as kn,eu as Mn,ev as Nn,ew as Bn,ex as Un,ey as Vn,ez as jn,eA as Gn,eB as Hn,eC as zn,eD as qn,eE as Kn,eF as Wn,eG as Yn,eH as Qn,eI as $n,eJ as Zn,eK as Xn,eL as Jn,eM as er,eN as tr,eO as ar,eP as sr,eQ as or,eR as nr,eS as rr,eT as ir,eU as cr,eV as ur,eW as lr,eX as dr,eY as pr,eZ as mr,e_ as fr,e$ as Sr,f0 as Ar,f1 as Cr,f2 as Ir,f3 as gr,f4 as Rr,f5 as Er,f6 as _r,f7 as hr,f8 as yr,f9 as vr,fa as br,fb as Fr,fc as Pr,fd as Tr,fe as Dr,aT as Or,ff as Lr,fg as xr,fh as wr,fi as kr,fj as Mr,fk as Nr,fl as Br,fm as Ur,fn as Vr,fo as jr,aE as Gr,fp as Hr,fq as zr,fr as qr,fs as Kr,ft as Wr,fu as Yr,fv as Qr,fw as $r,fx as Zr,fy as Xr,fz as Jr,fA as ei,fB as ti,fC as ai,fD as si,fE as oi,fF as ni,fG as ri,fH as ii,fI as ci,fJ as ui,fK as li,fL as di,fM as pi,fN as mi,fO as fi,fP as Si,fQ as Ai,fR as Ci,fS as Ii,fT as gi,fU as Ri,fV as Ei,fW as _i,fX as hi,fY as yi,fZ as vi,f_ as bi,f$ as Fi,g0 as Pi,g1 as Ti,g2 as Di,g3 as Oi,g4 as Li,g5 as xi,g6 as wi,g7 as ki,g8 as Mi,g9 as Ni,ga as Bi,ax as Ui,gb as Vi,gc as ji,gd as Gi,ge as Hi,gf as zi,gg as qi,gh as Ki,gi as Wi,gj as Yi,gk as Qi,gl as $i,gm as Zi,gn as Xi,go as Ji,gp as ec,gq as tc,gr as ac,gs as sc,gt as oc,gu as nc,gv as rc,gw as ic,gx as cc,gy as uc,gz as lc,gA as dc,gB as pc,gC as mc,gD as fc,gE as Sc,gF as Ac,gG as Cc,gH as Ic,gI as gc,gJ as Rc,gK as Ec,gL as _c,gM as hc,gN as yc,gO as vc,gP as bc,gQ as Fc,gR as Pc,gS as Tc,gT as Dc,gU as Oc,gV as Lc,gW as xc,gX as wc,gY as kc,gZ as Mc,g_ as Nc,g$ as Bc,h0 as Uc,h1 as Vc,h2 as jc,h3 as Gc,h4 as Hc,h5 as zc,h6 as qc,h7 as Kc,h8 as Wc,h9 as Yc,ha as Qc,hb as $c,C as Zc,an as Xc,hc as Jc,o as eu,n as tu,v as au,f as su,hd as ou,he as nu,hf as ru,m as iu,hg as cu,hh as uu,hi as lu,hj as du,hk as pu,hl as mu,hm as fu,hn as Su,ho as Au,hp as Cu,hq as Iu,w as gu,A as Ru,x as Eu,hr as _u,hs as hu,ht as yu,hu as vu,hv as bu,hw as Fu,hx as Pu,hy as Tu,hz as Du,hA as Ou,hB as Lu,hC as xu,hD as wu,hE as ku,hF as Mu,hG as Nu,hH as Bu,hI as Uu,hJ as Vu,hK as ju,hL as Gu,hM as Hu,hN as zu,hO as qu,hP as Ku,ba as Wu,hQ as Yu,hR as Qu,hS as $u,hT as Zu,hU as Xu,hV as Ju,hW as el,hX as tl,hY as al,hZ as sl,h_ as ol,h$ as nl,i0 as rl,i1 as il,i2 as cl,i3 as ul,i4 as ll,i5 as dl,i6 as pl,i7 as ml,i8 as fl,i9 as Sl,ia as Al,ib as Cl,ic as Il,id as gl,ie as Rl,ig as El,ih as _l,ii as hl,ij as yl,ik as vl,il as bl,bf as Fl,im as Pl,io as Tl,ip as Dl,iq as Ol,ir as Ll,is as xl,it as wl,iu as kl,iv as Ml,iw as Nl,ix as Bl,iy as Ul,iz as Vl,iA as jl,iB as Gl,iC as Hl,iD as zl,iE as ql,iF as Kl,iG as Wl,iH as Yl,iI as Ql,iJ as $l,iK as Zl,iL as Xl,iM as Jl,iN as ed,iO as td,iP as ad,iQ as sd,iR as od,iS as nd,iT as rd,iU as id,iV as cd,iW as ud,iX as ld,iY as dd,iZ as pd,i_ as md,i$ as fd,j0 as Sd,j1 as Ad,j2 as Cd,j3 as Id,j4 as gd,j5 as Rd,j6 as Ed,j7 as _d,j8 as hd,j9 as yd,ja as vd,jb as bd,jc as Fd,jd as Pd,je as Td,jf as Dd,jg as Od,jh as Ld,ji as xd,jj as wd,jk as kd,jl as Md,jm as Nd,jn as Bd,jo as Ud,jp as Vd,jq as jd,jr as Gd,js as Hd,jt as zd,ju as qd,jv as Kd,jw as Wd,jx as Yd,jy as Qd,jz as $d,jA as Zd,jB as Xd,jC as Jd,jD as ep,jE as tp,jF as ap,jG as sp,jH as op,jI as np,jJ as rp,jK as ip,jL as cp,jM as up,jN as lp,jO as dp,jP as pp,jQ as mp,jR as fp,jS as Sp,jT as Ap,jU as Cp,jV as Ip,jW as gp,jX as Rp,jY as Ep,jZ as _p,j_ as hp,j$ as yp,k0 as vp,k1 as bp,k2 as Fp,k3 as Pp,k4 as Tp,k5 as Dp,k6 as Op,k7 as Lp,k8 as xp,k9 as wp,ka as kp,kb as Mp,kc as Np,kd as Bp,ke as Up,kf as Vp,kg as jp,kh as Gp,ki as Hp,kj as zp,ac as qp,kk as Kp,kl as Wp,km as Yp,kn as Qp,ko as $p,kp as Zp,kq as Xp,kr as Jp,ks as em,kt as tm,ku as am,kv as sm,kw as om,kx as nm,ky as rm,kz as im,kA as cm,kB as um,kC as lm,kD as dm,kE as pm,kF as mm,kG as fm,kH as Sm,kI as Am,kJ as Cm,kK as Im,kL as gm,kM as Rm,kN as Em,kO as _m,kP as hm,kQ as ym,kR as vm,kS as bm,kT as Fm,kU as Pm,kV as Tm,kW as Dm,kX as Om,kY as Lm,kZ as xm,k_ as wm,k$ as km,l0 as Mm,l1 as Nm,l2 as Bm,l3 as Um,l4 as Vm,l5 as jm,l6 as Gm,l7 as Hm,l8 as zm,l9 as qm,la as Km,lb as Wm,G as Ym,lc as Qm,N as $m,ld as Zm,le as Xm,lf as Jm,lg as ef,lh as tf,li as af,lj as sf,lk as of,ll as nf,lm as rf,ln as cf,lo as uf,lp as lf,lq as df,lr as pf,ls as mf,lt as ff,lu as Sf,lv as Af,lw as Cf,lx as If,ly as gf,lz as Rf,lA as Ef,lB as _f,lC as hf,lD as yf,lE as vf,lF as bf,lG as Ff,lH as Pf,lI as Tf,lJ as Df,lK as Of,lL as Lf,lM as xf,lN as wf,lO as kf,lP as Mf,lQ as Nf,lR as Bf,lS as Uf,lT as Vf,lU as jf,lV as Gf,lW as Hf,lX as zf,lY as qf,lZ as Kf,l_ as Wf,l$ as Yf,m0 as Qf,m1 as $f,m2 as Zf,m3 as Xf,m4 as Jf,m5 as eS,m6 as tS,m7 as aS,m8 as sS,m9 as oS,ma as nS,mb as rS,mc as iS,md as cS,me as uS,mf as lS,mg as dS,mh as pS,mi as mS,mj as fS,mk as SS,ml as AS,mm as CS,mn as IS,mo as gS,mp as RS,mq as ES,mr as _S,ms as hS,mt as yS,mu as vS,mv as bS,mw as FS,mx as PS,my as TS,mz as DS,mA as OS,mB as LS,mC as xS,mD as wS,mE as kS,mF as MS,mG as NS,mH as BS,mI as US,mJ as VS,mK as jS,mL as GS,mM as HS,mN as zS,mO as qS,mP as KS,mQ as WS,mR as YS,mS as QS,mT as $S,mU as ZS,mV as XS,mW as JS,mX as eA,mY as tA,mZ as aA,m_ as sA,m$ as oA,n0 as nA,n1 as rA,n2 as iA,n3 as cA,n4 as uA,n5 as lA,n6 as dA,n7 as pA,n8 as mA,n9 as fA,na as SA,nb as AA,nc as CA,nd as IA,ne as gA,nf as RA,ng as EA,nh as _A,ni as hA,nj as yA,nk as vA,nl as bA,nm as FA,nn as PA,no as TA,np as DA,nq as OA,nr as LA,ns as xA,nt as wA,nu as kA,nv as MA,nw as NA,nx as BA,ny as UA,nz as VA,nA as jA,nB as GA,nC as HA,nD as zA,nE as qA,nF as KA,nG as WA,nH as YA,nI as QA,nJ as $A,nK as ZA,nL as XA,nM as JA,nN as eC,nO as tC,nP as aC,nQ as sC,nR as oC,nS as nC,nT as rC,nU as iC,nV as cC,nW as uC,nX as lC,nY as dC,nZ as pC,n_ as mC,n$ as fC,o0 as SC,o1 as AC,o2 as CC,o3 as IC,o4 as gC,o5 as RC,o6 as EC,o7 as _C,o8 as hC,o9 as yC,oa as vC,ob as bC,oc as FC,od as PC,oe as TC,of as DC,og as OC,a9 as LC,oh as xC,oi as wC,oj as kC,ok as MC,ol as NC,om as BC,on as UC,oo as VC,op as jC,bc as GC,oq as HC,or as zC,os as qC,ot as KC,ou as WC,ov as YC,ow as QC,ox as $C,oy as ZC,oz as XC,oA as JC,oB as eI,oC as tI,oD as aI,oE as sI,oF as oI,L as nI,av as rI,oG as iI,oH as cI,oI as uI,oJ as lI,oK as dI,oL as pI,oM as mI,oN as fI,oO as SI,oP as AI,oQ as CI,oR as II,oS as gI,oT as RI,oU as EI,oV as _I,oW as hI,oX as yI,oY as vI,oZ as bI,o_ as FI,o$ as PI,p0 as TI,p1 as DI,p2 as OI,p3 as LI,p4 as xI,p5 as wI,p6 as kI,p7 as MI,p8 as NI,p9 as BI,pa as UI,pb as VI,pc as jI,pd as GI,pe as HI,pf as zI,pg as qI,ph as KI,pi as WI,pj as YI,pk as QI,pl as $I,pm as ZI,pn as XI,po as JI,pp as eg,pq as tg,pr as ag,ps as sg,pt as og,pu as ng,pv as rg,pw as ig,px as cg,py as ug,pz as lg,pA as dg,pB as pg,pC as mg,pD as fg,pE as Sg,pF as Ag,pG as Cg,pH as Ig,pI as gg,pJ as Rg,pK as Eg,pL as _g,pM as hg,pN as yg,pO as vg,pP as bg,pQ as Fg,pR as Pg,pS as Tg,pT as Dg,pU as Og,pV as Lg,pW as xg,pX as wg,pY as kg,pZ as Mg,p_ as Ng,p$ as Bg,q0 as Ug,q1 as Vg,q2 as jg,q3 as Gg,q4 as Hg,q5 as zg,q6 as qg,q7 as Kg,q8 as Wg,q9 as Yg,qa as Qg,qb as $g,qc as Zg,qd as Xg,qe as Jg,qf as eR,qg as tR,qh as aR,qi as sR,qj as oR,qk as nR,ql as rR,qm as iR,qn as cR,qo as uR,qp as lR,qq as dR,qr as pR,qs as mR,qt as fR,qu as SR,aB as AR,qv as CR,qw as IR,bi as gR,qx as RR,qy as ER,a$ as _R,b0 as hR,qz as yR,qA as vR,qB as bR,qC as FR,qD as PR,qE as TR,qF as DR,qG as OR,qH as LR,qI as xR,qJ as wR,qK as kR,qL as MR,qM as NR,qN as BR,qO as UR,qP as VR,qQ as jR,qR as GR,qS as HR,qT as zR,qU as qR,qV as KR,qW as WR,qX as YR,qY as QR,qZ as $R,q_ as ZR,q$ as XR,r0 as JR,r1 as eE,r2 as tE,r3 as aE,r4 as sE,r5 as oE,r6 as nE,r7 as rE,r8 as iE,r9 as cE,ra as uE,rb as lE,rc as dE,rd as pE,re as mE,rf as fE,rg as SE,rh as AE,ri as CE,rj as IE,rk as gE,rl as RE,rm as EE,rn as _E,ro as hE,rp as yE,rq as vE,rr as bE,rs as FE,rt as PE,ru as TE,rv as DE,rw as OE,rx as LE,ry as xE,rz as wE,rA as kE,rB as ME,rC as NE,rD as BE,rE as UE,rF as VE,rG as jE,rH as GE,rI as HE,rJ as zE,rK as qE,rL as KE,rM as WE,rN as YE,rO as QE,rP as $E,aX as ZE,a8 as XE,rQ as JE,W as e_,rR as t_,rS as a_,rT as s_,rU as o_,rV as n_,rW as r_,rX as i_,rY as c_,rZ as u_,r_ as l_,r$ as d_,s0 as p_,s1 as m_,s2 as f_,s3 as S_,s4 as A_,s5 as C_,s6 as I_,s7 as g_,s8 as R_,s9 as E_,sa as __,sb as h_,sc as y_,sd as v_,se as b_,sf as F_,sg as P_,sh as T_,si as D_,sj as O_,sk as L_,sl as x_,sm as w_,sn as k_,so as M_,sp as N_,sq as B_,sr as U_,ss as V_,st as j_,su as G_,sv as H_,sw as z_,sx as q_,sy as K_,sz as W_,sA as Y_,sB as Q_,sC as $_,sD as Z_,sE as X_,sF as J_,sG as eh,sH as th,sI as ah,sJ as sh,sK as oh,sL as nh,sM as rh,sN as ih,sO as ch,sP as uh,sQ as lh,sR as dh,sS as ph,sT as mh,sU as fh,sV as Sh,sW as Ah,sX as Ch,sY as Ih,sZ as gh,s_ as Rh,s$ as Eh,t0 as _h,S as hh,t1 as yh,t2 as vh,t3 as bh,t4 as Fh,t5 as Ph,t6 as Th,t7 as Dh,t8 as Oh,t9 as Lh,ta as xh,tb as wh,tc as kh,td as Mh,te as Nh,b3 as Bh,tf as Uh,b4 as Vh,tg as jh,th as Gh,ti as Hh,tj as zh,tk as qh,tl as Kh,tm as Wh,tn as Yh,to as Qh,tp as $h,tq as Zh,tr as Xh,ts as Jh,tt as ey,tu as ty,aj as ay,tv as sy,tw as oy,tx as ny,ty as ry,tz as iy,tA as cy,tB as uy,tC as ly,tD as dy,tE as py,tF as my,tG as fy,tH as Sy,tI as Ay,tJ as Cy,tK as Iy,tL as gy,tM as Ry,tN as Ey,tO as _y,tP as hy,tQ as yy,tR as vy,tS as by,T as Fy,tT as Py,tU as Ty,q as Dy,p as Oy,tV as Ly,tW as xy,tX as wy,tY as ky,X as My,tZ as Ny,$ as By,Y as Uy,t_ as Vy,Z as jy,t$ as Gy,u0 as Hy,u1 as zy,u2 as qy,u3 as Ky,u4 as Wy,u5 as Yy,u6 as Qy,u7 as $y,u8 as Zy,h as Xy,k as Jy,u9 as ev,i as tv,ua as av,ub as sv,uc as ov,ud as nv,ue as rv,uf as iv,ug as cv,uh as uv,ui as lv,uj as dv,uk as pv,ul as mv,um as fv,un as Sv,uo as Av,up as Cv,uq as Iv,ur as gv,us as Rv,ut as Ev,b7 as _v,uu as hv,uv as yv,uw as vv,ux as bv,uy as Fv,uz as Pv,uA as Tv,uB as Dv,uC as Ov,uD as Lv,uE as xv,uF as wv,uG as kv,uH as Mv,uI as Nv,uJ as Bv,uK as Uv,uL as Vv,uM as jv,uN as Gv,uO as Hv,uP as zv,uQ as qv,uR as Kv,uS as Wv,uT as Yv,uU as Qv,uV as $v,uW as Zv,uX as Xv,uY as Jv,uZ as eb,u_ as tb,u$ as ab,v0 as sb,v1 as ob,v2 as nb,v3 as rb,v4 as ib,v5 as cb,v6 as ub,v7 as lb,v8 as db,v9 as pb,va as mb,vb as fb,vc as Sb,vd as Ab,ve as Cb,vf as Ib,vg as gb,vh as Rb,vi as Eb,vj as _b,vk as hb,vl as yb,vm as vb,vn as bb,vo as Fb,vp as Pb,vq as Tb,vr as Db,vs as Ob,vt as Lb,vu as xb,vv as wb,vw as kb,vx as Mb,vy as Nb,vz as Bb,vA as Ub,vB as Vb,vC as jb,vD as Gb,vE as Hb,vF as zb,vG as qb,vH as Kb,vI as Wb,vJ as Yb,vK as Qb,vL as $b,vM as Zb,vN as Xb,vO as Jb,vP as eF,vQ as tF,vR as aF,vS as sF,vT as oF,vU as nF,vV as rF,vW as iF,aY as cF,vX as uF,vY as lF,vZ as dF,v_ as pF,v$ as mF,w0 as fF,w1 as SF,w2 as AF,w3 as CF,w4 as IF,w5 as gF,w6 as RF,w7 as EF,w8 as _F,w9 as hF,a0 as yF,wa as vF,wb as bF,b6 as FF,wc as PF,wd as TF,we as DF,wf as OF,wg as LF,wh as xF,wi as wF,wj as kF,wk as MF,wl as NF,wm as BF,wn as UF,wo as VF,wp as jF,wq as GF,wr as HF,ws as zF,wt as qF,wu as KF,a1 as WF,wv as YF,ww as QF,wx as $F,wy as ZF,wz as XF,wA as JF,wB as eP,wC as tP,wD as aP,wE as sP,wF as oP,wG as nP,wH as rP,wI as iP,wJ as cP,wK as uP,wL as lP,wM as dP,wN as pP,wO as mP,wP as fP,wQ as SP,wR as AP,wS as CP,wT as IP,ay as gP,wU as RP,wV as EP,wW as _P,wX as hP,wY as yP,wZ as vP,ar as bP,at as FP,az as PP,w_ as TP,w$ as DP,x0 as OP,x1 as LP,x2 as xP,x3 as wP,x4 as kP,x5 as MP,aO as NP,x6 as BP,x7 as UP,x8 as VP,x9 as jP,xa as GP,xb as HP,xc as zP,xd as qP,xe as KP,xf as WP,xg as YP,xh as QP,xi as $P,xj as ZP,xk as XP,xl as JP,xm as eT,xn as tT,xo as aT,xp as sT,xq as oT,xr as nT,xs as rT,xt as iT,xu as cT,xv as uT,xw as lT,xx as dT,xy as pT,xz as mT,xA as fT,xB as ST,xC as AT,xD as CT,xE as IT,xF as gT,xG as RT,xH as ET,xI as _T,xJ as hT,xK as yT,xL as vT,xM as bT,xN as FT,xO as PT,xP as TT,xQ as DT,xR as OT,xS as LT,xT,xU as wT,xV as kT,xW as MT,xX as NT,xY as BT,xZ as UT,x_ as VT,x$ as jT,y0 as GT,y1 as HT,y2 as zT,y3 as qT,y4 as KT,be as WT,y5 as YT,y6 as QT,y7 as $T,y8 as ZT,y9 as XT,ab as JT,ya as eD,yb as tD,yc as aD,yd as sD,aK as oD,ye as nD,yf as rD,yg as iD,yh as cD,aM as uD,yi as lD,yj as dD,yk as pD,yl as mD,ad as fD,ym as SD,bh as AD,yn as CD,yo as ID,yp as gD,yq as RD,yr as ED,ys as _D,yt as hD,yu as yD,yv as vD,yw as bD,yx as FD,yy as PD,yz as TD,yA as DD,yB as OD,yC as LD,yD as xD,yE as wD,yF as kD,yG as MD,b9 as ND,yH as BD,yI as UD,yJ as VD,yK as jD,yL as GD,yM as HD,yN as zD,yO as qD,yP as KD,yQ as WD,yR as YD,yS as QD,yT as $D,yU as ZD,yV as XD,yW as JD,yX as eO,yY as tO,yZ as aO,y_ as sO,y$ as oO,z0 as nO,z1 as rO,z2 as iO,z3 as cO,z4 as uO,aC as lO,z5 as dO,z6 as pO,a7 as mO,z7 as fO,au as SO,z8 as AO,z9 as CO,za as IO,zb as gO,zc as RO,aA as EO,zd as _O,ze as hO,zf as yO,zg as vO,zh as bO,zi as FO,zj as PO,zk as TO,zl as DO,zm as OO,zn as LO,zo as xO,zp as wO,zq as kO,zr as MO,zs as NO,zt as BO,zu as UO,zv as VO,zw as jO,zx as GO,zy as HO,zz as zO,zA as qO,zB as KO,zC as WO,E as YO,zD as QO,zE as $O,zF as ZO,zG as XO,zH as JO,zI as eL,zJ as tL,zK as aL,zL as sL,zM as oL,zN as nL,zO as rL,zP as iL,zQ as cL,zR as uL,aG as lL,zS as dL,zT as pL,zU as mL,zV as fL,zW as SL,aJ as AL,zX as CL,b2 as IL,zY as gL,zZ as RL,z_ as EL,z$ as _L,A0 as hL,A1 as yL,A2 as vL,A3 as bL,A4 as FL,A5 as PL,A6 as TL,A7 as DL,A8 as OL,A9 as LL,Aa as xL,Ab as wL,Ac as kL,Ad as ML,Ae as NL,Af as BL,Ag as UL,Ah as VL,Ai as jL,Aj as GL,Ak as HL,Al as zL,Am as qL,An as KL,Ao as WL,Ap as YL,Aq as QL,Ar as $L,As as ZL,At as XL,Au as JL,Av as ex,Aw as tx,Ax as ax,Ay as sx,Az as ox,AA as nx,AB as rx,AC as ix,ag as cx,AD as ux,AE as lx,AF as dx,AG as px,AH as mx,AI as fx,AJ as Sx,AK as Ax,AL as Cx,AM as Ix}from"./index-B0VAn5-V.js";import{i as Rx,r as Ex,a as _x,b as hx,u as yx,c as vx,d as bx,e as Fx,f as Px,g as Tx,h as Dx,j as Ox,k as Lx,l as xx,m as wx}from"./useQuickActionButtonBehavior-DSvj7lAT.js";import{u as Qt,a as $t}from"./ChartEmptyState-CPZnYOAw.js";import{C as Mx,b as Nx}from"./ChartEmptyState-CPZnYOAw.js";function Zt(e){const{emit:a,resourceConfig:t,registry:s,resourceType:u,operation:r,resourceContext:i,isWebSocketConnected:S,result:m}=e,f=Ye(i.additionalContext),A=Qe(r),E=$e(i.contextResourceIdentifiers),d=Ze({contextResourceIdentifiers:i.contextResourceIdentifiers,resourceType:u,result:m,isBulkOperation:r.isBulkOperation===!0});if(!S&&Xe(r)){const y=t?.operations?[...t.operations]:[],P=s?K.buildContextualParameters(i.contextResourceIdentifiers,s):{},I=ye(y,U.LIST).filter(v=>Je({operation:v,contextResourceIdentifiers:i.contextResourceIdentifiers,contextualParameters:P})),{[u]:T,...D}=E,k=I.length>0?I:[null];for(const v of k){const M=v??{operationIdentifier:U.LIST};a(de.RESOURCE_REFRESH,{resourceType:u,operationIdentifier:String(M.operationIdentifier??U.LIST),operation:M,variantType:v?.variantType,isOperationDefault:v?.isOperationDefault??!0,isBulkOperation:v?.isBulkOperation??!1,variantKey:v?.variantKey,contextResourceIdentifiers:D,parentResourcesRequirements:i.parentResourcesRequirements,...f?{optionalDiscriminator:f}:{}})}if(A){const v=ye(y,U.READ,{requireAddressable:!0}).filter(N=>t&&s?Le({resourceConfig:t,operation:N,registry:s,hasResourceId:d[u]!==void 0,contextResourceIdentifiers:d,contextualParameters:s?K.buildContextualParameters(d,s):P}):!0),M=v.length>0?v:[null],V=new Set;for(const N of M){const j=N??{operationIdentifier:U.READ},G=[K.getInstance().getResourceId(d[u]),String(j.operationIdentifier),j.variantType??"",j.variantKey??"",j.isBulkOperation??!1].join(":");V.has(G)||(V.add(G),a(de.RESOURCE_REFRESH,{resourceType:u,operationIdentifier:String(j.operationIdentifier??U.READ),operation:j,variantType:N?.variantType,isOperationDefault:N?.isOperationDefault??!0,isBulkOperation:N?.isBulkOperation??!1,variantKey:N?.variantKey,contextResourceIdentifiers:d,parentResourcesRequirements:i.parentResourcesRequirements,...f?{optionalDiscriminator:f}:{}}))}}}a(de.RESOURCE_OPERATION_EXECUTED,{resourceType:u,operationIdentifier:String(r.operationIdentifier),operation:r,variantType:r.variantType,isOperationDefault:r.isOperationDefault??!0,isBulkOperation:r.isBulkOperation??!1,variantKey:r.variantKey,contextResourceIdentifiers:d,parentResourcesRequirements:i.parentResourcesRequirements,resultSummary:et(m),...f?{optionalDiscriminator:f}:{}})}function X(e,a){return K.buildConfigurationError(we.CONFIGURATION,{message:e,component:"useExecutionResourceOperationContextBuilder",...a})}function Xt(e){return"operationIdentifier"in e}function Jt(e,a,t){const s=(e.operations??[]).filter(r=>!(String(r.operationIdentifier)!==t.operationIdentifier||t.variantType!==void 0&&r.variantType!==t.variantType||t.variantKey!==void 0&&r.variantKey!==t.variantKey||t.isOperationDefault!==void 0&&r.isOperationDefault!==t.isOperationDefault||t.isBulkOperation!==void 0&&r.isBulkOperation!==t.isBulkOperation));if(s.length===1)return s[0];const u=s.filter(r=>r.isOperationDefault===!0&&r.isBulkOperation!==!0);if(t.variantKey===void 0&&t.variantType===void 0&&t.isOperationDefault===void 0&&t.isBulkOperation===void 0&&u.length===1)return u[0];throw X(s.length===0?`Execution resource-operation builder cannot resolve operation "${t.operationIdentifier}" on resource "${a}".`:`Execution resource-operation builder found ambiguous operation "${t.operationIdentifier}" on resource "${a}".`,{resourceType:a,operationIdentifier:t.operationIdentifier,variantType:t.variantType,variantKey:t.variantKey,isOperationDefault:t.isOperationDefault,isBulkOperation:t.isBulkOperation,candidates:s.map(r=>({variantType:r.variantType,variantKey:r.variantKey,isOperationDefault:r.isOperationDefault,isBulkOperation:r.isBulkOperation}))})}function ea(e,a,t,s,u,r){if(!e)throw X(`Execution resource-operation builder cannot resolve resource "${a}" from the registry.`,{resourceType:a});if(Xt(t)){const m=Jt(e,a,t),f=ke(m);if((f===U.READ||f===U.UPDATE||f===U.DELETE)&&m.isBulkOperation!==!0&&!Le({resourceConfig:e,operation:m,registry:s,hasResourceId:W.getResourceId(u[a])!=="",contextResourceIdentifiers:u,contextualParameters:r}))throw X(`Execution resource-operation builder resolved operation "${t.operationIdentifier}" on resource "${a}", but the current context cannot address it.`,{resourceType:a,operationIdentifier:t.operationIdentifier});return m}const i=t.operationLike===U.READ||t.operationLike===U.UPDATE||t.operationLike===U.DELETE,S=t.requireAddressable||i?tt({resourceConfig:e,operations:e.operations??[],coreOperation:t.operationLike,registry:s,hasResourceId:W.getResourceId(u[a])!=="",allowBulk:t.allowBulk,requireFrontendAddressable:!0,contextResourceIdentifiers:u,contextualParameters:r}):Me(e.operations??[],t.operationLike,{requireAddressable:t.requireAddressable,allowBulk:t.allowBulk});if(!S)throw X(`Execution resource-operation builder cannot resolve a preferred ${String(t.operationLike)}-like operation on resource "${a}".`,{resourceType:a,operationLike:t.operationLike,requireAddressable:t.requireAddressable,allowBulk:t.allowBulk});return S}function ta(e){const a=e.currentValue?W.getFieldIdentifier(e.currentValue):void 0;return a?{fieldIdentifier:a,resourceId:e.resourceId}:e.resourceId}function aa(e){const a=e?.currentObject??e?.resource;return a&&typeof a=="object"&&!Array.isArray(a)?a:void 0}function sa(e){const a=aa(e.additionalContext),t=a?._id??(e.resourceConfig?.resourceFieldIdentifier?a?.[e.resourceConfig.resourceFieldIdentifier]:void 0);return typeof t=="string"&&t.length>0?t:void 0}function He(){const{registry:e}=ne(),a=ce(n.useContext(ue));return{buildResourceOperationContext:n.useCallback(s=>{const u=s.participationRef?a.participations[s.participationRef]:void 0;if(s.participationRef&&!u)throw X(`Execution resource-operation builder cannot resolve participation "${s.participationRef}".`,{participationRef:s.participationRef});const r=s.resourceType??(u?Ae(u):void 0);if(!r)throw X("Execution resource-operation builder requires either `resourceType` or `participationRef`.",{target:s});const i={...a.contextResourceIdentifiers??{},...s.contextResourceIdentifiers??{}};if(u){const y=xe({participation:u,registry:e});if(!y&&!s.resourceId)throw X(`Execution resource-operation builder cannot derive a concrete resource identifier from participation "${s.participationRef}".`,{participationRef:s.participationRef,resourceType:r});y&&(i[r]=y)}const S=e.resourceConfigurations[r],m=sa({additionalContext:s.additionalContext,resourceConfig:S}),f=s.resourceId??m;f&&(i[r]=ta({currentValue:i[r],resourceId:f}));const A=K.buildContextualParameters(i,e),E=ea(S,r,s,e,i,A),d=W.buildParentResourcesRequirements(r,i,e,s.relationshipFieldOverrides);return W.createFrontendResourceOperationContextFromOperation({resourceType:r,operation:E,contextResourceIdentifiers:i,additionalContext:s.additionalContext,parentResourcesRequirements:d})},[a.contextResourceIdentifiers,a.participations,e])}}function oa(){return typeof crypto<"u"&&typeof crypto.randomUUID=="function"?`execution-action-${crypto.randomUUID()}`:`execution-action-${Date.now()}-${Math.random().toString(36).slice(2,10)}`}function Oe(){return typeof crypto<"u"&&typeof crypto.randomUUID=="function"?`execution-failure-${crypto.randomUUID()}`:`execution-failure-${Date.now()}-${Math.random().toString(36).slice(2,10)}`}function Ia(){const e=ce(n.useContext(ue)),{registry:a}=ne(),{buildResourceOperationContext:t}=He(),{emit:s}=at(),r=n.useContext(st)?.isConnected??!1,i=n.useRef(s),S=n.useRef(r);i.current=s,S.current=r;const m=n.useRef(e.runtimeState);m.current=e.runtimeState;const f=n.useMemo(()=>Object.fromEntries(Object.entries(e.participations).map(([o,_])=>[o,ot({participation:_,registry:a})])),[e.participations,a]),A=n.useCallback(o=>f[o],[f]),E=n.useCallback(o=>{const _=f[o];if(!_)throw new Error(`Execution participation "${o}" is required by view "${e.viewDefinition.ref}" but was not resolved.`);return _},[e.viewDefinition.ref,f]),d=n.useCallback(o=>Object.fromEntries(o.map(_=>[_,E(_)])),[E]),y=n.useCallback(o=>Array.isArray(o)?d(o):E(o),[E,d]),P=n.useCallback(o=>o.length===0?{}:nt({participationRefs:o,participations:e.participations,registry:a}),[e.participations,a]),I=n.useCallback(o=>{const _=(o.contextParticipationRefs??[]).reduce((O,w)=>{const H=e.participations[w];if(!H)throw new Error(`Execution action target references unknown context participation "${w}" on view "${e.viewDefinition.ref}".`);const B=xe({participation:H,registry:a});if(!B)return O;const q=Ae(H),x=O[q];if(x){const ae=W.getResourceId(x),ee=W.getResourceId(B),le=W.getFieldIdentifier(x),We=W.getFieldIdentifier(B);if(ae!==ee||le!==We)throw K.buildConfigurationError(we.CONFIGURATION,{component:"useExecution.actions.operation",message:`Execution action target resolved conflicting context participations for "${q}".`,contextKey:q,existingContextIdentifier:x,nextContextIdentifier:B,participationRef:w,executionViewRef:e.viewDefinition.ref})}return O[q]=B,O},{}),g={...o,contextResourceIdentifiers:{..._,...o.contextResourceIdentifiers??{}}},p=t(g),{resourceType:l,operation:R}=p,z=String(R.operationIdentifier),h=a.resourceConfigurations[l],Q=K.buildContextualParameters(p.contextResourceIdentifiers,a),re=rt({viewDefinition:e.viewDefinition,resourceType:l,operation:R}),J={...it.createOperationInitiator(e.navigationZone,z),...o.navigationInitiator??{}},ge={contentType:Ne.RESOURCE_OPERATION,resourceContext:p},Re=()=>(e.navigation.openEmbeddedContent({content:ge,navigationInitiator:J}),!0),ze=()=>{if(re===ct.EMBED_LOCALLY)return Re();const O=h?ut.buildOperationFrontendRoutePaths(h,R,a.allResourceFieldIdentifiers):[],w=h&&O.length>0?W.selectMatchingRoutePath(O,p.contextResourceIdentifiers,l,h.resourceFieldIdentifier,p.parentResourcesRequirements).url:void 0;return e.navigation.delegateToParent({content:ge,urlPath:w,relationshipTransition:o.relationshipTransition,initiator:{...o.navigationInitiator,sourceOperation:J.sourceOperation,...J.sourceRelationship?{sourceRelationship:J.sourceRelationship}:{},...J.launcher?{launcher:J.launcher}:{}}}),!0},$=Ce.createOperationPathKeyFromOperation(R),Ee=async O=>{const w=lt({operation:R,requestData:O,additionalContext:p.additionalContext}),H={actionRuntimeId:oa(),operationPathKey:$,resourceType:l,operationId:z,startedAt:Date.now()};e.navigation.beginPendingAction(H);try{const B=await e.doOperation($,{contextualParameters:Q,parentResourcesRequirements:p.parentResourcesRequirements,...w?{requestData:w}:{}});return Zt({emit:i.current,resourceConfig:h,registry:a,resourceType:l,operation:R,resourceContext:p,isWebSocketConnected:S.current,result:B}),B}catch(B){const q=ve(B),x=!q;x&&be.handleError(B,{source:"promise",resourceType:l,operationIdentifier:z,additionalContext:{executionRuntimeInstanceId:e.runtimeInstanceId,executionViewRef:e.viewDefinition.ref,operationPathKey:$}});const ae={failureRuntimeId:Oe(),originatingActionRuntimeId:H.actionRuntimeId,operationPathKey:$,resourceType:l,operationId:z,startedAt:H.startedAt,error:B,markedByHttpClient:q,bridgedByExecutionShell:x};let ee;o.failureScope?.scope===Z.LOCAL_PANE?ee={...ae,scope:o.failureScope.scope,paneId:o.failureScope.paneId}:o.failureScope?.scope===Z.EMBEDDED_CONTENT?ee={...ae,scope:o.failureScope.scope}:ee={...ae,scope:Z.CUSTOM};const le=te(ee);throw e.navigation.captureFailedAction(le),B}finally{e.navigation.endPendingAction(H.actionRuntimeId)}},qe=()=>{try{return I({resourceType:o.resourceType,resourceId:o.resourceId,participationRef:o.participationRef,contextParticipationRefs:o.contextParticipationRefs,contextResourceIdentifiers:o.contextResourceIdentifiers,relationshipFieldOverrides:o.relationshipFieldOverrides,additionalContext:o.additionalContext,navigationInitiator:o.navigationInitiator,relationshipTransition:o.relationshipTransition,operationLike:U.READ,requireAddressable:!0}).navigate()}catch{return!1}};let _e=null,ie=null;const Ke=()=>{const O=m.current;if(_e===O&&ie!==null)return ie;const w=[];for(const x of Object.values(O.pendingActions))x.operationPathKey===$&&w.push(x);const H=[];for(const x of Object.values(O.failedActions))x.operationPathKey===$&&H.push(x);const B=[];if(o.dirtyPredicate)for(const x of Object.values(O.dirtyMarkers))o.dirtyPredicate(x)&&B.push(x);let q;for(const x of H)(!q||x.capturedAt>q.capturedAt)&&(q=x);return ie={pendingActions:w,failedActions:H,dirtyMarkers:B,isPending:w.length>0,isErrored:H.length>0,isDirty:B.length>0,latestFailure:q},_e=O,ie},he=()=>{const O=m.current;for(const w of Object.values(O.failedActions))w.operationPathKey===$&&e.navigation.clearFailedAction(w.failureRuntimeId)};return{target:g,resourceContext:p,resourceType:l,operation:R,operationId:z,operationPathKey:$,contextualParameters:Q,navigationHandlingMode:re,get status(){return Ke()},execute:Ee,embed:Re,navigate:ze,navigateToRead:qe,retry:async O=>(he(),Ee(O)),clearMyFailures:he,clearMyDirty:()=>{if(!o.dirtyPredicate)return;const O=m.current;for(const w of Object.values(O.dirtyMarkers))o.dirtyPredicate(w)&&e.navigation.clearDirty(w.markerId)}}},[t,e.doOperation,e.navigation,e.participations,e.viewDefinition,a]),T=n.useMemo(()=>({all:f,get:A,require:y}),[A,f,y]),D=n.useCallback(o=>Object.fromEntries(Object.entries(o).map(([_,g])=>{const p=R=>{const z={...g,...R,contextResourceIdentifiers:{...g.contextResourceIdentifiers??{},...R?.contextResourceIdentifiers??{}},additionalContext:{...g.additionalContext??{},...R?.additionalContext??{}},navigationInitiator:{...g.navigationInitiator??{},...R?.navigationInitiator??{}}};return I(z)};return[_,{execute:(R,z)=>p(R).execute(z),embed:R=>p(R).embed(),navigate:R=>p(R).navigate(),navigateToRead:R=>p(R).navigateToRead(),bind:R=>p(R)}]})),[I]),k=n.useMemo(()=>({operation:I,dictionary:D}),[D,I]),v=n.useMemo(()=>({open:e.navigation.openEmbeddedContent,close:e.navigation.closeEmbeddedContent,openResource:o=>I(o).embed()}),[I,e.navigation.closeEmbeddedContent,e.navigation.openEmbeddedContent]),M=n.useMemo(()=>{const o=Object.values(e.runtimeState.pendingActions),_=Object.values(e.runtimeState.participationPrefetchActions),g=o.length>0,p=_.length>0;return{pendingActions:o,participationPrefetchActions:_,isBusy:g||p,isAnyPending:g,isPending:R=>R?o.some(R):g,isAnyParticipationPrefetching:p,isParticipationPrefetching:R=>R?_.some(R):p}},[e.runtimeState.pendingActions,e.runtimeState.participationPrefetchActions]),V=n.useMemo(()=>{const o=Object.values(e.runtimeState.dirtyMarkers),_=o.length>0;return{markers:o,isAnyDirty:_,isDirty:g=>g?o.some(g):_,mark:e.navigation.markDirty,clear:e.navigation.clearDirty,clearAll:e.navigation.clearAllDirty}},[e.navigation.clearAllDirty,e.navigation.clearDirty,e.navigation.markDirty,e.runtimeState.dirtyMarkers]),N=n.useRef(e.navigation.captureFailedAction),j=n.useRef(e.runtimeInstanceId),G=n.useRef(e.viewDefinition.ref);N.current=e.navigation.captureFailedAction,j.current=e.runtimeInstanceId,G.current=e.viewDefinition.ref;const L=n.useCallback(o=>{const _=ve(o.error),g=(o.bridgeToCanonicalBus??!0)&&!_;g&&be.handleError(o.error,{source:"manual",resourceType:o.resourceType,operationIdentifier:o.operationId,additionalContext:{executionRuntimeInstanceId:j.current,executionViewRef:G.current,...o.operationPathKey?{operationPathKey:o.operationPathKey}:{}}});const p={failureRuntimeId:Oe(),operationPathKey:o.operationPathKey,resourceType:o.resourceType,operationId:o.operationId,error:o.error,label:o.label,markedByHttpClient:_,bridgedByExecutionShell:g};let l;return o.scope===Z.LOCAL_PANE?l=te({...p,scope:o.scope,paneId:o.paneId}):o.scope===Z.EMBEDDED_CONTENT?l=te({...p,scope:o.scope}):o.scope===Z.PARTICIPATION_PREFETCH?l=te({...p,scope:o.scope,prefetchKey:o.prefetchKey}):l=te({...p,scope:Z.CUSTOM}),N.current(l),l},[]),Y=n.useMemo(()=>{const o=Object.values(e.runtimeState.failedActions),_=o.length>0;return{failedActions:o,isAnyErrored:_,isErrored:g=>g?o.some(g):_,capture:L,clear:e.navigation.clearFailedAction,clearAll:e.navigation.clearAllFailedActions}},[L,e.navigation.clearAllFailedActions,e.navigation.clearFailedAction,e.runtimeState.failedActions]);return n.useMemo(()=>({view:e.viewDefinition,anchor:e.anchor,state:e.runtimeState,contextResourceIdentifiers:e.contextResourceIdentifiers,runtimeInstanceId:e.runtimeInstanceId,navigationZone:e.navigationZone,doOperation:e.doOperation,delegateToParent:e.navigation.delegateToParent,localPane:{open:e.navigation.openLocalPane,close:e.navigation.closeLocalPane},embeddedContent:v,loading:M,dirty:V,errors:Y,participations:f,participation:A,requireParticipation:E,subjects:T,buildContextualParameters:P,buildResourceOperationContext:t,actions:k}),[k,P,t,e.anchor,e.contextResourceIdentifiers,e.doOperation,e.navigation,e.navigationZone,e.runtimeInstanceId,e.runtimeState,e.viewDefinition,v,M,V,Y,A,f,E,T])}function na(){return typeof crypto<"u"&&typeof crypto.randomUUID=="function"?`execution-prefetch-${crypto.randomUUID()}`:`execution-prefetch-${Date.now()}-${Math.random().toString(36).slice(2,10)}`}function ra(){return typeof crypto<"u"&&typeof crypto.randomUUID=="function"?`execution-failure-${crypto.randomUUID()}`:`execution-failure-${Date.now()}-${Math.random().toString(36).slice(2,10)}`}function ia(e){return!e||typeof e!="object"?!1:e.name==="AbortError"}function ca(e){const a=ce(n.useContext(ue)),t=n.useRef(e);t.current=e;const s=n.useRef(a.navigation);s.current=a.navigation;const u=n.useRef(null),r=n.useRef(null),[i,S]=n.useState(void 0),[m,f]=n.useState(void 0),[A,E]=n.useState(!1),d=n.useCallback(()=>{const I=u.current,T=r.current;u.current=null,r.current=null,I&&!I.signal.aborted&&I.abort(),T!==null&&s.current.endParticipationPrefetch(T)},[]),y=n.useCallback(async()=>{const I=t.current,T=na(),D=new AbortController;d(),u.current=D,r.current=T;const k={prefetchRuntimeId:T,participationRefs:I.participationRefs,resourceType:I.resourceType,intent:I.intent,startedAt:Date.now(),...I.label!==void 0?{label:I.label}:{}};s.current.beginParticipationPrefetch(k),E(!0);try{const v=await I.run({signal:D.signal});return u.current!==D?void 0:(S(v),f(void 0),s.current.clearFailedActionsForPrefetchKey(I.prefetchKey),v)}catch(v){if(u.current!==D||ia(v))return;if(f(v),I.bridgeFailuresToShellAggregator===!0){const M=te({failureRuntimeId:ra(),error:v,resourceType:I.resourceType,startedAt:k.startedAt,...I.label!==void 0?{label:I.label}:{},scope:Z.PARTICIPATION_PREFETCH,prefetchKey:I.prefetchKey});s.current.captureFailedAction(M)}return}finally{r.current===T&&(r.current=null,u.current=null,s.current.endParticipationPrefetch(T),E(!1))}},[d]),P=n.useCallback(()=>{u.current!==null&&(d(),E(!1))},[d]);return n.useEffect(()=>()=>{d()},[d]),n.useMemo(()=>({data:i,isLoading:A,error:m,prefetchKey:e.prefetchKey,refetch:y,abort:P}),[P,i,m,e.prefetchKey,A,y])}function ua(e,a){return`participation-prefetch:${e}:${a}`}function ga(e){const a=ce(n.useContext(ue)),{registry:t}=ne(),{buildResourceOperationContext:s}=He(),u=a.participations[e.participationRef];if(!u)throw new Error(`useExecutionParticipationDataPrefetch: participation "${e.participationRef}" is not declared on view "${a.viewDefinition.ref}". Add it to the view's \`participations\` map or correct the ref.`);const r=Ae(u),{operationPathKey:i,contextualParameters:S,parentResourcesRequirements:m,label:f}=n.useMemo(()=>{const P=s({participationRef:e.participationRef,operationLike:U.READ,requireAddressable:!0}),I=K.buildContextualParameters(P.contextResourceIdentifiers,t);return{operationPathKey:Ce.createOperationPathKeyFromOperation(P.operation),contextualParameters:I,parentResourcesRequirements:P.parentResourcesRequirements,label:e.label}},[s,e.label,e.participationRef,t]),A=e.prefetchKey??ua(r,e.participationRef),E=e.bridgeFailuresToShellAggregator??e.intent===dt.INITIAL,d=a.doOperation,y=n.useCallback(async({signal:P})=>d(i,{contextualParameters:S,parentResourcesRequirements:m,dataMode:pt.RAW},{signal:P}),[S,d,i,m]);return ca({prefetchKey:A,participationRefs:[e.participationRef],resourceType:r,intent:e.intent,run:y,...f!==void 0?{label:f}:{},bridgeFailuresToShellAggregator:E})}function Ra(e,a){const t=s=>c.jsx(Be,{...a,children:c.jsx(e,{...s})});return t.displayName=`withErrorBoundary(${e.displayName||e.name})`,t}const Ea=()=>{const e=n.useContext(mt);if(!e)throw new Error("useLoading must be used within a LoadingProvider");return e};function _a(e,a){const t=ft[e]??{};return{initialLoad:a?.initialLoad??t.initialLoad??Fe.SKELETON,refresh:a?.refresh??t.refresh??Fe.OPACITY_OVERLAY,customRenderer:a?.customRenderer??t.customRenderer,disableInteraction:a?.disableInteraction??t.disableInteraction,skeletonSchema:a?.skeletonSchema??t.skeletonSchema}}function ha(e){return St(e)}const ya=()=>{const e=n.useContext(At);if(!e)throw new Error("useStepUpAuth must be used within a StepUpAuthProvider");return e};function va(e){return Ct(e)}function ba({preset:e=F.DEFAULT,...a}){const t=b(C.LOW_LEVEL_FEATURE_UNAVAILABLE_DIALOG,"FeatureUnavailableDialog")(e);return c.jsx(t,{...a})}function Fa({preset:e=F.DEFAULT,...a}){const t=b(C.LOW_LEVEL_FEATURE_LOCK_BADGE,"FeatureLockBadge")(e);return c.jsx(t,{...a})}function Pa({featureId:e,showLabel:a=!0,size:t="sm",preset:s=F.DEFAULT}){const{getLimit:u,getCurrentUsage:r,featureDefinitions:i}=It(),S=u(e),m=r(e)??0;if(S===void 0||S===gt)return null;const A=i.get(e)?.identifier??e,E=b(C.LOW_LEVEL_FEATURE_LIMIT_INDICATOR,"FeatureLimitIndicator")(s);return c.jsx(E,{usage:m,limit:S,label:A,showLabel:a,size:t})}const Ta=e=>{const{resourceType:a,resourceId:t,scopeKey:s,scopeId:u,contextResourceIdentifiers:r,autoSubscribe:i=!0,onUpdated:S,onDeleted:m,onEditingStart:f,onEditingEnd:A,onCustomEvent:E}=e,d=Rt(),[y,P]=n.useState(!1),[I,T]=n.useState(!1),[D,k]=n.useState([]),v=n.useRef(!1),M=n.useRef(!1),V=n.useRef(`useResourceRoom:${Math.random().toString(36).slice(2)}`),N=n.useRef(async()=>{});M.current=y;const j=t?`${a}:${t}`:`${a}:${s}:${u}`,G=n.useCallback(async()=>{if(y)return!0;const g=await d.claimResourceRoom({ownerKey:V.current,resourceType:a,resourceId:t,scopeKey:s,scopeId:u,contextResourceIdentifiers:r});return P(g.success),g.success&&g.editingUsers&&k(g.editingUsers),g.success},[d,a,t,s,u,r,y]),L=n.useCallback(async()=>{y&&(await d.releaseResourceRoom({ownerKey:V.current,resourceType:a,resourceId:t,scopeKey:s,scopeId:u,contextResourceIdentifiers:r}),P(!1),k([]))},[d,a,t,s,u,r,y]);N.current=L;const Y=n.useCallback(async()=>{if(!t)return console.warn("Cannot start editing without resourceId"),!1;const g=await d.startEditing({resourceType:a,resourceId:t,contextResourceIdentifiers:r});return g&&(T(!0),v.current=!0),g},[d,a,t,r]),o=n.useCallback(()=>{!t||!I||(d.stopEditing({resourceType:a,resourceId:t}),T(!1),v.current=!1)},[d,a,t,I]),_=n.useCallback((g,p,l)=>{if(!t){console.warn("Cannot send custom event without resourceId");return}d.sendCustomEvent({resourceType:a,resourceId:t,eventName:g,data:p,contextResourceIdentifiers:r,includeSelf:l})},[d,a,t,r]);return n.useEffect(()=>{if(!d.isConnected||!y)return;const g=d.on(se.RESOURCE_UPDATED,h=>{if(h.resourceType===a){if(t){if(h.resourceId!==t||h.deliveryTarget!==pe.RESOURCE_ROOM_SYNC&&h.deliveryTarget!==pe.RESOURCE_ROOM_NOTIFICATION)return}else if(h.deliveryTarget!==pe.SCOPE_ROOM_NOTIFICATION)return;S?.(h)}}),p=d.on(se.RESOURCE_DELETED,h=>{h.resourceType===a&&t&&h.resourceId===t&&m?.(h)}),l=d.on(se.RESOURCE_EDITING_START,h=>{h.resourceType===a&&(!t||h.resourceId!==t||(h.initiatorUserId&&k(Q=>Q.includes(h.initiatorUserId)?Q:[...Q,h.initiatorUserId]),f?.(h)))}),R=d.on(se.RESOURCE_EDITING_END,h=>{h.resourceType===a&&(!t||h.resourceId!==t||(h.initiatorUserId&&k(Q=>Q.filter(re=>re!==h.initiatorUserId)),A?.(h)))}),z=d.on(se.RESOURCE_CUSTOM,h=>{h.resourceType===a&&(!t||h.resourceId!==t||E?.(h))});return()=>{g(),p(),l(),R(),z()}},[d,y,a,t,S,m,f,A,E]),n.useEffect(()=>{i&&d.isConnected&&!y&&G()},[i,d.isConnected,y,G]),n.useEffect(()=>()=>{v.current&&t&&d.stopEditing({resourceType:a,resourceId:t})},[d,a,t]),n.useEffect(()=>()=>{M.current&&N.current()},[j]),{isSubscribed:y,isEditing:I,editingUsers:D,subscribe:G,unsubscribe:L,startEditing:Y,stopEditing:o,sendCustomEvent:_}};function Da({milestoneRef:e,className:a}){const t=Et(),{tComponent:s,isReady:u}=Ie({component:C.PROGRESSION_ACHIEVEMENT_BADGE}),{renderIcon:r}=_t(),i=n.useMemo(()=>(E,d)=>s(C.PROGRESSION_ACHIEVEMENT_BADGE,E,d),[s]),S=t.isMilestoneAchieved(e);if(!u)return null;const m=t.milestoneDefinitions.find(E=>E.identifier===e);if(!m)return null;const f=i(S?"achieved":"locked"),A=S?r(Pe.CHECK,{size:Te.XS,className:"text-success"}):r(Pe.LOCK,{size:Te.XS});return c.jsxs(ht,{variant:S?"default":"outline",className:Ue("gap-1",!S&&"opacity-60",a),title:i("description"),children:[A,c.jsx("span",{children:f}),S&&(m.points??0)>0&&c.jsxs("span",{className:"text-xs opacity-70",children:["+",m.points]})]})}function Oa(e){const{setValue:a}=Ve(),t=yt({name:e}),s=vt(),u=n.useCallback(r=>{a(e,r,{shouldDirty:!0,shouldTouch:!0}),s?.triggerSave(e,r,bt.DEBOUNCE)},[a,e,s]);return{value:t,setValue:u}}function La({preset:e=F.DEFAULT,...a}){const t=b(C.LOW_LEVEL_FORM,"FormRoot")(e);return c.jsx(t,{...a})}function xa({preset:e=F.DEFAULT,...a}){const t=b(C.LOW_LEVEL_FORM_ITEM,"FormItem")(e);return c.jsx(t,{...a})}function wa({preset:e=F.DEFAULT,...a}){const t=b(C.LOW_LEVEL_FORM_LABEL,"FormLabel")(e);return c.jsx(t,{...a})}function ka({preset:e=F.DEFAULT,...a}){const t=b(C.LOW_LEVEL_FORM_CONTROL,"FormControl")(e);return c.jsx(t,{...a})}function Ma({preset:e=F.DEFAULT,...a}){const t=b(C.LOW_LEVEL_FORM_DESCRIPTION,"FormDescription")(e);return c.jsx(t,{...a})}function Na({preset:e=F.DEFAULT,...a}){const t=b(C.LOW_LEVEL_FORM_MESSAGE,"FormMessage")(e);return c.jsx(t,{...a})}function Ba({preset:e=F.DEFAULT,...a}){const t=b(C.LOW_LEVEL_FORM_FIELD,"FormFieldPrimitive")(e);return c.jsx(t,{...a})}function Ua({preset:e=F.DEFAULT,...a}){const t=b(C.LOW_LEVEL_ASPECT_RATIO,"AspectRatio")(e);return c.jsx(t,{...a})}function Va({preset:e=F.DEFAULT,...a}){const t=b(C.LOW_LEVEL_DIVIDER,"Divider")(e);return c.jsx(t,{...a})}function ja({preset:e=F.DEFAULT,...a}){const t=b(C.LOW_LEVEL_AI_IMAGE,"AI_Image")(e);return c.jsx(t,{...a})}function Ga({preset:e=F.DEFAULT,...a}){const t=b(C.LOW_LEVEL_AI_CONFIRMATION,"AI_Confirmation")(e);return c.jsx(t,{...a})}function Ha({preset:e=F.DEFAULT,...a}){const t=b(C.LOW_LEVEL_AI_EXECUTION_STREAM,"AI_ExecutionStream")(e);return c.jsx(t,{...a})}function za({preset:e=F.DEFAULT,...a}){const t=b(C.LOW_LEVEL_AI_CONNECTION,"AI_Connection")(e);return c.jsx(t,{...a})}function qa({preset:e=F.DEFAULT,...a}){const t=b(C.LOW_LEVEL_AI_EDGE,"AI_Edge")(e);return c.jsx(t,{...a})}function Ka({preset:e=F.DEFAULT,...a}){const t=b(C.LOW_LEVEL_AI_TOOLBAR,"AI_Toolbar")(e);return c.jsx(t,{...a})}function Wa({preset:e=F.DEFAULT,...a}){const t=b(C.LOW_LEVEL_AI_CONTEXT,"AI_Context")(e);return c.jsx(t,{...a})}function Ya({preset:e=F.DEFAULT,...a}){const t=b(C.LOW_LEVEL_AI_MODEL_SELECTOR,"AI_ModelSelector")(e);return c.jsx(t,{...a})}function Qa({preset:e=F.DEFAULT,...a}){const t=b(C.LOW_LEVEL_AI_OPEN_IN_CHAT,"AI_OpenInChat")(e);return c.jsx(t,{...a})}function $a({preset:e=F.DEFAULT,...a}){const t=b(C.LOW_LEVEL_AI_LOADER,"AI_Loader")(e);return c.jsx(t,{...a})}function Za({preset:e=F.DEFAULT,...a}){const t=b(C.LOW_LEVEL_AI_CHECKPOINT,"AI_Checkpoint")(e);return c.jsx(t,{...a})}function Xa({preset:e=F.DEFAULT,...a}){const t=b(C.LOW_LEVEL_AI_INLINE_CITATION,"AI_InlineCitation")(e);return c.jsx(t,{...a})}function Ja({preset:e=F.DEFAULT,...a}){const t=b(C.APPLICATION_LEVEL_COMMAND_MENU,"ApplicationLevel_CommandMenu")(e);return c.jsx(t,{...a})}function es({preset:e=F.DEFAULT,...a}){const t=b(C.APPLICATION_LEVEL_CONTROL_PANEL,"ApplicationLevel_ControlPanel")(e);return c.jsx(t,{...a})}function ts({preset:e=F.DEFAULT,...a}){const t=b(C.APPLICATION_LEVEL_USER_DROPDOWN,"ApplicationLevel_MenuUserOrg")(e);return c.jsx(t,{...a})}function as({preset:e=F.DEFAULT,...a}){const t=b(C.APPLICATION_LEVEL_NOTIFICATION_CENTER,"ApplicationLevel_NotificationCenter")(e);return c.jsx(t,{...a})}function ss({preset:e=F.DEFAULT,...a}){const t=b(C.APPLICATION_LEVEL_QUICK_SWITCHER,"ApplicationLevel_QuickSwitcher")(e);return c.jsx(t,{...a})}function la({childContext:e,inlineLimit:a,showViewAllLink:t,childResourceType:s,onViewAll:u}){const{registry:r,doOperation:i}=ne(),{t:S,formatDate:m,formatDateTime:f,tComponent:A,isReady:E}=Ie({component:C.RESOURCES_LAYOUTS_CONTAINER_NESTED,resource:e.resourceType}),[d,y]=n.useState([]),[P,I]=n.useState(0),[T,D]=n.useState(!0),[k,v]=n.useState(!1),M=n.useRef(i);M.current=i;const V=a,N=n.useMemo(()=>K.buildContextResourceIdentifiersKey(e.contextResourceIdentifiers),[e.contextResourceIdentifiers]);if(n.useEffect(()=>{if(V===0){D(!1);return}let L=!1;return(async()=>{D(!0),v(!1);const o=r.resourceConfigurations[s],_=K.buildContextualParameters(e.contextResourceIdentifiers,r),g=e.operation&&ke(e.operation)===U.LIST?e.operation:o?Me((o.operations??[]).filter(l=>Lt(l,e,_)),U.LIST):void 0;if(!g){D(!1);return}const p=Ce.createOperationPathKeyFromOperation(g);try{const l=await M.current(p,{contextualParameters:_,queryParameters:{page:1,limit:V},parentResourcesRequirements:e.parentResourcesRequirements});if(L)return;if(l&&typeof l=="object"&&"data"in l&&"pagination"in l){const R=l;y(R.data),I(R.pagination.total)}else Array.isArray(l)&&(y(l),I(l.length))}catch{L||v(!0)}finally{L||D(!1)}})(),()=>{L=!0}},[s,V,r,N]),T)return c.jsx("div",{className:"flex items-center justify-center py-card-sm",children:c.jsx(Ot,{size:20,className:"text-muted-foreground"})});if(k)return c.jsx("p",{className:"text-sm text-destructive",children:A(C.RESOURCES_LAYOUTS_CONTAINER_NESTED,"previewLoadFailed")});if(!E)return null;if(V===0){if(!t)return null;const L=me({tComponent:A,componentType:C.RESOURCES_LAYOUTS_CONTAINER_NESTED,key:"viewAll"});return c.jsx(oe,{variant:Se.LINK,size:De.SM,className:"px-0",onClick:u,children:L})}if(d.length===0){const L=me({tComponent:A,componentType:C.RESOURCES_LAYOUTS_CONTAINER_NESTED,key:"emptyState"});return c.jsx("p",{className:"text-sm text-muted-foreground",children:L})}const j=P>V,G=me({tComponent:A,componentType:C.RESOURCES_LAYOUTS_CONTAINER_NESTED,key:"viewAllWithCount",params:{total:P}});return c.jsxs("div",{className:"space-y-xs",children:[c.jsx("ul",{className:"space-y-xs",children:d.map((L,Y)=>{const o=L._id??L.id??Y,_=K.computeFrontendResourceLabel({resourceType:s,registry:r,currentObject:L,t:S,formatDate:m,formatDateTime:f})??String(o);return c.jsx("li",{className:"text-sm px-sm py-xs rounded-radius border border-border bg-card",children:_},o)})}),t&&j&&c.jsx(oe,{variant:Se.LINK,size:De.SM,className:"px-0",onClick:u,children:G})]})}function os({resourceType:e,limit:a,showViewAllLink:t=!0,viaForeignKey:s,className:u}){Ft(e);const{buildOperationContext:r}=Pt(),{navigationZone:i}=Tt(),{navigate:S}=Dt(),m=n.useMemo(()=>r({resourceType:e,operationLike:U.LIST,relationshipFieldOverrides:s}),[r,e,JSON.stringify(s??null)]);return c.jsx("div",{className:u,children:c.jsx(la,{childContext:m,inlineLimit:a,showViewAllLink:t,childResourceType:e,onViewAll:()=>S({content:{contentType:Ne.RESOURCE_OPERATION,resourceContext:m},initiator:{sourceZone:i}})})})}function da({name:e,className:a,children:t}){const[s]=n.useState(()=>new Set),u=xt(),r=n.useRef(!1),i=n.useCallback(A=>{s.add(A),u?.registerStep(e,s)},[s,e,u]),S=n.useCallback(A=>{s.delete(A),u?.registerStep(e,s)},[s,e,u]),m=n.useMemo(()=>({registerField:i,unregisterField:S}),[i,S]);n.useEffect(()=>{if(u&&!r.current){r.current=!0;const A=requestAnimationFrame(()=>{u.registerStep(e,s)});return()=>cancelAnimationFrame(A)}},[u,e,s]);const f=`wizard-step-${e}`;return c.jsx(wt.Provider,{value:m,children:c.jsx("div",{className:Ue("flex flex-col gap-field",a),id:f,"data-guidance-wizard-step":e,role:"tabpanel","aria-labelledby":`wizard-tab-${e}`,children:t})})}function ns({className:e,initialStep:a=0,validateOnStepChange:t=!0,onStepChange:s,submitButton:u,children:r}){kt();const[i,S]=n.useState(a),m=n.useRef(new Map),f=n.useRef(null),A=Ve(),E=Mt(),d=Nt(),y=d?.claimFooter;n.useLayoutEffect(()=>y?.(),[y]);const{tComponent:P,isReady:I}=Ie({component:C.LOW_LEVEL_FORM_MESSAGE}),T=n.useMemo(()=>{const p=[];return fe.Children.forEach(r,l=>{fe.isValidElement(l)&&l.type===da&&p.push({name:l.props.name,element:l})}),p},[r]),D=T.length,k=n.useCallback((p,l)=>{m.current.set(p,l)},[]),v=n.useCallback(()=>{const p=T[i]?.name;if(!p)return;const l=m.current.get(p);return l?Array.from(l):void 0},[i,T]),M=n.useMemo(()=>({registerStep:k,getCurrentStepFieldNames:v,currentStep:i,totalSteps:D}),[k,v,i,D]),V=(p,l)=>E?.wizardStepLabels?.[p]?E.wizardStepLabels[p]:P(C.LOW_LEVEL_FORM_MESSAGE,"wizardStepDefault",{index:String(l+1)}),N=()=>{f.current?.scrollIntoView({behavior:"smooth",block:"start"})},j=p=>{const l=i;S(p),s?.(l,p),N()},G=()=>{i>0&&j(i-1)},L=async()=>{if(t&&A){const p=T[i]?.name,l=p?m.current.get(p):void 0,R=l?Array.from(l):[];if(!(R.length?await A.trigger(R):await A.trigger())){pa(A,R);return}}i<D-1&&j(i+1)},Y=i===0,o=i===D-1;if(!I)return null;const _=P(C.LOW_LEVEL_FORM_MESSAGE,"wizardPrevious"),g=P(C.LOW_LEVEL_FORM_MESSAGE,"wizardNext");return c.jsx(Bt.Provider,{value:M,children:c.jsxs("div",{className:e,"data-guidance-wizard":"",children:[c.jsx("div",{ref:f,children:c.jsx(Ut,{currentStep:i,totalSteps:D,orientation:Vt.HORIZONTAL,className:"mb-region",children:T.map((p,l)=>c.jsxs(fe.Fragment,{children:[c.jsxs(jt,{step:l,children:[c.jsx(Gt,{step:l}),c.jsx("div",{className:"flex flex-col items-center text-center",children:c.jsx(Ht,{step:l,children:c.jsx("span",{id:`wizard-tab-${p.name}`,children:V(p.name,l)})})})]}),l<D-1&&c.jsx(zt,{step:l})]},p.name))})}),T.map((p,l)=>c.jsx("div",{style:{display:l===i?void 0:"none"},"aria-hidden":l!==i,children:c.jsx(Be,{children:p.element})},p.name)),d?.submissionNotice,c.jsxs("div",{className:"flex justify-between gap-field pt-field",children:[c.jsx(oe,{type:"button",variant:Se.OUTLINE,onClick:G,disabled:Y||E?.disabled,children:_}),c.jsxs("div",{className:"flex flex-wrap items-center justify-end gap-element",children:[d?.cancelButton,d?.draftSaveButton,o?u??d?.submitButton??c.jsx(oe,{type:"submit",disabled:E?.disabled,children:P(C.LOW_LEVEL_FORM_MESSAGE,"wizardSubmit")}):c.jsx(oe,{type:"button",onClick:L,disabled:E?.disabled,children:g})]})]})]})})}function pa(e,a){const t=e.formState.errors;let s=null;if(a?.length)for(const u of a){const r=u.split(".");let i=t;for(const S of r)if(i&&typeof i=="object"&&S in i)i=i[S];else{i=void 0;break}if(i){s=u;break}}s&&qt([s])}function rs({className:e}){return c.jsx("hr",{className:e})}function is(e){const{resourceType:a,viewRef:t,contextResourceIdentifiers:s,inputs:u,urlParamValues:r,localErrorOnly:i=!1}=e,{registry:S}=ne(),m=S.resourceConfigurations[a]?.frontendConfiguration?.chartViews?.find(E=>E.ref===t);if(!m)throw new Error(`useResourceChartData: resource "${a}" declares no chart view "${t}".`);const f=n.useMemo(()=>Kt({identity:Wt(a,{ref:t}),chartView:m,contextResourceIdentifiers:s??{}}),[a,t,m,s]),A=Qt({surfaceDefinition:m,runtimeDescriptor:f,explicitContextResourceIdentifiers:s,explicitInputs:u,urlParamValues:r});return $t(A?.chartDefinition,A?.executionChartRef,A?.resolvedInputs,A?.contextResourceIdentifiers,r,i)}function cs(e,a=Yt.APPLICATION){return je.parse({ref:e,scope:a,options:{showProgress:!0,allowDismiss:!0,persistState:!0},elements:[]})}function us(e,a){return{...e,elements:[...e.elements,a]}}function ls(e,a){return{...e,elements:e.elements.filter(t=>t.ref!==a)}}function ds(e,a,t){return{...e,elements:e.elements.map(s=>s.ref===a?{...s,status:t}:s)}}function ps(e){if(e.elements.length===0)return 0;const a=e.elements.filter(t=>t.status===Ge.COMPLETED).length;return Math.round(a/e.elements.length*100)}function ms(e){return e.elements.every(a=>a.status===Ge.COMPLETED)}function fs(e,a){return e.elements.filter(t=>t.type===a)}function Ss(e){return JSON.stringify(e,null,2)}function As(e){const a=JSON.parse(e);return je.parse(a)}export{gs as AI_ActorCard,Rs as AI_ActorExecutionModeBadge,Es as AI_ActorRoleBadge,_s as AI_ActorTeam,hs as AI_AgentCapabilities,ys as AI_AgentCard,vs as AI_AgentList,bs as AI_AgentPromptSpec,Fs as AI_ApprovalQueue,Ps as AI_ApprovalRequest,Ts as AI_Artifact,Ds as AI_ArtifactAction,Os as AI_ArtifactActions,Ls as AI_ArtifactClose,xs as AI_ArtifactContent,ws as AI_ArtifactDescription,ks as AI_ArtifactFileContent,Ms as AI_ArtifactHeader,Ns as AI_ArtifactItem,Bs as AI_ArtifactList,Us as AI_ArtifactOrigin,Vs as AI_ArtifactStructuredContent,js as AI_ArtifactTextContent,Gs as AI_ArtifactTitle,Hs as AI_Canvas,zs as AI_ChainOfThought,qs as AI_ChainOfThoughtContent,Ks as AI_ChainOfThoughtHeader,Ws as AI_ChainOfThoughtImage,Ys as AI_ChainOfThoughtSearchResult,Qs as AI_ChainOfThoughtSearchResults,$s as AI_ChainOfThoughtStep,Za as AI_Checkpoint,Zs as AI_CodeBlock,Ga as AI_Confirmation,za as AI_Connection,Wa as AI_Context,Xs as AI_Controls,Js as AI_Conversation,eo as AI_ConversationContent,to as AI_ConversationEmptyState,ao as AI_ConversationScrollButton,so as AI_DecisionRequest,oo as AI_DiffBlock,qa as AI_Edge,no as AI_ExecutionPlan,ro as AI_ExecutionPlanProgress,io as AI_ExecutionPlanStep,Ha as AI_ExecutionStream,co as AI_FlowEdgeActive,uo as AI_FlowExecutionCanvas,lo as AI_FlowExecutionSummary,po as AI_FlowExecutionTimeline,mo as AI_FlowExecutionTimelineItem,fo as AI_FlowFinishNode,So as AI_FlowNode,Ao as AI_FlowNodeStatusBadge,Co as AI_FlowNodeStepBadge,Io as AI_FlowTriggerNode,go as AI_HumanInputRequest,ja as AI_Image,Xa as AI_InlineCitation,$a as AI_Loader,Ro as AI_Message,Eo as AI_MessageAction,_o as AI_MessageActions,ho as AI_MessageAttachment,yo as AI_MessageAttachments,vo as AI_MessageBranch,bo as AI_MessageBranchContent,Fo as AI_MessageBranchNext,Po as AI_MessageBranchPage,To as AI_MessageBranchPrevious,Do as AI_MessageBranchSelector,Oo as AI_MessageContent,Lo as AI_MessageResponse,xo as AI_MessageToolbar,Ya as AI_ModelSelector,wo as AI_Node,Qa as AI_OpenInChat,ko as AI_Panel,Mo as AI_Plan,No as AI_PlanAction,Bo as AI_PlanContent,Uo as AI_PlanDescription,Vo as AI_PlanFooter,jo as AI_PlanHeader,Go as AI_PlanTitle,Ho as AI_PlanTrigger,zo as AI_PromptInput,qo as AI_PromptInputActionAddAttachments,Ko as AI_PromptInputActionMenu,Wo as AI_PromptInputActionMenuContent,Yo as AI_PromptInputActionMenuItem,Qo as AI_PromptInputActionMenuTrigger,$o as AI_PromptInputAttachment,Zo as AI_PromptInputAttachments,Xo as AI_PromptInputBody,Jo as AI_PromptInputButton,en as AI_PromptInputCommand,tn as AI_PromptInputCommandEmpty,an as AI_PromptInputCommandGroup,sn as AI_PromptInputCommandInput,on as AI_PromptInputCommandItem,nn as AI_PromptInputCommandList,rn as AI_PromptInputCommandSeparator,cn as AI_PromptInputFooter,un as AI_PromptInputHeader,ln as AI_PromptInputHoverCard,dn as AI_PromptInputHoverCardContent,pn as AI_PromptInputHoverCardTrigger,mn as AI_PromptInputProvider,fn as AI_PromptInputSelect,Sn as AI_PromptInputSelectContent,An as AI_PromptInputSelectItem,Cn as AI_PromptInputSelectTrigger,In as AI_PromptInputSelectValue,gn as AI_PromptInputSpeechButton,Rn as AI_PromptInputSubmit,En as AI_PromptInputTab,_n as AI_PromptInputTabBody,hn as AI_PromptInputTabItem,yn as AI_PromptInputTabLabel,vn as AI_PromptInputTabsList,bn as AI_PromptInputTextarea,Fn as AI_PromptInputTools,Pn as AI_Queue,Tn as AI_QueueItem,Dn as AI_QueueItemAction,On as AI_QueueItemActions,Ln as AI_QueueItemAttachment,xn as AI_QueueItemContent,wn as AI_QueueItemDescription,kn as AI_QueueItemFile,Mn as AI_QueueItemImage,Nn as AI_QueueItemIndicator,Bn as AI_QueueList,Un as AI_QueueMessageItem,Vn as AI_QueueSection,jn as AI_QueueSectionContent,Gn as AI_QueueSectionLabel,Hn as AI_QueueSectionTrigger,zn as AI_QueueTodoItem,qn as AI_Reasoning,Kn as AI_ReasoningContent,Wn as AI_ReasoningTrigger,Yn as AI_RiskLevelBadge,Qn as AI_Shimmer,$n as AI_Source,Zn as AI_Sources,Xn as AI_SourcesContent,Jn as AI_SourcesTrigger,er as AI_Suggestion,tr as AI_Suggestions,ar as AI_SystemCard,sr as AI_SystemCardCompact,or as AI_SystemCatalog,nr as AI_SystemDetail,rr as AI_SystemKindBadge,ir as AI_SystemStatusBadge,cr as AI_Task,ur as AI_TaskContent,lr as AI_TaskDetail,dr as AI_TaskItem,pr as AI_TaskItemFile,mr as AI_TaskList,fr as AI_TaskMemory,Sr as AI_TaskMemoryEntryItem,Ar as AI_TaskMemoryScope,Cr as AI_TaskTimeline,Ir as AI_TaskTrigger,gr as AI_Tool,Rr as AI_ToolContent,Er as AI_ToolHeader,_r as AI_ToolInput,hr as AI_ToolOutput,Ka as AI_Toolbar,yr as AI_WebPreview,vr as AI_WebPreviewBody,br as AI_WebPreviewConsole,Fr as AI_WebPreviewNavigation,Pr as AI_WebPreviewNavigationButton,Tr as AI_WebPreviewUrl,Dr as APP_LEVEL_NAVIGATION_SOURCE,Or as APP_SCOPE_FIELD_DEFAULT_POSITION,Lr as ARRAY_ROW_TEMPLATE_GUTTER_CLASS,xr as Accordion,wr as AccordionContent,kr as AccordionItem,Mr as AccordionTrigger,Nr as ActionBar,Br as ActionBarPopoverChrome,Ur as ActionButton,Vr as ActionPlacement,jr as ActionVisibility,Gr as ActivityBarRendering,Hr as ActivityBarRenderingSchema,zr as Alert,qr as AlertDescription,Kr as AlertDialog,Wr as AlertDialogAction,Yr as AlertDialogCancel,Qr as AlertDialogContent,$r as AlertDialogDescription,Zr as AlertDialogFooter,Xr as AlertDialogHeader,Jr as AlertDialogTitle,ei as AlertDialogTrigger,ti as AlertTitle,ai as AnalyticsContext,si as AnalyticsContextProvider,oi as AnalyticsIdentityPublisherContext,ni as AnalyticsProviderRegistry,ri as AnonymousSessionProvider,ii as AnonymousSessionStatus,ci as ApiNotReadyError,ui as ApiReadinessChecker,li as AppCelebrationOverlay,di as AppConfiguration_Frontend_Schema,pi as AppLayoutPreset_ErrorBoundary_Default,mi as AppLayoutPreset_Home_Default,fi as AppLayoutPreset_RouterErrorBoundary_Default,Si as AppLayout_AuthenticatedRoute,Ai as AppLayout_ConsentGate,Ci as AppLayout_DocumentAcceptanceGate,Ii as AppLayout_ErrorBoundary,gi as AppLayout_Home,Ri as AppLayout_MainContainer,Ei as AppLayout_NotificationCenter,_i as AppLayout_RouterErrorBoundary,hi as AppLevelComponentConfigurationSchema,yi as AppLoadingGate,vi as AppLoadingIdentifier,bi as AppModeDefinitionSchema,Fi as AppModeProvider,Pi as AppNotificationCenter,Ti as AppScopeContext,Di as AppScopeProvider,Oi as AppScopeSessionMode,Li as AppShellContentOutlet,xi as AppShellLoadingState,wi as AppShellOverlayPortalLayer,ki as AppShellOverlaysOutlet,Mi as AppShellProviders,Ni as AppShellRegionOutlet,Bi as ApplicationContext,Ui as ApplicationLevelComponentType,Vi as ApplicationLevel_ActivityBar,Ja as ApplicationLevel_CommandMenu,es as ApplicationLevel_ControlPanel,ji as ApplicationLevel_MenuBar,ts as ApplicationLevel_MenuUserOrg,Gi as ApplicationLevel_NavigationBack,as as ApplicationLevel_NotificationCenter,Hi as ApplicationLevel_QuickActionButton,ss as ApplicationLevel_QuickSwitcher,zi as ApplicationLevel_Sidebar,qi as ApplicationLevel_StatusBar,Ki as ApplicationLevel_Toolbar,Wi as ApplicationLevel_UtilityPanel,Yi as ApplicationMainProvider,Qi as ArrayField,$i as ArrayItemTemplate,Ua as AspectRatio,Zi as AuthPage_OneOffSession,Xi as AuthSessionContext,Ji as AuthSessionProvider,ec as AuthSessionUtils,tc as Auth_AuthCallback,ac as Auth_ConfirmEmail,sc as Auth_EnrollmentRequired,oc as Auth_Invitation,nc as Auth_MagicLinkVerify,rc as Auth_Main,ic as Auth_MfaChallenge,cc as Auth_OAuthConsent,uc as Auth_OAuthLoggedOut,lc as Auth_OAuthLogoutConfirm,dc as Auth_OneOffSession,pc as Auth_OrganizationOnboarding,mc as Auth_PasswordLost,fc as Auth_Register,Sc as AutomatedArrayField,Ac as AutomatedForm,Cc as AutomatedLayoutFrontendUtils,Ic as AutomatedLayoutTemplateKind,gc as AutomaticDisplayer,Rc as AutosaveFieldState,Ec as AutosaveIndicator,_c as AutosaveProvider,bt as AutosaveTrigger,hc as Avatar,yc as AvatarFallback,vc as AvatarImage,bc as BADGE_DISPLAY_CAP,Fc as BADGE_VARIANT_INDICATOR,Pc as BILLING_COMMAND_MENU_ITEM,Tc as BILLING_SETTINGS_SECTION_REF,Dc as BackendProxyAnalyticsProvider,ht as Badge,Oc as BillingContext,Lc as BillingPortalLink,xc as BillingProvider,wc as Breadcrumb,kc as BreadcrumbEllipsis,Mc as BreadcrumbItem,Nc as BreadcrumbLink,Bc as BreadcrumbList,Uc as BreadcrumbPage,Vc as BreadcrumbSeparator,oe as Button,jc as ButtonGroup,Gc as ButtonGroupSeparator,Hc as ButtonGroupText,zc as ButtonLabelOverflow,Se as ButtonVariants_Variant,ft as CATEGORY_LOADING_DEFAULTS,qc as CHART_ROUTE_CONTEXT_QUERY_PARAM_PREFIX,Kc as CHART_ROUTE_PATH_PREFIX,Wc as COMMON_ENUM_DISPLAY_CONFIG,Yc as COMPOSITE_ROUTE_CONTEXT_QUERY_PARAM_PREFIX,Qc as Calendar,$c as CalendarDayButton,Zc as Card,Xc as CardAction,Jc as CardActionPlacementSchema,eu as CardContent,tu as CardDescription,au as CardFooter,su as CardHeader,ou as CardLayoutStyle,nu as CardListbox,ru as CardStatusEdge,iu as CardTitle,cu as Carousel,uu as CarouselContent,lu as CarouselItem,du as CarouselNext,pu as CarouselPrevious,Mx as ChartEmptyState,Nx as ChartErrorState,mu as ChartLoadingSkeleton,fu as ChartView,Su as ChartWidget,Au as Checkbox,Cu as CheckboxRoot,Iu as Code,gu as Collapsible,Ru as CollapsibleContent,Eu as CollapsibleTrigger,_u as CollectionDisplayMode,hu as CollectionFilterPanelVisibility,yu as CollectionFilterPresetRelativeRange,vu as CollectionFilterPresetSchema,bu as CollectionFilterPresetValueSchema,Fu as ColorInput,Pu as ColorNotation,Tu as Combobox,Du as ComboboxMultiple,Ou as Command,Lu as CommandBarPolicy,xu as CommandDialog,wu as CommandEmpty,ku as CommandGroup,Mu as CommandInput,Nu as CommandItem,Bu as CommandList,Uu as CommandMenuCommandSchema,Vu as CommandMenuDisplayPolicy,ju as CommandMenuPaletteGroupKind,Gu as CommandMenuSearchResourceSchema,Hu as CommandSeparator,zu as CommandShortcut,qu as ComponentNotInjected,Ku as ComponentRegistryKeyBuilder,Wu as ComponentRegistryService,Yu as ComponentsViewportProvider,Qu as ComposedChildrenRegistryProvider,$u as CompositeLayout,Zu as CompositeView,Xu as CompositeViewDefinitionBaseSchema,Ju as CompositeViewDefinitionSchema,el as CompositeViewProvider,tl as CompositeView_BaseFieldsSchema,al as ConnectionStatusNotifier,sl as ConsentBasedProviderActivationsContext,ol as ConsentBasedProviderSdksProvider,nl as ConsentGateStatus,rl as ConsoleAnalyticsProvider,il as ContentAreaRenderBranch,cl as ContentSection,ul as ContentSectionContainer,ll as ContentSectionGroup,dl as ContentSectionLegend,pl as ContextLoadingIdentifier,ml as ContextMenu,fl as ContextMenuCheckboxItem,Sl as ContextMenuContent,Al as ContextMenuGroup,Cl as ContextMenuItem,Il as ContextMenuLabel,gl as ContextMenuRadioGroup,Rl as ContextMenuRadioItem,El as ContextMenuSeparator,_l as ContextMenuShortcut,hl as ContextMenuSub,yl as ContextMenuSubContent,vl as ContextMenuSubTrigger,bl as ContextMenuTrigger,Fl as ControlPanelControlType,Pl as ControlPanelItemSchema,Tl as CoreIconRegistry,Dl as CrossFrontendHandoffClientError,Ol as CustomComponentItemRefSchema,Ll as DEFAULT_ACTION_DISCLOSURE,xl as DEFAULT_BUTTON_COMPONENT_REQUIREMENT,wl as DEFAULT_CHART_STYLE_PRESET,kl as DEFAULT_ICON_CONFIG,Ml as DEFAULT_INSERTED_VIEW_LAUNCHER,Nl as DEFAULT_MATERIAL_RUNTIME_POLICY,Bl as DEFAULT_MAX_EMBEDDED_RESOURCE_DEPTH,Ul as DEFAULT_VALIDATION_MODE,Vl as DUPLICATE_KEY_ERROR_TYPE,jl as DangerZone,Gl as DatePicker,Hl as DateRangePicker,zl as DateTimePicker,ql as DateTimeRangePicker,Kl as DefaultHotkeyHandler,Wl as DescriptionDetails,Yl as DescriptionList,Ql as DescriptionTerm,$l as DeviceInfoSchema,Zl as DeviceType,Xl as Dialog,Jl as DialogClose,ed as DialogContent,td as DialogDescription,ad as DialogFooter,sd as DialogHeader,od as DialogTitle,nd as DialogTrigger,rd as DiffLineKind,id as DisabledActionHandling,cd as DiscriminatorSwitch,ud as DisplayChromeContext,ld as DisplayChromeProvider,dd as DisplayContextKind,pd as DisplayContextKindProvider,md as DisplayDiscriminatorSwitch,fd as DisplayField,Sd as DisplayFieldAddress,Ad as DisplayFieldArray,Cd as DisplayFieldBigDecimal,Id as DisplayFieldBoolean,gd as DisplayFieldChrome,Rd as DisplayFieldCode,Ed as DisplayFieldDate,_d as DisplayFieldDateTime,hd as DisplayFieldDuration,yd as DisplayFieldEditable,vd as DisplayFieldEnum,bd as DisplayFieldErrorBoundary,Fd as DisplayFieldFile,Pd as DisplayFieldFileAudio,Td as DisplayFieldFileDocument,Dd as DisplayFieldFileGallery,Od as DisplayFieldFileImage,Ld as DisplayFieldFileVideo,xd as DisplayFieldJson,wd as DisplayFieldMoney,kd as DisplayFieldNumber,Md as DisplayFieldPhone,Nd as DisplayFieldRangeBigDecimal,Bd as DisplayFieldRangeDate,Ud as DisplayFieldRangeDateTime,Vd as DisplayFieldRangeMoney,jd as DisplayFieldRangeNumber,Gd as DisplayFieldRangeTime,Hd as DisplayFieldReadOnly,zd as DisplayFieldString,qd as DisplayFieldTime,Kd as DisplayLayout,Wd as DisplayTemplateProvider,Yd as DisplayValueDispatcher,Va as Divider,Qd as DocumentAcceptanceGateStatus,$d as Drawer,Zd as DrawerClose,Xd as DrawerContent,Jd as DrawerDescription,ep as DrawerFooter,tp as DrawerHeader,ap as DrawerTitle,sp as DrawerTrigger,op as DropdownMenu,np as DropdownMenuCheckboxItem,rp as DropdownMenuContent,ip as DropdownMenuGroup,cp as DropdownMenuItem,up as DropdownMenuLabel,lp as DropdownMenuRadioGroup,dp as DropdownMenuRadioItem,pp as DropdownMenuSeparator,mp as DropdownMenuShortcut,fp as DropdownMenuSub,Sp as DropdownMenuSubContent,Ap as DropdownMenuSubTrigger,Cp as DropdownMenuTrigger,Ip as Duration,gp as EMPTY_AUTH_STATE,Rp as ENGINE_DEFAULT_HOTKEY_EMIT_SHORTCUTS,Ep as ENGINE_PAGE_METADATA,_p as ENGINE_SETTINGS_DESTINATIONS,hp as ERROR_DEDUPLICATION_WINDOW_MS,yp as ERROR_MAX_DUPLICATES,vp as EXECUTION_ROUTE_CONTEXT_QUERY_PARAM_PREFIX,bp as EmbedChart,Fp as EmbedComposite,Pp as EmbedExecution,Tp as EmbedHostChart,Dp as EmbedHostExecution,Op as EmbedHostResourceOperation,Lp as EmbedLinkedConversations,xp as EmbedOnboarding,wp as EmbedRelatedChart,kp as EmbedRelatedExecution,Mp as EmbedRelatedResourceList,Np as EmbedRelatedResourceOperation,Bp as EmbedRelatedResourceSearch,Up as EmbedResourceOperation,Vp as EmbedResourceOwnedChartView,jp as EmbedResourceOwnedCompositeView,Gp as EmbedResourceOwnedExecutionView,Hp as EmbeddedResourceDescentBoundary,zp as EmbeddedResourceHostProvider,qp as EmptyState,Kp as EnginePageItemRefSchema,Wp as EnginePageRef,Yp as EnginePageRefSchema,Qp as EnvVariableLoaderFrontendService,$p as EphemeralSessionTokenStorage,Be as ErrorBoundary,Zp as ErrorBuilderFrontend,Xp as ErrorContext,Jp as ErrorDisplay,em as ErrorManagementService,tm as ErrorPageActionSchema,am as ErrorPageActionType,sm as ErrorPageConfigDefinitionSchema,om as ErrorPageConfigSchema,nm as ErrorPageFeatureGuideItemSchema,rm as ErrorPageLeadMagnetType,im as ErrorPageSupportAccessSchema,cm as ErrorPageSupportType,um as ErrorProvider,lm as EventBusContext,dm as EventBusProvider,pm as ExecutionAnchorSource,mm as ExecutionConcreteOperationIdentitySchema,fm as ExecutionDirtyMarkerScope,Sm as ExecutionDirtyMarkerScopeContext,Am as ExecutionDirtyMarkerScopeProvider,Z as ExecutionFailedActionScope,ct as ExecutionNavigationHandlingMode,Cm as ExecutionNavigationPolicyDefinitionSchema,Im as ExecutionNavigationPolicyExceptionRuleSchema,gm as ExecutionParticipationDefinitionSchema,dt as ExecutionParticipationPrefetchIntent,Rm as ExecutionParticipationSource,ue as ExecutionRuntimeContext,Em as ExecutionRuntimeProvider,_m as ExecutionSurfaceInOperationSchema,hm as ExecutionView,ym as ExecutionViewAnchorBindingSource,vm as ExecutionViewAnchorDefinitionSchema,bm as ExecutionViewDefinitionSchema,Fm as FILE_VALIDATION_ERROR_TYPE,Pm as FRONTEND_PRODUCED_BADGE_SCOPE_ID,Tm as FRONTEND_SCHEMA_KEY,Dm as FeatureGate,Pa as FeatureLimitIndicator,Fa as FeatureLockBadge,Om as FeatureRouteGuard,ba as FeatureUnavailableDialog,Lm as FeatureUnavailablePrompt,xm as FeaturesContext,wm as FeaturesProvider,km as Field,Mm as FieldContent,Nm as FieldDescription,Bm as FieldError,Um as FieldLabel,Vm as FieldScopeProvider,jm as FieldSeparator,Gm as FieldTitle,Hm as FieldVariants_Orientation,zm as FileUpload,qm as FilesPage_UploadGrant,Km as Files_UploadGrantDrop,Wm as FlowsActorsContext,Ym as FlowsActorsExecutionStatus,Qm as FlowsActorsProvider,$m as FlowsActorsUIUtils,Zm as FlowsActorsView,Xm as FlowsActorsViewDefinitionSchema,Jm as FlowsActors_AgentCard,ef as FlowsActors_AgentList,tf as FlowsActors_ApprovalQueue,af as FlowsActors_ApprovalRequest,sf as FlowsActors_ArtifactItem,of as FlowsActors_ArtifactList,nf as FlowsActors_DecisionRequest,rf as FlowsActors_HumanInputRequest,cf as Form,uf as FormChromeContext,lf as FormChromeProvider,df as FormContextUtils,ka as FormControl,Ma as FormDescription,pf as FormErrorSummary,mf as FormErrorSummarySlot,ff as FormField,Sf as FormFieldAddress,Af as FormFieldAddress_Preset_Default,Cf as FormFieldArray,If as FormFieldBigDecimal,gf as FormFieldBigDecimal_Preset_Default,Rf as FormFieldBoolean,Ef as FormFieldBoolean_Preset_Default,_f as FormFieldCheckboxGroup,hf as FormFieldChrome,yf as FormFieldCode,vf as FormFieldComposite,bf as FormFieldContext,Ff as FormFieldDate,Pf as FormFieldDateTime,Tf as FormFieldDateTime_Preset_Default,Df as FormFieldDate_Preset_Default,Of as FormFieldDuration,Lf as FormFieldDuration_Preset_Default,xf as FormFieldEnum,wf as FormFieldEnum_Preset_Default,kf as FormFieldFile,Mf as FormFieldFile_Preset_Default,Nf as FormFieldMoney,Bf as FormFieldMoney_Preset_Default,Uf as FormFieldNumber,Vf as FormFieldNumber_Preset_Default,jf as FormFieldPhone,Gf as FormFieldPhone_Preset_Default,Ba as FormFieldPrimitive,Hf as FormFieldRangeBigDecimal,zf as FormFieldRangeBigDecimal_Preset_Default,qf as FormFieldRangeDate,Kf as FormFieldRangeDateTime,Wf as FormFieldRangeDateTime_Preset_Default,Yf as FormFieldRangeDate_Preset_Default,Qf as FormFieldRangeMoney,$f as FormFieldRangeMoney_Preset_Default,Zf as FormFieldRangeNumber,Xf as FormFieldRangeNumber_Preset_Default,Jf as FormFieldRangeTime,eS as FormFieldRangeTime_Preset_Default,tS as FormFieldString,aS as FormFieldString_Preset_Default,sS as FormFieldTime,oS as FormFieldTime_Preset_Default,xa as FormItem,nS as FormItemContext,wa as FormLabel,rS as FormLayout,Na as FormMessage,La as FormRoot,iS as FormSchemaContext,cS as FormSchemaKind,uS as FormSchemaProvider,lS as FormTemplateProvider,dS as FrontEndEvent_BasicUser_Schema,pS as FrontendEventBadgeCountChangedSchema,mS as FrontendEventBulkJobProgressSchema,fS as FrontendEventCategory,SS as FrontendEventCategoryMap,AS as FrontendEventCustomSchema,CS as FrontendEventErrorOccuredSchema,IS as FrontendEventLoadingResourceSchema,gS as FrontendEventNoDataSchema,RS as FrontendEventNotifyCustomSchema,ES as FrontendEventOrgBillingStatusChangedSchema,_S as FrontendEventOrgStatusChangedSchema,hS as FrontendEventResourceCustomSchema,yS as FrontendEventResourceEditingSchema,vS as FrontendEventResourceOperationSchema,bS as FrontendEventSchemas,FS as FrontendEventUserLoginSchema,PS as FrontendEventUserLogoutSchema,TS as FrontendEventUserPreferencesChangedSchema,DS as FrontendEventUserStatusChangedSchema,OS as FrontendEvent_AnalyticsMomentAchievedSchema,LS as FrontendEvent_AppScopeChangedSchema,xS as FrontendEvent_GuidanceElementSchema,wS as FrontendEvent_GuidanceFlowSchema,kS as FrontendEvent_HotkeyCommandMenuOpenSchema,MS as FrontendEvent_HotkeyNotificationsOpenSchema,NS as FrontendEvent_HotkeyQuickSwitcherOpenSchema,BS as FrontendEvent_HotkeyShortcutsHelpSchema,US as FrontendEvent_HotkeySidebarToggleSchema,VS as FrontendEvent_LifecycleStageChangedSchema,jS as FrontendEvent_MilestoneAchievedSchema,GS as FrontendEvent_NavigationClearZoneSchema,HS as FrontendEvent_NavigationCloseSchema,zS as FrontendEvent_NavigationPopSchema,qS as FrontendEvent_NavigationPushSchema,KS as FrontendEvent_NavigationReplaceSchema,WS as FrontendEvent_NavigationRequestSchema,YS as FrontendEvent_NavigationUrlPathUpdatedSchema,QS as FrontendEvent_NavigationZoneChangedSchema,$S as FrontendEvent_PrimaryScopeChangedSchema,ZS as FrontendEvent_ProgressionUpdatedSchema,XS as FrontendEvent_ResourceCollectionFiltersChangedSchema,de as FrontendEvents,JS as FrontendInsertedViewHostKind,eA as FrontendInsertedViewIdentitySchema,tA as FrontendInsertedViewKind,aA as FrontendResourceOperationAddressingMode,sA as FrontendResourceOperationContextSchema,oA as FrontendResourceOperationPathSchema,nA as FrontendResourcePathSchema,rA as FrontendResource_ParentResourceRequirementSchema,iA as FrontendView_DefinitionSchema,Yt as FrontendView_ScopeMode,cA as FullCustomView,uA as FullCustomViewDefinitionSchema,lA as GENERIC_ERROR_WORDING_BY_ERROR_TYPE,dA as GUIDANCE_ELEMENT_COMPONENT_TYPE,pA as GUIDANCE_FALLBACK,mA as GenericErrorWording,fA as GlobalErrorHandler,SA as GoogleFontPresets,AA as GovernedDocumentAcceptanceControl,CA as Group,IA as GroupedSectionBody,gA as GuidanceAnnouncement,RA as GuidanceBadge,EA as GuidanceBanner,_A as GuidanceCard,hA as GuidanceChecklist,yA as GuidanceChecklistItem,vA as GuidanceContext,bA as GuidanceContextProvider,FA as GuidanceModal,PA as GuidanceRenderer,TA as GuidanceSurvey,DA as GuidanceTooltip,OA as GuidanceTour,LA as HOTKEY_DEFAULT_PRIORITY,xA as HOTKEY_FRAMEWORK_DEFAULT_PRIORITY,wA as HOTKEY_SCOPE_SPECIFICITY,kA as HTTP_ERROR_BEHAVIOR_MATRIX,MA as HeaderIconPlacement,NA as Heading,BA as HomeDefinitionSchema,UA as HostFormActionsFooter,VA as HostedComponentInteractionsProvider,jA as HostedTriggerAppearance,GA as HotkeyBindingSchema,HA as HotkeyDispatchableEvent,zA as HotkeyEmitShortcutSchema,qA as HotkeyGroup,KA as HotkeyRegistryContext,WA as HotkeyRegistryProvider,YA as HotkeyScope,QA as HotkeyShortcutsHelpDialog,$A as HoverCard,ZA as HoverCardContent,XA as HoverCardTrigger,JA as I18nContext,eC as I18nProvider,tC as ICON_SIZE_MAP,aC as INDICATOR_BADGE_VARIANT,sC as IconCategory,oC as IconCategorySchema,nC as IconPropsSchema,rC as IconRegistryBridge,iC as IconRegistryContext,cC as IconRegistryProvider,uC as IconRequestSchema,Te as IconSize,lC as IconSizeSchema,dC as Identifier,pC as ImageCrop,mC as InMemoryFrontendProviderRegistryFrontendService,fC as InitializationStatusSchema,SC as InlineEditMutationError,AC as InlineEditState,CC as InlineEditText,IC as Input,gC as InputGroup,RC as InputGroupAddon,EC as InputGroupButton,_C as InputGroupInput,hC as InputGroupText,yC as InputGroupTextarea,vC as InputOTP,bC as InputOTPGroup,FC as InputOTPSeparator,PC as InputOTPSlot,TC as InputRoot,DC as InsertedChartDeclarationSchema,OC as InsertedViewInputBindingSchema,LC as InsertedViewInputBindingSource,xC as InsertedViewLauncherConfigSchema,wC as InsertedViewLauncherPlacement,kC as InsertedViewRenderSlot,MC as InvoiceHistory,NC as Kbd,BC as LIFECYCLE_DEFAULTS,UC as LOCAL_STORAGE_KEYS,VC as Label,jC as LauncherItemRefSchema,GC as LauncherItemTargetKind,HC as LauncherItemTargetKindSchema,zC as LauncherRuntimeAvailabilityConfigSchema,qC as LauncherVerificationErrorCode,KC as LauncherVerificationSeverity,rs as LayoutDivider,WC as LazyDoorErrorBoundary,YC as LazyDoorUnavailableFrame,QC as Link,$C as LinkVariants_Underline,ZC as LinkVariants_Variant,XC as LinkVariants_Weight,JC as LoadingBarrier,mt as LoadingContext,eI as LoadingGate,tI as LoadingOverlay,aI as LoadingPhase,sI as LoadingProvider,Ot as LoadingSpinner,oI as LoadingTier,Fe as LoadingTreatment,nI as LoggerFrontendService,rI as MainContextInitComponents,iI as MarkdownEditor,cI as MaterialRefractiveBudgetManager,uI as MaterialRuntimeGroup,lI as MaterialRuntimePolicyProvider,dI as MenuBarDisplayPolicy,pI as Menubar,mI as MenubarCheckboxItem,fI as MenubarContent,SI as MenubarGroup,AI as MenubarHostedComponentSchema,CI as MenubarItem,II as MenubarLabel,gI as MenubarLauncherItemSchema,RI as MenubarMenu,EI as MenubarRadioGroup,_I as MenubarRadioItem,hI as MenubarSeparator,yI as MenubarShortcut,vI as MenubarSub,bI as MenubarSubContent,FI as MenubarSubTrigger,PI as MenubarTrigger,TI as MilestoneStatus,DI as MissingRMMRuntimeError,OI as ModifierKey,LI as NAVIGATION_STRUCTURAL_ZONES,xI as NON_CANONICAL_SHELL_SURFACE_POLICY_OVERRIDE,wI as NOTIFICATION_DISPLAY_POLICY,kI as NOTIFICATION_SOURCE_OVERRIDES,MI as NavigationBackHost,NI as NavigationContentAreas,BI as NavigationContentRenderer,UI as NavigationContentSchema,Ne as NavigationContentType,VI as NavigationContext,jI as NavigationInitiatorContextSchema,GI as NavigationItemBadge,HI as NavigationItemType,zI as NavigationMenu,qI as NavigationMenuContent,KI as NavigationMenuIndicator,WI as NavigationMenuItem,YI as NavigationMenuLink,QI as NavigationMenuList,$I as NavigationMenuTrigger,ZI as NavigationMenuViewport,XI as NavigationOperationOverrideSchema,JI as NavigationOverlays,eg as NavigationPlacementAdjustment,tg as NavigationProvider,ag as NavigationSource,sg as NavigationStackEntrySchema,og as NavigationTransitionSource,it as NavigationUtils,ng as NavigationZone,rg as NavigationZoneSchema,ig as NetworkOfflineError,cg as NetworkOfflineReason,ug as NotificationBadgeMemoryBoundary,lg as NotificationContext,dg as NotificationIndicator,pg as NotificationProvider,mg as ObjectScope,fg as OfflineReplayPolicy,Sg as OnboardingView,je as OnboardingViewDefinitionSchema,Ag as OperationsConfirmCritical,Cg as OverlayContainer,Ig as PRIMARY_SCOPE_FIELDS,gg as PROGRESSION_DEFAULTS,Rg as PROVIDER_ADDRESS_LOOKUP_DEBOUNCE_MS,Eg as PROVIDER_ADDRESS_LOOKUP_MINIMUM_QUERY_LENGTH,_g as Pagination,hg as PaginationContent,yg as PaginationEllipsis,vg as PaginationItem,bg as PaginationLink,Fg as PaginationNext,Pg as PaginationPrevious,Tg as PasskeyAutofillExpiredError,Dg as PasskeyAutofillSupersededError,Og as PasskeySignInMediation,Lg as PasswordInput,xg as PersistentSessionTokenStorage,wg as PlanChangePreview,kg as Popover,Mg as PopoverAnchor,Ng as PopoverContent,Bg as PopoverTrigger,Ug as PortalContainerContext,Vg as PricingTable,jg as Progress,Da as ProgressionAchievementBadge,Gg as ProgressionMilestoneTracker,Hg as ProviderAddressLookupAttribution,zg as ProviderAddressLookupCombobox,qg as ProviderAddressLookupHost,Kg as ProviderAddressLookupNotice,Wg as ProviderAddressLookupPlaceWithoutAddressError,Yg as ProviderAddressLookupRejectionKind,Qg as ProviderFilePickerHost,$g as ProviderFileSelectionRejectionKind,Zg as PublicLayoutPreset_AuthCallback_Default,Xg as PublicLayoutPreset_EnrollmentRequired_Default,Jg as PublicLayoutPreset_FileUploadGrant_Default,eR as PublicLayoutPreset_MagicLinkVerify_Default,tR as PublicLayoutPreset_MfaChallenge_Default,aR as PublicLayoutPreset_OAuthConsent_Default,sR as PublicLayoutPreset_OAuthLoggedOut_Default,oR as PublicLayoutPreset_OAuthLogoutConfirm_Default,nR as PublicLayoutPreset_OneOffSession_Default,rR as PublicLayoutPreset_OrganizationOnboarding_Default,iR as PublicLayoutPreset_StaticContentContainer_Default,cR as PublicLayoutPreset_UserAuth_Default,uR as PublicLayoutPreset_UserConfirmEmail_Default,lR as PublicLayoutPreset_UserInvitation_Default,dR as PublicLayoutPreset_UserPasswordLost_Default,pR as PublicLayoutPreset_UserRegister_Default,mR as PublicLayout_MainContainer,fR as PublicLayout_StaticContentContainer,SR as PublicLayout_Terms,AR as PublicShellIdentityMode,CR as QuickActionButtonPlacement,IR as QuickActionButtonPlacementSchema,gR as QuickActionDisplayPolicy,RR as QuickActionItemSchema,ER as QuickActionPlacement,_R as QuickSwitcherFieldControlKind,hR as QuickSwitcherFieldPresentation,yR as QuickSwitcherPlacement,vR as QuickSwitcherScopeFieldSchema,bR as READ_RETRY_FIRST_DELAY_MS,FR as READ_RETRY_MAX_DELAY_MS,PR as RUNTIME_SCOPED_STORAGE_KEYS,TR as RadioGroup,DR as RadioGroupItem,OR as RadioGroupRoot,LR as RangeSlider,xR as RegistrationOutcome,os as RelatedResourcePreview,la as RelatedResourcePreviewSurface,wR as RelatedResourceSections,kR as ResizableHandle,MR as ResizablePanel,NR as ResizablePanelGroup,BR as ResolvedInsertedChartDescriptorSchema,UR as ResolvedInsertedViewDescriptorSchema,VR as ResourceAutomatedForm,jR as ResourceAutomaticDisplayer,GR as ResourceCollectionQuickFilterTabs,HR as ResourceDisplayContext,zR as ResourceEmptyState,qR as ResourceFieldDisplay_ResourceReference,KR as ResourceFieldEdit_ResourceReference,WR as ResourceFormActionsProvider,YR as ResourceFrontend_EmptyStateSecondaryActionType,QR as ResourceFrontend_GuidanceFlowTriggerType,$R as ResourceHeaderContextProvider,ZR as ResourceHeaderTitle,XR as ResourceLayoutInlineEditDefault,JR as ResourceLayoutPreset_Action_Default,eE as ResourceLayoutPreset_Breadcrumb_Default,tE as ResourceLayoutPreset_ContainerDialogs_Default,aE as ResourceLayoutPreset_ContainerNested_Default,sE as ResourceLayoutPreset_Create_Default,oE as ResourceLayoutPreset_Create_SamlWizard,nE as ResourceLayoutPreset_DangerZone_Default,rE as ResourceLayoutPreset_Filters_Default,iE as ResourceLayoutPreset_Header_Default,cE as ResourceLayoutPreset_List_Default,uE as ResourceLayoutPreset_OperationsBulk_Default,lE as ResourceLayoutPreset_OperationsItems_Default,dE as ResourceLayoutPreset_Pagination_Default,pE as ResourceLayoutPreset_ReadSummary_Default,mE as ResourceLayoutPreset_Read_Default,fE as ResourceLayoutPreset_Read_Expandable,SE as ResourceLayoutPreset_Read_SsoSaml,AE as ResourceLayoutPreset_Search_Default,CE as ResourceLayoutPreset_Update_Default,IE as ResourceLayout_Action,gE as ResourceLayout_Breadcrumb,RE as ResourceLayout_ContainerDialogs,EE as ResourceLayout_ContainerNested,_E as ResourceLayout_Create,hE as ResourceLayout_DangerZone,yE as ResourceLayout_Filters,vE as ResourceLayout_Header,bE as ResourceLayout_InsertedViews,FE as ResourceLayout_List,PE as ResourceLayout_OperationBulk,TE as ResourceLayout_OperationsItems,DE as ResourceLayout_Pagination,OE as ResourceLayout_Read,LE as ResourceLayout_ReadSummary,xE as ResourceLayout_Search,wE as ResourceLayout_Update,kE as ResourceOperationActionPresentation,ME as ResourceOperationActionScope,NE as ResourceOperationFrontendConfigSchema,BE as ResourceOperationItemRefSchema,UE as ResourceRegistryContext,VE as ResourceRegistryProvider,jE as ResourceSummaryDisplayer,GE as ResourceViewItemRefSchema,HE as ResourcesRepositoryFrontendService,zE as RouterErrorBoundary,qE as SCAFFOLD_SETTINGS_HUB_CONFIG,KE as SCOPE_PARAM_PREFIX,WE as SERVER_ERROR_TYPE,YE as SESSION_STORAGE_KEYS,QE as STATUS_BAR_PLACEMENTS,$E as SameSite,ZE as ScopeChangeInitiator,XE as ScopeUtilsService,JE as ScopedNavigationControllerContext,e_ as ScrollArea,t_ as ScrollAreaType,a_ as ScrollBar,s_ as Section,o_ as SectionSaveButton,n_ as Select,r_ as SelectContent,i_ as SelectGroup,c_ as SelectItem,u_ as SelectLabel,l_ as SelectMultiple,d_ as SelectPosition,p_ as SelectRoot,m_ as SelectScrollDownButton,f_ as SelectScrollUpButton,S_ as SelectSeparator,A_ as SelectTrigger,C_ as SelectValue,I_ as Separator,g_ as SessionEndReason,R_ as SessionEstablishment,E_ as SettingsHubVerificationErrorCode,__ as SettingsHubVerificationSeverity,h_ as SettingsPanelRef,y_ as SettingsSectionItemRefSchema,v_ as SettingsSectionTargetKind,b_ as Sheet,F_ as SheetClose,P_ as SheetContent,T_ as SheetDescription,D_ as SheetFooter,O_ as SheetHeader,L_ as SheetTitle,x_ as SheetTrigger,w_ as ShellIdentitySchema,k_ as Sidebar,M_ as SidebarCollapsible,N_ as SidebarContent,B_ as SidebarFooter,U_ as SidebarGroup,V_ as SidebarGroupAction,j_ as SidebarGroupContent,G_ as SidebarGroupLabel,H_ as SidebarHeader,z_ as SidebarHomeDisplayMode,q_ as SidebarHostedComponentSchema,K_ as SidebarInput,W_ as SidebarInset,Y_ as SidebarItemDisplayPolicy,Q_ as SidebarItemSchema,$_ as SidebarMenu,Z_ as SidebarMenuAction,X_ as SidebarMenuBadge,J_ as SidebarMenuButton,eh as SidebarMenuButtonVariant,th as SidebarMenuItem,ah as SidebarMenuSkeleton,sh as SidebarMenuSub,oh as SidebarMenuSubButton,nh as SidebarMenuSubItem,rh as SidebarProvider,ih as SidebarRail,ch as SidebarResourceBrowser,uh as SidebarResponsivePolicy,lh as SidebarResponsivePolicySchema,dh as SidebarSectionBehavior,ph as SidebarSectionContentKind,mh as SidebarSectionContentKindSchema,fh as SidebarSectionInlineCreate,Sh as SidebarSectionSchema,Ah as SidebarSection_CustomComponentSchema,Ch as SidebarSection_GuidanceWidgetSchema,Ih as SidebarSection_NavigationListSchema,gh as SidebarSection_ResourceBrowserSchema,Rh as SidebarSeparator,Eh as SidebarTrigger,_h as SidebarVariant,hh as Skeleton,yh as Slider,vh as SliderRoot,bh as StackedActions,Fh as StackedAside,Ph as StackedBody,Th as StackedContent,Dh as StackedHeader,Oh as StackedLayout,Lh as StackedSection,xh as StackedSubtitle,wh as StackedTitle,kh as StackedToolbar,Pe as StandardIconReference,Mh as StandardIconReferenceSchema,Nh as StartApplicationFrontendService,Bh as StatusBarDisplayInteractionType,Uh as StatusBarItemSchema,Vh as StatusBarItemType,jh as StatusBarPlacementSchema,At as StepUpAuthContext,Gh as StepUpAuthProvider,Hh as StepUpRefusalOrigin,Ut as Stepper,zh as StepperDescription,Gt as StepperIndicator,jt as StepperItem,zt as StepperSeparator,Ht as StepperTitle,qh as Strong,Kh as Subheading,Wh as SubmitButton,Yh as SubscriptionStatus,Qh as SummaryFlow,$h as SummaryHeader,Zh as SummaryLayout,Xh as SummaryMeta,Jh as SummaryTitle,ey as SummaryTitlePlacement,ty as SummaryTitleScale,ay as Surface,sy as SurfaceAction,oy as SurfaceBody,ny as SurfaceErrorBoundary,ry as SurfaceFooter,iy as SurfaceHeader,cy as SurfacePolicyContext,uy as SurveyBindingWriteOutcome,ly as Switch,dy as SwitchRoot,py as Table,my as TableBody,fy as TableCaption,Sy as TableCell,Ay as TableFooter,Cy as TableHead,Iy as TableHeader,gy as TableRow,Ry as Tabs,Ey as TabsActivationMode,_y as TabsContent,hy as TabsLevel,yy as TabsLevelContext,vy as TabsList,by as TabsTrigger,Fy as Text,Py as TextDirection,Ty as TextLink,Dy as TextSize,Oy as TextVariant,Ly as Textarea,xy as TextareaRoot,wy as TimePicker,ky as TimeRangePicker,My as Timeline,Ny as TimelineActions,By as TimelineBody,Uy as TimelineEntry,Vy as TimelineMarker,jy as TimelineTime,Gy as Toaster,Hy as Toggle,zy as ToggleGroup,qy as ToggleGroupAppearance,Ky as ToggleGroupBoolean,Wy as ToggleGroupItem,Yy as ToggleGroupType,Qy as ToggleVariants_Variant,$y as ToolbarItemRefSchema,Zy as ToolbarItemSchema,Xy as Tooltip,Jy as TooltipContent,ev as TooltipProvider,tv as TooltipTrigger,av as TruncatedText,sv as TypographyScope,ov as UIContext,nv as UIProvider,rv as UNIQUE_ERROR_TYPE,iv as UpdateLikeMutationFallbackMode,cv as UsageDashboard,uv as UserDropdownAvatarDisplay,lv as UserDropdownSection,dv as UserOrgsContext,pv as UserOrgsProvider,mv as UtilityPanelItemSchema,fv as ValidationMode,Sv as ViewItemRefSchema,Av as ViewLayout_Header,Cv as ViewNotFound,Iv as WINDOW_EVENTS_SLUGS,st as WebSocketContext,gv as WebSocketEventBridge,Rv as WebSocketProvider,Ev as WebSocketResourceValidationService,_v as WebSocketStatus,hv as WildoBackendHttpClient,yv as WildoBackendHttpClient_ManualCalls,vv as WildoBackendHttpClient_Resources,ns as WizardLayout,da as WizardStep,bv as _clearContributedProviderComponentLoaders,us as addElement,Fv as allowsDirectOperationFallback,Pv as appendFileServeVariant,Tv as appendNavChildrenToSidebarSection,Dv as applyChartColorPalette,Ov as applyCustomTokens,Lv as applyDesignSystemConfiguration,xv as applyDesignTokens,wv as applyFrontendConfigOverrides,kv as applyTypographyConfiguration,Mv as assertExecutionDirtyMarkerShape,Nv as assertExecutionEmbeddableContent,Bv as assertExecutionFailedActionShape,Uv as assertExecutionLocalPanePayloadIsNotEmbeddableContent,Vv as assertExecutionPendingPrefetchShape,ce as assertExecutionRuntimeContext,jv as assertRegistryCompleteness,Gv as authFactorLevelForUiLevel,Hv as badgeVariantIndicator,zv as buildAppLoadingScope,qv as buildApplicationCompositeViewDefinitions,Kv as buildApplicationCompositeViewTranslationRef,Wv as buildApplicationViewTranslationRef,Yv as buildChartRouteUrlPath,Qv as buildCompositeRouteUrlPath,$v as buildContextLoadingScope,Zv as buildExecutionConcreteOperationIdentity,Xv as buildExecutionDirtyMarker,te as buildExecutionFailedAction,Jv as buildExecutionRouteUrlPath,eb as buildFileServeThumbnailUrl,tb as buildFrontendInsertedViewRef,ab as buildFrontendModuleAppComponentsConfiguration,sb as buildFrontendModuleAppScope,ob as buildFrontendModuleConfigOverrides,nb as buildFrontendModuleRegistry,rb as buildFrontendModuleSidebarSections,ib as buildLoadingScopeKey,Kt as buildResolvedInsertedChartDescriptor,cb as buildResourceCompositeViewTranslationRef,ub as buildResourceFileServeBaseUrl,Wt as buildResourceInsertedChartIdentity,lb as buildResourceInsertedCompositeIdentity,db as buildResourceInsertedExecutionIdentity,pb as buildResourceLoadingScope,mb as buildScopeConditionParams,fb as calculateGlassBezelResponse,Sb as calculateGlassBoundaryCoverage,Ab as calculateGlassEdgeResponse,Cb as calculateGlassRefractionProfile,Ib as calculateRoundedRectangleOutwardNormal,gb as canExportWithinAllowedMimeTypes,Rb as clampCropOffset,Eb as clampStaticSidePanels,_b as classifyRegistrationOutcome,hb as clearAllProviderScopeReauthorizationOffers,yb as clearAppliedDesignTokens,vb as clearProviderScopeReauthorizationOffer,Ue as cn,bb as collectBillingProviderLabelKeys,Fb as collectErroredFieldPaths,Pb as collectExecutionViewSurfaceRefsByOperation,Tb as collectFrontendChartRegistrationRefs,Db as collectFrontendChartRegistrationRefsFromUIBehavior,Ob as collectFrontendProviderDisplayLabelKeys,Lb as collectOperationLikeViewRefs,xb as collectResourceLabelFieldEntries,wb as composeConsentDecision,kb as computeCoverScale,Mb as computeCropSourceRect,Nb as computePanelSizes,Bb as computeRegistryCompleteness,Ub as computeSurfacePolicyContextValue,Vb as configureClientInstanceIdPolicy,jb as consentWithdrawalCost,Gb as contributeProviderComponentLoaders,Hb as countDiffLines,b as createComponentResolver,zb as createComponentResolverWithRef,qb as createCompoundComponentResolver,Kb as createCompoundPreset,ha as createDesignSystemConfigurationFromSourceConfig,Wb as createEmojiIcon,cs as createEmptyOnboardingView,Yb as createFrontendInsertedViewIdentity,Qb as createFrontendProviderRegistryFrontendService,$b as createOpenSessionOverlayModeResolver,Zb as createPolymorphicFrontendPreset,Xb as darkModeUtils,Jb as debugSectionVisibility,eF as defaultOfflineReplayPolicyForMethod,tF as defaultTheme,aF as defineCompositeView,sF as deriveConsentGateState,oF as describePauseState,nF as describeReasonCodeOptions,As as deserializeOnboardingView,rF as determineValidationMode,iF as documentReadKey,cF as envLoader,be as errorManagement,uF as evaluateGlassSurfaceHeight,lF as exportCroppedImageFile,dF as extractChartRouteContextResourceIdentifiers,pF as extractChartRouteUrlParamValues,mF as extractCompositeRouteContextResourceIdentifiers,fF as extractEphemeralFields,SF as extractErrorInfo,AF as extractExecutionRouteContextResourceIdentifiers,CF as extractPrimaryFontFamily,IF as extractSchemaFieldList,gF as fileTypeIsAccepted,RF as filterVisibleSections,EF as findDuplicateAppScopeResourceTypes,_F as findProviderScopeReauthorizationOffer,hF as findUnknownDestinationRefs,yF as flowNodeStatusIndicator,vF as fontConfigToGoogleFontConfig,bF as forgetNotificationBadgeCounts,FF as formatBadgeCount,PF as formatByteSize,TF as formatHsvAsCssColor,DF as formatRgbAsCssColor,OF as generateChartConfig,LF as generateDefaultDisplayTemplate,xF as generateDefaultFormTemplate,wF as generateDefaultSummaryTemplate,kF as generateGoogleFontsUrl,MF as generateTokensCSS,NF as getChartColorPaletteFromCSS,BF as getChartColors,UF as getClientInstanceId,VF as getClientInstanceIdScope,jF as getCommonEnumDisplayConfig,ps as getCompletionPercentage,GF as getContentKey,fs as getElementsByType,HF as getFieldError,zF as getIconAnimation,qF as getLoadingStats,KF as getLocalStorageItem,WF as getManualCallsHttpClient,YF as getNotificationDisplayBehavior,QF as getProviderScopeReauthorizationOffers,$F as getReadinessChecker,ZF as getTailwindColor,XF as getZodErrorCode,JF as getZodErrorParams,eP as hasValidAnimationSource,tP as hslToRgb,aP as hsvToRgb,sP as indicatorBadgeVariant,oP as isApiNotReadyError,nP as isCollectionScopedOperation,rP as isCroppableRasterImageFile,iP as isCustomComponentNavigationItem,cP as isEnginePageNavigationItem,ve as isErrorMarkedByHttpClient,Le as isFrontendOperationAddressableForCurrentContext,uP as isGlyphKey,lP as isGoogleFont,dP as isNetworkOfflineRejection,ms as isOnboardingComplete,pP as isOperationAddressable,mP as isOperationHeadless,fP as isRequiredFieldError,SP as isResourceNavigationItem,AP as isResourceReachable,CP as isSectionVisible,IP as isSettingsHubNavigationItem,gP as isSidebarConfigObject,RP as isSpentOrganizationOnboardingSession,EP as isStandaloneRoutableCompositeView,_P as isStandaloneRoutableExecutionView,hP as isStandaloneRoutableInsertedChartView,yP as isStandaloneRoutableInsertedCompositeView,vP as isStandaloneRoutableResolvedCompositeView,bP as isStatusBarConfigObject,FP as isStatusBarPlacement,Rx as isUtilityPanelComponentRegistered,PP as isUtilityPanelConfigObject,TP as isViewNavigationItem,DP as launcherItemRefKey,OP as listContributedProviderComponentLoaders,LP as loadCroppableImage,xP as loadCustomComponents,wP as loadFontsFromTypography,kP as loadGoogleFonts,MP as makeComponentLabelResolver,NP as mapApplicationLevelToFrontendComponentType,BP as matchesExecutionConcreteOperationIdentity,UP as matchesShortcut,VP as mergeAppModes,jP as mergeAppScope,GP as mergeCommandMenuCommandLists,HP as mergeDesignSystemConfiguration,zP as mergeFrontendComponentRegistrations,qP as mergeFrontendDomainModules,KP as mergeFullCustomViewsByRef,WP as mergeHotkeyEmitShortcuts,YP as mergeMenubarLauncherItems,QP as mergeQuickSwitcherFields,$P as mergeSidebarSections,ZP as mergeSurfacePolicy,XP as obtainStepUpToken,JP as onboardingObligationsFromSessionState,eT as operationTargetsCurrentResource,tT as organizationOnboardingNavigationTarget,aT as parkedOrganizationOnboardingSessionId,sT as parseChartColorPalette,oT as parseCssColorToRgb,nT as parseFrontendInsertedViewRef,rT as parseShortcut,iT as parseUnifiedDiff,cT as pickInlineFieldWriteOperation,tt as pickPreferredOperationForCoreSemanticAddressability,uT as polymorphicResourceUIBehavior,lT as polymorphicResourceUIBehaviorFrom,dT as providerScopeReauthorizationOfferKey,pT as pruneDirtyMarkersForPaneTransition,mT as pruneDirtyMarkersForScopeChange,fT as pruneFailedActionsForPaneTransition,ST as pruneFailedActionsForPrefetchSettlement,AT as pruneFailedActionsForScopeChange,CT as publishNotificationBadgeCount,IT as readComputedCssColorViaDom,gT as readDisplayableErrorFacts,RT as readProviderScopeReauthorizationOffer,ET as receiveProviderAddressLookupSelection,_T as receiveProviderFileSelections,hT as recordProviderScopeReauthorizationOffer,yT as registerCommonEnum,vT as registerFrameworkLayouts,bT as registerFrontendComponentRegistrations,FT as registerIconAnimation,PT as registerIconAnimations,TT as registerStandardIcon,DT as registerStandardIcons,OT as relativeLuminance,ls as removeElement,LT as removeLocalStorageItem,xT as replaceFileExtension,wT as reportLauncherVerificationResults,kT as reportSettingsHubVerificationResults,MT as requestCrossFrontendHandoff,NT as resetClientInstanceIdPolicy,BT as resolveActionDisclosure,UT as resolveApplicationLevelNavigationBackZone,VT as resolveAutomaticRelationshipDisplayShaping,jT as resolveBillingProviderDisplayName,GT as resolveCommandMenuCommands,me as resolveComponentLabel,HT as resolveCompositeViewDefinition,zT as resolveCompositeViewPrimaryScope,qT as resolveContentAreaRenderBranch,KT as resolveContextualDisplayParams,WT as resolveControlPanelItems,YT as resolveCssColorViaDom,QT as resolveDeclaredUpdateLikeMutationFallbackMode,$T as resolveEffectiveChromeMode,ZT as resolveEffectiveDisplayChromeMode,XT as resolveEnumDisplayConfig,JT as resolveErrorReferenceLabel,rt as resolveExecutionNavigationHandlingMode,eD as resolveExecutionViewDefinition,tD as resolveFrontendProviderDisplayLabel,aD as resolveFrontendResourceOperationAddressability,sD as resolveGuidanceElementRenderer,oD as resolveHostedComponents,nD as resolveHotkeyBindings,rD as resolveInsertedChartView,iD as resolveInsertedViewLauncherConfig,cD as resolveItemRef,_a as resolveLoadingPolicy,uD as resolveMenubarContent,lD as resolveMilestoneLabel,dD as resolveOperationFeatureAvailability,pD as resolveOperationIdempotencyHeaders,mD as resolveOperationRequestTimeout,fD as resolveOptionalComponentLabel,SD as resolveOptionalResourceHeaderDescription,AD as resolveQuickActions,Ex as resolveQuickSwitcherFieldSchema,CD as resolveRefusalCodeLabel,ID as resolveRelationshipInlineEditSurface,gD as resolveRelationshipNavigationSurface,RD as resolveRelationshipNestedReadSurface,ED as resolveRelationshipQuickCreateCreateOperation,_D as resolveRelationshipReadSurface,hD as resolveRelationshipSurfaceRuntime,yD as resolveRelationshipWriteSurface,vD as resolveResourceHeaderLabel,bD as resolveResourceLabelEnumSchema,FD as resolveResourceLabelSystemEnumName,PD as resolveSettingsDestinationCatalog,TD as resolveSettingsHubConfig,DD as resolveSidebarMobileDrawerMode,OD as resolveSidebarSections,_x as resolveStatusBarPlacement,LD as resolveSurfaceAutoFieldDensity,xD as resolveSurfaceAutoLabelPlacement,wD as resolveSurfaceFormChromeMode,kD as resolveSurfaceOverlayMode,MD as resolveSurfacePolicyStackingClass,ND as resolveToolbarTools,BD as resolveTranslationKey,UD as resolveUserFacingErrorMessage,hx as resolveUtilityPanelItems,VD as resolveVisibleEntryIndex,jD as resourceExecutionView,GD as resourceUIBehavior,HD as resourceUIBehaviorFrom,zD as responsiveMaxWidthToCssValue,qD as rgbToHex,KD as rgbToHsv,WD as sampleGlassRefractionProfile,qt as scrollAndFocusFirstErroredField,YD as selectMaterialCapabilityTier,Ss as serializeOnboardingView,QD as serializeSurfaceOperation,$D as setLocalStorageItem,ZD as sharedErrorBuilder,XD as shouldRequireCurrentContextAddressabilityForOperation,JD as splitDividerOrientationToPanelGroupDirection,eO as startApplicationService,tO as staticZoneDividers,aO as toDateOrUndefined,sO as toast,oO as unresolvedLabel,ds as updateElementStatus,nO as useActionOperationSurface,yx as useActivityBarBehavior,rO as useAnalytics,iO as useAnonymousSession,cO as useAppLoading,uO as useAppMode,lO as useAppModeSafe,dO as useAppScope,pO as useAppScopeInternal,mO as useAppScopeSafe,fO as useAppShellFirstReady,vx as useAppShellLayout,SO as useApplication,Oa as useArrayItemAutosaveField,AO as useAuthSession,CO as useBarrierParticipant,IO as useBilling,gO as useBillingAction,RO as useBillingSafe,EO as useBrandIdentity,_O as useBrandPresentation,$t as useChartData,hO as useClaimChildComposition,yO as useCommandMenuBehavior,vO as useComponentLoading,bO as useComposedChildren,FO as useCompositeResourceOperationContextBuilder,PO as useCompositeViewContext,TO as useConsentBasedProviderActivations,DO as useConsentGateBehavior,OO as useContextualDisplayParams,bx as useControlPanelBehavior,LO as useCreateOperationSurface,xO as useCrossFrontendHandoff,wO as useDisplayChromeContext,kO as useDisplayContextKind,MO as useDisplayTemplateContext,NO as useDocumentAcceptanceGateBehavior,Pt as useEmbeddedResourceContext,BO as useEmbeddedResourceDescent,Tt as useEmbeddedResourceHostContext,UO as useEmitLoadingScope,VO as useError,at as useEventBus,jO as useEventEmit,GO as useEventSubscription,Ia as useExecution,HO as useExecutionDirtyBridge,zO as useExecutionDirtyMarkerScope,ga as useExecutionParticipationDataPrefetch,ca as useExecutionParticipationPrefetch,Ct as useFeatureAvailability,va as useFeatureGate,It as useFeatures,qO as useFieldScope,KO as useFileActivation,WO as useFlowsActors,YO as useFlowsActorsSafe,QO as useFormChromeContext,$O as useFormField,ZO as useFormSchemaContext,XO as useFormTemplateContext,JO as useGlobalNavigationController,eL as useGrantedConsentPurposes,tL as useGuidance,aL as useHostedComponentInteractions,sL as useHostlessResourceNavigation,oL as useHotkey,nL as useHotkeyPause,rL as useHotkeyRegistry,iL as useHotkeyScope,cL as useHotkeys,Ie as useI18n,_t as useIconRegistry,uL as useIsInFramedAncestor,lL as useLauncherResolutionContext,dL as useLifecycle,pL as useListOperationSurface,Ea as useLoading,mL as useMaterialRuntime,Fx as useMenuBarBehavior,fL as useMenuUserOrgBehavior,SL as useMfaContinuationNavigation,AL as useNavigationBehaviors,Dt as useNavigationController,CL as useNavigationState,IL as useNotification,gL as useNotificationBadges,Px as useNotificationCenterBehavior,RL as useOperationEnabled,EL as useOperationFeatureAvailability,_L as useOperationsEnabled,vt as useOptionalAutosave,hL as useOptionalCompositeResourceContext,yL as useOptionalCompositeViewContext,vL as useOptionalDisplayTemplateContext,bL as useOptionalEmbeddedResourceHostContext,FL as useOptionalFormSchemaContext,Mt as useOptionalFormTemplateContext,Nt as useOptionalResourceFormActions,PL as useOptionalResourceHeaderContext,TL as useOverlayTitle,DL as usePendingDecisions,OL as usePortalContainer,Et as useProgression,LL as useProviderComponent,xL as useProviderComponentChoices,wL as useProviderScopeReauthorizationOffers,Tx as usePublicShellLayout,kL as usePublishNotificationBadgeCount,Dx as useQuickActionButtonBehavior,Ox as useQuickSwitcherBehavior,ML as useReadOperationSurface,Ft as useRegisterComposedChild,NL as useReportAutomaticComposition,BL as useResolvedAuthConfig,UL as useResolvedFieldName,is as useResourceChartData,VL as useResourceDisplayContext,jL as useResourceEmptyStateOffersPrimaryAction,GL as useResourceOperationActions,HL as useResourceOperationSurface,zL as useResourceReachability,ne as useResourceRegistry,qL as useResourceRegistrySafe,Ta as useResourceRoom,KL as useResourceSearch,WL as useResourceSelection,YL as useSearchOperationSurface,QL as useServerErrorInjection,$L as useSettingsHubConfig,ZL as useSidebarBehavior,XL as useSidebarMobileDrawerMode,Lx as useStatusBarBehavior,ya as useStepUpAuth,JL as useSurfaceBodyScrollLock,ex as useSurfaceFocusTrap,tx as useSurfacePolicy,ax as useSurfacePolicyPortalTarget,sx as useSurfacePolicyStackingClass,ox as useSurfaceVariant,nx as useTemplateOwnsChildComposition,rx as useThemePreferenceControl,xx as useToolbarBehavior,ix as useTypographyScope,cx as useUI,ux as useUpdateOperationSurface,lx as useUserFacingErrorMessage,dx as useUserOrgs,wx as useUtilityPanelBehavior,Rt as useWebSocket,px as variant,mx as verifyLauncherContent,fx as verifySettingsHubContent,Sx as waitForFontsLoaded,Ra as withErrorBoundary,Ax as wrapWithAutosaveIndicator,Cx as zoneMutationTargetIndex,Ix as zoneTabDomIds};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{s as r,b as e,a,S as s}from"./chunk-DI55MBZ5-Ctws9Nua.js";import{_ as i}from"./mermaid.core-B_cUK0gA.js";import"./index-B0VAn5-V.js";import"./chunk-55IACEB6-CSgJZSYU.js";import"./chunk-QN33PNHL-DyqXU-AC.js";import"./mermaid-VLURNSYL-D2mykrpe.js";import"./index-e-4cSkrt.js";import"./maximize-2-BPmhoPLp.js";var b={parser:a,get db(){return new s(2)},renderer:e,styles:r,init:i(t=>{t.state||(t.state={}),t.state.arrowMarkerAbsolute=t.arrowMarkerAbsolute},"init")};export{b as diagram};
|