@zeniai/web-app-ui 5.0.1-qa → 5.0.2-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 (133) hide show
  1. package/dist/assets/AddressRoutes-D4ZwWdW3.js +1 -0
  2. package/dist/assets/AddressScreen-DG2igJ3e.js +9 -0
  3. package/dist/assets/AiCfoScreen-zU1Nx73v.js +11 -0
  4. package/dist/assets/BillPayApprovalRoutes-5SmQw6w5.js +1 -0
  5. package/dist/assets/{BillPayRoutes-B7eECbMR.js → BillPayRoutes-be_i6u1i.js} +7 -7
  6. package/dist/assets/{BusinessVerificationPageScreen-D_IL11BU.js → BusinessVerificationPageScreen-D-2VpDbP.js} +2 -2
  7. package/dist/assets/{ChargeCardRoutes-MbQ6GwxR.js → ChargeCardRoutes-B9FmCIkx.js} +9 -9
  8. package/dist/assets/CompanyPassportScreen-BIqiLLcA.js +1 -0
  9. package/dist/assets/ConnectionAuthScreen-Dah9BIfx.js +11 -0
  10. package/dist/assets/CustomerOnboardingAuthScreen-BCDiCbBG.js +1 -0
  11. package/dist/assets/{CustomerOnboardingRoutes-DEmyPEG9.js → CustomerOnboardingRoutes-hpECeIAZ.js} +3 -3
  12. package/dist/assets/{DashboardRoutes-LUXfYRYr.js → DashboardRoutes-9GSNK76c.js} +3 -3
  13. package/dist/assets/{DefaultTenantHome-CsgBmyY-.js → DefaultTenantHome-D1vXY83X.js} +1 -1
  14. package/dist/assets/{DomesticWireDetailScreen-Byk3gNE9.js → DomesticWireDetailScreen-CBvkPR3e.js} +3 -3
  15. package/dist/assets/DrawerScreen-B_llN9HS.js +1 -0
  16. package/dist/assets/EntityDetailRoutes-BQvHfHXF.js +1 -0
  17. package/dist/assets/{ExpenseAutomationRoutes-DzZ2kzOA.js → ExpenseAutomationRoutes-DkcdbkvF.js} +4 -4
  18. package/dist/assets/FeaturePreviewScreen-BZdfwZgd.js +1 -0
  19. package/dist/assets/MagicLinkRoutes-B3KZdLtz.js +72 -0
  20. package/dist/assets/MagicLinkSignInScreen-BKi_zF71.js +12 -0
  21. package/dist/assets/MobileAppDrawer-Q6-14poV.js +1 -0
  22. package/dist/assets/NotFoundScreen-Cz9quvZz.js +1 -0
  23. package/dist/assets/{NotificationRoutes-DzMqKa9n.js → NotificationRoutes-eISVis3N.js} +1 -1
  24. package/dist/assets/PandLWithForecastRoutes-CJ17X8Du.js +1 -0
  25. package/dist/assets/{PeopleRoutes-BswRWZQg.js → PeopleRoutes-D7cCmX3b.js} +5 -5
  26. package/dist/assets/PerformanceRoutes-BfV7NXh6.js +1 -0
  27. package/dist/assets/{Preview--bb5p9Hr.js → Preview-hp5oXBDl.js} +1 -1
  28. package/dist/assets/{QBOConnectionScreen-C_qIc23z.js → QBOConnectionScreen-DQ1AuSJF.js} +34 -34
  29. package/dist/assets/ReferralListScreen-eM-LRvxR.js +5 -0
  30. package/dist/assets/ReimbursementApprovalRoutes-CFORcsiU.js +1 -0
  31. package/dist/assets/{ReimbursementApprovalRuleDetailScreen-Cg7X5Fv7.js → ReimbursementApprovalRuleDetailScreen-DAGX2Bpj.js} +1 -1
  32. package/dist/assets/ReimbursementRoutes-B_ZwbgUK.js +68 -0
  33. package/dist/assets/ReportsRoutes-Cjg471Jx.js +1 -0
  34. package/dist/assets/RewardsRoutes-akBEyetT.js +1 -0
  35. package/dist/assets/ScreenRoutes-DNdR3Wy8.js +2 -0
  36. package/dist/assets/SettingsRoutes-BZEUVpEo.js +57 -0
  37. package/dist/assets/{SetupPagesScreen-vY1ujDKJ.js → SetupPagesScreen-hvGS92ve.js} +5 -5
  38. package/dist/assets/{SignInScreen-ClbKNS4x.js → SignInScreen-BJuZCyu8.js} +1 -1
  39. package/dist/assets/SignOutScreen-CGW09UIk.js +9 -0
  40. package/dist/assets/TaskListScreen-tJJhpcmp.js +9 -0
  41. package/dist/assets/TaskRoutes-DCNhNgxM.js +9 -0
  42. package/dist/assets/TransactionDetailRoutes-RIZOkAYz.js +1 -0
  43. package/dist/assets/TransactionDetailScreen-BeTw-X5z.js +5 -0
  44. package/dist/assets/TransactionListRoutes-ZRAuVXeU.js +1 -0
  45. package/dist/assets/{TreasuryRoutes-CtBzkTMx.js → TreasuryRoutes-BaR7b6eY.js} +6 -6
  46. package/dist/assets/{VendorsRoutes-aBYOoTKe.js → VendorsRoutes-B4vpI764.js} +20 -20
  47. package/dist/assets/{WiseConfirmationScreen-s0eoug7u.js → WiseConfirmationScreen-v0Wu2mUB.js} +1 -1
  48. package/dist/assets/ZeniAccountRoutes-CjxtzBYh.js +66 -0
  49. package/dist/assets/ZeniAccountStatementScreen-C-RdVVLR.js +9 -0
  50. package/dist/assets/{accountMappingHelper-CEUIWp7O.js → accountMappingHelper-B_vdVXJd.js} +1 -1
  51. package/dist/assets/{analytics-BkhHPaQ4.js → analytics-B_kykzhy.js} +1 -1
  52. package/dist/assets/{analyticsHelper-CSpNHX-t.js → analyticsHelper-RuE4CbDL.js} +1 -1
  53. package/dist/assets/{core-C_NeXleM.js → core-C7cnuUop.js} +1 -1
  54. package/dist/assets/{decodeURIComponentSafe-Drd7YS9D.js → decodeURIComponentSafe-rDkCEJpn.js} +1 -1
  55. package/dist/assets/{dnd-C0SdDgY2.js → dnd-TzLeX35A.js} +1 -1
  56. package/dist/assets/{empty-5JhUjXJf.js → empty-7vbmHAL6.js} +1 -1
  57. package/dist/assets/{empty-CDZc49VR.js → empty-B375B_HA.js} +1 -1
  58. package/dist/assets/{emptyVideoElement-SE9UwlDX.js → emptyVideoElement-BGxjtXTu.js} +1 -1
  59. package/dist/assets/epic-DefpUSD4.js +2 -0
  60. package/dist/assets/getLocaleForTenant-BRT6_AeC.js +1 -0
  61. package/dist/assets/{index-3wKQcxVk.js → index-BAxpczYf.js} +2 -2
  62. package/dist/assets/{index-DEiuB93P.js → index-CcLDrNJO.js} +1 -1
  63. package/dist/assets/{index-BaZ8-9eR.js → index-DGKR7P5A.js} +13079 -12937
  64. package/dist/assets/{index-Y_8J-EV-.js → index-DrxEgkQ-.js} +1 -1
  65. package/dist/assets/{index-COcEChnY.js → index-Qmma5Ck1.js} +1 -1
  66. package/dist/assets/{index-DYUyEm6J.js → index-_vh22_qX.js} +1 -1
  67. package/dist/assets/{index-Dmixh63m.js → index-m-Adf2ll.js} +1 -1
  68. package/dist/assets/{lexical-B1vtLf4F.js → lexical-Dp9Fvoo6.js} +1 -1
  69. package/dist/assets/{liveblocks-BCZSgQbG.js → liveblocks-jLbycGCP.js} +1 -1
  70. package/dist/assets/{lottie-BdeQlKTG.js → lottie-SbVYeXJk.js} +1 -1
  71. package/dist/assets/{mui-CgjVMn8C.js → mui-BkznVaFh.js} +1 -1
  72. package/dist/assets/{pathToGoBack-BDpRzqvH.js → pathToGoBack-DXgc_G9d.js} +1 -1
  73. package/dist/assets/{pdf-CQPNphc4.js → pdf-DQg4OfsP.js} +4 -4
  74. package/dist/assets/{pdf-lib-DznUmqID.js → pdf-lib-CDsnDRGG.js} +1 -1
  75. package/dist/assets/{plaid-B3UNGbGB.js → plaid-DfnoQTVm.js} +1 -1
  76. package/dist/assets/{pusher-SrZYiYid.js → pusher-CQHA__kt.js} +1 -1
  77. package/dist/assets/{react-B1LuGLWv.js → react-BfsHsZ2B.js} +1 -1
  78. package/dist/assets/{react-CkJUroZo.js → react-CCO8orgk.js} +1 -1
  79. package/dist/assets/{react-CUvZ-QKI.js → react-CJwzWgLi.js} +1 -1
  80. package/dist/assets/{react-BLym8SqS.js → react-DPNnFJXW.js} +1 -1
  81. package/dist/assets/{react-BR-uiB3M.js → react-pHyk9OpQ.js} +1 -1
  82. package/dist/assets/{react-BUr4gNxK.js → react-tE35hRos.js} +1 -1
  83. package/dist/assets/{recharts-NCr2Pwd1.js → recharts-Dt8COHEP.js} +1 -1
  84. package/dist/assets/{routePaths-CXa3WNDm.js → routePaths-BjxXYb1e.js} +1 -1
  85. package/dist/assets/{sentry-CGkVgbup.js → sentry-CflaePyQ.js} +1 -1
  86. package/dist/assets/{url-D7JZ1pkZ.js → url-CMgR7Whs.js} +1 -1
  87. package/dist/assets/{url-ax2xfQkc.js → url-DZF6CZ5y.js} +1 -1
  88. package/dist/assets/useAskAiCfoHostNavButtonProps-BhmP_lnc.js +1 -0
  89. package/dist/assets/{useDeviceId-DxDe1m2N.js → useDeviceId-aTbWtPu7.js} +1 -1
  90. package/dist/assets/useFetchSuggestedQuestionsWhenReady-Ex4_WTph.js +1 -0
  91. package/dist/assets/{useInitialThreadRequest-B7p2SBgg.js → useInitialThreadRequest-DoYKoe1O.js} +1 -1
  92. package/dist/assets/{utils-CTLGOmjC.js → utils-t3ltqqZ0.js} +1 -1
  93. package/dist/assets/withTransactionSidePanel-BBmA3NZ6.js +8 -0
  94. package/dist/assets/zeni-epic-state-DPGmsT0c.js +14 -0
  95. package/dist/index.html +1 -1
  96. package/package.json +4 -4
  97. package/dist/assets/AddressRoutes-Ccdt31hR.js +0 -1
  98. package/dist/assets/AddressScreen-DG9DlRXT.js +0 -9
  99. package/dist/assets/AiCfoScreen-BySJdfdn.js +0 -11
  100. package/dist/assets/BillPayApprovalRoutes-7ZgXY6Qr.js +0 -1
  101. package/dist/assets/CompanyPassportScreen-0tGZqhHr.js +0 -1
  102. package/dist/assets/ConnectionAuthScreen-Ng7EqaWr.js +0 -11
  103. package/dist/assets/CustomerOnboardingAuthScreen-DHzsN76N.js +0 -1
  104. package/dist/assets/DrawerScreen-CN6TBpYY.js +0 -1
  105. package/dist/assets/EntityDetailRoutes-BVmRwPcm.js +0 -1
  106. package/dist/assets/FeaturePreviewScreen-ArEP4se9.js +0 -1
  107. package/dist/assets/MagicLinkRoutes-C8RQWz8N.js +0 -72
  108. package/dist/assets/MagicLinkSignInScreen-raeb9t11.js +0 -12
  109. package/dist/assets/MobileAppDrawer-CowqUthz.js +0 -1
  110. package/dist/assets/NotFoundScreen-0ajohMSv.js +0 -1
  111. package/dist/assets/PandLWithForecastRoutes-DdGQfKKW.js +0 -1
  112. package/dist/assets/PerformanceRoutes-ChMRcywH.js +0 -1
  113. package/dist/assets/ReferralListScreen-BAK4p9-3.js +0 -5
  114. package/dist/assets/ReimbursementApprovalRoutes-ogcfMEcC.js +0 -1
  115. package/dist/assets/ReimbursementRoutes-0m6W0X2g.js +0 -68
  116. package/dist/assets/ReportsRoutes-1TXSN037.js +0 -1
  117. package/dist/assets/RewardsRoutes-B8FReE5j.js +0 -1
  118. package/dist/assets/ScreenRoutes-DRzB_14n.js +0 -2
  119. package/dist/assets/SettingsRoutes-BGCZcWYL.js +0 -57
  120. package/dist/assets/SignOutScreen-Dvb2Qc0l.js +0 -9
  121. package/dist/assets/TaskListScreen-CaGy-z1x.js +0 -9
  122. package/dist/assets/TaskRoutes-9joFCtVs.js +0 -9
  123. package/dist/assets/TransactionDetailRoutes-CWNaQpCz.js +0 -1
  124. package/dist/assets/TransactionDetailScreen-DXlYmq7Y.js +0 -5
  125. package/dist/assets/TransactionListRoutes-FH_uc507.js +0 -1
  126. package/dist/assets/ZeniAccountRoutes-BcBOPI_A.js +0 -66
  127. package/dist/assets/ZeniAccountStatementScreen-BOfH7mnf.js +0 -9
  128. package/dist/assets/epic-CBKcA32L.js +0 -2
  129. package/dist/assets/getLocaleForTenant-Ab1B3PjW.js +0 -1
  130. package/dist/assets/useAskAiCfoHostNavButtonProps-Crpk73sU.js +0 -1
  131. package/dist/assets/useFetchSuggestedQuestionsWhenReady-sxquM27W.js +0 -1
  132. package/dist/assets/withTransactionSidePanel-CB8Jp1hw.js +0 -8
  133. package/dist/assets/zeni-epic-state-Dp14ovRw.js +0 -14
@@ -0,0 +1 @@
1
+ import{J as n}from"./index-DGKR7P5A.js";import"./mui-BkznVaFh.js";import"./sentry-CflaePyQ.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]="ae11a8e4-806f-4e8b-8b79-3ecc2feffdb5",e._sentryDebugIdIdentifier="sentry-dbid-ae11a8e4-806f-4e8b-8b79-3ecc2feffdb5")}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-SE9UwlDX.js","assets/sentry-CGkVgbup.js","assets/index-Dmixh63m.js","assets/react-CUvZ-QKI.js","assets/react-BUr4gNxK.js","assets/react-CkJUroZo.js","assets/react-BR-uiB3M.js","assets/react-BLym8SqS.js","assets/react-B1LuGLWv.js","assets/Preview--bb5p9Hr.js"])))=>i.map(i=>d[i]);
2
- import{_ as u}from"./zeni-epic-state-Dp14ovRw.js";import{b as m,a as l}from"./sentry-CGkVgbup.js";import"./core-C_NeXleM.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]="efee7dfe-36e5-4a67-90cf-2f355dea5441",e._sentryDebugIdIdentifier="sentry-dbid-efee7dfe-36e5-4a67-90cf-2f355dea5441")}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-SE9UwlDX.js"),__vite__mapDeps([0,1])))},{key:"dash",name:"dash.js",canPlay:s.dash,canEnablePIP:()=>!0,player:l.lazy(()=>u(()=>import("./emptyVideoElement-SE9UwlDX.js"),__vite__mapDeps([0,1])))},{key:"mux",name:"Mux",canPlay:s.mux,canEnablePIP:()=>!0,player:l.lazy(()=>u(()=>import("./index-Dmixh63m.js"),__vite__mapDeps([2,1])))},{key:"youtube",name:"YouTube",canPlay:s.youtube,player:l.lazy(()=>u(()=>import("./react-CUvZ-QKI.js"),__vite__mapDeps([3,1])))},{key:"vimeo",name:"Vimeo",canPlay:s.vimeo,player:l.lazy(()=>u(()=>import("./react-BUr4gNxK.js"),__vite__mapDeps([4,1])))},{key:"wistia",name:"Wistia",canPlay:s.wistia,canEnablePIP:()=>!0,player:l.lazy(()=>u(()=>import("./react-CkJUroZo.js"),__vite__mapDeps([5,1])))},{key:"spotify",name:"Spotify",canPlay:s.spotify,canEnablePIP:()=>!1,player:l.lazy(()=>u(()=>import("./react-BR-uiB3M.js"),__vite__mapDeps([6,1])))},{key:"twitch",name:"Twitch",canPlay:s.twitch,canEnablePIP:()=>!1,player:l.lazy(()=>u(()=>import("./react-BLym8SqS.js"),__vite__mapDeps([7,1])))},{key:"tiktok",name:"TikTok",canPlay:s.tiktok,canEnablePIP:()=>!1,player:l.lazy(()=>u(()=>import("./react-B1LuGLWv.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--bb5p9Hr.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-BGxjtXTu.js","assets/sentry-CflaePyQ.js","assets/index-m-Adf2ll.js","assets/react-CJwzWgLi.js","assets/react-tE35hRos.js","assets/react-CCO8orgk.js","assets/react-pHyk9OpQ.js","assets/react-DPNnFJXW.js","assets/react-BfsHsZ2B.js","assets/Preview-hp5oXBDl.js"])))=>i.map(i=>d[i]);
2
+ import{_ as u}from"./zeni-epic-state-DPGmsT0c.js";import{b as m,a as l}from"./sentry-CflaePyQ.js";import"./core-C7cnuUop.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]="efee7dfe-36e5-4a67-90cf-2f355dea5441",e._sentryDebugIdIdentifier="sentry-dbid-efee7dfe-36e5-4a67-90cf-2f355dea5441")}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-BGxjtXTu.js"),__vite__mapDeps([0,1])))},{key:"dash",name:"dash.js",canPlay:s.dash,canEnablePIP:()=>!0,player:l.lazy(()=>u(()=>import("./emptyVideoElement-BGxjtXTu.js"),__vite__mapDeps([0,1])))},{key:"mux",name:"Mux",canPlay:s.mux,canEnablePIP:()=>!0,player:l.lazy(()=>u(()=>import("./index-m-Adf2ll.js"),__vite__mapDeps([2,1])))},{key:"youtube",name:"YouTube",canPlay:s.youtube,player:l.lazy(()=>u(()=>import("./react-CJwzWgLi.js"),__vite__mapDeps([3,1])))},{key:"vimeo",name:"Vimeo",canPlay:s.vimeo,player:l.lazy(()=>u(()=>import("./react-tE35hRos.js"),__vite__mapDeps([4,1])))},{key:"wistia",name:"Wistia",canPlay:s.wistia,canEnablePIP:()=>!0,player:l.lazy(()=>u(()=>import("./react-CCO8orgk.js"),__vite__mapDeps([5,1])))},{key:"spotify",name:"Spotify",canPlay:s.spotify,canEnablePIP:()=>!1,player:l.lazy(()=>u(()=>import("./react-pHyk9OpQ.js"),__vite__mapDeps([6,1])))},{key:"twitch",name:"Twitch",canPlay:s.twitch,canEnablePIP:()=>!1,player:l.lazy(()=>u(()=>import("./react-DPNnFJXW.js"),__vite__mapDeps([7,1])))},{key:"tiktok",name:"TikTok",canPlay:s.tiktok,canEnablePIP:()=>!1,player:l.lazy(()=>u(()=>import("./react-BfsHsZ2B.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-hp5oXBDl.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-CGkVgbup.js";import{r as u}from"./index-Y_8J-EV-.js";import{r as d}from"./url-ax2xfQkc.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new o.Error().stack;t&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[t]="9fcee5fe-e96f-4a29-8c7f-719e87556252",o._sentryDebugIdIdentifier="sentry-dbid-9fcee5fe-e96f-4a29-8c7f-719e87556252")}catch{}})();var p,c={exports:{}};function g(){return p||(p=1,function(o){var t=u(),s=d(),r=o.exports;for(var n in t)t.hasOwnProperty(n)&&(r[n]=t[n]);function i(e){if(typeof e=="string"&&(e=s.parse(e)),e.protocol||(e.protocol="https:"),e.protocol!=="https:")throw new Error('Protocol "'+e.protocol+'" not supported. Expected "https:"');return e}r.request=function(e,f){return e=i(e),t.request.call(this,e,f)},r.get=function(e,f){return e=i(e),t.get.call(this,e,f)}}(c)),c.exports}export{g as r};
1
+ import"./sentry-CflaePyQ.js";import{r as u}from"./index-DrxEgkQ-.js";import{r as d}from"./url-DZF6CZ5y.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new o.Error().stack;t&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[t]="9fcee5fe-e96f-4a29-8c7f-719e87556252",o._sentryDebugIdIdentifier="sentry-dbid-9fcee5fe-e96f-4a29-8c7f-719e87556252")}catch{}})();var p,c={exports:{}};function g(){return p||(p=1,function(o){var t=u(),s=d(),r=o.exports;for(var n in t)t.hasOwnProperty(n)&&(r[n]=t[n]);function i(e){if(typeof e=="string"&&(e=s.parse(e)),e.protocol||(e.protocol="https:"),e.protocol!=="https:")throw new Error('Protocol "'+e.protocol+'" not supported. Expected "https:"');return e}r.request=function(e,f){return e=i(e),t.request.call(this,e,f)},r.get=function(e,f){return e=i(e),t.get.call(this,e,f)}}(c)),c.exports}export{g as r};