@elliemae/pui-app-sdk 5.42.2 → 5.42.4

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 (225) hide show
  1. package/README.md +3 -3
  2. package/build/docs/404.html +1 -1
  3. package/build/docs/api/classes/Analytics/index.html +1 -1
  4. package/build/docs/api/classes/CMicroAppGuest/index.html +1 -1
  5. package/build/docs/api/classes/CMicroAppHost/index.html +1 -1
  6. package/build/docs/api/classes/ErrorBoundary/index.html +1 -1
  7. package/build/docs/api/classes/GuestModule/index.html +1 -1
  8. package/build/docs/api/functions/AppRoot/index.html +1 -1
  9. package/build/docs/api/functions/Autocomplete/index.html +1 -1
  10. package/build/docs/api/functions/CheckBox/index.html +1 -1
  11. package/build/docs/api/functions/ComboBox/index.html +1 -1
  12. package/build/docs/api/functions/ComboBoxV3/index.html +1 -1
  13. package/build/docs/api/functions/ConnectForm/index.html +1 -1
  14. package/build/docs/api/functions/DateInput/index.html +1 -1
  15. package/build/docs/api/functions/DatePicker/index.html +1 -1
  16. package/build/docs/api/functions/DateRangePicker/index.html +1 -1
  17. package/build/docs/api/functions/DateTimePicker/index.html +1 -1
  18. package/build/docs/api/functions/Form/index.html +1 -1
  19. package/build/docs/api/functions/FormItemLayout/index.html +1 -1
  20. package/build/docs/api/functions/FormLayoutBlockItem/index.html +1 -1
  21. package/build/docs/api/functions/FormSubmitButton/index.html +1 -1
  22. package/build/docs/api/functions/InputMask/index.html +1 -1
  23. package/build/docs/api/functions/InputText/index.html +1 -1
  24. package/build/docs/api/functions/LargeTextBox/index.html +1 -1
  25. package/build/docs/api/functions/MaskedInputText/index.html +1 -1
  26. package/build/docs/api/functions/Page/index.html +1 -1
  27. package/build/docs/api/functions/Radio/index.html +1 -1
  28. package/build/docs/api/functions/RadioGroup/index.html +1 -1
  29. package/build/docs/api/functions/RegisterService/index.html +1 -1
  30. package/build/docs/api/functions/RenderWithStateAddOns/index.html +1 -1
  31. package/build/docs/api/functions/RequireAuth/index.html +1 -1
  32. package/build/docs/api/functions/SessionTimeout/index.html +1 -1
  33. package/build/docs/api/functions/TextBox/index.html +1 -1
  34. package/build/docs/api/functions/Toggle/index.html +1 -1
  35. package/build/docs/api/functions/authSaga/index.html +1 -1
  36. package/build/docs/api/functions/authorize/index.html +1 -1
  37. package/build/docs/api/functions/buildModuleParams/index.html +1 -1
  38. package/build/docs/api/functions/cleanup/index.html +1 -1
  39. package/build/docs/api/functions/configureStore/index.html +1 -1
  40. package/build/docs/api/functions/createGuestModule/index.html +1 -1
  41. package/build/docs/api/functions/createManager/index.html +1 -1
  42. package/build/docs/api/functions/enableReactAppForHostIntegration/index.html +1 -1
  43. package/build/docs/api/functions/fetchHostAppData/index.html +1 -1
  44. package/build/docs/api/functions/fetchUserSettings/index.html +1 -1
  45. package/build/docs/api/functions/getApiActionCreator/index.html +1 -1
  46. package/build/docs/api/functions/getAppConfig/index.html +1 -1
  47. package/build/docs/api/functions/getAppConfigValue/index.html +1 -1
  48. package/build/docs/api/functions/getAuthHTTPClient/index.html +1 -1
  49. package/build/docs/api/functions/getAuthorizationHeader/index.html +1 -1
  50. package/build/docs/api/functions/getHTTPClient/index.html +1 -1
  51. package/build/docs/api/functions/getHostAppDataByKey/index.html +1 -1
  52. package/build/docs/api/functions/getLogger/index.html +1 -1
  53. package/build/docs/api/functions/getMicroFrontEndAppConfig/index.html +1 -1
  54. package/build/docs/api/functions/getNavigationLinks/index.html +1 -1
  55. package/build/docs/api/functions/getRedirectUrl/index.html +1 -1
  56. package/build/docs/api/functions/getSelectField/index.html +1 -1
  57. package/build/docs/api/functions/getStore/index.html +1 -1
  58. package/build/docs/api/functions/initServiceWorker/index.html +1 -1
  59. package/build/docs/api/functions/isCIBuild/index.html +1 -1
  60. package/build/docs/api/functions/isProd/index.html +1 -1
  61. package/build/docs/api/functions/isUserAuthorized/index.html +1 -1
  62. package/build/docs/api/functions/listenStorageEvents/index.html +1 -1
  63. package/build/docs/api/functions/loadAppConfig/index.html +1 -1
  64. package/build/docs/api/functions/loadable/index.html +1 -1
  65. package/build/docs/api/functions/login/index.html +1 -1
  66. package/build/docs/api/functions/notifyGuestUnloadComplete/index.html +1 -1
  67. package/build/docs/api/functions/onAuthorizationFailure/index.html +1 -1
  68. package/build/docs/api/functions/onGuestUnloadStart/index.html +1 -1
  69. package/build/docs/api/functions/redactPii/index.html +1 -1
  70. package/build/docs/api/functions/removeDoubleSlash/index.html +1 -1
  71. package/build/docs/api/functions/removeStorageEvents/index.html +1 -1
  72. package/build/docs/api/functions/render/index.html +1 -1
  73. package/build/docs/api/functions/renderHook/index.html +1 -1
  74. package/build/docs/api/functions/renderWithHostData/index.html +1 -1
  75. package/build/docs/api/functions/renderWithRedux/index.html +1 -1
  76. package/build/docs/api/functions/renderWithRouter/index.html +1 -1
  77. package/build/docs/api/functions/renderWithRouterRedux/index.html +1 -1
  78. package/build/docs/api/functions/sdkBaseQuery/index.html +1 -1
  79. package/build/docs/api/functions/sendBAEvent/index.html +1 -1
  80. package/build/docs/api/functions/sendMessageToHost/index.html +1 -1
  81. package/build/docs/api/functions/setAppConfig/index.html +1 -1
  82. package/build/docs/api/functions/setAppConfigValue/index.html +1 -1
  83. package/build/docs/api/functions/setHostAppData/index.html +1 -1
  84. package/build/docs/api/functions/setLoginParams/index.html +1 -1
  85. package/build/docs/api/functions/subscribeToResetSession/index.html +1 -1
  86. package/build/docs/api/functions/subscribeToSessionExpiry/index.html +1 -1
  87. package/build/docs/api/functions/subscribeToSessionExpiryWarning/index.html +1 -1
  88. package/build/docs/api/functions/trackActivity/index.html +1 -1
  89. package/build/docs/api/functions/useAppDispatch/index.html +1 -1
  90. package/build/docs/api/functions/useAppMiddleware/index.html +1 -1
  91. package/build/docs/api/functions/useInjectQuery/index.html +1 -1
  92. package/build/docs/api/functions/useInjectReducer/index.html +1 -1
  93. package/build/docs/api/functions/useInjectSaga/index.html +1 -1
  94. package/build/docs/api/functions/useInjectSideEffect/index.html +1 -1
  95. package/build/docs/api/functions/useMediaQueryList/index.html +1 -1
  96. package/build/docs/api/functions/useStateSelector/index.html +1 -1
  97. package/build/docs/api/functions/useStateSelectorShallow/index.html +1 -1
  98. package/build/docs/api/functions/waitFor/index.html +1 -1
  99. package/build/docs/api/functions/waitForElementToBeRemoved/index.html +1 -1
  100. package/build/docs/api/functions/withAppDecorator/index.html +1 -1
  101. package/build/docs/api/index.html +1 -1
  102. package/build/docs/api/interfaces/AppConfig/index.html +1 -1
  103. package/build/docs/api/interfaces/GuestProps/index.html +1 -1
  104. package/build/docs/api/interfaces/UseStateSelectorOptions/index.html +1 -1
  105. package/build/docs/api/type-aliases/AppDispatch/index.html +1 -1
  106. package/build/docs/api/type-aliases/AppStore/index.html +1 -1
  107. package/build/docs/api/type-aliases/Await/index.html +1 -1
  108. package/build/docs/api/type-aliases/EMUI/index.html +1 -1
  109. package/build/docs/api/type-aliases/HostOptions/index.html +1 -1
  110. package/build/docs/api/type-aliases/HostProvidedParams/index.html +1 -1
  111. package/build/docs/api/type-aliases/ModuleOverrides/index.html +1 -1
  112. package/build/docs/api/type-aliases/OnHostInitCallback/index.html +1 -1
  113. package/build/docs/api/type-aliases/OnInitCallback/index.html +1 -1
  114. package/build/docs/api/type-aliases/OnMountCallback/index.html +1 -1
  115. package/build/docs/api/type-aliases/OnUnMountCallback/index.html +1 -1
  116. package/build/docs/api/type-aliases/RootState/index.html +1 -1
  117. package/build/docs/api/type-aliases/SelectStateFieldFunction/index.html +1 -1
  118. package/build/docs/api/variables/ErrorToast/index.html +1 -1
  119. package/build/docs/api/variables/FormPropsContext/index.html +1 -1
  120. package/build/docs/api/variables/GuestMicroApp/index.html +1 -1
  121. package/build/docs/api/variables/MASK_PIPES/index.html +1 -1
  122. package/build/docs/api/variables/MASK_TYPES/index.html +1 -1
  123. package/build/docs/api/variables/MicroApp/index.html +1 -1
  124. package/build/docs/api/variables/MicroIFrameApp/index.html +1 -1
  125. package/build/docs/api/variables/NavigationPrompt/index.html +1 -1
  126. package/build/docs/api/variables/NavigationPromptActions/index.html +1 -1
  127. package/build/docs/api/variables/Themes/index.html +1 -1
  128. package/build/docs/api/variables/VisuallyHidden/index.html +1 -1
  129. package/build/docs/api/variables/WaitMessage/index.html +1 -1
  130. package/build/docs/api/variables/act/index.html +1 -1
  131. package/build/docs/api/variables/ariaLive/index.html +1 -1
  132. package/build/docs/api/variables/auth/index.html +1 -1
  133. package/build/docs/api/variables/authReducer/index.html +1 -1
  134. package/build/docs/api/variables/clearSideEffects/index.html +1 -1
  135. package/build/docs/api/variables/createSideEffect/index.html +1 -1
  136. package/build/docs/api/variables/decorators/index.html +1 -1
  137. package/build/docs/api/variables/endSession/index.html +1 -1
  138. package/build/docs/api/variables/error/index.html +1 -1
  139. package/build/docs/api/variables/errorMiddleware/index.html +1 -1
  140. package/build/docs/api/variables/fireEvent/index.html +1 -1
  141. package/build/docs/api/variables/globalConstants/index.html +1 -1
  142. package/build/docs/api/variables/history/index.html +1 -1
  143. package/build/docs/api/variables/httpClientProps/index.html +1 -1
  144. package/build/docs/api/variables/logout/index.html +1 -1
  145. package/build/docs/api/variables/memoryHistory/index.html +1 -1
  146. package/build/docs/api/variables/removeSideEffect/index.html +1 -1
  147. package/build/docs/api/variables/resetUserIdleTime/index.html +1 -1
  148. package/build/docs/api/variables/screen/index.html +1 -1
  149. package/build/docs/api/variables/startSideEffect/index.html +1 -1
  150. package/build/docs/api/variables/updateBAEventParameters/index.html +1 -1
  151. package/build/docs/api/variables/useAppSelector/index.html +1 -1
  152. package/build/docs/api/variables/waitMessageAction/index.html +1 -1
  153. package/build/docs/api/variables/within/index.html +1 -1
  154. package/build/docs/assets/js/{main.e2c0c98b.js → main.2c531d5e.js} +2 -2
  155. package/build/docs/index.html +1 -1
  156. package/build/docs/usage-guide/index.html +1 -1
  157. package/demo/{5685.9dc6ce90.iframe.bundle.js → 9478.de5e6fa2.iframe.bundle.js} +205 -205
  158. package/demo/9478.de5e6fa2.iframe.bundle.js.br +0 -0
  159. package/demo/9478.de5e6fa2.iframe.bundle.js.gz +0 -0
  160. package/demo/{docs/1770.ef5c473d.iframe.bundle.js → 9888.bfe9152c.iframe.bundle.js} +8 -8
  161. package/demo/9888.bfe9152c.iframe.bundle.js.br +0 -0
  162. package/demo/9888.bfe9152c.iframe.bundle.js.gz +0 -0
  163. package/demo/docs/{5685.9dc6ce90.iframe.bundle.js → 9478.de5e6fa2.iframe.bundle.js} +205 -205
  164. package/demo/docs/9478.de5e6fa2.iframe.bundle.js.br +0 -0
  165. package/demo/docs/9478.de5e6fa2.iframe.bundle.js.gz +0 -0
  166. package/demo/{1770.ef5c473d.iframe.bundle.js → docs/9888.bfe9152c.iframe.bundle.js} +8 -8
  167. package/demo/docs/9888.bfe9152c.iframe.bundle.js.br +0 -0
  168. package/demo/docs/9888.bfe9152c.iframe.bundle.js.gz +0 -0
  169. package/demo/docs/iframe.html +1 -1
  170. package/demo/docs/index.html +1 -1
  171. package/demo/docs/main.4a02f0d8.iframe.bundle.js +5 -0
  172. package/demo/docs/main.4a02f0d8.iframe.bundle.js.br +0 -0
  173. package/demo/docs/main.4a02f0d8.iframe.bundle.js.gz +0 -0
  174. package/demo/docs/{main.bab38e3aec58987b3b32.manager.bundle.js → main.b293ffa609119d831d1a.manager.bundle.js} +1 -1
  175. package/demo/docs/main.b293ffa609119d831d1a.manager.bundle.js.br +0 -0
  176. package/demo/docs/{main.bab38e3aec58987b3b32.manager.bundle.js.gz → main.b293ffa609119d831d1a.manager.bundle.js.gz} +0 -0
  177. package/demo/docs/project.json +1 -1
  178. package/demo/docs/{runtime~main.d70e75f8.iframe.bundle.js → runtime~main.79f1fd4d.iframe.bundle.js} +2 -2
  179. package/demo/docs/runtime~main.79f1fd4d.iframe.bundle.js.br +0 -0
  180. package/demo/docs/runtime~main.79f1fd4d.iframe.bundle.js.gz +0 -0
  181. package/demo/iframe.html +1 -1
  182. package/demo/index.html +1 -1
  183. package/demo/main.4a02f0d8.iframe.bundle.js +5 -0
  184. package/demo/main.4a02f0d8.iframe.bundle.js.br +0 -0
  185. package/demo/main.4a02f0d8.iframe.bundle.js.gz +0 -0
  186. package/demo/{main.bab38e3aec58987b3b32.manager.bundle.js → main.b293ffa609119d831d1a.manager.bundle.js} +1 -1
  187. package/demo/main.b293ffa609119d831d1a.manager.bundle.js.br +0 -0
  188. package/demo/{main.bab38e3aec58987b3b32.manager.bundle.js.gz → main.b293ffa609119d831d1a.manager.bundle.js.gz} +0 -0
  189. package/demo/project.json +1 -1
  190. package/demo/{runtime~main.d70e75f8.iframe.bundle.js → runtime~main.79f1fd4d.iframe.bundle.js} +2 -2
  191. package/demo/runtime~main.79f1fd4d.iframe.bundle.js.br +0 -0
  192. package/demo/runtime~main.79f1fd4d.iframe.bundle.js.gz +0 -0
  193. package/dist/cjs/utils/page-wake.js +47 -0
  194. package/dist/cjs/utils/session.js +12 -1
  195. package/dist/cjs/view/modals/session-expiry/customHooks.js +25 -22
  196. package/dist/esm/utils/page-wake.js +27 -0
  197. package/dist/esm/utils/session.js +12 -1
  198. package/dist/esm/view/modals/session-expiry/customHooks.js +25 -22
  199. package/dist/types/lib/utils/page-wake.d.ts +6 -0
  200. package/dist/types/lib/utils/tests/page-wake.test.d.ts +1 -0
  201. package/dist/types/lib/utils/tests/session.test.d.ts +1 -0
  202. package/dist/types/lib/view/modals/session-expiry/tests/customHooks.test.d.ts +1 -0
  203. package/dist/types/tsconfig.tsbuildinfo +1 -1
  204. package/package.json +1 -1
  205. package/demo/1770.ef5c473d.iframe.bundle.js.br +0 -0
  206. package/demo/1770.ef5c473d.iframe.bundle.js.gz +0 -0
  207. package/demo/5685.9dc6ce90.iframe.bundle.js.br +0 -0
  208. package/demo/5685.9dc6ce90.iframe.bundle.js.gz +0 -0
  209. package/demo/docs/1770.ef5c473d.iframe.bundle.js.br +0 -0
  210. package/demo/docs/1770.ef5c473d.iframe.bundle.js.gz +0 -0
  211. package/demo/docs/5685.9dc6ce90.iframe.bundle.js.br +0 -0
  212. package/demo/docs/5685.9dc6ce90.iframe.bundle.js.gz +0 -0
  213. package/demo/docs/main.84a32532.iframe.bundle.js +0 -5
  214. package/demo/docs/main.84a32532.iframe.bundle.js.br +0 -0
  215. package/demo/docs/main.84a32532.iframe.bundle.js.gz +0 -0
  216. package/demo/docs/main.bab38e3aec58987b3b32.manager.bundle.js.br +0 -0
  217. package/demo/docs/runtime~main.d70e75f8.iframe.bundle.js.br +0 -0
  218. package/demo/docs/runtime~main.d70e75f8.iframe.bundle.js.gz +0 -0
  219. package/demo/main.84a32532.iframe.bundle.js +0 -5
  220. package/demo/main.84a32532.iframe.bundle.js.br +0 -0
  221. package/demo/main.84a32532.iframe.bundle.js.gz +0 -0
  222. package/demo/main.bab38e3aec58987b3b32.manager.bundle.js.br +0 -0
  223. package/demo/runtime~main.d70e75f8.iframe.bundle.js.br +0 -0
  224. package/demo/runtime~main.d70e75f8.iframe.bundle.js.gz +0 -0
  225. /package/build/docs/assets/js/{main.e2c0c98b.js.LICENSE.txt → main.2c531d5e.js.LICENSE.txt} +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/pui-app-sdk",
3
- "version": "5.42.2",
3
+ "version": "5.42.4",
4
4
  "description": "ICE MT UI Platform Application SDK ",
5
5
  "sideEffects": [
6
6
  "*.css",
@@ -1,5 +0,0 @@
1
- (globalThis.webpackChunk_elliemae_pui_app_sdk=globalThis.webpackChunk_elliemae_pui_app_sdk||[]).push([[8792],{"./lib lazy recursive ^\\.\\/.*$ include: (?:\\/lib(?:\\/(?%21\\.)(?:(?:(?%21(?:^%7C\\/)\\.).)*?)\\/%7C\\/%7C$)(?%21\\.)(?=.)[^/]*?\\.stories\\.(mdx%7Ctsx%7Cts%7Cjsx%7Cjs))$"(A,g,e){var d={"./view/breakpoint/index.stories":["./lib/view/breakpoint/index.stories.tsx",[946,999]],"./view/breakpoint/index.stories.tsx":["./lib/view/breakpoint/index.stories.tsx",[946,999]],"./view/error-toast/index.stories":["./lib/view/error-toast/index.stories.tsx",[1800]],"./view/error-toast/index.stories.tsx":["./lib/view/error-toast/index.stories.tsx",[1800]],"./view/fields/autocomplete/advanced-autocomplete.stories":["./lib/view/fields/autocomplete/advanced-autocomplete.stories.tsx",[946,5058,1156,5600,6469,3071]],"./view/fields/autocomplete/advanced-autocomplete.stories.tsx":["./lib/view/fields/autocomplete/advanced-autocomplete.stories.tsx",[946,5058,1156,5600,6469,3071]],"./view/fields/autocomplete/async-suggestions-autocomplete.stories":["./lib/view/fields/autocomplete/async-suggestions-autocomplete.stories.tsx",[946,5058,1156,5600,6469,9825]],"./view/fields/autocomplete/async-suggestions-autocomplete.stories.tsx":["./lib/view/fields/autocomplete/async-suggestions-autocomplete.stories.tsx",[946,5058,1156,5600,6469,9825]],"./view/fields/autocomplete/index.stories":["./lib/view/fields/autocomplete/index.stories.tsx",[946,5058,1156,5600,6469,8048]],"./view/fields/autocomplete/index.stories.tsx":["./lib/view/fields/autocomplete/index.stories.tsx",[946,5058,1156,5600,6469,8048]],"./view/fields/check-box/index.stories":["./lib/view/fields/check-box/index.stories.tsx",[946,5058,8654,590,9634,1281,2382]],"./view/fields/check-box/index.stories.tsx":["./lib/view/fields/check-box/index.stories.tsx",[946,5058,8654,590,9634,1281,2382]],"./view/fields/check-box/set-value.stories":["./lib/view/fields/check-box/set-value.stories.tsx",[946,5058,8654,590,9634,1281,5410]],"./view/fields/check-box/set-value.stories.tsx":["./lib/view/fields/check-box/set-value.stories.tsx",[946,5058,8654,590,9634,1281,5410]],"./view/fields/combo-box-v3/index.stories":["./lib/view/fields/combo-box-v3/index.stories.tsx",[946,5058,8654,3805,590,1156,9634,5600,102,1281,3804,3086]],"./view/fields/combo-box-v3/index.stories.tsx":["./lib/view/fields/combo-box-v3/index.stories.tsx",[946,5058,8654,3805,590,1156,9634,5600,102,1281,3804,3086]],"./view/fields/combo-box/index.stories":["./lib/view/fields/combo-box/index.stories.tsx",[946,5058,8654,3805,590,3085,6039,1770,6184]],"./view/fields/combo-box/index.stories.tsx":["./lib/view/fields/combo-box/index.stories.tsx",[946,5058,8654,3805,590,3085,6039,1770,6184]],"./view/fields/date-input/index.stories":["./lib/view/fields/date-input/index.stories.tsx",[946,5058,8654,3805,3085,725,4820,6055]],"./view/fields/date-input/index.stories.tsx":["./lib/view/fields/date-input/index.stories.tsx",[946,5058,8654,3805,3085,725,4820,6055]],"./view/fields/date-picker/index.stories":["./lib/view/fields/date-picker/index.stories.tsx",[946,5058,8654,3805,3085,725,2165,7813]],"./view/fields/date-picker/index.stories.tsx":["./lib/view/fields/date-picker/index.stories.tsx",[946,5058,8654,3805,3085,725,2165,7813]],"./view/fields/date-range-picker/index.stories":["./lib/view/fields/date-range-picker/index.stories.tsx",[946,5058,102,3923,7584,77]],"./view/fields/date-range-picker/index.stories.tsx":["./lib/view/fields/date-range-picker/index.stories.tsx",[946,5058,102,3923,7584,77]],"./view/fields/date-time-picker/index.stories":["./lib/view/fields/date-time-picker/index.stories.tsx",[946,5058,102,3923,2129]],"./view/fields/date-time-picker/index.stories.tsx":["./lib/view/fields/date-time-picker/index.stories.tsx",[946,5058,102,3923,2129]],"./view/fields/form-item-layout/index.stories":["./lib/view/fields/form-item-layout/index.stories.tsx",[946,5058,8654,3805,590,3085,6039,6285,3813]],"./view/fields/form-item-layout/index.stories.tsx":["./lib/view/fields/form-item-layout/index.stories.tsx",[946,5058,8654,3805,590,3085,6039,6285,3813]],"./view/fields/form-layout-block-item/index.stories":["./lib/view/fields/form-layout-block-item/index.stories.tsx",[946,5058,8654,3805,3085,2487]],"./view/fields/form-layout-block-item/index.stories.tsx":["./lib/view/fields/form-layout-block-item/index.stories.tsx",[946,5058,8654,3805,3085,2487]],"./view/fields/input-mask/index.stories":["./lib/view/fields/input-mask/index.stories.tsx",[946,5058,8654,3805,3085,5951,6729]],"./view/fields/input-mask/index.stories.tsx":["./lib/view/fields/input-mask/index.stories.tsx",[946,5058,8654,3805,3085,5951,6729]],"./view/fields/input-text/index.stories":["./lib/view/fields/input-text/index.stories.tsx",[946,5058,1156,1764]],"./view/fields/input-text/index.stories.tsx":["./lib/view/fields/input-text/index.stories.tsx",[946,5058,1156,1764]],"./view/fields/large-text-box/index.stories":["./lib/view/fields/large-text-box/index.stories.tsx",[946,5058,1491]],"./view/fields/large-text-box/index.stories.tsx":["./lib/view/fields/large-text-box/index.stories.tsx",[946,5058,1491]],"./view/fields/masked-input-text/with-money-mask.stories":["./lib/view/fields/masked-input-text/with-money-mask.stories.tsx",[946,5058,1156,5974]],"./view/fields/masked-input-text/with-money-mask.stories.tsx":["./lib/view/fields/masked-input-text/with-money-mask.stories.tsx",[946,5058,1156,5974]],"./view/fields/masked-input-text/with-percentage-mask.stories":["./lib/view/fields/masked-input-text/with-percentage-mask.stories.tsx",[946,5058,1156,8980]],"./view/fields/masked-input-text/with-percentage-mask.stories.tsx":["./lib/view/fields/masked-input-text/with-percentage-mask.stories.tsx",[946,5058,1156,8980]],"./view/fields/radio-group/index.stories":["./lib/view/fields/radio-group/index.stories.tsx",[946,5058,8654,3805,590,3085,9634,6039,6285,6316,2977]],"./view/fields/radio-group/index.stories.tsx":["./lib/view/fields/radio-group/index.stories.tsx",[946,5058,8654,3805,590,3085,9634,6039,6285,6316,2977]],"./view/fields/radio/index.stories":["./lib/view/fields/radio/index.stories.tsx",[946,5058,8654,590,9634,6531]],"./view/fields/radio/index.stories.tsx":["./lib/view/fields/radio/index.stories.tsx",[946,5058,8654,590,9634,6531]],"./view/fields/radio/set-value.stories":["./lib/view/fields/radio/set-value.stories.tsx",[946,5058,8654,590,9634,5055]],"./view/fields/radio/set-value.stories.tsx":["./lib/view/fields/radio/set-value.stories.tsx",[946,5058,8654,590,9634,5055]],"./view/fields/text-box/index.stories":["./lib/view/fields/text-box/index.stories.tsx",[946,5058,8654,3805,3085,8749]],"./view/fields/text-box/index.stories.tsx":["./lib/view/fields/text-box/index.stories.tsx",[946,5058,8654,3805,3085,8749]],"./view/fields/toggle/index.stories":["./lib/view/fields/toggle/index.stories.tsx",[946,5058,5936]],"./view/fields/toggle/index.stories.tsx":["./lib/view/fields/toggle/index.stories.tsx",[946,5058,5936]],"./view/form/index.stories":["./lib/view/form/index.stories.tsx",[946,5058,8654,3805,590,1156,9634,5600,102,1281,3923,3804,6220]],"./view/form/index.stories.tsx":["./lib/view/form/index.stories.tsx",[946,5058,8654,3805,590,1156,9634,5600,102,1281,3923,3804,6220]],"./view/form/usecases.stories":["./lib/view/form/usecases.stories.tsx",[946,5058,8654,3805,590,1156,9634,5600,102,1281,3923,3804,4580]],"./view/form/usecases.stories.tsx":["./lib/view/form/usecases.stories.tsx",[946,5058,8654,3805,590,1156,9634,5600,102,1281,3923,3804,4580]],"./view/intro.stories.mdx":["./lib/view/intro.stories.mdx",[721,1791,5711]],"./view/live-message/index.stories":["./lib/view/live-message/index.stories.tsx",[214]],"./view/live-message/index.stories.tsx":["./lib/view/live-message/index.stories.tsx",[214]],"./view/modals/error/index.stories":["./lib/view/modals/error/index.stories.tsx",[5541]],"./view/modals/error/index.stories.tsx":["./lib/view/modals/error/index.stories.tsx",[5541]],"./view/modals/navigation-prompt/index.stories":["./lib/view/modals/navigation-prompt/index.stories.tsx",[2758]],"./view/modals/navigation-prompt/index.stories.tsx":["./lib/view/modals/navigation-prompt/index.stories.tsx",[2758]],"./view/modals/session-expiry/index.stories":["./lib/view/modals/session-expiry/index.stories.tsx",[2327]],"./view/modals/session-expiry/index.stories.tsx":["./lib/view/modals/session-expiry/index.stories.tsx",[2327]],"./view/session-timeout/index.stories":["./lib/view/session-timeout/index.stories.tsx",[5662]],"./view/session-timeout/index.stories.tsx":["./lib/view/session-timeout/index.stories.tsx",[5662]],"./view/wait-message/index.stories":["./lib/view/wait-message/index.stories.tsx",[4531]],"./view/wait-message/index.stories.tsx":["./lib/view/wait-message/index.stories.tsx",[4531]]};function u(p){try{if(!e.o(d,p))return Promise.resolve().then(()=>{var x=new Error("Cannot find module '"+p+"'");throw x.code="MODULE_NOT_FOUND",x})}catch(x){return Promise.reject(x)}var m=d[p],b=m[0];return Promise.all(m[1].map(e.e)).then(()=>e(b))}u.keys=()=>Object.keys(d),u.id="./lib lazy recursive ^\\.\\/.*$ include: (?:\\/lib(?:\\/(?%21\\.)(?:(?:(?%21(?:^%7C\\/)\\.).)*?)\\/%7C\\/%7C$)(?%21\\.)(?=.)[^/]*?\\.stories\\.(mdx%7Ctsx%7Cts%7Cjsx%7Cjs))$",A.exports=u},"./.storybook/preview.js"(A,g,e){"use strict";e.r(g),e.d(g,{__namedExportsOrder:()=>is,decorators:()=>qt,loaders:()=>es,parameters:()=>ss});var d=e("./node_modules/.pnpm/@elliemae+pui-theme@2.13.0/node_modules/@elliemae/pui-theme/dist/cjs/index.js"),u=e("./node_modules/.pnpm/@reduxjs+toolkit@1.9.7_react-redux@8.1.3_react@18.3.1/node_modules/@reduxjs/toolkit/dist/redux-toolkit.cjs.production.min.js"),p=e("./node_modules/.pnpm/@reduxjs+toolkit@1.9.7_react-redux@8.1.3_react@18.3.1/node_modules/@reduxjs/toolkit/dist/query/rtk-query.cjs.production.min.js"),m=e("./node_modules/.pnpm/redux-injectors@2.1.0_react-dom@18.3.1_react-redux@8.1.3_react@18.3.1/node_modules/redux-injectors/dist/index.js"),b=e("./node_modules/.pnpm/redux-saga@1.5.0/node_modules/redux-saga/dist/redux-saga.cjs.js"),x=e.n(b),S=e("./node_modules/.pnpm/immer@9.0.21/node_modules/immer/dist/immer.cjs.production.min.js"),I=e("./lib/data/wait-message/actions.ts"),E={isOpen:null,message:"loading...",delay:!0},i=function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:E,s=arguments.length>1?arguments[1]:void 0;return(0,S.default)(a,function(r){switch(s.type){case I.k.OPEN:r.isOpen=!0,r.message=s.payload.message,r.delay=s.payload.delay;break;case I.k.CLOSE:r.isOpen=!1;break}})},h=e("./lib/data/error/index.ts"),f={change:"change"},j=function(a){return a.LARGE="large",a.MEDIUM="medium",a.SMALL="small",a.XSMALL="xsmall",a}({}),O={value:j.LARGE},L=function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:O,s=arguments.length>1?arguments[1]:void 0,r=s.type,_=s.payload;return(0,S.default)(a,function(C){switch(r){case f.change:C.value=_;break}})},w=e("./lib/data/live-message/index.ts"),T=function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},s=(0,u.combineReducers)(Object.assign({waitMessage:i,error:h.L,breakpoint:L,liveMessage:w.k},a));return s},k=e("./lib/data/webpack-hmr.ts"),ye=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/toConsumableArray.js"),fe=e.n(ye),z=e("./node_modules/.pnpm/redux@4.2.1/node_modules/redux/lib/redux.js"),K=new Map,se,Y=function(a){return se=a,function(s){return function(r){return z.compose.apply(void 0,fe()(K.values()))(s)(r)}}},Le=function(a){var s=a.reducerPath,r=a.middleware;K.has(s)||!se||K.set(s,r(se))},Re=function(a){K.delete(a)},le=function(){K.clear()},he,_e,de=(0,u.createListenerMiddleware)(),Ue=de.startListening,We=null,Ne=null,oe=de.clearListeners,ue=T(),ne=null,Pe=function(a){ne=a},ce=function(){return ne},Q=function(a,s,r){var _=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},C=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},W=s.run,G=[(0,m.OV)({createReducer:T,runSaga:W})];ue=T(C);var ve=(0,u.configureStore)({reducer:ue,middleware:function(be){return be(_).prepend(de.middleware).concat([s,Y])},devTools:!1,preloadedState:a,enhancers:G});return(0,p.setupListeners)(ve.dispatch),(0,k.I)(ve),ve},De=function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},s=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0,_=arguments.length>3?arguments[3]:void 0,C=x()({}),W=Q(a,C,s,r,_);return Pe(W),W},Ae=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/jsx.js"),U=e.n(Ae),q=e("./lib/utils/history.ts"),F=e("./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js"),re=e("./node_modules/.pnpm/react-redux@8.1.3_@types+react-dom@18.3.7_@types+react@18.3.31_react-dom@18.3.1_react@18.3.1/node_modules/react-redux/lib/index.js"),B=e("./node_modules/.pnpm/styled-components@5.3.11_react-dom@18.3.1_react@18.3.1/node_modules/styled-components/dist/styled-components.browser.cjs.js"),ge=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/slicedToArray.js"),we=e.n(ge),Se=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/objectWithoutProperties.js"),Te=e.n(Se),ee=e("./node_modules/.pnpm/react-router-dom@6.30.4_react-dom@18.3.1_react@18.3.1/node_modules/react-router-dom/dist/umd/react-router-dom.production.min.js"),Ee=e("./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js"),Qe=["history","basename"],ke=function(a){var s=a.history,r=a.basename,_=Te()(a,Qe),C=(0,F.useState)({action:s.action,location:s.location}),W=we()(C,2),G=W[0],ve=W[1];return(0,F.useLayoutEffect)(function(){r&&G.location.pathname&&!G.location.pathname.startsWith(r)&&console.warn(`[AppRouter] basename "${r}" does not match location.pathname "${G.location.pathname}". React Router will render nothing. Verify that "homeRoute" in app.config.json matches the guest's route.`)},[r,G.location.pathname]),(0,F.useLayoutEffect)(function(){var be=s.listen(function(){for(var me=arguments.length,pe=new Array(me),ot=0;ot<me;ot++)pe[ot]=arguments[ot];pe.length===2?ve({location:pe[0],action:pe[1]}):ve(pe[0])});return function(){be()}},[s]),(0,Ee.jsx)(ee.Router,Object.assign({},_,{basename:r,location:G.location,navigationType:G.action,navigator:s}))};ke.displayName="AppRouter";var Ve=e("./node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/merge.js"),Je=e("./lib/utils/micro-frontend/guest.ts"),xe=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/classCallCheck.js"),Xe=e.n(xe),qe=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/createClass.js"),Ye=e.n(qe),et=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/classPrivateFieldLooseBase.js"),$=e.n(et),Ke=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/classPrivateFieldLooseKey.js"),Oe=e.n(Ke),tt=e("./node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/throttle.js"),st=e.n(tt),Ce=e("./node_modules/.pnpm/pubsub-js@1.9.5/node_modules/pubsub-js/src/pubsub.js"),nt=e("./node_modules/.pnpm/@elliemae+pui-analytics-so@1.7.1/node_modules/@elliemae/pui-analytics-so/dist/esm/analytics.js"),Et=e("./node_modules/.pnpm/@elliemae+pui-analytics-so@1.7.1/node_modules/@elliemae/pui-analytics-so/dist/esm/baEventParameters.js"),ht=e("./lib/data/logout/actions.ts"),gt=e("./lib/utils/app-config/config.ts"),Ze=e("./lib/utils/app-config/index.ts"),rt=e("./lib/utils/console-logger.ts"),xt=e("./lib/utils/logger.ts"),Fe=e("./lib/utils/constants.ts"),Be=e("./lib/utils/window.ts"),it=e("./lib/utils/session.ts"),$e=e("./lib/utils/micro-frontend/app-bridge.ts"),ze=e("./lib/utils/micro-frontend/ssf-host.ts"),y,o=Oe()("ssfHostRef"),n=Oe()("appBridge"),c=Oe()("selfInitialize"),R=function(){function a(s){var r,_,C,W,G,ve,be=this;Xe()(this,a),this.logger=void 0,this.appId=void 0,this.props=void 0,this.activeGuests=void 0,this.onInit=void 0,this.onRenewSessionTimer=void 0,this.throttleRenewSessionTimer=void 0,this.scriptingObjects=void 0,Object.defineProperty(this,o,{writable:!0,value:void 0}),Object.defineProperty(this,n,{writable:!0,value:null}),Object.defineProperty(this,c,{writable:!0,value:void 0}),this.appId=(0,gt.vF)("appId"),this.onInit=s?.onInit,this.logger=s?.logger||rt.k,(0,xt.B)(this.logger),this.onRenewSessionTimer=s?.onRenewSessionTimer,$()(this,c)[c]=(r=s?.selfInitialize)!==null&&r!==void 0?r:!1,this.props={systemVersion:(_=s?.version)!==null&&_!==void 0?_:"latest",history:(C=s?.history)!==null&&C!==void 0?C:q.N,theme:(W=s?.theme)!==null&&W!==void 0?W:(0,d.getDefaultTheme)()},this.activeGuests={},s!=null&&s.ssfHostRef&&(0,ze.Z)(s.ssfHostRef),$()(this,o)[o]=(0,ze.F)();var me=(G=s?.analytics)!==null&&G!==void 0?G:new nt.j({logger:this.logger});this.scriptingObjects=Object.assign({analytics:me},(ve=s?.scriptingObjects)!==null&&ve!==void 0?ve:{}),this.getProps=this.getProps.bind(this),this.getLogger=this.getLogger.bind(this),this.getGuests=this.getGuests.bind(this),this.getGuest=this.getGuest.bind(this),this.getObject=this.getObject.bind(this),this.renewSessionTimer=this.renewSessionTimer.bind(this),this.setSystemVersion=this.setSystemVersion.bind(this),this.sendBAEvent=this.sendBAEvent.bind(this),this.throttleRenewSessionTimer=st()(async function(){await(0,it.KB)(),be.onRenewSessionTimer&&be.onRenewSessionTimer()},Fe.eE,{leading:!0}),$()(this,c)[c]||(0,Ze.yN)().then(function(){(0,$e.b)().then(function(pe){$()(be,n)[n]=pe,be.onInit&&be.onInit(be.props)}).catch(function(pe){throw pe})}).catch(function(){}),(0,Et.nE)({appId:this.appId})}return Ye()(a,[{key:"initialize",value:async function(){e.p=e.p.replace(/\/?$/,"/"),await(0,Ze.yN)();var r=await(0,$e.b)();return $()(this,n)[n]=r,this.onInit&&this.onInit(this.props),this.props}},{key:"getProps",value:function(){return this.props}},{key:"getLogger",value:function(){return this.logger}},{key:"getItem",value:function(r){return(0,Be.zk)().sessionStorage.getItem(r)}},{key:"setItem",value:function(r,_){(0,Be.zk)().sessionStorage.setItem(r,_)}},{key:"getGuests",value:function(){return this.activeGuests}},{key:"getGuest",value:function(r){return this.activeGuests[r]?this.activeGuests[r]:null}},{key:"publish",value:function(r,_){return(0,Ce.publish)(r,_)}},{key:"subscribe",value:function(r,_){return(0,Ce.subscribe)(r,_)}},{key:"unsubscribe",value:function(r){(0,Ce.unsubscribe)(r)}},{key:"navigate",value:function(r,_){r&&this.props.history.push(r,_)}},{key:"openWaitMessage",value:function(){var r=ce();r&&r.dispatch(I.X.open())}},{key:"closeWaitMessage",value:function(){var r=ce();r&&r.dispatch(I.X.close())}},{key:"openErrorBanner",value:function(r){var _=ce();_&&_.dispatch(h.o.set({description:r}))}},{key:"getAuthToken",value:function(){return(0,Be.zk)().sessionStorage.getItem("Authorization")}},{key:"renewAuthToken",value:function(){return(0,Be.zk)().sessionStorage.getItem("Authorization")}},{key:"logout",value:function(){var r=ce();r&&r.dispatch(ht.r.confirm())}},{key:"renewSessionTimer",value:async function(){this.throttleRenewSessionTimer()}},{key:"getBreakpoint",value:function(){return(0,Be.D)()}},{key:"getViewportSize",value:function(){return(0,Be.M5)()}},{key:"onResizeEvent",value:function(r){return(0,Ce.subscribe)(Fe.BD,function(_,C){return r(C)})}},{key:"onBreakpointChangeEvent",value:function(r){return(0,Ce.subscribe)(Fe.H1,function(_,C){return r(C)})}},{key:"setSystemVersion",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"latest";window.emui.version=r,this.props.systemVersion=r}},{key:"sendBAEvent",value:function(r){this.scriptingObjects.analytics.sendBAEvent(r).catch(function(){})}},{key:"getObject",value:async function(r){return this.scriptingObjects[r]}},{key:"addScriptingObject",value:function(r,_){$()(this,n)[n]&&$()(this,n)[n].addScriptingObject(r,_),$()(this,o)[o].addScriptingObject(r,_)}},{key:"dispatchEvent",value:async function(r){if($()(this,n)[n]){var _=await Promise.all([$()(this,n)[n].dispatchEvent(r),$()(this,o)[o].dispatchEvent(r)]),C=we()(_,2),W=C[0],G=C[1];return Array.isArray(W)&&Array.isArray(G)?W.concat(G):Promise.resolve()}return $()(this,o)[o].dispatchEvent(r)}},{key:"removeScriptingObject",value:function(r,_){$()(this,n)[n]&&$()(this,n)[n].removeScriptingObject(r,_),$()(this,o)[o].removeScriptingObject(r,_)}}],[{key:"getInstance",value:function(r){return this.instance||(this.instance=new a(r),r!=null&&r.selfInitialize||(r?.logger||rt.k).warn("CMicroAppHost.getInstance() called without selfInitialize: true \u2014 this legacy mode is deprecated. Pass { selfInitialize: true } and use initialize() instead.")),this.instance}},{key:"isInitialized",value:function(){return!!this.instance}}])}();y=R,R.instance=void 0;var Z,Ie,Me,at,bt,lt,dt=function(){return R.isInitialized()},It=function(){return Je.h.isInitialized()},St=function(){return It()&&window.top===window.self},yt=function(){return dt()?R.getInstance().getLogger():Je.h.getInstance().getLogger()},_t=function(a){return at()?!0:a?a===lt.PRODUCTION:!0},Ot=function(a){var s=Ie.getInstance().getProps(),r=s.systemVersion,_=r.match(/^(?:\d+\.\d+)*/g);return a.replace(/{SYSTEM_VERSION}/,_&&_[0]||"latest")},jt=function(a){var s;return a==null||(s=a.replace)===null||s===void 0?void 0:s.call(a,/\/?$/,"/")},Rt=function(a){var s=Me(`microFrontendApps.${a.id}`);if(!s)throw new Error(`unable to locate application configuraiton for ${a.id} under microFrontendApps section of app.config.json`);var r=s.mode,_=r===void 0?lt.PRODUCTION:r,C=_t(_)?s.production:s.development;s.production&&delete s.production,s.development&&delete s.development;var W=Z(a,{mode:"production",hostUrl:"./",manifestPath:"./{SYSTEM_VERSION}",isJsModule:!1},s,C);return W.hostUrl=bt(W.hostUrl.replace(/\/?$/,"/")),W.manifestPath=jt(Ot(W.manifestPath)),W},At=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"),Dt=e.n(At),t=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/getPrototypeOf.js"),l=e.n(t),v=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/inherits.js"),P=e.n(v),D=function(a){var s=a.error,r=s===void 0?new Error("We are unable to process your request"):s,_=a.errorInfo,C=_===void 0?{componentStack:"Please close your browser and login again"}:_;return U()("div",{},void 0,U()("h2",{},void 0,r?.message),U()("section",{},void 0,C?.componentStack))};D.displayName="DefaultErrorTemplate";var M=e("./lib/utils/log-records.ts");function H(a,s,r){return s=l()(s),Dt()(a,N()?Reflect.construct(s,r||[],l()(a).constructor):s.apply(a,r))}function N(){try{var a=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(N=function(){return!!a})()}var V=function(a){function s(r){var _;return Xe()(this,s),_=H(this,s,[r]),_.state={error:null,errorInfo:null},_}return P()(s,a),Ye()(s,[{key:"componentDidCatch",value:function(_,C){this.setState({error:_,errorInfo:C});var W=yt();W&&W.error(Object.assign({},M.V.UNHANDLED_ERROR,{exception:_,message:_.message}))}},{key:"render",value:function(){var _=this.props,C=_.children,W=_.errorTemplate,G=W||D,ve=this.state,be=ve.error,me=ve.errorInfo;return me?U()(G,{error:be,errorInfo:me}):C}}])}(F.Component),ae=e("./node_modules/.pnpm/react-aria-live@2.0.5_react@18.3.1/node_modules/react-aria-live/lib/index.js"),J=e("./lib/data/useAppDispatch.ts"),te=function(a,s,r){var _=a.map(function(me){return window.matchMedia(me)}),C=(0,F.useCallback)(function(){var me=_.findIndex(function(pe){return pe.matches});return typeof s[me]<"u"?s[me]:r},[r,_,s]),W=(0,F.useState)(C),G=we()(W,2),ve=G[0],be=G[1];return(0,F.useEffect)(function(){var me=function(){return be(C)};return _.forEach(function(pe){return pe.addEventListener("change",me)}),function(){return _.forEach(function(pe){return pe.removeEventListener("change",me)})}},[C,_]),ve},ie=function(){var a=(0,F.useContext)(B.ThemeContext),s=te([`(max-width: ${a.breakpoints.small})`,`(max-width: ${a.breakpoints.medium})`,`(max-width: ${a.breakpoints.large})`,`(max-width: ${a.breakpoints.xsmall})`],["small","medium","large","xsmall"],"large"),r=(0,J.j)();(0,F.useEffect)(function(){r({type:f.change,payload:s}),(0,Ce.publish)(Fe.H1,s)},[s,r])},X=function(){(0,F.useEffect)(function(){if(window.ResizeObserver){var a=new ResizeObserver(function(s){(0,Ce.publish)(Fe.BD,s&&s[0])});return a.observe(window.document.documentElement),function(){a.unobserve(window.document.documentElement)}}return function(){}},[])},je=e("./lib/view/session-timeout/index.tsx"),He=e("./lib/view/live-message/index.tsx"),ut=e("./lib/view/error-toast/index.tsx"),Ge=e("./lib/view/wait-message/index.tsx");const ct=(0,B.createGlobalStyle)([":root{font-size:81.25%;",";}html,body{height:100%;width:100%;line-height:",";}body{font-family:",";background-color:",";}#app,#app-container,#root,main{height:100%;width:100%;min-height:100%;min-width:100%;}"],function(a){var s=a.theme;return s.media.small`
2
- font-size: 100%;
3
- `},function(a){return a.theme.lineHeights.m},function(a){return a.theme.fonts.default},function(a){return a.theme.colors.neutral["000"]});var Pt,vt,mt,pt,wt,ft=B.default.div.withConfig({componentId:"sc-1ho9g5n-0"})(["height:100%;"]),Ct=function(a){var s=a.manageSession,r=a.WaitMessage,_=a.children;return ie(),X(),U()(ae.Ai,{},void 0,U()(ft,{},void 0,Pt||(Pt=U()(ct,{})),s&&(vt||(vt=U()(je.S,{}))),mt||(mt=U()(He.I,{})),r||pt||(pt=U()(Ge.j,{})),wt||(wt=U()(ut.Q,{})),_))};Ct.displayName="StandAloneApp";var Nt=e("./lib/view/wait-message/use-html-wait-message.tsx"),Mt,Lt,Ut,Kt=B.default.div.withConfig({componentId:"sc-njn2ro-0"})(["height:100%;"]),Wt=function(a){var s=a.WaitMessage,r=a.children;return ie(),(0,Nt.t)(!0),X(),U()(Kt,{},void 0,Mt||(Mt=U()(ct,{})),s||Lt||(Lt=U()(Ge.j,{})),Ut||(Ut=U()(ut.Q,{})),r)};Wt.displayName="HostedApp";var Ft=function(a){var s=St()||dt();return s?(0,Ee.jsx)(Ct,Object.assign({},a)):(0,Ee.jsx)(Wt,Object.assign({},a))},kt=function(a){var s=a.store,r=a.history,_=a.basename,C=a.theme,W=C===void 0?(0,d.getDefaultTheme)():C,G=a.manageSession,ve=G===void 0?!1:G,be=a.WaitMessage,me=a.errorTemplate,pe=a.children,ot=a.strictMode,os=ot===void 0?!0:ot,ns=os?F.StrictMode:F.Fragment;return U()(ns,{},void 0,U()(V,{errorTemplate:me},void 0,U()(re.Provider,{store:s},void 0,U()(ke,{history:r,basename:_},void 0,U()(B.ThemeProvider,{theme:W},void 0,U()(Ft,{manageSession:ve,WaitMessage:be},void 0,pe))))))};kt.displayName="AppRoot";var Bt=function(a,s,r){return U()(kt,{store:s,history:q.N,theme:a},void 0,r())};Bt.displayName="withAppDecorator";var $t=e("./node_modules/.pnpm/@storybook+theming@6.5.16/node_modules/@storybook/theming/dist/esm/index.js"),zt=["base","brandTitle"],Gt=function(a){var s=a.base,r=s===void 0?"light":s,_=a.brandTitle,C=_===void 0?"Platform UI Components":_,W=Te()(a,zt);return(0,$t.vt)(Object.assign({base:r,brandTitle:`${C} v5.42.2`},W))},Vt=e("./node_modules/.pnpm/style-loader@2.0.0_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),Jt=e.n(Vt),Ht=e("./node_modules/.pnpm/css-loader@5.2.7_webpack@5.107.2/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[11].use[1]!./lib/utils/storybook/preview.css"),Tt={};Tt.insert="head",Tt.singleton=!1;var rs=Jt()(Ht.A,Tt);const as=Ht.A.locals||{};var Xt=(0,d.getDefaultTheme)(),Yt=De({},q.N),Zt=Bt.bind(null,Xt,Yt),Qt=function(a){return{layout:"fullscreen",actions:{argTypesRegex:"^on.*"},controls:{hideNoControlsWarning:!0},docs:{theme:Gt(a)},options:{storySort:{method:"alphabetical",order:["Getting Started",["Introduction","Installation","Packages","Supported Browsers","Releases","Theme"],"Components"],locales:["en-US"]}},dependencies:{withStoriesOnly:!0,hideEmpty:!0}}},qt=[Zt],es=[async function(){await(0,Ze.yN)("./")}],ts={brandTitle:"Application SDK",brandUrl:"https://git.elliemae.io/platform-ui/pui-app-sdk.git"},ls=null,ss=Qt(ts),is=["decorators","parameters","loaders"]},"./lib/analytics/index.ts"(A,g,e){"use strict";e.d(g,{e:()=>b});var d=e("./node_modules/.pnpm/@elliemae+pui-analytics-so@1.7.1/node_modules/@elliemae/pui-analytics-so/dist/esm/baEventParameters.js"),u=e("./lib/utils/micro-frontend/guest.ts"),p=e("./lib/utils/helpers.ts"),m=function(x){var S=Object.assign({},(0,d.QS)(),(0,p.np)(),x);window.gtmDataLayer=window.gtmDataLayer||[],window.gtmDataLayer.push(S)},b=function(x){var S=x.data,I=x.self,E=I===void 0?!0:I;if(E)m(S);else{var i,h=(i=u.h.getInstance())===null||i===void 0?void 0:i.getHost(),f=h?.sendBAEvent;f?f(S):m(S)}}},"./lib/communication/http-client/props.ts"(A,g,e){"use strict";e.d(g,{K:()=>f});var d=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/classCallCheck.js"),u=e.n(d),p=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/createClass.js"),m=e.n(p),b=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/classPrivateFieldLooseBase.js"),x=e.n(b),S=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/classPrivateFieldLooseKey.js"),I=e.n(S),E=I()("resetUserIdleTime"),i=I()("endSession"),h=function(){function j(){u()(this,j),Object.defineProperty(this,E,{writable:!0,value:function(){}}),Object.defineProperty(this,i,{writable:!0,value:async function(){}})}return m()(j,[{key:"resetUserIdleTime",get:function(){return x()(this,E)[E]},set:function(O){x()(this,E)[E]=O}},{key:"endSession",get:function(){return x()(this,i)[i]},set:function(O){x()(this,i)[i]=O}}])}(),f=new h},"./lib/data/error/index.ts"(A,g,e){"use strict";e.d(g,{L:()=>x,o:()=>b});var d=e("./node_modules/.pnpm/@reduxjs+toolkit@1.9.7_react-redux@8.1.3_react@18.3.1/node_modules/@reduxjs/toolkit/dist/redux-toolkit.cjs.production.min.js"),u=e.n(d),p={description:"",messageText:""},m=(0,d.createSlice)({name:"error",initialState:p,reducers:{set:function(S,I){return I.payload},clear:function(){return p}}}),b=m.actions,x=m.reducer},"./lib/data/live-message/index.ts"(A,g,e){"use strict";e.d(g,{k:()=>x,o:()=>b});var d=e("./node_modules/.pnpm/@reduxjs+toolkit@1.9.7_react-redux@8.1.3_react@18.3.1/node_modules/@reduxjs/toolkit/dist/redux-toolkit.cjs.production.min.js"),u=e.n(d),p={message:"",ariaLive:"polite",id:""},m=(0,d.createSlice)({name:"liveMessage",initialState:p,reducers:{announce:function(S,I){var E=I.payload,i=E.message,h=E.ariaLive,f=E.id;return{message:i,ariaLive:h,id:f}}}}),b=m.actions,x=m.reducer},"./lib/data/logout/actions.ts"(A,g,e){"use strict";e.d(g,{r:()=>u});var d={CONFIRM:"log-out/CONFIRM",CANCEL:"log-out/CANCEL"},u={confirm:function(){return{type:d.CONFIRM,payload:null}},cancel:function(){return{type:d.CANCEL,payload:null}}}},"./lib/data/useAppDispatch.ts"(A,g,e){"use strict";e.d(g,{j:()=>p});var d=e("./node_modules/.pnpm/react-redux@8.1.3_@types+react-dom@18.3.7_@types+react@18.3.31_react-dom@18.3.1_react@18.3.1/node_modules/react-redux/lib/index.js"),u=e.n(d),p=function(){return(0,d.useDispatch)()}},"./lib/data/useAppSelector.ts"(A,g,e){"use strict";e.d(g,{G:()=>p});var d=e("./node_modules/.pnpm/react-redux@8.1.3_@types+react-dom@18.3.7_@types+react@18.3.31_react-dom@18.3.1_react@18.3.1/node_modules/react-redux/lib/index.js"),u=e.n(d),p=d.useSelector},"./lib/data/wait-message/actions.ts"(A,g,e){"use strict";e.d(g,{X:()=>u,k:()=>d});var d={OPEN:"wait-message/OPEN",CLOSE:"wait-message/CLOSE"},u={open:function(){var p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"loading...",m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return{type:d.OPEN,payload:{message:p,delay:m}}},close:function(){return{type:d.CLOSE,payload:null}}}},"./lib/data/webpack-hmr.ts"(A,g,e){"use strict";e.d(g,{I:()=>u});var d=e("./node_modules/.pnpm/redux-injectors@2.1.0_react-dom@18.3.1_react-redux@8.1.3_react@18.3.1/node_modules/redux-injectors/dist/index.js");A=e.hmd(A);var u=function(p){var m=null;try{var b,x;m=(b=(x=A)===null||x===void 0?void 0:x.hot)!==null&&b!==void 0?b:null}catch{m=null}m&&m.accept("./reducers",function(){(0,d.Dl)(p)})}},"./lib/utils/app-config/config.ts"(A,g,e){"use strict";e.d(g,{WE:()=>O,vF:()=>f,g3:()=>h});var d=e("./node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/has.js"),u=e("./node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/clone.js"),p=e.n(u),m=e("./node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/set.js"),b=e("./node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/get.js"),x=e.n(b);const S=JSON.parse('{"appId":"app-sdk","activeEnv":"localhost","sessionTimeoutWarnInterval":"60000","sessionTimeoutInterval":"70000","serviceEndpoints":{"api":"","idp":"https://int.idp.ellielabs.com","wss":"ws://localhost:5000"},"env":{"localhost":{"serviceEndpoints":{"api":"","idp":"https://int.idp.ellielabs.com"}},"dev":{"serviceEndpoints":{"api":"https://dev.api.puiservice.rd.elliemae.io","idp":"https://int.idp.ellielabs.com"}},"dev2":{"serviceEndpoints":{"api":"https://int.api.ellielabs.com","idp":"https://int.idp.ellielabs.com"}},"qa":{"serviceEndpoints":{"api":"https://dev.api.puiservice.rd.elliemae.io","idp":"https://int.idp.ellielabs.com"}},"qa2":{"serviceEndpoints":{"api":"https://int.api.ellielabs.com","idp":"https://int.idp.ellielabs.com"}},"qa3":{"serviceEndpoints":{"api":"https://int.api.ellielabs.com","idp":"https://int.idp.ellielabs.com"}},"int":{"serviceEndpoints":{"api":"https://int.api.ellielabs.com","idp":"https://int.idp.ellielabs.com"}},"peg-osb1":{"serviceEndpoints":{"api":"https://encompass-peg-api.elliemae.com","idp":"https://peg.idp.ellielabs.com/authorize"}},"peg-osb2":{"serviceEndpoints":{"api":"https://encompass-peg2-api.elliemae.com","idp":"https://peg.idp.ellielabs.com/authorize"}},"peg":{"serviceEndpoints":{"api":"https://peg2-west.api.ellielabs.com","idp":"https://peg.idp.ellielabs.com/authorize"}},"peg-oapi-west":{"serviceEndpoints":{"api":"https://peg2-west.api.ellielabs.com","idp":"https://peg.idp.ellielabs.com/authorize"}},"peg-oapi-east":{"serviceEndpoints":{"api":"https://peg2-east.api.ellielabs.com","idp":"https://peg.idp.ellielabs.com/authorize"}},"peg2-oapi-east":{"serviceEndpoints":{"api":"https://peg2-east.api.ellielabs.com","idp":"https://peg.idp.ellielabs.com/authorize"}},"peg3":{"serviceEndpoints":{"api":"https://pel1.api.ellielabs.com","idp":"https://peg3.idp.ellielabs.com/authorize"}},"stage":{"serviceEndpoints":{"api":"https://stg.api.elliemae.com","idp":"https://stg.idp.elliemae.com/authorize"}},"beta":{"serviceEndpoints":{"api":"https://concept.api.elliemae.com","idp":"https://concept.idp.elliemae.com/authorize"}},"demo":{"serviceEndpoints":{"api":"https://concept.api.elliemae.com","idp":"https://concept.idp.elliemae.com/authorize"}},"epc":{"serviceEndpoints":{"api":"https://concept.api.elliemae.com","idp":"https://concept.idp.elliemae.com/authorize"}},"prod":{"serviceEndpoints":{"api":"https://api.elliemae.com","idp":"https://idp.elliemae.com/authorize"}}}}');var I,E,i=S,h=function(w){i=w},f=function(){var w=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return p()(x()(i,w,T))},j=function(w,T){return E(i,w,T)},O=function(){return i},L=function(){var w=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return I(i,w)}},"./lib/utils/app-config/index.ts"(A,g,e){"use strict";e.d(g,{yN:()=>i});var d=e("./node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/merge.js"),u=e.n(d),p=e("./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.includes.js"),m=e.n(p),b=e("./node_modules/.pnpm/@elliemae+pui-analytics-so@1.7.1/node_modules/@elliemae/pui-analytics-so/dist/esm/baEventParameters.js"),x=e("./lib/utils/app-config/config.ts"),S=e("./lib/utils/window.ts"),I=function(h){var f,j,O=h.activeEnv,L=h.env[O]||{};h.env&&delete h.env,(0,x.g3)(u()(h,L)),sessionStorage.setItem("envName",O),window.emui=window.emui||{},window.emui.appId=(f=(j=(0,x.vF)("appId"))!==null&&j!==void 0?j:window.emui.appId)!==null&&f!==void 0?f:"",(0,b.nE)({envName:O})},E=function(h){return h.replace(/(\d+\.\d+)(?!.*\d+\.\d+)/,"latest")},i=async function(){var h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:(0,S.OX)(),f=`${h.replace(/\/?$/,"/")}app.config.json`,j=E(h);try{var O=await fetch(f);if(!O.ok){if(h!==j){await i(j);return}var L=`App Config is not found at ${f}`;throw new Error(L)}var w=await O.json();I(w)}catch(k){var T;if(h!==j){await i(j);return}throw k!=null&&(T=k.message)!==null&&T!==void 0&&T.includes("Unexpected token")?new Error(`App config file at ${f} is not a valid JSON`):k}}},"./lib/utils/console-logger.ts"(A,g,e){"use strict";e.d(g,{k:()=>m});var d=e("@elliemae/pui-diagnostics"),u=e.n(d),p=e("./lib/utils/app-config/config.ts"),m=function(){return d.logger?(0,d.logger)({transport:(0,d.Console)(),index:"app",environment:(0,p.vF)("activeEnv"),team:"app team",appName:"ICEMT App",appVersion:"latest",instanceId:"",userId:""}):console}()},"./lib/utils/constants.ts"(A,g,e){"use strict";e.d(g,{Ay:()=>d,BD:()=>m,H1:()=>b,J2:()=>u,eE:()=>x});const d={AUTHORIZATION:"Authorization",CLIENT_ID:"tirykwfo"};var u={WARN:12*60*1e3,EXPIRY:15*60*1e3},p=null,m="HOST_WINDOW_RESIZED",b="HOST_WINDOW_BREAKPOINT_CHANGED",x=6e4},"./lib/utils/helpers.ts"(A,g,e){"use strict";e.d(g,{E_:()=>I,np:()=>S});var d=e("./lib/utils/window.ts"),u=e("./node_modules/.pnpm/process@0.11.10/node_modules/process/browser.js"),p=function(){return!0},m=function(){return u.env.CI==="true"},b=/^(?:[a-z]+:)?\/\//,x=function(E){return b.test(E)?E:new URL(E,document.location.origin).href},S=function(){var E,i,h,f,j,O,L,w=(0,d.zk)(),T=w.document.title,k=document,ye=k.title,fe=(E=w==null||(i=w.emui)===null||i===void 0?void 0:i.appId)!==null&&E!==void 0?E:"",z=(h=w==null||(f=w.emui)===null||f===void 0?void 0:f.version)!==null&&h!==void 0?h:"",K=(j=(O=window)===null||O===void 0||(L=O.emui)===null||L===void 0?void 0:L.appId)!==null&&j!==void 0?j:"",se=w.location,Y=se.pathname,Le=se.href,Re=window.location,le=Re.pathname,he=Re.href;return{productId:fe,productPath:Y,productUrl:Le,productPageTitle:T,version:z,appId:K,appPath:le,appUrl:he,appPageTitle:ye}},I=function(E){var i=E.promise,h=E.delay,f=E.retValue,j=f===void 0?!1:f,O=E.throwError,L=O===void 0?!1:O,w=E.errMsg;return Promise.race([i,new Promise(function(T,k){setTimeout(function(){L?k(new Error(w)):T(j)},h)})])}},"./lib/utils/history.ts"(A,g,e){"use strict";e.d(g,{N:()=>p,w:()=>m});var d=e("./node_modules/.pnpm/history@5.3.0/node_modules/history/umd/history.production.min.js"),u=e.n(d),p=(0,d.createBrowserHistory)(),m=(0,d.createMemoryHistory)()},"./lib/utils/log-records.ts"(A,g,e){"use strict";e.d(g,{V:()=>d});var d={ERR_TOAST_OPEN_FAILED:{code:"appsdk001",message:"Unable to open Error Toast"},WAIT_MSG_OPEN_FAILED:{code:"appsdk02",message:"Unable to open Wait message"},WAIT_MSG_CLOSE_FAILED:{code:"appsdk03",message:"Unable to close Wait message"},APP_CONFIG_LOAD_FAILED:{code:"appsdk04",message:"Unable to load application configuration"},ASSET_NOT_FOUND_IN_MANIFEST:function(u){return{code:"appsdk05",message:`Application load failed. unable to locate ${u} in the manifest`}},APP_INIT_FAILED:function(u,p,m){return{code:"appsdk06",message:`Application load failed. Unable to load one or more application resources for appId: ${u} and instanceId: ${p}. ${m}`}},APP_LOADING:function(u,p){return{code:"appsdk07",message:`Application ${u} with instanceId ${p} is loading...`}},APP_LOADING_COMPLETE:function(u,p){return{code:"appsdk08",message:`Application ${u} loaded with instanceId ${p}`}},APP_UNLOADING:function(u,p){return{code:"appsdk09",message:`Application ${u} with instanceId ${p} unloading...`}},APP_UNLOADING_COMPLETE:function(u,p){return{code:"appsdk10",message:`Application ${u} with instanceId ${p} unloaded`}},SSF_HOST_OBJECT_NOT_FOUND:function(u){return{code:"appsdk11",message:`Parent window doesn't expose SSF Object named ${u}`}},LOGIN_FAILED:{code:"appsdk12",message:"Unable to login the user."},LOGOUT_FAILED:{code:"appsdk13",message:"Unable to logout the user."},SERVICE_WORKER_FAILED:{code:"appsdk14",message:"Service Worker Registration Failed"},UNHANDLED_ERROR:{code:"appsdk15",message:"Unhandled error in react component"},SESSION_RENEWAL_FAILED:{code:"appsdk16",message:"Unable to extend PSS session"}}},"./lib/utils/logger.ts"(A,g,e){"use strict";e.d(g,{B:()=>u,t:()=>p});var d=null,u=function(m){d=m},p=function(){return d}},"./lib/utils/logrocket.ts"(A,g,e){"use strict";e.d(g,{K3:()=>E,Te:()=>x});var d,u,p=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/slicedToArray.js"),m=e.n(p),b=e("./node_modules/.pnpm/@elliemae+pui-analytics-so@1.7.1/node_modules/@elliemae/pui-analytics-so/dist/esm/logrocket.js"),x=function(){var i;return(i=window.emui)===null||i===void 0?void 0:i.logRocket},S=function(i){var h={};return Object.entries(i).forEach(function(f){var j=d(f,2),O=j[0],L=j[1];h[O]=L??""}),h},I=function(i,h){var f=x();f&&(f.identify(i,S(h)),u(i))},E=function(i){var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};(0,b.As)(i,h)}},"./lib/utils/micro-frontend/app-bridge.ts"(A,g,e){"use strict";e.d(g,{b:()=>b});var d=e("./node_modules/.pnpm/@elliemae+pui-app-bridge@2.28.6_@elliemae+pui-diagnostics@3.12.5_@elliemae+pui-logrocket@1.3._cu7aeoxsbpbexfro2txwzofllm/node_modules/@elliemae/pui-app-bridge/dist/esm/appBridge.js"),u=e("./lib/utils/logger.ts"),p=e("./lib/utils/app-config/config.ts"),m=null,b=async function(){if(!m){var x,S,I,E=(0,u.t)(),i=((x=window.emui)===null||x===void 0?void 0:x.version)||"latest";m=new d.o({logger:E,version:i,appConfigBaseUrl:(S=window)===null||S===void 0||(I=S.emui)===null||I===void 0?void 0:I._ASSET_PATH}),await m.init((0,p.WE)());var h=(0,p.vF)("microFrontendApps");h&&Object.keys(h).forEach(function(f){return m.warmUp(f)})}return m}},"./lib/utils/micro-frontend/guest.ts"(A,g,e){"use strict";e.d(g,{h:()=>st});var d=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/objectWithoutProperties.js"),u=e.n(d),p=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/slicedToArray.js"),m=e.n(p),b=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/classCallCheck.js"),x=e.n(b),S=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/createClass.js"),I=e.n(S),E=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/classPrivateFieldLooseBase.js"),i=e.n(E),h=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/classPrivateFieldLooseKey.js"),f=e.n(h),j=e("./node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/merge.js"),O=e.n(j),L=e("./node_modules/.pnpm/uuid@9.0.1/node_modules/uuid/dist/esm-browser/v4.js"),w=e("./node_modules/.pnpm/@elliemae+pui-theme@2.13.0/node_modules/@elliemae/pui-theme/dist/cjs/index.js"),T=e("./node_modules/.pnpm/@elliemae+ssf-guest@2.28.6_@elliemae+pui-logrocket@1.3.1/node_modules/@elliemae/ssf-guest/dist/esm/guest.js"),k=e("./node_modules/.pnpm/@elliemae+pui-analytics-so@1.7.1/node_modules/@elliemae/pui-analytics-so/dist/esm/baEventParameters.js"),ye=e("./lib/utils/window.ts"),fe=e("./lib/utils/app-config/index.ts"),z=e("./lib/utils/app-config/config.ts"),K=e("./lib/utils/history.ts"),se=e("./lib/utils/console-logger.ts"),Y=e("./lib/utils/logger.ts"),Le=e("./node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js"),Re,le="storage",he="getSessionStorage",_e="sessionStorage",de=function(){return sessionStorage.length===0},Ue=function(y){if(y.key===he)localStorage.setItem(_e,JSON.stringify(sessionStorage)),localStorage.removeItem(_e);else if(y.key===_e&&y.newValue){var o=JSON.parse(y.newValue);o&&Object.keys(o).forEach(function(n){sessionStorage.setItem(n,o[n])})}},We=null,Ne=function(){window.addEventListener(le,Ue),de()&&localStorage.setItem(he,`${Date.now()}`)},oe=function(){window.removeEventListener(le,Ue)},ue=e("./lib/utils/micro-frontend/app-bridge.ts"),ne=e("./lib/utils/helpers.ts"),Pe=e("./lib/utils/micro-frontend/ssf-host.ts"),ce=function(){var y,o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window;if(o){var n=o,c=(y=n.emui)===null||y===void 0?void 0:y._ASSET_PATH;if(c){n.__webpack_public_path__=new URL("../",c).href;return}n.__webpack_public_path__=(n.__webpack_public_path__||"").replace(/\/?$/,"/")}},Q=["history"],De,Ae="app-container",U=2e3,q=function(){try{return window.parent.document,!1}catch{return!0}},F=function(y){return y.SSF="ssf",y.APPSDK="app-sdk",y}(F||{}),re=f()("uuid"),B=f()("communicationMethod"),ge=f()("ssfHostRef"),we=f()("useV2Guest"),Se=f()("selfInitialize"),Te=f()("embeddedWithoutHost"),ee=f()("appBridge"),Ee=f()("pendingInitialRoute"),Qe=f()("addAppToGlobalVariable"),ke=f()("onWindowUnload"),Ve=f()("resolveHistory"),Je=f()("discoverHost"),xe=f()("exposeGetHost"),Xe=f()("initAppBridge"),qe=f()("applyModuleParams"),Ye=f()("applyHistoryFromParams"),et=f()("applyInitialRoute"),$=f()("loadConfigAndBridge"),Ke=f()("trackAnalyticsAndOnInit"),Oe=f()("completeWithoutHost"),tt=f()("fetchModuleScriptingObject"),st=function(){function y(o){var n,c,R;x()(this,y),Object.defineProperty(this,tt,{value:ze}),Object.defineProperty(this,Oe,{value:$e}),Object.defineProperty(this,Ke,{value:it}),Object.defineProperty(this,$,{value:Be}),Object.defineProperty(this,et,{value:Fe}),Object.defineProperty(this,Ye,{value:xt}),Object.defineProperty(this,qe,{value:rt}),Object.defineProperty(this,Xe,{value:Ze}),Object.defineProperty(this,xe,{value:gt}),Object.defineProperty(this,Je,{value:ht}),Object.defineProperty(this,Ve,{value:Et}),Object.defineProperty(this,ke,{value:nt}),Object.defineProperty(this,Qe,{value:Ce}),Object.defineProperty(this,re,{writable:!0,value:void 0}),this.logger=void 0,this.appId=void 0,this.props=void 0,Object.defineProperty(this,B,{writable:!0,value:void 0}),Object.defineProperty(this,ge,{writable:!0,value:void 0}),Object.defineProperty(this,we,{writable:!0,value:void 0}),Object.defineProperty(this,Se,{writable:!0,value:void 0}),Object.defineProperty(this,Te,{writable:!0,value:void 0}),Object.defineProperty(this,ee,{writable:!0,value:null}),Object.defineProperty(this,Ee,{writable:!0,value:null}),this.onInit=void 0,this.onMount=void 0,this.onUnmount=void 0,this.onGetRef=void 0,window.emui.uuid=window.emui.uuid||(0,L.A)(),this.appId=((n=window.emui)===null||n===void 0?void 0:n.appId)||(0,z.vF)("appId"),i()(this,re)[re]=window.emui.uuid,i()(this,B)[B]=F.APPSDK,this.props={host:null,hostUrl:null,prevState:null,history:o?.history||K.N,theme:(0,w.getDefaultTheme)(),manifestPath:"./latest",containerId:Ae},this.logger=o?.logger||se.k,(0,Y.B)(this.logger),o!=null&&o.ssfHostRef&&(0,Pe.Z)(o.ssfHostRef),i()(this,ge)[ge]=(0,Pe.F)(),i()(this,we)[we]=o?.useV2Guest!==!1,i()(this,Se)[Se]=(c=o?.selfInitialize)!==null&&c!==void 0?c:!1,i()(this,Te)[Te]=(R=o?.embeddedWithoutHost)!==null&&R!==void 0?R:!1,this.onInit=o?.onInit,this.onMount=o?.onMount,this.onUnmount=o?.onUnmount,this.onGetRef=o?.onGetRef,i()(this,Te)[Te]&&!i()(this,Se)[Se]&&this.logger.warn("embeddedWithoutHost requires selfInitialize: true \u2014 the flag only applies to initialize()"),this.getHost=this.getHost.bind(this),this.getLogger=this.getLogger.bind(this),this.getProps=this.getProps.bind(this),i()(this,Se)[Se]?window.addEventListener("beforeunload",i()(this,ke)[ke].bind(this)):i()(this,Qe)[Qe]()}return I()(y,[{key:"getHost",value:function(){return this.props.host}},{key:"getLogger",value:function(){return this.logger}},{key:"getObject",value:function(n){var c=null;return i()(this,B)[B]===F.SSF?(c=this.getHost(),c.getObject(n)):(c=this.getHost(),c?c.getObject(n):Promise.resolve(null))}},{key:"subscribe",value:function(n){var c=null;return i()(this,B)[B]===F.SSF?(c=this.getHost(),c.subscribe(n)):(c=this.getHost(),c.subscribe(n))}},{key:"unsubscribe",value:function(n){var c=null;i()(this,B)[B]===F.SSF&&(c=this.getHost(),c.unsubscribe(n)),c=this.getHost(),c.unsubscribe(n)}},{key:"getProps",value:function(){return this.props}},{key:"getSessionStorageItem",value:function(n){var c=sessionStorage.getItem(n),R=this.getHost();return!c&&R!==null&&R!==void 0&&R.getItem&&(c=R.getItem(n)),c}},{key:"findHost",value:async function(){var n=null;if(!q()){var c,R,Z;n=(c=(R=window.parent)===null||R===void 0||(Z=R.emui)===null||Z===void 0?void 0:Z.MicroAppHost)!==null&&c!==void 0?c:null}return!n&&i()(this,we)[we]&&(n=new T.p({appLogger:this.logger}),await(0,ne.E_)({promise:n.connect(),delay:1e3,retValue:!1})?n=null:i()(this,B)[B]=F.SSF),n}},{key:"uuid",get:function(){return i()(this,re)[re]}},{key:"initialize",value:async function(){ce();var n=window.top===window.self&&!window.opener;if(n)return await i()(this,$)[$](),i()(this,Oe)[Oe]("standalone");if(i()(this,Te)[Te])return await i()(this,$)[$](),i()(this,Oe)[Oe]("embeddedWithoutHost");var c=await Promise.all([i()(this,Je)[Je](),i()(this,$)[$]()]),R=m()(c,1),Z=R[0];if(!Z)return i()(this,Oe)[Oe]("discoveryFallback");this.props.host=Z,i()(this,xe)[xe]();var Ie={moduleId:this.appId};try{var Me=await i()(this,tt)[tt]();Me?(Ie=await Me.getParameters(),i()(this,qe)[qe](Ie)):this.logger.warn(`Host did not register a module scripting object for "${this.appId}". Proceeding without host-provided parameters (history, theme, initialRoute).`)}catch{this.logger.warn(`Failed to retrieve module parameters for "${this.appId}". Proceeding without host-provided parameters.`)}return i()(this,Ke)[Ke](),Ie}},{key:"init",value:async function(n){var c=this,R=n??{},Z=R.history,Ie=u()(R,Q);if(this.props=O()(this.props,Ie),!this.props.host){var Me=await this.findHost();Me?this.props.host=Me:this.logger.warn("unable to connect to host microapp")}return i()(this,xe)[xe](),ce(),(0,fe.yN)().then(function(){var at=c.getSessionStorageItem("instanceId")||"",bt=c.getSessionStorageItem("userId")||"";(0,k.nE)({appId:c.appId,instanceId:at,userId:bt});var lt=i()(c,Ve)[Ve](Z);return!lt&&n!==null&&n!==void 0&&n.initialRoute&&(i()(c,Ee)[Ee]=typeof n.initialRoute=="string"?n.initialRoute:n.initialRoute.pathname||null),(0,ue.b)().then(function(dt){i()(c,ee)[ee]=dt,c.onInit&&c.onInit(c.props)})})}},{key:"mount",value:function(){var n=this,c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{containerId:Ae};return this.props.containerId=c?.containerId,Promise.resolve().then(function(){i()(n,Ee)[Ee]&&(n.props.history.push(i()(n,Ee)[Ee]),i()(n,Ee)[Ee]=null),n.onMount&&n.onMount(c)})}},{key:"unmount",value:function(n){var c=this;return oe(),Promise.resolve().then(function(){return c.onUnmount?c.onUnmount(n):null})}},{key:"getRef",value:function(){return this.onGetRef?this.onGetRef():null}},{key:"navigate",value:function(n,c){n&&this.props.history.push(n,c)}},{key:"addScriptingObject",value:function(n,c){i()(this,ee)[ee]&&i()(this,ee)[ee].addScriptingObject(n,c),i()(this,ge)[ge].addScriptingObject(n,c)}},{key:"dispatchEvent",value:async function(n){if(i()(this,ee)[ee]){var c=await Promise.all([i()(this,ee)[ee].dispatchEvent(n),i()(this,ge)[ge].dispatchEvent(n)]),R=m()(c,2),Z=R[0],Ie=R[1];return Array.isArray(Z)&&Array.isArray(Ie)?Z.concat(Ie):Promise.resolve()}return i()(this,ge)[ge].dispatchEvent(n)}},{key:"removeScriptingObject",value:function(n,c){i()(this,ee)[ee]&&i()(this,ee)[ee].removeScriptingObject(n,c),i()(this,ge)[ge].removeScriptingObject(n,c)}}],[{key:"getInstance",value:function(n){return this.instance||(this.instance=new y(n),n!=null&&n.selfInitialize||(n?.logger||se.k).warn("CMicroApp.getInstance() called without selfInitialize: true \u2014 this legacy mode is deprecated. Pass { selfInitialize: true } and use initialize() instead.")),this.instance}},{key:"isInitialized",value:function(){return!!this.instance}},{key:"isHosted",value:function(){var n,c;return!!((n=this.instance)!==null&&n!==void 0&&(c=n.props)!==null&&c!==void 0&&c.host)}}])}();De=st;function Ce(){var y=this,o=(0,ye.zk)();if(o){o.emui=o.emui||{};var n={uuid:i()(this,re)[re],init:this.init.bind(this),mount:this.mount.bind(this),unmount:this.unmount.bind(this),getRef:this.getRef.bind(this),navigate:this.navigate.bind(this)};if(o.emui[this.appId])if(Array.isArray(o.emui[this.appId])){var c=o.emui[this.appId],R=c.findIndex(function(Z){return Z.uuid===i()(y,re)[re]});R>-1?c[R]=n:c.push(n)}else o.emui[this.appId].uuid===i()(this,re)[re]?o.emui[this.appId]=n:typeof o.emui[this.appId].init>"u"?o.emui[this.appId]=Object.assign({},o.emui[this.appId],n):o.emui[this.appId]=[o.emui[this.appId],n];else o.emui[this.appId]=n;window.emui.app=n,window.addEventListener("beforeunload",i()(this,ke)[ke].bind(this))}}function nt(){var y=this;if(!i()(this,Se)[Se]){var o=(0,ye.zk)();if(Array.isArray(o.emui[this.appId])){var n=o.emui[this.appId],c=n.findIndex(function(R){return R.uuid===i()(y,re)[re]});c>-1&&n.splice(c,1),n.length===0&&delete o.emui[this.appId]}else delete o.emui[this.appId];delete window.emui.app}this.unmount({containerId:this.props.containerId}).catch(function(){})}function Et(y){if(i()(this,B)[B]===F.SSF)return this.props.history=K.N,!1;var o=(0,z.vF)("useParentHistory",!0);return o&&y?this.props.history=y:!o&&window!==window.parent&&(this.props.history=K.w),o}async function ht(){var y;if((y=window.emui)!==null&&y!==void 0&&y.__host)return window.emui.__host;if(!q()){var o,n,c,R=(o=(n=window.parent)===null||n===void 0||(c=n.emui)===null||c===void 0?void 0:c.MicroAppHost)!==null&&o!==void 0?o:null;if(R)return R}if(i()(this,we)[we]){var Z=new T.p({appLogger:this.logger}),Ie=await(0,ne.E_)({promise:Z.connect(),delay:1e3,retValue:!0});if(!Ie)return i()(this,B)[B]=F.SSF,Z}return null}function gt(){var y=this;window.emui=window.emui||{},window.emui.getHost=function(){var o;return(o=y.props.host)!==null&&o!==void 0?o:null}}async function Ze(){i()(this,ee)[ee]=await(0,ue.b)()}function rt(y){y.homeRoute&&(this.props.homeRoute=y.homeRoute),y.theme&&(this.props.theme=y.theme),y.hostUrl&&(this.props.hostUrl=y.hostUrl),y.manifestPath&&(this.props.manifestPath=y.manifestPath),y.containerId&&(this.props.containerId=y.containerId),i()(this,Ye)[Ye](y)}function xt(y){if(i()(this,B)[B]===F.SSF){this.props.history=K.N;return}var o=(0,z.vF)("useParentHistory",!0);o&&y.history?this.props.history=y.history:!o&&window!==window.parent&&(this.props.history=K.w),i()(this,et)[et](y,o)}function Fe(y,o){if(!(!y.initialRoute||o)){var n=typeof y.initialRoute=="string"?y.initialRoute:y.initialRoute.pathname;n&&this.props.history.push(n)}}async function Be(){await(0,fe.yN)(),await i()(this,Xe)[Xe]()}function it(){var y=this.getSessionStorageItem("instanceId")||"",o=this.getSessionStorageItem("userId")||"";(0,k.nE)({appId:this.appId,instanceId:y,userId:o}),this.onInit&&this.onInit(this.props)}function $e(y){return y==="standalone"?(this.logger.info("Running in standalone mode \u2014 skipping host discovery"),i()(this,xe)[xe](),i()(this,Ve)[Ve]()):y==="embeddedWithoutHost"?(this.logger.info("embeddedWithoutHost enabled \u2014 skipping host discovery"),i()(this,xe)[xe]()):(this.logger.warn("Unable to discover host. Proceeding with app.config.json values. Host-provided parameters (history, theme, initialRoute) will not be available."),i()(this,xe)[xe]()),i()(this,Ke)[Ke](),{moduleId:this.appId}}async function ze(){var y="module",o=this.getObject(y);return i()(this,B)[B]!==F.SSF?o:(0,ne.E_)({promise:o,delay:U,throwError:!0,errMsg:`Timed out waiting for module scripting object from host (${U}ms)`})}st.instance=void 0},"./lib/utils/micro-frontend/ssf-host.ts"(A,g,e){"use strict";e.d(g,{F:()=>x,Z:()=>S});var d=e("./node_modules/.pnpm/@elliemae+ssf-host@2.28.6_@elliemae+pui-diagnostics@3.12.5/node_modules/@elliemae/ssf-host/dist/esm/host.js"),u=e("./node_modules/.pnpm/@elliemae+pui-analytics-so@1.7.1/node_modules/@elliemae/pui-analytics-so/dist/esm/analytics.js"),p=e("./lib/utils/logger.ts"),m=e("./lib/utils/app-config/config.ts"),b=null,x=function(){if(!b){var I=(0,p.t)();b=new d.P((0,m.vF)("appId"),{logger:I,analyticsObj:new u.j({logger:I})})}return b},S=function(I){b||(b=I)}},"./lib/utils/session.ts"(A,g,e){"use strict";e.d(g,{lQ:()=>_t,LC:()=>Ot,KB:()=>Ie,oB:()=>Z,z3:()=>It,lD:()=>At,n5:()=>Rt,Lw:()=>jt});var d=e("./node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/throttle.js"),u=e.n(d),p=function(t){window.emui.loginParams=Object.assign({redirectUri:new URL(window.location.href).href},t)},m=function(){if(!window.emui.loginParams){var t=JSON.parse(sessionStorage.getItem("user")||"{}"),l=t.client_id||"",v=t.scope||"";window.emui.loginParams={clientId:l,scope:v}}return window.emui.loginParams},b=e("./lib/utils/constants.ts"),x,S=function(){return sessionStorage.getItem(b.Ay.AUTHORIZATION)||""},I=function(t){sessionStorage.setItem(x.AUTHORIZATION,t)},E=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/objectWithoutProperties.js"),i=e("./node_modules/.pnpm/axios@1.18.1/node_modules/axios/lib/axios.js"),h=e("./lib/utils/app-config/config.ts"),f=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/slicedToArray.js"),j=e.n(f),O;function L(t,l){var v=typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(!v){if(Array.isArray(t)||(v=w(t))||l&&t&&typeof t.length=="number"){v&&(t=v);var P=0,D=function(){};return{s:D,n:function(){return P>=t.length?{done:!0}:{done:!1,value:t[P++]}},e:function(V){throw V},f:D}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
4
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var M,H=!0,N=!1;return{s:function(){v=v.call(t)},n:function(){var V=v.next();return H=V.done,V},e:function(V){N=!0,M=V},f:function(){try{H||v.return==null||v.return()}finally{if(N)throw M}}}}function w(t,l){if(t){if(typeof t=="string")return T(t,l);var v={}.toString.call(t).slice(8,-1);return v==="Object"&&t.constructor&&(v=t.constructor.name),v==="Map"||v==="Set"?Array.from(t):v==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(v)?T(t,l):void 0}}function T(t,l){(l==null||l>t.length)&&(l=t.length);for(var v=0,P=Array(l);v<l;v++)P[v]=t[v];return P}var k=function(t){return t},ye=function(t,l){var v,P;l=l||O,(v=l)!==null&&v!==void 0&&(P=v.interceptors)!==null&&P!==void 0&&P.response&&l.interceptors.response.eject(t)},fe=function(t){var l=t.config.retryConfig;if(!l||l.retry===0||!t.response&&(l.currentRetryAttempt||0)>=l.noResponseRetries||!t.config.method||l.httpMethodsToRetry.indexOf(t.config.method.toUpperCase())<0)return!1;if(t.response&&t.response.status){var v=!1,P=L(l.statusCodesToRetry),D;try{for(P.s();!(D=P.n()).done;){var M=D.value,H=j()(M,2),N=H[0],V=H[1],ae=t.response.status;if(ae>=N&&ae<=V){v=!0;break}}}catch(J){P.e(J)}finally{P.f()}if(!v)return!1}return l.currentRetryAttempt=l.currentRetryAttempt||0,!(l.currentRetryAttempt>=l.retry)},z=function(t){if(!t.config)return Promise.reject(t);var l=t.config.retryConfig||{};l.currentRetryAttempt=l.currentRetryAttempt||0,l.retry=l.retry===void 0||l.retry===null?3:l.retry,l.retryDelay=l.retryDelay||100,l.instance=l.instance||i.A,l.httpMethodsToRetry=l.httpMethodsToRetry||["GET","HEAD","PUT","OPTIONS","DELETE"],l.noResponseRetries=l.noResponseRetries===void 0||l.noResponseRetries===null?2:l.noResponseRetries;var v=[[100,199],[429,429],[500,599]];l.statusCodesToRetry=l.statusCodesToRetry||v,t.config.retryConfig=l;var P=l.shouldRetry||fe;if(!P(t))return Promise.reject(t);var D=new Promise(function(H){var N=(2**l.currentRetryAttempt-1)/2*1e3;t.config.retryConfig.currentRetryAttempt+=1,setTimeout(H,N)}),M=l.onRetryAttempt?Promise.resolve(l.onRetryAttempt(t)):Promise.resolve();return Promise.resolve().then(function(){return D}).then(function(){return M}).then(function(){return l.instance.request(t.config)})},K=function(t){var l,v;return t=t||i.A,(l=t)!==null&&l!==void 0&&(v=l.interceptors)!==null&&v!==void 0&&v.response?t.interceptors.response.use(k,z):null},se=function(t){return t&&t.config?t.config.retryConfig:null},Y=function(t){return{retry:3,noResponseRetries:2,retryDelay:100,httpMethodsToRetry:["GET","HEAD","OPTIONS","DELETE","PUT"],statusCodesToRetry:[[100,199],[429,429],[500,599]],instance:t,onRetryAttempt:function(l){var v=se(l);v&&v.currentRetryAttempt}}},Le=function(t){t!=null&&t.defaults&&(t.defaults.retryConfig=Y(t)),K(t)};const Re=Le;var le=e("./lib/communication/http-client/props.ts"),he=function(t){return le.K.resetUserIdleTime(),t},_e=401,de=null,Ue=function(t){de=t},We=function(t){return t},Ne=function(t){var l=(t||{}).response||{},v=l.status;if(v===_e){if(de&&typeof de=="function")return de(t).then(function(P){var D=t.config;if(!(D!=null&&D.headers))throw t;return D.headers.Authorization=P,new Promise(function(M,H){i.A.request(D).then(M).catch(H)})}).catch(function(P){return Promise.reject(P)});if(le.K.endSession)return le.K.endSession(Object.assign({},m(),{skipRevoke:!0})).then(function(){return Promise.reject(t)}).catch(function(){return Promise.reject(t)})}return Promise.reject(t)},oe=e("./lib/utils/logrocket.ts"),ue,ne,Pe=null,ce=2*60*1e3,Q=function(){var t,l,v=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},P=v.baseURL,D=P===void 0?(0,h.vF)("serviceEndpoints.api",""):P,M=v.headers,H=M===void 0?{}:M,N=v.sendLogRocketSessionHeader,V=N===void 0?!1:N,ae=((t=(0,oe.Te)())===null||t===void 0?void 0:t.sessionURL)||"",J=i.A.create({baseURL:D,headers:V&&ae?Object.assign({},H,{"X-LogRocket-URL":ae}):H});J!=null&&(l=J.defaults)!==null&&l!==void 0&&l.timeout&&(J.defaults.timeout=ce),Re(J);var te=J?.interceptors||{},ie=te.request,X=te.response;return ie&&ie.use(he),X&&X.use(We,Ne),J},De=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},l=t.baseURL,v=t.headers,P=v===void 0?{}:v,D=t.sendLogRocketSessionHeader,M=D===void 0?!1:D,H=ue(t,Pe);return Q(Object.assign({baseURL:l,headers:Object.assign({Authorization:ne()},P),sendLogRocketSessionHeader:M},H))},Ae,U=async function(t){var l=t.code,v=t.clientId,P=t.scope,D=t.redirectUri,M=new URLSearchParams;M.append("grant_type","authorization_code"),M.append("client_id",v),M.append("redirect_uri",D),M.append("scope",P),M.append("code",l);var H=await Ae().post("/oauth2/v1/token",M),N=H.data;return{tokenType:N.token_type,accessToken:N.access_token}},q=async function(t){var l=t.clientId,v=t.token,P=new URLSearchParams;P.append("token",v),P.append("client_id",l),await Q().post("/oauth2/v1/token/revocation",P)},F=async function(t){var l=t.clientId,v=t.accessToken,P=new URLSearchParams;P.append("token",v),P.append("client_id",l);var D=await Q().post("/oauth2/v1/token/introspection",P),M=D.data;return M},re=e("./lib/utils/logger.ts"),B=e("./lib/utils/log-records.ts"),ge=e("./node_modules/.pnpm/@elliemae+pui-analytics-so@1.7.1/node_modules/@elliemae/pui-analytics-so/dist/esm/baEventParameters.js"),we=e("./lib/analytics/index.ts"),Se,Te,ee=function(t){var l=t.instanceId,v=t.userId;Se({instanceId:l,userId:v}),Te({data:{event:"login"}})},Ee=function(){(0,we.e)({data:{event:"logout"}}),(0,ge.nE)({instanceId:"",userId:""})},Qe=e("./node_modules/.pnpm/@elliemae+pui-analytics-so@1.7.1/node_modules/@elliemae/pui-analytics-so/dist/esm/logrocket.js"),ke,Ve,Je,xe,Xe,qe,Ye,et,$,Ke,Oe,tt,st,Ce,nt="serviceEndpoints.idp",Et=function(){return!!$()},ht=function(){var t=new URL(window.location.href),l=t.searchParams.get("code")||"",v=t.searchParams.get("error_code")||"";return t.search="",{code:l,idpErrorCode:v,redirectUri:t.href}},gt=function(t){var l=t.clientId,v=t.redirectUri,P=t.idpErrorCode,D=t.scope,M=t.responseType,H=t.instanceId,N=t.siteId,V=t.userId,ae=t.disableRememberMe,J=t.useCompactIdpPage,te=t.isSSO,ie=Oe(nt,""),X=new URL("/authorize",ie),je=Object.assign({client_id:l,redirect_uri:v,response_type:M??"",scope:D},H!==void 0&&{instance_id:String(H)},N!==void 0&&{site_id:String(N)},V!==void 0&&{user_id:V},ae!==void 0&&{disable_remember_me:String(ae)},J!==void 0&&{tpoifr:String(J)},te!==void 0&&{is_sso:String(te)}),He=new URLSearchParams(P?Object.assign({},je,{error_code:P}):je);X.search=He.toString(),window.location.replace(X.href)},Ze=async function(t){var l=t.clientId,v=t.redirectUri,P=t.responseType,D=t.scope,M=t.code,H=M===void 0?"":M,N=t.customLogoutUrl,V=N===void 0?"":N,ae=t.skipRevoke,J=ae===void 0?!1:ae;try{var te=S();sessionStorage.clear();var ie=te?te.split(" ")[1]:"";J||await q({clientId:l,token:ie}),Ee(),(0,oe.K3)("logout"),(0,Qe.E3)(),(0,ge.nE)({instanceId:"",userId:""});var X;if(V)X=new URL("/",V);else{var je=(0,h.vF)(nt,"");X=new URL("/authorize",je);var He=Object.assign({client_id:l,redirect_uri:v||""},H&&{error_code:H},{response_type:P||"",scope:D}),ut=new URLSearchParams(He);X.search=ut.toString()}window.location.replace(X.href)}catch(ct){var Ge;(Ge=(0,re.t)())===null||Ge===void 0||Ge.error(Object.assign({},B.V.LOGOUT_FAILED,{exception:ct}))}},rt=async function(t){var l=t.code,v=t.redirectUri,P=t.clientId,D=t.scope,M=t.responseType,H=t.isConsumerUser;try{var N=await Je({code:l,clientId:P,scope:D,redirectUri:v}),V=N.tokenType,ae=N.accessToken;st({clientId:P,scope:D,responseType:M,redirectUri:v});var J=`${V} ${ae}`;Ke(J);var te=await xe({clientId:P,accessToken:ae});sessionStorage.setItem("user",JSON.stringify(te));var ie=te.encompass_instance_id,X=te.user_name,je=te.bearer_token,He=te.user_key,ut={bearerToken:je,realm:ie,userName:X,sessionId:je?.replace(`${ie} `,"")};sessionStorage.setItem("cred",JSON.stringify(ut)),sessionStorage.setItem("instanceId",ie),sessionStorage.setItem("userId",X),qe({instanceId:ie,userId:X}),ke({instanceId:ie,userId:X});var Ge={name:X,instanceId:ie};Ye(He,Ge),et("login",Ge);var ct=await Xe({userName:X,isConsumerUser:H});sessionStorage.setItem("userSettings",JSON.stringify(ct));var Pt=new URL(v).pathname;Ve.replace(Pt)}catch(ft){var vt,mt,pt,wt=ft==null||(vt=ft.response)===null||vt===void 0||(mt=vt.data)===null||mt===void 0?void 0:mt.code;await Ze({clientId:P,redirectUri:v,code:wt,scope:D,responseType:M}),(pt=Ce())===null||pt===void 0||pt.error(Object.assign({},tt.LOGIN_FAILED,{exception:ft}))}},xt=async function(t){var l=t.clientId,v=t.scope,P=t.responseType,D=t.isConsumerUser,M=t.instanceId,H=t.siteId,N=t.userId,V=t.disableRememberMe,ae=t.useCompactIdpPage,J=t.isSSO,te=ht(),ie=te.code,X=te.idpErrorCode,je=te.redirectUri,He={clientId:l,scope:v,responseType:P,redirectUri:je,code:ie,idpErrorCode:X,isConsumerUser:D,instanceId:M,siteId:H,userId:N,disableRememberMe:V,useCompactIdpPage:ae,isSSO:J};return ie?(await rt(He),{authorized:!0}):(gt(He),{authorized:!1})},Fe,Be,it=Date.now(),$e=[],ze=[],y=[],o=["click","scroll","keypress","touchstart"],n=!1,c,R,Z=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;n=!1,R=null,it=Date.now(),Promise.resolve().then(function(){y.forEach(function(l){return l(t)})}).catch(function(){})},Ie=async function(){var t=m();try{if(Z(!0),t!=null&&t.clientId){var l=S();if(!l)throw new Error("Authorization token not found to extend session");var v=l.split(" ")[1];await F({clientId:t.clientId,accessToken:v})}}catch(D){var P;(P=(0,re.t)())===null||P===void 0||P.error(Object.assign({},B.V.SESSION_RENEWAL_FAILED,{exception:D})),await Ze(Object.assign({},t,{skipRevoke:!0}))}},Me=u()(Ie,b.eE,{leading:!0}),at=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:(0,h.vF)("sessionTimeoutWarnInterval")||b.J2.WARN;return Date.now()-it>t},bt=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:(0,h.vF)("sessionTimeoutInterval")||b.J2.EXPIRY;return Date.now()-it>t},lt=function(){n=!0,R=Date.now(),Promise.resolve().then(function(){$e.forEach(function(t){return t(R)}),o.forEach(function(t){document.removeEventListener(t,Me)})}).catch(function(){})},dt=function(){return Promise.resolve().then(function(){ze.forEach(function(t){return t()})})},It=function(){o.forEach(function(t){document.removeEventListener(t,Me)}),clearInterval(c),$e.length=0,ze.length=0},St=function(){bt()?dt().then(function(){It()}).catch(function(){}):!n&&at()&&lt()},yt=function(t,l){var v=t.findIndex(function(P){return P===l});v>-1&&t.splice(v,1)},_t=function(){o.forEach(function(t){document.addEventListener(t,Me)})},Ot=function(){_t(),c=setInterval(St,1e3)},jt=function(t){return $e.push(t),yt.bind(null,$e,t)},Rt=function(t){return ze.push(t),yt.bind(null,ze,t)},At=function(t){return y.push(t),yt.bind(null,y,t)},Dt=function(t,l){if(!t)return function(){};var v=Fe(l,Be,{leading:!0});return o.forEach(function(P){return t.addEventListener(P,v)}),function(){o.forEach(function(P){return t.removeEventListener(P,l)}),o.forEach(function(P){return t.removeEventListener(P,v)})}}},"./lib/utils/window.ts"(A,g,e){"use strict";e.d(g,{D:()=>x,M5:()=>m,OX:()=>S,zk:()=>p});var d=e("./node_modules/.pnpm/@elliemae+pui-theme@2.13.0/node_modules/@elliemae/pui-theme/dist/cjs/index.js"),u=e.n(d),p=function(){try{return window.parent.document,window.parent}catch{return window}},m=function(){return{width:Math.max(document.documentElement.clientWidth||0,window.innerWidth||0),height:Math.max(document.documentElement.clientHeight||0,window.innerHeight||0)}},b=function(I){return Number(I?.replace("px",""))},x=function(){var I=m(),E=I.width,i=(0,d.getDefaultTheme)(),h=i.breakpoints;return E<=b(h.small)?"small":E<=b(h.medium)?"medium":E<=b(h.xsmall)?"xsmall":"large"},S=function(){var I,E,i,h,f=((I=window)===null||I===void 0||(E=I.emui)===null||E===void 0?void 0:E._ASSET_PATH)||"latest/";if(!((i=window.emui)!==null&&i!==void 0&&i.version))return f;var j=(h=window.emui)===null||h===void 0?void 0:h.version.match(/^(?:\d+\.\d+)*/g);return j&&j[0]?f.replace("latest/",`${j[0]}/`):f}},"./lib/view/error-toast/index.tsx"(A,g,e){"use strict";e.d(g,{Q:()=>f});var d=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/objectWithoutProperties.js"),u=e.n(d),p=e("./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js"),m=e("./node_modules/.pnpm/@elliemae+ds-toast@3.61.8_@elliemae+pui-theme@2.13.0/node_modules/@elliemae/ds-toast/dist/esm/parts/DSToast.js"),b=e("./node_modules/.pnpm/@elliemae+ds-toast@3.61.8_@elliemae+pui-theme@2.13.0/node_modules/@elliemae/ds-toast/dist/esm/toast.js"),x=e("./node_modules/.pnpm/@elliemae+ds-toast@3.61.8_@elliemae+pui-theme@2.13.0/node_modules/@elliemae/ds-toast/dist/esm/constants.js"),S=e("./lib/data/useAppDispatch.ts"),I=e("./lib/data/useAppSelector.ts"),E=e("./lib/data/error/index.ts"),i=e("./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js"),h=["position","messageTitle","type","description","messageText","messageComponent"],f=(0,p.memo)(function(j){var O=(0,I.G)(function(w){return w?.error}),L=(0,S.j)();return(0,p.useEffect)(function(){if(O&&(O!=null&&O.description||O!=null&&O.messageText)){var w=Object.assign({position:x.xJ.TOP_RIGHT,messageTitle:"Error",type:x.Ck.ERROR},j,O),T=w.position,k=w.messageTitle,ye=w.type,fe=w.description,z=w.messageText,K=w.messageComponent,se=u()(w,h),Y=fe||z;Y&&(0,b.o)({messageText:Y,messageTitle:k,type:ye,messageComponent:K},Object.assign({position:T},se)),L(E.o.clear())}},[O,j,L]),(0,i.jsx)(m.P_,Object.assign({},j))})},"./lib/view/live-message/index.tsx"(A,g,e){"use strict";e.d(g,{I:()=>b});var d=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/jsx.js"),u=e.n(d),p=e("./node_modules/.pnpm/react-aria-live@2.0.5_react@18.3.1/node_modules/react-aria-live/lib/index.js"),m=e("./lib/data/useAppSelector.ts"),b=function(){var x=(0,m.G)(function(I){var E;return(E=I.liveMessage)===null||E===void 0?void 0:E.message}),S=(0,m.G)(function(I){var E;return(E=I.liveMessage)===null||E===void 0?void 0:E.ariaLive});return u()(p.Iu,{message:x,"aria-live":S})};b.displayName="LiveMessage"},"./lib/view/modals/session-expiry/index.tsx"(A,g,e){"use strict";e.d(g,{_:()=>Re});var d=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/jsx.js"),u=e.n(d),p=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/slicedToArray.js"),m=e.n(p),b=e("./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js"),x=e("./node_modules/.pnpm/@elliemae+ds-button-v2@3.61.8_@elliemae+pui-theme@2.13.0/node_modules/@elliemae/ds-button-v2/dist/esm/parts/DSButtonV2/DSButtonV2.js"),S=e("./node_modules/.pnpm/@elliemae+ds-icons@3.61.8_@elliemae+pui-theme@2.13.0/node_modules/@elliemae/ds-icons/dist/esm/WarningCircle.js"),I=e("./node_modules/.pnpm/@elliemae+ds-hooks-focus-trap@3.61.8_@elliemae+pui-theme@2.13.0/node_modules/@elliemae/ds-hooks-focus-trap/dist/esm/DSHookOnFirstFocusIn.js"),E=e("./node_modules/.pnpm/@elliemae+ds-dialog@3.61.8_@elliemae+pui-theme@2.13.0/node_modules/@elliemae/ds-dialog/dist/esm/DSDialog.js"),i=e("./node_modules/.pnpm/@elliemae+ds-dialog@3.61.8_@elliemae+pui-theme@2.13.0/node_modules/@elliemae/ds-dialog/dist/esm/parts/DSDialogBody/DSDialogBody.js"),h=e("./node_modules/.pnpm/@elliemae+ds-dialog@3.61.8_@elliemae+pui-theme@2.13.0/node_modules/@elliemae/ds-dialog/dist/esm/parts/DSDialogDefaultLayout/DSDialogDefaultLayout.js"),f=e("./node_modules/.pnpm/@elliemae+ds-dialog@3.61.8_@elliemae+pui-theme@2.13.0/node_modules/@elliemae/ds-dialog/dist/esm/parts/DSDialogPrimaryMessage/DSDialogPrimaryMessage.js"),j=e("./node_modules/.pnpm/@elliemae+ds-dialog@3.61.8_@elliemae+pui-theme@2.13.0/node_modules/@elliemae/ds-dialog/dist/esm/parts/DSDialogSecondaryMessage/DSDialogSecondaryMessage.js"),O=e("./node_modules/.pnpm/@elliemae+ds-dialog@3.61.8_@elliemae+pui-theme@2.13.0/node_modules/@elliemae/ds-dialog/dist/esm/parts/DSDialogSeparator/DSDialogSeparator.js"),L=e("./node_modules/.pnpm/@elliemae+ds-dialog@3.61.8_@elliemae+pui-theme@2.13.0/node_modules/@elliemae/ds-dialog/dist/esm/parts/DSDialogFooter/DSDialogFooter.js"),w=e("./lib/data/useAppDispatch.ts"),T=e("./lib/data/logout/actions.ts"),k=e("./lib/utils/session.ts"),ye=e("./node_modules/.pnpm/date-fns@2.30.0/node_modules/date-fns/esm/differenceInMinutes/index.js"),fe=e("./node_modules/.pnpm/date-fns@2.30.0/node_modules/date-fns/esm/getSeconds/index.js"),z=e("./lib/utils/constants.ts"),K=e("./lib/utils/app-config/config.ts"),se=function(le){var he=(0,b.useState)(),_e=m()(he,2),de=_e[0],Ue=_e[1];return(0,b.useEffect)(function(){var We=function(){var oe=(0,K.vF)("sessionTimeoutWarnInterval"),ue=(0,K.vF)("sessionTimeoutInterval"),ne=oe?parseFloat(oe):z.J2.WARN,Pe=ue?parseFloat(ue):z.J2.EXPIRY,ce=Pe-ne,Q=le+ce,De=(0,fe.A)(Q-Date.now()),Ae=(0,ye.A)(Q,Date.now());return{seconds:`0${De}`.slice(-2),minutes:`0${Ae}`.slice(-2)}},Ne=setInterval(function(){var oe=We(),ue=oe.seconds,ne=oe.minutes;Ue(`${ne}:${ue}`)},1e3);return function(){clearInterval(Ne)}},[le]),de},Y,Le,Re=(0,b.memo)(function(le){var he=le.open,_e=le.warningNotifiedAt,de=_e===void 0?0:_e,Ue=(0,b.useState)(he),We=m()(Ue,2),Ne=We[0],oe=We[1],ue=se(de),ne=(0,w.j)(),Pe=(0,b.useRef)(null),ce=(0,b.useRef)(null),Q=(0,I.r)({firstElementRef:Pe,lastElementRef:ce});(0,b.useEffect)(function(){oe(he)},[he]);var De=async function(){oe(!1),await(0,k.KB)(),(0,k.lQ)(),ne(T.r.cancel())},Ae=function(){oe(!1),ne(T.r.confirm())};return ue?u()(E.O,{onKeyDown:Q,isOpen:Ne,size:"small"},void 0,u()(i.u,{p:"s"},void 0,u()(h.D,{},void 0,u()(S.A,{size:"xl",color:["warning","900"]}),u()(f.T,{},void 0,`Your session will expire in ${ue}`),Y||(Y=u()(j.z,{},void 0,"Please logout or reset your session")))),Le||(Le=u()(O.Z,{})),u()(L.r,{},void 0,u()(x.e,{innerRef:Pe,buttonType:"outline",onClick:Ae},void 0,"Logout"),u()(x.e,{innerRef:ce,onClick:function(){De().catch(function(){})}},void 0,"Reset"))):null})},"./lib/view/session-timeout/index.tsx"(A,g,e){"use strict";e.d(g,{S:()=>h});var d=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/jsx.js"),u=e.n(d),p=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/slicedToArray.js"),m=e.n(p),b=e("./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js"),x=e("./lib/data/useAppDispatch.ts"),S=e("./lib/data/logout/actions.ts"),I=e("./lib/utils/session.ts"),E=e("./lib/view/modals/session-expiry/index.tsx"),i=e("./lib/communication/http-client/props.ts"),h=function(){var f=(0,x.j)(),j=(0,b.useState)(!1),O=m()(j,2),L=O[0],w=O[1],T=(0,b.useState)(),k=m()(T,2),ye=k[0],fe=k[1];return(0,b.useEffect)(function(){i.K.resetUserIdleTime=I.oB,(0,I.LC)();var z=(0,I.Lw)(function(Y){Y&&(fe(Y),w(!0))}),K=(0,I.lD)(function(Y){Y===!0&&w(!1)}),se=(0,I.n5)(function(){f(S.r.confirm()),w(!1)});return function(){z(),K(),se(),(0,I.z3)()}},[f]),u()("div",{},void 0,L&&u()(E._,{open:!0,warningNotifiedAt:ye}))};h.displayName="SessionTimeout"},"./lib/view/wait-message/index.tsx"(A,g,e){"use strict";e.d(g,{j:()=>fe});var d=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/jsx.js"),u=e.n(d),p=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/slicedToArray.js"),m=e.n(p),b=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/objectWithoutProperties.js"),x=e.n(b),S=e("./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js"),I=e("./node_modules/.pnpm/styled-components@5.3.11_react-dom@18.3.1_react@18.3.1/node_modules/styled-components/dist/styled-components.browser.cjs.js"),E=e("./node_modules/.pnpm/@elliemae+ds-backdrop@3.61.8_@elliemae+pui-theme@2.13.0/node_modules/@elliemae/ds-backdrop/dist/esm/Backdrop.js"),i=e("./node_modules/.pnpm/@elliemae+ds-circular-progress-indicator@3.61.8_@elliemae+pui-theme@2.13.0/node_modules/@elliemae/ds-circular-progress-indicator/dist/esm/v2/DSCircularIndeterminateIndicator.js"),h=e("./lib/data/useAppSelector.ts"),f=e("./lib/view/wait-message/use-html-wait-message.tsx"),j=e("./lib/analytics/index.ts"),O=function(){return(0,j.e)({data:{event:"pageInteractionEnabled"}})},L=function(){return(0,j.e)({data:{event:"pageInteractionDisabled"}})},w=e("./lib/utils/logrocket.ts"),T=e("./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js"),k=["size","color","showText","withTooltip","tooltipStartPlacementPreference"],ye=(0,I.default)(i.p).withConfig({componentId:"sc-3aqsjr-0"})(["position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);"]),fe=(0,S.memo)(function(z){var K=z.size,se=K===void 0?"xl":K,Y=z.color,Le=Y===void 0?"light":Y,Re=z.showText,le=Re===void 0?!0:Re,he=z.withTooltip,_e=he===void 0?!1:he,de=z.tooltipStartPlacementPreference,Ue=de===void 0?"center":de,We=x()(z,k),Ne=(0,S.useContext)(I.ThemeContext),oe=(0,S.useRef)(!1),ue=(0,S.useState)(!1),ne=m()(ue,2),Pe=ne[0],ce=ne[1],Q=(0,h.G)(function(U){var q;return(q=U.waitMessage)===null||q===void 0?void 0:q.isOpen}),De=(0,h.G)(function(U){var q;return(q=U.waitMessage)===null||q===void 0?void 0:q.delay});oe.current=Q??!1;var Ae=(0,h.G)(function(U){var q;return(q=U.waitMessage)===null||q===void 0?void 0:q.message});return(0,S.useEffect)(function(){setTimeout(function(){Q&&oe.current&&(ce(!0),O(),(0,w.K3)("wait-spinner-start"))},De?1e3:0),Q||(ce(!1),L(),(0,w.K3)("wait-spinner-end"))},[De,Q]),(0,f.t)(Q!==null),Pe?(0,T.jsxs)(T.Fragment,{children:[u()(E.Ay,{zIndex:Ne.zIndex.loader}),(0,T.jsx)(ye,Object.assign({id:"em-loading",size:se,color:Le,showText:le,withTooltip:_e,tooltipStartPlacementPreference:Ue},We,{text:Ae}))]}):null})},"./lib/view/wait-message/use-html-wait-message.tsx"(A,g,e){"use strict";e.d(g,{t:()=>u});var d=e("./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js"),u=function(p){(0,d.useEffect)(function(){var m=document.getElementById("em-wait-message");m&&p&&m.remove()},[p])}},"./storybook-config-entry.js"(A,g,e){"use strict";var d=e("./node_modules/.pnpm/global@4.4.0/node_modules/global/window.js"),u=e.n(d),p=e("./node_modules/.pnpm/@storybook+preview-web@6.5.16/node_modules/@storybook/preview-web/dist/cjs/index.js"),m=e("./node_modules/.pnpm/@storybook+store@6.5.16/node_modules/@storybook/store/dist/cjs/index.js"),b=e("./node_modules/.pnpm/@storybook+client-api@6.5.16/node_modules/@storybook/client-api/dist/cjs/index.js"),x=e("./node_modules/.pnpm/@storybook+addons@6.5.16/node_modules/@storybook/addons/dist/cjs/public_api.js"),S=e("./node_modules/.pnpm/@storybook+channel-postmessage@6.5.16/node_modules/@storybook/channel-postmessage/dist/cjs/index.js"),I=e("./node_modules/.pnpm/@storybook+channel-websocket@6.5.16/node_modules/@storybook/channel-websocket/dist/cjs/index.js"),E=[async function(w){if(/^\.[\\/](?:lib(?:\/(?!\.)(?:(?:(?!(?:^|\/)\.).)*?)\/|\/|$)(?!\.)(?=.)[^/]*?\.stories\.(mdx|tsx|ts|jsx|js))$/.exec(w)){var T=w.substring(6);return e("./lib lazy recursive ^\\.\\/.*$ include: (?:\\/lib(?:\\/(?%21\\.)(?:(?:(?%21(?:^%7C\\/)\\.).)*?)\\/%7C\\/%7C$)(?%21\\.)(?=.)[^/]*?\\.stories\\.(mdx%7Ctsx%7Cts%7Cjsx%7Cjs))$")("./"+T)}}];async function i(w){for(var T=0;T<E.length;T++){var k=await E[T](w);if(k)return k}}var h=u().SERVER_CHANNEL_URL,f=function(){return(0,m.composeConfigs)([e("./node_modules/.pnpm/@storybook+react@6.5.16_@babel+core@7.29.7_@storybook+builder-webpack5@6.5.16_@storybook+mana_lctauyay7dg6nys5i6cagmqqp4/node_modules/@storybook/react/dist/esm/client/docs/config.js"),e("./node_modules/.pnpm/@storybook+react@6.5.16_@babel+core@7.29.7_@storybook+builder-webpack5@6.5.16_@storybook+mana_lctauyay7dg6nys5i6cagmqqp4/node_modules/@storybook/react/dist/esm/client/preview/config.js"),e("./node_modules/.pnpm/@storybook+addon-docs@6.5.16_@babel+core@7.29.7_eslint@8.57.1_typescript@5.9.3_webpack-cli@5.1.4_webpack@5.107.2/node_modules/@storybook/addon-docs/preview.js"),e("./node_modules/.pnpm/@storybook+addon-actions@6.5.16/node_modules/@storybook/addon-actions/preview.js"),e("./node_modules/.pnpm/@storybook+addon-backgrounds@6.5.16/node_modules/@storybook/addon-backgrounds/preview.js"),e("./node_modules/.pnpm/@storybook+addon-measure@6.5.16/node_modules/@storybook/addon-measure/preview.js"),e("./node_modules/.pnpm/@storybook+addon-outline@6.5.16/node_modules/@storybook/addon-outline/preview.js"),e("./node_modules/.pnpm/@storybook+addon-links@6.5.16/node_modules/@storybook/addon-links/preview.js"),e("./node_modules/.pnpm/@storybook+addon-interactions@6.5.16_eslint@8.57.1_typescript@5.9.3_webpack-cli@5.1.4/node_modules/@storybook/addon-interactions/preview.js"),e("./node_modules/.pnpm/@storybook+addon-a11y@6.5.16/node_modules/@storybook/addon-a11y/preview.js"),e("./.storybook/preview.js")])},j=(0,S.Ay)({page:"preview"});if(x.addons.setChannel(j),h){var O=(0,I.Ay)({url:h});x.addons.setServerChannel(O),window.__STORYBOOK_SERVER_CHANNEL__=O}var L=new p.PreviewWeb;window.__STORYBOOK_PREVIEW__=L,window.__STORYBOOK_STORY_STORE__=L.storyStore,window.__STORYBOOK_ADDONS_CHANNEL__=j,window.__STORYBOOK_CLIENT_API__=new b.ClientApi({storyStore:L.storyStore}),L.initialize({importFn:i,getProjectAnnotations:f})},"./node_modules/.pnpm/css-loader@5.2.7_webpack@5.107.2/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[11].use[1]!./lib/utils/storybook/preview.css"(A,g,e){"use strict";e.d(g,{A:()=>b});var d=e("./node_modules/.pnpm/css-loader@5.2.7_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js"),u=e.n(d),p=e("./node_modules/.pnpm/css-loader@5.2.7_webpack@5.107.2/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[11].use[1]!./node_modules/.pnpm/@elliemae+ds-basic@3.61.8/node_modules/@elliemae/ds-basic/dist/css/dimsum.css"),m=u()(function(x){return x[1]});m.i(p.A),m.push([A.id,`
5
- `,""]);const b=m},"@elliemae/pui-diagnostics"(A){"use strict";A.exports=emuiDiagnostics},"?6b64"(){}},A=>{var g=d=>A(A.s=d);A.O(0,[5685],()=>(g("./node_modules/.pnpm/@storybook+core-client@6.5.16_typescript@5.9.3_webpack@4.47.0/node_modules/@storybook/core-client/dist/esm/globals/polyfills.js"),g("./node_modules/.pnpm/@storybook+core-client@6.5.16_typescript@5.9.3_webpack@4.47.0/node_modules/@storybook/core-client/dist/esm/globals/globals.js"),g("./storybook-config-entry.js")));var e=A.O()}]);
@@ -1,5 +0,0 @@
1
- (globalThis.webpackChunk_elliemae_pui_app_sdk=globalThis.webpackChunk_elliemae_pui_app_sdk||[]).push([[8792],{"./lib lazy recursive ^\\.\\/.*$ include: (?:\\/lib(?:\\/(?%21\\.)(?:(?:(?%21(?:^%7C\\/)\\.).)*?)\\/%7C\\/%7C$)(?%21\\.)(?=.)[^/]*?\\.stories\\.(mdx%7Ctsx%7Cts%7Cjsx%7Cjs))$"(A,g,e){var d={"./view/breakpoint/index.stories":["./lib/view/breakpoint/index.stories.tsx",[946,999]],"./view/breakpoint/index.stories.tsx":["./lib/view/breakpoint/index.stories.tsx",[946,999]],"./view/error-toast/index.stories":["./lib/view/error-toast/index.stories.tsx",[1800]],"./view/error-toast/index.stories.tsx":["./lib/view/error-toast/index.stories.tsx",[1800]],"./view/fields/autocomplete/advanced-autocomplete.stories":["./lib/view/fields/autocomplete/advanced-autocomplete.stories.tsx",[946,5058,1156,5600,6469,3071]],"./view/fields/autocomplete/advanced-autocomplete.stories.tsx":["./lib/view/fields/autocomplete/advanced-autocomplete.stories.tsx",[946,5058,1156,5600,6469,3071]],"./view/fields/autocomplete/async-suggestions-autocomplete.stories":["./lib/view/fields/autocomplete/async-suggestions-autocomplete.stories.tsx",[946,5058,1156,5600,6469,9825]],"./view/fields/autocomplete/async-suggestions-autocomplete.stories.tsx":["./lib/view/fields/autocomplete/async-suggestions-autocomplete.stories.tsx",[946,5058,1156,5600,6469,9825]],"./view/fields/autocomplete/index.stories":["./lib/view/fields/autocomplete/index.stories.tsx",[946,5058,1156,5600,6469,8048]],"./view/fields/autocomplete/index.stories.tsx":["./lib/view/fields/autocomplete/index.stories.tsx",[946,5058,1156,5600,6469,8048]],"./view/fields/check-box/index.stories":["./lib/view/fields/check-box/index.stories.tsx",[946,5058,8654,590,9634,1281,2382]],"./view/fields/check-box/index.stories.tsx":["./lib/view/fields/check-box/index.stories.tsx",[946,5058,8654,590,9634,1281,2382]],"./view/fields/check-box/set-value.stories":["./lib/view/fields/check-box/set-value.stories.tsx",[946,5058,8654,590,9634,1281,5410]],"./view/fields/check-box/set-value.stories.tsx":["./lib/view/fields/check-box/set-value.stories.tsx",[946,5058,8654,590,9634,1281,5410]],"./view/fields/combo-box-v3/index.stories":["./lib/view/fields/combo-box-v3/index.stories.tsx",[946,5058,8654,3805,590,1156,9634,5600,102,1281,3804,3086]],"./view/fields/combo-box-v3/index.stories.tsx":["./lib/view/fields/combo-box-v3/index.stories.tsx",[946,5058,8654,3805,590,1156,9634,5600,102,1281,3804,3086]],"./view/fields/combo-box/index.stories":["./lib/view/fields/combo-box/index.stories.tsx",[946,5058,8654,3805,590,3085,6039,1770,6184]],"./view/fields/combo-box/index.stories.tsx":["./lib/view/fields/combo-box/index.stories.tsx",[946,5058,8654,3805,590,3085,6039,1770,6184]],"./view/fields/date-input/index.stories":["./lib/view/fields/date-input/index.stories.tsx",[946,5058,8654,3805,3085,725,4820,6055]],"./view/fields/date-input/index.stories.tsx":["./lib/view/fields/date-input/index.stories.tsx",[946,5058,8654,3805,3085,725,4820,6055]],"./view/fields/date-picker/index.stories":["./lib/view/fields/date-picker/index.stories.tsx",[946,5058,8654,3805,3085,725,2165,7813]],"./view/fields/date-picker/index.stories.tsx":["./lib/view/fields/date-picker/index.stories.tsx",[946,5058,8654,3805,3085,725,2165,7813]],"./view/fields/date-range-picker/index.stories":["./lib/view/fields/date-range-picker/index.stories.tsx",[946,5058,102,3923,7584,77]],"./view/fields/date-range-picker/index.stories.tsx":["./lib/view/fields/date-range-picker/index.stories.tsx",[946,5058,102,3923,7584,77]],"./view/fields/date-time-picker/index.stories":["./lib/view/fields/date-time-picker/index.stories.tsx",[946,5058,102,3923,2129]],"./view/fields/date-time-picker/index.stories.tsx":["./lib/view/fields/date-time-picker/index.stories.tsx",[946,5058,102,3923,2129]],"./view/fields/form-item-layout/index.stories":["./lib/view/fields/form-item-layout/index.stories.tsx",[946,5058,8654,3805,590,3085,6039,6285,3813]],"./view/fields/form-item-layout/index.stories.tsx":["./lib/view/fields/form-item-layout/index.stories.tsx",[946,5058,8654,3805,590,3085,6039,6285,3813]],"./view/fields/form-layout-block-item/index.stories":["./lib/view/fields/form-layout-block-item/index.stories.tsx",[946,5058,8654,3805,3085,2487]],"./view/fields/form-layout-block-item/index.stories.tsx":["./lib/view/fields/form-layout-block-item/index.stories.tsx",[946,5058,8654,3805,3085,2487]],"./view/fields/input-mask/index.stories":["./lib/view/fields/input-mask/index.stories.tsx",[946,5058,8654,3805,3085,5951,6729]],"./view/fields/input-mask/index.stories.tsx":["./lib/view/fields/input-mask/index.stories.tsx",[946,5058,8654,3805,3085,5951,6729]],"./view/fields/input-text/index.stories":["./lib/view/fields/input-text/index.stories.tsx",[946,5058,1156,1764]],"./view/fields/input-text/index.stories.tsx":["./lib/view/fields/input-text/index.stories.tsx",[946,5058,1156,1764]],"./view/fields/large-text-box/index.stories":["./lib/view/fields/large-text-box/index.stories.tsx",[946,5058,1491]],"./view/fields/large-text-box/index.stories.tsx":["./lib/view/fields/large-text-box/index.stories.tsx",[946,5058,1491]],"./view/fields/masked-input-text/with-money-mask.stories":["./lib/view/fields/masked-input-text/with-money-mask.stories.tsx",[946,5058,1156,5974]],"./view/fields/masked-input-text/with-money-mask.stories.tsx":["./lib/view/fields/masked-input-text/with-money-mask.stories.tsx",[946,5058,1156,5974]],"./view/fields/masked-input-text/with-percentage-mask.stories":["./lib/view/fields/masked-input-text/with-percentage-mask.stories.tsx",[946,5058,1156,8980]],"./view/fields/masked-input-text/with-percentage-mask.stories.tsx":["./lib/view/fields/masked-input-text/with-percentage-mask.stories.tsx",[946,5058,1156,8980]],"./view/fields/radio-group/index.stories":["./lib/view/fields/radio-group/index.stories.tsx",[946,5058,8654,3805,590,3085,9634,6039,6285,6316,2977]],"./view/fields/radio-group/index.stories.tsx":["./lib/view/fields/radio-group/index.stories.tsx",[946,5058,8654,3805,590,3085,9634,6039,6285,6316,2977]],"./view/fields/radio/index.stories":["./lib/view/fields/radio/index.stories.tsx",[946,5058,8654,590,9634,6531]],"./view/fields/radio/index.stories.tsx":["./lib/view/fields/radio/index.stories.tsx",[946,5058,8654,590,9634,6531]],"./view/fields/radio/set-value.stories":["./lib/view/fields/radio/set-value.stories.tsx",[946,5058,8654,590,9634,5055]],"./view/fields/radio/set-value.stories.tsx":["./lib/view/fields/radio/set-value.stories.tsx",[946,5058,8654,590,9634,5055]],"./view/fields/text-box/index.stories":["./lib/view/fields/text-box/index.stories.tsx",[946,5058,8654,3805,3085,8749]],"./view/fields/text-box/index.stories.tsx":["./lib/view/fields/text-box/index.stories.tsx",[946,5058,8654,3805,3085,8749]],"./view/fields/toggle/index.stories":["./lib/view/fields/toggle/index.stories.tsx",[946,5058,5936]],"./view/fields/toggle/index.stories.tsx":["./lib/view/fields/toggle/index.stories.tsx",[946,5058,5936]],"./view/form/index.stories":["./lib/view/form/index.stories.tsx",[946,5058,8654,3805,590,1156,9634,5600,102,1281,3923,3804,6220]],"./view/form/index.stories.tsx":["./lib/view/form/index.stories.tsx",[946,5058,8654,3805,590,1156,9634,5600,102,1281,3923,3804,6220]],"./view/form/usecases.stories":["./lib/view/form/usecases.stories.tsx",[946,5058,8654,3805,590,1156,9634,5600,102,1281,3923,3804,4580]],"./view/form/usecases.stories.tsx":["./lib/view/form/usecases.stories.tsx",[946,5058,8654,3805,590,1156,9634,5600,102,1281,3923,3804,4580]],"./view/intro.stories.mdx":["./lib/view/intro.stories.mdx",[721,1791,5711]],"./view/live-message/index.stories":["./lib/view/live-message/index.stories.tsx",[214]],"./view/live-message/index.stories.tsx":["./lib/view/live-message/index.stories.tsx",[214]],"./view/modals/error/index.stories":["./lib/view/modals/error/index.stories.tsx",[5541]],"./view/modals/error/index.stories.tsx":["./lib/view/modals/error/index.stories.tsx",[5541]],"./view/modals/navigation-prompt/index.stories":["./lib/view/modals/navigation-prompt/index.stories.tsx",[2758]],"./view/modals/navigation-prompt/index.stories.tsx":["./lib/view/modals/navigation-prompt/index.stories.tsx",[2758]],"./view/modals/session-expiry/index.stories":["./lib/view/modals/session-expiry/index.stories.tsx",[2327]],"./view/modals/session-expiry/index.stories.tsx":["./lib/view/modals/session-expiry/index.stories.tsx",[2327]],"./view/session-timeout/index.stories":["./lib/view/session-timeout/index.stories.tsx",[5662]],"./view/session-timeout/index.stories.tsx":["./lib/view/session-timeout/index.stories.tsx",[5662]],"./view/wait-message/index.stories":["./lib/view/wait-message/index.stories.tsx",[4531]],"./view/wait-message/index.stories.tsx":["./lib/view/wait-message/index.stories.tsx",[4531]]};function u(p){try{if(!e.o(d,p))return Promise.resolve().then(()=>{var x=new Error("Cannot find module '"+p+"'");throw x.code="MODULE_NOT_FOUND",x})}catch(x){return Promise.reject(x)}var m=d[p],b=m[0];return Promise.all(m[1].map(e.e)).then(()=>e(b))}u.keys=()=>Object.keys(d),u.id="./lib lazy recursive ^\\.\\/.*$ include: (?:\\/lib(?:\\/(?%21\\.)(?:(?:(?%21(?:^%7C\\/)\\.).)*?)\\/%7C\\/%7C$)(?%21\\.)(?=.)[^/]*?\\.stories\\.(mdx%7Ctsx%7Cts%7Cjsx%7Cjs))$",A.exports=u},"./.storybook/preview.js"(A,g,e){"use strict";e.r(g),e.d(g,{__namedExportsOrder:()=>is,decorators:()=>qt,loaders:()=>es,parameters:()=>ss});var d=e("./node_modules/.pnpm/@elliemae+pui-theme@2.13.0/node_modules/@elliemae/pui-theme/dist/cjs/index.js"),u=e("./node_modules/.pnpm/@reduxjs+toolkit@1.9.7_react-redux@8.1.3_react@18.3.1/node_modules/@reduxjs/toolkit/dist/redux-toolkit.cjs.production.min.js"),p=e("./node_modules/.pnpm/@reduxjs+toolkit@1.9.7_react-redux@8.1.3_react@18.3.1/node_modules/@reduxjs/toolkit/dist/query/rtk-query.cjs.production.min.js"),m=e("./node_modules/.pnpm/redux-injectors@2.1.0_react-dom@18.3.1_react-redux@8.1.3_react@18.3.1/node_modules/redux-injectors/dist/index.js"),b=e("./node_modules/.pnpm/redux-saga@1.5.0/node_modules/redux-saga/dist/redux-saga.cjs.js"),x=e.n(b),S=e("./node_modules/.pnpm/immer@9.0.21/node_modules/immer/dist/immer.cjs.production.min.js"),I=e("./lib/data/wait-message/actions.ts"),E={isOpen:null,message:"loading...",delay:!0},i=function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:E,s=arguments.length>1?arguments[1]:void 0;return(0,S.default)(a,function(r){switch(s.type){case I.k.OPEN:r.isOpen=!0,r.message=s.payload.message,r.delay=s.payload.delay;break;case I.k.CLOSE:r.isOpen=!1;break}})},h=e("./lib/data/error/index.ts"),f={change:"change"},j=function(a){return a.LARGE="large",a.MEDIUM="medium",a.SMALL="small",a.XSMALL="xsmall",a}({}),O={value:j.LARGE},L=function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:O,s=arguments.length>1?arguments[1]:void 0,r=s.type,_=s.payload;return(0,S.default)(a,function(C){switch(r){case f.change:C.value=_;break}})},w=e("./lib/data/live-message/index.ts"),T=function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},s=(0,u.combineReducers)(Object.assign({waitMessage:i,error:h.L,breakpoint:L,liveMessage:w.k},a));return s},k=e("./lib/data/webpack-hmr.ts"),ye=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/toConsumableArray.js"),fe=e.n(ye),z=e("./node_modules/.pnpm/redux@4.2.1/node_modules/redux/lib/redux.js"),K=new Map,se,Y=function(a){return se=a,function(s){return function(r){return z.compose.apply(void 0,fe()(K.values()))(s)(r)}}},Le=function(a){var s=a.reducerPath,r=a.middleware;K.has(s)||!se||K.set(s,r(se))},Re=function(a){K.delete(a)},le=function(){K.clear()},he,_e,de=(0,u.createListenerMiddleware)(),Ue=de.startListening,We=null,Ne=null,oe=de.clearListeners,ue=T(),ne=null,Pe=function(a){ne=a},ce=function(){return ne},Q=function(a,s,r){var _=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},C=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},W=s.run,G=[(0,m.OV)({createReducer:T,runSaga:W})];ue=T(C);var ve=(0,u.configureStore)({reducer:ue,middleware:function(be){return be(_).prepend(de.middleware).concat([s,Y])},devTools:!1,preloadedState:a,enhancers:G});return(0,p.setupListeners)(ve.dispatch),(0,k.I)(ve),ve},De=function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},s=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0,_=arguments.length>3?arguments[3]:void 0,C=x()({}),W=Q(a,C,s,r,_);return Pe(W),W},Ae=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/jsx.js"),U=e.n(Ae),q=e("./lib/utils/history.ts"),F=e("./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js"),re=e("./node_modules/.pnpm/react-redux@8.1.3_@types+react-dom@18.3.7_@types+react@18.3.31_react-dom@18.3.1_react@18.3.1/node_modules/react-redux/lib/index.js"),B=e("./node_modules/.pnpm/styled-components@5.3.11_react-dom@18.3.1_react@18.3.1/node_modules/styled-components/dist/styled-components.browser.cjs.js"),ge=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/slicedToArray.js"),we=e.n(ge),Se=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/objectWithoutProperties.js"),Te=e.n(Se),ee=e("./node_modules/.pnpm/react-router-dom@6.30.4_react-dom@18.3.1_react@18.3.1/node_modules/react-router-dom/dist/umd/react-router-dom.production.min.js"),Ee=e("./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js"),Qe=["history","basename"],ke=function(a){var s=a.history,r=a.basename,_=Te()(a,Qe),C=(0,F.useState)({action:s.action,location:s.location}),W=we()(C,2),G=W[0],ve=W[1];return(0,F.useLayoutEffect)(function(){r&&G.location.pathname&&!G.location.pathname.startsWith(r)&&console.warn(`[AppRouter] basename "${r}" does not match location.pathname "${G.location.pathname}". React Router will render nothing. Verify that "homeRoute" in app.config.json matches the guest's route.`)},[r,G.location.pathname]),(0,F.useLayoutEffect)(function(){var be=s.listen(function(){for(var me=arguments.length,pe=new Array(me),ot=0;ot<me;ot++)pe[ot]=arguments[ot];pe.length===2?ve({location:pe[0],action:pe[1]}):ve(pe[0])});return function(){be()}},[s]),(0,Ee.jsx)(ee.Router,Object.assign({},_,{basename:r,location:G.location,navigationType:G.action,navigator:s}))};ke.displayName="AppRouter";var Ve=e("./node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/merge.js"),Je=e("./lib/utils/micro-frontend/guest.ts"),xe=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/classCallCheck.js"),Xe=e.n(xe),qe=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/createClass.js"),Ye=e.n(qe),et=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/classPrivateFieldLooseBase.js"),$=e.n(et),Ke=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/classPrivateFieldLooseKey.js"),Oe=e.n(Ke),tt=e("./node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/throttle.js"),st=e.n(tt),Ce=e("./node_modules/.pnpm/pubsub-js@1.9.5/node_modules/pubsub-js/src/pubsub.js"),nt=e("./node_modules/.pnpm/@elliemae+pui-analytics-so@1.7.1/node_modules/@elliemae/pui-analytics-so/dist/esm/analytics.js"),Et=e("./node_modules/.pnpm/@elliemae+pui-analytics-so@1.7.1/node_modules/@elliemae/pui-analytics-so/dist/esm/baEventParameters.js"),ht=e("./lib/data/logout/actions.ts"),gt=e("./lib/utils/app-config/config.ts"),Ze=e("./lib/utils/app-config/index.ts"),rt=e("./lib/utils/console-logger.ts"),xt=e("./lib/utils/logger.ts"),Fe=e("./lib/utils/constants.ts"),Be=e("./lib/utils/window.ts"),it=e("./lib/utils/session.ts"),$e=e("./lib/utils/micro-frontend/app-bridge.ts"),ze=e("./lib/utils/micro-frontend/ssf-host.ts"),y,o=Oe()("ssfHostRef"),n=Oe()("appBridge"),c=Oe()("selfInitialize"),R=function(){function a(s){var r,_,C,W,G,ve,be=this;Xe()(this,a),this.logger=void 0,this.appId=void 0,this.props=void 0,this.activeGuests=void 0,this.onInit=void 0,this.onRenewSessionTimer=void 0,this.throttleRenewSessionTimer=void 0,this.scriptingObjects=void 0,Object.defineProperty(this,o,{writable:!0,value:void 0}),Object.defineProperty(this,n,{writable:!0,value:null}),Object.defineProperty(this,c,{writable:!0,value:void 0}),this.appId=(0,gt.vF)("appId"),this.onInit=s?.onInit,this.logger=s?.logger||rt.k,(0,xt.B)(this.logger),this.onRenewSessionTimer=s?.onRenewSessionTimer,$()(this,c)[c]=(r=s?.selfInitialize)!==null&&r!==void 0?r:!1,this.props={systemVersion:(_=s?.version)!==null&&_!==void 0?_:"latest",history:(C=s?.history)!==null&&C!==void 0?C:q.N,theme:(W=s?.theme)!==null&&W!==void 0?W:(0,d.getDefaultTheme)()},this.activeGuests={},s!=null&&s.ssfHostRef&&(0,ze.Z)(s.ssfHostRef),$()(this,o)[o]=(0,ze.F)();var me=(G=s?.analytics)!==null&&G!==void 0?G:new nt.j({logger:this.logger});this.scriptingObjects=Object.assign({analytics:me},(ve=s?.scriptingObjects)!==null&&ve!==void 0?ve:{}),this.getProps=this.getProps.bind(this),this.getLogger=this.getLogger.bind(this),this.getGuests=this.getGuests.bind(this),this.getGuest=this.getGuest.bind(this),this.getObject=this.getObject.bind(this),this.renewSessionTimer=this.renewSessionTimer.bind(this),this.setSystemVersion=this.setSystemVersion.bind(this),this.sendBAEvent=this.sendBAEvent.bind(this),this.throttleRenewSessionTimer=st()(async function(){await(0,it.KB)(),be.onRenewSessionTimer&&be.onRenewSessionTimer()},Fe.eE,{leading:!0}),$()(this,c)[c]||(0,Ze.yN)().then(function(){(0,$e.b)().then(function(pe){$()(be,n)[n]=pe,be.onInit&&be.onInit(be.props)}).catch(function(pe){throw pe})}).catch(function(){}),(0,Et.nE)({appId:this.appId})}return Ye()(a,[{key:"initialize",value:async function(){e.p=e.p.replace(/\/?$/,"/"),await(0,Ze.yN)();var r=await(0,$e.b)();return $()(this,n)[n]=r,this.onInit&&this.onInit(this.props),this.props}},{key:"getProps",value:function(){return this.props}},{key:"getLogger",value:function(){return this.logger}},{key:"getItem",value:function(r){return(0,Be.zk)().sessionStorage.getItem(r)}},{key:"setItem",value:function(r,_){(0,Be.zk)().sessionStorage.setItem(r,_)}},{key:"getGuests",value:function(){return this.activeGuests}},{key:"getGuest",value:function(r){return this.activeGuests[r]?this.activeGuests[r]:null}},{key:"publish",value:function(r,_){return(0,Ce.publish)(r,_)}},{key:"subscribe",value:function(r,_){return(0,Ce.subscribe)(r,_)}},{key:"unsubscribe",value:function(r){(0,Ce.unsubscribe)(r)}},{key:"navigate",value:function(r,_){r&&this.props.history.push(r,_)}},{key:"openWaitMessage",value:function(){var r=ce();r&&r.dispatch(I.X.open())}},{key:"closeWaitMessage",value:function(){var r=ce();r&&r.dispatch(I.X.close())}},{key:"openErrorBanner",value:function(r){var _=ce();_&&_.dispatch(h.o.set({description:r}))}},{key:"getAuthToken",value:function(){return(0,Be.zk)().sessionStorage.getItem("Authorization")}},{key:"renewAuthToken",value:function(){return(0,Be.zk)().sessionStorage.getItem("Authorization")}},{key:"logout",value:function(){var r=ce();r&&r.dispatch(ht.r.confirm())}},{key:"renewSessionTimer",value:async function(){this.throttleRenewSessionTimer()}},{key:"getBreakpoint",value:function(){return(0,Be.D)()}},{key:"getViewportSize",value:function(){return(0,Be.M5)()}},{key:"onResizeEvent",value:function(r){return(0,Ce.subscribe)(Fe.BD,function(_,C){return r(C)})}},{key:"onBreakpointChangeEvent",value:function(r){return(0,Ce.subscribe)(Fe.H1,function(_,C){return r(C)})}},{key:"setSystemVersion",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"latest";window.emui.version=r,this.props.systemVersion=r}},{key:"sendBAEvent",value:function(r){this.scriptingObjects.analytics.sendBAEvent(r).catch(function(){})}},{key:"getObject",value:async function(r){return this.scriptingObjects[r]}},{key:"addScriptingObject",value:function(r,_){$()(this,n)[n]&&$()(this,n)[n].addScriptingObject(r,_),$()(this,o)[o].addScriptingObject(r,_)}},{key:"dispatchEvent",value:async function(r){if($()(this,n)[n]){var _=await Promise.all([$()(this,n)[n].dispatchEvent(r),$()(this,o)[o].dispatchEvent(r)]),C=we()(_,2),W=C[0],G=C[1];return Array.isArray(W)&&Array.isArray(G)?W.concat(G):Promise.resolve()}return $()(this,o)[o].dispatchEvent(r)}},{key:"removeScriptingObject",value:function(r,_){$()(this,n)[n]&&$()(this,n)[n].removeScriptingObject(r,_),$()(this,o)[o].removeScriptingObject(r,_)}}],[{key:"getInstance",value:function(r){return this.instance||(this.instance=new a(r),r!=null&&r.selfInitialize||(r?.logger||rt.k).warn("CMicroAppHost.getInstance() called without selfInitialize: true \u2014 this legacy mode is deprecated. Pass { selfInitialize: true } and use initialize() instead.")),this.instance}},{key:"isInitialized",value:function(){return!!this.instance}}])}();y=R,R.instance=void 0;var Z,Ie,Me,at,bt,lt,dt=function(){return R.isInitialized()},It=function(){return Je.h.isInitialized()},St=function(){return It()&&window.top===window.self},yt=function(){return dt()?R.getInstance().getLogger():Je.h.getInstance().getLogger()},_t=function(a){return at()?!0:a?a===lt.PRODUCTION:!0},Ot=function(a){var s=Ie.getInstance().getProps(),r=s.systemVersion,_=r.match(/^(?:\d+\.\d+)*/g);return a.replace(/{SYSTEM_VERSION}/,_&&_[0]||"latest")},jt=function(a){var s;return a==null||(s=a.replace)===null||s===void 0?void 0:s.call(a,/\/?$/,"/")},Rt=function(a){var s=Me(`microFrontendApps.${a.id}`);if(!s)throw new Error(`unable to locate application configuraiton for ${a.id} under microFrontendApps section of app.config.json`);var r=s.mode,_=r===void 0?lt.PRODUCTION:r,C=_t(_)?s.production:s.development;s.production&&delete s.production,s.development&&delete s.development;var W=Z(a,{mode:"production",hostUrl:"./",manifestPath:"./{SYSTEM_VERSION}",isJsModule:!1},s,C);return W.hostUrl=bt(W.hostUrl.replace(/\/?$/,"/")),W.manifestPath=jt(Ot(W.manifestPath)),W},At=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"),Dt=e.n(At),t=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/getPrototypeOf.js"),l=e.n(t),v=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/inherits.js"),P=e.n(v),D=function(a){var s=a.error,r=s===void 0?new Error("We are unable to process your request"):s,_=a.errorInfo,C=_===void 0?{componentStack:"Please close your browser and login again"}:_;return U()("div",{},void 0,U()("h2",{},void 0,r?.message),U()("section",{},void 0,C?.componentStack))};D.displayName="DefaultErrorTemplate";var M=e("./lib/utils/log-records.ts");function H(a,s,r){return s=l()(s),Dt()(a,N()?Reflect.construct(s,r||[],l()(a).constructor):s.apply(a,r))}function N(){try{var a=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(N=function(){return!!a})()}var V=function(a){function s(r){var _;return Xe()(this,s),_=H(this,s,[r]),_.state={error:null,errorInfo:null},_}return P()(s,a),Ye()(s,[{key:"componentDidCatch",value:function(_,C){this.setState({error:_,errorInfo:C});var W=yt();W&&W.error(Object.assign({},M.V.UNHANDLED_ERROR,{exception:_,message:_.message}))}},{key:"render",value:function(){var _=this.props,C=_.children,W=_.errorTemplate,G=W||D,ve=this.state,be=ve.error,me=ve.errorInfo;return me?U()(G,{error:be,errorInfo:me}):C}}])}(F.Component),ae=e("./node_modules/.pnpm/react-aria-live@2.0.5_react@18.3.1/node_modules/react-aria-live/lib/index.js"),J=e("./lib/data/useAppDispatch.ts"),te=function(a,s,r){var _=a.map(function(me){return window.matchMedia(me)}),C=(0,F.useCallback)(function(){var me=_.findIndex(function(pe){return pe.matches});return typeof s[me]<"u"?s[me]:r},[r,_,s]),W=(0,F.useState)(C),G=we()(W,2),ve=G[0],be=G[1];return(0,F.useEffect)(function(){var me=function(){return be(C)};return _.forEach(function(pe){return pe.addEventListener("change",me)}),function(){return _.forEach(function(pe){return pe.removeEventListener("change",me)})}},[C,_]),ve},ie=function(){var a=(0,F.useContext)(B.ThemeContext),s=te([`(max-width: ${a.breakpoints.small})`,`(max-width: ${a.breakpoints.medium})`,`(max-width: ${a.breakpoints.large})`,`(max-width: ${a.breakpoints.xsmall})`],["small","medium","large","xsmall"],"large"),r=(0,J.j)();(0,F.useEffect)(function(){r({type:f.change,payload:s}),(0,Ce.publish)(Fe.H1,s)},[s,r])},X=function(){(0,F.useEffect)(function(){if(window.ResizeObserver){var a=new ResizeObserver(function(s){(0,Ce.publish)(Fe.BD,s&&s[0])});return a.observe(window.document.documentElement),function(){a.unobserve(window.document.documentElement)}}return function(){}},[])},je=e("./lib/view/session-timeout/index.tsx"),He=e("./lib/view/live-message/index.tsx"),ut=e("./lib/view/error-toast/index.tsx"),Ge=e("./lib/view/wait-message/index.tsx");const ct=(0,B.createGlobalStyle)([":root{font-size:81.25%;",";}html,body{height:100%;width:100%;line-height:",";}body{font-family:",";background-color:",";}#app,#app-container,#root,main{height:100%;width:100%;min-height:100%;min-width:100%;}"],function(a){var s=a.theme;return s.media.small`
2
- font-size: 100%;
3
- `},function(a){return a.theme.lineHeights.m},function(a){return a.theme.fonts.default},function(a){return a.theme.colors.neutral["000"]});var Pt,vt,mt,pt,wt,ft=B.default.div.withConfig({componentId:"sc-1ho9g5n-0"})(["height:100%;"]),Ct=function(a){var s=a.manageSession,r=a.WaitMessage,_=a.children;return ie(),X(),U()(ae.Ai,{},void 0,U()(ft,{},void 0,Pt||(Pt=U()(ct,{})),s&&(vt||(vt=U()(je.S,{}))),mt||(mt=U()(He.I,{})),r||pt||(pt=U()(Ge.j,{})),wt||(wt=U()(ut.Q,{})),_))};Ct.displayName="StandAloneApp";var Nt=e("./lib/view/wait-message/use-html-wait-message.tsx"),Mt,Lt,Ut,Kt=B.default.div.withConfig({componentId:"sc-njn2ro-0"})(["height:100%;"]),Wt=function(a){var s=a.WaitMessage,r=a.children;return ie(),(0,Nt.t)(!0),X(),U()(Kt,{},void 0,Mt||(Mt=U()(ct,{})),s||Lt||(Lt=U()(Ge.j,{})),Ut||(Ut=U()(ut.Q,{})),r)};Wt.displayName="HostedApp";var Ft=function(a){var s=St()||dt();return s?(0,Ee.jsx)(Ct,Object.assign({},a)):(0,Ee.jsx)(Wt,Object.assign({},a))},kt=function(a){var s=a.store,r=a.history,_=a.basename,C=a.theme,W=C===void 0?(0,d.getDefaultTheme)():C,G=a.manageSession,ve=G===void 0?!1:G,be=a.WaitMessage,me=a.errorTemplate,pe=a.children,ot=a.strictMode,os=ot===void 0?!0:ot,ns=os?F.StrictMode:F.Fragment;return U()(ns,{},void 0,U()(V,{errorTemplate:me},void 0,U()(re.Provider,{store:s},void 0,U()(ke,{history:r,basename:_},void 0,U()(B.ThemeProvider,{theme:W},void 0,U()(Ft,{manageSession:ve,WaitMessage:be},void 0,pe))))))};kt.displayName="AppRoot";var Bt=function(a,s,r){return U()(kt,{store:s,history:q.N,theme:a},void 0,r())};Bt.displayName="withAppDecorator";var $t=e("./node_modules/.pnpm/@storybook+theming@6.5.16/node_modules/@storybook/theming/dist/esm/index.js"),zt=["base","brandTitle"],Gt=function(a){var s=a.base,r=s===void 0?"light":s,_=a.brandTitle,C=_===void 0?"Platform UI Components":_,W=Te()(a,zt);return(0,$t.vt)(Object.assign({base:r,brandTitle:`${C} v5.42.2`},W))},Vt=e("./node_modules/.pnpm/style-loader@2.0.0_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),Jt=e.n(Vt),Ht=e("./node_modules/.pnpm/css-loader@5.2.7_webpack@5.107.2/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[11].use[1]!./lib/utils/storybook/preview.css"),Tt={};Tt.insert="head",Tt.singleton=!1;var rs=Jt()(Ht.A,Tt);const as=Ht.A.locals||{};var Xt=(0,d.getDefaultTheme)(),Yt=De({},q.N),Zt=Bt.bind(null,Xt,Yt),Qt=function(a){return{layout:"fullscreen",actions:{argTypesRegex:"^on.*"},controls:{hideNoControlsWarning:!0},docs:{theme:Gt(a)},options:{storySort:{method:"alphabetical",order:["Getting Started",["Introduction","Installation","Packages","Supported Browsers","Releases","Theme"],"Components"],locales:["en-US"]}},dependencies:{withStoriesOnly:!0,hideEmpty:!0}}},qt=[Zt],es=[async function(){await(0,Ze.yN)("./")}],ts={brandTitle:"Application SDK",brandUrl:"https://git.elliemae.io/platform-ui/pui-app-sdk.git"},ls=null,ss=Qt(ts),is=["decorators","parameters","loaders"]},"./lib/analytics/index.ts"(A,g,e){"use strict";e.d(g,{e:()=>b});var d=e("./node_modules/.pnpm/@elliemae+pui-analytics-so@1.7.1/node_modules/@elliemae/pui-analytics-so/dist/esm/baEventParameters.js"),u=e("./lib/utils/micro-frontend/guest.ts"),p=e("./lib/utils/helpers.ts"),m=function(x){var S=Object.assign({},(0,d.QS)(),(0,p.np)(),x);window.gtmDataLayer=window.gtmDataLayer||[],window.gtmDataLayer.push(S)},b=function(x){var S=x.data,I=x.self,E=I===void 0?!0:I;if(E)m(S);else{var i,h=(i=u.h.getInstance())===null||i===void 0?void 0:i.getHost(),f=h?.sendBAEvent;f?f(S):m(S)}}},"./lib/communication/http-client/props.ts"(A,g,e){"use strict";e.d(g,{K:()=>f});var d=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/classCallCheck.js"),u=e.n(d),p=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/createClass.js"),m=e.n(p),b=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/classPrivateFieldLooseBase.js"),x=e.n(b),S=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/classPrivateFieldLooseKey.js"),I=e.n(S),E=I()("resetUserIdleTime"),i=I()("endSession"),h=function(){function j(){u()(this,j),Object.defineProperty(this,E,{writable:!0,value:function(){}}),Object.defineProperty(this,i,{writable:!0,value:async function(){}})}return m()(j,[{key:"resetUserIdleTime",get:function(){return x()(this,E)[E]},set:function(O){x()(this,E)[E]=O}},{key:"endSession",get:function(){return x()(this,i)[i]},set:function(O){x()(this,i)[i]=O}}])}(),f=new h},"./lib/data/error/index.ts"(A,g,e){"use strict";e.d(g,{L:()=>x,o:()=>b});var d=e("./node_modules/.pnpm/@reduxjs+toolkit@1.9.7_react-redux@8.1.3_react@18.3.1/node_modules/@reduxjs/toolkit/dist/redux-toolkit.cjs.production.min.js"),u=e.n(d),p={description:"",messageText:""},m=(0,d.createSlice)({name:"error",initialState:p,reducers:{set:function(S,I){return I.payload},clear:function(){return p}}}),b=m.actions,x=m.reducer},"./lib/data/live-message/index.ts"(A,g,e){"use strict";e.d(g,{k:()=>x,o:()=>b});var d=e("./node_modules/.pnpm/@reduxjs+toolkit@1.9.7_react-redux@8.1.3_react@18.3.1/node_modules/@reduxjs/toolkit/dist/redux-toolkit.cjs.production.min.js"),u=e.n(d),p={message:"",ariaLive:"polite",id:""},m=(0,d.createSlice)({name:"liveMessage",initialState:p,reducers:{announce:function(S,I){var E=I.payload,i=E.message,h=E.ariaLive,f=E.id;return{message:i,ariaLive:h,id:f}}}}),b=m.actions,x=m.reducer},"./lib/data/logout/actions.ts"(A,g,e){"use strict";e.d(g,{r:()=>u});var d={CONFIRM:"log-out/CONFIRM",CANCEL:"log-out/CANCEL"},u={confirm:function(){return{type:d.CONFIRM,payload:null}},cancel:function(){return{type:d.CANCEL,payload:null}}}},"./lib/data/useAppDispatch.ts"(A,g,e){"use strict";e.d(g,{j:()=>p});var d=e("./node_modules/.pnpm/react-redux@8.1.3_@types+react-dom@18.3.7_@types+react@18.3.31_react-dom@18.3.1_react@18.3.1/node_modules/react-redux/lib/index.js"),u=e.n(d),p=function(){return(0,d.useDispatch)()}},"./lib/data/useAppSelector.ts"(A,g,e){"use strict";e.d(g,{G:()=>p});var d=e("./node_modules/.pnpm/react-redux@8.1.3_@types+react-dom@18.3.7_@types+react@18.3.31_react-dom@18.3.1_react@18.3.1/node_modules/react-redux/lib/index.js"),u=e.n(d),p=d.useSelector},"./lib/data/wait-message/actions.ts"(A,g,e){"use strict";e.d(g,{X:()=>u,k:()=>d});var d={OPEN:"wait-message/OPEN",CLOSE:"wait-message/CLOSE"},u={open:function(){var p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"loading...",m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return{type:d.OPEN,payload:{message:p,delay:m}}},close:function(){return{type:d.CLOSE,payload:null}}}},"./lib/data/webpack-hmr.ts"(A,g,e){"use strict";e.d(g,{I:()=>u});var d=e("./node_modules/.pnpm/redux-injectors@2.1.0_react-dom@18.3.1_react-redux@8.1.3_react@18.3.1/node_modules/redux-injectors/dist/index.js");A=e.hmd(A);var u=function(p){var m=null;try{var b,x;m=(b=(x=A)===null||x===void 0?void 0:x.hot)!==null&&b!==void 0?b:null}catch{m=null}m&&m.accept("./reducers",function(){(0,d.Dl)(p)})}},"./lib/utils/app-config/config.ts"(A,g,e){"use strict";e.d(g,{WE:()=>O,vF:()=>f,g3:()=>h});var d=e("./node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/has.js"),u=e("./node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/clone.js"),p=e.n(u),m=e("./node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/set.js"),b=e("./node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/get.js"),x=e.n(b);const S=JSON.parse('{"appId":"app-sdk","activeEnv":"localhost","sessionTimeoutWarnInterval":"60000","sessionTimeoutInterval":"70000","serviceEndpoints":{"api":"","idp":"https://int.idp.ellielabs.com","wss":"ws://localhost:5000"},"env":{"localhost":{"serviceEndpoints":{"api":"","idp":"https://int.idp.ellielabs.com"}},"dev":{"serviceEndpoints":{"api":"https://dev.api.puiservice.rd.elliemae.io","idp":"https://int.idp.ellielabs.com"}},"dev2":{"serviceEndpoints":{"api":"https://int.api.ellielabs.com","idp":"https://int.idp.ellielabs.com"}},"qa":{"serviceEndpoints":{"api":"https://dev.api.puiservice.rd.elliemae.io","idp":"https://int.idp.ellielabs.com"}},"qa2":{"serviceEndpoints":{"api":"https://int.api.ellielabs.com","idp":"https://int.idp.ellielabs.com"}},"qa3":{"serviceEndpoints":{"api":"https://int.api.ellielabs.com","idp":"https://int.idp.ellielabs.com"}},"int":{"serviceEndpoints":{"api":"https://int.api.ellielabs.com","idp":"https://int.idp.ellielabs.com"}},"peg-osb1":{"serviceEndpoints":{"api":"https://encompass-peg-api.elliemae.com","idp":"https://peg.idp.ellielabs.com/authorize"}},"peg-osb2":{"serviceEndpoints":{"api":"https://encompass-peg2-api.elliemae.com","idp":"https://peg.idp.ellielabs.com/authorize"}},"peg":{"serviceEndpoints":{"api":"https://peg2-west.api.ellielabs.com","idp":"https://peg.idp.ellielabs.com/authorize"}},"peg-oapi-west":{"serviceEndpoints":{"api":"https://peg2-west.api.ellielabs.com","idp":"https://peg.idp.ellielabs.com/authorize"}},"peg-oapi-east":{"serviceEndpoints":{"api":"https://peg2-east.api.ellielabs.com","idp":"https://peg.idp.ellielabs.com/authorize"}},"peg2-oapi-east":{"serviceEndpoints":{"api":"https://peg2-east.api.ellielabs.com","idp":"https://peg.idp.ellielabs.com/authorize"}},"peg3":{"serviceEndpoints":{"api":"https://pel1.api.ellielabs.com","idp":"https://peg3.idp.ellielabs.com/authorize"}},"stage":{"serviceEndpoints":{"api":"https://stg.api.elliemae.com","idp":"https://stg.idp.elliemae.com/authorize"}},"beta":{"serviceEndpoints":{"api":"https://concept.api.elliemae.com","idp":"https://concept.idp.elliemae.com/authorize"}},"demo":{"serviceEndpoints":{"api":"https://concept.api.elliemae.com","idp":"https://concept.idp.elliemae.com/authorize"}},"epc":{"serviceEndpoints":{"api":"https://concept.api.elliemae.com","idp":"https://concept.idp.elliemae.com/authorize"}},"prod":{"serviceEndpoints":{"api":"https://api.elliemae.com","idp":"https://idp.elliemae.com/authorize"}}}}');var I,E,i=S,h=function(w){i=w},f=function(){var w=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return p()(x()(i,w,T))},j=function(w,T){return E(i,w,T)},O=function(){return i},L=function(){var w=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return I(i,w)}},"./lib/utils/app-config/index.ts"(A,g,e){"use strict";e.d(g,{yN:()=>i});var d=e("./node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/merge.js"),u=e.n(d),p=e("./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.includes.js"),m=e.n(p),b=e("./node_modules/.pnpm/@elliemae+pui-analytics-so@1.7.1/node_modules/@elliemae/pui-analytics-so/dist/esm/baEventParameters.js"),x=e("./lib/utils/app-config/config.ts"),S=e("./lib/utils/window.ts"),I=function(h){var f,j,O=h.activeEnv,L=h.env[O]||{};h.env&&delete h.env,(0,x.g3)(u()(h,L)),sessionStorage.setItem("envName",O),window.emui=window.emui||{},window.emui.appId=(f=(j=(0,x.vF)("appId"))!==null&&j!==void 0?j:window.emui.appId)!==null&&f!==void 0?f:"",(0,b.nE)({envName:O})},E=function(h){return h.replace(/(\d+\.\d+)(?!.*\d+\.\d+)/,"latest")},i=async function(){var h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:(0,S.OX)(),f=`${h.replace(/\/?$/,"/")}app.config.json`,j=E(h);try{var O=await fetch(f);if(!O.ok){if(h!==j){await i(j);return}var L=`App Config is not found at ${f}`;throw new Error(L)}var w=await O.json();I(w)}catch(k){var T;if(h!==j){await i(j);return}throw k!=null&&(T=k.message)!==null&&T!==void 0&&T.includes("Unexpected token")?new Error(`App config file at ${f} is not a valid JSON`):k}}},"./lib/utils/console-logger.ts"(A,g,e){"use strict";e.d(g,{k:()=>m});var d=e("@elliemae/pui-diagnostics"),u=e.n(d),p=e("./lib/utils/app-config/config.ts"),m=function(){return d.logger?(0,d.logger)({transport:(0,d.Console)(),index:"app",environment:(0,p.vF)("activeEnv"),team:"app team",appName:"ICEMT App",appVersion:"latest",instanceId:"",userId:""}):console}()},"./lib/utils/constants.ts"(A,g,e){"use strict";e.d(g,{Ay:()=>d,BD:()=>m,H1:()=>b,J2:()=>u,eE:()=>x});const d={AUTHORIZATION:"Authorization",CLIENT_ID:"tirykwfo"};var u={WARN:12*60*1e3,EXPIRY:15*60*1e3},p=null,m="HOST_WINDOW_RESIZED",b="HOST_WINDOW_BREAKPOINT_CHANGED",x=6e4},"./lib/utils/helpers.ts"(A,g,e){"use strict";e.d(g,{E_:()=>I,np:()=>S});var d=e("./lib/utils/window.ts"),u=e("./node_modules/.pnpm/process@0.11.10/node_modules/process/browser.js"),p=function(){return!0},m=function(){return u.env.CI==="true"},b=/^(?:[a-z]+:)?\/\//,x=function(E){return b.test(E)?E:new URL(E,document.location.origin).href},S=function(){var E,i,h,f,j,O,L,w=(0,d.zk)(),T=w.document.title,k=document,ye=k.title,fe=(E=w==null||(i=w.emui)===null||i===void 0?void 0:i.appId)!==null&&E!==void 0?E:"",z=(h=w==null||(f=w.emui)===null||f===void 0?void 0:f.version)!==null&&h!==void 0?h:"",K=(j=(O=window)===null||O===void 0||(L=O.emui)===null||L===void 0?void 0:L.appId)!==null&&j!==void 0?j:"",se=w.location,Y=se.pathname,Le=se.href,Re=window.location,le=Re.pathname,he=Re.href;return{productId:fe,productPath:Y,productUrl:Le,productPageTitle:T,version:z,appId:K,appPath:le,appUrl:he,appPageTitle:ye}},I=function(E){var i=E.promise,h=E.delay,f=E.retValue,j=f===void 0?!1:f,O=E.throwError,L=O===void 0?!1:O,w=E.errMsg;return Promise.race([i,new Promise(function(T,k){setTimeout(function(){L?k(new Error(w)):T(j)},h)})])}},"./lib/utils/history.ts"(A,g,e){"use strict";e.d(g,{N:()=>p,w:()=>m});var d=e("./node_modules/.pnpm/history@5.3.0/node_modules/history/umd/history.production.min.js"),u=e.n(d),p=(0,d.createBrowserHistory)(),m=(0,d.createMemoryHistory)()},"./lib/utils/log-records.ts"(A,g,e){"use strict";e.d(g,{V:()=>d});var d={ERR_TOAST_OPEN_FAILED:{code:"appsdk001",message:"Unable to open Error Toast"},WAIT_MSG_OPEN_FAILED:{code:"appsdk02",message:"Unable to open Wait message"},WAIT_MSG_CLOSE_FAILED:{code:"appsdk03",message:"Unable to close Wait message"},APP_CONFIG_LOAD_FAILED:{code:"appsdk04",message:"Unable to load application configuration"},ASSET_NOT_FOUND_IN_MANIFEST:function(u){return{code:"appsdk05",message:`Application load failed. unable to locate ${u} in the manifest`}},APP_INIT_FAILED:function(u,p,m){return{code:"appsdk06",message:`Application load failed. Unable to load one or more application resources for appId: ${u} and instanceId: ${p}. ${m}`}},APP_LOADING:function(u,p){return{code:"appsdk07",message:`Application ${u} with instanceId ${p} is loading...`}},APP_LOADING_COMPLETE:function(u,p){return{code:"appsdk08",message:`Application ${u} loaded with instanceId ${p}`}},APP_UNLOADING:function(u,p){return{code:"appsdk09",message:`Application ${u} with instanceId ${p} unloading...`}},APP_UNLOADING_COMPLETE:function(u,p){return{code:"appsdk10",message:`Application ${u} with instanceId ${p} unloaded`}},SSF_HOST_OBJECT_NOT_FOUND:function(u){return{code:"appsdk11",message:`Parent window doesn't expose SSF Object named ${u}`}},LOGIN_FAILED:{code:"appsdk12",message:"Unable to login the user."},LOGOUT_FAILED:{code:"appsdk13",message:"Unable to logout the user."},SERVICE_WORKER_FAILED:{code:"appsdk14",message:"Service Worker Registration Failed"},UNHANDLED_ERROR:{code:"appsdk15",message:"Unhandled error in react component"},SESSION_RENEWAL_FAILED:{code:"appsdk16",message:"Unable to extend PSS session"}}},"./lib/utils/logger.ts"(A,g,e){"use strict";e.d(g,{B:()=>u,t:()=>p});var d=null,u=function(m){d=m},p=function(){return d}},"./lib/utils/logrocket.ts"(A,g,e){"use strict";e.d(g,{K3:()=>E,Te:()=>x});var d,u,p=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/slicedToArray.js"),m=e.n(p),b=e("./node_modules/.pnpm/@elliemae+pui-analytics-so@1.7.1/node_modules/@elliemae/pui-analytics-so/dist/esm/logrocket.js"),x=function(){var i;return(i=window.emui)===null||i===void 0?void 0:i.logRocket},S=function(i){var h={};return Object.entries(i).forEach(function(f){var j=d(f,2),O=j[0],L=j[1];h[O]=L??""}),h},I=function(i,h){var f=x();f&&(f.identify(i,S(h)),u(i))},E=function(i){var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};(0,b.As)(i,h)}},"./lib/utils/micro-frontend/app-bridge.ts"(A,g,e){"use strict";e.d(g,{b:()=>b});var d=e("./node_modules/.pnpm/@elliemae+pui-app-bridge@2.28.6_@elliemae+pui-diagnostics@3.12.5_@elliemae+pui-logrocket@1.3._cu7aeoxsbpbexfro2txwzofllm/node_modules/@elliemae/pui-app-bridge/dist/esm/appBridge.js"),u=e("./lib/utils/logger.ts"),p=e("./lib/utils/app-config/config.ts"),m=null,b=async function(){if(!m){var x,S,I,E=(0,u.t)(),i=((x=window.emui)===null||x===void 0?void 0:x.version)||"latest";m=new d.o({logger:E,version:i,appConfigBaseUrl:(S=window)===null||S===void 0||(I=S.emui)===null||I===void 0?void 0:I._ASSET_PATH}),await m.init((0,p.WE)());var h=(0,p.vF)("microFrontendApps");h&&Object.keys(h).forEach(function(f){return m.warmUp(f)})}return m}},"./lib/utils/micro-frontend/guest.ts"(A,g,e){"use strict";e.d(g,{h:()=>st});var d=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/objectWithoutProperties.js"),u=e.n(d),p=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/slicedToArray.js"),m=e.n(p),b=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/classCallCheck.js"),x=e.n(b),S=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/createClass.js"),I=e.n(S),E=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/classPrivateFieldLooseBase.js"),i=e.n(E),h=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/classPrivateFieldLooseKey.js"),f=e.n(h),j=e("./node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/merge.js"),O=e.n(j),L=e("./node_modules/.pnpm/uuid@9.0.1/node_modules/uuid/dist/esm-browser/v4.js"),w=e("./node_modules/.pnpm/@elliemae+pui-theme@2.13.0/node_modules/@elliemae/pui-theme/dist/cjs/index.js"),T=e("./node_modules/.pnpm/@elliemae+ssf-guest@2.28.6_@elliemae+pui-logrocket@1.3.1/node_modules/@elliemae/ssf-guest/dist/esm/guest.js"),k=e("./node_modules/.pnpm/@elliemae+pui-analytics-so@1.7.1/node_modules/@elliemae/pui-analytics-so/dist/esm/baEventParameters.js"),ye=e("./lib/utils/window.ts"),fe=e("./lib/utils/app-config/index.ts"),z=e("./lib/utils/app-config/config.ts"),K=e("./lib/utils/history.ts"),se=e("./lib/utils/console-logger.ts"),Y=e("./lib/utils/logger.ts"),Le=e("./node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js"),Re,le="storage",he="getSessionStorage",_e="sessionStorage",de=function(){return sessionStorage.length===0},Ue=function(y){if(y.key===he)localStorage.setItem(_e,JSON.stringify(sessionStorage)),localStorage.removeItem(_e);else if(y.key===_e&&y.newValue){var o=JSON.parse(y.newValue);o&&Object.keys(o).forEach(function(n){sessionStorage.setItem(n,o[n])})}},We=null,Ne=function(){window.addEventListener(le,Ue),de()&&localStorage.setItem(he,`${Date.now()}`)},oe=function(){window.removeEventListener(le,Ue)},ue=e("./lib/utils/micro-frontend/app-bridge.ts"),ne=e("./lib/utils/helpers.ts"),Pe=e("./lib/utils/micro-frontend/ssf-host.ts"),ce=function(){var y,o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window;if(o){var n=o,c=(y=n.emui)===null||y===void 0?void 0:y._ASSET_PATH;if(c){n.__webpack_public_path__=new URL("../",c).href;return}n.__webpack_public_path__=(n.__webpack_public_path__||"").replace(/\/?$/,"/")}},Q=["history"],De,Ae="app-container",U=2e3,q=function(){try{return window.parent.document,!1}catch{return!0}},F=function(y){return y.SSF="ssf",y.APPSDK="app-sdk",y}(F||{}),re=f()("uuid"),B=f()("communicationMethod"),ge=f()("ssfHostRef"),we=f()("useV2Guest"),Se=f()("selfInitialize"),Te=f()("embeddedWithoutHost"),ee=f()("appBridge"),Ee=f()("pendingInitialRoute"),Qe=f()("addAppToGlobalVariable"),ke=f()("onWindowUnload"),Ve=f()("resolveHistory"),Je=f()("discoverHost"),xe=f()("exposeGetHost"),Xe=f()("initAppBridge"),qe=f()("applyModuleParams"),Ye=f()("applyHistoryFromParams"),et=f()("applyInitialRoute"),$=f()("loadConfigAndBridge"),Ke=f()("trackAnalyticsAndOnInit"),Oe=f()("completeWithoutHost"),tt=f()("fetchModuleScriptingObject"),st=function(){function y(o){var n,c,R;x()(this,y),Object.defineProperty(this,tt,{value:ze}),Object.defineProperty(this,Oe,{value:$e}),Object.defineProperty(this,Ke,{value:it}),Object.defineProperty(this,$,{value:Be}),Object.defineProperty(this,et,{value:Fe}),Object.defineProperty(this,Ye,{value:xt}),Object.defineProperty(this,qe,{value:rt}),Object.defineProperty(this,Xe,{value:Ze}),Object.defineProperty(this,xe,{value:gt}),Object.defineProperty(this,Je,{value:ht}),Object.defineProperty(this,Ve,{value:Et}),Object.defineProperty(this,ke,{value:nt}),Object.defineProperty(this,Qe,{value:Ce}),Object.defineProperty(this,re,{writable:!0,value:void 0}),this.logger=void 0,this.appId=void 0,this.props=void 0,Object.defineProperty(this,B,{writable:!0,value:void 0}),Object.defineProperty(this,ge,{writable:!0,value:void 0}),Object.defineProperty(this,we,{writable:!0,value:void 0}),Object.defineProperty(this,Se,{writable:!0,value:void 0}),Object.defineProperty(this,Te,{writable:!0,value:void 0}),Object.defineProperty(this,ee,{writable:!0,value:null}),Object.defineProperty(this,Ee,{writable:!0,value:null}),this.onInit=void 0,this.onMount=void 0,this.onUnmount=void 0,this.onGetRef=void 0,window.emui.uuid=window.emui.uuid||(0,L.A)(),this.appId=((n=window.emui)===null||n===void 0?void 0:n.appId)||(0,z.vF)("appId"),i()(this,re)[re]=window.emui.uuid,i()(this,B)[B]=F.APPSDK,this.props={host:null,hostUrl:null,prevState:null,history:o?.history||K.N,theme:(0,w.getDefaultTheme)(),manifestPath:"./latest",containerId:Ae},this.logger=o?.logger||se.k,(0,Y.B)(this.logger),o!=null&&o.ssfHostRef&&(0,Pe.Z)(o.ssfHostRef),i()(this,ge)[ge]=(0,Pe.F)(),i()(this,we)[we]=o?.useV2Guest!==!1,i()(this,Se)[Se]=(c=o?.selfInitialize)!==null&&c!==void 0?c:!1,i()(this,Te)[Te]=(R=o?.embeddedWithoutHost)!==null&&R!==void 0?R:!1,this.onInit=o?.onInit,this.onMount=o?.onMount,this.onUnmount=o?.onUnmount,this.onGetRef=o?.onGetRef,i()(this,Te)[Te]&&!i()(this,Se)[Se]&&this.logger.warn("embeddedWithoutHost requires selfInitialize: true \u2014 the flag only applies to initialize()"),this.getHost=this.getHost.bind(this),this.getLogger=this.getLogger.bind(this),this.getProps=this.getProps.bind(this),i()(this,Se)[Se]?window.addEventListener("beforeunload",i()(this,ke)[ke].bind(this)):i()(this,Qe)[Qe]()}return I()(y,[{key:"getHost",value:function(){return this.props.host}},{key:"getLogger",value:function(){return this.logger}},{key:"getObject",value:function(n){var c=null;return i()(this,B)[B]===F.SSF?(c=this.getHost(),c.getObject(n)):(c=this.getHost(),c?c.getObject(n):Promise.resolve(null))}},{key:"subscribe",value:function(n){var c=null;return i()(this,B)[B]===F.SSF?(c=this.getHost(),c.subscribe(n)):(c=this.getHost(),c.subscribe(n))}},{key:"unsubscribe",value:function(n){var c=null;i()(this,B)[B]===F.SSF&&(c=this.getHost(),c.unsubscribe(n)),c=this.getHost(),c.unsubscribe(n)}},{key:"getProps",value:function(){return this.props}},{key:"getSessionStorageItem",value:function(n){var c=sessionStorage.getItem(n),R=this.getHost();return!c&&R!==null&&R!==void 0&&R.getItem&&(c=R.getItem(n)),c}},{key:"findHost",value:async function(){var n=null;if(!q()){var c,R,Z;n=(c=(R=window.parent)===null||R===void 0||(Z=R.emui)===null||Z===void 0?void 0:Z.MicroAppHost)!==null&&c!==void 0?c:null}return!n&&i()(this,we)[we]&&(n=new T.p({appLogger:this.logger}),await(0,ne.E_)({promise:n.connect(),delay:1e3,retValue:!1})?n=null:i()(this,B)[B]=F.SSF),n}},{key:"uuid",get:function(){return i()(this,re)[re]}},{key:"initialize",value:async function(){ce();var n=window.top===window.self&&!window.opener;if(n)return await i()(this,$)[$](),i()(this,Oe)[Oe]("standalone");if(i()(this,Te)[Te])return await i()(this,$)[$](),i()(this,Oe)[Oe]("embeddedWithoutHost");var c=await Promise.all([i()(this,Je)[Je](),i()(this,$)[$]()]),R=m()(c,1),Z=R[0];if(!Z)return i()(this,Oe)[Oe]("discoveryFallback");this.props.host=Z,i()(this,xe)[xe]();var Ie={moduleId:this.appId};try{var Me=await i()(this,tt)[tt]();Me?(Ie=await Me.getParameters(),i()(this,qe)[qe](Ie)):this.logger.warn(`Host did not register a module scripting object for "${this.appId}". Proceeding without host-provided parameters (history, theme, initialRoute).`)}catch{this.logger.warn(`Failed to retrieve module parameters for "${this.appId}". Proceeding without host-provided parameters.`)}return i()(this,Ke)[Ke](),Ie}},{key:"init",value:async function(n){var c=this,R=n??{},Z=R.history,Ie=u()(R,Q);if(this.props=O()(this.props,Ie),!this.props.host){var Me=await this.findHost();Me?this.props.host=Me:this.logger.warn("unable to connect to host microapp")}return i()(this,xe)[xe](),ce(),(0,fe.yN)().then(function(){var at=c.getSessionStorageItem("instanceId")||"",bt=c.getSessionStorageItem("userId")||"";(0,k.nE)({appId:c.appId,instanceId:at,userId:bt});var lt=i()(c,Ve)[Ve](Z);return!lt&&n!==null&&n!==void 0&&n.initialRoute&&(i()(c,Ee)[Ee]=typeof n.initialRoute=="string"?n.initialRoute:n.initialRoute.pathname||null),(0,ue.b)().then(function(dt){i()(c,ee)[ee]=dt,c.onInit&&c.onInit(c.props)})})}},{key:"mount",value:function(){var n=this,c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{containerId:Ae};return this.props.containerId=c?.containerId,Promise.resolve().then(function(){i()(n,Ee)[Ee]&&(n.props.history.push(i()(n,Ee)[Ee]),i()(n,Ee)[Ee]=null),n.onMount&&n.onMount(c)})}},{key:"unmount",value:function(n){var c=this;return oe(),Promise.resolve().then(function(){return c.onUnmount?c.onUnmount(n):null})}},{key:"getRef",value:function(){return this.onGetRef?this.onGetRef():null}},{key:"navigate",value:function(n,c){n&&this.props.history.push(n,c)}},{key:"addScriptingObject",value:function(n,c){i()(this,ee)[ee]&&i()(this,ee)[ee].addScriptingObject(n,c),i()(this,ge)[ge].addScriptingObject(n,c)}},{key:"dispatchEvent",value:async function(n){if(i()(this,ee)[ee]){var c=await Promise.all([i()(this,ee)[ee].dispatchEvent(n),i()(this,ge)[ge].dispatchEvent(n)]),R=m()(c,2),Z=R[0],Ie=R[1];return Array.isArray(Z)&&Array.isArray(Ie)?Z.concat(Ie):Promise.resolve()}return i()(this,ge)[ge].dispatchEvent(n)}},{key:"removeScriptingObject",value:function(n,c){i()(this,ee)[ee]&&i()(this,ee)[ee].removeScriptingObject(n,c),i()(this,ge)[ge].removeScriptingObject(n,c)}}],[{key:"getInstance",value:function(n){return this.instance||(this.instance=new y(n),n!=null&&n.selfInitialize||(n?.logger||se.k).warn("CMicroApp.getInstance() called without selfInitialize: true \u2014 this legacy mode is deprecated. Pass { selfInitialize: true } and use initialize() instead.")),this.instance}},{key:"isInitialized",value:function(){return!!this.instance}},{key:"isHosted",value:function(){var n,c;return!!((n=this.instance)!==null&&n!==void 0&&(c=n.props)!==null&&c!==void 0&&c.host)}}])}();De=st;function Ce(){var y=this,o=(0,ye.zk)();if(o){o.emui=o.emui||{};var n={uuid:i()(this,re)[re],init:this.init.bind(this),mount:this.mount.bind(this),unmount:this.unmount.bind(this),getRef:this.getRef.bind(this),navigate:this.navigate.bind(this)};if(o.emui[this.appId])if(Array.isArray(o.emui[this.appId])){var c=o.emui[this.appId],R=c.findIndex(function(Z){return Z.uuid===i()(y,re)[re]});R>-1?c[R]=n:c.push(n)}else o.emui[this.appId].uuid===i()(this,re)[re]?o.emui[this.appId]=n:typeof o.emui[this.appId].init>"u"?o.emui[this.appId]=Object.assign({},o.emui[this.appId],n):o.emui[this.appId]=[o.emui[this.appId],n];else o.emui[this.appId]=n;window.emui.app=n,window.addEventListener("beforeunload",i()(this,ke)[ke].bind(this))}}function nt(){var y=this;if(!i()(this,Se)[Se]){var o=(0,ye.zk)();if(Array.isArray(o.emui[this.appId])){var n=o.emui[this.appId],c=n.findIndex(function(R){return R.uuid===i()(y,re)[re]});c>-1&&n.splice(c,1),n.length===0&&delete o.emui[this.appId]}else delete o.emui[this.appId];delete window.emui.app}this.unmount({containerId:this.props.containerId}).catch(function(){})}function Et(y){if(i()(this,B)[B]===F.SSF)return this.props.history=K.N,!1;var o=(0,z.vF)("useParentHistory",!0);return o&&y?this.props.history=y:!o&&window!==window.parent&&(this.props.history=K.w),o}async function ht(){var y;if((y=window.emui)!==null&&y!==void 0&&y.__host)return window.emui.__host;if(!q()){var o,n,c,R=(o=(n=window.parent)===null||n===void 0||(c=n.emui)===null||c===void 0?void 0:c.MicroAppHost)!==null&&o!==void 0?o:null;if(R)return R}if(i()(this,we)[we]){var Z=new T.p({appLogger:this.logger}),Ie=await(0,ne.E_)({promise:Z.connect(),delay:1e3,retValue:!0});if(!Ie)return i()(this,B)[B]=F.SSF,Z}return null}function gt(){var y=this;window.emui=window.emui||{},window.emui.getHost=function(){var o;return(o=y.props.host)!==null&&o!==void 0?o:null}}async function Ze(){i()(this,ee)[ee]=await(0,ue.b)()}function rt(y){y.homeRoute&&(this.props.homeRoute=y.homeRoute),y.theme&&(this.props.theme=y.theme),y.hostUrl&&(this.props.hostUrl=y.hostUrl),y.manifestPath&&(this.props.manifestPath=y.manifestPath),y.containerId&&(this.props.containerId=y.containerId),i()(this,Ye)[Ye](y)}function xt(y){if(i()(this,B)[B]===F.SSF){this.props.history=K.N;return}var o=(0,z.vF)("useParentHistory",!0);o&&y.history?this.props.history=y.history:!o&&window!==window.parent&&(this.props.history=K.w),i()(this,et)[et](y,o)}function Fe(y,o){if(!(!y.initialRoute||o)){var n=typeof y.initialRoute=="string"?y.initialRoute:y.initialRoute.pathname;n&&this.props.history.push(n)}}async function Be(){await(0,fe.yN)(),await i()(this,Xe)[Xe]()}function it(){var y=this.getSessionStorageItem("instanceId")||"",o=this.getSessionStorageItem("userId")||"";(0,k.nE)({appId:this.appId,instanceId:y,userId:o}),this.onInit&&this.onInit(this.props)}function $e(y){return y==="standalone"?(this.logger.info("Running in standalone mode \u2014 skipping host discovery"),i()(this,xe)[xe](),i()(this,Ve)[Ve]()):y==="embeddedWithoutHost"?(this.logger.info("embeddedWithoutHost enabled \u2014 skipping host discovery"),i()(this,xe)[xe]()):(this.logger.warn("Unable to discover host. Proceeding with app.config.json values. Host-provided parameters (history, theme, initialRoute) will not be available."),i()(this,xe)[xe]()),i()(this,Ke)[Ke](),{moduleId:this.appId}}async function ze(){var y="module",o=this.getObject(y);return i()(this,B)[B]!==F.SSF?o:(0,ne.E_)({promise:o,delay:U,throwError:!0,errMsg:`Timed out waiting for module scripting object from host (${U}ms)`})}st.instance=void 0},"./lib/utils/micro-frontend/ssf-host.ts"(A,g,e){"use strict";e.d(g,{F:()=>x,Z:()=>S});var d=e("./node_modules/.pnpm/@elliemae+ssf-host@2.28.6_@elliemae+pui-diagnostics@3.12.5/node_modules/@elliemae/ssf-host/dist/esm/host.js"),u=e("./node_modules/.pnpm/@elliemae+pui-analytics-so@1.7.1/node_modules/@elliemae/pui-analytics-so/dist/esm/analytics.js"),p=e("./lib/utils/logger.ts"),m=e("./lib/utils/app-config/config.ts"),b=null,x=function(){if(!b){var I=(0,p.t)();b=new d.P((0,m.vF)("appId"),{logger:I,analyticsObj:new u.j({logger:I})})}return b},S=function(I){b||(b=I)}},"./lib/utils/session.ts"(A,g,e){"use strict";e.d(g,{lQ:()=>_t,LC:()=>Ot,KB:()=>Ie,oB:()=>Z,z3:()=>It,lD:()=>At,n5:()=>Rt,Lw:()=>jt});var d=e("./node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/throttle.js"),u=e.n(d),p=function(t){window.emui.loginParams=Object.assign({redirectUri:new URL(window.location.href).href},t)},m=function(){if(!window.emui.loginParams){var t=JSON.parse(sessionStorage.getItem("user")||"{}"),l=t.client_id||"",v=t.scope||"";window.emui.loginParams={clientId:l,scope:v}}return window.emui.loginParams},b=e("./lib/utils/constants.ts"),x,S=function(){return sessionStorage.getItem(b.Ay.AUTHORIZATION)||""},I=function(t){sessionStorage.setItem(x.AUTHORIZATION,t)},E=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/objectWithoutProperties.js"),i=e("./node_modules/.pnpm/axios@1.18.1/node_modules/axios/lib/axios.js"),h=e("./lib/utils/app-config/config.ts"),f=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/slicedToArray.js"),j=e.n(f),O;function L(t,l){var v=typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(!v){if(Array.isArray(t)||(v=w(t))||l&&t&&typeof t.length=="number"){v&&(t=v);var P=0,D=function(){};return{s:D,n:function(){return P>=t.length?{done:!0}:{done:!1,value:t[P++]}},e:function(V){throw V},f:D}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
4
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var M,H=!0,N=!1;return{s:function(){v=v.call(t)},n:function(){var V=v.next();return H=V.done,V},e:function(V){N=!0,M=V},f:function(){try{H||v.return==null||v.return()}finally{if(N)throw M}}}}function w(t,l){if(t){if(typeof t=="string")return T(t,l);var v={}.toString.call(t).slice(8,-1);return v==="Object"&&t.constructor&&(v=t.constructor.name),v==="Map"||v==="Set"?Array.from(t):v==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(v)?T(t,l):void 0}}function T(t,l){(l==null||l>t.length)&&(l=t.length);for(var v=0,P=Array(l);v<l;v++)P[v]=t[v];return P}var k=function(t){return t},ye=function(t,l){var v,P;l=l||O,(v=l)!==null&&v!==void 0&&(P=v.interceptors)!==null&&P!==void 0&&P.response&&l.interceptors.response.eject(t)},fe=function(t){var l=t.config.retryConfig;if(!l||l.retry===0||!t.response&&(l.currentRetryAttempt||0)>=l.noResponseRetries||!t.config.method||l.httpMethodsToRetry.indexOf(t.config.method.toUpperCase())<0)return!1;if(t.response&&t.response.status){var v=!1,P=L(l.statusCodesToRetry),D;try{for(P.s();!(D=P.n()).done;){var M=D.value,H=j()(M,2),N=H[0],V=H[1],ae=t.response.status;if(ae>=N&&ae<=V){v=!0;break}}}catch(J){P.e(J)}finally{P.f()}if(!v)return!1}return l.currentRetryAttempt=l.currentRetryAttempt||0,!(l.currentRetryAttempt>=l.retry)},z=function(t){if(!t.config)return Promise.reject(t);var l=t.config.retryConfig||{};l.currentRetryAttempt=l.currentRetryAttempt||0,l.retry=l.retry===void 0||l.retry===null?3:l.retry,l.retryDelay=l.retryDelay||100,l.instance=l.instance||i.A,l.httpMethodsToRetry=l.httpMethodsToRetry||["GET","HEAD","PUT","OPTIONS","DELETE"],l.noResponseRetries=l.noResponseRetries===void 0||l.noResponseRetries===null?2:l.noResponseRetries;var v=[[100,199],[429,429],[500,599]];l.statusCodesToRetry=l.statusCodesToRetry||v,t.config.retryConfig=l;var P=l.shouldRetry||fe;if(!P(t))return Promise.reject(t);var D=new Promise(function(H){var N=(2**l.currentRetryAttempt-1)/2*1e3;t.config.retryConfig.currentRetryAttempt+=1,setTimeout(H,N)}),M=l.onRetryAttempt?Promise.resolve(l.onRetryAttempt(t)):Promise.resolve();return Promise.resolve().then(function(){return D}).then(function(){return M}).then(function(){return l.instance.request(t.config)})},K=function(t){var l,v;return t=t||i.A,(l=t)!==null&&l!==void 0&&(v=l.interceptors)!==null&&v!==void 0&&v.response?t.interceptors.response.use(k,z):null},se=function(t){return t&&t.config?t.config.retryConfig:null},Y=function(t){return{retry:3,noResponseRetries:2,retryDelay:100,httpMethodsToRetry:["GET","HEAD","OPTIONS","DELETE","PUT"],statusCodesToRetry:[[100,199],[429,429],[500,599]],instance:t,onRetryAttempt:function(l){var v=se(l);v&&v.currentRetryAttempt}}},Le=function(t){t!=null&&t.defaults&&(t.defaults.retryConfig=Y(t)),K(t)};const Re=Le;var le=e("./lib/communication/http-client/props.ts"),he=function(t){return le.K.resetUserIdleTime(),t},_e=401,de=null,Ue=function(t){de=t},We=function(t){return t},Ne=function(t){var l=(t||{}).response||{},v=l.status;if(v===_e){if(de&&typeof de=="function")return de(t).then(function(P){var D=t.config;if(!(D!=null&&D.headers))throw t;return D.headers.Authorization=P,new Promise(function(M,H){i.A.request(D).then(M).catch(H)})}).catch(function(P){return Promise.reject(P)});if(le.K.endSession)return le.K.endSession(Object.assign({},m(),{skipRevoke:!0})).then(function(){return Promise.reject(t)}).catch(function(){return Promise.reject(t)})}return Promise.reject(t)},oe=e("./lib/utils/logrocket.ts"),ue,ne,Pe=null,ce=2*60*1e3,Q=function(){var t,l,v=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},P=v.baseURL,D=P===void 0?(0,h.vF)("serviceEndpoints.api",""):P,M=v.headers,H=M===void 0?{}:M,N=v.sendLogRocketSessionHeader,V=N===void 0?!1:N,ae=((t=(0,oe.Te)())===null||t===void 0?void 0:t.sessionURL)||"",J=i.A.create({baseURL:D,headers:V&&ae?Object.assign({},H,{"X-LogRocket-URL":ae}):H});J!=null&&(l=J.defaults)!==null&&l!==void 0&&l.timeout&&(J.defaults.timeout=ce),Re(J);var te=J?.interceptors||{},ie=te.request,X=te.response;return ie&&ie.use(he),X&&X.use(We,Ne),J},De=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},l=t.baseURL,v=t.headers,P=v===void 0?{}:v,D=t.sendLogRocketSessionHeader,M=D===void 0?!1:D,H=ue(t,Pe);return Q(Object.assign({baseURL:l,headers:Object.assign({Authorization:ne()},P),sendLogRocketSessionHeader:M},H))},Ae,U=async function(t){var l=t.code,v=t.clientId,P=t.scope,D=t.redirectUri,M=new URLSearchParams;M.append("grant_type","authorization_code"),M.append("client_id",v),M.append("redirect_uri",D),M.append("scope",P),M.append("code",l);var H=await Ae().post("/oauth2/v1/token",M),N=H.data;return{tokenType:N.token_type,accessToken:N.access_token}},q=async function(t){var l=t.clientId,v=t.token,P=new URLSearchParams;P.append("token",v),P.append("client_id",l),await Q().post("/oauth2/v1/token/revocation",P)},F=async function(t){var l=t.clientId,v=t.accessToken,P=new URLSearchParams;P.append("token",v),P.append("client_id",l);var D=await Q().post("/oauth2/v1/token/introspection",P),M=D.data;return M},re=e("./lib/utils/logger.ts"),B=e("./lib/utils/log-records.ts"),ge=e("./node_modules/.pnpm/@elliemae+pui-analytics-so@1.7.1/node_modules/@elliemae/pui-analytics-so/dist/esm/baEventParameters.js"),we=e("./lib/analytics/index.ts"),Se,Te,ee=function(t){var l=t.instanceId,v=t.userId;Se({instanceId:l,userId:v}),Te({data:{event:"login"}})},Ee=function(){(0,we.e)({data:{event:"logout"}}),(0,ge.nE)({instanceId:"",userId:""})},Qe=e("./node_modules/.pnpm/@elliemae+pui-analytics-so@1.7.1/node_modules/@elliemae/pui-analytics-so/dist/esm/logrocket.js"),ke,Ve,Je,xe,Xe,qe,Ye,et,$,Ke,Oe,tt,st,Ce,nt="serviceEndpoints.idp",Et=function(){return!!$()},ht=function(){var t=new URL(window.location.href),l=t.searchParams.get("code")||"",v=t.searchParams.get("error_code")||"";return t.search="",{code:l,idpErrorCode:v,redirectUri:t.href}},gt=function(t){var l=t.clientId,v=t.redirectUri,P=t.idpErrorCode,D=t.scope,M=t.responseType,H=t.instanceId,N=t.siteId,V=t.userId,ae=t.disableRememberMe,J=t.useCompactIdpPage,te=t.isSSO,ie=Oe(nt,""),X=new URL("/authorize",ie),je=Object.assign({client_id:l,redirect_uri:v,response_type:M??"",scope:D},H!==void 0&&{instance_id:String(H)},N!==void 0&&{site_id:String(N)},V!==void 0&&{user_id:V},ae!==void 0&&{disable_remember_me:String(ae)},J!==void 0&&{tpoifr:String(J)},te!==void 0&&{is_sso:String(te)}),He=new URLSearchParams(P?Object.assign({},je,{error_code:P}):je);X.search=He.toString(),window.location.replace(X.href)},Ze=async function(t){var l=t.clientId,v=t.redirectUri,P=t.responseType,D=t.scope,M=t.code,H=M===void 0?"":M,N=t.customLogoutUrl,V=N===void 0?"":N,ae=t.skipRevoke,J=ae===void 0?!1:ae;try{var te=S();sessionStorage.clear();var ie=te?te.split(" ")[1]:"";J||await q({clientId:l,token:ie}),Ee(),(0,oe.K3)("logout"),(0,Qe.E3)(),(0,ge.nE)({instanceId:"",userId:""});var X;if(V)X=new URL("/",V);else{var je=(0,h.vF)(nt,"");X=new URL("/authorize",je);var He=Object.assign({client_id:l,redirect_uri:v||""},H&&{error_code:H},{response_type:P||"",scope:D}),ut=new URLSearchParams(He);X.search=ut.toString()}window.location.replace(X.href)}catch(ct){var Ge;(Ge=(0,re.t)())===null||Ge===void 0||Ge.error(Object.assign({},B.V.LOGOUT_FAILED,{exception:ct}))}},rt=async function(t){var l=t.code,v=t.redirectUri,P=t.clientId,D=t.scope,M=t.responseType,H=t.isConsumerUser;try{var N=await Je({code:l,clientId:P,scope:D,redirectUri:v}),V=N.tokenType,ae=N.accessToken;st({clientId:P,scope:D,responseType:M,redirectUri:v});var J=`${V} ${ae}`;Ke(J);var te=await xe({clientId:P,accessToken:ae});sessionStorage.setItem("user",JSON.stringify(te));var ie=te.encompass_instance_id,X=te.user_name,je=te.bearer_token,He=te.user_key,ut={bearerToken:je,realm:ie,userName:X,sessionId:je?.replace(`${ie} `,"")};sessionStorage.setItem("cred",JSON.stringify(ut)),sessionStorage.setItem("instanceId",ie),sessionStorage.setItem("userId",X),qe({instanceId:ie,userId:X}),ke({instanceId:ie,userId:X});var Ge={name:X,instanceId:ie};Ye(He,Ge),et("login",Ge);var ct=await Xe({userName:X,isConsumerUser:H});sessionStorage.setItem("userSettings",JSON.stringify(ct));var Pt=new URL(v).pathname;Ve.replace(Pt)}catch(ft){var vt,mt,pt,wt=ft==null||(vt=ft.response)===null||vt===void 0||(mt=vt.data)===null||mt===void 0?void 0:mt.code;await Ze({clientId:P,redirectUri:v,code:wt,scope:D,responseType:M}),(pt=Ce())===null||pt===void 0||pt.error(Object.assign({},tt.LOGIN_FAILED,{exception:ft}))}},xt=async function(t){var l=t.clientId,v=t.scope,P=t.responseType,D=t.isConsumerUser,M=t.instanceId,H=t.siteId,N=t.userId,V=t.disableRememberMe,ae=t.useCompactIdpPage,J=t.isSSO,te=ht(),ie=te.code,X=te.idpErrorCode,je=te.redirectUri,He={clientId:l,scope:v,responseType:P,redirectUri:je,code:ie,idpErrorCode:X,isConsumerUser:D,instanceId:M,siteId:H,userId:N,disableRememberMe:V,useCompactIdpPage:ae,isSSO:J};return ie?(await rt(He),{authorized:!0}):(gt(He),{authorized:!1})},Fe,Be,it=Date.now(),$e=[],ze=[],y=[],o=["click","scroll","keypress","touchstart"],n=!1,c,R,Z=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;n=!1,R=null,it=Date.now(),Promise.resolve().then(function(){y.forEach(function(l){return l(t)})}).catch(function(){})},Ie=async function(){var t=m();try{if(Z(!0),t!=null&&t.clientId){var l=S();if(!l)throw new Error("Authorization token not found to extend session");var v=l.split(" ")[1];await F({clientId:t.clientId,accessToken:v})}}catch(D){var P;(P=(0,re.t)())===null||P===void 0||P.error(Object.assign({},B.V.SESSION_RENEWAL_FAILED,{exception:D})),await Ze(Object.assign({},t,{skipRevoke:!0}))}},Me=u()(Ie,b.eE,{leading:!0}),at=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:(0,h.vF)("sessionTimeoutWarnInterval")||b.J2.WARN;return Date.now()-it>t},bt=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:(0,h.vF)("sessionTimeoutInterval")||b.J2.EXPIRY;return Date.now()-it>t},lt=function(){n=!0,R=Date.now(),Promise.resolve().then(function(){$e.forEach(function(t){return t(R)}),o.forEach(function(t){document.removeEventListener(t,Me)})}).catch(function(){})},dt=function(){return Promise.resolve().then(function(){ze.forEach(function(t){return t()})})},It=function(){o.forEach(function(t){document.removeEventListener(t,Me)}),clearInterval(c),$e.length=0,ze.length=0},St=function(){bt()?dt().then(function(){It()}).catch(function(){}):!n&&at()&&lt()},yt=function(t,l){var v=t.findIndex(function(P){return P===l});v>-1&&t.splice(v,1)},_t=function(){o.forEach(function(t){document.addEventListener(t,Me)})},Ot=function(){_t(),c=setInterval(St,1e3)},jt=function(t){return $e.push(t),yt.bind(null,$e,t)},Rt=function(t){return ze.push(t),yt.bind(null,ze,t)},At=function(t){return y.push(t),yt.bind(null,y,t)},Dt=function(t,l){if(!t)return function(){};var v=Fe(l,Be,{leading:!0});return o.forEach(function(P){return t.addEventListener(P,v)}),function(){o.forEach(function(P){return t.removeEventListener(P,l)}),o.forEach(function(P){return t.removeEventListener(P,v)})}}},"./lib/utils/window.ts"(A,g,e){"use strict";e.d(g,{D:()=>x,M5:()=>m,OX:()=>S,zk:()=>p});var d=e("./node_modules/.pnpm/@elliemae+pui-theme@2.13.0/node_modules/@elliemae/pui-theme/dist/cjs/index.js"),u=e.n(d),p=function(){try{return window.parent.document,window.parent}catch{return window}},m=function(){return{width:Math.max(document.documentElement.clientWidth||0,window.innerWidth||0),height:Math.max(document.documentElement.clientHeight||0,window.innerHeight||0)}},b=function(I){return Number(I?.replace("px",""))},x=function(){var I=m(),E=I.width,i=(0,d.getDefaultTheme)(),h=i.breakpoints;return E<=b(h.small)?"small":E<=b(h.medium)?"medium":E<=b(h.xsmall)?"xsmall":"large"},S=function(){var I,E,i,h,f=((I=window)===null||I===void 0||(E=I.emui)===null||E===void 0?void 0:E._ASSET_PATH)||"latest/";if(!((i=window.emui)!==null&&i!==void 0&&i.version))return f;var j=(h=window.emui)===null||h===void 0?void 0:h.version.match(/^(?:\d+\.\d+)*/g);return j&&j[0]?f.replace("latest/",`${j[0]}/`):f}},"./lib/view/error-toast/index.tsx"(A,g,e){"use strict";e.d(g,{Q:()=>f});var d=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/objectWithoutProperties.js"),u=e.n(d),p=e("./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js"),m=e("./node_modules/.pnpm/@elliemae+ds-toast@3.61.8_@elliemae+pui-theme@2.13.0/node_modules/@elliemae/ds-toast/dist/esm/parts/DSToast.js"),b=e("./node_modules/.pnpm/@elliemae+ds-toast@3.61.8_@elliemae+pui-theme@2.13.0/node_modules/@elliemae/ds-toast/dist/esm/toast.js"),x=e("./node_modules/.pnpm/@elliemae+ds-toast@3.61.8_@elliemae+pui-theme@2.13.0/node_modules/@elliemae/ds-toast/dist/esm/constants.js"),S=e("./lib/data/useAppDispatch.ts"),I=e("./lib/data/useAppSelector.ts"),E=e("./lib/data/error/index.ts"),i=e("./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js"),h=["position","messageTitle","type","description","messageText","messageComponent"],f=(0,p.memo)(function(j){var O=(0,I.G)(function(w){return w?.error}),L=(0,S.j)();return(0,p.useEffect)(function(){if(O&&(O!=null&&O.description||O!=null&&O.messageText)){var w=Object.assign({position:x.xJ.TOP_RIGHT,messageTitle:"Error",type:x.Ck.ERROR},j,O),T=w.position,k=w.messageTitle,ye=w.type,fe=w.description,z=w.messageText,K=w.messageComponent,se=u()(w,h),Y=fe||z;Y&&(0,b.o)({messageText:Y,messageTitle:k,type:ye,messageComponent:K},Object.assign({position:T},se)),L(E.o.clear())}},[O,j,L]),(0,i.jsx)(m.P_,Object.assign({},j))})},"./lib/view/live-message/index.tsx"(A,g,e){"use strict";e.d(g,{I:()=>b});var d=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/jsx.js"),u=e.n(d),p=e("./node_modules/.pnpm/react-aria-live@2.0.5_react@18.3.1/node_modules/react-aria-live/lib/index.js"),m=e("./lib/data/useAppSelector.ts"),b=function(){var x=(0,m.G)(function(I){var E;return(E=I.liveMessage)===null||E===void 0?void 0:E.message}),S=(0,m.G)(function(I){var E;return(E=I.liveMessage)===null||E===void 0?void 0:E.ariaLive});return u()(p.Iu,{message:x,"aria-live":S})};b.displayName="LiveMessage"},"./lib/view/modals/session-expiry/index.tsx"(A,g,e){"use strict";e.d(g,{_:()=>Re});var d=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/jsx.js"),u=e.n(d),p=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/slicedToArray.js"),m=e.n(p),b=e("./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js"),x=e("./node_modules/.pnpm/@elliemae+ds-button-v2@3.61.8_@elliemae+pui-theme@2.13.0/node_modules/@elliemae/ds-button-v2/dist/esm/parts/DSButtonV2/DSButtonV2.js"),S=e("./node_modules/.pnpm/@elliemae+ds-icons@3.61.8_@elliemae+pui-theme@2.13.0/node_modules/@elliemae/ds-icons/dist/esm/WarningCircle.js"),I=e("./node_modules/.pnpm/@elliemae+ds-hooks-focus-trap@3.61.8_@elliemae+pui-theme@2.13.0/node_modules/@elliemae/ds-hooks-focus-trap/dist/esm/DSHookOnFirstFocusIn.js"),E=e("./node_modules/.pnpm/@elliemae+ds-dialog@3.61.8_@elliemae+pui-theme@2.13.0/node_modules/@elliemae/ds-dialog/dist/esm/DSDialog.js"),i=e("./node_modules/.pnpm/@elliemae+ds-dialog@3.61.8_@elliemae+pui-theme@2.13.0/node_modules/@elliemae/ds-dialog/dist/esm/parts/DSDialogBody/DSDialogBody.js"),h=e("./node_modules/.pnpm/@elliemae+ds-dialog@3.61.8_@elliemae+pui-theme@2.13.0/node_modules/@elliemae/ds-dialog/dist/esm/parts/DSDialogDefaultLayout/DSDialogDefaultLayout.js"),f=e("./node_modules/.pnpm/@elliemae+ds-dialog@3.61.8_@elliemae+pui-theme@2.13.0/node_modules/@elliemae/ds-dialog/dist/esm/parts/DSDialogPrimaryMessage/DSDialogPrimaryMessage.js"),j=e("./node_modules/.pnpm/@elliemae+ds-dialog@3.61.8_@elliemae+pui-theme@2.13.0/node_modules/@elliemae/ds-dialog/dist/esm/parts/DSDialogSecondaryMessage/DSDialogSecondaryMessage.js"),O=e("./node_modules/.pnpm/@elliemae+ds-dialog@3.61.8_@elliemae+pui-theme@2.13.0/node_modules/@elliemae/ds-dialog/dist/esm/parts/DSDialogSeparator/DSDialogSeparator.js"),L=e("./node_modules/.pnpm/@elliemae+ds-dialog@3.61.8_@elliemae+pui-theme@2.13.0/node_modules/@elliemae/ds-dialog/dist/esm/parts/DSDialogFooter/DSDialogFooter.js"),w=e("./lib/data/useAppDispatch.ts"),T=e("./lib/data/logout/actions.ts"),k=e("./lib/utils/session.ts"),ye=e("./node_modules/.pnpm/date-fns@2.30.0/node_modules/date-fns/esm/differenceInMinutes/index.js"),fe=e("./node_modules/.pnpm/date-fns@2.30.0/node_modules/date-fns/esm/getSeconds/index.js"),z=e("./lib/utils/constants.ts"),K=e("./lib/utils/app-config/config.ts"),se=function(le){var he=(0,b.useState)(),_e=m()(he,2),de=_e[0],Ue=_e[1];return(0,b.useEffect)(function(){var We=function(){var oe=(0,K.vF)("sessionTimeoutWarnInterval"),ue=(0,K.vF)("sessionTimeoutInterval"),ne=oe?parseFloat(oe):z.J2.WARN,Pe=ue?parseFloat(ue):z.J2.EXPIRY,ce=Pe-ne,Q=le+ce,De=(0,fe.A)(Q-Date.now()),Ae=(0,ye.A)(Q,Date.now());return{seconds:`0${De}`.slice(-2),minutes:`0${Ae}`.slice(-2)}},Ne=setInterval(function(){var oe=We(),ue=oe.seconds,ne=oe.minutes;Ue(`${ne}:${ue}`)},1e3);return function(){clearInterval(Ne)}},[le]),de},Y,Le,Re=(0,b.memo)(function(le){var he=le.open,_e=le.warningNotifiedAt,de=_e===void 0?0:_e,Ue=(0,b.useState)(he),We=m()(Ue,2),Ne=We[0],oe=We[1],ue=se(de),ne=(0,w.j)(),Pe=(0,b.useRef)(null),ce=(0,b.useRef)(null),Q=(0,I.r)({firstElementRef:Pe,lastElementRef:ce});(0,b.useEffect)(function(){oe(he)},[he]);var De=async function(){oe(!1),await(0,k.KB)(),(0,k.lQ)(),ne(T.r.cancel())},Ae=function(){oe(!1),ne(T.r.confirm())};return ue?u()(E.O,{onKeyDown:Q,isOpen:Ne,size:"small"},void 0,u()(i.u,{p:"s"},void 0,u()(h.D,{},void 0,u()(S.A,{size:"xl",color:["warning","900"]}),u()(f.T,{},void 0,`Your session will expire in ${ue}`),Y||(Y=u()(j.z,{},void 0,"Please logout or reset your session")))),Le||(Le=u()(O.Z,{})),u()(L.r,{},void 0,u()(x.e,{innerRef:Pe,buttonType:"outline",onClick:Ae},void 0,"Logout"),u()(x.e,{innerRef:ce,onClick:function(){De().catch(function(){})}},void 0,"Reset"))):null})},"./lib/view/session-timeout/index.tsx"(A,g,e){"use strict";e.d(g,{S:()=>h});var d=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/jsx.js"),u=e.n(d),p=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/slicedToArray.js"),m=e.n(p),b=e("./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js"),x=e("./lib/data/useAppDispatch.ts"),S=e("./lib/data/logout/actions.ts"),I=e("./lib/utils/session.ts"),E=e("./lib/view/modals/session-expiry/index.tsx"),i=e("./lib/communication/http-client/props.ts"),h=function(){var f=(0,x.j)(),j=(0,b.useState)(!1),O=m()(j,2),L=O[0],w=O[1],T=(0,b.useState)(),k=m()(T,2),ye=k[0],fe=k[1];return(0,b.useEffect)(function(){i.K.resetUserIdleTime=I.oB,(0,I.LC)();var z=(0,I.Lw)(function(Y){Y&&(fe(Y),w(!0))}),K=(0,I.lD)(function(Y){Y===!0&&w(!1)}),se=(0,I.n5)(function(){f(S.r.confirm()),w(!1)});return function(){z(),K(),se(),(0,I.z3)()}},[f]),u()("div",{},void 0,L&&u()(E._,{open:!0,warningNotifiedAt:ye}))};h.displayName="SessionTimeout"},"./lib/view/wait-message/index.tsx"(A,g,e){"use strict";e.d(g,{j:()=>fe});var d=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/jsx.js"),u=e.n(d),p=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/slicedToArray.js"),m=e.n(p),b=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/objectWithoutProperties.js"),x=e.n(b),S=e("./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js"),I=e("./node_modules/.pnpm/styled-components@5.3.11_react-dom@18.3.1_react@18.3.1/node_modules/styled-components/dist/styled-components.browser.cjs.js"),E=e("./node_modules/.pnpm/@elliemae+ds-backdrop@3.61.8_@elliemae+pui-theme@2.13.0/node_modules/@elliemae/ds-backdrop/dist/esm/Backdrop.js"),i=e("./node_modules/.pnpm/@elliemae+ds-circular-progress-indicator@3.61.8_@elliemae+pui-theme@2.13.0/node_modules/@elliemae/ds-circular-progress-indicator/dist/esm/v2/DSCircularIndeterminateIndicator.js"),h=e("./lib/data/useAppSelector.ts"),f=e("./lib/view/wait-message/use-html-wait-message.tsx"),j=e("./lib/analytics/index.ts"),O=function(){return(0,j.e)({data:{event:"pageInteractionEnabled"}})},L=function(){return(0,j.e)({data:{event:"pageInteractionDisabled"}})},w=e("./lib/utils/logrocket.ts"),T=e("./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js"),k=["size","color","showText","withTooltip","tooltipStartPlacementPreference"],ye=(0,I.default)(i.p).withConfig({componentId:"sc-3aqsjr-0"})(["position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);"]),fe=(0,S.memo)(function(z){var K=z.size,se=K===void 0?"xl":K,Y=z.color,Le=Y===void 0?"light":Y,Re=z.showText,le=Re===void 0?!0:Re,he=z.withTooltip,_e=he===void 0?!1:he,de=z.tooltipStartPlacementPreference,Ue=de===void 0?"center":de,We=x()(z,k),Ne=(0,S.useContext)(I.ThemeContext),oe=(0,S.useRef)(!1),ue=(0,S.useState)(!1),ne=m()(ue,2),Pe=ne[0],ce=ne[1],Q=(0,h.G)(function(U){var q;return(q=U.waitMessage)===null||q===void 0?void 0:q.isOpen}),De=(0,h.G)(function(U){var q;return(q=U.waitMessage)===null||q===void 0?void 0:q.delay});oe.current=Q??!1;var Ae=(0,h.G)(function(U){var q;return(q=U.waitMessage)===null||q===void 0?void 0:q.message});return(0,S.useEffect)(function(){setTimeout(function(){Q&&oe.current&&(ce(!0),O(),(0,w.K3)("wait-spinner-start"))},De?1e3:0),Q||(ce(!1),L(),(0,w.K3)("wait-spinner-end"))},[De,Q]),(0,f.t)(Q!==null),Pe?(0,T.jsxs)(T.Fragment,{children:[u()(E.Ay,{zIndex:Ne.zIndex.loader}),(0,T.jsx)(ye,Object.assign({id:"em-loading",size:se,color:Le,showText:le,withTooltip:_e,tooltipStartPlacementPreference:Ue},We,{text:Ae}))]}):null})},"./lib/view/wait-message/use-html-wait-message.tsx"(A,g,e){"use strict";e.d(g,{t:()=>u});var d=e("./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js"),u=function(p){(0,d.useEffect)(function(){var m=document.getElementById("em-wait-message");m&&p&&m.remove()},[p])}},"./storybook-config-entry.js"(A,g,e){"use strict";var d=e("./node_modules/.pnpm/global@4.4.0/node_modules/global/window.js"),u=e.n(d),p=e("./node_modules/.pnpm/@storybook+preview-web@6.5.16/node_modules/@storybook/preview-web/dist/cjs/index.js"),m=e("./node_modules/.pnpm/@storybook+store@6.5.16/node_modules/@storybook/store/dist/cjs/index.js"),b=e("./node_modules/.pnpm/@storybook+client-api@6.5.16/node_modules/@storybook/client-api/dist/cjs/index.js"),x=e("./node_modules/.pnpm/@storybook+addons@6.5.16/node_modules/@storybook/addons/dist/cjs/public_api.js"),S=e("./node_modules/.pnpm/@storybook+channel-postmessage@6.5.16/node_modules/@storybook/channel-postmessage/dist/cjs/index.js"),I=e("./node_modules/.pnpm/@storybook+channel-websocket@6.5.16/node_modules/@storybook/channel-websocket/dist/cjs/index.js"),E=[async function(w){if(/^\.[\\/](?:lib(?:\/(?!\.)(?:(?:(?!(?:^|\/)\.).)*?)\/|\/|$)(?!\.)(?=.)[^/]*?\.stories\.(mdx|tsx|ts|jsx|js))$/.exec(w)){var T=w.substring(6);return e("./lib lazy recursive ^\\.\\/.*$ include: (?:\\/lib(?:\\/(?%21\\.)(?:(?:(?%21(?:^%7C\\/)\\.).)*?)\\/%7C\\/%7C$)(?%21\\.)(?=.)[^/]*?\\.stories\\.(mdx%7Ctsx%7Cts%7Cjsx%7Cjs))$")("./"+T)}}];async function i(w){for(var T=0;T<E.length;T++){var k=await E[T](w);if(k)return k}}var h=u().SERVER_CHANNEL_URL,f=function(){return(0,m.composeConfigs)([e("./node_modules/.pnpm/@storybook+react@6.5.16_@babel+core@7.29.7_@storybook+builder-webpack5@6.5.16_@storybook+mana_lctauyay7dg6nys5i6cagmqqp4/node_modules/@storybook/react/dist/esm/client/docs/config.js"),e("./node_modules/.pnpm/@storybook+react@6.5.16_@babel+core@7.29.7_@storybook+builder-webpack5@6.5.16_@storybook+mana_lctauyay7dg6nys5i6cagmqqp4/node_modules/@storybook/react/dist/esm/client/preview/config.js"),e("./node_modules/.pnpm/@storybook+addon-docs@6.5.16_@babel+core@7.29.7_eslint@8.57.1_typescript@5.9.3_webpack-cli@5.1.4_webpack@5.107.2/node_modules/@storybook/addon-docs/preview.js"),e("./node_modules/.pnpm/@storybook+addon-actions@6.5.16/node_modules/@storybook/addon-actions/preview.js"),e("./node_modules/.pnpm/@storybook+addon-backgrounds@6.5.16/node_modules/@storybook/addon-backgrounds/preview.js"),e("./node_modules/.pnpm/@storybook+addon-measure@6.5.16/node_modules/@storybook/addon-measure/preview.js"),e("./node_modules/.pnpm/@storybook+addon-outline@6.5.16/node_modules/@storybook/addon-outline/preview.js"),e("./node_modules/.pnpm/@storybook+addon-links@6.5.16/node_modules/@storybook/addon-links/preview.js"),e("./node_modules/.pnpm/@storybook+addon-interactions@6.5.16_eslint@8.57.1_typescript@5.9.3_webpack-cli@5.1.4/node_modules/@storybook/addon-interactions/preview.js"),e("./node_modules/.pnpm/@storybook+addon-a11y@6.5.16/node_modules/@storybook/addon-a11y/preview.js"),e("./.storybook/preview.js")])},j=(0,S.Ay)({page:"preview"});if(x.addons.setChannel(j),h){var O=(0,I.Ay)({url:h});x.addons.setServerChannel(O),window.__STORYBOOK_SERVER_CHANNEL__=O}var L=new p.PreviewWeb;window.__STORYBOOK_PREVIEW__=L,window.__STORYBOOK_STORY_STORE__=L.storyStore,window.__STORYBOOK_ADDONS_CHANNEL__=j,window.__STORYBOOK_CLIENT_API__=new b.ClientApi({storyStore:L.storyStore}),L.initialize({importFn:i,getProjectAnnotations:f})},"./node_modules/.pnpm/css-loader@5.2.7_webpack@5.107.2/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[11].use[1]!./lib/utils/storybook/preview.css"(A,g,e){"use strict";e.d(g,{A:()=>b});var d=e("./node_modules/.pnpm/css-loader@5.2.7_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js"),u=e.n(d),p=e("./node_modules/.pnpm/css-loader@5.2.7_webpack@5.107.2/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[11].use[1]!./node_modules/.pnpm/@elliemae+ds-basic@3.61.8/node_modules/@elliemae/ds-basic/dist/css/dimsum.css"),m=u()(function(x){return x[1]});m.i(p.A),m.push([A.id,`
5
- `,""]);const b=m},"@elliemae/pui-diagnostics"(A){"use strict";A.exports=emuiDiagnostics},"?6b64"(){}},A=>{var g=d=>A(A.s=d);A.O(0,[5685],()=>(g("./node_modules/.pnpm/@storybook+core-client@6.5.16_typescript@5.9.3_webpack@4.47.0/node_modules/@storybook/core-client/dist/esm/globals/polyfills.js"),g("./node_modules/.pnpm/@storybook+core-client@6.5.16_typescript@5.9.3_webpack@4.47.0/node_modules/@storybook/core-client/dist/esm/globals/globals.js"),g("./storybook-config-entry.js")));var e=A.O()}]);