@axinom/mosaic-portal 0.35.0 → 0.35.1
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.
- package/app/{index.3177f6.js → index.6481a9.js} +783 -226
- package/app/index.6481a9.js.map +1 -0
- package/app/index.html +1 -1
- package/files.tar +0 -0
- package/files_once.tar +0 -0
- package/package.json +1 -1
- package/app/index.3177f6.js.map +0 -1
|
@@ -24996,23 +24996,24 @@ var AccountInactiveError = function AccountInactiveError(_ref40) {
|
|
|
24996
24996
|
};
|
|
24997
24997
|
var MosaicBG = "data:image/svg+xml,%3Csvg%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20%20viewBox%3D%220%200%201920%201080%22%20%3E%3Cstyle%20type%3D%22text%2Fcss%22%3E%20.st0%7Bfill%3A%2311487C%3B%7D%20.st1%7Bfill%3A%23F89723%3B%7D%20.st2%7Bfill%3A%2396C842%3B%7D%20.st3%7Bfill%3A%23F06E55%3B%7D%20.st4%7Bfill%3A%23FFC91F%3B%7D%20.st5%7Bfill%3A%2329AAE1%3B%7D%20.st6%7Bopacity%3A0.5%3Bfill%3A%23FFFFFF%3B%7D%20.st7%7Bopacity%3A0.49%3Bfill%3A%23FFFFFF%3B%7D%3C%2Fstyle%3E%3Crect%20class%3D%22st0%22%20width%3D%221920%22%20height%3D%221080%22%2F%3E%3Cpath%20class%3D%22st1%22%20d%3D%22M66.9%2C773.6c-4.6-2.4-10-2.4-14.6%2C0L2.9%2C799.1c-5.3%2C2.7-8.6%2C8.2-8.6%2C14.1v48.1c0%2C6%2C3.3%2C11.4%2C8.6%2C14.1L52.3%2C901%20c4.6%2C2.4%2C10%2C2.4%2C14.6%2C0l49.4-25.5c5.3-2.7%2C8.6-8.2%2C8.6-14.1v-48.1c0-6-3.3-11.4-8.6-14.1L66.9%2C773.6z%22%2F%3E%3Cpath%20class%3D%22st2%22%20d%3D%22M1517.5%2C796.6c-7.2-3.7-15.8-3.7-23.1%2C0l-78%2C40.3c-8.4%2C4.3-13.6%2C12.9-13.6%2C22.3v75.9c0%2C9.4%2C5.2%2C18%2C13.6%2C22.3%20l78%2C40.3c7.2%2C3.7%2C15.8%2C3.7%2C23.1%2C0l78-40.3c8.4-4.3%2C13.6-12.9%2C13.6-22.3v-75.9c0-9.4-5.2-18-13.6-22.3L1517.5%2C796.6z%22%2F%3E%3Cpath%20class%3D%22st3%22%20d%3D%22M1856.1%2C786.8c-6.1-3.2-13.4-3.2-19.5%2C0l-65.9%2C34.1c-7.1%2C3.6-11.5%2C10.9-11.5%2C18.9v64.2%20c0%2C7.9%2C4.4%2C15.2%2C11.5%2C18.9l65.9%2C34.1c6.1%2C3.2%2C13.4%2C3.2%2C19.5%2C0l65.9-34.1c7.1-3.6%2C11.5-10.9%2C11.5-18.9v-64.2%20c0-7.9-4.4-15.2-11.5-18.9L1856.1%2C786.8z%22%2F%3E%3Cpath%20class%3D%22st4%22%20d%3D%22M205.7%2C783.5c-6.2-3.2-13.5-3.2-19.7%2C0l-66.6%2C34.4c-7.1%2C3.7-11.6%2C11-11.6%2C19.1v64.8c0%2C8%2C4.5%2C15.4%2C11.6%2C19.1%20l66.6%2C34.4c6.2%2C3.2%2C13.5%2C3.2%2C19.7%2C0l66.6-34.4c7.1-3.7%2C11.6-11%2C11.6-19.1v-64.8c0-8-4.5-15.4-11.6-19.1L205.7%2C783.5z%22%2F%3E%3Cpath%20class%3D%22st5%22%20d%3D%22M1835.9%2C900.9c-8.1-4.2-17.8-4.2-26%2C0l-87.8%2C45.3c-9.4%2C4.9-15.3%2C14.6-15.3%2C25.1v85.4c0%2C10.6%2C5.9%2C20.3%2C15.3%2C25.1%20l87.8%2C45.3c8.1%2C4.2%2C17.8%2C4.2%2C26%2C0l87.8-45.3c9.4-4.9%2C15.3-14.6%2C15.3-25.1v-85.4c0-10.6-5.9-20.3-15.3-25.1L1835.9%2C900.9z%22%2F%3E%3Cpath%20class%3D%22st1%22%20d%3D%22M1421%2C991.5c-4.6-2.4-10-2.4-14.6%2C0l-49.4%2C25.5c-5.3%2C2.7-8.6%2C8.2-8.6%2C14.1v48.1c0%2C6%2C3.3%2C11.4%2C8.6%2C14.1%20l49.4%2C25.5c4.6%2C2.4%2C10%2C2.4%2C14.6%2C0l49.4-25.5c5.3-2.7%2C8.6-8.2%2C8.6-14.1v-48.1c0-6-3.3-11.4-8.6-14.1L1421%2C991.5z%22%2F%3E%3Cpath%20class%3D%22st1%22%20d%3D%22M902.3%2C1006.7c-4.6-2.4-10-2.4-14.6%2C0l-49.4%2C25.5c-5.3%2C2.7-8.6%2C8.2-8.6%2C14.1v48.1c0%2C6%2C3.3%2C11.4%2C8.6%2C14.1%20l49.4%2C25.5c4.6%2C2.4%2C10%2C2.4%2C14.6%2C0l49.4-25.5c5.3-2.7%2C8.6-8.2%2C8.6-14.1v-48.1c0-6-3.3-11.4-8.6-14.1L902.3%2C1006.7z%22%2F%3E%3Cpath%20class%3D%22st4%22%20d%3D%22M1039.9%2C824.2c-5.9-3-12.9-3-18.7%2C0l-63.3%2C32.7c-6.8%2C3.5-11%2C10.5-11%2C18.1v61.6c0%2C7.6%2C4.3%2C14.6%2C11%2C18.1%20l63.3%2C32.7c5.9%2C3%2C12.9%2C3%2C18.7%2C0l63.3-32.7c6.8-3.5%2C11-10.5%2C11-18.1V875c0-7.6-4.3-14.6-11-18.1L1039.9%2C824.2z%22%2F%3E%3Cpath%20class%3D%22st3%22%20d%3D%22M798%2C919.1c-6.2-3.2-13.5-3.2-19.7%2C0l-66.6%2C34.4c-7.1%2C3.7-11.6%2C11-11.6%2C19.1v64.8c0%2C8%2C4.5%2C15.4%2C11.6%2C19.1%20l66.6%2C34.4c6.2%2C3.2%2C13.5%2C3.2%2C19.7%2C0l66.6-34.4c7.1-3.7%2C11.6-11%2C11.6-19.1v-64.8c0-8-4.5-15.4-11.6-19.1L798%2C919.1z%22%2F%3E%3Cpath%20class%3D%22st3%22%20d%3D%22M593.7%2C803c-3.4-1.7-7.4-1.7-10.7%2C0l-36.2%2C18.7c-3.9%2C2-6.3%2C6-6.3%2C10.4v35.3c0%2C4.4%2C2.4%2C8.4%2C6.3%2C10.4l36.2%2C18.7%20c3.4%2C1.7%2C7.4%2C1.7%2C10.7%2C0l36.2-18.7c3.9-2%2C6.3-6%2C6.3-10.4v-35.3c0-4.4-2.4-8.4-6.3-10.4L593.7%2C803z%22%2F%3E%3Cpath%20class%3D%22st5%22%20d%3D%22M1338.6%2C856.2c-6.6-3.4-14.4-3.4-21%2C0l-70.8%2C36.6c-7.6%2C3.9-12.3%2C11.7-12.3%2C20.3V982c0%2C8.5%2C4.8%2C16.4%2C12.3%2C20.3%20l70.8%2C36.6c6.6%2C3.4%2C14.4%2C3.4%2C21%2C0l70.8-36.6c7.6-3.9%2C12.3-11.7%2C12.3-20.3V913c0-8.5-4.8-16.4-12.3-20.3L1338.6%2C856.2z%22%2F%3E%3Cpath%20class%3D%22st5%22%20d%3D%22M663.5%2C907.5c-4.8-2.5-10.6-2.5-15.4%2C0l-52.2%2C26.9c-5.6%2C2.9-9.1%2C8.6-9.1%2C14.9v50.8c0%2C6.3%2C3.5%2C12%2C9.1%2C14.9%20l52.2%2C26.9c4.8%2C2.5%2C10.6%2C2.5%2C15.4%2C0l52.2-26.9c5.6-2.9%2C9.1-8.6%2C9.1-14.9v-50.8c0-6.3-3.5-12-9.1-14.9L663.5%2C907.5z%22%2F%3E%3Cpath%20class%3D%22st3%22%20d%3D%22M1215%2C951.3c-6.2-3.2-13.5-3.2-19.7%2C0l-66.6%2C34.4c-7.1%2C3.7-11.6%2C11-11.6%2C19.1v64.8c0%2C8%2C4.5%2C15.4%2C11.6%2C19.1%20l66.6%2C34.4c6.2%2C3.2%2C13.5%2C3.2%2C19.7%2C0l66.6-34.4c7.1-3.7%2C11.6-11%2C11.6-19.1v-64.8c0-8-4.5-15.4-11.6-19.1L1215%2C951.3z%22%2F%3E%3Cpath%20class%3D%22st1%22%20d%3D%22M937.4%2C795.6c-4.6-2.4-10-2.4-14.6%2C0l-49.4%2C25.5c-5.3%2C2.7-8.6%2C8.2-8.6%2C14.1v48.1c0%2C6%2C3.3%2C11.4%2C8.6%2C14.1%20l49.4%2C25.5c4.6%2C2.4%2C10%2C2.4%2C14.6%2C0l49.4-25.5c5.3-2.7%2C8.6-8.2%2C8.6-14.1v-48.1c0-6-3.3-11.4-8.6-14.1L937.4%2C795.6z%22%2F%3E%3Cpath%20class%3D%22st6%22%20d%3D%22M1558.5%2C858.5l-37.4-19.3c-8.8-4.6-19.3-4.6-28.2%2C0l-37.5%2C19.4c-7.8%2C4-12.6%2C11.9-12.7%2C20.6%20c-0.1%2C11.4%2C1.5%2C28.4%2C9.8%2C44.3c9.8%2C19%2C26.5%2C31.9%2C49.6%2C38.2c1.5%2C0.4%2C3%2C0.6%2C4.6%2C0.6c1.5%2C0%2C3-0.2%2C4.5-0.6c23.1-6.2%2C39.9-19%2C49.9-38%20c8.4-15.9%2C10.2-33%2C10.2-44.5C1571.2%2C870.5%2C1566.3%2C862.6%2C1558.5%2C858.5z%20M1510.3%2C958.3c-2.4%2C0.6-4.9%2C0.6-7.2%2C0%20c-49.8-13.8-56.9-55.5-56.7-79.1c0.1-7.4%2C4.2-14.1%2C10.8-17.5l37.5-19.4c3.9-2%2C8.2-3%2C12.5-3c4.3%2C0%2C8.6%2C1%2C12.5%2C3l37.4%2C19.3%20c6.7%2C3.4%2C10.8%2C10.2%2C10.8%2C17.7C1567.6%2C903.1%2C1560.2%2C944.9%2C1510.3%2C958.3z%20M1526.3%2C891.1l-24.2-12.5c-2.9-1.5-6.2-1.4-9%2C0.3%20c-2.8%2C1.7-4.4%2C4.6-4.4%2C7.9v25c0%2C3.2%2C1.6%2C6.2%2C4.4%2C7.9c1.5%2C0.9%2C3.1%2C1.4%2C4.8%2C1.4c1.4%2C0%2C2.9-0.3%2C4.2-1l24.2-12.5c3.1-1.6%2C5-4.7%2C5-8.2%20C1531.2%2C895.8%2C1529.3%2C892.7%2C1526.3%2C891.1z%20M1524.6%2C904.3l-24.2%2C12.5c-1.8%2C0.9-3.8%2C0.8-5.5-0.2c-1.7-1-2.7-2.8-2.7-4.8v-25%20c0-2%2C1-3.8%2C2.7-4.8c0.9-0.6%2C1.9-0.8%2C2.9-0.8c0.9%2C0%2C1.8%2C0.2%2C2.6%2C0.6l24.2%2C12.5c1.9%2C1%2C3.1%2C2.9%2C3.1%2C5%20C1527.7%2C901.5%2C1526.6%2C903.3%2C1524.6%2C904.3z%22%2F%3E%3Cpath%20class%3D%22st4%22%20d%3D%22M1550.2%2C946.6c-6.2-3.2-13.5-3.2-19.7%2C0l-66.6%2C34.4c-7.1%2C3.7-11.6%2C11-11.6%2C19.1v64.8c0%2C8%2C4.5%2C15.4%2C11.6%2C19.1%20l66.6%2C34.4c6.2%2C3.2%2C13.5%2C3.2%2C19.7%2C0l66.6-34.4c7.1-3.7%2C11.6-11%2C11.6-19.1v-64.8c0-8-4.5-15.4-11.6-19.1L1550.2%2C946.6z%22%2F%3E%3Cpath%20class%3D%22st3%22%20d%3D%22M1670.2%2C880c-7.2-3.7-15.8-3.7-23.1%2C0l-78%2C40.3c-8.4%2C4.3-13.6%2C12.9-13.6%2C22.3v75.9c0%2C9.4%2C5.2%2C18%2C13.6%2C22.3%20l78%2C40.3c7.2%2C3.7%2C15.8%2C3.7%2C23.1%2C0l78-40.3c8.4-4.3%2C13.6-12.9%2C13.6-22.3v-75.9c0-9.4-5.2-18-13.6-22.3L1670.2%2C880z%22%2F%3E%3Cpath%20class%3D%22st6%22%20d%3D%22M666.5%2C981.2c0.3%2C1.7%2C0.3%2C3.4-0.2%2C5.4c-0.6%2C2.5-1.9%2C4.5-3.9%2C5.9c-1.4%2C1-3.1%2C1.7-5.1%2C2v3c0%2C1.1-0.9%2C2-2%2C2%20s-2-0.9-2-2v-2.9c-1.6-0.2-3-0.5-4.3-1.1c-1.7-0.7-3.4-1.8-4.9-3.3c-0.8-0.7-0.9-2-0.1-2.8s2-0.9%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C9.9-16.3l27.3-14.1c5.3-2.7%2C11.6-2.7%2C16.9%2C0l27.3%2C14.1C697%2C949.9%2C700.8%2C956.2%2C700.8%2C963.1z%20M696.8%2C963.1%20c0-5.4-3-10.3-7.8-12.8l-27.3-14.1c-4.1-2.1-9.1-2.1-13.2%2C0l-27.3%2C14.1c-4.8%2C2.5-7.8%2C7.4-7.8%2C12.8v25.2c0%2C5.4%2C3%2C10.3%2C7.8%2C12.8%20l27.3%2C14.1c4.1%2C2.1%2C9.1%2C2.1%2C13.2%2C0L689%2C1001c4.8-2.5%2C7.8-7.4%2C7.8-12.8V963.1z%22%2F%3E%3Cpath%20class%3D%22st4%22%20d%3D%22M544.9%2C953.6c-5.9-3-12.9-3-18.7%2C0l-63.3%2C32.7c-6.8%2C3.5-11%2C10.5-11%2C18.1v61.6c0%2C7.6%2C4.3%2C14.6%2C11%2C18.1l63.3%2C32.7%20c5.9%2C3%2C12.9%2C3%2C18.7%2C0l63.3-32.7c6.8-3.5%2C11-10.5%2C11-18.1v-61.6c0-7.6-4.3-14.6-11-18.1L544.9%2C953.6z%22%2F%3E%3Cpath%20class%3D%22st6%22%20d%3D%22M177.6%2C874.2c0%2C2.9-2.3%2C5.2-5.2%2C5.2s-5.2-2.3-5.2-5.2c0-2.9%2C2.3-5.2%2C5.2-5.2S177.6%2C871.3%2C177.6%2C874.2z%20%20M197.5%2C868.9c-2.9%2C0-5.2%2C2.3-5.2%2C5.2c0%2C2.9%2C2.3%2C5.2%2C5.2%2C5.2s5.2-2.3%2C5.2-5.2C202.7%2C871.3%2C200.4%2C868.9%2C197.5%2C868.9z%20M222.6%2C868.9%20c-2.9%2C0-5.2%2C2.3-5.2%2C5.2c0%2C2.9%2C2.3%2C5.2%2C5.2%2C5.2s5.2-2.3%2C5.2-5.2C227.9%2C871.3%2C225.5%2C868.9%2C222.6%2C868.9z%20M163.5%2C932.2l14.2-7.2%20c0.4-0.2%2C0.9-0.2%2C1.4%2C0l6.8%2C3.5c6.6%2C3.4%2C14.4%2C3.4%2C21%2C0l34.8-18c7.6-3.9%2C12.4-11.7%2C12.4-20.3v-32.1c0-8.6-4.7-16.4-12.4-20.3%20l-34.8-18c-6.6-3.4-14.4-3.4-21%2C0l-34.8%2C18c-7.6%2C3.9-12.4%2C11.7-12.4%2C20.3v32.1c0%2C8.6%2C4.7%2C16.4%2C12.4%2C20.3l3.7%2C1.9%20c0.5%2C0.3%2C0.8%2C0.8%2C0.8%2C1.3v13.5c0%2C1.9%2C1%2C3.7%2C2.6%2C4.7c0.9%2C0.5%2C1.9%2C0.8%2C2.9%2C0.8C161.8%2C932.8%2C162.7%2C932.6%2C163.5%2C932.2z%20M205%2C823.3%20l34.8%2C18c6.3%2C3.3%2C10.2%2C9.7%2C10.2%2C16.8v32.1c0%2C7.1-3.9%2C13.5-10.2%2C16.8L205%2C925c-5.4%2C2.8-11.9%2C2.8-17.3%2C0l-6.8-3.5%20c-1.6-0.8-3.4-0.8-5%2C0l-14.2%2C7.2c-0.7%2C0.3-1.2%2C0.1-1.4-0.1c-0.2-0.1-0.7-0.5-0.7-1.3v-13.5c0-2.1-1.1-3.9-3-4.9l-3.7-1.9%20c-6.3-3.3-10.2-9.7-10.2-16.8v-32.1c0-7.1%2C3.9-13.5%2C10.2-16.8l34.8-18c2.7-1.4%2C5.7-2.1%2C8.7-2.1S202.3%2C821.9%2C205%2C823.3z%22%2F%3E%3Cpath%20class%3D%22st5%22%20d%3D%22M117.2%2C872.5c-8.1-4.2-17.8-4.2-26%2C0L3.5%2C917.8c-9.4%2C4.9-15.3%2C14.6-15.3%2C25.1v85.4c0%2C10.6%2C5.9%2C20.3%2C15.3%2C25.1%20l87.8%2C45.3c8.1%2C4.2%2C17.8%2C4.2%2C26%2C0l87.8-45.3c9.4-4.9%2C15.3-14.6%2C15.3-25.1V943c0-10.6-5.9-20.3-15.3-25.1L117.2%2C872.5z%22%2F%3E%3Cpath%20class%3D%22st2%22%20d%3D%22M310.5%2C940.7c-7.2-3.7-15.8-3.7-23.1%2C0l-78%2C40.3c-8.4%2C4.3-13.6%2C12.9-13.6%2C22.3v75.9c0%2C9.4%2C5.2%2C18%2C13.6%2C22.3%20l78%2C40.3c7.2%2C3.7%2C15.8%2C3.7%2C23.1%2C0l78-40.3c8.4-4.3%2C13.6-12.9%2C13.6-22.3v-75.9c0-9.4-5.2-18-13.6-22.3L310.5%2C940.7z%22%2F%3E%3Cpath%20class%3D%22st1%22%20d%3D%22M435.7%2C887.4c-4.8-2.5-10.4-2.5-15.2%2C0l-51.3%2C26.5c-5.5%2C2.8-8.9%2C8.5-8.9%2C14.7v49.9c0%2C6.2%2C3.5%2C11.9%2C8.9%2C14.7%20l51.3%2C26.5c4.8%2C2.5%2C10.4%2C2.5%2C15.2%2C0l51.3-26.5c5.5-2.8%2C8.9-8.5%2C8.9-14.7v-49.9c0-6.2-3.5-11.9-8.9-14.7L435.7%2C887.4z%22%2F%3E%3Cpath%20class%3D%22st6%22%20d%3D%22M959.4%2C856.5c0%2C1.1-0.9%2C2-2%2C2h-21.3c-1.1%2C0-2-0.9-2-2s0.9-2%2C2-2h21.3C958.5%2C854.5%2C959.4%2C855.4%2C959.4%2C856.5z%20%20M920.1%2C874h21.3c1.1%2C0%2C2-0.9%2C2-2s-0.9-2-2-2h-21.3c-1.1%2C0-2%2C0.9-2%2C2S919%2C874%2C920.1%2C874z%20M925.1%2C843c1.1%2C0%2C2-0.9%2C2-2s-0.9-2-2-2%20h-5.7c-1.1%2C0-2%2C0.9-2%2C2s0.9%2C2%2C2%2C2H925.1z%20M985.6%2C854.5h-5.7c-1.1%2C0-2%2C0.9-2%2C2s0.9%2C2%2C2%2C2h5.7c1.1%2C0%2C2-0.9%2C2-2%20S986.7%2C854.5%2C985.6%2C854.5z%20M980%2C870h-10.3v-5.1c0-1.1-0.9-2-2-2s-2%2C0.9-2%2C2v6.1c0%2C5.1-2.8%2C9.7-7.3%2C12l-25.9%2C13.4%20c-3.9%2C2-8.5%2C2-12.4%2C0L894.3%2C883c-4.5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3-11.6%2C12.3-20.2v-31.8%20C1262.7%2C1014.1%2C1258%2C1006.3%2C1250.4%2C1002.4z%20M1214.1%2C1088.8c-5.4%2C2.8-11.8%2C2.8-17.2%2C0l-26.1-13.5c0-8.8%2C10.1-16.3%2C18.6-20%20c1.6-0.7%2C2.8-2.2%2C3.2-3.9c0.4-1.7-0.2-3.5-1.4-4.8c-3.4-3.6-5.3-8.4-5.3-13.4c0-5.6%2C2.4-10.9%2C6.5-14.6c4.2-3.8%2C9.6-5.5%2C15.3-4.9%20c9.2%2C1%2C16.2%2C8.1%2C17.2%2C17.3c0.6%2C5.7-1.3%2C11.4-5.2%2C15.5c-1.2%2C1.3-1.8%2C3.1-1.4%2C4.9c0.4%2C1.7%2C1.5%2C3.2%2C3.2%2C3.9c8.6%2C3.7%2C18.6%2C11.2%2C18.6%2C20%20L1214.1%2C1088.8z%20M1258.7%2C1054.4c0%2C7-3.9%2C13.4-10.1%2C16.6l-4.6%2C2.4c-1.3-9.8-11.4-17.6-20.9-21.7c-0.6-0.3-0.8-0.8-0.9-1.1%20c-0.1-0.5%2C0-1%2C0.4-1.3c4.7-5%2C7-11.8%2C6.3-18.7c-1.2-11.1-9.7-19.6-20.8-20.9c-6.7-0.7-13.4%2C1.4-18.4%2C5.9c-5%2C4.5-7.8%2C10.9-7.8%2C17.6%20c0%2C6%2C2.3%2C11.8%2C6.4%2C16.2c0.5%2C0.5%2C0.4%2C1%2C0.4%2C1.3c-0.1%2C0.5-0.4%2C0.9-0.9%2C1.1c-9.5%2C4.2-19.6%2C11.9-20.9%2C21.7l-4.6-2.4%20c-6.2-3.2-10.1-9.6-10.1-16.6v-31.8c0-7%2C3.9-13.4%2C10.1-16.6l34.5-17.8c2.7-1.4%2C5.6-2.1%2C8.6-2.1c2.9%2C0%2C5.9%2C0.7%2C8.6%2C2.1l34.5%2C17.8%20c6.2%2C3.2%2C10.1%2C9.6%2C10.1%2C16.6V1054.4z%22%2F%3E%3C%2Fsvg%3E";
|
|
24998
24998
|
var mosaicLogo = "data:image/svg+xml,%3Csvg%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20270%20120%22%3E%3Cstyle%20type%3D%22text%2Fcss%22%3E%20.st0%7Bfill%3A%231C3A69%3B%7D%20.st1%7Bfill%3A%23EA5542%3B%7D%20.st2%7Bfill%3A%23FEBC12%3B%7D%20.st3%7Bfill%3A%231099D6%3B%7D%3C%2Fstyle%3E%20%3Cpath%20id%3D%22Path_26%22%20class%3D%22st0%22%20d%3D%22M53.9%2C15.5c3.5-1.8%2C7.6-1.8%2C11.1%2C0L98.7%2C33c4%2C2.1%2C6.6%2C6.2%2C6.6%2C10.8v32.6c0%2C4.5-2.5%2C8.7-6.6%2C10.8%20%20L65%2C104.5c-3.5%2C1.8-7.6%2C1.8-11.1%2C0L20.2%2C87c-4-2.1-6.6-6.2-6.6-10.8V43.7c0-4.5%2C2.5-8.7%2C6.6-10.8L53.9%2C15.5z%22%2F%3E%20%3Cpath%20id%3D%22Path_27%22%20class%3D%22st1%22%20d%3D%22M59.4%2C119.4c-4.1%2C0-8.2-1-11.8-2.9L13.9%2C99.1C5.4%2C94.7%2C0%2C85.9%2C0%2C76.3V43.7%20%20c0-9.6%2C5.4-18.5%2C13.9-22.9L47.6%2C3.4c7.4-3.8%2C16.2-3.8%2C23.6%2C0l33.7%2C17.4c8.6%2C4.4%2C13.9%2C13.2%2C13.9%2C22.9v32.6c0%2C9.6-5.4%2C18.5-13.9%2C22.9%20%20l-33.7%2C17.4C67.6%2C118.4%2C63.5%2C119.4%2C59.4%2C119.4%20M27.2%2C75.4L59.4%2C92l32.2-16.6V44.6L59.4%2C28L27.2%2C44.6V75.4z%20M60.1%2C27.6L60.1%2C27.6%20%20L60.1%2C27.6%22%2F%3E%20%3Cpath%20id%3D%22Path_28%22%20class%3D%22st0%22%20d%3D%22M53.9%2C15.5c3.5-1.8%2C7.6-1.8%2C11.1%2C0L98.7%2C33c4%2C2.1%2C6.6%2C6.2%2C6.6%2C10.8v32.6c0%2C4.5-2.5%2C8.7-6.6%2C10.8%20%20L65%2C104.5c-3.5%2C1.8-7.6%2C1.8-11.1%2C0L20.2%2C87c-4-2.1-6.6-6.2-6.6-10.8V43.7c0-4.5%2C2.5-8.7%2C6.6-10.8L53.9%2C15.5z%22%2F%3E%20%3Cpath%20id%3D%22Path_29%22%20class%3D%22st2%22%20d%3D%22M59.4%2C114.9c-3.4%2C0-6.7-0.8-9.7-2.4L16%2C95.1C9%2C91.5%2C4.5%2C84.2%2C4.5%2C76.3V43.7%20%20C4.5%2C35.8%2C9%2C28.5%2C16%2C24.9L49.7%2C7.5c6.1-3.1%2C13.3-3.1%2C19.4%2C0l33.7%2C17.4c7.1%2C3.6%2C11.5%2C10.9%2C11.5%2C18.8v32.6c0%2C7.9-4.4%2C15.2-11.5%2C18.8%20%20l-33.7%2C17.4C66.1%2C114.1%2C62.8%2C114.9%2C59.4%2C114.9%20M58%2C23.6L24.3%2C41c-1%2C0.5-1.6%2C1.6-1.6%2C2.7v32.6c0%2C1.1%2C0.6%2C2.2%2C1.6%2C2.7L58%2C96.4%20%20c0.9%2C0.4%2C1.9%2C0.4%2C2.8%2C0L94.5%2C79c1-0.5%2C1.6-1.6%2C1.6-2.7V43.7c0-1.1-0.6-2.2-1.6-2.7L60.8%2C23.6C59.9%2C23.2%2C58.9%2C23.2%2C58%2C23.6%22%2F%3E%20%3Cpath%20id%3D%22Path_30%22%20class%3D%22st0%22%20d%3D%22M53.9%2C15.5c3.5-1.8%2C7.6-1.8%2C11.1%2C0L98.7%2C33c4%2C2.1%2C6.6%2C6.2%2C6.6%2C10.8v32.6c0%2C4.5-2.5%2C8.7-6.6%2C10.8%20%20L65%2C104.5c-3.5%2C1.8-7.6%2C1.8-11.1%2C0L20.2%2C87c-4-2.1-6.6-6.2-6.6-10.8V43.7c0-4.5%2C2.5-8.7%2C6.6-10.8L53.9%2C15.5z%22%2F%3E%20%3Cpath%20id%3D%22Path_31%22%20class%3D%22st3%22%20d%3D%22M59.4%2C110.3c-2.7%2C0-5.3-0.6-7.6-1.9L18.1%2C91.1c-5.5-2.8-9-8.6-9-14.8V43.7c0-6.2%2C3.5-11.9%2C9-14.8%20%20l33.7-17.4c4.8-2.5%2C10.5-2.5%2C15.3%2C0l33.7%2C17.4c5.5%2C2.8%2C9%2C8.6%2C9%2C14.8v32.6c0%2C6.2-3.5%2C11.9-9%2C14.8l-33.7%2C17.4%20%20C64.7%2C109.7%2C62.1%2C110.3%2C59.4%2C110.3%20M55.9%2C19.6L22.3%2C37c-2.5%2C1.3-4.1%2C3.9-4.1%2C6.7v32.6c0%2C2.8%2C1.6%2C5.4%2C4.1%2C6.7l33.7%2C17.4%20%20c2.2%2C1.1%2C4.8%2C1.1%2C6.9%2C0L96.6%2C83c2.5-1.3%2C4.1-3.9%2C4.1-6.7V43.7c0-2.8-1.6-5.4-4.1-6.7L62.9%2C19.6C60.7%2C18.5%2C58.1%2C18.5%2C55.9%2C19.6%22%2F%3E%20%3Cpath%20id%3D%22Path_32%22%20class%3D%22st0%22%20d%3D%22M53.9%2C15.5c3.5-1.8%2C7.6-1.8%2C11.1%2C0L98.7%2C33c4%2C2.1%2C6.6%2C6.2%2C6.6%2C10.8v32.6c0%2C4.5-2.5%2C8.7-6.6%2C10.8%20%20L65%2C104.5c-3.5%2C1.8-7.6%2C1.8-11.1%2C0L20.2%2C87c-4-2.1-6.6-6.2-6.6-10.8V43.7c0-4.5%2C2.5-8.7%2C6.6-10.8L53.9%2C15.5z%22%2F%3E%20%3Cpath%20id%3D%22Path_33%22%20class%3D%22st3%22%20d%3D%22M36.8%2C62c0.9-0.5%2C1.9-0.5%2C2.8%2C0l6%2C3.1c1%2C0.5%2C1.6%2C1.6%2C1.6%2C2.7v5.7c0%2C1.1-0.6%2C2.2-1.6%2C2.7l-6%2C3.1%20%20c-0.9%2C0.5-1.9%2C0.5-2.8%2C0l-6-3.1c-1-0.5-1.6-1.6-1.6-2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2-1.6%2C2.7l-6%2C3.1%20%20c-0.9%2C0.4-1.9%2C0.4-2.8%2C0l-6-3.1c-1-0.5-1.6-1.6-1.6-2.7v-5.7c0-1.1%2C0.6-2.2%2C1.6-2.7L36.8%2C40.7z%22%2F%3E%20%3Cpath%20id%3D%22Path_37%22%20class%3D%22st1%22%20d%3D%22M82%2C62c-0.9-0.5-1.9-0.5-2.8%2C0l-6%2C3.1c-1%2C0.5-1.6%2C1.6-1.6%2C2.7v5.7c0%2C1.1%2C0.6%2C2.2%2C1.6%2C2.7l6%2C3.1%20%20c0.9%2C0.5%2C1.9%2C0.5%2C2.8%2C0l6-3.1c1-0.5%2C1.6-1.6%2C1.6-2.7v-5.7c0-1.1-0.6-2.2-1.6-2.7L82%2C62z%22%2F%3E%20%3Cpath%20id%3D%22Path_38%22%20class%3D%22st2%22%20d%3D%22M82%2C51.3c-0.9-0.4-1.9-0.4-2.8%2C0l-6%2C3.1c-1%2C0.5-1.6%2C1.6-1.6%2C2.7v5.7c0%2C1.1%2C0.6%2C2.2%2C1.6%2C2.7l6%2C3.1%20%20c0.9%2C0.5%2C1.9%2C0.5%2C2.8%2C0l6-3.1c1-0.5%2C1.6-1.6%2C1.6-2.7v-5.7c0-1.1-0.6-2.2-1.6-2.7L82%2C51.3z%22%2F%3E%20%3Cpath%20id%3D%22Path_39%22%20class%3D%22st3%22%20d%3D%22M82%2C40.7c-0.9-0.4-1.9-0.4-2.8%2C0l-6%2C3.1c-1%2C0.5-1.6%2C1.6-1.6%2C2.7v5.7c0%2C1.1%2C0.6%2C2.2%2C1.6%2C2.7l6%2C3.1%20%20c0.9%2C0.4%2C1.9%2C0.4%2C2.8%2C0l6-3.1c1-0.5%2C1.6-1.6%2C1.6-2.7v-5.7c0-1.1-0.6-2.2-1.6-2.7L82%2C40.7z%22%2F%3E%20%3Cpath%20id%3D%22Path_40%22%20class%3D%22st3%22%20d%3D%22M47.4%2C46.1c0.9-0.5%2C1.9-0.5%2C2.8%2C0l6%2C3.1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C75.5%2C264.8%2C75.2%22%2F%3E%3C%2Fsvg%3E";
|
|
24999
|
-
var css_248z$b = ".CompletePasswordReset-
|
|
24999
|
+
var css_248z$b = ".CompletePasswordReset-module_container_3fBRN{display:grid;width:100%;height:100%}.CompletePasswordReset-module_container_3fBRN .CompletePasswordReset-module_whiteBox_2UqbX{display:grid;background-color:#fff;width:400px;margin:auto;padding:35px;grid-row-gap:10px}.CompletePasswordReset-module_container_3fBRN .CompletePasswordReset-module_whiteBox_2UqbX .CompletePasswordReset-module_logo_PEdAH{height:100px}.CompletePasswordReset-module_container_3fBRN .CompletePasswordReset-module_whiteBox_2UqbX .CompletePasswordReset-module_logo_PEdAH img{margin:auto;display:block;height:100%}.CompletePasswordReset-module_container_3fBRN .CompletePasswordReset-module_content_S9fH6{padding:0 0 15px}.CompletePasswordReset-module_container_3fBRN .CompletePasswordReset-module_hint_pi0FI,.CompletePasswordReset-module_container_3fBRN p{color:#707070;font-size:14px}.CompletePasswordReset-module_container_3fBRN .CompletePasswordReset-module_inputGroup_1lmrC{margin-bottom:10px}.CompletePasswordReset-module_container_3fBRN .CompletePasswordReset-module_inputGroup_1lmrC input{width:100%;padding:15px;box-sizing:border-box;border:1px solid #ccc;transition:border .3s,box-shadow .3s;outline:none}.CompletePasswordReset-module_container_3fBRN .CompletePasswordReset-module_input-group_JSr8p input:focus,.CompletePasswordReset-module_container_3fBRN .CompletePasswordReset-module_inputGroup_1lmrC input:hover{border:1px solid #28aae1;box-shadow:0 0 2px #28aae1}.CompletePasswordReset-module_container_3fBRN .CompletePasswordReset-module_button_3JuVY{padding:15px;background-color:#28aae1;color:#fff;border:none;cursor:pointer;text-align:left}.CompletePasswordReset-module_container_3fBRN .CompletePasswordReset-module_buttonDisabled_3_FnH{padding:15px;background-color:#ccc;color:#fff;border:none;text-align:left}.CompletePasswordReset-module_container_3fBRN .CompletePasswordReset-module_button_3JuVY:hover{background-color:#4cb3e1}.CompletePasswordReset-module_container_3fBRN .CompletePasswordReset-module_button_3JuVY a{text-decoration:none;color:#fff}.CompletePasswordReset-module_container_3fBRN .CompletePasswordReset-module_forgotPassword_3tCuc{text-align:right}.CompletePasswordReset-module_container_3fBRN .CompletePasswordReset-module_forgotPassword_3tCuc a{font-size:14px;color:#28aae1}.CompletePasswordReset-module_container_3fBRN .CompletePasswordReset-module_errorMessage_3XaDd{font-size:14px;color:#f06c55;margin:3px 0 0}";
|
|
25000
25000
|
var classes$b = {
|
|
25001
|
-
"container": "CompletePasswordReset-
|
|
25002
|
-
"whiteBox": "CompletePasswordReset-
|
|
25003
|
-
"logo": "CompletePasswordReset-
|
|
25004
|
-
"content": "CompletePasswordReset-
|
|
25005
|
-
"hint": "CompletePasswordReset-
|
|
25006
|
-
"inputGroup": "CompletePasswordReset-
|
|
25007
|
-
"input-group": "CompletePasswordReset-module_input-
|
|
25008
|
-
"button": "CompletePasswordReset-
|
|
25009
|
-
"
|
|
25010
|
-
"
|
|
25011
|
-
|
|
25012
|
-
|
|
25001
|
+
"container": "CompletePasswordReset-module_container_3fBRN",
|
|
25002
|
+
"whiteBox": "CompletePasswordReset-module_whiteBox_2UqbX",
|
|
25003
|
+
"logo": "CompletePasswordReset-module_logo_PEdAH",
|
|
25004
|
+
"content": "CompletePasswordReset-module_content_S9fH6",
|
|
25005
|
+
"hint": "CompletePasswordReset-module_hint_pi0FI",
|
|
25006
|
+
"inputGroup": "CompletePasswordReset-module_inputGroup_1lmrC",
|
|
25007
|
+
"input-group": "CompletePasswordReset-module_input-group_JSr8p",
|
|
25008
|
+
"button": "CompletePasswordReset-module_button_3JuVY",
|
|
25009
|
+
"buttonDisabled": "CompletePasswordReset-module_buttonDisabled_3_FnH",
|
|
25010
|
+
"forgotPassword": "CompletePasswordReset-module_forgotPassword_3tCuc",
|
|
25011
|
+
"errorMessage": "CompletePasswordReset-module_errorMessage_3XaDd"
|
|
25012
|
+
};
|
|
25013
|
+
var style$b = document.querySelector('style[data-hash="ab725ae2d46d7202540cbbd192f933b77d569171"]');
|
|
25013
25014
|
if (!style$b) {
|
|
25014
25015
|
style$b = document.createElement('style');
|
|
25015
|
-
style$b.setAttribute('data-hash', '
|
|
25016
|
+
style$b.setAttribute('data-hash', 'ab725ae2d46d7202540cbbd192f933b77d569171');
|
|
25016
25017
|
document.head.appendChild(style$b);
|
|
25017
25018
|
if (style$b.styleSheet) {
|
|
25018
25019
|
style$b.styleSheet.cssText = css_248z$b;
|
|
@@ -25050,6 +25051,10 @@ var CompletePasswordReset = function CompletePasswordReset(_ref41) {
|
|
|
25050
25051
|
_useState8 = _slicedToArray(_useState7, 2),
|
|
25051
25052
|
isReset = _useState8[0],
|
|
25052
25053
|
setIsReset = _useState8[1];
|
|
25054
|
+
var _useState9 = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(false),
|
|
25055
|
+
_useState10 = _slicedToArray(_useState9, 2),
|
|
25056
|
+
isSubmitted = _useState10[0],
|
|
25057
|
+
setIsSubmitted = _useState10[1];
|
|
25053
25058
|
var background = (_a = brandingOptions === null || brandingOptions === void 0 ? void 0 : brandingOptions.background) !== null && _a !== void 0 ? _a : DEFAULT_BG_IMAGE$3;
|
|
25054
25059
|
var backgroundStyles = {
|
|
25055
25060
|
background: (background === null || background === void 0 ? void 0 : background.includes('/')) ? "url(".concat(background, ")") : background,
|
|
@@ -25098,24 +25103,26 @@ var CompletePasswordReset = function CompletePasswordReset(_ref41) {
|
|
|
25098
25103
|
setErrorMessage('Passwords do not match.');
|
|
25099
25104
|
return _context2.abrupt("return");
|
|
25100
25105
|
case 8:
|
|
25106
|
+
setIsSubmitted(true);
|
|
25101
25107
|
if (!(axAuthManagementGraphQlEndpoint !== undefined)) {
|
|
25102
|
-
_context2.next =
|
|
25108
|
+
_context2.next = 17;
|
|
25103
25109
|
break;
|
|
25104
25110
|
}
|
|
25105
|
-
_context2.next =
|
|
25111
|
+
_context2.next = 12;
|
|
25106
25112
|
return completePasswordReset(resetOtp, password, axAuthManagementGraphQlEndpoint);
|
|
25107
|
-
case
|
|
25113
|
+
case 12:
|
|
25108
25114
|
completePasswordResetResponse = _context2.sent;
|
|
25115
|
+
setIsSubmitted(false);
|
|
25109
25116
|
if (completePasswordResetResponse.isSuccess) {
|
|
25110
25117
|
setIsReset(true);
|
|
25111
25118
|
} else {
|
|
25112
25119
|
setErrorMessage((_d = completePasswordResetResponse.errorMessage) !== null && _d !== void 0 ? _d : 'Unexpected Error occurred while attempting to complete password reset. Please try again later.');
|
|
25113
25120
|
}
|
|
25114
|
-
_context2.next =
|
|
25121
|
+
_context2.next = 18;
|
|
25115
25122
|
break;
|
|
25116
|
-
case
|
|
25123
|
+
case 17:
|
|
25117
25124
|
setErrorMessage('AxAuthManagementGraphQlEndpoint is not available');
|
|
25118
|
-
case
|
|
25125
|
+
case 18:
|
|
25119
25126
|
case "end":
|
|
25120
25127
|
return _context2.stop();
|
|
25121
25128
|
}
|
|
@@ -25144,7 +25151,7 @@ var CompletePasswordReset = function CompletePasswordReset(_ref41) {
|
|
|
25144
25151
|
}
|
|
25145
25152
|
}, "Back to Sign In"))), !isReset && ( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(react__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("p", {
|
|
25146
25153
|
className: classes$b.hint
|
|
25147
|
-
}, "Please
|
|
25154
|
+
}, "Please enter the new password."), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", {
|
|
25148
25155
|
className: classes$b.inputGroup
|
|
25149
25156
|
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", {
|
|
25150
25157
|
type: "password",
|
|
@@ -25153,7 +25160,7 @@ var CompletePasswordReset = function CompletePasswordReset(_ref41) {
|
|
|
25153
25160
|
return setPassword(e.target.value);
|
|
25154
25161
|
},
|
|
25155
25162
|
id: "email",
|
|
25156
|
-
placeholder: "
|
|
25163
|
+
placeholder: "new password"
|
|
25157
25164
|
})), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", {
|
|
25158
25165
|
className: classes$b.inputGroup
|
|
25159
25166
|
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", {
|
|
@@ -25163,32 +25170,32 @@ var CompletePasswordReset = function CompletePasswordReset(_ref41) {
|
|
|
25163
25170
|
return setConfirmPassword(e.target.value);
|
|
25164
25171
|
},
|
|
25165
25172
|
id: "email",
|
|
25166
|
-
placeholder: "
|
|
25173
|
+
placeholder: "confirm new password"
|
|
25167
25174
|
})), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", {
|
|
25168
|
-
className: classes$b.button,
|
|
25175
|
+
className: isSubmitted ? classes$b.buttonDisabled : classes$b.button,
|
|
25169
25176
|
onClick: function onClick() {
|
|
25170
25177
|
return callCompletePasswordReset();
|
|
25171
25178
|
}
|
|
25172
|
-
}, "
|
|
25179
|
+
}, "Change Password"), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", {
|
|
25173
25180
|
className: classes$b.forgotPassword
|
|
25174
25181
|
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("a", {
|
|
25175
25182
|
href: "/"
|
|
25176
25183
|
}, "Back to Sign In")))))));
|
|
25177
25184
|
};
|
|
25178
|
-
var css_248z$a = ".ConfirmSignUp-
|
|
25185
|
+
var css_248z$a = ".ConfirmSignUp-module_container_2A1gx{display:grid;width:100%;height:100%}.ConfirmSignUp-module_container_2A1gx .ConfirmSignUp-module_whiteBox_3RUvc{display:grid;background-color:#fff;width:400px;margin:auto;padding:35px;grid-row-gap:10px}.ConfirmSignUp-module_container_2A1gx .ConfirmSignUp-module_whiteBox_3RUvc .ConfirmSignUp-module_logo_1LOhV{height:100px}.ConfirmSignUp-module_container_2A1gx .ConfirmSignUp-module_whiteBox_3RUvc .ConfirmSignUp-module_logo_1LOhV img{margin:auto;display:block;height:100%}.ConfirmSignUp-module_container_2A1gx .ConfirmSignUp-module_content_5hFmL{padding:0 0 15px}.ConfirmSignUp-module_container_2A1gx p{color:#707070;font-size:14px}.ConfirmSignUp-module_container_2A1gx .ConfirmSignUp-module_hint_3g_SV{padding:5px 15px;color:#707070;font-size:12px;text-align:center}.ConfirmSignUp-module_container_2A1gx .ConfirmSignUp-module_button_163td{padding:15px;background-color:#28aae1;color:#fff;border:none;cursor:pointer;text-align:left}.ConfirmSignUp-module_container_2A1gx .ConfirmSignUp-module_button_163td:hover{background-color:#4cb3e1}.ConfirmSignUp-module_container_2A1gx .ConfirmSignUp-module_button_163td a{text-decoration:none;color:#fff}.ConfirmSignUp-module_container_2A1gx .ConfirmSignUp-module_confirmSignUp_3i8eV{text-align:right}.ConfirmSignUp-module_container_2A1gx .ConfirmSignUp-module_confirmSignUp_3i8eV a{font-size:12px;color:#28aae1}";
|
|
25179
25186
|
var classes$a = {
|
|
25180
|
-
"container": "ConfirmSignUp-
|
|
25181
|
-
"whiteBox": "ConfirmSignUp-
|
|
25182
|
-
"logo": "ConfirmSignUp-
|
|
25183
|
-
"content": "ConfirmSignUp-
|
|
25184
|
-
"hint": "ConfirmSignUp-
|
|
25185
|
-
"button": "ConfirmSignUp-
|
|
25186
|
-
"confirmSignUp": "ConfirmSignUp-
|
|
25187
|
-
};
|
|
25188
|
-
var style$a = document.querySelector('style[data-hash="
|
|
25187
|
+
"container": "ConfirmSignUp-module_container_2A1gx",
|
|
25188
|
+
"whiteBox": "ConfirmSignUp-module_whiteBox_3RUvc",
|
|
25189
|
+
"logo": "ConfirmSignUp-module_logo_1LOhV",
|
|
25190
|
+
"content": "ConfirmSignUp-module_content_5hFmL",
|
|
25191
|
+
"hint": "ConfirmSignUp-module_hint_3g_SV",
|
|
25192
|
+
"button": "ConfirmSignUp-module_button_163td",
|
|
25193
|
+
"confirmSignUp": "ConfirmSignUp-module_confirmSignUp_3i8eV"
|
|
25194
|
+
};
|
|
25195
|
+
var style$a = document.querySelector('style[data-hash="1e0d01ff30292eab4f2499904d3561137c98f2b9"]');
|
|
25189
25196
|
if (!style$a) {
|
|
25190
25197
|
style$a = document.createElement('style');
|
|
25191
|
-
style$a.setAttribute('data-hash', '
|
|
25198
|
+
style$a.setAttribute('data-hash', '1e0d01ff30292eab4f2499904d3561137c98f2b9');
|
|
25192
25199
|
document.head.appendChild(style$a);
|
|
25193
25200
|
if (style$a.styleSheet) {
|
|
25194
25201
|
style$a.styleSheet.cssText = css_248z$a;
|
|
@@ -25210,10 +25217,10 @@ var ConfirmSignUp = function ConfirmSignUp(_ref42) {
|
|
|
25210
25217
|
_React__default$useSt4 = _slicedToArray(_React__default$useSt3, 2),
|
|
25211
25218
|
isVerified = _React__default$useSt4[0],
|
|
25212
25219
|
setIsVerified = _React__default$useSt4[1];
|
|
25213
|
-
var
|
|
25214
|
-
|
|
25215
|
-
errorMessage =
|
|
25216
|
-
setErrorMessage =
|
|
25220
|
+
var _useState11 = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(),
|
|
25221
|
+
_useState12 = _slicedToArray(_useState11, 2),
|
|
25222
|
+
errorMessage = _useState12[0],
|
|
25223
|
+
setErrorMessage = _useState12[1];
|
|
25217
25224
|
var background = (_a = brandingOptions === null || brandingOptions === void 0 ? void 0 : brandingOptions.background) !== null && _a !== void 0 ? _a : DEFAULT_BG_IMAGE$2;
|
|
25218
25225
|
var backgroundStyles = {
|
|
25219
25226
|
background: (background === null || background === void 0 ? void 0 : background.includes('/')) ? "url(".concat(background, ")") : background,
|
|
@@ -25541,26 +25548,551 @@ var EnvironmentInactiveError = function EnvironmentInactiveError() {
|
|
|
25541
25548
|
className: classes$7.center
|
|
25542
25549
|
}, "Please check environment configuration and try again."));
|
|
25543
25550
|
};
|
|
25544
|
-
var
|
|
25551
|
+
var _ = {};
|
|
25552
|
+
var root = (typeof self === "undefined" ? "undefined" : _typeof2(self)) == 'object' && self.self === self && self || _typeof2(commonjsGlobal) == 'object' && commonjsGlobal.global === commonjsGlobal && commonjsGlobal || commonjsGlobal || {};
|
|
25553
|
+
var nativeIsArray = Array.isArray;
|
|
25554
|
+
var nativeKeys = Object.keys;
|
|
25555
|
+
var ObjProto = Object.prototype;
|
|
25556
|
+
var toString = ObjProto.toString;
|
|
25557
|
+
var shallowProperty = function shallowProperty(key) {
|
|
25558
|
+
return function (obj) {
|
|
25559
|
+
return obj == null ? void 0 : obj[key];
|
|
25560
|
+
};
|
|
25561
|
+
};
|
|
25562
|
+
var MAX_ARRAY_INDEX = Math.pow(2, 53) - 1;
|
|
25563
|
+
var getLength = shallowProperty('length');
|
|
25564
|
+
var isArrayLike = function isArrayLike(collection) {
|
|
25565
|
+
var length = getLength(collection);
|
|
25566
|
+
return typeof length == 'number' && length >= 0 && length <= MAX_ARRAY_INDEX;
|
|
25567
|
+
};
|
|
25568
|
+
|
|
25569
|
+
// Add some isType methods: isArguments, isFunction, isString, isNumber, isDate, isRegExp, isError, isMap, isWeakMap, isSet, isWeakSet.
|
|
25570
|
+
var typeNames = ['Arguments', 'Function', 'String', 'Number'];
|
|
25571
|
+
function loopAsign(name) {
|
|
25572
|
+
_['is' + name] = function (obj) {
|
|
25573
|
+
return toString.call(obj) === '[object ' + name + ']';
|
|
25574
|
+
};
|
|
25575
|
+
}
|
|
25576
|
+
for (var a = 0; a < typeNames.length; a++) {
|
|
25577
|
+
loopAsign(typeNames[a]);
|
|
25578
|
+
}
|
|
25579
|
+
var nodelist = root.document && root.document.childNodes;
|
|
25580
|
+
if ( true && (typeof Int8Array === "undefined" ? "undefined" : _typeof2(Int8Array)) != 'object' && typeof nodelist != 'function') {
|
|
25581
|
+
_.isFunction = function (obj) {
|
|
25582
|
+
return typeof obj == 'function' || false;
|
|
25583
|
+
};
|
|
25584
|
+
}
|
|
25585
|
+
_.identity = function (value) {
|
|
25586
|
+
return value;
|
|
25587
|
+
};
|
|
25588
|
+
_.keys = function (obj) {
|
|
25589
|
+
if (!_.isObject(obj)) return [];
|
|
25590
|
+
if (nativeKeys) return nativeKeys(obj);
|
|
25591
|
+
var keys = [];
|
|
25592
|
+
for (var key in obj) keys.push(key);
|
|
25593
|
+
return keys;
|
|
25594
|
+
};
|
|
25595
|
+
_.isObject = function (obj) {
|
|
25596
|
+
var type = _typeof2(obj);
|
|
25597
|
+
return type === 'function' || type === 'object' && !!obj;
|
|
25598
|
+
};
|
|
25599
|
+
_.isArray = nativeIsArray || function (obj) {
|
|
25600
|
+
return toString.call(obj) === '[object Array]';
|
|
25601
|
+
};
|
|
25602
|
+
_.isEmpty = function (obj) {
|
|
25603
|
+
if (obj == null) return true;
|
|
25604
|
+
if (isArrayLike(obj) && (_.isArray(obj) || _.isString(obj) || _.isArguments(obj))) return obj.length === 0;
|
|
25605
|
+
return _.keys(obj).length === 0;
|
|
25606
|
+
};
|
|
25607
|
+
_.isNaN = function (obj) {
|
|
25608
|
+
return _.isNumber(obj) && isNaN(obj);
|
|
25609
|
+
};
|
|
25610
|
+
|
|
25611
|
+
// Code attribution
|
|
25612
|
+
// Inlined and modified from https://github.com/browserify/node-util/blob/e37ce41f4063bcd7bc27e01470d6654053bdcd14/util.js#L33-L69
|
|
25613
|
+
// Copyright Joyent, Inc. and other Node contributors.
|
|
25614
|
+
// Please see LICENSE for full copyright and license attribution.
|
|
25615
|
+
var formatRegExp = /%[sdj%]/g;
|
|
25616
|
+
_.format = function (f) {
|
|
25617
|
+
var i = 1;
|
|
25618
|
+
var args = arguments;
|
|
25619
|
+
var len = args.length;
|
|
25620
|
+
var str = String(f).replace(formatRegExp, function (x) {
|
|
25621
|
+
if (x === '%%') return '%';
|
|
25622
|
+
if (i >= len) return x;
|
|
25623
|
+
switch (x) {
|
|
25624
|
+
case '%s':
|
|
25625
|
+
return String(args[i++]);
|
|
25626
|
+
case '%d':
|
|
25627
|
+
return Number(args[i++]);
|
|
25628
|
+
case '%j':
|
|
25629
|
+
try {
|
|
25630
|
+
return JSON.stringify(args[i++]);
|
|
25631
|
+
} catch (_) {
|
|
25632
|
+
return '[Circular]';
|
|
25633
|
+
}
|
|
25634
|
+
default:
|
|
25635
|
+
return x;
|
|
25636
|
+
}
|
|
25637
|
+
});
|
|
25638
|
+
for (var x = args[i]; i < len; x = args[++i]) {
|
|
25639
|
+
if (x === null || !_.isObject(x)) {
|
|
25640
|
+
str += ' ' + x;
|
|
25641
|
+
} else if (x !== null) {
|
|
25642
|
+
str += ' ' + JSON.stringify(x);
|
|
25643
|
+
}
|
|
25644
|
+
}
|
|
25645
|
+
return str;
|
|
25646
|
+
};
|
|
25647
|
+
// End code attribution
|
|
25648
|
+
|
|
25649
|
+
var helper = _;
|
|
25650
|
+
|
|
25651
|
+
/* OWASP Special Characters: https://www.owasp.org/index.php/Password_special_characters */
|
|
25652
|
+
var specialCharacters$1 = [' ', '!', '"', '#', '\\$', '%', '&', '\'', '\\(', '\\)', '\\*', '\\+', ',', '-', '\\.', '/', ':', ';', '<', '=', '>', '\\?', '@', '\\[', '\\\\', '\\]', '\\^', '_', '`', '{', '\\|', '}', '~'].join('|');
|
|
25653
|
+
var specialCharactersRegexp = new RegExp(specialCharacters$1);
|
|
25654
|
+
var contains = {
|
|
25655
|
+
validate: function validate(options) {
|
|
25656
|
+
if (!helper.isObject(options)) {
|
|
25657
|
+
throw new Error('options should be an object');
|
|
25658
|
+
}
|
|
25659
|
+
if (!helper.isArray(options.expressions) || helper.isEmpty(options.expressions)) {
|
|
25660
|
+
throw new Error('contains expects expressions to be a non-empty array');
|
|
25661
|
+
}
|
|
25662
|
+
var ok = options.expressions.every(function (expression) {
|
|
25663
|
+
return helper.isFunction(expression.explain) && helper.isFunction(expression.test);
|
|
25664
|
+
});
|
|
25665
|
+
if (!ok) {
|
|
25666
|
+
throw new Error('contains expressions are invalid: An explain and a test function should be provided');
|
|
25667
|
+
}
|
|
25668
|
+
return true;
|
|
25669
|
+
},
|
|
25670
|
+
explain: function explain(options) {
|
|
25671
|
+
return {
|
|
25672
|
+
message: 'Should contain:',
|
|
25673
|
+
code: 'shouldContain',
|
|
25674
|
+
items: options.expressions.map(function (expression) {
|
|
25675
|
+
return expression.explain();
|
|
25676
|
+
})
|
|
25677
|
+
};
|
|
25678
|
+
},
|
|
25679
|
+
missing: function missing(options, password) {
|
|
25680
|
+
var expressions = options.expressions.map(function (expression) {
|
|
25681
|
+
var explained = expression.explain();
|
|
25682
|
+
explained.verified = expression.test(password);
|
|
25683
|
+
return explained;
|
|
25684
|
+
});
|
|
25685
|
+
var verified = expressions.every(function (expression) {
|
|
25686
|
+
return expression.verified;
|
|
25687
|
+
});
|
|
25688
|
+
return {
|
|
25689
|
+
message: 'Should contain:',
|
|
25690
|
+
code: 'shouldContain',
|
|
25691
|
+
verified: verified,
|
|
25692
|
+
items: expressions
|
|
25693
|
+
};
|
|
25694
|
+
},
|
|
25695
|
+
assert: function assert(options, password) {
|
|
25696
|
+
if (!password) {
|
|
25697
|
+
return false;
|
|
25698
|
+
}
|
|
25699
|
+
return options.expressions.every(function (expression) {
|
|
25700
|
+
var result = expression.test(password);
|
|
25701
|
+
return result;
|
|
25702
|
+
});
|
|
25703
|
+
},
|
|
25704
|
+
charsets: {
|
|
25705
|
+
upperCase: {
|
|
25706
|
+
explain: function explain() {
|
|
25707
|
+
return {
|
|
25708
|
+
message: 'upper case letters (A-Z)',
|
|
25709
|
+
code: 'upperCase'
|
|
25710
|
+
};
|
|
25711
|
+
},
|
|
25712
|
+
test: function test(password) {
|
|
25713
|
+
return /[A-Z]/.test(password);
|
|
25714
|
+
}
|
|
25715
|
+
},
|
|
25716
|
+
lowerCase: {
|
|
25717
|
+
explain: function explain() {
|
|
25718
|
+
return {
|
|
25719
|
+
message: 'lower case letters (a-z)',
|
|
25720
|
+
code: 'lowerCase'
|
|
25721
|
+
};
|
|
25722
|
+
},
|
|
25723
|
+
test: function test(password) {
|
|
25724
|
+
return /[a-z]/.test(password);
|
|
25725
|
+
}
|
|
25726
|
+
},
|
|
25727
|
+
specialCharacters: {
|
|
25728
|
+
explain: function explain() {
|
|
25729
|
+
return {
|
|
25730
|
+
message: 'special characters (e.g. !@#$%^&*)',
|
|
25731
|
+
code: 'specialCharacters'
|
|
25732
|
+
};
|
|
25733
|
+
},
|
|
25734
|
+
test: function test(password) {
|
|
25735
|
+
return specialCharactersRegexp.test(password);
|
|
25736
|
+
}
|
|
25737
|
+
},
|
|
25738
|
+
numbers: {
|
|
25739
|
+
explain: function explain() {
|
|
25740
|
+
return {
|
|
25741
|
+
message: 'numbers (i.e. 0-9)',
|
|
25742
|
+
code: 'numbers'
|
|
25743
|
+
};
|
|
25744
|
+
},
|
|
25745
|
+
test: function test(password) {
|
|
25746
|
+
return /\d/.test(password);
|
|
25747
|
+
}
|
|
25748
|
+
}
|
|
25749
|
+
}
|
|
25750
|
+
};
|
|
25751
|
+
|
|
25752
|
+
/**
|
|
25753
|
+
* Error thrown when asserting a policy against a password.
|
|
25754
|
+
*
|
|
25755
|
+
* @class PasswordPolicyError
|
|
25756
|
+
* @constructor
|
|
25757
|
+
*
|
|
25758
|
+
* @param {String} msg Descriptive message of the error
|
|
25759
|
+
*/
|
|
25760
|
+
function PasswordPolicyError(msg) {
|
|
25761
|
+
var err = Error.call(this, msg);
|
|
25762
|
+
err.name = 'PasswordPolicyError';
|
|
25763
|
+
return err;
|
|
25764
|
+
}
|
|
25765
|
+
var policy_error = PasswordPolicyError;
|
|
25766
|
+
|
|
25767
|
+
/* A rule should contain explain and rule methods */
|
|
25768
|
+
// TODO explain explain
|
|
25769
|
+
// TODO explain missing
|
|
25770
|
+
// TODO explain assert
|
|
25771
|
+
|
|
25772
|
+
function assert$1(options, password) {
|
|
25773
|
+
return !!password && options.minLength <= password.length;
|
|
25774
|
+
}
|
|
25775
|
+
function explain$1(options) {
|
|
25776
|
+
if (options.minLength === 1) {
|
|
25777
|
+
return {
|
|
25778
|
+
message: 'Non-empty password required',
|
|
25779
|
+
code: 'nonEmpty'
|
|
25780
|
+
};
|
|
25781
|
+
}
|
|
25782
|
+
return {
|
|
25783
|
+
message: 'At least %d characters in length',
|
|
25784
|
+
format: [options.minLength],
|
|
25785
|
+
code: 'lengthAtLeast'
|
|
25786
|
+
};
|
|
25787
|
+
}
|
|
25788
|
+
var length = {
|
|
25789
|
+
validate: function validate(options) {
|
|
25790
|
+
if (!helper.isObject(options)) {
|
|
25791
|
+
throw new Error('options should be an object');
|
|
25792
|
+
}
|
|
25793
|
+
if (!helper.isNumber(options.minLength) || helper.isNaN(options.minLength)) {
|
|
25794
|
+
throw new Error('length expects minLength to be a non-zero number');
|
|
25795
|
+
}
|
|
25796
|
+
return true;
|
|
25797
|
+
},
|
|
25798
|
+
explain: explain$1,
|
|
25799
|
+
missing: function missing(options, password) {
|
|
25800
|
+
var explained = explain$1(options);
|
|
25801
|
+
explained.verified = !!assert$1(options, password);
|
|
25802
|
+
return explained;
|
|
25803
|
+
},
|
|
25804
|
+
assert: assert$1
|
|
25805
|
+
};
|
|
25806
|
+
function createIntroMessage() {
|
|
25807
|
+
return 'At least %d of the following %d types of characters:';
|
|
25808
|
+
}
|
|
25809
|
+
var containsAtLeast = {
|
|
25810
|
+
// TODO validate atLeast to be a number > 0 and expressions to be a list of at least 1
|
|
25811
|
+
validate: function validate(options) {
|
|
25812
|
+
if (!helper.isObject(options)) {
|
|
25813
|
+
throw new Error('options should be an object');
|
|
25814
|
+
}
|
|
25815
|
+
if (!helper.isNumber(options.atLeast) || helper.isNaN(options.atLeast) || options.atLeast < 1) {
|
|
25816
|
+
throw new Error('atLeast should be a valid, non-NaN number, greater than 0');
|
|
25817
|
+
}
|
|
25818
|
+
if (!helper.isArray(options.expressions) || helper.isEmpty(options.expressions)) {
|
|
25819
|
+
throw new Error('expressions should be an non-empty array');
|
|
25820
|
+
}
|
|
25821
|
+
if (options.expressions.length < options.atLeast) {
|
|
25822
|
+
throw new Error('expressions length should be greater than atLeast');
|
|
25823
|
+
}
|
|
25824
|
+
var ok = options.expressions.every(function (expression) {
|
|
25825
|
+
return helper.isFunction(expression.explain) && helper.isFunction(expression.test);
|
|
25826
|
+
});
|
|
25827
|
+
if (!ok) {
|
|
25828
|
+
throw new Error('containsAtLeast expressions are invalid: An explain and a test function should be provided');
|
|
25829
|
+
}
|
|
25830
|
+
return true;
|
|
25831
|
+
},
|
|
25832
|
+
explain: function explain(options) {
|
|
25833
|
+
return {
|
|
25834
|
+
message: createIntroMessage(),
|
|
25835
|
+
code: 'containsAtLeast',
|
|
25836
|
+
format: [options.atLeast, options.expressions.length],
|
|
25837
|
+
items: options.expressions.map(function (x) {
|
|
25838
|
+
return x.explain();
|
|
25839
|
+
})
|
|
25840
|
+
};
|
|
25841
|
+
},
|
|
25842
|
+
missing: function missing(options, password) {
|
|
25843
|
+
var expressions = options.expressions && options.expressions.map(function (expression) {
|
|
25844
|
+
var explained = expression.explain();
|
|
25845
|
+
explained.verified = expression.test(password);
|
|
25846
|
+
return explained;
|
|
25847
|
+
});
|
|
25848
|
+
var verifiedCount = expressions.reduce(function (val, ex) {
|
|
25849
|
+
return val + !!ex.verified;
|
|
25850
|
+
}, 0);
|
|
25851
|
+
var verified = verifiedCount >= options.atLeast;
|
|
25852
|
+
return {
|
|
25853
|
+
message: createIntroMessage(),
|
|
25854
|
+
code: 'containsAtLeast',
|
|
25855
|
+
format: [options.atLeast, options.expressions.length],
|
|
25856
|
+
items: expressions,
|
|
25857
|
+
verified: verified
|
|
25858
|
+
};
|
|
25859
|
+
},
|
|
25860
|
+
assert: function assert(options, password) {
|
|
25861
|
+
if (!password) {
|
|
25862
|
+
return false;
|
|
25863
|
+
}
|
|
25864
|
+
var workingExpressions = options.expressions.filter(function (expression) {
|
|
25865
|
+
return expression.test(password);
|
|
25866
|
+
});
|
|
25867
|
+
return workingExpressions.length >= options.atLeast;
|
|
25868
|
+
},
|
|
25869
|
+
charsets: contains.charsets
|
|
25870
|
+
};
|
|
25871
|
+
function assert(options, password) {
|
|
25872
|
+
if (!password) {
|
|
25873
|
+
return false;
|
|
25874
|
+
}
|
|
25875
|
+
var i,
|
|
25876
|
+
current = {
|
|
25877
|
+
c: null,
|
|
25878
|
+
count: 0
|
|
25879
|
+
};
|
|
25880
|
+
for (i = 0; i < password.length; i++) {
|
|
25881
|
+
if (current.c !== password[i]) {
|
|
25882
|
+
current.c = password[i];
|
|
25883
|
+
current.count = 1;
|
|
25884
|
+
} else {
|
|
25885
|
+
current.count++;
|
|
25886
|
+
}
|
|
25887
|
+
if (current.count > options.max) {
|
|
25888
|
+
return false;
|
|
25889
|
+
}
|
|
25890
|
+
}
|
|
25891
|
+
return true;
|
|
25892
|
+
}
|
|
25893
|
+
function explain(options, verified) {
|
|
25894
|
+
var example = new Array(options.max + 2).join('a');
|
|
25895
|
+
var d = {
|
|
25896
|
+
message: 'No more than %d identical characters in a row (e.g., "%s" not allowed)',
|
|
25897
|
+
code: 'identicalChars',
|
|
25898
|
+
format: [options.max, example]
|
|
25899
|
+
};
|
|
25900
|
+
if (verified !== undefined) {
|
|
25901
|
+
d.verified = verified;
|
|
25902
|
+
}
|
|
25903
|
+
return d;
|
|
25904
|
+
}
|
|
25905
|
+
var identicalChars = {
|
|
25906
|
+
validate: function validate(options) {
|
|
25907
|
+
if (!helper.isObject(options)) {
|
|
25908
|
+
throw new Error('options should be an object');
|
|
25909
|
+
}
|
|
25910
|
+
if (!helper.isNumber(options.max) || helper.isNaN(options.max) || options.max < 1) {
|
|
25911
|
+
throw new Error('max should be a number greater than 1');
|
|
25912
|
+
}
|
|
25913
|
+
return true;
|
|
25914
|
+
},
|
|
25915
|
+
explain: explain,
|
|
25916
|
+
missing: function missing(options, password) {
|
|
25917
|
+
return explain(options, assert(options, password));
|
|
25918
|
+
},
|
|
25919
|
+
assert: assert
|
|
25920
|
+
};
|
|
25921
|
+
var format = helper.format;
|
|
25922
|
+
function isString(value) {
|
|
25923
|
+
return typeof value === 'string' || value instanceof String;
|
|
25924
|
+
}
|
|
25925
|
+
var defaultRuleset = {
|
|
25926
|
+
length: length,
|
|
25927
|
+
contains: contains,
|
|
25928
|
+
containsAtLeast: containsAtLeast,
|
|
25929
|
+
identicalChars: identicalChars
|
|
25930
|
+
};
|
|
25931
|
+
function flatDescriptions(descriptions, index) {
|
|
25932
|
+
if (!descriptions.length) {
|
|
25933
|
+
return '';
|
|
25934
|
+
}
|
|
25935
|
+
function flatSingleDescription(description, index) {
|
|
25936
|
+
var spaces = new Array(index + 1).join(' ');
|
|
25937
|
+
var result = spaces + '* ';
|
|
25938
|
+
if (description.format) {
|
|
25939
|
+
result += format.apply(null, [description.message].concat(description.format));
|
|
25940
|
+
} else {
|
|
25941
|
+
result += description.message;
|
|
25942
|
+
}
|
|
25943
|
+
if (description.items) {
|
|
25944
|
+
result += '\n' + spaces + flatDescriptions(description.items, index + 1);
|
|
25945
|
+
}
|
|
25946
|
+
return result;
|
|
25947
|
+
}
|
|
25948
|
+
var firstDescription = flatSingleDescription(descriptions[0], index);
|
|
25949
|
+
descriptions = descriptions.slice(1).reduce(function (result, description) {
|
|
25950
|
+
result += '\n' + flatSingleDescription(description, index);
|
|
25951
|
+
return result;
|
|
25952
|
+
}, firstDescription);
|
|
25953
|
+
return descriptions;
|
|
25954
|
+
}
|
|
25955
|
+
|
|
25956
|
+
/**
|
|
25957
|
+
* Creates a PasswordPolicy which is a set of rules.
|
|
25958
|
+
*
|
|
25959
|
+
* @class PasswordPolicy
|
|
25960
|
+
* @constructor
|
|
25961
|
+
*/
|
|
25962
|
+
function PasswordPolicy(rules, ruleset) {
|
|
25963
|
+
this.rules = rules;
|
|
25964
|
+
this.ruleset = ruleset || defaultRuleset;
|
|
25965
|
+
this._reduce(function (result, ruleOptions, rule) {
|
|
25966
|
+
rule.validate(ruleOptions);
|
|
25967
|
+
});
|
|
25968
|
+
}
|
|
25969
|
+
PasswordPolicy.prototype = {};
|
|
25970
|
+
PasswordPolicy.prototype._reduce = function (fn, value) {
|
|
25971
|
+
var self = this;
|
|
25972
|
+
return Object.keys(this.rules).reduce(function (result, ruleName) {
|
|
25973
|
+
var ruleOptions = self.rules[ruleName];
|
|
25974
|
+
var rule = self.ruleset[ruleName];
|
|
25975
|
+
return fn(result, ruleOptions, rule);
|
|
25976
|
+
}, value);
|
|
25977
|
+
};
|
|
25978
|
+
PasswordPolicy.prototype._applyRules = function (password) {
|
|
25979
|
+
return this._reduce(function (result, ruleOptions, rule) {
|
|
25980
|
+
// If previous result was false as this an &&, then nothing to do here!
|
|
25981
|
+
if (!result) {
|
|
25982
|
+
return false;
|
|
25983
|
+
}
|
|
25984
|
+
if (!rule) {
|
|
25985
|
+
return false;
|
|
25986
|
+
}
|
|
25987
|
+
return rule.assert(ruleOptions, password);
|
|
25988
|
+
}, true);
|
|
25989
|
+
};
|
|
25990
|
+
PasswordPolicy.prototype.missing = function (password) {
|
|
25991
|
+
return this._reduce(function (result, ruleOptions, rule) {
|
|
25992
|
+
var missingRule = rule.missing(ruleOptions, password);
|
|
25993
|
+
result.rules.push(missingRule);
|
|
25994
|
+
result.verified = result.verified && !!missingRule.verified;
|
|
25995
|
+
return result;
|
|
25996
|
+
}, {
|
|
25997
|
+
rules: [],
|
|
25998
|
+
verified: true
|
|
25999
|
+
});
|
|
26000
|
+
};
|
|
26001
|
+
PasswordPolicy.prototype.explain = function () {
|
|
26002
|
+
return this._reduce(function (result, ruleOptions, rule) {
|
|
26003
|
+
result.push(rule.explain(ruleOptions));
|
|
26004
|
+
return result;
|
|
26005
|
+
}, []);
|
|
26006
|
+
};
|
|
26007
|
+
PasswordPolicy.prototype.missingAsMarkdown = function (password) {
|
|
26008
|
+
return flatDescriptions(this.missing(password), 1);
|
|
26009
|
+
};
|
|
26010
|
+
PasswordPolicy.prototype.toString = function () {
|
|
26011
|
+
var descriptions = this.explain();
|
|
26012
|
+
return flatDescriptions(descriptions, 0);
|
|
26013
|
+
};
|
|
26014
|
+
PasswordPolicy.prototype.check = function (password) {
|
|
26015
|
+
if (!isString(password)) {
|
|
26016
|
+
return false;
|
|
26017
|
+
}
|
|
26018
|
+
return this._applyRules(password);
|
|
26019
|
+
};
|
|
26020
|
+
PasswordPolicy.prototype.assert = function (password) {
|
|
26021
|
+
if (!this.check(password)) {
|
|
26022
|
+
throw new policy_error('Password does not meet password policy');
|
|
26023
|
+
}
|
|
26024
|
+
};
|
|
26025
|
+
var policy = PasswordPolicy;
|
|
26026
|
+
var charsets = contains.charsets;
|
|
26027
|
+
var upperCase = charsets.upperCase;
|
|
26028
|
+
var lowerCase = charsets.lowerCase;
|
|
26029
|
+
var numbers = charsets.numbers;
|
|
26030
|
+
var specialCharacters = charsets.specialCharacters;
|
|
26031
|
+
new policy({
|
|
26032
|
+
length: {
|
|
26033
|
+
minLength: 1
|
|
26034
|
+
}
|
|
26035
|
+
});
|
|
26036
|
+
new policy({
|
|
26037
|
+
length: {
|
|
26038
|
+
minLength: 6
|
|
26039
|
+
}
|
|
26040
|
+
});
|
|
26041
|
+
new policy({
|
|
26042
|
+
length: {
|
|
26043
|
+
minLength: 8
|
|
26044
|
+
},
|
|
26045
|
+
contains: {
|
|
26046
|
+
expressions: [lowerCase, upperCase, numbers]
|
|
26047
|
+
}
|
|
26048
|
+
});
|
|
26049
|
+
new policy({
|
|
26050
|
+
length: {
|
|
26051
|
+
minLength: 8
|
|
26052
|
+
},
|
|
26053
|
+
containsAtLeast: {
|
|
26054
|
+
atLeast: 3,
|
|
26055
|
+
expressions: [lowerCase, upperCase, numbers, specialCharacters]
|
|
26056
|
+
}
|
|
26057
|
+
});
|
|
26058
|
+
new policy({
|
|
26059
|
+
length: {
|
|
26060
|
+
minLength: 10
|
|
26061
|
+
},
|
|
26062
|
+
containsAtLeast: {
|
|
26063
|
+
atLeast: 3,
|
|
26064
|
+
expressions: [lowerCase, upperCase, numbers, specialCharacters]
|
|
26065
|
+
},
|
|
26066
|
+
identicalChars: {
|
|
26067
|
+
max: 2
|
|
26068
|
+
}
|
|
26069
|
+
});
|
|
26070
|
+
var PasswordPolicy_1 = policy;
|
|
26071
|
+
var charsets_1 = charsets;
|
|
26072
|
+
var axauth = "data:image/svg+xml,%3Csvg%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewB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.7-1.3C7.5%2C25.8%2C8.9%2C24.7%2C10.3%2C23.7z%22%2F%3E%3Cpath%20fill%3D%22%23527BBE%22%20d%3D%22M32.4%2C33.8c-1.1-0.9-2.2-1.7-3.3-2.6c-0.8-0.6-1.7-1.3-2.5-1.9c0.6-0.4%2C1.1-0.9%2C1.6-1.4c1-1.1%2C1.6-2.4%2C2-3.8%20c0-0.2%2C0-0.2-0.2-0.2c-3.1%2C0-6.2%2C0-9.2%2C0c-0.2%2C0-0.3-0.1-0.3-0.3c0-2.2%2C0-4.3%2C0-6.5c0-0.2%2C0-0.2%2C0.2-0.2c5.5%2C0%2C11.1%2C0%2C16.6%2C0%20c0.1%2C0%2C0.2%2C0%2C0.3%2C0.2c0.5%2C3.4%2C0.4%2C6.8-0.8%2C10.1c-0.8%2C2.4-2.2%2C4.6-4%2C6.4C32.7%2C33.6%2C32.5%2C33.7%2C32.4%2C33.8z%22%2F%3E%3Cpath%20fill%3D%22%23F6BA18%22%20d%3D%22M10.3%2C23.7c-1.4%2C1.1-2.8%2C2.2-4.2%2C3.3c-0.6%2C0.4-1.1%2C0.9-1.7%2C1.3c0%2C0-0.1%2C0.1-0.2%2C0.1c-0.6-1-1-2.1-1.3-3.3%20c-0.5-1.9-0.8-3.9-0.6-5.9c0.2-2.4%2C0.8-4.8%2C1.9-6.9c1.1%2C0.8%2C2.2%2C1.7%2C3.3%2C2.5c0.9%2C0.7%2C1.8%2C1.4%2C2.7%2C2.1c0%2C0%2C0.1%2C0%2C0.1%2C0.1%20c-0.3%2C0.8-0.5%2C1.7-0.5%2C2.5c-0.1%2C1.4%2C0%2C2.8%2C0.5%2C4.1C10.2%2C23.5%2C10.3%2C23.6%2C10.3%2C23.7z%22%2F%3E%3C%2Fsvg%3E";
|
|
26075
|
+
var azure = "data:image/svg+xml,%3Csvg%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2040%2040%22%3E%3Cg%20id%3D%22ms-symbollockup_mssymbol_19%22%20transform%3D%22translate%28-1%20-1%29%22%3E%20%3Crect%20id%3D%22Rectangle_1528%22%20x%3D%223.5%22%20y%3D%223.5%22%20fill%3D%22%23F05125%22%20width%3D%2216%22%20height%3D%2216%22%2F%3E%20%3Crect%20id%3D%22Rectangle_1529%22%20x%3D%223.5%22%20y%3D%2222.5%22%20fill%3D%22%2333A0DA%22%20width%3D%2216%22%20height%3D%2216%22%2F%3E%20%3Crect%20id%3D%22Rectangle_1530%22%20x%3D%2222.5%22%20y%3D%223.5%22%20fill%3D%22%237EBB42%22%20width%3D%2216%22%20height%3D%2216%22%2F%3E%20%3Crect%20id%3D%22Rectangle_1531%22%20x%3D%2222.5%22%20y%3D%2222.5%22%20fill%3D%22%23FDB813%22%20width%3D%2216%22%20height%3D%2216%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E";
|
|
26076
|
+
var css_248z$6 = ".ForgotPassword-module_container_3bXFL{display:grid;width:100%;height:100%}.ForgotPassword-module_container_3bXFL .ForgotPassword-module_whiteBox_SM9iB{display:grid;background-color:#fff;width:400px;margin:auto;padding:35px;grid-row-gap:10px}.ForgotPassword-module_container_3bXFL .ForgotPassword-module_whiteBox_SM9iB .ForgotPassword-module_logo_1L1_i{height:100px}.ForgotPassword-module_container_3bXFL .ForgotPassword-module_whiteBox_SM9iB .ForgotPassword-module_logo_1L1_i img{margin:auto;display:block;height:100%}.ForgotPassword-module_container_3bXFL .ForgotPassword-module_whiteBox_SM9iB .ForgotPassword-module_header_2KKvR{text-align:center;font-size:28px;color:#00467d}.ForgotPassword-module_container_3bXFL .ForgotPassword-module_whiteBox_SM9iB .ForgotPassword-module_authTitle_3cG0g{padding:10px;font-size:12px;text-align:center;color:#707070}.ForgotPassword-module_container_3bXFL .ForgotPassword-module_content_3sVw_{padding:0 0 15px}.ForgotPassword-module_container_3bXFL .ForgotPassword-module_hint_TCIgc,.ForgotPassword-module_container_3bXFL p{color:#707070;font-size:14px}.ForgotPassword-module_container_3bXFL .ForgotPassword-module_inputGroup_CcvdE{margin-bottom:10px}.ForgotPassword-module_container_3bXFL .ForgotPassword-module_inputGroup_CcvdE input{width:100%;padding:15px;box-sizing:border-box;border:1px solid #ccc;transition:border .3s,box-shadow .3s;outline:none}.ForgotPassword-module_container_3bXFL .ForgotPassword-module_inputGroup_CcvdE input:focus,.ForgotPassword-module_container_3bXFL .ForgotPassword-module_inputGroup_CcvdE input:hover{border:1px solid #28aae1;box-shadow:0 0 2px #28aae1}.ForgotPassword-module_container_3bXFL .ForgotPassword-module_inputGroupError_3BPCX{margin-bottom:10px}.ForgotPassword-module_container_3bXFL .ForgotPassword-module_inputGroupError_3BPCX input{width:100%;padding:15px;box-sizing:border-box;border:1px solid #f06c55;transition:border .3s,box-shadow .3s;outline:none}.ForgotPassword-module_container_3bXFL .ForgotPassword-module_input-group_3j9Hk input:focus,.ForgotPassword-module_container_3bXFL .ForgotPassword-module_inputGroupError_3BPCX input:hover{border:1px solid #f06c55;box-shadow:0 0 2px #f06c55}.ForgotPassword-module_container_3bXFL .ForgotPassword-module_button_1PH9g{padding:15px;background-color:#28aae1;color:#fff;border:none;cursor:pointer;text-align:left}.ForgotPassword-module_container_3bXFL .ForgotPassword-module_button_1PH9g:hover{background-color:#4cb3e1}.ForgotPassword-module_container_3bXFL .ForgotPassword-module_button_1PH9g a{text-decoration:none;color:#fff}.ForgotPassword-module_container_3bXFL .ForgotPassword-module_forgotPassword_2c44a{text-align:right}.ForgotPassword-module_container_3bXFL .ForgotPassword-module_forgotPassword_2c44a a{font-size:12px;color:#28aae1;cursor:pointer}.ForgotPassword-module_container_3bXFL .ForgotPassword-module_errorMessage_1OmMm{font-size:12px;color:#f06c55;margin:0 0 10px}";
|
|
25545
26077
|
var classes$6 = {
|
|
25546
|
-
"container": "ForgotPassword-
|
|
25547
|
-
"whiteBox": "ForgotPassword-
|
|
25548
|
-
"logo": "ForgotPassword-
|
|
25549
|
-
"header": "ForgotPassword-
|
|
25550
|
-
"authTitle": "ForgotPassword-
|
|
25551
|
-
"content": "ForgotPassword-
|
|
25552
|
-
"hint": "ForgotPassword-
|
|
25553
|
-
"inputGroup": "ForgotPassword-
|
|
25554
|
-
"inputGroupError": "ForgotPassword-
|
|
25555
|
-
"input-group": "ForgotPassword-module_input-
|
|
25556
|
-
"errorMessage": "ForgotPassword-
|
|
25557
|
-
"button": "ForgotPassword-
|
|
25558
|
-
"forgotPassword": "ForgotPassword-
|
|
25559
|
-
};
|
|
25560
|
-
var style$6 = document.querySelector('style[data-hash="
|
|
26078
|
+
"container": "ForgotPassword-module_container_3bXFL",
|
|
26079
|
+
"whiteBox": "ForgotPassword-module_whiteBox_SM9iB",
|
|
26080
|
+
"logo": "ForgotPassword-module_logo_1L1_i",
|
|
26081
|
+
"header": "ForgotPassword-module_header_2KKvR",
|
|
26082
|
+
"authTitle": "ForgotPassword-module_authTitle_3cG0g",
|
|
26083
|
+
"content": "ForgotPassword-module_content_3sVw_",
|
|
26084
|
+
"hint": "ForgotPassword-module_hint_TCIgc",
|
|
26085
|
+
"inputGroup": "ForgotPassword-module_inputGroup_CcvdE",
|
|
26086
|
+
"inputGroupError": "ForgotPassword-module_inputGroupError_3BPCX",
|
|
26087
|
+
"input-group": "ForgotPassword-module_input-group_3j9Hk",
|
|
26088
|
+
"errorMessage": "ForgotPassword-module_errorMessage_1OmMm",
|
|
26089
|
+
"button": "ForgotPassword-module_button_1PH9g",
|
|
26090
|
+
"forgotPassword": "ForgotPassword-module_forgotPassword_2c44a"
|
|
26091
|
+
};
|
|
26092
|
+
var style$6 = document.querySelector('style[data-hash="54d4c08a5f4c39f3a95c55be4c509ba37bca49b6"]');
|
|
25561
26093
|
if (!style$6) {
|
|
25562
26094
|
style$6 = document.createElement('style');
|
|
25563
|
-
style$6.setAttribute('data-hash', '
|
|
26095
|
+
style$6.setAttribute('data-hash', '54d4c08a5f4c39f3a95c55be4c509ba37bca49b6');
|
|
25564
26096
|
document.head.appendChild(style$6);
|
|
25565
26097
|
if (style$6.styleSheet) {
|
|
25566
26098
|
style$6.styleSheet.cssText = css_248z$6;
|
|
@@ -25573,31 +26105,32 @@ var DEFAULT_BG_IMAGE$1 = MosaicBG;
|
|
|
25573
26105
|
* Renders the ForgotPassword component
|
|
25574
26106
|
*/
|
|
25575
26107
|
var ForgotPassword = function ForgotPassword(_ref49) {
|
|
25576
|
-
var
|
|
26108
|
+
var setIsForgotPassword = _ref49.setIsForgotPassword,
|
|
26109
|
+
brandingOptions = _ref49.brandingOptions;
|
|
25577
26110
|
var _a, _b;
|
|
25578
26111
|
var _useIdentityService4 = useIdentityService(),
|
|
25579
26112
|
initiatePasswordReset = _useIdentityService4.initiatePasswordReset,
|
|
25580
26113
|
getWellKnownUrls = _useIdentityService4.getWellKnownUrls;
|
|
25581
|
-
var
|
|
25582
|
-
|
|
25583
|
-
email =
|
|
25584
|
-
setEmail =
|
|
26114
|
+
var _useState13 = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(''),
|
|
26115
|
+
_useState14 = _slicedToArray(_useState13, 2),
|
|
26116
|
+
email = _useState14[0],
|
|
26117
|
+
setEmail = _useState14[1];
|
|
25585
26118
|
var _React__default$useSt5 = react__WEBPACK_IMPORTED_MODULE_0__.useState(),
|
|
25586
26119
|
_React__default$useSt6 = _slicedToArray(_React__default$useSt5, 2),
|
|
25587
26120
|
axAuthManagementGraphQlEndpoint = _React__default$useSt6[0],
|
|
25588
26121
|
setAxAuthManagementGraphQlEndpoint = _React__default$useSt6[1];
|
|
25589
|
-
var
|
|
25590
|
-
_useState14 = _slicedToArray(_useState13, 2),
|
|
25591
|
-
errorMessage = _useState14[0],
|
|
25592
|
-
setErrorMessage = _useState14[1];
|
|
25593
|
-
var _useState15 = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(false),
|
|
26122
|
+
var _useState15 = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(),
|
|
25594
26123
|
_useState16 = _slicedToArray(_useState15, 2),
|
|
25595
|
-
|
|
25596
|
-
|
|
26124
|
+
errorMessage = _useState16[0],
|
|
26125
|
+
setErrorMessage = _useState16[1];
|
|
25597
26126
|
var _useState17 = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(false),
|
|
25598
26127
|
_useState18 = _slicedToArray(_useState17, 2),
|
|
25599
|
-
|
|
25600
|
-
|
|
26128
|
+
isEmailError = _useState18[0],
|
|
26129
|
+
setIsEmailError = _useState18[1];
|
|
26130
|
+
var _useState19 = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(false),
|
|
26131
|
+
_useState20 = _slicedToArray(_useState19, 2),
|
|
26132
|
+
isPasswordResetInitiated = _useState20[0],
|
|
26133
|
+
setIsPasswordResetInitiated = _useState20[1];
|
|
25601
26134
|
var background = (_a = brandingOptions === null || brandingOptions === void 0 ? void 0 : brandingOptions.background) !== null && _a !== void 0 ? _a : DEFAULT_BG_IMAGE$1;
|
|
25602
26135
|
var backgroundStyles = {
|
|
25603
26136
|
background: (background === null || background === void 0 ? void 0 : background.includes('/')) ? "url(".concat(background, ")") : background,
|
|
@@ -25683,7 +26216,7 @@ var ForgotPassword = function ForgotPassword(_ref49) {
|
|
|
25683
26216
|
className: classes$6.content
|
|
25684
26217
|
}, !isPasswordResetInitiated && ( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(react__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("p", {
|
|
25685
26218
|
className: classes$6.hint
|
|
25686
|
-
}, "Please type your email address to
|
|
26219
|
+
}, "Please type your email address to change the password."), errorMessage && ( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", {
|
|
25687
26220
|
className: classes$6.errorMessage
|
|
25688
26221
|
}, errorMessage)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", {
|
|
25689
26222
|
className: isEmailError ? classes$6.inputGroupError : classes$6.inputGroup
|
|
@@ -25694,7 +26227,7 @@ var ForgotPassword = function ForgotPassword(_ref49) {
|
|
|
25694
26227
|
return setEmail(e.target.value);
|
|
25695
26228
|
},
|
|
25696
26229
|
id: "email",
|
|
25697
|
-
placeholder: "
|
|
26230
|
+
placeholder: "email"
|
|
25698
26231
|
})), isEmailError && ( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", {
|
|
25699
26232
|
className: classes$6.errorMessage
|
|
25700
26233
|
}, "Email must be a valid email.")), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", {
|
|
@@ -25705,55 +26238,55 @@ var ForgotPassword = function ForgotPassword(_ref49) {
|
|
|
25705
26238
|
}, "Reset Password"), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", {
|
|
25706
26239
|
className: classes$6.forgotPassword
|
|
25707
26240
|
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("a", {
|
|
25708
|
-
|
|
26241
|
+
onClick: function onClick() {
|
|
26242
|
+
return setIsForgotPassword(false);
|
|
26243
|
+
}
|
|
25709
26244
|
}, "Back to Sign In")))), isPasswordResetInitiated && ( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(react__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("p", {
|
|
25710
26245
|
className: classes$6.hint
|
|
25711
26246
|
}, "We have sent a password reset link to your email. Please click that link to proceed with password reset."), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", {
|
|
25712
26247
|
className: classes$6.button,
|
|
25713
26248
|
onClick: function onClick() {
|
|
25714
|
-
return
|
|
26249
|
+
return setIsForgotPassword(false);
|
|
25715
26250
|
}
|
|
25716
26251
|
}, "Back to Sign In"))))));
|
|
25717
26252
|
};
|
|
25718
|
-
var
|
|
25719
|
-
var axinom = "data:image/svg+xml,%3Csvg%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.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-0.2%2C0-0.2-0.2-0.2c-3.1%2C0-6.2%2C0-9.2%2C0c-0.2%2C0-0.3-0.1-0.3-0.3c0-2.2%2C0-4.3%2C0-6.5c0-0.2%2C0-0.2%2C0.2-0.2c5.5%2C0%2C11.1%2C0%2C16.6%2C0%20c0.1%2C0%2C0.2%2C0%2C0.3%2C0.2c0.5%2C3.4%2C0.4%2C6.8-0.8%2C10.1c-0.8%2C2.4-2.2%2C4.6-4%2C6.4C32.7%2C33.6%2C32.5%2C33.7%2C32.4%2C33.8z%22%2F%3E%3Cpath%20fill%3D%22%23F6BA18%22%20d%3D%22M10.3%2C23.7c-1.4%2C1.1-2.8%2C2.2-4.2%2C3.3c-0.6%2C0.4-1.1%2C0.9-1.7%2C1.3c0%2C0-0.1%2C0.1-0.2%2C0.1c-0.6-1-1-2.1-1.3-3.3%20c-0.5-1.9-0.8-3.9-0.6-5.9c0.2-2.4%2C0.8-4.8%2C1.9-6.9c1.1%2C0.8%2C2.2%2C1.7%2C3.3%2C2.5c0.9%2C0.7%2C1.8%2C1.4%2C2.7%2C2.1c0%2C0%2C0.1%2C0%2C0.1%2C0.1%20c-0.3%2C0.8-0.5%2C1.7-0.5%2C2.5c-0.1%2C1.4%2C0%2C2.8%2C0.5%2C4.1C10.2%2C23.5%2C10.3%2C23.6%2C10.3%2C23.7z%22%2F%3E%3C%2Fsvg%3E";
|
|
25721
|
-
var azure = "data:image/svg+xml,%3Csvg%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2040%2040%22%3E%3Cg%20id%3D%22ms-symbollockup_mssymbol_19%22%20transform%3D%22translate%28-1%20-1%29%22%3E%20%3Crect%20id%3D%22Rectangle_1528%22%20x%3D%223.5%22%20y%3D%223.5%22%20fill%3D%22%23F05125%22%20width%3D%2216%22%20height%3D%2216%22%2F%3E%20%3Crect%20id%3D%22Rectangle_1529%22%20x%3D%223.5%22%20y%3D%2222.5%22%20fill%3D%22%2333A0DA%22%20width%3D%2216%22%20height%3D%2216%22%2F%3E%20%3Crect%20id%3D%22Rectangle_1530%22%20x%3D%2222.5%22%20y%3D%223.5%22%20fill%3D%22%237EBB42%22%20width%3D%2216%22%20height%3D%2216%22%2F%3E%20%3Crect%20id%3D%22Rectangle_1531%22%20x%3D%2222.5%22%20y%3D%2222.5%22%20fill%3D%22%23FDB813%22%20width%3D%2216%22%20height%3D%2216%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E";
|
|
25722
|
-
var css_248z$5 = ".Login-module_container_143F_{display:grid;width:100%;height:100%}.Login-module_container_143F_ .Login-module_whiteBox_133_E{display:grid;background-color:#fff;width:400px;margin:auto;padding:35px;grid-row-gap:10px}.Login-module_container_143F_ .Login-module_whiteBox_133_E .Login-module_logo_1vv9h{height:100px}.Login-module_container_143F_ .Login-module_whiteBox_133_E .Login-module_logo_1vv9h img{margin:auto;display:block;height:100%}.Login-module_container_143F_ .Login-module_whiteBox_133_E .Login-module_header_s6fIz{text-align:center;font-size:28px;color:#00467d}.Login-module_container_143F_ .Login-module_whiteBox_133_E .Login-module_authTitle_3Bmm0{padding:0 10px 20px;font-size:18px;font-weight:700;text-align:center;color:#00467d}.Login-module_container_143F_ .Login-module_whiteBox_133_E .Login-module_tile_E7G0J{margin:auto;display:grid;grid-template-columns:1fr 6fr;place-items:center start;color:#fff;cursor:pointer;height:54px;border:1px solid #b7b7b7;transition:border .3s,box-shadow .3s}.Login-module_container_143F_ .Login-module_whiteBox_133_E .Login-module_tile_E7G0J.Login-module_ax_1lyTu,.Login-module_container_143F_ .Login-module_whiteBox_133_E .Login-module_tile_E7G0J.Login-module_axinom_muluC,.Login-module_container_143F_ .Login-module_whiteBox_133_E .Login-module_tile_E7G0J.Login-module_azure_1W0f8,.Login-module_container_143F_ .Login-module_whiteBox_133_E .Login-module_tile_E7G0J.Login-module_google_13skS{color:#707070}.Login-module_container_143F_ .Login-module_whiteBox_133_E .Login-module_tile_E7G0J .Login-module_image_U966D{width:50px;padding:10px;display:grid;place-items:center;height:54px}.Login-module_container_143F_ .Login-module_whiteBox_133_E .Login-module_tile_E7G0J .Login-module_image_U966D img{display:block;width:100%}.Login-module_container_143F_ .Login-module_whiteBox_133_E .Login-module_tile_E7G0J .Login-module_text_1OOFY{margin-left:10px}.Login-module_container_143F_ .Login-module_whiteBox_133_E .Login-module_tile_E7G0J:hover{border:1px solid #28aae1;box-shadow:0 0 2px #28aae1}.Login-module_dialogBox_20Psm{width:100%;max-width:420px;min-width:320px;background-color:#fff;box-shadow:0 0 10px rgba(0,0,0,.1);overflow:hidden;padding:30px 30px 10px}.Login-module_mosaicLogo_2hoaw{margin:0 70px 15px}.Login-module_content_bHSHQ{padding:0 0 15px}.Login-module_tabs_1khqV{display:flex;background-color:#ddd;color:#1478af;font-weight:700;font-size:14px}.Login-module_tab_bY004{flex:1;padding:15px;text-align:center;cursor:pointer}.Login-module_tab_bY004.Login-module_active_1I63F{background-color:#fff;border-top:1px solid #ddd;color:#00467d}.Login-module_tab_bY004:hover{background-color:#1478af;color:#fff}.Login-module_tab_bY004.Login-module_active_1I63F:hover{background-color:#fff;border-top:1px solid #ddd;color:#00467d}.Login-module_tabContent_1rUY1{padding:10px 0 0}.Login-module_tabContent_1rUY1>div{display:none}.Login-module_tabContent_1rUY1>div.Login-module_active_1I63F{display:block}.Login-module_inputGroup_3pIt7{margin-bottom:10px}.Login-module_inputGroup_3pIt7 input{width:100%;padding:15px;box-sizing:border-box;border:1px solid #ccc;transition:border .3s,box-shadow .3s;outline:none}.Login-module_inputGroup_3pIt7 input:focus,.Login-module_inputGroup_3pIt7 input:hover{border:1px solid #28aae1;box-shadow:0 0 2px #28aae1}.Login-module_inputGroupError_t6Bt0{margin-bottom:10px}.Login-module_inputGroupError_t6Bt0 input{width:100%;padding:15px;box-sizing:border-box;border:1px solid #f06c55;transition:border .3s,box-shadow .3s;outline:none}.Login-module_input-group_2icem input:focus,.Login-module_inputGroupError_t6Bt0 input:hover{border:1px solid #f06c55;box-shadow:0 0 2px #f06c55}.Login-module_errorMessage_3wy8w{font-size:12px;color:#f06c55;margin:5px 0 10px}.Login-module_button_2QHCm{padding:15px;background-color:#28aae1;color:#fff;border:none;cursor:pointer;text-align:left}.Login-module_button_2QHCm:hover{background-color:#4cb3e1}.Login-module_forgotPassword_2djzq{text-align:right}.Login-module_forgotPassword_2djzq a{font-size:12px;color:#28aae1}.Login-module_separator_z61hz{display:flex;align-items:center;text-align:center;margin:20px 0}.Login-module_separator_z61hz:after,.Login-module_separator_z61hz:before{content:\"\";flex:1;border-bottom:1px dashed #ddd}.Login-module_separator_z61hz:not(:empty):before{margin-right:10px}.Login-module_separator_z61hz:not(:empty):after{margin-left:10px}.Login-module_separator_z61hz span{font-size:12px;color:#9d9d9d}.Login-module_buttonIdp_-hOwS{display:flex;align-items:center;padding:7px 10px;background-color:#fff;color:#707070;border:1px solid #b7b7b7;cursor:pointer;font-size:14px;text-decoration:none;font-family:Arial,sans-serif;margin-bottom:10px;transition:border .3s,box-shadow .3s}.Login-module_buttonIdp_-hOwS:last-child{margin-bottom:0}.Login-module_buttonIdp_-hOwS img{width:30px;height:30px;margin-right:10px}.Login-module_buttonIdp_-hOwS:hover{border:1px solid #28aae1;box-shadow:0 0 2px #28aae1}p{padding:10px 15px}.Login-module_hint_245Hs,p{color:#707070;font-size:14px}.Login-module_hint_245Hs{padding:5px 15px;text-align:center}";
|
|
26253
|
+
var css_248z$5 = ".Login-module_container_2LMS0{display:grid;width:100%;height:100%}.Login-module_container_2LMS0 .Login-module_whiteBox_2wSs7{display:grid;background-color:#fff;width:400px;margin:auto;padding:35px;grid-row-gap:10px}.Login-module_container_2LMS0 .Login-module_whiteBox_2wSs7 .Login-module_logo_3gcbJ{height:100px}.Login-module_container_2LMS0 .Login-module_whiteBox_2wSs7 .Login-module_logo_3gcbJ img{margin:auto;display:block;height:100%}.Login-module_container_2LMS0 .Login-module_whiteBox_2wSs7 .Login-module_header_2oK9K{text-align:center;font-size:28px;color:#00467d}.Login-module_container_2LMS0 .Login-module_whiteBox_2wSs7 .Login-module_authTitle_Cjflj{padding:0 10px 20px;font-size:18px;font-weight:700;text-align:center;color:#00467d}.Login-module_container_2LMS0 .Login-module_whiteBox_2wSs7 .Login-module_tile_3zT1d{margin:auto;display:grid;grid-template-columns:1fr 6fr;place-items:center start;color:#fff;cursor:pointer;height:54px;border:1px solid #b7b7b7;transition:border .3s,box-shadow .3s}.Login-module_container_2LMS0 .Login-module_whiteBox_2wSs7 .Login-module_tile_3zT1d.Login-module_ax_1DDTj,.Login-module_container_2LMS0 .Login-module_whiteBox_2wSs7 .Login-module_tile_3zT1d.Login-module_axinom_Hnk1O,.Login-module_container_2LMS0 .Login-module_whiteBox_2wSs7 .Login-module_tile_3zT1d.Login-module_azure_1HTLd,.Login-module_container_2LMS0 .Login-module_whiteBox_2wSs7 .Login-module_tile_3zT1d.Login-module_google_1sqZI{color:#707070}.Login-module_container_2LMS0 .Login-module_whiteBox_2wSs7 .Login-module_tile_3zT1d .Login-module_image_1mIij{width:50px;padding:10px;display:grid;place-items:center;height:54px}.Login-module_container_2LMS0 .Login-module_whiteBox_2wSs7 .Login-module_tile_3zT1d .Login-module_image_1mIij img{display:block;width:100%}.Login-module_container_2LMS0 .Login-module_whiteBox_2wSs7 .Login-module_tile_3zT1d .Login-module_text_1WO2w{margin-left:10px}.Login-module_container_2LMS0 .Login-module_whiteBox_2wSs7 .Login-module_tile_3zT1d:hover{border:1px solid #28aae1;box-shadow:0 0 2px #28aae1}.Login-module_container_2LMS0 .Login-module_dialogBox_k-jzt{width:100%;max-width:420px;min-width:320px;background-color:#fff;box-shadow:0 0 10px rgba(0,0,0,.1);overflow:hidden;padding:30px 30px 10px}.Login-module_container_2LMS0 .Login-module_mosaicLogo_2gD0v{margin:0 70px 15px}.Login-module_container_2LMS0 .Login-module_content_1SHoU{padding:0 0 15px}.Login-module_container_2LMS0 .Login-module_tabs_1XIrn{display:flex;background-color:#ddd;color:#1478af;font-weight:700;font-size:14px}.Login-module_container_2LMS0 .Login-module_tab_3FhLZ{flex:1;padding:15px;text-align:center;cursor:pointer}.Login-module_container_2LMS0 .Login-module_tab_3FhLZ.Login-module_active_2qFjC{background-color:#fff;border-top:1px solid #ddd;color:#00467d}.Login-module_container_2LMS0 .Login-module_tab_3FhLZ:hover{background-color:#1478af;color:#fff}.Login-module_container_2LMS0 .Login-module_tab_3FhLZ.Login-module_active_2qFjC:hover{background-color:#fff;border-top:1px solid #ddd;color:#00467d}.Login-module_container_2LMS0 .Login-module_tabContent_10Bnj{padding:10px 0 0}.Login-module_container_2LMS0 .Login-module_tabContent_10Bnj>div{display:none}.Login-module_container_2LMS0 .Login-module_tabContent_10Bnj>div.Login-module_active_2qFjC{display:block}.Login-module_container_2LMS0 .Login-module_inputGroup_1dWsi{margin-bottom:10px}.Login-module_container_2LMS0 .Login-module_inputGroup_1dWsi input{width:100%;padding:15px;box-sizing:border-box;border:1px solid #ccc;transition:border .3s,box-shadow .3s;outline:none}.Login-module_container_2LMS0 .Login-module_inputGroup_1dWsi input:focus,.Login-module_container_2LMS0 .Login-module_inputGroup_1dWsi input:hover{border:1px solid #28aae1;box-shadow:0 0 2px #28aae1}.Login-module_container_2LMS0 .Login-module_inputGroupError_26cHl{margin-bottom:10px}.Login-module_container_2LMS0 .Login-module_inputGroupError_26cHl input{width:100%;padding:15px;box-sizing:border-box;border:1px solid #f06c55;transition:border .3s,box-shadow .3s;outline:none}.Login-module_container_2LMS0 .Login-module_input-group_2zt2y input:focus,.Login-module_container_2LMS0 .Login-module_inputGroupError_26cHl input:hover{border:1px solid #f06c55;box-shadow:0 0 2px #f06c55}.Login-module_container_2LMS0 .Login-module_errorMessage_3x70T{font-size:12px;color:#f06c55;margin:5px 0 10px}.Login-module_container_2LMS0 .Login-module_button_2JMGi{padding:15px;background-color:#28aae1;color:#fff;border:none;cursor:pointer;text-align:left}.Login-module_container_2LMS0 .Login-module_buttonDisabled_129-E{padding:15px;background-color:#ccc;color:#fff;border:none;text-align:left}.Login-module_container_2LMS0 .Login-module_button_2JMGi:hover{background-color:#4cb3e1}.Login-module_container_2LMS0 .Login-module_forgotPassword_ky9Hb{text-align:right}.Login-module_container_2LMS0 .Login-module_forgotPassword_ky9Hb a{font-size:12px;color:#28aae1;cursor:pointer}.Login-module_container_2LMS0 .Login-module_separator_R73NX{display:flex;align-items:center;text-align:center;margin:20px 0}.Login-module_container_2LMS0 .Login-module_separator_R73NX:after,.Login-module_container_2LMS0 .Login-module_separator_R73NX:before{content:\"\";flex:1;border-bottom:1px dashed #ddd}.Login-module_container_2LMS0 .Login-module_separator_R73NX:not(:empty):before{margin-right:10px}.Login-module_container_2LMS0 .Login-module_separator_R73NX:not(:empty):after{margin-left:10px}.Login-module_container_2LMS0 .Login-module_separator_R73NX span{font-size:12px;color:#9d9d9d}.Login-module_container_2LMS0 .Login-module_buttonIdp_2pHOj{display:flex;align-items:center;padding:7px 10px;background-color:#fff;color:#707070;border:1px solid #b7b7b7;cursor:pointer;font-size:14px;text-decoration:none;font-family:Arial,sans-serif;margin-bottom:10px;transition:border .3s,box-shadow .3s}.Login-module_container_2LMS0 .Login-module_buttonIdp_2pHOj:last-child{margin-bottom:0}.Login-module_container_2LMS0 .Login-module_buttonIdp_2pHOj img{width:30px;height:30px;margin-right:10px}.Login-module_container_2LMS0 .Login-module_buttonIdp_2pHOj:hover{border:1px solid #28aae1;box-shadow:0 0 2px #28aae1}.Login-module_container_2LMS0 p{color:#707070;font-size:14px}.Login-module_container_2LMS0 .Login-module_hint_1Uoag{padding:5px 15px;color:#707070;font-size:14px;text-align:center}.Login-module_container_2LMS0 .Login-module_info_3HJ_k{color:#707070;font-size:14px;text-align:left}";
|
|
25723
26254
|
var classes$5 = {
|
|
25724
|
-
"container": "Login-
|
|
25725
|
-
"whiteBox": "Login-
|
|
25726
|
-
"logo": "Login-
|
|
25727
|
-
"header": "Login-
|
|
25728
|
-
"authTitle": "Login-
|
|
25729
|
-
"tile": "Login-
|
|
25730
|
-
"ax": "Login-
|
|
25731
|
-
"azure": "Login-
|
|
25732
|
-
"google": "Login-
|
|
25733
|
-
"axinom": "Login-
|
|
25734
|
-
"image": "Login-
|
|
25735
|
-
"text": "Login-
|
|
25736
|
-
"dialogBox": "Login-
|
|
25737
|
-
"mosaicLogo": "Login-
|
|
25738
|
-
"content": "Login-
|
|
25739
|
-
"tabs": "Login-
|
|
25740
|
-
"tab": "Login-
|
|
25741
|
-
"active": "Login-
|
|
25742
|
-
"tabContent": "Login-
|
|
25743
|
-
"inputGroup": "Login-
|
|
25744
|
-
"inputGroupError": "Login-
|
|
25745
|
-
"input-group": "Login-module_input-
|
|
25746
|
-
"errorMessage": "Login-
|
|
25747
|
-
"button": "Login-
|
|
25748
|
-
"
|
|
25749
|
-
"
|
|
25750
|
-
"
|
|
25751
|
-
"
|
|
25752
|
-
|
|
25753
|
-
|
|
26255
|
+
"container": "Login-module_container_2LMS0",
|
|
26256
|
+
"whiteBox": "Login-module_whiteBox_2wSs7",
|
|
26257
|
+
"logo": "Login-module_logo_3gcbJ",
|
|
26258
|
+
"header": "Login-module_header_2oK9K",
|
|
26259
|
+
"authTitle": "Login-module_authTitle_Cjflj",
|
|
26260
|
+
"tile": "Login-module_tile_3zT1d",
|
|
26261
|
+
"ax": "Login-module_ax_1DDTj",
|
|
26262
|
+
"azure": "Login-module_azure_1HTLd",
|
|
26263
|
+
"google": "Login-module_google_1sqZI",
|
|
26264
|
+
"axinom": "Login-module_axinom_Hnk1O",
|
|
26265
|
+
"image": "Login-module_image_1mIij",
|
|
26266
|
+
"text": "Login-module_text_1WO2w",
|
|
26267
|
+
"dialogBox": "Login-module_dialogBox_k-jzt",
|
|
26268
|
+
"mosaicLogo": "Login-module_mosaicLogo_2gD0v",
|
|
26269
|
+
"content": "Login-module_content_1SHoU",
|
|
26270
|
+
"tabs": "Login-module_tabs_1XIrn",
|
|
26271
|
+
"tab": "Login-module_tab_3FhLZ",
|
|
26272
|
+
"active": "Login-module_active_2qFjC",
|
|
26273
|
+
"tabContent": "Login-module_tabContent_10Bnj",
|
|
26274
|
+
"inputGroup": "Login-module_inputGroup_1dWsi",
|
|
26275
|
+
"inputGroupError": "Login-module_inputGroupError_26cHl",
|
|
26276
|
+
"input-group": "Login-module_input-group_2zt2y",
|
|
26277
|
+
"errorMessage": "Login-module_errorMessage_3x70T",
|
|
26278
|
+
"button": "Login-module_button_2JMGi",
|
|
26279
|
+
"buttonDisabled": "Login-module_buttonDisabled_129-E",
|
|
26280
|
+
"forgotPassword": "Login-module_forgotPassword_ky9Hb",
|
|
26281
|
+
"separator": "Login-module_separator_R73NX",
|
|
26282
|
+
"buttonIdp": "Login-module_buttonIdp_2pHOj",
|
|
26283
|
+
"hint": "Login-module_hint_1Uoag",
|
|
26284
|
+
"info": "Login-module_info_3HJ_k"
|
|
26285
|
+
};
|
|
26286
|
+
var style$5 = document.querySelector('style[data-hash="be33dd9d031d68eb4274bc6d50e8e9ad6d8d4e70"]');
|
|
25754
26287
|
if (!style$5) {
|
|
25755
26288
|
style$5 = document.createElement('style');
|
|
25756
|
-
style$5.setAttribute('data-hash', '
|
|
26289
|
+
style$5.setAttribute('data-hash', 'be33dd9d031d68eb4274bc6d50e8e9ad6d8d4e70');
|
|
25757
26290
|
document.head.appendChild(style$5);
|
|
25758
26291
|
if (style$5.styleSheet) {
|
|
25759
26292
|
style$5.styleSheet.cssText = css_248z$5;
|
|
@@ -25763,6 +26296,15 @@ if (!style$5) {
|
|
|
25763
26296
|
}
|
|
25764
26297
|
var DEFAULT_BG_IMAGE = MosaicBG;
|
|
25765
26298
|
var AUTH_LOGOS = _defineProperty(_defineProperty(_defineProperty(_defineProperty({}, dist.IdentityProvider.AX_AUTH, axauth), dist.IdentityProvider.AZURE_AD, azure), dist.IdentityProvider.GOOGLE, google), dist.IdentityProvider.AXINOM, axinom);
|
|
26299
|
+
var passwordPolicy = new PasswordPolicy_1({
|
|
26300
|
+
length: {
|
|
26301
|
+
minLength: 10
|
|
26302
|
+
},
|
|
26303
|
+
containsAtLeast: {
|
|
26304
|
+
atLeast: 3,
|
|
26305
|
+
expressions: [charsets_1.lowerCase, charsets_1.upperCase, charsets_1.numbers, charsets_1.specialCharacters]
|
|
26306
|
+
}
|
|
26307
|
+
});
|
|
25766
26308
|
/**
|
|
25767
26309
|
* Renders the login component
|
|
25768
26310
|
*/
|
|
@@ -25822,70 +26364,68 @@ var Login = function Login(_ref50) {
|
|
|
25822
26364
|
_React__default$useSt10 = _slicedToArray(_React__default$useSt9, 2),
|
|
25823
26365
|
activeTab = _React__default$useSt10[0],
|
|
25824
26366
|
setActiveTab = _React__default$useSt10[1];
|
|
25825
|
-
var _React__default$useSt11 = react__WEBPACK_IMPORTED_MODULE_0__.useState(
|
|
26367
|
+
var _React__default$useSt11 = react__WEBPACK_IMPORTED_MODULE_0__.useState(false),
|
|
25826
26368
|
_React__default$useSt12 = _slicedToArray(_React__default$useSt11, 2),
|
|
25827
|
-
|
|
25828
|
-
|
|
25829
|
-
var _React__default$useSt13 = react__WEBPACK_IMPORTED_MODULE_0__.useState(
|
|
26369
|
+
isForgotPassword = _React__default$useSt12[0],
|
|
26370
|
+
setIsForgotPassword = _React__default$useSt12[1];
|
|
26371
|
+
var _React__default$useSt13 = react__WEBPACK_IMPORTED_MODULE_0__.useState(false),
|
|
25830
26372
|
_React__default$useSt14 = _slicedToArray(_React__default$useSt13, 2),
|
|
25831
|
-
|
|
25832
|
-
|
|
26373
|
+
isSubmitted = _React__default$useSt14[0],
|
|
26374
|
+
setIsSubmitted = _React__default$useSt14[1];
|
|
25833
26375
|
var _React__default$useSt15 = react__WEBPACK_IMPORTED_MODULE_0__.useState(''),
|
|
25834
26376
|
_React__default$useSt16 = _slicedToArray(_React__default$useSt15, 2),
|
|
25835
|
-
|
|
25836
|
-
|
|
26377
|
+
signInUsername = _React__default$useSt16[0],
|
|
26378
|
+
setSignInUsername = _React__default$useSt16[1];
|
|
25837
26379
|
var _React__default$useSt17 = react__WEBPACK_IMPORTED_MODULE_0__.useState(''),
|
|
25838
26380
|
_React__default$useSt18 = _slicedToArray(_React__default$useSt17, 2),
|
|
25839
|
-
|
|
25840
|
-
|
|
26381
|
+
signInPassword = _React__default$useSt18[0],
|
|
26382
|
+
setSignInPassword = _React__default$useSt18[1];
|
|
25841
26383
|
var _React__default$useSt19 = react__WEBPACK_IMPORTED_MODULE_0__.useState(''),
|
|
25842
26384
|
_React__default$useSt20 = _slicedToArray(_React__default$useSt19, 2),
|
|
25843
|
-
|
|
25844
|
-
|
|
26385
|
+
signUpFirstName = _React__default$useSt20[0],
|
|
26386
|
+
setSignUpFirstName = _React__default$useSt20[1];
|
|
25845
26387
|
var _React__default$useSt21 = react__WEBPACK_IMPORTED_MODULE_0__.useState(''),
|
|
25846
26388
|
_React__default$useSt22 = _slicedToArray(_React__default$useSt21, 2),
|
|
25847
|
-
|
|
25848
|
-
|
|
26389
|
+
signUpLastName = _React__default$useSt22[0],
|
|
26390
|
+
setSignUpLastName = _React__default$useSt22[1];
|
|
25849
26391
|
var _React__default$useSt23 = react__WEBPACK_IMPORTED_MODULE_0__.useState(''),
|
|
25850
26392
|
_React__default$useSt24 = _slicedToArray(_React__default$useSt23, 2),
|
|
25851
|
-
|
|
25852
|
-
|
|
25853
|
-
var _React__default$useSt25 = react__WEBPACK_IMPORTED_MODULE_0__.useState(),
|
|
26393
|
+
signUpEmail = _React__default$useSt24[0],
|
|
26394
|
+
setSignUpEmail = _React__default$useSt24[1];
|
|
26395
|
+
var _React__default$useSt25 = react__WEBPACK_IMPORTED_MODULE_0__.useState(''),
|
|
25854
26396
|
_React__default$useSt26 = _slicedToArray(_React__default$useSt25, 2),
|
|
25855
|
-
|
|
25856
|
-
|
|
25857
|
-
var _React__default$useSt27 = react__WEBPACK_IMPORTED_MODULE_0__.useState(
|
|
26397
|
+
signUpPassword = _React__default$useSt26[0],
|
|
26398
|
+
setSignUpPassword = _React__default$useSt26[1];
|
|
26399
|
+
var _React__default$useSt27 = react__WEBPACK_IMPORTED_MODULE_0__.useState(''),
|
|
25858
26400
|
_React__default$useSt28 = _slicedToArray(_React__default$useSt27, 2),
|
|
25859
|
-
|
|
25860
|
-
|
|
25861
|
-
var _React__default$useSt29 = react__WEBPACK_IMPORTED_MODULE_0__.useState(
|
|
26401
|
+
signUpConfirmPassword = _React__default$useSt28[0],
|
|
26402
|
+
setSignUpConfirmPassword = _React__default$useSt28[1];
|
|
26403
|
+
var _React__default$useSt29 = react__WEBPACK_IMPORTED_MODULE_0__.useState(),
|
|
25862
26404
|
_React__default$useSt30 = _slicedToArray(_React__default$useSt29, 2),
|
|
25863
|
-
|
|
25864
|
-
|
|
26405
|
+
errorMessage = _React__default$useSt30[0],
|
|
26406
|
+
setErrorMessage = _React__default$useSt30[1];
|
|
25865
26407
|
var _React__default$useSt31 = react__WEBPACK_IMPORTED_MODULE_0__.useState(false),
|
|
25866
26408
|
_React__default$useSt32 = _slicedToArray(_React__default$useSt31, 2),
|
|
25867
|
-
|
|
25868
|
-
|
|
26409
|
+
isEmailError = _React__default$useSt32[0],
|
|
26410
|
+
setIsEmailError = _React__default$useSt32[1];
|
|
25869
26411
|
var _React__default$useSt33 = react__WEBPACK_IMPORTED_MODULE_0__.useState(false),
|
|
25870
26412
|
_React__default$useSt34 = _slicedToArray(_React__default$useSt33, 2),
|
|
25871
|
-
|
|
25872
|
-
|
|
25873
|
-
var _React__default$useSt35 = react__WEBPACK_IMPORTED_MODULE_0__.useState(
|
|
26413
|
+
isPasswordError = _React__default$useSt34[0],
|
|
26414
|
+
setIsPasswordError = _React__default$useSt34[1];
|
|
26415
|
+
var _React__default$useSt35 = react__WEBPACK_IMPORTED_MODULE_0__.useState({
|
|
26416
|
+
firstName: false,
|
|
26417
|
+
lastName: false,
|
|
26418
|
+
email: false,
|
|
26419
|
+
password: false,
|
|
26420
|
+
confirmPassword: false
|
|
26421
|
+
}),
|
|
25874
26422
|
_React__default$useSt36 = _slicedToArray(_React__default$useSt35, 2),
|
|
25875
|
-
|
|
25876
|
-
|
|
26423
|
+
signUpValidationErrors = _React__default$useSt36[0],
|
|
26424
|
+
setSignUpValidationErrors = _React__default$useSt36[1];
|
|
25877
26425
|
var _React__default$useSt37 = react__WEBPACK_IMPORTED_MODULE_0__.useState(false),
|
|
25878
26426
|
_React__default$useSt38 = _slicedToArray(_React__default$useSt37, 2),
|
|
25879
|
-
|
|
25880
|
-
|
|
25881
|
-
var _React__default$useSt39 = react__WEBPACK_IMPORTED_MODULE_0__.useState(false),
|
|
25882
|
-
_React__default$useSt40 = _slicedToArray(_React__default$useSt39, 2),
|
|
25883
|
-
isConfirmPasswordError = _React__default$useSt40[0],
|
|
25884
|
-
setIsConfirmPasswordError = _React__default$useSt40[1];
|
|
25885
|
-
var _React__default$useSt41 = react__WEBPACK_IMPORTED_MODULE_0__.useState(false),
|
|
25886
|
-
_React__default$useSt42 = _slicedToArray(_React__default$useSt41, 2),
|
|
25887
|
-
isSignUpSuccess = _React__default$useSt42[0],
|
|
25888
|
-
setIsSignUpSuccess = _React__default$useSt42[1];
|
|
26427
|
+
isSignUpSuccess = _React__default$useSt38[0],
|
|
26428
|
+
setIsSignUpSuccess = _React__default$useSt38[1];
|
|
25889
26429
|
var changeTab = function changeTab(tab) {
|
|
25890
26430
|
setActiveTab(tab);
|
|
25891
26431
|
setErrorMessage('');
|
|
@@ -25920,7 +26460,8 @@ var Login = function Login(_ref50) {
|
|
|
25920
26460
|
}
|
|
25921
26461
|
return _context7.abrupt("return");
|
|
25922
26462
|
case 6:
|
|
25923
|
-
|
|
26463
|
+
setIsSubmitted(true);
|
|
26464
|
+
_context7.next = 9;
|
|
25924
26465
|
return fetch(getIdpAuthUrl(dist.IdentityProvider.AX_AUTH, originUrl, isDirectSignInEnabled !== null && isDirectSignInEnabled !== void 0 ? isDirectSignInEnabled : false), {
|
|
25925
26466
|
method: 'POST',
|
|
25926
26467
|
headers: {
|
|
@@ -25932,22 +26473,23 @@ var Login = function Login(_ref50) {
|
|
|
25932
26473
|
}),
|
|
25933
26474
|
credentials: 'include'
|
|
25934
26475
|
});
|
|
25935
|
-
case
|
|
26476
|
+
case 9:
|
|
25936
26477
|
signInResponse = _context7.sent;
|
|
26478
|
+
setIsSubmitted(false);
|
|
25937
26479
|
if (!signInResponse.ok) {
|
|
25938
|
-
_context7.next =
|
|
26480
|
+
_context7.next = 15;
|
|
25939
26481
|
break;
|
|
25940
26482
|
}
|
|
25941
26483
|
window.location.assign(originUrl);
|
|
25942
|
-
_context7.next =
|
|
26484
|
+
_context7.next = 19;
|
|
25943
26485
|
break;
|
|
25944
|
-
case 13:
|
|
25945
|
-
_context7.next = 15;
|
|
25946
|
-
return signInResponse.json();
|
|
25947
26486
|
case 15:
|
|
26487
|
+
_context7.next = 17;
|
|
26488
|
+
return signInResponse.json();
|
|
26489
|
+
case 17:
|
|
25948
26490
|
signInResponseJson = _context7.sent;
|
|
25949
26491
|
setErrorMessage(signInResponseJson.message);
|
|
25950
|
-
case
|
|
26492
|
+
case 19:
|
|
25951
26493
|
case "end":
|
|
25952
26494
|
return _context7.stop();
|
|
25953
26495
|
}
|
|
@@ -25956,78 +26498,95 @@ var Login = function Login(_ref50) {
|
|
|
25956
26498
|
};
|
|
25957
26499
|
var initiateSignUpFlow = function initiateSignUpFlow() {
|
|
25958
26500
|
return __awaiter(void 0, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee8() {
|
|
25959
|
-
var _c, hasClientValidationError, initiateSignUpResponse;
|
|
26501
|
+
var _c, validationErrors, hasClientValidationError, initiateSignUpResponse;
|
|
25960
26502
|
return _regeneratorRuntime().wrap(function _callee8$(_context8) {
|
|
25961
26503
|
while (1) switch (_context8.prev = _context8.next) {
|
|
25962
26504
|
case 0:
|
|
25963
26505
|
setErrorMessage(undefined);
|
|
26506
|
+
validationErrors = {
|
|
26507
|
+
firstName: false,
|
|
26508
|
+
lastName: false,
|
|
26509
|
+
email: false,
|
|
26510
|
+
password: false,
|
|
26511
|
+
confirmPassword: false
|
|
26512
|
+
};
|
|
25964
26513
|
hasClientValidationError = false;
|
|
25965
26514
|
if (signUpFirstName === '') {
|
|
25966
|
-
|
|
26515
|
+
validationErrors.firstName = true;
|
|
25967
26516
|
hasClientValidationError = true;
|
|
25968
26517
|
} else {
|
|
25969
|
-
|
|
26518
|
+
validationErrors.firstName = false;
|
|
25970
26519
|
}
|
|
25971
26520
|
if (signUpLastName === '') {
|
|
25972
|
-
|
|
26521
|
+
validationErrors.lastName = true;
|
|
25973
26522
|
hasClientValidationError = true;
|
|
25974
26523
|
} else {
|
|
25975
|
-
|
|
26524
|
+
validationErrors.lastName = false;
|
|
25976
26525
|
}
|
|
25977
26526
|
if (!isValidEmail(signUpEmail)) {
|
|
25978
|
-
|
|
26527
|
+
validationErrors.email = true;
|
|
25979
26528
|
hasClientValidationError = true;
|
|
25980
26529
|
} else {
|
|
25981
|
-
|
|
26530
|
+
validationErrors.email = false;
|
|
25982
26531
|
}
|
|
25983
26532
|
if (signUpPassword === '') {
|
|
25984
|
-
|
|
26533
|
+
validationErrors.password = true;
|
|
25985
26534
|
hasClientValidationError = true;
|
|
25986
26535
|
} else {
|
|
25987
|
-
|
|
26536
|
+
validationErrors.password = false;
|
|
25988
26537
|
}
|
|
25989
26538
|
if (signUpConfirmPassword === '' || signUpPassword !== signUpConfirmPassword) {
|
|
25990
|
-
|
|
26539
|
+
validationErrors.confirmPassword = true;
|
|
25991
26540
|
hasClientValidationError = true;
|
|
25992
26541
|
} else {
|
|
25993
|
-
|
|
26542
|
+
validationErrors.confirmPassword = false;
|
|
25994
26543
|
}
|
|
25995
26544
|
if (!hasClientValidationError) {
|
|
25996
|
-
_context8.next =
|
|
26545
|
+
_context8.next = 11;
|
|
25997
26546
|
break;
|
|
25998
26547
|
}
|
|
26548
|
+
setSignUpValidationErrors(validationErrors);
|
|
25999
26549
|
return _context8.abrupt("return");
|
|
26000
|
-
case
|
|
26550
|
+
case 11:
|
|
26551
|
+
if (passwordPolicy.check(signUpPassword)) {
|
|
26552
|
+
_context8.next = 14;
|
|
26553
|
+
break;
|
|
26554
|
+
}
|
|
26555
|
+
setErrorMessage('Password does not meet the policy requirements. It should contain at least 10 characters, and at least 3 of the following 4 types of characters: lowercase letters, uppercase letters, numbers and special characters.');
|
|
26556
|
+
return _context8.abrupt("return");
|
|
26557
|
+
case 14:
|
|
26001
26558
|
if (!(axAuthManagementGraphQlEndpoint !== undefined)) {
|
|
26002
|
-
_context8.next =
|
|
26559
|
+
_context8.next = 23;
|
|
26003
26560
|
break;
|
|
26004
26561
|
}
|
|
26005
|
-
|
|
26562
|
+
setIsSubmitted(true);
|
|
26563
|
+
_context8.next = 18;
|
|
26006
26564
|
return initiateSignUp({
|
|
26007
26565
|
firstName: signUpFirstName,
|
|
26008
26566
|
lastName: signUpLastName,
|
|
26009
26567
|
email: signUpEmail,
|
|
26010
26568
|
password: signUpPassword
|
|
26011
26569
|
}, axAuthManagementGraphQlEndpoint);
|
|
26012
|
-
case
|
|
26570
|
+
case 18:
|
|
26013
26571
|
initiateSignUpResponse = _context8.sent;
|
|
26572
|
+
setIsSubmitted(false);
|
|
26014
26573
|
if (initiateSignUpResponse.isSuccess) {
|
|
26015
26574
|
setIsSignUpSuccess(true);
|
|
26016
26575
|
} else {
|
|
26017
26576
|
setErrorMessage((_c = initiateSignUpResponse.errorMessage) !== null && _c !== void 0 ? _c : 'Unexpected Error occurred while attempting to sign up. Please try again later.');
|
|
26018
26577
|
}
|
|
26019
|
-
_context8.next =
|
|
26578
|
+
_context8.next = 24;
|
|
26020
26579
|
break;
|
|
26021
|
-
case
|
|
26580
|
+
case 23:
|
|
26022
26581
|
setErrorMessage('AxAuthManagementGraphQlEndpoint is not available');
|
|
26023
|
-
case
|
|
26582
|
+
case 24:
|
|
26024
26583
|
case "end":
|
|
26025
26584
|
return _context8.stop();
|
|
26026
26585
|
}
|
|
26027
26586
|
}, _callee8);
|
|
26028
26587
|
}));
|
|
26029
26588
|
};
|
|
26030
|
-
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", {
|
|
26589
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(react__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, !isForgotPassword && ( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(react__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", {
|
|
26031
26590
|
className: classes$5.container,
|
|
26032
26591
|
style: backgroundStyles,
|
|
26033
26592
|
"data-test-id": "login-page"
|
|
@@ -26066,7 +26625,7 @@ var Login = function Login(_ref50) {
|
|
|
26066
26625
|
onChange: function onChange(e) {
|
|
26067
26626
|
return setSignInUsername(e.target.value);
|
|
26068
26627
|
},
|
|
26069
|
-
placeholder: "
|
|
26628
|
+
placeholder: "email"
|
|
26070
26629
|
}), isEmailError && ( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", {
|
|
26071
26630
|
className: classes$5.errorMessage
|
|
26072
26631
|
}, "Email must be a valid email."))), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", {
|
|
@@ -26078,19 +26637,20 @@ var Login = function Login(_ref50) {
|
|
|
26078
26637
|
return setSignInPassword(e.target.value);
|
|
26079
26638
|
},
|
|
26080
26639
|
id: "login-password",
|
|
26081
|
-
placeholder: "
|
|
26640
|
+
placeholder: "password"
|
|
26082
26641
|
}), isPasswordError && ( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", {
|
|
26083
26642
|
className: classes$5.errorMessage
|
|
26084
26643
|
}, "Password cannot be empty."))), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", {
|
|
26085
|
-
className: classes$5.button,
|
|
26644
|
+
className: isSubmitted ? classes$5.buttonDisabled : classes$5.button,
|
|
26086
26645
|
onClick: function onClick() {
|
|
26087
26646
|
return directSignIn();
|
|
26088
26647
|
}
|
|
26089
26648
|
}, "Sign In"), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", {
|
|
26090
|
-
className: classes$5.forgotPassword
|
|
26091
|
-
|
|
26092
|
-
|
|
26093
|
-
|
|
26649
|
+
className: classes$5.forgotPassword,
|
|
26650
|
+
onClick: function onClick() {
|
|
26651
|
+
return setIsForgotPassword(true);
|
|
26652
|
+
}
|
|
26653
|
+
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("a", null, "Forgot Password")), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", {
|
|
26094
26654
|
className: classes$5.separator
|
|
26095
26655
|
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", null, "or")))), !isDirectSignInEnabled && ( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", {
|
|
26096
26656
|
className: classes$5.authTitle
|
|
@@ -26123,7 +26683,7 @@ var Login = function Login(_ref50) {
|
|
|
26123
26683
|
},
|
|
26124
26684
|
id: "register-firstname",
|
|
26125
26685
|
placeholder: "first name"
|
|
26126
|
-
}),
|
|
26686
|
+
}), signUpValidationErrors.firstName && ( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", {
|
|
26127
26687
|
className: classes$5.errorMessage
|
|
26128
26688
|
}, "First name cannot be empty."))), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", {
|
|
26129
26689
|
className: classes$5.inputGroup
|
|
@@ -26135,7 +26695,7 @@ var Login = function Login(_ref50) {
|
|
|
26135
26695
|
},
|
|
26136
26696
|
id: "register-lastname",
|
|
26137
26697
|
placeholder: "last name"
|
|
26138
|
-
}),
|
|
26698
|
+
}), signUpValidationErrors.lastName && ( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", {
|
|
26139
26699
|
className: classes$5.errorMessage
|
|
26140
26700
|
}, "Last name cannot be empty."))), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", {
|
|
26141
26701
|
className: classes$5.inputGroup
|
|
@@ -26147,7 +26707,7 @@ var Login = function Login(_ref50) {
|
|
|
26147
26707
|
},
|
|
26148
26708
|
id: "register-email",
|
|
26149
26709
|
placeholder: "email"
|
|
26150
|
-
}),
|
|
26710
|
+
}), signUpValidationErrors.email && ( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", {
|
|
26151
26711
|
className: classes$5.errorMessage
|
|
26152
26712
|
}, "Email must be a valid email."))), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", {
|
|
26153
26713
|
className: classes$5.inputGroup
|
|
@@ -26159,7 +26719,7 @@ var Login = function Login(_ref50) {
|
|
|
26159
26719
|
},
|
|
26160
26720
|
id: "register-password",
|
|
26161
26721
|
placeholder: "password"
|
|
26162
|
-
}),
|
|
26722
|
+
}), signUpValidationErrors.password && ( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", {
|
|
26163
26723
|
className: classes$5.errorMessage
|
|
26164
26724
|
}, "Password cannot be empty."))), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", {
|
|
26165
26725
|
className: classes$5.inputGroup
|
|
@@ -26171,16 +26731,18 @@ var Login = function Login(_ref50) {
|
|
|
26171
26731
|
},
|
|
26172
26732
|
id: "register-confirmpassword",
|
|
26173
26733
|
placeholder: "confirm password"
|
|
26174
|
-
}),
|
|
26734
|
+
}), signUpValidationErrors.confirmPassword && ( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", {
|
|
26175
26735
|
className: classes$5.errorMessage
|
|
26176
26736
|
}, "Confirm password cannot be empty and must match to the initial password."))), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", {
|
|
26177
|
-
className: classes$5.button,
|
|
26737
|
+
className: isSubmitted ? classes$5.buttonDisabled : classes$5.button,
|
|
26178
26738
|
onClick: function onClick() {
|
|
26179
26739
|
return initiateSignUpFlow();
|
|
26180
26740
|
}
|
|
26181
26741
|
}, "Register"))), isSignUpSuccess && ( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(react__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("p", {
|
|
26182
|
-
className: classes$5.
|
|
26183
|
-
}, ' ', "We have sent a verification link to your email. Please follow the instructions in the email to complete the sign up process.")))))))
|
|
26742
|
+
className: classes$5.info
|
|
26743
|
+
}, ' ', "We have sent a verification link to your email. Please follow the instructions in the email to complete the sign up process."))))))))), isForgotPassword && ( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(react__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(ForgotPassword, {
|
|
26744
|
+
setIsForgotPassword: setIsForgotPassword
|
|
26745
|
+
}))));
|
|
26184
26746
|
};
|
|
26185
26747
|
var css_248z$4 = ".TenantInactiveError-module_container_3Bj3y{height:100%;display:grid;place-content:center;font-size:20px}";
|
|
26186
26748
|
var classes$4 = {
|
|
@@ -26301,10 +26863,10 @@ var localStorageKey = 'MOSAIC_PORTAL_CONFIG';
|
|
|
26301
26863
|
var EnvironmentInformationBox = function EnvironmentInformationBox(_ref52) {
|
|
26302
26864
|
var tenantId = _ref52.tenantId,
|
|
26303
26865
|
environmentId = _ref52.environmentId;
|
|
26304
|
-
var
|
|
26305
|
-
|
|
26306
|
-
show =
|
|
26307
|
-
setShow =
|
|
26866
|
+
var _useState21 = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(true),
|
|
26867
|
+
_useState22 = _slicedToArray(_useState21, 2),
|
|
26868
|
+
show = _useState22[0],
|
|
26869
|
+
setShow = _useState22[1];
|
|
26308
26870
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", {
|
|
26309
26871
|
className: classes$1.box,
|
|
26310
26872
|
onClick: function onClick() {
|
|
@@ -26394,18 +26956,18 @@ var EnsureAuthentication = function EnsureAuthentication(_ref53) {
|
|
|
26394
26956
|
getToken = _useIdentityService6.getToken,
|
|
26395
26957
|
getConfiguration = _useIdentityService6.getConfiguration,
|
|
26396
26958
|
addTokenChangedHandler = _useIdentityService6.addTokenChangedHandler;
|
|
26397
|
-
var
|
|
26398
|
-
_useState22 = _slicedToArray(_useState21, 2),
|
|
26399
|
-
loading = _useState22[0],
|
|
26400
|
-
setLoading = _useState22[1];
|
|
26401
|
-
var _useState23 = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(),
|
|
26959
|
+
var _useState23 = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(true),
|
|
26402
26960
|
_useState24 = _slicedToArray(_useState23, 2),
|
|
26403
|
-
|
|
26404
|
-
|
|
26405
|
-
var _useState25 = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(
|
|
26961
|
+
loading = _useState24[0],
|
|
26962
|
+
setLoading = _useState24[1];
|
|
26963
|
+
var _useState25 = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(),
|
|
26406
26964
|
_useState26 = _slicedToArray(_useState25, 2),
|
|
26407
|
-
|
|
26408
|
-
|
|
26965
|
+
configuration = _useState26[0],
|
|
26966
|
+
setConfiguration = _useState26[1];
|
|
26967
|
+
var _useState27 = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(null),
|
|
26968
|
+
_useState28 = _slicedToArray(_useState27, 2),
|
|
26969
|
+
tokenResponse = _useState28[0],
|
|
26970
|
+
setTokenResponse = _useState28[1];
|
|
26409
26971
|
(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function () {
|
|
26410
26972
|
var initialize = function initialize() {
|
|
26411
26973
|
return __awaiter(void 0, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee9() {
|
|
@@ -26448,7 +27010,6 @@ var EnsureAuthentication = function EnsureAuthentication(_ref53) {
|
|
|
26448
27010
|
}, [addTokenChangedHandler, getConfiguration, getToken]);
|
|
26449
27011
|
var content;
|
|
26450
27012
|
var showEnvironmentInfo = window.location.hostname === 'localhost';
|
|
26451
|
-
var isForgotPasswordFlow = window.location.pathname.startsWith('/forgot-password');
|
|
26452
27013
|
var isResetPasswordFlow = window.location.pathname.startsWith('/reset-password');
|
|
26453
27014
|
var isConfirmSignUp = window.location.pathname.startsWith('/confirm-signup');
|
|
26454
27015
|
if (loading) {
|
|
@@ -26462,10 +27023,6 @@ var EnsureAuthentication = function EnsureAuthentication(_ref53) {
|
|
|
26462
27023
|
return i.enabled;
|
|
26463
27024
|
}))) {
|
|
26464
27025
|
content = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(ConfigurationInvalidError, null);
|
|
26465
|
-
} else if (isForgotPasswordFlow) {
|
|
26466
|
-
content = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(ForgotPassword, {
|
|
26467
|
-
brandingOptions: brandingOptions
|
|
26468
|
-
});
|
|
26469
27026
|
} else if (isResetPasswordFlow) {
|
|
26470
27027
|
content = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(CompletePasswordReset, {
|
|
26471
27028
|
brandingOptions: brandingOptions
|
|
@@ -26533,14 +27090,14 @@ var EnsurePermission = function EnsurePermission(_ref54) {
|
|
|
26533
27090
|
permissions = _ref54.permissions,
|
|
26534
27091
|
denied = _ref54.denied;
|
|
26535
27092
|
var checkPermission = useHasPermissions();
|
|
26536
|
-
var
|
|
26537
|
-
_useState28 = _slicedToArray(_useState27, 2),
|
|
26538
|
-
hasPermission = _useState28[0],
|
|
26539
|
-
setHasPermission = _useState28[1];
|
|
26540
|
-
var _useState29 = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(true),
|
|
27093
|
+
var _useState29 = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(false),
|
|
26541
27094
|
_useState30 = _slicedToArray(_useState29, 2),
|
|
26542
|
-
|
|
26543
|
-
|
|
27095
|
+
hasPermission = _useState30[0],
|
|
27096
|
+
setHasPermission = _useState30[1];
|
|
27097
|
+
var _useState31 = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(true),
|
|
27098
|
+
_useState32 = _slicedToArray(_useState31, 2),
|
|
27099
|
+
pending = _useState32[0],
|
|
27100
|
+
setPending = _useState32[1];
|
|
26544
27101
|
(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function () {
|
|
26545
27102
|
checkPermission(permissions).then(function (value) {
|
|
26546
27103
|
return setHasPermission(value);
|
|
@@ -34429,7 +34986,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
34429
34986
|
/* harmony export */ });
|
|
34430
34987
|
var shellInfo = {
|
|
34431
34988
|
name: "@axinom/mosaic-portal",
|
|
34432
|
-
version: "0.35.
|
|
34989
|
+
version: "0.35.1"
|
|
34433
34990
|
};
|
|
34434
34991
|
|
|
34435
34992
|
/***/ }),
|
|
@@ -39543,11 +40100,11 @@ function installPiralDebug(options) {
|
|
|
39543
40100
|
debug: debugApiVersion,
|
|
39544
40101
|
instance: {
|
|
39545
40102
|
name: "@axinom/mosaic-portal",
|
|
39546
|
-
version: "0.35.
|
|
40103
|
+
version: "0.35.1",
|
|
39547
40104
|
dependencies: "react,react-dom,react-router,react-router-dom,tslib",
|
|
39548
40105
|
},
|
|
39549
40106
|
build: {
|
|
39550
|
-
date: "2024-
|
|
40107
|
+
date: "2024-09-02T05:52:34.560Z",
|
|
39551
40108
|
cli: "1.5.2",
|
|
39552
40109
|
compat: "1",
|
|
39553
40110
|
},
|
|
@@ -87988,4 +88545,4 @@ var App = function App() {
|
|
|
87988
88545
|
|
|
87989
88546
|
/******/ })()
|
|
87990
88547
|
;
|
|
87991
|
-
//# sourceMappingURL=index.
|
|
88548
|
+
//# sourceMappingURL=index.6481a9.js.map
|