@zeniai/web-app-ui 5.1.99-qa → 5.2.0-qa

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.
Files changed (136) hide show
  1. package/dist/assets/AddressRoutes-DGCDOoKb.js +1 -0
  2. package/dist/assets/{AddressScreen-CBnElFxM.js → AddressScreen-Dzf83tSk.js} +2 -2
  3. package/dist/assets/AiCfoScreen-TZ---AU4.js +22 -0
  4. package/dist/assets/{BillPayApprovalRoutes-CB55AV0C.js → BillPayApprovalRoutes-iPPwT0JG.js} +1 -1
  5. package/dist/assets/{BillPayRoutes-UVA-u63A.js → BillPayRoutes-U0Aszwdv.js} +17 -17
  6. package/dist/assets/{BusinessVerificationPageScreen-DsowR4fB.js → BusinessVerificationPageScreen-B4os1LkS.js} +2 -2
  7. package/dist/assets/{CardsAiCfoScreen-BaEolMVN.js → CardsAiCfoScreen-Db20Cfsg.js} +3 -3
  8. package/dist/assets/{ChargeCardRoutes-D3n7KJn0.js → ChargeCardRoutes-rxetskAF.js} +10 -10
  9. package/dist/assets/{CompanyPassportScreen-wSnqdrZm.js → CompanyPassportScreen-COm4H_kf.js} +1 -1
  10. package/dist/assets/ConnectionAuthScreen-C5LpJddx.js +11 -0
  11. package/dist/assets/CustomerOnboardingAuthScreen-BIc9nbPF.js +1 -0
  12. package/dist/assets/{CustomerOnboardingRoutes-DT_Ih6lH.js → CustomerOnboardingRoutes-Id7ixv-a.js} +5 -5
  13. package/dist/assets/{DashboardRoutes-B4SpN_q5.js → DashboardRoutes-D_SbIh49.js} +4 -4
  14. package/dist/assets/{DefaultTenantHome-C-Q9oQmt.js → DefaultTenantHome-BsKeybH6.js} +1 -1
  15. package/dist/assets/DomesticWireDetailScreen-BKpkRMty.js +18 -0
  16. package/dist/assets/DrawerScreen-BPgZ_1JF.js +1 -0
  17. package/dist/assets/EntityDetailRoutes-BZ9Mr897.js +1 -0
  18. package/dist/assets/{ExpenseAutomationRoutes-nIGBHuEd.js → ExpenseAutomationRoutes-CN3ihdCO.js} +3 -3
  19. package/dist/assets/FeaturePreviewScreen-Di3PuVRR.js +1 -0
  20. package/dist/assets/HubSpotOAuthCallbackScreen-CW56Ncxa.js +1 -0
  21. package/dist/assets/{MagicLinkRoutes-BTau9CfB.js → MagicLinkRoutes-DJ7vyce1.js} +5 -5
  22. package/dist/assets/MagicLinkSignInScreen-BZfit8o3.js +12 -0
  23. package/dist/assets/MobileAppDrawer-NdU6zrS3.js +1 -0
  24. package/dist/assets/NotFoundScreen-wlhddpbg.js +1 -0
  25. package/dist/assets/{NotificationRoutes-CkKMsCoc.js → NotificationRoutes-DbRksc78.js} +1 -1
  26. package/dist/assets/OAuthConsentScreen-sL3GodJ_.js +1 -0
  27. package/dist/assets/PandLWithForecastRoutes-BoM4q2mR.js +1 -0
  28. package/dist/assets/PeopleRoutes-0fm-JoER.js +22 -0
  29. package/dist/assets/PerformanceRoutes-Cq8pT07f.js +1 -0
  30. package/dist/assets/{Preview-Dh_7Y2V1.js → Preview-CuOg-A8H.js} +1 -1
  31. package/dist/assets/{QBOConnectionScreen-BOAmyhRI.js → QBOConnectionScreen-D9vGR9Iz.js} +1 -1
  32. package/dist/assets/ReimbursementApprovalRoutes-DfMng3xh.js +1 -0
  33. package/dist/assets/{ReimbursementApprovalRuleDetailScreen-B0OjRx8o.js → ReimbursementApprovalRuleDetailScreen-w7TPHMbb.js} +1 -1
  34. package/dist/assets/{ReimbursementRoutes-CnfaWQKq.js → ReimbursementRoutes-uHKvr9EG.js} +8 -8
  35. package/dist/assets/{ReportsRoutes-ZKjtrrXu.js → ReportsRoutes-BosLV3TS.js} +1 -1
  36. package/dist/assets/RewardsRoutes-BPVfq5Np.js +1 -0
  37. package/dist/assets/ScreenRoutes-Drpg91zT.js +2 -0
  38. package/dist/assets/{SettingsRoutes-0RQL-spt.js → SettingsRoutes-BmbweE5j.js} +8 -8
  39. package/dist/assets/{SetupPagesScreen-lXVOcLJ8.js → SetupPagesScreen-HhCCJlo-.js} +5 -5
  40. package/dist/assets/SignInScreen-B8UhmfC2.js +1 -0
  41. package/dist/assets/SignOutScreen-CxWWZOhK.js +9 -0
  42. package/dist/assets/TaskListScreen-B7M-Cqce.js +9 -0
  43. package/dist/assets/TaskRoutes-CyLfJ8Tw.js +9 -0
  44. package/dist/assets/{TransactionDetailRoutes-DFhCPCQa.js → TransactionDetailRoutes-Ct4erWuE.js} +1 -1
  45. package/dist/assets/TransactionDetailScreen-DRzSksYw.js +5 -0
  46. package/dist/assets/{TransactionListRoutes-kn0wMJaj.js → TransactionListRoutes-B191v9kk.js} +1 -1
  47. package/dist/assets/{TreasuryRoutes-h3ROpRx5.js → TreasuryRoutes-DZNZaxYZ.js} +6 -6
  48. package/dist/assets/{VendorsRoutes-x1VmRs4J.js → VendorsRoutes-CvrHlc-r.js} +1 -1
  49. package/dist/assets/WiseConfirmationScreen-B9yx7qcI.js +12 -0
  50. package/dist/assets/{ZeniAccountRoutes-BOVvauFK.js → ZeniAccountRoutes-YPhOuFwx.js} +12 -12
  51. package/dist/assets/ZeniAccountStatementScreen-DJU3198J.js +9 -0
  52. package/dist/assets/{accountMappingHelper-DNCKLg7K.js → accountMappingHelper-SWFIL59M.js} +1 -1
  53. package/dist/assets/{analytics-1WMvk5Rb.js → analytics-DhULAPA0.js} +1 -1
  54. package/dist/assets/{analyticsHelper-C8vUB4gm.js → analyticsHelper-CbsMOq15.js} +1 -1
  55. package/dist/assets/{core-0WK0Zss8.js → core-CnGMK-sC.js} +1 -1
  56. package/dist/assets/{decodeURIComponentSafe-DYdex7Fp.js → decodeURIComponentSafe-uWfgYCNH.js} +1 -1
  57. package/dist/assets/{dnd-Dwsdp5ty.js → dnd-BqCGp7Ed.js} +1 -1
  58. package/dist/assets/{empty-o2YkWI97.js → empty-AGnm4bIq.js} +1 -1
  59. package/dist/assets/{empty-B_vMxB0z.js → empty-CZCaQm4J.js} +1 -1
  60. package/dist/assets/{emptyVideoElement-Cmrnn243.js → emptyVideoElement-Cqm9YLjS.js} +1 -1
  61. package/dist/assets/epic-CTjjWhpg.js +2 -0
  62. package/dist/assets/getLocaleForTenant-BuGWeb9s.js +1 -0
  63. package/dist/assets/{index-DptRs9ko.js → index-BuTuhkuP.js} +2 -2
  64. package/dist/assets/{index-CmH-4r8j.js → index-CUaM5Y1I.js} +1 -1
  65. package/dist/assets/{index-Dy73EgcO.js → index-D7tfVykC.js} +14303 -14311
  66. package/dist/assets/{index-C3zdsXK_.js → index-D88Jaev3.js} +1 -1
  67. package/dist/assets/{index-B4Kzctdg.js → index-S4IFBgph.js} +1 -1
  68. package/dist/assets/{index-CcesBH_n.js → index-XkyLBJ61.js} +1 -1
  69. package/dist/assets/{index-CqKRE3AP.js → index-b64yysEr.js} +1 -1
  70. package/dist/assets/{index-CFATCouK.js → index-uYv86E98.js} +1 -1
  71. package/dist/assets/{lexical-B9WqgH9H.js → lexical-DlqthnSG.js} +1 -1
  72. package/dist/assets/{liveblocks-tpE-grBU.js → liveblocks-s55OcG-D.js} +1 -1
  73. package/dist/assets/{lottie-dQMhiLBj.js → lottie-DMKCl4ti.js} +1 -1
  74. package/dist/assets/{mui-NHWzIwJg.js → mui-CggbPNN2.js} +2 -2
  75. package/dist/assets/{pathToGoBack-BmJj5cme.js → pathToGoBack-DpxbYxCk.js} +1 -1
  76. package/dist/assets/{pdf-C4fX1mA3.js → pdf-BD0zxvar.js} +3 -3
  77. package/dist/assets/{pdf-lib-CxgB1_73.js → pdf-lib-BzRjr6sI.js} +1 -1
  78. package/dist/assets/{plaid-59NT4aqa.js → plaid-d_bwfWrk.js} +1 -1
  79. package/dist/assets/{pusher-CY-7JGv2.js → pusher-Cfk4rd_d.js} +1 -1
  80. package/dist/assets/{react-D8u5JcH6.js → react-BKWnIOym.js} +1 -1
  81. package/dist/assets/{react-C2Lbn6h8.js → react-BdjYstH9.js} +1 -1
  82. package/dist/assets/{react-DhqMtE92.js → react-C8X5xuWi.js} +1 -1
  83. package/dist/assets/{react-SLQy3m4e.js → react-CSLZes-L.js} +1 -1
  84. package/dist/assets/{react-OZ0ubAW7.js → react-D5Ky_KQN.js} +1 -1
  85. package/dist/assets/{react-C3I7c7kB.js → react-onoaKP_J.js} +1 -1
  86. package/dist/assets/{recharts-CUzwcISX.js → recharts-CmLekiCG.js} +1 -1
  87. package/dist/assets/routePaths-CVAI7AUa.js +1 -0
  88. package/dist/assets/{sentry-D58SEIt0.js → sentry-qwy54zvC.js} +1 -1
  89. package/dist/assets/{url-BRZfE6CD.js → url-BKJ8Udjp.js} +1 -1
  90. package/dist/assets/{url-wdUk7Rbg.js → url-CF9Fx3Jk.js} +1 -1
  91. package/dist/assets/useAiCfoDashboardSuggestedQuestionsChips-DwtRgARG.js +1 -0
  92. package/dist/assets/useAskAiCfoHostNavButtonProps-Bl-nKTXG.js +1 -0
  93. package/dist/assets/useCashManagementBanner-SbCmMLis.js +1 -0
  94. package/dist/assets/{useChargeCardPusherEvents-DGhBtw5K.js → useChargeCardPusherEvents-Cg9Qn_oP.js} +1 -1
  95. package/dist/assets/{useDeviceId-SayLljl1.js → useDeviceId-DPOieVuC.js} +1 -1
  96. package/dist/assets/useEmailConnectResultRefresh-gsc6JcZn.js +1 -0
  97. package/dist/assets/{useInitialThreadRequest-B7WOjZ27.js → useInitialThreadRequest-CXnpfTcs.js} +1 -1
  98. package/dist/assets/{utils-CHGPa257.js → utils-5Fz6z6US.js} +1 -1
  99. package/dist/assets/{withTransactionSidePanel-BsJ58rSa.js → withTransactionSidePanel-ZQvLeKiY.js} +2 -2
  100. package/dist/assets/{zeni-epic-state-Bx_bp9Xr.js → zeni-epic-state-NrbJoBOX.js} +4 -4
  101. package/dist/index.html +1 -1
  102. package/package.json +3 -3
  103. package/dist/assets/AddressRoutes-ChIEG7ZZ.js +0 -1
  104. package/dist/assets/AiCfoScreen-DXLxFBnQ.js +0 -22
  105. package/dist/assets/ConnectionAuthScreen-RH-ZQnmS.js +0 -11
  106. package/dist/assets/CustomerOnboardingAuthScreen-Bro8vP9Q.js +0 -1
  107. package/dist/assets/DomesticWireDetailScreen-DmspT9Qv.js +0 -18
  108. package/dist/assets/DrawerScreen-CTBdvd2J.js +0 -1
  109. package/dist/assets/EntityDetailRoutes-DPOfKd1l.js +0 -1
  110. package/dist/assets/FeaturePreviewScreen-CS0na0Uv.js +0 -1
  111. package/dist/assets/HubSpotOAuthCallbackScreen-CDdCifUI.js +0 -1
  112. package/dist/assets/MagicLinkSignInScreen-BQxK3HJS.js +0 -12
  113. package/dist/assets/MobileAppDrawer-By5kqJZy.js +0 -1
  114. package/dist/assets/NotFoundScreen-BUpSeNgf.js +0 -1
  115. package/dist/assets/OAuthConsentScreen-BzkRmkhL.js +0 -1
  116. package/dist/assets/PandLWithForecastRoutes-DB98rpg8.js +0 -1
  117. package/dist/assets/PeopleRoutes-BPQhjQKR.js +0 -22
  118. package/dist/assets/PerformanceRoutes-Cu8GwbPn.js +0 -1
  119. package/dist/assets/ReferralListScreen-Bg4MIsqb.js +0 -5
  120. package/dist/assets/ReimbursementApprovalRoutes-CLqW8bjU.js +0 -1
  121. package/dist/assets/RewardsRoutes-Dmsl5Hhz.js +0 -1
  122. package/dist/assets/ScreenRoutes-DtVjvGeB.js +0 -2
  123. package/dist/assets/SignInScreen-Caakz2DY.js +0 -1
  124. package/dist/assets/SignOutScreen-CtzEkEl4.js +0 -9
  125. package/dist/assets/TaskListScreen-BtTYiD21.js +0 -9
  126. package/dist/assets/TaskRoutes-X8P3xHwH.js +0 -9
  127. package/dist/assets/TransactionDetailScreen-CRWTcneH.js +0 -5
  128. package/dist/assets/WiseConfirmationScreen-CIMiBhET.js +0 -12
  129. package/dist/assets/ZeniAccountStatementScreen-DZHjDSg5.js +0 -9
  130. package/dist/assets/epic-BqLIdimv.js +0 -2
  131. package/dist/assets/getLocaleForTenant-CqQ308VG.js +0 -1
  132. package/dist/assets/routePaths-YBRbNv0i.js +0 -1
  133. package/dist/assets/useAiCfoDashboardSuggestedQuestionsChips-B3JxpD0o.js +0 -1
  134. package/dist/assets/useAskAiCfoHostNavButtonProps-Dx1w_2sk.js +0 -1
  135. package/dist/assets/useCashManagementBanner-MgmXXc9G.js +0 -1
  136. package/dist/assets/useEmailConnectResultRefresh-CG-YyoOP.js +0 -1
@@ -0,0 +1 @@
1
+ import{k as n}from"./index-D7tfVykC.js";import"./mui-CggbPNN2.js";import"./sentry-qwy54zvC.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="f17be0a9-8452-4732-8143-c042676b47a8",e._sentryDebugIdIdentifier="sentry-dbid-f17be0a9-8452-4732-8143-c042676b47a8")}catch{}})();function l(e){if(e.companyLocaleInfo!=null&&e.companyLocaleInfo.languageCode.length>0&&e.companyLocaleInfo.companyIncCountryCode.length>0){const o=`${e.companyLocaleInfo.languageCode.toLowerCase()}-${e.companyLocaleInfo.companyIncCountryCode.toUpperCase()}`;return console.warn(`localeID ${o}`),n(o)??"en"}return"en"}export{l as t};
@@ -1,2 +1,2 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/emptyVideoElement-Cmrnn243.js","assets/sentry-D58SEIt0.js","assets/index-CcesBH_n.js","assets/react-OZ0ubAW7.js","assets/react-D8u5JcH6.js","assets/react-C2Lbn6h8.js","assets/react-C3I7c7kB.js","assets/react-SLQy3m4e.js","assets/react-DhqMtE92.js","assets/Preview-Dh_7Y2V1.js"])))=>i.map(i=>d[i]);
2
- import{_ as u}from"./zeni-epic-state-Bx_bp9Xr.js";import{b as m,a as l}from"./sentry-D58SEIt0.js";import"./core-0WK0Zss8.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="3d9e141a-7cf1-4f01-a977-d8388ac8f14c",e._sentryDebugIdIdentifier="sentry-dbid-3d9e141a-7cf1-4f01-a977-d8388ac8f14c")}catch{}})();const N=/\.(m4a|m4b|mp4a|mpga|mp2|mp2a|mp3|m2a|m3a|wav|weba|aac|oga|spx)($|\?)/i,O=/\.(mp4|og[gv]|webm|mov|m4v)(#t=[,\d+]+)?($|\?)/i,z=/\.(m3u8)($|\?)/i,q=/\.(mpd)($|\?)/i,M=/stream\.mux\.com\/(?!\w+\.m3u8)(\w+)/,Y=/(?:youtu\.be\/|youtube(?:-nocookie|education)?\.com\/(?:embed\/|v\/|watch\/|watch\?v=|watch\?.+&v=|shorts\/|live\/))((\w|-){11})|youtube\.com\/playlist\?list=|youtube\.com\/user\//,Z=/vimeo\.com\/(?!progressive_redirect).+/,B=/(?:wistia\.(?:com|net)|wi\.st)\/(?:medias|embed)\/(?:iframe\/)?([^?]+)/,F=/open\.spotify\.com\/(\w+)\/(\w+)/i,G=/(?:www\.|go\.)?twitch\.tv\/([a-zA-Z0-9_]+|(videos?\/|\?video=)\d+)($|\?)/,H=/tiktok\.com\/(?:player\/v1\/|share\/video\/|@[^/]+\/video\/)([0-9]+)/,w=(e,a)=>{if(Array.isArray(e)){for(const n of e)if(typeof n=="string"&&w(n,a)||w(n.src,a))return!0;return!1}return a(e)},s={html:e=>w(e,(a=>N.test(a)||O.test(a))),hls:e=>w(e,(a=>z.test(a))),dash:e=>w(e,(a=>q.test(a))),mux:e=>M.test(e),youtube:e=>Y.test(e),vimeo:e=>Z.test(e)&&!O.test(e)&&!z.test(e),wistia:e=>B.test(e),spotify:e=>F.test(e),twitch:e=>G.test(e),tiktok:e=>H.test(e)};var J=m.forwardRef(((e,a)=>{const n=N.test(`${e.src}`)?"audio":"video";return m.createElement(n,{...e,ref:a},e.children)})),L=[{key:"hls",name:"hls.js",canPlay:s.hls,canEnablePIP:()=>!0,player:l.lazy((()=>u((()=>import("./emptyVideoElement-Cmrnn243.js")),__vite__mapDeps([0,1]))))},{key:"dash",name:"dash.js",canPlay:s.dash,canEnablePIP:()=>!0,player:l.lazy((()=>u((()=>import("./emptyVideoElement-Cmrnn243.js")),__vite__mapDeps([0,1]))))},{key:"mux",name:"Mux",canPlay:s.mux,canEnablePIP:()=>!0,player:l.lazy((()=>u((()=>import("./index-CcesBH_n.js")),__vite__mapDeps([2,1]))))},{key:"youtube",name:"YouTube",canPlay:s.youtube,player:l.lazy((()=>u((()=>import("./react-OZ0ubAW7.js")),__vite__mapDeps([3,1]))))},{key:"vimeo",name:"Vimeo",canPlay:s.vimeo,player:l.lazy((()=>u((()=>import("./react-D8u5JcH6.js")),__vite__mapDeps([4,1]))))},{key:"wistia",name:"Wistia",canPlay:s.wistia,canEnablePIP:()=>!0,player:l.lazy((()=>u((()=>import("./react-C2Lbn6h8.js")),__vite__mapDeps([5,1]))))},{key:"spotify",name:"Spotify",canPlay:s.spotify,canEnablePIP:()=>!1,player:l.lazy((()=>u((()=>import("./react-C3I7c7kB.js")),__vite__mapDeps([6,1]))))},{key:"twitch",name:"Twitch",canPlay:s.twitch,canEnablePIP:()=>!1,player:l.lazy((()=>u((()=>import("./react-SLQy3m4e.js")),__vite__mapDeps([7,1]))))},{key:"tiktok",name:"TikTok",canPlay:s.tiktok,canEnablePIP:()=>!1,player:l.lazy((()=>u((()=>import("./react-DhqMtE92.js")),__vite__mapDeps([8,1]))))},{key:"html",name:"html",canPlay:s.html,canEnablePIP:()=>!0,player:J}];const K={width:"320px",height:"180px",volume:1,playbackRate:1,previewTabIndex:0,previewAriaLabel:"",oEmbedUrl:"https://noembed.com/embed?url={url}"},S=m.forwardRef(((e,a)=>{const{playing:n,pip:o}=e,y=e.activePlayer,t=l.useRef(null),p=l.useRef(!0);if(l.useEffect((()=>{var r,i;t.current&&(t.current.paused&&n===!0&&t.current.play(),t.current.paused||n!==!1||t.current.pause(),t.current.playbackRate=(r=e.playbackRate)!=null?r:1,t.current.volume=(i=e.volume)!=null?i:1)})),l.useEffect((()=>{var r,i,c,h,_;if(t.current&&globalThis.document){if(o&&!document.pictureInPictureElement)try{(i=(r=t.current).requestPictureInPicture)==null||i.call(r)}catch{}if(!o&&document.pictureInPictureElement)try{(h=(c=t.current).exitPictureInPicture)==null||h.call(c),(_=document.exitPictureInPicture)==null||_.call(document)}catch{}}}),[o]),!y)return null;const v={},E=["onReady","onStart"];for(const r in e)r.startsWith("on")&&!E.includes(r)&&(v[r]=e[r]);return m.createElement(y,{...v,style:e.style,className:e.className,slot:e.slot,ref:l.useCallback((r=>{t.current=r,typeof a=="function"?a(r):a!==null&&(a.current=r)}),[a]),src:e.src,crossOrigin:e.crossOrigin,preload:e.preload,controls:e.controls,muted:e.muted,autoPlay:e.autoPlay,loop:e.loop,playsInline:e.playsInline,disableRemotePlayback:e.disableRemotePlayback,config:e.config,onLoadStart:r=>{var i,c;p.current=!0,(i=e.onReady)==null||i.call(e),(c=e.onLoadStart)==null||c.call(e,r)},onPlay:r=>{var i,c;p.current&&(p.current=!1,(i=e.onStart)==null||i.call(e,r)),(c=e.onPlay)==null||c.call(e,r)}},e.children)}));S.displayName="Player";var Q=S;const X=l.lazy((()=>u((()=>import("./Preview-Dh_7Y2V1.js")),__vite__mapDeps([9,1])))),b=[],V=({children:e})=>e;var re=((e,a)=>{const n=m.forwardRef(((o,y)=>{const t={...K,...o},{src:p,slot:v,className:E,style:r,width:i,height:c,fallback:h,wrapper:_}=t,[k,g]=l.useState(!!t.light);l.useEffect((()=>{t.light?g(!0):g(!1)}),[t.light]);const $=f=>{var d;g(!1),(d=t.onClickPreview)==null||d.call(t,f)},C=_??V,U=h===!1?V:l.Suspense;return m.createElement(C,{slot:v,className:E,style:{width:i,height:c,...r}},m.createElement(U,{fallback:h},k?(f=>{if(!f)return null;const{light:d,playIcon:I,previewTabIndex:P,oEmbedUrl:R,previewAriaLabel:T}=t;return m.createElement(X,{src:f,light:d,playIcon:I,previewTabIndex:P,previewAriaLabel:T,oEmbedUrl:R,onClickPreview:$})})(p):(f=>{var d,I;const P=(x=>{for(const D of[...b,...e])if(x&&D.canPlay(x))return D;return a||null})(f);if(!P)return null;const{style:R,width:T,height:j,wrapper:A}=t,W=(d=t.config)==null?void 0:d[P.key];return m.createElement(Q,{...t,ref:y,activePlayer:(I=P.player)!=null?I:P,slot:A?void 0:v,className:A?void 0:E,style:A?{display:"block",width:"100%",height:"100%"}:{display:"block",width:T,height:j,...R},config:W})})(p)))}));return n.displayName="ReactPlayer",n.addCustomPlayer=o=>{b.push(o)},n.removeCustomPlayers=()=>{b.length=0},n.canPlay=o=>{if(o){for(const y of[...b,...e])if(y.canPlay(o))return!0}return!1},n.canEnablePIP=o=>{var y;if(o){for(const t of[...b,...e])if(t.canPlay(o)&&((y=t.canEnablePIP)!=null&&y.call(t)))return!0}return!1},n})(L,L[L.length-1]);export{re as default};
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/emptyVideoElement-Cqm9YLjS.js","assets/sentry-qwy54zvC.js","assets/index-XkyLBJ61.js","assets/react-D5Ky_KQN.js","assets/react-BKWnIOym.js","assets/react-BdjYstH9.js","assets/react-onoaKP_J.js","assets/react-CSLZes-L.js","assets/react-C8X5xuWi.js","assets/Preview-CuOg-A8H.js"])))=>i.map(i=>d[i]);
2
+ import{_ as u}from"./zeni-epic-state-NrbJoBOX.js";import{b as m,a as l}from"./sentry-qwy54zvC.js";import"./core-CnGMK-sC.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="3d9e141a-7cf1-4f01-a977-d8388ac8f14c",e._sentryDebugIdIdentifier="sentry-dbid-3d9e141a-7cf1-4f01-a977-d8388ac8f14c")}catch{}})();const N=/\.(m4a|m4b|mp4a|mpga|mp2|mp2a|mp3|m2a|m3a|wav|weba|aac|oga|spx)($|\?)/i,O=/\.(mp4|og[gv]|webm|mov|m4v)(#t=[,\d+]+)?($|\?)/i,z=/\.(m3u8)($|\?)/i,q=/\.(mpd)($|\?)/i,M=/stream\.mux\.com\/(?!\w+\.m3u8)(\w+)/,Y=/(?:youtu\.be\/|youtube(?:-nocookie|education)?\.com\/(?:embed\/|v\/|watch\/|watch\?v=|watch\?.+&v=|shorts\/|live\/))((\w|-){11})|youtube\.com\/playlist\?list=|youtube\.com\/user\//,Z=/vimeo\.com\/(?!progressive_redirect).+/,B=/(?:wistia\.(?:com|net)|wi\.st)\/(?:medias|embed)\/(?:iframe\/)?([^?]+)/,F=/open\.spotify\.com\/(\w+)\/(\w+)/i,G=/(?:www\.|go\.)?twitch\.tv\/([a-zA-Z0-9_]+|(videos?\/|\?video=)\d+)($|\?)/,H=/tiktok\.com\/(?:player\/v1\/|share\/video\/|@[^/]+\/video\/)([0-9]+)/,w=(e,a)=>{if(Array.isArray(e)){for(const n of e)if(typeof n=="string"&&w(n,a)||w(n.src,a))return!0;return!1}return a(e)},s={html:e=>w(e,(a=>N.test(a)||O.test(a))),hls:e=>w(e,(a=>z.test(a))),dash:e=>w(e,(a=>q.test(a))),mux:e=>M.test(e),youtube:e=>Y.test(e),vimeo:e=>Z.test(e)&&!O.test(e)&&!z.test(e),wistia:e=>B.test(e),spotify:e=>F.test(e),twitch:e=>G.test(e),tiktok:e=>H.test(e)};var J=m.forwardRef(((e,a)=>{const n=N.test(`${e.src}`)?"audio":"video";return m.createElement(n,{...e,ref:a},e.children)})),L=[{key:"hls",name:"hls.js",canPlay:s.hls,canEnablePIP:()=>!0,player:l.lazy((()=>u((()=>import("./emptyVideoElement-Cqm9YLjS.js")),__vite__mapDeps([0,1]))))},{key:"dash",name:"dash.js",canPlay:s.dash,canEnablePIP:()=>!0,player:l.lazy((()=>u((()=>import("./emptyVideoElement-Cqm9YLjS.js")),__vite__mapDeps([0,1]))))},{key:"mux",name:"Mux",canPlay:s.mux,canEnablePIP:()=>!0,player:l.lazy((()=>u((()=>import("./index-XkyLBJ61.js")),__vite__mapDeps([2,1]))))},{key:"youtube",name:"YouTube",canPlay:s.youtube,player:l.lazy((()=>u((()=>import("./react-D5Ky_KQN.js")),__vite__mapDeps([3,1]))))},{key:"vimeo",name:"Vimeo",canPlay:s.vimeo,player:l.lazy((()=>u((()=>import("./react-BKWnIOym.js")),__vite__mapDeps([4,1]))))},{key:"wistia",name:"Wistia",canPlay:s.wistia,canEnablePIP:()=>!0,player:l.lazy((()=>u((()=>import("./react-BdjYstH9.js")),__vite__mapDeps([5,1]))))},{key:"spotify",name:"Spotify",canPlay:s.spotify,canEnablePIP:()=>!1,player:l.lazy((()=>u((()=>import("./react-onoaKP_J.js")),__vite__mapDeps([6,1]))))},{key:"twitch",name:"Twitch",canPlay:s.twitch,canEnablePIP:()=>!1,player:l.lazy((()=>u((()=>import("./react-CSLZes-L.js")),__vite__mapDeps([7,1]))))},{key:"tiktok",name:"TikTok",canPlay:s.tiktok,canEnablePIP:()=>!1,player:l.lazy((()=>u((()=>import("./react-C8X5xuWi.js")),__vite__mapDeps([8,1]))))},{key:"html",name:"html",canPlay:s.html,canEnablePIP:()=>!0,player:J}];const K={width:"320px",height:"180px",volume:1,playbackRate:1,previewTabIndex:0,previewAriaLabel:"",oEmbedUrl:"https://noembed.com/embed?url={url}"},S=m.forwardRef(((e,a)=>{const{playing:n,pip:o}=e,y=e.activePlayer,t=l.useRef(null),p=l.useRef(!0);if(l.useEffect((()=>{var r,i;t.current&&(t.current.paused&&n===!0&&t.current.play(),t.current.paused||n!==!1||t.current.pause(),t.current.playbackRate=(r=e.playbackRate)!=null?r:1,t.current.volume=(i=e.volume)!=null?i:1)})),l.useEffect((()=>{var r,i,c,h,_;if(t.current&&globalThis.document){if(o&&!document.pictureInPictureElement)try{(i=(r=t.current).requestPictureInPicture)==null||i.call(r)}catch{}if(!o&&document.pictureInPictureElement)try{(h=(c=t.current).exitPictureInPicture)==null||h.call(c),(_=document.exitPictureInPicture)==null||_.call(document)}catch{}}}),[o]),!y)return null;const v={},E=["onReady","onStart"];for(const r in e)r.startsWith("on")&&!E.includes(r)&&(v[r]=e[r]);return m.createElement(y,{...v,style:e.style,className:e.className,slot:e.slot,ref:l.useCallback((r=>{t.current=r,typeof a=="function"?a(r):a!==null&&(a.current=r)}),[a]),src:e.src,crossOrigin:e.crossOrigin,preload:e.preload,controls:e.controls,muted:e.muted,autoPlay:e.autoPlay,loop:e.loop,playsInline:e.playsInline,disableRemotePlayback:e.disableRemotePlayback,config:e.config,onLoadStart:r=>{var i,c;p.current=!0,(i=e.onReady)==null||i.call(e),(c=e.onLoadStart)==null||c.call(e,r)},onPlay:r=>{var i,c;p.current&&(p.current=!1,(i=e.onStart)==null||i.call(e,r)),(c=e.onPlay)==null||c.call(e,r)}},e.children)}));S.displayName="Player";var Q=S;const X=l.lazy((()=>u((()=>import("./Preview-CuOg-A8H.js")),__vite__mapDeps([9,1])))),b=[],V=({children:e})=>e;var re=((e,a)=>{const n=m.forwardRef(((o,y)=>{const t={...K,...o},{src:p,slot:v,className:E,style:r,width:i,height:c,fallback:h,wrapper:_}=t,[k,g]=l.useState(!!t.light);l.useEffect((()=>{t.light?g(!0):g(!1)}),[t.light]);const $=f=>{var d;g(!1),(d=t.onClickPreview)==null||d.call(t,f)},C=_??V,U=h===!1?V:l.Suspense;return m.createElement(C,{slot:v,className:E,style:{width:i,height:c,...r}},m.createElement(U,{fallback:h},k?(f=>{if(!f)return null;const{light:d,playIcon:I,previewTabIndex:P,oEmbedUrl:R,previewAriaLabel:T}=t;return m.createElement(X,{src:f,light:d,playIcon:I,previewTabIndex:P,previewAriaLabel:T,oEmbedUrl:R,onClickPreview:$})})(p):(f=>{var d,I;const P=(x=>{for(const D of[...b,...e])if(x&&D.canPlay(x))return D;return a||null})(f);if(!P)return null;const{style:R,width:T,height:j,wrapper:A}=t,W=(d=t.config)==null?void 0:d[P.key];return m.createElement(Q,{...t,ref:y,activePlayer:(I=P.player)!=null?I:P,slot:A?void 0:v,className:A?void 0:E,style:A?{display:"block",width:"100%",height:"100%"}:{display:"block",width:T,height:j,...R},config:W})})(p)))}));return n.displayName="ReactPlayer",n.addCustomPlayer=o=>{b.push(o)},n.removeCustomPlayers=()=>{b.length=0},n.canPlay=o=>{if(o){for(const y of[...b,...e])if(y.canPlay(o))return!0}return!1},n.canEnablePIP=o=>{var y;if(o){for(const t of[...b,...e])if(t.canPlay(o)&&((y=t.canEnablePIP)!=null&&y.call(t)))return!0}return!1},n})(L,L[L.length-1]);export{re as default};
@@ -1 +1 @@
1
- import"./sentry-D58SEIt0.js";import{r as u}from"./index-CqKRE3AP.js";import{r as d}from"./url-wdUk7Rbg.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="16821cf9-c147-4b6f-b48c-768e1268c466",e._sentryDebugIdIdentifier="sentry-dbid-16821cf9-c147-4b6f-b48c-768e1268c466")}catch{}})();var i,p={exports:{}};function y(){return i||(i=1,(function(e){var o=u(),c=d(),r=e.exports;for(var n in o)o.hasOwnProperty(n)&&(r[n]=o[n]);function f(t){if(typeof t=="string"&&(t=c.parse(t)),t.protocol||(t.protocol="https:"),t.protocol!=="https:")throw new Error('Protocol "'+t.protocol+'" not supported. Expected "https:"');return t}r.request=function(t,s){return t=f(t),o.request.call(this,t,s)},r.get=function(t,s){return t=f(t),o.get.call(this,t,s)}})(p)),p.exports}export{y as r};
1
+ import"./sentry-qwy54zvC.js";import{r as u}from"./index-b64yysEr.js";import{r as d}from"./url-CF9Fx3Jk.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="16821cf9-c147-4b6f-b48c-768e1268c466",e._sentryDebugIdIdentifier="sentry-dbid-16821cf9-c147-4b6f-b48c-768e1268c466")}catch{}})();var i,p={exports:{}};function y(){return i||(i=1,(function(e){var o=u(),c=d(),r=e.exports;for(var n in o)o.hasOwnProperty(n)&&(r[n]=o[n]);function f(t){if(typeof t=="string"&&(t=c.parse(t)),t.protocol||(t.protocol="https:"),t.protocol!=="https:")throw new Error('Protocol "'+t.protocol+'" not supported. Expected "https:"');return t}r.request=function(t,s){return t=f(t),o.request.call(this,t,s)},r.get=function(t,s){return t=f(t),o.get.call(this,t,s)}})(p)),p.exports}export{y as r};