@elliemae/pui-app-sdk 5.48.2 → 5.49.0

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 (202) hide show
  1. package/build/docs/404.html +1 -1
  2. package/build/docs/api/classes/Analytics/index.html +1 -1
  3. package/build/docs/api/classes/CMicroAppGuest/index.html +1 -1
  4. package/build/docs/api/classes/CMicroAppHost/index.html +1 -1
  5. package/build/docs/api/classes/ErrorBoundary/index.html +1 -1
  6. package/build/docs/api/classes/GuestModule/index.html +1 -1
  7. package/build/docs/api/functions/AppRoot/index.html +1 -1
  8. package/build/docs/api/functions/Autocomplete/index.html +1 -1
  9. package/build/docs/api/functions/CheckBox/index.html +1 -1
  10. package/build/docs/api/functions/ComboBox/index.html +1 -1
  11. package/build/docs/api/functions/ComboBoxV3/index.html +1 -1
  12. package/build/docs/api/functions/ConnectForm/index.html +1 -1
  13. package/build/docs/api/functions/DateInput/index.html +1 -1
  14. package/build/docs/api/functions/DatePicker/index.html +1 -1
  15. package/build/docs/api/functions/DateRangePicker/index.html +1 -1
  16. package/build/docs/api/functions/DateTimePicker/index.html +1 -1
  17. package/build/docs/api/functions/Form/index.html +1 -1
  18. package/build/docs/api/functions/FormItemLayout/index.html +1 -1
  19. package/build/docs/api/functions/FormLayoutBlockItem/index.html +1 -1
  20. package/build/docs/api/functions/FormSubmitButton/index.html +1 -1
  21. package/build/docs/api/functions/InputMask/index.html +1 -1
  22. package/build/docs/api/functions/InputText/index.html +1 -1
  23. package/build/docs/api/functions/LargeTextBox/index.html +1 -1
  24. package/build/docs/api/functions/MaskedInputText/index.html +1 -1
  25. package/build/docs/api/functions/Page/index.html +1 -1
  26. package/build/docs/api/functions/Radio/index.html +1 -1
  27. package/build/docs/api/functions/RadioGroup/index.html +1 -1
  28. package/build/docs/api/functions/RegisterService/index.html +1 -1
  29. package/build/docs/api/functions/RenderWithStateAddOns/index.html +1 -1
  30. package/build/docs/api/functions/RequireAuth/index.html +1 -1
  31. package/build/docs/api/functions/SessionTimeout/index.html +1 -1
  32. package/build/docs/api/functions/TextBox/index.html +1 -1
  33. package/build/docs/api/functions/Toggle/index.html +1 -1
  34. package/build/docs/api/functions/authSaga/index.html +1 -1
  35. package/build/docs/api/functions/authorize/index.html +1 -1
  36. package/build/docs/api/functions/buildModuleParams/index.html +1 -1
  37. package/build/docs/api/functions/cleanup/index.html +1 -1
  38. package/build/docs/api/functions/configureStore/index.html +1 -1
  39. package/build/docs/api/functions/createGuestModule/index.html +1 -1
  40. package/build/docs/api/functions/createManager/index.html +1 -1
  41. package/build/docs/api/functions/enableReactAppForHostIntegration/index.html +1 -1
  42. package/build/docs/api/functions/fetchHostAppData/index.html +1 -1
  43. package/build/docs/api/functions/fetchUserSettings/index.html +1 -1
  44. package/build/docs/api/functions/getApiActionCreator/index.html +1 -1
  45. package/build/docs/api/functions/getAppConfig/index.html +1 -1
  46. package/build/docs/api/functions/getAppConfigValue/index.html +1 -1
  47. package/build/docs/api/functions/getAuthHTTPClient/index.html +1 -1
  48. package/build/docs/api/functions/getAuthorizationHeader/index.html +1 -1
  49. package/build/docs/api/functions/getHTTPClient/index.html +1 -1
  50. package/build/docs/api/functions/getHostAppDataByKey/index.html +1 -1
  51. package/build/docs/api/functions/getLogger/index.html +1 -1
  52. package/build/docs/api/functions/getMicroFrontEndAppConfig/index.html +1 -1
  53. package/build/docs/api/functions/getNavigationLinks/index.html +1 -1
  54. package/build/docs/api/functions/getRedirectUrl/index.html +1 -1
  55. package/build/docs/api/functions/getSelectField/index.html +1 -1
  56. package/build/docs/api/functions/getStore/index.html +1 -1
  57. package/build/docs/api/functions/initServiceWorker/index.html +1 -1
  58. package/build/docs/api/functions/isCIBuild/index.html +1 -1
  59. package/build/docs/api/functions/isProd/index.html +1 -1
  60. package/build/docs/api/functions/isUserAuthorized/index.html +1 -1
  61. package/build/docs/api/functions/listenStorageEvents/index.html +1 -1
  62. package/build/docs/api/functions/loadAppConfig/index.html +1 -1
  63. package/build/docs/api/functions/loadable/index.html +1 -1
  64. package/build/docs/api/functions/login/index.html +1 -1
  65. package/build/docs/api/functions/notifyGuestUnloadComplete/index.html +1 -1
  66. package/build/docs/api/functions/onAuthorizationFailure/index.html +1 -1
  67. package/build/docs/api/functions/onGuestUnloadStart/index.html +1 -1
  68. package/build/docs/api/functions/redactPii/index.html +1 -1
  69. package/build/docs/api/functions/removeDoubleSlash/index.html +1 -1
  70. package/build/docs/api/functions/removeStorageEvents/index.html +1 -1
  71. package/build/docs/api/functions/render/index.html +1 -1
  72. package/build/docs/api/functions/renderHook/index.html +1 -1
  73. package/build/docs/api/functions/renderWithHostData/index.html +1 -1
  74. package/build/docs/api/functions/renderWithRedux/index.html +1 -1
  75. package/build/docs/api/functions/renderWithRouter/index.html +1 -1
  76. package/build/docs/api/functions/renderWithRouterRedux/index.html +1 -1
  77. package/build/docs/api/functions/sdkBaseQuery/index.html +1 -1
  78. package/build/docs/api/functions/sendBAEvent/index.html +1 -1
  79. package/build/docs/api/functions/sendMessageToHost/index.html +1 -1
  80. package/build/docs/api/functions/setAppConfig/index.html +1 -1
  81. package/build/docs/api/functions/setAppConfigValue/index.html +1 -1
  82. package/build/docs/api/functions/setHostAppData/index.html +1 -1
  83. package/build/docs/api/functions/setLoginParams/index.html +1 -1
  84. package/build/docs/api/functions/setSessionTimeoutInterval/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.9983c34d.js → main.cc7e14f1.js} +2 -2
  155. package/build/docs/index.html +1 -1
  156. package/build/docs/usage-guide/index.html +1 -1
  157. package/demo/{docs/6751.4870b9e7.iframe.bundle.js → 6751.931e84f7.iframe.bundle.js} +1 -1
  158. package/demo/6751.931e84f7.iframe.bundle.js.br +0 -0
  159. package/demo/{docs/6751.4870b9e7.iframe.bundle.js.gz → 6751.931e84f7.iframe.bundle.js.gz} +0 -0
  160. package/demo/{6751.4870b9e7.iframe.bundle.js → docs/6751.931e84f7.iframe.bundle.js} +1 -1
  161. package/demo/docs/6751.931e84f7.iframe.bundle.js.br +0 -0
  162. package/demo/{6751.4870b9e7.iframe.bundle.js.gz → docs/6751.931e84f7.iframe.bundle.js.gz} +0 -0
  163. package/demo/docs/iframe.html +1 -1
  164. package/demo/docs/index.html +1 -1
  165. package/demo/docs/{main.bd6146977a981bbbc197.manager.bundle.js → main.630930af4be0dd8216bc.manager.bundle.js} +1 -1
  166. package/demo/docs/main.630930af4be0dd8216bc.manager.bundle.js.br +0 -0
  167. package/demo/docs/{main.bd6146977a981bbbc197.manager.bundle.js.gz → main.630930af4be0dd8216bc.manager.bundle.js.gz} +0 -0
  168. package/demo/docs/main.cfb1d0ef.iframe.bundle.js +5 -0
  169. package/demo/docs/main.cfb1d0ef.iframe.bundle.js.br +0 -0
  170. package/demo/docs/main.cfb1d0ef.iframe.bundle.js.gz +0 -0
  171. package/demo/docs/project.json +1 -1
  172. package/demo/iframe.html +1 -1
  173. package/demo/index.html +1 -1
  174. package/demo/{main.bd6146977a981bbbc197.manager.bundle.js → main.630930af4be0dd8216bc.manager.bundle.js} +1 -1
  175. package/demo/main.630930af4be0dd8216bc.manager.bundle.js.br +0 -0
  176. package/demo/{main.bd6146977a981bbbc197.manager.bundle.js.gz → main.630930af4be0dd8216bc.manager.bundle.js.gz} +0 -0
  177. package/demo/main.cfb1d0ef.iframe.bundle.js +5 -0
  178. package/demo/main.cfb1d0ef.iframe.bundle.js.br +0 -0
  179. package/demo/main.cfb1d0ef.iframe.bundle.js.gz +0 -0
  180. package/demo/project.json +1 -1
  181. package/dist/cjs/utils/app-config/index.js +2 -2
  182. package/dist/cjs/utils/asset-path.js +29 -0
  183. package/dist/cjs/utils/window.js +2 -7
  184. package/dist/esm/utils/app-config/index.js +1 -1
  185. package/dist/esm/utils/asset-path.js +9 -0
  186. package/dist/esm/utils/window.js +1 -6
  187. package/dist/types/lib/utils/asset-path.d.ts +5 -0
  188. package/dist/types/lib/utils/tests/asset-path.test.d.ts +1 -0
  189. package/dist/types/lib/utils/window.d.ts +1 -1
  190. package/dist/types/tsconfig.tsbuildinfo +1 -1
  191. package/package.json +1 -1
  192. package/demo/6751.4870b9e7.iframe.bundle.js.br +0 -0
  193. package/demo/docs/6751.4870b9e7.iframe.bundle.js.br +0 -0
  194. package/demo/docs/main.23c07c99.iframe.bundle.js +0 -5
  195. package/demo/docs/main.23c07c99.iframe.bundle.js.br +0 -0
  196. package/demo/docs/main.23c07c99.iframe.bundle.js.gz +0 -0
  197. package/demo/docs/main.bd6146977a981bbbc197.manager.bundle.js.br +0 -0
  198. package/demo/main.23c07c99.iframe.bundle.js +0 -5
  199. package/demo/main.23c07c99.iframe.bundle.js.br +0 -0
  200. package/demo/main.23c07c99.iframe.bundle.js.gz +0 -0
  201. package/demo/main.bd6146977a981bbbc197.manager.bundle.js.br +0 -0
  202. /package/build/docs/assets/js/{main.9983c34d.js.LICENSE.txt → main.cc7e14f1.js.LICENSE.txt} +0 -0
@@ -0,0 +1,5 @@
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){const c={"./view/breakpoint/index.stories":["./lib/view/breakpoint/index.stories.tsx",[5815,999]],"./view/breakpoint/index.stories.tsx":["./lib/view/breakpoint/index.stories.tsx",[5815,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",[5815,5058,5599,4957,4216,3071]],"./view/fields/autocomplete/advanced-autocomplete.stories.tsx":["./lib/view/fields/autocomplete/advanced-autocomplete.stories.tsx",[5815,5058,5599,4957,4216,3071]],"./view/fields/autocomplete/async-suggestions-autocomplete.stories":["./lib/view/fields/autocomplete/async-suggestions-autocomplete.stories.tsx",[5815,5058,5599,4957,4216,9825]],"./view/fields/autocomplete/async-suggestions-autocomplete.stories.tsx":["./lib/view/fields/autocomplete/async-suggestions-autocomplete.stories.tsx",[5815,5058,5599,4957,4216,9825]],"./view/fields/autocomplete/index.stories":["./lib/view/fields/autocomplete/index.stories.tsx",[5815,5058,5599,4957,4216,8048]],"./view/fields/autocomplete/index.stories.tsx":["./lib/view/fields/autocomplete/index.stories.tsx",[5815,5058,5599,4957,4216,8048]],"./view/fields/check-box/index.stories":["./lib/view/fields/check-box/index.stories.tsx",[5815,5058,8654,590,8522,564,2382]],"./view/fields/check-box/index.stories.tsx":["./lib/view/fields/check-box/index.stories.tsx",[5815,5058,8654,590,8522,564,2382]],"./view/fields/check-box/set-value.stories":["./lib/view/fields/check-box/set-value.stories.tsx",[5815,5058,8654,590,8522,564,5410]],"./view/fields/check-box/set-value.stories.tsx":["./lib/view/fields/check-box/set-value.stories.tsx",[5815,5058,8654,590,8522,564,5410]],"./view/fields/combo-box-v3/index.stories":["./lib/view/fields/combo-box-v3/index.stories.tsx",[5815,5058,8654,9863,590,5599,8522,4957,6753,564,9242,3086]],"./view/fields/combo-box-v3/index.stories.tsx":["./lib/view/fields/combo-box-v3/index.stories.tsx",[5815,5058,8654,9863,590,5599,8522,4957,6753,564,9242,3086]],"./view/fields/combo-box/index.stories":["./lib/view/fields/combo-box/index.stories.tsx",[5815,5058,8654,9863,590,1449,1679,778,6184]],"./view/fields/combo-box/index.stories.tsx":["./lib/view/fields/combo-box/index.stories.tsx",[5815,5058,8654,9863,590,1449,1679,778,6184]],"./view/fields/date-input/index.stories":["./lib/view/fields/date-input/index.stories.tsx",[5815,5058,8654,9863,1449,3438,2316,6055]],"./view/fields/date-input/index.stories.tsx":["./lib/view/fields/date-input/index.stories.tsx",[5815,5058,8654,9863,1449,3438,2316,6055]],"./view/fields/date-picker/index.stories":["./lib/view/fields/date-picker/index.stories.tsx",[5815,5058,8654,9863,1449,3438,9540,7813]],"./view/fields/date-picker/index.stories.tsx":["./lib/view/fields/date-picker/index.stories.tsx",[5815,5058,8654,9863,1449,3438,9540,7813]],"./view/fields/date-range-picker/index.stories":["./lib/view/fields/date-range-picker/index.stories.tsx",[5815,5058,6753,1400,3615,77]],"./view/fields/date-range-picker/index.stories.tsx":["./lib/view/fields/date-range-picker/index.stories.tsx",[5815,5058,6753,1400,3615,77]],"./view/fields/date-time-picker/index.stories":["./lib/view/fields/date-time-picker/index.stories.tsx",[5815,5058,6753,1400,2129]],"./view/fields/date-time-picker/index.stories.tsx":["./lib/view/fields/date-time-picker/index.stories.tsx",[5815,5058,6753,1400,2129]],"./view/fields/form-item-layout/index.stories":["./lib/view/fields/form-item-layout/index.stories.tsx",[5815,5058,8654,9863,590,1449,1679,7610,3813]],"./view/fields/form-item-layout/index.stories.tsx":["./lib/view/fields/form-item-layout/index.stories.tsx",[5815,5058,8654,9863,590,1449,1679,7610,3813]],"./view/fields/form-layout-block-item/index.stories":["./lib/view/fields/form-layout-block-item/index.stories.tsx",[5815,5058,8654,9863,1449,2487]],"./view/fields/form-layout-block-item/index.stories.tsx":["./lib/view/fields/form-layout-block-item/index.stories.tsx",[5815,5058,8654,9863,1449,2487]],"./view/fields/input-mask/index.stories":["./lib/view/fields/input-mask/index.stories.tsx",[5815,5058,8654,9863,1449,5762,6729]],"./view/fields/input-mask/index.stories.tsx":["./lib/view/fields/input-mask/index.stories.tsx",[5815,5058,8654,9863,1449,5762,6729]],"./view/fields/input-text/index.stories":["./lib/view/fields/input-text/index.stories.tsx",[5815,5058,5599,1764]],"./view/fields/input-text/index.stories.tsx":["./lib/view/fields/input-text/index.stories.tsx",[5815,5058,5599,1764]],"./view/fields/large-text-box/index.stories":["./lib/view/fields/large-text-box/index.stories.tsx",[5815,5058,1491]],"./view/fields/large-text-box/index.stories.tsx":["./lib/view/fields/large-text-box/index.stories.tsx",[5815,5058,1491]],"./view/fields/masked-input-text/with-money-mask.stories":["./lib/view/fields/masked-input-text/with-money-mask.stories.tsx",[5815,5058,5599,5974]],"./view/fields/masked-input-text/with-money-mask.stories.tsx":["./lib/view/fields/masked-input-text/with-money-mask.stories.tsx",[5815,5058,5599,5974]],"./view/fields/masked-input-text/with-percentage-mask.stories":["./lib/view/fields/masked-input-text/with-percentage-mask.stories.tsx",[5815,5058,5599,8980]],"./view/fields/masked-input-text/with-percentage-mask.stories.tsx":["./lib/view/fields/masked-input-text/with-percentage-mask.stories.tsx",[5815,5058,5599,8980]],"./view/fields/radio-group/index.stories":["./lib/view/fields/radio-group/index.stories.tsx",[5815,5058,8654,9863,590,1449,8522,1679,7610,9819,2977]],"./view/fields/radio-group/index.stories.tsx":["./lib/view/fields/radio-group/index.stories.tsx",[5815,5058,8654,9863,590,1449,8522,1679,7610,9819,2977]],"./view/fields/radio/index.stories":["./lib/view/fields/radio/index.stories.tsx",[5815,5058,8654,590,8522,6531]],"./view/fields/radio/index.stories.tsx":["./lib/view/fields/radio/index.stories.tsx",[5815,5058,8654,590,8522,6531]],"./view/fields/radio/set-value.stories":["./lib/view/fields/radio/set-value.stories.tsx",[5815,5058,8654,590,8522,5055]],"./view/fields/radio/set-value.stories.tsx":["./lib/view/fields/radio/set-value.stories.tsx",[5815,5058,8654,590,8522,5055]],"./view/fields/text-box/index.stories":["./lib/view/fields/text-box/index.stories.tsx",[5815,5058,8654,9863,1449,8749]],"./view/fields/text-box/index.stories.tsx":["./lib/view/fields/text-box/index.stories.tsx",[5815,5058,8654,9863,1449,8749]],"./view/fields/toggle/index.stories":["./lib/view/fields/toggle/index.stories.tsx",[5815,5058,5936]],"./view/fields/toggle/index.stories.tsx":["./lib/view/fields/toggle/index.stories.tsx",[5815,5058,5936]],"./view/form/index.stories":["./lib/view/form/index.stories.tsx",[5815,5058,8654,9863,590,5599,8522,4957,6753,564,1400,9242,6220]],"./view/form/index.stories.tsx":["./lib/view/form/index.stories.tsx",[5815,5058,8654,9863,590,5599,8522,4957,6753,564,1400,9242,6220]],"./view/form/usecases.stories":["./lib/view/form/usecases.stories.tsx",[5815,5058,8654,9863,590,5599,8522,4957,6753,564,1400,9242,4580]],"./view/form/usecases.stories.tsx":["./lib/view/form/usecases.stories.tsx",[5815,5058,8654,9863,590,5599,8522,4957,6753,564,1400,9242,4580]],"./view/intro.stories.mdx":["./lib/view/intro.stories.mdx",[721,6964,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 d(p){try{if(!e.o(c,p))return Promise.resolve().then(()=>{const y=new Error("Cannot find module '"+p+"'");throw y.code="MODULE_NOT_FOUND",y})}catch(y){return Promise.reject(y)}const v=c[p],b=v[0];return Promise.all(v[1].map(e.e)).then(()=>e(b))}d.keys=()=>Object.keys(c),d.id="./lib lazy recursive ^\\.\\/.*$ include: (?:\\/lib(?:\\/(?%21\\.)(?:(?:(?%21(?:^%7C\\/)\\.).)*?)\\/%7C\\/%7C$)(?%21\\.)(?=.)[^/]*?\\.stories\\.(mdx%7Ctsx%7Cts%7Cjsx%7Cjs))$",A.exports=d},"./.storybook/preview.js"(A,g,e){"use strict";e.r(g),e.d(g,{__namedExportsOrder:()=>si,decorators:()=>qt,loaders:()=>ei,parameters:()=>ii});var c=e("./node_modules/.pnpm/@elliemae+pui-theme@2.13.1/node_modules/@elliemae/pui-theme/dist/cjs/index.js"),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"),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"),v=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.1/node_modules/redux-saga/dist/redux-saga.cjs.js"),y=e.n(b),O=e("./node_modules/.pnpm/immer@9.0.21/node_modules/immer/dist/immer.cjs.production.min.js"),S=e("./lib/data/wait-message/actions.ts"),E={isOpen:null,message:"loading...",delay:!0},i=function(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:E,s=arguments.length>1?arguments[1]:void 0;return(0,O.default)(l,function(o){switch(s.type){case S.k.OPEN:o.isOpen=!0,o.message=s.payload.message,o.delay=s.payload.delay;break;case S.k.CLOSE:o.isOpen=!1;break}})},x=e("./lib/data/error/index.ts"),a={change:"change"},j=function(l){return l.LARGE="large",l.MEDIUM="medium",l.SMALL="small",l.XSMALL="xsmall",l}({}),_={value:j.LARGE},L=function(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:_,s=arguments.length>1?arguments[1]:void 0,o=s.type,I=s.payload;return(0,O.default)(l,function(M){switch(o){case a.change:M.value=I;break}})},P=e("./lib/data/live-message/index.ts"),R=function(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},s=(0,d.combineReducers)(Object.assign({waitMessage:i,error:x.L,breakpoint:L,liveMessage:P.k},l));return s},$=e("./lib/data/webpack-hmr.ts"),be=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/toConsumableArray.js"),ae=e.n(be),G=e("./node_modules/.pnpm/redux@4.2.1/node_modules/redux/lib/redux.js"),H=new Map,Z,V=function(l){return Z=l,function(s){return function(o){return G.compose.apply(void 0,ae()(H.values()))(s)(o)}}},Je=function(l){var s=l.reducerPath,o=l.middleware;H.has(s)||!Z||H.set(s,o(Z))},le=function(l){H.delete(l)},Q=function(){H.clear()},q,we,Oe=(0,d.createListenerMiddleware)(),ye=Oe.startListening,st=null,Be=null,Pe=Oe.clearListeners,_e=R(),Ee=null,He=function(l){Ee=l},je=function(){return Ee},de=function(l,s,o){var I=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},M=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},W=s.run,z=[(0,v.OV)({createReducer:R,runSaga:W})];_e=R(M);var ue=(0,d.configureStore)({reducer:_e,middleware:function(ge){return ge(I).prepend(Oe.middleware).concat([s,V])},devTools:!1,preloadedState:l,enhancers:z});return(0,p.setupListeners)(ue.dispatch),(0,$.I)(ue),ue},Ze=function(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},s=arguments.length>1?arguments[1]:void 0,o=arguments.length>2?arguments[2]:void 0,I=arguments.length>3?arguments[3]:void 0,M=y()({}),W=de(l,M,s,o,I);return He(W),W},nt=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/jsx.js"),C=e.n(nt),te=e("./lib/utils/history.ts"),me=e("./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js"),Ae=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"),$e=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"),ne=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/slicedToArray.js"),F=e.n(ne),xe=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/objectWithoutProperties.js"),Ue=e.n(xe),Te=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"),Le=e("./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js"),X=["history","basename"],Re=function(l){var s=l.history,o=l.basename,I=Ue()(l,X),M=(0,me.useState)({action:s.action,location:s.location}),W=F()(M,2),z=W[0],ue=W[1];return(0,me.useLayoutEffect)(function(){o&&z.location.pathname&&!z.location.pathname.startsWith(o)&&console.warn(`[AppRouter] basename "${o}" does not match location.pathname "${z.location.pathname}". React Router will render nothing. Verify that "homeRoute" in app.config.json matches the guest's route.`)},[o,z.location.pathname]),(0,me.useLayoutEffect)(function(){var ge=s.listen(function(){for(var ce=arguments.length,ve=new Array(ce),Ot=0;Ot<ce;Ot++)ve[Ot]=arguments[Ot];ve.length===2?ue({location:ve[0],action:ve[1]}):ue(ve[0])});return function(){ge()}},[s]),(0,Le.jsx)(Te.Router,Object.assign({},I,{basename:o,location:z.location,navigationType:z.action,navigator:s}))};Re.displayName="AppRouter";var We=e("./node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/merge.js"),pe=e("./lib/utils/micro-frontend/guest.ts"),vt=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/classCallCheck.js"),Ge=e.n(vt),mt=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/createClass.js"),Ve=e.n(mt),pt=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/classPrivateFieldLooseBase.js"),K=e.n(pt),Qe=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/classPrivateFieldLooseKey.js"),Fe=e.n(Qe),ft=e("./node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/throttle.js"),Ie=e.n(ft),Ce=e("./node_modules/.pnpm/pubsub-js@1.9.5/node_modules/pubsub-js/src/pubsub.js"),ot=e("./node_modules/.pnpm/@elliemae+pui-analytics-so@1.7.2/node_modules/@elliemae/pui-analytics-so/dist/esm/analytics.js"),Pt=e("./node_modules/.pnpm/@elliemae+pui-analytics-so@1.7.2/node_modules/@elliemae/pui-analytics-so/dist/esm/baEventParameters.js"),ht=e("./lib/data/logout/actions.ts"),Ke=e("./lib/utils/app-config/config.ts"),ke=e("./lib/utils/app-config/index.ts"),De=e("./lib/utils/console-logger.ts"),rt=e("./lib/utils/logger.ts"),ze=e("./lib/utils/constants.ts"),oe=e("./lib/utils/window.ts"),gt=e("./lib/utils/session.ts"),qe=e("./lib/utils/micro-frontend/app-bridge.ts"),_t=e("./lib/utils/micro-frontend/ssf-host.ts"),Mt,Se=Fe()("ssfHostRef"),Y=Fe()("appBridge"),et=Fe()("selfInitialize"),at=function(){function l(s){var o,I,M,W,z,ue,ge=this;Ge()(this,l),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,Se,{writable:!0,value:void 0}),Object.defineProperty(this,Y,{writable:!0,value:null}),Object.defineProperty(this,et,{writable:!0,value:void 0}),this.appId=(0,Ke.vF)("appId"),this.onInit=s?.onInit,this.logger=s?.logger||De.k,(0,rt.B)(this.logger),this.onRenewSessionTimer=s?.onRenewSessionTimer,K()(this,et)[et]=(o=s?.selfInitialize)!==null&&o!==void 0?o:!1,this.props={systemVersion:(I=s?.version)!==null&&I!==void 0?I:"latest",history:(M=s?.history)!==null&&M!==void 0?M:te.N,theme:(W=s?.theme)!==null&&W!==void 0?W:(0,c.getDefaultTheme)()},this.activeGuests={},s!=null&&s.ssfHostRef&&(0,_t.Z)(s.ssfHostRef),K()(this,Se)[Se]=(0,_t.F)();var ce=(z=s?.analytics)!==null&&z!==void 0?z:new ot.j({logger:this.logger});this.scriptingObjects=Object.assign({analytics:ce},(ue=s?.scriptingObjects)!==null&&ue!==void 0?ue:{}),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=Ie()(async function(){await(0,gt.KB)(),ge.onRenewSessionTimer&&ge.onRenewSessionTimer()},ze.eE,{leading:!0}),K()(this,et)[et]||(0,ke.y)().then(function(){(0,qe.b)().then(function(ve){K()(ge,Y)[Y]=ve,ge.onInit&&ge.onInit(ge.props)}).catch(function(ve){throw ve})}).catch(function(){}),(0,Pt.nE)({appId:this.appId})}return Ve()(l,[{key:"initialize",value:async function(){e.p=e.p.replace(/\/?$/,"/"),await(0,ke.y)();var o=await(0,qe.b)();return K()(this,Y)[Y]=o,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(o){return(0,oe.zk)().sessionStorage.getItem(o)}},{key:"setItem",value:function(o,I){(0,oe.zk)().sessionStorage.setItem(o,I)}},{key:"getGuests",value:function(){return this.activeGuests}},{key:"getGuest",value:function(o){return this.activeGuests[o]?this.activeGuests[o]:null}},{key:"publish",value:function(o,I){return(0,Ce.publish)(o,I)}},{key:"subscribe",value:function(o,I){return(0,Ce.subscribe)(o,I)}},{key:"unsubscribe",value:function(o){(0,Ce.unsubscribe)(o)}},{key:"navigate",value:function(o,I){o&&this.props.history.push(o,I)}},{key:"openWaitMessage",value:function(){var o=je();o&&o.dispatch(S.X.open())}},{key:"closeWaitMessage",value:function(){var o=je();o&&o.dispatch(S.X.close())}},{key:"openErrorBanner",value:function(o){var I=je();I&&I.dispatch(x.o.set({description:o}))}},{key:"getAuthToken",value:function(){return(0,oe.zk)().sessionStorage.getItem("Authorization")}},{key:"renewAuthToken",value:function(){return(0,oe.zk)().sessionStorage.getItem("Authorization")}},{key:"logout",value:function(){var o=je();o&&o.dispatch(ht.r.confirm())}},{key:"renewSessionTimer",value:async function(){this.throttleRenewSessionTimer()}},{key:"getBreakpoint",value:function(){return(0,oe.D)()}},{key:"getViewportSize",value:function(){return(0,oe.M5)()}},{key:"onResizeEvent",value:function(o){return(0,Ce.subscribe)(ze.BD,function(I,M){return o(M)})}},{key:"onBreakpointChangeEvent",value:function(o){return(0,Ce.subscribe)(ze.H1,function(I,M){return o(M)})}},{key:"setSystemVersion",value:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"latest";window.emui.version=o,this.props.systemVersion=o}},{key:"sendBAEvent",value:function(o){this.scriptingObjects.analytics.sendBAEvent(o).catch(function(){})}},{key:"getObject",value:async function(o){return this.scriptingObjects[o]}},{key:"addScriptingObject",value:function(o,I){K()(this,Y)[Y]&&K()(this,Y)[Y].addScriptingObject(o,I),K()(this,Se)[Se].addScriptingObject(o,I)}},{key:"dispatchEvent",value:async function(o){if(K()(this,Y)[Y]){var I=await Promise.all([K()(this,Y)[Y].dispatchEvent(o),K()(this,Se)[Se].dispatchEvent(o)]),M=F()(I,2),W=M[0],z=M[1];return Array.isArray(W)&&Array.isArray(z)?W.concat(z):Promise.resolve()}return K()(this,Se)[Se].dispatchEvent(o)}},{key:"removeScriptingObject",value:function(o,I){K()(this,Y)[Y]&&K()(this,Y)[Y].removeScriptingObject(o,I),K()(this,Se)[Se].removeScriptingObject(o,I)}}],[{key:"getInstance",value:function(o){return this.instance||(this.instance=new l(o),o!=null&&o.selfInitialize||(o?.logger||De.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}}])}();Mt=at,at.instance=void 0;var Lt,bt,lt,dt,yt,Xe,tt=function(){return at.isInitialized()},Et=function(){return pe.h.isInitialized()},xt=function(){return Et()&&window.top===window.self},ut=function(){return tt()?at.getInstance().getLogger():pe.h.getInstance().getLogger()},It=function(l){return dt()?!0:l?l===Xe.PRODUCTION:!0},St=function(l){var s=bt.getInstance().getProps(),o=s.systemVersion,I=o.match(/^(?:\d+\.\d+)*/g);return l.replace(/{SYSTEM_VERSION}/,I&&I[0]||"latest")},Ct=function(l){var s;return l==null||(s=l.replace)===null||s===void 0?void 0:s.call(l,/\/?$/,"/")},f=function(l){var s=lt(`microFrontendApps.${l.id}`);if(!s)throw new Error(`unable to locate application configuraiton for ${l.id} under microFrontendApps section of app.config.json`);var o=s.mode,I=o===void 0?Xe.PRODUCTION:o,M=It(I)?s.production:s.development;s.production&&delete s.production,s.development&&delete s.development;var W=Lt(l,{mode:"production",hostUrl:"./",manifestPath:"./{SYSTEM_VERSION}",isJsModule:!1},s,M);return W.hostUrl=yt(W.hostUrl.replace(/\/?$/,"/")),W.manifestPath=Ct(St(W.manifestPath)),W},n=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"),u=e.n(n),h=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/getPrototypeOf.js"),N=e.n(h),ie=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/inherits.js"),J=e.n(ie),Ne=function(l){var s=l.error,o=s===void 0?new Error("We are unable to process your request"):s,I=l.errorInfo,M=I===void 0?{componentStack:"Please close your browser and login again"}:I;return C()("div",{},void 0,C()("h2",{},void 0,o?.message),C()("section",{},void 0,M?.componentStack))};Ne.displayName="DefaultErrorTemplate";var jt=e("./lib/utils/log-records.ts");function At(l,s,o){return s=N()(s),u()(l,it()?Reflect.construct(s,o||[],N()(l).constructor):s.apply(l,o))}function it(){try{var l=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(it=function(){return!!l})()}var wt=function(l){function s(o){var I;return Ge()(this,s),I=At(this,s,[o]),I.state={error:null,errorInfo:null},I}return J()(s,l),Ve()(s,[{key:"componentDidCatch",value:function(I,M){this.setState({error:I,errorInfo:M});var W=ut();W&&W.error(Object.assign({},jt.V.UNHANDLED_ERROR,{exception:I,message:I.message}))}},{key:"render",value:function(){var I=this.props,M=I.children,W=I.errorTemplate,z=W||Ne,ue=this.state,ge=ue.error,ce=ue.errorInfo;return ce?C()(z,{error:ge,errorInfo:ce}):M}}])}(me.Component),Nt=e("./node_modules/.pnpm/react-aria-live@2.0.5_react@18.3.1/node_modules/react-aria-live/lib/index.js"),Bt=e("./lib/data/useAppDispatch.ts"),Kt=function(l,s,o){var I=l.map(function(ce){return window.matchMedia(ce)}),M=(0,me.useCallback)(function(){var ce=I.findIndex(function(ve){return ve.matches});return typeof s[ce]<"u"?s[ce]:o},[o,I,s]),W=(0,me.useState)(M),z=F()(W,2),ue=z[0],ge=z[1];return(0,me.useEffect)(function(){var ce=function(){return ge(M)};return I.forEach(function(ve){return ve.addEventListener("change",ce)}),function(){return I.forEach(function(ve){return ve.removeEventListener("change",ce)})}},[M,I]),ue},Ht=function(){var l=(0,me.useContext)($e.ThemeContext),s=Kt([`(max-width: ${l.breakpoints.small})`,`(max-width: ${l.breakpoints.medium})`,`(max-width: ${l.breakpoints.large})`,`(max-width: ${l.breakpoints.xsmall})`],["small","medium","large","xsmall"],"large"),o=(0,Bt.j)();(0,me.useEffect)(function(){o({type:a.change,payload:s}),(0,Ce.publish)(ze.H1,s)},[s,o])},$t=function(){(0,me.useEffect)(function(){if(window.ResizeObserver){var l=new ResizeObserver(function(s){(0,Ce.publish)(ze.BD,s&&s[0])});return l.observe(window.document.documentElement),function(){l.unobserve(window.document.documentElement)}}return function(){}},[])},Vt=e("./lib/view/session-timeout/index.tsx"),t=e("./lib/view/live-message/index.tsx"),r=e("./lib/view/error-toast/index.tsx"),m=e("./lib/view/wait-message/index.tsx");const w=(0,$e.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(l){var s=l.theme;return s.media.small`
2
+ font-size: 100%;
3
+ `},function(l){return l.theme.lineHeights.m},function(l){return l.theme.fonts.default},function(l){return l.theme.colors.neutral["000"]});var T,D,k,B,U,re=$e.default.div.withConfig({componentId:"sc-1ho9g5n-0"})(["height:100%;"]),fe=function(l){var s=l.manageSession,o=l.WaitMessage,I=l.children;return Ht(),$t(),C()(Nt.Ai,{},void 0,C()(re,{},void 0,T||(T=C()(w,{})),s&&(D||(D=C()(Vt.S,{}))),k||(k=C()(t.I,{})),o||B||(B=C()(m.j,{})),U||(U=C()(r.Q,{})),I))};fe.displayName="StandAloneApp";var ee=e("./lib/view/wait-message/use-html-wait-message.tsx"),he,se,Me,Ye=$e.default.div.withConfig({componentId:"sc-njn2ro-0"})(["height:100%;"]),Tt=function(l){var s=l.WaitMessage,o=l.children;return Ht(),(0,ee.t)(!0),$t(),C()(Ye,{},void 0,he||(he=C()(w,{})),s||se||(se=C()(m.j,{})),Me||(Me=C()(r.Q,{})),o)};Tt.displayName="HostedApp";var ct=function(l){var s=xt()||tt();return s?(0,Le.jsx)(fe,Object.assign({},l)):(0,Le.jsx)(Tt,Object.assign({},l))},Rt=function(l){var s=l.store,o=l.history,I=l.basename,M=l.theme,W=M===void 0?(0,c.getDefaultTheme)():M,z=l.manageSession,ue=z===void 0?!1:z,ge=l.WaitMessage,ce=l.errorTemplate,ve=l.children,Ot=l.strictMode,ni=Ot===void 0?!0:Ot,oi=ni?me.StrictMode:me.Fragment;return C()(oi,{},void 0,C()(wt,{errorTemplate:ce},void 0,C()(Ae.Provider,{store:s},void 0,C()(Re,{history:o,basename:I},void 0,C()($e.ThemeProvider,{theme:W},void 0,C()(ct,{manageSession:ue,WaitMessage:ge},void 0,ve))))))};Rt.displayName="AppRoot";var Ft=function(l,s,o){return C()(Rt,{store:s,history:te.N,theme:l},void 0,o())};Ft.displayName="withAppDecorator";var Ut=e("./node_modules/.pnpm/@storybook+theming@6.5.16/node_modules/@storybook/theming/dist/esm/index.js"),Wt=["base","brandTitle"],kt=function(l){var s=l.base,o=s===void 0?"light":s,I=l.brandTitle,M=I===void 0?"Platform UI Components":I,W=Ue()(l,Wt);return(0,Ut.vt)(Object.assign({base:o,brandTitle:`${M} 5.49.0`},W))},zt=e("./node_modules/.pnpm/style-loader@2.0.0_webpack@5.108.4/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),Dt=e.n(zt),Xt=e("./node_modules/.pnpm/css-loader@5.2.7_webpack@5.108.4/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[11].use[1]!./lib/utils/storybook/preview.css"),Gt={};Gt.insert="head",Gt.singleton=!1;var ri=Dt()(Xt.A,Gt);const ai=Xt.A.locals||{};var Yt=(0,c.getDefaultTheme)(),Jt=Ze({},te.N),Zt=Ft.bind(null,Yt,Jt),Qt=function(l){return{layout:"fullscreen",actions:{argTypesRegex:"^on.*"},controls:{hideNoControlsWarning:!0},docs:{theme:kt(l)},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],ei=[async function(){await(0,ke.y)("./")}],ti={brandTitle:"Application SDK",brandUrl:"https://github.com/intcx/PLATFORM-UI.pui-app-sdk.git"},li=null,ii=Qt(ti),si=["decorators","parameters","loaders"]},"./lib/analytics/index.ts"(A,g,e){"use strict";e.d(g,{e:()=>b});var c=e("./node_modules/.pnpm/@elliemae+pui-analytics-so@1.7.2/node_modules/@elliemae/pui-analytics-so/dist/esm/baEventParameters.js"),d=e("./lib/utils/micro-frontend/guest.ts"),p=e("./lib/utils/helpers.ts"),v=function(y){var O=Object.assign({},(0,c.QS)(),(0,p.np)(),y);window.gtmDataLayer=window.gtmDataLayer||[],window.gtmDataLayer.push(O)},b=function(y){var O=y.data,S=y.self,E=S===void 0?!0:S;if(E)v(O);else{var i,x=(i=d.h.getInstance())===null||i===void 0?void 0:i.getHost(),a=x?.sendBAEvent;a?a(O):v(O)}}},"./lib/communication/http-client/props.ts"(A,g,e){"use strict";e.d(g,{K:()=>a});var c=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/classCallCheck.js"),d=e.n(c),p=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/createClass.js"),v=e.n(p),b=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/classPrivateFieldLooseBase.js"),y=e.n(b),O=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/classPrivateFieldLooseKey.js"),S=e.n(O),E=S()("resetUserIdleTime"),i=S()("endSession"),x=function(){function j(){d()(this,j),Object.defineProperty(this,E,{writable:!0,value:function(){}}),Object.defineProperty(this,i,{writable:!0,value:async function(){}})}return v()(j,[{key:"resetUserIdleTime",get:function(){return y()(this,E)[E]},set:function(_){y()(this,E)[E]=_}},{key:"endSession",get:function(){return y()(this,i)[i]},set:function(_){y()(this,i)[i]=_}}])}(),a=new x},"./lib/data/error/index.ts"(A,g,e){"use strict";e.d(g,{L:()=>y,o:()=>b});var c=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"),d=e.n(c),p={description:"",messageText:""},v=(0,c.createSlice)({name:"error",initialState:p,reducers:{set:function(O,S){return S.payload},clear:function(){return p}}}),b=v.actions,y=v.reducer},"./lib/data/live-message/index.ts"(A,g,e){"use strict";e.d(g,{k:()=>y,o:()=>b});var c=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"),d=e.n(c),p={message:"",ariaLive:"polite",id:""},v=(0,c.createSlice)({name:"liveMessage",initialState:p,reducers:{announce:function(O,S){var E=S.payload,i=E.message,x=E.ariaLive,a=E.id;return{message:i,ariaLive:x,id:a}}}}),b=v.actions,y=v.reducer},"./lib/data/logout/actions.ts"(A,g,e){"use strict";e.d(g,{r:()=>d});var c={CONFIRM:"log-out/CONFIRM",CANCEL:"log-out/CANCEL"},d={confirm:function(){return{type:c.CONFIRM,payload:null}},cancel:function(){return{type:c.CANCEL,payload:null}}}},"./lib/data/useAppDispatch.ts"(A,g,e){"use strict";e.d(g,{j:()=>p});var c=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"),d=e.n(c),p=function(){return(0,c.useDispatch)()}},"./lib/data/useAppSelector.ts"(A,g,e){"use strict";e.d(g,{G:()=>p});var c=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"),d=e.n(c),p=c.useSelector},"./lib/data/wait-message/actions.ts"(A,g,e){"use strict";e.d(g,{X:()=>d,k:()=>c});var c={OPEN:"wait-message/OPEN",CLOSE:"wait-message/CLOSE"},d={open:function(){var p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"loading...",v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return{type:c.OPEN,payload:{message:p,delay:v}}},close:function(){return{type:c.CLOSE,payload:null}}}},"./lib/data/webpack-hmr.ts"(A,g,e){"use strict";e.d(g,{I:()=>d});var c=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 d=function(p){var v=null;try{var b,y;v=(b=(y=A)===null||y===void 0?void 0:y.hot)!==null&&b!==void 0?b:null}catch{v=null}v&&v.accept("./reducers",function(){(0,c.Dl)(p)})}},"./lib/utils/app-config/config.ts"(A,g,e){"use strict";e.d(g,{WE:()=>_,vF:()=>a,g3:()=>x});var c=e("./node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/has.js"),d=e("./node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/clone.js"),p=e.n(d),v=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"),y=e.n(b);const O=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 S,E,i=O,x=function(P){i=P},a=function(){var P=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",R=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return p()(y()(i,P,R))},j=function(P,R){return E(i,P,R)},_=function(){return i},L=function(){var P=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return S(i,P)}},"./lib/utils/app-config/index.ts"(A,g,e){"use strict";e.d(g,{y:()=>E});var c=e("./node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/merge.js"),d=e.n(c),p=e("./node_modules/.pnpm/core-js@3.50.0/node_modules/core-js/modules/es.array.includes.js"),v=e("./node_modules/.pnpm/@elliemae+pui-analytics-so@1.7.2/node_modules/@elliemae/pui-analytics-so/dist/esm/baEventParameters.js"),b=e("./lib/utils/app-config/config.ts"),y=function(){var i,x,a,j,_=((i=window)===null||i===void 0||(x=i.emui)===null||x===void 0?void 0:x._ASSET_PATH)||"latest/";if(!((a=window.emui)!==null&&a!==void 0&&a.version))return _;var L=(j=window.emui)===null||j===void 0?void 0:j.version.match(/^(?:\d+\.\d+)*/g);return L&&L[0]?_.replace("latest/",`${L[0]}/`):_},O=function(i){var x,a,j=i.activeEnv,_=i.env[j]||{};i.env&&delete i.env,(0,b.g3)(d()(i,_)),sessionStorage.setItem("envName",j),window.emui=window.emui||{},window.emui.appId=(x=(a=(0,b.vF)("appId"))!==null&&a!==void 0?a:window.emui.appId)!==null&&x!==void 0?x:"",(0,v.nE)({envName:j})},S=function(i){return i.replace(/(\d+\.\d+)(?!.*\d+\.\d+)/,"latest")},E=async function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:y(),x=`${i.replace(/\/?$/,"/")}app.config.json`,a=S(i);try{var j=await fetch(x);if(!j.ok){if(i!==a){await E(a);return}var _=`App Config is not found at ${x}`;throw new Error(_)}var L=await j.json();O(L)}catch(R){var P;if(i!==a){await E(a);return}throw R!=null&&(P=R.message)!==null&&P!==void 0&&P.includes("Unexpected token")?new Error(`App config file at ${x} is not a valid JSON`):R}}},"./lib/utils/console-logger.ts"(A,g,e){"use strict";e.d(g,{k:()=>v});var c=e("@elliemae/pui-diagnostics"),d=e.n(c),p=e("./lib/utils/app-config/config.ts"),v=function(){return c.logger?(0,c.logger)({transport:(0,c.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,{BD:()=>v,H1:()=>b,J2:()=>d,eE:()=>y});const c={AUTHORIZATION:"Authorization",CLIENT_ID:"tirykwfo"};var d={WARN:12*60*1e3,EXPIRY:15*60*1e3},p=null,v="HOST_WINDOW_RESIZED",b="HOST_WINDOW_BREAKPOINT_CHANGED",y=6e4,O=15,S=60,E=3,i=null,x=null,a="Session warning interval must be less than session timeout interval.";e.d(g,["Ay",0,c])},"./lib/utils/helpers.ts"(A,g,e){"use strict";e.d(g,{E_:()=>S,np:()=>O});var c=e("./lib/utils/window.ts"),d=e("./node_modules/.pnpm/process@0.11.10/node_modules/process/browser.js"),p=function(){return!0},v=function(){return d.env.CI==="true"},b=/^(?:[a-z]+:)?\/\//,y=function(E){return b.test(E)?E:new URL(E,document.location.origin).href},O=function(){var E,i,x,a,j,_,L,P=(0,c.zk)(),R=P.document.title,$=document,be=$.title,ae=(E=P==null||(i=P.emui)===null||i===void 0?void 0:i.appId)!==null&&E!==void 0?E:"",G=(x=P==null||(a=P.emui)===null||a===void 0?void 0:a.version)!==null&&x!==void 0?x:"",H=(j=(_=window)===null||_===void 0||(L=_.emui)===null||L===void 0?void 0:L.appId)!==null&&j!==void 0?j:"",Z=P.location,V=Z.pathname,Je=Z.href,le=window.location,Q=le.pathname,q=le.href;return{productId:ae,productPath:V,productUrl:Je,productPageTitle:R,version:G,appId:H,appPath:Q,appUrl:q,appPageTitle:be}},S=function(E){var i=E.promise,x=E.delay,a=E.retValue,j=a===void 0?!1:a,_=E.throwError,L=_===void 0?!1:_,P=E.errMsg;return Promise.race([i,new Promise(function(R,$){setTimeout(function(){L?$(new Error(P)):R(j)},x)})])}},"./lib/utils/history.ts"(A,g,e){"use strict";e.d(g,{N:()=>p,w:()=>v});var c=e("./node_modules/.pnpm/history@5.3.0/node_modules/history/umd/history.production.min.js"),d=e.n(c),p=(0,c.createBrowserHistory)(),v=(0,c.createMemoryHistory)()},"./lib/utils/log-records.ts"(A,g,e){"use strict";e.d(g,{V:()=>c});var c={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(d){return{code:"appsdk05",message:`Application load failed. unable to locate ${d} in the manifest`}},APP_INIT_FAILED:function(d,p,v){return{code:"appsdk06",message:`Application load failed. Unable to load one or more application resources for appId: ${d} and instanceId: ${p}. ${v}`}},APP_LOADING:function(d,p){return{code:"appsdk07",message:`Application ${d} with instanceId ${p} is loading...`}},APP_LOADING_COMPLETE:function(d,p){return{code:"appsdk08",message:`Application ${d} loaded with instanceId ${p}`}},APP_UNLOADING:function(d,p){return{code:"appsdk09",message:`Application ${d} with instanceId ${p} unloading...`}},APP_UNLOADING_COMPLETE:function(d,p){return{code:"appsdk10",message:`Application ${d} with instanceId ${p} unloaded`}},SSF_HOST_OBJECT_NOT_FOUND:function(d){return{code:"appsdk11",message:`Parent window doesn't expose SSF Object named ${d}`}},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:()=>d,t:()=>p});var c=null,d=function(v){c=v},p=function(){return c}},"./lib/utils/logrocket.ts"(A,g,e){"use strict";e.d(g,{K3:()=>x,R_:()=>S,s7:()=>O});var c,d,p=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/slicedToArray.js"),v=e.n(p),b=e("./node_modules/.pnpm/@elliemae+pui-analytics-so@1.7.2/node_modules/@elliemae/pui-analytics-so/dist/esm/logrocket.js"),y=function(){var a;return(a=window.emui)===null||a===void 0?void 0:a.logRocket},O="X-ICE-AppSessionLink",S=function(){var a;return((a=y())===null||a===void 0?void 0:a.sessionURL)||""},E=function(a){var j={};return Object.entries(a).forEach(function(_){var L=c(_,2),P=L[0],R=L[1];j[P]=R??""}),j},i=function(a,j){var _=y();_&&(_.identify(a,E(j)),d(a))},x=function(a){var j=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};(0,b.As)(a,j)}},"./lib/utils/micro-frontend/app-bridge.ts"(A,g,e){"use strict";e.d(g,{b:()=>b});var c=e("./node_modules/.pnpm/@elliemae+pui-app-bridge@2.32.3_@elliemae+pui-diagnostics@3.12.6_@elliemae+pui-logrocket@1.5._doqwnpquvazd5ereffd3jsflna/node_modules/@elliemae/pui-app-bridge/dist/esm/appBridge.js"),d=e("./lib/utils/logger.ts"),p=e("./lib/utils/app-config/config.ts"),v=null,b=async function(){if(!v){var y,O,S,E=(0,d.t)(),i=((y=window.emui)===null||y===void 0?void 0:y.version)||"latest";v=new c.o({logger:E,version:i,appConfigBaseUrl:(O=window)===null||O===void 0||(S=O.emui)===null||S===void 0?void 0:S._ASSET_PATH}),await v.init((0,p.WE)());var x=(0,p.vF)("microFrontendApps");x&&Object.keys(x).forEach(function(a){return v.warmUp(a)})}return v}},"./lib/utils/micro-frontend/guest.ts"(A,g,e){"use strict";e.d(g,{h:()=>qe});var c=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/objectWithoutProperties.js"),d=e.n(c),p=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/slicedToArray.js"),v=e.n(p),b=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/classCallCheck.js"),y=e.n(b),O=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/createClass.js"),S=e.n(O),E=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/classPrivateFieldLooseBase.js"),i=e.n(E),x=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/classPrivateFieldLooseKey.js"),a=e.n(x),j=e("./node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/merge.js"),_=e.n(j),L=e("./node_modules/.pnpm/uuid@9.0.1/node_modules/uuid/dist/esm-browser/v4.js"),P=e("./node_modules/.pnpm/@elliemae+pui-theme@2.13.1/node_modules/@elliemae/pui-theme/dist/cjs/index.js"),R=e("./node_modules/.pnpm/@elliemae+ssf-guest@2.32.3_@elliemae+pui-logrocket@1.5.0/node_modules/@elliemae/ssf-guest/dist/esm/guest.js"),$=e("./node_modules/.pnpm/@elliemae+pui-analytics-so@1.7.2/node_modules/@elliemae/pui-analytics-so/dist/esm/baEventParameters.js"),be=e("./lib/utils/window.ts"),ae=e("./lib/utils/app-config/index.ts"),G=e("./lib/utils/app-config/config.ts"),H=e("./lib/utils/history.ts"),Z=e("./lib/utils/console-logger.ts"),V=e("./lib/utils/logger.ts"),Je=e("./node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js"),le,Q="storage",q="getSessionStorage",we="sessionStorage",Oe=function(){return sessionStorage.length===0},ye=function(f){if(f.key===q)localStorage.setItem(we,JSON.stringify(sessionStorage)),localStorage.removeItem(we);else if(f.key===we&&f.newValue){var n=JSON.parse(f.newValue);n&&Object.keys(n).forEach(function(u){sessionStorage.setItem(u,n[u])})}},st=null,Be=function(){window.addEventListener(Q,ye),Oe()&&localStorage.setItem(q,`${Date.now()}`)},Pe=function(){window.removeEventListener(Q,ye)},_e=e("./lib/utils/micro-frontend/app-bridge.ts"),Ee=e("./lib/utils/helpers.ts"),He=e("./lib/utils/micro-frontend/ssf-host.ts"),je=function(){var f,n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window;if(n){var u=n,h=(f=u.emui)===null||f===void 0?void 0:f._ASSET_PATH;if(h){u.__webpack_public_path__=new URL("../",h).href;return}u.__webpack_public_path__=(u.__webpack_public_path__||"").replace(/\/?$/,"/")}},de=["history"],Ze,nt="app-container",C=2e3,te=1e3,me=function(){try{return window.parent.document,!1}catch{return!0}},Ae=function(f){return f.SSF="ssf",f.APPSDK="app-sdk",f}(Ae||{}),$e="module.unmount",ne=a()("uuid"),F=a()("communicationMethod"),xe=a()("ssfHostRef"),Ue=a()("useV2Guest"),Te=a()("selfInitialize"),Le=a()("embeddedWithoutHost"),X=a()("appBridge"),Re=a()("pendingInitialRoute"),We=a()("hostTeardownPromise"),pe=a()("moduleUnmountSubToken"),vt=a()("handleModuleUnmount"),Ge=a()("boundOnWindowUnload"),mt=a()("addAppToGlobalVariable"),Ve=a()("removeLegacyGlobalRegistration"),pt=a()("onWindowUnload"),K=a()("getLegacyParentHost"),Qe=a()("tryConnectSSFGuest"),Fe=a()("resolveHistory"),ft=a()("discoverHost"),Ie=a()("exposeGetHost"),Ce=a()("initAppBridge"),ot=a()("applyModuleParams"),Pt=a()("applyHistoryFromParams"),ht=a()("applyInitialRoute"),Ke=a()("loadConfigAndBridge"),ke=a()("trackAnalyticsAndOnInit"),De=a()("internalTeardown"),rt=a()("bindModuleUnmountListener"),ze=a()("unbindModuleUnmountListener"),oe=a()("completeWithoutHost"),gt=a()("fetchModuleScriptingObject"),qe=function(){function f(n){var u=this,h,N,ie;y()(this,f),Object.defineProperty(this,gt,{value:Ct}),Object.defineProperty(this,oe,{value:St}),Object.defineProperty(this,ze,{value:It}),Object.defineProperty(this,rt,{value:ut}),Object.defineProperty(this,De,{value:xt}),Object.defineProperty(this,ke,{value:Et}),Object.defineProperty(this,Ke,{value:tt}),Object.defineProperty(this,ht,{value:Xe}),Object.defineProperty(this,Pt,{value:yt}),Object.defineProperty(this,ot,{value:dt}),Object.defineProperty(this,Ce,{value:lt}),Object.defineProperty(this,Ie,{value:bt}),Object.defineProperty(this,ft,{value:Lt}),Object.defineProperty(this,Fe,{value:at}),Object.defineProperty(this,Qe,{value:et}),Object.defineProperty(this,K,{value:Y}),Object.defineProperty(this,pt,{value:Se}),Object.defineProperty(this,Ve,{value:Mt}),Object.defineProperty(this,mt,{value:_t}),Object.defineProperty(this,ne,{writable:!0,value:void 0}),this.logger=void 0,this.appId=void 0,this.props=void 0,Object.defineProperty(this,F,{writable:!0,value:void 0}),Object.defineProperty(this,xe,{writable:!0,value:void 0}),Object.defineProperty(this,Ue,{writable:!0,value:void 0}),Object.defineProperty(this,Te,{writable:!0,value:void 0}),Object.defineProperty(this,Le,{writable:!0,value:void 0}),Object.defineProperty(this,X,{writable:!0,value:null}),Object.defineProperty(this,Re,{writable:!0,value:null}),Object.defineProperty(this,We,{writable:!0,value:null}),Object.defineProperty(this,pe,{writable:!0,value:null}),Object.defineProperty(this,vt,{writable:!0,value:async function(){return await i()(u,De)[De](),!0}}),Object.defineProperty(this,Ge,{writable:!0,value:function(){i()(u,pt)[pt]()}}),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=((h=window.emui)===null||h===void 0?void 0:h.appId)||(0,G.vF)("appId"),i()(this,ne)[ne]=window.emui.uuid,i()(this,F)[F]=Ae.APPSDK,this.props={host:null,hostUrl:null,prevState:null,history:n?.history||H.N,theme:(0,P.getDefaultTheme)(),manifestPath:"./latest",containerId:nt},this.logger=n?.logger||Z.k,(0,V.B)(this.logger),n!=null&&n.ssfHostRef&&(0,He.Z)(n.ssfHostRef),i()(this,xe)[xe]=(0,He.F)(),i()(this,Ue)[Ue]=n?.useV2Guest!==!1,i()(this,Te)[Te]=(N=n?.selfInitialize)!==null&&N!==void 0?N:!1,i()(this,Le)[Le]=(ie=n?.embeddedWithoutHost)!==null&&ie!==void 0?ie:!1,this.onInit=n?.onInit,this.onMount=n?.onMount,this.onUnmount=n?.onUnmount,this.onGetRef=n?.onGetRef,i()(this,Le)[Le]&&!i()(this,Te)[Te]&&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,Te)[Te]?window.addEventListener("beforeunload",i()(this,Ge)[Ge]):i()(this,mt)[mt]()}return S()(f,[{key:"getHost",value:function(){return this.props.host}},{key:"getLogger",value:function(){return this.logger}},{key:"getObject",value:function(u){var h=null;return i()(this,F)[F]===Ae.SSF?(h=this.getHost(),h.getObject(u)):(h=this.getHost(),h?h.getObject(u):Promise.resolve(null))}},{key:"subscribe",value:function(u){var h=null;return i()(this,F)[F]===Ae.SSF?(h=this.getHost(),h.subscribe(u)):(h=this.getHost(),h.subscribe(u))}},{key:"unsubscribe",value:function(u){var h=null;if(i()(this,F)[F]===Ae.SSF){h=this.getHost(),h.unsubscribe(u);return}h=this.getHost(),h.unsubscribe(u)}},{key:"getProps",value:function(){return this.props}},{key:"getSessionStorageItem",value:function(u){var h=sessionStorage.getItem(u),N=this.getHost();return!h&&N!==null&&N!==void 0&&N.getItem&&(h=N.getItem(u)),h}},{key:"findHost",value:async function(){var u=i()(this,K)[K]();return u||(i()(this,Ue)[Ue]?i()(this,Qe)[Qe]():null)}},{key:"uuid",get:function(){return i()(this,ne)[ne]}},{key:"initialize",value:async function(){je();var u=window.top===window.self&&!window.opener;if(u)return await i()(this,Ke)[Ke](),i()(this,oe)[oe]("standalone");if(i()(this,Le)[Le])return await i()(this,Ke)[Ke](),i()(this,oe)[oe]("embeddedWithoutHost");var h=await Promise.all([i()(this,ft)[ft](),i()(this,Ke)[Ke]()]),N=v()(h,1),ie=N[0];if(!ie)return i()(this,oe)[oe]("discoveryFallback");this.props.host=ie,i()(this,Ie)[Ie]();var J={moduleId:this.appId};try{var Ne=await i()(this,gt)[gt]();Ne?(J=await Ne.getParameters(),i()(this,ot)[ot](J)):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](),i()(this,rt)[rt](),J}},{key:"init",value:async function(u){var h=this,N=u??{},ie=N.history,J=d()(N,de);if(this.props=_()(this.props,J),!this.props.host){var Ne=await this.findHost();Ne?this.props.host=Ne:this.logger.warn("unable to connect to host microapp")}return i()(this,Ie)[Ie](),je(),(0,ae.y)().then(function(){var jt=h.getSessionStorageItem("instanceId")||"",At=h.getSessionStorageItem("userId")||"";(0,$.nE)({appId:h.appId,instanceId:jt,userId:At});var it=i()(h,Fe)[Fe](ie);return!it&&u!==null&&u!==void 0&&u.initialRoute&&(i()(h,Re)[Re]=typeof u.initialRoute=="string"?u.initialRoute:u.initialRoute.pathname||null),(0,_e.b)().then(function(wt){i()(h,X)[X]=wt,h.onInit&&h.onInit(h.props),i()(h,rt)[rt]()})})}},{key:"mount",value:function(){var u=this,h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{containerId:nt};return this.props.containerId=h?.containerId,Promise.resolve().then(function(){i()(u,Re)[Re]&&(u.props.history.push(i()(u,Re)[Re]),i()(u,Re)[Re]=null),u.onMount&&u.onMount(h)})}},{key:"unmount",value:function(u){var h=this;return Pe(),Promise.resolve().then(function(){return h.onUnmount?h.onUnmount(u):null})}},{key:"getRef",value:function(){return this.onGetRef?this.onGetRef():null}},{key:"navigate",value:function(u,h){u&&this.props.history.push(u,h)}},{key:"addScriptingObject",value:function(u,h){i()(this,X)[X]&&i()(this,X)[X].addScriptingObject(u,h),i()(this,xe)[xe].addScriptingObject(u,h)}},{key:"dispatchEvent",value:async function(u){if(i()(this,X)[X]){var h=await Promise.all([i()(this,X)[X].dispatchEvent(u),i()(this,xe)[xe].dispatchEvent(u)]),N=v()(h,2),ie=N[0],J=N[1];return Array.isArray(ie)&&Array.isArray(J)?ie.concat(J):Promise.resolve()}return i()(this,xe)[xe].dispatchEvent(u)}},{key:"removeScriptingObject",value:function(u,h){i()(this,X)[X]&&i()(this,X)[X].removeScriptingObject(u,h),i()(this,xe)[xe].removeScriptingObject(u,h)}}],[{key:"getInstance",value:function(u){return this.instance||(this.instance=new f(u),u!=null&&u.selfInitialize||(u?.logger||Z.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 u,h;return!!((u=this.instance)!==null&&u!==void 0&&(h=u.props)!==null&&h!==void 0&&h.host)}}])}();Ze=qe;function _t(){var f=this,n=(0,be.zk)();if(n){n.emui=n.emui||{};var u=this.unmount.bind(this),h={uuid:i()(this,ne)[ne],init:this.init.bind(this),mount:this.mount.bind(this),unmount:function(J){return J!=null&&J.containerId&&(f.props.containerId=J.containerId),f.props.host?i()(f,De)[De]().then(function(){return null}):u(J)},getRef:this.getRef.bind(this),navigate:this.navigate.bind(this)};if(n.emui[this.appId])if(Array.isArray(n.emui[this.appId])){var N=n.emui[this.appId],ie=N.findIndex(function(J){return J.uuid===i()(f,ne)[ne]});ie>-1?N[ie]=h:N.push(h)}else n.emui[this.appId].uuid===i()(this,ne)[ne]?n.emui[this.appId]=h:typeof n.emui[this.appId].init>"u"?n.emui[this.appId]=Object.assign({},n.emui[this.appId],h):n.emui[this.appId]=[n.emui[this.appId],h];else n.emui[this.appId]=h;window.emui.app=h,window.addEventListener("beforeunload",i()(this,Ge)[Ge])}}function Mt(){var f=this;if(!i()(this,Te)[Te]){var n=(0,be.zk)();if(n!=null&&n.emui){if(Array.isArray(n.emui[this.appId])){var u=n.emui[this.appId],h=u.findIndex(function(N){return N.uuid===i()(f,ne)[ne]});h>-1&&u.splice(h,1),u.length===0&&delete n.emui[this.appId]}else delete n.emui[this.appId];delete window.emui.app}}}function Se(){if(this.props.host){i()(this,De)[De]().catch(function(){});return}if(!i()(this,Te)[Te]){i()(this,Ve)[Ve](),this.unmount({containerId:this.props.containerId}).catch(function(){});return}i()(this,De)[De]().catch(function(){})}function Y(){var f,n,u;return me()?null:(f=(n=window.parent)===null||n===void 0||(u=n.emui)===null||u===void 0?void 0:u.MicroAppHost)!==null&&f!==void 0?f:null}async function et(){var f=new R.p({appLogger:this.logger});try{var n=await(0,Ee.E_)({promise:f.connect(),delay:te,retValue:!0});if(!n)return i()(this,F)[F]=Ae.SSF,f}catch{}return null}function at(f){if(i()(this,F)[F]===Ae.SSF)return this.props.history=H.N,!1;var n=(0,G.vF)("useParentHistory",!0);return n&&f?this.props.history=f:!n&&window!==window.parent&&(this.props.history=H.w),n}async function Lt(){var f;if((f=window.emui)!==null&&f!==void 0&&f.__host)return window.emui.__host;var n=i()(this,K)[K]();return n||(i()(this,Ue)[Ue]?i()(this,Qe)[Qe]():null)}function bt(){var f=this;window.emui=window.emui||{},window.emui.getHost=function(){var n;return(n=f.props.host)!==null&&n!==void 0?n:null}}async function lt(){i()(this,X)[X]=await(0,_e.b)()}function dt(f){f.homeRoute&&(this.props.homeRoute=f.homeRoute),f.theme&&(this.props.theme=f.theme),f.hostUrl&&(this.props.hostUrl=f.hostUrl),f.manifestPath&&(this.props.manifestPath=f.manifestPath),f.containerId&&(this.props.containerId=f.containerId),i()(this,Pt)[Pt](f)}function yt(f){if(i()(this,F)[F]===Ae.SSF){this.props.history=H.N;return}var n=(0,G.vF)("useParentHistory",!0);n&&f.history?this.props.history=f.history:!n&&window!==window.parent&&(this.props.history=H.w),i()(this,ht)[ht](f,n)}function Xe(f,n){if(!(!f.initialRoute||n)){var u=typeof f.initialRoute=="string"?f.initialRoute:f.initialRoute.pathname;u&&this.props.history.push(u)}}async function tt(){await(0,ae.y)(),await i()(this,Ce)[Ce]()}function Et(){var f=this.getSessionStorageItem("instanceId")||"",n=this.getSessionStorageItem("userId")||"";(0,$.nE)({appId:this.appId,instanceId:f,userId:n}),this.onInit&&this.onInit(this.props)}function xt(){var f=this;return i()(this,We)[We]||(i()(this,We)[We]=Promise.resolve().then(function(){i()(f,Ve)[Ve]()}).then(function(){return f.unmount({containerId:f.props.containerId})}).then(function(){i()(f,ze)[ze]()}).catch(function(n){throw i()(f,We)[We]=null,n})),i()(this,We)[We]}function ut(){if(!(i()(this,pe)[pe]||!this.props.host))try{i()(this,pe)[pe]=this.subscribe({eventId:$e,callback:i()(this,vt)[vt]})}catch{this.logger.warn("Unable to subscribe to module.unmount from host \u2014 continuing without host teardown listener")}}function It(){i()(this,pe)[pe]&&(this.unsubscribe({eventId:$e,token:i()(this,pe)[pe]}),i()(this,pe)[pe]=null)}function St(f){return f==="standalone"?(this.logger.info("Running in standalone mode \u2014 skipping host discovery"),i()(this,Ie)[Ie](),i()(this,Fe)[Fe]()):f==="embeddedWithoutHost"?(this.logger.info("embeddedWithoutHost enabled \u2014 skipping host discovery"),i()(this,Ie)[Ie]()):(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,Ie)[Ie]()),i()(this,ke)[ke](),{moduleId:this.appId}}async function Ct(){var f="module",n=this.getObject(f);return i()(this,F)[F]!==Ae.SSF?n:(0,Ee.E_)({promise:n,delay:C,throwError:!0,errMsg:`Timed out waiting for module scripting object from host (${C}ms)`})}qe.instance=void 0},"./lib/utils/micro-frontend/ssf-host.ts"(A,g,e){"use strict";e.d(g,{F:()=>y,Z:()=>O});var c=e("./node_modules/.pnpm/@elliemae+ssf-host@2.32.3_@elliemae+pui-diagnostics@3.12.6/node_modules/@elliemae/ssf-host/dist/esm/host.js"),d=e("./node_modules/.pnpm/@elliemae+pui-analytics-so@1.7.2/node_modules/@elliemae/pui-analytics-so/dist/esm/analytics.js"),p=e("./lib/utils/logger.ts"),v=e("./lib/utils/app-config/config.ts"),b=null,y=function(){if(!b){var S=(0,p.t)();b=new c.P((0,v.vF)("appId"),{logger:S,analyticsObj:new d.j({logger:S})})}return b},O=function(S){b||(b=S)}},"./lib/utils/page-wake.ts"(A,g,e){"use strict";e.d(g,{v:()=>c});var c=function(d){var p=!1,v=function(){p||(p=!0,queueMicrotask(function(){p=!1,d()}))},b=function(){document.hidden||v()};return document.addEventListener("visibilitychange",b),window.addEventListener("pageshow",v),window.addEventListener("focus",v),function(){document.removeEventListener("visibilitychange",b),window.removeEventListener("pageshow",v),window.removeEventListener("focus",v)}}},"./lib/utils/session-timeout-config.ts"(A,g,e){"use strict";e.d(g,{BH:()=>y,Gw:()=>E,vG:()=>i});var c=e("./lib/utils/app-config/config.ts"),d=e("./lib/utils/constants.ts"),p,v,b=function(x){return x*6e4},y=function(){p=void 0,v=void 0},O=function(x){var a=x.sessionExpiryInterval,j=x.sessionWarnInterval;p=b(a-j),v=b(a)},S=function(x,a){var j=(0,c.vF)(x);if(j==null||j==="")return a;var _=Number(j);return Number.isFinite(_)&&_>0?_:a},E=function(){return p===void 0&&(p=S("sessionTimeoutWarnInterval",d.J2.WARN)),p},i=function(){if(v===void 0){var x=E(),a=S("sessionTimeoutInterval",d.J2.EXPIRY);v=a>x?a:x+1}return v}},"./lib/utils/session.ts"(A,g,e){"use strict";e.d(g,{lQ:()=>Nt,LC:()=>Bt,KB:()=>ie,oB:()=>h,z3:()=>At,lD:()=>$t,n5:()=>Ht,Lw:()=>Kt});var c=e("./node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/throttle.js"),d=e.n(c),p=function(t){window.emui.loginParams=Object.assign({redirectUri:new URL(window.location.href).href},t)},v=function(){if(!window.emui.loginParams){var t=JSON.parse(sessionStorage.getItem("user")||"{}"),r=t.client_id||"",m=t.scope||"";window.emui.loginParams={clientId:r,scope:m}}return window.emui.loginParams},b=e("./lib/utils/constants.ts"),y,O=function(){return sessionStorage.getItem(b.Ay.AUTHORIZATION)||""},S=function(t){sessionStorage.setItem(y.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"),x=e("./lib/utils/app-config/config.ts"),a=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/slicedToArray.js"),j=e.n(a),_;function L(t,r){var m=typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(!m){if(Array.isArray(t)||(m=P(t))||r&&t&&typeof t.length=="number"){m&&(t=m);var w=0,T=function(){};return{s:T,n:function(){return w>=t.length?{done:!0}:{done:!1,value:t[w++]}},e:function(U){throw U},f:T}}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 D,k=!0,B=!1;return{s:function(){m=m.call(t)},n:function(){var U=m.next();return k=U.done,U},e:function(U){B=!0,D=U},f:function(){try{k||m.return==null||m.return()}finally{if(B)throw D}}}}function P(t,r){if(t){if(typeof t=="string")return R(t,r);var m={}.toString.call(t).slice(8,-1);return m==="Object"&&t.constructor&&(m=t.constructor.name),m==="Map"||m==="Set"?Array.from(t):m==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(m)?R(t,r):void 0}}function R(t,r){(r==null||r>t.length)&&(r=t.length);for(var m=0,w=Array(r);m<r;m++)w[m]=t[m];return w}var $=function(t){return t},be=function(t,r){var m,w;r=r||_,(m=r)!==null&&m!==void 0&&(w=m.interceptors)!==null&&w!==void 0&&w.response&&r.interceptors.response.eject(t)},ae=function(t){var r=t.config.retryConfig;if(!r||r.retry===0||!t.response&&(r.currentRetryAttempt||0)>=r.noResponseRetries||!t.config.method||r.httpMethodsToRetry.indexOf(t.config.method.toUpperCase())<0)return!1;if(t.response&&t.response.status){var m=!1,w=L(r.statusCodesToRetry),T;try{for(w.s();!(T=w.n()).done;){var D=T.value,k=j()(D,2),B=k[0],U=k[1],re=t.response.status;if(re>=B&&re<=U){m=!0;break}}}catch(fe){w.e(fe)}finally{w.f()}if(!m)return!1}return r.currentRetryAttempt=r.currentRetryAttempt||0,!(r.currentRetryAttempt>=r.retry)},G=function(t){if(!t.config)return Promise.reject(t);var r=t.config.retryConfig||{};r.currentRetryAttempt=r.currentRetryAttempt||0,r.retry=r.retry===void 0||r.retry===null?3:r.retry,r.retryDelay=r.retryDelay||100,r.instance=r.instance||i.A,r.httpMethodsToRetry=r.httpMethodsToRetry||["GET","HEAD","PUT","OPTIONS","DELETE"],r.noResponseRetries=r.noResponseRetries===void 0||r.noResponseRetries===null?2:r.noResponseRetries;var m=[[100,199],[429,429],[500,599]];r.statusCodesToRetry=r.statusCodesToRetry||m,t.config.retryConfig=r;var w=r.shouldRetry||ae;if(!w(t))return Promise.reject(t);var T=new Promise(function(k){var B=(2**r.currentRetryAttempt-1)/2*1e3;t.config.retryConfig.currentRetryAttempt+=1,setTimeout(k,B)}),D=r.onRetryAttempt?Promise.resolve(r.onRetryAttempt(t)):Promise.resolve();return Promise.resolve().then(function(){return T}).then(function(){return D}).then(function(){return r.instance.request(t.config)})},H=function(t){var r,m;return t=t||i.A,(r=t)!==null&&r!==void 0&&(m=r.interceptors)!==null&&m!==void 0&&m.response?t.interceptors.response.use($,G):null},Z=function(t){return t&&t.config?t.config.retryConfig:null},V=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(r){var m=Z(r);m&&m.currentRetryAttempt}}},Je=function(t){t!=null&&t.defaults&&(t.defaults.retryConfig=V(t)),H(t)};const le=Je;var Q=e("./lib/utils/logrocket.ts"),q=e("./lib/communication/http-client/props.ts");function we(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return function(r){if(q.K.resetUserIdleTime(),t){var m=(0,Q.R_)();m&&r.headers.set(Q.s7,m)}return r}}var Oe=401,ye=null,st=function(t){ye=t},Be=function(t){return t},Pe=function(t){var r=(t||{}).response||{},m=r.status;if(m===Oe){if(ye&&typeof ye=="function")return ye(t).then(function(w){var T=t.config;if(!(T!=null&&T.headers))throw t;return T.headers.Authorization=w,new Promise(function(D,k){i.A.request(T).then(D).catch(k)})}).catch(function(w){return Promise.reject(w)});if(q.K.endSession)return q.K.endSession(Object.assign({},v(),{skipRevoke:!0})).then(function(){return Promise.reject(t)}).catch(function(){return Promise.reject(t)})}return Promise.reject(t)},_e,Ee,He=null,je=2*60*1e3,de=function(){var t,r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},m=r.baseURL,w=m===void 0?(0,x.vF)("serviceEndpoints.api",""):m,T=r.headers,D=T===void 0?{}:T,k=r.sendLogRocketSessionHeader,B=k===void 0?!0:k,U=i.A.create({baseURL:w,headers:D});U!=null&&(t=U.defaults)!==null&&t!==void 0&&t.timeout&&(U.defaults.timeout=je),le(U);var re=U?.interceptors||{},fe=re.request,ee=re.response;return fe&&fe.use(we(B)),ee&&ee.use(Be,Pe),U},Ze=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=t.baseURL,m=t.headers,w=m===void 0?{}:m,T=t.sendLogRocketSessionHeader,D=T===void 0?!0:T,k=_e(t,He);return de(Object.assign({baseURL:r,headers:Object.assign({Authorization:Ee()},w),sendLogRocketSessionHeader:D},k))},nt,C=async function(t){var r=t.code,m=t.clientId,w=t.scope,T=t.redirectUri,D=new URLSearchParams;D.append("grant_type","authorization_code"),D.append("client_id",m),D.append("redirect_uri",T),D.append("scope",w),D.append("code",r);var k=await nt().post("/oauth2/v1/token",D),B=k.data;return{tokenType:B.token_type,accessToken:B.access_token}},te=async function(t){var r=t.clientId,m=t.token,w=new URLSearchParams;w.append("token",m),w.append("client_id",r),await de().post("/oauth2/v1/token/revocation",w)},me=async function(t){var r=t.clientId,m=t.accessToken,w=new URLSearchParams;w.append("token",m),w.append("client_id",r);var T=await de().post("/oauth2/v1/token/introspection",w),D=T.data;return D},Ae=e("./lib/utils/logger.ts"),$e=e("./lib/utils/log-records.ts"),ne=e("./node_modules/.pnpm/@elliemae+pui-analytics-so@1.7.2/node_modules/@elliemae/pui-analytics-so/dist/esm/baEventParameters.js"),F=e("./lib/analytics/index.ts"),xe,Ue,Te=function(t){var r=t.instanceId,m=t.userId;xe({instanceId:r,userId:m}),Ue({data:{event:"login"}})},Le=function(){(0,F.e)({data:{event:"logout"}}),(0,ne.nE)({instanceId:"",userId:""})},X=e("./node_modules/.pnpm/@elliemae+pui-analytics-so@1.7.2/node_modules/@elliemae/pui-analytics-so/dist/esm/logrocket.js"),Re,We,pe,vt,Ge,mt,Ve,pt,K,Qe,Fe,ft,Ie,Ce,ot="serviceEndpoints.idp",Pt=function(){return!!K()},ht=function(){var t=new URL(window.location.href),r=t.searchParams.get("code")||"",m=t.searchParams.get("error_code")||"";return t.search="",{code:r,idpErrorCode:m,redirectUri:t.href}},Ke=function(t){var r=t.clientId,m=t.redirectUri,w=t.idpErrorCode,T=t.scope,D=t.responseType,k=t.instanceId,B=t.siteId,U=t.userId,re=t.disableRememberMe,fe=t.useCompactIdpPage,ee=t.isSSO,he=Fe(ot,""),se=new URL("/authorize",he),Me=Object.assign({client_id:r,redirect_uri:m,response_type:D??"",scope:T},k!==void 0&&{instance_id:String(k)},B!==void 0&&{site_id:String(B)},U!==void 0&&{user_id:U},re!==void 0&&{disable_remember_me:String(re)},fe!==void 0&&{tpoifr:String(fe)},ee!==void 0&&{is_sso:String(ee)}),Ye=new URLSearchParams(w?Object.assign({},Me,{error_code:w}):Me);se.search=Ye.toString(),window.location.replace(se.href)},ke=async function(t){var r=t.clientId,m=t.redirectUri,w=t.responseType,T=t.scope,D=t.code,k=D===void 0?"":D,B=t.customLogoutUrl,U=B===void 0?"":B,re=t.skipRevoke,fe=re===void 0?!1:re;try{var ee=O();sessionStorage.clear();var he=ee?ee.split(" ")[1]:"";fe||await te({clientId:r,token:he}),Le(),(0,Q.K3)("logout"),(0,X.E3)(),(0,ne.nE)({instanceId:"",userId:""});var se;if(U)se=new URL("/",U);else{var Me=(0,x.vF)(ot,"");se=new URL("/authorize",Me);var Ye=Object.assign({client_id:r,redirect_uri:m||""},k&&{error_code:k},{response_type:w||"",scope:T}),Tt=new URLSearchParams(Ye);se.search=Tt.toString()}window.location.replace(se.href)}catch(Rt){var ct;(ct=(0,Ae.t)())===null||ct===void 0||ct.error(Object.assign({},$e.V.LOGOUT_FAILED,{exception:Rt}))}},De=async function(t){var r=t.code,m=t.redirectUri,w=t.clientId,T=t.scope,D=t.responseType,k=t.isConsumerUser;try{var B=await pe({code:r,clientId:w,scope:T,redirectUri:m}),U=B.tokenType,re=B.accessToken;Ie({clientId:w,scope:T,responseType:D,redirectUri:m});var fe=`${U} ${re}`;Qe(fe);var ee=await vt({clientId:w,accessToken:re});sessionStorage.setItem("user",JSON.stringify(ee));var he=ee.encompass_instance_id,se=ee.user_name,Me=ee.bearer_token,Ye=ee.user_key,Tt={bearerToken:Me,realm:he,userName:se,sessionId:Me?.replace(`${he} `,"")};sessionStorage.setItem("cred",JSON.stringify(Tt)),sessionStorage.setItem("instanceId",he),sessionStorage.setItem("userId",se),mt({instanceId:he,userId:se}),Re({instanceId:he,userId:se});var ct={name:se,instanceId:he};Ve(Ye,ct),pt("login",ct);var Rt=await Ge({userName:se,isConsumerUser:k});sessionStorage.setItem("userSettings",JSON.stringify(Rt));var Ft=new URL(m).pathname;We.replace(Ft)}catch(Dt){var Ut,Wt,kt,zt=Dt==null||(Ut=Dt.response)===null||Ut===void 0||(Wt=Ut.data)===null||Wt===void 0?void 0:Wt.code;await ke({clientId:w,redirectUri:m,code:zt,scope:T,responseType:D}),(kt=Ce())===null||kt===void 0||kt.error(Object.assign({},ft.LOGIN_FAILED,{exception:Dt}))}},rt=async function(t){var r=t.clientId,m=t.scope,w=t.responseType,T=t.isConsumerUser,D=t.instanceId,k=t.siteId,B=t.userId,U=t.disableRememberMe,re=t.useCompactIdpPage,fe=t.isSSO,ee=ht(),he=ee.code,se=ee.idpErrorCode,Me=ee.redirectUri,Ye={clientId:r,scope:m,responseType:w,redirectUri:Me,code:he,idpErrorCode:se,isConsumerUser:T,instanceId:D,siteId:k,userId:B,disableRememberMe:U,useCompactIdpPage:re,isSSO:fe};return he?(await De(Ye),{authorized:!0}):(Ke(Ye),{authorized:!1})},ze=e("./lib/utils/page-wake.ts"),oe=e("./lib/utils/session-timeout-config.ts"),gt,qe,_t,Mt,Se,Y,et,at,Lt,bt=Date.now(),lt=[],dt=[],yt=[],Xe=["click","scroll","keypress","touchstart"],tt=!1,Et=!1,xt,ut,It,St=function(){Et=!1,tt=!1,It=null},Ct=function(){return Date.now()-bt>(0,oe.Gw)()},f=function(){return Date.now()-bt>(0,oe.vG)()},n=function(){return Promise.resolve().then(function(){dt.forEach(function(t){return t()})})},u=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;St(),bt=Date.now(),Promise.resolve().then(function(){yt.forEach(function(r){return r(t)})}).catch(function(){})},h=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;it(t===!0)&&u(t)},N=function(t){var r=t.sessionExpiryInterval,m=r===void 0?qe:r,w=t.sessionWarnInterval,T=w===void 0?_t:w;if(m<qe)throw new Error(Mt);if(m>Se)throw new Error(Y);if(T>=m)throw new Error(et);Lt({sessionExpiryInterval:m,sessionWarnInterval:T}),Bt(!1)},ie=async function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;if(it(t===!0)){var r=v();try{if(u(!0),r!=null&&r.clientId){var m=O();if(!m)throw new Error("Authorization token not found to extend session");var w=m.split(" ")[1];await me({clientId:r.clientId,accessToken:w})}}catch(D){var T;(T=(0,Ae.t)())===null||T===void 0||T.error(Object.assign({},$e.V.SESSION_RENEWAL_FAILED,{exception:D})),await ke(Object.assign({},r,{skipRevoke:!0}))}}},J=d()(function(){ie().catch(function(){})},b.eE,{leading:!0}),Ne=function(){Xe.forEach(function(t){document.removeEventListener(t,J)})},jt=function(){tt=!0,It=Date.now(),Ne(),Promise.resolve().then(function(){lt.forEach(function(t){return t(It)})}).catch(function(){})},At=function(){var t;Ne(),(t=ut)===null||t===void 0||t(),ut=void 0,clearInterval(xt),St(),lt.length=0,dt.length=0};function it(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return Et?!1:f()?(Et=!0,n().then(function(){At()}).catch(function(){}),!1):!tt&&Ct()?(jt(),!1):!(tt&&!t)}var wt=function(t,r){var m=t.findIndex(function(w){return w===r});m>-1&&t.splice(m,1)},Nt=function(){Xe.forEach(function(t){document.addEventListener(t,J)})},Bt=function(){var t,r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;clearInterval(xt),(t=ut)===null||t===void 0||t(),Ne(),r&&(0,oe.BH)(),St(),Nt(),ut=(0,ze.v)(it),xt=setInterval(it,1e3)},Kt=function(t){return lt.push(t),wt.bind(null,lt,t)},Ht=function(t){return dt.push(t),wt.bind(null,dt,t)},$t=function(t){return yt.push(t),wt.bind(null,yt,t)},Vt=function(t,r){if(!t)return function(){};var m=gt(r,at,{leading:!0});return Xe.forEach(function(w){return t.addEventListener(w,m)}),function(){Xe.forEach(function(w){return t.removeEventListener(w,r)}),Xe.forEach(function(w){return t.removeEventListener(w,m)})}}},"./lib/utils/window.ts"(A,g,e){"use strict";e.d(g,{D:()=>y,M5:()=>v,zk:()=>p});var c=e("./node_modules/.pnpm/@elliemae+pui-theme@2.13.1/node_modules/@elliemae/pui-theme/dist/cjs/index.js"),d=e.n(c),p=function(){try{return window.parent.document,window.parent}catch{return window}},v=function(){return{width:Math.max(document.documentElement.clientWidth||0,window.innerWidth||0),height:Math.max(document.documentElement.clientHeight||0,window.innerHeight||0)}},b=function(O){return Number(O?.replace("px",""))},y=function(){var O=v(),S=O.width,E=(0,c.getDefaultTheme)(),i=E.breakpoints;return S<=b(i.small)?"small":S<=b(i.medium)?"medium":S<=b(i.xsmall)?"xsmall":"large"}},"./lib/view/error-toast/index.tsx"(A,g,e){"use strict";e.d(g,{Q:()=>a});var c=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/objectWithoutProperties.js"),d=e.n(c),p=e("./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js"),v=e("./node_modules/.pnpm/@elliemae+ds-toast@3.62.1_@elliemae+pui-theme@2.13.1/node_modules/@elliemae/ds-toast/dist/esm/parts/DSToast.js"),b=e("./node_modules/.pnpm/@elliemae+ds-toast@3.62.1_@elliemae+pui-theme@2.13.1/node_modules/@elliemae/ds-toast/dist/esm/toast.js"),y=e("./node_modules/.pnpm/@elliemae+ds-toast@3.62.1_@elliemae+pui-theme@2.13.1/node_modules/@elliemae/ds-toast/dist/esm/constants.js"),O=e("./lib/data/useAppDispatch.ts"),S=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"),x=["position","messageTitle","type","description","messageText","messageComponent"],a=(0,p.memo)(function(j){var _=(0,S.G)(function(P){return P?.error}),L=(0,O.j)();return(0,p.useEffect)(function(){if(_&&(_!=null&&_.description||_!=null&&_.messageText)){var P=Object.assign({position:y.xJ.TOP_RIGHT,messageTitle:"Error",type:y.Ck.ERROR},j,_),R=P.position,$=P.messageTitle,be=P.type,ae=P.description,G=P.messageText,H=P.messageComponent,Z=d()(P,x),V=ae||G;V&&(0,b.o)({messageText:V,messageTitle:$,type:be,messageComponent:H},Object.assign({position:R},Z)),L(E.o.clear())}},[_,j,L]),(0,i.jsx)(v.P_,Object.assign({},j))})},"./lib/view/live-message/index.tsx"(A,g,e){"use strict";e.d(g,{I:()=>b});var c=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/jsx.js"),d=e.n(c),p=e("./node_modules/.pnpm/react-aria-live@2.0.5_react@18.3.1/node_modules/react-aria-live/lib/index.js"),v=e("./lib/data/useAppSelector.ts"),b=function(){var y=(0,v.G)(function(S){var E;return(E=S.liveMessage)===null||E===void 0?void 0:E.message}),O=(0,v.G)(function(S){var E;return(E=S.liveMessage)===null||E===void 0?void 0:E.ariaLive});return d()(p.Iu,{message:y,"aria-live":O})};b.displayName="LiveMessage"},"./lib/view/modals/session-expiry/index.tsx"(A,g,e){"use strict";e.d(g,{_:()=>Je});var c=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/jsx.js"),d=e.n(c),p=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/slicedToArray.js"),v=e.n(p),b=e("./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js"),y=e("./node_modules/.pnpm/@elliemae+ds-button-v2@3.62.1_@elliemae+pui-theme@2.13.1/node_modules/@elliemae/ds-button-v2/dist/esm/parts/DSButtonV2/DSButtonV2.js"),O=e("./node_modules/.pnpm/@elliemae+ds-icons@3.62.1_@elliemae+pui-theme@2.13.1/node_modules/@elliemae/ds-icons/dist/esm/WarningCircle.js"),S=e("./node_modules/.pnpm/@elliemae+ds-hooks-focus-trap@3.62.1_@elliemae+pui-theme@2.13.1/node_modules/@elliemae/ds-hooks-focus-trap/dist/esm/DSHookOnFirstFocusIn.js"),E=e("./node_modules/.pnpm/@elliemae+ds-dialog@3.62.1_@elliemae+pui-theme@2.13.1/node_modules/@elliemae/ds-dialog/dist/esm/DSDialog.js"),i=e("./node_modules/.pnpm/@elliemae+ds-dialog@3.62.1_@elliemae+pui-theme@2.13.1/node_modules/@elliemae/ds-dialog/dist/esm/parts/DSDialogBody/DSDialogBody.js"),x=e("./node_modules/.pnpm/@elliemae+ds-dialog@3.62.1_@elliemae+pui-theme@2.13.1/node_modules/@elliemae/ds-dialog/dist/esm/parts/DSDialogDefaultLayout/DSDialogDefaultLayout.js"),a=e("./node_modules/.pnpm/@elliemae+ds-dialog@3.62.1_@elliemae+pui-theme@2.13.1/node_modules/@elliemae/ds-dialog/dist/esm/parts/DSDialogPrimaryMessage/DSDialogPrimaryMessage.js"),j=e("./node_modules/.pnpm/@elliemae+ds-dialog@3.62.1_@elliemae+pui-theme@2.13.1/node_modules/@elliemae/ds-dialog/dist/esm/parts/DSDialogSecondaryMessage/DSDialogSecondaryMessage.js"),_=e("./node_modules/.pnpm/@elliemae+ds-dialog@3.62.1_@elliemae+pui-theme@2.13.1/node_modules/@elliemae/ds-dialog/dist/esm/parts/DSDialogSeparator/DSDialogSeparator.js"),L=e("./node_modules/.pnpm/@elliemae+ds-dialog@3.62.1_@elliemae+pui-theme@2.13.1/node_modules/@elliemae/ds-dialog/dist/esm/parts/DSDialogFooter/DSDialogFooter.js"),P=e("./lib/data/useAppDispatch.ts"),R=e("./lib/data/logout/actions.ts"),$=e("./lib/utils/session.ts"),be=e("./lib/utils/page-wake.ts"),ae=e("./lib/utils/session-timeout-config.ts"),G=function(le){var Q=Math.max(0,Math.floor(le/1e3)),q=Math.floor(Q/60),we=Q%60;return`${String(q).padStart(2,"0")}:${String(we).padStart(2,"0")}`},H=function(le){var Q=(0,b.useState)(),q=v()(Q,2),we=q[0],Oe=q[1];return(0,b.useEffect)(function(){var ye=(0,ae.Gw)(),st=(0,ae.vG)(),Be=le+(st-ye),Pe=function(){Oe(G(Be-Date.now()))};Pe();var _e=setInterval(Pe,1e3),Ee=(0,be.v)(Pe);return function(){clearInterval(_e),Ee()}},[le]),we},Z,V,Je=(0,b.memo)(function(le){var Q=le.open,q=le.warningNotifiedAt,we=q===void 0?0:q,Oe=(0,b.useState)(Q),ye=v()(Oe,2),st=ye[0],Be=ye[1],Pe=H(we),_e=(0,P.j)(),Ee=(0,b.useRef)(null),He=(0,b.useRef)(null),je=(0,S.r)({firstElementRef:Ee,lastElementRef:He});(0,b.useEffect)(function(){Be(Q)},[Q]);var de=async function(){Be(!1),await(0,$.KB)(!0),(0,$.lQ)(),_e(R.r.cancel())},Ze=function(){Be(!1),_e(R.r.confirm())};return Pe?d()(E.O,{onKeyDown:je,isOpen:st,size:"small"},void 0,d()(i.u,{p:"s"},void 0,d()(x.D,{},void 0,d()(O.A,{size:"xl",color:["warning","900"]}),d()(a.T,{},void 0,`Your session will expire in ${Pe}`),Z||(Z=d()(j.z,{},void 0,"Please logout or reset your session")))),V||(V=d()(_.Z,{})),d()(L.r,{},void 0,d()(y.e,{innerRef:Ee,buttonType:"outline",onClick:Ze},void 0,"Logout"),d()(y.e,{innerRef:He,onClick:function(){de().catch(function(){})}},void 0,"Reset"))):null})},"./lib/view/session-timeout/index.tsx"(A,g,e){"use strict";e.d(g,{S:()=>x});var c=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/jsx.js"),d=e.n(c),p=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/slicedToArray.js"),v=e.n(p),b=e("./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js"),y=e("./lib/data/useAppDispatch.ts"),O=e("./lib/data/logout/actions.ts"),S=e("./lib/utils/session.ts"),E=e("./lib/view/modals/session-expiry/index.tsx"),i=e("./lib/communication/http-client/props.ts"),x=function(){var a=(0,y.j)(),j=(0,b.useState)(!1),_=v()(j,2),L=_[0],P=_[1],R=(0,b.useState)(),$=v()(R,2),be=$[0],ae=$[1];return(0,b.useEffect)(function(){i.K.resetUserIdleTime=S.oB,(0,S.LC)();var G=(0,S.Lw)(function(V){V&&(ae(V),P(!0))}),H=(0,S.lD)(function(V){V===!0&&P(!1)}),Z=(0,S.n5)(function(){a(O.r.confirm()),P(!1)});return function(){G(),H(),Z(),(0,S.z3)()}},[a]),d()("div",{},void 0,L&&d()(E._,{open:!0,warningNotifiedAt:be}))};x.displayName="SessionTimeout"},"./lib/view/wait-message/index.tsx"(A,g,e){"use strict";e.d(g,{j:()=>ae});var c=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/jsx.js"),d=e.n(c),p=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/slicedToArray.js"),v=e.n(p),b=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/objectWithoutProperties.js"),y=e.n(b),O=e("./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js"),S=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.62.1_@elliemae+pui-theme@2.13.1/node_modules/@elliemae/ds-backdrop/dist/esm/Backdrop.js"),i=e("./node_modules/.pnpm/@elliemae+ds-circular-progress-indicator@3.62.1_@elliemae+pui-theme@2.13.1/node_modules/@elliemae/ds-circular-progress-indicator/dist/esm/v2/DSCircularIndeterminateIndicator.js"),x=e("./lib/data/useAppSelector.ts"),a=e("./lib/view/wait-message/use-html-wait-message.tsx"),j=e("./lib/analytics/index.ts"),_=function(){return(0,j.e)({data:{event:"pageInteractionEnabled"}})},L=function(){return(0,j.e)({data:{event:"pageInteractionDisabled"}})},P=e("./lib/utils/logrocket.ts"),R=e("./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js"),$=["size","color","showText","withTooltip","tooltipStartPlacementPreference"],be=(0,S.default)(i.p).withConfig({componentId:"sc-3aqsjr-0"})(["position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);"]),ae=(0,O.memo)(function(G){var H=G.size,Z=H===void 0?"xl":H,V=G.color,Je=V===void 0?"light":V,le=G.showText,Q=le===void 0?!0:le,q=G.withTooltip,we=q===void 0?!1:q,Oe=G.tooltipStartPlacementPreference,ye=Oe===void 0?"center":Oe,st=y()(G,$),Be=(0,O.useContext)(S.ThemeContext),Pe=(0,O.useRef)(!1),_e=(0,O.useState)(!1),Ee=v()(_e,2),He=Ee[0],je=Ee[1],de=(0,x.G)(function(C){var te;return(te=C.waitMessage)===null||te===void 0?void 0:te.isOpen}),Ze=(0,x.G)(function(C){var te;return(te=C.waitMessage)===null||te===void 0?void 0:te.delay});Pe.current=de??!1;var nt=(0,x.G)(function(C){var te;return(te=C.waitMessage)===null||te===void 0?void 0:te.message});return(0,O.useEffect)(function(){setTimeout(function(){de&&Pe.current&&(je(!0),_(),(0,P.K3)("wait-spinner-start"))},Ze?1e3:0),de||(je(!1),L(),(0,P.K3)("wait-spinner-end"))},[Ze,de]),(0,a.t)(de!==null),He?(0,R.jsxs)(R.Fragment,{children:[d()(E.Ay,{zIndex:Be.zIndex.loader}),(0,R.jsx)(be,Object.assign({id:"em-loading",size:Z,color:Je,showText:Q,withTooltip:we,tooltipStartPlacementPreference:ye},st,{text:nt}))]}):null})},"./lib/view/wait-message/use-html-wait-message.tsx"(A,g,e){"use strict";e.d(g,{t:()=>d});var c=e("./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js"),d=function(p){(0,c.useEffect)(function(){var v=document.getElementById("em-wait-message");v&&p&&v.remove()},[p])}},"./storybook-config-entry.js"(A,g,e){"use strict";var c=e("./node_modules/.pnpm/global@4.4.0/node_modules/global/window.js"),d=e.n(c),p=e("./node_modules/.pnpm/@storybook+preview-web@6.5.16/node_modules/@storybook/preview-web/dist/cjs/index.js"),v=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"),y=e("./node_modules/.pnpm/@storybook+addons@6.5.16/node_modules/@storybook/addons/dist/cjs/public_api.js"),O=e("./node_modules/.pnpm/@storybook+channel-postmessage@6.5.16/node_modules/@storybook/channel-postmessage/dist/cjs/index.js"),S=e("./node_modules/.pnpm/@storybook+channel-websocket@6.5.16/node_modules/@storybook/channel-websocket/dist/cjs/index.js"),E=[async function(P){if(/^\.[\\/](?:lib(?:\/(?!\.)(?:(?:(?!(?:^|\/)\.).)*?)\/|\/|$)(?!\.)(?=.)[^/]*?\.stories\.(mdx|tsx|ts|jsx|js))$/.exec(P)){var R=P.substring(6);return e("./lib lazy recursive ^\\.\\/.*$ include: (?:\\/lib(?:\\/(?%21\\.)(?:(?:(?%21(?:^%7C\\/)\\.).)*?)\\/%7C\\/%7C$)(?%21\\.)(?=.)[^/]*?\\.stories\\.(mdx%7Ctsx%7Cts%7Cjsx%7Cjs))$")("./"+R)}}];async function i(P){for(var R=0;R<E.length;R++){var $=await E[R](P);if($)return $}}var x=d().SERVER_CHANNEL_URL,a=function(){return(0,v.composeConfigs)([e("./node_modules/.pnpm/@storybook+react@6.5.16_@babel+core@7.29.7_@storybook+builder-webpack5@6.5.16_@storybook+mana_yshks4a4y53x7zkf6b6f3bowne/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_yshks4a4y53x7zkf6b6f3bowne/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.108.4/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,O.Ay)({page:"preview"});if(y.addons.setChannel(j),x){var _=(0,S.Ay)({url:x});y.addons.setServerChannel(_),window.__STORYBOOK_SERVER_CHANNEL__=_}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:a})},"./node_modules/.pnpm/css-loader@5.2.7_webpack@5.108.4/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[11].use[1]!./lib/utils/storybook/preview.css"(A,g,e){"use strict";var c=e("./node_modules/.pnpm/css-loader@5.2.7_webpack@5.108.4/node_modules/css-loader/dist/runtime/api.js"),d=e.n(c),p=e("./node_modules/.pnpm/css-loader@5.2.7_webpack@5.108.4/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[11].use[1]!./node_modules/.pnpm/@elliemae+ds-basic@3.62.1/node_modules/@elliemae/ds-basic/dist/css/dimsum.css"),v=d()(function(y){return y[1]});v.i(p.A),v.push([A.id,`
5
+ `,""]);const b=v;e.d(g,["A",0,b])},"@elliemae/pui-diagnostics"(A){"use strict";A.exports=emuiDiagnostics},"?6b64"(){}},A=>{var g=c=>A(A.s=c);A.O(0,[6751],()=>(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()}]);
package/demo/project.json CHANGED
@@ -1 +1 @@
1
- {"generatedAt":1787576544381,"builder":{"name":"webpack5"},"hasCustomBabel":false,"hasCustomWebpack":true,"hasStaticDirs":false,"hasStorybookEslint":false,"refCount":0,"packageManager":{"type":"pnpm","version":"8.15.9"},"typescriptOptions":{"check":false,"checkOptions":{},"reactDocgen":false,"reactDocgenTypescriptOptions":{"shouldExtractLiteralValuesFromEnum":true,"compilerOptions":{"allowSyntheticDefaultImports":false,"esModuleInterop":false}}},"features":{"fastRefresh":true,"storyStoreV7":true},"language":"javascript","storybookPackages":{},"framework":{"options":{"fastRefresh":true,"strictMode":true,"legacyRootApi":true}},"addons":{"@storybook/addon-docs":{"options":{"sourceLoaderOptions":{"injectStoryParameters":false}},"version":"6.5.16"},"@storybook/addon-essentials":{"options":{"docs":false},"version":"6.5.16"},"@storybook/addon-storysource":{"version":"6.5.16"},"@storybook/addon-links":{"version":"6.5.16"},"@storybook/addon-events":{"version":"6.2.9"},"@storybook/addon-interactions":{"version":"6.5.16"},"@storybook/addon-a11y":{"version":"6.5.16"},"storybook-addon-turbo-build":{"options":{"optimizationLevel":2,"esbuildMinifyOptions":{"target":"es2022"}},"version":"1.1.0"}}}
1
+ {"generatedAt":1787768784604,"builder":{"name":"webpack5"},"hasCustomBabel":false,"hasCustomWebpack":true,"hasStaticDirs":false,"hasStorybookEslint":false,"refCount":0,"packageManager":{"type":"pnpm","version":"8.15.9"},"typescriptOptions":{"check":false,"checkOptions":{},"reactDocgen":false,"reactDocgenTypescriptOptions":{"shouldExtractLiteralValuesFromEnum":true,"compilerOptions":{"allowSyntheticDefaultImports":false,"esModuleInterop":false}}},"features":{"fastRefresh":true,"storyStoreV7":true},"language":"javascript","storybookPackages":{},"framework":{"options":{"fastRefresh":true,"strictMode":true,"legacyRootApi":true}},"addons":{"@storybook/addon-docs":{"options":{"sourceLoaderOptions":{"injectStoryParameters":false}},"version":"6.5.16"},"@storybook/addon-essentials":{"options":{"docs":false},"version":"6.5.16"},"@storybook/addon-storysource":{"version":"6.5.16"},"@storybook/addon-links":{"version":"6.5.16"},"@storybook/addon-events":{"version":"6.2.9"},"@storybook/addon-interactions":{"version":"6.5.16"},"@storybook/addon-a11y":{"version":"6.5.16"},"storybook-addon-turbo-build":{"options":{"optimizationLevel":2,"esbuildMinifyOptions":{"target":"es2022"}},"version":"1.1.0"}}}
@@ -36,7 +36,7 @@ module.exports = __toCommonJS(app_config_exports);
36
36
  var import_lodash = __toESM(require("lodash"));
37
37
  var import_pui_analytics_so = require("@elliemae/pui-analytics-so");
38
38
  var import_config = require("./config.js");
39
- var import_window = require("../window.js");
39
+ var import_asset_path = require("../asset-path.js");
40
40
  var import_config2 = require("./config.js");
41
41
  const parseAppConfig = (data) => {
42
42
  const { activeEnv } = data;
@@ -49,7 +49,7 @@ const parseAppConfig = (data) => {
49
49
  (0, import_pui_analytics_so.updateBAEventParameters)({ envName: activeEnv });
50
50
  };
51
51
  const getUnVersionedPath = (path) => path.replace(/(\d+\.\d+)(?!.*\d+\.\d+)/, "latest");
52
- const loadAppConfig = async (configPath = (0, import_window.getAssetPath)()) => {
52
+ const loadAppConfig = async (configPath = (0, import_asset_path.getAssetPath)()) => {
53
53
  const appConfigUrl = `${configPath.replace(/\/?$/, "/")}app.config.json`;
54
54
  const unversionedConfigPath = getUnVersionedPath(configPath);
55
55
  try {
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var asset_path_exports = {};
20
+ __export(asset_path_exports, {
21
+ getAssetPath: () => getAssetPath
22
+ });
23
+ module.exports = __toCommonJS(asset_path_exports);
24
+ const getAssetPath = () => {
25
+ const assetPath = window?.emui?._ASSET_PATH || "latest/";
26
+ if (!window.emui?.version) return assetPath;
27
+ const majorMinorVersion = window.emui?.version.match(/^(?:\d+\.\d+)*/g);
28
+ return majorMinorVersion && majorMinorVersion[0] ? assetPath.replace("latest/", `${majorMinorVersion[0]}/`) : assetPath;
29
+ };
@@ -18,13 +18,14 @@ var __copyProps = (to, from, except, desc) => {
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
  var window_exports = {};
20
20
  __export(window_exports, {
21
- getAssetPath: () => getAssetPath,
21
+ getAssetPath: () => import_asset_path.getAssetPath,
22
22
  getCurrentBreakpoint: () => getCurrentBreakpoint,
23
23
  getViewportSize: () => getViewportSize,
24
24
  getWindow: () => getWindow
25
25
  });
26
26
  module.exports = __toCommonJS(window_exports);
27
27
  var import_pui_theme = require("@elliemae/pui-theme");
28
+ var import_asset_path = require("./asset-path.js");
28
29
  const getWindow = () => {
29
30
  try {
30
31
  window.parent.document;
@@ -52,9 +53,3 @@ const getCurrentBreakpoint = () => {
52
53
  if (width <= convertBreakpointToNumber(breakpoints.xsmall)) return "xsmall";
53
54
  return "large";
54
55
  };
55
- const getAssetPath = () => {
56
- const assetPath = window?.emui?._ASSET_PATH || "latest/";
57
- if (!window.emui?.version) return assetPath;
58
- const majorMinorVersion = window.emui?.version.match(/^(?:\d+\.\d+)*/g);
59
- return majorMinorVersion && majorMinorVersion[0] ? assetPath.replace("latest/", `${majorMinorVersion[0]}/`) : assetPath;
60
- };
@@ -1,7 +1,7 @@
1
1
  import _ from "lodash";
2
2
  import { updateBAEventParameters } from "@elliemae/pui-analytics-so";
3
3
  import { getAppConfigValue, setAppConfig } from "./config.js";
4
- import { getAssetPath } from "../window.js";
4
+ import { getAssetPath } from "../asset-path.js";
5
5
  import { getAppConfigValue as getAppConfigValue2, getAppConfig } from "./config.js";
6
6
  const parseAppConfig = (data) => {
7
7
  const { activeEnv } = data;
@@ -0,0 +1,9 @@
1
+ const getAssetPath = () => {
2
+ const assetPath = window?.emui?._ASSET_PATH || "latest/";
3
+ if (!window.emui?.version) return assetPath;
4
+ const majorMinorVersion = window.emui?.version.match(/^(?:\d+\.\d+)*/g);
5
+ return majorMinorVersion && majorMinorVersion[0] ? assetPath.replace("latest/", `${majorMinorVersion[0]}/`) : assetPath;
6
+ };
7
+ export {
8
+ getAssetPath
9
+ };
@@ -26,12 +26,7 @@ const getCurrentBreakpoint = () => {
26
26
  if (width <= convertBreakpointToNumber(breakpoints.xsmall)) return "xsmall";
27
27
  return "large";
28
28
  };
29
- const getAssetPath = () => {
30
- const assetPath = window?.emui?._ASSET_PATH || "latest/";
31
- if (!window.emui?.version) return assetPath;
32
- const majorMinorVersion = window.emui?.version.match(/^(?:\d+\.\d+)*/g);
33
- return majorMinorVersion && majorMinorVersion[0] ? assetPath.replace("latest/", `${majorMinorVersion[0]}/`) : assetPath;
34
- };
29
+ import { getAssetPath } from "./asset-path.js";
35
30
  export {
36
31
  getAssetPath,
37
32
  getCurrentBreakpoint,
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Resolve the CDN asset path for the current host, optionally substituting
3
+ * the major.minor version from `window.emui.version` for `latest/`.
4
+ */
5
+ export declare const getAssetPath: () => string;
@@ -0,0 +1 @@
1
+ export {};
@@ -44,4 +44,4 @@ export declare const getViewportSize: () => {
44
44
  height: number;
45
45
  };
46
46
  export declare const getCurrentBreakpoint: () => BreakPoint;
47
- export declare const getAssetPath: () => string;
47
+ export { getAssetPath } from './asset-path.js';