forstok-ui-lib 5.10.1 → 5.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -806,40 +806,24 @@ r.version="2.30.1",i(qn),r.fn=la,r.min=Kn,r.max=er,r.now=tr,r.utc=g,r.unix=ca,r.
806
806
  `,Ox=t.css`
807
807
  display: inline-grid;
808
808
  width: 100%;
809
- `,Lx=o.default.section`
809
+ `,Lx=o.default.aside`
810
+ display: grid;
811
+ grid-auto-flow: column;
812
+ grid-gap: 8px;
813
+ grid-template-columns: max-content max-content;
814
+ align-items: center;
810
815
  position: relative;
811
- height: 100%;
812
- padding-top: 20px;
813
- > section:not(:first-child) {
814
- margin-top: 1em;
815
- }
816
- @media only screen and (min-width: 1024px) {
817
- padding: 20px 1em 0;
818
- height: calc(100vh - 50px);
816
+ margin-top: 10px;
817
+ @media only screen and (min-width: 768px) {
818
+ margin-top: 0px;
819
+ top: 10px;
820
+ position: absolute;
821
+ right: 0;
819
822
  }
820
823
  @media only screen and (min-width: 1366px) {
821
- padding: 20px 2em 0;
822
- height: 100%;
823
- }
824
- `,_x=o.default.section`
825
- position: relative;
826
- &:first-child {
827
- margin-top: -4px;
828
- }
829
- `,Px=o.default.section`
830
- ${C}
831
- position: relative;
832
- min-height: 1px;
833
- margin: 0 auto;
834
- padding-top: 16px;
835
- padding-bottom: 10px;
836
- @media only screen and (min-width: 768px) {
837
- padding: 8px 30px 16px;
824
+ right: 20px;
838
825
  }
839
- ${({$mode:e})=>{if("full"===e)return t.css`
840
- width: 100%;
841
- `}}
842
- `,Bx=o.default.h1`
826
+ `,_x=o.default.h1`
843
827
  font-family: PT Sans;
844
828
  font-size: 22px;
845
829
  color: var(--ter-clr);
@@ -849,6 +833,7 @@ r.version="2.30.1",i(qn),r.fn=la,r.min=Kn,r.max=er,r.now=tr,r.utc=g,r.unix=ca,r.
849
833
  font-weight: 400;
850
834
  margin-top: 5px;
851
835
  letter-spacing: normal;
836
+ line-height: normal;
852
837
  }
853
838
  @media only screen and (min-width: 768px) {
854
839
  font-size: 30px;
@@ -856,22 +841,84 @@ r.version="2.30.1",i(qn),r.fn=la,r.min=Kn,r.max=er,r.now=tr,r.utc=g,r.unix=ca,r.
856
841
  display: inline !important;
857
842
  }
858
843
  }
859
- `,Rx=o.default.aside`
860
- display: grid;
861
- grid-auto-flow: column;
862
- grid-gap: 8px;
863
- grid-template-columns: max-content max-content;
864
- align-items: center;
865
- @media only screen and (min-width: 400px) {
866
- position: absolute;
867
- right: 20px;
868
- top: 20px;
844
+ `,Px=o.default.section`
845
+ ${C}
846
+ position: relative;
847
+ min-height: 1px;
848
+ margin: 0 auto;
849
+ padding-top: 8px;
850
+ padding-bottom: 10px;
851
+ @media only screen and (min-width: 768px) {
852
+ padding: 8px 30px 16px;
853
+ }
854
+ ${({$mode:e})=>{if("full"===e)return t.css`
855
+ width: 100%;
856
+ `}}
857
+ `,Bx=o.default.section`
858
+ position: relative;
859
+ height: 100%;
860
+ padding: 5px 5px 0;
861
+ overflow-y: auto;
862
+ > section:not(:first-child) {
863
+ margin-top: 1em;
864
+ }
865
+ &._refCashierPanelContainer {
866
+ ${Lx} {
867
+ margin-top: 0;
868
+ }
869
+ ${_x} {
870
+ display: none;
871
+ }
872
+ ${Px} {
873
+ padding-left: 8px !important;
874
+ padding-right: 8px !important;
875
+ }
869
876
  }
870
877
  @media only screen and (min-width: 768px) {
871
- top: 10px;
878
+ padding: 10px 1em 0;
879
+ &._refCashierPanelContainer {
880
+ ${_x} {
881
+ display: block;
882
+ }
883
+ ${Px} {
884
+ padding-left: 16px !important;
885
+ padding-right: 16px !important;
886
+ }
887
+ }
888
+ }
889
+ @media only screen and (min-width: 1024px) {
890
+ &._refCashierPanelContainer {
891
+ ${Lx} {
892
+ > i {
893
+ &:first-child, &:nth-child(3) {
894
+ display: none;
895
+ }
896
+ }
897
+ }
898
+ }
872
899
  }
873
900
  @media only screen and (min-width: 1366px) {
874
- right: 20px;
901
+ padding: 20px 1em 0px 1.275em;
902
+ height: 100%;
903
+ }
904
+ ${({$mode:e})=>{if("mobile"===e)return t.css`
905
+ position: fixed;
906
+ width: 100%;
907
+ height: 100px;
908
+ bottom: 0;
909
+ z-index: 88;
910
+ background-color: var(--pri-clr-bg);
911
+ @media only screen and (min-width: 768px) {
912
+ height: 132px;
913
+ }
914
+ @media only screen and (min-width: 1024px) {
915
+ display: none !important;
916
+ }
917
+ `}}
918
+ `,Rx=o.default.section`
919
+ position: relative;
920
+ &:first-child {
921
+ margin-top: -4px;
875
922
  }
876
923
  `,Fx=o.default.section`
877
924
  width: 100%;
@@ -1143,13 +1190,12 @@ r.version="2.30.1",i(qn),r.fn=la,r.min=Kn,r.max=er,r.now=tr,r.utc=g,r.unix=ca,r.
1143
1190
  ${({$size:e})=>{let t="";return e&&(t+=` \n width:${e}; \n height:${e};\n `),t}}
1144
1191
  `,Jx=o.default.section`
1145
1192
  height: 100%;
1146
- ${Lx} {
1193
+ ${Bx} {
1147
1194
  overflow-y: auto;
1148
1195
  }
1149
1196
  `,Ux=o.default.main`
1150
1197
  display: inline-grid;
1151
1198
  width: 100%;
1152
- grid-template-columns: calc(100vw - 450px) 450px;
1153
1199
  > section {
1154
1200
  display: inline-grid;
1155
1201
  width: 100%;
@@ -1157,17 +1203,30 @@ r.version="2.30.1",i(qn),r.fn=la,r.min=Kn,r.max=er,r.now=tr,r.utc=g,r.unix=ca,r.
1157
1203
  position: relative;
1158
1204
  }
1159
1205
  @media (min-width: 1024px) {
1206
+ grid-template-columns: calc(100vw - 310px) 310px;
1207
+ height: calc(100vh - 50px);
1208
+ }
1209
+ @media (min-width: 1366px) {
1210
+ grid-template-columns: calc(100vw - 450px) 450px;
1160
1211
  height: calc(100vh - 50px);
1161
1212
  }
1162
1213
  `,Kx=o.default.section`
1163
1214
  border-right: 2px solid var(--lay-clr-ln);
1164
1215
  background-color: #f9fafb;
1165
- `,ey=o.default.section``,ty=o.default.div`
1216
+ `,ey=o.default.section`
1217
+ display: none !important;
1218
+ ${Bx} {
1219
+ height: calc(100vh - 50px);
1220
+ }
1221
+ @media only screen and (min-width: 1024px) {
1222
+ display: inline-grid !important;
1223
+ }
1224
+ `,ty=o.default.div`
1166
1225
  position: relative;
1167
1226
  i {
1168
1227
  position: absolute;
1169
- top: 6px;
1170
1228
  left: 12px;
1229
+ top: 7px;
1171
1230
  pointer-events: none;
1172
1231
  z-index: 1;
1173
1232
  &:last-child {
@@ -1180,6 +1239,19 @@ r.version="2.30.1",i(qn),r.fn=la,r.min=Kn,r.max=er,r.now=tr,r.utc=g,r.unix=ca,r.
1180
1239
  right: 12px;
1181
1240
  top: 6px;
1182
1241
  }
1242
+ > input {
1243
+ width: calc(100vw - 100px);
1244
+ height: 32px;
1245
+ }
1246
+ @media only screen and (min-width: 768px) {
1247
+ i {
1248
+ top: 11px;
1249
+ }
1250
+ > input {
1251
+ width: 300px;
1252
+ height: 40px;
1253
+ }
1254
+ }
1183
1255
  `,ny=o.default.span`
1184
1256
  color: var(--mt-clr);
1185
1257
  position: relative;
@@ -2226,16 +2298,97 @@ r.version="2.30.1",i(qn),r.fn=la,r.min=Kn,r.max=er,r.now=tr,r.utc=g,r.unix=ca,r.
2226
2298
  @media only screen and (min-width: 768px) {
2227
2299
  grid-template-columns: 1fr 1fr;
2228
2300
  }
2229
- `,hb=t.css`
2301
+ `,hb=o.default.div`
2302
+ display: none;
2303
+ position: fixed;
2304
+ z-index: 100;
2305
+ width: 100%;
2306
+ height: 100%;
2307
+ top: 0px;
2308
+ right: 0px;
2309
+ background-color: var(--ov-clr-bg);
2310
+ `,gb=o.default.ul`
2311
+ ${w}
2312
+ position: fixed;
2313
+ overflow: auto;
2314
+ height: calc(100vh - 50px);
2315
+ width: 256px;
2316
+ padding: 20px 1em 0 1.275em;
2317
+ @media only screen and (min-width: 1366px) {
2318
+ width: 220px;
2319
+ }
2320
+ @media only screen and (max-width: 767px) {
2321
+ width: 80%;
2322
+ }
2323
+ `,fb=o.default.li`
2324
+ position: relative;
2325
+ margin-bottom: 15px;
2326
+ ._refCollapseNav {
2327
+ cursor: pointer;
2328
+ &.is-active {
2329
+ font-weight: 600;
2330
+ }
2331
+ &::after {
2332
+ position: absolute;
2333
+ content: '';
2334
+ right: 3px;
2335
+ top: 4px;
2336
+ padding: 2px;
2337
+ border-style: solid;
2338
+ border-width: 0 2px 2px 0;
2339
+ transform: rotate(-45deg);
2340
+ margin-bottom: 2px;
2341
+ }
2342
+ &:hover {
2343
+ color: var(--sec-clr-lnk__hvr);
2344
+ }
2345
+ }
2346
+ @media only screen and (max-width: 767.9px) {
2347
+ margin-bottom: 20px;
2348
+ }
2349
+ ${({$activated:e})=>{if(e)return t.css`
2350
+ > div > a {
2351
+ font-weight: 600;
2352
+ font-size: 14px;
2353
+ }
2354
+ `}}
2355
+ `,mb=o.default.div`
2356
+ display: inline-grid;
2357
+ grid-gap: 6px;
2358
+ align-items: end;
2359
+ font-size: 14px;
2360
+ `,xb=o.default.div`
2361
+ display: grid;
2362
+ position: relative;
2363
+ grid-gap: 6px;
2364
+ margin-bottom: 13px;
2365
+ align-items: end;
2366
+ .counter > span {
2367
+ font-size: 11px;
2368
+ padding: 2px 4px;
2369
+ position: absolute;
2370
+ background-color: var(--mt-clr-bg__fc);
2371
+ border-radius: var(--ter-rd);
2372
+ top: 0;
2373
+ right: 0;
2374
+ }
2375
+ @media only screen and (max-width: 767px) {
2376
+ margin-bottom: 18px;
2377
+ }
2378
+ ${({$activated:e,$mode:t})=>{let n="";return e&&(n+="\n div, \n a {\n font-weight: 600;\n } \n "),"counter"===t&&(n+="\n grid-template-columns: auto 20px;\n "),n}}
2379
+ `,yb=o.default.span`
2380
+ letter-spacing: 1.25px;
2381
+ display: inline;
2382
+ `,bb=t.css`
2230
2383
  align-items: center;
2231
2384
  display: flex;
2232
2385
  flex: 1;
2233
2386
  flex-wrap: wrap;
2234
2387
  height: 100%;
2235
- `,gb=t.css`
2388
+ `,vb=t.css`
2236
2389
  background-color: var(--act-clr-bg);
2237
2390
  color: var(--sec-clr);
2238
- `,fb=({$isError:e})=>{if(e)return"\n input { \n border:1px solid var(--err-clr-ln) !important; \n }\n "},mb=o.default.section`
2391
+ `,wb=({$isError:e})=>{if(e)return"\n input { \n border:1px solid var(--err-clr-ln) !important; \n }\n "},Cb=o.default.section`
2239
2392
  ${j}
2240
2393
  top:100%;
2241
2394
  margin: 8px 0;
@@ -2252,14 +2405,14 @@ r.version="2.30.1",i(qn),r.fn=la,r.min=Kn,r.max=er,r.now=tr,r.utc=g,r.unix=ca,r.
2252
2405
  @media (min-width: 1280px) {
2253
2406
  width: 660px;
2254
2407
  }
2255
- ${({$mode:e})=>{let t="";return"filterorder"===e?t+=`\n width: auto;\n transform: translateX(-50%);\n ${Cb} {\n text-align: center;\n }\n @media (min-width: 768px) {\n width: auto;\n left: 50% !important;\n transform: translateX(-50%);\n }\n @media (min-width: 1024px) {\n width: auto;\n }\n @media (min-width: 1280px) {\n width: 660px;\n ${Cb} {\n text-align: left;\n }\n }\n `:"filterdashboard"===e?t+=`\n width: auto;\n left: 50% !important;\n transform: translateX(-50%);\n ${Cb} {\n text-align: center;\n }\n @media (min-width: 768px) {\n width: auto;\n left: 50% !important;\n transform: translateX(-50%);\n }\n @media (min-width: 1024px) {\n width: auto;\n }\n @media (min-width: 1280px) {\n width: 660px;\n left: 0 !important;\n transform: none;\n ${Cb} {\n text-align: left;\n }\n }\n `:"filterordertofulfill"===e?t+=` \n width: auto;\n left: 50% !important;\n transform: translateX(-50%);\n ${Cb} {\n text-align: center;\n }\n @media (min-width: 768px) {\n width: auto;\n left: unset !important;\n right: 0;\n transform: none;\n }\n @media (min-width: 1024px) {\n width: auto;\n }\n @media (min-width: 1280px) {\n width: 660px;\n ${Cb} {\n text-align: left;\n }\n }\n `:"popuppayment"===e&&(t+="\n width: auto;\n border-radius: var(--ter-rd);\n "),t}}
2256
- `,xb=o.default.div`
2257
- ${hb}
2408
+ ${({$mode:e})=>{let t="";return"filterorder"===e?t+=`\n width: auto;\n transform: translateX(-50%);\n ${Db} {\n text-align: center;\n }\n @media (min-width: 768px) {\n width: auto;\n left: 50% !important;\n transform: translateX(-50%);\n }\n @media (min-width: 1024px) {\n width: auto;\n }\n @media (min-width: 1280px) {\n width: 660px;\n ${Db} {\n text-align: left;\n }\n }\n `:"filterdashboard"===e?t+=`\n width: auto;\n left: 50% !important;\n transform: translateX(-50%);\n ${Db} {\n text-align: center;\n }\n @media (min-width: 768px) {\n width: auto;\n left: 50% !important;\n transform: translateX(-50%);\n }\n @media (min-width: 1024px) {\n width: auto;\n }\n @media (min-width: 1280px) {\n width: 660px;\n left: 0 !important;\n transform: none;\n ${Db} {\n text-align: left;\n }\n }\n `:"filterordertofulfill"===e?t+=` \n width: auto;\n left: 50% !important;\n transform: translateX(-50%);\n ${Db} {\n text-align: center;\n }\n @media (min-width: 768px) {\n width: auto;\n left: unset !important;\n right: 0;\n transform: none;\n }\n @media (min-width: 1024px) {\n width: auto;\n }\n @media (min-width: 1280px) {\n width: 660px;\n ${Db} {\n text-align: left;\n }\n }\n `:"popuppayment"===e&&(t+="\n width: auto;\n border-radius: var(--ter-rd);\n "),t}}
2409
+ `,kb=o.default.div`
2410
+ ${bb}
2258
2411
  border: 1px solid var(--ck-clr-ln);
2259
2412
  border-radius: var(--ter-rd);
2260
2413
  cursor: pointer;
2261
2414
  justify-content: space-between;
2262
- ${({$mode:e,$size:t})=>{let n="";return n+="small"===t?"height: 30px;":"height: 36px;","filterorder"===e||"filterdashboard"===e||"filterordertofulfill"===e?n+="\n height: auto;\n border: none;\n ":"popuppayment"===e&&(n+=`\n height: 30px;\n border-radius: var(--ter-rd);\n background-color: hsl(0,0%,100%);\n & ${bb} {\n color: var(--inp-clr);\n padding-bottom: 0;\n }\n & ${vb} {\n padding: 0 4px;\n }\n `),n}}
2415
+ ${({$mode:e,$size:t})=>{let n="";return n+="small"===t?"height: 30px;":"height: 36px;","filterorder"===e||"filterdashboard"===e||"filterordertofulfill"===e?n+="\n height: auto;\n border: none;\n ":"popuppayment"===e&&(n+=`\n height: 30px;\n border-radius: var(--ter-rd);\n background-color: hsl(0,0%,100%);\n & ${Ab} {\n color: var(--inp-clr);\n padding-bottom: 0;\n }\n & ${Sb} {\n padding: 0 4px;\n }\n `),n}}
2263
2416
  `;o.default.section`
2264
2417
  position: relative;
2265
2418
  display: inline-grid;
@@ -2270,14 +2423,14 @@ r.version="2.30.1",i(qn),r.fn=la,r.min=Kn,r.max=er,r.now=tr,r.utc=g,r.unix=ca,r.
2270
2423
  @media (min-width: 1280px) {
2271
2424
  width: 305px;
2272
2425
  }
2273
- ${({$mode:e})=>{let t=`\n &.is-shown {\n & ${mb} {\n display: block;\n }\n > div button { box-shadow: var(--act-shd-bx); }\n }\n `;return"filter"===e?t+=`\n width: 100%;\n & ${mb} {\n width: 100%;\n margin-left: 16px;\n @media (min-width: 768px) {\n width: calc(40vw - 32px);\n }\n }\n & ${xb}, \n & ${yb}, \n & ${vb} {\n height: 14px;\n }\n & ${yb} {\n margin-left: 15px;\n }\n & ${xb} {\n border: 0;\n }\n & ${bb} {\n padding-top: 3px;\n }\n & ${vb} {\n margin-top: -5px;\n }\n & ${wb} {\n fill: #429ddf;\n }\n & .DateRangePicker__Month {\n @media (min-width: 768px) {\n width: calc((40vw - 182px) / 2);\n margin: 0 10px;\n }\n @media (min-width: 1280px) {\n width: calc((40vw - 234px) / 2);\n margin: 0 20px;\n }\n }\n ._refCheckboxContainer {\n position: absolute; \n top: 7px;\n left: 0;\n }\n @media (min-width: 768px) {\n width: 100%;\n }\n `:"filterorder"===e||"filterdashboard"===e||"filterordertofulfill"===e?t+="\n width: auto !important;\n ":"popuppayment"===e&&(t+=" \n width: 100% !important;\n &.is-shown {\n > div {\n border: 1px solid var(--pri-clr-ln__fc) !important; \n }\n }\n "),t}}
2274
- `;const yb=o.default.div`
2275
- ${hb}
2426
+ ${({$mode:e})=>{let t=`\n &.is-shown {\n & ${Cb} {\n display: block;\n }\n > div button { box-shadow: var(--act-shd-bx); }\n }\n `;return"filter"===e?t+=`\n width: 100%;\n & ${Cb} {\n width: 100%;\n margin-left: 16px;\n @media (min-width: 768px) {\n width: calc(40vw - 32px);\n }\n }\n & ${kb}, \n & ${Ib}, \n & ${Sb} {\n height: 14px;\n }\n & ${Ib} {\n margin-left: 15px;\n }\n & ${kb} {\n border: 0;\n }\n & ${Ab} {\n padding-top: 3px;\n }\n & ${Sb} {\n margin-top: -5px;\n }\n & ${jb} {\n fill: #429ddf;\n }\n & .DateRangePicker__Month {\n @media (min-width: 768px) {\n width: calc((40vw - 182px) / 2);\n margin: 0 10px;\n }\n @media (min-width: 1280px) {\n width: calc((40vw - 234px) / 2);\n margin: 0 20px;\n }\n }\n ._refCheckboxContainer {\n position: absolute; \n top: 7px;\n left: 0;\n }\n @media (min-width: 768px) {\n width: 100%;\n }\n `:"filterorder"===e||"filterdashboard"===e||"filterordertofulfill"===e?t+="\n width: auto !important;\n ":"popuppayment"===e&&(t+=" \n width: 100% !important;\n &.is-shown {\n > div {\n border: 1px solid var(--pri-clr-ln__fc) !important; \n }\n }\n "),t}}
2427
+ `;const Ib=o.default.div`
2428
+ ${bb}
2276
2429
  padding: 0 8px;
2277
2430
  position: relative;
2278
2431
  overflow: hidden;
2279
2432
 
2280
- `,bb=o.default.div`
2433
+ `,Ab=o.default.div`
2281
2434
  position: absolute;
2282
2435
  top: 50%;
2283
2436
  max-width: calc(100% - 8px);
@@ -2290,12 +2443,12 @@ r.version="2.30.1",i(qn),r.fn=la,r.min=Kn,r.max=er,r.now=tr,r.utc=g,r.unix=ca,r.
2290
2443
  padding-bottom: 2px;
2291
2444
  font-weight: 400;
2292
2445
  ${({$size:e})=>{if("small"===e)return"\n font-size: 14px;\n "}}
2293
- `,vb=o.default.div`
2446
+ `,Sb=o.default.div`
2294
2447
  color: #757575;
2295
2448
  display: flex;
2296
2449
  padding: 0 8px;
2297
2450
  transition: color 150ms;
2298
- `,wb=o.default.svg`
2451
+ `,jb=o.default.svg`
2299
2452
  display: inline-block;
2300
2453
  fill: currentColor;
2301
2454
  stroke: currentColor;
@@ -2307,7 +2460,7 @@ r.version="2.30.1",i(qn),r.fn=la,r.min=Kn,r.max=er,r.now=tr,r.utc=g,r.unix=ca,r.
2307
2460
  @media (min-width: 1280px) {
2308
2461
  grid-template-columns: 112px 1fr;
2309
2462
  }
2310
- `;const Cb=o.default.aside`
2463
+ `;const Db=o.default.aside`
2311
2464
  display: inline-grid;
2312
2465
  grid-auto-flow: column;
2313
2466
  border-bottom: 1px solid rgba(0, 0, 0, .1);
@@ -2337,7 +2490,7 @@ r.version="2.30.1",i(qn),r.fn=la,r.min=Kn,r.max=er,r.now=tr,r.utc=g,r.unix=ca,r.
2337
2490
  height: auto;
2338
2491
  border-right: 0;
2339
2492
  }
2340
- ${({$activated:e})=>{if(e)return gb}}
2493
+ ${({$activated:e})=>{if(e)return vb}}
2341
2494
  `,o.default.aside`
2342
2495
  display: grid;
2343
2496
  width: 100%;
@@ -2355,13 +2508,13 @@ r.version="2.30.1",i(qn),r.fn=la,r.min=Kn,r.max=er,r.now=tr,r.utc=g,r.unix=ca,r.
2355
2508
  grid-auto-flow: column;
2356
2509
  grid-gap: 8px;
2357
2510
  }
2358
- `;const kb=o.default.div`
2511
+ `;const Eb=o.default.div`
2359
2512
  position: relative;
2360
2513
  .react-datepicker-wrapper {
2361
2514
  width: 100%;
2362
2515
  }
2363
- ${fb}
2364
- `,Ib=o.default.div`
2516
+ ${wb}
2517
+ `,Mb=o.default.div`
2365
2518
  position: absolute;
2366
2519
  top: 5px;
2367
2520
  right: 2px;
@@ -2386,7 +2539,7 @@ r.version="2.30.1",i(qn),r.fn=la,r.min=Kn,r.max=er,r.now=tr,r.utc=g,r.unix=ca,r.
2386
2539
  .react-datepicker-wrapper {
2387
2540
  width: 100%;
2388
2541
  }
2389
- ${fb}
2542
+ ${wb}
2390
2543
  `,o.default.div`
2391
2544
  display: inline-block;
2392
2545
  position: fixed;
@@ -2394,20 +2547,20 @@ r.version="2.30.1",i(qn),r.fn=la,r.min=Kn,r.max=er,r.now=tr,r.utc=g,r.unix=ca,r.
2394
2547
  left: 0;
2395
2548
  z-index: 999;
2396
2549
  &.is-shown {
2397
- & ${mb} {
2550
+ & ${Cb} {
2398
2551
  display: block;
2399
2552
  }
2400
2553
  }
2401
2554
  `,o.default.div`
2402
2555
  display: flex;
2403
2556
  padding: 0 0 0 12px;
2404
- `;const Ab=e.forwardRef(((t,n)=>{var{dateFormat:r="MMM dd, yyyy",name:i,evChange:a,isField:o,saveFormat:s,showFormat:c,evChangeCustom:d,value:u,isForceUpdate:p,setForceUpdate:h,isError:g=!1,showTimeInput:f=!1,allowEmpty:m=!1}=t,y=l(t,["dateFormat","name","evChange","isField","saveFormat","showFormat","evChangeCustom","value","isForceUpdate","setForceUpdate","isError","showTimeInput","allowEmpty"]);const[b,v]=e.useState(u||(m?null:new Date)),w=e=>{v(e),a&&a(i,e),o&&d&&d(i,e?Tx(e).format(s):e)};return e.useEffect((()=>{if(p){const e=u||(m?null:new Date);v(e),h&&h(!1)}}),[p,h,u,m]),x.jsxs(kb,Object.assign({$isError:g},y["data-qa-id"]&&{"data-qa-id":y["data-qa-id"]},{children:[x.jsx(Ix,{selected:b,name:i,portalId:"popup-portal",dateFormat:r,onChange:w,showTimeInput:f,onKeyDown:e=>e.preventDefault(),ref:n}),m&&b?x.jsx(Ib,{onClick:()=>w(null),title:"clear",children:x.jsx("svg",{height:"20",width:"20",viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",children:x.jsx("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"})})}):null]}))})),Sb=o.default.div`
2557
+ `;const Tb=e.forwardRef(((t,n)=>{var{dateFormat:r="MMM dd, yyyy",name:i,evChange:a,isField:o,saveFormat:s,showFormat:c,evChangeCustom:d,value:u,isForceUpdate:p,setForceUpdate:h,isError:g=!1,showTimeInput:f=!1,allowEmpty:m=!1}=t,y=l(t,["dateFormat","name","evChange","isField","saveFormat","showFormat","evChangeCustom","value","isForceUpdate","setForceUpdate","isError","showTimeInput","allowEmpty"]);const[b,v]=e.useState(u||(m?null:new Date)),w=e=>{v(e),a&&a(i,e),o&&d&&d(i,e?Tx(e).format(s):e)};return e.useEffect((()=>{if(p){const e=u||(m?null:new Date);v(e),h&&h(!1)}}),[p,h,u,m]),x.jsxs(Eb,Object.assign({$isError:g},y["data-qa-id"]&&{"data-qa-id":y["data-qa-id"]},{children:[x.jsx(Ix,{selected:b,name:i,portalId:"popup-portal",dateFormat:r,onChange:w,showTimeInput:f,onKeyDown:e=>e.preventDefault(),ref:n}),m&&b?x.jsx(Mb,{onClick:()=>w(null),title:"clear",children:x.jsx("svg",{height:"20",width:"20",viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",children:x.jsx("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"})})}):null]}))})),Nb=o.default.div`
2405
2558
  display: grid;
2406
- `,jb=o.default.div`
2559
+ `,Ob=o.default.div`
2407
2560
  display: grid;
2408
2561
  grid-auto-flow: column;
2409
2562
  justify-self: self-start;
2410
- `,Db=o.default.span`
2563
+ `,Lb=o.default.span`
2411
2564
  position: relative;
2412
2565
  cursor: pointer;
2413
2566
  display: inline-block;
@@ -2442,12 +2595,12 @@ r.version="2.30.1",i(qn),r.fn=la,r.min=Kn,r.max=er,r.now=tr,r.utc=g,r.unix=ca,r.
2442
2595
  border: none;
2443
2596
  }
2444
2597
  `}}
2445
- `,Eb=o.default.input`
2598
+ `,_b=o.default.input`
2446
2599
  position: absolute;
2447
2600
  opacity: 0;
2448
2601
  pointer-events: none;
2449
2602
  width: auto;
2450
- &:checked + ${Db} {
2603
+ &:checked + ${Lb} {
2451
2604
  &:before {
2452
2605
  border: 2px solid var(--err-clr-ln);
2453
2606
  }
@@ -2458,7 +2611,7 @@ r.version="2.30.1",i(qn),r.fn=la,r.min=Kn,r.max=er,r.now=tr,r.utc=g,r.unix=ca,r.
2458
2611
  }
2459
2612
  }
2460
2613
  ${({$mode:e})=>{if("check"===e)return t.css`
2461
- &:checked + ${Db} {
2614
+ &:checked + ${Lb} {
2462
2615
  &:before,
2463
2616
  &:after {
2464
2617
  border: none;
@@ -2471,16 +2624,16 @@ r.version="2.30.1",i(qn),r.fn=la,r.min=Kn,r.max=er,r.now=tr,r.utc=g,r.unix=ca,r.
2471
2624
  }
2472
2625
  }
2473
2626
  `}}
2474
- `,Mb=o.default.div`
2627
+ `,Pb=o.default.div`
2475
2628
  > input:checked + label::after {
2476
2629
  left: 16px;
2477
2630
  }
2478
2631
  > input:checked + label {
2479
2632
  background-color: var(--sw-clr-bg__fc);
2480
2633
  }
2481
- `,Tb=o.default.input`
2634
+ `,Bb=o.default.input`
2482
2635
  display: none;
2483
- `,Nb=o.default.label`
2636
+ `,Rb=o.default.label`
2484
2637
  position: relative;
2485
2638
  display: inline-block;
2486
2639
  width: 32px;
@@ -2500,7 +2653,7 @@ r.version="2.30.1",i(qn),r.fn=la,r.min=Kn,r.max=er,r.now=tr,r.utc=g,r.unix=ca,r.
2500
2653
  left: 1px;
2501
2654
  transition: all 0.3s;
2502
2655
  }
2503
- `,Ob=t=>{var{isForceUpdate:n,setForceUpdate:r,reset:i,setReset:a,evChange:o}=t,s=l(t,["isForceUpdate","setForceUpdate","reset","setReset","evChange"]);const{id:c,defaultChecked:d}=s,[u,p]=e.useState(d||!1);e.useEffect((()=>{n&&(p(d||!1),r&&r(!1)),i&&(p(!1),a&&a(!1))}),[n,r,i,a,d,p]);let h=Object.assign({},s);return delete h.defaultChecked,x.jsxs(Mb,{children:[x.jsx(Tb,Object.assign({type:"checkbox",checked:u,onChange:e=>{(e=>{const t=e.target.checked;p(t)})(e),o&&o(e)}},h)),x.jsx(Nb,{role:"checkbox-label",htmlFor:c})]})},Lb=t.css`
2656
+ `,Fb=t=>{var{isForceUpdate:n,setForceUpdate:r,reset:i,setReset:a,evChange:o}=t,s=l(t,["isForceUpdate","setForceUpdate","reset","setReset","evChange"]);const{id:c,defaultChecked:d}=s,[u,p]=e.useState(d||!1);e.useEffect((()=>{n&&(p(d||!1),r&&r(!1)),i&&(p(!1),a&&a(!1))}),[n,r,i,a,d,p]);let h=Object.assign({},s);return delete h.defaultChecked,x.jsxs(Pb,{children:[x.jsx(Bb,Object.assign({type:"checkbox",checked:u,onChange:e=>{(e=>{const t=e.target.checked;p(t)})(e),o&&o(e)}},h)),x.jsx(Rb,{role:"checkbox-label",htmlFor:c})]})},Gb=t.css`
2504
2657
  overflow: hidden;
2505
2658
  position: relative;
2506
2659
  top: 0;
@@ -2513,7 +2666,7 @@ r.version="2.30.1",i(qn),r.fn=la,r.min=Kn,r.max=er,r.now=tr,r.utc=g,r.unix=ca,r.
2513
2666
  font-size: 1em
2514
2667
  color: var(--hd-clr);
2515
2668
  transition: width .25s ease-in-out;
2516
- `,_b=t.css`
2669
+ `,Wb=t.css`
2517
2670
  overflow: hidden;
2518
2671
  position: relative;
2519
2672
  top: 0;
@@ -2528,14 +2681,14 @@ r.version="2.30.1",i(qn),r.fn=la,r.min=Kn,r.max=er,r.now=tr,r.utc=g,r.unix=ca,r.
2528
2681
  align-self: flex-start;
2529
2682
  cursor: pointer;
2530
2683
  }
2531
- `,Pb=t.css`
2684
+ `,Yb=t.css`
2532
2685
  overflow: auto;
2533
2686
  top: auto;
2534
2687
  height: auto;
2535
2688
  padding: 0;
2536
2689
  border: 0;
2537
2690
  cursor: default;
2538
- `,Bb=t.css`
2691
+ `,Hb=t.css`
2539
2692
  input, textarea, .table-image-figure.is-error, .rc-cascader-selector, ._refCascaderContainer > div {
2540
2693
  border: 1px solid var(--err-clr-ln) !important;
2541
2694
  }
@@ -2548,7 +2701,7 @@ r.version="2.30.1",i(qn),r.fn=la,r.min=Kn,r.max=er,r.now=tr,r.utc=g,r.unix=ca,r.
2548
2701
  border: none !important;
2549
2702
  }
2550
2703
  }
2551
- `,Rb=t.css`
2704
+ `,Vb=t.css`
2552
2705
  .table-image-figure {
2553
2706
  display: block;
2554
2707
  overflow: hidden;
@@ -2632,7 +2785,7 @@ r.version="2.30.1",i(qn),r.fn=la,r.min=Kn,r.max=er,r.now=tr,r.utc=g,r.unix=ca,r.
2632
2785
  background-color: var(--pri-clr-bg);
2633
2786
  }
2634
2787
  }
2635
- `,Fb=t.css`
2788
+ `,$b=t.css`
2636
2789
  .truncate-overflow {
2637
2790
  position: relative;
2638
2791
  max-height: calc(16 * 3)px;
@@ -2648,14 +2801,14 @@ r.version="2.30.1",i(qn),r.fn=la,r.min=Kn,r.max=er,r.now=tr,r.utc=g,r.unix=ca,r.
2648
2801
  line-height: 16px;
2649
2802
  }
2650
2803
  }
2651
- `,Gb=o.default.section`
2804
+ `,zb=o.default.section`
2652
2805
  position: relative;
2653
- `,Wb=o.default.article`
2806
+ `,Xb=o.default.article`
2654
2807
  display: inline-block;
2655
2808
  width: 100vw;
2656
2809
  height: 100vh;
2657
2810
  position: relative;
2658
- `,Yb=o.default.section`
2811
+ `,Zb=o.default.section`
2659
2812
  display: inline-block;
2660
2813
  width: 100vw;
2661
2814
  height: calc(100vh - 220px);
@@ -2665,13 +2818,13 @@ r.version="2.30.1",i(qn),r.fn=la,r.min=Kn,r.max=er,r.now=tr,r.utc=g,r.unix=ca,r.
2665
2818
  @media only screen and (min-width: 768px) {
2666
2819
  height: calc(100vh - 140px);
2667
2820
  }
2668
- ${({$mode:e})=>{let t="";return"edit-master"===e||"create-listing"===e||"edit-listing"===e?(t+="\n height: calc(100vh - 120px);\n @media only screen and (min-width: 768px) {\n height: calc(100vh - 70px);\n }\n ","create-listing"!==e&&"edit-listing"!==e||(t+=`\n ${Xb} .cell-colGroup {\n &, > div {\n min-height: 122px;\n }\n .cell-uneditable {\n min-width: 449px;\n }\n }\n `)):"create-inbound"===e||"create-outbound"===e||"create-adjustment"===e?t+="\n height: calc(100vh - 164px - 367px);\n @media only screen and (min-width: 768px) {\n height: calc(100vh - 70px - 239px);\n }\n @media only screen and (min-width: 1024px) {\n height: calc(100vh - 70px - 180px);\n }\n ":"create-transfer"===e&&(t+="\n height: calc(100vh - 120px - 426px);\n @media only screen and (min-width: 768px) {\n height: calc(100vh - 76px - 249px);\n }\n @media only screen and (min-width: 1024px) {\n height: calc(100vh - 76px - 180px);\n }\n "),t}}
2669
- `,Hb=o.default.article`
2821
+ ${({$mode:e})=>{let t="";return"edit-master"===e||"create-listing"===e||"edit-listing"===e?(t+="\n height: calc(100vh - 120px);\n @media only screen and (min-width: 768px) {\n height: calc(100vh - 70px);\n }\n ","create-listing"!==e&&"edit-listing"!==e||(t+=`\n ${Kb} .cell-colGroup {\n &, > div {\n min-height: 122px;\n }\n .cell-uneditable {\n min-width: 449px;\n }\n }\n `)):"create-inbound"===e||"create-outbound"===e||"create-adjustment"===e?t+="\n height: calc(100vh - 164px - 367px);\n @media only screen and (min-width: 768px) {\n height: calc(100vh - 70px - 239px);\n }\n @media only screen and (min-width: 1024px) {\n height: calc(100vh - 70px - 180px);\n }\n ":"create-transfer"===e&&(t+="\n height: calc(100vh - 120px - 426px);\n @media only screen and (min-width: 768px) {\n height: calc(100vh - 76px - 249px);\n }\n @media only screen and (min-width: 1024px) {\n height: calc(100vh - 76px - 180px);\n }\n "),t}}
2822
+ `,qb=o.default.article`
2670
2823
  display: inline-grid;
2671
2824
  grid-auto-flow: row;
2672
2825
  padding-bottom: 1px;
2673
2826
  min-width: 100vw;
2674
- `,Vb=o.default.section`
2827
+ `,Qb=o.default.section`
2675
2828
  display: inline-block;
2676
2829
  width: 100%;
2677
2830
  position: relative;
@@ -2680,7 +2833,7 @@ r.version="2.30.1",i(qn),r.fn=la,r.min=Kn,r.max=er,r.now=tr,r.utc=g,r.unix=ca,r.
2680
2833
  transition: left 0s linear;
2681
2834
  visibility: hidden;
2682
2835
  > section > div {
2683
- ${Lb}
2836
+ ${Gb}
2684
2837
  & >header {
2685
2838
  position: absolute;
2686
2839
  top: 50% !important;
@@ -2711,7 +2864,7 @@ r.version="2.30.1",i(qn),r.fn=la,r.min=Kn,r.max=er,r.now=tr,r.utc=g,r.unix=ca,r.
2711
2864
  min-width: 100%;
2712
2865
  overflow-y: hidden;
2713
2866
  }
2714
- `,$b=o.default.section`
2867
+ `,Jb=o.default.section`
2715
2868
  display: inline-block;
2716
2869
  width: 100%;
2717
2870
  height: 50px;
@@ -2724,16 +2877,16 @@ r.version="2.30.1",i(qn),r.fn=la,r.min=Kn,r.max=er,r.now=tr,r.utc=g,r.unix=ca,r.
2724
2877
  position: relative;
2725
2878
  top: 2px;
2726
2879
  }
2727
- `,zb=o.default.section`
2880
+ `,Ub=o.default.section`
2728
2881
  display: inline-grid;
2729
2882
  grid-auto-flow: row;
2730
2883
  height: 100%;
2731
2884
  align-content: start;
2732
- `,Xb=o.default.article`
2885
+ `,Kb=o.default.article`
2733
2886
  position: relative;
2734
2887
  border-bottom: 1px solid var(--tab-clr-ln);
2735
- ${Rb}
2736
- ${Fb}
2888
+ ${Vb}
2889
+ ${$b}
2737
2890
  &.is-highlighted, &.is-fullfilled {
2738
2891
  background-color: rgba(232, 255, 237, .7);
2739
2892
  .cell-rowGroup {
@@ -2763,10 +2916,10 @@ r.version="2.30.1",i(qn),r.fn=la,r.min=Kn,r.max=er,r.now=tr,r.utc=g,r.unix=ca,r.
2763
2916
  }
2764
2917
  }
2765
2918
  > div {
2766
- ${_b}
2919
+ ${Wb}
2767
2920
  }
2768
2921
  .custom-error {
2769
- ${Bb}
2922
+ ${Hb}
2770
2923
  }
2771
2924
  .cell {
2772
2925
  > div:not(.truncate-overflow) {
@@ -2835,7 +2988,7 @@ r.version="2.30.1",i(qn),r.fn=la,r.min=Kn,r.max=er,r.now=tr,r.utc=g,r.unix=ca,r.
2835
2988
  }
2836
2989
  &-error {
2837
2990
  &:not(.cell-custom_select):not(.cell-custom_input) {
2838
- ${Bb}
2991
+ ${Hb}
2839
2992
  }
2840
2993
  }
2841
2994
  &-uneditable {
@@ -2879,7 +3032,7 @@ r.version="2.30.1",i(qn),r.fn=la,r.min=Kn,r.max=er,r.now=tr,r.utc=g,r.unix=ca,r.
2879
3032
  border-right: 0;
2880
3033
  line-height: 0;
2881
3034
  > div {
2882
- ${_b}
3035
+ ${Wb}
2883
3036
  &:first-child {
2884
3037
  > div {
2885
3038
  display: grid;
@@ -2889,7 +3042,7 @@ r.version="2.30.1",i(qn),r.fn=la,r.min=Kn,r.max=er,r.now=tr,r.utc=g,r.unix=ca,r.
2889
3042
  }
2890
3043
  }
2891
3044
  .cell-rowGroup {
2892
- ${Pb}
3045
+ ${Yb}
2893
3046
  position: absolute;
2894
3047
  top: 0;
2895
3048
  display: inline-grid;
@@ -2902,7 +3055,7 @@ r.version="2.30.1",i(qn),r.fn=la,r.min=Kn,r.max=er,r.now=tr,r.utc=g,r.unix=ca,r.
2902
3055
  border-bottom: 0;
2903
3056
  }
2904
3057
  > div {
2905
- ${_b}
3058
+ ${Wb}
2906
3059
  }
2907
3060
  .cell-disabled {
2908
3061
  background-color: rgb(250, 250, 250);
@@ -3008,7 +3161,7 @@ r.version="2.30.1",i(qn),r.fn=la,r.min=Kn,r.max=er,r.now=tr,r.utc=g,r.unix=ca,r.
3008
3161
  ${({$mode:e})=>{let t="";return"create-transfer"===e||"confirm-inbound"===e||"confirm-outbound"===e||"confirm-adjustment"===e?t+='\n > div {\n min-height: 66px;\n &.cell-colGroup {\n > div { \n min-height: 66px; \n }\n }\n &.cell-rowGroup {\n .cell-row {\n &, > div { \n min-height: 66px; \n }\n }\n }\n .cell {\n &-label {\n &:not([data-key="item"]) {\n > span, .cell-wrapper {\n padding-top: 6px;\n }\n }\n }\n &-trash {\n > article, >div {\n padding-top: 6px;\n }\n }\n &-checkbox {\n padding-top: 22px;\n }\n }\n }\n ':"create-return"===e?t+='\n > div {\n .cell {\n &-label {\n &:not([data-key="item"]) {\n > span, .cell-wrapper {\n padding-top: 6px;\n }\n }\n }\n &-trash {\n > article, >div {\n padding-top: 6px;\n }\n }\n &-checkbox {\n padding-top: 22px;\n }\n }\n }\n ':"create-price"===e?t+=`\n > div {\n min-height: 100px;\n &.cell-colGroup {\n > div { \n min-height: 100px; \n }\n }\n &.cell-rowGroup {\n .cell-row {\n &, \n > div { \n min-height: 100px; \n }\n }\n }\n }\n ._refErrorContainer {\n ${A}\n }\n `:"create-adjustment"!==e&&"create-outbound"!==e||(t+=" \n > div {\n min-height: 90px;\n &.cell-colGroup {\n > div { \n min-height: 90px; \n }\n }\n &.cell-rowGroup {\n .cell-row {\n &, \n > div { \n min-height: 90px; \n }\n }\n }\n }\n "),t}}
3009
3162
  `;o.default.section`
3010
3163
  overflow: hidden;
3011
- ${Rb}
3164
+ ${Vb}
3012
3165
  .ck-editor__editable {
3013
3166
  min-height: 200px;
3014
3167
  max-height: 200px;
@@ -3072,14 +3225,14 @@ r.version="2.30.1",i(qn),r.fn=la,r.min=Kn,r.max=er,r.now=tr,r.utc=g,r.unix=ca,r.
3072
3225
  ${({$mode:e})=>{if("switch"===e)return t.css`
3073
3226
  grid-auto-flow: column;
3074
3227
  `}}
3075
- `;const Zb=o.default.article`
3228
+ `;const ev=o.default.article`
3076
3229
  display: inline-grid;
3077
3230
  width: 100%;
3078
3231
  grid-auto-flow: column;
3079
3232
  grid-template-columns: max-content auto;
3080
3233
  grid-gap: 10px;
3081
3234
  align-items: center;
3082
- `,qb=o.default.div`
3235
+ `,tv=o.default.div`
3083
3236
  display: inline-grid;
3084
3237
  width: 100%;
3085
3238
  grid-auto-flow: row;
@@ -3108,7 +3261,7 @@ r.version="2.30.1",i(qn),r.fn=la,r.min=Kn,r.max=er,r.now=tr,r.utc=g,r.unix=ca,r.
3108
3261
  line-height: 13px;
3109
3262
  }
3110
3263
  }
3111
- `,Qb=o.default.div`
3264
+ `,nv=o.default.div`
3112
3265
  height: auto;
3113
3266
  max-height: 34px;
3114
3267
  white-space: nowrap;
@@ -3122,7 +3275,7 @@ r.version="2.30.1",i(qn),r.fn=la,r.min=Kn,r.max=er,r.now=tr,r.utc=g,r.unix=ca,r.
3122
3275
  -webkit-line-clamp: 2;
3123
3276
  -webkit-box-orient: vertical;
3124
3277
  }
3125
- `,Jb=o.default.article`
3278
+ `,rv=o.default.article`
3126
3279
  ${({$mode:e})=>{if("add"===e)return t.css`
3127
3280
  div {
3128
3281
  position: relative;
@@ -3130,7 +3283,7 @@ r.version="2.30.1",i(qn),r.fn=la,r.min=Kn,r.max=er,r.now=tr,r.utc=g,r.unix=ca,r.
3130
3283
  text-align: center;
3131
3284
  }
3132
3285
  `}}
3133
- `,Ub=o.default.article`
3286
+ `,iv=o.default.article`
3134
3287
  display: inline-grid;
3135
3288
  position: relative;
3136
3289
  width: 100%;
@@ -3163,7 +3316,7 @@ r.version="2.30.1",i(qn),r.fn=la,r.min=Kn,r.max=er,r.now=tr,r.utc=g,r.unix=ca,r.
3163
3316
  grid-auto-flow: row;
3164
3317
  grid-gap: 10px;
3165
3318
  input, textarea { box-shadow: none; }
3166
- ${({$isExpand:e,$isEditable:t})=>{let n="";return e&&(n+=`\n & ${Ub} {\n padding-bottom: 8px;\n }\n `),!1===t&&(n+="\n grid-gap: 4px;\n padding-left: 4px;\n padding-top: 6px;\n "),n}}
3319
+ ${({$isExpand:e,$isEditable:t})=>{let n="";return e&&(n+=`\n & ${iv} {\n padding-bottom: 8px;\n }\n `),!1===t&&(n+="\n grid-gap: 4px;\n padding-left: 4px;\n padding-top: 6px;\n "),n}}
3167
3320
  `,o.default.div`
3168
3321
  width: 429px;
3169
3322
  display: block;
@@ -3189,15 +3342,15 @@ r.version="2.30.1",i(qn),r.fn=la,r.min=Kn,r.max=er,r.now=tr,r.utc=g,r.unix=ca,r.
3189
3342
  grid-auto-flow: row;
3190
3343
  grid-gap:8px;
3191
3344
  font-size: 13px;
3192
- ${({$isVariant:e,$isTotal:t})=>e?`\n padding: 12px !important;\n border-bottom: 1px solid #e3e3e3;\n & ${Kb} {\n grid-template-columns: 90px repeat(${t||4}, 114px);\n > aside {\n padding-left: 0;\n }\n }\n `:`\n padding-bottom: 8px;\n ${Kb} {\n grid-template-columns: repeat(4,150px);\n }\n `}
3193
- `;const Kb=o.default.div`
3345
+ ${({$isVariant:e,$isTotal:t})=>e?`\n padding: 12px !important;\n border-bottom: 1px solid #e3e3e3;\n & ${av} {\n grid-template-columns: 90px repeat(${t||4}, 114px);\n > aside {\n padding-left: 0;\n }\n }\n `:`\n padding-bottom: 8px;\n ${av} {\n grid-template-columns: repeat(4,150px);\n }\n `}
3346
+ `;const av=o.default.div`
3194
3347
  display: grid;
3195
3348
  grid-auto-flow: column;
3196
3349
  grid-template-columns: 110px auto;
3197
3350
  grid-gap:10px;
3198
3351
  align-items: baseline;
3199
3352
  justify-content: start;
3200
- `,ev=o.default.div`
3353
+ `,ov=o.default.div`
3201
3354
  grid-gap: 12px !important;
3202
3355
  > a {
3203
3356
  position: relative;
@@ -3214,7 +3367,7 @@ r.version="2.30.1",i(qn),r.fn=la,r.min=Kn,r.max=er,r.now=tr,r.utc=g,r.unix=ca,r.
3214
3367
  }
3215
3368
  }
3216
3369
  }
3217
- `,tv=o.default.div`
3370
+ `,sv=o.default.div`
3218
3371
  display: inline-grid;
3219
3372
  width: 100%;
3220
3373
  grid-auto-flow: row;
@@ -3232,34 +3385,34 @@ r.version="2.30.1",i(qn),r.fn=la,r.min=Kn,r.max=er,r.now=tr,r.utc=g,r.unix=ca,r.
3232
3385
  font-size: 13px;
3233
3386
  }
3234
3387
  }
3235
- `,nv=o.default.span`
3388
+ `,lv=o.default.span`
3236
3389
  display: inline-block;
3237
3390
  font-weight: 600;
3238
3391
  margin-top: 5px;
3239
3392
  width: 100%;
3240
- `,rv=o.default.span`
3393
+ `,cv=o.default.span`
3241
3394
  display: flex;
3242
3395
  margin-top: 5px;
3243
3396
  font-size: 12px;
3244
3397
  text-wrap: wrap;
3245
3398
  word-wrap: break-word;
3246
- `,iv=({data:e,heightContent:t,firstHeaderColumnsWidth:n,evCheckbox:r,headerColumns:i,switchEditor:a,totalColGroupWidth:o,lastHeaderColumnsWidth:s,evRemove:l,type:c,isRemovable:d})=>e.map(((e,u)=>{const p=t?e.variants.length*t:e.variants.length;let h=u;if("putaway-inbound"===c)h=e.id;else h=u;return x.jsxs(Xb,{className:"_refMasterTableBodyContent",style:{height:p},children:[x.jsxs("div",{className:"cell-colGroup",style:{height:p},children:[x.jsx("div",{className:"cell cell-checkbox",style:{width:n,height:p},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,o=(null==e?void 0:e[t.key+"_error"])||"",s=a(u,t,r,o,void 0,p,e);return x.jsx("div",{"data-idx":u,"data-key":t.key,className:`cell cell-${t.fieldType} ${o?"cell-error":""}`,style:{width:t.width,height:p},children:s},i)}))]},0),x.jsx("div",{className:"cell-rowGroup",style:{left:o,overflow:"hidden"},children:e.locations.map(((n,r)=>{var o;const p="create-adjustment"===c?r+"-"+((null===(o=n.batchId)||void 0===o?void 0:o.value)||"0")+"-"+(n.location||"0"):r;let h=[];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 o,s,l,c,d;const p=i+1;let g=null,f="",m=!1,y=t.key.replace("locations-","");if(-1===y.indexOf("-"))g=n[y],f=(null===(s=null===(o=null==e?void 0:e.locations)||void 0===o?void 0:o[r])||void 0===s?void 0:s[y+"_error"])||"";else{const t=y.split("-"),i=t[0],a=t[1],o=n[i]?n[i].length:0;if(o){let t=0;h.filter((e=>e===y)).length&&(t=h.filter((e=>e===y)).length),g=o>t?n[i][t][a]:null,f=o>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][a+"_error"]:null,h.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=a(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},p)})),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(Se,{$name:"trash",$width:"18px","data-qa-id":`mt-icon-trash-${u}${null!==r?"-"+r:""}`})})},i.length+1):null]},p)}))},1)]},h)})),av=({data:e,firstHeaderColumnsWidth:t,evCheckbox:n,headerColumns:r,switchEditor:i,lastHeaderColumnsWidth:a,evRemove:o,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 p="";return"edit-picklist"===s?p=e.qtyOrdered===e.qtyPicked?"is-fullfilled":"":"create-package"===s?p=e.qtyOrdered===e.qtyPack?"is-fullfilled":"":"create-return"===s&&(p=e.qtyOrdered-e.qtyReturned===e.qtyToReturn?"is-fullfilled":""),x.jsx(Xb,{$mode:s,id:`row-${u}`,className:`_refMasterTableBodyContent ${p}`,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],a=n+1,o=(null==e?void 0:e[t.key+"_error"])||"",l=i(c,t,r,o,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":""} ${o?"cell-error":""}`,style:{width:t.width},children:l},a)})),l?x.jsx("div",{"data-idx":c,"data-key":"trash",className:"cell cell-trash",style:{width:a},onClick:o,children:x.jsx("div",{children:x.jsx(Se,{$name:"trash",$width:"18px","data-qa-id":`mt-icon-trash-${c}`})})},r.length+1):null]},0)},u)})),ov=({head:t,value:n,height:r,evChange:i,idx:a,variantIdx:o,error:s,evCloseEditor:l})=>{const[c,d]=e.useState(!1),[u,p]=e.useState(n||null),[h,g]=e.useState(!0),[f,m]=e.useState(!1),y=e.useRef(null),b=t.format||"DD/MM/YYYY",w=`${t.key}-${a}${void 0!==o?"-"+o:""}`;e.useEffect((()=>{const e=n?Tx(n,b).toDate():n;p(e)}),[b,n]);const C=e.useCallback((e=>{const n=document.getElementById("cur-key"),r=n?n.innerHTML:"";r&&r===w&&(i(t,e,a,o),l((()=>{d(!1)})))}),[w,t,a,o,i,l]);e.useEffect((()=>{if(h)g(!1);else{const e=u?Tx(u).format(b):u;C(e)}}),[u,C,h,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:(p(u),void l((()=>{d(!1)}))))};return e.addEventListener("click",t),()=>e.removeEventListener("click",t)}),[u,c,l]);const k=`${t.name.toLowerCase().replaceAll(" ","-")}-${a}${void 0!==o?"-"+o:""}`;return c?x.jsx("div",{className:"master-editor",children:x.jsx(Ab,Object.assign({ref:y,saveFormat:b,evChange:(e,t)=>{p(t),m(!0)},name:t.fieldType+"_"+t.key},u&&{value:u},{isError:!!s,isForceUpdate:f,setForceUpdate:m,"data-qa-id":`mt-field-date-${k}`},(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=w),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-${k}`,children:(null==t?void 0:t.showFormat)&&u?Tx(u,b).format(t.showFormat):u}),s&&x.jsx(ap,{$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-${k}`,children:(null==t?void 0:t.showFormat)&&u?Tx(u,b).format(t.showFormat):u}),s&&x.jsx(ap,{$mode:"table",children:s})]})})},sv=({head:t,value:n,evChange:r,idx:i,variantIdx:a,error:o,isForceUpdate:s,setForceUpdate:l})=>{const c=`${t.key}-${i}${void 0!==a?"-"+a:""}`,d=e.useCallback((e=>{const n=document.getElementById("cur-key"),o=n?n.innerHTML:"";o&&o===c&&r(t,e,i,a)}),[c,t,i,a,r]),u=t.format||"DD/MM/YYYY",p=`${t.name.toLowerCase().replaceAll(" ","-")}-${i}${void 0!==a?"-"+a:""}`,h=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(Ab,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:h},(null==t?void 0:t.allowEmpty)&&{allowEmpty:!0},o&&{isError:!0,"data-tip":o,"data-place":"top","data-type":"error"},{isForceUpdate:s,setForceUpdate:l,"data-qa-id":`mt-field-date-${p}`},(null==t?void 0:t.showFormat)&&{showFormat:t.showFormat}))})},lv=({head:t,value:n,height:r,evChange:i,idx:a,variantIdx:o,error:s,evCloseEditor:l,content:c})=>{const[d,u]=e.useState(!1),[p,h]=e.useState(n||""),[g,f]=e.useState(!0);e.useEffect((()=>{h(n)}),[n]);const m=`${t.key}-${a}${void 0!==o?"-"+o:""}`,y=e.useCallback((e=>{const n=document.getElementById("cur-key"),r=n?n.innerHTML:"";r&&r===m&&(i(t,e,a,o),l((()=>{u(!1)})))}),[m,t,a,o,i,l]);e.useEffect((()=>{g?f(!1):y(p)}),[p,y,g]);const b=$((e=>{}),250),w=e=>{const n=e.value,r="Integer"===t.typeData?!p&&!n||parseInt(p)===parseInt(n):p===n;h(n),r&&l((()=>{u(!1)}))},C=`${t.name.toLowerCase().replaceAll(" ","-")}-${a}${void 0!==o?"-"+o:""}`,k="Currency"===t.typeData||"Integer"===t.typeData?null!==p?p:"":p?"string"==typeof p?p.toString().trim():p:"";let I=x.jsx("div",{"data-qa-id":`mt-input-label-${C}`,children:U(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=""),I=x.jsxs("div",{children:[x.jsx("div",{"data-qa-id":`mt-input-label-${C}`,children:U(n,t.key)}),0!==e&&null!==e&&!s&&x.jsx(nv,{style:{color:V(e)},children:r})]})}return d?x.jsx("div",{className:"master-editor",children:t.multiline?x.jsx(vp,{name:t.fieldType+"_"+t.key,defaultValue:p,evChange:e=>{b(e.target)},evBlur:e=>{b(e.target),w(e.target)}}):x.jsx(se,Object.assign({type:"Integer"===t.typeData?"number":"text"},"Currency"===t.typeData&&{mode:"currency"},{name:t.fieldType+"_"+t.key,defaultValue:p,evChange:e=>{b(e.target)},evBlur:e=>{b(e.target),w(e.target)},evKeyUp:e=>{if("Enter"===e.key){e.preventDefault();const n=e.currentTarget.value,r="Integer"===t.typeData?parseInt(p)===parseInt(n):p===n;return h(n),void(r&&l((()=>{u(!1)})))}},"data-qa-id":`mt-input-${C}`}))}):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:[""===k&&s?x.jsx(v,{$color:"blue",style:{fontWeight:500},children:"+ Add"}):x.jsx("div",{className:"truncate-overflow","data-qa-id":`mt-input-label-${C}`,style:{maxHeight:r?parseInt(r)-34:"auto"},children:U(n,t.key)}),s&&x.jsx(ap,{$mode:"table",children:s})]}):x.jsxs(x.Fragment,{children:[""===k&&s?x.jsx(v,{$color:"blue",style:{fontWeight:500},children:"+ Add"}):I,s&&x.jsx(ap,{$mode:"table",children:s})]})})},cv=({head:t,value:n,evChange:r,idx:i,variantIdx:a,error:o,content:s,type:l,isForceUpdate:c,setForceUpdate:d})=>{const u=`${t.key}-${i}${void 0!==a?"-"+a:""}`,p=e.useCallback((e=>{const n=document.getElementById("cur-key"),o=n?n.innerHTML:"";o&&o===u&&r(t,e,i,a)}),[u,t,i,a,r]),h=$((e=>{}),250),g=e=>{p(e.value)},f=e=>{if("Enter"===e.key)return e.preventDefault(),void p(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=U(n,t.key),b=["shipping","platformRebate"],v=t.multiline?x.jsx(vp,Object.assign({name:t.fieldType+"_"+t.key,defaultValue:n,evChange:e=>{h(e.target)},evBlur:e=>{h(e.target),g(e.target)},onClick:e=>{e.persist();const t=document.getElementById("cur-key");t&&(t.innerHTML=u)}},o&&{isError:!0,"data-tip":o,"data-place":"top","data-type":"error"})):x.jsx(se,Object.assign({type:"Integer"===t.typeData?"number":"text",name:t.fieldType+"_"+t.key,defaultValue:n,evChange:e=>{h(e.target)},evBlur:e=>{h(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!==a?"-"+a:""}`},"Currency"===t.typeData&&{mode:"currency",aliasLabel:b.includes(t.key)?"+":"-"},t.placeholder&&{placeholder:t.placeholder},o&&{isError:!0,"data-tip":o,"data-place":"top","data-type":"error"}));let w=x.jsx("div",{className:"master-editor",children:v});return"countAdjustment"===(null==t?void 0:t.condition)?w=x.jsx("div",{className:"master-editor",children:x.jsxs(x.Fragment,{children:[v,null!==n&&n<s.qtyReserved&&x.jsx(rv,{style:{color:"red"},children:"Qty Available'll be minus"})]})}):"countOutbound"===(null==t?void 0:t.condition)&&(w=x.jsx("div",{className:"master-editor",children:x.jsxs(x.Fragment,{children:[v,null!==n&&n>s.qtyOnHand&&x.jsx(rv,{style:{color:"red"},children:"Qty On Hand'll be minus"})]})})),"create-paymentreceive"===l?x.jsx(se,Object.assign({type:"Integer"===t.typeData?"number":"text",disabled:s.orderCashless&&"shipping"===t.key||!1,name:t.fieldType+"_"+t.key,defaultValue:y,evChange:e=>{h(e.target)},evBlur:e=>{h(e.target),g(e.target)},evKeyUp:f,onClick:m,onFocus:m,"data-qa-id":`mt-input-${t.name.toLowerCase().replaceAll(" ","-")}-${i}${void 0!==a?"-"+a:""}`},"Currency"===t.typeData&&{mode:"currency",aliasLabel:b.includes(t.key)?"+":"-"},t.placeholder&&{placeholder:t.placeholder},o&&{isError:!0,"data-tip":o,"data-place":"top","data-type":"error"})):w},dv=({head:t,value:n,evChange:r,evOpenPopup:i,idx:a,variantIdx:o,resultPopup:s,setResultPopup:l,error:c,evCloseEditor:d})=>{const u=`${t.key}-${a}${void 0!==o?"-"+o:""}`,p=e.useCallback((e=>{const n=document.getElementById("cur-key"),i=n?n.innerHTML:"";i&&i===u&&(r(t,e,a,o),d())}),[u,t,a,o,r,d]);e.useEffect((()=>(s&&"image"in s&&(l&&l(null),p(s.image)),()=>{l&&l(null)})),[s,l,p]);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(" ","-")}-${a}${void 0!==o?"-"+o:""}`,children:x.jsx(ha,{src:Array.isArray(n)?n[0]:n})})}),c&&x.jsx(ap,{$mode:"table",children:c.replace("Product","")})]})},uv=({head:e,value:t,height:n,idx:r,evOpenPopup:i,content:a,type:o})=>{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(qb,{children:[x.jsxs("section",{children:[x.jsx("figure",{className:"table-image-figure",children:x.jsx(ha,{src:e})}),x.jsxs("div",{children:[x.jsx(Qb,{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(Vx,{$size:"medium",children:"Category: "})," ",t.category||"No Category"]}),x.jsxs("div",{children:[x.jsx(Vx,{$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:a}),"data-popup":"add-variant-master",children:x.jsx(Jb,{$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(Zb,{children:[x.jsx(Qx,{$size:"30px",children:x.jsx(ha,{alt:t.name,$mode:"product",src:e||""})}),x.jsxs("div",{children:[x.jsx(Qb,{children:x.jsx("strong",{children:t.name})}),t.sku&&x.jsxs(Vx,{$size:"medium",children:[x.jsx("span",{children:"SKU:"}),x.jsx(P,{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(Zb,{children:[x.jsx(Qx,{$size:"30px",children:x.jsx(ha,{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(Vx,{$size:"medium",children:[x.jsx("span",{children:"SKU:"}),t.sku?x.jsx(P,{target:"_blank",href:`https://app.forstok.com/dashboard/items/master/${encodeURIComponent(t.sku)}?src=sku`,children:t.sku}):"-"]}),x.jsxs(Vx,{$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=a.quantity-a.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!==a.quantity&&void 0!==a.quantity&&(t=a.quantity-a.qtyOnHand);const n=t>0?"+"+t:t;c=t?x.jsx(nv,{id:`text-${e.key}-${r}`,className:"multi-elipsis",style:{color:V(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(tv,{children:x.jsxs("section",{children:[t.channelImage?x.jsx(ha,{$mode:"store",alt:t.channelName,src:t.channelImage,width:"30px"}):x.jsx(Zx,{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(P,{target:"_blank",href:`https://app.forstok.com/dashboard/invoices/salesinvoices/${a.invoiceId}`,children:["INV-",a.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},pv=({head:t,value:n,height:r,evChange:i,idx:a,variantIdx:o,error:s,evCloseEditor:l})=>{var c,d;const[u,p]=e.useState(!1),[h,g]=e.useState(null),[f,m]=e.useState(null!==n||void 0!==n?n:""),[y,b]=e.useState(!1),[w,C]=e.useState(!0),k=`${t.key}-${a}${void 0!==o?"-"+o:""}`,I=e.useCallback((e=>{const n=document.getElementById("cur-key"),r=n?n.innerHTML:"";r&&r===k&&(i(t,e,a,o),l&&l((()=>{p(!1)})))}),[k,t,a,o,i,l]);e.useEffect((()=>{w?y?I(f):C(!1):I(f)}),[f,I,w,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 ._refSelectContainer")?void 0:(m(f),void l((()=>{p(!1)}))))};return e.addEventListener("click",t),()=>{e.removeEventListener("click",t)}}),[f,u,l]);e.useEffect((()=>{if(!h){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,h]);const A="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:{},S="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,j=`${t.name.toLowerCase().replaceAll(" ","-")}-${a}${void 0!==o?"-"+o:""}`;return u?x.jsx("div",{className:"master-editor",children:x.jsx(rp,Object.assign({options:h,defaultValue:A,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-${j}`},"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=k),p(!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-${j}`,style:{maxHeight:r?parseInt(r)-34:"auto"},children:S}),s&&x.jsx(ap,{$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-${j}`,children:S}),s&&x.jsx(ap,{$mode:"table",children:s})]})})},hv=({head:t,value:n,evChange:r,idx:i,variantIdx:a,error:o,isForceUpdate:s,setForceUpdate:l,content:c})=>{var d,u;const[p,h]=e.useState(null),g=`${t.key}-${i}${void 0!==a?"-"+a:""}`,f=e.useCallback((e=>{const n=document.getElementById("cur-key"),o=n?n.innerHTML:"";o&&o===g&&r(t,e,i,a)}),[g,t,i,a,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[a||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[a||0])||void 0===n?void 0:n.location)&&e.batchId===(null===(i=null===(r=c.locations)||void 0===r?void 0:r[a||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,a]);e.useEffect((()=>{if(!p){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||[];h(n)}}),[c,m,t,p]),e.useEffect((()=>{if(s){const e=m();e.length&&h(e),l&&l(!1)}}),[c,m,t,s,l,a]);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!==a?"-"+a:""}`;return"adjustLocation"!==(null==t?void 0:t.condition)||(null===(u=c.locations[a||0])||void 0===u?void 0:u.location)?x.jsx("div",{className:"master-editor",children:x.jsx(rp,Object.assign({},"category"===t.key&&{isCreateable:!0},{options:p,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}`},o&&{isError:!0,"data-tip":o,"data-place":"top","data-type":"error"},{placeholder:`Select ${t.name}`}))}):null},gv=({head:t,value:n,evChange:r,idx:i,variantIdx:a,evCloseEditor:o})=>{const[s,l]=e.useState(n||!1),[c,d]=e.useState(!0),u=`${t.name.toLowerCase().replaceAll(" ","-")}-${i}${void 0!==a?"-"+a:""}`;e.useEffect((()=>{const e=document.getElementById(`${t.fieldType}_${u}`);e&&(e.checked=n),l(n)}),[n,t,u]);const p=`${t.key}-${i}${void 0!==a?"-"+a:""}`,h=e.useCallback((e=>{const n=document.getElementById("cur-key"),s=n?n.innerHTML:"";s&&s===p&&(r(t,e,i,a),o())}),[p,t,i,a,r,o]);e.useEffect((()=>{c?d(!1):h(s)}),[s,h,c]);const g=s;return x.jsx("div",{className:"master-editor",children:x.jsx(Ob,{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=p);const n=e.closest(".cell");n&&n.classList.add("cell-editing");const r=e.checked,i=s===r;l(r),i&&o()})(e.target)}})})},fv=({head:t,value:n,height:r,evChange:i,evOpenPopup:a,idx:o,variantIdx:s,resultPopup:l,setResultPopup:c,evCloseEditor:d})=>{const u=`${t.key}-${o}${void 0!==s?"-"+s:""}`,p=e.useCallback((e=>{const n=document.getElementById("cur-key"),r=n?n.innerHTML:"";r&&r===u&&(i(t,e,o,s),d())}),[u,t,o,s,i,d]);e.useEffect((()=>{l&&"tag"in l&&(c&&c(null),p(l.tag))}),[l,c,p]);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"),a&&a(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)))})})},mv=({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}))}),xv=t.css`
3399
+ `,dv=({data:e,heightContent:t,firstHeaderColumnsWidth:n,evCheckbox:r,headerColumns:i,switchEditor:a,totalColGroupWidth:o,lastHeaderColumnsWidth:s,evRemove:l,type:c,isRemovable:d})=>e.map(((e,u)=>{const p=t?e.variants.length*t:e.variants.length;let h=u;if("putaway-inbound"===c)h=e.id;else h=u;return x.jsxs(Kb,{className:"_refMasterTableBodyContent",style:{height:p},children:[x.jsxs("div",{className:"cell-colGroup",style:{height:p},children:[x.jsx("div",{className:"cell cell-checkbox",style:{width:n,height:p},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,o=(null==e?void 0:e[t.key+"_error"])||"",s=a(u,t,r,o,void 0,p,e);return x.jsx("div",{"data-idx":u,"data-key":t.key,className:`cell cell-${t.fieldType} ${o?"cell-error":""}`,style:{width:t.width,height:p},children:s},i)}))]},0),x.jsx("div",{className:"cell-rowGroup",style:{left:o,overflow:"hidden"},children:e.locations.map(((n,r)=>{var o;const p="create-adjustment"===c?r+"-"+((null===(o=n.batchId)||void 0===o?void 0:o.value)||"0")+"-"+(n.location||"0"):r;let h=[];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 o,s,l,c,d;const p=i+1;let g=null,f="",m=!1,y=t.key.replace("locations-","");if(-1===y.indexOf("-"))g=n[y],f=(null===(s=null===(o=null==e?void 0:e.locations)||void 0===o?void 0:o[r])||void 0===s?void 0:s[y+"_error"])||"";else{const t=y.split("-"),i=t[0],a=t[1],o=n[i]?n[i].length:0;if(o){let t=0;h.filter((e=>e===y)).length&&(t=h.filter((e=>e===y)).length),g=o>t?n[i][t][a]:null,f=o>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][a+"_error"]:null,h.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=a(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},p)})),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(Se,{$name:"trash",$width:"18px","data-qa-id":`mt-icon-trash-${u}${null!==r?"-"+r:""}`})})},i.length+1):null]},p)}))},1)]},h)})),uv=({data:e,firstHeaderColumnsWidth:t,evCheckbox:n,headerColumns:r,switchEditor:i,lastHeaderColumnsWidth:a,evRemove:o,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 p="";return"edit-picklist"===s?p=e.qtyOrdered===e.qtyPicked?"is-fullfilled":"":"create-package"===s?p=e.qtyOrdered===e.qtyPack?"is-fullfilled":"":"create-return"===s&&(p=e.qtyOrdered-e.qtyReturned===e.qtyToReturn?"is-fullfilled":""),x.jsx(Kb,{$mode:s,id:`row-${u}`,className:`_refMasterTableBodyContent ${p}`,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],a=n+1,o=(null==e?void 0:e[t.key+"_error"])||"",l=i(c,t,r,o,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":""} ${o?"cell-error":""}`,style:{width:t.width},children:l},a)})),l?x.jsx("div",{"data-idx":c,"data-key":"trash",className:"cell cell-trash",style:{width:a},onClick:o,children:x.jsx("div",{children:x.jsx(Se,{$name:"trash",$width:"18px","data-qa-id":`mt-icon-trash-${c}`})})},r.length+1):null]},0)},u)})),pv=({head:t,value:n,height:r,evChange:i,idx:a,variantIdx:o,error:s,evCloseEditor:l})=>{const[c,d]=e.useState(!1),[u,p]=e.useState(n||null),[h,g]=e.useState(!0),[f,m]=e.useState(!1),y=e.useRef(null),b=t.format||"DD/MM/YYYY",w=`${t.key}-${a}${void 0!==o?"-"+o:""}`;e.useEffect((()=>{const e=n?Tx(n,b).toDate():n;p(e)}),[b,n]);const C=e.useCallback((e=>{const n=document.getElementById("cur-key"),r=n?n.innerHTML:"";r&&r===w&&(i(t,e,a,o),l((()=>{d(!1)})))}),[w,t,a,o,i,l]);e.useEffect((()=>{if(h)g(!1);else{const e=u?Tx(u).format(b):u;C(e)}}),[u,C,h,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:(p(u),void l((()=>{d(!1)}))))};return e.addEventListener("click",t),()=>e.removeEventListener("click",t)}),[u,c,l]);const k=`${t.name.toLowerCase().replaceAll(" ","-")}-${a}${void 0!==o?"-"+o:""}`;return c?x.jsx("div",{className:"master-editor",children:x.jsx(Tb,Object.assign({ref:y,saveFormat:b,evChange:(e,t)=>{p(t),m(!0)},name:t.fieldType+"_"+t.key},u&&{value:u},{isError:!!s,isForceUpdate:f,setForceUpdate:m,"data-qa-id":`mt-field-date-${k}`},(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=w),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-${k}`,children:(null==t?void 0:t.showFormat)&&u?Tx(u,b).format(t.showFormat):u}),s&&x.jsx(ap,{$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-${k}`,children:(null==t?void 0:t.showFormat)&&u?Tx(u,b).format(t.showFormat):u}),s&&x.jsx(ap,{$mode:"table",children:s})]})})},hv=({head:t,value:n,evChange:r,idx:i,variantIdx:a,error:o,isForceUpdate:s,setForceUpdate:l})=>{const c=`${t.key}-${i}${void 0!==a?"-"+a:""}`,d=e.useCallback((e=>{const n=document.getElementById("cur-key"),o=n?n.innerHTML:"";o&&o===c&&r(t,e,i,a)}),[c,t,i,a,r]),u=t.format||"DD/MM/YYYY",p=`${t.name.toLowerCase().replaceAll(" ","-")}-${i}${void 0!==a?"-"+a:""}`,h=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(Tb,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:h},(null==t?void 0:t.allowEmpty)&&{allowEmpty:!0},o&&{isError:!0,"data-tip":o,"data-place":"top","data-type":"error"},{isForceUpdate:s,setForceUpdate:l,"data-qa-id":`mt-field-date-${p}`},(null==t?void 0:t.showFormat)&&{showFormat:t.showFormat}))})},gv=({head:t,value:n,height:r,evChange:i,idx:a,variantIdx:o,error:s,evCloseEditor:l,content:c})=>{const[d,u]=e.useState(!1),[p,h]=e.useState(n||""),[g,f]=e.useState(!0);e.useEffect((()=>{h(n)}),[n]);const m=`${t.key}-${a}${void 0!==o?"-"+o:""}`,y=e.useCallback((e=>{const n=document.getElementById("cur-key"),r=n?n.innerHTML:"";r&&r===m&&(i(t,e,a,o),l((()=>{u(!1)})))}),[m,t,a,o,i,l]);e.useEffect((()=>{g?f(!1):y(p)}),[p,y,g]);const b=$((e=>{}),250),w=e=>{const n=e.value,r="Integer"===t.typeData?!p&&!n||parseInt(p)===parseInt(n):p===n;h(n),r&&l((()=>{u(!1)}))},C=`${t.name.toLowerCase().replaceAll(" ","-")}-${a}${void 0!==o?"-"+o:""}`,k="Currency"===t.typeData||"Integer"===t.typeData?null!==p?p:"":p?"string"==typeof p?p.toString().trim():p:"";let I=x.jsx("div",{"data-qa-id":`mt-input-label-${C}`,children:U(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=""),I=x.jsxs("div",{children:[x.jsx("div",{"data-qa-id":`mt-input-label-${C}`,children:U(n,t.key)}),0!==e&&null!==e&&!s&&x.jsx(lv,{style:{color:V(e)},children:r})]})}return d?x.jsx("div",{className:"master-editor",children:t.multiline?x.jsx(vp,{name:t.fieldType+"_"+t.key,defaultValue:p,evChange:e=>{b(e.target)},evBlur:e=>{b(e.target),w(e.target)}}):x.jsx(se,Object.assign({type:"Integer"===t.typeData?"number":"text"},"Currency"===t.typeData&&{mode:"currency"},{name:t.fieldType+"_"+t.key,defaultValue:p,evChange:e=>{b(e.target)},evBlur:e=>{b(e.target),w(e.target)},evKeyUp:e=>{if("Enter"===e.key){e.preventDefault();const n=e.currentTarget.value,r="Integer"===t.typeData?parseInt(p)===parseInt(n):p===n;return h(n),void(r&&l((()=>{u(!1)})))}},"data-qa-id":`mt-input-${C}`}))}):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:[""===k&&s?x.jsx(v,{$color:"blue",style:{fontWeight:500},children:"+ Add"}):x.jsx("div",{className:"truncate-overflow","data-qa-id":`mt-input-label-${C}`,style:{maxHeight:r?parseInt(r)-34:"auto"},children:U(n,t.key)}),s&&x.jsx(ap,{$mode:"table",children:s})]}):x.jsxs(x.Fragment,{children:[""===k&&s?x.jsx(v,{$color:"blue",style:{fontWeight:500},children:"+ Add"}):I,s&&x.jsx(ap,{$mode:"table",children:s})]})})},fv=({head:t,value:n,evChange:r,idx:i,variantIdx:a,error:o,content:s,type:l,isForceUpdate:c,setForceUpdate:d})=>{const u=`${t.key}-${i}${void 0!==a?"-"+a:""}`,p=e.useCallback((e=>{const n=document.getElementById("cur-key"),o=n?n.innerHTML:"";o&&o===u&&r(t,e,i,a)}),[u,t,i,a,r]),h=$((e=>{}),250),g=e=>{p(e.value)},f=e=>{if("Enter"===e.key)return e.preventDefault(),void p(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=U(n,t.key),b=["shipping","platformRebate"],v=t.multiline?x.jsx(vp,Object.assign({name:t.fieldType+"_"+t.key,defaultValue:n,evChange:e=>{h(e.target)},evBlur:e=>{h(e.target),g(e.target)},onClick:e=>{e.persist();const t=document.getElementById("cur-key");t&&(t.innerHTML=u)}},o&&{isError:!0,"data-tip":o,"data-place":"top","data-type":"error"})):x.jsx(se,Object.assign({type:"Integer"===t.typeData?"number":"text",name:t.fieldType+"_"+t.key,defaultValue:n,evChange:e=>{h(e.target)},evBlur:e=>{h(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!==a?"-"+a:""}`},"Currency"===t.typeData&&{mode:"currency",aliasLabel:b.includes(t.key)?"+":"-"},t.placeholder&&{placeholder:t.placeholder},o&&{isError:!0,"data-tip":o,"data-place":"top","data-type":"error"}));let w=x.jsx("div",{className:"master-editor",children:v});return"countAdjustment"===(null==t?void 0:t.condition)?w=x.jsx("div",{className:"master-editor",children:x.jsxs(x.Fragment,{children:[v,null!==n&&n<s.qtyReserved&&x.jsx(cv,{style:{color:"red"},children:"Qty Available'll be minus"})]})}):"countOutbound"===(null==t?void 0:t.condition)&&(w=x.jsx("div",{className:"master-editor",children:x.jsxs(x.Fragment,{children:[v,null!==n&&n>s.qtyOnHand&&x.jsx(cv,{style:{color:"red"},children:"Qty On Hand'll be minus"})]})})),"create-paymentreceive"===l?x.jsx(se,Object.assign({type:"Integer"===t.typeData?"number":"text",disabled:s.orderCashless&&"shipping"===t.key||!1,name:t.fieldType+"_"+t.key,defaultValue:y,evChange:e=>{h(e.target)},evBlur:e=>{h(e.target),g(e.target)},evKeyUp:f,onClick:m,onFocus:m,"data-qa-id":`mt-input-${t.name.toLowerCase().replaceAll(" ","-")}-${i}${void 0!==a?"-"+a:""}`},"Currency"===t.typeData&&{mode:"currency",aliasLabel:b.includes(t.key)?"+":"-"},t.placeholder&&{placeholder:t.placeholder},o&&{isError:!0,"data-tip":o,"data-place":"top","data-type":"error"})):w},mv=({head:t,value:n,evChange:r,evOpenPopup:i,idx:a,variantIdx:o,resultPopup:s,setResultPopup:l,error:c,evCloseEditor:d})=>{const u=`${t.key}-${a}${void 0!==o?"-"+o:""}`,p=e.useCallback((e=>{const n=document.getElementById("cur-key"),i=n?n.innerHTML:"";i&&i===u&&(r(t,e,a,o),d())}),[u,t,a,o,r,d]);e.useEffect((()=>(s&&"image"in s&&(l&&l(null),p(s.image)),()=>{l&&l(null)})),[s,l,p]);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(" ","-")}-${a}${void 0!==o?"-"+o:""}`,children:x.jsx(ha,{src:Array.isArray(n)?n[0]:n})})}),c&&x.jsx(ap,{$mode:"table",children:c.replace("Product","")})]})},xv=({head:e,value:t,height:n,idx:r,evOpenPopup:i,content:a,type:o})=>{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(tv,{children:[x.jsxs("section",{children:[x.jsx("figure",{className:"table-image-figure",children:x.jsx(ha,{src:e})}),x.jsxs("div",{children:[x.jsx(nv,{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(Vx,{$size:"medium",children:"Category: "})," ",t.category||"No Category"]}),x.jsxs("div",{children:[x.jsx(Vx,{$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:a}),"data-popup":"add-variant-master",children:x.jsx(rv,{$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(ev,{children:[x.jsx(Qx,{$size:"30px",children:x.jsx(ha,{alt:t.name,$mode:"product",src:e||""})}),x.jsxs("div",{children:[x.jsx(nv,{children:x.jsx("strong",{children:t.name})}),t.sku&&x.jsxs(Vx,{$size:"medium",children:[x.jsx("span",{children:"SKU:"}),x.jsx(P,{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(ev,{children:[x.jsx(Qx,{$size:"30px",children:x.jsx(ha,{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(Vx,{$size:"medium",children:[x.jsx("span",{children:"SKU:"}),t.sku?x.jsx(P,{target:"_blank",href:`https://app.forstok.com/dashboard/items/master/${encodeURIComponent(t.sku)}?src=sku`,children:t.sku}):"-"]}),x.jsxs(Vx,{$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=a.quantity-a.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!==a.quantity&&void 0!==a.quantity&&(t=a.quantity-a.qtyOnHand);const n=t>0?"+"+t:t;c=t?x.jsx(lv,{id:`text-${e.key}-${r}`,className:"multi-elipsis",style:{color:V(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(sv,{children:x.jsxs("section",{children:[t.channelImage?x.jsx(ha,{$mode:"store",alt:t.channelName,src:t.channelImage,width:"30px"}):x.jsx(Zx,{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(P,{target:"_blank",href:`https://app.forstok.com/dashboard/invoices/salesinvoices/${a.invoiceId}`,children:["INV-",a.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},yv=({head:t,value:n,height:r,evChange:i,idx:a,variantIdx:o,error:s,evCloseEditor:l})=>{var c,d;const[u,p]=e.useState(!1),[h,g]=e.useState(null),[f,m]=e.useState(null!==n||void 0!==n?n:""),[y,b]=e.useState(!1),[w,C]=e.useState(!0),k=`${t.key}-${a}${void 0!==o?"-"+o:""}`,I=e.useCallback((e=>{const n=document.getElementById("cur-key"),r=n?n.innerHTML:"";r&&r===k&&(i(t,e,a,o),l&&l((()=>{p(!1)})))}),[k,t,a,o,i,l]);e.useEffect((()=>{w?y?I(f):C(!1):I(f)}),[f,I,w,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 ._refSelectContainer")?void 0:(m(f),void l((()=>{p(!1)}))))};return e.addEventListener("click",t),()=>{e.removeEventListener("click",t)}}),[f,u,l]);e.useEffect((()=>{if(!h){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,h]);const A="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:{},S="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,j=`${t.name.toLowerCase().replaceAll(" ","-")}-${a}${void 0!==o?"-"+o:""}`;return u?x.jsx("div",{className:"master-editor",children:x.jsx(rp,Object.assign({options:h,defaultValue:A,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-${j}`},"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=k),p(!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-${j}`,style:{maxHeight:r?parseInt(r)-34:"auto"},children:S}),s&&x.jsx(ap,{$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-${j}`,children:S}),s&&x.jsx(ap,{$mode:"table",children:s})]})})},bv=({head:t,value:n,evChange:r,idx:i,variantIdx:a,error:o,isForceUpdate:s,setForceUpdate:l,content:c})=>{var d,u;const[p,h]=e.useState(null),g=`${t.key}-${i}${void 0!==a?"-"+a:""}`,f=e.useCallback((e=>{const n=document.getElementById("cur-key"),o=n?n.innerHTML:"";o&&o===g&&r(t,e,i,a)}),[g,t,i,a,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[a||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[a||0])||void 0===n?void 0:n.location)&&e.batchId===(null===(i=null===(r=c.locations)||void 0===r?void 0:r[a||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,a]);e.useEffect((()=>{if(!p){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||[];h(n)}}),[c,m,t,p]),e.useEffect((()=>{if(s){const e=m();e.length&&h(e),l&&l(!1)}}),[c,m,t,s,l,a]);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!==a?"-"+a:""}`;return"adjustLocation"!==(null==t?void 0:t.condition)||(null===(u=c.locations[a||0])||void 0===u?void 0:u.location)?x.jsx("div",{className:"master-editor",children:x.jsx(rp,Object.assign({},"category"===t.key&&{isCreateable:!0},{options:p,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}`},o&&{isError:!0,"data-tip":o,"data-place":"top","data-type":"error"},{placeholder:`Select ${t.name}`}))}):null},vv=({head:t,value:n,evChange:r,idx:i,variantIdx:a,evCloseEditor:o})=>{const[s,l]=e.useState(n||!1),[c,d]=e.useState(!0),u=`${t.name.toLowerCase().replaceAll(" ","-")}-${i}${void 0!==a?"-"+a:""}`;e.useEffect((()=>{const e=document.getElementById(`${t.fieldType}_${u}`);e&&(e.checked=n),l(n)}),[n,t,u]);const p=`${t.key}-${i}${void 0!==a?"-"+a:""}`,h=e.useCallback((e=>{const n=document.getElementById("cur-key"),s=n?n.innerHTML:"";s&&s===p&&(r(t,e,i,a),o())}),[p,t,i,a,r,o]);e.useEffect((()=>{c?d(!1):h(s)}),[s,h,c]);const g=s;return x.jsx("div",{className:"master-editor",children:x.jsx(Fb,{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=p);const n=e.closest(".cell");n&&n.classList.add("cell-editing");const r=e.checked,i=s===r;l(r),i&&o()})(e.target)}})})},wv=({head:t,value:n,height:r,evChange:i,evOpenPopup:a,idx:o,variantIdx:s,resultPopup:l,setResultPopup:c,evCloseEditor:d})=>{const u=`${t.key}-${o}${void 0!==s?"-"+s:""}`,p=e.useCallback((e=>{const n=document.getElementById("cur-key"),r=n?n.innerHTML:"";r&&r===u&&(i(t,e,o,s),d())}),[u,t,o,s,i,d]);e.useEffect((()=>{l&&"tag"in l&&(c&&c(null),p(l.tag))}),[l,c,p]);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"),a&&a(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)))})})},Cv=({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}))}),kv=t.css`
3247
3400
  display: grid;
3248
3401
  grid-template-columns: 1fr;
3249
3402
  align-items: center;
3250
3403
  padding: 14px 16px 13px;
3251
3404
  border-bottom: 1px solid var(--pri-clr-ln);
3252
- `,yv=o.default.div`
3253
- ${xv}
3405
+ `,Iv=o.default.div`
3406
+ ${kv}
3254
3407
  ${({$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}}
3255
- `,bv=t.css`
3408
+ `,Av=t.css`
3256
3409
  display: grid;
3257
3410
  grid-row-gap: 12px;
3258
3411
  grid-column-gap: 16px;
3259
3412
  width: 100%;
3260
3413
  margin-bottom: 12px;
3261
3414
  align-items: start;
3262
- `,vv=o.default.form.attrs((e=>({name:e.name||"form",autoComplete:e.autoComplete||"off"})))`
3415
+ `,Sv=o.default.form.attrs((e=>({name:e.name||"form",autoComplete:e.autoComplete||"off"})))`
3263
3416
  display: inline-grid;
3264
3417
  grid-auto-flow: row;
3265
3418
  grid-gap: 25px;
@@ -3274,8 +3427,8 @@ r.version="2.30.1",i(qn),r.fn=la,r.min=Kn,r.max=er,r.now=tr,r.utc=g,r.unix=ca,r.
3274
3427
  }
3275
3428
  }
3276
3429
  ${({name:e})=>{let t="";return"invoiceForm"===e&&(t+="\n grid-gap: 15px;\n "),t}}
3277
- `,wv=o.default.section`
3278
- ${bv}
3430
+ `,jv=o.default.section`
3431
+ ${Av}
3279
3432
  ${({$width:e})=>{let t="";return e&&(t+=` \n @media (min-width: 768px) {\n width: ${e}; \n }\n `),t}}
3280
3433
  `
3281
3434
  /*! *****************************************************************************
@@ -3291,13 +3444,13 @@ MERCHANTABLITY OR NON-INFRINGEMENT.
3291
3444
 
3292
3445
  See the Apache Version 2.0 License for specific language governing permissions
3293
3446
  and limitations under the License.
3294
- ***************************************************************************** */;var Cv=function(){return Cv=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},Cv.apply(this,arguments)};var kv=function(t){var n=t.animate,r=void 0===n||n,i=t.backgroundColor,a=void 0===i?"#f5f6f7":i,o=t.backgroundOpacity,s=void 0===o?1:o,l=t.baseUrl,c=void 0===l?"":l,d=t.children,u=t.foregroundColor,p=void 0===u?"#eee":u,h=t.foregroundOpacity,g=void 0===h?1:h,f=t.gradientRatio,m=void 0===f?2:f,x=t.uniqueKey,y=t.rtl,b=void 0!==y&&y,v=t.speed,w=void 0===v?1.2:v,C=t.style,k=void 0===C?{}:C,I=t.title,A=void 0===I?"Loading...":I,S=t.beforeMask,j=void 0===S?null:S,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),M="".concat(E,"-diff"),T="".concat(E,"-animated-diff"),N="".concat(E,"-aria"),O=b?{transform:"scaleX(-1)"}:null,L="".concat(w,"s"),_="".concat(-1*m," 0"),P="".concat(m," 0");return e.createElement("svg",Cv({"aria-labelledby":N,role:"img",style:Cv(Cv({},k),O)},D),A?e.createElement("title",{id:N},A):null,j&&e.isValidElement(j)?j:null,e.createElement("rect",{role:"presentation",x:"0",y:"0",width:"100%",height:"100%",clipPath:"url(".concat(c,"#").concat(M,")"),style:{fill:"url(".concat(c,"#").concat(T,")")}}),e.createElement("defs",null,e.createElement("clipPath",{id:M},d),e.createElement("linearGradient",{id:T,gradientTransform:"translate(".concat(_,")")},e.createElement("stop",{offset:"0%",stopColor:a,stopOpacity:s}),e.createElement("stop",{offset:"50%",stopColor:p,stopOpacity:g}),e.createElement("stop",{offset:"100%",stopColor:a,stopOpacity:s}),r&&e.createElement("animateTransform",{attributeName:"gradientTransform",type:"translate",values:"".concat(_,"; 0 0; ").concat(P),dur:L,repeatCount:"indefinite"}))))},Iv=function(t){return t.children?e.createElement(kv,Cv({},t)):e.createElement(Av,Cv({},t))},Av=function(t){return e.createElement(Iv,Cv({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"}))};o.default.div`
3447
+ ***************************************************************************** */;var Dv=function(){return Dv=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},Dv.apply(this,arguments)};var Ev=function(t){var n=t.animate,r=void 0===n||n,i=t.backgroundColor,a=void 0===i?"#f5f6f7":i,o=t.backgroundOpacity,s=void 0===o?1:o,l=t.baseUrl,c=void 0===l?"":l,d=t.children,u=t.foregroundColor,p=void 0===u?"#eee":u,h=t.foregroundOpacity,g=void 0===h?1:h,f=t.gradientRatio,m=void 0===f?2:f,x=t.uniqueKey,y=t.rtl,b=void 0!==y&&y,v=t.speed,w=void 0===v?1.2:v,C=t.style,k=void 0===C?{}:C,I=t.title,A=void 0===I?"Loading...":I,S=t.beforeMask,j=void 0===S?null:S,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),M="".concat(E,"-diff"),T="".concat(E,"-animated-diff"),N="".concat(E,"-aria"),O=b?{transform:"scaleX(-1)"}:null,L="".concat(w,"s"),_="".concat(-1*m," 0"),P="".concat(m," 0");return e.createElement("svg",Dv({"aria-labelledby":N,role:"img",style:Dv(Dv({},k),O)},D),A?e.createElement("title",{id:N},A):null,j&&e.isValidElement(j)?j:null,e.createElement("rect",{role:"presentation",x:"0",y:"0",width:"100%",height:"100%",clipPath:"url(".concat(c,"#").concat(M,")"),style:{fill:"url(".concat(c,"#").concat(T,")")}}),e.createElement("defs",null,e.createElement("clipPath",{id:M},d),e.createElement("linearGradient",{id:T,gradientTransform:"translate(".concat(_,")")},e.createElement("stop",{offset:"0%",stopColor:a,stopOpacity:s}),e.createElement("stop",{offset:"50%",stopColor:p,stopOpacity:g}),e.createElement("stop",{offset:"100%",stopColor:a,stopOpacity:s}),r&&e.createElement("animateTransform",{attributeName:"gradientTransform",type:"translate",values:"".concat(_,"; 0 0; ").concat(P),dur:L,repeatCount:"indefinite"}))))},Mv=function(t){return t.children?e.createElement(Ev,Dv({},t)):e.createElement(Tv,Dv({},t))},Tv=function(t){return e.createElement(Mv,Dv({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"}))};o.default.div`
3295
3448
  display: inline-block;
3296
3449
  position: relative;
3297
3450
  width: 100%;
3298
3451
  vertical-align: middle;
3299
3452
  overflow: hidden;
3300
- `;const Sv=o.default.div`
3453
+ `;const Nv=o.default.div`
3301
3454
  display: block;
3302
3455
  max-height: calc(100vh - 286px);
3303
3456
  height: calc(100vh - 286px);
@@ -3308,14 +3461,14 @@ and limitations under the License.
3308
3461
  > div:not(:first-child) {
3309
3462
  margin-top: 15px;
3310
3463
  }
3311
- `,jv=o.default.div`
3464
+ `,Ov=o.default.div`
3312
3465
  ${S}
3313
3466
  display: inline-block;
3314
3467
  width: auto;
3315
3468
  height: 220px;
3316
3469
  position: relative;
3317
3470
  margin: 30px 30px 0px 30px;
3318
- `,Dv=o.default.div`
3471
+ `,Lv=o.default.div`
3319
3472
  ${S}
3320
3473
  display: inline-block;
3321
3474
  width: 100%;
@@ -3323,41 +3476,47 @@ and limitations under the License.
3323
3476
  max-height: calc(100vh - 286px);
3324
3477
  height: calc(100vh - 286px);
3325
3478
  overflow: hidden;
3326
- `,Ev=o.default.div`
3479
+ `,_v=o.default.div`
3327
3480
  display: inline-block;
3328
3481
  margin-top: -15px;
3329
- `,Mv=o.default.div`
3482
+ `,Pv=o.default.div`
3330
3483
  display: inline-block;
3331
3484
  width: 100%;
3332
3485
  background: #FFF;
3333
3486
  position: relative;
3334
3487
  height: 100%;
3335
3488
  overflow: hidden;
3336
- `,Tv=o.default.div`
3489
+ `,Bv=o.default.div`
3337
3490
  display: inline-block;
3338
3491
  width: 100%;
3339
3492
  border-radius: 10px;
3340
3493
  height: 80px;
3341
3494
  position: relative;
3342
- `,Nv=o.default.div`
3495
+ `,Rv=o.default.div`
3343
3496
  ${S}
3344
3497
  display: inline-block;
3345
3498
  max-height: 750px;
3346
3499
  height: calc(100vh - 124px);
3347
3500
  overflow: hidden;
3348
3501
  padding-bottom: 28px;
3349
- `,Ov=o.default.div`
3502
+ `,Fv=o.default.div`
3350
3503
  display: inline-block;
3351
3504
  background-color: #fff;
3352
3505
  border-radius: 5px;
3353
3506
  border: 1px solid #E3E3E3;
3354
3507
  height: 89px;
3355
3508
  margin-bottom: 20px;
3356
- `,Lv=o.default.div`
3509
+ `,Gv=o.default.div`
3357
3510
  display: inline-block;
3358
- `,_v=o.default.div`
3511
+ `,Wv=o.default.div`
3359
3512
  ${S}
3360
3513
  padding: 2em;
3361
3514
  margin-bottom: 30px;
3362
- `,Pv=J().width,Bv=J().height,Rv={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=zx,exports.BreadcrumbContainer=Yx,exports.BulkActionWrapper=Xx,exports.ButtonComponent=xe,exports.ButtonGroup=jy,exports.ButtonLabel=Cy,exports.CardContainer=Vy,exports.CardWrapper=$y,exports.CheckboxComponent=he,exports.CollapseContainer=my,exports.ContentLoaderAccountsList=()=>x.jsxs(Iv,{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(Iv,{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=Pv>=994?Pv>=1031&&Pv>=1031?Pv-100:Pv-60:994;const t=e-777,n=e-665,r=e-555,i=e-405,a=e-230;return x.jsx(Ov,{children:x.jsxs(Iv,{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:a,y:"15",rx:"2",ry:"2",width:140,height:"61"})]})})},exports.ContentLoaderAnalyticsMenu=()=>x.jsx(Iv,{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=Pv>=1336||Pv>=1112?400:300,r=32+n+12,i=Pv-n-85,a=t?Math.ceil((t-78)/70):0;return x.jsx(Dv,{children:x.jsxs(Iv,{speed:1,width:Pv,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(a)).map(((t,a)=>{const o=70*a+78;return x.jsxs(e.Fragment,{children:[x.jsx("rect",{x:32,y:o,rx:"2",ry:"2",width:n,height:"31"}),x.jsx("rect",{x:r,y:o,rx:"2",ry:"2",width:i,height:"31"})]},a)}))]})})},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,a=r-48-88-20,o=a+60+16,s="single"===t?1:Math.floor(i/64);let l=0;return x.jsx(Iv,{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:a,height:"14"}),x.jsx("rect",{x:"60",y:i,rx:"0",ry:"0",width:a,height:"14"}),x.jsx("rect",{x:o,y:r,rx:"0",ry:"0",width:"66",height:"14"}),x.jsx("rect",{x:o,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,a=r-32<=360?r-32:360,o=r-a-16,s=i-145,l="single"===e?1:Math.floor(s/76);let c=0;return x.jsx(Iv,{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":o,y:n,rx:"10",ry:"10",width:a,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,a="single"===t?65:r&&r.offsetHeight-204>=0?r.offsetHeight-204:0,o=i-48-88,s=o+60+16+22,l="single"===t?1:Math.floor(a/64);let c=0;return!(i<=0)&&x.jsx(Iv,{height:a,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,a=64+c;return c=a,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:o,height:"14"}),x.jsx("rect",{x:"78",y:i,rx:"0",ry:"0",width:o,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:a,rx:"0",ry:"0",width:"100%",height:"1"})]},n)}))})},exports.ContentLoaderChatStores=()=>x.jsxs(Iv,{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(_v,{children:x.jsxs(Iv,{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(Iv,{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(Iv,{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(Iv,{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(Mv,{className:"_refLoadingList",children:x.jsxs(Iv,{speed:1,width:Pv,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:Pv-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:Pv-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:Pv-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:Pv-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:Pv-240,y:"200",rx:"2",ry:"2",width:"200",height:"31"})]})}),exports.ContentLoaderMasterBundleDetail=()=>{const e=Pv>=1336?540:Pv>=1112?320:250,t=e+30,n=150,r=t+n+15,i=80,a=r+i+15,o=150,s=a+o+15;return x.jsx(Ev,{children:x.jsxs(Iv,{speed:1,width:Pv,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:a,y:"25",rx:"2",ry:"2",width:o,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:a,y:"60",rx:"2",ry:"2",width:o,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:a,y:"110",rx:"2",ry:"2",width:o,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:a,y:"160",rx:"2",ry:"2",width:o,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:a,y:"210",rx:"2",ry:"2",width:o,height:"30"}),x.jsx("rect",{x:s,y:"210",rx:"2",ry:"2",width:80,height:"30"})]})})},exports.ContentLoaderMasterDetail=()=>{const e=Pv-250,t=Pv-150,n=Pv-80,r=140,i=183,a=200,o=388,s=140,l=533,c=140,d=678,u=140,p=823,h=140;return x.jsx(Nv,{children:x.jsxs(Iv,{speed:1,width:Pv,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:a,height:"31"}),x.jsx("rect",{x:o,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:p,y:"320",rx:"2",ry:"2",width:h,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:a,height:"31"}),x.jsx("rect",{x:o,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:p,y:"370",rx:"2",ry:"2",width:h,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:a,height:"31"}),x.jsx("rect",{x:o,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:p,y:"420",rx:"2",ry:"2",width:h,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:a,height:"31"}),x.jsx("rect",{x:o,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:p,y:"470",rx:"2",ry:"2",width:h,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=Bv-286,n=Pv>=1336?370:Pv>=1112?250:150,r=29+n+12,i=Pv>=1336?130:Pv>=1112?110:100,a=r+i+12,o=Pv>=1336?100:95,s=a+o+12,l=Pv>=1336?90:80,c=s+l+12,d=Pv>=1336?85:75,u=c+d+12,p=Pv>=1336?80:70,h=u+p+12,g=Pv>=1336?70:60,f=h+g+12,m=Pv>=1336?95:85,y=Pv-100-24,b=Bv&&Math.ceil((t-78)/70)>0?Math.ceil((t-78)/70):0;let v=f+m+12,w=[];for(let e=0;v+122<y;e++)w.push({x:f+m+12+122*e,w:110}),v=f+m+12+122*e;return x.jsx(Dv,{children:x.jsxs(Iv,{speed:1,width:Pv,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:a,y:"23",rx:"2",ry:"2",width:o,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:p,height:"16"}),x.jsx("rect",{x:h,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"}),w.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:a,y:v,rx:"2",ry:"2",width:o,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:p,height:"31"}),x.jsx("rect",{x:h,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"}),w.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=Pv>=1336?645:Pv>=1112?400:300,t=e+45,n=e+90;return x.jsx(Ev,{children:x.jsxs(Iv,{speed:1,width:Pv,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=Pv>=1336?150:Pv>=1112?110:100,n=29+t+12,r=Pv>=1336?120:Pv>=1112?110:100,i=n+r+12,a=Pv>=1336||Pv>=1112?110:105,o=i+a+12,s=Pv>=1336||Pv>=1112?140:130,l=o+s+12,c=Pv>=1336?130:Pv>=1112?120:100,d=l+c+12,u=Pv>=1336?115:Pv>=1112?105:100,p=d+u+12,h=Pv>=1336?150:Pv>=1112?110:100,g=Pv-100-24,f=Bv?Math.ceil((Bv-78)/70):0;let m=p+h+12,y=[];for(let e=0;m+122<g;e++)y.push({x:p+h+12+122*e,w:110}),m=p+h+12+122*e;return x.jsx(Dv,{className:"_refLoadingList",children:x.jsxs(Iv,{speed:1,width:Pv,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:a,height:"16"}),x.jsx("rect",{x:o,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:p,y:"23",rx:"2",ry:"2",width:h,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:a,height:"31"}),x.jsx("rect",{x:o,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:p,y:b,rx:"2",ry:"2",width:h,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(Iv,{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(Iv,{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(Iv,{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((Pv-110)/120),n=Math.floor((e-20)/50);return x.jsx(Mv,{children:x.jsx(Iv,{speed:1,width:Pv,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((Pv-110)/120);return x.jsx(Mv,{children:x.jsx(Iv,{speed:1,width:Pv,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=Pv-700,t=Pv-432,n=Pv-302,r=Pv-217,i=Pv-72,a=Pv-777,o=Pv-665,s=Pv-625,l=Pv-515,c=Pv-365,d=Pv-190,u=140,p=Pv-777,h=Pv-629,g=Pv-529,f=Pv-389,m=Pv-214;return x.jsx(Nv,{children:x.jsxs(Iv,{speed:1,width:Pv,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:p,height:"61"}),x.jsx("rect",{x:h,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:a,height:"31"}),x.jsx("rect",{x:o,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:a,height:"31"}),x.jsx("rect",{x:o,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=Pv-600,n=Pv-405,r=120,i=Pv-275,a=Pv-190,o=140,s=Pv-45,l=Pv-18,c=Pv-777,d=Pv-665,u=Pv-625,p=Pv-515,h=140,g=Pv-365,f=160,m=Pv-190,y=140;return x.jsxs(Sv,{children:[x.jsx(jv,{children:x.jsxs(Iv,{speed:1,width:Pv,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:a,y:"15",rx:"2",ry:"2",width:o,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:p,y:"127",rx:"2",ry:"2",width:h,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(jv,{children:x.jsxs(Iv,{speed:1,width:Pv,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:a,y:"15",rx:"2",ry:"2",width:o,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:p,y:"127",rx:"2",ry:"2",width:h,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(jv,{children:x.jsxs(Iv,{speed:1,width:Pv,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:a,y:"15",rx:"2",ry:"2",width:o,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:p,y:"127",rx:"2",ry:"2",width:h,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(jv,{children:x.jsxs(Iv,{speed:1,width:Pv,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:a,y:"15",rx:"2",ry:"2",width:o,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:p,y:"127",rx:"2",ry:"2",width:h,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(jv,{children:x.jsxs(Iv,{speed:1,width:Pv,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:a,y:"15",rx:"2",ry:"2",width:o,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:p,y:"127",rx:"2",ry:"2",width:h,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=Pv/2,t=e-160,n=e-128,r=e-96,i=e-64,a=e-32,o=e+0,s=e+32,l=e+64,c=e+96,d=e+128;return x.jsx(Tv,{className:"_refLoadingPage",children:x.jsxs(Iv,{speed:1,width:Pv,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:a,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: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(Iv,{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(Iv,{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(Iv,{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(Lv,{children:x.jsxs(Iv,{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(Lv,{children:x.jsxs(Iv,{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(Lv,{children:x.jsxs(Iv,{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(Lv,{children:x.jsxs(Iv,{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(Lv,{children:x.jsxs(Iv,{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(Lv,{children:x.jsx(Iv,{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(Iv,{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(_v,{children:x.jsxs(Iv,{speed:1,width:Pv,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(Iv,{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=Bv-96,t=Math.floor((Pv-110)/120),n=Math.floor((e-20)/50);return x.jsx(Mv,{children:x.jsx(Iv,{speed:1,width:Pv,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.CreateContainer=tb,exports.CreateHeaderWrapper=nb,exports.CreateToolWrapper=rb,exports.DateComponent=Ab,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(Sb,{children:e?x.jsxs(x.Fragment,{children:[x.jsx("span",{children:t}),x.jsx("span",{children:n})]}):"-"})},exports.DateWrapper=Ny,exports.DetailItem=Qy,exports.DetailItemAction=Zy,exports.DetailItemInfo=qy,exports.DetailItemTitle=Xy,exports.DetailItemWrapper=Jy,exports.DetailList=zy,exports.DetailPanelWrapper=Uy,exports.DetailWrapper=Hy,exports.DropDownComponent=t=>{var{children:n,title:r,subTitle:i,$externalWidth:a,$externalMinWidth:o,$internalWidth:s,$area:c,$openPosition:d,$placement:u,$top:p,onClick:h,$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),w=()=>{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"),r=t.left+t.width-e.getBoundingClientRect().width;n.style.left=(r>0?r:t.left)+"px",n.style.top=t.top+parseInt(p||"0")-32+"px"}}},C=()=>{const e=document.getElementsByClassName("_refContainer is-shown"),t=document.getElementsByTagName("BODY")[0];if(e.length){t.classList.remove("is-immuned");for(let t=0;t<e.length;t++){e[t].querySelector("._refDropdownOverlay").style.display="none",e[t].classList.remove("is-shown")}}const n=document.querySelector("._refScrollContainer");n&&n.removeEventListener("scroll",w,!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)},k=e=>{const t=v.current;if(t){const n=e.target.closest(`.${t.classList[0]}`);if(!n)return;const r=n.closest("._refContainer"),i=document.getElementsByTagName("BODY")[0];if(r){const t=r.querySelector("._refDropdownOverlay"),n=r.classList.contains("is-shown"),a=r.getBoundingClientRect();n?(t.style.display="none",i.classList.remove("is-immuned"),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",w,!0))}}),10)):(C(),t.style.display="block",i.classList.add("is-immuned"),r.classList.add("is-shown"),setTimeout((()=>{if(m){const e=document.querySelector(`#${m} ._refDropdownPortal`),t=document.querySelector("._refScrollContainer"),n=e.querySelector("._refDropdownWrapper");e&&(a&&(n?setTimeout((()=>{n.style.right="auto";const r=a.left+a.width-n.getBoundingClientRect().width;e.style.left=(r>0?r:a.left)+"px",e.style.top=a.top+parseInt(p||"0")-32+"px",e.style.zIndex="8",t&&t.addEventListener("scroll",w,!0)}),10):(e.style.left=a.left+(parseInt(s||"0")+a.width)/2+"px",e.style.top=a.top+a.height+"px")),e.classList.add("is-shown"))}}),10),h&&h(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 I=i?x.jsx(Le,{children:i}):null,A=r?x.jsxs(Oe,{children:[r," ",I]}):null,S=n.filter((t=>e.isValidElement(t)?"control"===t.props["aria-label"]:null)),j=S&&e.isValidElement(S[0])?"hover"===f?x.jsxs(Te,{children:[x.jsx(Me,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:S[0].props.children})),x.jsx(Me,{className:"_refDropdownControlMobile",ref:v,onClick:k,children:S[0].props.children})]}):x.jsx(Me,{ref:v,onClick:k,children:S[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(_e,{$area:c,children:D[0].props.children}):null,M=n.filter((t=>e.isValidElement(t)?"action"===t.props["aria-label"]:null)),T=M&&e.isValidElement(M[0])?x.jsx(Pe,{$position:M[0].props["data-position"],className:M[0].props.className,children:M[0].props.children}):null,N=x.jsxs(De,Object.assign({className:"_refDropdownWrapper"},s&&{$internalWidth:s},p&&{$top:p},d&&{$openPosition:d},u&&{$placement:u},y&&{$bottom:y},{children:[A,E,T]}));return x.jsxs(Ne,Object.assign({className:"_refContainer "+(f?`_refContainer${f}`:"")},a&&{$externalWidth:a},o&&{$externalMinWidth:o},c&&{$area:c},p&&{$top:p},g&&{$alias:g},d&&{$openPosition:d},u&&{$placement:u},y&&{$bottom:y},b,{children:[j,x.jsx(Ee,{className:"_refDropdownOverlay",onClick:()=>{C()}}),m?x.jsx(je,{wrapperId:m,children:x.jsx(Be,{className:"_refDropdownPortal "+("hover"===f?"_refHover":""),children:N})}):N]}))},exports.DropdownAction=Py,exports.DropdownItem=_y,exports.DropdownList=Ly,exports.DropdownTitle=Oy,exports.ErrorComponent=ap,exports.FigureWraper=Qx,exports.FilterButton=Gy,exports.FilterContainer=Iy,exports.FilterItem=Ry,exports.FilterList=By,exports.FilterListTitle=Fy,exports.FilterWrapper=Dy,exports.FoContainer=Wx,exports.FormContainer=vv,exports.HeaderContainer=Rx,exports.IconComponent=Se,exports.IconDot=Wy,exports.ImageComponent=ha,exports.InfoGroup=Hx,exports.InitialContainer=Zx,exports.InputComponent=se,exports.InputGroup=$x,exports.InputRefComponent=le,exports.IsNumeric=X,exports.ItemPriceLabel=sy,exports.ItemTable=My,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.LeftPanelContainer=ey,exports.LinkComponent=P,exports.LinkContainer=ky,exports.ListAddItemContainer=lb,exports.ListComponent=e=>{var{children:t,$mode:n,$selected:r,$type:i}=e,a=l(e,["children","$mode","$selected","$type"]);return x.jsx(yv,Object.assign({$mode:n,$selected:r,$type:i},a,{children:t}))},exports.ListContainer=_x,exports.ListTable=Ty,exports.ListTableContainer=Ey,exports.LoadingComponent=ke,exports.MasterTableActionWrapper=qx,exports.MasterTableComponent=t=>{const{evOpenPopup:n,headerColumns:r,data:i,setData:a,resultPopup:o,setResultPopup:s,type:l,evCreateMessageQuestion:c,evCreateMessage:d,autoCopy:u,setAutoCopy:p,isRemovable:h=!0,isForceUpdate:g,setForceUpdate:f}=t,[m,y]=e.useState(!1),[b,w]=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 C=Y(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,a=!1;t&&t.addEventListener("scroll",(e=>{const o=t.offsetWidth-t.clientWidth,s=t.scrollLeft;i!==o&&(n.style.width=parseInt(n.style.width)+o+"px"),a||(window.requestAnimationFrame((()=>{r!==s&&(n.style.left="-"+s+"px"),a=!1,r=s})),a=!0),i=o}),{passive:!0}),e.innerHTML="true"}}),[i]);const k=55,I=h?55:0;let A=0,S=0;for(const e of r.filter((e=>!(null==e?void 0:e.isHidden))))"colGroup"===e.type&&(S+=e.width),A+=e.width;A+=k+I+1,S+=k;const j=(e,t,n,r)=>{const o="category"===(null==e?void 0:e.condition)?"Array":e.typeData||"String",s=K(o,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],o=t[n];if(r&&r>=0)if("putaway-inbound"===l){let t=o.locations[r];const n=e.key.replace("locations-","");t[n]=s,c.approved?delete t[n+"_error"]:t[n+"_error"]=c.errors[0],o.locations.splice(r,1,t)}else{let t=o.variants[r];const n=e.key.replace("variants-",""),i=o.variants.length;if("options-option"===n||"options-type"===n){const a=-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=o.variants[t];if(n.options[a][l]=s,`${l}_error`in n.options[a]&&delete n.options[a][`${l}_error`],n.options.length>1){const e=0===a?1:0;`${l}_error`in n.options[e]&&delete n.options[e][`${l}_error`],s.toLowerCase()===n.options[e].type.toLowerCase()&&(n.options[a][`${l}_error`]="Variant type is duplicate")}e.push(n)}o.variants=e}else t.options[a][l]=s,c.approved?delete t.options[a][l+"_error"]:t.options[a][l+"_error"]=c.errors[0],o.variants.splice(r,1,t)}else t[n]=s,c.approved?delete t[n+"_error"]:t[n+"_error"]=c.errors[0],o.variants.splice(r,1,t)}else if("category"===(null==e?void 0:e.condition)){if(-1!==e.key.indexOf("listing")&&o.listing){const t=o.listing.findIndex((t=>t.accountId===e.value));if(t>=0){let n=[...o.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),o.listing=n}}}else o[e.key]=s,c.approved?delete o[e.key+"_error"]:o[e.key+"_error"]=c.errors[0];t.splice(n,1,o),a(t),e.bare&&c.approved&&f&&f(!0)}},D=e=>{const t=e.target,n=q("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]),a=t.category,o=r.reduce(((e,t,n)=>e.concat(t.category===a?n:[])),[]);if(o.length)for(const e of o)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)}}}p&&p(r),b&&w(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 o=e.filter(((e,t)=>-1===i.indexOf(t)));"listing"===C?(n(i),a(o,(e=>r(e)))):a(o),_()}else{const i=t.closest(".cell-trash"),o=i.dataset.idx?parseInt(i.dataset.idx):null,s=i.dataset.row?parseInt(i.dataset.row):null;if(null!==o)if("listing"===C)n([o]),e.splice(o,1),a(e,(e=>r(e)));else if("master"===C){let t=Object.assign({},e[o]);if(null==t?void 0:t.variants)if(1===t.variants.length)e.splice(o,1);else{let n=[...t.variants];s&&n.splice(s,1),t.variants=n,e.splice(o,1,t)}else e.splice(o,1);a(e)}else if("putaway-inbound"===l){let t=Object.assign({},e[o]);if(null==t?void 0:t.locations)if(1===t.locations.length)e.splice(o,1);else{let n=[...t.locations];s&&n.splice(s,1),t.locations=n,e.splice(o,1,t)}else e.splice(o,1);a(e)}else e.splice(o,1),a(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")},M=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"),a=r.closest("._refMasterTableBodyContent");t?(i&&i.classList.add("isChecked"),a&&a.classList.add("is-highlighted")):(i&&i.classList.remove("isChecked"),a&&a.classList.remove("is-highlighted")),r.checked=t}else{const t=Z("warning","No Products Selected");d&&d(t),e.target.checked=!1,y(!1)}E()},T=e=>{const t=e.target,n=t.checked,r=document.querySelectorAll("[name='checkbox-selectAll']"),i=t.closest(".cell-checkbox"),a=t.closest("._refMasterTableBodyContent");!n&&(null==r?void 0:r.length)&&r.forEach((e=>e.checked&&(e.checked=!1))),n?(i&&i.classList.add("isChecked"),a&&a.classList.add("is-highlighted")):(i&&i.classList.remove("isChecked"),a&&a.classList.remove("is-highlighted")),E()},N="stock"===C?66:82,O=(e,t,r,i,a,c,d)=>{const u=c||N,p=e=>{const t=document.getElementById("cur-key");document.querySelectorAll(".cell-editing").forEach((e=>e.classList.remove("cell-editing"))),t&&(t.innerHTML=""),e&&e()};let h;switch(t.fieldType){case"image":h=x.jsx(dv,{head:t,value:r,height:u,evOpenPopup:n,idx:e,variantIdx:a,evChange:j,resultPopup:o,setResultPopup:s,error:i,evCloseEditor:p});break;case"textarea":h=x.jsx(mv,{head:t,value:r,height:u,idx:e,variantIdx:a});break;case"select":h=t.bare?x.jsx(hv,{head:t,value:r,idx:e,variantIdx:a,evChange:j,error:i,content:d,isForceUpdate:g,setForceUpdate:f}):x.jsx(pv,{head:t,value:r,height:u,idx:e,variantIdx:a,evChange:j,error:i,evCloseEditor:p});break;case"tag":h=x.jsx(fv,{head:t,value:r,height:u,evOpenPopup:n,idx:e,variantIdx:a,evChange:j,resultPopup:o,setResultPopup:s,evCloseEditor:p});break;case"label":h=x.jsx(uv,{head:t,value:r,height:u,idx:e,evOpenPopup:n,content:d,type:l,variantIdx:a});break;case"switch":h=x.jsx(gv,{head:t,value:r,idx:e,variantIdx:a,evChange:j,evCloseEditor:p});break;case"date":h=t.bare?x.jsx(sv,{head:t,value:r,idx:e,variantIdx:a,evChange:j,error:i,isForceUpdate:g,setForceUpdate:f}):x.jsx(ov,{head:t,value:r,height:u,idx:e,variantIdx:a,evChange:j,error:i,evCloseEditor:p});break;default:h=t.bare?x.jsx(cv,{head:t,content:d,value:r,height:u,idx:e,variantIdx:a,evChange:j,error:i,type:l,isForceUpdate:g,setForceUpdate:f}):x.jsx(lv,{head:t,value:r,height:u,idx:e,variantIdx:a,evChange:j,error:i,evCloseEditor:p,content:d})}return h},L=e=>{const t=e.target.dataset.key||"",n=r.findIndex((e=>e.key===t));if(n>=0){const e=r[n],o=document.querySelector("[name='checkbox-selectAll']"),s=document.querySelectorAll("[name='checkbox-list']:checked"),l=!o.checked&&s.length?`Clear to selected products (${s.length})`:"Clear all products",d=q("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"===C){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}));a(e)}else if(!o.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)}}a(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}));a(e)}}),l);c&&c(d)}},_=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(o&&"edit"in o){const e=o.edit.key,t=o.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)}}a(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}));a(e)}s&&s(null)}}),[o,s,i,a,C,l,r]);const B=r.filter((e=>e.isMassEditable||e.isMassClearable)).length>0,R=(e,t,r,a,o,s)=>(null==e?void 0:e.length)?x.jsxs(Vb,{className:""+(s?"_refMasterTableHeaderClone":"_refMasterTableHeader"),style:{width:s&&o||"100%"},children:[x.jsxs($b,{children:[x.jsx("div",{className:"headerCell headerCell-Checkbox",style:{width:t},children:h?x.jsx(he,{onClick:M,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(ha,{width:"24px",src:e.icon,alt:e.name}):e.initial?x.jsx(Zx,{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(Se,{$name:"question",$width:"12px","data-tip":e.tip,"data-place":"top","data-multiline":!0})]})]},t+1)})),h?x.jsx("div",{className:"headerCell headerCell-trash",style:{width:r}},e.length+("picklist"===C?2:1)):null]}),B&&(null==i?void 0:i.length)?x.jsxs(qx,{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(ev,{children:[e.isMassEditable&&x.jsx(P,{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(P,{mode:"clear",title:"Bulk Clear","data-key":e.key,onClick:L,children:"Clear"})]})},t+1))),h?x.jsx("div",{className:"actionCell",style:{width:r}},e.length+("picklist"===C?2:1)):null]}):null]}):null;return console.log(i,"dataTable"),x.jsxs(x.Fragment,{children:[R(r,k,I,0,A,!0),x.jsxs(Gb,{children:[x.jsx(Wb,{children:x.jsx(Yb,{className:"_refMasterTableViewport",$mode:l||"create-master",children:x.jsxs(Hb,{className:"_refMasterTableCanvas",style:{width:A},children:[R(r,k,I),x.jsx(zb,{className:"_refMasterTableBody",children:(null==i?void 0:i.length)?"putaway-inbound"===l?x.jsx(iv,{data:i,heightContent:N,firstHeaderColumnsWidth:k,evCheckbox:T,headerColumns:r,switchEditor:O,totalColGroupWidth:S,lastHeaderColumnsWidth:I,evRemove:D,type:l,isRemovable:h}):x.jsx(av,{data:i,firstHeaderColumnsWidth:k,evCheckbox:T,headerColumns:r,switchEditor:O,lastHeaderColumnsWidth:I,evRemove:D,type:l,isRemovable:h}):null})]})})}),x.jsxs("section",{className:"_refContainer",children:[x.jsxs(Xx,{className:"_refMasterTableBulkWrapper",children:[x.jsx(Se,{className:"_refBulkCloseButton",$name:"cross",$width:"16px",onClick:e=>{e.persist(),_()}}),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[a,o]=Ge.useStateWithCallbackLazy(!1),[s,l]=Ge.useStateWithCallbackLazy(!1),[c,d]=Ge.useStateWithCallbackLazy(!1),u=e.useCallback((()=>{d(!c,(()=>{document.getElementsByTagName("BODY")[0].classList.remove("is-immuned"),i&&i()}))}),[i,d,c]),p=e.useCallback((()=>{u()}),[u]);return e.useEffect((()=>{const e=t||2e3,n=document.querySelector("._refMessageOverlay");return a||c?a&&c&&(o&&o(!a,(()=>{})),l&&l(!s,(()=>{})),n&&n.removeEventListener("click",p)):o(!a,(()=>{n&&n.addEventListener("click",p),setTimeout((()=>{l(!s,(()=>{setTimeout((()=>!s&&u()),e)}))}),1)})),()=>{n&&n.removeEventListener("click",p)}}),[a,s,t,u,o,l,p,c]),x.jsxs(He,{$isOpen:a,children:[x.jsx(Ve,{className:"_refMessageOverlay"}),x.jsx(ze,{children:x.jsx($e,{$isOpen:s,children:x.jsxs(Xe,{$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:a,cancelCallback:o})=>{const[s,l]=Ge.useStateWithCallbackLazy(!1),[c,d]=Ge.useStateWithCallbackLazy(!1),[u,p]=Ge.useStateWithCallbackLazy(!1),h=e.useCallback((()=>{p(!u,(()=>{o&&o();document.getElementsByTagName("BODY")[0].classList.remove("is-immuned")}))}),[o,u,p]),g=e.useCallback((()=>{h()}),[h]);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(He,{$isOpen:s,children:[x.jsx(Ve,{className:"_refQuestionMessageOverlay",$type:t}),x.jsx(ze,{$type:t,children:x.jsx($e,{$isOpen:c,children:x.jsxs(Xe,{$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:Ui(r)}),x.jsxs("aside",{children:[x.jsx(xe,{$mode:"white",$size:"small",onClick:h,children:"Cancel"}),x.jsx(xe,{$mode:"red",$size:"small",onClick:()=>{p(!u,(()=>{document.getElementsByTagName("BODY")[0].classList.remove("is-immuned"),i&&i()}))},children:a||"Confirm"})]})]})]})})})]})},exports.MultiPanelContainer=Ux,exports.MuteLabel=Vx,exports.NameLabel=cy,exports.PageButton=by,exports.PageDot=wy,exports.PageLabel=vy,exports.PageWrapper=yy,exports.PaginationContainer=xy,exports.PanelBody=Jx,exports.PanelContainer=Lx,exports.PanelWrapper=Px,exports.PopupAddProductContainer=db,exports.PopupBoxWrapper=Ky,exports.PopupCard=ub,exports.PopupComponent=t=>{var{children:n,body:r,mode:i,height:a,width:o,isOpen:s,evTooglePopup:c}=t,d=l(t,["children","body","mode","height","width","isOpen","evTooglePopup"]);const[u,p]=Ge.useStateWithCallbackLazy(!1),h=e.useRef(null),g=e.useCallback((e=>{ca=setTimeout((()=>{p(e,(()=>{const e=h&&h.current?h.current:null;e&&(e.scrollTop=0)})),clearTimeout(ca)}),1)}),[p]),f=e.useRef({init:()=>{g(s)}});e.useEffect((()=>{const{init:e}=f.current;return e(),()=>{clearTimeout(ca)}}),[]),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,w=(null==m?void 0:m.filter((t=>e.isValidElement(t)&&"foot"===t.props["aria-label"])))||null,C=(null==m?void 0:m.filter((t=>e.isValidElement(t)&&"left-foot"===t.props["aria-label"])))||null,k=b.length?x.jsx("aside",{children:b[0]&&e.isValidElement(b[0])?b[0].props.children:null}):null,I=y.length&&y[0]&&e.isValidElement(y[0])?y[0].props["data-qa-id"]:"";return x.jsxs(ea,{$isOpen:s,children:[x.jsx(ta,{}),x.jsx(na,Object.assign({ref:h},d["data-qa-id"]&&{"data-qa-id":d["data-qa-id"]},{children:"question"===i?x.jsx(ra,{$isOpen:u,children:x.jsxs(la,{$width:o,children:[x.jsx(Se,{$name:"warning",$width:"30px"}),x.jsxs(ia,{$mode:i,children:[y.length?x.jsx(aa,{children:y[0]&&e.isValidElement(y[0])?y[0].props.children:null}):null,k,w.length?x.jsx(sa,{children:w[0]&&e.isValidElement(w[0])?x.jsx("aside",{"data-type":w[0].props.type||"",children:w[0].props.children}):null}):null]})]})}):x.jsxs(x.Fragment,{children:[x.jsx(ia,{$width:o,$isOpen:u,$mode:i,children:y.length?x.jsxs(x.Fragment,{children:[x.jsx(xe,{$mode:"round-close",onClick:c}),x.jsx(aa,{"data-qa-id":I,children:y[0]&&e.isValidElement(y[0])&&y[0].props.children})]}):null}),x.jsxs(ra,{$width:o,$isOpen:u,$withHeader:!!y.length,children:[k,v.length?x.jsx(oa,{$mode:r,$width:o,$height:a,children:v[0]&&e.isValidElement(v[0])&&v[0].props.children}):null,w.length?x.jsxs(sa,{$isLeft:!!C.length,children:[x.jsx("aside",{children:C&&C.length&&C[0]&&e.isValidElement(C[0])?C[0].props.children:null}),w[0]&&e.isValidElement(w[0])?x.jsxs("aside",{"data-type":w[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"}),w[0].props.children]}):null]}):null]})]})}))]})},exports.PopupDownloadWrapper=eb,exports.PopupExportCardWrapper=pb,exports.RadioComponent=e=>{var{children:t,$mode:n,evChange:r}=e,i=l(e,["children","$mode","evChange"]);const{id:a}=i;return x.jsx(jb,{children:x.jsxs("label",{htmlFor:a,children:[x.jsx(Eb,Object.assign({type:"radio",id:a,$mode:n,onChange:e=>{r&&r(e)}},i)),x.jsx(Db,Object.assign({$mode:n},i["data-qa-id"]&&{"data-qa-id":i["data-qa-id"]},{children:t}))]})})},exports.RightPanelContainer=Kx,exports.SearchDropdownContainer=ib,exports.SearchFilterContainer=Ay,exports.SearchFormWrapper=ty,exports.SearchResultItem=sb,exports.SearchResultList=ob,exports.SearchResultWrapper=ab,exports.SearchWrapper=Sy,exports.SearchWrapperPopup=cb,exports.SelectComponent=rp,exports.SingleFormContainer=wv,exports.SortByWrapper=Yy,exports.SwitchComponent=Ob,exports.TableColumnGroup=oy,exports.TableHeadLabel=ny,exports.TableHeadWrapper=ry,exports.TableItemColumn=gy,exports.TableItemWrapper=fy,exports.TableLabel=ly,exports.TableRightGroup=ay,exports.TableRowGroup=iy,exports.TabsContainer=Fx,exports.TabsContent=Gx,exports.TabsHeader=dy,exports.TabsItem=uy,exports.TabsList=py,exports.TabsWrapper=hy,exports.TextAreaComponent=vp,exports.TextAreaRefComponent=wp,exports.TextComponent=v,exports.Title=Bx,exports.UploadComponent=e=>{var{children:t,mode:n}=e,r=l(e,["children","mode"]);const{id:i,width:a}=r;return"image"===n?x.jsxs(x.Fragment,{children:[t,x.jsx(up,Object.assign({},"data-idx"in r&&{"data-idx":r["data-idx"]},r["data-detail"]&&{"data-detail":r["data-detail"]},r))]}):x.jsxs(sp,{$width:a,children:[x.jsxs(lp,{htmlFor:i,children:[x.jsx(dp,{}),x.jsx(cp,{children:t})]}),x.jsx(up,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:a,evCreateMessage:o}=t,s=l(t,["children","id","name","evChange","evCreateMessage"]);const{accept:c}=s,[d,u]=e.useState(!1),p=e=>{e.preventDefault(),e.stopPropagation(),"dragenter"===e.type||"dragover"===e.type?u(!0):"dragleave"===e.type&&u(!1)};return x.jsxs(pp,{onDragEnter:p,className:d?"drag-active":"",children:[x.jsx(up,Object.assign({id:r,name:i,onChange:e=>{e.preventDefault();const t=e.target;t.files&&t.files[0]&&a&&a(t.files)}},s)),x.jsx(hp,{id:"label-file-dragdrop-upload",htmlFor:r,children:x.jsx(fp,{children:n?x.jsxs(xp,{children:[x.jsx(yp,{}),x.jsx("span",{children:n})]}):x.jsxs(mp,{children:["Drag & Drop file here to upload, or ",x.jsx("span",{children:"browse"}),"."]})})}),d&&x.jsx(gp,{onDragEnter:p,onDragLeave:p,onDragOver:p,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=Z("failed","File type is not allowed. Please check again");return o&&o(e),!1}}a&&a(e.dataTransfer.files)}}})]})},exports.boxBase=S,exports.capitalize=e=>e?e[0].toUpperCase()+e.substring(1):"",exports.clearList=w,exports.colorCommonQuantity=V,exports.colorStockAdjust=(e,t)=>e<t?"lightgreen":"red",exports.colorStockInboundQuantity=e=>["Inbounded","Incompleted","Putaway"].includes(e)?"lightgreen":"yellow",exports.colorStockInboundStatus=e=>{switch(e){case"inbounded":case"Inbounded":case"incompleted":case"Incompleted":case"Incomplete":case"putaway":case"Putaway":return"#21BA45";case"waiting-inbound":case"Waiting Inbound":case"partial-inbounded":case"Partial Inbounded":case"partial-putaway":case"Partial Putaway":return"#F8813E";default:return"#696969"}},exports.colorStockQuantity=(e,t)=>e===t?"lightgreen":"red",exports.colorStockStatus=e=>{switch(e){case"success":case"approved":case"putaway":case"adjusted":case"Adjusted":case"outbounded":case"Outbounded":return"#21BA45";case"waiting":case"waiting adjustment":case"Waiting Adjustment":case"waiting outbound":case"Waiting Outbound":return"#F8813E";default:return"#696969"}},exports.components=Mc,exports.configDateRange=Rv,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=$,exports.dropBase=j,exports.elipsis=k,exports.errorMessage=e=>"unique"===e?"already exists":"is required",exports.errorTitle=H,exports.evCheckAllValidation=e=>{let t=!1;for(let n=0;n<e.length;n++){const r=e[n],i=Object.keys(r);for(let e of i){if(Array.isArray(r[e]))for(let n=0;n<r[e].length;n++){const i=r[e][n],a=Object.keys(i);for(let e of a){if(Array.isArray(i[e]))for(let n=0;n<i[e].length;n++){const r=i[e][n],a=Object.keys(r);for(let e of a)if(-1===e.indexOf("_error")||t||(t=!0),t)break;if(t)break}else if(-1===e.indexOf("_error")||t||(t=!0),t)break;if(t)break}if(t)break}else if(-1===e.indexOf("_error")||t||(t=!0),t)break;if(t)break}}return t},exports.evExecuteError=e=>{const t=Z("failed","Validation Errors found, Please fix it!");e&&e(t);const n=document.querySelectorAll(".cell-error");n.length&&ne(n[0])},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.evHighlight=e=>{if(!(null==e?void 0:e.length))return;const t=10*Math.ceil(e.length/10)<=10?30:10*Math.ceil(e.length/10)>=200?200:10*Math.ceil(e.length/10);setTimeout((()=>{const t=document.querySelectorAll("._refMasterTableBodyContent.is-highlighted");if(null==t?void 0:t.length)for(const e of t)e.classList.remove("is-highlighted");for(let t=0;t<e.length;t++){const n=e[t],r=document.querySelector(`#row-${n}`);if(r&&(r.classList.add("is-highlighted"),setTimeout((()=>{r.classList.remove("is-highlighted")}),1888)),t===e.length-1){const t=document.querySelector(`#row-${e[0]}`);t&&ne(t,140)}}}),t)},exports.evKeyMapperScanner=e=>{var t=e.which;switch(!0){case t>=48&&t<=90:case t>=106&&t<=111||45===t||173===t||189===t:if(void 0!==e.key&&""!==e.key)return e.key;var n=String.fromCharCode(t);switch(e.shiftKey){case!1:n=n.toLowerCase();break;case!0:n=n.toUpperCase()}return n;case t>=96&&t<=105:return t-96+0}return""},exports.evScrollTo=ne,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=Z,exports.generateMessageQuestion=q,exports.generateValue=K,exports.generateValueTable=U,exports.getSizeContainer=J,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.historyType=e=>{if(!e)return"";switch(e){case"Transfer":return"ST";case"Adjustment":case"Adjustment (API)":case"Adjustment (Interface & Excel)":return"SA";case"Inbound":return"SI";case"Outbound":return"SOB";case"Return":return"RMA";case"Sales Order":return"SO";default:return""}},exports.multiElipsis=I,exports.pageMasterTable=Y,exports.removeStorage=e=>(localStorage.removeItem(e),sessionStorage.removeItem(e),!0),exports.responseWidth=C,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.statusColor=e=>{if(!e)return"";switch(e){case"Picked Up":case"Shipped":case"Delivered":case"Completed":return"green";case"Ready to Ship":case"Not Shipped":return"#F8813E";case"Pending Payment":return"red";default:return""}},exports.thirdElipsis=A,exports.typePage=e=>{if(!e)return"";switch(e){case"adjustment":case"inbound":case"outbound":return"stock";case"bundle":return"bundle";case"sales":return"sales";default:return""}},exports.unCamelCaseKeys=e=>Object.entries(e).reduce(((e,[t,n])=>(e[(e=>e.replace(/([a-z][A-Z])/g,(function(e){return e[0]+"_"+e[1].toLowerCase()})))(t)]=n,e)),{}),exports.unescapeHTML=te,exports.validateByApproveJs=ee;
3515
+ `,Yv=o.default.rect`
3516
+ ${({$width:e,$x:n})=>e?t.css`
3517
+ width: ${e}
3518
+ `:n?t.css`
3519
+ x: ${n}
3520
+ `:void 0}
3521
+ `,Hv=J().width,Vv=J().height,$v={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=zx,exports.BreadcrumbContainer=Yx,exports.BulkActionWrapper=Xx,exports.ButtonComponent=xe,exports.ButtonGroup=jy,exports.ButtonLabel=Cy,exports.CardContainer=Vy,exports.CardWrapper=$y,exports.CheckboxComponent=he,exports.CollapseContainer=my,exports.ContentLoaderAccountsList=()=>x.jsxs(Mv,{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(Mv,{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=Hv>=994?Hv>=1031&&Hv>=1031?Hv-100:Hv-60:994;const t=e-777,n=e-665,r=e-555,i=e-405,a=e-230;return x.jsx(Fv,{children:x.jsxs(Mv,{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:a,y:"15",rx:"2",ry:"2",width:140,height:"61"})]})})},exports.ContentLoaderAnalyticsMenu=()=>x.jsx(Mv,{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=Hv>=1336||Hv>=1112?400:300,r=32+n+12,i=Hv-n-85,a=t?Math.ceil((t-78)/70):0;return x.jsx(Lv,{children:x.jsxs(Mv,{speed:1,width:Hv,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(a)).map(((t,a)=>{const o=70*a+78;return x.jsxs(e.Fragment,{children:[x.jsx("rect",{x:32,y:o,rx:"2",ry:"2",width:n,height:"31"}),x.jsx("rect",{x:r,y:o,rx:"2",ry:"2",width:i,height:"31"})]},a)}))]})})},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,a=r-48-88-20,o=a+60+16,s="single"===t?1:Math.floor(i/64);let l=0;return x.jsx(Mv,{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:a,height:"14"}),x.jsx("rect",{x:"60",y:i,rx:"0",ry:"0",width:a,height:"14"}),x.jsx("rect",{x:o,y:r,rx:"0",ry:"0",width:"66",height:"14"}),x.jsx("rect",{x:o,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,a=r-32<=360?r-32:360,o=r-a-16,s=i-145,l="single"===e?1:Math.floor(s/76);let c=0;return x.jsx(Mv,{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":o,y:n,rx:"10",ry:"10",width:a,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,a="single"===t?65:r&&r.offsetHeight-204>=0?r.offsetHeight-204:0,o=i-48-88,s=o+60+16+22,l="single"===t?1:Math.floor(a/64);let c=0;return!(i<=0)&&x.jsx(Mv,{height:a,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,a=64+c;return c=a,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:o,height:"14"}),x.jsx("rect",{x:"78",y:i,rx:"0",ry:"0",width:o,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:a,rx:"0",ry:"0",width:"100%",height:"1"})]},n)}))})},exports.ContentLoaderChatStores=()=>x.jsxs(Mv,{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(Wv,{children:x.jsxs(Mv,{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(Mv,{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(Mv,{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(Mv,{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(Pv,{className:"_refLoadingList",children:x.jsxs(Mv,{speed:1,width:Hv,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:Hv-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:Hv-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:Hv-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:Hv-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:Hv-240,y:"200",rx:"2",ry:"2",width:"200",height:"31"})]})}),exports.ContentLoaderMasterBundleDetail=()=>{const e=Hv>=1336?540:Hv>=1112?320:250,t=e+30,n=150,r=t+n+15,i=80,a=r+i+15,o=150,s=a+o+15;return x.jsx(_v,{children:x.jsxs(Mv,{speed:1,width:Hv,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:a,y:"25",rx:"2",ry:"2",width:o,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:a,y:"60",rx:"2",ry:"2",width:o,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:a,y:"110",rx:"2",ry:"2",width:o,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:a,y:"160",rx:"2",ry:"2",width:o,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:a,y:"210",rx:"2",ry:"2",width:o,height:"30"}),x.jsx("rect",{x:s,y:"210",rx:"2",ry:"2",width:80,height:"30"})]})})},exports.ContentLoaderMasterDetail=()=>{const e=Hv-250,t=Hv-150,n=Hv-80,r=140,i=183,a=200,o=388,s=140,l=533,c=140,d=678,u=140,p=823,h=140;return x.jsx(Rv,{children:x.jsxs(Mv,{speed:1,width:Hv,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:a,height:"31"}),x.jsx("rect",{x:o,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:p,y:"320",rx:"2",ry:"2",width:h,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:a,height:"31"}),x.jsx("rect",{x:o,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:p,y:"370",rx:"2",ry:"2",width:h,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:a,height:"31"}),x.jsx("rect",{x:o,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:p,y:"420",rx:"2",ry:"2",width:h,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:a,height:"31"}),x.jsx("rect",{x:o,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:p,y:"470",rx:"2",ry:"2",width:h,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=Vv-286,n=Hv>=1336?370:Hv>=1112?250:150,r=29+n+12,i=Hv>=1336?130:Hv>=1112?110:100,a=r+i+12,o=Hv>=1336?100:95,s=a+o+12,l=Hv>=1336?90:80,c=s+l+12,d=Hv>=1336?85:75,u=c+d+12,p=Hv>=1336?80:70,h=u+p+12,g=Hv>=1336?70:60,f=h+g+12,m=Hv>=1336?95:85,y=Hv-100-24,b=Vv&&Math.ceil((t-78)/70)>0?Math.ceil((t-78)/70):0;let v=f+m+12,w=[];for(let e=0;v+122<y;e++)w.push({x:f+m+12+122*e,w:110}),v=f+m+12+122*e;return x.jsx(Lv,{children:x.jsxs(Mv,{speed:1,width:Hv,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:a,y:"23",rx:"2",ry:"2",width:o,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:p,height:"16"}),x.jsx("rect",{x:h,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"}),w.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:a,y:v,rx:"2",ry:"2",width:o,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:p,height:"31"}),x.jsx("rect",{x:h,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"}),w.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=Hv>=1336?645:Hv>=1112?400:300,t=e+45,n=e+90;return x.jsx(_v,{children:x.jsxs(Mv,{speed:1,width:Hv,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=window.innerWidth,n=t>=1336?150:t>=1112?110:100,r=29+n+12,i=t>=1336?120:t>=1112?110:100,a=r+i+12,o=t>=1336||t>=1112?110:105,s=a+o+12,l=t>=1336||t>=1112?140:130,c=s+l+12,d=t>=1336?130:t>=1112?120:100,u=c+d+12,p=t>=1336?115:t>=1112?105:100,h=u+p+12,g=t>=1336?150:t>=1112?110:100,f=t-150-24,m=Vv?Math.ceil((Vv-78)/70):0;let y=h+g+12,b=[];for(let e=0;y+122<f;e++)b.push({x:h+g+12+122*e,w:110}),y=h+g+12+122*e;return x.jsx(Lv,{className:"_refLoadingList",children:x.jsxs(Mv,{speed:1,width:t,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:a,y:"23",rx:"2",ry:"2",width:o,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:p,height:"16"}),x.jsx("rect",{x:h,y:"23",rx:"2",ry:"2",width:g,height:"16"}),b.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:f,y:"23",rx:"2",ry:"2",width:100,height:"16"}),Array.apply(0,Array(m)).map(((t,m)=>{const y=70*m+78;return x.jsxs(e.Fragment,{children:[x.jsx("rect",{x:29,y:y,rx:"2",ry:"2",width:n,height:"31"}),x.jsx("rect",{x:r,y:y,rx:"2",ry:"2",width:i,height:"31"}),x.jsx("rect",{x:a,y:y,rx:"2",ry:"2",width:o,height:"31"}),x.jsx("rect",{x:s,y:y,rx:"2",ry:"2",width:l,height:"31"}),x.jsx("rect",{x:c,y:y,rx:"2",ry:"2",width:d,height:"31"}),x.jsx("rect",{x:u,y:y,rx:"2",ry:"2",width:p,height:"31"}),x.jsx("rect",{x:h,y:y,rx:"2",ry:"2",width:g,height:"31"}),b.map(((t,n)=>x.jsx(e.Fragment,{children:x.jsx("rect",{x:t.x,y:y,rx:"2",ry:"2",width:t.w,height:"31"})},n))),x.jsx("rect",{x:f,y:y,rx:"2",ry:"2",width:100,height:"31"})]},m)}))]})})},exports.ContentLoaderNotifUpdate=()=>x.jsx(Mv,{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(Mv,{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(Mv,{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((Hv-110)/120),n=Math.floor((e-20)/50);return x.jsx(Pv,{children:x.jsx(Mv,{speed:1,width:Hv,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((Hv-110)/120);return x.jsx(Pv,{children:x.jsx(Mv,{speed:1,width:Hv,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=Hv-700,t=Hv-432,n=Hv-302,r=Hv-217,i=Hv-72,a=Hv-777,o=Hv-665,s=Hv-625,l=Hv-515,c=Hv-365,d=Hv-190,u=140,p=Hv-777,h=Hv-629,g=Hv-529,f=Hv-389,m=Hv-214;return x.jsx(Rv,{children:x.jsxs(Mv,{speed:1,width:Hv,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:p,height:"61"}),x.jsx("rect",{x:h,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:a,height:"31"}),x.jsx("rect",{x:o,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:a,height:"31"}),x.jsx("rect",{x:o,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=Hv-600,n=Hv-405,r=120,i=Hv-275,a=Hv-190,o=140,s=Hv-45,l=Hv-18,c=Hv-777,d=Hv-665,u=Hv-625,p=Hv-515,h=140,g=Hv-365,f=160,m=Hv-190,y=140;return x.jsxs(Nv,{children:[x.jsx(Ov,{children:x.jsxs(Mv,{speed:1,width:Hv,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:a,y:"15",rx:"2",ry:"2",width:o,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:p,y:"127",rx:"2",ry:"2",width:h,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(Ov,{children:x.jsxs(Mv,{speed:1,width:Hv,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:a,y:"15",rx:"2",ry:"2",width:o,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:p,y:"127",rx:"2",ry:"2",width:h,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(Ov,{children:x.jsxs(Mv,{speed:1,width:Hv,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:a,y:"15",rx:"2",ry:"2",width:o,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:p,y:"127",rx:"2",ry:"2",width:h,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(Ov,{children:x.jsxs(Mv,{speed:1,width:Hv,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:a,y:"15",rx:"2",ry:"2",width:o,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:p,y:"127",rx:"2",ry:"2",width:h,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(Ov,{children:x.jsxs(Mv,{speed:1,width:Hv,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:a,y:"15",rx:"2",ry:"2",width:o,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:p,y:"127",rx:"2",ry:"2",width:h,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.ContentLoaderPOSCategory=()=>{const e=Math.floor(31*Math.random())+50;return x.jsx(Mv,{height:30,width:e,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:"4",ry:"4",width:"100%",height:"30"})})},exports.ContentLoaderPOSItem=()=>x.jsxs(Mv,{height:116,width:"100%",speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:[x.jsx(Yv,{$width:"calc(100% - 20px)",x:"10",y:"10",rx:"0",ry:"0",height:"16"}),x.jsx("rect",{x:"10",y:"35",rx:"0",ry:"0",width:"75%",height:"16"}),x.jsx(Yv,{$width:"calc(100% - 20px)",x:"10",y:"63",rx:"0",ry:"0",height:"16"}),x.jsx(Yv,{$x:"calc(50% - 30px)",y:"95",rx:"4",ry:"4",width:"60px",height:"16"})]}),exports.ContentLoaderPOSStore=()=>x.jsxs(Mv,{height:105,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:"100%",height:"20"}),x.jsx("rect",{x:"0",y:"50",rx:"0",ry:"0",width:"180px",height:"16"}),x.jsx("rect",{x:"0",y:"90",rx:"0",ry:"0",width:"100px",height:"14"})]}),exports.ContentLoaderPagination=()=>{const e=Hv/2,t=e-160,n=e-128,r=e-96,i=e-64,a=e-32,o=e+0,s=e+32,l=e+64,c=e+96,d=e+128;return x.jsx(Bv,{className:"_refLoadingPage",children:x.jsxs(Mv,{speed:1,width:Hv,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:a,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: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(Mv,{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(Mv,{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(Mv,{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(Gv,{children:x.jsxs(Mv,{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(Gv,{children:x.jsxs(Mv,{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(Gv,{children:x.jsxs(Mv,{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(Gv,{children:x.jsxs(Mv,{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(Gv,{children:x.jsxs(Mv,{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(Gv,{children:x.jsx(Mv,{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(Mv,{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(Wv,{children:x.jsxs(Mv,{speed:1,width:Hv,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(Mv,{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=Vv-96,t=Math.floor((Hv-110)/120),n=Math.floor((e-20)/50);return x.jsx(Pv,{children:x.jsx(Mv,{speed:1,width:Hv,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.CreateContainer=tb,exports.CreateHeaderWrapper=nb,exports.CreateToolWrapper=rb,exports.DateComponent=Tb,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(Nb,{children:e?x.jsxs(x.Fragment,{children:[x.jsx("span",{children:t}),x.jsx("span",{children:n})]}):"-"})},exports.DateWrapper=Ny,exports.DetailItem=Qy,exports.DetailItemAction=Zy,exports.DetailItemInfo=qy,exports.DetailItemTitle=Xy,exports.DetailItemWrapper=Jy,exports.DetailList=zy,exports.DetailPanelWrapper=Uy,exports.DetailWrapper=Hy,exports.DropDownComponent=t=>{var{children:n,title:r,subTitle:i,$externalWidth:a,$externalMinWidth:o,$internalWidth:s,$area:c,$openPosition:d,$placement:u,$top:p,onClick:h,$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),w=()=>{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"),r=t.left+t.width-e.getBoundingClientRect().width;n.style.left=(r>0?r:t.left)+"px",n.style.top=t.top+parseInt(p||"0")-32+"px"}}},C=()=>{const e=document.getElementsByClassName("_refContainer is-shown"),t=document.getElementsByTagName("BODY")[0];if(e.length){t.classList.remove("is-immuned");for(let t=0;t<e.length;t++){e[t].querySelector("._refDropdownOverlay").style.display="none",e[t].classList.remove("is-shown")}}const n=document.querySelector("._refScrollContainer");n&&n.removeEventListener("scroll",w,!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)},k=e=>{const t=v.current;if(t){const n=e.target.closest(`.${t.classList[0]}`);if(!n)return;const r=n.closest("._refContainer"),i=document.getElementsByTagName("BODY")[0];if(r){const t=r.querySelector("._refDropdownOverlay"),n=r.classList.contains("is-shown"),a=r.getBoundingClientRect();n?(t.style.display="none",i.classList.remove("is-immuned"),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",w,!0))}}),10)):(C(),t.style.display="block",i.classList.add("is-immuned"),r.classList.add("is-shown"),setTimeout((()=>{if(m){const e=document.querySelector(`#${m} ._refDropdownPortal`),t=document.querySelector("._refScrollContainer"),n=e.querySelector("._refDropdownWrapper");e&&(a&&(n?setTimeout((()=>{n.style.right="auto";const r=a.left+a.width-n.getBoundingClientRect().width;e.style.left=(r>0?r:a.left)+"px",e.style.top=a.top+parseInt(p||"0")-32+"px",e.style.zIndex="8",t&&t.addEventListener("scroll",w,!0)}),10):(e.style.left=a.left+(parseInt(s||"0")+a.width)/2+"px",e.style.top=a.top+a.height+"px")),e.classList.add("is-shown"))}}),10),h&&h(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 I=i?x.jsx(Le,{children:i}):null,A=r?x.jsxs(Oe,{children:[r," ",I]}):null,S=n.filter((t=>e.isValidElement(t)?"control"===t.props["aria-label"]:null)),j=S&&e.isValidElement(S[0])?"hover"===f?x.jsxs(Te,{children:[x.jsx(Me,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:S[0].props.children})),x.jsx(Me,{className:"_refDropdownControlMobile",ref:v,onClick:k,children:S[0].props.children})]}):x.jsx(Me,{ref:v,onClick:k,children:S[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(_e,{$area:c,children:D[0].props.children}):null,M=n.filter((t=>e.isValidElement(t)?"action"===t.props["aria-label"]:null)),T=M&&e.isValidElement(M[0])?x.jsx(Pe,{$position:M[0].props["data-position"],className:M[0].props.className,children:M[0].props.children}):null,N=x.jsxs(De,Object.assign({className:"_refDropdownWrapper"},s&&{$internalWidth:s},p&&{$top:p},d&&{$openPosition:d},u&&{$placement:u},y&&{$bottom:y},{children:[A,E,T]}));return x.jsxs(Ne,Object.assign({className:"_refContainer "+(f?`_refContainer${f}`:"")},a&&{$externalWidth:a},o&&{$externalMinWidth:o},c&&{$area:c},p&&{$top:p},g&&{$alias:g},d&&{$openPosition:d},u&&{$placement:u},y&&{$bottom:y},b,{children:[j,x.jsx(Ee,{className:"_refDropdownOverlay",onClick:()=>{C()}}),m?x.jsx(je,{wrapperId:m,children:x.jsx(Be,{className:"_refDropdownPortal "+("hover"===f?"_refHover":""),children:N})}):N]}))},exports.DropdownAction=Py,exports.DropdownItem=_y,exports.DropdownList=Ly,exports.DropdownTitle=Oy,exports.ErrorComponent=ap,exports.FigureWraper=Qx,exports.FilterButton=Gy,exports.FilterContainer=Iy,exports.FilterItem=Ry,exports.FilterList=By,exports.FilterListTitle=Fy,exports.FilterWrapper=Dy,exports.FoContainer=Wx,exports.FormContainer=Sv,exports.HeaderContainer=Lx,exports.IconComponent=Se,exports.IconDot=Wy,exports.ImageComponent=ha,exports.InfoGroup=Hx,exports.InitialContainer=Zx,exports.InputComponent=se,exports.InputGroup=$x,exports.InputRefComponent=le,exports.IsNumeric=X,exports.ItemPriceLabel=sy,exports.ItemTable=My,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.LeftPanelContainer=Kx,exports.LinkComponent=P,exports.LinkContainer=ky,exports.ListAddItemContainer=lb,exports.ListComponent=e=>{var{children:t,$mode:n,$selected:r,$type:i}=e,a=l(e,["children","$mode","$selected","$type"]);return x.jsx(Iv,Object.assign({$mode:n,$selected:r,$type:i},a,{children:t}))},exports.ListContainer=Rx,exports.ListTable=Ty,exports.ListTableContainer=Ey,exports.LoadingComponent=ke,exports.MasterTableActionWrapper=qx,exports.MasterTableComponent=t=>{const{evOpenPopup:n,headerColumns:r,data:i,setData:a,resultPopup:o,setResultPopup:s,type:l,evCreateMessageQuestion:c,evCreateMessage:d,autoCopy:u,setAutoCopy:p,isRemovable:h=!0,isForceUpdate:g,setForceUpdate:f}=t,[m,y]=e.useState(!1),[b,w]=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 C=Y(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,a=!1;t&&t.addEventListener("scroll",(e=>{const o=t.offsetWidth-t.clientWidth,s=t.scrollLeft;i!==o&&(n.style.width=parseInt(n.style.width)+o+"px"),a||(window.requestAnimationFrame((()=>{r!==s&&(n.style.left="-"+s+"px"),a=!1,r=s})),a=!0),i=o}),{passive:!0}),e.innerHTML="true"}}),[i]);const k=55,I=h?55:0;let A=0,S=0;for(const e of r.filter((e=>!(null==e?void 0:e.isHidden))))"colGroup"===e.type&&(S+=e.width),A+=e.width;A+=k+I+1,S+=k;const j=(e,t,n,r)=>{const o="category"===(null==e?void 0:e.condition)?"Array":e.typeData||"String",s=K(o,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],o=t[n];if(r&&r>=0)if("putaway-inbound"===l){let t=o.locations[r];const n=e.key.replace("locations-","");t[n]=s,c.approved?delete t[n+"_error"]:t[n+"_error"]=c.errors[0],o.locations.splice(r,1,t)}else{let t=o.variants[r];const n=e.key.replace("variants-",""),i=o.variants.length;if("options-option"===n||"options-type"===n){const a=-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=o.variants[t];if(n.options[a][l]=s,`${l}_error`in n.options[a]&&delete n.options[a][`${l}_error`],n.options.length>1){const e=0===a?1:0;`${l}_error`in n.options[e]&&delete n.options[e][`${l}_error`],s.toLowerCase()===n.options[e].type.toLowerCase()&&(n.options[a][`${l}_error`]="Variant type is duplicate")}e.push(n)}o.variants=e}else t.options[a][l]=s,c.approved?delete t.options[a][l+"_error"]:t.options[a][l+"_error"]=c.errors[0],o.variants.splice(r,1,t)}else t[n]=s,c.approved?delete t[n+"_error"]:t[n+"_error"]=c.errors[0],o.variants.splice(r,1,t)}else if("category"===(null==e?void 0:e.condition)){if(-1!==e.key.indexOf("listing")&&o.listing){const t=o.listing.findIndex((t=>t.accountId===e.value));if(t>=0){let n=[...o.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),o.listing=n}}}else o[e.key]=s,c.approved?delete o[e.key+"_error"]:o[e.key+"_error"]=c.errors[0];t.splice(n,1,o),a(t),e.bare&&c.approved&&f&&f(!0)}},D=e=>{const t=e.target,n=q("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]),a=t.category,o=r.reduce(((e,t,n)=>e.concat(t.category===a?n:[])),[]);if(o.length)for(const e of o)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)}}}p&&p(r),b&&w(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 o=e.filter(((e,t)=>-1===i.indexOf(t)));"listing"===C?(n(i),a(o,(e=>r(e)))):a(o),_()}else{const i=t.closest(".cell-trash"),o=i.dataset.idx?parseInt(i.dataset.idx):null,s=i.dataset.row?parseInt(i.dataset.row):null;if(null!==o)if("listing"===C)n([o]),e.splice(o,1),a(e,(e=>r(e)));else if("master"===C){let t=Object.assign({},e[o]);if(null==t?void 0:t.variants)if(1===t.variants.length)e.splice(o,1);else{let n=[...t.variants];s&&n.splice(s,1),t.variants=n,e.splice(o,1,t)}else e.splice(o,1);a(e)}else if("putaway-inbound"===l){let t=Object.assign({},e[o]);if(null==t?void 0:t.locations)if(1===t.locations.length)e.splice(o,1);else{let n=[...t.locations];s&&n.splice(s,1),t.locations=n,e.splice(o,1,t)}else e.splice(o,1);a(e)}else e.splice(o,1),a(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")},M=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"),a=r.closest("._refMasterTableBodyContent");t?(i&&i.classList.add("isChecked"),a&&a.classList.add("is-highlighted")):(i&&i.classList.remove("isChecked"),a&&a.classList.remove("is-highlighted")),r.checked=t}else{const t=Z("warning","No Products Selected");d&&d(t),e.target.checked=!1,y(!1)}E()},T=e=>{const t=e.target,n=t.checked,r=document.querySelectorAll("[name='checkbox-selectAll']"),i=t.closest(".cell-checkbox"),a=t.closest("._refMasterTableBodyContent");!n&&(null==r?void 0:r.length)&&r.forEach((e=>e.checked&&(e.checked=!1))),n?(i&&i.classList.add("isChecked"),a&&a.classList.add("is-highlighted")):(i&&i.classList.remove("isChecked"),a&&a.classList.remove("is-highlighted")),E()},N="stock"===C?66:82,O=(e,t,r,i,a,c,d)=>{const u=c||N,p=e=>{const t=document.getElementById("cur-key");document.querySelectorAll(".cell-editing").forEach((e=>e.classList.remove("cell-editing"))),t&&(t.innerHTML=""),e&&e()};let h;switch(t.fieldType){case"image":h=x.jsx(mv,{head:t,value:r,height:u,evOpenPopup:n,idx:e,variantIdx:a,evChange:j,resultPopup:o,setResultPopup:s,error:i,evCloseEditor:p});break;case"textarea":h=x.jsx(Cv,{head:t,value:r,height:u,idx:e,variantIdx:a});break;case"select":h=t.bare?x.jsx(bv,{head:t,value:r,idx:e,variantIdx:a,evChange:j,error:i,content:d,isForceUpdate:g,setForceUpdate:f}):x.jsx(yv,{head:t,value:r,height:u,idx:e,variantIdx:a,evChange:j,error:i,evCloseEditor:p});break;case"tag":h=x.jsx(wv,{head:t,value:r,height:u,evOpenPopup:n,idx:e,variantIdx:a,evChange:j,resultPopup:o,setResultPopup:s,evCloseEditor:p});break;case"label":h=x.jsx(xv,{head:t,value:r,height:u,idx:e,evOpenPopup:n,content:d,type:l,variantIdx:a});break;case"switch":h=x.jsx(vv,{head:t,value:r,idx:e,variantIdx:a,evChange:j,evCloseEditor:p});break;case"date":h=t.bare?x.jsx(hv,{head:t,value:r,idx:e,variantIdx:a,evChange:j,error:i,isForceUpdate:g,setForceUpdate:f}):x.jsx(pv,{head:t,value:r,height:u,idx:e,variantIdx:a,evChange:j,error:i,evCloseEditor:p});break;default:h=t.bare?x.jsx(fv,{head:t,content:d,value:r,height:u,idx:e,variantIdx:a,evChange:j,error:i,type:l,isForceUpdate:g,setForceUpdate:f}):x.jsx(gv,{head:t,value:r,height:u,idx:e,variantIdx:a,evChange:j,error:i,evCloseEditor:p,content:d})}return h},L=e=>{const t=e.target.dataset.key||"",n=r.findIndex((e=>e.key===t));if(n>=0){const e=r[n],o=document.querySelector("[name='checkbox-selectAll']"),s=document.querySelectorAll("[name='checkbox-list']:checked"),l=!o.checked&&s.length?`Clear to selected products (${s.length})`:"Clear all products",d=q("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"===C){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}));a(e)}else if(!o.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)}}a(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}));a(e)}}),l);c&&c(d)}},_=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(o&&"edit"in o){const e=o.edit.key,t=o.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)}}a(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}));a(e)}s&&s(null)}}),[o,s,i,a,C,l,r]);const B=r.filter((e=>e.isMassEditable||e.isMassClearable)).length>0,R=(e,t,r,a,o,s)=>(null==e?void 0:e.length)?x.jsxs(Qb,{className:""+(s?"_refMasterTableHeaderClone":"_refMasterTableHeader"),style:{width:s&&o||"100%"},children:[x.jsxs(Jb,{children:[x.jsx("div",{className:"headerCell headerCell-Checkbox",style:{width:t},children:h?x.jsx(he,{onClick:M,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(ha,{width:"24px",src:e.icon,alt:e.name}):e.initial?x.jsx(Zx,{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(Se,{$name:"question",$width:"12px","data-tip":e.tip,"data-place":"top","data-multiline":!0})]})]},t+1)})),h?x.jsx("div",{className:"headerCell headerCell-trash",style:{width:r}},e.length+("picklist"===C?2:1)):null]}),B&&(null==i?void 0:i.length)?x.jsxs(qx,{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(ov,{children:[e.isMassEditable&&x.jsx(P,{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(P,{mode:"clear",title:"Bulk Clear","data-key":e.key,onClick:L,children:"Clear"})]})},t+1))),h?x.jsx("div",{className:"actionCell",style:{width:r}},e.length+("picklist"===C?2:1)):null]}):null]}):null;return console.log(i,"dataTable"),x.jsxs(x.Fragment,{children:[R(r,k,I,0,A,!0),x.jsxs(zb,{children:[x.jsx(Xb,{children:x.jsx(Zb,{className:"_refMasterTableViewport",$mode:l||"create-master",children:x.jsxs(qb,{className:"_refMasterTableCanvas",style:{width:A},children:[R(r,k,I),x.jsx(Ub,{className:"_refMasterTableBody",children:(null==i?void 0:i.length)?"putaway-inbound"===l?x.jsx(dv,{data:i,heightContent:N,firstHeaderColumnsWidth:k,evCheckbox:T,headerColumns:r,switchEditor:O,totalColGroupWidth:S,lastHeaderColumnsWidth:I,evRemove:D,type:l,isRemovable:h}):x.jsx(uv,{data:i,firstHeaderColumnsWidth:k,evCheckbox:T,headerColumns:r,switchEditor:O,lastHeaderColumnsWidth:I,evRemove:D,type:l,isRemovable:h}):null})]})})}),x.jsxs("section",{className:"_refContainer",children:[x.jsxs(Xx,{className:"_refMasterTableBulkWrapper",children:[x.jsx(Se,{className:"_refBulkCloseButton",$name:"cross",$width:"16px",onClick:e=>{e.persist(),_()}}),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[a,o]=Ge.useStateWithCallbackLazy(!1),[s,l]=Ge.useStateWithCallbackLazy(!1),[c,d]=Ge.useStateWithCallbackLazy(!1),u=e.useCallback((()=>{d(!c,(()=>{document.getElementsByTagName("BODY")[0].classList.remove("is-immuned"),i&&i()}))}),[i,d,c]),p=e.useCallback((()=>{u()}),[u]);return e.useEffect((()=>{const e=t||2e3,n=document.querySelector("._refMessageOverlay");return a||c?a&&c&&(o&&o(!a,(()=>{})),l&&l(!s,(()=>{})),n&&n.removeEventListener("click",p)):o(!a,(()=>{n&&n.addEventListener("click",p),setTimeout((()=>{l(!s,(()=>{setTimeout((()=>!s&&u()),e)}))}),1)})),()=>{n&&n.removeEventListener("click",p)}}),[a,s,t,u,o,l,p,c]),x.jsxs(He,{$isOpen:a,children:[x.jsx(Ve,{className:"_refMessageOverlay"}),x.jsx(ze,{children:x.jsx($e,{$isOpen:s,children:x.jsxs(Xe,{$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:a,cancelCallback:o})=>{const[s,l]=Ge.useStateWithCallbackLazy(!1),[c,d]=Ge.useStateWithCallbackLazy(!1),[u,p]=Ge.useStateWithCallbackLazy(!1),h=e.useCallback((()=>{p(!u,(()=>{o&&o();document.getElementsByTagName("BODY")[0].classList.remove("is-immuned")}))}),[o,u,p]),g=e.useCallback((()=>{h()}),[h]);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(He,{$isOpen:s,children:[x.jsx(Ve,{className:"_refQuestionMessageOverlay",$type:t}),x.jsx(ze,{$type:t,children:x.jsx($e,{$isOpen:c,children:x.jsxs(Xe,{$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:Ui(r)}),x.jsxs("aside",{children:[x.jsx(xe,{$mode:"white",$size:"small",onClick:h,children:"Cancel"}),x.jsx(xe,{$mode:"red",$size:"small",onClick:()=>{p(!u,(()=>{document.getElementsByTagName("BODY")[0].classList.remove("is-immuned"),i&&i()}))},children:a||"Confirm"})]})]})]})})})]})},exports.MultiPanelContainer=Ux,exports.MuteLabel=Vx,exports.NameLabel=cy,exports.NavChildItem=xb,exports.NavList=gb,exports.NavMainItem=fb,exports.NavMainItemWrapper=mb,exports.NavMobileOverlay=hb,exports.PageButton=by,exports.PageDot=wy,exports.PageLabel=vy,exports.PageWrapper=yy,exports.PaginationContainer=xy,exports.PanelBody=Jx,exports.PanelContainer=Bx,exports.PanelWrapper=Px,exports.PopupAddProductContainer=db,exports.PopupBoxWrapper=Ky,exports.PopupCard=ub,exports.PopupComponent=t=>{var{children:n,body:r,mode:i,height:a,width:o,isOpen:s,evTooglePopup:c}=t,d=l(t,["children","body","mode","height","width","isOpen","evTooglePopup"]);const[u,p]=Ge.useStateWithCallbackLazy(!1),h=e.useRef(null),g=e.useCallback((e=>{ca=setTimeout((()=>{p(e,(()=>{const e=h&&h.current?h.current:null;e&&(e.scrollTop=0)})),clearTimeout(ca)}),1)}),[p]),f=e.useRef({init:()=>{g(s)}});e.useEffect((()=>{const{init:e}=f.current;return e(),()=>{clearTimeout(ca)}}),[]),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,w=(null==m?void 0:m.filter((t=>e.isValidElement(t)&&"foot"===t.props["aria-label"])))||null,C=(null==m?void 0:m.filter((t=>e.isValidElement(t)&&"left-foot"===t.props["aria-label"])))||null,k=b.length?x.jsx("aside",{children:b[0]&&e.isValidElement(b[0])?b[0].props.children:null}):null,I=y.length&&y[0]&&e.isValidElement(y[0])?y[0].props["data-qa-id"]:"";return x.jsxs(ea,{$isOpen:s,children:[x.jsx(ta,{}),x.jsx(na,Object.assign({ref:h},d["data-qa-id"]&&{"data-qa-id":d["data-qa-id"]},{children:"question"===i?x.jsx(ra,{$isOpen:u,children:x.jsxs(la,{$width:o,children:[x.jsx(Se,{$name:"warning",$width:"30px"}),x.jsxs(ia,{$mode:i,children:[y.length?x.jsx(aa,{children:y[0]&&e.isValidElement(y[0])?y[0].props.children:null}):null,k,w.length?x.jsx(sa,{children:w[0]&&e.isValidElement(w[0])?x.jsx("aside",{"data-type":w[0].props.type||"",children:w[0].props.children}):null}):null]})]})}):x.jsxs(x.Fragment,{children:[x.jsx(ia,{$width:o,$isOpen:u,$mode:i,children:y.length?x.jsxs(x.Fragment,{children:[x.jsx(xe,{$mode:"round-close",onClick:c}),x.jsx(aa,{"data-qa-id":I,children:y[0]&&e.isValidElement(y[0])&&y[0].props.children})]}):null}),x.jsxs(ra,{$width:o,$isOpen:u,$withHeader:!!y.length,children:[k,v.length?x.jsx(oa,{$mode:r,$width:o,$height:a,children:v[0]&&e.isValidElement(v[0])&&v[0].props.children}):null,w.length?x.jsxs(sa,{$isLeft:!!C.length,children:[x.jsx("aside",{children:C&&C.length&&C[0]&&e.isValidElement(C[0])?C[0].props.children:null}),w[0]&&e.isValidElement(w[0])?x.jsxs("aside",{"data-type":w[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"}),w[0].props.children]}):null]}):null]})]})}))]})},exports.PopupDownloadWrapper=eb,exports.PopupExportCardWrapper=pb,exports.RadioComponent=e=>{var{children:t,$mode:n,evChange:r}=e,i=l(e,["children","$mode","evChange"]);const{id:a}=i;return x.jsx(Ob,{children:x.jsxs("label",{htmlFor:a,children:[x.jsx(_b,Object.assign({type:"radio",id:a,$mode:n,onChange:e=>{r&&r(e)}},i)),x.jsx(Lb,Object.assign({$mode:n},i["data-qa-id"]&&{"data-qa-id":i["data-qa-id"]},{children:t}))]})})},exports.RightPanelContainer=ey,exports.SearchDropdownContainer=ib,exports.SearchFilterContainer=Ay,exports.SearchFormWrapper=ty,exports.SearchResultItem=sb,exports.SearchResultList=ob,exports.SearchResultWrapper=ab,exports.SearchWrapper=Sy,exports.SearchWrapperPopup=cb,exports.SelectComponent=rp,exports.SingleFormContainer=jv,exports.SortByWrapper=Yy,exports.SwitchComponent=Fb,exports.TableColumnGroup=oy,exports.TableHeadLabel=ny,exports.TableHeadWrapper=ry,exports.TableItemColumn=gy,exports.TableItemWrapper=fy,exports.TableLabel=ly,exports.TableRightGroup=ay,exports.TableRowGroup=iy,exports.TabsContainer=Fx,exports.TabsContent=Gx,exports.TabsHeader=dy,exports.TabsItem=uy,exports.TabsList=py,exports.TabsWrapper=hy,exports.TextAreaComponent=vp,exports.TextAreaRefComponent=wp,exports.TextComponent=v,exports.Title=_x,exports.TotalLabel=yb,exports.UploadComponent=e=>{var{children:t,mode:n}=e,r=l(e,["children","mode"]);const{id:i,width:a}=r;return"image"===n?x.jsxs(x.Fragment,{children:[t,x.jsx(up,Object.assign({},"data-idx"in r&&{"data-idx":r["data-idx"]},r["data-detail"]&&{"data-detail":r["data-detail"]},r))]}):x.jsxs(sp,{$width:a,children:[x.jsxs(lp,{htmlFor:i,children:[x.jsx(dp,{}),x.jsx(cp,{children:t})]}),x.jsx(up,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:a,evCreateMessage:o}=t,s=l(t,["children","id","name","evChange","evCreateMessage"]);const{accept:c}=s,[d,u]=e.useState(!1),p=e=>{e.preventDefault(),e.stopPropagation(),"dragenter"===e.type||"dragover"===e.type?u(!0):"dragleave"===e.type&&u(!1)};return x.jsxs(pp,{onDragEnter:p,className:d?"drag-active":"",children:[x.jsx(up,Object.assign({id:r,name:i,onChange:e=>{e.preventDefault();const t=e.target;t.files&&t.files[0]&&a&&a(t.files)}},s)),x.jsx(hp,{id:"label-file-dragdrop-upload",htmlFor:r,children:x.jsx(fp,{children:n?x.jsxs(xp,{children:[x.jsx(yp,{}),x.jsx("span",{children:n})]}):x.jsxs(mp,{children:["Drag & Drop file here to upload, or ",x.jsx("span",{children:"browse"}),"."]})})}),d&&x.jsx(gp,{onDragEnter:p,onDragLeave:p,onDragOver:p,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=Z("failed","File type is not allowed. Please check again");return o&&o(e),!1}}a&&a(e.dataTransfer.files)}}})]})},exports.abbreviateNumber=e=>{let t="";if(void 0!==e&&(t=e.toString(),e>=1e3)){const n=["","k","m","b","t"],r=Math.floor((""+e).length/3);let i;for(let t=2;t>=1;t--){i=parseFloat((0!==r?e/Math.pow(1e3,r):e).toPrecision(t));if((i+"").replace(/[^a-zA-Z 0-9]+/g,"").length<=2)break}t=i+n[r]}return t},exports.boxBase=S,exports.capitalize=e=>e?e[0].toUpperCase()+e.substring(1):"",exports.clearList=w,exports.colorCommonQuantity=V,exports.colorStockAdjust=(e,t)=>e<t?"lightgreen":"red",exports.colorStockInboundQuantity=e=>["Inbounded","Incompleted","Putaway"].includes(e)?"lightgreen":"yellow",exports.colorStockInboundStatus=e=>{switch(e){case"inbounded":case"Inbounded":case"incompleted":case"Incompleted":case"Incomplete":case"putaway":case"Putaway":return"#21BA45";case"waiting-inbound":case"Waiting Inbound":case"partial-inbounded":case"Partial Inbounded":case"partial-putaway":case"Partial Putaway":return"#F8813E";default:return"#696969"}},exports.colorStockQuantity=(e,t)=>e===t?"lightgreen":"red",exports.colorStockStatus=e=>{switch(e){case"success":case"approved":case"putaway":case"adjusted":case"Adjusted":case"outbounded":case"Outbounded":return"#21BA45";case"waiting":case"waiting adjustment":case"Waiting Adjustment":case"waiting outbound":case"Waiting Outbound":return"#F8813E";default:return"#696969"}},exports.components=Mc,exports.configDateRange=$v,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=$,exports.dropBase=j,exports.elipsis=k,exports.errorMessage=e=>"unique"===e?"already exists":"is required",exports.errorTitle=H,exports.evCheckAllValidation=e=>{let t=!1;for(let n=0;n<e.length;n++){const r=e[n],i=Object.keys(r);for(let e of i){if(Array.isArray(r[e]))for(let n=0;n<r[e].length;n++){const i=r[e][n],a=Object.keys(i);for(let e of a){if(Array.isArray(i[e]))for(let n=0;n<i[e].length;n++){const r=i[e][n],a=Object.keys(r);for(let e of a)if(-1===e.indexOf("_error")||t||(t=!0),t)break;if(t)break}else if(-1===e.indexOf("_error")||t||(t=!0),t)break;if(t)break}if(t)break}else if(-1===e.indexOf("_error")||t||(t=!0),t)break;if(t)break}}return t},exports.evExecuteError=e=>{const t=Z("failed","Validation Errors found, Please fix it!");e&&e(t);const n=document.querySelectorAll(".cell-error");n.length&&ne(n[0])},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.evHighlight=e=>{if(!(null==e?void 0:e.length))return;const t=10*Math.ceil(e.length/10)<=10?30:10*Math.ceil(e.length/10)>=200?200:10*Math.ceil(e.length/10);setTimeout((()=>{const t=document.querySelectorAll("._refMasterTableBodyContent.is-highlighted");if(null==t?void 0:t.length)for(const e of t)e.classList.remove("is-highlighted");for(let t=0;t<e.length;t++){const n=e[t],r=document.querySelector(`#row-${n}`);if(r&&(r.classList.add("is-highlighted"),setTimeout((()=>{r.classList.remove("is-highlighted")}),1888)),t===e.length-1){const t=document.querySelector(`#row-${e[0]}`);t&&ne(t,140)}}}),t)},exports.evKeyMapperScanner=e=>{var t=e.which;switch(!0){case t>=48&&t<=90:case t>=106&&t<=111||45===t||173===t||189===t:if(void 0!==e.key&&""!==e.key)return e.key;var n=String.fromCharCode(t);switch(e.shiftKey){case!1:n=n.toLowerCase();break;case!0:n=n.toUpperCase()}return n;case t>=96&&t<=105:return t-96+0}return""},exports.evScrollTo=ne,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=Z,exports.generateMessageQuestion=q,exports.generateValue=K,exports.generateValueTable=U,exports.getSizeContainer=J,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.historyType=e=>{if(!e)return"";switch(e){case"Transfer":return"ST";case"Adjustment":case"Adjustment (API)":case"Adjustment (Interface & Excel)":return"SA";case"Inbound":return"SI";case"Outbound":return"SOB";case"Return":return"RMA";case"Sales Order":return"SO";default:return""}},exports.multiElipsis=I,exports.pageMasterTable=Y,exports.removeStorage=e=>(localStorage.removeItem(e),sessionStorage.removeItem(e),!0),exports.responseWidth=C,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.statusColor=e=>{if(!e)return"";switch(e){case"Picked Up":case"Shipped":case"Delivered":case"Completed":return"green";case"Ready to Ship":case"Not Shipped":return"#F8813E";case"Pending Payment":return"red";default:return""}},exports.thirdElipsis=A,exports.typePage=e=>{if(!e)return"";switch(e){case"adjustment":case"inbound":case"outbound":return"stock";case"bundle":return"bundle";case"sales":return"sales";default:return""}},exports.unCamelCaseKeys=e=>Object.entries(e).reduce(((e,[t,n])=>(e[(e=>e.replace(/([a-z][A-Z])/g,(function(e){return e[0]+"_"+e[1].toLowerCase()})))(t)]=n,e)),{}),exports.unescapeHTML=te,exports.validateByApproveJs=ee;
3363
3522
  //# sourceMappingURL=index.js.map