@zeniai/web-app-ui 5.0.97-prod → 5.0.98-dev

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 (146) hide show
  1. package/dist/assets/AddressRoutes-DDaIV4eZ.js +1 -0
  2. package/dist/assets/AddressScreen-DxaubiXq.js +9 -0
  3. package/dist/assets/AiCfoScreen-m8Zgq_GS.js +22 -0
  4. package/dist/assets/{BillPayApprovalRoutes-B_joczSl.js → BillPayApprovalRoutes-B4r-0-50.js} +1 -1
  5. package/dist/assets/{BillPayRoutes-BFXFl9z6.js → BillPayRoutes-DQzlGeQi.js} +34 -34
  6. package/dist/assets/BusinessVerificationPageScreen-BIrHn3fq.js +9 -0
  7. package/dist/assets/ChargeCardRoutes-Qksh7aEY.js +71 -0
  8. package/dist/assets/CompanyPassportScreen-Bh0KRqU9.js +1 -0
  9. package/dist/assets/ConnectionAuthScreen-9JU_wknG.js +11 -0
  10. package/dist/assets/CustomerOnboardingAuthScreen-Bmz9Q3W4.js +1 -0
  11. package/dist/assets/CustomerOnboardingRoutes-X_ZDpwiP.js +23 -0
  12. package/dist/assets/DashboardRoutes-BogZbtoT.js +20 -0
  13. package/dist/assets/{DefaultTenantHome-Dv0PjNYs.js → DefaultTenantHome-Q-dqiquI.js} +1 -1
  14. package/dist/assets/DomesticWireDetailScreen-BY-jUiMw.js +18 -0
  15. package/dist/assets/DrawerScreen-Drpask10.js +1 -0
  16. package/dist/assets/EntityDetailRoutes-CbdIl_vZ.js +1 -0
  17. package/dist/assets/ExpenseAutomationRoutes-DtnWFchZ.js +25 -0
  18. package/dist/assets/FeaturePreviewScreen-DvNQU3gG.js +1 -0
  19. package/dist/assets/HubSpotOAuthCallbackScreen-DQMaXQ2W.js +1 -0
  20. package/dist/assets/{MagicLinkRoutes-DbHpIPX2.js → MagicLinkRoutes-TtaU4o7n.js} +10 -10
  21. package/dist/assets/MagicLinkSignInScreen-ZdC4mZB_.js +12 -0
  22. package/dist/assets/MobileAppDrawer-BkelcJG3.js +1 -0
  23. package/dist/assets/NotFoundScreen-Dpz39bup.js +1 -0
  24. package/dist/assets/NotificationRoutes-DMPt7wnb.js +1 -0
  25. package/dist/assets/OAuthConsentScreen-CUDMrd3J.js +1 -0
  26. package/dist/assets/PandLWithForecastRoutes-gaSgTRi0.js +1 -0
  27. package/dist/assets/PeopleRoutes-ulChxGY4.js +22 -0
  28. package/dist/assets/PerformanceRoutes-FHM73Dcm.js +1 -0
  29. package/dist/assets/{Preview-DqAFlqLC.js → Preview-D0x6u8Nz.js} +1 -1
  30. package/dist/assets/{QBOConnectionScreen-8kM98CQy.js → QBOConnectionScreen-CPvxeBk6.js} +1 -1
  31. package/dist/assets/ReferralListScreen-D2RlSd8S.js +5 -0
  32. package/dist/assets/ReimbursementApprovalRoutes-ClT51Soc.js +1 -0
  33. package/dist/assets/{ReimbursementApprovalRuleDetailScreen-CWAF8CQZ.js → ReimbursementApprovalRuleDetailScreen-Ck-1sOnS.js} +1 -1
  34. package/dist/assets/ReimbursementRoutes-D9TuG6Wi.js +68 -0
  35. package/dist/assets/ReportsRoutes-B8B68Eos.js +1 -0
  36. package/dist/assets/RewardsRoutes-C2gyLmQq.js +1 -0
  37. package/dist/assets/ScreenRoutes-CrkYMUz1.js +2 -0
  38. package/dist/assets/{SettingsRoutes-r5flp7G1.js → SettingsRoutes-CpAwrhPW.js} +7 -7
  39. package/dist/assets/{SetupPagesScreen-CdpgYht2.js → SetupPagesScreen-NIC2w04g.js} +5 -5
  40. package/dist/assets/SignInScreen-_pR-7wM2.js +1 -0
  41. package/dist/assets/SignOutScreen-BPL7WsWD.js +9 -0
  42. package/dist/assets/TaskListScreen-tKxgJp9M.js +9 -0
  43. package/dist/assets/TaskRoutes-CnDOH5U1.js +9 -0
  44. package/dist/assets/TransactionDetailRoutes-AzvoZbPr.js +1 -0
  45. package/dist/assets/TransactionDetailScreen-VjAJduyc.js +5 -0
  46. package/dist/assets/TransactionListRoutes-DAers0Rg.js +1 -0
  47. package/dist/assets/TreasuryRoutes-jwSS6VHf.js +37 -0
  48. package/dist/assets/{VendorsRoutes-DTmE0RWh.js → VendorsRoutes-BVKYJ6yV.js} +21 -21
  49. package/dist/assets/WiseConfirmationScreen-Bp7k95gU.js +12 -0
  50. package/dist/assets/{ZeniAccountRoutes-DtoDsnO8.js → ZeniAccountRoutes-9-ipmrl8.js} +12 -12
  51. package/dist/assets/ZeniAccountStatementScreen-CYFmOZM9.js +9 -0
  52. package/dist/assets/{accountMappingHelper-mPwLDS9k.js → accountMappingHelper-pKhoHYRw.js} +1 -1
  53. package/dist/assets/{analytics-BWmmb3bH.js → analytics-D310XSjQ.js} +1 -1
  54. package/dist/assets/{analyticsHelper-Q4OSZkDx.js → analyticsHelper-StfDTSGk.js} +1 -1
  55. package/dist/assets/{core-D-cpKWmv.js → core-Fwwp8hop.js} +2 -2
  56. package/dist/assets/{decodeURIComponentSafe-Cl3Tra0H.js → decodeURIComponentSafe-DaWuthXc.js} +1 -1
  57. package/dist/assets/{dnd-BD3zKbRC.js → dnd-B_nt-Uf4.js} +1 -1
  58. package/dist/assets/{empty-hj3DX_RR.js → empty-BOxndxwD.js} +1 -1
  59. package/dist/assets/{empty-KfInnCQr.js → empty-CLLWe6m6.js} +1 -1
  60. package/dist/assets/{emptyVideoElement-B0wK_hNA.js → emptyVideoElement-Dqc7f16l.js} +1 -1
  61. package/dist/assets/epic-rmzsjdl7.js +2 -0
  62. package/dist/assets/getLocaleForTenant-JJvZDWEQ.js +1 -0
  63. package/dist/assets/{index-BFyZdA2_.js → index-B-WtQiD1.js} +2 -2
  64. package/dist/assets/{index-D1UBmi0M.js → index-B6b9dX2I.js} +1 -1
  65. package/dist/assets/{index-D5QLnQsN.js → index-BcoFhJ4O.js} +15992 -15808
  66. package/dist/assets/{index-VvKxaHjX.js → index-CG4cMKGN.js} +1 -1
  67. package/dist/assets/{index-SOZ0T5oe.js → index-CfQpPMgv.js} +1 -1
  68. package/dist/assets/{index-DH_8bKlf.js → index-D6xVpTbl.js} +1 -1
  69. package/dist/assets/{index-DqbY7En7.js → index-DkSJ4_OZ.js} +1 -1
  70. package/dist/assets/{index-BBUX7NYa.js → index-py9Wsjt2.js} +1 -1
  71. package/dist/assets/{lexical-Cg-FAcRe.js → lexical-D4DqnnDh.js} +1 -1
  72. package/dist/assets/{liveblocks-9FgRf6RN.js → liveblocks-D1TxH59e.js} +1 -1
  73. package/dist/assets/{lottie-2x0vC_UA.js → lottie-BGeomX3N.js} +1 -1
  74. package/dist/assets/{mui-DbPD_U7D.js → mui-Dar_oGjJ.js} +1 -1
  75. package/dist/assets/{pathToGoBack-BeA1zRGQ.js → pathToGoBack-CFMq10u8.js} +1 -1
  76. package/dist/assets/{pdf-Bko1-wLy.js → pdf-BftxTBXg.js} +4 -4
  77. package/dist/assets/{pdf-lib-C5NGtDlP.js → pdf-lib-oQPUkPP1.js} +1 -1
  78. package/dist/assets/{plaid-CphBX8Hd.js → plaid-BGhwh8RZ.js} +1 -1
  79. package/dist/assets/{pusher-BGO2fGp9.js → pusher-B0sMSaHR.js} +1 -1
  80. package/dist/assets/{react-Dv7UJTDf.js → react-BG3-H3hY.js} +1 -1
  81. package/dist/assets/{react-BkPpqsw3.js → react-BaMiVVMt.js} +1 -1
  82. package/dist/assets/{react-BcCSF78R.js → react-C_Slx_Fd.js} +1 -1
  83. package/dist/assets/{react-DAifikd2.js → react-DrseuhQt.js} +1 -1
  84. package/dist/assets/{react-T2m92Z_r.js → react-qOh0QNtz.js} +1 -1
  85. package/dist/assets/{react-DSSP0bcZ.js → react-sGqG8JxF.js} +1 -1
  86. package/dist/assets/{recharts-DsMFNheM.js → recharts-DuOI9Nsb.js} +2 -2
  87. package/dist/assets/routePaths-BPSPu97F.js +1 -0
  88. package/dist/assets/{sentry-BZhPKROW.js → sentry-5pTQe3BK.js} +1 -1
  89. package/dist/assets/{url-B5Y1SxQs.js → url-CfkU6Gnm.js} +1 -1
  90. package/dist/assets/{url-C491_-xh.js → url-DFizNyrO.js} +1 -1
  91. package/dist/assets/useAiCfoDashboardSuggestedQuestionsChips-CRHV9fCR.js +1 -0
  92. package/dist/assets/useAskAiCfoHostNavButtonProps-HZkyXVvQ.js +1 -0
  93. package/dist/assets/{useDeviceId-BDTG2yE-.js → useDeviceId-9VsPbMb7.js} +1 -1
  94. package/dist/assets/{useInitialThreadRequest-Cvv-X8uZ.js → useInitialThreadRequest-Ro9Y0en9.js} +1 -1
  95. package/dist/assets/{utils-Dwyw3jBB.js → utils-3_hFkWEq.js} +1 -1
  96. package/dist/assets/withTransactionSidePanel-Bez35evJ.js +21 -0
  97. package/dist/assets/zeni-epic-state-i1VxNGkd.js +13 -0
  98. package/dist/index.html +1 -1
  99. package/package.json +5 -4
  100. package/dist/assets/AddressRoutes-CbrnxI1c.js +0 -1
  101. package/dist/assets/AddressScreen-CgdannXh.js +0 -9
  102. package/dist/assets/AiCfoScreen-CbXyx5Fb.js +0 -22
  103. package/dist/assets/BusinessVerificationPageScreen-BR1wvqfP.js +0 -9
  104. package/dist/assets/ChargeCardRoutes-CtTMlZ3l.js +0 -71
  105. package/dist/assets/CompanyPassportScreen-U_EqvubN.js +0 -1
  106. package/dist/assets/ConnectionAuthScreen-BnWcl9GE.js +0 -11
  107. package/dist/assets/CustomerOnboardingAuthScreen-D2pqtmNe.js +0 -1
  108. package/dist/assets/CustomerOnboardingRoutes-C00OpQQF.js +0 -23
  109. package/dist/assets/DashboardRoutes-DUKcIAPj.js +0 -20
  110. package/dist/assets/DomesticWireDetailScreen-BOZSwR7Q.js +0 -18
  111. package/dist/assets/DrawerScreen-B53R6h2F.js +0 -1
  112. package/dist/assets/EntityDetailRoutes-B0n9JxvC.js +0 -1
  113. package/dist/assets/ExpenseAutomationRoutes-D7cdTLT6.js +0 -25
  114. package/dist/assets/FeaturePreviewScreen-DN8xJrnO.js +0 -1
  115. package/dist/assets/HubSpotOAuthCallbackScreen-DFbRf6w7.js +0 -1
  116. package/dist/assets/MagicLinkSignInScreen-BMQ8Mdw1.js +0 -12
  117. package/dist/assets/MobileAppDrawer-Ca9TeoE3.js +0 -1
  118. package/dist/assets/NotFoundScreen-Bm6Halzh.js +0 -1
  119. package/dist/assets/NotificationRoutes-leEc9mpl.js +0 -1
  120. package/dist/assets/OAuthConsentScreen-B5zYEEC1.js +0 -1
  121. package/dist/assets/PandLWithForecastRoutes-BHueAauW.js +0 -1
  122. package/dist/assets/PeopleRoutes-Bl2ne5XS.js +0 -22
  123. package/dist/assets/PerformanceRoutes-BFkB2CnH.js +0 -1
  124. package/dist/assets/ReferralListScreen-ByA69Pb9.js +0 -5
  125. package/dist/assets/ReimbursementApprovalRoutes-EheO2gER.js +0 -1
  126. package/dist/assets/ReimbursementRoutes-DM4WBDCc.js +0 -68
  127. package/dist/assets/ReportsRoutes-BPaMlYXo.js +0 -1
  128. package/dist/assets/RewardsRoutes-fLFO1msd.js +0 -1
  129. package/dist/assets/ScreenRoutes-Dtii3DTg.js +0 -2
  130. package/dist/assets/SignInScreen-DzGKxTIJ.js +0 -1
  131. package/dist/assets/SignOutScreen-oL7iT-9J.js +0 -9
  132. package/dist/assets/TaskListScreen-CTNtiooT.js +0 -9
  133. package/dist/assets/TaskRoutes-D8N6RiCa.js +0 -9
  134. package/dist/assets/TransactionDetailRoutes-BwZGNCEf.js +0 -1
  135. package/dist/assets/TransactionDetailScreen-ZxK-9eof.js +0 -5
  136. package/dist/assets/TransactionListRoutes-CjAcvFID.js +0 -1
  137. package/dist/assets/TreasuryRoutes-BgF9Gr8f.js +0 -37
  138. package/dist/assets/WiseConfirmationScreen-1ZRdU4_3.js +0 -12
  139. package/dist/assets/ZeniAccountStatementScreen-DdmC0G4r.js +0 -9
  140. package/dist/assets/epic-ChyfzaDh.js +0 -2
  141. package/dist/assets/getLocaleForTenant-CH3-1tEc.js +0 -1
  142. package/dist/assets/routePaths-ucHSqfNZ.js +0 -1
  143. package/dist/assets/useAskAiCfoHostNavButtonProps-r6kofgtO.js +0 -1
  144. package/dist/assets/useFetchSuggestedQuestionsWhenReady-DnrrlCQK.js +0 -1
  145. package/dist/assets/withTransactionSidePanel-BYXY9lGn.js +0 -21
  146. package/dist/assets/zeni-epic-state-BcFfp2KT.js +0 -13
@@ -0,0 +1 @@
1
+ import{j as n}from"./index-BcoFhJ4O.js";import"./mui-Dar_oGjJ.js";import"./sentry-5pTQe3BK.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]="b6b8e9af-f8bc-404b-b199-bcf35ce4c4cd",e._sentryDebugIdIdentifier="sentry-dbid-b6b8e9af-f8bc-404b-b199-bcf35ce4c4cd")}catch{}})();function r(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{r as t};
@@ -1,2 +1,2 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/emptyVideoElement-B0wK_hNA.js","assets/sentry-BZhPKROW.js","assets/index-BBUX7NYa.js","assets/react-DSSP0bcZ.js","assets/react-BkPpqsw3.js","assets/react-DAifikd2.js","assets/react-Dv7UJTDf.js","assets/react-BcCSF78R.js","assets/react-T2m92Z_r.js","assets/Preview-DqAFlqLC.js"])))=>i.map(i=>d[i]);
2
- import{_ as u}from"./zeni-epic-state-BcFfp2KT.js";import{b as m,a as l}from"./sentry-BZhPKROW.js";import"./core-D-cpKWmv.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-B0wK_hNA.js"),__vite__mapDeps([0,1])))},{key:"dash",name:"dash.js",canPlay:s.dash,canEnablePIP:()=>!0,player:l.lazy(()=>u(()=>import("./emptyVideoElement-B0wK_hNA.js"),__vite__mapDeps([0,1])))},{key:"mux",name:"Mux",canPlay:s.mux,canEnablePIP:()=>!0,player:l.lazy(()=>u(()=>import("./index-BBUX7NYa.js"),__vite__mapDeps([2,1])))},{key:"youtube",name:"YouTube",canPlay:s.youtube,player:l.lazy(()=>u(()=>import("./react-DSSP0bcZ.js"),__vite__mapDeps([3,1])))},{key:"vimeo",name:"Vimeo",canPlay:s.vimeo,player:l.lazy(()=>u(()=>import("./react-BkPpqsw3.js"),__vite__mapDeps([4,1])))},{key:"wistia",name:"Wistia",canPlay:s.wistia,canEnablePIP:()=>!0,player:l.lazy(()=>u(()=>import("./react-DAifikd2.js"),__vite__mapDeps([5,1])))},{key:"spotify",name:"Spotify",canPlay:s.spotify,canEnablePIP:()=>!1,player:l.lazy(()=>u(()=>import("./react-Dv7UJTDf.js"),__vite__mapDeps([6,1])))},{key:"twitch",name:"Twitch",canPlay:s.twitch,canEnablePIP:()=>!1,player:l.lazy(()=>u(()=>import("./react-BcCSF78R.js"),__vite__mapDeps([7,1])))},{key:"tiktok",name:"TikTok",canPlay:s.tiktok,canEnablePIP:()=>!1,player:l.lazy(()=>u(()=>import("./react-T2m92Z_r.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-DqAFlqLC.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-Dqc7f16l.js","assets/sentry-5pTQe3BK.js","assets/index-py9Wsjt2.js","assets/react-sGqG8JxF.js","assets/react-BaMiVVMt.js","assets/react-DrseuhQt.js","assets/react-BG3-H3hY.js","assets/react-C_Slx_Fd.js","assets/react-qOh0QNtz.js","assets/Preview-D0x6u8Nz.js"])))=>i.map(i=>d[i]);
2
+ import{_ as u}from"./zeni-epic-state-i1VxNGkd.js";import{b as m,a as l}from"./sentry-5pTQe3BK.js";import"./core-Fwwp8hop.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-Dqc7f16l.js"),__vite__mapDeps([0,1])))},{key:"dash",name:"dash.js",canPlay:s.dash,canEnablePIP:()=>!0,player:l.lazy(()=>u(()=>import("./emptyVideoElement-Dqc7f16l.js"),__vite__mapDeps([0,1])))},{key:"mux",name:"Mux",canPlay:s.mux,canEnablePIP:()=>!0,player:l.lazy(()=>u(()=>import("./index-py9Wsjt2.js"),__vite__mapDeps([2,1])))},{key:"youtube",name:"YouTube",canPlay:s.youtube,player:l.lazy(()=>u(()=>import("./react-sGqG8JxF.js"),__vite__mapDeps([3,1])))},{key:"vimeo",name:"Vimeo",canPlay:s.vimeo,player:l.lazy(()=>u(()=>import("./react-BaMiVVMt.js"),__vite__mapDeps([4,1])))},{key:"wistia",name:"Wistia",canPlay:s.wistia,canEnablePIP:()=>!0,player:l.lazy(()=>u(()=>import("./react-DrseuhQt.js"),__vite__mapDeps([5,1])))},{key:"spotify",name:"Spotify",canPlay:s.spotify,canEnablePIP:()=>!1,player:l.lazy(()=>u(()=>import("./react-BG3-H3hY.js"),__vite__mapDeps([6,1])))},{key:"twitch",name:"Twitch",canPlay:s.twitch,canEnablePIP:()=>!1,player:l.lazy(()=>u(()=>import("./react-C_Slx_Fd.js"),__vite__mapDeps([7,1])))},{key:"tiktok",name:"TikTok",canPlay:s.tiktok,canEnablePIP:()=>!1,player:l.lazy(()=>u(()=>import("./react-qOh0QNtz.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-D0x6u8Nz.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{g as i}from"./sentry-BZhPKROW.js";import{r as a}from"./index-SOZ0T5oe.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="63071319-eacd-4eee-a227-cdff659934c0",e._sentryDebugIdIdentifier="sentry-dbid-63071319-eacd-4eee-a227-cdff659934c0")}catch{}})();function s(e,t){for(var o=0;o<t.length;o++){const r=t[o];if(typeof r!="string"&&!Array.isArray(r)){for(const n in r)if(n!=="default"&&!(n in e)){const f=Object.getOwnPropertyDescriptor(r,n);f&&Object.defineProperty(e,n,f.get?f:{enumerable:!0,get:()=>r[n]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var d=a();const u=s({__proto__:null,default:i(d)},[d]);export{u as i};
1
+ import{g as i}from"./sentry-5pTQe3BK.js";import{r as a}from"./index-CfQpPMgv.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="63071319-eacd-4eee-a227-cdff659934c0",e._sentryDebugIdIdentifier="sentry-dbid-63071319-eacd-4eee-a227-cdff659934c0")}catch{}})();function s(e,t){for(var o=0;o<t.length;o++){const r=t[o];if(typeof r!="string"&&!Array.isArray(r)){for(const n in r)if(n!=="default"&&!(n in e)){const f=Object.getOwnPropertyDescriptor(r,n);f&&Object.defineProperty(e,n,f.get?f:{enumerable:!0,get:()=>r[n]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var d=a();const u=s({__proto__:null,default:i(d)},[d]);export{u as i};