@zeniai/web-app-ui 5.0.98-qa → 5.0.99-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 (117) hide show
  1. package/dist/assets/AddressRoutes-OXDnOgRh.js +1 -0
  2. package/dist/assets/{AddressScreen-CWbRsmbp.js → AddressScreen-BML595Yo.js} +2 -2
  3. package/dist/assets/{AiCfoScreen-ByJaMYdf.js → AiCfoScreen-TmgmOaRq.js} +5 -5
  4. package/dist/assets/{BillPayApprovalRoutes-B3i4J9uo.js → BillPayApprovalRoutes-Oha07T23.js} +1 -1
  5. package/dist/assets/{BillPayRoutes-6NMIykXi.js → BillPayRoutes-BINxVZyu.js} +9 -9
  6. package/dist/assets/{BusinessVerificationPageScreen-CKWDQbki.js → BusinessVerificationPageScreen-BDULnMLm.js} +2 -2
  7. package/dist/assets/ChargeCardRoutes-DaRyXojm.js +71 -0
  8. package/dist/assets/{CompanyPassportScreen-gi1zQDQy.js → CompanyPassportScreen-BdGfSwtM.js} +1 -1
  9. package/dist/assets/ConnectionAuthScreen-YaOujwRB.js +11 -0
  10. package/dist/assets/CustomerOnboardingAuthScreen-CPid1ClP.js +1 -0
  11. package/dist/assets/{CustomerOnboardingRoutes-3ZdetMQC.js → CustomerOnboardingRoutes-xYYBFDtA.js} +4 -4
  12. package/dist/assets/{DashboardRoutes-B4iMdus4.js → DashboardRoutes-BwJn5B07.js} +4 -4
  13. package/dist/assets/{DefaultTenantHome-CmtmKMal.js → DefaultTenantHome-CToMqgUy.js} +1 -1
  14. package/dist/assets/{DomesticWireDetailScreen-i5P7thz2.js → DomesticWireDetailScreen-CZBN62pn.js} +3 -3
  15. package/dist/assets/DrawerScreen-fk6jlMU6.js +1 -0
  16. package/dist/assets/EntityDetailRoutes-SoK8-mkG.js +1 -0
  17. package/dist/assets/{ExpenseAutomationRoutes-TQM73kS9.js → ExpenseAutomationRoutes-kFLASjNH.js} +3 -3
  18. package/dist/assets/{FeaturePreviewScreen-C1MJa7gv.js → FeaturePreviewScreen-Bg8FFN5p.js} +1 -1
  19. package/dist/assets/{HubSpotOAuthCallbackScreen-B7ampOQu.js → HubSpotOAuthCallbackScreen-DN93P0iS.js} +1 -1
  20. package/dist/assets/{MagicLinkRoutes-NEjpbABr.js → MagicLinkRoutes-CWSTo_vB.js} +9 -9
  21. package/dist/assets/MagicLinkSignInScreen-FNhdlpYB.js +12 -0
  22. package/dist/assets/{MobileAppDrawer-n526oWrk.js → MobileAppDrawer-Ct_0ZLtH.js} +1 -1
  23. package/dist/assets/NotFoundScreen-CLrBSleH.js +1 -0
  24. package/dist/assets/{NotificationRoutes-VqdMKuyJ.js → NotificationRoutes-DjAgIW6d.js} +1 -1
  25. package/dist/assets/{OAuthConsentScreen-BB710FHj.js → OAuthConsentScreen-GP0DMckY.js} +1 -1
  26. package/dist/assets/{PandLWithForecastRoutes-ZxQLGrNQ.js → PandLWithForecastRoutes-C2382IGx.js} +1 -1
  27. package/dist/assets/PeopleRoutes-BKDV0y8I.js +22 -0
  28. package/dist/assets/PerformanceRoutes-RblTyGVQ.js +1 -0
  29. package/dist/assets/{Preview-D0x6u8Nz.js → Preview-CnRRxuBY.js} +1 -1
  30. package/dist/assets/{QBOConnectionScreen-DvvmYU71.js → QBOConnectionScreen-Byx2aJZm.js} +1 -1
  31. package/dist/assets/ReferralListScreen-dEESw5GU.js +5 -0
  32. package/dist/assets/ReimbursementApprovalRoutes-DRUalxsW.js +1 -0
  33. package/dist/assets/{ReimbursementApprovalRuleDetailScreen-DqylTjul.js → ReimbursementApprovalRuleDetailScreen-BgqfvV-3.js} +1 -1
  34. package/dist/assets/{ReimbursementRoutes-Ck-7Lo_C.js → ReimbursementRoutes-C3x-gw4c.js} +4 -4
  35. package/dist/assets/{ReportsRoutes-Cmht3lbb.js → ReportsRoutes-FerH1Gj5.js} +1 -1
  36. package/dist/assets/RewardsRoutes-D2ojS2eK.js +1 -0
  37. package/dist/assets/{ScreenRoutes-CA8fUnaP.js → ScreenRoutes-DW97T_07.js} +2 -2
  38. package/dist/assets/{SettingsRoutes-Dni4ADoP.js → SettingsRoutes-Clg9s-8l.js} +8 -8
  39. package/dist/assets/{SetupPagesScreen-_IKYoHXM.js → SetupPagesScreen-BO78KP00.js} +5 -5
  40. package/dist/assets/{SignInScreen-RaghIVhM.js → SignInScreen-D-O5MlMw.js} +1 -1
  41. package/dist/assets/SignOutScreen-DshbTmo4.js +9 -0
  42. package/dist/assets/{TaskListScreen-D8kgWT4b.js → TaskListScreen-DQx_Uaja.js} +2 -2
  43. package/dist/assets/{TaskRoutes-Cz1ZyHoB.js → TaskRoutes-C-wp1PqH.js} +1 -1
  44. package/dist/assets/{TransactionDetailRoutes-63tKIp6E.js → TransactionDetailRoutes-BXplMqKG.js} +1 -1
  45. package/dist/assets/{TransactionDetailScreen-DioDP0gW.js → TransactionDetailScreen-CtUV7L_7.js} +2 -2
  46. package/dist/assets/{TransactionListRoutes-Dtm4HNMN.js → TransactionListRoutes-B71uobzj.js} +1 -1
  47. package/dist/assets/{TreasuryRoutes-BhRZ97cm.js → TreasuryRoutes-BH9CBGTz.js} +6 -6
  48. package/dist/assets/{VendorsRoutes-ODAB2xhO.js → VendorsRoutes-2xDtT1Wl.js} +1 -1
  49. package/dist/assets/WiseConfirmationScreen-ZlFFNnoQ.js +12 -0
  50. package/dist/assets/{ZeniAccountRoutes-RdAjME8K.js → ZeniAccountRoutes-BLxmJPym.js} +11 -11
  51. package/dist/assets/ZeniAccountStatementScreen-Dn8xufmO.js +9 -0
  52. package/dist/assets/{accountMappingHelper-pKhoHYRw.js → accountMappingHelper-BlOCWlFe.js} +1 -1
  53. package/dist/assets/{analytics-D310XSjQ.js → analytics-BwB4OxqF.js} +1 -1
  54. package/dist/assets/{analyticsHelper-CnXSrEd_.js → analyticsHelper-DMdwlhwM.js} +1 -1
  55. package/dist/assets/{core-Fwwp8hop.js → core-C0jlpEOv.js} +1 -1
  56. package/dist/assets/{decodeURIComponentSafe-DaWuthXc.js → decodeURIComponentSafe-DxEB-kYT.js} +1 -1
  57. package/dist/assets/{dnd-B_nt-Uf4.js → dnd-BQyDclsp.js} +1 -1
  58. package/dist/assets/{empty-CLLWe6m6.js → empty-CuwrcYLl.js} +1 -1
  59. package/dist/assets/{empty-BOxndxwD.js → empty-rQJasWmn.js} +1 -1
  60. package/dist/assets/{emptyVideoElement-Dqc7f16l.js → emptyVideoElement-19-80Uux.js} +1 -1
  61. package/dist/assets/{epic-rmzsjdl7.js → epic-DbgmAKxp.js} +1 -1
  62. package/dist/assets/getLocaleForTenant-BgLFOGQl.js +1 -0
  63. package/dist/assets/{index-B-WtQiD1.js → index-0-yV8w8w.js} +2 -2
  64. package/dist/assets/{index-CfQpPMgv.js → index-C3r_VLlw.js} +1 -1
  65. package/dist/assets/{index-Sm9Ycasn.js → index-C5CkA-dp.js} +13124 -13094
  66. package/dist/assets/{index-D6xVpTbl.js → index-CMkYtCT8.js} +1 -1
  67. package/dist/assets/{index-B6b9dX2I.js → index-DVo4Z0nu.js} +1 -1
  68. package/dist/assets/{index-DkSJ4_OZ.js → index-DebUSch4.js} +1 -1
  69. package/dist/assets/{index-py9Wsjt2.js → index-Dv5w3h7p.js} +1 -1
  70. package/dist/assets/{index-CG4cMKGN.js → index-h6OO0yPc.js} +1 -1
  71. package/dist/assets/{lexical-D4DqnnDh.js → lexical-Dyz9C9bA.js} +1 -1
  72. package/dist/assets/{liveblocks-D1TxH59e.js → liveblocks-MDXlbwyz.js} +1 -1
  73. package/dist/assets/{lottie-BGeomX3N.js → lottie-BppXIe9P.js} +1 -1
  74. package/dist/assets/{mui-Dar_oGjJ.js → mui-BhC7MwUp.js} +1 -1
  75. package/dist/assets/{pathToGoBack-CFMq10u8.js → pathToGoBack-DxHHYpbP.js} +1 -1
  76. package/dist/assets/{pdf-BftxTBXg.js → pdf-C0iGSR-p.js} +4 -4
  77. package/dist/assets/{pdf-lib-oQPUkPP1.js → pdf-lib-CipnbJ-V.js} +1 -1
  78. package/dist/assets/{plaid-BGhwh8RZ.js → plaid-Cen9BFHL.js} +1 -1
  79. package/dist/assets/{pusher-B0sMSaHR.js → pusher-v3d_Hsmx.js} +1 -1
  80. package/dist/assets/{react-qOh0QNtz.js → react-B8JQ_FaW.js} +1 -1
  81. package/dist/assets/{react-BG3-H3hY.js → react-De5emeEF.js} +1 -1
  82. package/dist/assets/{react-BaMiVVMt.js → react-DrbwoyUO.js} +1 -1
  83. package/dist/assets/{react-sGqG8JxF.js → react-Gq9PWwg1.js} +1 -1
  84. package/dist/assets/{react-C_Slx_Fd.js → react-W49A4zcQ.js} +1 -1
  85. package/dist/assets/{react-DrseuhQt.js → react-vhOkHd2J.js} +1 -1
  86. package/dist/assets/{recharts-DuOI9Nsb.js → recharts-doG6MzQe.js} +1 -1
  87. package/dist/assets/{routePaths-Pqm-PNC8.js → routePaths-DQouDuNW.js} +1 -1
  88. package/dist/assets/{sentry-5pTQe3BK.js → sentry-P6IGH2JA.js} +1 -1
  89. package/dist/assets/{url-CfkU6Gnm.js → url-BcxaTbQe.js} +1 -1
  90. package/dist/assets/{url-DFizNyrO.js → url-DnJY0BY-.js} +1 -1
  91. package/dist/assets/{useAiCfoDashboardSuggestedQuestionsChips-CUpKl9RP.js → useAiCfoDashboardSuggestedQuestionsChips-B8s8NSl-.js} +1 -1
  92. package/dist/assets/useAskAiCfoHostNavButtonProps-CM35b1mH.js +1 -0
  93. package/dist/assets/{useDeviceId-9VsPbMb7.js → useDeviceId-BqqN1f4l.js} +1 -1
  94. package/dist/assets/{useInitialThreadRequest-ELLLToSA.js → useInitialThreadRequest-CygxQQG9.js} +1 -1
  95. package/dist/assets/{utils-3_hFkWEq.js → utils-2XzATZuY.js} +1 -1
  96. package/dist/assets/{withTransactionSidePanel-Dk7__fUW.js → withTransactionSidePanel-BNAv_a6J.js} +3 -3
  97. package/dist/assets/{zeni-epic-state-i1VxNGkd.js → zeni-epic-state-CZVxf74e.js} +3 -3
  98. package/dist/index.html +1 -1
  99. package/package.json +2 -2
  100. package/dist/assets/AddressRoutes-CZnINFd1.js +0 -1
  101. package/dist/assets/ChargeCardRoutes-CuET-m0-.js +0 -71
  102. package/dist/assets/ConnectionAuthScreen-De-vuICZ.js +0 -11
  103. package/dist/assets/CustomerOnboardingAuthScreen-Cm9qzjcw.js +0 -1
  104. package/dist/assets/DrawerScreen-8pLwC76h.js +0 -1
  105. package/dist/assets/EntityDetailRoutes-Dr3SOu7N.js +0 -1
  106. package/dist/assets/MagicLinkSignInScreen-CosgA8eP.js +0 -12
  107. package/dist/assets/NotFoundScreen-Brpo5hIh.js +0 -1
  108. package/dist/assets/PeopleRoutes-CAPFlXeC.js +0 -22
  109. package/dist/assets/PerformanceRoutes-DRea1YUE.js +0 -1
  110. package/dist/assets/ReferralListScreen-D8LbwXaw.js +0 -5
  111. package/dist/assets/ReimbursementApprovalRoutes-DRpummvD.js +0 -1
  112. package/dist/assets/RewardsRoutes-PWORm-gP.js +0 -1
  113. package/dist/assets/SignOutScreen-CNkJNt7x.js +0 -9
  114. package/dist/assets/WiseConfirmationScreen-BXqYXseQ.js +0 -12
  115. package/dist/assets/ZeniAccountStatementScreen-Dh6yAFkp.js +0 -9
  116. package/dist/assets/getLocaleForTenant-B-vHrKHL.js +0 -1
  117. package/dist/assets/useAskAiCfoHostNavButtonProps-B40bGqEV.js +0 -1
@@ -0,0 +1 @@
1
+ import{i as n}from"./index-C5CkA-dp.js";import"./mui-BhC7MwUp.js";import"./sentry-P6IGH2JA.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]="9b1d25c1-f0ca-4ee0-b7c1-2ba41679747b",e._sentryDebugIdIdentifier="sentry-dbid-9b1d25c1-f0ca-4ee0-b7c1-2ba41679747b")}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-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
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/emptyVideoElement-19-80Uux.js","assets/sentry-P6IGH2JA.js","assets/index-Dv5w3h7p.js","assets/react-Gq9PWwg1.js","assets/react-DrbwoyUO.js","assets/react-vhOkHd2J.js","assets/react-De5emeEF.js","assets/react-W49A4zcQ.js","assets/react-B8JQ_FaW.js","assets/Preview-CnRRxuBY.js"])))=>i.map(i=>d[i]);
2
+ import{_ as u}from"./zeni-epic-state-CZVxf74e.js";import{b as m,a as l}from"./sentry-P6IGH2JA.js";import"./core-C0jlpEOv.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-19-80Uux.js"),__vite__mapDeps([0,1])))},{key:"dash",name:"dash.js",canPlay:s.dash,canEnablePIP:()=>!0,player:l.lazy(()=>u(()=>import("./emptyVideoElement-19-80Uux.js"),__vite__mapDeps([0,1])))},{key:"mux",name:"Mux",canPlay:s.mux,canEnablePIP:()=>!0,player:l.lazy(()=>u(()=>import("./index-Dv5w3h7p.js"),__vite__mapDeps([2,1])))},{key:"youtube",name:"YouTube",canPlay:s.youtube,player:l.lazy(()=>u(()=>import("./react-Gq9PWwg1.js"),__vite__mapDeps([3,1])))},{key:"vimeo",name:"Vimeo",canPlay:s.vimeo,player:l.lazy(()=>u(()=>import("./react-DrbwoyUO.js"),__vite__mapDeps([4,1])))},{key:"wistia",name:"Wistia",canPlay:s.wistia,canEnablePIP:()=>!0,player:l.lazy(()=>u(()=>import("./react-vhOkHd2J.js"),__vite__mapDeps([5,1])))},{key:"spotify",name:"Spotify",canPlay:s.spotify,canEnablePIP:()=>!1,player:l.lazy(()=>u(()=>import("./react-De5emeEF.js"),__vite__mapDeps([6,1])))},{key:"twitch",name:"Twitch",canPlay:s.twitch,canEnablePIP:()=>!1,player:l.lazy(()=>u(()=>import("./react-W49A4zcQ.js"),__vite__mapDeps([7,1])))},{key:"tiktok",name:"TikTok",canPlay:s.tiktok,canEnablePIP:()=>!1,player:l.lazy(()=>u(()=>import("./react-B8JQ_FaW.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-CnRRxuBY.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-5pTQe3BK.js";import{r as u}from"./index-D6xVpTbl.js";import{r as c}from"./url-CfkU6Gnm.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new o.Error().stack;e&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[e]="3afeb3dd-5bf4-4490-b608-6666ce26ed62",o._sentryDebugIdIdentifier="sentry-dbid-3afeb3dd-5bf4-4490-b608-6666ce26ed62")}catch{}})();var d,p={exports:{}};function y(){return d||(d=1,function(o){var e=u(),f=c(),r=o.exports;for(var n in e)e.hasOwnProperty(n)&&(r[n]=e[n]);function i(t){if(typeof t=="string"&&(t=f.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=i(t),e.request.call(this,t,s)},r.get=function(t,s){return t=i(t),e.get.call(this,t,s)}}(p)),p.exports}export{y as r};
1
+ import"./sentry-P6IGH2JA.js";import{r as u}from"./index-CMkYtCT8.js";import{r as c}from"./url-BcxaTbQe.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new o.Error().stack;e&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[e]="3afeb3dd-5bf4-4490-b608-6666ce26ed62",o._sentryDebugIdIdentifier="sentry-dbid-3afeb3dd-5bf4-4490-b608-6666ce26ed62")}catch{}})();var d,p={exports:{}};function y(){return d||(d=1,function(o){var e=u(),f=c(),r=o.exports;for(var n in e)e.hasOwnProperty(n)&&(r[n]=e[n]);function i(t){if(typeof t=="string"&&(t=f.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=i(t),e.request.call(this,t,s)},r.get=function(t,s){return t=i(t),e.get.call(this,t,s)}}(p)),p.exports}export{y as r};