@zeniai/web-app-ui 5.1.94-dev → 5.1.94-prod

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 (106) hide show
  1. package/dist/assets/AddressRoutes-C8UFjHlJ.js +1 -0
  2. package/dist/assets/{AddressScreen-DT4aul98.js → AddressScreen-XhFOoyKo.js} +1 -1
  3. package/dist/assets/{AiCfoScreen-BhF2jfJu.js → AiCfoScreen-BF-W3ih9.js} +1 -1
  4. package/dist/assets/{BillPayApprovalRoutes-DBrTLbUM.js → BillPayApprovalRoutes-DUufTpN9.js} +1 -1
  5. package/dist/assets/{BillPayRoutes-DXvHcHbk.js → BillPayRoutes-Bw0IsLB3.js} +1 -1
  6. package/dist/assets/{BusinessVerificationPageScreen-Om0cSThR.js → BusinessVerificationPageScreen-1qtS5ks4.js} +1 -1
  7. package/dist/assets/{CardsAiCfoScreen-CDZYVA_G.js → CardsAiCfoScreen-DQSphgCa.js} +1 -1
  8. package/dist/assets/{ChargeCardRoutes-BaEr-4Sf.js → ChargeCardRoutes-DcCM1eVU.js} +1 -1
  9. package/dist/assets/{CompanyPassportScreen-B8wIBTwN.js → CompanyPassportScreen-C7mXdpfX.js} +1 -1
  10. package/dist/assets/{ConnectionAuthScreen-3rXBpWwe.js → ConnectionAuthScreen-B75nhauW.js} +1 -1
  11. package/dist/assets/CustomerOnboardingAuthScreen-W--x5JW5.js +1 -0
  12. package/dist/assets/{CustomerOnboardingRoutes-BSP_x0q_.js → CustomerOnboardingRoutes-TOJB2tnK.js} +1 -1
  13. package/dist/assets/{DashboardRoutes-BH2h4M69.js → DashboardRoutes-CtYQRXjE.js} +1 -1
  14. package/dist/assets/{DefaultTenantHome-533CT5dy.js → DefaultTenantHome-DI8mj5Q_.js} +1 -1
  15. package/dist/assets/{DomesticWireDetailScreen-DyCIP-L-.js → DomesticWireDetailScreen-_dgOgrVz.js} +1 -1
  16. package/dist/assets/{DrawerScreen-hmdKhO49.js → DrawerScreen-BE9jd2i-.js} +1 -1
  17. package/dist/assets/{EntityDetailRoutes-BifybXji.js → EntityDetailRoutes-B1Zb3J5e.js} +1 -1
  18. package/dist/assets/{ExpenseAutomationRoutes-ma2T2i_P.js → ExpenseAutomationRoutes-DRMJGYJr.js} +1 -1
  19. package/dist/assets/{FeaturePreviewScreen-BDSQN3lv.js → FeaturePreviewScreen-lJf_yTeY.js} +1 -1
  20. package/dist/assets/{HubSpotOAuthCallbackScreen-DNmva7H-.js → HubSpotOAuthCallbackScreen-BeLHO2-j.js} +1 -1
  21. package/dist/assets/{MagicLinkRoutes-DbkotQYT.js → MagicLinkRoutes-BxAIwky3.js} +1 -1
  22. package/dist/assets/{MagicLinkSignInScreen-NQd0hGkj.js → MagicLinkSignInScreen-DsHzKdNi.js} +1 -1
  23. package/dist/assets/{MobileAppDrawer-CpsSMjQ2.js → MobileAppDrawer-Dsv7tKlc.js} +1 -1
  24. package/dist/assets/NotFoundScreen-Cee7Y9ly.js +1 -0
  25. package/dist/assets/{NotificationRoutes-Cu5dkfdj.js → NotificationRoutes-DobHKz9u.js} +1 -1
  26. package/dist/assets/{OAuthConsentScreen-D99q8ZiL.js → OAuthConsentScreen-Dy45QyAN.js} +1 -1
  27. package/dist/assets/{PandLWithForecastRoutes-DTEkwhMd.js → PandLWithForecastRoutes-BNF_Kajt.js} +1 -1
  28. package/dist/assets/{PeopleRoutes-W5cMaWf6.js → PeopleRoutes-B7HL4P81.js} +1 -1
  29. package/dist/assets/{PerformanceRoutes-DyHolbpu.js → PerformanceRoutes-CQ0kLD3h.js} +1 -1
  30. package/dist/assets/{Preview-DGrNJzmQ.js → Preview-DaDyNd8E.js} +1 -1
  31. package/dist/assets/{QBOConnectionScreen-D8kad0sY.js → QBOConnectionScreen-DidKLWke.js} +1 -1
  32. package/dist/assets/{ReferralListScreen-BinxYKYV.js → ReferralListScreen-BskhCZs0.js} +1 -1
  33. package/dist/assets/{ReimbursementApprovalRoutes-DUXSVDw2.js → ReimbursementApprovalRoutes-D5JQCE2b.js} +1 -1
  34. package/dist/assets/{ReimbursementApprovalRuleDetailScreen-CgGJOA1u.js → ReimbursementApprovalRuleDetailScreen-CATS7-ee.js} +1 -1
  35. package/dist/assets/{ReimbursementRoutes-BLwsvqh4.js → ReimbursementRoutes-DN3tV-o4.js} +1 -1
  36. package/dist/assets/{ReportsRoutes-kfn77iwu.js → ReportsRoutes-BVP2H_iP.js} +1 -1
  37. package/dist/assets/{RewardsRoutes-D-idKZz4.js → RewardsRoutes-CIF1aBM8.js} +1 -1
  38. package/dist/assets/{ScreenRoutes-DQbm0Bd3.js → ScreenRoutes-DxKdgHw4.js} +2 -2
  39. package/dist/assets/{SettingsRoutes-CngnqM2k.js → SettingsRoutes-DeKfyrie.js} +1 -1
  40. package/dist/assets/{SetupPagesScreen-Bi7ql3Uc.js → SetupPagesScreen-f8LTEYpd.js} +1 -1
  41. package/dist/assets/{SignInScreen-B9F_7T01.js → SignInScreen-Cttn5Ho8.js} +1 -1
  42. package/dist/assets/{SignOutScreen-5ReTv-2r.js → SignOutScreen-ClOmXNx0.js} +1 -1
  43. package/dist/assets/{TaskListScreen-B92kUrNr.js → TaskListScreen-Db51P7t4.js} +1 -1
  44. package/dist/assets/{TaskRoutes-CtH7gfhd.js → TaskRoutes-pqvYP-lH.js} +1 -1
  45. package/dist/assets/{TransactionDetailRoutes-CCGKgR5c.js → TransactionDetailRoutes-OyHAzB2k.js} +1 -1
  46. package/dist/assets/{TransactionDetailScreen-DkN9stCC.js → TransactionDetailScreen-CpSEtMeC.js} +1 -1
  47. package/dist/assets/{TransactionListRoutes-BPGGfQYb.js → TransactionListRoutes-CRMxd6vB.js} +1 -1
  48. package/dist/assets/{TreasuryRoutes-D3yl0U9P.js → TreasuryRoutes-Be3daRlN.js} +1 -1
  49. package/dist/assets/{VendorsRoutes-CSf7xhk-.js → VendorsRoutes-BLmdqPP9.js} +1 -1
  50. package/dist/assets/{WiseConfirmationScreen-CURrKHsJ.js → WiseConfirmationScreen-Cc3wZTQI.js} +1 -1
  51. package/dist/assets/{ZeniAccountRoutes-Bvp0Q8q4.js → ZeniAccountRoutes-Bzk6Ak3U.js} +1 -1
  52. package/dist/assets/{ZeniAccountStatementScreen-BMxfX19s.js → ZeniAccountStatementScreen-8tHBIU_5.js} +1 -1
  53. package/dist/assets/{accountMappingHelper-Dk_23sfW.js → accountMappingHelper-DQVikFoS.js} +1 -1
  54. package/dist/assets/{analytics-BWMRmW6M.js → analytics-DRNOAKAE.js} +1 -1
  55. package/dist/assets/{analyticsHelper-DG9Hj57M.js → analyticsHelper-BZxbvama.js} +1 -1
  56. package/dist/assets/{core-BCzXpSj2.js → core-B0-17A4I.js} +1 -1
  57. package/dist/assets/{decodeURIComponentSafe-BaVz5hiZ.js → decodeURIComponentSafe-obLc7GQE.js} +1 -1
  58. package/dist/assets/{dnd-CMRnbWd0.js → dnd-jwFG-xhm.js} +1 -1
  59. package/dist/assets/{empty-BKEgBO1f.js → empty-BmX87UMN.js} +1 -1
  60. package/dist/assets/{empty-Huff3QoR.js → empty-IY17g4Q6.js} +1 -1
  61. package/dist/assets/{emptyVideoElement-C3GRsAmj.js → emptyVideoElement-Oic3q9lR.js} +1 -1
  62. package/dist/assets/{epic-D2GJzmn7.js → epic-BDs0-S9p.js} +1 -1
  63. package/dist/assets/{getLocaleForTenant-CJtZ2gVK.js → getLocaleForTenant-BplXO_bk.js} +1 -1
  64. package/dist/assets/{index-BgtDuR7o.js → index-BFQ_1lMZ.js} +2 -2
  65. package/dist/assets/{index-jnJxCrIS.js → index-C10XZqkI.js} +7 -7
  66. package/dist/assets/{index-kgnb8add.js → index-C1cjBKqt.js} +1 -1
  67. package/dist/assets/{index-DnXXSSQr.js → index-C9J3F3K2.js} +1 -1
  68. package/dist/assets/{index-DD1fRxxW.js → index-Cs-iqHyM.js} +1 -1
  69. package/dist/assets/{index-D93ptPBX.js → index-DRYBd1Xf.js} +1 -1
  70. package/dist/assets/{index-F79NhlWc.js → index-Dmo4vFYz.js} +1 -1
  71. package/dist/assets/{index-RV1w-9NK.js → index-fvndpbXM.js} +1 -1
  72. package/dist/assets/{lexical-CLfce6-g.js → lexical-DaGW53aP.js} +1 -1
  73. package/dist/assets/{liveblocks-DgQRIsyS.js → liveblocks-dAnrjjn5.js} +1 -1
  74. package/dist/assets/{lottie-D0l9jr5K.js → lottie-B0xyBrQl.js} +1 -1
  75. package/dist/assets/{mui-BU88kzbO.js → mui-6cCAKJII.js} +1 -1
  76. package/dist/assets/{pathToGoBack-Ct5jhqDD.js → pathToGoBack-AgOkRtWP.js} +1 -1
  77. package/dist/assets/{pdf-DF6S6f8j.js → pdf-7_vdJ6Tn.js} +3 -3
  78. package/dist/assets/{pdf-lib-f4RyuKvB.js → pdf-lib-BfwT30Ba.js} +1 -1
  79. package/dist/assets/{plaid-CnRfB1Gp.js → plaid-Ch1JfYzH.js} +1 -1
  80. package/dist/assets/{pusher-CI9cnuX_.js → pusher-DSB5ZRE2.js} +1 -1
  81. package/dist/assets/{react-BkeoZEiD.js → react-0f1MWRRq.js} +1 -1
  82. package/dist/assets/{react-o34Ibe9E.js → react-B4epigg2.js} +1 -1
  83. package/dist/assets/{react-WN5d6PKR.js → react-BzbuYCqa.js} +1 -1
  84. package/dist/assets/{react-B17DU2Q8.js → react-CxsPCrOk.js} +1 -1
  85. package/dist/assets/{react-DjeVbFvw.js → react-dyGBypc2.js} +1 -1
  86. package/dist/assets/{react-Df1nu3Jg.js → react-ekh3KaAj.js} +1 -1
  87. package/dist/assets/{recharts-LNNCqKNo.js → recharts-DiIpyBcD.js} +1 -1
  88. package/dist/assets/{routePaths-BrpCPMmb.js → routePaths-C81TmrLM.js} +1 -1
  89. package/dist/assets/{sentry-BHeH_DOJ.js → sentry-BlOz0B6v.js} +1 -1
  90. package/dist/assets/{url-CvYl_jYF.js → url-DHGQ1uFp.js} +1 -1
  91. package/dist/assets/{url-BMGD5Vyc.js → url-zRsRYAMr.js} +1 -1
  92. package/dist/assets/{useAiCfoDashboardSuggestedQuestionsChips-CSP2rs4k.js → useAiCfoDashboardSuggestedQuestionsChips-UHF_gF18.js} +1 -1
  93. package/dist/assets/{useAskAiCfoHostNavButtonProps-BjXqzhKq.js → useAskAiCfoHostNavButtonProps-bgaTPSrz.js} +1 -1
  94. package/dist/assets/{useCashManagementBanner-Chf9Io8m.js → useCashManagementBanner-DybHQdi5.js} +1 -1
  95. package/dist/assets/{useChargeCardPusherEvents-a1rzK4fg.js → useChargeCardPusherEvents-B_GJ2Cn7.js} +1 -1
  96. package/dist/assets/{useDeviceId-CIiEEeSM.js → useDeviceId-XezzzYwO.js} +1 -1
  97. package/dist/assets/{useEmailConnectResultRefresh-KQRYFmno.js → useEmailConnectResultRefresh-2JNUew1I.js} +1 -1
  98. package/dist/assets/{useInitialThreadRequest-CIKn9Zyw.js → useInitialThreadRequest-CLN5yYvv.js} +1 -1
  99. package/dist/assets/{utils-BOLLxecq.js → utils-Dui8_GZJ.js} +1 -1
  100. package/dist/assets/{withTransactionSidePanel-ClneTDW0.js → withTransactionSidePanel-CTayDb9I.js} +1 -1
  101. package/dist/assets/{zeni-epic-state-CeMrW02Z.js → zeni-epic-state-BuBy_X36.js} +3 -3
  102. package/dist/index.html +1 -1
  103. package/package.json +1 -1
  104. package/dist/assets/AddressRoutes-pUo9c-tv.js +0 -1
  105. package/dist/assets/CustomerOnboardingAuthScreen-qfvtTE_8.js +0 -1
  106. package/dist/assets/NotFoundScreen-_taUi6Es.js +0 -1
@@ -1 +1 @@
1
- import{_ as n}from"./index-jnJxCrIS.js";import"./mui-BU88kzbO.js";import"./sentry-BHeH_DOJ.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]="2aa3be53-b5f7-4cbc-8d0f-7a8e931034cb",e._sentryDebugIdIdentifier="sentry-dbid-2aa3be53-b5f7-4cbc-8d0f-7a8e931034cb")}catch{}})();function f(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{f as t};
1
+ import{_ as n}from"./index-C10XZqkI.js";import"./mui-6cCAKJII.js";import"./sentry-BlOz0B6v.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]="2aa3be53-b5f7-4cbc-8d0f-7a8e931034cb",e._sentryDebugIdIdentifier="sentry-dbid-2aa3be53-b5f7-4cbc-8d0f-7a8e931034cb")}catch{}})();function f(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{f as t};
@@ -1,2 +1,2 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/emptyVideoElement-C3GRsAmj.js","assets/sentry-BHeH_DOJ.js","assets/index-DD1fRxxW.js","assets/react-WN5d6PKR.js","assets/react-DjeVbFvw.js","assets/react-B17DU2Q8.js","assets/react-o34Ibe9E.js","assets/react-BkeoZEiD.js","assets/react-Df1nu3Jg.js","assets/Preview-DGrNJzmQ.js"])))=>i.map(i=>d[i]);
2
- import{_ as u}from"./zeni-epic-state-CeMrW02Z.js";import{b as m,a as l}from"./sentry-BHeH_DOJ.js";import"./core-BCzXpSj2.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-C3GRsAmj.js"),__vite__mapDeps([0,1])))},{key:"dash",name:"dash.js",canPlay:s.dash,canEnablePIP:()=>!0,player:l.lazy(()=>u(()=>import("./emptyVideoElement-C3GRsAmj.js"),__vite__mapDeps([0,1])))},{key:"mux",name:"Mux",canPlay:s.mux,canEnablePIP:()=>!0,player:l.lazy(()=>u(()=>import("./index-DD1fRxxW.js"),__vite__mapDeps([2,1])))},{key:"youtube",name:"YouTube",canPlay:s.youtube,player:l.lazy(()=>u(()=>import("./react-WN5d6PKR.js"),__vite__mapDeps([3,1])))},{key:"vimeo",name:"Vimeo",canPlay:s.vimeo,player:l.lazy(()=>u(()=>import("./react-DjeVbFvw.js"),__vite__mapDeps([4,1])))},{key:"wistia",name:"Wistia",canPlay:s.wistia,canEnablePIP:()=>!0,player:l.lazy(()=>u(()=>import("./react-B17DU2Q8.js"),__vite__mapDeps([5,1])))},{key:"spotify",name:"Spotify",canPlay:s.spotify,canEnablePIP:()=>!1,player:l.lazy(()=>u(()=>import("./react-o34Ibe9E.js"),__vite__mapDeps([6,1])))},{key:"twitch",name:"Twitch",canPlay:s.twitch,canEnablePIP:()=>!1,player:l.lazy(()=>u(()=>import("./react-BkeoZEiD.js"),__vite__mapDeps([7,1])))},{key:"tiktok",name:"TikTok",canPlay:s.tiktok,canEnablePIP:()=>!1,player:l.lazy(()=>u(()=>import("./react-Df1nu3Jg.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-DGrNJzmQ.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-Oic3q9lR.js","assets/sentry-BlOz0B6v.js","assets/index-Cs-iqHyM.js","assets/react-BzbuYCqa.js","assets/react-dyGBypc2.js","assets/react-CxsPCrOk.js","assets/react-B4epigg2.js","assets/react-0f1MWRRq.js","assets/react-ekh3KaAj.js","assets/Preview-DaDyNd8E.js"])))=>i.map(i=>d[i]);
2
+ import{_ as u}from"./zeni-epic-state-BuBy_X36.js";import{b as m,a as l}from"./sentry-BlOz0B6v.js";import"./core-B0-17A4I.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-Oic3q9lR.js"),__vite__mapDeps([0,1])))},{key:"dash",name:"dash.js",canPlay:s.dash,canEnablePIP:()=>!0,player:l.lazy(()=>u(()=>import("./emptyVideoElement-Oic3q9lR.js"),__vite__mapDeps([0,1])))},{key:"mux",name:"Mux",canPlay:s.mux,canEnablePIP:()=>!0,player:l.lazy(()=>u(()=>import("./index-Cs-iqHyM.js"),__vite__mapDeps([2,1])))},{key:"youtube",name:"YouTube",canPlay:s.youtube,player:l.lazy(()=>u(()=>import("./react-BzbuYCqa.js"),__vite__mapDeps([3,1])))},{key:"vimeo",name:"Vimeo",canPlay:s.vimeo,player:l.lazy(()=>u(()=>import("./react-dyGBypc2.js"),__vite__mapDeps([4,1])))},{key:"wistia",name:"Wistia",canPlay:s.wistia,canEnablePIP:()=>!0,player:l.lazy(()=>u(()=>import("./react-CxsPCrOk.js"),__vite__mapDeps([5,1])))},{key:"spotify",name:"Spotify",canPlay:s.spotify,canEnablePIP:()=>!1,player:l.lazy(()=>u(()=>import("./react-B4epigg2.js"),__vite__mapDeps([6,1])))},{key:"twitch",name:"Twitch",canPlay:s.twitch,canEnablePIP:()=>!1,player:l.lazy(()=>u(()=>import("./react-0f1MWRRq.js"),__vite__mapDeps([7,1])))},{key:"tiktok",name:"TikTok",canPlay:s.tiktok,canEnablePIP:()=>!1,player:l.lazy(()=>u(()=>import("./react-ekh3KaAj.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-DaDyNd8E.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};