forstok-ui-lib 7.0.1 → 7.1.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
@@ -4586,5 +4586,5 @@ and limitations under the License.
4586
4586
  `:n?t.css`
4587
4587
  x: ${n}
4588
4588
  `:void 0}
4589
- `,Td=te().width,Sd=te().height,Zd={rangeDate:"lastsecondweek",startDate:f.default().clone().subtract(13,"days").format("YYYY-MM-DD"),endDate:f.default().clone().format("YYYY-MM-DD"),placeholder:"Last 14 days",minDate:f.default().clone().subtract(89,"days").format("YYYY-MM-DD")};Object.defineProperty(exports,"components",{enumerable:!0,get:function(){return a.components}}),exports.APILabel=En,exports.BoxContainer=Ne,exports.BreadcrumbContainer=Pe,exports.BulkActionWrapper=Ye,exports.BulkSelectContainer=Fn,exports.ButtonComponent=Hn,exports.ButtonGroup=At,exports.ButtonLabel=ft,exports.CardContainer=Nt,exports.CardWrapper=Tt,exports.CheckboxComponent=t=>{var{id:n,name:r,children:i,$flow:o,extendKey:a,extendClass:l,reset:s,setReset:c,isForceUpdate:d,setForceUpdate:C,evChange:p,$isError:g,$iconRight:u}=t,h=v(t,["id","name","children","$flow","extendKey","extendClass","reset","setReset","isForceUpdate","setForceUpdate","evChange","$isError","$iconRight"]);const{disabled:x,defaultChecked:m}=h,[f,b]=e.useState(m||!1),y=e.useRef(null);e.useEffect((()=>{d&&(b(m||!1),C&&C(!1)),s&&(b(!1),c&&c(!1))}),[s,c,d,C,m]);return delete Object.assign({},h).defaultChecked,E.jsxs(me,{$flow:o,$iconRight:u,ref:y,htmlFor:n,disabled:x||!1,children:[i,E.jsx(pe,Object.assign({id:n,type:"checkbox",checked:f,name:r,evChange:e=>{b(e.target.checked),p&&p(e)}},l&&{className:l},""!==a&&{"data-key":a},h)),E.jsx(xe,Object.assign({$isError:g},h["data-qa-id"]&&{"data-qa-id":h["data-qa-id"]}))]})},exports.CollapseContainer=pt,exports.ContentLoaderAccountsList=()=>E.jsxs(kd,{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:[E.jsx("rect",{x:"10",y:"15",rx:"0",ry:"0",width:"40",height:"40"}),E.jsx("rect",{x:"62",y:"15",rx:"0",ry:"0",width:"90",height:"13"}),E.jsx("rect",{x:"62",y:"30",rx:"0",ry:"0",width:"185",height:"13"}),E.jsx("rect",{x:"62",y:"45",rx:"0",ry:"0",width:"50",height:"11"}),E.jsx("rect",{x:"257",y:"23",rx:"50",ry:"50",width:"25",height:"25"}),E.jsx("rect",{x:"10",y:"70",rx:"0",ry:"0",width:"40",height:"40"}),E.jsx("rect",{x:"62",y:"70",rx:"0",ry:"0",width:"90",height:"13"}),E.jsx("rect",{x:"62",y:"85",rx:"0",ry:"0",width:"185",height:"13"}),E.jsx("rect",{x:"62",y:"100",rx:"0",ry:"0",width:"50",height:"11"}),E.jsx("rect",{x:"257",y:"77",rx:"50",ry:"50",width:"25",height:"25"}),E.jsx("rect",{x:"10",y:"125",rx:"0",ry:"0",width:"40",height:"40"}),E.jsx("rect",{x:"62",y:"125",rx:"0",ry:"0",width:"90",height:"13"}),E.jsx("rect",{x:"62",y:"140",rx:"0",ry:"0",width:"185",height:"13"}),E.jsx("rect",{x:"62",y:"155",rx:"0",ry:"0",width:"50",height:"11"}),E.jsx("rect",{x:"257",y:"131",rx:"50",ry:"50",width:"25",height:"25"}),E.jsx("rect",{x:"10",y:"180",rx:"0",ry:"0",width:"40",height:"40"}),E.jsx("rect",{x:"62",y:"180",rx:"0",ry:"0",width:"90",height:"13"}),E.jsx("rect",{x:"62",y:"195",rx:"0",ry:"0",width:"185",height:"13"}),E.jsx("rect",{x:"62",y:"210",rx:"0",ry:"0",width:"50",height:"11"}),E.jsx("rect",{x:"257",y:"185",rx:"50",ry:"50",width:"25",height:"25"}),E.jsx("rect",{x:"10",y:"235",rx:"0",ry:"0",width:"40",height:"40"}),E.jsx("rect",{x:"62",y:"235",rx:"0",ry:"0",width:"90",height:"13"}),E.jsx("rect",{x:"62",y:"250",rx:"0",ry:"0",width:"185",height:"13"}),E.jsx("rect",{x:"62",y:"265",rx:"0",ry:"0",width:"50",height:"11"}),E.jsx("rect",{x:"257",y:"239",rx:"50",ry:"50",width:"25",height:"25"})]}),exports.ContentLoaderActivityList=()=>E.jsxs(kd,{height:260,width:"100%",speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:[E.jsx("rect",{x:"10",y:"15",rx:"50",ry:"50",width:"35",height:"35"}),E.jsx("rect",{x:"55",y:"15",rx:"0",ry:"0",width:"330",height:"13"}),E.jsx("rect",{x:"55",y:"35",rx:"0",ry:"0",width:"330",height:"11"}),E.jsx("rect",{x:"10",y:"65",rx:"50",ry:"50",width:"35",height:"35"}),E.jsx("rect",{x:"55",y:"65",rx:"0",ry:"0",width:"330",height:"13"}),E.jsx("rect",{x:"55",y:"85",rx:"0",ry:"0",width:"330",height:"11"}),E.jsx("rect",{x:"10",y:"115",rx:"50",ry:"50",width:"35",height:"35"}),E.jsx("rect",{x:"55",y:"115",rx:"0",ry:"0",width:"330",height:"13"}),E.jsx("rect",{x:"55",y:"135",rx:"0",ry:"0",width:"330",height:"11"}),E.jsx("rect",{x:"10",y:"165",rx:"50",ry:"50",width:"35",height:"35"}),E.jsx("rect",{x:"55",y:"165",rx:"0",ry:"0",width:"330",height:"13"}),E.jsx("rect",{x:"55",y:"185",rx:"0",ry:"0",width:"330",height:"11"}),E.jsx("rect",{x:"10",y:"215",rx:"50",ry:"50",width:"35",height:"35"}),E.jsx("rect",{x:"55",y:"215",rx:"0",ry:"0",width:"330",height:"13"}),E.jsx("rect",{x:"55",y:"235",rx:"0",ry:"0",width:"330",height:"11"})]}),exports.ContentLoaderAddition=()=>{let e=Td>=994?Td>=1031&&Td>=1031?Td-100:Td-60:994;const t=e-777,n=e-665,r=e-555,i=e-405,o=e-230;return E.jsx(Hd,{children:E.jsxs(kd,{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:[E.jsx("rect",{x:"38",y:"15",rx:"2",ry:"2",width:"31",height:"61"}),E.jsx("rect",{x:95,y:"15",rx:"2",ry:"2",width:t,height:"61"}),E.jsx("rect",{x:n,y:"15",rx:"2",ry:"2",width:90,height:"61"}),E.jsx("rect",{x:r,y:"15",rx:"2",ry:"2",width:140,height:"61"}),E.jsx("rect",{x:i,y:"15",rx:"2",ry:"2",width:160,height:"61"}),E.jsx("rect",{x:o,y:"15",rx:"2",ry:"2",width:140,height:"61"})]})})},exports.ContentLoaderAnalyticsMenu=()=>E.jsx(kd,{height:60,width:"100%",speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:E.jsx("rect",{x:"0",y:"15",rx:"0",ry:"0",width:"100%",height:"36"})}),exports.ContentLoaderCategoryList=()=>{const t=window.innerHeight-286,n=Td>=1336||Td>=1112?400:300,r=32+n+12,i=Td-n-85,o=t?Math.ceil((t-78)/70):0;return E.jsx(zd,{children:E.jsxs(kd,{speed:1,width:Td,height:"100%",backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:[E.jsx("rect",{x:32,y:"23",rx:"2",ry:"2",width:n,height:"16"}),E.jsx("rect",{x:r,y:"23",rx:"2",ry:"2",width:i,height:"16"}),Array.apply(0,Array(o)).map(((t,o)=>{const a=70*o+78;return E.jsxs(e.Fragment,{children:[E.jsx("rect",{x:32,y:a,rx:"2",ry:"2",width:n,height:"31"}),E.jsx("rect",{x:r,y:a,rx:"2",ry:"2",width:i,height:"31"})]},o)}))]})})},exports.ContentLoaderChatAccounts=({mode:t})=>{const n=document.querySelector("._refChatContainer"),r=n?n.offsetWidth:0,i="single"===t?65:n&&n.offsetHeight-140>=0?n.offsetHeight:0,o=r-48-88-20,a=o+60+16,l="single"===t?1:Math.floor(i/64);let s=0;return E.jsx(kd,{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(l)).map(((t,n)=>{const r=14+s,i=32+s,l=64+s;return s=l,E.jsxs(e.Fragment,{children:[E.jsx("rect",{x:"16",y:r,rx:"4",ry:"4",width:"32",height:"32"}),E.jsx("rect",{x:"60",y:r,rx:"0",ry:"0",width:o,height:"14"}),E.jsx("rect",{x:"60",y:i,rx:"0",ry:"0",width:o,height:"14"}),E.jsx("rect",{x:a,y:r,rx:"0",ry:"0",width:"66",height:"14"}),E.jsx("rect",{x:a,y:i,rx:"0",ry:"0",width:"66",height:"14"}),E.jsx("rect",{x:"0",y:l,rx:"0",ry:"0",width:"100%",height:"1"})]},n)}))})},exports.ContentLoaderChatMessages=({mode:e})=>{const t=document.querySelectorAll("._refChatContainer > article"),n=document.querySelector("._refChatContainer");let r=t[0]&&t[0].offsetWidth>=0?t[0].offsetWidth:0;r=r<=0?n&&n.offsetWidth>=0?n.offsetWidth:0:r;const i="single"===e?234:n&&n.offsetHeight>=0?n.offsetHeight:0,o=r-32<=360?r-32:360,a=r-o-16,l=i-145,s="single"===e?1:Math.floor(l/76);let c=0;return E.jsx(kd,{height:l,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(((e,t)=>{const n=0===t?l-76:c-76;return c=n,E.jsx("rect",{x:t>=3?"16":a,y:n,rx:"10",ry:"10",width:o,height:"60"},t)}))})},exports.ContentLoaderChatProducts=({mode:t})=>{const n=document.querySelector("._refTabsContent"),r=document.querySelector("._refChatContainer"),i=n&&n.offsetWidth-30>=0?n.offsetWidth-30:0,o="single"===t?65:r&&r.offsetHeight-204>=0?r.offsetHeight-204:0,a=i-48-88,l=a+60+16+22,s="single"===t?1:Math.floor(o/64);let c=0;return!(i<=0)&&E.jsx(kd,{height:o,width:"100%",speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:Array.apply(0,Array(s)).map(((t,n)=>{const r=14+c,i=32+c,o=64+c;return c=o,E.jsxs(e.Fragment,{children:[E.jsx("rect",{x:"16",y:r,rx:"4",ry:"4",width:"14",height:"14"}),E.jsx("rect",{x:"38",y:r,rx:"4",ry:"4",width:"32",height:"32"}),E.jsx("rect",{x:"78",y:r,rx:"0",ry:"0",width:a,height:"14"}),E.jsx("rect",{x:"78",y:i,rx:"0",ry:"0",width:a,height:"20"}),E.jsx("rect",{x:l,y:r,rx:"0",ry:"0",width:"20",height:"14"}),E.jsx("rect",{x:l,y:i,rx:"0",ry:"0",width:"20",height:"14"}),E.jsx("rect",{x:"0",y:o,rx:"0",ry:"0",width:"100%",height:"1"})]},n)}))})},exports.ContentLoaderChatStores=()=>E.jsxs(kd,{height:220,width:"100%",speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:[E.jsx("rect",{x:"0",y:"0",rx:"0",ry:"0",width:"100%",height:"14"}),E.jsx("rect",{x:"0",y:"28",rx:"0",ry:"0",width:"100%",height:"14"}),E.jsx("rect",{x:"0",y:"56",rx:"0",ry:"0",width:"100%",height:"14"}),E.jsx("rect",{x:"0",y:"84",rx:"0",ry:"0",width:"100%",height:"14"}),E.jsx("rect",{x:"0",y:"112",rx:"0",ry:"0",width:"100%",height:"14"}),E.jsx("rect",{x:"0",y:"140",rx:"0",ry:"0",width:"100%",height:"14"}),E.jsx("rect",{x:"0",y:"168",rx:"0",ry:"0",width:"100%",height:"14"})]}),exports.ContentLoaderDashboardCard=()=>E.jsx(Nd,{children:E.jsxs(kd,{height:220,width:"100%",speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:[E.jsx("rect",{x:"0",y:"0",rx:"0",ry:"0",width:"200",height:"50"}),E.jsx("rect",{x:"0",y:"70",rx:"0",ry:"0",width:"100%",height:"25"}),E.jsx("rect",{x:"0",y:"105",rx:"0",ry:"0",width:"100%",height:"15"}),E.jsx("rect",{x:"0",y:"130",rx:"0",ry:"0",width:"100%",height:"15"}),E.jsx("rect",{x:"0",y:"155",rx:"0",ry:"0",width:"100%",height:"15"}),E.jsx("rect",{x:"0",y:"180",rx:"0",ry:"0",width:"100%",height:"15"}),E.jsx("rect",{x:"0",y:"205",rx:"0",ry:"0",width:"100%",height:"15"})]})}),exports.ContentLoaderEditBundle=()=>E.jsxs(kd,{height:500,width:1150,speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:[E.jsx("rect",{x:"0",y:"25",width:"35",height:"35"}),E.jsx("rect",{x:"50",y:"25",width:"400",height:"35"}),E.jsx("rect",{x:"50",y:"75",width:"170",height:"35"}),E.jsx("rect",{x:"235",y:"75",width:"170",height:"35"}),E.jsx("rect",{x:"420",y:"75",width:"170",height:"35"}),E.jsx("rect",{x:"605",y:"75",width:"170",height:"35"}),E.jsx("rect",{x:"50",y:"125",width:"170",height:"35"}),E.jsx("rect",{x:"0",y:"245",width:"200",height:"35"}),E.jsx("rect",{x:"420",y:"305",width:"150",height:"25"}),E.jsx("rect",{x:"585",y:"305",width:"150",height:"25"}),E.jsx("rect",{x:"750",y:"305",width:"150",height:"25"}),E.jsx("rect",{x:"915",y:"305",width:"150",height:"25"}),E.jsx("rect",{x:"0",y:"345",width:"25",height:"25"}),E.jsx("rect",{x:"40",y:"345",width:"360",height:"25"}),E.jsx("rect",{x:"420",y:"345",width:"150",height:"25"}),E.jsx("rect",{x:"585",y:"345",width:"150",height:"25"}),E.jsx("rect",{x:"750",y:"345",width:"150",height:"25"}),E.jsx("rect",{x:"915",y:"345",width:"150",height:"25"}),E.jsx("rect",{x:"750",y:"395",width:"315",height:"25"})]}),exports.ContentLoaderFilterCategories=()=>E.jsxs(kd,{height:172,width:210,speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:[E.jsx("rect",{x:"4",y:"12",rx:"4",ry:"4",width:"14",height:"14"}),E.jsx("rect",{x:"28",y:"12",rx:"2",ry:"2",width:"170",height:"14"}),E.jsx("rect",{x:"4",y:"36",rx:"4",ry:"4",width:"14",height:"14"}),E.jsx("rect",{x:"28",y:"36",rx:"2",ry:"2",width:"170",height:"14"}),E.jsx("rect",{x:"4",y:"60",rx:"4",ry:"4",width:"14",height:"14"}),E.jsx("rect",{x:"28",y:"60",rx:"2",ry:"2",width:"170",height:"14"}),E.jsx("rect",{x:"4",y:"84",rx:"4",ry:"4",width:"14",height:"14"}),E.jsx("rect",{x:"28",y:"84",rx:"2",ry:"2",width:"170",height:"14"}),E.jsx("rect",{x:"4",y:"108",rx:"4",ry:"4",width:"14",height:"14"}),E.jsx("rect",{x:"28",y:"108",rx:"2",ry:"2",width:"170",height:"14"}),E.jsx("rect",{x:"4",y:"132",rx:"4",ry:"4",width:"14",height:"14"}),E.jsx("rect",{x:"28",y:"132",rx:"2",ry:"2",width:"170",height:"14"}),E.jsx("rect",{x:"4",y:"156",rx:"4",ry:"4",width:"14",height:"14"}),E.jsx("rect",{x:"28",y:"156",rx:"2",ry:"2",width:"170",height:"14"})]}),exports.ContentLoaderFilters=()=>E.jsxs(kd,{height:31,width:500,speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:[E.jsx("rect",{x:"0",y:"5",rx:"8",ry:"8",width:"90",height:"20"}),E.jsx("rect",{x:"100",y:"5",rx:"8",ry:"8",width:"90",height:"20"}),E.jsx("rect",{x:"200",y:"5",rx:"8",ry:"8",width:"90",height:"20"}),E.jsx("rect",{x:"300",y:"5",rx:"8",ry:"8",width:"90",height:"20"}),E.jsx("rect",{x:"400",y:"5",rx:"8",ry:"8",width:"90",height:"20"})]}),exports.ContentLoaderInvoiceListPaymentreceiveDetail=()=>E.jsx(Ld,{className:"_refLoadingList",children:E.jsxs(kd,{speed:1,width:Td,height:250,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{width:"100%",maxWidth:"1336px",minWidth:"1024px"},children:[E.jsx("rect",{x:"40",y:"0",rx:"2",ry:"2",width:"130",height:"21"}),E.jsx("rect",{x:"190",y:"0",rx:"2",ry:"2",width:"130",height:"21"}),E.jsx("rect",{x:"330",y:"0",rx:"2",ry:"2",width:"250",height:"21"}),E.jsx("rect",{x:"600",y:"0",rx:"2",ry:"2",width:"200",height:"21"}),E.jsx("rect",{x:Td-240,y:"0",rx:"2",ry:"2",width:"200",height:"21"}),E.jsx("rect",{x:"40",y:"50",rx:"2",ry:"2",width:"130",height:"31"}),E.jsx("rect",{x:"190",y:"50",rx:"2",ry:"2",width:"130",height:"31"}),E.jsx("rect",{x:"330",y:"50",rx:"2",ry:"2",width:"250",height:"31"}),E.jsx("rect",{x:"600",y:"50",rx:"2",ry:"2",width:"200",height:"31"}),E.jsx("rect",{x:Td-240,y:"50",rx:"2",ry:"2",width:"200",height:"31"}),E.jsx("rect",{x:"40",y:"100",rx:"2",ry:"2",width:"130",height:"31"}),E.jsx("rect",{x:"190",y:"100",rx:"2",ry:"2",width:"130",height:"31"}),E.jsx("rect",{x:"330",y:"100",rx:"2",ry:"2",width:"250",height:"31"}),E.jsx("rect",{x:"600",y:"100",rx:"2",ry:"2",width:"200",height:"31"}),E.jsx("rect",{x:Td-240,y:"100",rx:"2",ry:"2",width:"200",height:"31"}),E.jsx("rect",{x:"40",y:"150",rx:"2",ry:"2",width:"130",height:"31"}),E.jsx("rect",{x:"190",y:"150",rx:"2",ry:"2",width:"130",height:"31"}),E.jsx("rect",{x:"330",y:"150",rx:"2",ry:"2",width:"250",height:"31"}),E.jsx("rect",{x:"600",y:"150",rx:"2",ry:"2",width:"200",height:"31"}),E.jsx("rect",{x:Td-240,y:"150",rx:"2",ry:"2",width:"200",height:"31"}),E.jsx("rect",{x:"40",y:"200",rx:"2",ry:"2",width:"130",height:"31"}),E.jsx("rect",{x:"190",y:"200",rx:"2",ry:"2",width:"130",height:"31"}),E.jsx("rect",{x:"330",y:"200",rx:"2",ry:"2",width:"250",height:"31"}),E.jsx("rect",{x:"600",y:"200",rx:"2",ry:"2",width:"200",height:"31"}),E.jsx("rect",{x:Td-240,y:"200",rx:"2",ry:"2",width:"200",height:"31"})]})}),exports.ContentLoaderMasterBundleDetail=()=>{const e=Td>=1336?540:Td>=1112?320:250,t=e+30,n=150,r=t+n+15,i=80,o=r+i+15,a=150,l=o+a+15;return E.jsx(Xd,{children:E.jsxs(kd,{speed:1,width:Td,height:300,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:[E.jsx("rect",{x:"15",y:"25",rx:"2",ry:"2",width:e,height:"15"}),E.jsx("rect",{x:t,y:"25",rx:"2",ry:"2",width:n,height:"15"}),E.jsx("rect",{x:r,y:"25",rx:"2",ry:"2",width:i,height:"15"}),E.jsx("rect",{x:o,y:"25",rx:"2",ry:"2",width:a,height:"15"}),E.jsx("rect",{x:l,y:"25",rx:"2",ry:"2",width:80,height:"15"}),E.jsx("rect",{x:"15",y:"60",rx:"2",ry:"2",width:e,height:"30"}),E.jsx("rect",{x:t,y:"60",rx:"2",ry:"2",width:n,height:"30"}),E.jsx("rect",{x:r,y:"60",rx:"2",ry:"2",width:i,height:"30"}),E.jsx("rect",{x:o,y:"60",rx:"2",ry:"2",width:a,height:"30"}),E.jsx("rect",{x:l,y:"60",rx:"2",ry:"2",width:80,height:"30"}),E.jsx("rect",{x:"15",y:"110",rx:"2",ry:"2",width:e,height:"30"}),E.jsx("rect",{x:t,y:"110",rx:"2",ry:"2",width:n,height:"30"}),E.jsx("rect",{x:r,y:"110",rx:"2",ry:"2",width:i,height:"30"}),E.jsx("rect",{x:o,y:"110",rx:"2",ry:"2",width:a,height:"30"}),E.jsx("rect",{x:l,y:"110",rx:"2",ry:"2",width:80,height:"30"}),E.jsx("rect",{x:"15",y:"160",rx:"2",ry:"2",width:e,height:"30"}),E.jsx("rect",{x:t,y:"160",rx:"2",ry:"2",width:n,height:"30"}),E.jsx("rect",{x:r,y:"160",rx:"2",ry:"2",width:i,height:"30"}),E.jsx("rect",{x:o,y:"160",rx:"2",ry:"2",width:a,height:"30"}),E.jsx("rect",{x:l,y:"160",rx:"2",ry:"2",width:80,height:"30"}),E.jsx("rect",{x:"15",y:"210",rx:"2",ry:"2",width:e,height:"30"}),E.jsx("rect",{x:t,y:"210",rx:"2",ry:"2",width:n,height:"30"}),E.jsx("rect",{x:r,y:"210",rx:"2",ry:"2",width:i,height:"30"}),E.jsx("rect",{x:o,y:"210",rx:"2",ry:"2",width:a,height:"30"}),E.jsx("rect",{x:l,y:"210",rx:"2",ry:"2",width:80,height:"30"})]})})},exports.ContentLoaderMasterDetail=()=>{const e=Td-250,t=Td-150,n=Td-80,r=140,i=183,o=200,a=388,l=140,s=533,c=140,d=678,C=140,p=823,g=140;return E.jsx(Vd,{children:E.jsxs(kd,{speed:1,width:Td,height:"100%",backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:[E.jsx("rect",{x:38,y:"20",rx:"2",ry:"2",width:e,height:"30"}),E.jsx("rect",{x:t,y:"20",rx:"2",ry:"2",width:60,height:"30"}),E.jsx("rect",{x:n,y:"20",rx:"2",ry:"2",width:30,height:"30"}),E.jsx("rect",{x:"50",y:"80",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"170",y:"80",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"290",y:"80",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"38",y:"130",rx:"2",ry:"2",width:"150",height:"20"}),E.jsx("rect",{x:"200",y:"130",rx:"2",ry:"2",width:"285",height:"20"}),E.jsx("rect",{x:"38",y:"165",rx:"2",ry:"2",width:"150",height:"20"}),E.jsx("rect",{x:"200",y:"165",rx:"2",ry:"2",width:"285",height:"20"}),E.jsx("rect",{x:"38",y:"200",rx:"2",ry:"2",width:"150",height:"20"}),E.jsx("rect",{x:"200",y:"200",rx:"2",ry:"2",width:"285",height:"20"}),E.jsx("rect",{x:"38",y:"235",rx:"2",ry:"2",width:"150",height:"20"}),E.jsx("rect",{x:"200",y:"235",rx:"2",ry:"2",width:"285",height:"20"}),E.jsx("rect",{x:"38",y:"270",rx:"2",ry:"2",width:"150",height:"20"}),E.jsx("rect",{x:"200",y:"270",rx:"2",ry:"2",width:"285",height:"20"}),E.jsx("rect",{x:38,y:"320",rx:"2",ry:"2",width:r,height:"31"}),E.jsx("rect",{x:i,y:"320",rx:"2",ry:"2",width:o,height:"31"}),E.jsx("rect",{x:a,y:"320",rx:"2",ry:"2",width:l,height:"31"}),E.jsx("rect",{x:s,y:"320",rx:"2",ry:"2",width:c,height:"31"}),E.jsx("rect",{x:d,y:"320",rx:"2",ry:"2",width:C,height:"31"}),E.jsx("rect",{x:p,y:"320",rx:"2",ry:"2",width:g,height:"31"}),E.jsx("rect",{x:38,y:"370",rx:"2",ry:"2",width:r,height:"31"}),E.jsx("rect",{x:i,y:"370",rx:"2",ry:"2",width:o,height:"31"}),E.jsx("rect",{x:a,y:"370",rx:"2",ry:"2",width:l,height:"31"}),E.jsx("rect",{x:s,y:"370",rx:"2",ry:"2",width:c,height:"31"}),E.jsx("rect",{x:d,y:"370",rx:"2",ry:"2",width:C,height:"31"}),E.jsx("rect",{x:p,y:"370",rx:"2",ry:"2",width:g,height:"31"}),E.jsx("rect",{x:38,y:"420",rx:"2",ry:"2",width:r,height:"31"}),E.jsx("rect",{x:i,y:"420",rx:"2",ry:"2",width:o,height:"31"}),E.jsx("rect",{x:a,y:"420",rx:"2",ry:"2",width:l,height:"31"}),E.jsx("rect",{x:s,y:"420",rx:"2",ry:"2",width:c,height:"31"}),E.jsx("rect",{x:d,y:"420",rx:"2",ry:"2",width:C,height:"31"}),E.jsx("rect",{x:p,y:"420",rx:"2",ry:"2",width:g,height:"31"}),E.jsx("rect",{x:38,y:"470",rx:"2",ry:"2",width:r,height:"31"}),E.jsx("rect",{x:i,y:"470",rx:"2",ry:"2",width:o,height:"31"}),E.jsx("rect",{x:a,y:"470",rx:"2",ry:"2",width:l,height:"31"}),E.jsx("rect",{x:s,y:"470",rx:"2",ry:"2",width:c,height:"31"}),E.jsx("rect",{x:d,y:"470",rx:"2",ry:"2",width:C,height:"31"}),E.jsx("rect",{x:p,y:"470",rx:"2",ry:"2",width:g,height:"31"}),E.jsx("rect",{x:"38",y:"530",rx:"2",ry:"2",width:"200",height:"15"}),E.jsx("rect",{x:38,y:"560",rx:"2",ry:"2",width:"50",height:"50"}),E.jsx("rect",{x:108,y:"560",rx:"2",ry:"2",width:"50",height:"50"}),E.jsx("rect",{x:178,y:"560",rx:"2",ry:"2",width:"50",height:"50"}),E.jsx("rect",{x:248,y:"560",rx:"2",ry:"2",width:"50",height:"50"}),E.jsx("rect",{x:318,y:"560",rx:"2",ry:"2",width:"50",height:"50"})]})})},exports.ContentLoaderMasterList=()=>{const t=Sd-286,n=Td>=1336?370:Td>=1112?250:150,r=29+n+12,i=Td>=1336?130:Td>=1112?110:100,o=r+i+12,a=Td>=1336?100:95,l=o+a+12,s=Td>=1336?90:80,c=l+s+12,d=Td>=1336?85:75,C=c+d+12,p=Td>=1336?80:70,g=C+p+12,u=Td>=1336?70:60,h=g+u+12,x=Td>=1336?95:85,m=Td-100-24,f=Sd&&Math.ceil((t-78)/70)>0?Math.ceil((t-78)/70):0;let v=h+x+12,b=[];for(let e=0;v+122<m;e++)b.push({x:h+x+12+122*e,w:110}),v=h+x+12+122*e;return E.jsx(zd,{children:E.jsxs(kd,{speed:1,width:Td,height:"100%",backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:[E.jsx("rect",{x:29,y:"23",rx:"2",ry:"2",width:n,height:"16"}),E.jsx("rect",{x:r,y:"23",rx:"2",ry:"2",width:i,height:"16"}),E.jsx("rect",{x:o,y:"23",rx:"2",ry:"2",width:a,height:"16"}),E.jsx("rect",{x:l,y:"23",rx:"2",ry:"2",width:s,height:"16"}),E.jsx("rect",{x:c,y:"23",rx:"2",ry:"2",width:d,height:"16"}),E.jsx("rect",{x:C,y:"23",rx:"2",ry:"2",width:p,height:"16"}),E.jsx("rect",{x:g,y:"23",rx:"2",ry:"2",width:u,height:"16"}),E.jsx("rect",{x:h,y:"23",rx:"2",ry:"2",width:x,height:"16"}),b.map(((t,n)=>E.jsx(e.Fragment,{children:E.jsx("rect",{x:t.x,y:"23",rx:"2",ry:"2",width:t.w,height:"16"})},n))),E.jsx("rect",{x:m,y:"23",rx:"2",ry:"2",width:100,height:"16"}),Array.apply(0,Array(f)).map(((t,f)=>{const v=70*f+78;return E.jsxs(e.Fragment,{children:[E.jsx("rect",{x:29,y:v,rx:"2",ry:"2",width:n,height:"31"}),E.jsx("rect",{x:r,y:v,rx:"2",ry:"2",width:i,height:"31"}),E.jsx("rect",{x:o,y:v,rx:"2",ry:"2",width:a,height:"31"}),E.jsx("rect",{x:l,y:v,rx:"2",ry:"2",width:s,height:"31"}),E.jsx("rect",{x:c,y:v,rx:"2",ry:"2",width:d,height:"31"}),E.jsx("rect",{x:C,y:v,rx:"2",ry:"2",width:p,height:"31"}),E.jsx("rect",{x:g,y:v,rx:"2",ry:"2",width:u,height:"31"}),E.jsx("rect",{x:h,y:v,rx:"2",ry:"2",width:x,height:"31"}),b.map(((t,n)=>E.jsx(e.Fragment,{children:E.jsx("rect",{x:t.x,y:v,rx:"2",ry:"2",width:t.w,height:"31"})},n))),E.jsx("rect",{x:m,y:v,rx:"2",ry:"2",width:100,height:"31"})]},f)}))]})})},exports.ContentLoaderMasterListingDetail=()=>{const e=Td>=1336?645:Td>=1112?400:300,t=e+45,n=e+90;return E.jsx(Xd,{children:E.jsxs(kd,{speed:1,width:Td,height:300,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:[E.jsx("rect",{x:"15",y:"25",rx:"2",ry:"2",width:t,height:"15"}),E.jsx("rect",{x:n,y:"25",rx:"2",ry:"2",width:"250",height:"15"}),E.jsx("rect",{x:"15",y:"60",rx:"8",ry:"8",width:"30",height:"30"}),E.jsx("rect",{x:"60",y:"60",rx:"2",ry:"2",width:e,height:"30"}),E.jsx("rect",{x:n,y:"60",rx:"2",ry:"2",width:"250",height:"30"}),E.jsx("rect",{x:"15",y:"110",rx:"8",ry:"8",width:"30",height:"30"}),E.jsx("rect",{x:"60",y:"110",rx:"2",ry:"2",width:e,height:"30"}),E.jsx("rect",{x:n,y:"110",rx:"2",ry:"2",width:"250",height:"30"}),E.jsx("rect",{x:"15",y:"160",rx:"8",ry:"8",width:"30",height:"30"}),E.jsx("rect",{x:"60",y:"160",rx:"2",ry:"2",width:e,height:"30"}),E.jsx("rect",{x:n,y:"160",rx:"2",ry:"2",width:"250",height:"30"}),E.jsx("rect",{x:"15",y:"210",rx:"8",ry:"8",width:"30",height:"30"}),E.jsx("rect",{x:"60",y:"210",rx:"2",ry:"2",width:e,height:"30"}),E.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,o=r+i+12,a=t>=1336||t>=1112?110:105,l=o+a+12,s=t>=1336||t>=1112?140:130,c=l+s+12,d=t>=1336?130:t>=1112?120:100,C=c+d+12,p=t>=1336?115:t>=1112?105:100,g=C+p+12,u=t>=1336?150:t>=1112?110:100,h=t-150-24,x=Sd?Math.ceil((Sd-78)/70):0;let m=g+u+12,f=[];for(let e=0;m+122<h;e++)f.push({x:g+u+12+122*e,w:110}),m=g+u+12+122*e;return E.jsx(zd,{className:"_refLoadingList",children:E.jsxs(kd,{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:[E.jsx("rect",{x:29,y:"23",rx:"2",ry:"2",width:n,height:"16"}),E.jsx("rect",{x:r,y:"23",rx:"2",ry:"2",width:i,height:"16"}),E.jsx("rect",{x:o,y:"23",rx:"2",ry:"2",width:a,height:"16"}),E.jsx("rect",{x:l,y:"23",rx:"2",ry:"2",width:s,height:"16"}),E.jsx("rect",{x:c,y:"23",rx:"2",ry:"2",width:d,height:"16"}),E.jsx("rect",{x:C,y:"23",rx:"2",ry:"2",width:p,height:"16"}),E.jsx("rect",{x:g,y:"23",rx:"2",ry:"2",width:u,height:"16"}),f.map(((t,n)=>E.jsx(e.Fragment,{children:E.jsx("rect",{x:t.x,y:"23",rx:"2",ry:"2",width:t.w,height:"16"})},n))),E.jsx("rect",{x:h,y:"23",rx:"2",ry:"2",width:100,height:"16"}),Array.apply(0,Array(x)).map(((t,x)=>{const m=70*x+78;return E.jsxs(e.Fragment,{children:[E.jsx("rect",{x:29,y:m,rx:"2",ry:"2",width:n,height:"31"}),E.jsx("rect",{x:r,y:m,rx:"2",ry:"2",width:i,height:"31"}),E.jsx("rect",{x:o,y:m,rx:"2",ry:"2",width:a,height:"31"}),E.jsx("rect",{x:l,y:m,rx:"2",ry:"2",width:s,height:"31"}),E.jsx("rect",{x:c,y:m,rx:"2",ry:"2",width:d,height:"31"}),E.jsx("rect",{x:C,y:m,rx:"2",ry:"2",width:p,height:"31"}),E.jsx("rect",{x:g,y:m,rx:"2",ry:"2",width:u,height:"31"}),f.map(((t,n)=>E.jsx(e.Fragment,{children:E.jsx("rect",{x:t.x,y:m,rx:"2",ry:"2",width:t.w,height:"31"})},n))),E.jsx("rect",{x:h,y:m,rx:"2",ry:"2",width:100,height:"31"})]},x)}))]})})},exports.ContentLoaderNotifUpdate=()=>E.jsx(kd,{height:36,width:"100%",speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:E.jsx("rect",{x:"0",y:"0",rx:"0",ry:"0",width:"100%",height:"36"})}),exports.ContentLoaderOneLine=({$width:e,$height:t})=>{const n=e||75,r=t||30;return E.jsx(kd,{height:r,width:n,speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,viewBox:`0 0 ${n} ${r}`,children:E.jsx("rect",{x:"0",y:"0",rx:"0",ry:"0",width:n,height:r})})},exports.ContentLoaderOneLinePromotion=()=>E.jsx(kd,{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:E.jsx("rect",{x:"0",y:"2",rx:"5",ry:"5",width:80,height:14})}),exports.ContentLoaderOnlyBodyDashboardCard=()=>E.jsxs(kd,{height:650,width:"100%",speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:[E.jsx("rect",{x:"0",y:"30",rx:"0",ry:"0",width:"50%",height:"20"}),E.jsx("rect",{x:"0",y:"55",rx:"0",ry:"0",width:"50%",height:"20"}),E.jsx("rect",{x:"0",y:"80",rx:"0",ry:"0",width:"50%",height:"20"}),E.jsx("rect",{x:"0",y:"105",rx:"0",ry:"0",width:"50%",height:"20"}),E.jsx("rect",{x:"0",y:"130",rx:"0",ry:"0",width:"50%",height:"20"}),E.jsx("rect",{x:"0",y:"155",rx:"0",ry:"0",width:"50%",height:"20"}),E.jsx("rect",{x:"0",y:"180",rx:"0",ry:"0",width:"50%",height:"20"}),E.jsx("rect",{x:"0",y:"205",rx:"0",ry:"0",width:"50%",height:"20"}),E.jsx("rect",{x:"0",y:"250",rx:"0",ry:"0",width:"100%",height:"250"}),E.jsx("rect",{x:"0",y:"525",rx:"0",ry:"0",width:"100%",height:"15"}),E.jsx("rect",{x:"0",y:"550",rx:"0",ry:"0",width:"100%",height:"15"}),E.jsx("rect",{x:"0",y:"575",rx:"0",ry:"0",width:"100%",height:"15"})]}),exports.ContentLoaderOnlyBodyTableList=()=>{const e=window.innerHeight-96,t=Math.floor((Td-110)/120),n=Math.floor((e-20)/50);return E.jsx(Ld,{children:E.jsx(kd,{speed:1,width:Td,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 E.jsx("rect",{x:n,y:r,rx:"2",ry:"2",width:100,height:"30"},t)}))}))})})},exports.ContentLoaderOnlyHeaderTableList=()=>{const e=Math.floor((Td-110)/120);return E.jsx(Ld,{children:E.jsx(kd,{speed:1,width:Td,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 E.jsx("rect",{x:r,y:20,rx:"2",ry:"2",width:100,height:0===n?16:30},t)}))))})})},exports.ContentLoaderOrderDetail=()=>{const e=Td-700,t=Td-432,n=Td-302,r=Td-217,i=Td-72,o=Td-777,a=Td-665,l=Td-625,s=Td-515,c=Td-365,d=Td-190,C=140,p=Td-777,g=Td-629,u=Td-529,h=Td-389,x=Td-214;return E.jsx(Vd,{children:E.jsxs(kd,{speed:1,width:Td,height:"100%",backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:[E.jsx("rect",{x:"38",y:"18",rx:"2",ry:"2",width:"36",height:"36"}),E.jsx("rect",{x:84,y:"18",rx:"2",ry:"2",width:e,height:"36"}),E.jsx("rect",{x:t,y:"20",rx:"2",ry:"2",width:120,height:"32"}),E.jsx("rect",{x:n,y:"20",rx:"2",ry:"2",width:80,height:"32"}),E.jsx("rect",{x:r,y:"20",rx:"2",ry:"2",width:140,height:"32"}),E.jsx("rect",{x:i,y:"20",rx:"2",ry:"2",width:30,height:"32"}),E.jsx("rect",{x:"38",y:"85",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"152",y:"85",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"266",y:"85",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"64",y:"150",rx:"2",ry:"2",width:"31",height:"61"}),E.jsx("rect",{x:121,y:"150",rx:"2",ry:"2",width:p,height:"61"}),E.jsx("rect",{x:g,y:"150",rx:"2",ry:"2",width:90,height:"61"}),E.jsx("rect",{x:u,y:"150",rx:"2",ry:"2",width:140,height:"61"}),E.jsx("rect",{x:h,y:"150",rx:"2",ry:"2",width:160,height:"61"}),E.jsx("rect",{x:x,y:"150",rx:"2",ry:"2",width:140,height:"61"}),E.jsx("rect",{x:"38",y:"284",rx:"2",ry:"2",width:"285",height:"31"}),E.jsx("rect",{x:"389",y:"284",rx:"2",ry:"2",width:"285",height:"31"}),E.jsx("rect",{x:"38",y:"324",rx:"2",ry:"2",width:"285",height:"31"}),E.jsx("rect",{x:"389",y:"324",rx:"2",ry:"2",width:"285",height:"31"}),E.jsx("rect",{x:"38",y:"364",rx:"2",ry:"2",width:"285",height:"31"}),E.jsx("rect",{x:"389",y:"364",rx:"2",ry:"2",width:"285",height:"31"}),E.jsx("rect",{x:"38",y:"404",rx:"2",ry:"2",width:"285",height:"31"}),E.jsx("rect",{x:"389",y:"404",rx:"2",ry:"2",width:"285",height:"31"}),E.jsx("rect",{x:"38",y:"444",rx:"2",ry:"2",width:"285",height:"31"}),E.jsx("rect",{x:"389",y:"444",rx:"2",ry:"2",width:"285",height:"31"}),E.jsx("rect",{x:"38",y:"515",rx:"2",ry:"2",width:"31",height:"31"}),E.jsx("rect",{x:95,y:"515",rx:"2",ry:"2",width:o,height:"31"}),E.jsx("rect",{x:a,y:"515",rx:"2",ry:"2",width:26,height:"31"}),E.jsx("rect",{x:l,y:"515",rx:"2",ry:"2",width:90,height:"31"}),E.jsx("rect",{x:s,y:"515",rx:"2",ry:"2",width:140,height:"31"}),E.jsx("rect",{x:c,y:"515",rx:"2",ry:"2",width:160,height:"31"}),E.jsx("rect",{x:d,y:"515",rx:"2",ry:"2",width:C,height:"31"}),E.jsx("rect",{x:"38",y:"555",rx:"2",ry:"2",width:"31",height:"31"}),E.jsx("rect",{x:95,y:"555",rx:"2",ry:"2",width:o,height:"31"}),E.jsx("rect",{x:a,y:"555",rx:"2",ry:"2",width:26,height:"31"}),E.jsx("rect",{x:l,y:"555",rx:"2",ry:"2",width:90,height:"31"}),E.jsx("rect",{x:s,y:"555",rx:"2",ry:"2",width:140,height:"31"}),E.jsx("rect",{x:c,y:"555",rx:"2",ry:"2",width:160,height:"31"}),E.jsx("rect",{x:d,y:"555",rx:"2",ry:"2",width:C,height:"31"}),E.jsx("rect",{x:d,y:"604",rx:"2",ry:"2",width:C,height:"31"}),E.jsx("rect",{x:d,y:"654",rx:"2",ry:"2",width:C,height:"31"}),E.jsx("rect",{x:"38",y:"684",rx:"2",ry:"2",width:e,height:"36"})]})})},exports.ContentLoaderOrderList=()=>{const e=100,t=Td-600,n=Td-405,r=120,i=Td-275,o=Td-190,a=140,l=Td-45,s=Td-18,c=Td-777,d=Td-665,C=Td-625,p=Td-515,g=140,u=Td-365,h=160,x=Td-190,m=140;return E.jsxs(Od,{children:[E.jsx(Md,{children:E.jsxs(kd,{speed:1,width:Td,height:"100%",backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:[E.jsx("rect",{x:"52",y:"15",rx:"2",ry:"2",width:"31",height:"31"}),E.jsx("rect",{x:e,y:"15",rx:"2",ry:"2",width:t,height:"31"}),E.jsx("rect",{x:n,y:"15",rx:"2",ry:"2",width:r,height:"32"}),E.jsx("rect",{x:i,y:"15",rx:"2",ry:"2",width:80,height:"32"}),E.jsx("rect",{x:o,y:"15",rx:"2",ry:"2",width:a,height:"32"}),E.jsx("rect",{x:l,y:"15",rx:"2",ry:"2",width:30,height:"32"}),E.jsx("rect",{x:"52",y:"80",rx:"2",ry:"2",width:"200",height:"15"}),E.jsx("rect",{x:9,y:"110",rx:"0",ry:"0",width:s,height:"2"}),E.jsx("rect",{x:"52",y:"127",rx:"2",ry:"2",width:"31",height:"31"}),E.jsx("rect",{x:95,y:"127",rx:"2",ry:"2",width:c,height:"50"}),E.jsx("rect",{x:d,y:"127",rx:"2",ry:"2",width:26,height:"31"}),E.jsx("rect",{x:C,y:"127",rx:"2",ry:"2",width:90,height:"31"}),E.jsx("rect",{x:p,y:"127",rx:"2",ry:"2",width:g,height:"31"}),E.jsx("rect",{x:u,y:"127",rx:"2",ry:"2",width:h,height:"31"}),E.jsx("rect",{x:x,y:"127",rx:"2",ry:"2",width:m,height:"65"})]})}),E.jsx(Md,{children:E.jsxs(kd,{speed:1,width:Td,height:"100%",backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:[E.jsx("rect",{x:"52",y:"15",rx:"2",ry:"2",width:"31",height:"31"}),E.jsx("rect",{x:e,y:"15",rx:"2",ry:"2",width:t,height:"31"}),E.jsx("rect",{x:n,y:"15",rx:"2",ry:"2",width:r,height:"32"}),E.jsx("rect",{x:i,y:"15",rx:"2",ry:"2",width:80,height:"32"}),E.jsx("rect",{x:o,y:"15",rx:"2",ry:"2",width:a,height:"32"}),E.jsx("rect",{x:l,y:"15",rx:"2",ry:"2",width:30,height:"32"}),E.jsx("rect",{x:"52",y:"80",rx:"2",ry:"2",width:"200",height:"15"}),E.jsx("rect",{x:9,y:"110",rx:"0",ry:"0",width:s,height:"2"}),E.jsx("rect",{x:"52",y:"127",rx:"2",ry:"2",width:"31",height:"31"}),E.jsx("rect",{x:95,y:"127",rx:"2",ry:"2",width:c,height:"50"}),E.jsx("rect",{x:d,y:"127",rx:"2",ry:"2",width:26,height:"31"}),E.jsx("rect",{x:C,y:"127",rx:"2",ry:"2",width:90,height:"31"}),E.jsx("rect",{x:p,y:"127",rx:"2",ry:"2",width:g,height:"31"}),E.jsx("rect",{x:u,y:"127",rx:"2",ry:"2",width:h,height:"31"}),E.jsx("rect",{x:x,y:"127",rx:"2",ry:"2",width:m,height:"65"})]})}),E.jsx(Md,{children:E.jsxs(kd,{speed:1,width:Td,height:"100%",backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:[E.jsx("rect",{x:"52",y:"15",rx:"2",ry:"2",width:"31",height:"31"}),E.jsx("rect",{x:e,y:"15",rx:"2",ry:"2",width:t,height:"31"}),E.jsx("rect",{x:n,y:"15",rx:"2",ry:"2",width:r,height:"32"}),E.jsx("rect",{x:i,y:"15",rx:"2",ry:"2",width:80,height:"32"}),E.jsx("rect",{x:o,y:"15",rx:"2",ry:"2",width:a,height:"32"}),E.jsx("rect",{x:l,y:"15",rx:"2",ry:"2",width:30,height:"32"}),E.jsx("rect",{x:"52",y:"80",rx:"2",ry:"2",width:"200",height:"15"}),E.jsx("rect",{x:9,y:"110",rx:"0",ry:"0",width:s,height:"2"}),E.jsx("rect",{x:"52",y:"127",rx:"2",ry:"2",width:"31",height:"31"}),E.jsx("rect",{x:95,y:"127",rx:"2",ry:"2",width:c,height:"50"}),E.jsx("rect",{x:d,y:"127",rx:"2",ry:"2",width:26,height:"31"}),E.jsx("rect",{x:C,y:"127",rx:"2",ry:"2",width:90,height:"31"}),E.jsx("rect",{x:p,y:"127",rx:"2",ry:"2",width:g,height:"31"}),E.jsx("rect",{x:u,y:"127",rx:"2",ry:"2",width:h,height:"31"}),E.jsx("rect",{x:x,y:"127",rx:"2",ry:"2",width:m,height:"65"})]})}),E.jsx(Md,{children:E.jsxs(kd,{speed:1,width:Td,height:"100%",backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:[E.jsx("rect",{x:"52",y:"15",rx:"2",ry:"2",width:"31",height:"31"}),E.jsx("rect",{x:e,y:"15",rx:"2",ry:"2",width:t,height:"31"}),E.jsx("rect",{x:n,y:"15",rx:"2",ry:"2",width:r,height:"32"}),E.jsx("rect",{x:i,y:"15",rx:"2",ry:"2",width:80,height:"32"}),E.jsx("rect",{x:o,y:"15",rx:"2",ry:"2",width:a,height:"32"}),E.jsx("rect",{x:l,y:"15",rx:"2",ry:"2",width:30,height:"32"}),E.jsx("rect",{x:"52",y:"80",rx:"2",ry:"2",width:"200",height:"15"}),E.jsx("rect",{x:9,y:"110",rx:"0",ry:"0",width:s,height:"2"}),E.jsx("rect",{x:"52",y:"127",rx:"2",ry:"2",width:"31",height:"31"}),E.jsx("rect",{x:95,y:"127",rx:"2",ry:"2",width:c,height:"50"}),E.jsx("rect",{x:d,y:"127",rx:"2",ry:"2",width:26,height:"31"}),E.jsx("rect",{x:C,y:"127",rx:"2",ry:"2",width:90,height:"31"}),E.jsx("rect",{x:p,y:"127",rx:"2",ry:"2",width:g,height:"31"}),E.jsx("rect",{x:u,y:"127",rx:"2",ry:"2",width:h,height:"31"}),E.jsx("rect",{x:x,y:"127",rx:"2",ry:"2",width:m,height:"65"})]})}),E.jsx(Md,{children:E.jsxs(kd,{speed:1,width:Td,height:"100%",backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:[E.jsx("rect",{x:"52",y:"15",rx:"2",ry:"2",width:"31",height:"31"}),E.jsx("rect",{x:e,y:"15",rx:"2",ry:"2",width:t,height:"31"}),E.jsx("rect",{x:n,y:"15",rx:"2",ry:"2",width:r,height:"32"}),E.jsx("rect",{x:i,y:"15",rx:"2",ry:"2",width:80,height:"32"}),E.jsx("rect",{x:o,y:"15",rx:"2",ry:"2",width:a,height:"32"}),E.jsx("rect",{x:l,y:"15",rx:"2",ry:"2",width:30,height:"32"}),E.jsx("rect",{x:"52",y:"80",rx:"2",ry:"2",width:"200",height:"15"}),E.jsx("rect",{x:9,y:"110",rx:"0",ry:"0",width:s,height:"2"}),E.jsx("rect",{x:"52",y:"127",rx:"2",ry:"2",width:"31",height:"31"}),E.jsx("rect",{x:95,y:"127",rx:"2",ry:"2",width:c,height:"50"}),E.jsx("rect",{x:d,y:"127",rx:"2",ry:"2",width:26,height:"31"}),E.jsx("rect",{x:C,y:"127",rx:"2",ry:"2",width:90,height:"31"}),E.jsx("rect",{x:p,y:"127",rx:"2",ry:"2",width:g,height:"31"}),E.jsx("rect",{x:u,y:"127",rx:"2",ry:"2",width:h,height:"31"}),E.jsx("rect",{x:x,y:"127",rx:"2",ry:"2",width:m,height:"65"})]})})]})},exports.ContentLoaderPOSCategory=()=>{const e=Math.floor(31*Math.random())+50;return E.jsx(kd,{height:30,width:e,speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:E.jsx("rect",{x:"0",y:"0",rx:"4",ry:"4",width:"100%",height:"30"})})},exports.ContentLoaderPOSItem=()=>E.jsxs(kd,{height:116,width:"100%",speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:[E.jsx(Yd,{$width:"calc(100% - 20px)",x:"10",y:"10",rx:"0",ry:"0",height:"16"}),E.jsx("rect",{x:"10",y:"35",rx:"0",ry:"0",width:"75%",height:"16"}),E.jsx(Yd,{$width:"calc(100% - 20px)",x:"10",y:"63",rx:"0",ry:"0",height:"16"}),E.jsx(Yd,{$x:"calc(50% - 30px)",y:"95",rx:"4",ry:"4",width:"60px",height:"16"})]}),exports.ContentLoaderPOSStore=()=>E.jsxs(kd,{height:125,width:"100%",speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:[E.jsx("rect",{x:"0",y:"4",rx:"0",ry:"0",width:"100%",height:"20"}),E.jsx("rect",{x:"0",y:"28",rx:"0",ry:"0",width:"100%",height:"20"}),E.jsx("rect",{x:"0",y:"70",rx:"0",ry:"0",width:"180px",height:"16"}),E.jsx("rect",{x:"0",y:"110",rx:"0",ry:"0",width:"100px",height:"14"})]}),exports.ContentLoaderPagination=()=>{const e=Td/2,t=e-160,n=e-128,r=e-96,i=e-64,o=e-32,a=e+0,l=e+32,s=e+64,c=e+96,d=e+128;return E.jsx(Pd,{className:"_refLoadingPage",children:E.jsxs(kd,{speed:1,width:Td,height:"100%",backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:[E.jsx("rect",{x:t,y:"23",rx:"2",ry:"2",width:"27",height:"27"}),E.jsx("rect",{x:n,y:"23",rx:"2",ry:"2",width:"27",height:"27"}),E.jsx("rect",{x:r,y:"23",rx:"2",ry:"2",width:"27",height:"27"}),E.jsx("rect",{x:i,y:"23",rx:"2",ry:"2",width:"27",height:"27"}),E.jsx("rect",{x:o,y:"23",rx:"2",ry:"2",width:"27",height:"27"}),E.jsx("rect",{x:a,y:"23",rx:"2",ry:"2",width:"27",height:"27"}),E.jsx("rect",{x:l,y:"23",rx:"2",ry:"2",width:"27",height:"27"}),E.jsx("rect",{x:s,y:"23",rx:"2",ry:"2",width:"27",height:"27"}),E.jsx("rect",{x:c,y:"23",rx:"2",ry:"2",width:"27",height:"27"}),E.jsx("rect",{x:d,y:"23",rx:"2",ry:"2",width:"27",height:"27"}),E.jsx("rect",{x:i,y:"60",rx:"2",ry:"2",width:"128",height:"6"})]})})},exports.ContentLoaderPopupBundle=()=>E.jsxs(kd,{height:270,width:800,speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:[E.jsx("rect",{x:"15",y:"60",width:"300",height:"15"}),E.jsx("rect",{x:"330",y:"25",width:"100",height:"15"}),E.jsx("rect",{x:"450",y:"25",width:"75",height:"15"}),E.jsx("rect",{x:"540",y:"25",width:"130",height:"15"}),E.jsx("rect",{x:"690",y:"25",width:"75",height:"15"}),E.jsx("rect",{x:"15",y:"60",width:"300",height:"30"}),E.jsx("rect",{x:"330",y:"60",width:"100",height:"30"}),E.jsx("rect",{x:"450",y:"60",width:"75",height:"30"}),E.jsx("rect",{x:"540",y:"60",width:"130",height:"30"}),E.jsx("rect",{x:"690",y:"60",width:"75",height:"30"}),E.jsx("rect",{x:"15",y:"110",width:"300",height:"30"}),E.jsx("rect",{x:"330",y:"110",width:"100",height:"30"}),E.jsx("rect",{x:"450",y:"110",width:"75",height:"30"}),E.jsx("rect",{x:"540",y:"110",width:"130",height:"30"}),E.jsx("rect",{x:"690",y:"110",width:"75",height:"30"}),E.jsx("rect",{x:"15",y:"160",width:"300",height:"30"}),E.jsx("rect",{x:"330",y:"160",width:"100",height:"30"}),E.jsx("rect",{x:"450",y:"160",width:"75",height:"30"}),E.jsx("rect",{x:"540",y:"160",width:"130",height:"30"}),E.jsx("rect",{x:"690",y:"160",width:"75",height:"30"}),E.jsx("rect",{x:"15",y:"210",width:"300",height:"30"}),E.jsx("rect",{x:"330",y:"210",width:"100",height:"30"}),E.jsx("rect",{x:"450",y:"210",width:"75",height:"30"}),E.jsx("rect",{x:"540",y:"210",width:"130",height:"30"}),E.jsx("rect",{x:"690",y:"210",width:"75",height:"30"})]}),exports.ContentLoaderPopupChooseStore=()=>E.jsxs(kd,{height:80,width:600,speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:[E.jsx("rect",{x:"0",y:"0",rx:"5",ry:"5",width:"172",height:"34"}),E.jsx("rect",{x:"178",y:"0",rx:"5",ry:"5",width:"172",height:"34"}),E.jsx("rect",{x:"356",y:"0",rx:"5",ry:"5",width:"100",height:"34"}),E.jsx("rect",{x:"462",y:"0",rx:"5",ry:"5",width:"100",height:"34"}),E.jsx("rect",{x:"0",y:"40",rx:"5",ry:"5",width:"172",height:"34"}),E.jsx("rect",{x:"178",y:"40",rx:"5",ry:"5",width:"100",height:"34"}),E.jsx("rect",{x:"284",y:"40",rx:"5",ry:"5",width:"140",height:"34"}),E.jsx("rect",{x:"430",y:"40",rx:"5",ry:"5",width:"100",height:"34"})]}),exports.ContentLoaderPopupLinkedListing=()=>E.jsxs(kd,{height:270,width:800,speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:[E.jsx("rect",{x:"15",y:"25",width:"425",height:"15"}),E.jsx("rect",{x:"490",y:"25",width:"150",height:"15"}),E.jsx("rect",{x:"670",y:"25",width:"95",height:"15"}),E.jsx("rect",{x:"15",y:"60",rx:"8",ry:"8",width:"30",height:"30"}),E.jsx("rect",{x:"60",y:"60",width:"380",height:"30"}),E.jsx("rect",{x:"490",y:"60",width:"150",height:"30"}),E.jsx("rect",{x:"670",y:"60",width:"95",height:"30"}),E.jsx("rect",{x:"15",y:"110",rx:"8",ry:"8",width:"30",height:"30"}),E.jsx("rect",{x:"60",y:"110",width:"380",height:"30"}),E.jsx("rect",{x:"490",y:"110",width:"150",height:"30"}),E.jsx("rect",{x:"670",y:"110",width:"95",height:"30"}),E.jsx("rect",{x:"15",y:"160",rx:"8",ry:"8",width:"30",height:"30"}),E.jsx("rect",{x:"60",y:"160",width:"380",height:"30"}),E.jsx("rect",{x:"490",y:"160",width:"150",height:"30"}),E.jsx("rect",{x:"670",y:"160",width:"95",height:"30"}),E.jsx("rect",{x:"15",y:"210",rx:"8",ry:"8",width:"30",height:"30"}),E.jsx("rect",{x:"60",y:"210",width:"380",height:"30"}),E.jsx("rect",{x:"490",y:"210",width:"150",height:"30"}),E.jsx("rect",{x:"670",y:"210",width:"95",height:"30"})]}),exports.ContentLoaderPopupListOrder=()=>E.jsx(Wd,{children:E.jsxs(kd,{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:[E.jsx("rect",{x:"20",y:"25",rx:"2",ry:"2",width:"25",height:"22"}),E.jsx("rect",{x:"55",y:"20",rx:"2",ry:"2",width:"32",height:"32"}),E.jsx("rect",{x:"97",y:"20",rx:"2",ry:"2",width:"250",height:"32"}),E.jsx("rect",{x:"620",y:"20",rx:"2",ry:"2",width:"170",height:"32"}),E.jsx("rect",{x:"800",y:"20",rx:"2",ry:"2",width:"25",height:"22"}),E.jsx("rect",{x:"60",y:"80",rx:"2",ry:"2",width:"200",height:"20"}),E.jsx("rect",{x:"440",y:"80",rx:"2",ry:"2",width:"90",height:"20"}),E.jsx("rect",{x:"560",y:"80",rx:"2",ry:"2",width:"90",height:"20"}),E.jsx("rect",{x:"680",y:"80",rx:"2",ry:"2",width:"90",height:"20"}),E.jsx("rect",{x:"60",y:"130",rx:"2",ry:"2",width:"200",height:"20"}),E.jsx("rect",{x:"440",y:"130",rx:"2",ry:"2",width:"90",height:"20"}),E.jsx("rect",{x:"560",y:"130",rx:"2",ry:"2",width:"90",height:"20"}),E.jsx("rect",{x:"680",y:"130",rx:"2",ry:"2",width:"90",height:"20"}),E.jsx("rect",{x:"20",y:"210",rx:"2",ry:"2",width:"25",height:"22"}),E.jsx("rect",{x:"55",y:"205",rx:"2",ry:"2",width:"32",height:"32"}),E.jsx("rect",{x:"97",y:"205",rx:"2",ry:"2",width:"250",height:"32"}),E.jsx("rect",{x:"620",y:"205",rx:"2",ry:"2",width:"170",height:"32"}),E.jsx("rect",{x:"800",y:"205",rx:"2",ry:"2",width:"25",height:"22"})]})}),exports.ContentLoaderPopupPaymentReceive=()=>E.jsx(Wd,{children:E.jsxs(kd,{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:[E.jsx("rect",{x:"40",y:"20",rx:"2",ry:"2",width:"80",height:"21"}),E.jsx("rect",{x:"40",y:"51",rx:"2",ry:"2",width:"260",height:"30"}),E.jsx("rect",{x:"40",y:"110",rx:"2",ry:"2",width:"80",height:"21"}),E.jsx("rect",{x:"320",y:"110",rx:"2",ry:"2",width:"80",height:"21"}),E.jsx("rect",{x:"40",y:"141",rx:"2",ry:"2",width:"260",height:"30"}),E.jsx("rect",{x:"320",y:"141",rx:"2",ry:"2",width:"260",height:"30"}),E.jsx("rect",{x:"55",y:"200",rx:"2",ry:"2",width:"220",height:"30"}),E.jsx("rect",{x:"320",y:"200",rx:"2",ry:"2",width:"260",height:"30"}),E.jsx("rect",{x:"55",y:"245",rx:"2",ry:"2",width:"220",height:"30"}),E.jsx("rect",{x:"320",y:"245",rx:"2",ry:"2",width:"260",height:"30"}),E.jsx("rect",{x:"55",y:"290",rx:"2",ry:"2",width:"220",height:"30"}),E.jsx("rect",{x:"320",y:"290",rx:"2",ry:"2",width:"260",height:"30"})]})}),exports.ContentLoaderPopupPaymentReceived=()=>E.jsx(Wd,{children:E.jsxs(kd,{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:[E.jsx("rect",{x:"60",y:"20",rx:"2",ry:"2",width:"100",height:"21"}),E.jsx("rect",{x:"60",y:"51",rx:"2",ry:"2",width:"280",height:"36"}),E.jsx("rect",{x:"360",y:"20",rx:"2",ry:"2",width:"100",height:"21"}),E.jsx("rect",{x:"360",y:"51",rx:"2",ry:"2",width:"280",height:"36"}),E.jsx("rect",{x:"660",y:"20",rx:"2",ry:"2",width:"100",height:"21"}),E.jsx("rect",{x:"660",y:"51",rx:"2",ry:"2",width:"280",height:"36"}),E.jsx("rect",{x:"52",y:"130",rx:"2",ry:"2",width:"31",height:"31"}),E.jsx("rect",{x:"95",y:"130",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"217",y:"130",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"339",y:"130",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"461",y:"130",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"583",y:"130",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"705",y:"130",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"827",y:"130",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"52",y:"170",rx:"2",ry:"2",width:"31",height:"31"}),E.jsx("rect",{x:"95",y:"170",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"217",y:"170",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"339",y:"170",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"461",y:"170",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"583",y:"170",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"705",y:"170",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"827",y:"170",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"52",y:"210",rx:"2",ry:"2",width:"31",height:"31"}),E.jsx("rect",{x:"95",y:"210",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"217",y:"210",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"339",y:"210",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"461",y:"210",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"583",y:"210",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"705",y:"210",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"827",y:"210",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"52",y:"250",rx:"2",ry:"2",width:"31",height:"31"}),E.jsx("rect",{x:"95",y:"250",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"217",y:"250",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"339",y:"250",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"461",y:"250",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"583",y:"250",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"705",y:"250",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"827",y:"250",rx:"2",ry:"2",width:"110",height:"31"})]})}),exports.ContentLoaderPopupPicklist=()=>E.jsx(Wd,{children:E.jsxs(kd,{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:[E.jsx("rect",{x:"130",y:"20",rx:"2",ry:"2",width:"100",height:"21"}),E.jsx("rect",{x:"510",y:"20",rx:"2",ry:"2",width:"100",height:"21"}),E.jsx("rect",{x:"130",y:"51",rx:"2",ry:"2",width:"360",height:"36"}),E.jsx("rect",{x:"510",y:"51",rx:"2",ry:"2",width:"360",height:"36"}),E.jsx("rect",{x:"130",y:"110",rx:"2",ry:"2",width:"100",height:"21"}),E.jsx("rect",{x:"510",y:"110",rx:"2",ry:"2",width:"100",height:"21"}),E.jsx("rect",{x:"130",y:"141",rx:"2",ry:"2",width:"360",height:"36"}),E.jsx("rect",{x:"510",y:"141",rx:"2",ry:"2",width:"360",height:"36"}),E.jsx("rect",{x:"52",y:"200",rx:"2",ry:"2",width:"31",height:"31"}),E.jsx("rect",{x:"95",y:"200",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"217",y:"200",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"339",y:"200",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"461",y:"200",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"583",y:"200",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"705",y:"200",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"827",y:"200",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"52",y:"240",rx:"2",ry:"2",width:"31",height:"31"}),E.jsx("rect",{x:"95",y:"240",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"217",y:"240",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"339",y:"240",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"461",y:"240",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"583",y:"240",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"705",y:"240",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"827",y:"240",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"52",y:"280",rx:"2",ry:"2",width:"31",height:"31"}),E.jsx("rect",{x:"95",y:"280",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"217",y:"280",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"339",y:"280",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"461",y:"280",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"583",y:"280",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"705",y:"280",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"827",y:"280",rx:"2",ry:"2",width:"110",height:"31"})]})}),exports.ContentLoaderPopupReadyToShip=()=>E.jsx(Wd,{children:E.jsxs(kd,{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:[E.jsx("rect",{x:"20",y:"25",rx:"2",ry:"2",width:"25",height:"22"}),E.jsx("rect",{x:"55",y:"20",rx:"2",ry:"2",width:"32",height:"32"}),E.jsx("rect",{x:"97",y:"20",rx:"2",ry:"2",width:"250",height:"32"}),E.jsx("rect",{x:"500",y:"20",rx:"2",ry:"2",width:"170",height:"32"}),E.jsx("rect",{x:"680",y:"20",rx:"2",ry:"2",width:"170",height:"32"}),E.jsx("rect",{x:"860",y:"20",rx:"2",ry:"2",width:"25",height:"22"}),E.jsx("rect",{x:"20",y:"70",rx:"2",ry:"2",width:"25",height:"22"}),E.jsx("rect",{x:"55",y:"65",rx:"2",ry:"2",width:"32",height:"32"}),E.jsx("rect",{x:"97",y:"65",rx:"2",ry:"2",width:"250",height:"32"}),E.jsx("rect",{x:"500",y:"65",rx:"2",ry:"2",width:"170",height:"32"}),E.jsx("rect",{x:"680",y:"65",rx:"2",ry:"2",width:"170",height:"32"}),E.jsx("rect",{x:"860",y:"65",rx:"2",ry:"2",width:"25",height:"22"}),E.jsx("rect",{x:"20",y:"115",rx:"2",ry:"2",width:"25",height:"22"}),E.jsx("rect",{x:"55",y:"110",rx:"2",ry:"2",width:"32",height:"32"}),E.jsx("rect",{x:"97",y:"110",rx:"2",ry:"2",width:"250",height:"32"}),E.jsx("rect",{x:"500",y:"110",rx:"2",ry:"2",width:"170",height:"32"}),E.jsx("rect",{x:"680",y:"110",rx:"2",ry:"2",width:"170",height:"32"}),E.jsx("rect",{x:"860",y:"110",rx:"2",ry:"2",width:"25",height:"22"}),E.jsx("rect",{x:"20",y:"160",rx:"2",ry:"2",width:"25",height:"22"}),E.jsx("rect",{x:"55",y:"155",rx:"2",ry:"2",width:"32",height:"32"}),E.jsx("rect",{x:"97",y:"155",rx:"2",ry:"2",width:"250",height:"32"}),E.jsx("rect",{x:"500",y:"155",rx:"2",ry:"2",width:"170",height:"32"}),E.jsx("rect",{x:"680",y:"155",rx:"2",ry:"2",width:"170",height:"32"}),E.jsx("rect",{x:"860",y:"155",rx:"2",ry:"2",width:"25",height:"22"}),E.jsx("rect",{x:"20",y:"205",rx:"2",ry:"2",width:"25",height:"22"}),E.jsx("rect",{x:"55",y:"200",rx:"2",ry:"2",width:"32",height:"32"}),E.jsx("rect",{x:"97",y:"200",rx:"2",ry:"2",width:"250",height:"32"}),E.jsx("rect",{x:"500",y:"200",rx:"2",ry:"2",width:"170",height:"32"}),E.jsx("rect",{x:"680",y:"200",rx:"2",ry:"2",width:"170",height:"32"}),E.jsx("rect",{x:"860",y:"200",rx:"2",ry:"2",width:"25",height:"22"})]})}),exports.ContentLoaderPopupStoreSelect=()=>E.jsx(Wd,{children:E.jsx(kd,{speed:1,width:325.5,height:30,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:E.jsx("rect",{x:"0",y:"0",rx:"5",ry:"5",width:"325.5",height:"30"})})}),exports.ContentLoaderPosProductDetail=()=>E.jsxs(kd,{speed:1,width:"100%",height:580,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:[E.jsx("rect",{x:"0",y:"0",rx:"0",ry:"0",width:"100%",height:"198"}),E.jsx("rect",{x:"0",y:"214",rx:"0",ry:"0",width:"100%",height:"16"}),E.jsx("rect",{x:"0",y:"240",rx:"0",ry:"0",width:"100%",height:"16"}),E.jsx("rect",{x:"0",y:"266",rx:"0",ry:"0",width:"100%",height:"16"}),E.jsx("rect",{x:"0",y:"292",rx:"0",ry:"0",width:"100%",height:"16"}),E.jsx("rect",{x:"0",y:"318",rx:"0",ry:"0",width:"100%",height:"40"}),E.jsx("rect",{x:"0",y:"368",rx:"0",ry:"0",width:"100%",height:"16"}),E.jsx("rect",{x:"0",y:"394",rx:"0",ry:"0",width:"100%",height:"16"}),E.jsx("rect",{x:"0",y:"420",rx:"0",ry:"0",width:"100%",height:"16"}),E.jsx("rect",{x:"0",y:"456",rx:"0",ry:"0",width:"100px",height:"16"}),E.jsx("rect",{x:"0",y:"480",rx:"0",ry:"0",width:"100%",height:"94"})]}),exports.ContentLoaderPromotionHover=()=>E.jsxs(kd,{height:151,width:"100%",speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:[E.jsx("rect",{x:"0",y:"4",rx:"0",ry:"0",width:"135",height:"14"}),E.jsx("rect",{x:"150",y:"4",rx:"0",ry:"0",width:"140",height:"14"}),E.jsx("rect",{x:"0",y:"32",rx:"0",ry:"0",width:"135",height:"14"}),E.jsx("rect",{x:"150",y:"32",rx:"0",ry:"0",width:"140",height:"14"}),E.jsx("rect",{x:"0",y:"60",rx:"0",ry:"0",width:"135",height:"14"}),E.jsx("rect",{x:"150",y:"60",rx:"0",ry:"0",width:"140",height:"14"}),E.jsx("rect",{x:"0",y:"88",rx:"0",ry:"0",width:"135",height:"14"}),E.jsx("rect",{x:"150",y:"88",rx:"0",ry:"0",width:"140",height:"14"}),E.jsx("rect",{x:"0",y:"116",rx:"0",ry:"0",width:"135",height:"14"}),E.jsx("rect",{x:"150",y:"116",rx:"0",ry:"0",width:"140",height:"14"}),E.jsx("rect",{x:"150",y:"132",rx:"0",ry:"0",width:"140",height:"14"})]}),exports.ContentLoaderReportingDashboard=()=>E.jsx(Nd,{children:E.jsxs(kd,{speed:1,width:Td,height:500,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:[E.jsx("rect",{x:"10",y:"10",rx:"2",ry:"2",width:"210",height:"25"}),E.jsx("rect",{x:"10",y:"60",rx:"2",ry:"2",width:"210",height:"20"}),E.jsx("rect",{x:"10",y:"95",rx:"2",ry:"2",width:"210",height:"20"}),E.jsx("rect",{x:"10",y:"130",rx:"2",ry:"2",width:"210",height:"20"}),E.jsx("rect",{x:"10",y:"165",rx:"2",ry:"2",width:"210",height:"20"}),E.jsx("rect",{x:"10",y:"200",rx:"2",ry:"2",width:"210",height:"20"}),E.jsx("rect",{x:"10",y:"235",rx:"2",ry:"2",width:"210",height:"20"}),E.jsx("rect",{x:"10",y:"270",rx:"2",ry:"2",width:"210",height:"20"}),E.jsx("rect",{x:"10",y:"305",rx:"2",ry:"2",width:"210",height:"20"}),E.jsx("rect",{x:"280",y:"10",rx:"2",ry:"2",width:"210",height:"25"}),E.jsx("rect",{x:"280",y:"60",rx:"2",ry:"2",width:"210",height:"20"}),E.jsx("rect",{x:"280",y:"95",rx:"2",ry:"2",width:"210",height:"20"}),E.jsx("rect",{x:"280",y:"130",rx:"2",ry:"2",width:"210",height:"20"}),E.jsx("rect",{x:"280",y:"165",rx:"2",ry:"2",width:"210",height:"20"}),E.jsx("rect",{x:"280",y:"200",rx:"2",ry:"2",width:"210",height:"20"}),E.jsx("rect",{x:"280",y:"235",rx:"2",ry:"2",width:"210",height:"20"}),E.jsx("rect",{x:"280",y:"270",rx:"2",ry:"2",width:"210",height:"20"}),E.jsx("rect",{x:"280",y:"305",rx:"2",ry:"2",width:"210",height:"20"}),E.jsx("rect",{x:"550",y:"10",rx:"2",ry:"2",width:"210",height:"25"}),E.jsx("rect",{x:"550",y:"60",rx:"2",ry:"2",width:"210",height:"20"}),E.jsx("rect",{x:"550",y:"95",rx:"2",ry:"2",width:"210",height:"20"}),E.jsx("rect",{x:"550",y:"130",rx:"2",ry:"2",width:"210",height:"20"}),E.jsx("rect",{x:"550",y:"165",rx:"2",ry:"2",width:"210",height:"20"}),E.jsx("rect",{x:"550",y:"200",rx:"2",ry:"2",width:"210",height:"20"}),E.jsx("rect",{x:"550",y:"235",rx:"2",ry:"2",width:"210",height:"20"}),E.jsx("rect",{x:"550",y:"270",rx:"2",ry:"2",width:"210",height:"20"}),E.jsx("rect",{x:"550",y:"305",rx:"2",ry:"2",width:"210",height:"20"})]})}),exports.ContentLoaderSetting=()=>E.jsxs(kd,{speed:1,width:"100%",height:550,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:[E.jsx("rect",{x:"0",y:"0",rx:"2",ry:"2",width:"125",height:"15"}),E.jsx("rect",{x:"0",y:"25",rx:"2",ry:"2",width:"620",height:"25"}),E.jsx("rect",{x:"0",y:"60",rx:"2",ry:"2",width:"450",height:"25"}),E.jsx("rect",{x:"0",y:"110",rx:"2",ry:"2",width:"125",height:"15"}),E.jsx("rect",{x:"0",y:"135",rx:"2",ry:"2",width:"620",height:"25"}),E.jsx("rect",{x:"0",y:"170",rx:"2",ry:"2",width:"450",height:"25"}),E.jsx("rect",{x:"0",y:"220",rx:"2",ry:"2",width:"125",height:"15"}),E.jsx("rect",{x:"0",y:"245",rx:"2",ry:"2",width:"620",height:"25"}),E.jsx("rect",{x:"0",y:"280",rx:"2",ry:"2",width:"450",height:"25"}),E.jsx("rect",{x:"0",y:"330",rx:"2",ry:"2",width:"125",height:"15"}),E.jsx("rect",{x:"0",y:"355",rx:"2",ry:"2",width:"450",height:"80"}),E.jsx("rect",{x:"0",y:"460",rx:"2",ry:"2",width:"125",height:"15"}),E.jsx("rect",{x:"0",y:"485",rx:"2",ry:"2",width:"450",height:"80"}),E.jsx("rect",{x:"0",y:"585",rx:"2",ry:"2",width:"125",height:"15"}),E.jsx("rect",{x:"0",y:"610",rx:"2",ry:"2",width:"170",height:"25"}),E.jsx("rect",{x:"180",y:"610",rx:"2",ry:"2",width:"170",height:"25"}),E.jsx("rect",{x:"0",y:"645",rx:"2",ry:"2",width:"170",height:"25"}),E.jsx("rect",{x:"180",y:"645",rx:"2",ry:"2",width:"170",height:"25"}),E.jsx("rect",{x:"0",y:"695",rx:"2",ry:"2",width:"125",height:"15"}),E.jsx("rect",{x:"0",y:"720",rx:"2",ry:"2",width:"450",height:"25"}),E.jsx("rect",{x:"0",y:"755",rx:"2",ry:"2",width:"400",height:"25"})]}),exports.ContentLoaderTableList=()=>{const e=Sd-96,t=Math.floor((Td-110)/120),n=Math.floor((e-20)/50);return E.jsx(Ld,{children:E.jsx(kd,{speed:1,width:Td,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 E.jsx("rect",{x:i,y:r,rx:"2",ry:"2",width:100,height:0===n?16:30},t)}))}))})})},exports.CreateContainer=_t,exports.CreateHeaderWrapper=en,exports.CreateToolWrapper=tn,exports.DateComponent=hd,exports.DateTimeComponent=({dateTimeData:e})=>{const t=f.default(e,"YYYY-MM-DD HH:mm:ss ZZ").format("D MMM YYYY,"),n=f.default(e,"YYYY-MM-DD HH:mm:ss ZZ").format("hh:mm A");return E.jsx(xd,{children:e?E.jsxs(E.Fragment,{children:[E.jsx("span",{children:t}),E.jsx("span",{children:n})]}):"-"})},exports.DateWrapper=jt,exports.DetailItem=Jt,exports.DetailItemAction=Rt,exports.DetailItemInfo=Qt,exports.DetailItemTitle=Zt,exports.DetailItemWrapper=Ut,exports.DetailList=St,exports.DetailPanelWrapper=qt,exports.DetailWrapper=Wt,exports.DotIcon=Bn,exports.DropDownAction=Uc,exports.DropDownBody=Jc,exports.DropDownContainer=Zc,exports.DropDownControl=Tc,exports.DropDownOverlayWrapper=Yc,exports.DropDownSubTitle=Qc,exports.DropDownTitle=Rc,exports.DropDownWrapper=Nc,exports.DropdownAction=Mt,exports.DropdownControlWrapper=Sc,exports.DropdownItem=Ot,exports.DropdownList=Gt,exports.DropdownPortalContainer=qc,exports.DropdownTitle=kt,exports.ErrorComponent=e=>{var{children:t,$mode:n}=e,r=v(e,["children","$mode"]);return E.jsxs(Bc,Object.assign({$mode:n,className:"_refErrorContainer"},r,{children:[E.jsx(qn,{$name:"alert",$width:"11px"}),t]}))},exports.FigureWraper=Ze,exports.FilterButton=Pt,exports.FilterColumnContainer=wn,exports.FilterContainer=bt,exports.FilterItem=Xt,exports.FilterList=zt,exports.FilterListTitle=Lt,exports.FilterStoreContainer=kn,exports.FilterStoreList=Gn,exports.FilterWrapper=Ft,exports.FoContainer=Be,exports.FormContainer=Dd,exports.HeaderContainer=fe,exports.IconComponent=qn,exports.IconDot=Vt,exports.ImageChannelComponent=({data:e,label:t,size:n,isImageOnly:r,$mode:i,$isPhone:o,labelPhone:a})=>{var l,s;const c=n&&parseInt(n)/2>10?parseInt(n)/2:10,d=n||"20px";if(!e)return E.jsx(E.Fragment,{children:!r&&E.jsx("span",{children:t||"-"})});const C=t||(null==e?void 0:e.name)||(null==e?void 0:e.storeName)||(null==e?void 0:e.store_name)||(null==e?void 0:e.accountName)||(null==e?void 0:e.channelName)||(null==e?void 0:e.channel_name)||"No Store",p=(null==e?void 0:e.icon)||(null===(s=null===(l=null==e?void 0:e.account)||void 0===l?void 0:l.channel)||void 0===s?void 0:s.imageUrl)||(null==e?void 0:e.imageUrl)||(null==e?void 0:e.channelImage)||(null==e?void 0:e.channel_image)||"",g=(null==e?void 0:e.color)||(null==e?void 0:e.channelColor)||(null==e?void 0:e.channel_color)||"#ooo",u=(null==e?void 0:e.channelInitials)||(null==e?void 0:e.channelInitial)||(null==e?void 0:e.channel_initials)||(null==e?void 0:e.initials)||"",h=a||(null==e?void 0:e.phone)||(null==e?void 0:e.storeId)||"-",x=null==e?void 0:e.availableAPI;return E.jsxs(E.Fragment,{children:[E.jsx("div",{children:p?E.jsx(fr,{$mode:i,width:"auto",height:d,src:p||"/",alt:e.channelName||e.channel_name||""}):u?E.jsx(Te,{style:{width:d,height:d,backgroundColor:g,fontSize:c+"px"},children:u}):E.jsx(fr,{$mode:i,width:"auto",height:d,src:"/"})}),!r&&(o?E.jsxs("div",{children:[E.jsx("span",{className:"multi-elipsis",title:C,children:C}),E.jsx("aside",{className:"multi-elipsis",title:h,style:{color:"#999999",fontSize:"12px"},children:h})]}):E.jsxs("span",{className:"multi-elipsis",title:C,children:[C,x&&E.jsx(En,{className:"_refLabel",children:"API"})]}))]})},exports.ImageComponent=fr,exports.InfoGroup=Ve,exports.InitialContainer=Te,exports.InputComponent=pe,exports.InputGroup=We,exports.InputOTPComponent=e=>{var{otpLength:t=6,value:n,onChange:r}=e,i=v(e,["otpLength","value","onChange"]);const o=e=>{var i;const o=e.target,a=o.value,l=o.dataset.index?parseInt(o.dataset.index):0;if(""===a||/^\d$/.test(a)){let e=n.split("");e[l]=a;const o=e.join("");r(o),""!==a&&l<t-1&&(null===(i=document.getElementById(`otp-inputbox-${l+1}`))||void 0===i||i.focus())}},a=e=>{var t;const r=e.target,i=r.dataset.index?parseInt(r.dataset.index):0;"Backspace"===e.key&&!n[i]&&i>0&&(null===(t=document.getElementById("otp-inputbox-"+(i-1)))||void 0===t||t.focus())};let l=[];for(let e=0;e<t;e++)l.push(E.jsx(Ce,Object.assign({"data-index":e,id:`otp-inputbox-${e}`,name:`otp-input-${e}`,autoComplete:"one-time-code",inputMode:"numeric",required:!0,value:n[e]||"",onChange:e=>o(e),onKeyDown:e=>a(e),onFocus:e=>{e.target.addEventListener("wheel",(function(e){e.preventDefault()}),{passive:!1}),e.target.select()}},i),e));return E.jsx("div",{onPaste:e=>{e.preventDefault();const n=e.clipboardData.getData("Text").replace(/\D/g,"").slice(0,t);r(n)},children:l})},exports.InputRefComponent=ge,exports.IsNumeric=K,exports.ItemPriceLabel=nt,exports.ItemQtyLabel=Dn,exports.ItemTable=Dt,exports.LabelComponent=e=>{var{children:t,$mode:n,$position:r}=e,i=v(e,["children","$mode","$position"]);return E.jsx(Yn,Object.assign({$mode:n,$position:r},i,{children:t}))},exports.LeftPanelContainer=Je,exports.LinkComponent=e=>{var{children:t,mode:n,$activated:r=!1,href:i,$elipsis:o=!1,$shadow:a=!1,$iconRight:l,disabled:s=!1}=e,c=v(e,["children","mode","$activated","href","$elipsis","$shadow","$iconRight","disabled"]);const{onClick:d}=c;return i?E.jsx(Q,Object.assign({className:"_refLink",mode:n,$activated:r,$elipsis:o,$shadow:a,$iconRight:l,disabled:s,href:i},c,{children:t})):E.jsx(J,Object.assign({className:"_refLink",mode:n,$activated:r,$elipsis:o,$shadow:a,$iconRight:l,disabled:s,onClick:d},c,{children:t}))},exports.LinkContainer=vt,exports.ListAddItemContainer=ln,exports.ListComponent=e=>{var{children:t,$mode:n,$selected:r,$type:i}=e,o=v(e,["children","$mode","$selected","$type"]);return E.jsx(Fd,Object.assign({$mode:n,$selected:r,$type:i},o,{children:t}))},exports.ListContainer=we,exports.ListTable=It,exports.ListTableContainer=Bt,exports.LoadingComponent=Zn,exports.MasterTableActionWrapper=Se,exports.MenuList=e=>E.jsx(a.components.MenuList,Object.assign({},e,{children:e.children})),exports.MessageComponent=({timer:t=500,$type:n,message:r,callback:o})=>{const[a,l]=i.useStateWithCallbackLazy(!1),[s,c]=i.useStateWithCallbackLazy(!1),[d,C]=i.useStateWithCallbackLazy(!1),p=e.useCallback((()=>{C(!d,(()=>{document.getElementsByTagName("BODY")[0].classList.remove("is-immuned"),o&&o()}))}),[o,C,d]),g=e.useCallback((()=>{p()}),[p]);return e.useEffect((()=>{const e=t||2e3,n=document.querySelector("._refMessageOverlay");return a||d?a&&d&&(l&&l(!a,(()=>{})),c&&c(!s,(()=>{})),n&&n.removeEventListener("click",g)):l(!a,(()=>{n&&n.addEventListener("click",g),setTimeout((()=>{c(!s,(()=>{setTimeout((()=>!s&&p()),e)}))}),1)})),()=>{n&&n.removeEventListener("click",g)}}),[a,s,t,p,l,c,g,d]),E.jsxs(er,{$isOpen:a,children:[E.jsx(tr,{className:"_refMessageOverlay"}),E.jsx(rr,{children:E.jsx(nr,{$isOpen:s,children:E.jsxs(ir,{$type:n,children:[E.jsx("i",{}),r,E.jsx(Hn,{$mode:"small-white-round-close",onClick:p})]})})})]})},exports.MessageQuestionComponent=({$type:t,title:n,subtitle:r,callback:a,buttonSubmit:l,cancelCallback:s})=>{const[c,d]=i.useStateWithCallbackLazy(!1),[C,p]=i.useStateWithCallbackLazy(!1),[g,u]=i.useStateWithCallbackLazy(!1),h=e.useCallback((()=>{u(!g,(()=>{s&&s();document.getElementsByTagName("BODY")[0].classList.remove("is-immuned")}))}),[s,g,u]),x=e.useCallback((()=>{h()}),[h]);return e.useEffect((()=>{const e=document.querySelector("._refQuestionMessageOverlay");c||g?c&&g&&(d(!c,(()=>{})),p(!C,(()=>{})),e&&e.removeEventListener("click",x)):d(!c,(()=>{setTimeout((()=>{p(!C,(()=>{})),e&&e.addEventListener("click",x)}),1)}))}),[c,C,d,p,x,g]),E.jsxs(er,{$isOpen:c,children:[E.jsx(tr,{className:"_refQuestionMessageOverlay",$type:t}),E.jsx(rr,{$type:t,children:E.jsx(nr,{$isOpen:C,children:E.jsxs(ir,{$type:t,children:[E.jsx("i",{}),E.jsxs("div",{children:[E.jsx(k,{$elipsis:!1,style:{fontWeight:600,fontSize:"15px"},children:n}),E.jsx(k,{$color:"grey",$elipsis:!1,children:o.htmlToText(r)}),E.jsxs("aside",{children:[E.jsx(Hn,{$mode:"white",$size:"small",onClick:h,children:"Cancel"}),E.jsx(Hn,{$mode:"red",$size:"small",onClick:()=>{u(!g,(()=>{document.getElementsByTagName("BODY")[0].classList.remove("is-immuned"),a&&a()}))},children:l||"Confirm"})]})]})]})})})]})},exports.MultiPanelContainer=Qe,exports.MuteLabel=He,exports.NameLabel=it,exports.NavChildItem=vn,exports.NavChildLine=fn,exports.NavContainer=xn,exports.NavContainerStyles=hn,exports.NavList=gn,exports.NavMainItem=mn,exports.NavMainItemWrapper=bn,exports.NavMobileHeaderWrapper=un,exports.NavMobileOverlay=pn,exports.PageButton=ht,exports.PageDot=mt,exports.PageLabel=xt,exports.PageWrapper=ut,exports.PaginationContainer=gt,exports.PanelBody=Re,exports.PanelContainer=ye,exports.PanelWrapper=be,exports.PopupAddProductContainer=cn,exports.PopupBoxWrapper=Kt,exports.PopupCard=dn,exports.PopupColumnGroup=ze,exports.PopupComponent=t=>{var{children:n,body:r,mode:o,height:a,width:l,isOpen:s,evTooglePopup:c}=t,d=v(t,["children","body","mode","height","width","isOpen","evTooglePopup"]);const[C,p]=i.useStateWithCallbackLazy(!1),g=e.useRef(null),u=e.useCallback((e=>{hr=setTimeout((()=>{p(e,(()=>{const e=g&&g.current?g.current:null;e&&(e.scrollTop=0)})),clearTimeout(hr)}),1)}),[p]),h=e.useRef({init:()=>{u(s)}});e.useEffect((()=>{const{init:e}=h.current;return e(),()=>{clearTimeout(hr)}}),[]),e.useEffect((()=>{u(s)}),[s,u]);let x=[...n];const m=(null==x?void 0:x.filter((t=>e.isValidElement(t)&&"head"===t.props["aria-label"])))||null,f=(null==x?void 0:x.filter((t=>e.isValidElement(t)&&"sub-head"===t.props["aria-label"])))||null,b=(null==x?void 0:x.filter((t=>e.isValidElement(t)&&"body"===t.props["aria-label"])))||null,y=(null==x?void 0:x.filter((t=>e.isValidElement(t)&&"foot"===t.props["aria-label"])))||null,w=(null==x?void 0:x.filter((t=>e.isValidElement(t)&&"left-foot"===t.props["aria-label"])))||null,A=f.length?E.jsx("aside",{children:f[0]&&e.isValidElement(f[0])?f[0].props.children:null}):null,F=m.length&&m[0]&&e.isValidElement(m[0])?m[0].props["data-qa-id"]:"";return E.jsxs(ar,{$isOpen:s,children:[E.jsx(lr,{}),E.jsx(sr,Object.assign({ref:g},d["data-qa-id"]&&{"data-qa-id":d["data-qa-id"]},{children:"question"===o?E.jsx(cr,{$isOpen:C,children:E.jsxs(ur,{$width:l,children:[E.jsx(qn,{$name:"warning",$width:"30px"}),E.jsxs(dr,{$mode:o,children:[m.length?E.jsx(Cr,{children:m[0]&&e.isValidElement(m[0])?m[0].props.children:null}):null,A,y.length?E.jsx(gr,{children:y[0]&&e.isValidElement(y[0])?E.jsx("aside",{"data-type":y[0].props.type||"",children:y[0].props.children}):null}):null]})]})}):E.jsxs(E.Fragment,{children:[E.jsx(dr,{$width:l,$isOpen:C,$mode:o,children:m.length?E.jsxs(E.Fragment,{children:[E.jsx(Hn,{$mode:"round-close",onClick:c}),E.jsx(Cr,{"data-qa-id":F,children:m[0]&&e.isValidElement(m[0])&&m[0].props.children})]}):null}),E.jsxs(cr,{$width:l,$isOpen:C,$withHeader:!!m.length,children:[A,b.length?E.jsx(pr,{$mode:r,$width:l,$height:a,children:b[0]&&e.isValidElement(b[0])&&b[0].props.children}):null,y.length?E.jsxs(gr,{$isLeft:!!w.length,children:[E.jsx("aside",{children:w&&w.length&&w[0]&&e.isValidElement(w[0])?w[0].props.children:null}),y[0]&&e.isValidElement(y[0])?E.jsxs("aside",{"data-type":y[0].props.type||"",children:[o&&"info"===o?E.jsx(Hn,{$mode:"white",$size:"small",onClick:c,children:"Close"}):E.jsx(Hn,{$mode:"white",$size:"small",onClick:c,"data-qa-id":"popup-button-cancel",children:"Cancel"}),y[0].props.children]}):null]}):null]})]})}))]})},exports.PopupDownloadWrapper=$t,exports.PopupExportCardWrapper=Cn,exports.PopupItem=Ge,exports.PopupItemLabel=Le,exports.PopupItemName=Xe,exports.PopupList=ke,exports.PopupRowGroup=Me,exports.PopupTable=je,exports.PopupTableBody=Ie,exports.PopupTableHead=De,exports.PopupTableItem=Ee,exports.RadioComponent=e=>{var{children:t,$mode:n,evChange:r}=e,i=v(e,["children","$mode","evChange"]);const{id:o}=i;return E.jsx(md,{children:E.jsxs("label",{htmlFor:o,children:[E.jsx(vd,Object.assign({type:"radio",id:o,$mode:n,onChange:e=>{r&&r(e)}},i)),E.jsx(fd,Object.assign({$mode:n},i["data-qa-id"]&&{"data-qa-id":i["data-qa-id"]},{children:t}))]})})},exports.RightPanelContainer=Ue,exports.ScrollArrowContainer=An,exports.SearchDropdownContainer=nn,exports.SearchFilterContainer=yt,exports.SearchFormWrapper=qe,exports.SearchResultItem=an,exports.SearchResultList=on,exports.SearchResultWrapper=rn,exports.SearchWrapper=wt,exports.SearchWrapperPopup=sn,exports.SelectComponent=t=>{var{type:n,isError:r=!1,mode:i,customOption:o,customLabel:a,MenuList:l,isCreateable:s=!1,isClearable:c=!1,selectKey:d,disabled:C,defaultValue:p,width:g,reset:u,setReset:h,isForceUpdate:m,setForceUpdate:f,isCheckAutoCopy:b,evChangeCustom:y,isField:w,evCreate:A,evChange:F,isMinOption:B,isMulti:D=!1,options:I,name:j,placeholder:k,removeMessage:G,evCreateMessageQuestion:O,isLoading:M,height:z,customMenuList:X,customMultiValueRemove:L}=t,P=v(t,["type","isError","mode","customOption","customLabel","MenuList","isCreateable","isClearable","selectKey","disabled","defaultValue","width","reset","setReset","isForceUpdate","setForceUpdate","isCheckAutoCopy","evChangeCustom","isField","evCreate","evChange","isMinOption","isMulti","options","name","placeholder","removeMessage","evCreateMessageQuestion","isLoading","height","customMenuList","customMultiValueRemove"]);const[V,H]=e.useState(p||null);e.useEffect((()=>{if(u&&(H(null),h&&h(!1)),m){let e=p;if(b&&e){let t=!1;if(D){let n=e;if(Array.isArray(n)&&n.length){let e=[];for(const r of n){const n=null==I?void 0:I.filter((e=>e.label===r.label&&e.value===r.value));(null==n?void 0:n.length)&&Array.isArray(e)?e.push(r):!t&&(t=!0)}e.length&&(n=e)}}else{let n=e;if(n){const r=null==I?void 0:I.filter((e=>n&&e.label===n.label&&e.value===n.value));(null==r?void 0:r.length)&&(e=null,t=!0)}}t&&j&&y&&y(j,e)}H(e),f&&f(!1)}}),[p,y,b,m,D,j,I,u,f,h]);const W=()=>{const e=document.getElementsByClassName("_refSelectContainer is-shown");if(e.length)for(let t=0;t<e.length;t++)e[t].classList.remove("is-shown")},N=(e,{action:t,removedValue:n,option:r})=>{if(D){const i=e,o=()=>{H(i),F&&F(i,{action:t,removedValue:n,option:r})};switch(t){case"remove-value":if(B&&"remove-value"===t&&Array.isArray(V)&&1===V.length)return!1;if(n.isFixed)return;break;case"pop-value":if(n.isFixed)return;break;case"clear":e=(null==I?void 0:I.filter((e=>e.isFixed)))||[]}if(G&&"remove-value"===t){const e=_("confirm",(null==G?void 0:G.title)||"",(null==G?void 0:G.subtitle)||"",o);return O&&O(e),!1}H(i),F&&F(i,{action:t,removedValue:n,option:r})}else{const o=e;H("paymentReceiveStore"===i?o?{value:o.value,label:o.label,channel:o.channel}:o:a?o?{value:o.value,label:o.label,name:o.name}:o:o?{value:o.value,label:o.label}:o),F&&F(o,{action:t,removedValue:n,option:r})}!D&&w&&y&&j&&y(j,e)},Y=()=>{w&&y&&j&&V&&y(j,V)},T={container:e=>Object.assign(Object.assign({},e),{display:"inline-block",width:g?g+"px":"100%",minHeight:"1px",textAlign:"left",border:"none"}),control:(e,t)=>Object.assign(Object.assign({},e),{borderRadius:".5rem",minHeight:"multi"===i?"50px":"picklist"===i?"30px":"1px",height:"multi"===i?"50px":null!=z?z:"orders"===i?"90px":"30px",maxHeight:"multi"===i?"50px":"picklist"===i?"46px":"none",cursor:"pointer",borderWidth:r?"1px":"0",boxShadow:t.isFocused?"-.0625rem 0rem .0625rem 0rem rgba(26, 26, 26, .122) inset, .0625rem 0rem .0625rem 0rem rgba(26, 26, 26, .122) inset, 0rem .125rem .0625rem 0rem rgba(26, 26, 26, .2) inset":"0rem -.0625rem 0rem 0rem #b5b5b5 inset,0rem 0rem 0rem .0625rem rgba(0, 0, 0, .1) inset,0rem .03125rem 0rem .09375rem #FFF inset",borderColor:t.isFocused&&"filter"!==i&&!r?"var(--pri-clr-ln__fc)":r?"var(--err-clr-ln)":"filter"===i?"#ffffff":" var(--ck-clr-ln)",background:t.isFocused?"rgba(247, 247, 247, 1)":"#ffffff",overflow:"multi"===i?"auto":"picklist"===i?"hidden":"orders"===i?"auto":"initial",alignItems:"orders"===i?"start":"center",padding:"orders"===i?"6px 0":"unset",color:"rgba(74, 74, 74, 1)",opacity:C?".7":1,"&:hover":{borderColor:t.isFocused&&"filter"!==i&&!r?"var(--pri-clr-ln__fc)":r?"var(--err-clr-ln)":"filter"===i?"#ffffff":" var(--ck-clr-ln)",background:"rgba(250, 250, 250, 1)",color:"rgba(48, 48, 48, 1)"}}),placeholder:e=>Object.assign(Object.assign({},e),{fontStyle:"italic"}),input:e=>Object.assign(Object.assign({},e),{minHeight:"1px",margin:"0 2px",padding:"0",input:{boxShadow:"none !important"}}),dropdownIndicator:e=>Object.assign(Object.assign({},e),{minHeight:"1px",paddingTop:"0",paddingBottom:"0",paddingLeft:"2px",paddingRight:"2px",color:"#757575",alignSelf:"orders"===i?"start":"unset"}),indicatorSeparator:e=>Object.assign(Object.assign({},e),{minHeight:"1px",height:"24px",display:"tag"===n?"block":"none"}),clearIndicator:e=>Object.assign(Object.assign({},e),{minHeight:"1px",marginRight:"-6px",padding:"0"}),valueContainer:e=>Object.assign(Object.assign({},e),{height:"multi"===i?"44px":"30px",maxHeight:"multi"===i?"44px":"picklist"===i?"46px":"none",minHeight:"multi"===i?"44px":"picklist"===i?"30px":"1px",overflow:"multi"===i||"picklist"===i?"auto":"initial",paddingTop:"0",paddingBottom:"0",paddingRight:"2px"}),singleValue:e=>Object.assign(Object.assign({},e),{minHeight:"1px",paddingBottom:"2px",color:C?"#ADADAD":"form"===i?"#2d3c48":"initial",opacity:C?".7":1}),option:(e,t)=>Object.assign(Object.assign({},e),!t.isDisabled&&{color:t.isSelected?"#ffffff":"#000000",backgroundColor:t.isSelected||t.isFocused?"#fc5c64":"transparent",cursor:"pointer",overflowWrap:"break-word",wordBreak:"break-all","&:hover":{backgroundColor:"#ec5b62",color:"#ffffff"}}),menu:e=>Object.assign(Object.assign({},e),{borderRadius:".75rem",boxShadow:"0rem .5rem 1.5rem -.5rem rgba(0, 0, 0, .05), 0rem .5rem 1rem -.25rem rgba(0, 0, 0, .05), 0rem .1875rem .375rem 0rem rgba(0, 0, 0, .05), 0rem .125rem .25rem 0rem rgba(0, 0, 0, .05), 0rem .0625rem .125rem 0rem rgba(0, 0, 0, .05), 0rem 0rem 0rem .0625rem rgba(0, 0, 0, .06)",border:"none"}),menuPortal:e=>Object.assign(Object.assign({},e),{zIndex:9999,letterSpacing:"normal",lineHeight:"normal"}),multiValue:(e,t)=>t.data.isFixed?Object.assign(Object.assign({},e),{backgroundColor:"gray"}):e,multiValueLabel:(e,t)=>t.data.isFixed?Object.assign(Object.assign({},e),{fontWeight:"bold",color:"white",paddingRight:6}):e,multiValueRemove:(e,t)=>Object.assign(Object.assign({},e),{display:t.data.isFixed?"none":"block",svg:{position:"relative",top:"2px"}})};let S=s?E.jsx(Fc,Object.assign({options:I,styles:T,onMenuOpen:W,menuPortalTarget:document.body,menuPosition:"fixed",menuPlacement:"auto",value:V,onChange:N,onCreateOption:e=>{h&&h(!1),D?Array.isArray(V)?H([...V,{value:e,label:e}]):H([{value:e,label:e}]):H({value:e,label:e}),A&&A(e)},isValidNewOption:(e,t)=>!(0===e.trim().length||t.find((t=>t.name===e))),noOptionsMessage:()=>null,isClearable:c?!Array.isArray(V)||!V.length||V.some((e=>!e.isFixed)):c},D&&{isMulti:!0},o&&{components:{Option:o}},X&&{components:{MenuList:X}},L&&{components:{MultiValueRemove:L}},l&&{components:{MenuList:l,Option:o}},d&&{key:d},C&&{isDisabled:C},D&&{closeMenuOnSelect:!1},D&&{onBlur:Y},k&&{placeholder:k},M&&{isLoading:M},P)):E.jsx(x.default,Object.assign({options:I,styles:T,onMenuOpen:W,menuPortalTarget:document.body,menuPosition:"fixed",menuPlacement:"auto",value:V,onChange:N,noOptionsMessage:()=>null,isClearable:c?!Array.isArray(V)||!V.length||V.some((e=>!e.isFixed)):c},D&&{isMulti:!0},o&&{components:{Option:o}},"paymentReceiveStore"===i&&{components:{Option:o,SingleValue:a}},a&&{components:{SingleValue:a}},X&&{components:{MenuList:X}},L&&{components:{MultiValueRemove:L}},l&&{components:{MenuList:l,Option:o}},a&&o&&{components:{SingleValue:a,Option:o}},d&&{key:d},C&&{isDisabled:C},D&&{closeMenuOnSelect:!1},D&&{onBlur:Y},k&&{placeholder:k},M&&{isLoading:M},P));return E.jsx("section",Object.assign({className:"_refSelectContainer"},P,{children:S}))},exports.SingleFormContainer=Ed,exports.SortByWrapper=Ht,exports.SwitchComponent=t=>{var{isForceUpdate:n,setForceUpdate:r,reset:i,setReset:o,evChange:a}=t,l=v(t,["isForceUpdate","setForceUpdate","reset","setReset","evChange"]);const{id:s,defaultChecked:c}=l,[d,C]=e.useState(c||!1);e.useEffect((()=>{n&&(C(c||!1),r&&r(!1)),i&&(C(!1),o&&o(!1))}),[n,r,i,o,c,C]);let p=Object.assign({},l);return delete p.defaultChecked,E.jsxs(bd,{children:[E.jsx(yd,Object.assign({type:"checkbox",checked:d,onChange:e=>{(e=>{const t=e.target.checked;C(t)})(e),a&&a(e)}},p)),E.jsx(wd,{role:"checkbox-label",htmlFor:s})]})},exports.TableBundleColumn=jn,exports.TableColumnGroup=tt,exports.TableContentWrapper=In,exports.TableHeadLabel=Ke,exports.TableHeadWrapper=$e,exports.TableItemColumn=ct,exports.TableItemWrapper=dt,exports.TableLabel=rt,exports.TableRightGroup=et,exports.TableRowGroup=_e,exports.TabsContainer=Ae,exports.TabsContent=Fe,exports.TabsHeader=ot,exports.TabsItem=at,exports.TabsList=lt,exports.TabsWrapper=st,exports.TextAreaComponent=t=>{var n,{$isError:r,reset:i,setReset:o,isForceUpdate:a,setForceUpdate:l,evChange:s,evBlur:c,isField:d,evChangeCustom:C,$isEmoji:p}=t,g=v(t,["$isError","reset","setReset","isForceUpdate","setForceUpdate","evChange","evBlur","isField","evChangeCustom","$isEmoji"]);const{name:u,defaultValue:h}=g,[x,m]=e.useState(null!==(n=null==h?void 0:h.toString())&&void 0!==n?n:"");e.useEffect((()=>{var e;a&&(m(null!==(e=null==h?void 0:h.toString())&&void 0!==e?e:""),l&&l(!1)),i&&(m(""),o&&o(!1))}),[a,l,i,o,h]);const f=e=>{const t=e.target.value;m(t)};let b=Object.assign({},g);return delete b.defaultValue,E.jsxs("div",{style:{position:"relative"},children:[E.jsx(td,Object.assign({$isError:r,value:x,onChange:e=>{f(e),s&&s(e)},onBlur:e=>{f(e),(e=>{c&&c(e),d&&u&&C&&C(u,e.target.value)})(e)}},b)),p?E.jsx(ed,{$mode:"textarea",evChange:e=>{var t;m(x+e),u&&(null===(t=document.getElementsByName(u)[0])||void 0===t||t.focus())}}):null]})},exports.TextAreaRefComponent=nd,exports.TextComponent=k,exports.Title=ve,exports.TotalLabel=yn,exports.UpdateContainer=Ct,exports.UploadComponent=e=>{var{children:t,mode:n}=e,r=v(e,["children","mode"]);const{id:i,width:o}=r;return"image"===n?E.jsxs(E.Fragment,{children:[t,E.jsx(Oc,Object.assign({},"data-idx"in r&&{"data-idx":r["data-idx"]},r["data-detail"]&&{"data-detail":r["data-detail"]},r))]}):E.jsxs(Ic,{$width:o,children:[E.jsxs(jc,{htmlFor:i,children:[E.jsx(Gc,{}),E.jsx(kc,{children:t})]}),E.jsx(Oc,Object.assign({},"data-idx"in r&&{"data-idx":r["data-idx"]},r["data-detail"]&&{"data-detail":r["data-detail"]},r))]})},exports.UploadDragDropComponent=t=>{var{children:n,id:r,name:i,evChange:o,evCreateMessage:a,label:l}=t,s=v(t,["children","id","name","evChange","evCreateMessage","label"]);const{accept:c}=s,[d,C]=e.useState(!1),p=e=>{e.preventDefault(),e.stopPropagation(),"dragenter"===e.type||"dragover"===e.type?C(!0):"dragleave"===e.type&&C(!1)};return E.jsxs(Mc,{onDragEnter:p,className:d?"drag-active":"",children:[E.jsx(Oc,Object.assign({id:r,name:i,onChange:e=>{e.preventDefault();const t=e.target;t.files&&t.files[0]&&o&&o(t.files)}},s)),E.jsx(zc,{id:"label-file-dragdrop-upload",htmlFor:r,children:E.jsx(Lc,{children:n?E.jsxs(Vc,{children:[E.jsx(Hc,{}),E.jsx("span",{children:n})]}):E.jsxs(Pc,{children:[null!=l?l:"Drag & Drop file here to upload, or ",E.jsx("span",{children:"browse"}),"."]})})}),d&&E.jsx(Xc,{onDragEnter:p,onDragLeave:p,onDragOver:p,onDrop:e=>{if(e.preventDefault(),e.stopPropagation(),C(!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=$("failed","File type is not allowed. Please check again");return a&&a(e),!1}}o&&o(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.buttonActiveShadowStyle=Y,exports.buttonActiveStyle=N,exports.buttonHoverStyle=W,exports.buttonStyle=H,exports.capitalize=e=>e?e[0].toUpperCase()+e.substring(1):"",exports.channelMap=e=>({2:"Shopify",3:"Lazada",5:"Blanja",6:"Matahari mall",7:"Magento 1",8:"Elevania",9:"Blibli","1o":"Magento 2",11:"Bukalapak",12:"Shopee",13:"Zalora Indonesia",15:"Tokopedia",16:"JD Indonesia",18:"Zilingo",19:"Woocommerce",21:"Manual SO",3532:"Aladin Mall",10017:"Grabmart",10030:"Tiktok",10810:"Whatsapp"}[e.toString()]||""),exports.clearList=G,exports.colorCommonQuantity=e=>e<=0?"red":"green",exports.colorStatus=e=>{switch(e){case"Pending_payment":case"Pending_courier":case"pending payment":case"Pending Payment":case"pending courier":case"not started yet":case"Pending":case"Draft":case"Not_picked":case"Not Picked":case"Unpaid":case"Overdue":case"Write_off":case"Write Off":case"write off":case"Written Off":case"Failed Delivery":case"failed delivery":return"#FF585C";case"Open":case"open":case"In_picking":case"Partial_picked":case"in picking":case"In Picking":case"Incoming":case"not shipped":case"Not Shipped":case"Partial_paid":return"#F8813E";case"Picked":case"picked":case"Packed":case"Ready_to_ship":case"ready to ship":case"Ready to Ship":case"Ready_to_pickup":case"Shipped":case"shipped":case"Fulfilled":case"Delivered":case"delivered":case"Picked_up":case"Invoiced":case"Not_invoiced":case"Invoice_paid":case"Completed":case"completed":case"Paid":case"In Progress":case"Active":case"Confirmed":case"Adjusted":return"#21BA45";case"Cancelled":case"cancelled":case"Voided":return"#a9a9a9";case"Returned":case"return":case"Return":return"#ff585d";case"Closed":return"#2c913d";default:return"green"}},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.commonCSSLists=T,exports.configDateRange=Zd,exports.currencyNumber=ee,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=(e,t=300)=>{let n;return function(...r){clearTimeout(n),n=setTimeout((()=>e.apply(this,r)),t)}},exports.dropBase=L,exports.elipsis=M,exports.errorMessage=e=>"unique"===e?"already exists":"is required",exports.errorTitle=U,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],o=Object.keys(i);for(let e of o){if(Array.isArray(i[e]))for(let n=0;n<i[e].length;n++){const r=i[e][n],o=Object.keys(r);for(let e of o)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.evCheckAllValidationByHeader=(e,t)=>{let n=!1;const r=(e,n,r,i=null)=>{const o=t.filter((t=>t.key===e&&t.validations));if(o.length){const e=o[0],t=e.typeData||"String",r=ne(t,n);return re(e,r,i||"")}return{approved:!0}},i=[];for(let t=0;t<e.length;t++){const o=e[t],a=Object.keys(o);for(const e of a){let t={approved:!0};if(Array.isArray(o[e]))for(let i=0;i<o[e].length;i++){const a=o[e][i],l=Object.keys(a);for(const e of l)if(Array.isArray(a[e]))for(let i=0;i<a[e].length;i++){const o=a[e][i],l=Object.keys(o);for(const i of l)t=r(i,o[i]),t.approved||(o[`${e}_error`]=t.errors[0],n||(n=!0)),-1===i.indexOf("_error")||n||(n=!0)}else t=r(e,a[e]),t.approved||(a[`${e}_error`]=t.errors[0],n||(n=!0)),-1===e.indexOf("_error")||n||(n=!0)}else t=r(e,o[e]),t.approved||(o[`${e}_error`]=t.errors[0],n||(n=!0)),-1===e.indexOf("_error")||n||(n=!0)}i.push(o)}return{error:n,data:i}},exports.evCheckAllValidationByHeaderWithVariant=(e,t)=>{let n=!1;const r=(e,n,r,i)=>{const o=t.filter((t=>t.key===e&&t.validations));if(o.length){const e=o[0],t=e.typeData||"String",r=ne(t,n);return re(e,r,void 0,ie(e.validations,i))}return{approved:!0}};let i=[...e];for(let e=0;e<i.length;e++){let t=i[e],o=Object.keys(t);for(const e of o)if(Array.isArray(t[e])&&t[e].length&&"object"==typeof t[e][0])for(let i=0;i<t[e].length;i++){const o=t[e][i],a=Object.keys(o);for(const t of a)if(!Array.isArray(o[t])){const i=r(`${e}-${t}`,o[t],0,o);i.approved||(o[`${t}_error`]=i.errors[0],n||(n=!0))}}else{const i=r(e,t[e],0,t);i.approved||(t[`${e}_error`]=i.errors[0],n||(n=!0))}i.splice(e,1,t)}return{error:n,data:i}},exports.evCloseDropdown=e=>{const t=e.closest("._refContainer")||e.closest("._refDropdownPortal");if(!!t&&t.classList.contains("is-shown")){const e=document.getElementsByClassName("_refContainer is-shown"),t=document.getElementsByClassName("_refDropdownPortal is-shown");if(null==e?void 0:e.length)for(let t=0;t<e.length;t++){const n=e[t].querySelector("._refDropdownOverlay");n&&(n.style.display="none"),e[t].classList.remove("is-shown")}if(null==t?void 0:t.length)for(let e=0;e<t.length;e++){const n=t[e].querySelector("._refDropdownOverlay");n&&(n.style.display="none"),t[e].classList.remove("is-shown")}const n=document.querySelector("._refScrollContainer");if(document.getElementsByTagName("BODY")[0].classList.remove("is-immuned"),n){n.style.overflow="auto";n.firstChild.style.overflowY="unset"}}},exports.evExecuteError=e=>{const t=$("failed","Validation Errors found, Please fix it!");e&&e(t);const n=document.querySelectorAll(".cell-error");n.length&&oe(n[0])},exports.evForceCloseDropdown=ae,exports.evGenerateValueMatch=ie,exports.evHighlight=e=>{if(!(null==e?void 0:e.length))return!1;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&&oe(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.evRemoveActiveButton=()=>{const e=document.querySelector("#btn-active-red");e&&e.removeAttribute("id")},exports.evScrollTo=oe,exports.evSetTotal=(e,t,n)=>{e&&t&&(t.innerText=`(${e})`,t.removeAttribute("hidden")),n&&"function"==typeof n&&n()},exports.evUpdateInputRc=(e,t)=>{var n;if(!e)return!1;const r=null===(n=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"value"))||void 0===n?void 0:n.set;r&&r.call(e,void 0===t?"":t);const i=new Event("input",{bubbles:!0});e.dispatchEvent(i)},exports.formLabel=V,exports.formatNumber=q,exports.generateAddress=e=>{let t="-";if(e){t=(e.address1||e.address2?(e.address1?e.address1+", ":"")+(e.address2||"")+"<br/>":"")+(e.subDistrict||e.district||e.city?(e.subDistrict?e.subDistrict+", ":"")+(e.district?e.district+", ":"")+(e.city||"")+"<br/>":"")+(e.postalCode?e.postalCode+"<br/>":"")+(e.phone||"")}return t},exports.generateMessage=$,exports.generateMessageQuestion=_,exports.generateSUM=(e,t,n)=>{let r=0;return t&&e&&(r=t.reduce(((t,r)=>{let i;if(Array.isArray(e)){i=r;for(const t of e)t in i&&(i=i[t])}else i=r[e];return t+("currency"===n?parseInt(i.replace(/,.*|[^0-9]/g,"")):i)}),0)),r},exports.generateValue=ne,exports.generateValueTable=(e,t)=>{let n=e;if(t&&""!==e){const r=t.toLowerCase(),i="string"==typeof e?parseInt(e):e;/price/.test(r)?n=ee(i):/width/.test(r)||/length/.test(r)||/height/.test(r)?n=e+" cm":/weight/.test(r)?n=e+" gr":/discount/.test(r)&&(n=e+" %")}return n},exports.getSizeContainer=te,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?"string"==typeof i?""!==i?JSON.parse(i):void 0:i:void 0;break;default:i=void 0===i||"undefined"===i?"":i}return i},exports.headTable=P,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.humanise=e=>e?e.replace(/_/g," ").replace(/-/g," "):"",exports.isCustomVariantChannel=e=>{let t=!1;if(void 0!==e){t=[9,3,12,10030,15,13].includes(e)}return t},exports.isDesktop=()=>document.body.clientWidth>=1024,exports.isMobile=()=>document.body.clientWidth<768,exports.isTablet=()=>document.body.clientWidth>=768&&document.body.clientWidth<1024,exports.multiElipsis=z,exports.pageMasterTable=e=>{switch(e){case"create-master":case"edit-master":return"master";case"create-listing":case"edit-listing":return"listing";case"confirm-adjustment":case"confirm-inbound":case"confirm-outbound":case"create-adjustment":case"create-inbound":case"create-outbound":case"create-transfer":case"create-price":return"stock";case"create-promotion":return"promotion";case"create-paymentreceive":return"payment";case"edit-picklist":case"create-picklist":return"picklist";default:return""}},exports.pasteIntoInput=(e,t)=>{if(e.focus(),"number"==typeof e.selectionStart&&"number"==typeof e.selectionEnd){var n=e.value,r=e.selectionStart;e.value=n.slice(0,r)+t+n.slice(e.selectionEnd),e.selectionEnd=e.selectionStart=r+t.length}else if(void 0!==document.selection){var i=document.selection.createRange();i.text=t,i.collapse(!1),i.select()}},exports.removeStorage=e=>(localStorage.removeItem(e),sessionStorage.removeItem(e),!0),exports.responseWidth=O,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=X,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=e=>e?e.replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&amp;/g,"&"):e,exports.validateByApproveJs=re;
4589
+ `,Td=te().width,Sd=te().height,Zd={rangeDate:"lastsecondweek",startDate:f.default().clone().subtract(13,"days").format("YYYY-MM-DD"),endDate:f.default().clone().format("YYYY-MM-DD"),placeholder:"Last 14 days",minDate:f.default().clone().subtract(89,"days").format("YYYY-MM-DD")};Object.defineProperty(exports,"components",{enumerable:!0,get:function(){return a.components}}),exports.APILabel=En,exports.BoxContainer=Ne,exports.BreadcrumbContainer=Pe,exports.BulkActionWrapper=Ye,exports.BulkSelectContainer=Fn,exports.ButtonComponent=Hn,exports.ButtonGroup=At,exports.ButtonLabel=ft,exports.CardContainer=Nt,exports.CardWrapper=Tt,exports.CheckboxComponent=t=>{var{id:n,name:r,children:i,$flow:o,extendKey:a,extendClass:l,reset:s,setReset:c,isForceUpdate:d,setForceUpdate:C,evChange:p,$isError:g,$iconRight:u}=t,h=v(t,["id","name","children","$flow","extendKey","extendClass","reset","setReset","isForceUpdate","setForceUpdate","evChange","$isError","$iconRight"]);const{disabled:x,defaultChecked:m}=h,[f,b]=e.useState(m||!1),y=e.useRef(null);e.useEffect((()=>{d&&(b(m||!1),C&&C(!1)),s&&(b(!1),c&&c(!1))}),[s,c,d,C,m]);return delete Object.assign({},h).defaultChecked,E.jsxs(me,{$flow:o,$iconRight:u,ref:y,htmlFor:n,disabled:x||!1,children:[i,E.jsx(pe,Object.assign({id:n,type:"checkbox",checked:f,name:r,evChange:e=>{b(e.target.checked),p&&p(e)}},l&&{className:l},""!==a&&{"data-key":a},h)),E.jsx(xe,Object.assign({$isError:g},h["data-qa-id"]&&{"data-qa-id":h["data-qa-id"]}))]})},exports.CollapseContainer=pt,exports.ContentLoaderAccountsList=()=>E.jsxs(kd,{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:[E.jsx("rect",{x:"10",y:"15",rx:"0",ry:"0",width:"40",height:"40"}),E.jsx("rect",{x:"62",y:"15",rx:"0",ry:"0",width:"90",height:"13"}),E.jsx("rect",{x:"62",y:"30",rx:"0",ry:"0",width:"185",height:"13"}),E.jsx("rect",{x:"62",y:"45",rx:"0",ry:"0",width:"50",height:"11"}),E.jsx("rect",{x:"257",y:"23",rx:"50",ry:"50",width:"25",height:"25"}),E.jsx("rect",{x:"10",y:"70",rx:"0",ry:"0",width:"40",height:"40"}),E.jsx("rect",{x:"62",y:"70",rx:"0",ry:"0",width:"90",height:"13"}),E.jsx("rect",{x:"62",y:"85",rx:"0",ry:"0",width:"185",height:"13"}),E.jsx("rect",{x:"62",y:"100",rx:"0",ry:"0",width:"50",height:"11"}),E.jsx("rect",{x:"257",y:"77",rx:"50",ry:"50",width:"25",height:"25"}),E.jsx("rect",{x:"10",y:"125",rx:"0",ry:"0",width:"40",height:"40"}),E.jsx("rect",{x:"62",y:"125",rx:"0",ry:"0",width:"90",height:"13"}),E.jsx("rect",{x:"62",y:"140",rx:"0",ry:"0",width:"185",height:"13"}),E.jsx("rect",{x:"62",y:"155",rx:"0",ry:"0",width:"50",height:"11"}),E.jsx("rect",{x:"257",y:"131",rx:"50",ry:"50",width:"25",height:"25"}),E.jsx("rect",{x:"10",y:"180",rx:"0",ry:"0",width:"40",height:"40"}),E.jsx("rect",{x:"62",y:"180",rx:"0",ry:"0",width:"90",height:"13"}),E.jsx("rect",{x:"62",y:"195",rx:"0",ry:"0",width:"185",height:"13"}),E.jsx("rect",{x:"62",y:"210",rx:"0",ry:"0",width:"50",height:"11"}),E.jsx("rect",{x:"257",y:"185",rx:"50",ry:"50",width:"25",height:"25"}),E.jsx("rect",{x:"10",y:"235",rx:"0",ry:"0",width:"40",height:"40"}),E.jsx("rect",{x:"62",y:"235",rx:"0",ry:"0",width:"90",height:"13"}),E.jsx("rect",{x:"62",y:"250",rx:"0",ry:"0",width:"185",height:"13"}),E.jsx("rect",{x:"62",y:"265",rx:"0",ry:"0",width:"50",height:"11"}),E.jsx("rect",{x:"257",y:"239",rx:"50",ry:"50",width:"25",height:"25"})]}),exports.ContentLoaderActivityList=()=>E.jsxs(kd,{height:260,width:"100%",speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:[E.jsx("rect",{x:"10",y:"15",rx:"50",ry:"50",width:"35",height:"35"}),E.jsx("rect",{x:"55",y:"15",rx:"0",ry:"0",width:"330",height:"13"}),E.jsx("rect",{x:"55",y:"35",rx:"0",ry:"0",width:"330",height:"11"}),E.jsx("rect",{x:"10",y:"65",rx:"50",ry:"50",width:"35",height:"35"}),E.jsx("rect",{x:"55",y:"65",rx:"0",ry:"0",width:"330",height:"13"}),E.jsx("rect",{x:"55",y:"85",rx:"0",ry:"0",width:"330",height:"11"}),E.jsx("rect",{x:"10",y:"115",rx:"50",ry:"50",width:"35",height:"35"}),E.jsx("rect",{x:"55",y:"115",rx:"0",ry:"0",width:"330",height:"13"}),E.jsx("rect",{x:"55",y:"135",rx:"0",ry:"0",width:"330",height:"11"}),E.jsx("rect",{x:"10",y:"165",rx:"50",ry:"50",width:"35",height:"35"}),E.jsx("rect",{x:"55",y:"165",rx:"0",ry:"0",width:"330",height:"13"}),E.jsx("rect",{x:"55",y:"185",rx:"0",ry:"0",width:"330",height:"11"}),E.jsx("rect",{x:"10",y:"215",rx:"50",ry:"50",width:"35",height:"35"}),E.jsx("rect",{x:"55",y:"215",rx:"0",ry:"0",width:"330",height:"13"}),E.jsx("rect",{x:"55",y:"235",rx:"0",ry:"0",width:"330",height:"11"})]}),exports.ContentLoaderAddition=()=>{let e=Td>=994?Td>=1031&&Td>=1031?Td-100:Td-60:994;const t=e-777,n=e-665,r=e-555,i=e-405,o=e-230;return E.jsx(Hd,{children:E.jsxs(kd,{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:[E.jsx("rect",{x:"38",y:"15",rx:"2",ry:"2",width:"31",height:"61"}),E.jsx("rect",{x:95,y:"15",rx:"2",ry:"2",width:t,height:"61"}),E.jsx("rect",{x:n,y:"15",rx:"2",ry:"2",width:90,height:"61"}),E.jsx("rect",{x:r,y:"15",rx:"2",ry:"2",width:140,height:"61"}),E.jsx("rect",{x:i,y:"15",rx:"2",ry:"2",width:160,height:"61"}),E.jsx("rect",{x:o,y:"15",rx:"2",ry:"2",width:140,height:"61"})]})})},exports.ContentLoaderAnalyticsMenu=()=>E.jsx(kd,{height:60,width:"100%",speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:E.jsx("rect",{x:"0",y:"15",rx:"0",ry:"0",width:"100%",height:"36"})}),exports.ContentLoaderCategoryList=()=>{const t=window.innerHeight-286,n=Td>=1336||Td>=1112?400:300,r=32+n+12,i=Td-n-85,o=t?Math.ceil((t-78)/70):0;return E.jsx(zd,{children:E.jsxs(kd,{speed:1,width:Td,height:"100%",backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:[E.jsx("rect",{x:32,y:"23",rx:"2",ry:"2",width:n,height:"16"}),E.jsx("rect",{x:r,y:"23",rx:"2",ry:"2",width:i,height:"16"}),Array.apply(0,Array(o)).map(((t,o)=>{const a=70*o+78;return E.jsxs(e.Fragment,{children:[E.jsx("rect",{x:32,y:a,rx:"2",ry:"2",width:n,height:"31"}),E.jsx("rect",{x:r,y:a,rx:"2",ry:"2",width:i,height:"31"})]},o)}))]})})},exports.ContentLoaderChatAccounts=({mode:t})=>{const n=document.querySelector("._refChatContainer"),r=n?n.offsetWidth:0,i="single"===t?65:n&&n.offsetHeight-140>=0?n.offsetHeight:0,o=r-48-88-20,a=o+60+16,l="single"===t?1:Math.floor(i/64);let s=0;return E.jsx(kd,{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(l)).map(((t,n)=>{const r=14+s,i=32+s,l=64+s;return s=l,E.jsxs(e.Fragment,{children:[E.jsx("rect",{x:"16",y:r,rx:"4",ry:"4",width:"32",height:"32"}),E.jsx("rect",{x:"60",y:r,rx:"0",ry:"0",width:o,height:"14"}),E.jsx("rect",{x:"60",y:i,rx:"0",ry:"0",width:o,height:"14"}),E.jsx("rect",{x:a,y:r,rx:"0",ry:"0",width:"66",height:"14"}),E.jsx("rect",{x:a,y:i,rx:"0",ry:"0",width:"66",height:"14"}),E.jsx("rect",{x:"0",y:l,rx:"0",ry:"0",width:"100%",height:"1"})]},n)}))})},exports.ContentLoaderChatMessages=({mode:e})=>{const t=document.querySelectorAll("._refChatContainer > article"),n=document.querySelector("._refChatContainer");let r=t[0]&&t[0].offsetWidth>=0?t[0].offsetWidth:0;r=r<=0?n&&n.offsetWidth>=0?n.offsetWidth:0:r;const i="single"===e?234:n&&n.offsetHeight>=0?n.offsetHeight:0,o=r-32<=360?r-32:360,a=r-o-16,l=i-145,s="single"===e?1:Math.floor(l/76);let c=0;return E.jsx(kd,{height:l,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(((e,t)=>{const n=0===t?l-76:c-76;return c=n,E.jsx("rect",{x:t>=3?"16":a,y:n,rx:"10",ry:"10",width:o,height:"60"},t)}))})},exports.ContentLoaderChatProducts=({mode:t})=>{const n=document.querySelector("._refTabsContent"),r=document.querySelector("._refChatContainer"),i=n&&n.offsetWidth-30>=0?n.offsetWidth-30:0,o="single"===t?65:r&&r.offsetHeight-204>=0?r.offsetHeight-204:0,a=i-48-88,l=a+60+16+22,s="single"===t?1:Math.floor(o/64);let c=0;return!(i<=0)&&E.jsx(kd,{height:o,width:"100%",speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:Array.apply(0,Array(s)).map(((t,n)=>{const r=14+c,i=32+c,o=64+c;return c=o,E.jsxs(e.Fragment,{children:[E.jsx("rect",{x:"16",y:r,rx:"4",ry:"4",width:"14",height:"14"}),E.jsx("rect",{x:"38",y:r,rx:"4",ry:"4",width:"32",height:"32"}),E.jsx("rect",{x:"78",y:r,rx:"0",ry:"0",width:a,height:"14"}),E.jsx("rect",{x:"78",y:i,rx:"0",ry:"0",width:a,height:"20"}),E.jsx("rect",{x:l,y:r,rx:"0",ry:"0",width:"20",height:"14"}),E.jsx("rect",{x:l,y:i,rx:"0",ry:"0",width:"20",height:"14"}),E.jsx("rect",{x:"0",y:o,rx:"0",ry:"0",width:"100%",height:"1"})]},n)}))})},exports.ContentLoaderChatStores=()=>E.jsxs(kd,{height:220,width:"100%",speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:[E.jsx("rect",{x:"0",y:"0",rx:"0",ry:"0",width:"100%",height:"14"}),E.jsx("rect",{x:"0",y:"28",rx:"0",ry:"0",width:"100%",height:"14"}),E.jsx("rect",{x:"0",y:"56",rx:"0",ry:"0",width:"100%",height:"14"}),E.jsx("rect",{x:"0",y:"84",rx:"0",ry:"0",width:"100%",height:"14"}),E.jsx("rect",{x:"0",y:"112",rx:"0",ry:"0",width:"100%",height:"14"}),E.jsx("rect",{x:"0",y:"140",rx:"0",ry:"0",width:"100%",height:"14"}),E.jsx("rect",{x:"0",y:"168",rx:"0",ry:"0",width:"100%",height:"14"})]}),exports.ContentLoaderDashboardCard=()=>E.jsx(Nd,{children:E.jsxs(kd,{height:220,width:"100%",speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:[E.jsx("rect",{x:"0",y:"0",rx:"0",ry:"0",width:"200",height:"50"}),E.jsx("rect",{x:"0",y:"70",rx:"0",ry:"0",width:"100%",height:"25"}),E.jsx("rect",{x:"0",y:"105",rx:"0",ry:"0",width:"100%",height:"15"}),E.jsx("rect",{x:"0",y:"130",rx:"0",ry:"0",width:"100%",height:"15"}),E.jsx("rect",{x:"0",y:"155",rx:"0",ry:"0",width:"100%",height:"15"}),E.jsx("rect",{x:"0",y:"180",rx:"0",ry:"0",width:"100%",height:"15"}),E.jsx("rect",{x:"0",y:"205",rx:"0",ry:"0",width:"100%",height:"15"})]})}),exports.ContentLoaderEditBundle=()=>E.jsxs(kd,{height:500,width:1150,speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:[E.jsx("rect",{x:"0",y:"25",width:"35",height:"35"}),E.jsx("rect",{x:"50",y:"25",width:"400",height:"35"}),E.jsx("rect",{x:"50",y:"75",width:"170",height:"35"}),E.jsx("rect",{x:"235",y:"75",width:"170",height:"35"}),E.jsx("rect",{x:"420",y:"75",width:"170",height:"35"}),E.jsx("rect",{x:"605",y:"75",width:"170",height:"35"}),E.jsx("rect",{x:"50",y:"125",width:"170",height:"35"}),E.jsx("rect",{x:"0",y:"245",width:"200",height:"35"}),E.jsx("rect",{x:"420",y:"305",width:"150",height:"25"}),E.jsx("rect",{x:"585",y:"305",width:"150",height:"25"}),E.jsx("rect",{x:"750",y:"305",width:"150",height:"25"}),E.jsx("rect",{x:"915",y:"305",width:"150",height:"25"}),E.jsx("rect",{x:"0",y:"345",width:"25",height:"25"}),E.jsx("rect",{x:"40",y:"345",width:"360",height:"25"}),E.jsx("rect",{x:"420",y:"345",width:"150",height:"25"}),E.jsx("rect",{x:"585",y:"345",width:"150",height:"25"}),E.jsx("rect",{x:"750",y:"345",width:"150",height:"25"}),E.jsx("rect",{x:"915",y:"345",width:"150",height:"25"}),E.jsx("rect",{x:"750",y:"395",width:"315",height:"25"})]}),exports.ContentLoaderFilterCategories=()=>E.jsxs(kd,{height:172,width:210,speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:[E.jsx("rect",{x:"4",y:"12",rx:"4",ry:"4",width:"14",height:"14"}),E.jsx("rect",{x:"28",y:"12",rx:"2",ry:"2",width:"170",height:"14"}),E.jsx("rect",{x:"4",y:"36",rx:"4",ry:"4",width:"14",height:"14"}),E.jsx("rect",{x:"28",y:"36",rx:"2",ry:"2",width:"170",height:"14"}),E.jsx("rect",{x:"4",y:"60",rx:"4",ry:"4",width:"14",height:"14"}),E.jsx("rect",{x:"28",y:"60",rx:"2",ry:"2",width:"170",height:"14"}),E.jsx("rect",{x:"4",y:"84",rx:"4",ry:"4",width:"14",height:"14"}),E.jsx("rect",{x:"28",y:"84",rx:"2",ry:"2",width:"170",height:"14"}),E.jsx("rect",{x:"4",y:"108",rx:"4",ry:"4",width:"14",height:"14"}),E.jsx("rect",{x:"28",y:"108",rx:"2",ry:"2",width:"170",height:"14"}),E.jsx("rect",{x:"4",y:"132",rx:"4",ry:"4",width:"14",height:"14"}),E.jsx("rect",{x:"28",y:"132",rx:"2",ry:"2",width:"170",height:"14"}),E.jsx("rect",{x:"4",y:"156",rx:"4",ry:"4",width:"14",height:"14"}),E.jsx("rect",{x:"28",y:"156",rx:"2",ry:"2",width:"170",height:"14"})]}),exports.ContentLoaderFilters=()=>E.jsxs(kd,{height:31,width:500,speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:[E.jsx("rect",{x:"0",y:"5",rx:"8",ry:"8",width:"90",height:"20"}),E.jsx("rect",{x:"100",y:"5",rx:"8",ry:"8",width:"90",height:"20"}),E.jsx("rect",{x:"200",y:"5",rx:"8",ry:"8",width:"90",height:"20"}),E.jsx("rect",{x:"300",y:"5",rx:"8",ry:"8",width:"90",height:"20"}),E.jsx("rect",{x:"400",y:"5",rx:"8",ry:"8",width:"90",height:"20"})]}),exports.ContentLoaderInvoiceListPaymentreceiveDetail=()=>E.jsx(Ld,{className:"_refLoadingList",children:E.jsxs(kd,{speed:1,width:Td,height:250,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{width:"100%",maxWidth:"1336px",minWidth:"1024px"},children:[E.jsx("rect",{x:"40",y:"0",rx:"2",ry:"2",width:"130",height:"21"}),E.jsx("rect",{x:"190",y:"0",rx:"2",ry:"2",width:"130",height:"21"}),E.jsx("rect",{x:"330",y:"0",rx:"2",ry:"2",width:"250",height:"21"}),E.jsx("rect",{x:"600",y:"0",rx:"2",ry:"2",width:"200",height:"21"}),E.jsx("rect",{x:Td-240,y:"0",rx:"2",ry:"2",width:"200",height:"21"}),E.jsx("rect",{x:"40",y:"50",rx:"2",ry:"2",width:"130",height:"31"}),E.jsx("rect",{x:"190",y:"50",rx:"2",ry:"2",width:"130",height:"31"}),E.jsx("rect",{x:"330",y:"50",rx:"2",ry:"2",width:"250",height:"31"}),E.jsx("rect",{x:"600",y:"50",rx:"2",ry:"2",width:"200",height:"31"}),E.jsx("rect",{x:Td-240,y:"50",rx:"2",ry:"2",width:"200",height:"31"}),E.jsx("rect",{x:"40",y:"100",rx:"2",ry:"2",width:"130",height:"31"}),E.jsx("rect",{x:"190",y:"100",rx:"2",ry:"2",width:"130",height:"31"}),E.jsx("rect",{x:"330",y:"100",rx:"2",ry:"2",width:"250",height:"31"}),E.jsx("rect",{x:"600",y:"100",rx:"2",ry:"2",width:"200",height:"31"}),E.jsx("rect",{x:Td-240,y:"100",rx:"2",ry:"2",width:"200",height:"31"}),E.jsx("rect",{x:"40",y:"150",rx:"2",ry:"2",width:"130",height:"31"}),E.jsx("rect",{x:"190",y:"150",rx:"2",ry:"2",width:"130",height:"31"}),E.jsx("rect",{x:"330",y:"150",rx:"2",ry:"2",width:"250",height:"31"}),E.jsx("rect",{x:"600",y:"150",rx:"2",ry:"2",width:"200",height:"31"}),E.jsx("rect",{x:Td-240,y:"150",rx:"2",ry:"2",width:"200",height:"31"}),E.jsx("rect",{x:"40",y:"200",rx:"2",ry:"2",width:"130",height:"31"}),E.jsx("rect",{x:"190",y:"200",rx:"2",ry:"2",width:"130",height:"31"}),E.jsx("rect",{x:"330",y:"200",rx:"2",ry:"2",width:"250",height:"31"}),E.jsx("rect",{x:"600",y:"200",rx:"2",ry:"2",width:"200",height:"31"}),E.jsx("rect",{x:Td-240,y:"200",rx:"2",ry:"2",width:"200",height:"31"})]})}),exports.ContentLoaderMasterBundleDetail=()=>{const e=Td>=1336?540:Td>=1112?320:250,t=e+30,n=150,r=t+n+15,i=80,o=r+i+15,a=150,l=o+a+15;return E.jsx(Xd,{children:E.jsxs(kd,{speed:1,width:Td,height:300,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:[E.jsx("rect",{x:"15",y:"25",rx:"2",ry:"2",width:e,height:"15"}),E.jsx("rect",{x:t,y:"25",rx:"2",ry:"2",width:n,height:"15"}),E.jsx("rect",{x:r,y:"25",rx:"2",ry:"2",width:i,height:"15"}),E.jsx("rect",{x:o,y:"25",rx:"2",ry:"2",width:a,height:"15"}),E.jsx("rect",{x:l,y:"25",rx:"2",ry:"2",width:80,height:"15"}),E.jsx("rect",{x:"15",y:"60",rx:"2",ry:"2",width:e,height:"30"}),E.jsx("rect",{x:t,y:"60",rx:"2",ry:"2",width:n,height:"30"}),E.jsx("rect",{x:r,y:"60",rx:"2",ry:"2",width:i,height:"30"}),E.jsx("rect",{x:o,y:"60",rx:"2",ry:"2",width:a,height:"30"}),E.jsx("rect",{x:l,y:"60",rx:"2",ry:"2",width:80,height:"30"}),E.jsx("rect",{x:"15",y:"110",rx:"2",ry:"2",width:e,height:"30"}),E.jsx("rect",{x:t,y:"110",rx:"2",ry:"2",width:n,height:"30"}),E.jsx("rect",{x:r,y:"110",rx:"2",ry:"2",width:i,height:"30"}),E.jsx("rect",{x:o,y:"110",rx:"2",ry:"2",width:a,height:"30"}),E.jsx("rect",{x:l,y:"110",rx:"2",ry:"2",width:80,height:"30"}),E.jsx("rect",{x:"15",y:"160",rx:"2",ry:"2",width:e,height:"30"}),E.jsx("rect",{x:t,y:"160",rx:"2",ry:"2",width:n,height:"30"}),E.jsx("rect",{x:r,y:"160",rx:"2",ry:"2",width:i,height:"30"}),E.jsx("rect",{x:o,y:"160",rx:"2",ry:"2",width:a,height:"30"}),E.jsx("rect",{x:l,y:"160",rx:"2",ry:"2",width:80,height:"30"}),E.jsx("rect",{x:"15",y:"210",rx:"2",ry:"2",width:e,height:"30"}),E.jsx("rect",{x:t,y:"210",rx:"2",ry:"2",width:n,height:"30"}),E.jsx("rect",{x:r,y:"210",rx:"2",ry:"2",width:i,height:"30"}),E.jsx("rect",{x:o,y:"210",rx:"2",ry:"2",width:a,height:"30"}),E.jsx("rect",{x:l,y:"210",rx:"2",ry:"2",width:80,height:"30"})]})})},exports.ContentLoaderMasterDetail=()=>{const e=Td-250,t=Td-150,n=Td-80,r=140,i=183,o=200,a=388,l=140,s=533,c=140,d=678,C=140,p=823,g=140;return E.jsx(Vd,{children:E.jsxs(kd,{speed:1,width:Td,height:"100%",backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:[E.jsx("rect",{x:38,y:"20",rx:"2",ry:"2",width:e,height:"30"}),E.jsx("rect",{x:t,y:"20",rx:"2",ry:"2",width:60,height:"30"}),E.jsx("rect",{x:n,y:"20",rx:"2",ry:"2",width:30,height:"30"}),E.jsx("rect",{x:"50",y:"80",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"170",y:"80",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"290",y:"80",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"38",y:"130",rx:"2",ry:"2",width:"150",height:"20"}),E.jsx("rect",{x:"200",y:"130",rx:"2",ry:"2",width:"285",height:"20"}),E.jsx("rect",{x:"38",y:"165",rx:"2",ry:"2",width:"150",height:"20"}),E.jsx("rect",{x:"200",y:"165",rx:"2",ry:"2",width:"285",height:"20"}),E.jsx("rect",{x:"38",y:"200",rx:"2",ry:"2",width:"150",height:"20"}),E.jsx("rect",{x:"200",y:"200",rx:"2",ry:"2",width:"285",height:"20"}),E.jsx("rect",{x:"38",y:"235",rx:"2",ry:"2",width:"150",height:"20"}),E.jsx("rect",{x:"200",y:"235",rx:"2",ry:"2",width:"285",height:"20"}),E.jsx("rect",{x:"38",y:"270",rx:"2",ry:"2",width:"150",height:"20"}),E.jsx("rect",{x:"200",y:"270",rx:"2",ry:"2",width:"285",height:"20"}),E.jsx("rect",{x:38,y:"320",rx:"2",ry:"2",width:r,height:"31"}),E.jsx("rect",{x:i,y:"320",rx:"2",ry:"2",width:o,height:"31"}),E.jsx("rect",{x:a,y:"320",rx:"2",ry:"2",width:l,height:"31"}),E.jsx("rect",{x:s,y:"320",rx:"2",ry:"2",width:c,height:"31"}),E.jsx("rect",{x:d,y:"320",rx:"2",ry:"2",width:C,height:"31"}),E.jsx("rect",{x:p,y:"320",rx:"2",ry:"2",width:g,height:"31"}),E.jsx("rect",{x:38,y:"370",rx:"2",ry:"2",width:r,height:"31"}),E.jsx("rect",{x:i,y:"370",rx:"2",ry:"2",width:o,height:"31"}),E.jsx("rect",{x:a,y:"370",rx:"2",ry:"2",width:l,height:"31"}),E.jsx("rect",{x:s,y:"370",rx:"2",ry:"2",width:c,height:"31"}),E.jsx("rect",{x:d,y:"370",rx:"2",ry:"2",width:C,height:"31"}),E.jsx("rect",{x:p,y:"370",rx:"2",ry:"2",width:g,height:"31"}),E.jsx("rect",{x:38,y:"420",rx:"2",ry:"2",width:r,height:"31"}),E.jsx("rect",{x:i,y:"420",rx:"2",ry:"2",width:o,height:"31"}),E.jsx("rect",{x:a,y:"420",rx:"2",ry:"2",width:l,height:"31"}),E.jsx("rect",{x:s,y:"420",rx:"2",ry:"2",width:c,height:"31"}),E.jsx("rect",{x:d,y:"420",rx:"2",ry:"2",width:C,height:"31"}),E.jsx("rect",{x:p,y:"420",rx:"2",ry:"2",width:g,height:"31"}),E.jsx("rect",{x:38,y:"470",rx:"2",ry:"2",width:r,height:"31"}),E.jsx("rect",{x:i,y:"470",rx:"2",ry:"2",width:o,height:"31"}),E.jsx("rect",{x:a,y:"470",rx:"2",ry:"2",width:l,height:"31"}),E.jsx("rect",{x:s,y:"470",rx:"2",ry:"2",width:c,height:"31"}),E.jsx("rect",{x:d,y:"470",rx:"2",ry:"2",width:C,height:"31"}),E.jsx("rect",{x:p,y:"470",rx:"2",ry:"2",width:g,height:"31"}),E.jsx("rect",{x:"38",y:"530",rx:"2",ry:"2",width:"200",height:"15"}),E.jsx("rect",{x:38,y:"560",rx:"2",ry:"2",width:"50",height:"50"}),E.jsx("rect",{x:108,y:"560",rx:"2",ry:"2",width:"50",height:"50"}),E.jsx("rect",{x:178,y:"560",rx:"2",ry:"2",width:"50",height:"50"}),E.jsx("rect",{x:248,y:"560",rx:"2",ry:"2",width:"50",height:"50"}),E.jsx("rect",{x:318,y:"560",rx:"2",ry:"2",width:"50",height:"50"})]})})},exports.ContentLoaderMasterList=()=>{const t=Sd-286,n=Td>=1336?370:Td>=1112?250:150,r=29+n+12,i=Td>=1336?130:Td>=1112?110:100,o=r+i+12,a=Td>=1336?100:95,l=o+a+12,s=Td>=1336?90:80,c=l+s+12,d=Td>=1336?85:75,C=c+d+12,p=Td>=1336?80:70,g=C+p+12,u=Td>=1336?70:60,h=g+u+12,x=Td>=1336?95:85,m=Td-100-24,f=Sd&&Math.ceil((t-78)/70)>0?Math.ceil((t-78)/70):0;let v=h+x+12,b=[];for(let e=0;v+122<m;e++)b.push({x:h+x+12+122*e,w:110}),v=h+x+12+122*e;return E.jsx(zd,{children:E.jsxs(kd,{speed:1,width:Td,height:"100%",backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:[E.jsx("rect",{x:29,y:"23",rx:"2",ry:"2",width:n,height:"16"}),E.jsx("rect",{x:r,y:"23",rx:"2",ry:"2",width:i,height:"16"}),E.jsx("rect",{x:o,y:"23",rx:"2",ry:"2",width:a,height:"16"}),E.jsx("rect",{x:l,y:"23",rx:"2",ry:"2",width:s,height:"16"}),E.jsx("rect",{x:c,y:"23",rx:"2",ry:"2",width:d,height:"16"}),E.jsx("rect",{x:C,y:"23",rx:"2",ry:"2",width:p,height:"16"}),E.jsx("rect",{x:g,y:"23",rx:"2",ry:"2",width:u,height:"16"}),E.jsx("rect",{x:h,y:"23",rx:"2",ry:"2",width:x,height:"16"}),b.map(((t,n)=>E.jsx(e.Fragment,{children:E.jsx("rect",{x:t.x,y:"23",rx:"2",ry:"2",width:t.w,height:"16"})},n))),E.jsx("rect",{x:m,y:"23",rx:"2",ry:"2",width:100,height:"16"}),Array.apply(0,Array(f)).map(((t,f)=>{const v=70*f+78;return E.jsxs(e.Fragment,{children:[E.jsx("rect",{x:29,y:v,rx:"2",ry:"2",width:n,height:"31"}),E.jsx("rect",{x:r,y:v,rx:"2",ry:"2",width:i,height:"31"}),E.jsx("rect",{x:o,y:v,rx:"2",ry:"2",width:a,height:"31"}),E.jsx("rect",{x:l,y:v,rx:"2",ry:"2",width:s,height:"31"}),E.jsx("rect",{x:c,y:v,rx:"2",ry:"2",width:d,height:"31"}),E.jsx("rect",{x:C,y:v,rx:"2",ry:"2",width:p,height:"31"}),E.jsx("rect",{x:g,y:v,rx:"2",ry:"2",width:u,height:"31"}),E.jsx("rect",{x:h,y:v,rx:"2",ry:"2",width:x,height:"31"}),b.map(((t,n)=>E.jsx(e.Fragment,{children:E.jsx("rect",{x:t.x,y:v,rx:"2",ry:"2",width:t.w,height:"31"})},n))),E.jsx("rect",{x:m,y:v,rx:"2",ry:"2",width:100,height:"31"})]},f)}))]})})},exports.ContentLoaderMasterListingDetail=()=>{const e=Td>=1336?645:Td>=1112?400:300,t=e+45,n=e+90;return E.jsx(Xd,{children:E.jsxs(kd,{speed:1,width:Td,height:300,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:[E.jsx("rect",{x:"15",y:"25",rx:"2",ry:"2",width:t,height:"15"}),E.jsx("rect",{x:n,y:"25",rx:"2",ry:"2",width:"250",height:"15"}),E.jsx("rect",{x:"15",y:"60",rx:"8",ry:"8",width:"30",height:"30"}),E.jsx("rect",{x:"60",y:"60",rx:"2",ry:"2",width:e,height:"30"}),E.jsx("rect",{x:n,y:"60",rx:"2",ry:"2",width:"250",height:"30"}),E.jsx("rect",{x:"15",y:"110",rx:"8",ry:"8",width:"30",height:"30"}),E.jsx("rect",{x:"60",y:"110",rx:"2",ry:"2",width:e,height:"30"}),E.jsx("rect",{x:n,y:"110",rx:"2",ry:"2",width:"250",height:"30"}),E.jsx("rect",{x:"15",y:"160",rx:"8",ry:"8",width:"30",height:"30"}),E.jsx("rect",{x:"60",y:"160",rx:"2",ry:"2",width:e,height:"30"}),E.jsx("rect",{x:n,y:"160",rx:"2",ry:"2",width:"250",height:"30"}),E.jsx("rect",{x:"15",y:"210",rx:"8",ry:"8",width:"30",height:"30"}),E.jsx("rect",{x:"60",y:"210",rx:"2",ry:"2",width:e,height:"30"}),E.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,o=r+i+12,a=t>=1336||t>=1112?110:105,l=o+a+12,s=t>=1336||t>=1112?140:130,c=l+s+12,d=t>=1336?130:t>=1112?120:100,C=c+d+12,p=t>=1336?115:t>=1112?105:100,g=C+p+12,u=t>=1336?150:t>=1112?110:100,h=t-150-24,x=Sd?Math.ceil((Sd-78)/70):0;let m=g+u+12,f=[];for(let e=0;m+122<h;e++)f.push({x:g+u+12+122*e,w:110}),m=g+u+12+122*e;return E.jsx(zd,{className:"_refLoadingList",children:E.jsxs(kd,{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:[E.jsx("rect",{x:29,y:"23",rx:"2",ry:"2",width:n,height:"16"}),E.jsx("rect",{x:r,y:"23",rx:"2",ry:"2",width:i,height:"16"}),E.jsx("rect",{x:o,y:"23",rx:"2",ry:"2",width:a,height:"16"}),E.jsx("rect",{x:l,y:"23",rx:"2",ry:"2",width:s,height:"16"}),E.jsx("rect",{x:c,y:"23",rx:"2",ry:"2",width:d,height:"16"}),E.jsx("rect",{x:C,y:"23",rx:"2",ry:"2",width:p,height:"16"}),E.jsx("rect",{x:g,y:"23",rx:"2",ry:"2",width:u,height:"16"}),f.map(((t,n)=>E.jsx(e.Fragment,{children:E.jsx("rect",{x:t.x,y:"23",rx:"2",ry:"2",width:t.w,height:"16"})},n))),E.jsx("rect",{x:h,y:"23",rx:"2",ry:"2",width:100,height:"16"}),Array.apply(0,Array(x)).map(((t,x)=>{const m=70*x+78;return E.jsxs(e.Fragment,{children:[E.jsx("rect",{x:29,y:m,rx:"2",ry:"2",width:n,height:"31"}),E.jsx("rect",{x:r,y:m,rx:"2",ry:"2",width:i,height:"31"}),E.jsx("rect",{x:o,y:m,rx:"2",ry:"2",width:a,height:"31"}),E.jsx("rect",{x:l,y:m,rx:"2",ry:"2",width:s,height:"31"}),E.jsx("rect",{x:c,y:m,rx:"2",ry:"2",width:d,height:"31"}),E.jsx("rect",{x:C,y:m,rx:"2",ry:"2",width:p,height:"31"}),E.jsx("rect",{x:g,y:m,rx:"2",ry:"2",width:u,height:"31"}),f.map(((t,n)=>E.jsx(e.Fragment,{children:E.jsx("rect",{x:t.x,y:m,rx:"2",ry:"2",width:t.w,height:"31"})},n))),E.jsx("rect",{x:h,y:m,rx:"2",ry:"2",width:100,height:"31"})]},x)}))]})})},exports.ContentLoaderNotifUpdate=()=>E.jsx(kd,{height:36,width:"100%",speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:E.jsx("rect",{x:"0",y:"0",rx:"0",ry:"0",width:"100%",height:"36"})}),exports.ContentLoaderOneLine=({$width:e,$height:t})=>{const n=e||75,r=t||30;return E.jsx(kd,{height:r,width:n,speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,viewBox:`0 0 ${n} ${r}`,children:E.jsx("rect",{x:"0",y:"0",rx:"0",ry:"0",width:n,height:r})})},exports.ContentLoaderOneLinePromotion=()=>E.jsx(kd,{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:E.jsx("rect",{x:"0",y:"2",rx:"5",ry:"5",width:80,height:14})}),exports.ContentLoaderOnlyBodyDashboardCard=()=>E.jsxs(kd,{height:650,width:"100%",speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:[E.jsx("rect",{x:"0",y:"30",rx:"0",ry:"0",width:"50%",height:"20"}),E.jsx("rect",{x:"0",y:"55",rx:"0",ry:"0",width:"50%",height:"20"}),E.jsx("rect",{x:"0",y:"80",rx:"0",ry:"0",width:"50%",height:"20"}),E.jsx("rect",{x:"0",y:"105",rx:"0",ry:"0",width:"50%",height:"20"}),E.jsx("rect",{x:"0",y:"130",rx:"0",ry:"0",width:"50%",height:"20"}),E.jsx("rect",{x:"0",y:"155",rx:"0",ry:"0",width:"50%",height:"20"}),E.jsx("rect",{x:"0",y:"180",rx:"0",ry:"0",width:"50%",height:"20"}),E.jsx("rect",{x:"0",y:"205",rx:"0",ry:"0",width:"50%",height:"20"}),E.jsx("rect",{x:"0",y:"250",rx:"0",ry:"0",width:"100%",height:"250"}),E.jsx("rect",{x:"0",y:"525",rx:"0",ry:"0",width:"100%",height:"15"}),E.jsx("rect",{x:"0",y:"550",rx:"0",ry:"0",width:"100%",height:"15"}),E.jsx("rect",{x:"0",y:"575",rx:"0",ry:"0",width:"100%",height:"15"})]}),exports.ContentLoaderOnlyBodyTableList=()=>{const e=window.innerHeight-96,t=Math.floor((Td-110)/120),n=Math.floor((e-20)/50);return E.jsx(Ld,{children:E.jsx(kd,{speed:1,width:Td,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 E.jsx("rect",{x:n,y:r,rx:"2",ry:"2",width:100,height:"30"},t)}))}))})})},exports.ContentLoaderOnlyHeaderTableList=()=>{const e=Math.floor((Td-110)/120);return E.jsx(Ld,{children:E.jsx(kd,{speed:1,width:Td,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 E.jsx("rect",{x:r,y:20,rx:"2",ry:"2",width:100,height:0===n?16:30},t)}))))})})},exports.ContentLoaderOrderDetail=()=>{const e=Td-700,t=Td-432,n=Td-302,r=Td-217,i=Td-72,o=Td-777,a=Td-665,l=Td-625,s=Td-515,c=Td-365,d=Td-190,C=140,p=Td-777,g=Td-629,u=Td-529,h=Td-389,x=Td-214;return E.jsx(Vd,{children:E.jsxs(kd,{speed:1,width:Td,height:"100%",backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:[E.jsx("rect",{x:"38",y:"18",rx:"2",ry:"2",width:"36",height:"36"}),E.jsx("rect",{x:84,y:"18",rx:"2",ry:"2",width:e,height:"36"}),E.jsx("rect",{x:t,y:"20",rx:"2",ry:"2",width:120,height:"32"}),E.jsx("rect",{x:n,y:"20",rx:"2",ry:"2",width:80,height:"32"}),E.jsx("rect",{x:r,y:"20",rx:"2",ry:"2",width:140,height:"32"}),E.jsx("rect",{x:i,y:"20",rx:"2",ry:"2",width:30,height:"32"}),E.jsx("rect",{x:"38",y:"85",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"152",y:"85",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"266",y:"85",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"64",y:"150",rx:"2",ry:"2",width:"31",height:"61"}),E.jsx("rect",{x:121,y:"150",rx:"2",ry:"2",width:p,height:"61"}),E.jsx("rect",{x:g,y:"150",rx:"2",ry:"2",width:90,height:"61"}),E.jsx("rect",{x:u,y:"150",rx:"2",ry:"2",width:140,height:"61"}),E.jsx("rect",{x:h,y:"150",rx:"2",ry:"2",width:160,height:"61"}),E.jsx("rect",{x:x,y:"150",rx:"2",ry:"2",width:140,height:"61"}),E.jsx("rect",{x:"38",y:"284",rx:"2",ry:"2",width:"285",height:"31"}),E.jsx("rect",{x:"389",y:"284",rx:"2",ry:"2",width:"285",height:"31"}),E.jsx("rect",{x:"38",y:"324",rx:"2",ry:"2",width:"285",height:"31"}),E.jsx("rect",{x:"389",y:"324",rx:"2",ry:"2",width:"285",height:"31"}),E.jsx("rect",{x:"38",y:"364",rx:"2",ry:"2",width:"285",height:"31"}),E.jsx("rect",{x:"389",y:"364",rx:"2",ry:"2",width:"285",height:"31"}),E.jsx("rect",{x:"38",y:"404",rx:"2",ry:"2",width:"285",height:"31"}),E.jsx("rect",{x:"389",y:"404",rx:"2",ry:"2",width:"285",height:"31"}),E.jsx("rect",{x:"38",y:"444",rx:"2",ry:"2",width:"285",height:"31"}),E.jsx("rect",{x:"389",y:"444",rx:"2",ry:"2",width:"285",height:"31"}),E.jsx("rect",{x:"38",y:"515",rx:"2",ry:"2",width:"31",height:"31"}),E.jsx("rect",{x:95,y:"515",rx:"2",ry:"2",width:o,height:"31"}),E.jsx("rect",{x:a,y:"515",rx:"2",ry:"2",width:26,height:"31"}),E.jsx("rect",{x:l,y:"515",rx:"2",ry:"2",width:90,height:"31"}),E.jsx("rect",{x:s,y:"515",rx:"2",ry:"2",width:140,height:"31"}),E.jsx("rect",{x:c,y:"515",rx:"2",ry:"2",width:160,height:"31"}),E.jsx("rect",{x:d,y:"515",rx:"2",ry:"2",width:C,height:"31"}),E.jsx("rect",{x:"38",y:"555",rx:"2",ry:"2",width:"31",height:"31"}),E.jsx("rect",{x:95,y:"555",rx:"2",ry:"2",width:o,height:"31"}),E.jsx("rect",{x:a,y:"555",rx:"2",ry:"2",width:26,height:"31"}),E.jsx("rect",{x:l,y:"555",rx:"2",ry:"2",width:90,height:"31"}),E.jsx("rect",{x:s,y:"555",rx:"2",ry:"2",width:140,height:"31"}),E.jsx("rect",{x:c,y:"555",rx:"2",ry:"2",width:160,height:"31"}),E.jsx("rect",{x:d,y:"555",rx:"2",ry:"2",width:C,height:"31"}),E.jsx("rect",{x:d,y:"604",rx:"2",ry:"2",width:C,height:"31"}),E.jsx("rect",{x:d,y:"654",rx:"2",ry:"2",width:C,height:"31"}),E.jsx("rect",{x:"38",y:"684",rx:"2",ry:"2",width:e,height:"36"})]})})},exports.ContentLoaderOrderList=()=>{const e=100,t=Td-600,n=Td-405,r=120,i=Td-275,o=Td-190,a=140,l=Td-45,s=Td-18,c=Td-777,d=Td-665,C=Td-625,p=Td-515,g=140,u=Td-365,h=160,x=Td-190,m=140;return E.jsxs(Od,{children:[E.jsx(Md,{children:E.jsxs(kd,{speed:1,width:Td,height:"100%",backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:[E.jsx("rect",{x:"52",y:"15",rx:"2",ry:"2",width:"31",height:"31"}),E.jsx("rect",{x:e,y:"15",rx:"2",ry:"2",width:t,height:"31"}),E.jsx("rect",{x:n,y:"15",rx:"2",ry:"2",width:r,height:"32"}),E.jsx("rect",{x:i,y:"15",rx:"2",ry:"2",width:80,height:"32"}),E.jsx("rect",{x:o,y:"15",rx:"2",ry:"2",width:a,height:"32"}),E.jsx("rect",{x:l,y:"15",rx:"2",ry:"2",width:30,height:"32"}),E.jsx("rect",{x:"52",y:"80",rx:"2",ry:"2",width:"200",height:"15"}),E.jsx("rect",{x:9,y:"110",rx:"0",ry:"0",width:s,height:"2"}),E.jsx("rect",{x:"52",y:"127",rx:"2",ry:"2",width:"31",height:"31"}),E.jsx("rect",{x:95,y:"127",rx:"2",ry:"2",width:c,height:"50"}),E.jsx("rect",{x:d,y:"127",rx:"2",ry:"2",width:26,height:"31"}),E.jsx("rect",{x:C,y:"127",rx:"2",ry:"2",width:90,height:"31"}),E.jsx("rect",{x:p,y:"127",rx:"2",ry:"2",width:g,height:"31"}),E.jsx("rect",{x:u,y:"127",rx:"2",ry:"2",width:h,height:"31"}),E.jsx("rect",{x:x,y:"127",rx:"2",ry:"2",width:m,height:"65"})]})}),E.jsx(Md,{children:E.jsxs(kd,{speed:1,width:Td,height:"100%",backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:[E.jsx("rect",{x:"52",y:"15",rx:"2",ry:"2",width:"31",height:"31"}),E.jsx("rect",{x:e,y:"15",rx:"2",ry:"2",width:t,height:"31"}),E.jsx("rect",{x:n,y:"15",rx:"2",ry:"2",width:r,height:"32"}),E.jsx("rect",{x:i,y:"15",rx:"2",ry:"2",width:80,height:"32"}),E.jsx("rect",{x:o,y:"15",rx:"2",ry:"2",width:a,height:"32"}),E.jsx("rect",{x:l,y:"15",rx:"2",ry:"2",width:30,height:"32"}),E.jsx("rect",{x:"52",y:"80",rx:"2",ry:"2",width:"200",height:"15"}),E.jsx("rect",{x:9,y:"110",rx:"0",ry:"0",width:s,height:"2"}),E.jsx("rect",{x:"52",y:"127",rx:"2",ry:"2",width:"31",height:"31"}),E.jsx("rect",{x:95,y:"127",rx:"2",ry:"2",width:c,height:"50"}),E.jsx("rect",{x:d,y:"127",rx:"2",ry:"2",width:26,height:"31"}),E.jsx("rect",{x:C,y:"127",rx:"2",ry:"2",width:90,height:"31"}),E.jsx("rect",{x:p,y:"127",rx:"2",ry:"2",width:g,height:"31"}),E.jsx("rect",{x:u,y:"127",rx:"2",ry:"2",width:h,height:"31"}),E.jsx("rect",{x:x,y:"127",rx:"2",ry:"2",width:m,height:"65"})]})}),E.jsx(Md,{children:E.jsxs(kd,{speed:1,width:Td,height:"100%",backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:[E.jsx("rect",{x:"52",y:"15",rx:"2",ry:"2",width:"31",height:"31"}),E.jsx("rect",{x:e,y:"15",rx:"2",ry:"2",width:t,height:"31"}),E.jsx("rect",{x:n,y:"15",rx:"2",ry:"2",width:r,height:"32"}),E.jsx("rect",{x:i,y:"15",rx:"2",ry:"2",width:80,height:"32"}),E.jsx("rect",{x:o,y:"15",rx:"2",ry:"2",width:a,height:"32"}),E.jsx("rect",{x:l,y:"15",rx:"2",ry:"2",width:30,height:"32"}),E.jsx("rect",{x:"52",y:"80",rx:"2",ry:"2",width:"200",height:"15"}),E.jsx("rect",{x:9,y:"110",rx:"0",ry:"0",width:s,height:"2"}),E.jsx("rect",{x:"52",y:"127",rx:"2",ry:"2",width:"31",height:"31"}),E.jsx("rect",{x:95,y:"127",rx:"2",ry:"2",width:c,height:"50"}),E.jsx("rect",{x:d,y:"127",rx:"2",ry:"2",width:26,height:"31"}),E.jsx("rect",{x:C,y:"127",rx:"2",ry:"2",width:90,height:"31"}),E.jsx("rect",{x:p,y:"127",rx:"2",ry:"2",width:g,height:"31"}),E.jsx("rect",{x:u,y:"127",rx:"2",ry:"2",width:h,height:"31"}),E.jsx("rect",{x:x,y:"127",rx:"2",ry:"2",width:m,height:"65"})]})}),E.jsx(Md,{children:E.jsxs(kd,{speed:1,width:Td,height:"100%",backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:[E.jsx("rect",{x:"52",y:"15",rx:"2",ry:"2",width:"31",height:"31"}),E.jsx("rect",{x:e,y:"15",rx:"2",ry:"2",width:t,height:"31"}),E.jsx("rect",{x:n,y:"15",rx:"2",ry:"2",width:r,height:"32"}),E.jsx("rect",{x:i,y:"15",rx:"2",ry:"2",width:80,height:"32"}),E.jsx("rect",{x:o,y:"15",rx:"2",ry:"2",width:a,height:"32"}),E.jsx("rect",{x:l,y:"15",rx:"2",ry:"2",width:30,height:"32"}),E.jsx("rect",{x:"52",y:"80",rx:"2",ry:"2",width:"200",height:"15"}),E.jsx("rect",{x:9,y:"110",rx:"0",ry:"0",width:s,height:"2"}),E.jsx("rect",{x:"52",y:"127",rx:"2",ry:"2",width:"31",height:"31"}),E.jsx("rect",{x:95,y:"127",rx:"2",ry:"2",width:c,height:"50"}),E.jsx("rect",{x:d,y:"127",rx:"2",ry:"2",width:26,height:"31"}),E.jsx("rect",{x:C,y:"127",rx:"2",ry:"2",width:90,height:"31"}),E.jsx("rect",{x:p,y:"127",rx:"2",ry:"2",width:g,height:"31"}),E.jsx("rect",{x:u,y:"127",rx:"2",ry:"2",width:h,height:"31"}),E.jsx("rect",{x:x,y:"127",rx:"2",ry:"2",width:m,height:"65"})]})}),E.jsx(Md,{children:E.jsxs(kd,{speed:1,width:Td,height:"100%",backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:[E.jsx("rect",{x:"52",y:"15",rx:"2",ry:"2",width:"31",height:"31"}),E.jsx("rect",{x:e,y:"15",rx:"2",ry:"2",width:t,height:"31"}),E.jsx("rect",{x:n,y:"15",rx:"2",ry:"2",width:r,height:"32"}),E.jsx("rect",{x:i,y:"15",rx:"2",ry:"2",width:80,height:"32"}),E.jsx("rect",{x:o,y:"15",rx:"2",ry:"2",width:a,height:"32"}),E.jsx("rect",{x:l,y:"15",rx:"2",ry:"2",width:30,height:"32"}),E.jsx("rect",{x:"52",y:"80",rx:"2",ry:"2",width:"200",height:"15"}),E.jsx("rect",{x:9,y:"110",rx:"0",ry:"0",width:s,height:"2"}),E.jsx("rect",{x:"52",y:"127",rx:"2",ry:"2",width:"31",height:"31"}),E.jsx("rect",{x:95,y:"127",rx:"2",ry:"2",width:c,height:"50"}),E.jsx("rect",{x:d,y:"127",rx:"2",ry:"2",width:26,height:"31"}),E.jsx("rect",{x:C,y:"127",rx:"2",ry:"2",width:90,height:"31"}),E.jsx("rect",{x:p,y:"127",rx:"2",ry:"2",width:g,height:"31"}),E.jsx("rect",{x:u,y:"127",rx:"2",ry:"2",width:h,height:"31"}),E.jsx("rect",{x:x,y:"127",rx:"2",ry:"2",width:m,height:"65"})]})})]})},exports.ContentLoaderPOSCategory=()=>{const e=Math.floor(31*Math.random())+50;return E.jsx(kd,{height:30,width:e,speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:E.jsx("rect",{x:"0",y:"0",rx:"4",ry:"4",width:"100%",height:"30"})})},exports.ContentLoaderPOSItem=()=>E.jsxs(kd,{height:116,width:"100%",speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:[E.jsx(Yd,{$width:"calc(100% - 20px)",x:"10",y:"10",rx:"0",ry:"0",height:"16"}),E.jsx("rect",{x:"10",y:"35",rx:"0",ry:"0",width:"75%",height:"16"}),E.jsx(Yd,{$width:"calc(100% - 20px)",x:"10",y:"63",rx:"0",ry:"0",height:"16"}),E.jsx(Yd,{$x:"calc(50% - 30px)",y:"95",rx:"4",ry:"4",width:"60px",height:"16"})]}),exports.ContentLoaderPOSStore=()=>E.jsxs(kd,{height:125,width:"100%",speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:[E.jsx("rect",{x:"0",y:"4",rx:"0",ry:"0",width:"100%",height:"20"}),E.jsx("rect",{x:"0",y:"28",rx:"0",ry:"0",width:"100%",height:"20"}),E.jsx("rect",{x:"0",y:"70",rx:"0",ry:"0",width:"180px",height:"16"}),E.jsx("rect",{x:"0",y:"110",rx:"0",ry:"0",width:"100px",height:"14"})]}),exports.ContentLoaderPagination=()=>{const e=Td/2,t=e-160,n=e-128,r=e-96,i=e-64,o=e-32,a=e+0,l=e+32,s=e+64,c=e+96,d=e+128;return E.jsx(Pd,{className:"_refLoadingPage",children:E.jsxs(kd,{speed:1,width:Td,height:"100%",backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:[E.jsx("rect",{x:t,y:"23",rx:"2",ry:"2",width:"27",height:"27"}),E.jsx("rect",{x:n,y:"23",rx:"2",ry:"2",width:"27",height:"27"}),E.jsx("rect",{x:r,y:"23",rx:"2",ry:"2",width:"27",height:"27"}),E.jsx("rect",{x:i,y:"23",rx:"2",ry:"2",width:"27",height:"27"}),E.jsx("rect",{x:o,y:"23",rx:"2",ry:"2",width:"27",height:"27"}),E.jsx("rect",{x:a,y:"23",rx:"2",ry:"2",width:"27",height:"27"}),E.jsx("rect",{x:l,y:"23",rx:"2",ry:"2",width:"27",height:"27"}),E.jsx("rect",{x:s,y:"23",rx:"2",ry:"2",width:"27",height:"27"}),E.jsx("rect",{x:c,y:"23",rx:"2",ry:"2",width:"27",height:"27"}),E.jsx("rect",{x:d,y:"23",rx:"2",ry:"2",width:"27",height:"27"}),E.jsx("rect",{x:i,y:"60",rx:"2",ry:"2",width:"128",height:"6"})]})})},exports.ContentLoaderPopupBundle=()=>E.jsxs(kd,{height:270,width:800,speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:[E.jsx("rect",{x:"15",y:"60",width:"300",height:"15"}),E.jsx("rect",{x:"330",y:"25",width:"100",height:"15"}),E.jsx("rect",{x:"450",y:"25",width:"75",height:"15"}),E.jsx("rect",{x:"540",y:"25",width:"130",height:"15"}),E.jsx("rect",{x:"690",y:"25",width:"75",height:"15"}),E.jsx("rect",{x:"15",y:"60",width:"300",height:"30"}),E.jsx("rect",{x:"330",y:"60",width:"100",height:"30"}),E.jsx("rect",{x:"450",y:"60",width:"75",height:"30"}),E.jsx("rect",{x:"540",y:"60",width:"130",height:"30"}),E.jsx("rect",{x:"690",y:"60",width:"75",height:"30"}),E.jsx("rect",{x:"15",y:"110",width:"300",height:"30"}),E.jsx("rect",{x:"330",y:"110",width:"100",height:"30"}),E.jsx("rect",{x:"450",y:"110",width:"75",height:"30"}),E.jsx("rect",{x:"540",y:"110",width:"130",height:"30"}),E.jsx("rect",{x:"690",y:"110",width:"75",height:"30"}),E.jsx("rect",{x:"15",y:"160",width:"300",height:"30"}),E.jsx("rect",{x:"330",y:"160",width:"100",height:"30"}),E.jsx("rect",{x:"450",y:"160",width:"75",height:"30"}),E.jsx("rect",{x:"540",y:"160",width:"130",height:"30"}),E.jsx("rect",{x:"690",y:"160",width:"75",height:"30"}),E.jsx("rect",{x:"15",y:"210",width:"300",height:"30"}),E.jsx("rect",{x:"330",y:"210",width:"100",height:"30"}),E.jsx("rect",{x:"450",y:"210",width:"75",height:"30"}),E.jsx("rect",{x:"540",y:"210",width:"130",height:"30"}),E.jsx("rect",{x:"690",y:"210",width:"75",height:"30"})]}),exports.ContentLoaderPopupChooseStore=()=>E.jsxs(kd,{height:80,width:600,speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:[E.jsx("rect",{x:"0",y:"0",rx:"5",ry:"5",width:"172",height:"34"}),E.jsx("rect",{x:"178",y:"0",rx:"5",ry:"5",width:"172",height:"34"}),E.jsx("rect",{x:"356",y:"0",rx:"5",ry:"5",width:"100",height:"34"}),E.jsx("rect",{x:"462",y:"0",rx:"5",ry:"5",width:"100",height:"34"}),E.jsx("rect",{x:"0",y:"40",rx:"5",ry:"5",width:"172",height:"34"}),E.jsx("rect",{x:"178",y:"40",rx:"5",ry:"5",width:"100",height:"34"}),E.jsx("rect",{x:"284",y:"40",rx:"5",ry:"5",width:"140",height:"34"}),E.jsx("rect",{x:"430",y:"40",rx:"5",ry:"5",width:"100",height:"34"})]}),exports.ContentLoaderPopupLinkedListing=()=>E.jsxs(kd,{height:270,width:800,speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:[E.jsx("rect",{x:"15",y:"25",width:"425",height:"15"}),E.jsx("rect",{x:"490",y:"25",width:"150",height:"15"}),E.jsx("rect",{x:"670",y:"25",width:"95",height:"15"}),E.jsx("rect",{x:"15",y:"60",rx:"8",ry:"8",width:"30",height:"30"}),E.jsx("rect",{x:"60",y:"60",width:"380",height:"30"}),E.jsx("rect",{x:"490",y:"60",width:"150",height:"30"}),E.jsx("rect",{x:"670",y:"60",width:"95",height:"30"}),E.jsx("rect",{x:"15",y:"110",rx:"8",ry:"8",width:"30",height:"30"}),E.jsx("rect",{x:"60",y:"110",width:"380",height:"30"}),E.jsx("rect",{x:"490",y:"110",width:"150",height:"30"}),E.jsx("rect",{x:"670",y:"110",width:"95",height:"30"}),E.jsx("rect",{x:"15",y:"160",rx:"8",ry:"8",width:"30",height:"30"}),E.jsx("rect",{x:"60",y:"160",width:"380",height:"30"}),E.jsx("rect",{x:"490",y:"160",width:"150",height:"30"}),E.jsx("rect",{x:"670",y:"160",width:"95",height:"30"}),E.jsx("rect",{x:"15",y:"210",rx:"8",ry:"8",width:"30",height:"30"}),E.jsx("rect",{x:"60",y:"210",width:"380",height:"30"}),E.jsx("rect",{x:"490",y:"210",width:"150",height:"30"}),E.jsx("rect",{x:"670",y:"210",width:"95",height:"30"})]}),exports.ContentLoaderPopupListOrder=()=>E.jsx(Wd,{children:E.jsxs(kd,{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:[E.jsx("rect",{x:"20",y:"25",rx:"2",ry:"2",width:"25",height:"22"}),E.jsx("rect",{x:"55",y:"20",rx:"2",ry:"2",width:"32",height:"32"}),E.jsx("rect",{x:"97",y:"20",rx:"2",ry:"2",width:"250",height:"32"}),E.jsx("rect",{x:"620",y:"20",rx:"2",ry:"2",width:"170",height:"32"}),E.jsx("rect",{x:"800",y:"20",rx:"2",ry:"2",width:"25",height:"22"}),E.jsx("rect",{x:"60",y:"80",rx:"2",ry:"2",width:"200",height:"20"}),E.jsx("rect",{x:"440",y:"80",rx:"2",ry:"2",width:"90",height:"20"}),E.jsx("rect",{x:"560",y:"80",rx:"2",ry:"2",width:"90",height:"20"}),E.jsx("rect",{x:"680",y:"80",rx:"2",ry:"2",width:"90",height:"20"}),E.jsx("rect",{x:"60",y:"130",rx:"2",ry:"2",width:"200",height:"20"}),E.jsx("rect",{x:"440",y:"130",rx:"2",ry:"2",width:"90",height:"20"}),E.jsx("rect",{x:"560",y:"130",rx:"2",ry:"2",width:"90",height:"20"}),E.jsx("rect",{x:"680",y:"130",rx:"2",ry:"2",width:"90",height:"20"}),E.jsx("rect",{x:"20",y:"210",rx:"2",ry:"2",width:"25",height:"22"}),E.jsx("rect",{x:"55",y:"205",rx:"2",ry:"2",width:"32",height:"32"}),E.jsx("rect",{x:"97",y:"205",rx:"2",ry:"2",width:"250",height:"32"}),E.jsx("rect",{x:"620",y:"205",rx:"2",ry:"2",width:"170",height:"32"}),E.jsx("rect",{x:"800",y:"205",rx:"2",ry:"2",width:"25",height:"22"})]})}),exports.ContentLoaderPopupPaymentReceive=()=>E.jsx(Wd,{children:E.jsxs(kd,{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:[E.jsx("rect",{x:"40",y:"20",rx:"2",ry:"2",width:"80",height:"21"}),E.jsx("rect",{x:"40",y:"51",rx:"2",ry:"2",width:"260",height:"30"}),E.jsx("rect",{x:"40",y:"110",rx:"2",ry:"2",width:"80",height:"21"}),E.jsx("rect",{x:"320",y:"110",rx:"2",ry:"2",width:"80",height:"21"}),E.jsx("rect",{x:"40",y:"141",rx:"2",ry:"2",width:"260",height:"30"}),E.jsx("rect",{x:"320",y:"141",rx:"2",ry:"2",width:"260",height:"30"}),E.jsx("rect",{x:"55",y:"200",rx:"2",ry:"2",width:"220",height:"30"}),E.jsx("rect",{x:"320",y:"200",rx:"2",ry:"2",width:"260",height:"30"}),E.jsx("rect",{x:"55",y:"245",rx:"2",ry:"2",width:"220",height:"30"}),E.jsx("rect",{x:"320",y:"245",rx:"2",ry:"2",width:"260",height:"30"}),E.jsx("rect",{x:"55",y:"290",rx:"2",ry:"2",width:"220",height:"30"}),E.jsx("rect",{x:"320",y:"290",rx:"2",ry:"2",width:"260",height:"30"})]})}),exports.ContentLoaderPopupPaymentReceived=()=>E.jsx(Wd,{children:E.jsxs(kd,{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:[E.jsx("rect",{x:"60",y:"20",rx:"2",ry:"2",width:"100",height:"21"}),E.jsx("rect",{x:"60",y:"51",rx:"2",ry:"2",width:"280",height:"36"}),E.jsx("rect",{x:"360",y:"20",rx:"2",ry:"2",width:"100",height:"21"}),E.jsx("rect",{x:"360",y:"51",rx:"2",ry:"2",width:"280",height:"36"}),E.jsx("rect",{x:"660",y:"20",rx:"2",ry:"2",width:"100",height:"21"}),E.jsx("rect",{x:"660",y:"51",rx:"2",ry:"2",width:"280",height:"36"}),E.jsx("rect",{x:"52",y:"130",rx:"2",ry:"2",width:"31",height:"31"}),E.jsx("rect",{x:"95",y:"130",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"217",y:"130",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"339",y:"130",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"461",y:"130",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"583",y:"130",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"705",y:"130",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"827",y:"130",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"52",y:"170",rx:"2",ry:"2",width:"31",height:"31"}),E.jsx("rect",{x:"95",y:"170",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"217",y:"170",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"339",y:"170",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"461",y:"170",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"583",y:"170",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"705",y:"170",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"827",y:"170",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"52",y:"210",rx:"2",ry:"2",width:"31",height:"31"}),E.jsx("rect",{x:"95",y:"210",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"217",y:"210",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"339",y:"210",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"461",y:"210",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"583",y:"210",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"705",y:"210",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"827",y:"210",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"52",y:"250",rx:"2",ry:"2",width:"31",height:"31"}),E.jsx("rect",{x:"95",y:"250",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"217",y:"250",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"339",y:"250",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"461",y:"250",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"583",y:"250",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"705",y:"250",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"827",y:"250",rx:"2",ry:"2",width:"110",height:"31"})]})}),exports.ContentLoaderPopupPicklist=()=>E.jsx(Wd,{children:E.jsxs(kd,{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:[E.jsx("rect",{x:"130",y:"20",rx:"2",ry:"2",width:"100",height:"21"}),E.jsx("rect",{x:"510",y:"20",rx:"2",ry:"2",width:"100",height:"21"}),E.jsx("rect",{x:"130",y:"51",rx:"2",ry:"2",width:"360",height:"36"}),E.jsx("rect",{x:"510",y:"51",rx:"2",ry:"2",width:"360",height:"36"}),E.jsx("rect",{x:"130",y:"110",rx:"2",ry:"2",width:"100",height:"21"}),E.jsx("rect",{x:"510",y:"110",rx:"2",ry:"2",width:"100",height:"21"}),E.jsx("rect",{x:"130",y:"141",rx:"2",ry:"2",width:"360",height:"36"}),E.jsx("rect",{x:"510",y:"141",rx:"2",ry:"2",width:"360",height:"36"}),E.jsx("rect",{x:"52",y:"200",rx:"2",ry:"2",width:"31",height:"31"}),E.jsx("rect",{x:"95",y:"200",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"217",y:"200",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"339",y:"200",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"461",y:"200",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"583",y:"200",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"705",y:"200",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"827",y:"200",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"52",y:"240",rx:"2",ry:"2",width:"31",height:"31"}),E.jsx("rect",{x:"95",y:"240",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"217",y:"240",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"339",y:"240",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"461",y:"240",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"583",y:"240",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"705",y:"240",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"827",y:"240",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"52",y:"280",rx:"2",ry:"2",width:"31",height:"31"}),E.jsx("rect",{x:"95",y:"280",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"217",y:"280",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"339",y:"280",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"461",y:"280",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"583",y:"280",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"705",y:"280",rx:"2",ry:"2",width:"110",height:"31"}),E.jsx("rect",{x:"827",y:"280",rx:"2",ry:"2",width:"110",height:"31"})]})}),exports.ContentLoaderPopupReadyToShip=()=>E.jsx(Wd,{children:E.jsxs(kd,{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:[E.jsx("rect",{x:"20",y:"25",rx:"2",ry:"2",width:"25",height:"22"}),E.jsx("rect",{x:"55",y:"20",rx:"2",ry:"2",width:"32",height:"32"}),E.jsx("rect",{x:"97",y:"20",rx:"2",ry:"2",width:"250",height:"32"}),E.jsx("rect",{x:"500",y:"20",rx:"2",ry:"2",width:"170",height:"32"}),E.jsx("rect",{x:"680",y:"20",rx:"2",ry:"2",width:"170",height:"32"}),E.jsx("rect",{x:"860",y:"20",rx:"2",ry:"2",width:"25",height:"22"}),E.jsx("rect",{x:"20",y:"70",rx:"2",ry:"2",width:"25",height:"22"}),E.jsx("rect",{x:"55",y:"65",rx:"2",ry:"2",width:"32",height:"32"}),E.jsx("rect",{x:"97",y:"65",rx:"2",ry:"2",width:"250",height:"32"}),E.jsx("rect",{x:"500",y:"65",rx:"2",ry:"2",width:"170",height:"32"}),E.jsx("rect",{x:"680",y:"65",rx:"2",ry:"2",width:"170",height:"32"}),E.jsx("rect",{x:"860",y:"65",rx:"2",ry:"2",width:"25",height:"22"}),E.jsx("rect",{x:"20",y:"115",rx:"2",ry:"2",width:"25",height:"22"}),E.jsx("rect",{x:"55",y:"110",rx:"2",ry:"2",width:"32",height:"32"}),E.jsx("rect",{x:"97",y:"110",rx:"2",ry:"2",width:"250",height:"32"}),E.jsx("rect",{x:"500",y:"110",rx:"2",ry:"2",width:"170",height:"32"}),E.jsx("rect",{x:"680",y:"110",rx:"2",ry:"2",width:"170",height:"32"}),E.jsx("rect",{x:"860",y:"110",rx:"2",ry:"2",width:"25",height:"22"}),E.jsx("rect",{x:"20",y:"160",rx:"2",ry:"2",width:"25",height:"22"}),E.jsx("rect",{x:"55",y:"155",rx:"2",ry:"2",width:"32",height:"32"}),E.jsx("rect",{x:"97",y:"155",rx:"2",ry:"2",width:"250",height:"32"}),E.jsx("rect",{x:"500",y:"155",rx:"2",ry:"2",width:"170",height:"32"}),E.jsx("rect",{x:"680",y:"155",rx:"2",ry:"2",width:"170",height:"32"}),E.jsx("rect",{x:"860",y:"155",rx:"2",ry:"2",width:"25",height:"22"}),E.jsx("rect",{x:"20",y:"205",rx:"2",ry:"2",width:"25",height:"22"}),E.jsx("rect",{x:"55",y:"200",rx:"2",ry:"2",width:"32",height:"32"}),E.jsx("rect",{x:"97",y:"200",rx:"2",ry:"2",width:"250",height:"32"}),E.jsx("rect",{x:"500",y:"200",rx:"2",ry:"2",width:"170",height:"32"}),E.jsx("rect",{x:"680",y:"200",rx:"2",ry:"2",width:"170",height:"32"}),E.jsx("rect",{x:"860",y:"200",rx:"2",ry:"2",width:"25",height:"22"})]})}),exports.ContentLoaderPopupStoreSelect=()=>E.jsx(Wd,{children:E.jsx(kd,{speed:1,width:325.5,height:30,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:E.jsx("rect",{x:"0",y:"0",rx:"5",ry:"5",width:"325.5",height:"30"})})}),exports.ContentLoaderPosProductDetail=()=>E.jsxs(kd,{speed:1,width:"100%",height:580,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:[E.jsx("rect",{x:"0",y:"0",rx:"0",ry:"0",width:"100%",height:"198"}),E.jsx("rect",{x:"0",y:"214",rx:"0",ry:"0",width:"100%",height:"16"}),E.jsx("rect",{x:"0",y:"240",rx:"0",ry:"0",width:"100%",height:"16"}),E.jsx("rect",{x:"0",y:"266",rx:"0",ry:"0",width:"100%",height:"16"}),E.jsx("rect",{x:"0",y:"292",rx:"0",ry:"0",width:"100%",height:"16"}),E.jsx("rect",{x:"0",y:"318",rx:"0",ry:"0",width:"100%",height:"40"}),E.jsx("rect",{x:"0",y:"368",rx:"0",ry:"0",width:"100%",height:"16"}),E.jsx("rect",{x:"0",y:"394",rx:"0",ry:"0",width:"100%",height:"16"}),E.jsx("rect",{x:"0",y:"420",rx:"0",ry:"0",width:"100%",height:"16"}),E.jsx("rect",{x:"0",y:"456",rx:"0",ry:"0",width:"100px",height:"16"}),E.jsx("rect",{x:"0",y:"480",rx:"0",ry:"0",width:"100%",height:"94"})]}),exports.ContentLoaderPromotionHover=()=>E.jsxs(kd,{height:151,width:"100%",speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:[E.jsx("rect",{x:"0",y:"4",rx:"0",ry:"0",width:"135",height:"14"}),E.jsx("rect",{x:"150",y:"4",rx:"0",ry:"0",width:"140",height:"14"}),E.jsx("rect",{x:"0",y:"32",rx:"0",ry:"0",width:"135",height:"14"}),E.jsx("rect",{x:"150",y:"32",rx:"0",ry:"0",width:"140",height:"14"}),E.jsx("rect",{x:"0",y:"60",rx:"0",ry:"0",width:"135",height:"14"}),E.jsx("rect",{x:"150",y:"60",rx:"0",ry:"0",width:"140",height:"14"}),E.jsx("rect",{x:"0",y:"88",rx:"0",ry:"0",width:"135",height:"14"}),E.jsx("rect",{x:"150",y:"88",rx:"0",ry:"0",width:"140",height:"14"}),E.jsx("rect",{x:"0",y:"116",rx:"0",ry:"0",width:"135",height:"14"}),E.jsx("rect",{x:"150",y:"116",rx:"0",ry:"0",width:"140",height:"14"}),E.jsx("rect",{x:"150",y:"132",rx:"0",ry:"0",width:"140",height:"14"})]}),exports.ContentLoaderReportingDashboard=()=>E.jsx(Nd,{children:E.jsxs(kd,{speed:1,width:Td,height:500,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:[E.jsx("rect",{x:"10",y:"10",rx:"2",ry:"2",width:"210",height:"25"}),E.jsx("rect",{x:"10",y:"60",rx:"2",ry:"2",width:"210",height:"20"}),E.jsx("rect",{x:"10",y:"95",rx:"2",ry:"2",width:"210",height:"20"}),E.jsx("rect",{x:"10",y:"130",rx:"2",ry:"2",width:"210",height:"20"}),E.jsx("rect",{x:"10",y:"165",rx:"2",ry:"2",width:"210",height:"20"}),E.jsx("rect",{x:"10",y:"200",rx:"2",ry:"2",width:"210",height:"20"}),E.jsx("rect",{x:"10",y:"235",rx:"2",ry:"2",width:"210",height:"20"}),E.jsx("rect",{x:"10",y:"270",rx:"2",ry:"2",width:"210",height:"20"}),E.jsx("rect",{x:"10",y:"305",rx:"2",ry:"2",width:"210",height:"20"}),E.jsx("rect",{x:"280",y:"10",rx:"2",ry:"2",width:"210",height:"25"}),E.jsx("rect",{x:"280",y:"60",rx:"2",ry:"2",width:"210",height:"20"}),E.jsx("rect",{x:"280",y:"95",rx:"2",ry:"2",width:"210",height:"20"}),E.jsx("rect",{x:"280",y:"130",rx:"2",ry:"2",width:"210",height:"20"}),E.jsx("rect",{x:"280",y:"165",rx:"2",ry:"2",width:"210",height:"20"}),E.jsx("rect",{x:"280",y:"200",rx:"2",ry:"2",width:"210",height:"20"}),E.jsx("rect",{x:"280",y:"235",rx:"2",ry:"2",width:"210",height:"20"}),E.jsx("rect",{x:"280",y:"270",rx:"2",ry:"2",width:"210",height:"20"}),E.jsx("rect",{x:"280",y:"305",rx:"2",ry:"2",width:"210",height:"20"}),E.jsx("rect",{x:"550",y:"10",rx:"2",ry:"2",width:"210",height:"25"}),E.jsx("rect",{x:"550",y:"60",rx:"2",ry:"2",width:"210",height:"20"}),E.jsx("rect",{x:"550",y:"95",rx:"2",ry:"2",width:"210",height:"20"}),E.jsx("rect",{x:"550",y:"130",rx:"2",ry:"2",width:"210",height:"20"}),E.jsx("rect",{x:"550",y:"165",rx:"2",ry:"2",width:"210",height:"20"}),E.jsx("rect",{x:"550",y:"200",rx:"2",ry:"2",width:"210",height:"20"}),E.jsx("rect",{x:"550",y:"235",rx:"2",ry:"2",width:"210",height:"20"}),E.jsx("rect",{x:"550",y:"270",rx:"2",ry:"2",width:"210",height:"20"}),E.jsx("rect",{x:"550",y:"305",rx:"2",ry:"2",width:"210",height:"20"})]})}),exports.ContentLoaderSetting=()=>E.jsxs(kd,{speed:1,width:"100%",height:550,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:[E.jsx("rect",{x:"0",y:"0",rx:"2",ry:"2",width:"125",height:"15"}),E.jsx("rect",{x:"0",y:"25",rx:"2",ry:"2",width:"620",height:"25"}),E.jsx("rect",{x:"0",y:"60",rx:"2",ry:"2",width:"450",height:"25"}),E.jsx("rect",{x:"0",y:"110",rx:"2",ry:"2",width:"125",height:"15"}),E.jsx("rect",{x:"0",y:"135",rx:"2",ry:"2",width:"620",height:"25"}),E.jsx("rect",{x:"0",y:"170",rx:"2",ry:"2",width:"450",height:"25"}),E.jsx("rect",{x:"0",y:"220",rx:"2",ry:"2",width:"125",height:"15"}),E.jsx("rect",{x:"0",y:"245",rx:"2",ry:"2",width:"620",height:"25"}),E.jsx("rect",{x:"0",y:"280",rx:"2",ry:"2",width:"450",height:"25"}),E.jsx("rect",{x:"0",y:"330",rx:"2",ry:"2",width:"125",height:"15"}),E.jsx("rect",{x:"0",y:"355",rx:"2",ry:"2",width:"450",height:"80"}),E.jsx("rect",{x:"0",y:"460",rx:"2",ry:"2",width:"125",height:"15"}),E.jsx("rect",{x:"0",y:"485",rx:"2",ry:"2",width:"450",height:"80"}),E.jsx("rect",{x:"0",y:"585",rx:"2",ry:"2",width:"125",height:"15"}),E.jsx("rect",{x:"0",y:"610",rx:"2",ry:"2",width:"170",height:"25"}),E.jsx("rect",{x:"180",y:"610",rx:"2",ry:"2",width:"170",height:"25"}),E.jsx("rect",{x:"0",y:"645",rx:"2",ry:"2",width:"170",height:"25"}),E.jsx("rect",{x:"180",y:"645",rx:"2",ry:"2",width:"170",height:"25"}),E.jsx("rect",{x:"0",y:"695",rx:"2",ry:"2",width:"125",height:"15"}),E.jsx("rect",{x:"0",y:"720",rx:"2",ry:"2",width:"450",height:"25"}),E.jsx("rect",{x:"0",y:"755",rx:"2",ry:"2",width:"400",height:"25"})]}),exports.ContentLoaderTableList=()=>{const e=Sd-96,t=Math.floor((Td-110)/120),n=Math.floor((e-20)/50);return E.jsx(Ld,{children:E.jsx(kd,{speed:1,width:Td,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 E.jsx("rect",{x:i,y:r,rx:"2",ry:"2",width:100,height:0===n?16:30},t)}))}))})})},exports.CreateContainer=_t,exports.CreateHeaderWrapper=en,exports.CreateToolWrapper=tn,exports.DateComponent=hd,exports.DateTimeComponent=({dateTimeData:e})=>{const t=f.default(e,"YYYY-MM-DD HH:mm:ss ZZ").format("D MMM YYYY,"),n=f.default(e,"YYYY-MM-DD HH:mm:ss ZZ").format("hh:mm A");return E.jsx(xd,{children:e?E.jsxs(E.Fragment,{children:[E.jsx("span",{children:t}),E.jsx("span",{children:n})]}):"-"})},exports.DateWrapper=jt,exports.DetailItem=Jt,exports.DetailItemAction=Rt,exports.DetailItemInfo=Qt,exports.DetailItemTitle=Zt,exports.DetailItemWrapper=Ut,exports.DetailList=St,exports.DetailPanelWrapper=qt,exports.DetailWrapper=Wt,exports.DotIcon=Bn,exports.DropDownAction=Uc,exports.DropDownBody=Jc,exports.DropDownComponent=Kc,exports.DropDownContainer=Zc,exports.DropDownControl=Tc,exports.DropDownOverlayWrapper=Yc,exports.DropDownSubTitle=Qc,exports.DropDownTitle=Rc,exports.DropDownWrapper=Nc,exports.DropdownAction=Mt,exports.DropdownControlWrapper=Sc,exports.DropdownItem=Ot,exports.DropdownList=Gt,exports.DropdownPortalContainer=qc,exports.DropdownTitle=kt,exports.EmojiComponent=ed,exports.ErrorComponent=e=>{var{children:t,$mode:n}=e,r=v(e,["children","$mode"]);return E.jsxs(Bc,Object.assign({$mode:n,className:"_refErrorContainer"},r,{children:[E.jsx(qn,{$name:"alert",$width:"11px"}),t]}))},exports.FigureWraper=Ze,exports.FilterButton=Pt,exports.FilterColumnContainer=wn,exports.FilterContainer=bt,exports.FilterItem=Xt,exports.FilterList=zt,exports.FilterListTitle=Lt,exports.FilterStoreContainer=kn,exports.FilterStoreList=Gn,exports.FilterWrapper=Ft,exports.FoContainer=Be,exports.FormContainer=Dd,exports.HeaderContainer=fe,exports.IconComponent=qn,exports.IconDot=Vt,exports.ImageChannelComponent=({data:e,label:t,size:n,isImageOnly:r,$mode:i,$isPhone:o,labelPhone:a})=>{var l,s;const c=n&&parseInt(n)/2>10?parseInt(n)/2:10,d=n||"20px";if(!e)return E.jsx(E.Fragment,{children:!r&&E.jsx("span",{children:t||"-"})});const C=t||(null==e?void 0:e.name)||(null==e?void 0:e.storeName)||(null==e?void 0:e.store_name)||(null==e?void 0:e.accountName)||(null==e?void 0:e.channelName)||(null==e?void 0:e.channel_name)||"No Store",p=(null==e?void 0:e.icon)||(null===(s=null===(l=null==e?void 0:e.account)||void 0===l?void 0:l.channel)||void 0===s?void 0:s.imageUrl)||(null==e?void 0:e.imageUrl)||(null==e?void 0:e.channelImage)||(null==e?void 0:e.channel_image)||"",g=(null==e?void 0:e.color)||(null==e?void 0:e.channelColor)||(null==e?void 0:e.channel_color)||"#ooo",u=(null==e?void 0:e.channelInitials)||(null==e?void 0:e.channelInitial)||(null==e?void 0:e.channel_initials)||(null==e?void 0:e.initials)||"",h=a||(null==e?void 0:e.phone)||(null==e?void 0:e.storeId)||"-",x=null==e?void 0:e.availableAPI;return E.jsxs(E.Fragment,{children:[E.jsx("div",{children:p?E.jsx(fr,{$mode:i,width:"auto",height:d,src:p||"/",alt:e.channelName||e.channel_name||""}):u?E.jsx(Te,{style:{width:d,height:d,backgroundColor:g,fontSize:c+"px"},children:u}):E.jsx(fr,{$mode:i,width:"auto",height:d,src:"/"})}),!r&&(o?E.jsxs("div",{children:[E.jsx("span",{className:"multi-elipsis",title:C,children:C}),E.jsx("aside",{className:"multi-elipsis",title:h,style:{color:"#999999",fontSize:"12px"},children:h})]}):E.jsxs("span",{className:"multi-elipsis",title:C,children:[C,x&&E.jsx(En,{className:"_refLabel",children:"API"})]}))]})},exports.ImageComponent=fr,exports.InfoGroup=Ve,exports.InitialContainer=Te,exports.InputComponent=pe,exports.InputGroup=We,exports.InputOTPComponent=e=>{var{otpLength:t=6,value:n,onChange:r}=e,i=v(e,["otpLength","value","onChange"]);const o=e=>{var i;const o=e.target,a=o.value,l=o.dataset.index?parseInt(o.dataset.index):0;if(""===a||/^\d$/.test(a)){let e=n.split("");e[l]=a;const o=e.join("");r(o),""!==a&&l<t-1&&(null===(i=document.getElementById(`otp-inputbox-${l+1}`))||void 0===i||i.focus())}},a=e=>{var t;const r=e.target,i=r.dataset.index?parseInt(r.dataset.index):0;"Backspace"===e.key&&!n[i]&&i>0&&(null===(t=document.getElementById("otp-inputbox-"+(i-1)))||void 0===t||t.focus())};let l=[];for(let e=0;e<t;e++)l.push(E.jsx(Ce,Object.assign({"data-index":e,id:`otp-inputbox-${e}`,name:`otp-input-${e}`,autoComplete:"one-time-code",inputMode:"numeric",required:!0,value:n[e]||"",onChange:e=>o(e),onKeyDown:e=>a(e),onFocus:e=>{e.target.addEventListener("wheel",(function(e){e.preventDefault()}),{passive:!1}),e.target.select()}},i),e));return E.jsx("div",{onPaste:e=>{e.preventDefault();const n=e.clipboardData.getData("Text").replace(/\D/g,"").slice(0,t);r(n)},children:l})},exports.InputRefComponent=ge,exports.IsNumeric=K,exports.ItemPriceLabel=nt,exports.ItemQtyLabel=Dn,exports.ItemTable=Dt,exports.LabelComponent=e=>{var{children:t,$mode:n,$position:r}=e,i=v(e,["children","$mode","$position"]);return E.jsx(Yn,Object.assign({$mode:n,$position:r},i,{children:t}))},exports.LeftPanelContainer=Je,exports.LinkComponent=e=>{var{children:t,mode:n,$activated:r=!1,href:i,$elipsis:o=!1,$shadow:a=!1,$iconRight:l,disabled:s=!1}=e,c=v(e,["children","mode","$activated","href","$elipsis","$shadow","$iconRight","disabled"]);const{onClick:d}=c;return i?E.jsx(Q,Object.assign({className:"_refLink",mode:n,$activated:r,$elipsis:o,$shadow:a,$iconRight:l,disabled:s,href:i},c,{children:t})):E.jsx(J,Object.assign({className:"_refLink",mode:n,$activated:r,$elipsis:o,$shadow:a,$iconRight:l,disabled:s,onClick:d},c,{children:t}))},exports.LinkContainer=vt,exports.ListAddItemContainer=ln,exports.ListComponent=e=>{var{children:t,$mode:n,$selected:r,$type:i}=e,o=v(e,["children","$mode","$selected","$type"]);return E.jsx(Fd,Object.assign({$mode:n,$selected:r,$type:i},o,{children:t}))},exports.ListContainer=we,exports.ListTable=It,exports.ListTableContainer=Bt,exports.LoadingComponent=Zn,exports.MasterTableActionWrapper=Se,exports.MenuList=e=>E.jsx(a.components.MenuList,Object.assign({},e,{children:e.children})),exports.MessageComponent=({timer:t=500,$type:n,message:r,callback:o})=>{const[a,l]=i.useStateWithCallbackLazy(!1),[s,c]=i.useStateWithCallbackLazy(!1),[d,C]=i.useStateWithCallbackLazy(!1),p=e.useCallback((()=>{C(!d,(()=>{document.getElementsByTagName("BODY")[0].classList.remove("is-immuned"),o&&o()}))}),[o,C,d]),g=e.useCallback((()=>{p()}),[p]);return e.useEffect((()=>{const e=t||2e3,n=document.querySelector("._refMessageOverlay");return a||d?a&&d&&(l&&l(!a,(()=>{})),c&&c(!s,(()=>{})),n&&n.removeEventListener("click",g)):l(!a,(()=>{n&&n.addEventListener("click",g),setTimeout((()=>{c(!s,(()=>{setTimeout((()=>!s&&p()),e)}))}),1)})),()=>{n&&n.removeEventListener("click",g)}}),[a,s,t,p,l,c,g,d]),E.jsxs(er,{$isOpen:a,children:[E.jsx(tr,{className:"_refMessageOverlay"}),E.jsx(rr,{children:E.jsx(nr,{$isOpen:s,children:E.jsxs(ir,{$type:n,children:[E.jsx("i",{}),r,E.jsx(Hn,{$mode:"small-white-round-close",onClick:p})]})})})]})},exports.MessageQuestionComponent=({$type:t,title:n,subtitle:r,callback:a,buttonSubmit:l,cancelCallback:s})=>{const[c,d]=i.useStateWithCallbackLazy(!1),[C,p]=i.useStateWithCallbackLazy(!1),[g,u]=i.useStateWithCallbackLazy(!1),h=e.useCallback((()=>{u(!g,(()=>{s&&s();document.getElementsByTagName("BODY")[0].classList.remove("is-immuned")}))}),[s,g,u]),x=e.useCallback((()=>{h()}),[h]);return e.useEffect((()=>{const e=document.querySelector("._refQuestionMessageOverlay");c||g?c&&g&&(d(!c,(()=>{})),p(!C,(()=>{})),e&&e.removeEventListener("click",x)):d(!c,(()=>{setTimeout((()=>{p(!C,(()=>{})),e&&e.addEventListener("click",x)}),1)}))}),[c,C,d,p,x,g]),E.jsxs(er,{$isOpen:c,children:[E.jsx(tr,{className:"_refQuestionMessageOverlay",$type:t}),E.jsx(rr,{$type:t,children:E.jsx(nr,{$isOpen:C,children:E.jsxs(ir,{$type:t,children:[E.jsx("i",{}),E.jsxs("div",{children:[E.jsx(k,{$elipsis:!1,style:{fontWeight:600,fontSize:"15px"},children:n}),E.jsx(k,{$color:"grey",$elipsis:!1,children:o.htmlToText(r)}),E.jsxs("aside",{children:[E.jsx(Hn,{$mode:"white",$size:"small",onClick:h,children:"Cancel"}),E.jsx(Hn,{$mode:"red",$size:"small",onClick:()=>{u(!g,(()=>{document.getElementsByTagName("BODY")[0].classList.remove("is-immuned"),a&&a()}))},children:l||"Confirm"})]})]})]})})})]})},exports.MultiPanelContainer=Qe,exports.MuteLabel=He,exports.NameLabel=it,exports.NavChildItem=vn,exports.NavChildLine=fn,exports.NavContainer=xn,exports.NavContainerStyles=hn,exports.NavList=gn,exports.NavMainItem=mn,exports.NavMainItemWrapper=bn,exports.NavMobileHeaderWrapper=un,exports.NavMobileOverlay=pn,exports.PageButton=ht,exports.PageDot=mt,exports.PageLabel=xt,exports.PageWrapper=ut,exports.PaginationContainer=gt,exports.PanelBody=Re,exports.PanelContainer=ye,exports.PanelWrapper=be,exports.PopupAddProductContainer=cn,exports.PopupBoxWrapper=Kt,exports.PopupCard=dn,exports.PopupColumnGroup=ze,exports.PopupComponent=t=>{var{children:n,body:r,mode:o,height:a,width:l,isOpen:s,evTooglePopup:c}=t,d=v(t,["children","body","mode","height","width","isOpen","evTooglePopup"]);const[C,p]=i.useStateWithCallbackLazy(!1),g=e.useRef(null),u=e.useCallback((e=>{hr=setTimeout((()=>{p(e,(()=>{const e=g&&g.current?g.current:null;e&&(e.scrollTop=0)})),clearTimeout(hr)}),1)}),[p]),h=e.useRef({init:()=>{u(s)}});e.useEffect((()=>{const{init:e}=h.current;return e(),()=>{clearTimeout(hr)}}),[]),e.useEffect((()=>{u(s)}),[s,u]);let x=[...n];const m=(null==x?void 0:x.filter((t=>e.isValidElement(t)&&"head"===t.props["aria-label"])))||null,f=(null==x?void 0:x.filter((t=>e.isValidElement(t)&&"sub-head"===t.props["aria-label"])))||null,b=(null==x?void 0:x.filter((t=>e.isValidElement(t)&&"body"===t.props["aria-label"])))||null,y=(null==x?void 0:x.filter((t=>e.isValidElement(t)&&"foot"===t.props["aria-label"])))||null,w=(null==x?void 0:x.filter((t=>e.isValidElement(t)&&"left-foot"===t.props["aria-label"])))||null,A=f.length?E.jsx("aside",{children:f[0]&&e.isValidElement(f[0])?f[0].props.children:null}):null,F=m.length&&m[0]&&e.isValidElement(m[0])?m[0].props["data-qa-id"]:"";return E.jsxs(ar,{$isOpen:s,children:[E.jsx(lr,{}),E.jsx(sr,Object.assign({ref:g},d["data-qa-id"]&&{"data-qa-id":d["data-qa-id"]},{children:"question"===o?E.jsx(cr,{$isOpen:C,children:E.jsxs(ur,{$width:l,children:[E.jsx(qn,{$name:"warning",$width:"30px"}),E.jsxs(dr,{$mode:o,children:[m.length?E.jsx(Cr,{children:m[0]&&e.isValidElement(m[0])?m[0].props.children:null}):null,A,y.length?E.jsx(gr,{children:y[0]&&e.isValidElement(y[0])?E.jsx("aside",{"data-type":y[0].props.type||"",children:y[0].props.children}):null}):null]})]})}):E.jsxs(E.Fragment,{children:[E.jsx(dr,{$width:l,$isOpen:C,$mode:o,children:m.length?E.jsxs(E.Fragment,{children:[E.jsx(Hn,{$mode:"round-close",onClick:c}),E.jsx(Cr,{"data-qa-id":F,children:m[0]&&e.isValidElement(m[0])&&m[0].props.children})]}):null}),E.jsxs(cr,{$width:l,$isOpen:C,$withHeader:!!m.length,children:[A,b.length?E.jsx(pr,{$mode:r,$width:l,$height:a,children:b[0]&&e.isValidElement(b[0])&&b[0].props.children}):null,y.length?E.jsxs(gr,{$isLeft:!!w.length,children:[E.jsx("aside",{children:w&&w.length&&w[0]&&e.isValidElement(w[0])?w[0].props.children:null}),y[0]&&e.isValidElement(y[0])?E.jsxs("aside",{"data-type":y[0].props.type||"",children:[o&&"info"===o?E.jsx(Hn,{$mode:"white",$size:"small",onClick:c,children:"Close"}):E.jsx(Hn,{$mode:"white",$size:"small",onClick:c,"data-qa-id":"popup-button-cancel",children:"Cancel"}),y[0].props.children]}):null]}):null]})]})}))]})},exports.PopupDownloadWrapper=$t,exports.PopupExportCardWrapper=Cn,exports.PopupItem=Ge,exports.PopupItemLabel=Le,exports.PopupItemName=Xe,exports.PopupList=ke,exports.PopupRowGroup=Me,exports.PopupTable=je,exports.PopupTableBody=Ie,exports.PopupTableHead=De,exports.PopupTableItem=Ee,exports.RadioComponent=e=>{var{children:t,$mode:n,evChange:r}=e,i=v(e,["children","$mode","evChange"]);const{id:o}=i;return E.jsx(md,{children:E.jsxs("label",{htmlFor:o,children:[E.jsx(vd,Object.assign({type:"radio",id:o,$mode:n,onChange:e=>{r&&r(e)}},i)),E.jsx(fd,Object.assign({$mode:n},i["data-qa-id"]&&{"data-qa-id":i["data-qa-id"]},{children:t}))]})})},exports.ReactPortalComponent=Wc,exports.RightPanelContainer=Ue,exports.ScrollArrowContainer=An,exports.SearchDropdownContainer=nn,exports.SearchFilterContainer=yt,exports.SearchFormWrapper=qe,exports.SearchResultItem=an,exports.SearchResultList=on,exports.SearchResultWrapper=rn,exports.SearchWrapper=wt,exports.SearchWrapperPopup=sn,exports.SelectComponent=t=>{var{type:n,isError:r=!1,mode:i,customOption:o,customLabel:a,MenuList:l,isCreateable:s=!1,isClearable:c=!1,selectKey:d,disabled:C,defaultValue:p,width:g,reset:u,setReset:h,isForceUpdate:m,setForceUpdate:f,isCheckAutoCopy:b,evChangeCustom:y,isField:w,evCreate:A,evChange:F,isMinOption:B,isMulti:D=!1,options:I,name:j,placeholder:k,removeMessage:G,evCreateMessageQuestion:O,isLoading:M,height:z,customMenuList:X,customMultiValueRemove:L}=t,P=v(t,["type","isError","mode","customOption","customLabel","MenuList","isCreateable","isClearable","selectKey","disabled","defaultValue","width","reset","setReset","isForceUpdate","setForceUpdate","isCheckAutoCopy","evChangeCustom","isField","evCreate","evChange","isMinOption","isMulti","options","name","placeholder","removeMessage","evCreateMessageQuestion","isLoading","height","customMenuList","customMultiValueRemove"]);const[V,H]=e.useState(p||null);e.useEffect((()=>{if(u&&(H(null),h&&h(!1)),m){let e=p;if(b&&e){let t=!1;if(D){let n=e;if(Array.isArray(n)&&n.length){let e=[];for(const r of n){const n=null==I?void 0:I.filter((e=>e.label===r.label&&e.value===r.value));(null==n?void 0:n.length)&&Array.isArray(e)?e.push(r):!t&&(t=!0)}e.length&&(n=e)}}else{let n=e;if(n){const r=null==I?void 0:I.filter((e=>n&&e.label===n.label&&e.value===n.value));(null==r?void 0:r.length)&&(e=null,t=!0)}}t&&j&&y&&y(j,e)}H(e),f&&f(!1)}}),[p,y,b,m,D,j,I,u,f,h]);const W=()=>{const e=document.getElementsByClassName("_refSelectContainer is-shown");if(e.length)for(let t=0;t<e.length;t++)e[t].classList.remove("is-shown")},N=(e,{action:t,removedValue:n,option:r})=>{if(D){const i=e,o=()=>{H(i),F&&F(i,{action:t,removedValue:n,option:r})};switch(t){case"remove-value":if(B&&"remove-value"===t&&Array.isArray(V)&&1===V.length)return!1;if(n.isFixed)return;break;case"pop-value":if(n.isFixed)return;break;case"clear":e=(null==I?void 0:I.filter((e=>e.isFixed)))||[]}if(G&&"remove-value"===t){const e=_("confirm",(null==G?void 0:G.title)||"",(null==G?void 0:G.subtitle)||"",o);return O&&O(e),!1}H(i),F&&F(i,{action:t,removedValue:n,option:r})}else{const o=e;H("paymentReceiveStore"===i?o?{value:o.value,label:o.label,channel:o.channel}:o:a?o?{value:o.value,label:o.label,name:o.name}:o:o?{value:o.value,label:o.label}:o),F&&F(o,{action:t,removedValue:n,option:r})}!D&&w&&y&&j&&y(j,e)},Y=()=>{w&&y&&j&&V&&y(j,V)},T={container:e=>Object.assign(Object.assign({},e),{display:"inline-block",width:g?g+"px":"100%",minHeight:"1px",textAlign:"left",border:"none"}),control:(e,t)=>Object.assign(Object.assign({},e),{borderRadius:".5rem",minHeight:"multi"===i?"50px":"picklist"===i?"30px":"1px",height:"multi"===i?"50px":null!=z?z:"orders"===i?"90px":"30px",maxHeight:"multi"===i?"50px":"picklist"===i?"46px":"none",cursor:"pointer",borderWidth:r?"1px":"0",boxShadow:t.isFocused?"-.0625rem 0rem .0625rem 0rem rgba(26, 26, 26, .122) inset, .0625rem 0rem .0625rem 0rem rgba(26, 26, 26, .122) inset, 0rem .125rem .0625rem 0rem rgba(26, 26, 26, .2) inset":"0rem -.0625rem 0rem 0rem #b5b5b5 inset,0rem 0rem 0rem .0625rem rgba(0, 0, 0, .1) inset,0rem .03125rem 0rem .09375rem #FFF inset",borderColor:t.isFocused&&"filter"!==i&&!r?"var(--pri-clr-ln__fc)":r?"var(--err-clr-ln)":"filter"===i?"#ffffff":" var(--ck-clr-ln)",background:t.isFocused?"rgba(247, 247, 247, 1)":"#ffffff",overflow:"multi"===i?"auto":"picklist"===i?"hidden":"orders"===i?"auto":"initial",alignItems:"orders"===i?"start":"center",padding:"orders"===i?"6px 0":"unset",color:"rgba(74, 74, 74, 1)",opacity:C?".7":1,"&:hover":{borderColor:t.isFocused&&"filter"!==i&&!r?"var(--pri-clr-ln__fc)":r?"var(--err-clr-ln)":"filter"===i?"#ffffff":" var(--ck-clr-ln)",background:"rgba(250, 250, 250, 1)",color:"rgba(48, 48, 48, 1)"}}),placeholder:e=>Object.assign(Object.assign({},e),{fontStyle:"italic"}),input:e=>Object.assign(Object.assign({},e),{minHeight:"1px",margin:"0 2px",padding:"0",input:{boxShadow:"none !important"}}),dropdownIndicator:e=>Object.assign(Object.assign({},e),{minHeight:"1px",paddingTop:"0",paddingBottom:"0",paddingLeft:"2px",paddingRight:"2px",color:"#757575",alignSelf:"orders"===i?"start":"unset"}),indicatorSeparator:e=>Object.assign(Object.assign({},e),{minHeight:"1px",height:"24px",display:"tag"===n?"block":"none"}),clearIndicator:e=>Object.assign(Object.assign({},e),{minHeight:"1px",marginRight:"-6px",padding:"0"}),valueContainer:e=>Object.assign(Object.assign({},e),{height:"multi"===i?"44px":"30px",maxHeight:"multi"===i?"44px":"picklist"===i?"46px":"none",minHeight:"multi"===i?"44px":"picklist"===i?"30px":"1px",overflow:"multi"===i||"picklist"===i?"auto":"initial",paddingTop:"0",paddingBottom:"0",paddingRight:"2px"}),singleValue:e=>Object.assign(Object.assign({},e),{minHeight:"1px",paddingBottom:"2px",color:C?"#ADADAD":"form"===i?"#2d3c48":"initial",opacity:C?".7":1}),option:(e,t)=>Object.assign(Object.assign({},e),!t.isDisabled&&{color:t.isSelected?"#ffffff":"#000000",backgroundColor:t.isSelected||t.isFocused?"#fc5c64":"transparent",cursor:"pointer",overflowWrap:"break-word",wordBreak:"break-all","&:hover":{backgroundColor:"#ec5b62",color:"#ffffff"}}),menu:e=>Object.assign(Object.assign({},e),{borderRadius:".75rem",boxShadow:"0rem .5rem 1.5rem -.5rem rgba(0, 0, 0, .05), 0rem .5rem 1rem -.25rem rgba(0, 0, 0, .05), 0rem .1875rem .375rem 0rem rgba(0, 0, 0, .05), 0rem .125rem .25rem 0rem rgba(0, 0, 0, .05), 0rem .0625rem .125rem 0rem rgba(0, 0, 0, .05), 0rem 0rem 0rem .0625rem rgba(0, 0, 0, .06)",border:"none"}),menuPortal:e=>Object.assign(Object.assign({},e),{zIndex:9999,letterSpacing:"normal",lineHeight:"normal"}),multiValue:(e,t)=>t.data.isFixed?Object.assign(Object.assign({},e),{backgroundColor:"gray"}):e,multiValueLabel:(e,t)=>t.data.isFixed?Object.assign(Object.assign({},e),{fontWeight:"bold",color:"white",paddingRight:6}):e,multiValueRemove:(e,t)=>Object.assign(Object.assign({},e),{display:t.data.isFixed?"none":"block",svg:{position:"relative",top:"2px"}})};let S=s?E.jsx(Fc,Object.assign({options:I,styles:T,onMenuOpen:W,menuPortalTarget:document.body,menuPosition:"fixed",menuPlacement:"auto",value:V,onChange:N,onCreateOption:e=>{h&&h(!1),D?Array.isArray(V)?H([...V,{value:e,label:e}]):H([{value:e,label:e}]):H({value:e,label:e}),A&&A(e)},isValidNewOption:(e,t)=>!(0===e.trim().length||t.find((t=>t.name===e))),noOptionsMessage:()=>null,isClearable:c?!Array.isArray(V)||!V.length||V.some((e=>!e.isFixed)):c},D&&{isMulti:!0},o&&{components:{Option:o}},X&&{components:{MenuList:X}},L&&{components:{MultiValueRemove:L}},l&&{components:{MenuList:l,Option:o}},d&&{key:d},C&&{isDisabled:C},D&&{closeMenuOnSelect:!1},D&&{onBlur:Y},k&&{placeholder:k},M&&{isLoading:M},P)):E.jsx(x.default,Object.assign({options:I,styles:T,onMenuOpen:W,menuPortalTarget:document.body,menuPosition:"fixed",menuPlacement:"auto",value:V,onChange:N,noOptionsMessage:()=>null,isClearable:c?!Array.isArray(V)||!V.length||V.some((e=>!e.isFixed)):c},D&&{isMulti:!0},o&&{components:{Option:o}},"paymentReceiveStore"===i&&{components:{Option:o,SingleValue:a}},a&&{components:{SingleValue:a}},X&&{components:{MenuList:X}},L&&{components:{MultiValueRemove:L}},l&&{components:{MenuList:l,Option:o}},a&&o&&{components:{SingleValue:a,Option:o}},d&&{key:d},C&&{isDisabled:C},D&&{closeMenuOnSelect:!1},D&&{onBlur:Y},k&&{placeholder:k},M&&{isLoading:M},P));return E.jsx("section",Object.assign({className:"_refSelectContainer"},P,{children:S}))},exports.SingleFormContainer=Ed,exports.SortByWrapper=Ht,exports.SwitchComponent=t=>{var{isForceUpdate:n,setForceUpdate:r,reset:i,setReset:o,evChange:a}=t,l=v(t,["isForceUpdate","setForceUpdate","reset","setReset","evChange"]);const{id:s,defaultChecked:c}=l,[d,C]=e.useState(c||!1);e.useEffect((()=>{n&&(C(c||!1),r&&r(!1)),i&&(C(!1),o&&o(!1))}),[n,r,i,o,c,C]);let p=Object.assign({},l);return delete p.defaultChecked,E.jsxs(bd,{children:[E.jsx(yd,Object.assign({type:"checkbox",checked:d,onChange:e=>{(e=>{const t=e.target.checked;C(t)})(e),a&&a(e)}},p)),E.jsx(wd,{role:"checkbox-label",htmlFor:s})]})},exports.TableBundleColumn=jn,exports.TableColumnGroup=tt,exports.TableContentWrapper=In,exports.TableHeadLabel=Ke,exports.TableHeadWrapper=$e,exports.TableItemColumn=ct,exports.TableItemWrapper=dt,exports.TableLabel=rt,exports.TableRightGroup=et,exports.TableRowGroup=_e,exports.TabsContainer=Ae,exports.TabsContent=Fe,exports.TabsHeader=ot,exports.TabsItem=at,exports.TabsList=lt,exports.TabsWrapper=st,exports.TextAreaComponent=t=>{var n,{$isError:r,reset:i,setReset:o,isForceUpdate:a,setForceUpdate:l,evChange:s,evBlur:c,isField:d,evChangeCustom:C,$isEmoji:p}=t,g=v(t,["$isError","reset","setReset","isForceUpdate","setForceUpdate","evChange","evBlur","isField","evChangeCustom","$isEmoji"]);const{name:u,defaultValue:h}=g,[x,m]=e.useState(null!==(n=null==h?void 0:h.toString())&&void 0!==n?n:"");e.useEffect((()=>{var e;a&&(m(null!==(e=null==h?void 0:h.toString())&&void 0!==e?e:""),l&&l(!1)),i&&(m(""),o&&o(!1))}),[a,l,i,o,h]);const f=e=>{const t=e.target.value;m(t)};let b=Object.assign({},g);return delete b.defaultValue,E.jsxs("div",{style:{position:"relative"},children:[E.jsx(td,Object.assign({$isError:r,value:x,onChange:e=>{f(e),s&&s(e)},onBlur:e=>{f(e),(e=>{c&&c(e),d&&u&&C&&C(u,e.target.value)})(e)}},b)),p?E.jsx(ed,{$mode:"textarea",evChange:e=>{var t;m(x+e),u&&(null===(t=document.getElementsByName(u)[0])||void 0===t||t.focus())}}):null]})},exports.TextAreaRefComponent=nd,exports.TextComponent=k,exports.Title=ve,exports.TotalLabel=yn,exports.UpdateContainer=Ct,exports.UploadComponent=e=>{var{children:t,mode:n}=e,r=v(e,["children","mode"]);const{id:i,width:o}=r;return"image"===n?E.jsxs(E.Fragment,{children:[t,E.jsx(Oc,Object.assign({},"data-idx"in r&&{"data-idx":r["data-idx"]},r["data-detail"]&&{"data-detail":r["data-detail"]},r))]}):E.jsxs(Ic,{$width:o,children:[E.jsxs(jc,{htmlFor:i,children:[E.jsx(Gc,{}),E.jsx(kc,{children:t})]}),E.jsx(Oc,Object.assign({},"data-idx"in r&&{"data-idx":r["data-idx"]},r["data-detail"]&&{"data-detail":r["data-detail"]},r))]})},exports.UploadDragDropComponent=t=>{var{children:n,id:r,name:i,evChange:o,evCreateMessage:a,label:l}=t,s=v(t,["children","id","name","evChange","evCreateMessage","label"]);const{accept:c}=s,[d,C]=e.useState(!1),p=e=>{e.preventDefault(),e.stopPropagation(),"dragenter"===e.type||"dragover"===e.type?C(!0):"dragleave"===e.type&&C(!1)};return E.jsxs(Mc,{onDragEnter:p,className:d?"drag-active":"",children:[E.jsx(Oc,Object.assign({id:r,name:i,onChange:e=>{e.preventDefault();const t=e.target;t.files&&t.files[0]&&o&&o(t.files)}},s)),E.jsx(zc,{id:"label-file-dragdrop-upload",htmlFor:r,children:E.jsx(Lc,{children:n?E.jsxs(Vc,{children:[E.jsx(Hc,{}),E.jsx("span",{children:n})]}):E.jsxs(Pc,{children:[null!=l?l:"Drag & Drop file here to upload, or ",E.jsx("span",{children:"browse"}),"."]})})}),d&&E.jsx(Xc,{onDragEnter:p,onDragLeave:p,onDragOver:p,onDrop:e=>{if(e.preventDefault(),e.stopPropagation(),C(!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=$("failed","File type is not allowed. Please check again");return a&&a(e),!1}}o&&o(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.buttonActiveShadowStyle=Y,exports.buttonActiveStyle=N,exports.buttonHoverStyle=W,exports.buttonStyle=H,exports.capitalize=e=>e?e[0].toUpperCase()+e.substring(1):"",exports.channelMap=e=>({2:"Shopify",3:"Lazada",5:"Blanja",6:"Matahari mall",7:"Magento 1",8:"Elevania",9:"Blibli","1o":"Magento 2",11:"Bukalapak",12:"Shopee",13:"Zalora Indonesia",15:"Tokopedia",16:"JD Indonesia",18:"Zilingo",19:"Woocommerce",21:"Manual SO",3532:"Aladin Mall",10017:"Grabmart",10030:"Tiktok",10810:"Whatsapp"}[e.toString()]||""),exports.clearList=G,exports.colorCommonQuantity=e=>e<=0?"red":"green",exports.colorStatus=e=>{switch(e){case"Pending_payment":case"Pending_courier":case"pending payment":case"Pending Payment":case"pending courier":case"not started yet":case"Pending":case"Draft":case"Not_picked":case"Not Picked":case"Unpaid":case"Overdue":case"Write_off":case"Write Off":case"write off":case"Written Off":case"Failed Delivery":case"failed delivery":return"#FF585C";case"Open":case"open":case"In_picking":case"Partial_picked":case"in picking":case"In Picking":case"Incoming":case"not shipped":case"Not Shipped":case"Partial_paid":return"#F8813E";case"Picked":case"picked":case"Packed":case"Ready_to_ship":case"ready to ship":case"Ready to Ship":case"Ready_to_pickup":case"Shipped":case"shipped":case"Fulfilled":case"Delivered":case"delivered":case"Picked_up":case"Invoiced":case"Not_invoiced":case"Invoice_paid":case"Completed":case"completed":case"Paid":case"In Progress":case"Active":case"Confirmed":case"Adjusted":return"#21BA45";case"Cancelled":case"cancelled":case"Voided":return"#a9a9a9";case"Returned":case"return":case"Return":return"#ff585d";case"Closed":return"#2c913d";default:return"green"}},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.commonCSSLists=T,exports.configDateRange=Zd,exports.currencyNumber=ee,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=(e,t=300)=>{let n;return function(...r){clearTimeout(n),n=setTimeout((()=>e.apply(this,r)),t)}},exports.dropBase=L,exports.elipsis=M,exports.errorMessage=e=>"unique"===e?"already exists":"is required",exports.errorTitle=U,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],o=Object.keys(i);for(let e of o){if(Array.isArray(i[e]))for(let n=0;n<i[e].length;n++){const r=i[e][n],o=Object.keys(r);for(let e of o)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.evCheckAllValidationByHeader=(e,t)=>{let n=!1;const r=(e,n,r,i=null)=>{const o=t.filter((t=>t.key===e&&t.validations));if(o.length){const e=o[0],t=e.typeData||"String",r=ne(t,n);return re(e,r,i||"")}return{approved:!0}},i=[];for(let t=0;t<e.length;t++){const o=e[t],a=Object.keys(o);for(const e of a){let t={approved:!0};if(Array.isArray(o[e]))for(let i=0;i<o[e].length;i++){const a=o[e][i],l=Object.keys(a);for(const e of l)if(Array.isArray(a[e]))for(let i=0;i<a[e].length;i++){const o=a[e][i],l=Object.keys(o);for(const i of l)t=r(i,o[i]),t.approved||(o[`${e}_error`]=t.errors[0],n||(n=!0)),-1===i.indexOf("_error")||n||(n=!0)}else t=r(e,a[e]),t.approved||(a[`${e}_error`]=t.errors[0],n||(n=!0)),-1===e.indexOf("_error")||n||(n=!0)}else t=r(e,o[e]),t.approved||(o[`${e}_error`]=t.errors[0],n||(n=!0)),-1===e.indexOf("_error")||n||(n=!0)}i.push(o)}return{error:n,data:i}},exports.evCheckAllValidationByHeaderWithVariant=(e,t)=>{let n=!1;const r=(e,n,r,i)=>{const o=t.filter((t=>t.key===e&&t.validations));if(o.length){const e=o[0],t=e.typeData||"String",r=ne(t,n);return re(e,r,void 0,ie(e.validations,i))}return{approved:!0}};let i=[...e];for(let e=0;e<i.length;e++){let t=i[e],o=Object.keys(t);for(const e of o)if(Array.isArray(t[e])&&t[e].length&&"object"==typeof t[e][0])for(let i=0;i<t[e].length;i++){const o=t[e][i],a=Object.keys(o);for(const t of a)if(!Array.isArray(o[t])){const i=r(`${e}-${t}`,o[t],0,o);i.approved||(o[`${t}_error`]=i.errors[0],n||(n=!0))}}else{const i=r(e,t[e],0,t);i.approved||(t[`${e}_error`]=i.errors[0],n||(n=!0))}i.splice(e,1,t)}return{error:n,data:i}},exports.evCloseDropdown=e=>{const t=e.closest("._refContainer")||e.closest("._refDropdownPortal");if(!!t&&t.classList.contains("is-shown")){const e=document.getElementsByClassName("_refContainer is-shown"),t=document.getElementsByClassName("_refDropdownPortal is-shown");if(null==e?void 0:e.length)for(let t=0;t<e.length;t++){const n=e[t].querySelector("._refDropdownOverlay");n&&(n.style.display="none"),e[t].classList.remove("is-shown")}if(null==t?void 0:t.length)for(let e=0;e<t.length;e++){const n=t[e].querySelector("._refDropdownOverlay");n&&(n.style.display="none"),t[e].classList.remove("is-shown")}const n=document.querySelector("._refScrollContainer");if(document.getElementsByTagName("BODY")[0].classList.remove("is-immuned"),n){n.style.overflow="auto";n.firstChild.style.overflowY="unset"}}},exports.evExecuteError=e=>{const t=$("failed","Validation Errors found, Please fix it!");e&&e(t);const n=document.querySelectorAll(".cell-error");n.length&&oe(n[0])},exports.evForceCloseDropdown=ae,exports.evGenerateValueMatch=ie,exports.evHighlight=e=>{if(!(null==e?void 0:e.length))return!1;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&&oe(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.evRemoveActiveButton=()=>{const e=document.querySelector("#btn-active-red");e&&e.removeAttribute("id")},exports.evScrollTo=oe,exports.evSetTotal=(e,t,n)=>{e&&t&&(t.innerText=`(${e})`,t.removeAttribute("hidden")),n&&"function"==typeof n&&n()},exports.evUpdateInputRc=(e,t)=>{var n;if(!e)return!1;const r=null===(n=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"value"))||void 0===n?void 0:n.set;r&&r.call(e,void 0===t?"":t);const i=new Event("input",{bubbles:!0});e.dispatchEvent(i)},exports.formLabel=V,exports.formatNumber=q,exports.generateAddress=e=>{let t="-";if(e){t=(e.address1||e.address2?(e.address1?e.address1+", ":"")+(e.address2||"")+"<br/>":"")+(e.subDistrict||e.district||e.city?(e.subDistrict?e.subDistrict+", ":"")+(e.district?e.district+", ":"")+(e.city||"")+"<br/>":"")+(e.postalCode?e.postalCode+"<br/>":"")+(e.phone||"")}return t},exports.generateMessage=$,exports.generateMessageQuestion=_,exports.generateSUM=(e,t,n)=>{let r=0;return t&&e&&(r=t.reduce(((t,r)=>{let i;if(Array.isArray(e)){i=r;for(const t of e)t in i&&(i=i[t])}else i=r[e];return t+("currency"===n?parseInt(i.replace(/,.*|[^0-9]/g,"")):i)}),0)),r},exports.generateValue=ne,exports.generateValueTable=(e,t)=>{let n=e;if(t&&""!==e){const r=t.toLowerCase(),i="string"==typeof e?parseInt(e):e;/price/.test(r)?n=ee(i):/width/.test(r)||/length/.test(r)||/height/.test(r)?n=e+" cm":/weight/.test(r)?n=e+" gr":/discount/.test(r)&&(n=e+" %")}return n},exports.getSizeContainer=te,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?"string"==typeof i?""!==i?JSON.parse(i):void 0:i:void 0;break;default:i=void 0===i||"undefined"===i?"":i}return i},exports.headTable=P,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.humanise=e=>e?e.replace(/_/g," ").replace(/-/g," "):"",exports.isCustomVariantChannel=e=>{let t=!1;if(void 0!==e){t=[9,3,12,10030,15,13].includes(e)}return t},exports.isDesktop=()=>document.body.clientWidth>=1024,exports.isMobile=()=>document.body.clientWidth<768,exports.isTablet=()=>document.body.clientWidth>=768&&document.body.clientWidth<1024,exports.multiElipsis=z,exports.pageMasterTable=e=>{switch(e){case"create-master":case"edit-master":return"master";case"create-listing":case"edit-listing":return"listing";case"confirm-adjustment":case"confirm-inbound":case"confirm-outbound":case"create-adjustment":case"create-inbound":case"create-outbound":case"create-transfer":case"create-price":return"stock";case"create-promotion":return"promotion";case"create-paymentreceive":return"payment";case"edit-picklist":case"create-picklist":return"picklist";default:return""}},exports.pasteIntoInput=(e,t)=>{if(e.focus(),"number"==typeof e.selectionStart&&"number"==typeof e.selectionEnd){var n=e.value,r=e.selectionStart;e.value=n.slice(0,r)+t+n.slice(e.selectionEnd),e.selectionEnd=e.selectionStart=r+t.length}else if(void 0!==document.selection){var i=document.selection.createRange();i.text=t,i.collapse(!1),i.select()}},exports.removeStorage=e=>(localStorage.removeItem(e),sessionStorage.removeItem(e),!0),exports.responseWidth=O,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=X,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=e=>e?e.replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&amp;/g,"&"):e,exports.validateByApproveJs=re;
4590
4590
  //# sourceMappingURL=index.js.map