forstok-ui-lib 5.4.4 → 5.4.5
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/dist/index.d.ts +10 -1
- package/dist/index.js +25 -16
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +25 -16
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/components/button/styles.ts +1 -1
- package/src/components/index.ts +1 -0
- package/src/components/list/index.tsx +11 -0
- package/src/components/list/styles.tsx +150 -0
package/dist/index.js
CHANGED
|
@@ -223,7 +223,7 @@
|
|
|
223
223
|
padding-right: 30px !important;
|
|
224
224
|
|
|
225
225
|
}
|
|
226
|
-
${({$mode:e,$isIndicatorArrow:t,$isShown:n,$isLoading:r,$activated:i,$size:o,disabled:a,$iconLeft:s,$shadow:l})=>{let c="";return n?(l&&(c+="\n box-shadow: var(--act-shd-bx);\n "),o&&("xsmall"===o?c+="\n font-size: 12px;\n height: 20px;\n padding: 0 8px;\n ":"small"===o?c+="\n font-size: 13px;\n height: 28px;\n min-width: 75px;\n ":"medium"===o&&(c+="\n height: 32px;\n ")),"red"===e?c+=`\n color: var(--act-clr);\n background-color: var(--act-clr-bg);\n &:hover {\n background-color: var(--act-clr-bg__hvr);\n }\n & ${me} {\n fill: #ffffff;\n stroke: #ffffff;\n }\n `:"white"===e?c+="\n color: var(--mt-clr);\n background-color: var(--cl-clr-bg);\n border: 1px solid var(--sec-clr-ln);\n &:hover { \n background-color: var(--cl-clr-bg__hvr);\n } \n ":"blue"===e?c+=`\n &, &:hover {\n background-color: var(--ck-clr-bg__act);\n color: var(--act-clr);\n }\n & ${me} {\n fill: #ffffff;\n stroke: #ffffff;\n }\n `:"nude"===e?c+="\n &, &:hover { \n background-color: var(--ter-clr-bg); \n } \n ":"clearL"===e?c+="\n width: auto;\n height: auto;\n color: var(--pri-clr-lnk__hvr);\n text-decoration: none;\n padding: 0;\n margin: 0;\n &, &:hover { \n background-color: transparent; \n }\n &:hover {\n opacity: .9;\n }\n ":"clearB"===e?c+=`\n background-color: var(--cl-clr-bg);\n color: var(--pri-clr-lnk__hvr);\n svg {\n fill: var(--pri-clr-lnk__hvr);\n stroke: var(--pri-clr-lnk__hvr);\n }\n & ${me} {\n width: 14px;\n height: 14px;\n margin-top: -7px;\n }\n &:disabled {\n span {color: var(--mt-clr);}\n }\n `:"clear"===e?(c+="\n box-shadow: none !important;\n &, &:hover { \n background-color: transparent; \n }\n ",i&&(c+="\n color: var(--pri-clr) !important;\n font-weight: 600;\n ")):"more"===e?c+=`\n padding: 8px;\n background-color: var(--mt-clr-bg__fc);\n &:before { \n content: url(data:image/svg+xml,%3Csvg%20width%3D%223%22%20height%3D%2213%22%20viewBox%3D%220%200%203%2013%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Ccircle%20cx%3D%221.5%22%20cy%3D%221.5%22%20r%3D%221.5%22%20fill%3D%22%235A5A5A%22%2F%3E%3Ccircle%20cx%3D%221.5%22%20cy%3D%226.5%22%20r%3D%221.5%22%20fill%3D%22%235A5A5A%22%2F%3E%3Ccircle%20cx%3D%221.5%22%20cy%3D%2211.5%22%20r%3D%221.5%22%20fill%3D%22%235A5A5A%22%2F%3E%3C%2Fsvg%3E);\n height: 14px;\n width: 14px;\n ${ge}\n }\n `:"round-close"===e?c+=`\n background-color: transparent;\n &:before { \n content: url(data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22iso-8859-1%22%3F%3E%3Csvg%20version%3D%221.1%22%20id%3D%22Capa_1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20x%3D%220px%22%20y%3D%220px%22%20%20viewBox%3D%220%200%20212.982%20212.982%22%20style%3D%22enable-background%3Anew%200%200%20212.982%20212.982%3B%20fill%3A%20rgb%2872%2C72%2C72%29%22%20xml%3Aspace%3D%22preserve%22%3E%20%3Cpath%20style%3D%22fill-rule%3Aevenodd%3Bclip-rule%3Aevenodd%3B%22%20d%3D%22M131.804%2C106.491l75.936-75.936c6.99-6.99%2C6.99-18.323%2C0-25.312%20%20c-6.99-6.99-18.322-6.99-25.312%2C0l-75.937%2C75.937L30.554%2C5.242c-6.99-6.99-18.322-6.99-25.312%2C0c-6.989%2C6.99-6.989%2C18.323%2C0%2C25.312%20%20l75.937%2C75.936L5.242%2C182.427c-6.989%2C6.99-6.989%2C18.323%2C0%2C25.312c6.99%2C6.99%2C18.322%2C6.99%2C25.312%2C0l75.937-75.937l75.937%2C75.937%20%20c6.989%2C6.99%2C18.322%2C6.99%2C25.312%2C0c6.99-6.99%2C6.99-18.322%2C0-25.312L131.804%2C106.491z%22%2F%3E%3C%2Fsvg%3E);\n width: 12px;\n ${ge}\n } \n `:"small-white-round-close"===e?c+=`\n background-color: transparent;\n &:before { \n content: url(data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22iso-8859-1%22%3F%3E%3Csvg%20version%3D%221.1%22%20id%3D%22Capa_1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20x%3D%220px%22%20y%3D%220px%22%20%20viewBox%3D%220%200%20212.982%20212.982%22%20style%3D%22enable-background%3Anew%200%200%20212.982%20212.982%3B%20fill%3A%20%23ffffff%22%20xml%3Aspace%3D%22preserve%22%3E%20%3Cpath%20style%3D%22fill-rule%3Aevenodd%3Bclip-rule%3Aevenodd%3B%22%20d%3D%22M131.804%2C106.491l75.936-75.936c6.99-6.99%2C6.99-18.323%2C0-25.312%20%20c-6.99-6.99-18.322-6.99-25.312%2C0l-75.937%2C75.937L30.554%2C5.242c-6.99-6.99-18.322-6.99-25.312%2C0c-6.989%2C6.99-6.989%2C18.323%2C0%2C25.312%20%20l75.937%2C75.936L5.242%2C182.427c-6.989%2C6.99-6.989%2C18.323%2C0%2C25.312c6.99%2C6.99%2C18.322%2C6.99%2C25.312%2C0l75.937-75.937l75.937%2C75.937%20%20c6.989%2C6.99%2C18.322%2C6.99%2C25.312%2C0c6.99-6.99%2C6.99-18.322%2C0-25.312L131.804%2C106.491z%22%2F%3E%3C%2Fsvg%3E);\n width: 8px;\n ${ge}\n } \n `:"page-option"===e&&(c+=`\n border: 1px solid var(--ck-clr-ln);\n background-color: transparent;\n font-weight: 600;\n cursor: pointer;\n border-radius: var(--ter-rd);\n padding: 6px 12px;\n height: 28px;\n & ${me} {\n width: 14px;\n height: 14px;\n margin-top: -7px;\n }\n `),a&&(c+="\n &, &:hover {\n background-color: var(--mt-clr-bg__fc) !important;\n cursor: default;\n color: var(--mt-clr);\n }\n "),s&&(c+=" padding-left: 35px; ","filter"===s?c+="\n &:before { \n content: url(data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20standalone%3D%22no%22%3F%3E%3C!DOCTYPE%20svg%20PUBLIC%20%22-%2F%2FW3C%2F%2FDTD%20SVG%2020010904%2F%2FEN%22%20%22http%3A%2F%2Fwww.w3.org%2FTR%2F2001%2FREC-SVG-20010904%2FDTD%2Fsvg10.dtd%22%3E%3Csvg%20version%3D%221.0%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22100%25%22%20height%3D%22100%25%22%20viewBox%3D%220%200%20512.000000%20512.000000%22%20preserveAspectRatio%3D%22xMidYMid%20meet%22%3E%3Cg%20transform%3D%22translate%280.000000%2C512.000000%29%20scale%280.100000%2C-0.100000%29%22fill%3D%22%23000000%22%20stroke%3D%22none%22%3E%3Cpath%20d%3D%22M940%204343%20c-174%20-29%20-331%20-159%20-391%20-323%20l-20%20-55%20-194%203%20c-217%203-257%20-3%20-300%20-48%20-25%20-26%20-30%20-40%20-30%20-80%200%20-40%205%20-54%2030%20-80%2043%20-45%2083%20-51300%20-48%20l195%203%2011%20-35%20c32%20-98%20110%20-202%20193%20-259%2065%20-45%20167%20-81%20248%20-87%20222-19%20431%20110%20515%20316%20l22%2055%201753%205%20c1718%205%201754%205%201785%2025%2034%2020%2063%2068%2063%201050%2037%20-29%2085%20-63%20105%20-31%2020%20-67%2020%20-1785%2025%20l-1753%205%20-22%2055%20c-89%20219%20-326352%20-557%20313z%20m159%20-259%20c104%20-30%20181%20-135%20181%20-244%200%20-188%20-204%20-314%20-370-230%20-89%2046%20-140%20128%20-140%20230%200%2076%2021%20129%2071%20178%2073%2074%20158%2096%20258%2066z%22%2F%3E%3Cpath%20d%3D%22M3991%203060%20c-171%20-36%20-329%20-182%20-385%20-352%20-5%20-17%20-97%20-18%20-1738%20-18-1111%200%20-1746%20-4%20-1769%20-10%20-19%20-5%20-48%20-24%20-65%20-41%20-24%20-25%20-29%20-39%20-29%20-79%200-40%205%20-54%2029%20-79%2017%20-17%2046%20-36%2065%20-41%2023%20-6%20658%20-10%201769%20-10%201641%200%201733%20-11738%20-17%2074%20-227%20297%20-379%20529%20-359%20210%2017%20380%20153%20448%20358%205%2015%2030%2017%20224%2020242%203%20254%206%20293%2071%2024%2039%2025%2066%204%20110%20-32%2066%20-53%2072%20-297%2075%20-194%203%20-219%205-224%2020%20-52%20157%20-171%20281%20-319%20333%20-68%2023%20-206%2033%20-273%2019z%20m218%20-269%20c90%20-47141%20-129%20141%20-231%200%20-102%20-51%20-184%20-140%20-230%20-166%20-84%20-370%2042%20-370%20230%200%20187205%20314%20369%20231z%22%2F%3E%3Cpath%20d%3D%22M2443%201776%20c-143%20-35%20-272%20-137%20-337%20-268%20-20%20-39%20-36%20-77%20-36%20-84%200-12%20-156%20-14%20-967%20-14%20-607%200%20-981%20-4%20-1004%20-10%20-19%20-5%20-48%20-24%20-65%20-41%20-24-25%20-29%20-39%20-29%20-79%200%20-40%205%20-54%2029%20-79%2017%20-17%2046%20-36%2065%20-41%2023%20-6%20397%20-101004%20-10%20811%200%20967%20-2%20967%20-14%200%20-7%2016%20-45%2036%20-84%2084%20-169%20268%20-282%20457%20-282202%201%20396%20133%20468%20320%20l24%2060%20985%202%20c931%203%20987%204%201013%2021%2034%2022%2067%2074%2067%201040%2037%20-30%2089%20-64%20109%20-30%2018%20-69%2019%20-1016%2022%20l-985%202%20-24%2060%20c-88%20230%20-347%20364-588%20306z%20m196%20-252%20c99%20-29%20181%20-140%20181%20-244%200%20-133%20-127%20-260%20-260%20-260-133%200%20-260%20127%20-260%20260%200%20101%2082%20215%20176%20244%2064%2019%2099%2019%20163%200z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E); \n position: absolute;\n left: 12px;\n top: 50%;\n margin-top: -8px;\n width: 14px;\n height: 16px;\n }\n ":"calendar"===s?c+=`\n &:before { \n content: url(${pe}); \n position: absolute;\n left: 12px;\n top: 50%;\n margin-top: -8px;\n width: 14px;\n height: 16px;\n }\n `:"add"===
|
|
226
|
+
${({$mode:e,$isIndicatorArrow:t,$isShown:n,$isLoading:r,$activated:i,$size:o,disabled:a,$iconLeft:s,$shadow:l})=>{let c="";return n?(l&&(c+="\n box-shadow: var(--act-shd-bx);\n "),o&&("xsmall"===o?c+="\n font-size: 12px;\n height: 20px;\n padding: 0 8px;\n ":"small"===o?c+="\n font-size: 13px;\n height: 28px;\n min-width: 75px;\n ":"medium"===o&&(c+="\n height: 32px;\n ")),"red"===e?c+=`\n color: var(--act-clr);\n background-color: var(--act-clr-bg);\n &:hover {\n background-color: var(--act-clr-bg__hvr);\n }\n & ${me} {\n fill: #ffffff;\n stroke: #ffffff;\n }\n `:"white"===e?c+="\n color: var(--mt-clr);\n background-color: var(--cl-clr-bg);\n border: 1px solid var(--sec-clr-ln);\n &:hover { \n background-color: var(--cl-clr-bg__hvr);\n } \n ":"blue"===e?c+=`\n &, &:hover {\n background-color: var(--ck-clr-bg__act);\n color: var(--act-clr);\n }\n & ${me} {\n fill: #ffffff;\n stroke: #ffffff;\n }\n `:"nude"===e?c+="\n &, &:hover { \n background-color: var(--ter-clr-bg); \n } \n ":"clearL"===e?c+="\n width: auto;\n height: auto;\n color: var(--pri-clr-lnk__hvr);\n text-decoration: none;\n padding: 0;\n margin: 0;\n &, &:hover { \n background-color: transparent; \n }\n &:hover {\n opacity: .9;\n }\n ":"clearB"===e?c+=`\n background-color: var(--cl-clr-bg);\n color: var(--pri-clr-lnk__hvr);\n svg {\n fill: var(--pri-clr-lnk__hvr);\n stroke: var(--pri-clr-lnk__hvr);\n }\n & ${me} {\n width: 14px;\n height: 14px;\n margin-top: -7px;\n }\n &:disabled {\n span {color: var(--mt-clr);}\n }\n `:"clear"===e?(c+="\n box-shadow: none !important;\n &, &:hover { \n background-color: transparent; \n }\n ",i&&(c+="\n color: var(--pri-clr) !important;\n font-weight: 600;\n ")):"more"===e?c+=`\n padding: 8px;\n background-color: var(--mt-clr-bg__fc);\n &:before { \n content: url(data:image/svg+xml,%3Csvg%20width%3D%223%22%20height%3D%2213%22%20viewBox%3D%220%200%203%2013%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Ccircle%20cx%3D%221.5%22%20cy%3D%221.5%22%20r%3D%221.5%22%20fill%3D%22%235A5A5A%22%2F%3E%3Ccircle%20cx%3D%221.5%22%20cy%3D%226.5%22%20r%3D%221.5%22%20fill%3D%22%235A5A5A%22%2F%3E%3Ccircle%20cx%3D%221.5%22%20cy%3D%2211.5%22%20r%3D%221.5%22%20fill%3D%22%235A5A5A%22%2F%3E%3C%2Fsvg%3E);\n height: 14px;\n width: 14px;\n ${ge}\n }\n `:"round-close"===e?c+=`\n background-color: transparent;\n &:before { \n content: url(data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22iso-8859-1%22%3F%3E%3Csvg%20version%3D%221.1%22%20id%3D%22Capa_1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20x%3D%220px%22%20y%3D%220px%22%20%20viewBox%3D%220%200%20212.982%20212.982%22%20style%3D%22enable-background%3Anew%200%200%20212.982%20212.982%3B%20fill%3A%20rgb%2872%2C72%2C72%29%22%20xml%3Aspace%3D%22preserve%22%3E%20%3Cpath%20style%3D%22fill-rule%3Aevenodd%3Bclip-rule%3Aevenodd%3B%22%20d%3D%22M131.804%2C106.491l75.936-75.936c6.99-6.99%2C6.99-18.323%2C0-25.312%20%20c-6.99-6.99-18.322-6.99-25.312%2C0l-75.937%2C75.937L30.554%2C5.242c-6.99-6.99-18.322-6.99-25.312%2C0c-6.989%2C6.99-6.989%2C18.323%2C0%2C25.312%20%20l75.937%2C75.936L5.242%2C182.427c-6.989%2C6.99-6.989%2C18.323%2C0%2C25.312c6.99%2C6.99%2C18.322%2C6.99%2C25.312%2C0l75.937-75.937l75.937%2C75.937%20%20c6.989%2C6.99%2C18.322%2C6.99%2C25.312%2C0c6.99-6.99%2C6.99-18.322%2C0-25.312L131.804%2C106.491z%22%2F%3E%3C%2Fsvg%3E);\n width: 12px;\n ${ge}\n } \n `:"small-white-round-close"===e?c+=`\n background-color: transparent;\n &:before { \n content: url(data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22iso-8859-1%22%3F%3E%3Csvg%20version%3D%221.1%22%20id%3D%22Capa_1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20x%3D%220px%22%20y%3D%220px%22%20%20viewBox%3D%220%200%20212.982%20212.982%22%20style%3D%22enable-background%3Anew%200%200%20212.982%20212.982%3B%20fill%3A%20%23ffffff%22%20xml%3Aspace%3D%22preserve%22%3E%20%3Cpath%20style%3D%22fill-rule%3Aevenodd%3Bclip-rule%3Aevenodd%3B%22%20d%3D%22M131.804%2C106.491l75.936-75.936c6.99-6.99%2C6.99-18.323%2C0-25.312%20%20c-6.99-6.99-18.322-6.99-25.312%2C0l-75.937%2C75.937L30.554%2C5.242c-6.99-6.99-18.322-6.99-25.312%2C0c-6.989%2C6.99-6.989%2C18.323%2C0%2C25.312%20%20l75.937%2C75.936L5.242%2C182.427c-6.989%2C6.99-6.989%2C18.323%2C0%2C25.312c6.99%2C6.99%2C18.322%2C6.99%2C25.312%2C0l75.937-75.937l75.937%2C75.937%20%20c6.989%2C6.99%2C18.322%2C6.99%2C25.312%2C0c6.99-6.99%2C6.99-18.322%2C0-25.312L131.804%2C106.491z%22%2F%3E%3C%2Fsvg%3E);\n width: 8px;\n ${ge}\n } \n `:"page-option"===e&&(c+=`\n border: 1px solid var(--ck-clr-ln);\n background-color: transparent;\n font-weight: 600;\n cursor: pointer;\n border-radius: var(--ter-rd);\n padding: 6px 12px;\n height: 28px;\n & ${me} {\n width: 14px;\n height: 14px;\n margin-top: -7px;\n }\n `),a&&(c+="\n &, &:hover {\n background-color: var(--mt-clr-bg__fc) !important;\n cursor: default;\n color: var(--mt-clr);\n }\n "),s&&(c+=" padding-left: 35px; ","filter"===s?c+="\n &:before { \n content: url(data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20standalone%3D%22no%22%3F%3E%3C!DOCTYPE%20svg%20PUBLIC%20%22-%2F%2FW3C%2F%2FDTD%20SVG%2020010904%2F%2FEN%22%20%22http%3A%2F%2Fwww.w3.org%2FTR%2F2001%2FREC-SVG-20010904%2FDTD%2Fsvg10.dtd%22%3E%3Csvg%20version%3D%221.0%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22100%25%22%20height%3D%22100%25%22%20viewBox%3D%220%200%20512.000000%20512.000000%22%20preserveAspectRatio%3D%22xMidYMid%20meet%22%3E%3Cg%20transform%3D%22translate%280.000000%2C512.000000%29%20scale%280.100000%2C-0.100000%29%22fill%3D%22%23000000%22%20stroke%3D%22none%22%3E%3Cpath%20d%3D%22M940%204343%20c-174%20-29%20-331%20-159%20-391%20-323%20l-20%20-55%20-194%203%20c-217%203-257%20-3%20-300%20-48%20-25%20-26%20-30%20-40%20-30%20-80%200%20-40%205%20-54%2030%20-80%2043%20-45%2083%20-51300%20-48%20l195%203%2011%20-35%20c32%20-98%20110%20-202%20193%20-259%2065%20-45%20167%20-81%20248%20-87%20222-19%20431%20110%20515%20316%20l22%2055%201753%205%20c1718%205%201754%205%201785%2025%2034%2020%2063%2068%2063%201050%2037%20-29%2085%20-63%20105%20-31%2020%20-67%2020%20-1785%2025%20l-1753%205%20-22%2055%20c-89%20219%20-326352%20-557%20313z%20m159%20-259%20c104%20-30%20181%20-135%20181%20-244%200%20-188%20-204%20-314%20-370-230%20-89%2046%20-140%20128%20-140%20230%200%2076%2021%20129%2071%20178%2073%2074%20158%2096%20258%2066z%22%2F%3E%3Cpath%20d%3D%22M3991%203060%20c-171%20-36%20-329%20-182%20-385%20-352%20-5%20-17%20-97%20-18%20-1738%20-18-1111%200%20-1746%20-4%20-1769%20-10%20-19%20-5%20-48%20-24%20-65%20-41%20-24%20-25%20-29%20-39%20-29%20-79%200-40%205%20-54%2029%20-79%2017%20-17%2046%20-36%2065%20-41%2023%20-6%20658%20-10%201769%20-10%201641%200%201733%20-11738%20-17%2074%20-227%20297%20-379%20529%20-359%20210%2017%20380%20153%20448%20358%205%2015%2030%2017%20224%2020242%203%20254%206%20293%2071%2024%2039%2025%2066%204%20110%20-32%2066%20-53%2072%20-297%2075%20-194%203%20-219%205-224%2020%20-52%20157%20-171%20281%20-319%20333%20-68%2023%20-206%2033%20-273%2019z%20m218%20-269%20c90%20-47141%20-129%20141%20-231%200%20-102%20-51%20-184%20-140%20-230%20-166%20-84%20-370%2042%20-370%20230%200%20187205%20314%20369%20231z%22%2F%3E%3Cpath%20d%3D%22M2443%201776%20c-143%20-35%20-272%20-137%20-337%20-268%20-20%20-39%20-36%20-77%20-36%20-84%200-12%20-156%20-14%20-967%20-14%20-607%200%20-981%20-4%20-1004%20-10%20-19%20-5%20-48%20-24%20-65%20-41%20-24-25%20-29%20-39%20-29%20-79%200%20-40%205%20-54%2029%20-79%2017%20-17%2046%20-36%2065%20-41%2023%20-6%20397%20-101004%20-10%20811%200%20967%20-2%20967%20-14%200%20-7%2016%20-45%2036%20-84%2084%20-169%20268%20-282%20457%20-282202%201%20396%20133%20468%20320%20l24%2060%20985%202%20c931%203%20987%204%201013%2021%2034%2022%2067%2074%2067%201040%2037%20-30%2089%20-64%20109%20-30%2018%20-69%2019%20-1016%2022%20l-985%202%20-24%2060%20c-88%20230%20-347%20364-588%20306z%20m196%20-252%20c99%20-29%20181%20-140%20181%20-244%200%20-133%20-127%20-260%20-260%20-260-133%200%20-260%20127%20-260%20260%200%20101%2082%20215%20176%20244%2064%2019%2099%2019%20163%200z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E); \n position: absolute;\n left: 12px;\n top: 50%;\n margin-top: -8px;\n width: 14px;\n height: 16px;\n }\n ":"calendar"===s?c+=`\n &:before { \n content: url(${pe}); \n position: absolute;\n left: 12px;\n top: 50%;\n margin-top: -8px;\n width: 14px;\n height: 16px;\n }\n `:"add"===s&&(c+="\n &:before { \n content: '+'; \n color: #118EC5;\n position: absolute;\n left: 12px;\n top: 7px;\n width: 14px;\n height: 16px;\n font-size: 16px;\n }\n ")),t&&(c+=" \n padding-right: 25px; \n "),r&&(c+=" \n padding-right: 30px !important; \n "),c):"display:none;"}}
|
|
227
227
|
|
|
228
228
|
`,me=a.default.svg`
|
|
229
229
|
display: inline-block;
|
|
@@ -2145,13 +2145,22 @@ r.version="2.30.1",i(Jn),r.fn=lo,r.min=$n,r.max=er,r.now=tr,r.utc=g,r.unix=co,r.
|
|
|
2145
2145
|
text-wrap: wrap;
|
|
2146
2146
|
word-wrap: break-word;
|
|
2147
2147
|
`,Xy=({data:e,heightContent:t,firstHeaderColumnsWidth:n,evCheckbox:r,headerColumns:i,switchEditor:o,totalColGroupWidth:a,lastHeaderColumnsWidth:s,evRemove:l,type:c,isRemovable:d})=>e.map(((e,u)=>{const h=t?e.variants.length*t:e.variants.length;let p=u;if("putaway-inbound"===c)p=e.id;else p=u;return x.jsxs(Ny,{className:"_refMasterTableBodyContent",style:{height:h},children:[x.jsxs("div",{className:"cell-colGroup",style:{height:h},children:[x.jsx("div",{className:"cell cell-checkbox",style:{width:n,height:h},children:x.jsxs("article",{children:[x.jsx("div",{children:u+1}),x.jsx(he,{id:`checkbox-list-${u}`,name:"checkbox-list",extendKey:u.toString(),onClick:r})]})},0),i.filter((e=>!(null==e?void 0:e.isHidden))).filter((e=>"colGroup"===e.type)).map(((t,n)=>{const r=e[t.key],i=n+1,a=(null==e?void 0:e[t.key+"_error"])||"",s=o(u,t,r,a,void 0,h,e);return x.jsx("div",{"data-idx":u,"data-key":t.key,className:`cell cell-${t.fieldType} ${a?"cell-error":""}`,style:{width:t.width,height:h},children:s},i)}))]},0),x.jsx("div",{className:"cell-rowGroup",style:{left:a,overflow:"hidden"},children:e.locations.map(((n,r)=>{var a;const h="create-adjustment"===c?r+"-"+((null===(a=n.batchId)||void 0===a?void 0:a.value)||"0")+"-"+(n.location||"0"):r;let p=[];return x.jsxs("div",{className:"cell-row","data-row":r,style:{height:t},children:[i.filter((e=>!(null==e?void 0:e.isHidden))).filter((e=>"colGroup"!==e.type)).map(((t,i)=>{var a,s,l,c,d;const h=i+1;let g=null,f="",m=!1,y=t.key.replace("locations-","");if(-1===y.indexOf("-"))g=n[y],f=(null===(s=null===(a=null==e?void 0:e.locations)||void 0===a?void 0:a[r])||void 0===s?void 0:s[y+"_error"])||"";else{const t=y.split("-"),i=t[0],o=t[1],a=n[i]?n[i].length:0;if(a){let t=0;p.filter((e=>e===y)).length&&(t=p.filter((e=>e===y)).length),g=a>t?n[i][t][o]:null,f=a>t?null===(c=null===(l=null==e?void 0:e.locations)||void 0===l?void 0:l[r])||void 0===c?void 0:c[i][t][o+"_error"]:null,p.push(y)}}"adjustLocation"!==(null==t?void 0:t.condition)&&"countAdjustment"!==(null==t?void 0:t.condition)||(null===(d=e.locations[r])||void 0===d?void 0:d.location)||(m=!0);const b=o(u,t,g,f,r);return x.jsx("div",{"data-idx":u,"data-key":t.key,"data-row":r,className:`cell cell-${t.fieldType} ${f?"cell-error":""} ${m?"cell-disabled":""}`,style:{width:t.width},children:b},h)})),d?x.jsx("div",{"data-idx":u,"data-key":"trash","data-row":r,className:"cell cell-trash",onClick:l,style:{width:s},children:x.jsx("div",{children:x.jsx(Ie,{$name:"trash",$width:"18px","data-qa-id":`mt-icon-trash-${u}${null!==r?"-"+r:""}`})})},i.length+1):null]},h)}))},1)]},p)})),zy=({data:e,firstHeaderColumnsWidth:t,evCheckbox:n,headerColumns:r,switchEditor:i,lastHeaderColumnsWidth:o,evRemove:a,type:s,isRemovable:l})=>e.map(((e,c)=>{var d;let u=c;switch(s){case"create-promotion":case"create-adjustment":case"create-price":case"create-inbound":case"create-outbound":case"create-transfer":case"confirm-adjustment":case"confirm-inbound":case"confirm-outbound":u=e.id;break;case"create-return":u=(null===(d=null==e?void 0:e.product)||void 0===d?void 0:d.id)||c;break;default:u=c}let h="";return"edit-picklist"===s?h=e.qtyOrdered===e.qtyPicked?"is-fullfilled":"":"create-package"===s?h=e.qtyOrdered===e.qtyPack?"is-fullfilled":"":"create-return"===s&&(h=e.qtyOrdered-e.qtyReturned===e.qtyToReturn?"is-fullfilled":""),x.jsx(Ny,{$mode:s,id:`row-${u}`,className:`_refMasterTableBodyContent ${h}`,children:x.jsxs("div",{className:"cell-colGroup",children:[x.jsx("div",{className:"cell cell-checkbox",style:{width:t},children:l?x.jsxs("article",{children:[x.jsx("div",{children:c+1}),x.jsx("div",{children:x.jsx(he,{id:`checkbox-list-${c}`,name:"checkbox-list",extendKey:c.toString(),onClick:n})})]}):x.jsx("div",{children:c+1})},0),r.filter((e=>!(null==e?void 0:e.isHidden))).filter((e=>"colGroup"===e.type)).map(((t,n)=>{const r=e[t.key],o=n+1,a=(null==e?void 0:e[t.key+"_error"])||"",l=i(c,t,r,a,void 0,"auto",e);let d=!1;if("create-price"===s&&"price"!==t.key&&"salePrice"!==t.key&&"item"!==t.key){const n=t.key.split("_");"salePrice"===n[1]||"saleStartAt"===n[1]||"saleEndAt"===n[1]?void 0===e[`${n[0]}_salePrice`]&&void 0===e[`${n[0]}_saleStartAt`]&&void 0===e[`${n[0]}_saleEndAt`]&&(d=!0):void 0===r&&(d=!0)}return x.jsx("div",{"data-idx":c,"data-key":t.key,className:`cell cell-${t.fieldType} ${d?"cell-disabled":""} ${a?"cell-error":""}`,style:{width:t.width},children:l},o)})),l?x.jsx("div",{"data-idx":c,"data-key":"trash",className:"cell cell-trash",style:{width:o},onClick:a,children:x.jsx("div",{children:x.jsx(Ie,{$name:"trash",$width:"18px","data-qa-id":`mt-icon-trash-${c}`})})},r.length+1):null]},0)},u)})),Zy=({head:t,value:n,height:r,evChange:i,idx:o,variantIdx:a,error:s,evCloseEditor:l})=>{const[c,d]=e.useState(!1),[u,h]=e.useState(n||null),[p,g]=e.useState(!0),[f,m]=e.useState(!1),y=e.useRef(null),b=t.format||"DD/MM/YYYY",C=`${t.key}-${o}${void 0!==a?"-"+a:""}`;e.useEffect((()=>{const e=n?Tx(n,b).toDate():n;h(e)}),[b,n]);const w=e.useCallback((e=>{const n=document.getElementById("cur-key"),r=n?n.innerHTML:"";r&&r===C&&(i(t,e,o,a),l((()=>{d(!1)})))}),[C,t,o,a,i,l]);e.useEffect((()=>{if(p)g(!1);else{const e=u?Tx(u).format(b):u;w(e)}}),[u,w,p,b]),e.useEffect((()=>{const e=document.body,t=e=>{if(!c)return!1;const t=e.target;return!t.closest(".react-datepicker")&&!t.closest(".cell-wrapper")&&(t.closest(".master-editor")?void 0:(h(u),void l((()=>{d(!1)}))))};return e.addEventListener("click",t),()=>e.removeEventListener("click",t)}),[u,c,l]);const A=`${t.name.toLowerCase().replaceAll(" ","-")}-${o}${void 0!==a?"-"+a:""}`;return c?x.jsx("div",{className:"master-editor",children:x.jsx(uy,Object.assign({ref:y,saveFormat:b,evChange:(e,t)=>{h(t),m(!0)},name:t.fieldType+"_"+t.key},u&&{value:u},{isError:!!s,isForceUpdate:f,setForceUpdate:m,"data-qa-id":`mt-field-date-${A}`},(null==t?void 0:t.allowEmpty)&&{allowEmpty:t.allowEmpty},(null==t?void 0:t.showFormat)&&{showFormat:t.showFormat}))}):x.jsx("section",{onClick:e=>{e.preventDefault();const t=e.target;if(t.closest(".cell-disabled"))return!1;const n=document.getElementById("cur-key");n&&(n.innerHTML=C),d(!c);const r=t.closest(".cell");c?r&&r.classList.remove("cell-editing"):r&&r.classList.add("cell-editing")},className:"cell-wrapper",children:t.multiline?x.jsxs(x.Fragment,{children:[!u&&s?x.jsx(v,{$color:"blue",style:{fontWeight:500},children:"+ Add"}):x.jsx("div",{className:"truncate-overflow",style:{maxHeight:r?parseInt(r)-34:"auto"},"data-qa-id":`mt-input-label-${A}`,children:(null==t?void 0:t.showFormat)&&u?Tx(u,b).format(t.showFormat):u}),s&&x.jsx(sh,{$mode:"table",children:s})]}):x.jsxs(x.Fragment,{children:[!u&&s?x.jsx(v,{$color:"blue",style:{fontWeight:500},children:"+ Add"}):x.jsx("div",{"data-qa-id":`mt-input-label-${A}`,children:(null==t?void 0:t.showFormat)&&u?Tx(u,b).format(t.showFormat):u}),s&&x.jsx(sh,{$mode:"table",children:s})]})})},Qy=({head:t,value:n,evChange:r,idx:i,variantIdx:o,error:a,isForceUpdate:s,setForceUpdate:l})=>{const c=`${t.key}-${i}${void 0!==o?"-"+o:""}`,d=e.useCallback((e=>{const n=document.getElementById("cur-key"),a=n?n.innerHTML:"";a&&a===c&&r(t,e,i,o)}),[c,t,i,o,r]),u=t.format||"DD/MM/YYYY",h=`${t.name.toLowerCase().replaceAll(" ","-")}-${i}${void 0!==o?"-"+o:""}`,p=n?Tx(n,u).toDate():n;return x.jsx("div",{className:"master-editor",children:void 0===n&&"sale"===(null==t?void 0:t.condition)?x.jsx(v,{$color:"grey",children:"No Listing yet!"}):x.jsx(uy,Object.assign({saveFormat:u,evChange:(e,t)=>{const n=document.getElementById("cur-key");n&&(n.innerHTML=c);const r=t?Tx(t).format(u):t;d(r)},name:t.fieldType+"_"+t.key,value:p},(null==t?void 0:t.allowEmpty)&&{allowEmpty:!0},a&&{isError:!0,"data-tip":a,"data-place":"top","data-type":"error"},{isForceUpdate:s,setForceUpdate:l,"data-qa-id":`mt-field-date-${h}`},(null==t?void 0:t.showFormat)&&{showFormat:t.showFormat}))})},Uy=({head:t,value:n,height:r,evChange:i,idx:o,variantIdx:a,error:s,evCloseEditor:l,content:c})=>{const[d,u]=e.useState(!1),[h,p]=e.useState(n||""),[g,f]=e.useState(!0);e.useEffect((()=>{p(n)}),[n]);const m=`${t.key}-${o}${void 0!==a?"-"+a:""}`,y=e.useCallback((e=>{const n=document.getElementById("cur-key"),r=n?n.innerHTML:"";r&&r===m&&(i(t,e,o,a),l((()=>{u(!1)})))}),[m,t,o,a,i,l]);e.useEffect((()=>{g?f(!1):y(h)}),[h,y,g]);const b=z((e=>{}),250),C=e=>{const n=e.value,r="Integer"===t.typeData?!h&&!n||parseInt(h)===parseInt(n):h===n;p(n),r&&l((()=>{u(!1)}))},w=`${t.name.toLowerCase().replaceAll(" ","-")}-${o}${void 0!==a?"-"+a:""}`,A="Currency"===t.typeData||"Integer"===t.typeData?null!==h?h:"":h?"string"==typeof h?h.toString().trim():h:"";let F=x.jsx("div",{"data-qa-id":`mt-input-label-${w}`,children:K(n,t.key)});if("priceAdjustment"===(null==t?void 0:t.condition)||"priceAdjustment-sale"===(null==t?void 0:t.condition)){let e=parseInt(n||0)-parseInt(c[`${t.key}_base`]||0),r=q(e);e>0?r="+"+q(e):0===e&&(r=""),F=x.jsxs("div",{children:[x.jsx("div",{"data-qa-id":`mt-input-label-${w}`,children:K(n,t.key)}),0!==e&&null!==e&&!s&&x.jsx(Hy,{style:{color:X(e)},children:r})]})}return d?x.jsx("div",{className:"master-editor",children:t.multiline?x.jsx(Ah,{name:t.fieldType+"_"+t.key,defaultValue:h,evChange:e=>{b(e.target)},evBlur:e=>{b(e.target),C(e.target)}}):x.jsx(ae,Object.assign({type:"Integer"===t.typeData?"number":"text"},"Currency"===t.typeData&&{mode:"currency"},{name:t.fieldType+"_"+t.key,defaultValue:h,evChange:e=>{b(e.target)},evBlur:e=>{b(e.target),C(e.target)},evKeyUp:e=>{if("Enter"===e.key){e.preventDefault();const n=e.currentTarget.value,r="Integer"===t.typeData?parseInt(h)===parseInt(n):h===n;return p(n),void(r&&l((()=>{u(!1)})))}},"data-qa-id":`mt-input-${w}`}))}):x.jsx("section",{onClick:e=>{e.preventDefault();const t=e.target;if(t.closest(".cell-disabled"))return!1;const n=document.getElementById("cur-key");n&&(n.innerHTML=m),u(!d);const r=t.closest(".cell");d?r&&r.classList.remove("cell-editing"):r&&r.classList.add("cell-editing"),setTimeout((()=>{const e=r.querySelector("input");e&&e.focus(),e&&e.select()}),1)},className:"cell-wrapper",children:t.multiline?x.jsxs(x.Fragment,{children:[""===A&&s?x.jsx(v,{$color:"blue",style:{fontWeight:500},children:"+ Add"}):x.jsx("div",{className:"truncate-overflow","data-qa-id":`mt-input-label-${w}`,style:{maxHeight:r?parseInt(r)-34:"auto"},children:K(n,t.key)}),s&&x.jsx(sh,{$mode:"table",children:s})]}):x.jsxs(x.Fragment,{children:[""===A&&s?x.jsx(v,{$color:"blue",style:{fontWeight:500},children:"+ Add"}):F,s&&x.jsx(sh,{$mode:"table",children:s})]})})},Jy=({head:t,value:n,evChange:r,idx:i,variantIdx:o,error:a,content:s,type:l,isForceUpdate:c,setForceUpdate:d})=>{const u=`${t.key}-${i}${void 0!==o?"-"+o:""}`,h=e.useCallback((e=>{const n=document.getElementById("cur-key"),a=n?n.innerHTML:"";a&&a===u&&r(t,e,i,o)}),[u,t,i,o,r]),p=z((e=>{}),250),g=e=>{h(e.value)},f=e=>{if("Enter"===e.key)return e.preventDefault(),void h(e.currentTarget.value)},m=e=>{e.persist(),setTimeout((()=>{const t=e.target,n=t.value;""!==n&&null!=n&&(t&&t.focus(),t&&t.select())}),1);const t=document.getElementById("cur-key");t&&(t.innerHTML=u)},y=K(n,t.key),b=["shipping","platformRebate"],v=t.multiline?x.jsx(Ah,Object.assign({name:t.fieldType+"_"+t.key,defaultValue:n,evChange:e=>{p(e.target)},evBlur:e=>{p(e.target),g(e.target)},onClick:e=>{e.persist();const t=document.getElementById("cur-key");t&&(t.innerHTML=u)}},a&&{isError:!0,"data-tip":a,"data-place":"top","data-type":"error"})):x.jsx(ae,Object.assign({type:"Integer"===t.typeData?"number":"text",name:t.fieldType+"_"+t.key,defaultValue:n,evChange:e=>{p(e.target)},evBlur:e=>{p(e.target),g(e.target)},onKeyUp:f,onClick:m,onFocus:m,isForceUpdate:c,setForceUpdate:d,"data-qa-id":`mt-input-${t.name.toLowerCase().replaceAll(" ","-")}-${i}${void 0!==o?"-"+o:""}`},"Currency"===t.typeData&&{mode:"currency",aliasLabel:b.includes(t.key)?"+":"-"},t.placeholder&&{placeholder:t.placeholder},a&&{isError:!0,"data-tip":a,"data-place":"top","data-type":"error"}));let C=x.jsx("div",{className:"master-editor",children:v});return"countAdjustment"===(null==t?void 0:t.condition)?C=x.jsx("div",{className:"master-editor",children:x.jsxs(x.Fragment,{children:[v,null!==n&&n<s.qtyReserved&&x.jsx(Vy,{style:{color:"red"},children:"Qty Available'll be minus"})]})}):"countOutbound"===(null==t?void 0:t.condition)&&(C=x.jsx("div",{className:"master-editor",children:x.jsxs(x.Fragment,{children:[v,null!==n&&n>s.qtyOnHand&&x.jsx(Vy,{style:{color:"red"},children:"Qty On Hand'll be minus"})]})})),"create-paymentreceive"===l?x.jsx(ae,Object.assign({type:"Integer"===t.typeData?"number":"text",disabled:s.orderCashless&&"shipping"===t.key||!1,name:t.fieldType+"_"+t.key,defaultValue:y,evChange:e=>{p(e.target)},evBlur:e=>{p(e.target),g(e.target)},evKeyUp:f,onClick:m,onFocus:m,"data-qa-id":`mt-input-${t.name.toLowerCase().replaceAll(" ","-")}-${i}${void 0!==o?"-"+o:""}`},"Currency"===t.typeData&&{mode:"currency",aliasLabel:b.includes(t.key)?"+":"-"},t.placeholder&&{placeholder:t.placeholder},a&&{isError:!0,"data-tip":a,"data-place":"top","data-type":"error"})):C},qy=({head:t,value:n,evChange:r,evOpenPopup:i,idx:o,variantIdx:a,resultPopup:s,setResultPopup:l,error:c,evCloseEditor:d})=>{const u=`${t.key}-${o}${void 0!==a?"-"+a:""}`,h=e.useCallback((e=>{const n=document.getElementById("cur-key"),i=n?n.innerHTML:"";i&&i===u&&(r(t,e,o,a),d())}),[u,t,o,a,r,d]);e.useEffect((()=>(s&&"image"in s&&(l&&l(null),h(s.image)),()=>{l&&l(null)})),[s,l,h]);return x.jsxs("section",{className:"cell-wrapper",onClick:e=>{e.preventDefault();const t=e.target;if(t.closest(".cell-disabled"))return!1;const n=document.getElementById("cur-key");n&&(n.innerHTML=u);const r=t.closest(".cell");r&&r.classList.add("cell-editing"),i&&i(e,"cell-wrapper")},"data-popup":"table-image","data-detail":JSON.stringify({title:t.name,value:n,head:t}),children:[c&&-1===c.indexOf("minimum")&&-1===c.indexOf("maximum")?x.jsx(v,{$color:"blue",style:{fontWeight:500},children:"+ Add"}):x.jsx("div",{children:n&&x.jsx("figure",{className:"table-image-figure","data-qa-id":`mt-image-${t.name.toLowerCase().replaceAll(" ","-")}-${o}${void 0!==a?"-"+a:""}`,children:x.jsx(mo,{src:Array.isArray(n)?n[0]:n})})}),c&&x.jsx(sh,{$mode:"table",children:c.replace("Product","")})]})},_y=({head:e,value:t,height:n,idx:r,evOpenPopup:i,content:o,type:a})=>{let s=t?"object"==typeof(l=t)&&!Array.isArray(l)&&null!==l&&Object.keys(t).length?t[Object.keys(t)[0]]:t:"Integer"===e.typeData?t.toString():"";var l;let c;if("product"===(null==e?void 0:e.condition)){const e=t.imageUrl?Array.isArray(t.imageUrl)&&t.imageUrl.length?t.imageUrl[0]:t.imageUrl:"";c=x.jsx("section",{className:"cell-wrapper",children:x.jsxs(Oy,{children:[x.jsxs("section",{children:[x.jsx("figure",{className:"table-image-figure",children:x.jsx(mo,{src:e})}),x.jsxs("div",{children:[x.jsx(Ly,{children:t.name}),t.totalVariant&&x.jsxs("span",{className:"counter-product-label",children:[t.totalVariant," variants"]})]})]}),x.jsxs("section",{children:[x.jsxs("div",{children:[x.jsx(Zx,{$size:"medium",children:"Category: "})," ",t.category||"No Category"]}),x.jsxs("div",{children:[x.jsx(Zx,{$size:"medium",children:"Brand: "})," ",t.brand||"No Brand"]})]})]})})}else if("addVariant"===(null==e?void 0:e.condition))c=x.jsx("section",{className:"cell-wrapper","data-detail":JSON.stringify({idx:r,data:o}),"data-popup":"add-variant-master",children:x.jsx(Py,{$mode:"add",children:x.jsx("div",{onClick:e=>i&&i(e,"cell-wrapper"),children:x.jsx(v,{color:"blue",title:"Add Variant",style:{fontWeight:500},children:"+ Add"})})})});else if("item"===(null==e?void 0:e.condition)){const e=t.imageUrl?Array.isArray(t.imageUrl)&&t.imageUrl.length?t.imageUrl[0]:t.imageUrl:"";c=x.jsx("section",{className:"cell-wrapper",children:x.jsxs(Ty,{children:[x.jsx(Kx,{$size:"30px",children:x.jsx(mo,{alt:t.name,$mode:"product",src:e||""})}),x.jsxs("div",{children:[x.jsx(Ly,{children:x.jsx("strong",{children:t.name})}),t.sku&&x.jsxs(Zx,{$size:"medium",children:[x.jsx("span",{children:"SKU:"}),x.jsx(L,{target:"_blank",href:`https://app.forstok.com/dashboard/items/master/${encodeURIComponent(t.sku)}?src=sku`,children:t.sku})]})]})]})})}else if("productPicklist"===(null==e?void 0:e.condition)){const e=t.imageUrl?Array.isArray(t.imageUrl)&&t.imageUrl.length?t.imageUrl[0]:t.imageUrl:"";c=x.jsx("section",{className:"cell-wrapper",children:x.jsxs(Ty,{children:[x.jsx(Kx,{$size:"30px",children:x.jsx(mo,{alt:t.name,$mode:"product",src:e||""})}),x.jsxs("div",{style:{display:"grid",gridGap:"4px"},children:[x.jsx(v,{style:{fontWeight:600},children:t.name}),x.jsxs(Zx,{$size:"medium",children:[x.jsx("span",{children:"SKU:"}),t.sku?x.jsx(L,{target:"_blank",href:`https://app.forstok.com/dashboard/items/master/${encodeURIComponent(t.sku)}?src=sku`,children:t.sku}):"-"]}),x.jsxs(Zx,{$size:"medium",children:[x.jsx("span",{children:"UPC:"}),t.barcode||"-"]})]})]})})}else if("option"===(null==e?void 0:e.condition))c=x.jsx(v,{$elipsis:!1,className:"multi-elipsis",children:t||"-"});else if("adjustment"===(null==e?void 0:e.condition)){let t=o.quantity-o.availableQuantity;t>0?t="+"+t:0===t&&(t=""),c=x.jsx(v,{$elipsis:!1,id:`text-${e.key}-${r}`,className:"multi-elipsis",style:Object.assign({display:"inline"},(null==e?void 0:e.align)&&{textAlign:e.align}),children:t||"-"})}else if("countAdjustment"===(null==e?void 0:e.condition)){let t=0;null!==o.quantity&&void 0!==o.quantity&&(t=o.quantity-o.qtyOnHand);const n=t>0?"+"+t:t;c=t?x.jsx(Hy,{id:`text-${e.key}-${r}`,className:"multi-elipsis",style:{color:X(t),textAlign:(null==e?void 0:e.align)||";eft"},children:n}):x.jsx(x.Fragment,{})}else c="store"===(null==e?void 0:e.condition)?x.jsx("section",{className:"cell-wrapper",children:x.jsx(Wy,{children:x.jsxs("section",{children:[t.channelImage?x.jsx(mo,{$mode:"store",alt:t.channelName,src:t.channelImage,width:"30px"}):x.jsx(qx,{style:{fontSize:"10px",width:"30px",height:"30px",backgroundColor:t.channelColor||"#000000"},children:t.channelInitials}),x.jsxs("div",{children:[x.jsx("strong",{className:"multi-elipsis",title:null==t?void 0:t.accountName,children:(null==t?void 0:t.accountName)||"-"}),x.jsxs(L,{target:"_blank",href:`https://app.forstok.com/dashboard/invoices/salesinvoices/${o.invoiceId}`,children:["INV-",o.invoiceId]})]})]})})}):x.jsx("section",{className:"cell-wrapper",children:x.jsx("div",Object.assign({className:"truncate-overflow"},n&&"auto"!==n&&{style:{maxHeight:n?parseInt(n)-34:"auto"}},(null==e?void 0:e.align)&&{style:{textAlign:e.align}},{children:s}))});return c},Ky=({head:t,value:n,height:r,evChange:i,idx:o,variantIdx:a,error:s,evCloseEditor:l})=>{var c,d;const[u,h]=e.useState(!1),[p,g]=e.useState(null),[f,m]=e.useState(null!==n||void 0!==n?n:""),[y,b]=e.useState(!1),[C,w]=e.useState(!0),A=`${t.key}-${o}${void 0!==a?"-"+a:""}`,F=e.useCallback((e=>{const n=document.getElementById("cur-key"),r=n?n.innerHTML:"";r&&r===A&&(i(t,e,o,a),l&&l((()=>{h(!1)})))}),[A,t,o,a,i,l]);e.useEffect((()=>{C?y?F(f):w(!1):F(f)}),[f,F,C,y]),e.useEffect((()=>{const e=document.body,t=e=>{if(!u)return!1;const t=e.target,n=t.dataset.id||"";return(!n||!/^react-select/.test(n))&&(t.closest(".master-editor ._refContainer")?void 0:(m(f),void l((()=>{h(!1)}))))};return e.addEventListener("click",t),()=>{e.removeEventListener("click",t)}}),[f,u,l]);e.useEffect((()=>{if(!p){const e=document.getElementById("master-categories"),n=(null==t?void 0:t.schema)&&"master_category"===t.schema?""!==e.innerHTML?JSON.parse(te(e.innerHTML)):[]:t.options||[];g&&g(n)}}),[t,p]);const k="Boolean"===t.typeData?(null===(c=t.options)||void 0===c?void 0:c.filter((e=>e.value===n)).length)?t.options.filter((e=>e.value===n))[0]:n:n?"string"==typeof n?{value:n,label:n}:n:{},B="Boolean"===t.typeData&&(null===(d=t.options)||void 0===d?void 0:d.filter((e=>e.value===n)).length)?t.options.filter((e=>e.value===n))[0].label:n,I=`${t.name.toLowerCase().replaceAll(" ","-")}-${o}${void 0!==a?"-"+a:""}`;return u?x.jsx("div",{className:"master-editor",children:x.jsx(oh,Object.assign({options:p,defaultValue:k,mode:"small-table",name:t.fieldType+"_"+t.key,evCreate:e=>{m(e),b(!0)},evChange:e=>{const t=e;(null==t?void 0:t.value)&&m(t.value),b(!0)},isForceUpdate:y,setForceUpdate:b,"data-qa-id":`mt-select-${I}`},"category"===t.key&&{isCreateable:!0}))}):x.jsx("section",{onClick:e=>{e.preventDefault();const t=e.target;if(t.closest(".cell-disabled"))return!1;const n=document.getElementById("cur-key");n&&(n.innerHTML=A),h(!u);const r=t.closest(".cell");u?r&&r.classList.remove("cell-editing"):r&&r.classList.add("cell-editing")},className:"cell-wrapper",children:t.multiline?x.jsxs(x.Fragment,{children:[""===f&&s?x.jsx(v,{$color:"blue",style:{fontWeight:500},children:"+ Add"}):x.jsx("div",{className:"truncate-overflow","data-qa-id":`mt-select-label-${I}`,style:{maxHeight:r?parseInt(r)-34:"auto"},children:B}),s&&x.jsx(sh,{$mode:"table",children:s})]}):x.jsxs(x.Fragment,{children:[""===f&&s?x.jsx(v,{$color:"blue",style:{fontWeight:500},children:"+ Add"}):x.jsx("div",{"data-qa-id":`mt-select-label-${I}`,children:B}),s&&x.jsx(sh,{$mode:"table",children:s})]})})},$y=({head:t,value:n,evChange:r,idx:i,variantIdx:o,error:a,isForceUpdate:s,setForceUpdate:l,content:c})=>{var d,u;const[h,p]=e.useState(null),g=`${t.key}-${i}${void 0!==o?"-"+o:""}`,f=e.useCallback((e=>{const n=document.getElementById("cur-key"),a=n?n.innerHTML:"";a&&a===g&&r(t,e,i,o)}),[g,t,i,o,r]),m=e.useCallback((()=>{let e=[];if(null==c?void 0:c.dataLocations)if("locations-batchId"===t.key){const t=c.dataLocations.filter((e=>{var t,n;return e.location===(null===(n=null===(t=c.locations)||void 0===t?void 0:t[o||0])||void 0===n?void 0:n.location)}));t.length&&(e=t.map((e=>e.batchId)).filter(((e,t,n)=>n.indexOf(e)===t)).map((e=>({value:e,label:e}))))}else if("locations-expiryDate"===t.key){const t=c.dataLocations.filter((e=>{var t,n,r,i;return e.location===(null===(n=null===(t=c.locations)||void 0===t?void 0:t[o||0])||void 0===n?void 0:n.location)&&e.batchId===(null===(i=null===(r=c.locations)||void 0===r?void 0:r[o||0])||void 0===i?void 0:i.batchId.value)}));t.length&&(e=t.map((e=>({value:e.expiryDate,label:Tx(e.expiryDate,"YYYY-MM-DD HH:mm:ss ZZ").format("D MMM YYYY, hh:mm A")}))))}return e}),[c,t,o]);e.useEffect((()=>{if(!h){const e=document.getElementById("master-categories");let n=[];if("qtyToReturn"===(null==t?void 0:t.condition)){const e=c.qtyOrdered-c.qtyReturned;for(let t=0;t<=e;t++)n.push({value:t,label:t})}else n=(null==t?void 0:t.schema)?"master_category"===t.schema&&""!==(null==e?void 0:e.innerHTML)?JSON.parse(te(null==e?void 0:e.innerHTML)):[]:m().length?m():t.options||[];p(n)}}),[c,m,t,h]),e.useEffect((()=>{if(s){const e=m();e.length&&p(e),l&&l(!1)}}),[c,m,t,s,l,o]);const y="qtyToReturn"===(null==t?void 0:t.condition)?{value:n,label:n}:"Boolean"===t.typeData?(null===(d=t.options)||void 0===d?void 0:d.filter((e=>e.value===n)).length)?t.options.filter((e=>e.value===n))[0]:n:n?"string"==typeof n?{value:n,label:n}:n:{},b=`${t.name.toLowerCase().replaceAll(" ","-")}-${i}${void 0!==o?"-"+o:""}`;return"adjustLocation"!==(null==t?void 0:t.condition)||(null===(u=c.locations[o||0])||void 0===u?void 0:u.location)?x.jsx("div",{className:"master-editor",children:x.jsx(oh,Object.assign({},"category"===t.key&&{isCreateable:!0},{options:h,defaultValue:y,mode:"small-table",name:t.fieldType+"_"+t.key,evCreate:e=>{const t=document.getElementById("cur-key");t&&(t.innerHTML=g),f(e),l&&l(!0)},evChange:e=>{const n=e,r=document.getElementById("cur-key");r&&(r.innerHTML=g),"qtyToReturn"===(null==t?void 0:t.condition)?f(null==n?void 0:n.value):f(n),l&&l(!0)},isForceUpdate:s,setForceUpdate:l,"data-qa-id":`mt-select-${b}`},a&&{isError:!0,"data-tip":a,"data-place":"top","data-type":"error"},{placeholder:`Select ${t.name}`}))}):null},eb=({head:t,value:n,evChange:r,idx:i,variantIdx:o,evCloseEditor:a})=>{const[s,l]=e.useState(n||!1),[c,d]=e.useState(!0),u=`${t.name.toLowerCase().replaceAll(" ","-")}-${i}${void 0!==o?"-"+o:""}`;e.useEffect((()=>{const e=document.getElementById(`${t.fieldType}_${u}`);e&&(e.checked=n),l(n)}),[n,t,u]);const h=`${t.key}-${i}${void 0!==o?"-"+o:""}`,p=e.useCallback((e=>{const n=document.getElementById("cur-key"),s=n?n.innerHTML:"";s&&s===h&&(r(t,e,i,o),a())}),[h,t,i,o,r,a]);e.useEffect((()=>{c?d(!1):p(s)}),[s,p,c]);const g=s;return x.jsx("div",{className:"master-editor",children:x.jsx(by,{name:t.fieldType+"_"+t.key,id:`${t.fieldType}_${u}`,"aria-label":t.name,value:s.toString(),defaultChecked:g,"data-qa-id":`mt-checkbox-${u}`,evChange:e=>{(e=>{const t=document.getElementById("cur-key");t&&(t.innerHTML=h);const n=e.closest(".cell");n&&n.classList.add("cell-editing");const r=e.checked,i=s===r;l(r),i&&a()})(e.target)}})})},tb=({head:t,value:n,height:r,evChange:i,evOpenPopup:o,idx:a,variantIdx:s,resultPopup:l,setResultPopup:c,evCloseEditor:d})=>{const u=`${t.key}-${a}${void 0!==s?"-"+s:""}`,h=e.useCallback((e=>{const n=document.getElementById("cur-key"),r=n?n.innerHTML:"";r&&r===u&&(i(t,e,a,s),d())}),[u,t,a,s,i,d]);e.useEffect((()=>{l&&"tag"in l&&(c&&c(null),h(l.tag))}),[l,c,h]);return x.jsx("section",{className:"cell-wrapper",onClick:e=>{e.preventDefault();const t=e.target;if(t.closest(".cell-disabled"))return!1;const n=document.getElementById("cur-key");n&&(n.innerHTML=u);const r=t.closest(".cell");r&&r.classList.add("cell-editing"),o&&o(e,"cell-wrapper")},"data-popup":"table-tag","data-detail":JSON.stringify({title:t.name,value:n}),children:x.jsx("div",{className:"truncate-overflow",style:{maxHeight:r?parseInt(r)-34:"auto"},children:n&&n.map(((e,t)=>x.jsx("span",{children:e},t)))})})},nb=({value:e,height:t})=>x.jsx("section",{className:"cell-wrapper",children:x.jsx("div",Object.assign({className:"truncate-overflow"},t&&"auto"!==t&&{style:{maxHeight:t?parseInt(t)-34:"auto"}},{children:e}))}),rb=t.css`
|
|
2148
|
+
display: grid;
|
|
2149
|
+
grid-template-columns: 1fr;
|
|
2150
|
+
align-items: center;
|
|
2151
|
+
padding: 14px 16px 13px;
|
|
2152
|
+
border-bottom: 1px solid var(--pri-clr-ln);
|
|
2153
|
+
`,ib=a.default.div`
|
|
2154
|
+
${rb}
|
|
2155
|
+
${({$mode:e,$selected:t,$type:n})=>{let r="";return"check"===e||"uncheck"===e?(r+="order"===n||"return"===n?"\n grid-template-columns: 24px 38px 50% 30%;\n @media (min-width: 375px) {\n grid-template-columns: 24px 38px 50% 32%;\n }\n @media (min-width: 425px) {\n grid-template-columns: 24px 38px 50% 34%;\n }\n @media (min-width: 768px) {\n grid-template-columns: 24px 38px 2.5fr 1.5fr;\n }\n ":"confirm"===n?"\n grid-template-columns: 24px 38px 3.5fr 25px 1fr;\n \n div:nth-child(3) {\n grid-row-start: 1;\n }\n div:nth-child(4) {\n grid-row-start: 1;\n grid-row-end: 3;\n justify-self: center;\n padding-top: 8px;\n padding-left: 4px;\n }\n ":"item"===n||"price"===n?"\n grid-auto-flow: column;\n grid-template-columns: 24px 38px auto 100px 158px 100px;\n ._refCheckboxWrapper, figure {\n grid-row: unset !important;\n }\n *:nth-child(3) {\n padding-right: 1em;\n }\n ":"\n grid-template-columns: 24px 38px 3fr 1fr;\n ",r+="\n align-items: center;\n :hover {\n background-color: var(--hg-clr-bg);\n }\n ._refCheckboxWrapper {\n grid-row-start: 1;\n grid-row-end: 4;\n }\n figure {\n grid-row-start: 1;\n grid-row-end: 4;\n }\n &.is-selected {\n &, &:hover {\n background-color: var(--hg-clr-bg__fc); \n }\n }\n "):"clear"===e?r+="\n display: block;\n padding: 4px 16px;\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n font-size: 13px;\n line-height: 21px\n text-transform: uppercase;\n @media (min-width: 425px) {\n font-size: 13px;\n }\n ":"remove"===e&&(r+="\n grid-template-columns: 40px 3fr 1fr 20px;\n align-items:start;\n padding: 14px 16px 13px;\n @media (min-width: 768px) {\n grid-template-columns: 40px 3fr 1fr 30px;\n padding: 12px 16px;\n }\n figure {\n grid-row-start: 1;\n grid-row-end: 4;\n }\n i {\n display: grid;\n justify-content: end;\n }\n &, &:hover {\n background-color: var(--hg-clr-bg__fc); \n }\n "),"uncheck"===e&&(r+="\n figure {\n grid-column-start: 2;\n }\n div:nth-child(2) {\n grid-column-start: 3;\n }\n div:nth-child(3) {\n grid-column-start: 4;\n }\n div:nth-child(4) {\n grid-column-start: 3;\n }\n div:nth-child(5) {\n grid-column-start: 4;\n }\n "),"check"===e&&t&&(r+=" \n &, &:hover {\n background-color: var(--hg-clr-bg__fc); \n }\n "),r+=" cursor: pointer; ",r}}
|
|
2156
|
+
`,ob=t.css`
|
|
2148
2157
|
display: grid;
|
|
2149
2158
|
grid-row-gap: 12px;
|
|
2150
2159
|
grid-column-gap: 16px;
|
|
2151
2160
|
width: 100%;
|
|
2152
2161
|
margin-bottom: 12px;
|
|
2153
2162
|
align-items: start;
|
|
2154
|
-
`,
|
|
2163
|
+
`,ab=a.default.form.attrs((e=>({name:e.name||"form",autoComplete:e.autoComplete||"off"})))`
|
|
2155
2164
|
display: inline-grid;
|
|
2156
2165
|
grid-auto-flow: row;
|
|
2157
2166
|
grid-gap: 25px;
|
|
@@ -2166,8 +2175,8 @@ r.version="2.30.1",i(Jn),r.fn=lo,r.min=$n,r.max=er,r.now=tr,r.utc=g,r.unix=co,r.
|
|
|
2166
2175
|
}
|
|
2167
2176
|
}
|
|
2168
2177
|
${({name:e})=>{let t="";return"invoiceForm"===e&&(t+="\n grid-gap: 15px;\n "),t}}
|
|
2169
|
-
`,
|
|
2170
|
-
${
|
|
2178
|
+
`,sb=a.default.section`
|
|
2179
|
+
${ob}
|
|
2171
2180
|
${({$width:e})=>{let t="";return e&&(t+=` \n @media (min-width: 768px) {\n width: ${e}; \n }\n `),t}}
|
|
2172
2181
|
`
|
|
2173
2182
|
/*! *****************************************************************************
|
|
@@ -2183,13 +2192,13 @@ MERCHANTABLITY OR NON-INFRINGEMENT.
|
|
|
2183
2192
|
|
|
2184
2193
|
See the Apache Version 2.0 License for specific language governing permissions
|
|
2185
2194
|
and limitations under the License.
|
|
2186
|
-
***************************************************************************** */;var
|
|
2195
|
+
***************************************************************************** */;var lb=function(){return lb=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},lb.apply(this,arguments)};var cb=function(t){var n=t.animate,r=void 0===n||n,i=t.backgroundColor,o=void 0===i?"#f5f6f7":i,a=t.backgroundOpacity,s=void 0===a?1:a,l=t.baseUrl,c=void 0===l?"":l,d=t.children,u=t.foregroundColor,h=void 0===u?"#eee":u,p=t.foregroundOpacity,g=void 0===p?1:p,f=t.gradientRatio,m=void 0===f?2:f,x=t.uniqueKey,y=t.rtl,b=void 0!==y&&y,v=t.speed,C=void 0===v?1.2:v,w=t.style,A=void 0===w?{}:w,F=t.title,k=void 0===F?"Loading...":F,B=t.beforeMask,I=void 0===B?null:B,D=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}(t,["animate","backgroundColor","backgroundOpacity","baseUrl","children","foregroundColor","foregroundOpacity","gradientRatio","uniqueKey","rtl","speed","style","title","beforeMask"]),E=x||Math.random().toString(36).substring(6),S="".concat(E,"-diff"),j="".concat(E,"-animated-diff"),M="".concat(E,"-aria"),N=b?{transform:"scaleX(-1)"}:null,T="".concat(C,"s"),O="".concat(-1*m," 0"),L="".concat(m," 0");return e.createElement("svg",lb({"aria-labelledby":M,role:"img",style:lb(lb({},A),N)},D),k?e.createElement("title",{id:M},k):null,I&&e.isValidElement(I)?I:null,e.createElement("rect",{role:"presentation",x:"0",y:"0",width:"100%",height:"100%",clipPath:"url(".concat(c,"#").concat(S,")"),style:{fill:"url(".concat(c,"#").concat(j,")")}}),e.createElement("defs",null,e.createElement("clipPath",{id:S},d),e.createElement("linearGradient",{id:j,gradientTransform:"translate(".concat(O,")")},e.createElement("stop",{offset:"0%",stopColor:o,stopOpacity:s}),e.createElement("stop",{offset:"50%",stopColor:h,stopOpacity:g}),e.createElement("stop",{offset:"100%",stopColor:o,stopOpacity:s}),r&&e.createElement("animateTransform",{attributeName:"gradientTransform",type:"translate",values:"".concat(O,"; 0 0; ").concat(L),dur:T,repeatCount:"indefinite"}))))},db=function(t){return t.children?e.createElement(cb,lb({},t)):e.createElement(ub,lb({},t))},ub=function(t){return e.createElement(db,lb({viewBox:"0 0 476 124"},t),e.createElement("rect",{x:"48",y:"8",width:"88",height:"6",rx:"3"}),e.createElement("rect",{x:"48",y:"26",width:"52",height:"6",rx:"3"}),e.createElement("rect",{x:"0",y:"56",width:"410",height:"6",rx:"3"}),e.createElement("rect",{x:"0",y:"72",width:"380",height:"6",rx:"3"}),e.createElement("rect",{x:"0",y:"88",width:"178",height:"6",rx:"3"}),e.createElement("circle",{cx:"20",cy:"20",r:"20"}))};a.default.div`
|
|
2187
2196
|
display: inline-block;
|
|
2188
2197
|
position: relative;
|
|
2189
2198
|
width: 100%;
|
|
2190
2199
|
vertical-align: middle;
|
|
2191
2200
|
overflow: hidden;
|
|
2192
|
-
`;const
|
|
2201
|
+
`;const hb=a.default.div`
|
|
2193
2202
|
display: block;
|
|
2194
2203
|
max-height: calc(100vh - 286px);
|
|
2195
2204
|
height: calc(100vh - 286px);
|
|
@@ -2200,14 +2209,14 @@ and limitations under the License.
|
|
|
2200
2209
|
> div:not(:first-child) {
|
|
2201
2210
|
margin-top: 15px;
|
|
2202
2211
|
}
|
|
2203
|
-
`,
|
|
2212
|
+
`,pb=a.default.div`
|
|
2204
2213
|
${B}
|
|
2205
2214
|
display: inline-block;
|
|
2206
2215
|
width: auto;
|
|
2207
2216
|
height: 220px;
|
|
2208
2217
|
position: relative;
|
|
2209
2218
|
margin: 30px 30px 0px 30px;
|
|
2210
|
-
`,
|
|
2219
|
+
`,gb=a.default.div`
|
|
2211
2220
|
${B}
|
|
2212
2221
|
display: inline-block;
|
|
2213
2222
|
width: 100%;
|
|
@@ -2215,41 +2224,41 @@ and limitations under the License.
|
|
|
2215
2224
|
max-height: calc(100vh - 286px);
|
|
2216
2225
|
height: calc(100vh - 286px);
|
|
2217
2226
|
overflow: hidden;
|
|
2218
|
-
`,
|
|
2227
|
+
`,fb=a.default.div`
|
|
2219
2228
|
display: inline-block;
|
|
2220
2229
|
margin-top: -15px;
|
|
2221
|
-
`,
|
|
2230
|
+
`,mb=a.default.div`
|
|
2222
2231
|
display: inline-block;
|
|
2223
2232
|
width: 100%;
|
|
2224
2233
|
background: #FFF;
|
|
2225
2234
|
position: relative;
|
|
2226
2235
|
height: 100%;
|
|
2227
2236
|
overflow: hidden;
|
|
2228
|
-
`,
|
|
2237
|
+
`,xb=a.default.div`
|
|
2229
2238
|
display: inline-block;
|
|
2230
2239
|
width: 100%;
|
|
2231
2240
|
border-radius: 10px;
|
|
2232
2241
|
height: 80px;
|
|
2233
2242
|
position: relative;
|
|
2234
|
-
`,
|
|
2243
|
+
`,yb=a.default.div`
|
|
2235
2244
|
${B}
|
|
2236
2245
|
display: inline-block;
|
|
2237
2246
|
max-height: 750px;
|
|
2238
2247
|
height: calc(100vh - 124px);
|
|
2239
2248
|
overflow: hidden;
|
|
2240
2249
|
padding-bottom: 28px;
|
|
2241
|
-
`,
|
|
2250
|
+
`,bb=a.default.div`
|
|
2242
2251
|
display: inline-block;
|
|
2243
2252
|
background-color: #fff;
|
|
2244
2253
|
border-radius: 5px;
|
|
2245
2254
|
border: 1px solid #E3E3E3;
|
|
2246
2255
|
height: 89px;
|
|
2247
2256
|
margin-bottom: 20px;
|
|
2248
|
-
`,
|
|
2257
|
+
`,vb=a.default.div`
|
|
2249
2258
|
display: inline-block;
|
|
2250
|
-
`,
|
|
2259
|
+
`,Cb=a.default.div`
|
|
2251
2260
|
${B}
|
|
2252
2261
|
padding: 2em;
|
|
2253
2262
|
margin-bottom: 30px;
|
|
2254
|
-
`,vb=_().width,Cb=_().height,wb={rangeDate:"lastsecondweek",startDate:Tx().clone().subtract(13,"days").format("YYYY-MM-DD"),endDate:Tx().clone().format("YYYY-MM-DD"),placeholder:"Last 14 days",minDate:Tx().clone().subtract(W("lastquart"),"days").format("YYYY-MM-DD")};exports.BoxContainer=Ux,exports.BreadcrumbContainer=Xx,exports.BulkActionWrapper=Jx,exports.ButtonComponent=xe,exports.CheckboxComponent=he,exports.ContentLoaderAccountsList=()=>x.jsxs(lb,{height:284,width:"100%",speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,viewBox:"0 0 290 284",children:[x.jsx("rect",{x:"10",y:"15",rx:"0",ry:"0",width:"40",height:"40"}),x.jsx("rect",{x:"62",y:"15",rx:"0",ry:"0",width:"90",height:"13"}),x.jsx("rect",{x:"62",y:"30",rx:"0",ry:"0",width:"185",height:"13"}),x.jsx("rect",{x:"62",y:"45",rx:"0",ry:"0",width:"50",height:"11"}),x.jsx("rect",{x:"257",y:"23",rx:"50",ry:"50",width:"25",height:"25"}),x.jsx("rect",{x:"10",y:"70",rx:"0",ry:"0",width:"40",height:"40"}),x.jsx("rect",{x:"62",y:"70",rx:"0",ry:"0",width:"90",height:"13"}),x.jsx("rect",{x:"62",y:"85",rx:"0",ry:"0",width:"185",height:"13"}),x.jsx("rect",{x:"62",y:"100",rx:"0",ry:"0",width:"50",height:"11"}),x.jsx("rect",{x:"257",y:"77",rx:"50",ry:"50",width:"25",height:"25"}),x.jsx("rect",{x:"10",y:"125",rx:"0",ry:"0",width:"40",height:"40"}),x.jsx("rect",{x:"62",y:"125",rx:"0",ry:"0",width:"90",height:"13"}),x.jsx("rect",{x:"62",y:"140",rx:"0",ry:"0",width:"185",height:"13"}),x.jsx("rect",{x:"62",y:"155",rx:"0",ry:"0",width:"50",height:"11"}),x.jsx("rect",{x:"257",y:"131",rx:"50",ry:"50",width:"25",height:"25"}),x.jsx("rect",{x:"10",y:"180",rx:"0",ry:"0",width:"40",height:"40"}),x.jsx("rect",{x:"62",y:"180",rx:"0",ry:"0",width:"90",height:"13"}),x.jsx("rect",{x:"62",y:"195",rx:"0",ry:"0",width:"185",height:"13"}),x.jsx("rect",{x:"62",y:"210",rx:"0",ry:"0",width:"50",height:"11"}),x.jsx("rect",{x:"257",y:"185",rx:"50",ry:"50",width:"25",height:"25"}),x.jsx("rect",{x:"10",y:"235",rx:"0",ry:"0",width:"40",height:"40"}),x.jsx("rect",{x:"62",y:"235",rx:"0",ry:"0",width:"90",height:"13"}),x.jsx("rect",{x:"62",y:"250",rx:"0",ry:"0",width:"185",height:"13"}),x.jsx("rect",{x:"62",y:"265",rx:"0",ry:"0",width:"50",height:"11"}),x.jsx("rect",{x:"257",y:"239",rx:"50",ry:"50",width:"25",height:"25"})]}),exports.ContentLoaderActivityList=()=>x.jsxs(lb,{height:260,width:"100%",speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:[x.jsx("rect",{x:"10",y:"15",rx:"50",ry:"50",width:"35",height:"35"}),x.jsx("rect",{x:"55",y:"15",rx:"0",ry:"0",width:"330",height:"13"}),x.jsx("rect",{x:"55",y:"35",rx:"0",ry:"0",width:"330",height:"11"}),x.jsx("rect",{x:"10",y:"65",rx:"50",ry:"50",width:"35",height:"35"}),x.jsx("rect",{x:"55",y:"65",rx:"0",ry:"0",width:"330",height:"13"}),x.jsx("rect",{x:"55",y:"85",rx:"0",ry:"0",width:"330",height:"11"}),x.jsx("rect",{x:"10",y:"115",rx:"50",ry:"50",width:"35",height:"35"}),x.jsx("rect",{x:"55",y:"115",rx:"0",ry:"0",width:"330",height:"13"}),x.jsx("rect",{x:"55",y:"135",rx:"0",ry:"0",width:"330",height:"11"}),x.jsx("rect",{x:"10",y:"165",rx:"50",ry:"50",width:"35",height:"35"}),x.jsx("rect",{x:"55",y:"165",rx:"0",ry:"0",width:"330",height:"13"}),x.jsx("rect",{x:"55",y:"185",rx:"0",ry:"0",width:"330",height:"11"}),x.jsx("rect",{x:"10",y:"215",rx:"50",ry:"50",width:"35",height:"35"}),x.jsx("rect",{x:"55",y:"215",rx:"0",ry:"0",width:"330",height:"13"}),x.jsx("rect",{x:"55",y:"235",rx:"0",ry:"0",width:"330",height:"11"})]}),exports.ContentLoaderAddition=()=>{let e=vb>=994?vb>=1031&&vb>=1031?vb-100:vb-60:994;const t=e-777,n=e-665,r=e-555,i=e-405,o=e-230;return x.jsx(xb,{children:x.jsxs(lb,{speed:1,width:e,height:"100%",backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:[x.jsx("rect",{x:"38",y:"15",rx:"2",ry:"2",width:"31",height:"61"}),x.jsx("rect",{x:95,y:"15",rx:"2",ry:"2",width:t,height:"61"}),x.jsx("rect",{x:n,y:"15",rx:"2",ry:"2",width:90,height:"61"}),x.jsx("rect",{x:r,y:"15",rx:"2",ry:"2",width:140,height:"61"}),x.jsx("rect",{x:i,y:"15",rx:"2",ry:"2",width:160,height:"61"}),x.jsx("rect",{x:o,y:"15",rx:"2",ry:"2",width:140,height:"61"})]})})},exports.ContentLoaderAnalyticsMenu=()=>x.jsx(lb,{height:60,width:"100%",speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:x.jsx("rect",{x:"0",y:"15",rx:"0",ry:"0",width:"100%",height:"36"})}),exports.ContentLoaderCategoryList=()=>{const t=window.innerHeight-286,n=vb>=1336||vb>=1112?400:300,r=32+n+12,i=vb-n-85,o=t?Math.ceil((t-78)/70):0;return x.jsx(hb,{children:x.jsxs(lb,{speed:1,width:vb,height:"100%",backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:[x.jsx("rect",{x:32,y:"23",rx:"2",ry:"2",width:n,height:"16"}),x.jsx("rect",{x:r,y:"23",rx:"2",ry:"2",width:i,height:"16"}),Array.apply(0,Array(o)).map(((t,o)=>{const a=70*o+78;return x.jsxs(e.Fragment,{children:[x.jsx("rect",{x:32,y:a,rx:"2",ry:"2",width:n,height:"31"}),x.jsx("rect",{x:r,y:a,rx:"2",ry:"2",width:i,height:"31"})]},o)}))]})})},exports.ContentLoaderChatAccounts=({mode:t})=>{const n=document.querySelector("._refChatContainer"),r=n?n.offsetWidth:0,i="single"===t?65:n&&n.offsetHeight-140>=0?n.offsetHeight:0,o=r-48-88-20,a=o+60+16,s="single"===t?1:Math.floor(i/64);let l=0;return x.jsx(lb,{height:i,width:"100%",speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:Array.apply(0,Array(s)).map(((t,n)=>{const r=14+l,i=32+l,s=64+l;return l=s,x.jsxs(e.Fragment,{children:[x.jsx("rect",{x:"16",y:r,rx:"4",ry:"4",width:"32",height:"32"}),x.jsx("rect",{x:"60",y:r,rx:"0",ry:"0",width:o,height:"14"}),x.jsx("rect",{x:"60",y:i,rx:"0",ry:"0",width:o,height:"14"}),x.jsx("rect",{x:a,y:r,rx:"0",ry:"0",width:"66",height:"14"}),x.jsx("rect",{x:a,y:i,rx:"0",ry:"0",width:"66",height:"14"}),x.jsx("rect",{x:"0",y:s,rx:"0",ry:"0",width:"100%",height:"1"})]},n)}))})},exports.ContentLoaderChatMessages=({mode:e})=>{const t=document.querySelectorAll("._refChatContainer > article"),n=document.querySelector("._refChatContainer");let r=t[0]&&t[0].offsetWidth>=0?t[0].offsetWidth:0;r=r<=0?n&&n.offsetWidth>=0?n.offsetWidth:0:r;const i="single"===e?234:n&&n.offsetHeight>=0?n.offsetHeight:0,o=r-32<=360?r-32:360,a=r-o-16,s=i-145,l="single"===e?1:Math.floor(s/76);let c=0;return x.jsx(lb,{height:s,width:"100%",speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:Array.apply(0,Array(l)).map(((e,t)=>{const n=0===t?s-76:c-76;return c=n,x.jsx("rect",{x:t>=3?"16":a,y:n,rx:"10",ry:"10",width:o,height:"60"},t)}))})},exports.ContentLoaderChatProducts=({mode:t})=>{const n=document.querySelector("._refTabsContent"),r=document.querySelector("._refChatContainer"),i=n&&n.offsetWidth-30>=0?n.offsetWidth-30:0,o="single"===t?65:r&&r.offsetHeight-204>=0?r.offsetHeight-204:0,a=i-48-88,s=a+60+16+22,l="single"===t?1:Math.floor(o/64);let c=0;return!(i<=0)&&x.jsx(lb,{height:o,width:"100%",speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:Array.apply(0,Array(l)).map(((t,n)=>{const r=14+c,i=32+c,o=64+c;return c=o,x.jsxs(e.Fragment,{children:[x.jsx("rect",{x:"16",y:r,rx:"4",ry:"4",width:"14",height:"14"}),x.jsx("rect",{x:"38",y:r,rx:"4",ry:"4",width:"32",height:"32"}),x.jsx("rect",{x:"78",y:r,rx:"0",ry:"0",width:a,height:"14"}),x.jsx("rect",{x:"78",y:i,rx:"0",ry:"0",width:a,height:"20"}),x.jsx("rect",{x:s,y:r,rx:"0",ry:"0",width:"20",height:"14"}),x.jsx("rect",{x:s,y:i,rx:"0",ry:"0",width:"20",height:"14"}),x.jsx("rect",{x:"0",y:o,rx:"0",ry:"0",width:"100%",height:"1"})]},n)}))})},exports.ContentLoaderChatStores=()=>x.jsxs(lb,{height:220,width:"100%",speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:[x.jsx("rect",{x:"0",y:"0",rx:"0",ry:"0",width:"100%",height:"14"}),x.jsx("rect",{x:"0",y:"28",rx:"0",ry:"0",width:"100%",height:"14"}),x.jsx("rect",{x:"0",y:"56",rx:"0",ry:"0",width:"100%",height:"14"}),x.jsx("rect",{x:"0",y:"84",rx:"0",ry:"0",width:"100%",height:"14"}),x.jsx("rect",{x:"0",y:"112",rx:"0",ry:"0",width:"100%",height:"14"}),x.jsx("rect",{x:"0",y:"140",rx:"0",ry:"0",width:"100%",height:"14"}),x.jsx("rect",{x:"0",y:"168",rx:"0",ry:"0",width:"100%",height:"14"})]}),exports.ContentLoaderDashboardCard=()=>x.jsx(bb,{children:x.jsxs(lb,{height:220,width:"100%",speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:[x.jsx("rect",{x:"0",y:"0",rx:"0",ry:"0",width:"200",height:"50"}),x.jsx("rect",{x:"0",y:"70",rx:"0",ry:"0",width:"100%",height:"25"}),x.jsx("rect",{x:"0",y:"105",rx:"0",ry:"0",width:"100%",height:"15"}),x.jsx("rect",{x:"0",y:"130",rx:"0",ry:"0",width:"100%",height:"15"}),x.jsx("rect",{x:"0",y:"155",rx:"0",ry:"0",width:"100%",height:"15"}),x.jsx("rect",{x:"0",y:"180",rx:"0",ry:"0",width:"100%",height:"15"}),x.jsx("rect",{x:"0",y:"205",rx:"0",ry:"0",width:"100%",height:"15"})]})}),exports.ContentLoaderEditBundle=()=>x.jsxs(lb,{height:500,width:1150,speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:[x.jsx("rect",{x:"0",y:"25",width:"35",height:"35"}),x.jsx("rect",{x:"50",y:"25",width:"400",height:"35"}),x.jsx("rect",{x:"50",y:"75",width:"170",height:"35"}),x.jsx("rect",{x:"235",y:"75",width:"170",height:"35"}),x.jsx("rect",{x:"420",y:"75",width:"170",height:"35"}),x.jsx("rect",{x:"605",y:"75",width:"170",height:"35"}),x.jsx("rect",{x:"50",y:"125",width:"170",height:"35"}),x.jsx("rect",{x:"0",y:"245",width:"200",height:"35"}),x.jsx("rect",{x:"420",y:"305",width:"150",height:"25"}),x.jsx("rect",{x:"585",y:"305",width:"150",height:"25"}),x.jsx("rect",{x:"750",y:"305",width:"150",height:"25"}),x.jsx("rect",{x:"915",y:"305",width:"150",height:"25"}),x.jsx("rect",{x:"0",y:"345",width:"25",height:"25"}),x.jsx("rect",{x:"40",y:"345",width:"360",height:"25"}),x.jsx("rect",{x:"420",y:"345",width:"150",height:"25"}),x.jsx("rect",{x:"585",y:"345",width:"150",height:"25"}),x.jsx("rect",{x:"750",y:"345",width:"150",height:"25"}),x.jsx("rect",{x:"915",y:"345",width:"150",height:"25"}),x.jsx("rect",{x:"750",y:"395",width:"315",height:"25"})]}),exports.ContentLoaderFilterCategories=()=>x.jsxs(lb,{height:172,width:210,speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:[x.jsx("rect",{x:"4",y:"12",rx:"4",ry:"4",width:"14",height:"14"}),x.jsx("rect",{x:"28",y:"12",rx:"2",ry:"2",width:"170",height:"14"}),x.jsx("rect",{x:"4",y:"36",rx:"4",ry:"4",width:"14",height:"14"}),x.jsx("rect",{x:"28",y:"36",rx:"2",ry:"2",width:"170",height:"14"}),x.jsx("rect",{x:"4",y:"60",rx:"4",ry:"4",width:"14",height:"14"}),x.jsx("rect",{x:"28",y:"60",rx:"2",ry:"2",width:"170",height:"14"}),x.jsx("rect",{x:"4",y:"84",rx:"4",ry:"4",width:"14",height:"14"}),x.jsx("rect",{x:"28",y:"84",rx:"2",ry:"2",width:"170",height:"14"}),x.jsx("rect",{x:"4",y:"108",rx:"4",ry:"4",width:"14",height:"14"}),x.jsx("rect",{x:"28",y:"108",rx:"2",ry:"2",width:"170",height:"14"}),x.jsx("rect",{x:"4",y:"132",rx:"4",ry:"4",width:"14",height:"14"}),x.jsx("rect",{x:"28",y:"132",rx:"2",ry:"2",width:"170",height:"14"}),x.jsx("rect",{x:"4",y:"156",rx:"4",ry:"4",width:"14",height:"14"}),x.jsx("rect",{x:"28",y:"156",rx:"2",ry:"2",width:"170",height:"14"})]}),exports.ContentLoaderFilters=()=>x.jsxs(lb,{height:31,width:500,speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:[x.jsx("rect",{x:"0",y:"5",rx:"8",ry:"8",width:"90",height:"20"}),x.jsx("rect",{x:"100",y:"5",rx:"8",ry:"8",width:"90",height:"20"}),x.jsx("rect",{x:"200",y:"5",rx:"8",ry:"8",width:"90",height:"20"}),x.jsx("rect",{x:"300",y:"5",rx:"8",ry:"8",width:"90",height:"20"}),x.jsx("rect",{x:"400",y:"5",rx:"8",ry:"8",width:"90",height:"20"})]}),exports.ContentLoaderInvoiceListPaymentreceiveDetail=()=>x.jsx(gb,{className:"_refLoadingList",children:x.jsxs(lb,{speed:1,width:vb,height:250,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{width:"100%",maxWidth:"1336px",minWidth:"1024px"},children:[x.jsx("rect",{x:"40",y:"0",rx:"2",ry:"2",width:"130",height:"21"}),x.jsx("rect",{x:"190",y:"0",rx:"2",ry:"2",width:"130",height:"21"}),x.jsx("rect",{x:"330",y:"0",rx:"2",ry:"2",width:"250",height:"21"}),x.jsx("rect",{x:"600",y:"0",rx:"2",ry:"2",width:"200",height:"21"}),x.jsx("rect",{x:vb-240,y:"0",rx:"2",ry:"2",width:"200",height:"21"}),x.jsx("rect",{x:"40",y:"50",rx:"2",ry:"2",width:"130",height:"31"}),x.jsx("rect",{x:"190",y:"50",rx:"2",ry:"2",width:"130",height:"31"}),x.jsx("rect",{x:"330",y:"50",rx:"2",ry:"2",width:"250",height:"31"}),x.jsx("rect",{x:"600",y:"50",rx:"2",ry:"2",width:"200",height:"31"}),x.jsx("rect",{x:vb-240,y:"50",rx:"2",ry:"2",width:"200",height:"31"}),x.jsx("rect",{x:"40",y:"100",rx:"2",ry:"2",width:"130",height:"31"}),x.jsx("rect",{x:"190",y:"100",rx:"2",ry:"2",width:"130",height:"31"}),x.jsx("rect",{x:"330",y:"100",rx:"2",ry:"2",width:"250",height:"31"}),x.jsx("rect",{x:"600",y:"100",rx:"2",ry:"2",width:"200",height:"31"}),x.jsx("rect",{x:vb-240,y:"100",rx:"2",ry:"2",width:"200",height:"31"}),x.jsx("rect",{x:"40",y:"150",rx:"2",ry:"2",width:"130",height:"31"}),x.jsx("rect",{x:"190",y:"150",rx:"2",ry:"2",width:"130",height:"31"}),x.jsx("rect",{x:"330",y:"150",rx:"2",ry:"2",width:"250",height:"31"}),x.jsx("rect",{x:"600",y:"150",rx:"2",ry:"2",width:"200",height:"31"}),x.jsx("rect",{x:vb-240,y:"150",rx:"2",ry:"2",width:"200",height:"31"}),x.jsx("rect",{x:"40",y:"200",rx:"2",ry:"2",width:"130",height:"31"}),x.jsx("rect",{x:"190",y:"200",rx:"2",ry:"2",width:"130",height:"31"}),x.jsx("rect",{x:"330",y:"200",rx:"2",ry:"2",width:"250",height:"31"}),x.jsx("rect",{x:"600",y:"200",rx:"2",ry:"2",width:"200",height:"31"}),x.jsx("rect",{x:vb-240,y:"200",rx:"2",ry:"2",width:"200",height:"31"})]})}),exports.ContentLoaderMasterBundleDetail=()=>{const e=vb>=1336?540:vb>=1112?320:250,t=e+30,n=150,r=t+n+15,i=80,o=r+i+15,a=150,s=o+a+15;return x.jsx(pb,{children:x.jsxs(lb,{speed:1,width:vb,height:300,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:[x.jsx("rect",{x:"15",y:"25",rx:"2",ry:"2",width:e,height:"15"}),x.jsx("rect",{x:t,y:"25",rx:"2",ry:"2",width:n,height:"15"}),x.jsx("rect",{x:r,y:"25",rx:"2",ry:"2",width:i,height:"15"}),x.jsx("rect",{x:o,y:"25",rx:"2",ry:"2",width:a,height:"15"}),x.jsx("rect",{x:s,y:"25",rx:"2",ry:"2",width:80,height:"15"}),x.jsx("rect",{x:"15",y:"60",rx:"2",ry:"2",width:e,height:"30"}),x.jsx("rect",{x:t,y:"60",rx:"2",ry:"2",width:n,height:"30"}),x.jsx("rect",{x:r,y:"60",rx:"2",ry:"2",width:i,height:"30"}),x.jsx("rect",{x:o,y:"60",rx:"2",ry:"2",width:a,height:"30"}),x.jsx("rect",{x:s,y:"60",rx:"2",ry:"2",width:80,height:"30"}),x.jsx("rect",{x:"15",y:"110",rx:"2",ry:"2",width:e,height:"30"}),x.jsx("rect",{x:t,y:"110",rx:"2",ry:"2",width:n,height:"30"}),x.jsx("rect",{x:r,y:"110",rx:"2",ry:"2",width:i,height:"30"}),x.jsx("rect",{x:o,y:"110",rx:"2",ry:"2",width:a,height:"30"}),x.jsx("rect",{x:s,y:"110",rx:"2",ry:"2",width:80,height:"30"}),x.jsx("rect",{x:"15",y:"160",rx:"2",ry:"2",width:e,height:"30"}),x.jsx("rect",{x:t,y:"160",rx:"2",ry:"2",width:n,height:"30"}),x.jsx("rect",{x:r,y:"160",rx:"2",ry:"2",width:i,height:"30"}),x.jsx("rect",{x:o,y:"160",rx:"2",ry:"2",width:a,height:"30"}),x.jsx("rect",{x:s,y:"160",rx:"2",ry:"2",width:80,height:"30"}),x.jsx("rect",{x:"15",y:"210",rx:"2",ry:"2",width:e,height:"30"}),x.jsx("rect",{x:t,y:"210",rx:"2",ry:"2",width:n,height:"30"}),x.jsx("rect",{x:r,y:"210",rx:"2",ry:"2",width:i,height:"30"}),x.jsx("rect",{x:o,y:"210",rx:"2",ry:"2",width:a,height:"30"}),x.jsx("rect",{x:s,y:"210",rx:"2",ry:"2",width:80,height:"30"})]})})},exports.ContentLoaderMasterDetail=()=>{const e=vb-250,t=vb-150,n=vb-80,r=140,i=183,o=200,a=388,s=140,l=533,c=140,d=678,u=140,h=823,p=140;return x.jsx(mb,{children:x.jsxs(lb,{speed:1,width:vb,height:"100%",backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:[x.jsx("rect",{x:38,y:"20",rx:"2",ry:"2",width:e,height:"30"}),x.jsx("rect",{x:t,y:"20",rx:"2",ry:"2",width:60,height:"30"}),x.jsx("rect",{x:n,y:"20",rx:"2",ry:"2",width:30,height:"30"}),x.jsx("rect",{x:"50",y:"80",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"170",y:"80",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"290",y:"80",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"38",y:"130",rx:"2",ry:"2",width:"150",height:"20"}),x.jsx("rect",{x:"200",y:"130",rx:"2",ry:"2",width:"285",height:"20"}),x.jsx("rect",{x:"38",y:"165",rx:"2",ry:"2",width:"150",height:"20"}),x.jsx("rect",{x:"200",y:"165",rx:"2",ry:"2",width:"285",height:"20"}),x.jsx("rect",{x:"38",y:"200",rx:"2",ry:"2",width:"150",height:"20"}),x.jsx("rect",{x:"200",y:"200",rx:"2",ry:"2",width:"285",height:"20"}),x.jsx("rect",{x:"38",y:"235",rx:"2",ry:"2",width:"150",height:"20"}),x.jsx("rect",{x:"200",y:"235",rx:"2",ry:"2",width:"285",height:"20"}),x.jsx("rect",{x:"38",y:"270",rx:"2",ry:"2",width:"150",height:"20"}),x.jsx("rect",{x:"200",y:"270",rx:"2",ry:"2",width:"285",height:"20"}),x.jsx("rect",{x:38,y:"320",rx:"2",ry:"2",width:r,height:"31"}),x.jsx("rect",{x:i,y:"320",rx:"2",ry:"2",width:o,height:"31"}),x.jsx("rect",{x:a,y:"320",rx:"2",ry:"2",width:s,height:"31"}),x.jsx("rect",{x:l,y:"320",rx:"2",ry:"2",width:c,height:"31"}),x.jsx("rect",{x:d,y:"320",rx:"2",ry:"2",width:u,height:"31"}),x.jsx("rect",{x:h,y:"320",rx:"2",ry:"2",width:p,height:"31"}),x.jsx("rect",{x:38,y:"370",rx:"2",ry:"2",width:r,height:"31"}),x.jsx("rect",{x:i,y:"370",rx:"2",ry:"2",width:o,height:"31"}),x.jsx("rect",{x:a,y:"370",rx:"2",ry:"2",width:s,height:"31"}),x.jsx("rect",{x:l,y:"370",rx:"2",ry:"2",width:c,height:"31"}),x.jsx("rect",{x:d,y:"370",rx:"2",ry:"2",width:u,height:"31"}),x.jsx("rect",{x:h,y:"370",rx:"2",ry:"2",width:p,height:"31"}),x.jsx("rect",{x:38,y:"420",rx:"2",ry:"2",width:r,height:"31"}),x.jsx("rect",{x:i,y:"420",rx:"2",ry:"2",width:o,height:"31"}),x.jsx("rect",{x:a,y:"420",rx:"2",ry:"2",width:s,height:"31"}),x.jsx("rect",{x:l,y:"420",rx:"2",ry:"2",width:c,height:"31"}),x.jsx("rect",{x:d,y:"420",rx:"2",ry:"2",width:u,height:"31"}),x.jsx("rect",{x:h,y:"420",rx:"2",ry:"2",width:p,height:"31"}),x.jsx("rect",{x:38,y:"470",rx:"2",ry:"2",width:r,height:"31"}),x.jsx("rect",{x:i,y:"470",rx:"2",ry:"2",width:o,height:"31"}),x.jsx("rect",{x:a,y:"470",rx:"2",ry:"2",width:s,height:"31"}),x.jsx("rect",{x:l,y:"470",rx:"2",ry:"2",width:c,height:"31"}),x.jsx("rect",{x:d,y:"470",rx:"2",ry:"2",width:u,height:"31"}),x.jsx("rect",{x:h,y:"470",rx:"2",ry:"2",width:p,height:"31"}),x.jsx("rect",{x:"38",y:"530",rx:"2",ry:"2",width:"200",height:"15"}),x.jsx("rect",{x:38,y:"560",rx:"2",ry:"2",width:"50",height:"50"}),x.jsx("rect",{x:108,y:"560",rx:"2",ry:"2",width:"50",height:"50"}),x.jsx("rect",{x:178,y:"560",rx:"2",ry:"2",width:"50",height:"50"}),x.jsx("rect",{x:248,y:"560",rx:"2",ry:"2",width:"50",height:"50"}),x.jsx("rect",{x:318,y:"560",rx:"2",ry:"2",width:"50",height:"50"})]})})},exports.ContentLoaderMasterList=()=>{const t=Cb-286,n=vb>=1336?370:vb>=1112?250:150,r=29+n+12,i=vb>=1336?130:vb>=1112?110:100,o=r+i+12,a=vb>=1336?100:95,s=o+a+12,l=vb>=1336?90:80,c=s+l+12,d=vb>=1336?85:75,u=c+d+12,h=vb>=1336?80:70,p=u+h+12,g=vb>=1336?70:60,f=p+g+12,m=vb>=1336?95:85,y=vb-100-24,b=Cb&&Math.ceil((t-78)/70)>0?Math.ceil((t-78)/70):0;let v=f+m+12,C=[];for(let e=0;v+122<y;e++)C.push({x:f+m+12+122*e,w:110}),v=f+m+12+122*e;return x.jsx(hb,{children:x.jsxs(lb,{speed:1,width:vb,height:"100%",backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:[x.jsx("rect",{x:29,y:"23",rx:"2",ry:"2",width:n,height:"16"}),x.jsx("rect",{x:r,y:"23",rx:"2",ry:"2",width:i,height:"16"}),x.jsx("rect",{x:o,y:"23",rx:"2",ry:"2",width:a,height:"16"}),x.jsx("rect",{x:s,y:"23",rx:"2",ry:"2",width:l,height:"16"}),x.jsx("rect",{x:c,y:"23",rx:"2",ry:"2",width:d,height:"16"}),x.jsx("rect",{x:u,y:"23",rx:"2",ry:"2",width:h,height:"16"}),x.jsx("rect",{x:p,y:"23",rx:"2",ry:"2",width:g,height:"16"}),x.jsx("rect",{x:f,y:"23",rx:"2",ry:"2",width:m,height:"16"}),C.map(((t,n)=>x.jsx(e.Fragment,{children:x.jsx("rect",{x:t.x,y:"23",rx:"2",ry:"2",width:t.w,height:"16"})},n))),x.jsx("rect",{x:y,y:"23",rx:"2",ry:"2",width:100,height:"16"}),Array.apply(0,Array(b)).map(((t,b)=>{const v=70*b+78;return x.jsxs(e.Fragment,{children:[x.jsx("rect",{x:29,y:v,rx:"2",ry:"2",width:n,height:"31"}),x.jsx("rect",{x:r,y:v,rx:"2",ry:"2",width:i,height:"31"}),x.jsx("rect",{x:o,y:v,rx:"2",ry:"2",width:a,height:"31"}),x.jsx("rect",{x:s,y:v,rx:"2",ry:"2",width:l,height:"31"}),x.jsx("rect",{x:c,y:v,rx:"2",ry:"2",width:d,height:"31"}),x.jsx("rect",{x:u,y:v,rx:"2",ry:"2",width:h,height:"31"}),x.jsx("rect",{x:p,y:v,rx:"2",ry:"2",width:g,height:"31"}),x.jsx("rect",{x:f,y:v,rx:"2",ry:"2",width:m,height:"31"}),C.map(((t,n)=>x.jsx(e.Fragment,{children:x.jsx("rect",{x:t.x,y:v,rx:"2",ry:"2",width:t.w,height:"31"})},n))),x.jsx("rect",{x:y,y:v,rx:"2",ry:"2",width:100,height:"31"})]},b)}))]})})},exports.ContentLoaderMasterListingDetail=()=>{const e=vb>=1336?645:vb>=1112?400:300,t=e+45,n=e+90;return x.jsx(pb,{children:x.jsxs(lb,{speed:1,width:vb,height:300,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:[x.jsx("rect",{x:"15",y:"25",rx:"2",ry:"2",width:t,height:"15"}),x.jsx("rect",{x:n,y:"25",rx:"2",ry:"2",width:"250",height:"15"}),x.jsx("rect",{x:"15",y:"60",rx:"8",ry:"8",width:"30",height:"30"}),x.jsx("rect",{x:"60",y:"60",rx:"2",ry:"2",width:e,height:"30"}),x.jsx("rect",{x:n,y:"60",rx:"2",ry:"2",width:"250",height:"30"}),x.jsx("rect",{x:"15",y:"110",rx:"8",ry:"8",width:"30",height:"30"}),x.jsx("rect",{x:"60",y:"110",rx:"2",ry:"2",width:e,height:"30"}),x.jsx("rect",{x:n,y:"110",rx:"2",ry:"2",width:"250",height:"30"}),x.jsx("rect",{x:"15",y:"160",rx:"8",ry:"8",width:"30",height:"30"}),x.jsx("rect",{x:"60",y:"160",rx:"2",ry:"2",width:e,height:"30"}),x.jsx("rect",{x:n,y:"160",rx:"2",ry:"2",width:"250",height:"30"}),x.jsx("rect",{x:"15",y:"210",rx:"8",ry:"8",width:"30",height:"30"}),x.jsx("rect",{x:"60",y:"210",rx:"2",ry:"2",width:e,height:"30"}),x.jsx("rect",{x:n,y:"210",rx:"2",ry:"2",width:"250",height:"30"})]})})},exports.ContentLoaderNonOrderList=()=>{const t=vb>=1336?150:vb>=1112?110:100,n=29+t+12,r=vb>=1336?120:vb>=1112?110:100,i=n+r+12,o=vb>=1336||vb>=1112?110:105,a=i+o+12,s=vb>=1336||vb>=1112?140:130,l=a+s+12,c=vb>=1336?130:vb>=1112?120:100,d=l+c+12,u=vb>=1336?115:vb>=1112?105:100,h=d+u+12,p=vb>=1336?150:vb>=1112?110:100,g=vb-100-24,f=Cb?Math.ceil((Cb-78)/70):0;let m=h+p+12,y=[];for(let e=0;m+122<g;e++)y.push({x:h+p+12+122*e,w:110}),m=h+p+12+122*e;return x.jsx(hb,{className:"_refLoadingList",children:x.jsxs(lb,{speed:1,width:vb,height:"100%",backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:[x.jsx("rect",{x:29,y:"23",rx:"2",ry:"2",width:t,height:"16"}),x.jsx("rect",{x:n,y:"23",rx:"2",ry:"2",width:r,height:"16"}),x.jsx("rect",{x:i,y:"23",rx:"2",ry:"2",width:o,height:"16"}),x.jsx("rect",{x:a,y:"23",rx:"2",ry:"2",width:s,height:"16"}),x.jsx("rect",{x:l,y:"23",rx:"2",ry:"2",width:c,height:"16"}),x.jsx("rect",{x:d,y:"23",rx:"2",ry:"2",width:u,height:"16"}),x.jsx("rect",{x:h,y:"23",rx:"2",ry:"2",width:p,height:"16"}),y.map(((t,n)=>x.jsx(e.Fragment,{children:x.jsx("rect",{x:t.x,y:"23",rx:"2",ry:"2",width:t.w,height:"16"})},n))),x.jsx("rect",{x:g,y:"23",rx:"2",ry:"2",width:100,height:"16"}),Array.apply(0,Array(f)).map(((f,m)=>{const b=70*m+78;return x.jsxs(e.Fragment,{children:[x.jsx("rect",{x:29,y:b,rx:"2",ry:"2",width:t,height:"31"}),x.jsx("rect",{x:n,y:b,rx:"2",ry:"2",width:r,height:"31"}),x.jsx("rect",{x:i,y:b,rx:"2",ry:"2",width:o,height:"31"}),x.jsx("rect",{x:a,y:b,rx:"2",ry:"2",width:s,height:"31"}),x.jsx("rect",{x:l,y:b,rx:"2",ry:"2",width:c,height:"31"}),x.jsx("rect",{x:d,y:b,rx:"2",ry:"2",width:u,height:"31"}),x.jsx("rect",{x:h,y:b,rx:"2",ry:"2",width:p,height:"31"}),y.map(((t,n)=>x.jsx(e.Fragment,{children:x.jsx("rect",{x:t.x,y:b,rx:"2",ry:"2",width:t.w,height:"31"})},n))),x.jsx("rect",{x:g,y:b,rx:"2",ry:"2",width:100,height:"31"})]},m)}))]})})},exports.ContentLoaderNotifUpdate=()=>x.jsx(lb,{height:36,width:"100%",speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:x.jsx("rect",{x:"0",y:"0",rx:"0",ry:"0",width:"100%",height:"36"})}),exports.ContentLoaderOneLinePromotion=()=>x.jsx(lb,{height:16,width:86,speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,viewBox:"0 0 86 16",children:x.jsx("rect",{x:"0",y:"2",rx:"5",ry:"5",width:80,height:14})}),exports.ContentLoaderOnlyBodyDashboardCard=()=>x.jsxs(lb,{height:650,width:"100%",speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:[x.jsx("rect",{x:"0",y:"30",rx:"0",ry:"0",width:"50%",height:"20"}),x.jsx("rect",{x:"0",y:"55",rx:"0",ry:"0",width:"50%",height:"20"}),x.jsx("rect",{x:"0",y:"80",rx:"0",ry:"0",width:"50%",height:"20"}),x.jsx("rect",{x:"0",y:"105",rx:"0",ry:"0",width:"50%",height:"20"}),x.jsx("rect",{x:"0",y:"130",rx:"0",ry:"0",width:"50%",height:"20"}),x.jsx("rect",{x:"0",y:"155",rx:"0",ry:"0",width:"50%",height:"20"}),x.jsx("rect",{x:"0",y:"180",rx:"0",ry:"0",width:"50%",height:"20"}),x.jsx("rect",{x:"0",y:"205",rx:"0",ry:"0",width:"50%",height:"20"}),x.jsx("rect",{x:"0",y:"250",rx:"0",ry:"0",width:"100%",height:"250"}),x.jsx("rect",{x:"0",y:"525",rx:"0",ry:"0",width:"100%",height:"15"}),x.jsx("rect",{x:"0",y:"550",rx:"0",ry:"0",width:"100%",height:"15"}),x.jsx("rect",{x:"0",y:"575",rx:"0",ry:"0",width:"100%",height:"15"})]}),exports.ContentLoaderOnlyBodyTableList=()=>{const e=window.innerHeight-96,t=Math.floor((vb-110)/120),n=Math.floor((e-20)/50);return x.jsx(gb,{children:x.jsx(lb,{speed:1,width:vb,height:e,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:Array.apply(0,Array(n)).map(((e,n)=>{const r=n+50*(n+1)-30;return Array.apply(0,Array(t)).map(((e,t)=>{const n=t+120*(t+1)-65;return x.jsx("rect",{x:n,y:r,rx:"2",ry:"2",width:100,height:"30"},t)}))}))})})},exports.ContentLoaderOnlyHeaderTableList=()=>{const e=Math.floor((vb-110)/120);return x.jsx(gb,{children:x.jsx(lb,{speed:1,width:vb,height:100,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:[0].map(((t,n)=>Array.apply(0,Array(e)).map(((e,t)=>{const r=t+120*(t+1)-65;return x.jsx("rect",{x:r,y:20,rx:"2",ry:"2",width:100,height:0===n?16:30},t)}))))})})},exports.ContentLoaderOrderDetail=()=>{const e=vb-700,t=vb-432,n=vb-302,r=vb-217,i=vb-72,o=vb-777,a=vb-665,s=vb-625,l=vb-515,c=vb-365,d=vb-190,u=140,h=vb-777,p=vb-629,g=vb-529,f=vb-389,m=vb-214;return x.jsx(mb,{children:x.jsxs(lb,{speed:1,width:vb,height:"100%",backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:[x.jsx("rect",{x:"38",y:"18",rx:"2",ry:"2",width:"36",height:"36"}),x.jsx("rect",{x:84,y:"18",rx:"2",ry:"2",width:e,height:"36"}),x.jsx("rect",{x:t,y:"20",rx:"2",ry:"2",width:120,height:"32"}),x.jsx("rect",{x:n,y:"20",rx:"2",ry:"2",width:80,height:"32"}),x.jsx("rect",{x:r,y:"20",rx:"2",ry:"2",width:140,height:"32"}),x.jsx("rect",{x:i,y:"20",rx:"2",ry:"2",width:30,height:"32"}),x.jsx("rect",{x:"38",y:"85",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"152",y:"85",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"266",y:"85",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"64",y:"150",rx:"2",ry:"2",width:"31",height:"61"}),x.jsx("rect",{x:121,y:"150",rx:"2",ry:"2",width:h,height:"61"}),x.jsx("rect",{x:p,y:"150",rx:"2",ry:"2",width:90,height:"61"}),x.jsx("rect",{x:g,y:"150",rx:"2",ry:"2",width:140,height:"61"}),x.jsx("rect",{x:f,y:"150",rx:"2",ry:"2",width:160,height:"61"}),x.jsx("rect",{x:m,y:"150",rx:"2",ry:"2",width:140,height:"61"}),x.jsx("rect",{x:"38",y:"284",rx:"2",ry:"2",width:"285",height:"31"}),x.jsx("rect",{x:"389",y:"284",rx:"2",ry:"2",width:"285",height:"31"}),x.jsx("rect",{x:"38",y:"324",rx:"2",ry:"2",width:"285",height:"31"}),x.jsx("rect",{x:"389",y:"324",rx:"2",ry:"2",width:"285",height:"31"}),x.jsx("rect",{x:"38",y:"364",rx:"2",ry:"2",width:"285",height:"31"}),x.jsx("rect",{x:"389",y:"364",rx:"2",ry:"2",width:"285",height:"31"}),x.jsx("rect",{x:"38",y:"404",rx:"2",ry:"2",width:"285",height:"31"}),x.jsx("rect",{x:"389",y:"404",rx:"2",ry:"2",width:"285",height:"31"}),x.jsx("rect",{x:"38",y:"444",rx:"2",ry:"2",width:"285",height:"31"}),x.jsx("rect",{x:"389",y:"444",rx:"2",ry:"2",width:"285",height:"31"}),x.jsx("rect",{x:"38",y:"515",rx:"2",ry:"2",width:"31",height:"31"}),x.jsx("rect",{x:95,y:"515",rx:"2",ry:"2",width:o,height:"31"}),x.jsx("rect",{x:a,y:"515",rx:"2",ry:"2",width:26,height:"31"}),x.jsx("rect",{x:s,y:"515",rx:"2",ry:"2",width:90,height:"31"}),x.jsx("rect",{x:l,y:"515",rx:"2",ry:"2",width:140,height:"31"}),x.jsx("rect",{x:c,y:"515",rx:"2",ry:"2",width:160,height:"31"}),x.jsx("rect",{x:d,y:"515",rx:"2",ry:"2",width:u,height:"31"}),x.jsx("rect",{x:"38",y:"555",rx:"2",ry:"2",width:"31",height:"31"}),x.jsx("rect",{x:95,y:"555",rx:"2",ry:"2",width:o,height:"31"}),x.jsx("rect",{x:a,y:"555",rx:"2",ry:"2",width:26,height:"31"}),x.jsx("rect",{x:s,y:"555",rx:"2",ry:"2",width:90,height:"31"}),x.jsx("rect",{x:l,y:"555",rx:"2",ry:"2",width:140,height:"31"}),x.jsx("rect",{x:c,y:"555",rx:"2",ry:"2",width:160,height:"31"}),x.jsx("rect",{x:d,y:"555",rx:"2",ry:"2",width:u,height:"31"}),x.jsx("rect",{x:d,y:"604",rx:"2",ry:"2",width:u,height:"31"}),x.jsx("rect",{x:d,y:"654",rx:"2",ry:"2",width:u,height:"31"}),x.jsx("rect",{x:"38",y:"684",rx:"2",ry:"2",width:e,height:"36"})]})})},exports.ContentLoaderOrderList=()=>{const e=100,t=vb-600,n=vb-405,r=120,i=vb-275,o=vb-190,a=140,s=vb-45,l=vb-18,c=vb-777,d=vb-665,u=vb-625,h=vb-515,p=140,g=vb-365,f=160,m=vb-190,y=140;return x.jsxs(db,{children:[x.jsx(ub,{children:x.jsxs(lb,{speed:1,width:vb,height:"100%",backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:[x.jsx("rect",{x:"52",y:"15",rx:"2",ry:"2",width:"31",height:"31"}),x.jsx("rect",{x:e,y:"15",rx:"2",ry:"2",width:t,height:"31"}),x.jsx("rect",{x:n,y:"15",rx:"2",ry:"2",width:r,height:"32"}),x.jsx("rect",{x:i,y:"15",rx:"2",ry:"2",width:80,height:"32"}),x.jsx("rect",{x:o,y:"15",rx:"2",ry:"2",width:a,height:"32"}),x.jsx("rect",{x:s,y:"15",rx:"2",ry:"2",width:30,height:"32"}),x.jsx("rect",{x:"52",y:"80",rx:"2",ry:"2",width:"200",height:"15"}),x.jsx("rect",{x:9,y:"110",rx:"0",ry:"0",width:l,height:"2"}),x.jsx("rect",{x:"52",y:"127",rx:"2",ry:"2",width:"31",height:"31"}),x.jsx("rect",{x:95,y:"127",rx:"2",ry:"2",width:c,height:"50"}),x.jsx("rect",{x:d,y:"127",rx:"2",ry:"2",width:26,height:"31"}),x.jsx("rect",{x:u,y:"127",rx:"2",ry:"2",width:90,height:"31"}),x.jsx("rect",{x:h,y:"127",rx:"2",ry:"2",width:p,height:"31"}),x.jsx("rect",{x:g,y:"127",rx:"2",ry:"2",width:f,height:"31"}),x.jsx("rect",{x:m,y:"127",rx:"2",ry:"2",width:y,height:"65"})]})}),x.jsx(ub,{children:x.jsxs(lb,{speed:1,width:vb,height:"100%",backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:[x.jsx("rect",{x:"52",y:"15",rx:"2",ry:"2",width:"31",height:"31"}),x.jsx("rect",{x:e,y:"15",rx:"2",ry:"2",width:t,height:"31"}),x.jsx("rect",{x:n,y:"15",rx:"2",ry:"2",width:r,height:"32"}),x.jsx("rect",{x:i,y:"15",rx:"2",ry:"2",width:80,height:"32"}),x.jsx("rect",{x:o,y:"15",rx:"2",ry:"2",width:a,height:"32"}),x.jsx("rect",{x:s,y:"15",rx:"2",ry:"2",width:30,height:"32"}),x.jsx("rect",{x:"52",y:"80",rx:"2",ry:"2",width:"200",height:"15"}),x.jsx("rect",{x:9,y:"110",rx:"0",ry:"0",width:l,height:"2"}),x.jsx("rect",{x:"52",y:"127",rx:"2",ry:"2",width:"31",height:"31"}),x.jsx("rect",{x:95,y:"127",rx:"2",ry:"2",width:c,height:"50"}),x.jsx("rect",{x:d,y:"127",rx:"2",ry:"2",width:26,height:"31"}),x.jsx("rect",{x:u,y:"127",rx:"2",ry:"2",width:90,height:"31"}),x.jsx("rect",{x:h,y:"127",rx:"2",ry:"2",width:p,height:"31"}),x.jsx("rect",{x:g,y:"127",rx:"2",ry:"2",width:f,height:"31"}),x.jsx("rect",{x:m,y:"127",rx:"2",ry:"2",width:y,height:"65"})]})}),x.jsx(ub,{children:x.jsxs(lb,{speed:1,width:vb,height:"100%",backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:[x.jsx("rect",{x:"52",y:"15",rx:"2",ry:"2",width:"31",height:"31"}),x.jsx("rect",{x:e,y:"15",rx:"2",ry:"2",width:t,height:"31"}),x.jsx("rect",{x:n,y:"15",rx:"2",ry:"2",width:r,height:"32"}),x.jsx("rect",{x:i,y:"15",rx:"2",ry:"2",width:80,height:"32"}),x.jsx("rect",{x:o,y:"15",rx:"2",ry:"2",width:a,height:"32"}),x.jsx("rect",{x:s,y:"15",rx:"2",ry:"2",width:30,height:"32"}),x.jsx("rect",{x:"52",y:"80",rx:"2",ry:"2",width:"200",height:"15"}),x.jsx("rect",{x:9,y:"110",rx:"0",ry:"0",width:l,height:"2"}),x.jsx("rect",{x:"52",y:"127",rx:"2",ry:"2",width:"31",height:"31"}),x.jsx("rect",{x:95,y:"127",rx:"2",ry:"2",width:c,height:"50"}),x.jsx("rect",{x:d,y:"127",rx:"2",ry:"2",width:26,height:"31"}),x.jsx("rect",{x:u,y:"127",rx:"2",ry:"2",width:90,height:"31"}),x.jsx("rect",{x:h,y:"127",rx:"2",ry:"2",width:p,height:"31"}),x.jsx("rect",{x:g,y:"127",rx:"2",ry:"2",width:f,height:"31"}),x.jsx("rect",{x:m,y:"127",rx:"2",ry:"2",width:y,height:"65"})]})}),x.jsx(ub,{children:x.jsxs(lb,{speed:1,width:vb,height:"100%",backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:[x.jsx("rect",{x:"52",y:"15",rx:"2",ry:"2",width:"31",height:"31"}),x.jsx("rect",{x:e,y:"15",rx:"2",ry:"2",width:t,height:"31"}),x.jsx("rect",{x:n,y:"15",rx:"2",ry:"2",width:r,height:"32"}),x.jsx("rect",{x:i,y:"15",rx:"2",ry:"2",width:80,height:"32"}),x.jsx("rect",{x:o,y:"15",rx:"2",ry:"2",width:a,height:"32"}),x.jsx("rect",{x:s,y:"15",rx:"2",ry:"2",width:30,height:"32"}),x.jsx("rect",{x:"52",y:"80",rx:"2",ry:"2",width:"200",height:"15"}),x.jsx("rect",{x:9,y:"110",rx:"0",ry:"0",width:l,height:"2"}),x.jsx("rect",{x:"52",y:"127",rx:"2",ry:"2",width:"31",height:"31"}),x.jsx("rect",{x:95,y:"127",rx:"2",ry:"2",width:c,height:"50"}),x.jsx("rect",{x:d,y:"127",rx:"2",ry:"2",width:26,height:"31"}),x.jsx("rect",{x:u,y:"127",rx:"2",ry:"2",width:90,height:"31"}),x.jsx("rect",{x:h,y:"127",rx:"2",ry:"2",width:p,height:"31"}),x.jsx("rect",{x:g,y:"127",rx:"2",ry:"2",width:f,height:"31"}),x.jsx("rect",{x:m,y:"127",rx:"2",ry:"2",width:y,height:"65"})]})}),x.jsx(ub,{children:x.jsxs(lb,{speed:1,width:vb,height:"100%",backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:[x.jsx("rect",{x:"52",y:"15",rx:"2",ry:"2",width:"31",height:"31"}),x.jsx("rect",{x:e,y:"15",rx:"2",ry:"2",width:t,height:"31"}),x.jsx("rect",{x:n,y:"15",rx:"2",ry:"2",width:r,height:"32"}),x.jsx("rect",{x:i,y:"15",rx:"2",ry:"2",width:80,height:"32"}),x.jsx("rect",{x:o,y:"15",rx:"2",ry:"2",width:a,height:"32"}),x.jsx("rect",{x:s,y:"15",rx:"2",ry:"2",width:30,height:"32"}),x.jsx("rect",{x:"52",y:"80",rx:"2",ry:"2",width:"200",height:"15"}),x.jsx("rect",{x:9,y:"110",rx:"0",ry:"0",width:l,height:"2"}),x.jsx("rect",{x:"52",y:"127",rx:"2",ry:"2",width:"31",height:"31"}),x.jsx("rect",{x:95,y:"127",rx:"2",ry:"2",width:c,height:"50"}),x.jsx("rect",{x:d,y:"127",rx:"2",ry:"2",width:26,height:"31"}),x.jsx("rect",{x:u,y:"127",rx:"2",ry:"2",width:90,height:"31"}),x.jsx("rect",{x:h,y:"127",rx:"2",ry:"2",width:p,height:"31"}),x.jsx("rect",{x:g,y:"127",rx:"2",ry:"2",width:f,height:"31"}),x.jsx("rect",{x:m,y:"127",rx:"2",ry:"2",width:y,height:"65"})]})})]})},exports.ContentLoaderPagination=()=>{const e=vb/2,t=e-160,n=e-128,r=e-96,i=e-64,o=e-32,a=e+0,s=e+32,l=e+64,c=e+96,d=e+128;return x.jsx(fb,{className:"_refLoadingPage",children:x.jsxs(lb,{speed:1,width:vb,height:"100%",backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:[x.jsx("rect",{x:t,y:"23",rx:"2",ry:"2",width:"27",height:"27"}),x.jsx("rect",{x:n,y:"23",rx:"2",ry:"2",width:"27",height:"27"}),x.jsx("rect",{x:r,y:"23",rx:"2",ry:"2",width:"27",height:"27"}),x.jsx("rect",{x:i,y:"23",rx:"2",ry:"2",width:"27",height:"27"}),x.jsx("rect",{x:o,y:"23",rx:"2",ry:"2",width:"27",height:"27"}),x.jsx("rect",{x:a,y:"23",rx:"2",ry:"2",width:"27",height:"27"}),x.jsx("rect",{x:s,y:"23",rx:"2",ry:"2",width:"27",height:"27"}),x.jsx("rect",{x:l,y:"23",rx:"2",ry:"2",width:"27",height:"27"}),x.jsx("rect",{x:c,y:"23",rx:"2",ry:"2",width:"27",height:"27"}),x.jsx("rect",{x:d,y:"23",rx:"2",ry:"2",width:"27",height:"27"}),x.jsx("rect",{x:i,y:"60",rx:"2",ry:"2",width:"128",height:"6"})]})})},exports.ContentLoaderPopupBundle=()=>x.jsxs(lb,{height:270,width:800,speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:[x.jsx("rect",{x:"15",y:"60",width:"300",height:"15"}),x.jsx("rect",{x:"330",y:"25",width:"100",height:"15"}),x.jsx("rect",{x:"450",y:"25",width:"75",height:"15"}),x.jsx("rect",{x:"540",y:"25",width:"130",height:"15"}),x.jsx("rect",{x:"690",y:"25",width:"75",height:"15"}),x.jsx("rect",{x:"15",y:"60",width:"300",height:"30"}),x.jsx("rect",{x:"330",y:"60",width:"100",height:"30"}),x.jsx("rect",{x:"450",y:"60",width:"75",height:"30"}),x.jsx("rect",{x:"540",y:"60",width:"130",height:"30"}),x.jsx("rect",{x:"690",y:"60",width:"75",height:"30"}),x.jsx("rect",{x:"15",y:"110",width:"300",height:"30"}),x.jsx("rect",{x:"330",y:"110",width:"100",height:"30"}),x.jsx("rect",{x:"450",y:"110",width:"75",height:"30"}),x.jsx("rect",{x:"540",y:"110",width:"130",height:"30"}),x.jsx("rect",{x:"690",y:"110",width:"75",height:"30"}),x.jsx("rect",{x:"15",y:"160",width:"300",height:"30"}),x.jsx("rect",{x:"330",y:"160",width:"100",height:"30"}),x.jsx("rect",{x:"450",y:"160",width:"75",height:"30"}),x.jsx("rect",{x:"540",y:"160",width:"130",height:"30"}),x.jsx("rect",{x:"690",y:"160",width:"75",height:"30"}),x.jsx("rect",{x:"15",y:"210",width:"300",height:"30"}),x.jsx("rect",{x:"330",y:"210",width:"100",height:"30"}),x.jsx("rect",{x:"450",y:"210",width:"75",height:"30"}),x.jsx("rect",{x:"540",y:"210",width:"130",height:"30"}),x.jsx("rect",{x:"690",y:"210",width:"75",height:"30"})]}),exports.ContentLoaderPopupChooseStore=()=>x.jsxs(lb,{height:80,width:600,speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:[x.jsx("rect",{x:"0",y:"0",rx:"5",ry:"5",width:"172",height:"34"}),x.jsx("rect",{x:"178",y:"0",rx:"5",ry:"5",width:"172",height:"34"}),x.jsx("rect",{x:"356",y:"0",rx:"5",ry:"5",width:"100",height:"34"}),x.jsx("rect",{x:"462",y:"0",rx:"5",ry:"5",width:"100",height:"34"}),x.jsx("rect",{x:"0",y:"40",rx:"5",ry:"5",width:"172",height:"34"}),x.jsx("rect",{x:"178",y:"40",rx:"5",ry:"5",width:"100",height:"34"}),x.jsx("rect",{x:"284",y:"40",rx:"5",ry:"5",width:"140",height:"34"}),x.jsx("rect",{x:"430",y:"40",rx:"5",ry:"5",width:"100",height:"34"})]}),exports.ContentLoaderPopupLinkedListing=()=>x.jsxs(lb,{height:270,width:800,speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:[x.jsx("rect",{x:"15",y:"25",width:"425",height:"15"}),x.jsx("rect",{x:"490",y:"25",width:"150",height:"15"}),x.jsx("rect",{x:"670",y:"25",width:"95",height:"15"}),x.jsx("rect",{x:"15",y:"60",rx:"8",ry:"8",width:"30",height:"30"}),x.jsx("rect",{x:"60",y:"60",width:"380",height:"30"}),x.jsx("rect",{x:"490",y:"60",width:"150",height:"30"}),x.jsx("rect",{x:"670",y:"60",width:"95",height:"30"}),x.jsx("rect",{x:"15",y:"110",rx:"8",ry:"8",width:"30",height:"30"}),x.jsx("rect",{x:"60",y:"110",width:"380",height:"30"}),x.jsx("rect",{x:"490",y:"110",width:"150",height:"30"}),x.jsx("rect",{x:"670",y:"110",width:"95",height:"30"}),x.jsx("rect",{x:"15",y:"160",rx:"8",ry:"8",width:"30",height:"30"}),x.jsx("rect",{x:"60",y:"160",width:"380",height:"30"}),x.jsx("rect",{x:"490",y:"160",width:"150",height:"30"}),x.jsx("rect",{x:"670",y:"160",width:"95",height:"30"}),x.jsx("rect",{x:"15",y:"210",rx:"8",ry:"8",width:"30",height:"30"}),x.jsx("rect",{x:"60",y:"210",width:"380",height:"30"}),x.jsx("rect",{x:"490",y:"210",width:"150",height:"30"}),x.jsx("rect",{x:"670",y:"210",width:"95",height:"30"})]}),exports.ContentLoaderPopupListOrder=()=>x.jsx(yb,{children:x.jsxs(lb,{speed:1,width:840,height:255,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{width:"100%",maxWidth:"840px",minWidth:"800px"},children:[x.jsx("rect",{x:"20",y:"25",rx:"2",ry:"2",width:"25",height:"22"}),x.jsx("rect",{x:"55",y:"20",rx:"2",ry:"2",width:"32",height:"32"}),x.jsx("rect",{x:"97",y:"20",rx:"2",ry:"2",width:"250",height:"32"}),x.jsx("rect",{x:"620",y:"20",rx:"2",ry:"2",width:"170",height:"32"}),x.jsx("rect",{x:"800",y:"20",rx:"2",ry:"2",width:"25",height:"22"}),x.jsx("rect",{x:"60",y:"80",rx:"2",ry:"2",width:"200",height:"20"}),x.jsx("rect",{x:"440",y:"80",rx:"2",ry:"2",width:"90",height:"20"}),x.jsx("rect",{x:"560",y:"80",rx:"2",ry:"2",width:"90",height:"20"}),x.jsx("rect",{x:"680",y:"80",rx:"2",ry:"2",width:"90",height:"20"}),x.jsx("rect",{x:"60",y:"130",rx:"2",ry:"2",width:"200",height:"20"}),x.jsx("rect",{x:"440",y:"130",rx:"2",ry:"2",width:"90",height:"20"}),x.jsx("rect",{x:"560",y:"130",rx:"2",ry:"2",width:"90",height:"20"}),x.jsx("rect",{x:"680",y:"130",rx:"2",ry:"2",width:"90",height:"20"}),x.jsx("rect",{x:"20",y:"210",rx:"2",ry:"2",width:"25",height:"22"}),x.jsx("rect",{x:"55",y:"205",rx:"2",ry:"2",width:"32",height:"32"}),x.jsx("rect",{x:"97",y:"205",rx:"2",ry:"2",width:"250",height:"32"}),x.jsx("rect",{x:"620",y:"205",rx:"2",ry:"2",width:"170",height:"32"}),x.jsx("rect",{x:"800",y:"205",rx:"2",ry:"2",width:"25",height:"22"})]})}),exports.ContentLoaderPopupPaymentReceive=()=>x.jsx(yb,{children:x.jsxs(lb,{speed:1,width:1e3,height:340,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{width:"100%",maxWidth:"1000px",minWidth:"800px"},children:[x.jsx("rect",{x:"40",y:"20",rx:"2",ry:"2",width:"80",height:"21"}),x.jsx("rect",{x:"40",y:"51",rx:"2",ry:"2",width:"260",height:"30"}),x.jsx("rect",{x:"40",y:"110",rx:"2",ry:"2",width:"80",height:"21"}),x.jsx("rect",{x:"320",y:"110",rx:"2",ry:"2",width:"80",height:"21"}),x.jsx("rect",{x:"40",y:"141",rx:"2",ry:"2",width:"260",height:"30"}),x.jsx("rect",{x:"320",y:"141",rx:"2",ry:"2",width:"260",height:"30"}),x.jsx("rect",{x:"55",y:"200",rx:"2",ry:"2",width:"220",height:"30"}),x.jsx("rect",{x:"320",y:"200",rx:"2",ry:"2",width:"260",height:"30"}),x.jsx("rect",{x:"55",y:"245",rx:"2",ry:"2",width:"220",height:"30"}),x.jsx("rect",{x:"320",y:"245",rx:"2",ry:"2",width:"260",height:"30"}),x.jsx("rect",{x:"55",y:"290",rx:"2",ry:"2",width:"220",height:"30"}),x.jsx("rect",{x:"320",y:"290",rx:"2",ry:"2",width:"260",height:"30"})]})}),exports.ContentLoaderPopupPaymentReceived=()=>x.jsx(yb,{children:x.jsxs(lb,{speed:1,width:1e3,height:300,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{width:"100%",maxWidth:"1000px",minWidth:"800px"},children:[x.jsx("rect",{x:"60",y:"20",rx:"2",ry:"2",width:"100",height:"21"}),x.jsx("rect",{x:"60",y:"51",rx:"2",ry:"2",width:"280",height:"36"}),x.jsx("rect",{x:"360",y:"20",rx:"2",ry:"2",width:"100",height:"21"}),x.jsx("rect",{x:"360",y:"51",rx:"2",ry:"2",width:"280",height:"36"}),x.jsx("rect",{x:"660",y:"20",rx:"2",ry:"2",width:"100",height:"21"}),x.jsx("rect",{x:"660",y:"51",rx:"2",ry:"2",width:"280",height:"36"}),x.jsx("rect",{x:"52",y:"130",rx:"2",ry:"2",width:"31",height:"31"}),x.jsx("rect",{x:"95",y:"130",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"217",y:"130",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"339",y:"130",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"461",y:"130",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"583",y:"130",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"705",y:"130",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"827",y:"130",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"52",y:"170",rx:"2",ry:"2",width:"31",height:"31"}),x.jsx("rect",{x:"95",y:"170",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"217",y:"170",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"339",y:"170",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"461",y:"170",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"583",y:"170",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"705",y:"170",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"827",y:"170",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"52",y:"210",rx:"2",ry:"2",width:"31",height:"31"}),x.jsx("rect",{x:"95",y:"210",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"217",y:"210",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"339",y:"210",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"461",y:"210",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"583",y:"210",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"705",y:"210",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"827",y:"210",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"52",y:"250",rx:"2",ry:"2",width:"31",height:"31"}),x.jsx("rect",{x:"95",y:"250",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"217",y:"250",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"339",y:"250",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"461",y:"250",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"583",y:"250",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"705",y:"250",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"827",y:"250",rx:"2",ry:"2",width:"110",height:"31"})]})}),exports.ContentLoaderPopupPicklist=()=>x.jsx(yb,{children:x.jsxs(lb,{speed:1,width:1e3,height:340,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{width:"100%",maxWidth:"1000px",minWidth:"800px"},children:[x.jsx("rect",{x:"130",y:"20",rx:"2",ry:"2",width:"100",height:"21"}),x.jsx("rect",{x:"510",y:"20",rx:"2",ry:"2",width:"100",height:"21"}),x.jsx("rect",{x:"130",y:"51",rx:"2",ry:"2",width:"360",height:"36"}),x.jsx("rect",{x:"510",y:"51",rx:"2",ry:"2",width:"360",height:"36"}),x.jsx("rect",{x:"130",y:"110",rx:"2",ry:"2",width:"100",height:"21"}),x.jsx("rect",{x:"510",y:"110",rx:"2",ry:"2",width:"100",height:"21"}),x.jsx("rect",{x:"130",y:"141",rx:"2",ry:"2",width:"360",height:"36"}),x.jsx("rect",{x:"510",y:"141",rx:"2",ry:"2",width:"360",height:"36"}),x.jsx("rect",{x:"52",y:"200",rx:"2",ry:"2",width:"31",height:"31"}),x.jsx("rect",{x:"95",y:"200",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"217",y:"200",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"339",y:"200",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"461",y:"200",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"583",y:"200",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"705",y:"200",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"827",y:"200",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"52",y:"240",rx:"2",ry:"2",width:"31",height:"31"}),x.jsx("rect",{x:"95",y:"240",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"217",y:"240",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"339",y:"240",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"461",y:"240",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"583",y:"240",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"705",y:"240",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"827",y:"240",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"52",y:"280",rx:"2",ry:"2",width:"31",height:"31"}),x.jsx("rect",{x:"95",y:"280",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"217",y:"280",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"339",y:"280",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"461",y:"280",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"583",y:"280",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"705",y:"280",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"827",y:"280",rx:"2",ry:"2",width:"110",height:"31"})]})}),exports.ContentLoaderPopupReadyToShip=()=>x.jsx(yb,{children:x.jsxs(lb,{speed:1,width:900,height:255,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{width:"100%",maxWidth:"900px",minWidth:"800px"},children:[x.jsx("rect",{x:"20",y:"25",rx:"2",ry:"2",width:"25",height:"22"}),x.jsx("rect",{x:"55",y:"20",rx:"2",ry:"2",width:"32",height:"32"}),x.jsx("rect",{x:"97",y:"20",rx:"2",ry:"2",width:"250",height:"32"}),x.jsx("rect",{x:"500",y:"20",rx:"2",ry:"2",width:"170",height:"32"}),x.jsx("rect",{x:"680",y:"20",rx:"2",ry:"2",width:"170",height:"32"}),x.jsx("rect",{x:"860",y:"20",rx:"2",ry:"2",width:"25",height:"22"}),x.jsx("rect",{x:"20",y:"70",rx:"2",ry:"2",width:"25",height:"22"}),x.jsx("rect",{x:"55",y:"65",rx:"2",ry:"2",width:"32",height:"32"}),x.jsx("rect",{x:"97",y:"65",rx:"2",ry:"2",width:"250",height:"32"}),x.jsx("rect",{x:"500",y:"65",rx:"2",ry:"2",width:"170",height:"32"}),x.jsx("rect",{x:"680",y:"65",rx:"2",ry:"2",width:"170",height:"32"}),x.jsx("rect",{x:"860",y:"65",rx:"2",ry:"2",width:"25",height:"22"}),x.jsx("rect",{x:"20",y:"115",rx:"2",ry:"2",width:"25",height:"22"}),x.jsx("rect",{x:"55",y:"110",rx:"2",ry:"2",width:"32",height:"32"}),x.jsx("rect",{x:"97",y:"110",rx:"2",ry:"2",width:"250",height:"32"}),x.jsx("rect",{x:"500",y:"110",rx:"2",ry:"2",width:"170",height:"32"}),x.jsx("rect",{x:"680",y:"110",rx:"2",ry:"2",width:"170",height:"32"}),x.jsx("rect",{x:"860",y:"110",rx:"2",ry:"2",width:"25",height:"22"}),x.jsx("rect",{x:"20",y:"160",rx:"2",ry:"2",width:"25",height:"22"}),x.jsx("rect",{x:"55",y:"155",rx:"2",ry:"2",width:"32",height:"32"}),x.jsx("rect",{x:"97",y:"155",rx:"2",ry:"2",width:"250",height:"32"}),x.jsx("rect",{x:"500",y:"155",rx:"2",ry:"2",width:"170",height:"32"}),x.jsx("rect",{x:"680",y:"155",rx:"2",ry:"2",width:"170",height:"32"}),x.jsx("rect",{x:"860",y:"155",rx:"2",ry:"2",width:"25",height:"22"}),x.jsx("rect",{x:"20",y:"205",rx:"2",ry:"2",width:"25",height:"22"}),x.jsx("rect",{x:"55",y:"200",rx:"2",ry:"2",width:"32",height:"32"}),x.jsx("rect",{x:"97",y:"200",rx:"2",ry:"2",width:"250",height:"32"}),x.jsx("rect",{x:"500",y:"200",rx:"2",ry:"2",width:"170",height:"32"}),x.jsx("rect",{x:"680",y:"200",rx:"2",ry:"2",width:"170",height:"32"}),x.jsx("rect",{x:"860",y:"200",rx:"2",ry:"2",width:"25",height:"22"})]})}),exports.ContentLoaderPopupStoreSelect=()=>x.jsx(yb,{children:x.jsx(lb,{speed:1,width:325.5,height:30,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:x.jsx("rect",{x:"0",y:"0",rx:"5",ry:"5",width:"325.5",height:"30"})})}),exports.ContentLoaderPromotionHover=()=>x.jsxs(lb,{height:151,width:"100%",speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:[x.jsx("rect",{x:"0",y:"4",rx:"0",ry:"0",width:"135",height:"14"}),x.jsx("rect",{x:"150",y:"4",rx:"0",ry:"0",width:"140",height:"14"}),x.jsx("rect",{x:"0",y:"32",rx:"0",ry:"0",width:"135",height:"14"}),x.jsx("rect",{x:"150",y:"32",rx:"0",ry:"0",width:"140",height:"14"}),x.jsx("rect",{x:"0",y:"60",rx:"0",ry:"0",width:"135",height:"14"}),x.jsx("rect",{x:"150",y:"60",rx:"0",ry:"0",width:"140",height:"14"}),x.jsx("rect",{x:"0",y:"88",rx:"0",ry:"0",width:"135",height:"14"}),x.jsx("rect",{x:"150",y:"88",rx:"0",ry:"0",width:"140",height:"14"}),x.jsx("rect",{x:"0",y:"116",rx:"0",ry:"0",width:"135",height:"14"}),x.jsx("rect",{x:"150",y:"116",rx:"0",ry:"0",width:"140",height:"14"}),x.jsx("rect",{x:"150",y:"132",rx:"0",ry:"0",width:"140",height:"14"})]}),exports.ContentLoaderReportingDashboard=()=>x.jsx(bb,{children:x.jsxs(lb,{speed:1,width:vb,height:500,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:[x.jsx("rect",{x:"10",y:"10",rx:"2",ry:"2",width:"210",height:"25"}),x.jsx("rect",{x:"10",y:"60",rx:"2",ry:"2",width:"210",height:"20"}),x.jsx("rect",{x:"10",y:"95",rx:"2",ry:"2",width:"210",height:"20"}),x.jsx("rect",{x:"10",y:"130",rx:"2",ry:"2",width:"210",height:"20"}),x.jsx("rect",{x:"10",y:"165",rx:"2",ry:"2",width:"210",height:"20"}),x.jsx("rect",{x:"10",y:"200",rx:"2",ry:"2",width:"210",height:"20"}),x.jsx("rect",{x:"10",y:"235",rx:"2",ry:"2",width:"210",height:"20"}),x.jsx("rect",{x:"10",y:"270",rx:"2",ry:"2",width:"210",height:"20"}),x.jsx("rect",{x:"10",y:"305",rx:"2",ry:"2",width:"210",height:"20"}),x.jsx("rect",{x:"280",y:"10",rx:"2",ry:"2",width:"210",height:"25"}),x.jsx("rect",{x:"280",y:"60",rx:"2",ry:"2",width:"210",height:"20"}),x.jsx("rect",{x:"280",y:"95",rx:"2",ry:"2",width:"210",height:"20"}),x.jsx("rect",{x:"280",y:"130",rx:"2",ry:"2",width:"210",height:"20"}),x.jsx("rect",{x:"280",y:"165",rx:"2",ry:"2",width:"210",height:"20"}),x.jsx("rect",{x:"280",y:"200",rx:"2",ry:"2",width:"210",height:"20"}),x.jsx("rect",{x:"280",y:"235",rx:"2",ry:"2",width:"210",height:"20"}),x.jsx("rect",{x:"280",y:"270",rx:"2",ry:"2",width:"210",height:"20"}),x.jsx("rect",{x:"280",y:"305",rx:"2",ry:"2",width:"210",height:"20"}),x.jsx("rect",{x:"550",y:"10",rx:"2",ry:"2",width:"210",height:"25"}),x.jsx("rect",{x:"550",y:"60",rx:"2",ry:"2",width:"210",height:"20"}),x.jsx("rect",{x:"550",y:"95",rx:"2",ry:"2",width:"210",height:"20"}),x.jsx("rect",{x:"550",y:"130",rx:"2",ry:"2",width:"210",height:"20"}),x.jsx("rect",{x:"550",y:"165",rx:"2",ry:"2",width:"210",height:"20"}),x.jsx("rect",{x:"550",y:"200",rx:"2",ry:"2",width:"210",height:"20"}),x.jsx("rect",{x:"550",y:"235",rx:"2",ry:"2",width:"210",height:"20"}),x.jsx("rect",{x:"550",y:"270",rx:"2",ry:"2",width:"210",height:"20"}),x.jsx("rect",{x:"550",y:"305",rx:"2",ry:"2",width:"210",height:"20"})]})}),exports.ContentLoaderSetting=()=>x.jsxs(lb,{speed:1,width:"100%",height:550,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:[x.jsx("rect",{x:"0",y:"0",rx:"2",ry:"2",width:"125",height:"15"}),x.jsx("rect",{x:"0",y:"25",rx:"2",ry:"2",width:"620",height:"25"}),x.jsx("rect",{x:"0",y:"60",rx:"2",ry:"2",width:"450",height:"25"}),x.jsx("rect",{x:"0",y:"110",rx:"2",ry:"2",width:"125",height:"15"}),x.jsx("rect",{x:"0",y:"135",rx:"2",ry:"2",width:"620",height:"25"}),x.jsx("rect",{x:"0",y:"170",rx:"2",ry:"2",width:"450",height:"25"}),x.jsx("rect",{x:"0",y:"220",rx:"2",ry:"2",width:"125",height:"15"}),x.jsx("rect",{x:"0",y:"245",rx:"2",ry:"2",width:"620",height:"25"}),x.jsx("rect",{x:"0",y:"280",rx:"2",ry:"2",width:"450",height:"25"}),x.jsx("rect",{x:"0",y:"330",rx:"2",ry:"2",width:"125",height:"15"}),x.jsx("rect",{x:"0",y:"355",rx:"2",ry:"2",width:"450",height:"80"}),x.jsx("rect",{x:"0",y:"460",rx:"2",ry:"2",width:"125",height:"15"}),x.jsx("rect",{x:"0",y:"485",rx:"2",ry:"2",width:"450",height:"80"}),x.jsx("rect",{x:"0",y:"585",rx:"2",ry:"2",width:"125",height:"15"}),x.jsx("rect",{x:"0",y:"610",rx:"2",ry:"2",width:"170",height:"25"}),x.jsx("rect",{x:"180",y:"610",rx:"2",ry:"2",width:"170",height:"25"}),x.jsx("rect",{x:"0",y:"645",rx:"2",ry:"2",width:"170",height:"25"}),x.jsx("rect",{x:"180",y:"645",rx:"2",ry:"2",width:"170",height:"25"}),x.jsx("rect",{x:"0",y:"695",rx:"2",ry:"2",width:"125",height:"15"}),x.jsx("rect",{x:"0",y:"720",rx:"2",ry:"2",width:"450",height:"25"}),x.jsx("rect",{x:"0",y:"755",rx:"2",ry:"2",width:"400",height:"25"})]}),exports.ContentLoaderTableList=()=>{const e=Cb-96,t=Math.floor((vb-110)/120),n=Math.floor((e-20)/50);return x.jsx(gb,{children:x.jsx(lb,{speed:1,width:vb,height:e,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:Array.apply(0,Array(n)).map(((e,n)=>{const r=n+50*(n+1)-30;return Array.apply(0,Array(t)).map(((e,t)=>{const i=t+120*(t+1)-65;return x.jsx("rect",{x:i,y:r,rx:"2",ry:"2",width:100,height:0===n?16:30},t)}))}))})})},exports.DateComponent=uy,exports.DateTimeComponent=({dateTimeData:e})=>{const t=Tx(e,"YYYY-MM-DD HH:mm:ss ZZ").format("D MMM YYYY,"),n=Tx(e,"YYYY-MM-DD HH:mm:ss ZZ").format("hh:mm A");return x.jsx(hy,{children:e?x.jsxs(x.Fragment,{children:[x.jsx("span",{children:t}),x.jsx("span",{children:n})]}):"-"})},exports.DropdownComponent=t=>{var{children:n,title:r,subTitle:i,$externalWidth:o,$externalMinWidth:a,$internalWidth:s,$area:c,$openPosition:d,$placement:u,$top:h,onClick:p,$alias:g,type:f,portalId:m,$bottom:y}=t,b=l(t,["children","title","subTitle","$externalWidth","$externalMinWidth","$internalWidth","$area","$openPosition","$placement","$top","onClick","$alias","type","portalId","$bottom"]);const v=e.useRef(null),C=()=>{const e=document.getElementsByClassName("_refContainer is-shown")[0];if(e){const t=e.getBoundingClientRect(),n=document.querySelector(`#${m} ._refDropdownPortal`);if(n){const e=n.querySelector("._refDropdownWrapper");n.style.left=t.left+t.width-e.getBoundingClientRect().width+"px",n.style.top=t.top+parseInt(h||"0")-32+"px"}}},w=()=>{const e=document.getElementsByClassName("_refContainer is-shown");if(e.length)for(let t=0;t<e.length;t++)e[t].classList.remove("is-shown");const t=document.querySelector("._refScrollContainer");t&&t.removeEventListener("scroll",C,!0),setTimeout((()=>{if(m){const e=document.getElementsByClassName("_refDropdownPortal is-shown");if(e.length)for(let t=0;t<e.length;t++)e[t].style.left="0",e[t].style.top="0",e[t].classList.remove("is-shown")}}),10)},A=e=>{const t=v.current;if(t){const n=e.target.closest(`.${t.classList[0]}`);if(!n)return;const r=n.closest("._refContainer");if(r){const t=r.classList.contains("is-shown"),n=r.getBoundingClientRect();t?(r.classList.remove("is-shown"),setTimeout((()=>{if(m){const e=document.querySelector(`#${m} ._refDropdownPortal`),t=document.querySelector("._refScrollContainer"),n=e.querySelector("._refDropdownWrapper");e&&(e.classList.remove("is-shown"),e.style.left="0px",e.style.top="0px",n&&t&&t.removeEventListener("scroll",C,!0))}}),10)):(w(),r.classList.add("is-shown"),setTimeout((()=>{if(m){const e=document.querySelector(`#${m} ._refDropdownPortal`),t=document.querySelector("._refScrollContainer"),r=e.querySelector("._refDropdownWrapper");e&&(n&&(r?setTimeout((()=>{r.style.right="auto",e.style.left=n.left+n.width-r.getBoundingClientRect().width+"px",e.style.top=n.top+parseInt(h||"0")-32+"px",e.style.zIndex="8",t&&t.addEventListener("scroll",C,!0)}),10):(e.style.left=n.left+(parseInt(s||"0")+n.width)/2+"px",e.style.top=n.top+n.height+"px")),e.classList.add("is-shown"))}}),10),p&&p(e))}}};e.useEffect((()=>(setTimeout((()=>{const e=document.querySelectorAll("._refDropdownPortal._refHover");for(let t of e)t&&t.addEventListener("mouseenter",(e=>{const t=e.target;t.classList.add("is-shown"),t.classList.add("unhiddenable")})),t&&t.addEventListener("mouseleave",(e=>{const t=e.target;t.classList.remove("is-shown"),t.classList.remove("unhiddenable"),t.style.left="0",t.style.top="0"}))}),1),()=>{const e=document.querySelectorAll("._refDropdownPortal._refHover");for(let t of e)t&&t.removeEventListener("mouseenter",(e=>{const t=e.target;t.classList.add("is-shown"),t.classList.add("unhiddenable")}),!0),t&&t.removeEventListener("mouseleave",(e=>{const t=e.target;t.classList.remove("is-shown"),t.classList.remove("unhiddenable"),t.style.left="0",t.style.top="0"}),!0)})),[m]);const F=i?x.jsx(Oe,{children:i}):null,k=r?x.jsxs(Te,{children:[r," ",F]}):null,B=n.filter((t=>e.isValidElement(t)?"control"===t.props["aria-label"]:null)),I=B&&e.isValidElement(B[0])?"hover"===f?x.jsxs(Me,{children:[x.jsx(je,Object.assign({className:"_refDropdownControl"},m&&{onMouseEnter:e=>{const t=v.current;if(t){const n=e.target.closest(`.${t.classList[0]}`);if(!n)return;const r=document.querySelectorAll("._refDropdownPortal");for(const e of r)e.classList.remove("is-shown"),e.style.left="0",e.style.top="0";const i=n.closest("._refContainer");if(i){const e=i.getBoundingClientRect(),t=document.querySelector(`#${m} ._refDropdownPortal`);if(t){if(e){t.style.left=e.left+(parseInt(s||"0")+e.width)/2+"px";let n=e.top+e.height;const r=t.querySelector("._refDropdownWrapper");r&&(r.style.display="block",n+r.clientHeight>=document.body.clientHeight&&(n=e.top-r.clientHeight-10)),t.style.top=n+"px"}t.classList.add("is-shown")}}}},onMouseLeave:e=>{const t=v.current;if(t){if(!e.target.closest(`.${t.classList[0]}`))return;setTimeout((()=>{const e=document.querySelector(`#${m} ._refDropdownPortal`);e&&!e.classList.contains("unhiddenable")&&(e.classList.remove("is-shown"),e.style.left="0",e.style.top="0")}),150)}}},{children:B[0].props.children})),x.jsx(je,{className:"_refDropdownControlMobile",ref:v,onClick:A,children:B[0].props.children})]}):x.jsx(je,{ref:v,onClick:A,children:B[0].props.children}):null,D=n.filter((t=>e.isValidElement(t)?"body"===t.props["aria-label"]:null)),E=D&&e.isValidElement(D[0])?x.jsx(Le,{$area:c,children:D[0].props.children}):null,S=n.filter((t=>e.isValidElement(t)?"action"===t.props["aria-label"]:null)),j=S&&e.isValidElement(S[0])?x.jsx(Pe,{$position:S[0].props["data-position"],className:S[0].props.className,children:S[0].props.children}):null,M=x.jsxs(Ee,Object.assign({className:"_refDropdownWrapper"},s&&{$internalWidth:s},h&&{$top:h},d&&{$openPosition:d},u&&{$placement:u},y&&{$bottom:y},{children:[k,E,j]}));return x.jsxs(Ne,Object.assign({className:"_refContainer "+(f?`_refContainer${f}`:"")},o&&{$externalWidth:o},a&&{$externalMinWidth:a},c&&{$area:c},h&&{$top:h},g&&{$alias:g},d&&{$openPosition:d},u&&{$placement:u},y&&{$bottom:y},b,{children:[I,x.jsx(Se,{className:"_refDropdownOverlay",onClick:()=>{w()}}),m?x.jsx(De,{wrapperId:m,children:x.jsx(Ye,{className:"_refDropdownPortal "+("hover"===f?"_refHover":""),children:M})}):M]}))},exports.ErrorComponent=sh,exports.FigureWraper=Kx,exports.FoContainer=Vx,exports.FormContainer=ib,exports.HeaderContainer=Rx,exports.IconComponent=Ie,exports.ImageComponent=mo,exports.InfoGroup=zx,exports.InitialContainer=qx,exports.InputComponent=ae,exports.InputGroup=Qx,exports.InputRefComponent=se,exports.IsNumeric=Q,exports.LabelComponent=e=>{var{children:t,$mode:n,$position:r}=e,i=l(e,["children","$mode","$position"]);return x.jsx(ve,Object.assign({$mode:n,$position:r},i,{children:t}))},exports.LinkComponent=L,exports.ListContainer=Px,exports.LoadingComponent=Ae,exports.MasterTableActionWrapper=_x,exports.MasterTableComponent=t=>{const{evOpenPopup:n,headerColumns:r,data:i,setData:o,resultPopup:a,setResultPopup:s,type:l,evCreateMessageQuestion:c,evCreateMessage:d,autoCopy:u,setAutoCopy:h,isRemovable:p=!0,isForceUpdate:g,setForceUpdate:f}=t,[m,y]=e.useState(!1),[b,C]=e.useState();e.useEffect((()=>{const e=()=>{const e=document.querySelector("._refResizeContainer");if(e){const t=document.querySelector("._refMasterTableViewport"),n=e.offsetHeight,r=document.querySelector("._refHeaderContainer"),i=r?r.offsetHeight:0;t&&(t.style.height=`calc(100vh - ${n+i+12}px)`)}};return e(),window.addEventListener("resize",e,!0),()=>{window.removeEventListener("resize",e,!0)}}),[]);const w=H(l||"");e.useEffect((()=>{const e=document.querySelector("#master-clone"),t=e?e.innerHTML:"";if((null==i?void 0:i.length)&&!t){const t=document.querySelector("._refMasterTableViewport"),n=document.querySelector("._refMasterTableHeaderClone");let r=0,i=0,o=!1;t&&t.addEventListener("scroll",(e=>{const a=t.offsetWidth-t.clientWidth,s=t.scrollLeft;i!==a&&(n.style.width=parseInt(n.style.width)+a+"px"),o||(window.requestAnimationFrame((()=>{r!==s&&(n.style.left="-"+s+"px"),o=!1,r=s})),o=!0),i=a}),{passive:!0}),e.innerHTML="true"}}),[i]);const A=55,F=p?55:0;let k=0,B=0;for(const e of r.filter((e=>!(null==e?void 0:e.isHidden))))"colGroup"===e.type&&(B+=e.width),k+=e.width;k+=A+F+1,B+=A;const I=(e,t,n,r)=>{const a="category"===(null==e?void 0:e.condition)?"Array":e.typeData||"String",s=$(a,t),c="category"===(null==e?void 0:e.condition)?ee(e,s,(null==e?void 0:e.condition[0].toUpperCase())+(null==e?void 0:e.condition.substring(1))):ee(e,s);if(n>=0){let t=[...i],a=t[n];if(r&&r>=0)if("putaway-inbound"===l){let t=a.locations[r];const n=e.key.replace("locations-","");t[n]=s,c.approved?delete t[n+"_error"]:t[n+"_error"]=c.errors[0],a.locations.splice(r,1,t)}else{let t=a.variants[r];const n=e.key.replace("variants-",""),i=a.variants.length;if("options-option"===n||"options-type"===n){const o=-1!==e.name.indexOf("1")?0:1,l="options-option"===n?"option":"type";if("type"===l){let e=[];for(let t=0;t<i;t++){let n=a.variants[t];if(n.options[o][l]=s,`${l}_error`in n.options[o]&&delete n.options[o][`${l}_error`],n.options.length>1){const e=0===o?1:0;`${l}_error`in n.options[e]&&delete n.options[e][`${l}_error`],s.toLowerCase()===n.options[e].type.toLowerCase()&&(n.options[o][`${l}_error`]="Variant type is duplicate")}e.push(n)}a.variants=e}else t.options[o][l]=s,c.approved?delete t.options[o][l+"_error"]:t.options[o][l+"_error"]=c.errors[0],a.variants.splice(r,1,t)}else t[n]=s,c.approved?delete t[n+"_error"]:t[n+"_error"]=c.errors[0],a.variants.splice(r,1,t)}else if("category"===(null==e?void 0:e.condition)){if(-1!==e.key.indexOf("listing")&&a.listing){const t=a.listing.findIndex((t=>t.accountId===e.value));if(t>=0){let n=[...a.listing],r=n[t];r[e.condition]=s,c.approved?delete r[e.condition+"_error"]:r[e.condition+"_error"]=c.errors[0],n.splice(t,1,r),a.listing=n}}}else a[e.key]=s,c.approved?delete a[e.key+"_error"]:a[e.key+"_error"]=c.errors[0];t.splice(n,1,a),o(t),e.bare&&c.approved&&f&&f(!0)}},D=e=>{const t=e.target,n=J("confirm",`Are you sure you want to remove ${"create-paymentreceive"===l?"invoice":"product"}?`,"",(()=>{let e=[...i];const n=t=>{var n;if(!u)return!1;let r=[...u];for(const i of t){const t=Object.assign({},e[i]),o=t.category,a=r.reduce(((e,t,n)=>e.concat(t.category===o?n:[])),[]);if(a.length)for(const e of a)if(e>=0){let i=null===(n=r[e])||void 0===n?void 0:n.copy;if(i){const e=i.findIndex((e=>e.id===t.id));e>=0&&i.splice(e,1)}}}h&&h(r),b&&C(void 0)},r=e=>{const t=document.getElementById("listing-data");t&&!t.innerHTML&&(t.innerText=JSON.stringify(e))};if("bulk"===(t.dataset.type||"")){let t=document.querySelectorAll("[name='checkbox-list']:checked"),i=[];for(let e=0;e<t.length;e++){const n=t[e],r=n.dataset.key?parseInt(n.dataset.key):0;i.push(r)}const a=e.filter(((e,t)=>-1===i.indexOf(t)));"listing"===w?(n(i),o(a,(e=>r(e)))):o(a),O()}else{const i=t.closest(".cell-trash"),a=i.dataset.idx?parseInt(i.dataset.idx):null,s=i.dataset.row?parseInt(i.dataset.row):null;if(null!==a)if("listing"===w)n([a]),e.splice(a,1),o(e,(e=>r(e)));else if("master"===w){let t=Object.assign({},e[a]);if(null==t?void 0:t.variants)if(1===t.variants.length)e.splice(a,1);else{let n=[...t.variants];s&&n.splice(s,1),t.variants=n,e.splice(a,1,t)}else e.splice(a,1);o(e)}else if("putaway-inbound"===l){let t=Object.assign({},e[a]);if(null==t?void 0:t.locations)if(1===t.locations.length)e.splice(a,1);else{let n=[...t.locations];s&&n.splice(s,1),t.locations=n,e.splice(a,1,t)}else e.splice(a,1);o(e)}else e.splice(a,1),o(e)}}));c&&c(n)},E=e=>{const t=document.querySelectorAll("[name='checkbox-list']:checked").length,n=document.querySelector("._refMasterTableBulkWrapper"),r=n.getElementsByTagName("span");r&&(r[0].innerHTML=`${t} selected`),t>0?n.classList.add("is-active"):n.classList.remove("is-active")},S=e=>{const t=e.target.checked,n=document.querySelectorAll("[name='checkbox-list']");if(null==n?void 0:n.length)for(let e=0;e<n.length;e++){const r=n[e],i=r.closest(".cell-checkbox"),o=r.closest("._refMasterTableBodyContent");t?(i&&i.classList.add("isChecked"),o&&o.classList.add("is-highlighted")):(i&&i.classList.remove("isChecked"),o&&o.classList.remove("is-highlighted")),r.checked=t}else{const t=U("warning","No Products Selected");d&&d(t),e.target.checked=!1,y(!1)}E()},j=e=>{const t=e.target,n=t.checked,r=document.querySelectorAll("[name='checkbox-selectAll']"),i=t.closest(".cell-checkbox"),o=t.closest("._refMasterTableBodyContent");!n&&(null==r?void 0:r.length)&&r.forEach((e=>e.checked&&(e.checked=!1))),n?(i&&i.classList.add("isChecked"),o&&o.classList.add("is-highlighted")):(i&&i.classList.remove("isChecked"),o&&o.classList.remove("is-highlighted")),E()},M="stock"===w?66:82,N=(e,t,r,i,o,c,d)=>{const u=c||M,h=e=>{const t=document.getElementById("cur-key");document.querySelectorAll(".cell-editing").forEach((e=>e.classList.remove("cell-editing"))),t&&(t.innerHTML=""),e&&e()};let p;switch(t.fieldType){case"image":p=x.jsx(qy,{head:t,value:r,height:u,evOpenPopup:n,idx:e,variantIdx:o,evChange:I,resultPopup:a,setResultPopup:s,error:i,evCloseEditor:h});break;case"textarea":p=x.jsx(nb,{head:t,value:r,height:u,idx:e,variantIdx:o});break;case"select":p=t.bare?x.jsx($y,{head:t,value:r,idx:e,variantIdx:o,evChange:I,error:i,content:d,isForceUpdate:g,setForceUpdate:f}):x.jsx(Ky,{head:t,value:r,height:u,idx:e,variantIdx:o,evChange:I,error:i,evCloseEditor:h});break;case"tag":p=x.jsx(tb,{head:t,value:r,height:u,evOpenPopup:n,idx:e,variantIdx:o,evChange:I,resultPopup:a,setResultPopup:s,evCloseEditor:h});break;case"label":p=x.jsx(_y,{head:t,value:r,height:u,idx:e,evOpenPopup:n,content:d,type:l,variantIdx:o});break;case"switch":p=x.jsx(eb,{head:t,value:r,idx:e,variantIdx:o,evChange:I,evCloseEditor:h});break;case"date":p=t.bare?x.jsx(Qy,{head:t,value:r,idx:e,variantIdx:o,evChange:I,error:i,isForceUpdate:g,setForceUpdate:f}):x.jsx(Zy,{head:t,value:r,height:u,idx:e,variantIdx:o,evChange:I,error:i,evCloseEditor:h});break;default:p=t.bare?x.jsx(Jy,{head:t,content:d,value:r,height:u,idx:e,variantIdx:o,evChange:I,error:i,type:l,isForceUpdate:g,setForceUpdate:f}):x.jsx(Uy,{head:t,value:r,height:u,idx:e,variantIdx:o,evChange:I,error:i,evCloseEditor:h,content:d})}return p},T=e=>{const t=e.target.dataset.key||"",n=r.findIndex((e=>e.key===t));if(n>=0){const e=r[n],a=document.querySelector("[name='checkbox-selectAll']"),s=document.querySelectorAll("[name='checkbox-list']:checked"),l=!a.checked&&s.length?`Clear to selected products (${s.length})`:"Clear all products",d=J("confirm","Are you sure you want to clear this column?","By clearing data, you can't undo this action.",(()=>{const n="validations"in e?ee(e,""):{approved:!0},r=t.split("-"),l=r[0],c=r[1],d="Boolean"!==e.typeData&&"";let u=[...i];if("stock"===w){const e=u.map((e=>{let r=e;return t&&(r[t]=d,n.approved?delete r[t+"_error"]:r[t+"_error"]=n.errors[0]),r}));o(e)}else if(!a.checked&&s.length){for(let e=0;e<s.length;e++){const t=s[e],r=t.dataset.key?parseInt(t.dataset.key):null;if(null!==r){let e=u[r];if(c){const t=e[l].map((e=>{const t=e;return t[c]=d,n.approved?delete t[c+"_error"]:t[c+"_error"]=n.errors[0],t}));e[l]=t}else e[l]=d,n.approved?delete e[l+"_error"]:e[l+"_error"]=n.errors[0];u.splice(r,1,e)}}o(u)}else{const e=u.map((e=>{let t=e;if(c){const e=t[l].map((e=>{const t=e;return t[c]=d,n.approved?delete t[c+"_error"]:t[c+"_error"]=n.errors[0],t}));t[l]=e}else t[l]=d,n.approved?delete t[l+"_error"]:t[l+"_error"]=n.errors[0];return t}));o(e)}}),l);c&&c(d)}},O=e.useCallback((()=>{const e=document.querySelectorAll("[name='checkbox-selectAll']");setTimeout((()=>{e.forEach((e=>e.checked&&(e.checked=!1)))}),10);const t=document.querySelectorAll("[name='checkbox-list']:checked");if(null==t?void 0:t.length)for(let e=0;e<t.length;e++){const n=t[e],r=n.closest(".cell-checkbox"),i=n.closest("._refMasterTableBodyContent");r&&r.classList.remove("isChecked"),i&&i.classList.remove("is-highlighted"),n.checked=!1}m&&y(!1)}),[m]);e.useEffect((()=>{if(a&&"edit"in a){const e=a.edit.key,t=a.edit.value,n=e.split("-"),r=n[0],l=n[1],c=document.querySelector("[name='checkbox-selectAll']"),d=document.querySelectorAll("[name='checkbox-list']:checked");let u=[...i];if(!c.checked&&d.length){for(let e=0;e<d.length;e++){const n=d[e],i=n.dataset.key?parseInt(n.dataset.key):null;if(null!==i){let e=u[i];if(l){const n=e[r].map((e=>{const n=e;return n[l]=t,delete n[l+"_error"],n}));e[r]=n}else e[r]="",delete e[r+"_error"];u.splice(i,1,e)}}o(u)}else{const e=u.map((e=>{let n=e;if(l){const e=n[r].map((e=>{const n=e;return n[l]=t,delete n[l+"_error"],n}));n[r]=e}else n[r]="",delete n[r+"_error"];return n}));o(e)}s&&s(null)}}),[a,s,i,o,w,l,r]);const P=r.filter((e=>e.isMassEditable||e.isMassClearable)).length>0,Y=(e,t,r,o,a,s)=>(null==e?void 0:e.length)?x.jsxs(Sy,{className:""+(s?"_refMasterTableHeaderClone":"_refMasterTableHeader"),style:{width:s&&a||"100%"},children:[x.jsxs(jy,{children:[x.jsx("div",{className:"headerCell headerCell-Checkbox",style:{width:t},children:p?x.jsx(he,{onClick:S,name:"checkbox-selectAll",id:""+(s?"checkbox-selectAll-clone":"checkbox-selectAll")}):null},0),e.filter((e=>!(null==e?void 0:e.isHidden))).map(((e,t)=>{var n;return x.jsxs("div",{className:"headerCell "+(e.icon||e.initial?"headerCell-img":""),"data-key":e.key,style:{width:e.width},children:[e.icon?x.jsx(mo,{width:"24px",src:e.icon,alt:e.name}):e.initial?x.jsx(qx,{className:"initial-wrapper",style:{width:"24px",height:"24px",backgroundColor:(null==e?void 0:e.color)||"#000000",fontSize:"10px"},children:e.initial}):null,x.jsxs("header",{className:"multi-elipsis",title:e.name,children:[e.name,(null===(n=null==e?void 0:e.validations)||void 0===n?void 0:n.required)&&x.jsx(v,{$color:"red",style:{display:"inline",lineHeight:"normal"},children:"*"}),(null==e?void 0:e.tip)&&x.jsx(Ie,{$name:"question",$width:"12px","data-tip":e.tip,"data-place":"top","data-multiline":!0})]})]},t+1)})),p?x.jsx("div",{className:"headerCell headerCell-trash",style:{width:r}},e.length+("picklist"===w?2:1)):null]}),P&&(null==i?void 0:i.length)?x.jsxs(_x,{children:[x.jsx("div",{className:"actionCell",style:{width:t}}),e.filter((e=>!(null==e?void 0:e.isHidden))).map(((e,t)=>x.jsx("div",{className:"actionCell",style:{width:e.width},children:x.jsxs(Ry,{children:[e.isMassEditable&&x.jsx(L,{mode:"clear",title:"Bulk Edit","data-popup":"table-mass-edit","data-detail":JSON.stringify({title:"Bulk Edit",head:e}),onClick:n,children:"Edit"}),e.isMassClearable&&x.jsx(L,{mode:"clear",title:"Bulk Clear","data-key":e.key,onClick:T,children:"Clear"})]})},t+1))),p?x.jsx("div",{className:"actionCell",style:{width:r}},e.length+("picklist"===w?2:1)):null]}):null]}):null;return console.log(i,"dataTable"),x.jsxs(x.Fragment,{children:[Y(r,A,F,0,k,!0),x.jsxs(By,{children:[x.jsx(Iy,{children:x.jsx(Dy,{className:"_refMasterTableViewport",$mode:l||"create-master",children:x.jsxs(Ey,{className:"_refMasterTableCanvas",style:{width:k},children:[Y(r,A,F),x.jsx(My,{className:"_refMasterTableBody",children:(null==i?void 0:i.length)?"putaway-inbound"===l?x.jsx(Xy,{data:i,heightContent:M,firstHeaderColumnsWidth:A,evCheckbox:j,headerColumns:r,switchEditor:N,totalColGroupWidth:B,lastHeaderColumnsWidth:F,evRemove:D,type:l,isRemovable:p}):x.jsx(zy,{data:i,firstHeaderColumnsWidth:A,evCheckbox:j,headerColumns:r,switchEditor:N,lastHeaderColumnsWidth:F,evRemove:D,type:l,isRemovable:p}):null})]})})}),x.jsxs("section",{className:"_refContainer",children:[x.jsxs(Jx,{className:"_refMasterTableBulkWrapper",children:[x.jsx(Ie,{className:"_refBulkCloseButton",$name:"cross",$width:"16px",onClick:e=>{e.persist(),O()}}),x.jsx("span",{children:"0 Selected"}),x.jsxs(xe,{$mode:"red",$shadow:!0,"data-type":"bulk",onClick:D,children:["Remove ","create-paymentreceive"===l?"Invoice":"Product"]})]}),x.jsx("div",{className:"_refDropdownOverlay",onClick:()=>{document.querySelector("._refDropdownOverlay").style.display="none";document.getElementsByTagName("BODY")[0].classList.remove("is-immuned")}})]})]}),x.jsx("div",{id:"master-clone",className:"hidden"})]})},exports.MenuList=e=>x.jsx(Mc.MenuList,Object.assign({},e,{children:e.children})),exports.MessageComponent=({timer:t=500,$type:n,message:r,callback:i})=>{const[o,a]=We.useStateWithCallbackLazy(!1),[s,l]=We.useStateWithCallbackLazy(!1),[c,d]=We.useStateWithCallbackLazy(!1),u=e.useCallback((()=>{d(!c,(()=>{document.getElementsByTagName("BODY")[0].classList.remove("is-immuned"),i&&i()}))}),[i,d,c]),h=e.useCallback((()=>{u()}),[u]);return e.useEffect((()=>{const e=t||2e3,n=document.querySelector("._refMessageOverlay");return o||c?o&&c&&(a&&a(!o,(()=>{})),l&&l(!s,(()=>{})),n&&n.removeEventListener("click",h)):a(!o,(()=>{n&&n.addEventListener("click",h),setTimeout((()=>{l(!s,(()=>{setTimeout((()=>!s&&u()),e)}))}),1)})),()=>{n&&n.removeEventListener("click",h)}}),[o,s,t,u,a,l,h,c]),x.jsxs(ze,{$isOpen:o,children:[x.jsx(Ze,{className:"_refMessageOverlay"}),x.jsx(Ue,{children:x.jsx(Qe,{$isOpen:s,children:x.jsxs(Je,{$type:n,children:[x.jsx("i",{}),r,x.jsx(xe,{$mode:"small-white-round-close",onClick:u})]})})})]})},exports.MessageQuestionComponent=({$type:t,title:n,subtitle:r,callback:i,buttonSubmit:o,cancelCallback:a})=>{const[s,l]=We.useStateWithCallbackLazy(!1),[c,d]=We.useStateWithCallbackLazy(!1),[u,h]=We.useStateWithCallbackLazy(!1),p=e.useCallback((()=>{h(!u,(()=>{a&&a();document.getElementsByTagName("BODY")[0].classList.remove("is-immuned")}))}),[a,u,h]),g=e.useCallback((()=>{p()}),[p]);return e.useEffect((()=>{const e=document.querySelector("._refQuestionMessageOverlay");s||u?s&&u&&(l(!s,(()=>{})),d(!c,(()=>{})),e&&e.removeEventListener("click",g)):l(!s,(()=>{setTimeout((()=>{d(!c,(()=>{})),e&&e.addEventListener("click",g)}),1)}))}),[s,c,l,d,g,u]),x.jsxs(ze,{$isOpen:s,children:[x.jsx(Ze,{className:"_refQuestionMessageOverlay",$type:t}),x.jsx(Ue,{$type:t,children:x.jsx(Qe,{$isOpen:c,children:x.jsxs(Je,{$type:t,children:[x.jsx("i",{}),x.jsxs("div",{children:[x.jsx(v,{$elipsis:!1,style:{fontWeight:600,fontSize:"15px"},children:n}),x.jsx(v,{$color:"grey",$elipsis:!1,children:eo(r)}),x.jsxs("aside",{children:[x.jsx(xe,{$mode:"white",$size:"small",onClick:p,children:"Cancel"}),x.jsx(xe,{$mode:"red",$size:"small",onClick:()=>{h(!u,(()=>{document.getElementsByTagName("BODY")[0].classList.remove("is-immuned"),i&&i()}))},children:o||"Confirm"})]})]})]})})})]})},exports.MuteLabel=Zx,exports.PanelContainer=Lx,exports.PanelWrapper=Yx,exports.PopupComponent=t=>{var{children:n,body:r,mode:i,height:o,width:a,isOpen:s,evTooglePopup:c}=t,d=l(t,["children","body","mode","height","width","isOpen","evTooglePopup"]);const[u,h]=We.useStateWithCallbackLazy(!1),p=e.useRef(null),g=e.useCallback((e=>{ho=setTimeout((()=>{h(e,(()=>{const e=p&&p.current?p.current:null;e&&(e.scrollTop=0)})),clearTimeout(ho)}),1)}),[h]),f=e.useRef({init:()=>{g(s)}});e.useEffect((()=>{const{init:e}=f.current;return e(),()=>{clearTimeout(ho)}}),[]),e.useEffect((()=>{g(s)}),[s,g]);let m=[...n];const y=(null==m?void 0:m.filter((t=>e.isValidElement(t)&&"head"===t.props["aria-label"])))||null,b=(null==m?void 0:m.filter((t=>e.isValidElement(t)&&"sub-head"===t.props["aria-label"])))||null,v=(null==m?void 0:m.filter((t=>e.isValidElement(t)&&"body"===t.props["aria-label"])))||null,C=(null==m?void 0:m.filter((t=>e.isValidElement(t)&&"foot"===t.props["aria-label"])))||null,w=(null==m?void 0:m.filter((t=>e.isValidElement(t)&&"left-foot"===t.props["aria-label"])))||null,A=b.length?x.jsx("aside",{children:b[0]&&e.isValidElement(b[0])?b[0].props.children:null}):null,F=y.length&&y[0]&&e.isValidElement(y[0])?y[0].props["data-qa-id"]:"";return x.jsxs(no,{$isOpen:s,children:[x.jsx(ro,{}),x.jsx(io,Object.assign({ref:p},d["data-qa-id"]&&{"data-qa-id":d["data-qa-id"]},{children:"question"===i?x.jsx(oo,{$isOpen:u,children:x.jsxs(uo,{$width:a,children:[x.jsx(Ie,{$name:"warning",$width:"30px"}),x.jsxs(ao,{$mode:i,children:[y.length?x.jsx(so,{children:y[0]&&e.isValidElement(y[0])?y[0].props.children:null}):null,A,C.length?x.jsx(co,{children:C[0]&&e.isValidElement(C[0])?x.jsx("aside",{"data-type":C[0].props.type||"",children:C[0].props.children}):null}):null]})]})}):x.jsxs(x.Fragment,{children:[x.jsx(ao,{$width:a,$isOpen:u,$mode:i,children:y.length?x.jsxs(x.Fragment,{children:[x.jsx(xe,{$mode:"round-close",onClick:c}),x.jsx(so,{"data-qa-id":F,children:y[0]&&e.isValidElement(y[0])&&y[0].props.children})]}):null}),x.jsxs(oo,{$width:a,$isOpen:u,$withHeader:!!y.length,children:[A,v.length?x.jsx(lo,{$mode:r,$width:a,$height:o,children:v[0]&&e.isValidElement(v[0])&&v[0].props.children}):null,C.length?x.jsxs(co,{$isLeft:!!w.length,children:[x.jsx("aside",{children:w&&w.length&&w[0]&&e.isValidElement(w[0])?w[0].props.children:null}),C[0]&&e.isValidElement(C[0])?x.jsxs("aside",{"data-type":C[0].props.type||"",children:[i&&"info"===i?x.jsx(xe,{$mode:"white",$size:"small",onClick:c,children:"Close"}):x.jsx(xe,{$mode:"white",$size:"small",onClick:c,"data-qa-id":"popup-button-cancel",children:"Cancel"}),C[0].props.children]}):null]}):null]})]})}))]})},exports.RadioComponent=e=>{var{children:t,$mode:n,evChange:r}=e,i=l(e,["children","$mode","evChange"]);const{id:o}=i;return x.jsx(py,{children:x.jsxs("label",{htmlFor:o,children:[x.jsx(fy,Object.assign({type:"radio",id:o,$mode:n,onChange:e=>{r&&r(e)}},i)),x.jsx(gy,Object.assign({$mode:n},i["data-qa-id"]&&{"data-qa-id":i["data-qa-id"]},{children:t}))]})})},exports.ReactPortalComponent=De,exports.SelectComponent=oh,exports.SingleFormContainer=ob,exports.SwitchComponent=by,exports.TabsContainer=Wx,exports.TabsContent=Hx,exports.TextAreaComponent=Ah,exports.TextAreaRefComponent=Fh,exports.TextComponent=v,exports.Title=Gx,exports.UploadComponent=e=>{var{children:t,mode:n}=e,r=l(e,["children","mode"]);const{id:i,width:o}=r;return"image"===n?x.jsxs(x.Fragment,{children:[t,x.jsx(gh,Object.assign({},"data-idx"in r&&{"data-idx":r["data-idx"]},r["data-detail"]&&{"data-detail":r["data-detail"]},r))]}):x.jsxs(dh,{$width:o,children:[x.jsxs(uh,{htmlFor:i,children:[x.jsx(ph,{}),x.jsx(hh,{children:t})]}),x.jsx(gh,Object.assign({},"data-idx"in r&&{"data-idx":r["data-idx"]},r["data-detail"]&&{"data-detail":r["data-detail"]},r))]})},exports.UploadDragDropComponent=t=>{var{children:n,id:r,name:i,evChange:o,evCreateMessage:a}=t,s=l(t,["children","id","name","evChange","evCreateMessage"]);const{accept:c}=s,[d,u]=e.useState(!1),h=e=>{e.preventDefault(),e.stopPropagation(),"dragenter"===e.type||"dragover"===e.type?u(!0):"dragleave"===e.type&&u(!1)};return x.jsxs(fh,{onDragEnter:h,className:d?"drag-active":"",children:[x.jsx(gh,Object.assign({id:r,name:i,onChange:e=>{e.preventDefault();const t=e.target;t.files&&t.files[0]&&o&&o(t.files)}},s)),x.jsx(mh,{id:"label-file-dragdrop-upload",htmlFor:r,children:x.jsx(yh,{children:n?x.jsxs(vh,{children:[x.jsx(Ch,{}),x.jsx("span",{children:n})]}):x.jsxs(bh,{children:["Drag & Drop file here to upload, or ",x.jsx("span",{children:"browse"}),"."]})})}),d&&x.jsx(xh,{onDragEnter:h,onDragLeave:h,onDragOver:h,onDrop:e=>{if(e.preventDefault(),e.stopPropagation(),u(!1),e.dataTransfer.files[0]){const t=c?c.split(",").map((e=>e.trim().replace(".",""))):null;for(let n=0;n<e.dataTransfer.files.length;n++){const r=e.dataTransfer.files[n].name.split(".").pop();if((null==t?void 0:t.length)&&r&&!t.includes(r)){const e=U("failed","File type is not allowed. Please check again");return a&&a(e),!1}}o&&o(e.dataTransfer.files)}}})]})},exports.boxBase=B,exports.capitalize=e=>e?e[0].toUpperCase()+e.substring(1):"",exports.clearList=C,exports.colorCommonQuantity=X,exports.configDateRange=wb,exports.currencyNumber=q,exports.dateRangeDays=W,exports.dateRangeStatus=e=>({today:"Today",lastweek:"Last 7 days",lastsecondweek:"Last 14 days",lastmonth:"Last 30 days",lastquart:"Last 90 days",custom:"Date"}[e]),exports.debounce=z,exports.dropBase=I,exports.elipsis=A,exports.errorTitle=V,exports.evGenerateValueMatch=(e,t)=>{let n;if(e&&Object.keys(e).length){const r=["lessEqual","greaterEqual","less","greater"].find((t=>t in e));if(t&&r){const i=e[r];i&&i in t&&(n=t[i])}}return n},exports.evUpdateInputRc=(e,t)=>{var n;if(!e)return!1;const r=null===(n=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"value"))||void 0===n?void 0:n.set;r&&r.call(e,void 0===t?"":t);const i=new Event("input",{bubbles:!0});e.dispatchEvent(i)},exports.formLabel=E,exports.formatNumber=Z,exports.generateMessage=U,exports.generateMessageQuestion=J,exports.generateValue=$,exports.generateValueTable=K,exports.getSizeContainer=_,exports.getStorage=(e,t="string",n,r="load")=>{let i;switch(null!==sessionStorage.getItem(r)?i=null!==sessionStorage.getItem(e)?sessionStorage.getItem(e):n:(i=null!==localStorage.getItem(e)?localStorage.getItem(e):n,null!==localStorage.getItem(e)&&sessionStorage.setItem(e,i)),t){case"boolean":i=void 0!==i&&"undefined"!==i&&"true"===i;break;case"number":case"integer":i=void 0!==i&&"undefined"!==i?parseInt(i):0;break;case"object":case"array":i=void 0!==i&&"undefined"!==i?JSON.parse(i):void 0;break;default:i=void 0===i||"undefined"===i?"":i}return i},exports.headTable=D,exports.multiElipsis=F,exports.pageMasterTable=H,exports.removeStorage=e=>(localStorage.removeItem(e),sessionStorage.removeItem(e),!0),exports.responseWidth=w,exports.setStorage=(e,t,n)=>{if(null==t)return!1;const r="string"!=typeof t?"object"==typeof t?JSON.stringify(t):t.toString():t;switch(n){case"session":sessionStorage.setItem(e,r);break;case"local":localStorage.setItem(e,r);break;default:sessionStorage.setItem(e,r),localStorage.setItem(e,r)}},exports.thirdElipsis=k,exports.unescapeHTML=te,exports.validateByApproveJs=ee;
|
|
2263
|
+
`,wb=_().width,Ab=_().height,Fb={rangeDate:"lastsecondweek",startDate:Tx().clone().subtract(13,"days").format("YYYY-MM-DD"),endDate:Tx().clone().format("YYYY-MM-DD"),placeholder:"Last 14 days",minDate:Tx().clone().subtract(W("lastquart"),"days").format("YYYY-MM-DD")};exports.BoxContainer=Ux,exports.BreadcrumbContainer=Xx,exports.BulkActionWrapper=Jx,exports.ButtonComponent=xe,exports.CheckboxComponent=he,exports.ContentLoaderAccountsList=()=>x.jsxs(db,{height:284,width:"100%",speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,viewBox:"0 0 290 284",children:[x.jsx("rect",{x:"10",y:"15",rx:"0",ry:"0",width:"40",height:"40"}),x.jsx("rect",{x:"62",y:"15",rx:"0",ry:"0",width:"90",height:"13"}),x.jsx("rect",{x:"62",y:"30",rx:"0",ry:"0",width:"185",height:"13"}),x.jsx("rect",{x:"62",y:"45",rx:"0",ry:"0",width:"50",height:"11"}),x.jsx("rect",{x:"257",y:"23",rx:"50",ry:"50",width:"25",height:"25"}),x.jsx("rect",{x:"10",y:"70",rx:"0",ry:"0",width:"40",height:"40"}),x.jsx("rect",{x:"62",y:"70",rx:"0",ry:"0",width:"90",height:"13"}),x.jsx("rect",{x:"62",y:"85",rx:"0",ry:"0",width:"185",height:"13"}),x.jsx("rect",{x:"62",y:"100",rx:"0",ry:"0",width:"50",height:"11"}),x.jsx("rect",{x:"257",y:"77",rx:"50",ry:"50",width:"25",height:"25"}),x.jsx("rect",{x:"10",y:"125",rx:"0",ry:"0",width:"40",height:"40"}),x.jsx("rect",{x:"62",y:"125",rx:"0",ry:"0",width:"90",height:"13"}),x.jsx("rect",{x:"62",y:"140",rx:"0",ry:"0",width:"185",height:"13"}),x.jsx("rect",{x:"62",y:"155",rx:"0",ry:"0",width:"50",height:"11"}),x.jsx("rect",{x:"257",y:"131",rx:"50",ry:"50",width:"25",height:"25"}),x.jsx("rect",{x:"10",y:"180",rx:"0",ry:"0",width:"40",height:"40"}),x.jsx("rect",{x:"62",y:"180",rx:"0",ry:"0",width:"90",height:"13"}),x.jsx("rect",{x:"62",y:"195",rx:"0",ry:"0",width:"185",height:"13"}),x.jsx("rect",{x:"62",y:"210",rx:"0",ry:"0",width:"50",height:"11"}),x.jsx("rect",{x:"257",y:"185",rx:"50",ry:"50",width:"25",height:"25"}),x.jsx("rect",{x:"10",y:"235",rx:"0",ry:"0",width:"40",height:"40"}),x.jsx("rect",{x:"62",y:"235",rx:"0",ry:"0",width:"90",height:"13"}),x.jsx("rect",{x:"62",y:"250",rx:"0",ry:"0",width:"185",height:"13"}),x.jsx("rect",{x:"62",y:"265",rx:"0",ry:"0",width:"50",height:"11"}),x.jsx("rect",{x:"257",y:"239",rx:"50",ry:"50",width:"25",height:"25"})]}),exports.ContentLoaderActivityList=()=>x.jsxs(db,{height:260,width:"100%",speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:[x.jsx("rect",{x:"10",y:"15",rx:"50",ry:"50",width:"35",height:"35"}),x.jsx("rect",{x:"55",y:"15",rx:"0",ry:"0",width:"330",height:"13"}),x.jsx("rect",{x:"55",y:"35",rx:"0",ry:"0",width:"330",height:"11"}),x.jsx("rect",{x:"10",y:"65",rx:"50",ry:"50",width:"35",height:"35"}),x.jsx("rect",{x:"55",y:"65",rx:"0",ry:"0",width:"330",height:"13"}),x.jsx("rect",{x:"55",y:"85",rx:"0",ry:"0",width:"330",height:"11"}),x.jsx("rect",{x:"10",y:"115",rx:"50",ry:"50",width:"35",height:"35"}),x.jsx("rect",{x:"55",y:"115",rx:"0",ry:"0",width:"330",height:"13"}),x.jsx("rect",{x:"55",y:"135",rx:"0",ry:"0",width:"330",height:"11"}),x.jsx("rect",{x:"10",y:"165",rx:"50",ry:"50",width:"35",height:"35"}),x.jsx("rect",{x:"55",y:"165",rx:"0",ry:"0",width:"330",height:"13"}),x.jsx("rect",{x:"55",y:"185",rx:"0",ry:"0",width:"330",height:"11"}),x.jsx("rect",{x:"10",y:"215",rx:"50",ry:"50",width:"35",height:"35"}),x.jsx("rect",{x:"55",y:"215",rx:"0",ry:"0",width:"330",height:"13"}),x.jsx("rect",{x:"55",y:"235",rx:"0",ry:"0",width:"330",height:"11"})]}),exports.ContentLoaderAddition=()=>{let e=wb>=994?wb>=1031&&wb>=1031?wb-100:wb-60:994;const t=e-777,n=e-665,r=e-555,i=e-405,o=e-230;return x.jsx(bb,{children:x.jsxs(db,{speed:1,width:e,height:"100%",backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:[x.jsx("rect",{x:"38",y:"15",rx:"2",ry:"2",width:"31",height:"61"}),x.jsx("rect",{x:95,y:"15",rx:"2",ry:"2",width:t,height:"61"}),x.jsx("rect",{x:n,y:"15",rx:"2",ry:"2",width:90,height:"61"}),x.jsx("rect",{x:r,y:"15",rx:"2",ry:"2",width:140,height:"61"}),x.jsx("rect",{x:i,y:"15",rx:"2",ry:"2",width:160,height:"61"}),x.jsx("rect",{x:o,y:"15",rx:"2",ry:"2",width:140,height:"61"})]})})},exports.ContentLoaderAnalyticsMenu=()=>x.jsx(db,{height:60,width:"100%",speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:x.jsx("rect",{x:"0",y:"15",rx:"0",ry:"0",width:"100%",height:"36"})}),exports.ContentLoaderCategoryList=()=>{const t=window.innerHeight-286,n=wb>=1336||wb>=1112?400:300,r=32+n+12,i=wb-n-85,o=t?Math.ceil((t-78)/70):0;return x.jsx(gb,{children:x.jsxs(db,{speed:1,width:wb,height:"100%",backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:[x.jsx("rect",{x:32,y:"23",rx:"2",ry:"2",width:n,height:"16"}),x.jsx("rect",{x:r,y:"23",rx:"2",ry:"2",width:i,height:"16"}),Array.apply(0,Array(o)).map(((t,o)=>{const a=70*o+78;return x.jsxs(e.Fragment,{children:[x.jsx("rect",{x:32,y:a,rx:"2",ry:"2",width:n,height:"31"}),x.jsx("rect",{x:r,y:a,rx:"2",ry:"2",width:i,height:"31"})]},o)}))]})})},exports.ContentLoaderChatAccounts=({mode:t})=>{const n=document.querySelector("._refChatContainer"),r=n?n.offsetWidth:0,i="single"===t?65:n&&n.offsetHeight-140>=0?n.offsetHeight:0,o=r-48-88-20,a=o+60+16,s="single"===t?1:Math.floor(i/64);let l=0;return x.jsx(db,{height:i,width:"100%",speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:Array.apply(0,Array(s)).map(((t,n)=>{const r=14+l,i=32+l,s=64+l;return l=s,x.jsxs(e.Fragment,{children:[x.jsx("rect",{x:"16",y:r,rx:"4",ry:"4",width:"32",height:"32"}),x.jsx("rect",{x:"60",y:r,rx:"0",ry:"0",width:o,height:"14"}),x.jsx("rect",{x:"60",y:i,rx:"0",ry:"0",width:o,height:"14"}),x.jsx("rect",{x:a,y:r,rx:"0",ry:"0",width:"66",height:"14"}),x.jsx("rect",{x:a,y:i,rx:"0",ry:"0",width:"66",height:"14"}),x.jsx("rect",{x:"0",y:s,rx:"0",ry:"0",width:"100%",height:"1"})]},n)}))})},exports.ContentLoaderChatMessages=({mode:e})=>{const t=document.querySelectorAll("._refChatContainer > article"),n=document.querySelector("._refChatContainer");let r=t[0]&&t[0].offsetWidth>=0?t[0].offsetWidth:0;r=r<=0?n&&n.offsetWidth>=0?n.offsetWidth:0:r;const i="single"===e?234:n&&n.offsetHeight>=0?n.offsetHeight:0,o=r-32<=360?r-32:360,a=r-o-16,s=i-145,l="single"===e?1:Math.floor(s/76);let c=0;return x.jsx(db,{height:s,width:"100%",speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:Array.apply(0,Array(l)).map(((e,t)=>{const n=0===t?s-76:c-76;return c=n,x.jsx("rect",{x:t>=3?"16":a,y:n,rx:"10",ry:"10",width:o,height:"60"},t)}))})},exports.ContentLoaderChatProducts=({mode:t})=>{const n=document.querySelector("._refTabsContent"),r=document.querySelector("._refChatContainer"),i=n&&n.offsetWidth-30>=0?n.offsetWidth-30:0,o="single"===t?65:r&&r.offsetHeight-204>=0?r.offsetHeight-204:0,a=i-48-88,s=a+60+16+22,l="single"===t?1:Math.floor(o/64);let c=0;return!(i<=0)&&x.jsx(db,{height:o,width:"100%",speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:Array.apply(0,Array(l)).map(((t,n)=>{const r=14+c,i=32+c,o=64+c;return c=o,x.jsxs(e.Fragment,{children:[x.jsx("rect",{x:"16",y:r,rx:"4",ry:"4",width:"14",height:"14"}),x.jsx("rect",{x:"38",y:r,rx:"4",ry:"4",width:"32",height:"32"}),x.jsx("rect",{x:"78",y:r,rx:"0",ry:"0",width:a,height:"14"}),x.jsx("rect",{x:"78",y:i,rx:"0",ry:"0",width:a,height:"20"}),x.jsx("rect",{x:s,y:r,rx:"0",ry:"0",width:"20",height:"14"}),x.jsx("rect",{x:s,y:i,rx:"0",ry:"0",width:"20",height:"14"}),x.jsx("rect",{x:"0",y:o,rx:"0",ry:"0",width:"100%",height:"1"})]},n)}))})},exports.ContentLoaderChatStores=()=>x.jsxs(db,{height:220,width:"100%",speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:[x.jsx("rect",{x:"0",y:"0",rx:"0",ry:"0",width:"100%",height:"14"}),x.jsx("rect",{x:"0",y:"28",rx:"0",ry:"0",width:"100%",height:"14"}),x.jsx("rect",{x:"0",y:"56",rx:"0",ry:"0",width:"100%",height:"14"}),x.jsx("rect",{x:"0",y:"84",rx:"0",ry:"0",width:"100%",height:"14"}),x.jsx("rect",{x:"0",y:"112",rx:"0",ry:"0",width:"100%",height:"14"}),x.jsx("rect",{x:"0",y:"140",rx:"0",ry:"0",width:"100%",height:"14"}),x.jsx("rect",{x:"0",y:"168",rx:"0",ry:"0",width:"100%",height:"14"})]}),exports.ContentLoaderDashboardCard=()=>x.jsx(Cb,{children:x.jsxs(db,{height:220,width:"100%",speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:[x.jsx("rect",{x:"0",y:"0",rx:"0",ry:"0",width:"200",height:"50"}),x.jsx("rect",{x:"0",y:"70",rx:"0",ry:"0",width:"100%",height:"25"}),x.jsx("rect",{x:"0",y:"105",rx:"0",ry:"0",width:"100%",height:"15"}),x.jsx("rect",{x:"0",y:"130",rx:"0",ry:"0",width:"100%",height:"15"}),x.jsx("rect",{x:"0",y:"155",rx:"0",ry:"0",width:"100%",height:"15"}),x.jsx("rect",{x:"0",y:"180",rx:"0",ry:"0",width:"100%",height:"15"}),x.jsx("rect",{x:"0",y:"205",rx:"0",ry:"0",width:"100%",height:"15"})]})}),exports.ContentLoaderEditBundle=()=>x.jsxs(db,{height:500,width:1150,speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:[x.jsx("rect",{x:"0",y:"25",width:"35",height:"35"}),x.jsx("rect",{x:"50",y:"25",width:"400",height:"35"}),x.jsx("rect",{x:"50",y:"75",width:"170",height:"35"}),x.jsx("rect",{x:"235",y:"75",width:"170",height:"35"}),x.jsx("rect",{x:"420",y:"75",width:"170",height:"35"}),x.jsx("rect",{x:"605",y:"75",width:"170",height:"35"}),x.jsx("rect",{x:"50",y:"125",width:"170",height:"35"}),x.jsx("rect",{x:"0",y:"245",width:"200",height:"35"}),x.jsx("rect",{x:"420",y:"305",width:"150",height:"25"}),x.jsx("rect",{x:"585",y:"305",width:"150",height:"25"}),x.jsx("rect",{x:"750",y:"305",width:"150",height:"25"}),x.jsx("rect",{x:"915",y:"305",width:"150",height:"25"}),x.jsx("rect",{x:"0",y:"345",width:"25",height:"25"}),x.jsx("rect",{x:"40",y:"345",width:"360",height:"25"}),x.jsx("rect",{x:"420",y:"345",width:"150",height:"25"}),x.jsx("rect",{x:"585",y:"345",width:"150",height:"25"}),x.jsx("rect",{x:"750",y:"345",width:"150",height:"25"}),x.jsx("rect",{x:"915",y:"345",width:"150",height:"25"}),x.jsx("rect",{x:"750",y:"395",width:"315",height:"25"})]}),exports.ContentLoaderFilterCategories=()=>x.jsxs(db,{height:172,width:210,speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:[x.jsx("rect",{x:"4",y:"12",rx:"4",ry:"4",width:"14",height:"14"}),x.jsx("rect",{x:"28",y:"12",rx:"2",ry:"2",width:"170",height:"14"}),x.jsx("rect",{x:"4",y:"36",rx:"4",ry:"4",width:"14",height:"14"}),x.jsx("rect",{x:"28",y:"36",rx:"2",ry:"2",width:"170",height:"14"}),x.jsx("rect",{x:"4",y:"60",rx:"4",ry:"4",width:"14",height:"14"}),x.jsx("rect",{x:"28",y:"60",rx:"2",ry:"2",width:"170",height:"14"}),x.jsx("rect",{x:"4",y:"84",rx:"4",ry:"4",width:"14",height:"14"}),x.jsx("rect",{x:"28",y:"84",rx:"2",ry:"2",width:"170",height:"14"}),x.jsx("rect",{x:"4",y:"108",rx:"4",ry:"4",width:"14",height:"14"}),x.jsx("rect",{x:"28",y:"108",rx:"2",ry:"2",width:"170",height:"14"}),x.jsx("rect",{x:"4",y:"132",rx:"4",ry:"4",width:"14",height:"14"}),x.jsx("rect",{x:"28",y:"132",rx:"2",ry:"2",width:"170",height:"14"}),x.jsx("rect",{x:"4",y:"156",rx:"4",ry:"4",width:"14",height:"14"}),x.jsx("rect",{x:"28",y:"156",rx:"2",ry:"2",width:"170",height:"14"})]}),exports.ContentLoaderFilters=()=>x.jsxs(db,{height:31,width:500,speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:[x.jsx("rect",{x:"0",y:"5",rx:"8",ry:"8",width:"90",height:"20"}),x.jsx("rect",{x:"100",y:"5",rx:"8",ry:"8",width:"90",height:"20"}),x.jsx("rect",{x:"200",y:"5",rx:"8",ry:"8",width:"90",height:"20"}),x.jsx("rect",{x:"300",y:"5",rx:"8",ry:"8",width:"90",height:"20"}),x.jsx("rect",{x:"400",y:"5",rx:"8",ry:"8",width:"90",height:"20"})]}),exports.ContentLoaderInvoiceListPaymentreceiveDetail=()=>x.jsx(mb,{className:"_refLoadingList",children:x.jsxs(db,{speed:1,width:wb,height:250,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{width:"100%",maxWidth:"1336px",minWidth:"1024px"},children:[x.jsx("rect",{x:"40",y:"0",rx:"2",ry:"2",width:"130",height:"21"}),x.jsx("rect",{x:"190",y:"0",rx:"2",ry:"2",width:"130",height:"21"}),x.jsx("rect",{x:"330",y:"0",rx:"2",ry:"2",width:"250",height:"21"}),x.jsx("rect",{x:"600",y:"0",rx:"2",ry:"2",width:"200",height:"21"}),x.jsx("rect",{x:wb-240,y:"0",rx:"2",ry:"2",width:"200",height:"21"}),x.jsx("rect",{x:"40",y:"50",rx:"2",ry:"2",width:"130",height:"31"}),x.jsx("rect",{x:"190",y:"50",rx:"2",ry:"2",width:"130",height:"31"}),x.jsx("rect",{x:"330",y:"50",rx:"2",ry:"2",width:"250",height:"31"}),x.jsx("rect",{x:"600",y:"50",rx:"2",ry:"2",width:"200",height:"31"}),x.jsx("rect",{x:wb-240,y:"50",rx:"2",ry:"2",width:"200",height:"31"}),x.jsx("rect",{x:"40",y:"100",rx:"2",ry:"2",width:"130",height:"31"}),x.jsx("rect",{x:"190",y:"100",rx:"2",ry:"2",width:"130",height:"31"}),x.jsx("rect",{x:"330",y:"100",rx:"2",ry:"2",width:"250",height:"31"}),x.jsx("rect",{x:"600",y:"100",rx:"2",ry:"2",width:"200",height:"31"}),x.jsx("rect",{x:wb-240,y:"100",rx:"2",ry:"2",width:"200",height:"31"}),x.jsx("rect",{x:"40",y:"150",rx:"2",ry:"2",width:"130",height:"31"}),x.jsx("rect",{x:"190",y:"150",rx:"2",ry:"2",width:"130",height:"31"}),x.jsx("rect",{x:"330",y:"150",rx:"2",ry:"2",width:"250",height:"31"}),x.jsx("rect",{x:"600",y:"150",rx:"2",ry:"2",width:"200",height:"31"}),x.jsx("rect",{x:wb-240,y:"150",rx:"2",ry:"2",width:"200",height:"31"}),x.jsx("rect",{x:"40",y:"200",rx:"2",ry:"2",width:"130",height:"31"}),x.jsx("rect",{x:"190",y:"200",rx:"2",ry:"2",width:"130",height:"31"}),x.jsx("rect",{x:"330",y:"200",rx:"2",ry:"2",width:"250",height:"31"}),x.jsx("rect",{x:"600",y:"200",rx:"2",ry:"2",width:"200",height:"31"}),x.jsx("rect",{x:wb-240,y:"200",rx:"2",ry:"2",width:"200",height:"31"})]})}),exports.ContentLoaderMasterBundleDetail=()=>{const e=wb>=1336?540:wb>=1112?320:250,t=e+30,n=150,r=t+n+15,i=80,o=r+i+15,a=150,s=o+a+15;return x.jsx(fb,{children:x.jsxs(db,{speed:1,width:wb,height:300,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:[x.jsx("rect",{x:"15",y:"25",rx:"2",ry:"2",width:e,height:"15"}),x.jsx("rect",{x:t,y:"25",rx:"2",ry:"2",width:n,height:"15"}),x.jsx("rect",{x:r,y:"25",rx:"2",ry:"2",width:i,height:"15"}),x.jsx("rect",{x:o,y:"25",rx:"2",ry:"2",width:a,height:"15"}),x.jsx("rect",{x:s,y:"25",rx:"2",ry:"2",width:80,height:"15"}),x.jsx("rect",{x:"15",y:"60",rx:"2",ry:"2",width:e,height:"30"}),x.jsx("rect",{x:t,y:"60",rx:"2",ry:"2",width:n,height:"30"}),x.jsx("rect",{x:r,y:"60",rx:"2",ry:"2",width:i,height:"30"}),x.jsx("rect",{x:o,y:"60",rx:"2",ry:"2",width:a,height:"30"}),x.jsx("rect",{x:s,y:"60",rx:"2",ry:"2",width:80,height:"30"}),x.jsx("rect",{x:"15",y:"110",rx:"2",ry:"2",width:e,height:"30"}),x.jsx("rect",{x:t,y:"110",rx:"2",ry:"2",width:n,height:"30"}),x.jsx("rect",{x:r,y:"110",rx:"2",ry:"2",width:i,height:"30"}),x.jsx("rect",{x:o,y:"110",rx:"2",ry:"2",width:a,height:"30"}),x.jsx("rect",{x:s,y:"110",rx:"2",ry:"2",width:80,height:"30"}),x.jsx("rect",{x:"15",y:"160",rx:"2",ry:"2",width:e,height:"30"}),x.jsx("rect",{x:t,y:"160",rx:"2",ry:"2",width:n,height:"30"}),x.jsx("rect",{x:r,y:"160",rx:"2",ry:"2",width:i,height:"30"}),x.jsx("rect",{x:o,y:"160",rx:"2",ry:"2",width:a,height:"30"}),x.jsx("rect",{x:s,y:"160",rx:"2",ry:"2",width:80,height:"30"}),x.jsx("rect",{x:"15",y:"210",rx:"2",ry:"2",width:e,height:"30"}),x.jsx("rect",{x:t,y:"210",rx:"2",ry:"2",width:n,height:"30"}),x.jsx("rect",{x:r,y:"210",rx:"2",ry:"2",width:i,height:"30"}),x.jsx("rect",{x:o,y:"210",rx:"2",ry:"2",width:a,height:"30"}),x.jsx("rect",{x:s,y:"210",rx:"2",ry:"2",width:80,height:"30"})]})})},exports.ContentLoaderMasterDetail=()=>{const e=wb-250,t=wb-150,n=wb-80,r=140,i=183,o=200,a=388,s=140,l=533,c=140,d=678,u=140,h=823,p=140;return x.jsx(yb,{children:x.jsxs(db,{speed:1,width:wb,height:"100%",backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:[x.jsx("rect",{x:38,y:"20",rx:"2",ry:"2",width:e,height:"30"}),x.jsx("rect",{x:t,y:"20",rx:"2",ry:"2",width:60,height:"30"}),x.jsx("rect",{x:n,y:"20",rx:"2",ry:"2",width:30,height:"30"}),x.jsx("rect",{x:"50",y:"80",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"170",y:"80",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"290",y:"80",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"38",y:"130",rx:"2",ry:"2",width:"150",height:"20"}),x.jsx("rect",{x:"200",y:"130",rx:"2",ry:"2",width:"285",height:"20"}),x.jsx("rect",{x:"38",y:"165",rx:"2",ry:"2",width:"150",height:"20"}),x.jsx("rect",{x:"200",y:"165",rx:"2",ry:"2",width:"285",height:"20"}),x.jsx("rect",{x:"38",y:"200",rx:"2",ry:"2",width:"150",height:"20"}),x.jsx("rect",{x:"200",y:"200",rx:"2",ry:"2",width:"285",height:"20"}),x.jsx("rect",{x:"38",y:"235",rx:"2",ry:"2",width:"150",height:"20"}),x.jsx("rect",{x:"200",y:"235",rx:"2",ry:"2",width:"285",height:"20"}),x.jsx("rect",{x:"38",y:"270",rx:"2",ry:"2",width:"150",height:"20"}),x.jsx("rect",{x:"200",y:"270",rx:"2",ry:"2",width:"285",height:"20"}),x.jsx("rect",{x:38,y:"320",rx:"2",ry:"2",width:r,height:"31"}),x.jsx("rect",{x:i,y:"320",rx:"2",ry:"2",width:o,height:"31"}),x.jsx("rect",{x:a,y:"320",rx:"2",ry:"2",width:s,height:"31"}),x.jsx("rect",{x:l,y:"320",rx:"2",ry:"2",width:c,height:"31"}),x.jsx("rect",{x:d,y:"320",rx:"2",ry:"2",width:u,height:"31"}),x.jsx("rect",{x:h,y:"320",rx:"2",ry:"2",width:p,height:"31"}),x.jsx("rect",{x:38,y:"370",rx:"2",ry:"2",width:r,height:"31"}),x.jsx("rect",{x:i,y:"370",rx:"2",ry:"2",width:o,height:"31"}),x.jsx("rect",{x:a,y:"370",rx:"2",ry:"2",width:s,height:"31"}),x.jsx("rect",{x:l,y:"370",rx:"2",ry:"2",width:c,height:"31"}),x.jsx("rect",{x:d,y:"370",rx:"2",ry:"2",width:u,height:"31"}),x.jsx("rect",{x:h,y:"370",rx:"2",ry:"2",width:p,height:"31"}),x.jsx("rect",{x:38,y:"420",rx:"2",ry:"2",width:r,height:"31"}),x.jsx("rect",{x:i,y:"420",rx:"2",ry:"2",width:o,height:"31"}),x.jsx("rect",{x:a,y:"420",rx:"2",ry:"2",width:s,height:"31"}),x.jsx("rect",{x:l,y:"420",rx:"2",ry:"2",width:c,height:"31"}),x.jsx("rect",{x:d,y:"420",rx:"2",ry:"2",width:u,height:"31"}),x.jsx("rect",{x:h,y:"420",rx:"2",ry:"2",width:p,height:"31"}),x.jsx("rect",{x:38,y:"470",rx:"2",ry:"2",width:r,height:"31"}),x.jsx("rect",{x:i,y:"470",rx:"2",ry:"2",width:o,height:"31"}),x.jsx("rect",{x:a,y:"470",rx:"2",ry:"2",width:s,height:"31"}),x.jsx("rect",{x:l,y:"470",rx:"2",ry:"2",width:c,height:"31"}),x.jsx("rect",{x:d,y:"470",rx:"2",ry:"2",width:u,height:"31"}),x.jsx("rect",{x:h,y:"470",rx:"2",ry:"2",width:p,height:"31"}),x.jsx("rect",{x:"38",y:"530",rx:"2",ry:"2",width:"200",height:"15"}),x.jsx("rect",{x:38,y:"560",rx:"2",ry:"2",width:"50",height:"50"}),x.jsx("rect",{x:108,y:"560",rx:"2",ry:"2",width:"50",height:"50"}),x.jsx("rect",{x:178,y:"560",rx:"2",ry:"2",width:"50",height:"50"}),x.jsx("rect",{x:248,y:"560",rx:"2",ry:"2",width:"50",height:"50"}),x.jsx("rect",{x:318,y:"560",rx:"2",ry:"2",width:"50",height:"50"})]})})},exports.ContentLoaderMasterList=()=>{const t=Ab-286,n=wb>=1336?370:wb>=1112?250:150,r=29+n+12,i=wb>=1336?130:wb>=1112?110:100,o=r+i+12,a=wb>=1336?100:95,s=o+a+12,l=wb>=1336?90:80,c=s+l+12,d=wb>=1336?85:75,u=c+d+12,h=wb>=1336?80:70,p=u+h+12,g=wb>=1336?70:60,f=p+g+12,m=wb>=1336?95:85,y=wb-100-24,b=Ab&&Math.ceil((t-78)/70)>0?Math.ceil((t-78)/70):0;let v=f+m+12,C=[];for(let e=0;v+122<y;e++)C.push({x:f+m+12+122*e,w:110}),v=f+m+12+122*e;return x.jsx(gb,{children:x.jsxs(db,{speed:1,width:wb,height:"100%",backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:[x.jsx("rect",{x:29,y:"23",rx:"2",ry:"2",width:n,height:"16"}),x.jsx("rect",{x:r,y:"23",rx:"2",ry:"2",width:i,height:"16"}),x.jsx("rect",{x:o,y:"23",rx:"2",ry:"2",width:a,height:"16"}),x.jsx("rect",{x:s,y:"23",rx:"2",ry:"2",width:l,height:"16"}),x.jsx("rect",{x:c,y:"23",rx:"2",ry:"2",width:d,height:"16"}),x.jsx("rect",{x:u,y:"23",rx:"2",ry:"2",width:h,height:"16"}),x.jsx("rect",{x:p,y:"23",rx:"2",ry:"2",width:g,height:"16"}),x.jsx("rect",{x:f,y:"23",rx:"2",ry:"2",width:m,height:"16"}),C.map(((t,n)=>x.jsx(e.Fragment,{children:x.jsx("rect",{x:t.x,y:"23",rx:"2",ry:"2",width:t.w,height:"16"})},n))),x.jsx("rect",{x:y,y:"23",rx:"2",ry:"2",width:100,height:"16"}),Array.apply(0,Array(b)).map(((t,b)=>{const v=70*b+78;return x.jsxs(e.Fragment,{children:[x.jsx("rect",{x:29,y:v,rx:"2",ry:"2",width:n,height:"31"}),x.jsx("rect",{x:r,y:v,rx:"2",ry:"2",width:i,height:"31"}),x.jsx("rect",{x:o,y:v,rx:"2",ry:"2",width:a,height:"31"}),x.jsx("rect",{x:s,y:v,rx:"2",ry:"2",width:l,height:"31"}),x.jsx("rect",{x:c,y:v,rx:"2",ry:"2",width:d,height:"31"}),x.jsx("rect",{x:u,y:v,rx:"2",ry:"2",width:h,height:"31"}),x.jsx("rect",{x:p,y:v,rx:"2",ry:"2",width:g,height:"31"}),x.jsx("rect",{x:f,y:v,rx:"2",ry:"2",width:m,height:"31"}),C.map(((t,n)=>x.jsx(e.Fragment,{children:x.jsx("rect",{x:t.x,y:v,rx:"2",ry:"2",width:t.w,height:"31"})},n))),x.jsx("rect",{x:y,y:v,rx:"2",ry:"2",width:100,height:"31"})]},b)}))]})})},exports.ContentLoaderMasterListingDetail=()=>{const e=wb>=1336?645:wb>=1112?400:300,t=e+45,n=e+90;return x.jsx(fb,{children:x.jsxs(db,{speed:1,width:wb,height:300,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:[x.jsx("rect",{x:"15",y:"25",rx:"2",ry:"2",width:t,height:"15"}),x.jsx("rect",{x:n,y:"25",rx:"2",ry:"2",width:"250",height:"15"}),x.jsx("rect",{x:"15",y:"60",rx:"8",ry:"8",width:"30",height:"30"}),x.jsx("rect",{x:"60",y:"60",rx:"2",ry:"2",width:e,height:"30"}),x.jsx("rect",{x:n,y:"60",rx:"2",ry:"2",width:"250",height:"30"}),x.jsx("rect",{x:"15",y:"110",rx:"8",ry:"8",width:"30",height:"30"}),x.jsx("rect",{x:"60",y:"110",rx:"2",ry:"2",width:e,height:"30"}),x.jsx("rect",{x:n,y:"110",rx:"2",ry:"2",width:"250",height:"30"}),x.jsx("rect",{x:"15",y:"160",rx:"8",ry:"8",width:"30",height:"30"}),x.jsx("rect",{x:"60",y:"160",rx:"2",ry:"2",width:e,height:"30"}),x.jsx("rect",{x:n,y:"160",rx:"2",ry:"2",width:"250",height:"30"}),x.jsx("rect",{x:"15",y:"210",rx:"8",ry:"8",width:"30",height:"30"}),x.jsx("rect",{x:"60",y:"210",rx:"2",ry:"2",width:e,height:"30"}),x.jsx("rect",{x:n,y:"210",rx:"2",ry:"2",width:"250",height:"30"})]})})},exports.ContentLoaderNonOrderList=()=>{const t=wb>=1336?150:wb>=1112?110:100,n=29+t+12,r=wb>=1336?120:wb>=1112?110:100,i=n+r+12,o=wb>=1336||wb>=1112?110:105,a=i+o+12,s=wb>=1336||wb>=1112?140:130,l=a+s+12,c=wb>=1336?130:wb>=1112?120:100,d=l+c+12,u=wb>=1336?115:wb>=1112?105:100,h=d+u+12,p=wb>=1336?150:wb>=1112?110:100,g=wb-100-24,f=Ab?Math.ceil((Ab-78)/70):0;let m=h+p+12,y=[];for(let e=0;m+122<g;e++)y.push({x:h+p+12+122*e,w:110}),m=h+p+12+122*e;return x.jsx(gb,{className:"_refLoadingList",children:x.jsxs(db,{speed:1,width:wb,height:"100%",backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:[x.jsx("rect",{x:29,y:"23",rx:"2",ry:"2",width:t,height:"16"}),x.jsx("rect",{x:n,y:"23",rx:"2",ry:"2",width:r,height:"16"}),x.jsx("rect",{x:i,y:"23",rx:"2",ry:"2",width:o,height:"16"}),x.jsx("rect",{x:a,y:"23",rx:"2",ry:"2",width:s,height:"16"}),x.jsx("rect",{x:l,y:"23",rx:"2",ry:"2",width:c,height:"16"}),x.jsx("rect",{x:d,y:"23",rx:"2",ry:"2",width:u,height:"16"}),x.jsx("rect",{x:h,y:"23",rx:"2",ry:"2",width:p,height:"16"}),y.map(((t,n)=>x.jsx(e.Fragment,{children:x.jsx("rect",{x:t.x,y:"23",rx:"2",ry:"2",width:t.w,height:"16"})},n))),x.jsx("rect",{x:g,y:"23",rx:"2",ry:"2",width:100,height:"16"}),Array.apply(0,Array(f)).map(((f,m)=>{const b=70*m+78;return x.jsxs(e.Fragment,{children:[x.jsx("rect",{x:29,y:b,rx:"2",ry:"2",width:t,height:"31"}),x.jsx("rect",{x:n,y:b,rx:"2",ry:"2",width:r,height:"31"}),x.jsx("rect",{x:i,y:b,rx:"2",ry:"2",width:o,height:"31"}),x.jsx("rect",{x:a,y:b,rx:"2",ry:"2",width:s,height:"31"}),x.jsx("rect",{x:l,y:b,rx:"2",ry:"2",width:c,height:"31"}),x.jsx("rect",{x:d,y:b,rx:"2",ry:"2",width:u,height:"31"}),x.jsx("rect",{x:h,y:b,rx:"2",ry:"2",width:p,height:"31"}),y.map(((t,n)=>x.jsx(e.Fragment,{children:x.jsx("rect",{x:t.x,y:b,rx:"2",ry:"2",width:t.w,height:"31"})},n))),x.jsx("rect",{x:g,y:b,rx:"2",ry:"2",width:100,height:"31"})]},m)}))]})})},exports.ContentLoaderNotifUpdate=()=>x.jsx(db,{height:36,width:"100%",speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:x.jsx("rect",{x:"0",y:"0",rx:"0",ry:"0",width:"100%",height:"36"})}),exports.ContentLoaderOneLinePromotion=()=>x.jsx(db,{height:16,width:86,speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,viewBox:"0 0 86 16",children:x.jsx("rect",{x:"0",y:"2",rx:"5",ry:"5",width:80,height:14})}),exports.ContentLoaderOnlyBodyDashboardCard=()=>x.jsxs(db,{height:650,width:"100%",speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:[x.jsx("rect",{x:"0",y:"30",rx:"0",ry:"0",width:"50%",height:"20"}),x.jsx("rect",{x:"0",y:"55",rx:"0",ry:"0",width:"50%",height:"20"}),x.jsx("rect",{x:"0",y:"80",rx:"0",ry:"0",width:"50%",height:"20"}),x.jsx("rect",{x:"0",y:"105",rx:"0",ry:"0",width:"50%",height:"20"}),x.jsx("rect",{x:"0",y:"130",rx:"0",ry:"0",width:"50%",height:"20"}),x.jsx("rect",{x:"0",y:"155",rx:"0",ry:"0",width:"50%",height:"20"}),x.jsx("rect",{x:"0",y:"180",rx:"0",ry:"0",width:"50%",height:"20"}),x.jsx("rect",{x:"0",y:"205",rx:"0",ry:"0",width:"50%",height:"20"}),x.jsx("rect",{x:"0",y:"250",rx:"0",ry:"0",width:"100%",height:"250"}),x.jsx("rect",{x:"0",y:"525",rx:"0",ry:"0",width:"100%",height:"15"}),x.jsx("rect",{x:"0",y:"550",rx:"0",ry:"0",width:"100%",height:"15"}),x.jsx("rect",{x:"0",y:"575",rx:"0",ry:"0",width:"100%",height:"15"})]}),exports.ContentLoaderOnlyBodyTableList=()=>{const e=window.innerHeight-96,t=Math.floor((wb-110)/120),n=Math.floor((e-20)/50);return x.jsx(mb,{children:x.jsx(db,{speed:1,width:wb,height:e,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:Array.apply(0,Array(n)).map(((e,n)=>{const r=n+50*(n+1)-30;return Array.apply(0,Array(t)).map(((e,t)=>{const n=t+120*(t+1)-65;return x.jsx("rect",{x:n,y:r,rx:"2",ry:"2",width:100,height:"30"},t)}))}))})})},exports.ContentLoaderOnlyHeaderTableList=()=>{const e=Math.floor((wb-110)/120);return x.jsx(mb,{children:x.jsx(db,{speed:1,width:wb,height:100,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:[0].map(((t,n)=>Array.apply(0,Array(e)).map(((e,t)=>{const r=t+120*(t+1)-65;return x.jsx("rect",{x:r,y:20,rx:"2",ry:"2",width:100,height:0===n?16:30},t)}))))})})},exports.ContentLoaderOrderDetail=()=>{const e=wb-700,t=wb-432,n=wb-302,r=wb-217,i=wb-72,o=wb-777,a=wb-665,s=wb-625,l=wb-515,c=wb-365,d=wb-190,u=140,h=wb-777,p=wb-629,g=wb-529,f=wb-389,m=wb-214;return x.jsx(yb,{children:x.jsxs(db,{speed:1,width:wb,height:"100%",backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:[x.jsx("rect",{x:"38",y:"18",rx:"2",ry:"2",width:"36",height:"36"}),x.jsx("rect",{x:84,y:"18",rx:"2",ry:"2",width:e,height:"36"}),x.jsx("rect",{x:t,y:"20",rx:"2",ry:"2",width:120,height:"32"}),x.jsx("rect",{x:n,y:"20",rx:"2",ry:"2",width:80,height:"32"}),x.jsx("rect",{x:r,y:"20",rx:"2",ry:"2",width:140,height:"32"}),x.jsx("rect",{x:i,y:"20",rx:"2",ry:"2",width:30,height:"32"}),x.jsx("rect",{x:"38",y:"85",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"152",y:"85",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"266",y:"85",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"64",y:"150",rx:"2",ry:"2",width:"31",height:"61"}),x.jsx("rect",{x:121,y:"150",rx:"2",ry:"2",width:h,height:"61"}),x.jsx("rect",{x:p,y:"150",rx:"2",ry:"2",width:90,height:"61"}),x.jsx("rect",{x:g,y:"150",rx:"2",ry:"2",width:140,height:"61"}),x.jsx("rect",{x:f,y:"150",rx:"2",ry:"2",width:160,height:"61"}),x.jsx("rect",{x:m,y:"150",rx:"2",ry:"2",width:140,height:"61"}),x.jsx("rect",{x:"38",y:"284",rx:"2",ry:"2",width:"285",height:"31"}),x.jsx("rect",{x:"389",y:"284",rx:"2",ry:"2",width:"285",height:"31"}),x.jsx("rect",{x:"38",y:"324",rx:"2",ry:"2",width:"285",height:"31"}),x.jsx("rect",{x:"389",y:"324",rx:"2",ry:"2",width:"285",height:"31"}),x.jsx("rect",{x:"38",y:"364",rx:"2",ry:"2",width:"285",height:"31"}),x.jsx("rect",{x:"389",y:"364",rx:"2",ry:"2",width:"285",height:"31"}),x.jsx("rect",{x:"38",y:"404",rx:"2",ry:"2",width:"285",height:"31"}),x.jsx("rect",{x:"389",y:"404",rx:"2",ry:"2",width:"285",height:"31"}),x.jsx("rect",{x:"38",y:"444",rx:"2",ry:"2",width:"285",height:"31"}),x.jsx("rect",{x:"389",y:"444",rx:"2",ry:"2",width:"285",height:"31"}),x.jsx("rect",{x:"38",y:"515",rx:"2",ry:"2",width:"31",height:"31"}),x.jsx("rect",{x:95,y:"515",rx:"2",ry:"2",width:o,height:"31"}),x.jsx("rect",{x:a,y:"515",rx:"2",ry:"2",width:26,height:"31"}),x.jsx("rect",{x:s,y:"515",rx:"2",ry:"2",width:90,height:"31"}),x.jsx("rect",{x:l,y:"515",rx:"2",ry:"2",width:140,height:"31"}),x.jsx("rect",{x:c,y:"515",rx:"2",ry:"2",width:160,height:"31"}),x.jsx("rect",{x:d,y:"515",rx:"2",ry:"2",width:u,height:"31"}),x.jsx("rect",{x:"38",y:"555",rx:"2",ry:"2",width:"31",height:"31"}),x.jsx("rect",{x:95,y:"555",rx:"2",ry:"2",width:o,height:"31"}),x.jsx("rect",{x:a,y:"555",rx:"2",ry:"2",width:26,height:"31"}),x.jsx("rect",{x:s,y:"555",rx:"2",ry:"2",width:90,height:"31"}),x.jsx("rect",{x:l,y:"555",rx:"2",ry:"2",width:140,height:"31"}),x.jsx("rect",{x:c,y:"555",rx:"2",ry:"2",width:160,height:"31"}),x.jsx("rect",{x:d,y:"555",rx:"2",ry:"2",width:u,height:"31"}),x.jsx("rect",{x:d,y:"604",rx:"2",ry:"2",width:u,height:"31"}),x.jsx("rect",{x:d,y:"654",rx:"2",ry:"2",width:u,height:"31"}),x.jsx("rect",{x:"38",y:"684",rx:"2",ry:"2",width:e,height:"36"})]})})},exports.ContentLoaderOrderList=()=>{const e=100,t=wb-600,n=wb-405,r=120,i=wb-275,o=wb-190,a=140,s=wb-45,l=wb-18,c=wb-777,d=wb-665,u=wb-625,h=wb-515,p=140,g=wb-365,f=160,m=wb-190,y=140;return x.jsxs(hb,{children:[x.jsx(pb,{children:x.jsxs(db,{speed:1,width:wb,height:"100%",backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:[x.jsx("rect",{x:"52",y:"15",rx:"2",ry:"2",width:"31",height:"31"}),x.jsx("rect",{x:e,y:"15",rx:"2",ry:"2",width:t,height:"31"}),x.jsx("rect",{x:n,y:"15",rx:"2",ry:"2",width:r,height:"32"}),x.jsx("rect",{x:i,y:"15",rx:"2",ry:"2",width:80,height:"32"}),x.jsx("rect",{x:o,y:"15",rx:"2",ry:"2",width:a,height:"32"}),x.jsx("rect",{x:s,y:"15",rx:"2",ry:"2",width:30,height:"32"}),x.jsx("rect",{x:"52",y:"80",rx:"2",ry:"2",width:"200",height:"15"}),x.jsx("rect",{x:9,y:"110",rx:"0",ry:"0",width:l,height:"2"}),x.jsx("rect",{x:"52",y:"127",rx:"2",ry:"2",width:"31",height:"31"}),x.jsx("rect",{x:95,y:"127",rx:"2",ry:"2",width:c,height:"50"}),x.jsx("rect",{x:d,y:"127",rx:"2",ry:"2",width:26,height:"31"}),x.jsx("rect",{x:u,y:"127",rx:"2",ry:"2",width:90,height:"31"}),x.jsx("rect",{x:h,y:"127",rx:"2",ry:"2",width:p,height:"31"}),x.jsx("rect",{x:g,y:"127",rx:"2",ry:"2",width:f,height:"31"}),x.jsx("rect",{x:m,y:"127",rx:"2",ry:"2",width:y,height:"65"})]})}),x.jsx(pb,{children:x.jsxs(db,{speed:1,width:wb,height:"100%",backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:[x.jsx("rect",{x:"52",y:"15",rx:"2",ry:"2",width:"31",height:"31"}),x.jsx("rect",{x:e,y:"15",rx:"2",ry:"2",width:t,height:"31"}),x.jsx("rect",{x:n,y:"15",rx:"2",ry:"2",width:r,height:"32"}),x.jsx("rect",{x:i,y:"15",rx:"2",ry:"2",width:80,height:"32"}),x.jsx("rect",{x:o,y:"15",rx:"2",ry:"2",width:a,height:"32"}),x.jsx("rect",{x:s,y:"15",rx:"2",ry:"2",width:30,height:"32"}),x.jsx("rect",{x:"52",y:"80",rx:"2",ry:"2",width:"200",height:"15"}),x.jsx("rect",{x:9,y:"110",rx:"0",ry:"0",width:l,height:"2"}),x.jsx("rect",{x:"52",y:"127",rx:"2",ry:"2",width:"31",height:"31"}),x.jsx("rect",{x:95,y:"127",rx:"2",ry:"2",width:c,height:"50"}),x.jsx("rect",{x:d,y:"127",rx:"2",ry:"2",width:26,height:"31"}),x.jsx("rect",{x:u,y:"127",rx:"2",ry:"2",width:90,height:"31"}),x.jsx("rect",{x:h,y:"127",rx:"2",ry:"2",width:p,height:"31"}),x.jsx("rect",{x:g,y:"127",rx:"2",ry:"2",width:f,height:"31"}),x.jsx("rect",{x:m,y:"127",rx:"2",ry:"2",width:y,height:"65"})]})}),x.jsx(pb,{children:x.jsxs(db,{speed:1,width:wb,height:"100%",backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:[x.jsx("rect",{x:"52",y:"15",rx:"2",ry:"2",width:"31",height:"31"}),x.jsx("rect",{x:e,y:"15",rx:"2",ry:"2",width:t,height:"31"}),x.jsx("rect",{x:n,y:"15",rx:"2",ry:"2",width:r,height:"32"}),x.jsx("rect",{x:i,y:"15",rx:"2",ry:"2",width:80,height:"32"}),x.jsx("rect",{x:o,y:"15",rx:"2",ry:"2",width:a,height:"32"}),x.jsx("rect",{x:s,y:"15",rx:"2",ry:"2",width:30,height:"32"}),x.jsx("rect",{x:"52",y:"80",rx:"2",ry:"2",width:"200",height:"15"}),x.jsx("rect",{x:9,y:"110",rx:"0",ry:"0",width:l,height:"2"}),x.jsx("rect",{x:"52",y:"127",rx:"2",ry:"2",width:"31",height:"31"}),x.jsx("rect",{x:95,y:"127",rx:"2",ry:"2",width:c,height:"50"}),x.jsx("rect",{x:d,y:"127",rx:"2",ry:"2",width:26,height:"31"}),x.jsx("rect",{x:u,y:"127",rx:"2",ry:"2",width:90,height:"31"}),x.jsx("rect",{x:h,y:"127",rx:"2",ry:"2",width:p,height:"31"}),x.jsx("rect",{x:g,y:"127",rx:"2",ry:"2",width:f,height:"31"}),x.jsx("rect",{x:m,y:"127",rx:"2",ry:"2",width:y,height:"65"})]})}),x.jsx(pb,{children:x.jsxs(db,{speed:1,width:wb,height:"100%",backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:[x.jsx("rect",{x:"52",y:"15",rx:"2",ry:"2",width:"31",height:"31"}),x.jsx("rect",{x:e,y:"15",rx:"2",ry:"2",width:t,height:"31"}),x.jsx("rect",{x:n,y:"15",rx:"2",ry:"2",width:r,height:"32"}),x.jsx("rect",{x:i,y:"15",rx:"2",ry:"2",width:80,height:"32"}),x.jsx("rect",{x:o,y:"15",rx:"2",ry:"2",width:a,height:"32"}),x.jsx("rect",{x:s,y:"15",rx:"2",ry:"2",width:30,height:"32"}),x.jsx("rect",{x:"52",y:"80",rx:"2",ry:"2",width:"200",height:"15"}),x.jsx("rect",{x:9,y:"110",rx:"0",ry:"0",width:l,height:"2"}),x.jsx("rect",{x:"52",y:"127",rx:"2",ry:"2",width:"31",height:"31"}),x.jsx("rect",{x:95,y:"127",rx:"2",ry:"2",width:c,height:"50"}),x.jsx("rect",{x:d,y:"127",rx:"2",ry:"2",width:26,height:"31"}),x.jsx("rect",{x:u,y:"127",rx:"2",ry:"2",width:90,height:"31"}),x.jsx("rect",{x:h,y:"127",rx:"2",ry:"2",width:p,height:"31"}),x.jsx("rect",{x:g,y:"127",rx:"2",ry:"2",width:f,height:"31"}),x.jsx("rect",{x:m,y:"127",rx:"2",ry:"2",width:y,height:"65"})]})}),x.jsx(pb,{children:x.jsxs(db,{speed:1,width:wb,height:"100%",backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:[x.jsx("rect",{x:"52",y:"15",rx:"2",ry:"2",width:"31",height:"31"}),x.jsx("rect",{x:e,y:"15",rx:"2",ry:"2",width:t,height:"31"}),x.jsx("rect",{x:n,y:"15",rx:"2",ry:"2",width:r,height:"32"}),x.jsx("rect",{x:i,y:"15",rx:"2",ry:"2",width:80,height:"32"}),x.jsx("rect",{x:o,y:"15",rx:"2",ry:"2",width:a,height:"32"}),x.jsx("rect",{x:s,y:"15",rx:"2",ry:"2",width:30,height:"32"}),x.jsx("rect",{x:"52",y:"80",rx:"2",ry:"2",width:"200",height:"15"}),x.jsx("rect",{x:9,y:"110",rx:"0",ry:"0",width:l,height:"2"}),x.jsx("rect",{x:"52",y:"127",rx:"2",ry:"2",width:"31",height:"31"}),x.jsx("rect",{x:95,y:"127",rx:"2",ry:"2",width:c,height:"50"}),x.jsx("rect",{x:d,y:"127",rx:"2",ry:"2",width:26,height:"31"}),x.jsx("rect",{x:u,y:"127",rx:"2",ry:"2",width:90,height:"31"}),x.jsx("rect",{x:h,y:"127",rx:"2",ry:"2",width:p,height:"31"}),x.jsx("rect",{x:g,y:"127",rx:"2",ry:"2",width:f,height:"31"}),x.jsx("rect",{x:m,y:"127",rx:"2",ry:"2",width:y,height:"65"})]})})]})},exports.ContentLoaderPagination=()=>{const e=wb/2,t=e-160,n=e-128,r=e-96,i=e-64,o=e-32,a=e+0,s=e+32,l=e+64,c=e+96,d=e+128;return x.jsx(xb,{className:"_refLoadingPage",children:x.jsxs(db,{speed:1,width:wb,height:"100%",backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:[x.jsx("rect",{x:t,y:"23",rx:"2",ry:"2",width:"27",height:"27"}),x.jsx("rect",{x:n,y:"23",rx:"2",ry:"2",width:"27",height:"27"}),x.jsx("rect",{x:r,y:"23",rx:"2",ry:"2",width:"27",height:"27"}),x.jsx("rect",{x:i,y:"23",rx:"2",ry:"2",width:"27",height:"27"}),x.jsx("rect",{x:o,y:"23",rx:"2",ry:"2",width:"27",height:"27"}),x.jsx("rect",{x:a,y:"23",rx:"2",ry:"2",width:"27",height:"27"}),x.jsx("rect",{x:s,y:"23",rx:"2",ry:"2",width:"27",height:"27"}),x.jsx("rect",{x:l,y:"23",rx:"2",ry:"2",width:"27",height:"27"}),x.jsx("rect",{x:c,y:"23",rx:"2",ry:"2",width:"27",height:"27"}),x.jsx("rect",{x:d,y:"23",rx:"2",ry:"2",width:"27",height:"27"}),x.jsx("rect",{x:i,y:"60",rx:"2",ry:"2",width:"128",height:"6"})]})})},exports.ContentLoaderPopupBundle=()=>x.jsxs(db,{height:270,width:800,speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:[x.jsx("rect",{x:"15",y:"60",width:"300",height:"15"}),x.jsx("rect",{x:"330",y:"25",width:"100",height:"15"}),x.jsx("rect",{x:"450",y:"25",width:"75",height:"15"}),x.jsx("rect",{x:"540",y:"25",width:"130",height:"15"}),x.jsx("rect",{x:"690",y:"25",width:"75",height:"15"}),x.jsx("rect",{x:"15",y:"60",width:"300",height:"30"}),x.jsx("rect",{x:"330",y:"60",width:"100",height:"30"}),x.jsx("rect",{x:"450",y:"60",width:"75",height:"30"}),x.jsx("rect",{x:"540",y:"60",width:"130",height:"30"}),x.jsx("rect",{x:"690",y:"60",width:"75",height:"30"}),x.jsx("rect",{x:"15",y:"110",width:"300",height:"30"}),x.jsx("rect",{x:"330",y:"110",width:"100",height:"30"}),x.jsx("rect",{x:"450",y:"110",width:"75",height:"30"}),x.jsx("rect",{x:"540",y:"110",width:"130",height:"30"}),x.jsx("rect",{x:"690",y:"110",width:"75",height:"30"}),x.jsx("rect",{x:"15",y:"160",width:"300",height:"30"}),x.jsx("rect",{x:"330",y:"160",width:"100",height:"30"}),x.jsx("rect",{x:"450",y:"160",width:"75",height:"30"}),x.jsx("rect",{x:"540",y:"160",width:"130",height:"30"}),x.jsx("rect",{x:"690",y:"160",width:"75",height:"30"}),x.jsx("rect",{x:"15",y:"210",width:"300",height:"30"}),x.jsx("rect",{x:"330",y:"210",width:"100",height:"30"}),x.jsx("rect",{x:"450",y:"210",width:"75",height:"30"}),x.jsx("rect",{x:"540",y:"210",width:"130",height:"30"}),x.jsx("rect",{x:"690",y:"210",width:"75",height:"30"})]}),exports.ContentLoaderPopupChooseStore=()=>x.jsxs(db,{height:80,width:600,speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:[x.jsx("rect",{x:"0",y:"0",rx:"5",ry:"5",width:"172",height:"34"}),x.jsx("rect",{x:"178",y:"0",rx:"5",ry:"5",width:"172",height:"34"}),x.jsx("rect",{x:"356",y:"0",rx:"5",ry:"5",width:"100",height:"34"}),x.jsx("rect",{x:"462",y:"0",rx:"5",ry:"5",width:"100",height:"34"}),x.jsx("rect",{x:"0",y:"40",rx:"5",ry:"5",width:"172",height:"34"}),x.jsx("rect",{x:"178",y:"40",rx:"5",ry:"5",width:"100",height:"34"}),x.jsx("rect",{x:"284",y:"40",rx:"5",ry:"5",width:"140",height:"34"}),x.jsx("rect",{x:"430",y:"40",rx:"5",ry:"5",width:"100",height:"34"})]}),exports.ContentLoaderPopupLinkedListing=()=>x.jsxs(db,{height:270,width:800,speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:[x.jsx("rect",{x:"15",y:"25",width:"425",height:"15"}),x.jsx("rect",{x:"490",y:"25",width:"150",height:"15"}),x.jsx("rect",{x:"670",y:"25",width:"95",height:"15"}),x.jsx("rect",{x:"15",y:"60",rx:"8",ry:"8",width:"30",height:"30"}),x.jsx("rect",{x:"60",y:"60",width:"380",height:"30"}),x.jsx("rect",{x:"490",y:"60",width:"150",height:"30"}),x.jsx("rect",{x:"670",y:"60",width:"95",height:"30"}),x.jsx("rect",{x:"15",y:"110",rx:"8",ry:"8",width:"30",height:"30"}),x.jsx("rect",{x:"60",y:"110",width:"380",height:"30"}),x.jsx("rect",{x:"490",y:"110",width:"150",height:"30"}),x.jsx("rect",{x:"670",y:"110",width:"95",height:"30"}),x.jsx("rect",{x:"15",y:"160",rx:"8",ry:"8",width:"30",height:"30"}),x.jsx("rect",{x:"60",y:"160",width:"380",height:"30"}),x.jsx("rect",{x:"490",y:"160",width:"150",height:"30"}),x.jsx("rect",{x:"670",y:"160",width:"95",height:"30"}),x.jsx("rect",{x:"15",y:"210",rx:"8",ry:"8",width:"30",height:"30"}),x.jsx("rect",{x:"60",y:"210",width:"380",height:"30"}),x.jsx("rect",{x:"490",y:"210",width:"150",height:"30"}),x.jsx("rect",{x:"670",y:"210",width:"95",height:"30"})]}),exports.ContentLoaderPopupListOrder=()=>x.jsx(vb,{children:x.jsxs(db,{speed:1,width:840,height:255,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{width:"100%",maxWidth:"840px",minWidth:"800px"},children:[x.jsx("rect",{x:"20",y:"25",rx:"2",ry:"2",width:"25",height:"22"}),x.jsx("rect",{x:"55",y:"20",rx:"2",ry:"2",width:"32",height:"32"}),x.jsx("rect",{x:"97",y:"20",rx:"2",ry:"2",width:"250",height:"32"}),x.jsx("rect",{x:"620",y:"20",rx:"2",ry:"2",width:"170",height:"32"}),x.jsx("rect",{x:"800",y:"20",rx:"2",ry:"2",width:"25",height:"22"}),x.jsx("rect",{x:"60",y:"80",rx:"2",ry:"2",width:"200",height:"20"}),x.jsx("rect",{x:"440",y:"80",rx:"2",ry:"2",width:"90",height:"20"}),x.jsx("rect",{x:"560",y:"80",rx:"2",ry:"2",width:"90",height:"20"}),x.jsx("rect",{x:"680",y:"80",rx:"2",ry:"2",width:"90",height:"20"}),x.jsx("rect",{x:"60",y:"130",rx:"2",ry:"2",width:"200",height:"20"}),x.jsx("rect",{x:"440",y:"130",rx:"2",ry:"2",width:"90",height:"20"}),x.jsx("rect",{x:"560",y:"130",rx:"2",ry:"2",width:"90",height:"20"}),x.jsx("rect",{x:"680",y:"130",rx:"2",ry:"2",width:"90",height:"20"}),x.jsx("rect",{x:"20",y:"210",rx:"2",ry:"2",width:"25",height:"22"}),x.jsx("rect",{x:"55",y:"205",rx:"2",ry:"2",width:"32",height:"32"}),x.jsx("rect",{x:"97",y:"205",rx:"2",ry:"2",width:"250",height:"32"}),x.jsx("rect",{x:"620",y:"205",rx:"2",ry:"2",width:"170",height:"32"}),x.jsx("rect",{x:"800",y:"205",rx:"2",ry:"2",width:"25",height:"22"})]})}),exports.ContentLoaderPopupPaymentReceive=()=>x.jsx(vb,{children:x.jsxs(db,{speed:1,width:1e3,height:340,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{width:"100%",maxWidth:"1000px",minWidth:"800px"},children:[x.jsx("rect",{x:"40",y:"20",rx:"2",ry:"2",width:"80",height:"21"}),x.jsx("rect",{x:"40",y:"51",rx:"2",ry:"2",width:"260",height:"30"}),x.jsx("rect",{x:"40",y:"110",rx:"2",ry:"2",width:"80",height:"21"}),x.jsx("rect",{x:"320",y:"110",rx:"2",ry:"2",width:"80",height:"21"}),x.jsx("rect",{x:"40",y:"141",rx:"2",ry:"2",width:"260",height:"30"}),x.jsx("rect",{x:"320",y:"141",rx:"2",ry:"2",width:"260",height:"30"}),x.jsx("rect",{x:"55",y:"200",rx:"2",ry:"2",width:"220",height:"30"}),x.jsx("rect",{x:"320",y:"200",rx:"2",ry:"2",width:"260",height:"30"}),x.jsx("rect",{x:"55",y:"245",rx:"2",ry:"2",width:"220",height:"30"}),x.jsx("rect",{x:"320",y:"245",rx:"2",ry:"2",width:"260",height:"30"}),x.jsx("rect",{x:"55",y:"290",rx:"2",ry:"2",width:"220",height:"30"}),x.jsx("rect",{x:"320",y:"290",rx:"2",ry:"2",width:"260",height:"30"})]})}),exports.ContentLoaderPopupPaymentReceived=()=>x.jsx(vb,{children:x.jsxs(db,{speed:1,width:1e3,height:300,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{width:"100%",maxWidth:"1000px",minWidth:"800px"},children:[x.jsx("rect",{x:"60",y:"20",rx:"2",ry:"2",width:"100",height:"21"}),x.jsx("rect",{x:"60",y:"51",rx:"2",ry:"2",width:"280",height:"36"}),x.jsx("rect",{x:"360",y:"20",rx:"2",ry:"2",width:"100",height:"21"}),x.jsx("rect",{x:"360",y:"51",rx:"2",ry:"2",width:"280",height:"36"}),x.jsx("rect",{x:"660",y:"20",rx:"2",ry:"2",width:"100",height:"21"}),x.jsx("rect",{x:"660",y:"51",rx:"2",ry:"2",width:"280",height:"36"}),x.jsx("rect",{x:"52",y:"130",rx:"2",ry:"2",width:"31",height:"31"}),x.jsx("rect",{x:"95",y:"130",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"217",y:"130",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"339",y:"130",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"461",y:"130",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"583",y:"130",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"705",y:"130",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"827",y:"130",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"52",y:"170",rx:"2",ry:"2",width:"31",height:"31"}),x.jsx("rect",{x:"95",y:"170",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"217",y:"170",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"339",y:"170",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"461",y:"170",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"583",y:"170",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"705",y:"170",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"827",y:"170",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"52",y:"210",rx:"2",ry:"2",width:"31",height:"31"}),x.jsx("rect",{x:"95",y:"210",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"217",y:"210",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"339",y:"210",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"461",y:"210",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"583",y:"210",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"705",y:"210",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"827",y:"210",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"52",y:"250",rx:"2",ry:"2",width:"31",height:"31"}),x.jsx("rect",{x:"95",y:"250",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"217",y:"250",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"339",y:"250",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"461",y:"250",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"583",y:"250",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"705",y:"250",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"827",y:"250",rx:"2",ry:"2",width:"110",height:"31"})]})}),exports.ContentLoaderPopupPicklist=()=>x.jsx(vb,{children:x.jsxs(db,{speed:1,width:1e3,height:340,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{width:"100%",maxWidth:"1000px",minWidth:"800px"},children:[x.jsx("rect",{x:"130",y:"20",rx:"2",ry:"2",width:"100",height:"21"}),x.jsx("rect",{x:"510",y:"20",rx:"2",ry:"2",width:"100",height:"21"}),x.jsx("rect",{x:"130",y:"51",rx:"2",ry:"2",width:"360",height:"36"}),x.jsx("rect",{x:"510",y:"51",rx:"2",ry:"2",width:"360",height:"36"}),x.jsx("rect",{x:"130",y:"110",rx:"2",ry:"2",width:"100",height:"21"}),x.jsx("rect",{x:"510",y:"110",rx:"2",ry:"2",width:"100",height:"21"}),x.jsx("rect",{x:"130",y:"141",rx:"2",ry:"2",width:"360",height:"36"}),x.jsx("rect",{x:"510",y:"141",rx:"2",ry:"2",width:"360",height:"36"}),x.jsx("rect",{x:"52",y:"200",rx:"2",ry:"2",width:"31",height:"31"}),x.jsx("rect",{x:"95",y:"200",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"217",y:"200",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"339",y:"200",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"461",y:"200",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"583",y:"200",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"705",y:"200",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"827",y:"200",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"52",y:"240",rx:"2",ry:"2",width:"31",height:"31"}),x.jsx("rect",{x:"95",y:"240",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"217",y:"240",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"339",y:"240",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"461",y:"240",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"583",y:"240",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"705",y:"240",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"827",y:"240",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"52",y:"280",rx:"2",ry:"2",width:"31",height:"31"}),x.jsx("rect",{x:"95",y:"280",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"217",y:"280",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"339",y:"280",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"461",y:"280",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"583",y:"280",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"705",y:"280",rx:"2",ry:"2",width:"110",height:"31"}),x.jsx("rect",{x:"827",y:"280",rx:"2",ry:"2",width:"110",height:"31"})]})}),exports.ContentLoaderPopupReadyToShip=()=>x.jsx(vb,{children:x.jsxs(db,{speed:1,width:900,height:255,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{width:"100%",maxWidth:"900px",minWidth:"800px"},children:[x.jsx("rect",{x:"20",y:"25",rx:"2",ry:"2",width:"25",height:"22"}),x.jsx("rect",{x:"55",y:"20",rx:"2",ry:"2",width:"32",height:"32"}),x.jsx("rect",{x:"97",y:"20",rx:"2",ry:"2",width:"250",height:"32"}),x.jsx("rect",{x:"500",y:"20",rx:"2",ry:"2",width:"170",height:"32"}),x.jsx("rect",{x:"680",y:"20",rx:"2",ry:"2",width:"170",height:"32"}),x.jsx("rect",{x:"860",y:"20",rx:"2",ry:"2",width:"25",height:"22"}),x.jsx("rect",{x:"20",y:"70",rx:"2",ry:"2",width:"25",height:"22"}),x.jsx("rect",{x:"55",y:"65",rx:"2",ry:"2",width:"32",height:"32"}),x.jsx("rect",{x:"97",y:"65",rx:"2",ry:"2",width:"250",height:"32"}),x.jsx("rect",{x:"500",y:"65",rx:"2",ry:"2",width:"170",height:"32"}),x.jsx("rect",{x:"680",y:"65",rx:"2",ry:"2",width:"170",height:"32"}),x.jsx("rect",{x:"860",y:"65",rx:"2",ry:"2",width:"25",height:"22"}),x.jsx("rect",{x:"20",y:"115",rx:"2",ry:"2",width:"25",height:"22"}),x.jsx("rect",{x:"55",y:"110",rx:"2",ry:"2",width:"32",height:"32"}),x.jsx("rect",{x:"97",y:"110",rx:"2",ry:"2",width:"250",height:"32"}),x.jsx("rect",{x:"500",y:"110",rx:"2",ry:"2",width:"170",height:"32"}),x.jsx("rect",{x:"680",y:"110",rx:"2",ry:"2",width:"170",height:"32"}),x.jsx("rect",{x:"860",y:"110",rx:"2",ry:"2",width:"25",height:"22"}),x.jsx("rect",{x:"20",y:"160",rx:"2",ry:"2",width:"25",height:"22"}),x.jsx("rect",{x:"55",y:"155",rx:"2",ry:"2",width:"32",height:"32"}),x.jsx("rect",{x:"97",y:"155",rx:"2",ry:"2",width:"250",height:"32"}),x.jsx("rect",{x:"500",y:"155",rx:"2",ry:"2",width:"170",height:"32"}),x.jsx("rect",{x:"680",y:"155",rx:"2",ry:"2",width:"170",height:"32"}),x.jsx("rect",{x:"860",y:"155",rx:"2",ry:"2",width:"25",height:"22"}),x.jsx("rect",{x:"20",y:"205",rx:"2",ry:"2",width:"25",height:"22"}),x.jsx("rect",{x:"55",y:"200",rx:"2",ry:"2",width:"32",height:"32"}),x.jsx("rect",{x:"97",y:"200",rx:"2",ry:"2",width:"250",height:"32"}),x.jsx("rect",{x:"500",y:"200",rx:"2",ry:"2",width:"170",height:"32"}),x.jsx("rect",{x:"680",y:"200",rx:"2",ry:"2",width:"170",height:"32"}),x.jsx("rect",{x:"860",y:"200",rx:"2",ry:"2",width:"25",height:"22"})]})}),exports.ContentLoaderPopupStoreSelect=()=>x.jsx(vb,{children:x.jsx(db,{speed:1,width:325.5,height:30,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:x.jsx("rect",{x:"0",y:"0",rx:"5",ry:"5",width:"325.5",height:"30"})})}),exports.ContentLoaderPromotionHover=()=>x.jsxs(db,{height:151,width:"100%",speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:[x.jsx("rect",{x:"0",y:"4",rx:"0",ry:"0",width:"135",height:"14"}),x.jsx("rect",{x:"150",y:"4",rx:"0",ry:"0",width:"140",height:"14"}),x.jsx("rect",{x:"0",y:"32",rx:"0",ry:"0",width:"135",height:"14"}),x.jsx("rect",{x:"150",y:"32",rx:"0",ry:"0",width:"140",height:"14"}),x.jsx("rect",{x:"0",y:"60",rx:"0",ry:"0",width:"135",height:"14"}),x.jsx("rect",{x:"150",y:"60",rx:"0",ry:"0",width:"140",height:"14"}),x.jsx("rect",{x:"0",y:"88",rx:"0",ry:"0",width:"135",height:"14"}),x.jsx("rect",{x:"150",y:"88",rx:"0",ry:"0",width:"140",height:"14"}),x.jsx("rect",{x:"0",y:"116",rx:"0",ry:"0",width:"135",height:"14"}),x.jsx("rect",{x:"150",y:"116",rx:"0",ry:"0",width:"140",height:"14"}),x.jsx("rect",{x:"150",y:"132",rx:"0",ry:"0",width:"140",height:"14"})]}),exports.ContentLoaderReportingDashboard=()=>x.jsx(Cb,{children:x.jsxs(db,{speed:1,width:wb,height:500,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:[x.jsx("rect",{x:"10",y:"10",rx:"2",ry:"2",width:"210",height:"25"}),x.jsx("rect",{x:"10",y:"60",rx:"2",ry:"2",width:"210",height:"20"}),x.jsx("rect",{x:"10",y:"95",rx:"2",ry:"2",width:"210",height:"20"}),x.jsx("rect",{x:"10",y:"130",rx:"2",ry:"2",width:"210",height:"20"}),x.jsx("rect",{x:"10",y:"165",rx:"2",ry:"2",width:"210",height:"20"}),x.jsx("rect",{x:"10",y:"200",rx:"2",ry:"2",width:"210",height:"20"}),x.jsx("rect",{x:"10",y:"235",rx:"2",ry:"2",width:"210",height:"20"}),x.jsx("rect",{x:"10",y:"270",rx:"2",ry:"2",width:"210",height:"20"}),x.jsx("rect",{x:"10",y:"305",rx:"2",ry:"2",width:"210",height:"20"}),x.jsx("rect",{x:"280",y:"10",rx:"2",ry:"2",width:"210",height:"25"}),x.jsx("rect",{x:"280",y:"60",rx:"2",ry:"2",width:"210",height:"20"}),x.jsx("rect",{x:"280",y:"95",rx:"2",ry:"2",width:"210",height:"20"}),x.jsx("rect",{x:"280",y:"130",rx:"2",ry:"2",width:"210",height:"20"}),x.jsx("rect",{x:"280",y:"165",rx:"2",ry:"2",width:"210",height:"20"}),x.jsx("rect",{x:"280",y:"200",rx:"2",ry:"2",width:"210",height:"20"}),x.jsx("rect",{x:"280",y:"235",rx:"2",ry:"2",width:"210",height:"20"}),x.jsx("rect",{x:"280",y:"270",rx:"2",ry:"2",width:"210",height:"20"}),x.jsx("rect",{x:"280",y:"305",rx:"2",ry:"2",width:"210",height:"20"}),x.jsx("rect",{x:"550",y:"10",rx:"2",ry:"2",width:"210",height:"25"}),x.jsx("rect",{x:"550",y:"60",rx:"2",ry:"2",width:"210",height:"20"}),x.jsx("rect",{x:"550",y:"95",rx:"2",ry:"2",width:"210",height:"20"}),x.jsx("rect",{x:"550",y:"130",rx:"2",ry:"2",width:"210",height:"20"}),x.jsx("rect",{x:"550",y:"165",rx:"2",ry:"2",width:"210",height:"20"}),x.jsx("rect",{x:"550",y:"200",rx:"2",ry:"2",width:"210",height:"20"}),x.jsx("rect",{x:"550",y:"235",rx:"2",ry:"2",width:"210",height:"20"}),x.jsx("rect",{x:"550",y:"270",rx:"2",ry:"2",width:"210",height:"20"}),x.jsx("rect",{x:"550",y:"305",rx:"2",ry:"2",width:"210",height:"20"})]})}),exports.ContentLoaderSetting=()=>x.jsxs(db,{speed:1,width:"100%",height:550,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:[x.jsx("rect",{x:"0",y:"0",rx:"2",ry:"2",width:"125",height:"15"}),x.jsx("rect",{x:"0",y:"25",rx:"2",ry:"2",width:"620",height:"25"}),x.jsx("rect",{x:"0",y:"60",rx:"2",ry:"2",width:"450",height:"25"}),x.jsx("rect",{x:"0",y:"110",rx:"2",ry:"2",width:"125",height:"15"}),x.jsx("rect",{x:"0",y:"135",rx:"2",ry:"2",width:"620",height:"25"}),x.jsx("rect",{x:"0",y:"170",rx:"2",ry:"2",width:"450",height:"25"}),x.jsx("rect",{x:"0",y:"220",rx:"2",ry:"2",width:"125",height:"15"}),x.jsx("rect",{x:"0",y:"245",rx:"2",ry:"2",width:"620",height:"25"}),x.jsx("rect",{x:"0",y:"280",rx:"2",ry:"2",width:"450",height:"25"}),x.jsx("rect",{x:"0",y:"330",rx:"2",ry:"2",width:"125",height:"15"}),x.jsx("rect",{x:"0",y:"355",rx:"2",ry:"2",width:"450",height:"80"}),x.jsx("rect",{x:"0",y:"460",rx:"2",ry:"2",width:"125",height:"15"}),x.jsx("rect",{x:"0",y:"485",rx:"2",ry:"2",width:"450",height:"80"}),x.jsx("rect",{x:"0",y:"585",rx:"2",ry:"2",width:"125",height:"15"}),x.jsx("rect",{x:"0",y:"610",rx:"2",ry:"2",width:"170",height:"25"}),x.jsx("rect",{x:"180",y:"610",rx:"2",ry:"2",width:"170",height:"25"}),x.jsx("rect",{x:"0",y:"645",rx:"2",ry:"2",width:"170",height:"25"}),x.jsx("rect",{x:"180",y:"645",rx:"2",ry:"2",width:"170",height:"25"}),x.jsx("rect",{x:"0",y:"695",rx:"2",ry:"2",width:"125",height:"15"}),x.jsx("rect",{x:"0",y:"720",rx:"2",ry:"2",width:"450",height:"25"}),x.jsx("rect",{x:"0",y:"755",rx:"2",ry:"2",width:"400",height:"25"})]}),exports.ContentLoaderTableList=()=>{const e=Ab-96,t=Math.floor((wb-110)/120),n=Math.floor((e-20)/50);return x.jsx(mb,{children:x.jsx(db,{speed:1,width:wb,height:e,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:Array.apply(0,Array(n)).map(((e,n)=>{const r=n+50*(n+1)-30;return Array.apply(0,Array(t)).map(((e,t)=>{const i=t+120*(t+1)-65;return x.jsx("rect",{x:i,y:r,rx:"2",ry:"2",width:100,height:0===n?16:30},t)}))}))})})},exports.DateComponent=uy,exports.DateTimeComponent=({dateTimeData:e})=>{const t=Tx(e,"YYYY-MM-DD HH:mm:ss ZZ").format("D MMM YYYY,"),n=Tx(e,"YYYY-MM-DD HH:mm:ss ZZ").format("hh:mm A");return x.jsx(hy,{children:e?x.jsxs(x.Fragment,{children:[x.jsx("span",{children:t}),x.jsx("span",{children:n})]}):"-"})},exports.DropdownComponent=t=>{var{children:n,title:r,subTitle:i,$externalWidth:o,$externalMinWidth:a,$internalWidth:s,$area:c,$openPosition:d,$placement:u,$top:h,onClick:p,$alias:g,type:f,portalId:m,$bottom:y}=t,b=l(t,["children","title","subTitle","$externalWidth","$externalMinWidth","$internalWidth","$area","$openPosition","$placement","$top","onClick","$alias","type","portalId","$bottom"]);const v=e.useRef(null),C=()=>{const e=document.getElementsByClassName("_refContainer is-shown")[0];if(e){const t=e.getBoundingClientRect(),n=document.querySelector(`#${m} ._refDropdownPortal`);if(n){const e=n.querySelector("._refDropdownWrapper");n.style.left=t.left+t.width-e.getBoundingClientRect().width+"px",n.style.top=t.top+parseInt(h||"0")-32+"px"}}},w=()=>{const e=document.getElementsByClassName("_refContainer is-shown");if(e.length)for(let t=0;t<e.length;t++)e[t].classList.remove("is-shown");const t=document.querySelector("._refScrollContainer");t&&t.removeEventListener("scroll",C,!0),setTimeout((()=>{if(m){const e=document.getElementsByClassName("_refDropdownPortal is-shown");if(e.length)for(let t=0;t<e.length;t++)e[t].style.left="0",e[t].style.top="0",e[t].classList.remove("is-shown")}}),10)},A=e=>{const t=v.current;if(t){const n=e.target.closest(`.${t.classList[0]}`);if(!n)return;const r=n.closest("._refContainer");if(r){const t=r.classList.contains("is-shown"),n=r.getBoundingClientRect();t?(r.classList.remove("is-shown"),setTimeout((()=>{if(m){const e=document.querySelector(`#${m} ._refDropdownPortal`),t=document.querySelector("._refScrollContainer"),n=e.querySelector("._refDropdownWrapper");e&&(e.classList.remove("is-shown"),e.style.left="0px",e.style.top="0px",n&&t&&t.removeEventListener("scroll",C,!0))}}),10)):(w(),r.classList.add("is-shown"),setTimeout((()=>{if(m){const e=document.querySelector(`#${m} ._refDropdownPortal`),t=document.querySelector("._refScrollContainer"),r=e.querySelector("._refDropdownWrapper");e&&(n&&(r?setTimeout((()=>{r.style.right="auto",e.style.left=n.left+n.width-r.getBoundingClientRect().width+"px",e.style.top=n.top+parseInt(h||"0")-32+"px",e.style.zIndex="8",t&&t.addEventListener("scroll",C,!0)}),10):(e.style.left=n.left+(parseInt(s||"0")+n.width)/2+"px",e.style.top=n.top+n.height+"px")),e.classList.add("is-shown"))}}),10),p&&p(e))}}};e.useEffect((()=>(setTimeout((()=>{const e=document.querySelectorAll("._refDropdownPortal._refHover");for(let t of e)t&&t.addEventListener("mouseenter",(e=>{const t=e.target;t.classList.add("is-shown"),t.classList.add("unhiddenable")})),t&&t.addEventListener("mouseleave",(e=>{const t=e.target;t.classList.remove("is-shown"),t.classList.remove("unhiddenable"),t.style.left="0",t.style.top="0"}))}),1),()=>{const e=document.querySelectorAll("._refDropdownPortal._refHover");for(let t of e)t&&t.removeEventListener("mouseenter",(e=>{const t=e.target;t.classList.add("is-shown"),t.classList.add("unhiddenable")}),!0),t&&t.removeEventListener("mouseleave",(e=>{const t=e.target;t.classList.remove("is-shown"),t.classList.remove("unhiddenable"),t.style.left="0",t.style.top="0"}),!0)})),[m]);const F=i?x.jsx(Oe,{children:i}):null,k=r?x.jsxs(Te,{children:[r," ",F]}):null,B=n.filter((t=>e.isValidElement(t)?"control"===t.props["aria-label"]:null)),I=B&&e.isValidElement(B[0])?"hover"===f?x.jsxs(Me,{children:[x.jsx(je,Object.assign({className:"_refDropdownControl"},m&&{onMouseEnter:e=>{const t=v.current;if(t){const n=e.target.closest(`.${t.classList[0]}`);if(!n)return;const r=document.querySelectorAll("._refDropdownPortal");for(const e of r)e.classList.remove("is-shown"),e.style.left="0",e.style.top="0";const i=n.closest("._refContainer");if(i){const e=i.getBoundingClientRect(),t=document.querySelector(`#${m} ._refDropdownPortal`);if(t){if(e){t.style.left=e.left+(parseInt(s||"0")+e.width)/2+"px";let n=e.top+e.height;const r=t.querySelector("._refDropdownWrapper");r&&(r.style.display="block",n+r.clientHeight>=document.body.clientHeight&&(n=e.top-r.clientHeight-10)),t.style.top=n+"px"}t.classList.add("is-shown")}}}},onMouseLeave:e=>{const t=v.current;if(t){if(!e.target.closest(`.${t.classList[0]}`))return;setTimeout((()=>{const e=document.querySelector(`#${m} ._refDropdownPortal`);e&&!e.classList.contains("unhiddenable")&&(e.classList.remove("is-shown"),e.style.left="0",e.style.top="0")}),150)}}},{children:B[0].props.children})),x.jsx(je,{className:"_refDropdownControlMobile",ref:v,onClick:A,children:B[0].props.children})]}):x.jsx(je,{ref:v,onClick:A,children:B[0].props.children}):null,D=n.filter((t=>e.isValidElement(t)?"body"===t.props["aria-label"]:null)),E=D&&e.isValidElement(D[0])?x.jsx(Le,{$area:c,children:D[0].props.children}):null,S=n.filter((t=>e.isValidElement(t)?"action"===t.props["aria-label"]:null)),j=S&&e.isValidElement(S[0])?x.jsx(Pe,{$position:S[0].props["data-position"],className:S[0].props.className,children:S[0].props.children}):null,M=x.jsxs(Ee,Object.assign({className:"_refDropdownWrapper"},s&&{$internalWidth:s},h&&{$top:h},d&&{$openPosition:d},u&&{$placement:u},y&&{$bottom:y},{children:[k,E,j]}));return x.jsxs(Ne,Object.assign({className:"_refContainer "+(f?`_refContainer${f}`:"")},o&&{$externalWidth:o},a&&{$externalMinWidth:a},c&&{$area:c},h&&{$top:h},g&&{$alias:g},d&&{$openPosition:d},u&&{$placement:u},y&&{$bottom:y},b,{children:[I,x.jsx(Se,{className:"_refDropdownOverlay",onClick:()=>{w()}}),m?x.jsx(De,{wrapperId:m,children:x.jsx(Ye,{className:"_refDropdownPortal "+("hover"===f?"_refHover":""),children:M})}):M]}))},exports.ErrorComponent=sh,exports.FigureWraper=Kx,exports.FoContainer=Vx,exports.FormContainer=ab,exports.HeaderContainer=Rx,exports.IconComponent=Ie,exports.ImageComponent=mo,exports.InfoGroup=zx,exports.InitialContainer=qx,exports.InputComponent=ae,exports.InputGroup=Qx,exports.InputRefComponent=se,exports.IsNumeric=Q,exports.LabelComponent=e=>{var{children:t,$mode:n,$position:r}=e,i=l(e,["children","$mode","$position"]);return x.jsx(ve,Object.assign({$mode:n,$position:r},i,{children:t}))},exports.LinkComponent=L,exports.ListComponent=({children:e,$mode:t,$selected:n,$type:r,onClick:i,forwardRef:o})=>x.jsx(ib,{$mode:t,$selected:n,$type:r,onClick:i,ref:o,children:e}),exports.ListContainer=Px,exports.LoadingComponent=Ae,exports.MasterTableActionWrapper=_x,exports.MasterTableComponent=t=>{const{evOpenPopup:n,headerColumns:r,data:i,setData:o,resultPopup:a,setResultPopup:s,type:l,evCreateMessageQuestion:c,evCreateMessage:d,autoCopy:u,setAutoCopy:h,isRemovable:p=!0,isForceUpdate:g,setForceUpdate:f}=t,[m,y]=e.useState(!1),[b,C]=e.useState();e.useEffect((()=>{const e=()=>{const e=document.querySelector("._refResizeContainer");if(e){const t=document.querySelector("._refMasterTableViewport"),n=e.offsetHeight,r=document.querySelector("._refHeaderContainer"),i=r?r.offsetHeight:0;t&&(t.style.height=`calc(100vh - ${n+i+12}px)`)}};return e(),window.addEventListener("resize",e,!0),()=>{window.removeEventListener("resize",e,!0)}}),[]);const w=H(l||"");e.useEffect((()=>{const e=document.querySelector("#master-clone"),t=e?e.innerHTML:"";if((null==i?void 0:i.length)&&!t){const t=document.querySelector("._refMasterTableViewport"),n=document.querySelector("._refMasterTableHeaderClone");let r=0,i=0,o=!1;t&&t.addEventListener("scroll",(e=>{const a=t.offsetWidth-t.clientWidth,s=t.scrollLeft;i!==a&&(n.style.width=parseInt(n.style.width)+a+"px"),o||(window.requestAnimationFrame((()=>{r!==s&&(n.style.left="-"+s+"px"),o=!1,r=s})),o=!0),i=a}),{passive:!0}),e.innerHTML="true"}}),[i]);const A=55,F=p?55:0;let k=0,B=0;for(const e of r.filter((e=>!(null==e?void 0:e.isHidden))))"colGroup"===e.type&&(B+=e.width),k+=e.width;k+=A+F+1,B+=A;const I=(e,t,n,r)=>{const a="category"===(null==e?void 0:e.condition)?"Array":e.typeData||"String",s=$(a,t),c="category"===(null==e?void 0:e.condition)?ee(e,s,(null==e?void 0:e.condition[0].toUpperCase())+(null==e?void 0:e.condition.substring(1))):ee(e,s);if(n>=0){let t=[...i],a=t[n];if(r&&r>=0)if("putaway-inbound"===l){let t=a.locations[r];const n=e.key.replace("locations-","");t[n]=s,c.approved?delete t[n+"_error"]:t[n+"_error"]=c.errors[0],a.locations.splice(r,1,t)}else{let t=a.variants[r];const n=e.key.replace("variants-",""),i=a.variants.length;if("options-option"===n||"options-type"===n){const o=-1!==e.name.indexOf("1")?0:1,l="options-option"===n?"option":"type";if("type"===l){let e=[];for(let t=0;t<i;t++){let n=a.variants[t];if(n.options[o][l]=s,`${l}_error`in n.options[o]&&delete n.options[o][`${l}_error`],n.options.length>1){const e=0===o?1:0;`${l}_error`in n.options[e]&&delete n.options[e][`${l}_error`],s.toLowerCase()===n.options[e].type.toLowerCase()&&(n.options[o][`${l}_error`]="Variant type is duplicate")}e.push(n)}a.variants=e}else t.options[o][l]=s,c.approved?delete t.options[o][l+"_error"]:t.options[o][l+"_error"]=c.errors[0],a.variants.splice(r,1,t)}else t[n]=s,c.approved?delete t[n+"_error"]:t[n+"_error"]=c.errors[0],a.variants.splice(r,1,t)}else if("category"===(null==e?void 0:e.condition)){if(-1!==e.key.indexOf("listing")&&a.listing){const t=a.listing.findIndex((t=>t.accountId===e.value));if(t>=0){let n=[...a.listing],r=n[t];r[e.condition]=s,c.approved?delete r[e.condition+"_error"]:r[e.condition+"_error"]=c.errors[0],n.splice(t,1,r),a.listing=n}}}else a[e.key]=s,c.approved?delete a[e.key+"_error"]:a[e.key+"_error"]=c.errors[0];t.splice(n,1,a),o(t),e.bare&&c.approved&&f&&f(!0)}},D=e=>{const t=e.target,n=J("confirm",`Are you sure you want to remove ${"create-paymentreceive"===l?"invoice":"product"}?`,"",(()=>{let e=[...i];const n=t=>{var n;if(!u)return!1;let r=[...u];for(const i of t){const t=Object.assign({},e[i]),o=t.category,a=r.reduce(((e,t,n)=>e.concat(t.category===o?n:[])),[]);if(a.length)for(const e of a)if(e>=0){let i=null===(n=r[e])||void 0===n?void 0:n.copy;if(i){const e=i.findIndex((e=>e.id===t.id));e>=0&&i.splice(e,1)}}}h&&h(r),b&&C(void 0)},r=e=>{const t=document.getElementById("listing-data");t&&!t.innerHTML&&(t.innerText=JSON.stringify(e))};if("bulk"===(t.dataset.type||"")){let t=document.querySelectorAll("[name='checkbox-list']:checked"),i=[];for(let e=0;e<t.length;e++){const n=t[e],r=n.dataset.key?parseInt(n.dataset.key):0;i.push(r)}const a=e.filter(((e,t)=>-1===i.indexOf(t)));"listing"===w?(n(i),o(a,(e=>r(e)))):o(a),O()}else{const i=t.closest(".cell-trash"),a=i.dataset.idx?parseInt(i.dataset.idx):null,s=i.dataset.row?parseInt(i.dataset.row):null;if(null!==a)if("listing"===w)n([a]),e.splice(a,1),o(e,(e=>r(e)));else if("master"===w){let t=Object.assign({},e[a]);if(null==t?void 0:t.variants)if(1===t.variants.length)e.splice(a,1);else{let n=[...t.variants];s&&n.splice(s,1),t.variants=n,e.splice(a,1,t)}else e.splice(a,1);o(e)}else if("putaway-inbound"===l){let t=Object.assign({},e[a]);if(null==t?void 0:t.locations)if(1===t.locations.length)e.splice(a,1);else{let n=[...t.locations];s&&n.splice(s,1),t.locations=n,e.splice(a,1,t)}else e.splice(a,1);o(e)}else e.splice(a,1),o(e)}}));c&&c(n)},E=e=>{const t=document.querySelectorAll("[name='checkbox-list']:checked").length,n=document.querySelector("._refMasterTableBulkWrapper"),r=n.getElementsByTagName("span");r&&(r[0].innerHTML=`${t} selected`),t>0?n.classList.add("is-active"):n.classList.remove("is-active")},S=e=>{const t=e.target.checked,n=document.querySelectorAll("[name='checkbox-list']");if(null==n?void 0:n.length)for(let e=0;e<n.length;e++){const r=n[e],i=r.closest(".cell-checkbox"),o=r.closest("._refMasterTableBodyContent");t?(i&&i.classList.add("isChecked"),o&&o.classList.add("is-highlighted")):(i&&i.classList.remove("isChecked"),o&&o.classList.remove("is-highlighted")),r.checked=t}else{const t=U("warning","No Products Selected");d&&d(t),e.target.checked=!1,y(!1)}E()},j=e=>{const t=e.target,n=t.checked,r=document.querySelectorAll("[name='checkbox-selectAll']"),i=t.closest(".cell-checkbox"),o=t.closest("._refMasterTableBodyContent");!n&&(null==r?void 0:r.length)&&r.forEach((e=>e.checked&&(e.checked=!1))),n?(i&&i.classList.add("isChecked"),o&&o.classList.add("is-highlighted")):(i&&i.classList.remove("isChecked"),o&&o.classList.remove("is-highlighted")),E()},M="stock"===w?66:82,N=(e,t,r,i,o,c,d)=>{const u=c||M,h=e=>{const t=document.getElementById("cur-key");document.querySelectorAll(".cell-editing").forEach((e=>e.classList.remove("cell-editing"))),t&&(t.innerHTML=""),e&&e()};let p;switch(t.fieldType){case"image":p=x.jsx(qy,{head:t,value:r,height:u,evOpenPopup:n,idx:e,variantIdx:o,evChange:I,resultPopup:a,setResultPopup:s,error:i,evCloseEditor:h});break;case"textarea":p=x.jsx(nb,{head:t,value:r,height:u,idx:e,variantIdx:o});break;case"select":p=t.bare?x.jsx($y,{head:t,value:r,idx:e,variantIdx:o,evChange:I,error:i,content:d,isForceUpdate:g,setForceUpdate:f}):x.jsx(Ky,{head:t,value:r,height:u,idx:e,variantIdx:o,evChange:I,error:i,evCloseEditor:h});break;case"tag":p=x.jsx(tb,{head:t,value:r,height:u,evOpenPopup:n,idx:e,variantIdx:o,evChange:I,resultPopup:a,setResultPopup:s,evCloseEditor:h});break;case"label":p=x.jsx(_y,{head:t,value:r,height:u,idx:e,evOpenPopup:n,content:d,type:l,variantIdx:o});break;case"switch":p=x.jsx(eb,{head:t,value:r,idx:e,variantIdx:o,evChange:I,evCloseEditor:h});break;case"date":p=t.bare?x.jsx(Qy,{head:t,value:r,idx:e,variantIdx:o,evChange:I,error:i,isForceUpdate:g,setForceUpdate:f}):x.jsx(Zy,{head:t,value:r,height:u,idx:e,variantIdx:o,evChange:I,error:i,evCloseEditor:h});break;default:p=t.bare?x.jsx(Jy,{head:t,content:d,value:r,height:u,idx:e,variantIdx:o,evChange:I,error:i,type:l,isForceUpdate:g,setForceUpdate:f}):x.jsx(Uy,{head:t,value:r,height:u,idx:e,variantIdx:o,evChange:I,error:i,evCloseEditor:h,content:d})}return p},T=e=>{const t=e.target.dataset.key||"",n=r.findIndex((e=>e.key===t));if(n>=0){const e=r[n],a=document.querySelector("[name='checkbox-selectAll']"),s=document.querySelectorAll("[name='checkbox-list']:checked"),l=!a.checked&&s.length?`Clear to selected products (${s.length})`:"Clear all products",d=J("confirm","Are you sure you want to clear this column?","By clearing data, you can't undo this action.",(()=>{const n="validations"in e?ee(e,""):{approved:!0},r=t.split("-"),l=r[0],c=r[1],d="Boolean"!==e.typeData&&"";let u=[...i];if("stock"===w){const e=u.map((e=>{let r=e;return t&&(r[t]=d,n.approved?delete r[t+"_error"]:r[t+"_error"]=n.errors[0]),r}));o(e)}else if(!a.checked&&s.length){for(let e=0;e<s.length;e++){const t=s[e],r=t.dataset.key?parseInt(t.dataset.key):null;if(null!==r){let e=u[r];if(c){const t=e[l].map((e=>{const t=e;return t[c]=d,n.approved?delete t[c+"_error"]:t[c+"_error"]=n.errors[0],t}));e[l]=t}else e[l]=d,n.approved?delete e[l+"_error"]:e[l+"_error"]=n.errors[0];u.splice(r,1,e)}}o(u)}else{const e=u.map((e=>{let t=e;if(c){const e=t[l].map((e=>{const t=e;return t[c]=d,n.approved?delete t[c+"_error"]:t[c+"_error"]=n.errors[0],t}));t[l]=e}else t[l]=d,n.approved?delete t[l+"_error"]:t[l+"_error"]=n.errors[0];return t}));o(e)}}),l);c&&c(d)}},O=e.useCallback((()=>{const e=document.querySelectorAll("[name='checkbox-selectAll']");setTimeout((()=>{e.forEach((e=>e.checked&&(e.checked=!1)))}),10);const t=document.querySelectorAll("[name='checkbox-list']:checked");if(null==t?void 0:t.length)for(let e=0;e<t.length;e++){const n=t[e],r=n.closest(".cell-checkbox"),i=n.closest("._refMasterTableBodyContent");r&&r.classList.remove("isChecked"),i&&i.classList.remove("is-highlighted"),n.checked=!1}m&&y(!1)}),[m]);e.useEffect((()=>{if(a&&"edit"in a){const e=a.edit.key,t=a.edit.value,n=e.split("-"),r=n[0],l=n[1],c=document.querySelector("[name='checkbox-selectAll']"),d=document.querySelectorAll("[name='checkbox-list']:checked");let u=[...i];if(!c.checked&&d.length){for(let e=0;e<d.length;e++){const n=d[e],i=n.dataset.key?parseInt(n.dataset.key):null;if(null!==i){let e=u[i];if(l){const n=e[r].map((e=>{const n=e;return n[l]=t,delete n[l+"_error"],n}));e[r]=n}else e[r]="",delete e[r+"_error"];u.splice(i,1,e)}}o(u)}else{const e=u.map((e=>{let n=e;if(l){const e=n[r].map((e=>{const n=e;return n[l]=t,delete n[l+"_error"],n}));n[r]=e}else n[r]="",delete n[r+"_error"];return n}));o(e)}s&&s(null)}}),[a,s,i,o,w,l,r]);const P=r.filter((e=>e.isMassEditable||e.isMassClearable)).length>0,Y=(e,t,r,o,a,s)=>(null==e?void 0:e.length)?x.jsxs(Sy,{className:""+(s?"_refMasterTableHeaderClone":"_refMasterTableHeader"),style:{width:s&&a||"100%"},children:[x.jsxs(jy,{children:[x.jsx("div",{className:"headerCell headerCell-Checkbox",style:{width:t},children:p?x.jsx(he,{onClick:S,name:"checkbox-selectAll",id:""+(s?"checkbox-selectAll-clone":"checkbox-selectAll")}):null},0),e.filter((e=>!(null==e?void 0:e.isHidden))).map(((e,t)=>{var n;return x.jsxs("div",{className:"headerCell "+(e.icon||e.initial?"headerCell-img":""),"data-key":e.key,style:{width:e.width},children:[e.icon?x.jsx(mo,{width:"24px",src:e.icon,alt:e.name}):e.initial?x.jsx(qx,{className:"initial-wrapper",style:{width:"24px",height:"24px",backgroundColor:(null==e?void 0:e.color)||"#000000",fontSize:"10px"},children:e.initial}):null,x.jsxs("header",{className:"multi-elipsis",title:e.name,children:[e.name,(null===(n=null==e?void 0:e.validations)||void 0===n?void 0:n.required)&&x.jsx(v,{$color:"red",style:{display:"inline",lineHeight:"normal"},children:"*"}),(null==e?void 0:e.tip)&&x.jsx(Ie,{$name:"question",$width:"12px","data-tip":e.tip,"data-place":"top","data-multiline":!0})]})]},t+1)})),p?x.jsx("div",{className:"headerCell headerCell-trash",style:{width:r}},e.length+("picklist"===w?2:1)):null]}),P&&(null==i?void 0:i.length)?x.jsxs(_x,{children:[x.jsx("div",{className:"actionCell",style:{width:t}}),e.filter((e=>!(null==e?void 0:e.isHidden))).map(((e,t)=>x.jsx("div",{className:"actionCell",style:{width:e.width},children:x.jsxs(Ry,{children:[e.isMassEditable&&x.jsx(L,{mode:"clear",title:"Bulk Edit","data-popup":"table-mass-edit","data-detail":JSON.stringify({title:"Bulk Edit",head:e}),onClick:n,children:"Edit"}),e.isMassClearable&&x.jsx(L,{mode:"clear",title:"Bulk Clear","data-key":e.key,onClick:T,children:"Clear"})]})},t+1))),p?x.jsx("div",{className:"actionCell",style:{width:r}},e.length+("picklist"===w?2:1)):null]}):null]}):null;return console.log(i,"dataTable"),x.jsxs(x.Fragment,{children:[Y(r,A,F,0,k,!0),x.jsxs(By,{children:[x.jsx(Iy,{children:x.jsx(Dy,{className:"_refMasterTableViewport",$mode:l||"create-master",children:x.jsxs(Ey,{className:"_refMasterTableCanvas",style:{width:k},children:[Y(r,A,F),x.jsx(My,{className:"_refMasterTableBody",children:(null==i?void 0:i.length)?"putaway-inbound"===l?x.jsx(Xy,{data:i,heightContent:M,firstHeaderColumnsWidth:A,evCheckbox:j,headerColumns:r,switchEditor:N,totalColGroupWidth:B,lastHeaderColumnsWidth:F,evRemove:D,type:l,isRemovable:p}):x.jsx(zy,{data:i,firstHeaderColumnsWidth:A,evCheckbox:j,headerColumns:r,switchEditor:N,lastHeaderColumnsWidth:F,evRemove:D,type:l,isRemovable:p}):null})]})})}),x.jsxs("section",{className:"_refContainer",children:[x.jsxs(Jx,{className:"_refMasterTableBulkWrapper",children:[x.jsx(Ie,{className:"_refBulkCloseButton",$name:"cross",$width:"16px",onClick:e=>{e.persist(),O()}}),x.jsx("span",{children:"0 Selected"}),x.jsxs(xe,{$mode:"red",$shadow:!0,"data-type":"bulk",onClick:D,children:["Remove ","create-paymentreceive"===l?"Invoice":"Product"]})]}),x.jsx("div",{className:"_refDropdownOverlay",onClick:()=>{document.querySelector("._refDropdownOverlay").style.display="none";document.getElementsByTagName("BODY")[0].classList.remove("is-immuned")}})]})]}),x.jsx("div",{id:"master-clone",className:"hidden"})]})},exports.MenuList=e=>x.jsx(Mc.MenuList,Object.assign({},e,{children:e.children})),exports.MessageComponent=({timer:t=500,$type:n,message:r,callback:i})=>{const[o,a]=We.useStateWithCallbackLazy(!1),[s,l]=We.useStateWithCallbackLazy(!1),[c,d]=We.useStateWithCallbackLazy(!1),u=e.useCallback((()=>{d(!c,(()=>{document.getElementsByTagName("BODY")[0].classList.remove("is-immuned"),i&&i()}))}),[i,d,c]),h=e.useCallback((()=>{u()}),[u]);return e.useEffect((()=>{const e=t||2e3,n=document.querySelector("._refMessageOverlay");return o||c?o&&c&&(a&&a(!o,(()=>{})),l&&l(!s,(()=>{})),n&&n.removeEventListener("click",h)):a(!o,(()=>{n&&n.addEventListener("click",h),setTimeout((()=>{l(!s,(()=>{setTimeout((()=>!s&&u()),e)}))}),1)})),()=>{n&&n.removeEventListener("click",h)}}),[o,s,t,u,a,l,h,c]),x.jsxs(ze,{$isOpen:o,children:[x.jsx(Ze,{className:"_refMessageOverlay"}),x.jsx(Ue,{children:x.jsx(Qe,{$isOpen:s,children:x.jsxs(Je,{$type:n,children:[x.jsx("i",{}),r,x.jsx(xe,{$mode:"small-white-round-close",onClick:u})]})})})]})},exports.MessageQuestionComponent=({$type:t,title:n,subtitle:r,callback:i,buttonSubmit:o,cancelCallback:a})=>{const[s,l]=We.useStateWithCallbackLazy(!1),[c,d]=We.useStateWithCallbackLazy(!1),[u,h]=We.useStateWithCallbackLazy(!1),p=e.useCallback((()=>{h(!u,(()=>{a&&a();document.getElementsByTagName("BODY")[0].classList.remove("is-immuned")}))}),[a,u,h]),g=e.useCallback((()=>{p()}),[p]);return e.useEffect((()=>{const e=document.querySelector("._refQuestionMessageOverlay");s||u?s&&u&&(l(!s,(()=>{})),d(!c,(()=>{})),e&&e.removeEventListener("click",g)):l(!s,(()=>{setTimeout((()=>{d(!c,(()=>{})),e&&e.addEventListener("click",g)}),1)}))}),[s,c,l,d,g,u]),x.jsxs(ze,{$isOpen:s,children:[x.jsx(Ze,{className:"_refQuestionMessageOverlay",$type:t}),x.jsx(Ue,{$type:t,children:x.jsx(Qe,{$isOpen:c,children:x.jsxs(Je,{$type:t,children:[x.jsx("i",{}),x.jsxs("div",{children:[x.jsx(v,{$elipsis:!1,style:{fontWeight:600,fontSize:"15px"},children:n}),x.jsx(v,{$color:"grey",$elipsis:!1,children:eo(r)}),x.jsxs("aside",{children:[x.jsx(xe,{$mode:"white",$size:"small",onClick:p,children:"Cancel"}),x.jsx(xe,{$mode:"red",$size:"small",onClick:()=>{h(!u,(()=>{document.getElementsByTagName("BODY")[0].classList.remove("is-immuned"),i&&i()}))},children:o||"Confirm"})]})]})]})})})]})},exports.MuteLabel=Zx,exports.PanelContainer=Lx,exports.PanelWrapper=Yx,exports.PopupComponent=t=>{var{children:n,body:r,mode:i,height:o,width:a,isOpen:s,evTooglePopup:c}=t,d=l(t,["children","body","mode","height","width","isOpen","evTooglePopup"]);const[u,h]=We.useStateWithCallbackLazy(!1),p=e.useRef(null),g=e.useCallback((e=>{ho=setTimeout((()=>{h(e,(()=>{const e=p&&p.current?p.current:null;e&&(e.scrollTop=0)})),clearTimeout(ho)}),1)}),[h]),f=e.useRef({init:()=>{g(s)}});e.useEffect((()=>{const{init:e}=f.current;return e(),()=>{clearTimeout(ho)}}),[]),e.useEffect((()=>{g(s)}),[s,g]);let m=[...n];const y=(null==m?void 0:m.filter((t=>e.isValidElement(t)&&"head"===t.props["aria-label"])))||null,b=(null==m?void 0:m.filter((t=>e.isValidElement(t)&&"sub-head"===t.props["aria-label"])))||null,v=(null==m?void 0:m.filter((t=>e.isValidElement(t)&&"body"===t.props["aria-label"])))||null,C=(null==m?void 0:m.filter((t=>e.isValidElement(t)&&"foot"===t.props["aria-label"])))||null,w=(null==m?void 0:m.filter((t=>e.isValidElement(t)&&"left-foot"===t.props["aria-label"])))||null,A=b.length?x.jsx("aside",{children:b[0]&&e.isValidElement(b[0])?b[0].props.children:null}):null,F=y.length&&y[0]&&e.isValidElement(y[0])?y[0].props["data-qa-id"]:"";return x.jsxs(no,{$isOpen:s,children:[x.jsx(ro,{}),x.jsx(io,Object.assign({ref:p},d["data-qa-id"]&&{"data-qa-id":d["data-qa-id"]},{children:"question"===i?x.jsx(oo,{$isOpen:u,children:x.jsxs(uo,{$width:a,children:[x.jsx(Ie,{$name:"warning",$width:"30px"}),x.jsxs(ao,{$mode:i,children:[y.length?x.jsx(so,{children:y[0]&&e.isValidElement(y[0])?y[0].props.children:null}):null,A,C.length?x.jsx(co,{children:C[0]&&e.isValidElement(C[0])?x.jsx("aside",{"data-type":C[0].props.type||"",children:C[0].props.children}):null}):null]})]})}):x.jsxs(x.Fragment,{children:[x.jsx(ao,{$width:a,$isOpen:u,$mode:i,children:y.length?x.jsxs(x.Fragment,{children:[x.jsx(xe,{$mode:"round-close",onClick:c}),x.jsx(so,{"data-qa-id":F,children:y[0]&&e.isValidElement(y[0])&&y[0].props.children})]}):null}),x.jsxs(oo,{$width:a,$isOpen:u,$withHeader:!!y.length,children:[A,v.length?x.jsx(lo,{$mode:r,$width:a,$height:o,children:v[0]&&e.isValidElement(v[0])&&v[0].props.children}):null,C.length?x.jsxs(co,{$isLeft:!!w.length,children:[x.jsx("aside",{children:w&&w.length&&w[0]&&e.isValidElement(w[0])?w[0].props.children:null}),C[0]&&e.isValidElement(C[0])?x.jsxs("aside",{"data-type":C[0].props.type||"",children:[i&&"info"===i?x.jsx(xe,{$mode:"white",$size:"small",onClick:c,children:"Close"}):x.jsx(xe,{$mode:"white",$size:"small",onClick:c,"data-qa-id":"popup-button-cancel",children:"Cancel"}),C[0].props.children]}):null]}):null]})]})}))]})},exports.RadioComponent=e=>{var{children:t,$mode:n,evChange:r}=e,i=l(e,["children","$mode","evChange"]);const{id:o}=i;return x.jsx(py,{children:x.jsxs("label",{htmlFor:o,children:[x.jsx(fy,Object.assign({type:"radio",id:o,$mode:n,onChange:e=>{r&&r(e)}},i)),x.jsx(gy,Object.assign({$mode:n},i["data-qa-id"]&&{"data-qa-id":i["data-qa-id"]},{children:t}))]})})},exports.ReactPortalComponent=De,exports.SelectComponent=oh,exports.SingleFormContainer=sb,exports.SwitchComponent=by,exports.TabsContainer=Wx,exports.TabsContent=Hx,exports.TextAreaComponent=Ah,exports.TextAreaRefComponent=Fh,exports.TextComponent=v,exports.Title=Gx,exports.UploadComponent=e=>{var{children:t,mode:n}=e,r=l(e,["children","mode"]);const{id:i,width:o}=r;return"image"===n?x.jsxs(x.Fragment,{children:[t,x.jsx(gh,Object.assign({},"data-idx"in r&&{"data-idx":r["data-idx"]},r["data-detail"]&&{"data-detail":r["data-detail"]},r))]}):x.jsxs(dh,{$width:o,children:[x.jsxs(uh,{htmlFor:i,children:[x.jsx(ph,{}),x.jsx(hh,{children:t})]}),x.jsx(gh,Object.assign({},"data-idx"in r&&{"data-idx":r["data-idx"]},r["data-detail"]&&{"data-detail":r["data-detail"]},r))]})},exports.UploadDragDropComponent=t=>{var{children:n,id:r,name:i,evChange:o,evCreateMessage:a}=t,s=l(t,["children","id","name","evChange","evCreateMessage"]);const{accept:c}=s,[d,u]=e.useState(!1),h=e=>{e.preventDefault(),e.stopPropagation(),"dragenter"===e.type||"dragover"===e.type?u(!0):"dragleave"===e.type&&u(!1)};return x.jsxs(fh,{onDragEnter:h,className:d?"drag-active":"",children:[x.jsx(gh,Object.assign({id:r,name:i,onChange:e=>{e.preventDefault();const t=e.target;t.files&&t.files[0]&&o&&o(t.files)}},s)),x.jsx(mh,{id:"label-file-dragdrop-upload",htmlFor:r,children:x.jsx(yh,{children:n?x.jsxs(vh,{children:[x.jsx(Ch,{}),x.jsx("span",{children:n})]}):x.jsxs(bh,{children:["Drag & Drop file here to upload, or ",x.jsx("span",{children:"browse"}),"."]})})}),d&&x.jsx(xh,{onDragEnter:h,onDragLeave:h,onDragOver:h,onDrop:e=>{if(e.preventDefault(),e.stopPropagation(),u(!1),e.dataTransfer.files[0]){const t=c?c.split(",").map((e=>e.trim().replace(".",""))):null;for(let n=0;n<e.dataTransfer.files.length;n++){const r=e.dataTransfer.files[n].name.split(".").pop();if((null==t?void 0:t.length)&&r&&!t.includes(r)){const e=U("failed","File type is not allowed. Please check again");return a&&a(e),!1}}o&&o(e.dataTransfer.files)}}})]})},exports.boxBase=B,exports.capitalize=e=>e?e[0].toUpperCase()+e.substring(1):"",exports.clearList=C,exports.colorCommonQuantity=X,exports.configDateRange=Fb,exports.currencyNumber=q,exports.dateRangeDays=W,exports.dateRangeStatus=e=>({today:"Today",lastweek:"Last 7 days",lastsecondweek:"Last 14 days",lastmonth:"Last 30 days",lastquart:"Last 90 days",custom:"Date"}[e]),exports.debounce=z,exports.dropBase=I,exports.elipsis=A,exports.errorTitle=V,exports.evGenerateValueMatch=(e,t)=>{let n;if(e&&Object.keys(e).length){const r=["lessEqual","greaterEqual","less","greater"].find((t=>t in e));if(t&&r){const i=e[r];i&&i in t&&(n=t[i])}}return n},exports.evUpdateInputRc=(e,t)=>{var n;if(!e)return!1;const r=null===(n=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"value"))||void 0===n?void 0:n.set;r&&r.call(e,void 0===t?"":t);const i=new Event("input",{bubbles:!0});e.dispatchEvent(i)},exports.formLabel=E,exports.formatNumber=Z,exports.generateMessage=U,exports.generateMessageQuestion=J,exports.generateValue=$,exports.generateValueTable=K,exports.getSizeContainer=_,exports.getStorage=(e,t="string",n,r="load")=>{let i;switch(null!==sessionStorage.getItem(r)?i=null!==sessionStorage.getItem(e)?sessionStorage.getItem(e):n:(i=null!==localStorage.getItem(e)?localStorage.getItem(e):n,null!==localStorage.getItem(e)&&sessionStorage.setItem(e,i)),t){case"boolean":i=void 0!==i&&"undefined"!==i&&"true"===i;break;case"number":case"integer":i=void 0!==i&&"undefined"!==i?parseInt(i):0;break;case"object":case"array":i=void 0!==i&&"undefined"!==i?JSON.parse(i):void 0;break;default:i=void 0===i||"undefined"===i?"":i}return i},exports.headTable=D,exports.multiElipsis=F,exports.pageMasterTable=H,exports.removeStorage=e=>(localStorage.removeItem(e),sessionStorage.removeItem(e),!0),exports.responseWidth=w,exports.setStorage=(e,t,n)=>{if(null==t)return!1;const r="string"!=typeof t?"object"==typeof t?JSON.stringify(t):t.toString():t;switch(n){case"session":sessionStorage.setItem(e,r);break;case"local":localStorage.setItem(e,r);break;default:sessionStorage.setItem(e,r),localStorage.setItem(e,r)}},exports.thirdElipsis=k,exports.unescapeHTML=te,exports.validateByApproveJs=ee;
|
|
2255
2264
|
//# sourceMappingURL=index.js.map
|