forstok-ui-lib 8.4.1 → 8.5.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
@@ -24,7 +24,7 @@
24
24
  *
25
25
  * @license MIT
26
26
  */
27
- function L(e,t){if(!1===e||null==e)throw new Error(t)}function O(e,t){if(!e){"undefined"!=typeof console&&console.warn(t);try{throw new Error(t)}catch(e){}}}function M({pathname:e="/",search:t="",hash:r=""}){return t&&"?"!==t&&(e+="?"===t.charAt(0)?t:"?"+t),r&&"#"!==r&&(e+="#"===r.charAt(0)?r:"#"+r),e}function z(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substring(r),e=e.substring(0,r));let i=e.indexOf("?");i>=0&&(t.search=e.substring(i),e=e.substring(0,i)),e&&(t.pathname=e)}return t}function I(e,t,r="/"){return function(e,t,r,i){let n="string"==typeof t?z(t):t,a=G(n.pathname||"/",r);if(null==a)return null;let o=P(e);!function(e){e.sort(((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){let r=e.length===t.length&&e.slice(0,-1).every(((e,r)=>e===t[r]));return r?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((e=>e.childrenIndex)),t.routesMeta.map((e=>e.childrenIndex)))))}(o);let l=null;for(let e=0;null==l&&e<o.length;++e){let t=R(a);l=U(o[e],t,i)}return l}(e,t,r,!1)}function P(e,t=[],r=[],i=""){let n=(e,n,a)=>{let o={relativePath:void 0===a?e.path||"":a,caseSensitive:!0===e.caseSensitive,childrenIndex:n,route:e};o.relativePath.startsWith("/")&&(L(o.relativePath.startsWith(i),`Absolute route path "${o.relativePath}" nested under path "${i}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),o.relativePath=o.relativePath.slice(i.length));let l=$([i,o.relativePath]),s=r.concat(o);e.children&&e.children.length>0&&(L(!0!==e.index,`Index routes must not have child routes. Please remove all child routes from route path "${l}".`),P(e.children,t,s,l)),(null!=e.path||e.index)&&t.push({path:l,score:q(l,e.index),routesMeta:s})};return e.forEach(((e,t)=>{if(""!==e.path&&e.path?.includes("?"))for(let r of Q(e.path))n(e,t,r);else n(e,t)})),t}function Q(e){let t=e.split("/");if(0===t.length)return[];let[r,...i]=t,n=r.endsWith("?"),a=r.replace(/\?$/,"");if(0===i.length)return n?[a,""]:[a];let o=Q(i.join("/")),l=[];return l.push(...o.map((e=>""===e?a:[a,e].join("/")))),n&&l.push(...o),l.map((t=>e.startsWith("/")&&""===t?"/":t))}!function(){if(j)return k;j=1,Object.defineProperty(k,"__esModule",{value:!0}),k.parse=function(e,t){const r=new a,i=e.length;if(i<2)return r;const n=t?.decode||s;let d=0;do{const t=e.indexOf("=",d);if(-1===t)break;const a=e.indexOf(";",d),s=-1===a?i:a;if(t>s){d=e.lastIndexOf(";",t-1)+1;continue}const C=o(e,d,t),c=l(e,t,C),p=e.slice(C,c);if(void 0===r[p]){let i=o(e,t+1,s),a=l(e,s,i);const d=n(e.slice(i,a));r[p]=d}d=s+1}while(d<i);return r},k.serialize=function(a,o,l){const s=l?.encode||encodeURIComponent;if(!e.test(a))throw new TypeError(`argument name is invalid: ${a}`);const d=s(o);if(!t.test(d))throw new TypeError(`argument val is invalid: ${o}`);let C=a+"="+d;if(!l)return C;if(void 0!==l.maxAge){if(!Number.isInteger(l.maxAge))throw new TypeError(`option maxAge is invalid: ${l.maxAge}`);C+="; Max-Age="+l.maxAge}if(l.domain){if(!r.test(l.domain))throw new TypeError(`option domain is invalid: ${l.domain}`);C+="; Domain="+l.domain}if(l.path){if(!i.test(l.path))throw new TypeError(`option path is invalid: ${l.path}`);C+="; Path="+l.path}if(l.expires){if(!function(e){return"[object Date]"===n.call(e)}(l.expires)||!Number.isFinite(l.expires.valueOf()))throw new TypeError(`option expires is invalid: ${l.expires}`);C+="; Expires="+l.expires.toUTCString()}l.httpOnly&&(C+="; HttpOnly");l.secure&&(C+="; Secure");l.partitioned&&(C+="; Partitioned");if(l.priority){switch("string"==typeof l.priority?l.priority.toLowerCase():void 0){case"low":C+="; Priority=Low";break;case"medium":C+="; Priority=Medium";break;case"high":C+="; Priority=High";break;default:throw new TypeError(`option priority is invalid: ${l.priority}`)}}if(l.sameSite){switch("string"==typeof l.sameSite?l.sameSite.toLowerCase():l.sameSite){case!0:case"strict":C+="; SameSite=Strict";break;case"lax":C+="; SameSite=Lax";break;case"none":C+="; SameSite=None";break;default:throw new TypeError(`option sameSite is invalid: ${l.sameSite}`)}}return C};const e=/^[\u0021-\u003A\u003C\u003E-\u007E]+$/,t=/^[\u0021-\u003A\u003C-\u007E]*$/,r=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,i=/^[\u0020-\u003A\u003D-\u007E]*$/,n=Object.prototype.toString,a=(()=>{const e=function(){};return e.prototype=Object.create(null),e})();function o(e,t,r){do{const r=e.charCodeAt(t);if(32!==r&&9!==r)return t}while(++t<r);return r}function l(e,t,r){for(;t>r;){const r=e.charCodeAt(--t);if(32!==r&&9!==r)return t+1}return r}function s(e){if(-1===e.indexOf("%"))return e;try{return decodeURIComponent(e)}catch(t){return e}}}();var S=/^:[\w-]+$/,T=3,H=2,Y=1,X=10,N=-2,V=e=>"*"===e;function q(e,t){let r=e.split("/"),i=r.length;return r.some(V)&&(i+=N),t&&(i+=H),r.filter((e=>!V(e))).reduce(((e,t)=>e+(S.test(t)?T:""===t?Y:X)),i)}function U(e,t,r=!1){let{routesMeta:i}=e,n={},a="/",o=[];for(let e=0;e<i.length;++e){let l=i[e],s=e===i.length-1,d="/"===a?t:t.slice(a.length)||"/",C=W({path:l.relativePath,caseSensitive:l.caseSensitive,end:s},d),c=l.route;if(!C&&s&&r&&!i[i.length-1].route.index&&(C=W({path:l.relativePath,caseSensitive:l.caseSensitive,end:!1},d)),!C)return null;Object.assign(n,C.params),o.push({params:n,pathname:$([a,C.pathname]),pathnameBase:_($([a,C.pathnameBase])),route:c}),"/"!==C.pathnameBase&&(a=$([a,C.pathnameBase]))}return o}function W(e,t){"string"==typeof e&&(e={path:e,caseSensitive:!1,end:!0});let[r,i]=function(e,t=!1,r=!0){O("*"===e||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let i=[],n="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,((e,t,r)=>(i.push({paramName:t,isOptional:null!=r}),r?"/?([^\\/]+)?":"/([^\\/]+)")));e.endsWith("*")?(i.push({paramName:"*"}),n+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?n+="\\/*$":""!==e&&"/"!==e&&(n+="(?:(?=\\/|$))");let a=new RegExp(n,t?void 0:"i");return[a,i]}(e.path,e.caseSensitive,e.end),n=t.match(r);if(!n)return null;let a=n[0],o=a.replace(/(.)\/+$/,"$1"),l=n.slice(1);return{params:i.reduce(((e,{paramName:t,isOptional:r},i)=>{if("*"===t){let e=l[i]||"";o=a.slice(0,a.length-e.length).replace(/(.)\/+$/,"$1")}const n=l[i];return e[t]=r&&!n?void 0:(n||"").replace(/%2F/g,"/"),e}),{}),pathname:a,pathnameBase:o,pattern:e}}function R(e){try{return e.split("/").map((e=>decodeURIComponent(e).replace(/\//g,"%2F"))).join("/")}catch(t){return O(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function G(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,i=e.charAt(r);return i&&"/"!==i?null:e.slice(r)||"/"}function Z(e,t,r,i){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(i)}]. Please separate it out to the \`to.${r}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function K(e){let t=function(e){return e.filter(((e,t)=>0===t||e.route.path&&e.route.path.length>0))}(e);return t.map(((e,r)=>r===t.length-1?e.pathname:e.pathnameBase))}function J(e,t,r,i=!1){let n;"string"==typeof e?n=z(e):(n={...e},L(!n.pathname||!n.pathname.includes("?"),Z("?","pathname","search",n)),L(!n.pathname||!n.pathname.includes("#"),Z("#","pathname","hash",n)),L(!n.search||!n.search.includes("#"),Z("#","search","hash",n)));let a,o=""===e||""===n.pathname,l=o?"/":n.pathname;if(null==l)a=r;else{let e=t.length-1;if(!i&&l.startsWith("..")){let t=l.split("/");for(;".."===t[0];)t.shift(),e-=1;n.pathname=t.join("/")}a=e>=0?t[e]:"/"}let s=function(e,t="/"){let{pathname:r,search:i="",hash:n=""}="string"==typeof e?z(e):e,a=r?r.startsWith("/")?r:function(e,t){let r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((e=>{".."===e?r.length>1&&r.pop():"."!==e&&r.push(e)})),r.length>1?r.join("/"):"/"}(r,t):t;return{pathname:a,search:ee(i),hash:te(n)}}(n,a),d=l&&"/"!==l&&l.endsWith("/"),C=(o||"."===l)&&r.endsWith("/");return s.pathname.endsWith("/")||!d&&!C||(s.pathname+="/"),s}var $=e=>e.join("/").replace(/\/\/+/g,"/"),_=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),ee=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",te=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";var re=["POST","PUT","PATCH","DELETE"];new Set(re);var ie=["GET",...re];new Set(ie);var ne=u.createContext(null);ne.displayName="DataRouter";var ae=u.createContext(null);ae.displayName="DataRouterState";var oe=u.createContext({isTransitioning:!1});oe.displayName="ViewTransition",u.createContext(new Map).displayName="Fetchers",u.createContext(null).displayName="Await";var le=u.createContext(null);le.displayName="Navigation";var se=u.createContext(null);se.displayName="Location";var de=u.createContext({outlet:null,matches:[],isDataRoute:!1});de.displayName="Route";var Ce=u.createContext(null);function ce(){return null!=u.useContext(se)}function pe(){return L(ce(),"useLocation() may be used only in the context of a <Router> component."),u.useContext(se).location}Ce.displayName="RouteError";var he="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function ge(e){u.useContext(le).static||u.useLayoutEffect(e)}function xe(){let{isDataRoute:e}=u.useContext(de);return e?function(){let{router:e}=function(e){let t=u.useContext(ne);return L(t,ye(e)),t}("useNavigate"),t=Ae("useNavigate"),r=u.useRef(!1);return ge((()=>{r.current=!0})),u.useCallback((async(i,n={})=>{O(r.current,he),r.current&&("number"==typeof i?e.navigate(i):await e.navigate(i,{fromRouteId:t,...n}))}),[e,t])}():function(){L(ce(),"useNavigate() may be used only in the context of a <Router> component.");let e=u.useContext(ne),{basename:t,navigator:r}=u.useContext(le),{matches:i}=u.useContext(de),{pathname:n}=pe(),a=JSON.stringify(K(i)),o=u.useRef(!1);return ge((()=>{o.current=!0})),u.useCallback(((i,l={})=>{if(O(o.current,he),!o.current)return;if("number"==typeof i)return void r.go(i);let s=J(i,JSON.parse(a),n,"path"===l.relative);null==e&&"/"!==t&&(s.pathname="/"===s.pathname?t:$([t,s.pathname])),(l.replace?r.replace:r.push)(s,l.state,l)}),[t,r,a,n,e])}()}function me(e,{relative:t}={}){let{matches:r}=u.useContext(de),{pathname:i}=pe(),n=JSON.stringify(K(r));return u.useMemo((()=>J(e,JSON.parse(n),i,"path"===t)),[e,n,i,t])}function ue(e,t,r,i){L(ce(),"useRoutes() may be used only in the context of a <Router> component.");let n,{navigator:a,static:o}=u.useContext(le),{matches:l}=u.useContext(de),s=l[l.length-1],d=s?s.params:{},C=s?s.pathname:"/",c=s?s.pathnameBase:"/",p=s&&s.route;{let e=p&&p.path||"";be(C,!p||e.endsWith("*")||e.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${C}" (under <Route path="${e}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.\n\nPlease change the parent <Route path="${e}"> to <Route path="${"/"===e?"*":`${e}/*`}">.`)}n=pe();let h=n.pathname||"/",g=h;if("/"!==c){let e=c.replace(/^\//,"").split("/");g="/"+h.replace(/^\//,"").split("/").slice(e.length).join("/")}let x=!o&&r&&r.matches&&r.matches.length>0?r.matches:I(e,{pathname:g});O(p||null!=x,`No routes matched location "${n.pathname}${n.search}${n.hash}" `),O(null==x||void 0!==x[x.length-1].route.element||void 0!==x[x.length-1].route.Component||void 0!==x[x.length-1].route.lazy,`Matched leaf route at location "${n.pathname}${n.search}${n.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let m=function(e,t=[],r=null){if(null==e){if(!r)return null;if(r.errors)e=r.matches;else{if(0!==t.length||r.initialized||!(r.matches.length>0))return null;e=r.matches}}let i=e,n=r?.errors;if(null!=n){let e=i.findIndex((e=>e.route.id&&void 0!==n?.[e.route.id]));L(e>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(n).join(",")}`),i=i.slice(0,Math.min(i.length,e+1))}let a=!1,o=-1;if(r)for(let e=0;e<i.length;e++){let t=i[e];if((t.route.HydrateFallback||t.route.hydrateFallbackElement)&&(o=e),t.route.id){let{loaderData:e,errors:n}=r,l=t.route.loader&&!e.hasOwnProperty(t.route.id)&&(!n||void 0===n[t.route.id]);if(t.route.lazy||l){a=!0,i=o>=0?i.slice(0,o+1):[i[0]];break}}}return i.reduceRight(((e,l,s)=>{let d,C=!1,c=null,p=null;r&&(d=n&&l.route.id?n[l.route.id]:void 0,c=l.route.errorElement||we,a&&(o<0&&0===s?(be("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),C=!0,p=null):o===s&&(C=!0,p=l.route.hydrateFallbackElement||null)));let h=t.concat(i.slice(0,s+1)),g=()=>{let t;return t=d?c:C?p:l.route.Component?u.createElement(l.route.Component,null):l.route.element?l.route.element:e,u.createElement(Fe,{match:l,routeContext:{outlet:e,matches:h,isDataRoute:null!=r},children:t})};return r&&(l.route.ErrorBoundary||l.route.errorElement||0===s)?u.createElement(fe,{location:r.location,revalidation:r.revalidation,component:c,error:d,children:g(),routeContext:{outlet:null,matches:h,isDataRoute:!0}}):g()}),null)}(x&&x.map((e=>Object.assign({},e,{params:Object.assign({},d,e.params),pathname:$([c,a.encodeLocation?a.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?c:$([c,a.encodeLocation?a.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])}))),l,r,i);return m}function ve(){let e=function(){let e=u.useContext(Ce),t=function(e){let t=u.useContext(ae);return L(t,ye(e)),t}("useRouteError"),r=Ae("useRouteError");if(void 0!==e)return e;return t.errors?.[r]}(),t=function(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"boolean"==typeof e.internal&&"data"in e}(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,i="rgba(200,200,200, 0.5)",n={padding:"0.5rem",backgroundColor:i},a={padding:"2px 4px",backgroundColor:i},o=null;return console.error("Error handled by React Router default ErrorBoundary:",e),o=u.createElement(u.Fragment,null,u.createElement("p",null,"💿 Hey developer 👋"),u.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",u.createElement("code",{style:a},"ErrorBoundary")," or"," ",u.createElement("code",{style:a},"errorElement")," prop on your route.")),u.createElement(u.Fragment,null,u.createElement("h2",null,"Unexpected Application Error!"),u.createElement("h3",{style:{fontStyle:"italic"}},t),r?u.createElement("pre",{style:n},r):null,o)}u.createContext(null);var we=u.createElement(ve,null),fe=class extends u.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:void 0!==e.error?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return void 0!==this.state.error?u.createElement(de.Provider,{value:this.props.routeContext},u.createElement(Ce.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function Fe({routeContext:e,match:t,children:r}){let i=u.useContext(ne);return i&&i.static&&i.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=t.route.id),u.createElement(de.Provider,{value:e},r)}function ye(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Ae(e){let t=function(e){let t=u.useContext(de);return L(t,ye(e)),t}(e),r=t.matches[t.matches.length-1];return L(r.route.id,`${e} can only be used on routes that contain a unique "id"`),r.route.id}var De={};function be(e,t,r){t||De[e]||(De[e]=!0,O(!1,r))}u.memo((function({routes:e,future:t,state:r}){return ue(e,0,r,t)}));var Ee="get",Be="application/x-www-form-urlencoded";function je(e){return null!=e&&"string"==typeof e.tagName}var ke=null;var Le=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Oe(e){return null==e||Le.has(e)?e:(O(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Be}"`),null)}function Me(e,t){let r,i,n,a,o;if(je(l=e)&&"form"===l.tagName.toLowerCase()){let o=e.getAttribute("action");i=o?G(o,t):null,r=e.getAttribute("method")||Ee,n=Oe(e.getAttribute("enctype"))||Be,a=new FormData(e)}else if(function(e){return je(e)&&"button"===e.tagName.toLowerCase()}(e)||function(e){return je(e)&&"input"===e.tagName.toLowerCase()}(e)&&("submit"===e.type||"image"===e.type)){let o=e.form;if(null==o)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let l=e.getAttribute("formaction")||o.getAttribute("action");if(i=l?G(l,t):null,r=e.getAttribute("formmethod")||o.getAttribute("method")||Ee,n=Oe(e.getAttribute("formenctype"))||Oe(o.getAttribute("enctype"))||Be,a=new FormData(o,e),!function(){if(null===ke)try{new FormData(document.createElement("form"),0),ke=!1}catch(e){ke=!0}return ke}()){let{name:t,type:r,value:i}=e;if("image"===r){let e=t?`${t}.`:"";a.append(`${e}x`,"0"),a.append(`${e}y`,"0")}else t&&a.append(t,i)}}else{if(je(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');r=Ee,i=null,n=Be,o=e}var l;return a&&"text/plain"===n&&(o=a,a=void 0),{action:i,method:r.toLowerCase(),encType:n,formData:a,body:o}}function ze(e,t){if(!1===e||null==e)throw new Error(t)}function Ie(e){return null!=e&&(null==e.href?"preload"===e.rel&&"string"==typeof e.imageSrcSet&&"string"==typeof e.imageSizes:"string"==typeof e.rel&&"string"==typeof e.href)}async function Pe(e,t,r){return function(e,t){let r=new Set;return new Set(t),e.reduce(((e,t)=>{let i=JSON.stringify(function(e){let t={},r=Object.keys(e).sort();for(let i of r)t[i]=e[i];return t}(t));return r.has(i)||(r.add(i),e.push({key:i,link:t})),e}),[])}((await Promise.all(e.map((async e=>{let i=t.routes[e.route.id];if(i){let e=await async function(e,t){if(e.id in t)return t[e.id];try{let r=await import(e.module);return t[e.id]=r,r}catch(t){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(t),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise((()=>{}))}}(i,r);return e.links?e.links():[]}return[]})))).flat(1).filter(Ie).filter((e=>"stylesheet"===e.rel||"preload"===e.rel)).map((e=>"stylesheet"===e.rel?{...e,rel:"prefetch",as:"style"}:{...e,rel:"prefetch"})))}function Qe(e,t,r,i,n,a){let o=(e,t)=>!r[t]||e.route.id!==r[t].route.id,l=(e,t)=>r[t].pathname!==e.pathname||r[t].route.path?.endsWith("*")&&r[t].params["*"]!==e.params["*"];return"assets"===a?t.filter(((e,t)=>o(e,t)||l(e,t))):"data"===a?t.filter(((t,a)=>{let s=i.routes[t.route.id];if(!s||!s.hasLoader)return!1;if(o(t,a)||l(t,a))return!0;if(t.route.shouldRevalidate){let i=t.route.shouldRevalidate({currentUrl:new URL(n.pathname+n.search+n.hash,window.origin),currentParams:r[0]?.params||{},nextUrl:new URL(e,window.origin),nextParams:t.params,defaultShouldRevalidate:!0});if("boolean"==typeof i)return i}return!0})):[]}function Se(e,t){return r=e.map((e=>{let r=t.routes[e.route.id];if(!r)return[];let i=[r.module];return r.imports&&(i=i.concat(r.imports)),i})).flat(1),[...new Set(r)];var r}var Te=u.createContext(void 0);function He(){let e=u.useContext(Te);return ze(e,"You must render this element inside a <HydratedRouter> element"),e}function Ye(e,t){return r=>{e&&e(r),r.defaultPrevented||t(r)}}function Xe({page:e,...t}){let{router:r}=function(){let e=u.useContext(ne);return ze(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}(),i=u.useMemo((()=>I(r.routes,e,r.basename)),[r.routes,e,r.basename]);return i?u.createElement(Ne,{page:e,matches:i,...t}):null}function Ne({page:e,matches:t,...r}){let i=pe(),{manifest:n,routeModules:a}=He(),{loaderData:o,matches:l}=function(){let e=u.useContext(ae);return ze(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}(),s=u.useMemo((()=>Qe(e,t,l,n,i,"data")),[e,t,l,n,i]),d=u.useMemo((()=>Qe(e,t,l,n,i,"assets")),[e,t,l,n,i]),C=u.useMemo((()=>{if(e===i.pathname+i.search+i.hash)return[];let r=new Set,l=!1;if(t.forEach((e=>{let t=n.routes[e.route.id];t&&t.hasLoader&&(!s.some((t=>t.route.id===e.route.id))&&e.route.id in o&&a[e.route.id]?.shouldRevalidate||t.hasClientLoader?l=!0:r.add(e.route.id))})),0===r.size)return[];let d=function(e){let t="string"==typeof e?new URL(e,"undefined"==typeof window?"server://singlefetch/":window.location.origin):e;return"/"===t.pathname?t.pathname="_root.data":t.pathname=`${t.pathname.replace(/\/$/,"")}.data`,t}(e);return l&&r.size>0&&d.searchParams.set("_routes",t.filter((e=>r.has(e.route.id))).map((e=>e.route.id)).join(",")),[d.pathname+d.search]}),[o,i,n,s,t,e,a]),c=u.useMemo((()=>Se(d,n)),[d,n]),p=function(e){let{manifest:t,routeModules:r}=He(),[i,n]=u.useState([]);return u.useEffect((()=>{let i=!1;return Pe(e,t,r).then((e=>{i||n(e)})),()=>{i=!0}}),[e,t,r]),i}(d);return u.createElement(u.Fragment,null,C.map((e=>u.createElement("link",{key:e,rel:"prefetch",as:"fetch",href:e,...r}))),c.map((e=>u.createElement("link",{key:e,rel:"modulepreload",href:e,...r}))),p.map((({key:e,link:t})=>u.createElement("link",{key:e,...t}))))}function Ve(...e){return t=>{e.forEach((e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)}))}}Te.displayName="FrameworkContext";var qe="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement;try{qe&&(window.__reactRouterVersion="7.1.5")}catch(e){}var Ue=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,We=u.forwardRef((function({onClick:e,discover:t="render",prefetch:r="none",relative:i,reloadDocument:n,replace:a,state:o,target:l,to:s,preventScrollReset:d,viewTransition:C,...c},p){let h,{basename:g}=u.useContext(le),x="string"==typeof s&&Ue.test(s),m=!1;if("string"==typeof s&&x&&(h=s,qe))try{let e=new URL(window.location.href),t=s.startsWith("//")?new URL(e.protocol+s):new URL(s),r=G(t.pathname,g);t.origin===e.origin&&null!=r?s=r+t.search+t.hash:m=!0}catch(e){O(!1,`<Link to="${s}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}let v=function(e,{relative:t}={}){L(ce(),"useHref() may be used only in the context of a <Router> component.");let{basename:r,navigator:i}=u.useContext(le),{hash:n,pathname:a,search:o}=me(e,{relative:t}),l=a;return"/"!==r&&(l="/"===a?r:$([r,a])),i.createHref({pathname:l,search:o,hash:n})}(s,{relative:i}),[w,f,F]=function(e,t){let r=u.useContext(Te),[i,n]=u.useState(!1),[a,o]=u.useState(!1),{onFocus:l,onBlur:s,onMouseEnter:d,onMouseLeave:C,onTouchStart:c}=t,p=u.useRef(null);u.useEffect((()=>{if("render"===e&&o(!0),"viewport"===e){let e=new IntersectionObserver((e=>{e.forEach((e=>{o(e.isIntersecting)}))}),{threshold:.5});return p.current&&e.observe(p.current),()=>{e.disconnect()}}}),[e]),u.useEffect((()=>{if(i){let e=setTimeout((()=>{o(!0)}),100);return()=>{clearTimeout(e)}}}),[i]);let h=()=>{n(!0)},g=()=>{n(!1),o(!1)};return r?"intent"!==e?[a,p,{}]:[a,p,{onFocus:Ye(l,h),onBlur:Ye(s,g),onMouseEnter:Ye(d,h),onMouseLeave:Ye(C,g),onTouchStart:Ye(c,h)}]:[!1,p,{}]}(r,c),y=function(e,{target:t,replace:r,state:i,preventScrollReset:n,relative:a,viewTransition:o}={}){let l=xe(),s=pe(),d=me(e,{relative:a});return u.useCallback((C=>{if(function(e,t){return!(0!==e.button||t&&"_self"!==t||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e))}(C,t)){C.preventDefault();let t=void 0!==r?r:M(s)===M(d);l(e,{replace:t,state:i,preventScrollReset:n,relative:a,viewTransition:o})}}),[s,l,d,r,i,t,e,n,a,o])}(s,{replace:a,state:o,target:l,preventScrollReset:d,relative:i,viewTransition:C});let A=u.createElement("a",{...c,...F,href:h||v,onClick:m||n?e:function(t){e&&e(t),t.defaultPrevented||y(t)},ref:Ve(p,f),target:l,"data-discover":x||"render"!==t?void 0:"true"});return w&&!x?u.createElement(u.Fragment,null,A,u.createElement(Xe,{page:v})):A}));function Re(e){let t=u.useContext(ne);return L(t,function(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}(e)),t}We.displayName="Link",u.forwardRef((function({"aria-current":e="page",caseSensitive:t=!1,className:r="",end:i=!1,style:n,to:a,viewTransition:o,children:l,...s},d){let C=me(a,{relative:s.relative}),c=pe(),p=u.useContext(ae),{navigator:h,basename:g}=u.useContext(le),x=null!=p&&function(e,t={}){let r=u.useContext(oe);L(null!=r,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:i}=Re("useViewTransitionState"),n=me(e,{relative:t.relative});if(!r.isTransitioning)return!1;let a=G(r.currentLocation.pathname,i)||r.currentLocation.pathname,o=G(r.nextLocation.pathname,i)||r.nextLocation.pathname;return null!=W(n.pathname,o)||null!=W(n.pathname,a)}(C)&&!0===o,m=h.encodeLocation?h.encodeLocation(C).pathname:C.pathname,v=c.pathname,w=p&&p.navigation&&p.navigation.location?p.navigation.location.pathname:null;t||(v=v.toLowerCase(),w=w?w.toLowerCase():null,m=m.toLowerCase()),w&&g&&(w=G(w,g)||w);const f="/"!==m&&m.endsWith("/")?m.length-1:m.length;let F,y=v===m||!i&&v.startsWith(m)&&"/"===v.charAt(f),A=null!=w&&(w===m||!i&&w.startsWith(m)&&"/"===w.charAt(m.length)),D={isActive:y,isPending:A,isTransitioning:x},b=y?e:void 0;F="function"==typeof r?r(D):[r,y?"active":null,A?"pending":null,x?"transitioning":null].filter(Boolean).join(" ");let E="function"==typeof n?n(D):n;return u.createElement(We,{...s,"aria-current":b,className:F,ref:d,style:E,to:a,viewTransition:o},"function"==typeof l?l(D):l)})).displayName="NavLink",u.forwardRef((({discover:e="render",fetcherKey:t,navigate:r,reloadDocument:i,replace:n,state:a,method:o=Ee,action:l,onSubmit:s,relative:d,preventScrollReset:C,viewTransition:c,...p},h)=>{let g=function(){let{router:e}=Re("useSubmit"),{basename:t}=u.useContext(le),r=Ae("useRouteId");return u.useCallback((async(i,n={})=>{let{action:a,method:o,encType:l,formData:s,body:d}=Me(i,t);if(!1===n.navigate){let t=n.fetcherKey||Ze();await e.fetch(t,r,n.action||a,{preventScrollReset:n.preventScrollReset,formData:s,body:d,formMethod:n.method||o,formEncType:n.encType||l,flushSync:n.flushSync})}else await e.navigate(n.action||a,{preventScrollReset:n.preventScrollReset,formData:s,body:d,formMethod:n.method||o,formEncType:n.encType||l,replace:n.replace,state:n.state,fromRouteId:r,flushSync:n.flushSync,viewTransition:n.viewTransition})}),[e,t,r])}(),x=function(e,{relative:t}={}){let{basename:r}=u.useContext(le),i=u.useContext(de);L(i,"useFormAction must be used inside a RouteContext");let[n]=i.matches.slice(-1),a={...me(e||".",{relative:t})},o=pe();if(null==e){a.search=o.search;let e=new URLSearchParams(a.search),t=e.getAll("index");if(t.some((e=>""===e))){e.delete("index"),t.filter((e=>e)).forEach((t=>e.append("index",t)));let r=e.toString();a.search=r?`?${r}`:""}}e&&"."!==e||!n.route.index||(a.search=a.search?a.search.replace(/^\?/,"?index&"):"?index");"/"!==r&&(a.pathname="/"===a.pathname?r:$([r,a.pathname]));return M(a)}(l,{relative:d}),m="get"===o.toLowerCase()?"get":"post",v="string"==typeof l&&Ue.test(l);return u.createElement("form",{ref:h,method:m,action:x,onSubmit:i?s:e=>{if(s&&s(e),e.defaultPrevented)return;e.preventDefault();let i=e.nativeEvent.submitter,l=i?.getAttribute("formmethod")||o;g(i||e.currentTarget,{fetcherKey:t,method:l,navigate:r,replace:n,state:a,relative:d,preventScrollReset:C,viewTransition:c})},...p,"data-discover":v||"render"!==e?void 0:"true"})})).displayName="Form";var Ge=0,Ze=()=>`__${String(++Ge)}__`;new TextEncoder;const Ke=t.css`
27
+ function L(e,t){if(!1===e||null==e)throw new Error(t)}function M(e,t){if(!e){"undefined"!=typeof console&&console.warn(t);try{throw new Error(t)}catch(e){}}}function O({pathname:e="/",search:t="",hash:r=""}){return t&&"?"!==t&&(e+="?"===t.charAt(0)?t:"?"+t),r&&"#"!==r&&(e+="#"===r.charAt(0)?r:"#"+r),e}function z(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substring(r),e=e.substring(0,r));let i=e.indexOf("?");i>=0&&(t.search=e.substring(i),e=e.substring(0,i)),e&&(t.pathname=e)}return t}function I(e,t,r="/"){return function(e,t,r,i){let n="string"==typeof t?z(t):t,a=G(n.pathname||"/",r);if(null==a)return null;let o=P(e);!function(e){e.sort(((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){let r=e.length===t.length&&e.slice(0,-1).every(((e,r)=>e===t[r]));return r?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((e=>e.childrenIndex)),t.routesMeta.map((e=>e.childrenIndex)))))}(o);let l=null;for(let e=0;null==l&&e<o.length;++e){let t=R(a);l=U(o[e],t,i)}return l}(e,t,r,!1)}function P(e,t=[],r=[],i=""){let n=(e,n,a)=>{let o={relativePath:void 0===a?e.path||"":a,caseSensitive:!0===e.caseSensitive,childrenIndex:n,route:e};o.relativePath.startsWith("/")&&(L(o.relativePath.startsWith(i),`Absolute route path "${o.relativePath}" nested under path "${i}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),o.relativePath=o.relativePath.slice(i.length));let l=$([i,o.relativePath]),s=r.concat(o);e.children&&e.children.length>0&&(L(!0!==e.index,`Index routes must not have child routes. Please remove all child routes from route path "${l}".`),P(e.children,t,s,l)),(null!=e.path||e.index)&&t.push({path:l,score:q(l,e.index),routesMeta:s})};return e.forEach(((e,t)=>{if(""!==e.path&&e.path?.includes("?"))for(let r of Q(e.path))n(e,t,r);else n(e,t)})),t}function Q(e){let t=e.split("/");if(0===t.length)return[];let[r,...i]=t,n=r.endsWith("?"),a=r.replace(/\?$/,"");if(0===i.length)return n?[a,""]:[a];let o=Q(i.join("/")),l=[];return l.push(...o.map((e=>""===e?a:[a,e].join("/")))),n&&l.push(...o),l.map((t=>e.startsWith("/")&&""===t?"/":t))}!function(){if(j)return k;j=1,Object.defineProperty(k,"__esModule",{value:!0}),k.parse=function(e,t){const r=new a,i=e.length;if(i<2)return r;const n=t?.decode||s;let d=0;do{const t=e.indexOf("=",d);if(-1===t)break;const a=e.indexOf(";",d),s=-1===a?i:a;if(t>s){d=e.lastIndexOf(";",t-1)+1;continue}const C=o(e,d,t),c=l(e,t,C),p=e.slice(C,c);if(void 0===r[p]){let i=o(e,t+1,s),a=l(e,s,i);const d=n(e.slice(i,a));r[p]=d}d=s+1}while(d<i);return r},k.serialize=function(a,o,l){const s=l?.encode||encodeURIComponent;if(!e.test(a))throw new TypeError(`argument name is invalid: ${a}`);const d=s(o);if(!t.test(d))throw new TypeError(`argument val is invalid: ${o}`);let C=a+"="+d;if(!l)return C;if(void 0!==l.maxAge){if(!Number.isInteger(l.maxAge))throw new TypeError(`option maxAge is invalid: ${l.maxAge}`);C+="; Max-Age="+l.maxAge}if(l.domain){if(!r.test(l.domain))throw new TypeError(`option domain is invalid: ${l.domain}`);C+="; Domain="+l.domain}if(l.path){if(!i.test(l.path))throw new TypeError(`option path is invalid: ${l.path}`);C+="; Path="+l.path}if(l.expires){if(!function(e){return"[object Date]"===n.call(e)}(l.expires)||!Number.isFinite(l.expires.valueOf()))throw new TypeError(`option expires is invalid: ${l.expires}`);C+="; Expires="+l.expires.toUTCString()}l.httpOnly&&(C+="; HttpOnly");l.secure&&(C+="; Secure");l.partitioned&&(C+="; Partitioned");if(l.priority){switch("string"==typeof l.priority?l.priority.toLowerCase():void 0){case"low":C+="; Priority=Low";break;case"medium":C+="; Priority=Medium";break;case"high":C+="; Priority=High";break;default:throw new TypeError(`option priority is invalid: ${l.priority}`)}}if(l.sameSite){switch("string"==typeof l.sameSite?l.sameSite.toLowerCase():l.sameSite){case!0:case"strict":C+="; SameSite=Strict";break;case"lax":C+="; SameSite=Lax";break;case"none":C+="; SameSite=None";break;default:throw new TypeError(`option sameSite is invalid: ${l.sameSite}`)}}return C};const e=/^[\u0021-\u003A\u003C\u003E-\u007E]+$/,t=/^[\u0021-\u003A\u003C-\u007E]*$/,r=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,i=/^[\u0020-\u003A\u003D-\u007E]*$/,n=Object.prototype.toString,a=(()=>{const e=function(){};return e.prototype=Object.create(null),e})();function o(e,t,r){do{const r=e.charCodeAt(t);if(32!==r&&9!==r)return t}while(++t<r);return r}function l(e,t,r){for(;t>r;){const r=e.charCodeAt(--t);if(32!==r&&9!==r)return t+1}return r}function s(e){if(-1===e.indexOf("%"))return e;try{return decodeURIComponent(e)}catch(t){return e}}}();var S=/^:[\w-]+$/,T=3,H=2,Y=1,X=10,N=-2,V=e=>"*"===e;function q(e,t){let r=e.split("/"),i=r.length;return r.some(V)&&(i+=N),t&&(i+=H),r.filter((e=>!V(e))).reduce(((e,t)=>e+(S.test(t)?T:""===t?Y:X)),i)}function U(e,t,r=!1){let{routesMeta:i}=e,n={},a="/",o=[];for(let e=0;e<i.length;++e){let l=i[e],s=e===i.length-1,d="/"===a?t:t.slice(a.length)||"/",C=W({path:l.relativePath,caseSensitive:l.caseSensitive,end:s},d),c=l.route;if(!C&&s&&r&&!i[i.length-1].route.index&&(C=W({path:l.relativePath,caseSensitive:l.caseSensitive,end:!1},d)),!C)return null;Object.assign(n,C.params),o.push({params:n,pathname:$([a,C.pathname]),pathnameBase:_($([a,C.pathnameBase])),route:c}),"/"!==C.pathnameBase&&(a=$([a,C.pathnameBase]))}return o}function W(e,t){"string"==typeof e&&(e={path:e,caseSensitive:!1,end:!0});let[r,i]=function(e,t=!1,r=!0){M("*"===e||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let i=[],n="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,((e,t,r)=>(i.push({paramName:t,isOptional:null!=r}),r?"/?([^\\/]+)?":"/([^\\/]+)")));e.endsWith("*")?(i.push({paramName:"*"}),n+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?n+="\\/*$":""!==e&&"/"!==e&&(n+="(?:(?=\\/|$))");let a=new RegExp(n,t?void 0:"i");return[a,i]}(e.path,e.caseSensitive,e.end),n=t.match(r);if(!n)return null;let a=n[0],o=a.replace(/(.)\/+$/,"$1"),l=n.slice(1);return{params:i.reduce(((e,{paramName:t,isOptional:r},i)=>{if("*"===t){let e=l[i]||"";o=a.slice(0,a.length-e.length).replace(/(.)\/+$/,"$1")}const n=l[i];return e[t]=r&&!n?void 0:(n||"").replace(/%2F/g,"/"),e}),{}),pathname:a,pathnameBase:o,pattern:e}}function R(e){try{return e.split("/").map((e=>decodeURIComponent(e).replace(/\//g,"%2F"))).join("/")}catch(t){return M(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function G(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,i=e.charAt(r);return i&&"/"!==i?null:e.slice(r)||"/"}function Z(e,t,r,i){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(i)}]. Please separate it out to the \`to.${r}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function K(e){let t=function(e){return e.filter(((e,t)=>0===t||e.route.path&&e.route.path.length>0))}(e);return t.map(((e,r)=>r===t.length-1?e.pathname:e.pathnameBase))}function J(e,t,r,i=!1){let n;"string"==typeof e?n=z(e):(n={...e},L(!n.pathname||!n.pathname.includes("?"),Z("?","pathname","search",n)),L(!n.pathname||!n.pathname.includes("#"),Z("#","pathname","hash",n)),L(!n.search||!n.search.includes("#"),Z("#","search","hash",n)));let a,o=""===e||""===n.pathname,l=o?"/":n.pathname;if(null==l)a=r;else{let e=t.length-1;if(!i&&l.startsWith("..")){let t=l.split("/");for(;".."===t[0];)t.shift(),e-=1;n.pathname=t.join("/")}a=e>=0?t[e]:"/"}let s=function(e,t="/"){let{pathname:r,search:i="",hash:n=""}="string"==typeof e?z(e):e,a=r?r.startsWith("/")?r:function(e,t){let r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((e=>{".."===e?r.length>1&&r.pop():"."!==e&&r.push(e)})),r.length>1?r.join("/"):"/"}(r,t):t;return{pathname:a,search:ee(i),hash:te(n)}}(n,a),d=l&&"/"!==l&&l.endsWith("/"),C=(o||"."===l)&&r.endsWith("/");return s.pathname.endsWith("/")||!d&&!C||(s.pathname+="/"),s}var $=e=>e.join("/").replace(/\/\/+/g,"/"),_=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),ee=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",te=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";var re=["POST","PUT","PATCH","DELETE"];new Set(re);var ie=["GET",...re];new Set(ie);var ne=u.createContext(null);ne.displayName="DataRouter";var ae=u.createContext(null);ae.displayName="DataRouterState";var oe=u.createContext({isTransitioning:!1});oe.displayName="ViewTransition",u.createContext(new Map).displayName="Fetchers",u.createContext(null).displayName="Await";var le=u.createContext(null);le.displayName="Navigation";var se=u.createContext(null);se.displayName="Location";var de=u.createContext({outlet:null,matches:[],isDataRoute:!1});de.displayName="Route";var Ce=u.createContext(null);function ce(){return null!=u.useContext(se)}function pe(){return L(ce(),"useLocation() may be used only in the context of a <Router> component."),u.useContext(se).location}Ce.displayName="RouteError";var he="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function ge(e){u.useContext(le).static||u.useLayoutEffect(e)}function xe(){let{isDataRoute:e}=u.useContext(de);return e?function(){let{router:e}=function(e){let t=u.useContext(ne);return L(t,ye(e)),t}("useNavigate"),t=Ae("useNavigate"),r=u.useRef(!1);return ge((()=>{r.current=!0})),u.useCallback((async(i,n={})=>{M(r.current,he),r.current&&("number"==typeof i?e.navigate(i):await e.navigate(i,{fromRouteId:t,...n}))}),[e,t])}():function(){L(ce(),"useNavigate() may be used only in the context of a <Router> component.");let e=u.useContext(ne),{basename:t,navigator:r}=u.useContext(le),{matches:i}=u.useContext(de),{pathname:n}=pe(),a=JSON.stringify(K(i)),o=u.useRef(!1);return ge((()=>{o.current=!0})),u.useCallback(((i,l={})=>{if(M(o.current,he),!o.current)return;if("number"==typeof i)return void r.go(i);let s=J(i,JSON.parse(a),n,"path"===l.relative);null==e&&"/"!==t&&(s.pathname="/"===s.pathname?t:$([t,s.pathname])),(l.replace?r.replace:r.push)(s,l.state,l)}),[t,r,a,n,e])}()}function me(e,{relative:t}={}){let{matches:r}=u.useContext(de),{pathname:i}=pe(),n=JSON.stringify(K(r));return u.useMemo((()=>J(e,JSON.parse(n),i,"path"===t)),[e,n,i,t])}function ue(e,t,r,i){L(ce(),"useRoutes() may be used only in the context of a <Router> component.");let n,{navigator:a,static:o}=u.useContext(le),{matches:l}=u.useContext(de),s=l[l.length-1],d=s?s.params:{},C=s?s.pathname:"/",c=s?s.pathnameBase:"/",p=s&&s.route;{let e=p&&p.path||"";be(C,!p||e.endsWith("*")||e.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${C}" (under <Route path="${e}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.\n\nPlease change the parent <Route path="${e}"> to <Route path="${"/"===e?"*":`${e}/*`}">.`)}n=pe();let h=n.pathname||"/",g=h;if("/"!==c){let e=c.replace(/^\//,"").split("/");g="/"+h.replace(/^\//,"").split("/").slice(e.length).join("/")}let x=!o&&r&&r.matches&&r.matches.length>0?r.matches:I(e,{pathname:g});M(p||null!=x,`No routes matched location "${n.pathname}${n.search}${n.hash}" `),M(null==x||void 0!==x[x.length-1].route.element||void 0!==x[x.length-1].route.Component||void 0!==x[x.length-1].route.lazy,`Matched leaf route at location "${n.pathname}${n.search}${n.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let m=function(e,t=[],r=null){if(null==e){if(!r)return null;if(r.errors)e=r.matches;else{if(0!==t.length||r.initialized||!(r.matches.length>0))return null;e=r.matches}}let i=e,n=r?.errors;if(null!=n){let e=i.findIndex((e=>e.route.id&&void 0!==n?.[e.route.id]));L(e>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(n).join(",")}`),i=i.slice(0,Math.min(i.length,e+1))}let a=!1,o=-1;if(r)for(let e=0;e<i.length;e++){let t=i[e];if((t.route.HydrateFallback||t.route.hydrateFallbackElement)&&(o=e),t.route.id){let{loaderData:e,errors:n}=r,l=t.route.loader&&!e.hasOwnProperty(t.route.id)&&(!n||void 0===n[t.route.id]);if(t.route.lazy||l){a=!0,i=o>=0?i.slice(0,o+1):[i[0]];break}}}return i.reduceRight(((e,l,s)=>{let d,C=!1,c=null,p=null;r&&(d=n&&l.route.id?n[l.route.id]:void 0,c=l.route.errorElement||we,a&&(o<0&&0===s?(be("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),C=!0,p=null):o===s&&(C=!0,p=l.route.hydrateFallbackElement||null)));let h=t.concat(i.slice(0,s+1)),g=()=>{let t;return t=d?c:C?p:l.route.Component?u.createElement(l.route.Component,null):l.route.element?l.route.element:e,u.createElement(Fe,{match:l,routeContext:{outlet:e,matches:h,isDataRoute:null!=r},children:t})};return r&&(l.route.ErrorBoundary||l.route.errorElement||0===s)?u.createElement(fe,{location:r.location,revalidation:r.revalidation,component:c,error:d,children:g(),routeContext:{outlet:null,matches:h,isDataRoute:!0}}):g()}),null)}(x&&x.map((e=>Object.assign({},e,{params:Object.assign({},d,e.params),pathname:$([c,a.encodeLocation?a.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?c:$([c,a.encodeLocation?a.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])}))),l,r,i);return m}function ve(){let e=function(){let e=u.useContext(Ce),t=function(e){let t=u.useContext(ae);return L(t,ye(e)),t}("useRouteError"),r=Ae("useRouteError");if(void 0!==e)return e;return t.errors?.[r]}(),t=function(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"boolean"==typeof e.internal&&"data"in e}(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,i="rgba(200,200,200, 0.5)",n={padding:"0.5rem",backgroundColor:i},a={padding:"2px 4px",backgroundColor:i},o=null;return console.error("Error handled by React Router default ErrorBoundary:",e),o=u.createElement(u.Fragment,null,u.createElement("p",null,"💿 Hey developer 👋"),u.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",u.createElement("code",{style:a},"ErrorBoundary")," or"," ",u.createElement("code",{style:a},"errorElement")," prop on your route.")),u.createElement(u.Fragment,null,u.createElement("h2",null,"Unexpected Application Error!"),u.createElement("h3",{style:{fontStyle:"italic"}},t),r?u.createElement("pre",{style:n},r):null,o)}u.createContext(null);var we=u.createElement(ve,null),fe=class extends u.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:void 0!==e.error?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return void 0!==this.state.error?u.createElement(de.Provider,{value:this.props.routeContext},u.createElement(Ce.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function Fe({routeContext:e,match:t,children:r}){let i=u.useContext(ne);return i&&i.static&&i.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=t.route.id),u.createElement(de.Provider,{value:e},r)}function ye(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Ae(e){let t=function(e){let t=u.useContext(de);return L(t,ye(e)),t}(e),r=t.matches[t.matches.length-1];return L(r.route.id,`${e} can only be used on routes that contain a unique "id"`),r.route.id}var De={};function be(e,t,r){t||De[e]||(De[e]=!0,M(!1,r))}u.memo((function({routes:e,future:t,state:r}){return ue(e,0,r,t)}));var Ee="get",Be="application/x-www-form-urlencoded";function je(e){return null!=e&&"string"==typeof e.tagName}var ke=null;var Le=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Me(e){return null==e||Le.has(e)?e:(M(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Be}"`),null)}function Oe(e,t){let r,i,n,a,o;if(je(l=e)&&"form"===l.tagName.toLowerCase()){let o=e.getAttribute("action");i=o?G(o,t):null,r=e.getAttribute("method")||Ee,n=Me(e.getAttribute("enctype"))||Be,a=new FormData(e)}else if(function(e){return je(e)&&"button"===e.tagName.toLowerCase()}(e)||function(e){return je(e)&&"input"===e.tagName.toLowerCase()}(e)&&("submit"===e.type||"image"===e.type)){let o=e.form;if(null==o)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let l=e.getAttribute("formaction")||o.getAttribute("action");if(i=l?G(l,t):null,r=e.getAttribute("formmethod")||o.getAttribute("method")||Ee,n=Me(e.getAttribute("formenctype"))||Me(o.getAttribute("enctype"))||Be,a=new FormData(o,e),!function(){if(null===ke)try{new FormData(document.createElement("form"),0),ke=!1}catch(e){ke=!0}return ke}()){let{name:t,type:r,value:i}=e;if("image"===r){let e=t?`${t}.`:"";a.append(`${e}x`,"0"),a.append(`${e}y`,"0")}else t&&a.append(t,i)}}else{if(je(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');r=Ee,i=null,n=Be,o=e}var l;return a&&"text/plain"===n&&(o=a,a=void 0),{action:i,method:r.toLowerCase(),encType:n,formData:a,body:o}}function ze(e,t){if(!1===e||null==e)throw new Error(t)}function Ie(e){return null!=e&&(null==e.href?"preload"===e.rel&&"string"==typeof e.imageSrcSet&&"string"==typeof e.imageSizes:"string"==typeof e.rel&&"string"==typeof e.href)}async function Pe(e,t,r){return function(e,t){let r=new Set;return new Set(t),e.reduce(((e,t)=>{let i=JSON.stringify(function(e){let t={},r=Object.keys(e).sort();for(let i of r)t[i]=e[i];return t}(t));return r.has(i)||(r.add(i),e.push({key:i,link:t})),e}),[])}((await Promise.all(e.map((async e=>{let i=t.routes[e.route.id];if(i){let e=await async function(e,t){if(e.id in t)return t[e.id];try{let r=await import(e.module);return t[e.id]=r,r}catch(t){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(t),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise((()=>{}))}}(i,r);return e.links?e.links():[]}return[]})))).flat(1).filter(Ie).filter((e=>"stylesheet"===e.rel||"preload"===e.rel)).map((e=>"stylesheet"===e.rel?{...e,rel:"prefetch",as:"style"}:{...e,rel:"prefetch"})))}function Qe(e,t,r,i,n,a){let o=(e,t)=>!r[t]||e.route.id!==r[t].route.id,l=(e,t)=>r[t].pathname!==e.pathname||r[t].route.path?.endsWith("*")&&r[t].params["*"]!==e.params["*"];return"assets"===a?t.filter(((e,t)=>o(e,t)||l(e,t))):"data"===a?t.filter(((t,a)=>{let s=i.routes[t.route.id];if(!s||!s.hasLoader)return!1;if(o(t,a)||l(t,a))return!0;if(t.route.shouldRevalidate){let i=t.route.shouldRevalidate({currentUrl:new URL(n.pathname+n.search+n.hash,window.origin),currentParams:r[0]?.params||{},nextUrl:new URL(e,window.origin),nextParams:t.params,defaultShouldRevalidate:!0});if("boolean"==typeof i)return i}return!0})):[]}function Se(e,t){return r=e.map((e=>{let r=t.routes[e.route.id];if(!r)return[];let i=[r.module];return r.imports&&(i=i.concat(r.imports)),i})).flat(1),[...new Set(r)];var r}var Te=u.createContext(void 0);function He(){let e=u.useContext(Te);return ze(e,"You must render this element inside a <HydratedRouter> element"),e}function Ye(e,t){return r=>{e&&e(r),r.defaultPrevented||t(r)}}function Xe({page:e,...t}){let{router:r}=function(){let e=u.useContext(ne);return ze(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}(),i=u.useMemo((()=>I(r.routes,e,r.basename)),[r.routes,e,r.basename]);return i?u.createElement(Ne,{page:e,matches:i,...t}):null}function Ne({page:e,matches:t,...r}){let i=pe(),{manifest:n,routeModules:a}=He(),{loaderData:o,matches:l}=function(){let e=u.useContext(ae);return ze(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}(),s=u.useMemo((()=>Qe(e,t,l,n,i,"data")),[e,t,l,n,i]),d=u.useMemo((()=>Qe(e,t,l,n,i,"assets")),[e,t,l,n,i]),C=u.useMemo((()=>{if(e===i.pathname+i.search+i.hash)return[];let r=new Set,l=!1;if(t.forEach((e=>{let t=n.routes[e.route.id];t&&t.hasLoader&&(!s.some((t=>t.route.id===e.route.id))&&e.route.id in o&&a[e.route.id]?.shouldRevalidate||t.hasClientLoader?l=!0:r.add(e.route.id))})),0===r.size)return[];let d=function(e){let t="string"==typeof e?new URL(e,"undefined"==typeof window?"server://singlefetch/":window.location.origin):e;return"/"===t.pathname?t.pathname="_root.data":t.pathname=`${t.pathname.replace(/\/$/,"")}.data`,t}(e);return l&&r.size>0&&d.searchParams.set("_routes",t.filter((e=>r.has(e.route.id))).map((e=>e.route.id)).join(",")),[d.pathname+d.search]}),[o,i,n,s,t,e,a]),c=u.useMemo((()=>Se(d,n)),[d,n]),p=function(e){let{manifest:t,routeModules:r}=He(),[i,n]=u.useState([]);return u.useEffect((()=>{let i=!1;return Pe(e,t,r).then((e=>{i||n(e)})),()=>{i=!0}}),[e,t,r]),i}(d);return u.createElement(u.Fragment,null,C.map((e=>u.createElement("link",{key:e,rel:"prefetch",as:"fetch",href:e,...r}))),c.map((e=>u.createElement("link",{key:e,rel:"modulepreload",href:e,...r}))),p.map((({key:e,link:t})=>u.createElement("link",{key:e,...t}))))}function Ve(...e){return t=>{e.forEach((e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)}))}}Te.displayName="FrameworkContext";var qe="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement;try{qe&&(window.__reactRouterVersion="7.1.5")}catch(e){}var Ue=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,We=u.forwardRef((function({onClick:e,discover:t="render",prefetch:r="none",relative:i,reloadDocument:n,replace:a,state:o,target:l,to:s,preventScrollReset:d,viewTransition:C,...c},p){let h,{basename:g}=u.useContext(le),x="string"==typeof s&&Ue.test(s),m=!1;if("string"==typeof s&&x&&(h=s,qe))try{let e=new URL(window.location.href),t=s.startsWith("//")?new URL(e.protocol+s):new URL(s),r=G(t.pathname,g);t.origin===e.origin&&null!=r?s=r+t.search+t.hash:m=!0}catch(e){M(!1,`<Link to="${s}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}let v=function(e,{relative:t}={}){L(ce(),"useHref() may be used only in the context of a <Router> component.");let{basename:r,navigator:i}=u.useContext(le),{hash:n,pathname:a,search:o}=me(e,{relative:t}),l=a;return"/"!==r&&(l="/"===a?r:$([r,a])),i.createHref({pathname:l,search:o,hash:n})}(s,{relative:i}),[w,f,F]=function(e,t){let r=u.useContext(Te),[i,n]=u.useState(!1),[a,o]=u.useState(!1),{onFocus:l,onBlur:s,onMouseEnter:d,onMouseLeave:C,onTouchStart:c}=t,p=u.useRef(null);u.useEffect((()=>{if("render"===e&&o(!0),"viewport"===e){let e=new IntersectionObserver((e=>{e.forEach((e=>{o(e.isIntersecting)}))}),{threshold:.5});return p.current&&e.observe(p.current),()=>{e.disconnect()}}}),[e]),u.useEffect((()=>{if(i){let e=setTimeout((()=>{o(!0)}),100);return()=>{clearTimeout(e)}}}),[i]);let h=()=>{n(!0)},g=()=>{n(!1),o(!1)};return r?"intent"!==e?[a,p,{}]:[a,p,{onFocus:Ye(l,h),onBlur:Ye(s,g),onMouseEnter:Ye(d,h),onMouseLeave:Ye(C,g),onTouchStart:Ye(c,h)}]:[!1,p,{}]}(r,c),y=function(e,{target:t,replace:r,state:i,preventScrollReset:n,relative:a,viewTransition:o}={}){let l=xe(),s=pe(),d=me(e,{relative:a});return u.useCallback((C=>{if(function(e,t){return!(0!==e.button||t&&"_self"!==t||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e))}(C,t)){C.preventDefault();let t=void 0!==r?r:O(s)===O(d);l(e,{replace:t,state:i,preventScrollReset:n,relative:a,viewTransition:o})}}),[s,l,d,r,i,t,e,n,a,o])}(s,{replace:a,state:o,target:l,preventScrollReset:d,relative:i,viewTransition:C});let A=u.createElement("a",{...c,...F,href:h||v,onClick:m||n?e:function(t){e&&e(t),t.defaultPrevented||y(t)},ref:Ve(p,f),target:l,"data-discover":x||"render"!==t?void 0:"true"});return w&&!x?u.createElement(u.Fragment,null,A,u.createElement(Xe,{page:v})):A}));function Re(e){let t=u.useContext(ne);return L(t,function(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}(e)),t}We.displayName="Link",u.forwardRef((function({"aria-current":e="page",caseSensitive:t=!1,className:r="",end:i=!1,style:n,to:a,viewTransition:o,children:l,...s},d){let C=me(a,{relative:s.relative}),c=pe(),p=u.useContext(ae),{navigator:h,basename:g}=u.useContext(le),x=null!=p&&function(e,t={}){let r=u.useContext(oe);L(null!=r,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:i}=Re("useViewTransitionState"),n=me(e,{relative:t.relative});if(!r.isTransitioning)return!1;let a=G(r.currentLocation.pathname,i)||r.currentLocation.pathname,o=G(r.nextLocation.pathname,i)||r.nextLocation.pathname;return null!=W(n.pathname,o)||null!=W(n.pathname,a)}(C)&&!0===o,m=h.encodeLocation?h.encodeLocation(C).pathname:C.pathname,v=c.pathname,w=p&&p.navigation&&p.navigation.location?p.navigation.location.pathname:null;t||(v=v.toLowerCase(),w=w?w.toLowerCase():null,m=m.toLowerCase()),w&&g&&(w=G(w,g)||w);const f="/"!==m&&m.endsWith("/")?m.length-1:m.length;let F,y=v===m||!i&&v.startsWith(m)&&"/"===v.charAt(f),A=null!=w&&(w===m||!i&&w.startsWith(m)&&"/"===w.charAt(m.length)),D={isActive:y,isPending:A,isTransitioning:x},b=y?e:void 0;F="function"==typeof r?r(D):[r,y?"active":null,A?"pending":null,x?"transitioning":null].filter(Boolean).join(" ");let E="function"==typeof n?n(D):n;return u.createElement(We,{...s,"aria-current":b,className:F,ref:d,style:E,to:a,viewTransition:o},"function"==typeof l?l(D):l)})).displayName="NavLink",u.forwardRef((({discover:e="render",fetcherKey:t,navigate:r,reloadDocument:i,replace:n,state:a,method:o=Ee,action:l,onSubmit:s,relative:d,preventScrollReset:C,viewTransition:c,...p},h)=>{let g=function(){let{router:e}=Re("useSubmit"),{basename:t}=u.useContext(le),r=Ae("useRouteId");return u.useCallback((async(i,n={})=>{let{action:a,method:o,encType:l,formData:s,body:d}=Oe(i,t);if(!1===n.navigate){let t=n.fetcherKey||Ze();await e.fetch(t,r,n.action||a,{preventScrollReset:n.preventScrollReset,formData:s,body:d,formMethod:n.method||o,formEncType:n.encType||l,flushSync:n.flushSync})}else await e.navigate(n.action||a,{preventScrollReset:n.preventScrollReset,formData:s,body:d,formMethod:n.method||o,formEncType:n.encType||l,replace:n.replace,state:n.state,fromRouteId:r,flushSync:n.flushSync,viewTransition:n.viewTransition})}),[e,t,r])}(),x=function(e,{relative:t}={}){let{basename:r}=u.useContext(le),i=u.useContext(de);L(i,"useFormAction must be used inside a RouteContext");let[n]=i.matches.slice(-1),a={...me(e||".",{relative:t})},o=pe();if(null==e){a.search=o.search;let e=new URLSearchParams(a.search),t=e.getAll("index");if(t.some((e=>""===e))){e.delete("index"),t.filter((e=>e)).forEach((t=>e.append("index",t)));let r=e.toString();a.search=r?`?${r}`:""}}e&&"."!==e||!n.route.index||(a.search=a.search?a.search.replace(/^\?/,"?index&"):"?index");"/"!==r&&(a.pathname="/"===a.pathname?r:$([r,a.pathname]));return O(a)}(l,{relative:d}),m="get"===o.toLowerCase()?"get":"post",v="string"==typeof l&&Ue.test(l);return u.createElement("form",{ref:h,method:m,action:x,onSubmit:i?s:e=>{if(s&&s(e),e.defaultPrevented)return;e.preventDefault();let i=e.nativeEvent.submitter,l=i?.getAttribute("formmethod")||o;g(i||e.currentTarget,{fetcherKey:t,method:l,navigate:r,replace:n,state:a,relative:d,preventScrollReset:C,viewTransition:c})},...p,"data-discover":v||"render"!==e?void 0:"true"})})).displayName="Form";var Ge=0,Ze=()=>`__${String(++Ge)}__`;new TextEncoder;const Ke=t.css`
28
28
  list-style: none;
29
29
  padding: 0;
30
30
  margin: 0;
@@ -339,7 +339,7 @@ function L(e,t){if(!1===e||null==e)throw new Error(t)}function O(e,t){if(!e){"un
339
339
  top: -3px;
340
340
  }
341
341
  ${ct}
342
- `;const gt=t=>{var{children:r,mode:i,$activated:n=!1,href:a,$elipsis:o=!1,$shadow:l=!1,$iconRight:s,disabled:d=!1}=t,C=D(t,["children","mode","$activated","href","$elipsis","$shadow","$iconRight","disabled"]);const{onClick:c}=C;return a?e.jsx(pt,Object.assign({className:"_refLink",mode:i,$activated:n,$elipsis:o,$shadow:l,$iconRight:s,disabled:d,href:a},C,{children:r})):e.jsx(ht,Object.assign({className:"_refLink",mode:i,$activated:n,$elipsis:o,$shadow:l,$iconRight:s,disabled:d,onClick:c},C,{children:r}))},xt=e=>{switch(e){case"Quantity on Hand":return"Quantity";case"Variant Option 1":case"Variant Option 2":return"Variant Option";case"Variant Type 1":case"Variant Type 2":return"Variant Type";case"variants-sku":return"Master SKU";default:return e}},mt=(e,t)=>{const r=void 0===t||t;let i="";return""!==e&&null!=e&&(i=null==e?void 0:e.toString().replaceAll(".",""),2===i.length&&"0"===i.substring(0,1)&&(i=parseInt(i).toString()),r&&(i=i.replace(/\D/g,"").replace(/\B(?=(\d{3})+(?!\d))/g,"."))),i},ut=e=>Number(parseFloat(e))===e,vt=(e,t,r,i)=>{let n={$type:e,message:t,timer:i||("warning"===e?3e3:2e3)};return r&&(n.callback=()=>{r()}),n},wt=(e,t,r,i,n,a)=>({$type:e,title:t,subtitle:r,callback:i,buttonSubmit:n,cancelCallback:a}),ft=e=>null!=e?e.toLocaleString("id-ID",{style:"currency",currency:"IDR",minimumFractionDigits:0}):"-",Ft=e=>{const t=window.innerHeight,r=window.innerWidth;let i={width:r,height:t};return r>=1366?i.width=r-220-64:r>=1280&&(i.width=r-187-32),i},yt=(e,t)=>{let r;switch(e){case"String":r=t?t.toString().trim():"";break;case"Integer":r=""!==t&&null!==t?parseInt(t):null;break;case"Currency":r=""!==t&&null!==t?parseInt(mt(t,!1)):null;break;case"Boolean":case"Array":r=t;break;default:r=t.toString().trim()}return r},At=(e,t,r,i)=>{var n,a,o;let l={approved:!0},s=r||xt(e.name);if(-1!==e.key.indexOf("options-option")&&""===t&&(l={approved:!1,errors:[s+" is required"]}),null==e?void 0:e.validations){const r=(null==e?void 0:e.typeData)||"String";let d={title:s};if(null===(n=e.validations)||void 0===n?void 0:n.required)switch(r){case"String":default:d.required=!0;break;case"Integer":case"Currency":const e=void 0===t||isNaN(t)?"":t,r={expects:["value"],message:"{title} is required",validate:(e,t)=>""!==t.value&&null!==t.value};v.default.addTest(r,"requiredIntegerRule"),d.requiredIntegerRule={value:e};break;case"Array":const i={expects:["value"],message:"{title} is required",validate:(e,t)=>{var r;return!!((null===(r=t.value)||void 0===r?void 0:r.length)||t.value&&Object.keys(t.value).length)}};v.default.addTest(i,"requiredArrayRule"),d.requiredArrayRule={value:t}}if("min"in e.validations&&null!==e.validations.min&&"max"in e.validations&&null!==e.validations.max)switch(r){case"Integer":case"Currency":const r={expects:["value"],message:"{title} min "+e.validations.min+" and max "+e.validations.max,validate:(t,r)=>r.value>=e.validations.min&&r.value<=e.validations.max||""===r.value||void 0===r.value};v.default.addTest(r,"minMaxIntegerRule"),d.minMaxIntegerRule={value:t};break;case"Array":const i={expects:["value"],message:"{title} must be a minimum of "+e.validations.min+" and a maximum of "+e.validations.max,validate:(t,r)=>r.value?r.value.length>=e.validations.min&&r.value.length<=e.validations.max:0===e.validations.min};v.default.addTest(i,"minMaxArrayRule"),d.minMaxArrayRule={value:t};break;default:d.min=e.validations.min,d.max=e.validations.max}else if("min"in e.validations&&null!==e.validations.min)switch(r){case"Integer":case"Currency":const r={expects:["value"],message:"{title} min "+e.validations.min,validate:(t,r)=>r.value>=e.validations.min||""===r.value||void 0===r.value};v.default.addTest(r,"minIntegerRule"),d.minIntegerRule={value:t};break;case"Array":const i={expects:["value"],message:"{title} must be a minimum of "+e.validations.min,validate:(t,r)=>r.value?r.value.length>=e.validations.min:0===e.validations.min};v.default.addTest(i,"minArrayRule"),d.minArrayRule={value:t};break;default:d.min=e.validations.min}else if("max"in e.validations&&null!==e.validations.max)switch(r){case"Integer":case"Currency":const r={expects:["value"],message:"{title} max "+e.validations.max,validate:(t,r)=>r.value<=e.validations.max||""===r.value||void 0===r.value};v.default.addTest(r,"maxIntegerRule"),d.maxIntegerRule={value:t};break;case"Array":const i={expects:["value"],message:"{title} must be a maximum of "+e.validations.max,validate:(t,r)=>{var i;return(null===(i=null==r?void 0:r.value)||void 0===i?void 0:i.length)<=e.validations.max}};v.default.addTest(i,"maxArrayRule"),d.maxArrayRule={value:t};break;default:d.max=e.validations.max}if("lessEqual"in e.validations){const e={expects:["value","valueMatch"],message:"{title} is less than or equal {valueMatch}",validate:(e,t)=>!ut(e)||!ut(null==t?void 0:t.valueMatch)||e<=t.valueMatch};v.default.addTest(e,"lessEqualRule"),d.lessEqualRule={value:t,valueMatch:i}}if("less"in e.validations){const e={expects:["value","valueMatch"],message:"{title} is less than {valueMatch}",validate:(e,t)=>!ut(e)||!ut(null==t?void 0:t.valueMatch)||e<t.valueMatch};v.default.addTest(e,"lessRule"),d.lessRule={value:t,valueMatch:i}}if(null===(a=e.validations)||void 0===a?void 0:a.greaterEqual){const e={expects:["value","valueMatch"],message:"{title} is greater than or equal {valueMatch}",validate:(e,t)=>!ut(e)||!ut(null==t?void 0:t.valueMatch)||e>=t.valueMatch};v.default.addTest(e,"greaterEqualRule"),d.greaterEqualRule={value:t,valueMatch:i}}if(null===(o=e.validations)||void 0===o?void 0:o.greater){const e={expects:["value","valueMatch"],message:"{title} is greater than {valueMatch}",validate:(e,t)=>!ut(e)||!ut(null==t?void 0:t.valueMatch)||e>t.valueMatch};v.default.addTest(e,"greaterRule"),d.greaterRule={value:t,valueMatch:i}}l=v.default.value(t,d)}return l},Dt=(e,t)=>{let r;if(e&&Object.keys(e).length){const i=["lessEqual","greaterEqual","less","greater"].find((t=>t in e));if(t&&i){const n=e[i];n&&n in t&&(r=t[n])}}return r},bt=(e,t)=>{const r=t||140;e&&setTimeout((()=>{const t=document.querySelector("._refMasterTableViewport");if(!t)return;const i=t.getBoundingClientRect(),n=e.getBoundingClientRect();if(n){const e=n.top-i.top-r+t.scrollTop,a=n.left-i.left+t.scrollLeft;t.scrollTo(a,e)}}),20)},Et=()=>{const e=document.getElementsByClassName("_refContainer is-shown");if(null==e?void 0:e.length){for(let t=0;t<e.length;t++)e[t].classList.remove("is-shown");const t=document.querySelector("._refScrollContainer");if(document.getElementsByTagName("BODY")[0].classList.remove("is-immuned"),t){t.style.overflow="auto";t.firstChild.style.overflowY="unset"}const r=document.querySelectorAll("._refDropdownOverlay");(null==r?void 0:r.length)&&r.forEach((e=>e.style.display="none"))}},Bt=t.css`
342
+ `;const gt=t=>{var{children:r,mode:i,$activated:n=!1,href:a,$elipsis:o=!1,$shadow:l=!1,$iconRight:s,disabled:d=!1}=t,C=D(t,["children","mode","$activated","href","$elipsis","$shadow","$iconRight","disabled"]);const{onClick:c}=C;return a?e.jsx(pt,Object.assign({className:"_refLink",mode:i,$activated:n,$elipsis:o,$shadow:l,$iconRight:s,disabled:d,href:a},C,{children:r})):e.jsx(ht,Object.assign({className:"_refLink",mode:i,$activated:n,$elipsis:o,$shadow:l,$iconRight:s,disabled:d,onClick:c},C,{children:r}))},xt=e=>{switch(e){case"Quantity on Hand":return"Quantity";case"Variant Option 1":case"Variant Option 2":return"Variant Option";case"Variant Type 1":case"Variant Type 2":return"Variant Type";case"variants-sku":return"Master SKU";default:return e}},mt=(e,t)=>{const r=void 0===t||t;let i="";return""!==e&&null!=e&&(i=null==e?void 0:e.toString().replaceAll(".",""),2===i.length&&"0"===i.substring(0,1)&&(i=parseInt(i).toString()),r&&(i=i.replace(/\D/g,"").replace(/\B(?=(\d{3})+(?!\d))/g,"."))),i},ut=e=>Number(parseFloat(e))===e,vt=(e,t,r,i)=>{let n={$type:e,message:t,timer:i||("warning"===e?3e3:2e3)};return r&&(n.callback=()=>{r()}),n},wt=(e,t,r,i,n,a)=>({$type:e,title:t,subtitle:r,callback:i,buttonSubmit:n,cancelCallback:a}),ft=e=>null!=e?e.toLocaleString("id-ID",{style:"currency",currency:"IDR",minimumFractionDigits:0}):"-",Ft=e=>{const t=window.innerHeight,r=window.innerWidth;let i={width:r,height:t};return r>=1366?i.width=r-220-64:r>=1280&&(i.width=r-187-32),i},yt=(e,t)=>{let r;switch(e){case"String":r=t?t.toString().trim():"";break;case"Integer":r=""!==t&&null!==t?parseInt(t):null;break;case"Currency":r=""!==t&&null!==t?parseInt(mt(t,!1)):null;break;case"Boolean":case"Array":r=t;break;default:r=t.toString().trim()}return r},At=(e,t,r,i)=>{var n,a,o,l;let s={approved:!0},d=r||xt(e.name);if(-1!==e.key.indexOf("options-option")&&""===t&&(s={approved:!1,errors:[d+" is required"]}),null==e?void 0:e.validations){const r=(null==e?void 0:e.typeData)||"String";let C={title:d};if(null===(n=e.validations)||void 0===n?void 0:n.required)switch(r){case"String":default:C.required=!0;break;case"Boolean":const e={expects:["value"],message:"{title} is required",validate:(e,t)=>void 0!==t.value&&null!==t.value};v.default.addTest(e,"requiredBooleanRule"),C.requiredBooleanRule={value:t};break;case"Integer":case"Currency":const r=void 0===t||isNaN(t)?"":t,i={expects:["value"],message:"{title} is required",validate:(e,t)=>""!==t.value&&null!==t.value};v.default.addTest(i,"requiredIntegerRule"),C.requiredIntegerRule={value:r};break;case"Array":const n={expects:["value"],message:"{title} is required",validate:(e,t)=>{var r;return!!((null===(r=t.value)||void 0===r?void 0:r.length)||t.value&&Object.keys(t.value).length)}};v.default.addTest(n,"requiredArrayRule"),C.requiredArrayRule={value:t}}if(null===(a=e.validations)||void 0===a?void 0:a.requiredIf){const e={expects:["value","valueMatch"],message:"{title} is required",validate:(e,t)=>!(null==t?void 0:t.valueMatch)||(ut(null==t?void 0:t.valueMatch)?!!((null==t?void 0:t.valueMatch)>0&&e):!(!(null==t?void 0:t.valueMatch)||!e))};v.default.addTest(e,"requiredIfRule"),C.requiredIfRule={value:t,valueMatch:i}}if("min"in e.validations&&null!==e.validations.min&&"max"in e.validations&&null!==e.validations.max)switch(r){case"Integer":case"Currency":const r=e.validations.min,i=e.validations.max,n={expects:["value"],message:"{title} min "+r+" and max "+i,validate:(e,t)=>t.value>=r&&t.value<=i||""===t.value||null===t.value||void 0===t.value},a="minMaxIntegerRule_"+e.key;v.default.addTest(n,a),C[a]={value:t};break;case"Array":const o=e.validations.min,l=e.validations.max,s={expects:["value"],message:"{title} must be a minimum of "+o+" and a maximum of "+l,validate:(e,t)=>t.value?t.value.length>=o&&t.value.length<=l:0===o},d="minMaxArrayRule_"+e.key;v.default.addTest(s,d),C[d]={value:t};break;default:C.min=e.validations.min,C.max=e.validations.max}else if("min"in e.validations&&null!==e.validations.min)switch(r){case"Integer":case"Currency":const r=e.validations.min,i={expects:["value"],message:"{title} min "+r,validate:(e,t)=>t.value>=r||""===t.value||null===t.value||void 0===t.value},n="minIntegerRule_"+e.key;v.default.addTest(i,n),C[n]={value:t};break;case"Array":const a=e.validations.min,o={expects:["value"],message:"{title} must be a minimum of "+a,validate:(e,t)=>t.value?t.value.length>=a:0===a},l="minArrayRule_"+e.key;v.default.addTest(o,l),C[l]={value:t};break;default:C.min=e.validations.min}else if("max"in e.validations&&null!==e.validations.max)switch(r){case"Integer":case"Currency":const r=e.validations.max,i={expects:["value"],message:"{title} max "+r,validate:(e,t)=>t.value<=r||""===t.value||null===t.value||void 0===t.value},n="maxIntegerRule_"+e.key;v.default.addTest(i,n),C[n]={value:t};break;case"Array":const a=e.validations.max,o={expects:["value"],message:"{title} must be a maximum of "+a,validate:(e,t)=>{var r;return(null===(r=null==t?void 0:t.value)||void 0===r?void 0:r.length)<=a}},l="maxArrayRule_"+e.key;v.default.addTest(o,l),C[l]={value:t};break;default:C.max=e.validations.max}if("lessEqual"in e.validations){const e={expects:["value","valueMatch"],message:"{title} is less than or equal {valueMatch}",validate:(e,t)=>!ut(e)||!ut(null==t?void 0:t.valueMatch)||e<=t.valueMatch};v.default.addTest(e,"lessEqualRule"),C.lessEqualRule={value:t,valueMatch:i}}if("less"in e.validations){const e={expects:["value","valueMatch"],message:"{title} is less than {valueMatch}",validate:(e,t)=>!ut(e)||!ut(null==t?void 0:t.valueMatch)||e<t.valueMatch};v.default.addTest(e,"lessRule"),C.lessRule={value:t,valueMatch:i}}if(null===(o=e.validations)||void 0===o?void 0:o.greaterEqual){const e={expects:["value","valueMatch"],message:"{title} is greater than or equal {valueMatch}",validate:(e,t)=>!ut(e)||!ut(null==t?void 0:t.valueMatch)||e>=t.valueMatch};v.default.addTest(e,"greaterEqualRule"),C.greaterEqualRule={value:t,valueMatch:i}}if(null===(l=e.validations)||void 0===l?void 0:l.greater){const e={expects:["value","valueMatch"],message:"{title} is greater than {valueMatch}",validate:(e,t)=>!ut(e)||!ut(null==t?void 0:t.valueMatch)||e>t.valueMatch};v.default.addTest(e,"greaterRule"),C.greaterRule={value:t,valueMatch:i}}s=v.default.value(t,C)}return s},Dt=(e,t)=>{let r;if(e&&Object.keys(e).length){const i=["lessEqual","greaterEqual","less","greater"].find((t=>t in e));if(t&&i){const n=e[i];n&&n in t&&(r=t[n])}}return r},bt=(e,t)=>{const r=t||140;e&&setTimeout((()=>{const t=document.querySelector("._refMasterTableViewport");if(!t)return;const i=t.getBoundingClientRect(),n=e.getBoundingClientRect();if(n){const e=n.top-i.top-r+t.scrollTop,a=n.left-i.left+t.scrollLeft;t.scrollTo(a,e)}}),20)},Et=()=>{const e=document.getElementsByClassName("_refContainer is-shown");if(null==e?void 0:e.length){for(let t=0;t<e.length;t++)e[t].classList.remove("is-shown");const t=document.querySelector("._refScrollContainer");if(document.getElementsByTagName("BODY")[0].classList.remove("is-immuned"),t){t.style.overflow="auto";t.firstChild.style.overflowY="unset"}const r=document.querySelectorAll("._refDropdownOverlay");(null==r?void 0:r.length)&&r.forEach((e=>e.style.display="none"))}},Bt=t.css`
343
343
  border: 0;
344
344
  cursor: pointer;
345
345
  font-weight: 400;
@@ -365,7 +365,7 @@ function L(e,t){if(!1===e||null==e)throw new Error(t)}function O(e,t){if(!e){"un
365
365
  top: 50%;
366
366
  transform: translateY(-50%);
367
367
  color: var(--mt-clr);
368
- `,Ot=m.default.input`
368
+ `,Mt=m.default.input`
369
369
  text-align: center;
370
370
  height: 40px;
371
371
  width: 38px;
@@ -380,7 +380,7 @@ function L(e,t){if(!1===e||null==e)throw new Error(t)}function O(e,t){if(!e){"un
380
380
  font-size: 28px;
381
381
  margin-right: 16px;
382
382
  }
383
- `,Mt=t=>{var i,n,{$mode:a,$aliasLabel:o,$isError:l,$iconLeft:s,$iconRight:d,reset:C,setReset:c,isForceUpdate:p,setForceUpdate:h,evChange:g,evBlur:x,isField:m,evChangeCustom:u,evEnter:v,evKeyUp:w}=t,f=D(t,["$mode","$aliasLabel","$isError","$iconLeft","$iconRight","reset","setReset","isForceUpdate","setForceUpdate","evChange","evBlur","isField","evChangeCustom","evEnter","evKeyUp"]);const{type:F,name:y,defaultValue:A,defaultChecked:b}=f,E="currency"===a?mt(null!==(i=null==A?void 0:A.toString())&&void 0!==i?i:""):null!==(n=null==A?void 0:A.toString())&&void 0!==n?n:"",[B,j]=r.useState(E),[k,L]=r.useState(b||!1);r.useEffect((()=>{var e,t;if(p){const r="currency"===a?mt(null!==(e=null==A?void 0:A.toString())&&void 0!==e?e:""):null!==(t=null==A?void 0:A.toString())&&void 0!==t?t:"";j(r),L(b||!1),h&&h(!1)}C&&(j(""),L(!1),c&&c(!1))}),[p,h,C,c,A,b,L,a]);const O=e=>{const t=e.target.value;j(t)};let M=Object.assign({},f);delete M.defaultValue,delete M.defaultChecked;const z=e.jsx(jt,Object.assign({$mode:a,$isError:l,$iconLeft:s,$iconRight:d,checked:k,value:B,onChange:e=>{O(e),g&&g(e)},onBlur:e=>{O(e),(e=>{if(x&&x(e),m&&v&&v(e),m&&y){const t="number"===F?parseInt(e.target.value):"currency"===a?e.target.value?parseInt(mt(e.target.value,!1)):null:e.target.value.trim();u&&u(y,t)}})(e)},onKeyUp:e=>{w&&w(e),(e=>{"currency"===a&&(e.currentTarget.value=mt(e.currentTarget.value)),"Enter"===e.key&&(e.preventDefault(),m&&v&&v(e))})(e)}},("number"===F||"currency"===a)&&{onKeyPress:e=>{const t=e.target;return"number"!==F&&"currency"!==a||(isNaN(Number(e.key))||void 0===e.key||""===e.key)&&e.preventDefault(),"currency"!==a||((1!==t.value.length||"0"!==e.key||"0"!==t.value)&&" "!==e.key||void e.preventDefault())}},"number"===F&&{onPaste:e=>{const t=(e.clipboardData||window.clipboardData).getData("text").replace(/[^0-9]/g,"");e.preventDefault(),document.execCommand("insertText",!1,t)}},"number"===F&&{onFocus:e=>e.target.addEventListener("wheel",(function(e){e.preventDefault()}),{passive:!1})},"number"===F&&{min:"0"},o&&{$aliasLabel:o},M));return"currency"===a?e.jsxs(kt,{children:[z,e.jsxs(Lt,{children:[o||"","Rp"]})]}):z},zt=r.forwardRef(((t,r)=>{var{$mode:i,$isError:n,$iconLeft:a,$iconRight:o}=t,l=D(t,["$mode","$isError","$iconLeft","$iconRight"]);const{type:s}=l,d=e.jsx(jt,Object.assign({ref:r,$mode:i,$isError:n,$iconLeft:a,$iconRight:o,onKeyUp:e=>{(e=>{"currency"===i&&(e.currentTarget.value=mt(e.currentTarget.value))})(e)}},("number"===s||"currency"===i)&&{onKeyPress:e=>{const t=e.target;return"number"!==s&&"currency"!==i||(isNaN(Number(e.key))||void 0===e.key||""===e.key)&&e.preventDefault(),"currency"!==i||((1!==t.value.length||"0"!==e.key||"0"!==t.value)&&" "!==e.key||void e.preventDefault())}},"number"===s&&{onPaste:e=>{const t=(e.clipboardData||window.clipboardData).getData("text").replace(/[^0-9]/g,"");e.preventDefault(),document.execCommand("insertText",!1,t)}},"number"===s&&{onFocus:e=>e.target.addEventListener("wheel",(function(e){e.preventDefault()}),{passive:!1})},"number"===s&&{min:"0"},l));return"currency"===i?e.jsxs(kt,{children:[d,e.jsx(Lt,{children:"Rp"})]}):d})),It=t.css`
383
+ `,Ot=t=>{var i,n,{$mode:a,$aliasLabel:o,$isError:l,$iconLeft:s,$iconRight:d,reset:C,setReset:c,isForceUpdate:p,setForceUpdate:h,evChange:g,evBlur:x,isField:m,evChangeCustom:u,evEnter:v,evKeyUp:w}=t,f=D(t,["$mode","$aliasLabel","$isError","$iconLeft","$iconRight","reset","setReset","isForceUpdate","setForceUpdate","evChange","evBlur","isField","evChangeCustom","evEnter","evKeyUp"]);const{type:F,name:y,defaultValue:A,defaultChecked:b}=f,E="currency"===a?mt(null!==(i=null==A?void 0:A.toString())&&void 0!==i?i:""):null!==(n=null==A?void 0:A.toString())&&void 0!==n?n:"",[B,j]=r.useState(E),[k,L]=r.useState(b||!1);r.useEffect((()=>{var e,t;if(p){const r="currency"===a?mt(null!==(e=null==A?void 0:A.toString())&&void 0!==e?e:""):null!==(t=null==A?void 0:A.toString())&&void 0!==t?t:"";j(r),L(b||!1),h&&h(!1)}C&&(j(""),L(!1),c&&c(!1))}),[p,h,C,c,A,b,L,a]);const M=e=>{const t=e.target.value;j(t)};let O=Object.assign({},f);delete O.defaultValue,delete O.defaultChecked;const z=e.jsx(jt,Object.assign({$mode:a,$isError:l,$iconLeft:s,$iconRight:d,checked:k,value:B,onChange:e=>{M(e),g&&g(e)},onBlur:e=>{M(e),(e=>{if(x&&x(e),m&&v&&v(e),m&&y){const t="number"===F?parseInt(e.target.value):"currency"===a?e.target.value?parseInt(mt(e.target.value,!1)):null:e.target.value.trim();u&&u(y,t)}})(e)},onKeyUp:e=>{w&&w(e),(e=>{"currency"===a&&(e.currentTarget.value=mt(e.currentTarget.value)),"Enter"===e.key&&(e.preventDefault(),m&&v&&v(e))})(e)}},("number"===F||"currency"===a)&&{onKeyPress:e=>{const t=e.target;return"number"!==F&&"currency"!==a||(isNaN(Number(e.key))||void 0===e.key||""===e.key)&&e.preventDefault(),"currency"!==a||((1!==t.value.length||"0"!==e.key||"0"!==t.value)&&" "!==e.key||void e.preventDefault())}},"number"===F&&{onPaste:e=>{const t=(e.clipboardData||window.clipboardData).getData("text").replace(/[^0-9]/g,"");e.preventDefault(),document.execCommand("insertText",!1,t)}},"number"===F&&{onFocus:e=>e.target.addEventListener("wheel",(function(e){e.preventDefault()}),{passive:!1})},"number"===F&&{min:"0"},o&&{$aliasLabel:o},O));return"currency"===a?e.jsxs(kt,{children:[z,e.jsxs(Lt,{children:[o||"","Rp"]})]}):z},zt=r.forwardRef(((t,r)=>{var{$mode:i,$isError:n,$iconLeft:a,$iconRight:o}=t,l=D(t,["$mode","$isError","$iconLeft","$iconRight"]);const{type:s}=l,d=e.jsx(jt,Object.assign({ref:r,$mode:i,$isError:n,$iconLeft:a,$iconRight:o,onKeyUp:e=>{(e=>{"currency"===i&&(e.currentTarget.value=mt(e.currentTarget.value))})(e)}},("number"===s||"currency"===i)&&{onKeyPress:e=>{const t=e.target;return"number"!==s&&"currency"!==i||(isNaN(Number(e.key))||void 0===e.key||""===e.key)&&e.preventDefault(),"currency"!==i||((1!==t.value.length||"0"!==e.key||"0"!==t.value)&&" "!==e.key||void e.preventDefault())}},"number"===s&&{onPaste:e=>{const t=(e.clipboardData||window.clipboardData).getData("text").replace(/[^0-9]/g,"");e.preventDefault(),document.execCommand("insertText",!1,t)}},"number"===s&&{onFocus:e=>e.target.addEventListener("wheel",(function(e){e.preventDefault()}),{passive:!1})},"number"===s&&{min:"0"},l));return"currency"===i?e.jsxs(kt,{children:[d,e.jsx(Lt,{children:"Rp"})]}):d})),It=t.css`
384
384
  position: absolute;
385
385
  opacity: 0;
386
386
  cursor: pointer;
@@ -1515,7 +1515,7 @@ function L(e,t){if(!1===e||null==e)throw new Error(t)}function O(e,t){if(!e){"un
1515
1515
  }
1516
1516
  }
1517
1517
  ${({$mode:e,$isBorder:t,$isPopup:r})=>{let i=`\n ${kr} {\n width: 100%;\n border-bottom: 1px solid var(--pri-clr-ln);\n &:first-child {\n border-bottom: 1px solid var(--sec-clr-ln);\n display: grid;\n > * { \n padding: 0 10px 12px; \n }\n }\n &:last-child { \n border-bottom: none; \n }\n > * {\n padding: 15px 10px;\n }\n &[role='rowheader'] {\n ${rt}\n color: var(--mt-clr);\n }\n }\n @media only screen and (min-width: 1024px) {\n overflow-x: unset;\n ${kr} { \n width: unset \n }\n }\n `;if("order"===e)i+=`\n ${kr} {\n grid-template-columns: auto var(--warehouse) var(--status-big) var(--qty-pd20-big) repeat(2, var(--price-pd20)); \n > div {\n &:last-child, \n &:nth-last-child(2), \n &:nth-last-child(3) { \n text-align: right; \n }\n }\n }\n `;else if("quotation"===e)i+=`\n ${kr} {\n grid-template-columns: auto minmax(100px, 300px) var(--qty-pd20-big) repeat(3, var(--price-pd20)); \n > div {\n &:last-child, \n &:nth-last-child(2), \n &:nth-last-child(3),\n &:nth-last-child(4) { \n text-align: right; \n }\n }\n }\n `;else if("picklist"===e)i+=`\n ${kr} {\n grid-template-columns: auto var(--ref-pd20) var(--ref) var(--status) var(--status) repeat(3, var(--qty-small));\n @media only screen and (min-width: 1366px) {\n grid-template-columns: auto var(--ref-pd20) minmax(85px, 120px) minmax(105px, 155px) minmax(105px, 133px) repeat(3, var(--qty-small));\n }\n @media only screen and (min-width: 1512px) {\n grid-template-columns: auto var(--ref-pd20) minmax(85px, 120px) minmax(105px, 155px) minmax(105px, 133px) repeat(3, minmax(88px, 103px));\n }\n @media only screen and (min-width: 1800px) {\n grid-template-columns: auto var(--store) var(--ref-pd20) minmax(105px, 155px) minmax(105px, 155px) repeat(3, minmax(88px, 103px));\n }\n >div {\n &:nth-child(n+6) { text-align: right; }\n }\n }\n `;else if("package"===e)i+=`\n ${kr} {\n grid-template-columns: auto repeat(2, var(--qty-pd20-big));\n > div:not(:first-child) { \n text-align: right; \n }\n }\n `;else if("shipment"===e)i+=`\n ${kr} {\n grid-template-columns: auto var(--ref-big) repeat(2, var(--qty-pd20-big)); \n > div:not(:first-child) { \n text-align: right; \n }\n }\n `;else if("payment-receive"===e)i+=`\n ${kr} {\n grid-template-columns: var(--id-big) var(--ref-pd20) var(--store) var(--ref-pd20) var(--time-pd20) 1fr;\n > div {\n &:last-child { \n text-align: right; \n }\n }\n }\n `;else if("item"===e)i+=`\n ${kr} {\n grid-template-columns: var(--variant-pd20) var(--sku-pd20) var(--qty-pd20-big) repeat(2, var(--price-pd20)) var(--sku-pd20);\n }\n `;else if("bundle"===e)i+=`\n ${kr} {\n grid-template-columns: 1fr 145px 130px 130px 100px 130px 60px;\n &:last-child { \n border-bottom: 1px solid var(--pri-clr-ln); \n }\n > section {\n display: grid;\n align-items: center;\n align-content: start;\n &.list-price {\n > div { \n padding-top: 8px; \n }\n }\n &:last-child {\n padding-top: 20px;\n }\n }\n > section, \n > div {\n text-align: right;\n &:first-child {\n text-align: left; \n }\n }\n @media only screen and (min-width: 1280px) {\n grid-template-columns: 1fr 145px 160px 150px 112px 130px 60px;\n }\n }\n `;else if("item-listing"===e)i+=`\n &:not(:first-child) {\n margin-top: 30px;\n }\n ${kr} {\n width: ${r?"834px":"940px"};\n grid-template-columns: ${r?"auto var(--variant-small) var(--qty) var(--price) var(--status-small) 95px":"auto var(--variant) var(--qty-big) var(--price) var(--status-small) minmax(90px, 100px)"};\n &:last-child { \n ${r?"border-bottom: 0 !important":""} \n }\n > *:nth-child(6) { \n text-align: right; \n }\n }\n @media only screen and (min-width: 1024px) {\n ${kr} { \n width: unset;\n }\n }\n `;else if("item-bundle"===e)i+=`\n &:not(:first-child) {\n margin-top: 30px;\n }\n ${kr} {\n width: ${r?"834px":"940px"};\n grid-template-columns: ${r?"auto var(--variant-small) var(--qty-small) var(--qty-big)":"auto var(--variant) var(--qty-pd20-big) var(--qty-pd20-big)"};\n &:last-child { \n ${r?"border-bottom: 0 !important":""} \n }\n }\n @media only screen and (min-width: 768px) {\n ${kr} { \n width: unset; \n }\n }\n `;else if("invoice"===e)i+=`\n ${kr} {\n grid-template-columns: auto var(--status) var(--qty-pd20-big) repeat(3, var(--price-pd20));\n > *:not(:first-child) { \n text-align: right; \n }\n }\n `;else if("stock"===e)i+=`\n ${kr} {\n grid-template-columns: auto var(--variant-pd20) var(--sku-pd20) var(--qty-pd20-big) var(--qty-pd20-big); \n > div:not(:first-child) { \n text-align: right; \n }\n }\n `;else if("inbound"===e)i+=`\n ${kr} {\n grid-template-columns: var(--time-pd20) auto var(--variant-pd20) var(--sku-pd20) var(--status-big) minmax(110px, 150px) minmax(110px, 150px); \n }\n `;else if("priceadjustment"===e)i+=`\n ${kr} {\n grid-template-columns: var(--sku) auto var(--store) var(--price-pd20) var(--price-pd20) var(--price) var(--price) var(--time) var(--time); \n }\n `;else if("add-item"===e)i+=`\n ${kr} {\n grid-template-columns: 30px auto 100px 156px 128px;\n &:first-child {\n > div { \n padding-bottom: 16px; \n }\n }\n > div:first-child { \n padding-left: 16px; \n > label {\n > span {\n top: 0; \n margin-top: 0;\n }\n }\n }\n ._refCheckboxMark { \n top: 0; \n margin-top: 0; \n }\n }\n ${kr}, \n ._refProductList {\n width: 700px;\n }\n `;else if("add-item-price"===e)i+=`\n ${kr} {\n grid-template-columns: 30px auto 100px 156px 128px;\n &:first-child {\n > div { \n padding-bottom: 16px; \n }\n }\n > div:first-child { \n padding-left: 16px; \n > label {\n > span {\n top: 0; margin-top: 0;\n }\n }\n }\n ._refCheckboxMark { \n top: 0;\n margin-top: 0; \n }\n }\n ${kr}, ._refProductList {\n width: 700px;\n }\n `;else if("inventory-qty"===e)i+=`\n overflow: auto;\n ${kr} {\n display: flex;\n &:first-child {\n display: flex;\n }\n &:last-child { \n border-bottom: 1px solid var(--pri-clr-ln); \n }\n .column-batch-id {\n min-width: 95px;\n max-width: 110px;\n flex: 1;\n }\n .column-created-date {\n min-width: var(--time-pd20-min);\n max-width: var(--time-pd20-max);\n flex: 1;\n }\n .column-expiry-date {\n min-width: var(--time-pd20-min);\n max-width: var(--time-pd20-max);\n flex: 1;\n }\n .column-location {\n min-width: 85px;\n max-width: 100px;\n flex: 1;\n }\n .column-serial-numbers {\n min-width: 120px;\n max-width: 250px;\n flex: 1;\n }\n .column-qty-on-hand-total {\n min-width: 115px;\n max-width: 120px;\n flex: 1;\n }\n .column-qty-on-hand-damage {\n min-width: var(--qty-pd20-big-min);\n max-width: var(--qty-pd20-big-max);\n flex: 1;\n }\n .column-qty-on-hand-normal {\n min-width: var(--qty-pd20-big-min);\n max-width: var(--qty-pd20-big-max);\n flex: 1;\n }\n .column-qty-reserved {\n min-width: var(--qty-pd20-big-min);\n max-width: var(--qty-pd20-big-max);\n flex: 1;\n }\n .column-qty-picked {\n min-width: var(--qty-pd20-big-min);\n max-width: var(--qty-pd20-big-max);\n flex: 1;\n }\n .column-qty-packed {\n min-width: var(--qty-pd20-big-min);\n max-width: var(--qty-pd20-big-max);\n flex: 1;\n }\n .column-qty-handover {\n min-width: var(--qty-pd20-big-min);\n max-width: var(--qty-pd20-big-max);\n flex: 1;\n }\n .column-qty-promotions {\n min-width: 125px;\n max-width: 130px;\n flex: 1;\n }\n .column-qty-available-to-sell {\n min-width: var(--qty-pd20-big-min);\n max-width: var(--qty-pd20-big-max);\n flex: 1;\n }\n .column-qty-in-transit {\n min-width: var(--qty-pd20-big-min);\n max-width: var(--qty-pd20-big-max);\n flex: 1;\n }\n .column-qty-waiting-inbound {\n min-width: var(--qty-pd20-big-min);\n max-width: var(--qty-pd20-big-max);\n flex: 1;\n }\n .column-qty-inbounded {\n min-width: 120px;\n max-width: 130px;\n flex: 1;\n }\n .column-qty-waiting-outbound {\n min-width: var(--qty-pd20-big-min);\n max-width: var(--qty-pd20-big-max);\n flex: 1;\n }\n }\n `;else if("putaway"===e)i+=`\n ${kr} {\n &[role=rowheader] {\n grid-template-columns: var(--item) var(--variant-pd20) var(--sku-pd20) max-content;\n > div[role=group] {\n padding: 0;\n display: grid;\n grid-template-columns: var(--time) minmax(110px, 200px) var(--id) var(--status) var(--status) var(--status) var(--status-big) var(--qty-big) var(--qty-big);\n > div {\n padding: 0 10px 12px;\n }\n }\n }\n &[role=row] {\n grid-template-columns: var(--item) var(--variant-pd20) var(--sku-pd20) max-content;\n > div[role=group] {\n padding: 0;\n > div[role=rowgroup] {\n display: grid;\n grid-template-columns: var(--time) minmax(110px, 200px) var(--id) var(--status) var(--status) var(--status) var(--status-big) var(--qty-big) var(--qty-big);\n > div {\n padding: 15px 10px;\n }\n }\n }\n }\n }\n `;else if("stock-adjustment"===e)i+=`\n ${kr} {\n grid-template-columns: auto var(--variant-pd20) var(--sku-pd20) var(--qty-pd20-big) minmax(135px, 140px) var(--qty-pd20-big); \n }\n `;else if("confirm"===e)i+=`\n ${kr} {\n grid-template-columns: auto 120px 120px 100px 120px; \n }\n `;else if("confirm-adjustment"===e)i+=`\n ${kr} {\n grid-template-columns: auto 120px 120px 90px 90px 90px; \n }\n `;else if("add-item"===e||"add-item-price"===e||"add-location"===e){i+=`\n ${kr} {\n grid-template-columns: ${"add-item-price"===e||"add-item"===e?"30px auto 100px 156px 128px":"30px 115px 105px 130px 110px 110px"};\n &:first-child {\n > div { \n padding-bottom: 16px; \n }\n }\n > div:first-child { \n padding-left: 16px; \n > label {\n > span {\n top: 0; margin-top: 0;\n }\n }\n }\n ._refCheckboxMark { \n top: 0; \n margin-top: 0; \n }\n }\n ${kr}._refProductList {\n width: 700px;\n }\n `}else"priceadjustment"===e?i+=`\n ${kr} {\n grid-template-columns: auto var(--price-pd20) var(--price-pd20); \n > div:not(:first-child) { \n text-align: right; \n }\n }\n `:"link-master"===e?i+=`\n &:not(:first-child) {\n margin-top: 30px;\n }\n ${kr} {\n grid-template-columns: 1fr 120px 105px; \n }\n `:"promotion"===e?i+=`\n padding-top: 16px;\n ${kr} {\n grid-template-columns: auto var(--price) var(--price) minmax(150px, 175px) var(--qty-pd20-big); \n > *:not(:first-child) { \n text-align: right; \n }\n }\n `:"warehouse"===e?i+=`\n ${kr} {\n >*:last-child { text-align: right; }\n grid-template-columns: var(--warehouse) auto var(--time-pd20) minmax(120px, 150px); \n }\n `:"item-stock"===e&&(i+=`\n ${kr} {\n &[role=rowheader] {\n grid-template-columns: 270px 270px var(--qty-pd20); \n }\n &[role=row] {\n grid-template-columns: 270px auto; \n }\n &[role=row] > div[role=cellgroup] > div[role=rowgroup], \n ._refCollapse > div, \n ._refCollapseContainer > div {\n padding-bottom: 1em;\n &:nth-child(n+2) {\n border-top: 1px solid rgb(245, 245, 245);\n padding-top: 16px;\n }\n &:last-child {\n padding-bottom: 0;\n }\n }\n &[role=rowheader] > div[role=group], \n &[role=row] > div[role=cellgroup] > div[role=rowgroup], \n ._refCollapse > div:not(._refCollapseContainer), \n ._refCollapseContainer > div {\n grid-template-columns: 270px var(--qty-pd20);\n }\n }\n @media only screen and (min-width: 1024px) {\n ${kr} {\n &[role=rowheader] {\n grid-template-columns: 310px 270px var(--qty-pd20); \n }\n &[role=row] {\n grid-template-columns: 310px auto; \n }\n }\n }\n `);return t&&(i+=`\n ${kr} {\n &:last-child { \n border-bottom: 1px solid var(--pri-clr-ln); \n }\n }\n `),i}}
1518
- `,Or=m.default.section`
1518
+ `,Mr=m.default.section`
1519
1519
  ${Je}
1520
1520
  position: relative;
1521
1521
  display: grid;
@@ -1569,7 +1569,7 @@ function L(e,t){if(!1===e||null==e)throw new Error(t)}function O(e,t){if(!e){"un
1569
1569
  background-color: #ffffee;
1570
1570
  border: 1px solid var(--lay-clr-ln);
1571
1571
  `}
1572
- `,Mr=m.default.div`
1572
+ `,Or=m.default.div`
1573
1573
  position: relative;
1574
1574
  top: 0;
1575
1575
  overflow-y: hidden;
@@ -3369,7 +3369,7 @@ function L(e,t){if(!1===e||null==e)throw new Error(t)}function O(e,t){if(!e){"un
3369
3369
  @media only screen and (min-width: 768px) {
3370
3370
  grid-template-columns: 1fr 1fr;
3371
3371
  }
3372
- `,Oi=m.default.div`
3372
+ `,Mi=m.default.div`
3373
3373
  display: none;
3374
3374
  position: fixed;
3375
3375
  z-index: 100;
@@ -3378,7 +3378,7 @@ function L(e,t){if(!1===e||null==e)throw new Error(t)}function O(e,t){if(!e){"un
3378
3378
  top: 0px;
3379
3379
  right: 0px;
3380
3380
  background-color: var(--ov-clr-bg);
3381
- `,Mi=m.default.ul`
3381
+ `,Oi=m.default.ul`
3382
3382
  ${Ke}
3383
3383
  position: fixed;
3384
3384
  overflow: auto;
@@ -3427,13 +3427,13 @@ function L(e,t){if(!1===e||null==e)throw new Error(t)}function O(e,t){if(!e){"un
3427
3427
  display: block;
3428
3428
  position: fixed;
3429
3429
  z-index: 11;
3430
- ${Oi} {
3430
+ ${Mi} {
3431
3431
  display: block;
3432
3432
  }
3433
3433
  ${zi} {
3434
3434
  display: grid;
3435
3435
  }
3436
- ${Mi} {
3436
+ ${Oi} {
3437
3437
  animation: navleftslide 0.15s ease;
3438
3438
  background: var(--pri-clr-bg);
3439
3439
  height: 100%;
@@ -4128,7 +4128,7 @@ function L(e,t){if(!1===e||null==e)throw new Error(t)}function O(e,t){if(!e){"un
4128
4128
  left: 0;
4129
4129
  z-index: 101;
4130
4130
  overflow: auto;
4131
- `,On=m.default.section`
4131
+ `,Mn=m.default.section`
4132
4132
  ${tt}
4133
4133
  ${Bn}
4134
4134
  height: auto;
@@ -4143,7 +4143,7 @@ function L(e,t){if(!1===e||null==e)throw new Error(t)}function O(e,t){if(!e){"un
4143
4143
  border: none;
4144
4144
  border-radius: 0 0px 10px 10px;
4145
4145
  ${({$isOpen:e,$withHeader:t,$width:r})=>{let i="";return e&&(i+="\n top: 0;\n transition: top .5s;\n "),t&&(i+="\n padding-top: 52px;\n "),"1200px"===r?i+=`\n width: 100%;\n @media only screen and (min-width: 1024px) {\n max-width: 1200px;\n width: 100%;\n }\n @media only screen and (min-width: 1366px) {\n width: ${r};\n }\n `:r&&(i+=`\n width: 100%;\n @media only screen and (min-width: 1024px) {\n width: ${r};\n }\n `),i}}
4146
- `,Mn=m.default.div`
4146
+ `,On=m.default.div`
4147
4147
  ${({$width:e,$mode:t,$isOpen:r})=>{let i="";return"question"===t?i+=`\n ${zn} {\n font-size: 15px;\n line-height: 18px;\n padding: 0;\n margin-bottom: 8px;\n letter-spacing: normal;\n }\n ${Pn} {\n padding: 12px 0 8px;\n grid-template-columns: none;\n aside {\n &:last-child {\n justify-content: start;\n }\n a { height: 28px; }\n }\n }\n > aside {\n font-size: 14px;\n color: var(--hd-clr);\n line-height: 1.4;\n }\n `:(i+=Bn+"\n position: fixed;\n z-index: 10;\n border-bottom: 1px solid var(--sec-clr-ln);\n button[name=round-close] {\n position: absolute; \n top: 12px;\n right: 0px;\n }\n @media only screen and (min-width: 768px) {\n button[name=round-close] {\n top: 16px;\n right: 20px;\n }\n }\n ",r&&(i+="\n top: 0;\n transition: top .5s;\n ")),"1200px"===e?i+=`\n width: 100%;\n @media only screen and (min-width: 1024px) {\n max-width: 1200px;\n width: 100%;\n }\n @media only screen and (min-width: 1366px) {\n width: ${e};\n }\n `:e&&(i+=`\n width: 100%;\n @media only screen and (min-width: 1024px) {\n width: ${e};\n }\n `),i}}
4148
4148
  `,zn=m.default.h3`
4149
4149
  font-size: 16px;
@@ -4218,7 +4218,7 @@ function L(e,t){if(!1===e||null==e)throw new Error(t)}function O(e,t){if(!e){"un
4218
4218
  height: 32px;
4219
4219
  `,Hn=m.default.img`
4220
4220
  ${({$mode:e,width:t,height:r})=>{let i="";return"store"===e&&(i+=Tn),t&&r?i+=`\n width:${t}; \n height:${r};\n `:t?i+=`\n width:${t}; \n height:${t};\n `:r&&(i+=`\n width:${t}; \n height:${r};\n `),i}}
4221
- `,Yn=t=>{var{$mode:r}=t,i=D(t,["$mode"]);const{width:n,height:a}=i;return e.jsx(Hn,Object.assign({$mode:r,width:n,height:a,onError:e=>{e.target.src="data:image/jpeg;base64,iVBORw0KGgoAAAANSUhEUgAAAlgAAAJYCAIAAAAxBA+LAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAALf9JREFUeNrs3VuLHNf1N+C2ZtRzlGMcYoPAhvxBYIMvEsj3v8ud72LIhcEGGyfYwSY+SJpj/K63V7SzXdXTU9Wnqu5+ngshjeZQXV2zf7Vqn9765ptvJgBwqJ44BQAIQgAQhAAgCAFAEAKAIAQAQQgAghAABCEACEIAEIQAIAgBQBACgCAEAEEIAIIQAAQhAAhCABCEACAIAUAQAoAgB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IAQAQQiAIAQAQQgAghAABCEACEIAEIQAIAgBQBACgCAEAEEIAIIQAAQhAAhCABCEACAIAUAQAoAgBABBCACCEAAEIQAIQgAQhAAgCAFAEAKAIAQAQQgAghAABCEACEIAEIQAIAgBQBACgCAEAEEIAIIQAAQhAAhCABCEACAIAUAQAoAgBABBCACCEAAEIQAIQgAQhAAgCAFgrv8nwABjHeXh0FudhAAAAABJRU5ErkJggg=="}},i))},Xn=m.default.div`
4221
+ `,Yn=t=>{var{$mode:r,onError:i}=t,n=D(t,["$mode","onError"]);const{width:a,height:o}=n;return e.jsx(Hn,Object.assign({$mode:r,width:a,height:o,onError:e=>{e.target.src="data:image/jpeg;base64,iVBORw0KGgoAAAANSUhEUgAAAlgAAAJYCAIAAAAxBA+LAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAALf9JREFUeNrs3VuLHNf1N+C2ZtRzlGMcYoPAhvxBYIMvEsj3v8ud72LIhcEGGyfYwSY+SJpj/K63V7SzXdXTU9Wnqu5+ngshjeZQXV2zf7Vqn9765ptvJgBwqJ44BQAIQgAQhAAgCAFAEAKAIAQAQQgAghAABCEACEIAEIQAIAgBQBACgCAEAEEIAIIQAAQhAAhCABCEACAIAUAQAoAgBABBCACCEAAEIQAIQgAQhAAgCAFAEAKAIAQAQQgAghAABCEACEIAEIQAIAgBQBACgCAEAEEIAIIQAAQhAAhCABCEACAIAUAQAoAgBABBCACCEAAEIQAIQgAQhAAgCAEQhAAgCAFAEAKAIAQAQQgAghAABCEACEIAEIQAIAgBQBACgCAEAEEIAIIQAAQhAAhCABCEACAIAUAQAoAgBABBCACCEAAEIQAIQgAQhAAgCAFAEAKAIAQAQQgAghAABCEACEIAEIQAIAgBQBACgCAEAEEIAIIQAAQhAAhCABCEACAIAUAQAoAgBABBCACCEAAEIQAIQgAQhAAgCAFAEAKAIARAEAKAIAQAQQgAghAABCEACEIAEIQAIAgBQBACgCAEAEEIAIIQAAQhAAhCABCEACAIA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HlTCRljtq9urpaMf/ivf7rX//a/fM/+eQT0y1YhT5CdkDfUTPx+Q8FQDTcOSZzQQp23+9iveY+Au3+XDReVCOBOo73iRRplL/tmYglch76hlkFto+hHbqD3GSAIGS3ReP7wQcf9PqSFy9eLNHJF5EQbf1Q65XMLWu61zqPLqu2OJ8aH5k72jbOTJyf5YYRRdZ+9NFH7fXzQBBCJ9Gm9+20i7owWu2OX3V0dJSfP+CqXbklU+OoOgZhe5XtSZ/hpmWHpuL777+fOwUzDvKjme5vR7yoyL+//OUvWx6IC11/9ZwCBqzzFvyz3f5GUP3zn//s/iVZTkX7++OPP2YvY/upXSTNO++88+67765lW7sux1P/s70UTm6+seAbtpcfy+R++fJl4+O9Zh/GZ8YZaJyf9vesIzY3R4yjfeg5anzt22+/HZ/W97QscQPht4lVvPXNN984CxyOetBNNNDa0HWJLCwVZAT8lsfcgiAEgCXpIwRAEAKAIAQAQQgAghAABCEACEIAEIQAIAgBQBACgCAEAEEIAIIQAAQhAAhCABCEACAIAUAQAoAgBABBCACCEAAEIQAIQgAQhAAgCAFAEAKAIAQAQQgAghAABCEACEIAEIQAIAgBQBACgCAEAEEIAIIQAAQhAAhCABCEACAIAUAQAoAgBABBCACCEAAEIQAIQgAQhAAgCAFAEAKAIAQAQQiAIAQAQQgAghAABCEACEIAEIQAIAgBQBACgCAEAEEIAIIQAAQhAAhCABCEACAIAUAQAoAgBABBCACCEAAEIQAIQgAQhAAgCAFAEAKAIAQAQQgAghAABCEACEIAEIQAIAgBQBACgCAEAEEIAIIQAAQhAAhCABCEACAIAUAQAoAgBABBCACCEAAEIQAIQgAQhAAgCAFgrv8nwABjHeXh0FudhAAAAABJRU5ErkJggg==",null==i||i(e)}},n))},Xn=m.default.div`
4222
4222
  display: inline-grid !important;
4223
4223
  grid-auto-flow: column !important;
4224
4224
  grid-template-columns: min-content !important;
@@ -4450,7 +4450,7 @@ function L(e,t){if(!1===e||null==e)throw new Error(t)}function O(e,t){if(!e){"un
4450
4450
  display: block;
4451
4451
  }
4452
4452
  }
4453
- `,ha=t=>{var{children:i,title:n,subTitle:a,$externalWidth:o,$externalMinWidth:l,$internalWidth:s,$area:d,$openPosition:C,$placement:c,$top:p,onClick:h,$alias:g,type:x,portalId:m,$bottom:u,$isPopup:v}=t,w=D(t,["children","title","subTitle","$externalWidth","$externalMinWidth","$internalWidth","$area","$openPosition","$placement","$top","onClick","$alias","type","portalId","$bottom","$isPopup"]);const f=r.useRef(null),F=()=>{const e=document.getElementsByClassName("_refContainer is-shown")[0];if(e){const t=e.getBoundingClientRect(),r=document.querySelector(`#${m} ._refDropdownPortal`);if(r){const e=r.querySelector("._refDropdownWrapper"),i=t.left+t.width-e.getBoundingClientRect().width;r.style.left=(i>0?i:t.left)+"px",r.style.top=t.top+parseInt(p||"0")-32+"px"}}},y=()=>{const e=document.getElementsByClassName("_refContainer is-shown"),t=document.getElementsByTagName("BODY")[0];if(e.length){t.classList.remove("is-immuned");for(let t=0;t<e.length;t++){e[t].querySelector("._refDropdownOverlay").style.display="none",e[t].classList.remove("is-shown")}}const r=document.querySelector("._refScrollContainer");r&&r.removeEventListener("scroll",F,!0),setTimeout((()=>{if(m){const e=document.getElementsByClassName("_refDropdownPortal is-shown");if(e.length)for(let t=0;t<e.length;t++)e[t].style.left="0",e[t].style.top="0",e[t].classList.remove("is-shown")}}),10)},A=e=>{const t=f.current;if(t){const r=e.target.closest(`.${t.classList[0]}`);if(!r)return;const i=r.closest("._refContainer"),n=document.getElementsByTagName("BODY")[0];if(i){const t=i.querySelector("._refDropdownOverlay"),r=i.classList.contains("is-shown"),a=i.getBoundingClientRect();r?(t.style.display="none",n.classList.remove("is-immuned"),i.classList.remove("is-shown"),setTimeout((()=>{if(m){const e=document.querySelector(`#${m} ._refDropdownPortal`),t=document.querySelector("._refScrollContainer"),r=e.querySelector("._refDropdownWrapper");e&&(e.classList.remove("is-shown"),e.style.left="0px",e.style.top="0px",r&&t&&t.removeEventListener("scroll",F,!0))}}),10)):(y(),t.style.display="block",n.classList.add("is-immuned"),i.classList.add("is-shown"),setTimeout((()=>{if(m){const e=document.querySelector(`#${m} ._refDropdownPortal`),t=document.querySelector("._refScrollContainer"),r=e.querySelector("._refDropdownWrapper");e&&(a&&(r?setTimeout((()=>{r.style.right="auto";const i=a.left+a.width-r.getBoundingClientRect().width;e.style.left=(i>0?i:a.left)+"px",e.style.top=a.top+parseInt(p||"0")-32+"px",e.style.zIndex=v?"101":"8",t&&t.addEventListener("scroll",F,!0)}),10):(e.style.left=a.left+(parseInt(s||"0")+a.width)/2+"px",e.style.top=a.top+a.height+"px")),e.classList.add("is-shown"))}}),10),h&&h(e))}}};r.useEffect((()=>(setTimeout((()=>{const e=document.querySelectorAll("._refDropdownPortal._refHover");for(let t of e)t&&t.addEventListener("mouseenter",(e=>{const t=e.target;t.classList.add("is-shown"),t.classList.add("unhiddenable")})),t&&t.addEventListener("mouseleave",(e=>{const t=e.target;t.classList.remove("is-shown"),t.classList.remove("unhiddenable"),t.style.left="0",t.style.top="0"}))}),1),()=>{const e=document.querySelectorAll("._refDropdownPortal._refHover");for(let t of e)t&&t.removeEventListener("mouseenter",(e=>{const t=e.target;t.classList.add("is-shown"),t.classList.add("unhiddenable")}),!0),t&&t.removeEventListener("mouseleave",(e=>{const t=e.target;t.classList.remove("is-shown"),t.classList.remove("unhiddenable"),t.style.left="0",t.style.top="0"}),!0)})),[m]);const b=a?e.jsx(da,{children:a}):null,E=n?e.jsxs(sa,{children:[n," ",b]}):null,B=i.filter((e=>r.isValidElement(e)?"control"===e.props["aria-label"]:null)),j=B&&r.isValidElement(B[0])?"hover"===x?e.jsxs(oa,{children:[e.jsx(aa,Object.assign({className:"_refDropdownControl"},m&&{onMouseEnter:e=>{const t=f.current;if(t){const r=e.target.closest(`.${t.classList[0]}`);if(!r)return;const i=document.querySelectorAll("._refDropdownPortal");for(const e of i)e.classList.remove("is-shown"),e.style.left="0",e.style.top="0";const n=r.closest("._refContainer");if(n){const e=n.getBoundingClientRect(),t=document.querySelector(`#${m} ._refDropdownPortal`);if(t){if(e){t.style.left=e.left+(parseInt(s||"0")+e.width)/2+"px";let r=e.top+e.height;const i=t.querySelector("._refDropdownWrapper");i&&(i.style.display="block",r+i.clientHeight>=document.body.clientHeight&&(r=e.top-i.clientHeight-10)),t.style.top=r+"px"}t.classList.add("is-shown")}}}},onMouseLeave:e=>{const t=f.current;if(t){if(!e.target.closest(`.${t.classList[0]}`))return;setTimeout((()=>{const e=document.querySelector(`#${m} ._refDropdownPortal`);e&&!e.classList.contains("unhiddenable")&&(e.classList.remove("is-shown"),e.style.left="0",e.style.top="0")}),150)}}},{children:B[0].props.children})),e.jsx(aa,{className:"_refDropdownControlMobile",ref:f,onClick:A,children:B[0].props.children})]}):e.jsx(aa,{ref:f,onClick:A,children:B[0].props.children}):null,k=i.filter((e=>r.isValidElement(e)?"body"===e.props["aria-label"]:null)),L=k&&r.isValidElement(k[0])?e.jsx(Ca,{$area:d,children:k[0].props.children}):null,O=i.filter((e=>r.isValidElement(e)?"action"===e.props["aria-label"]:null)),M=O&&r.isValidElement(O[0])?e.jsx(ca,{$position:O[0].props["data-position"],className:O[0].props.className,children:O[0].props.children}):null,z=e.jsxs(ia,Object.assign({className:"_refDropdownWrapper"},s&&{$internalWidth:s},p&&{$top:p},C&&{$openPosition:C},c&&{$placement:c},u&&{$bottom:u},{children:[E,L,M]}));return e.jsxs(la,Object.assign({className:"_refContainer "+(x?`_refContainer${x}`:"")},o&&{$externalWidth:o},l&&{$externalMinWidth:l},d&&{$area:d},p&&{$top:p},g&&{$alias:g},C&&{$openPosition:C},c&&{$placement:c},u&&{$bottom:u},w,{children:[j,e.jsx(na,{className:"_refDropdownOverlay",onClick:()=>{y()}}),m?e.jsx(ra,{wrapperId:m,children:e.jsx(pa,{className:"_refDropdownPortal "+("hover"===x?"_refHover":""),children:z})}):z]}))},ga=t.css`
4453
+ `,ha=t=>{var{children:i,title:n,subTitle:a,$externalWidth:o,$externalMinWidth:l,$internalWidth:s,$area:d,$openPosition:C,$placement:c,$top:p,onClick:h,$alias:g,type:x,portalId:m,$bottom:u,$isPopup:v}=t,w=D(t,["children","title","subTitle","$externalWidth","$externalMinWidth","$internalWidth","$area","$openPosition","$placement","$top","onClick","$alias","type","portalId","$bottom","$isPopup"]);const f=r.useRef(null),F=()=>{const e=document.getElementsByClassName("_refContainer is-shown")[0];if(e){const t=e.getBoundingClientRect(),r=document.querySelector(`#${m} ._refDropdownPortal`);if(r){const e=r.querySelector("._refDropdownWrapper"),i=t.left+t.width-e.getBoundingClientRect().width;r.style.left=(i>0?i:t.left)+"px",r.style.top=t.top+parseInt(p||"0")-32+"px"}}},y=()=>{const e=document.getElementsByClassName("_refContainer is-shown"),t=document.getElementsByTagName("BODY")[0];if(e.length){t.classList.remove("is-immuned");for(let t=0;t<e.length;t++){e[t].querySelector("._refDropdownOverlay").style.display="none",e[t].classList.remove("is-shown")}}const r=document.querySelector("._refScrollContainer");r&&r.removeEventListener("scroll",F,!0),setTimeout((()=>{if(m){const e=document.getElementsByClassName("_refDropdownPortal is-shown");if(e.length)for(let t=0;t<e.length;t++)e[t].style.left="0",e[t].style.top="0",e[t].classList.remove("is-shown")}}),10)},A=e=>{const t=f.current;if(t){const r=e.target.closest(`.${t.classList[0]}`);if(!r)return;const i=r.closest("._refContainer"),n=document.getElementsByTagName("BODY")[0];if(i){const t=i.querySelector("._refDropdownOverlay"),r=i.classList.contains("is-shown"),a=i.getBoundingClientRect();r?(t.style.display="none",n.classList.remove("is-immuned"),i.classList.remove("is-shown"),setTimeout((()=>{if(m){const e=document.querySelector(`#${m} ._refDropdownPortal`),t=document.querySelector("._refScrollContainer"),r=e.querySelector("._refDropdownWrapper");e&&(e.classList.remove("is-shown"),e.style.left="0px",e.style.top="0px",r&&t&&t.removeEventListener("scroll",F,!0))}}),10)):(y(),t.style.display="block",n.classList.add("is-immuned"),i.classList.add("is-shown"),setTimeout((()=>{if(m){const e=document.querySelector(`#${m} ._refDropdownPortal`),t=document.querySelector("._refScrollContainer"),r=e.querySelector("._refDropdownWrapper");e&&(a&&(r?setTimeout((()=>{r.style.right="auto";const i=a.left+a.width-r.getBoundingClientRect().width;e.style.left=(i>0?i:a.left)+"px",e.style.top=a.top+parseInt(p||"0")-32+"px",e.style.zIndex=v?"101":"8",t&&t.addEventListener("scroll",F,!0)}),10):(e.style.left=a.left+(parseInt(s||"0")+a.width)/2+"px",e.style.top=a.top+a.height+"px")),e.classList.add("is-shown"))}}),10),h&&h(e))}}};r.useEffect((()=>(setTimeout((()=>{const e=document.querySelectorAll("._refDropdownPortal._refHover");for(let t of e)t&&t.addEventListener("mouseenter",(e=>{const t=e.target;t.classList.add("is-shown"),t.classList.add("unhiddenable")})),t&&t.addEventListener("mouseleave",(e=>{const t=e.target;t.classList.remove("is-shown"),t.classList.remove("unhiddenable"),t.style.left="0",t.style.top="0"}))}),1),()=>{const e=document.querySelectorAll("._refDropdownPortal._refHover");for(let t of e)t&&t.removeEventListener("mouseenter",(e=>{const t=e.target;t.classList.add("is-shown"),t.classList.add("unhiddenable")}),!0),t&&t.removeEventListener("mouseleave",(e=>{const t=e.target;t.classList.remove("is-shown"),t.classList.remove("unhiddenable"),t.style.left="0",t.style.top="0"}),!0)})),[m]);const b=a?e.jsx(da,{children:a}):null,E=n?e.jsxs(sa,{children:[n," ",b]}):null,B=i.filter((e=>r.isValidElement(e)?"control"===e.props["aria-label"]:null)),j=B&&r.isValidElement(B[0])?"hover"===x?e.jsxs(oa,{children:[e.jsx(aa,Object.assign({className:"_refDropdownControl"},m&&{onMouseEnter:e=>{const t=f.current;if(t){const r=e.target.closest(`.${t.classList[0]}`);if(!r)return;const i=document.querySelectorAll("._refDropdownPortal");for(const e of i)e.classList.remove("is-shown"),e.style.left="0",e.style.top="0";const n=r.closest("._refContainer");if(n){const e=n.getBoundingClientRect(),t=document.querySelector(`#${m} ._refDropdownPortal`);if(t){if(e){t.style.left=e.left+(parseInt(s||"0")+e.width)/2+"px";let r=e.top+e.height;const i=t.querySelector("._refDropdownWrapper");i&&(i.style.display="block",r+i.clientHeight>=document.body.clientHeight&&(r=e.top-i.clientHeight-10)),t.style.top=r+"px"}t.classList.add("is-shown")}}}},onMouseLeave:e=>{const t=f.current;if(t){if(!e.target.closest(`.${t.classList[0]}`))return;setTimeout((()=>{const e=document.querySelector(`#${m} ._refDropdownPortal`);e&&!e.classList.contains("unhiddenable")&&(e.classList.remove("is-shown"),e.style.left="0",e.style.top="0")}),150)}}},{children:B[0].props.children})),e.jsx(aa,{className:"_refDropdownControlMobile",ref:f,onClick:A,children:B[0].props.children})]}):e.jsx(aa,{ref:f,onClick:A,children:B[0].props.children}):null,k=i.filter((e=>r.isValidElement(e)?"body"===e.props["aria-label"]:null)),L=k&&r.isValidElement(k[0])?e.jsx(Ca,{$area:d,children:k[0].props.children}):null,M=i.filter((e=>r.isValidElement(e)?"action"===e.props["aria-label"]:null)),O=M&&r.isValidElement(M[0])?e.jsx(ca,{$position:M[0].props["data-position"],className:M[0].props.className,children:M[0].props.children}):null,z=e.jsxs(ia,Object.assign({className:"_refDropdownWrapper"},s&&{$internalWidth:s},p&&{$top:p},C&&{$openPosition:C},c&&{$placement:c},u&&{$bottom:u},{children:[E,L,O]}));return e.jsxs(la,Object.assign({className:"_refContainer "+(x?`_refContainer${x}`:"")},o&&{$externalWidth:o},l&&{$externalMinWidth:l},d&&{$area:d},p&&{$top:p},g&&{$alias:g},C&&{$openPosition:C},c&&{$placement:c},u&&{$bottom:u},w,{children:[j,e.jsx(na,{className:"_refDropdownOverlay",onClick:()=>{y()}}),m?e.jsx(ra,{wrapperId:m,children:e.jsx(pa,{className:"_refDropdownPortal "+("hover"===x?"_refHover":""),children:z})}):z]}))},ga=t.css`
4454
4454
  background-color: var(--mt-clr-bg__fc);
4455
4455
  width: 30px;
4456
4456
  height: 30px;
@@ -4578,7 +4578,7 @@ function L(e,t){if(!1===e||null==e)throw new Error(t)}function O(e,t){if(!e){"un
4578
4578
  border-bottom: 0;
4579
4579
  align-items: center;
4580
4580
  }
4581
- `,Oa=m.default.div`
4581
+ `,Ma=m.default.div`
4582
4582
  cursor: pointer;
4583
4583
  display: grid;
4584
4584
  justify-self: stretch;
@@ -4595,7 +4595,7 @@ function L(e,t){if(!1===e||null==e)throw new Error(t)}function O(e,t){if(!e){"un
4595
4595
  border-right: 0;
4596
4596
  }
4597
4597
  ${({$activated:e})=>{if(e)return fa}}
4598
- `,Ma=m.default.aside`
4598
+ `,Oa=m.default.aside`
4599
4599
  display: grid;
4600
4600
  width: 100%;
4601
4601
  grid-column-gap: 10px;
@@ -5033,7 +5033,7 @@ MERCHANTABLITY OR NON-INFRINGEMENT.
5033
5033
  See the Apache Version 2.0 License for specific language governing permissions
5034
5034
  and limitations under the License.
5035
5035
  ***************************************************************************** */
5036
- var mo=function(){return mo=Object.assign||function(e){for(var t,r=1,i=arguments.length;r<i;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},mo.apply(this,arguments)};var uo=function(e){var t=e.animate,i=void 0===t||t,n=e.backgroundColor,a=void 0===n?"#f5f6f7":n,o=e.backgroundOpacity,l=void 0===o?1:o,s=e.baseUrl,d=void 0===s?"":s,C=e.children,c=e.foregroundColor,p=void 0===c?"#eee":c,h=e.foregroundOpacity,g=void 0===h?1:h,x=e.gradientRatio,m=void 0===x?2:x,u=e.uniqueKey,v=e.rtl,w=void 0!==v&&v,f=e.speed,F=void 0===f?1.2:f,y=e.style,A=void 0===y?{}:y,D=e.title,b=void 0===D?"Loading...":D,E=e.beforeMask,B=void 0===E?null:E,j=function(e,t){var r={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(r[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(i=Object.getOwnPropertySymbols(e);n<i.length;n++)t.indexOf(i[n])<0&&Object.prototype.propertyIsEnumerable.call(e,i[n])&&(r[i[n]]=e[i[n]])}return r}(e,["animate","backgroundColor","backgroundOpacity","baseUrl","children","foregroundColor","foregroundOpacity","gradientRatio","uniqueKey","rtl","speed","style","title","beforeMask"]),k=u||Math.random().toString(36).substring(6),L="".concat(k,"-diff"),O="".concat(k,"-animated-diff"),M="".concat(k,"-aria"),z=w?{transform:"scaleX(-1)"}:null,I="".concat(F,"s"),P="".concat(-1*m," 0"),Q="".concat(m," 0");return r.createElement("svg",mo({"aria-labelledby":M,role:"img",style:mo(mo({},A),z)},j),b?r.createElement("title",{id:M},b):null,B&&r.isValidElement(B)?B:null,r.createElement("rect",{role:"presentation",x:"0",y:"0",width:"100%",height:"100%",clipPath:"url(".concat(d,"#").concat(L,")"),style:{fill:"url(".concat(d,"#").concat(O,")")}}),r.createElement("defs",null,r.createElement("clipPath",{id:L},C),r.createElement("linearGradient",{id:O,gradientTransform:"translate(".concat(P,")")},r.createElement("stop",{offset:"0%",stopColor:a,stopOpacity:l}),r.createElement("stop",{offset:"50%",stopColor:p,stopOpacity:g}),r.createElement("stop",{offset:"100%",stopColor:a,stopOpacity:l}),i&&r.createElement("animateTransform",{attributeName:"gradientTransform",type:"translate",values:"".concat(P,"; 0 0; ").concat(Q),dur:I,repeatCount:"indefinite"}))))},vo=function(e){return e.children?r.createElement(uo,mo({},e)):r.createElement(wo,mo({},e))},wo=function(e){return r.createElement(vo,mo({viewBox:"0 0 476 124"},e),r.createElement("rect",{x:"48",y:"8",width:"88",height:"6",rx:"3"}),r.createElement("rect",{x:"48",y:"26",width:"52",height:"6",rx:"3"}),r.createElement("rect",{x:"0",y:"56",width:"410",height:"6",rx:"3"}),r.createElement("rect",{x:"0",y:"72",width:"380",height:"6",rx:"3"}),r.createElement("rect",{x:"0",y:"88",width:"178",height:"6",rx:"3"}),r.createElement("circle",{cx:"20",cy:"20",r:"20"}))};m.default.div`
5036
+ var mo=function(){return mo=Object.assign||function(e){for(var t,r=1,i=arguments.length;r<i;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},mo.apply(this,arguments)};var uo=function(e){var t=e.animate,i=void 0===t||t,n=e.backgroundColor,a=void 0===n?"#f5f6f7":n,o=e.backgroundOpacity,l=void 0===o?1:o,s=e.baseUrl,d=void 0===s?"":s,C=e.children,c=e.foregroundColor,p=void 0===c?"#eee":c,h=e.foregroundOpacity,g=void 0===h?1:h,x=e.gradientRatio,m=void 0===x?2:x,u=e.uniqueKey,v=e.rtl,w=void 0!==v&&v,f=e.speed,F=void 0===f?1.2:f,y=e.style,A=void 0===y?{}:y,D=e.title,b=void 0===D?"Loading...":D,E=e.beforeMask,B=void 0===E?null:E,j=function(e,t){var r={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(r[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(i=Object.getOwnPropertySymbols(e);n<i.length;n++)t.indexOf(i[n])<0&&Object.prototype.propertyIsEnumerable.call(e,i[n])&&(r[i[n]]=e[i[n]])}return r}(e,["animate","backgroundColor","backgroundOpacity","baseUrl","children","foregroundColor","foregroundOpacity","gradientRatio","uniqueKey","rtl","speed","style","title","beforeMask"]),k=u||Math.random().toString(36).substring(6),L="".concat(k,"-diff"),M="".concat(k,"-animated-diff"),O="".concat(k,"-aria"),z=w?{transform:"scaleX(-1)"}:null,I="".concat(F,"s"),P="".concat(-1*m," 0"),Q="".concat(m," 0");return r.createElement("svg",mo({"aria-labelledby":O,role:"img",style:mo(mo({},A),z)},j),b?r.createElement("title",{id:O},b):null,B&&r.isValidElement(B)?B:null,r.createElement("rect",{role:"presentation",x:"0",y:"0",width:"100%",height:"100%",clipPath:"url(".concat(d,"#").concat(L,")"),style:{fill:"url(".concat(d,"#").concat(M,")")}}),r.createElement("defs",null,r.createElement("clipPath",{id:L},C),r.createElement("linearGradient",{id:M,gradientTransform:"translate(".concat(P,")")},r.createElement("stop",{offset:"0%",stopColor:a,stopOpacity:l}),r.createElement("stop",{offset:"50%",stopColor:p,stopOpacity:g}),r.createElement("stop",{offset:"100%",stopColor:a,stopOpacity:l}),i&&r.createElement("animateTransform",{attributeName:"gradientTransform",type:"translate",values:"".concat(P,"; 0 0; ").concat(Q),dur:I,repeatCount:"indefinite"}))))},vo=function(e){return e.children?r.createElement(uo,mo({},e)):r.createElement(wo,mo({},e))},wo=function(e){return r.createElement(vo,mo({viewBox:"0 0 476 124"},e),r.createElement("rect",{x:"48",y:"8",width:"88",height:"6",rx:"3"}),r.createElement("rect",{x:"48",y:"26",width:"52",height:"6",rx:"3"}),r.createElement("rect",{x:"0",y:"56",width:"410",height:"6",rx:"3"}),r.createElement("rect",{x:"0",y:"72",width:"380",height:"6",rx:"3"}),r.createElement("rect",{x:"0",y:"88",width:"178",height:"6",rx:"3"}),r.createElement("circle",{cx:"20",cy:"20",r:"20"}))};m.default.div`
5037
5037
  display: inline-block;
5038
5038
  position: relative;
5039
5039
  width: 100%;
@@ -5104,5 +5104,5 @@ var mo=function(){return mo=Object.assign||function(e){for(var t,r=1,i=arguments
5104
5104
  `:r?t.css`
5105
5105
  x: ${r}
5106
5106
  `:void 0}
5107
- `,Oo=Ft().width,Mo=Ft().height,zo={rangeDate:"lastsecondweek",startDate:y.default().clone().subtract(13,"days").format("YYYY-MM-DD"),endDate:y.default().clone().format("YYYY-MM-DD"),placeholder:"Last 14 days",minDate:y.default().clone().subtract(89,"days").format("YYYY-MM-DD")},Io={startDate:y.default().clone().subtract(13,"days"),endDate:y.default().clone(),minDate:y.default().clone().subtract(89,"days")};Object.defineProperty(exports,"components",{enumerable:!0,get:function(){return o.components}}),Object.defineProperty(exports,"AsyncCreatableSelect",{enumerable:!0,get:function(){return A.default}}),exports.BoxContainer=lr,exports.BreadcrumbContainer=ir,exports.BulkActionWrapper=sr,exports.BulkSelectContainer=Vi,exports.ButtonComponent=an,exports.ButtonGroup=Vr,exports.ButtonLabel=Tr,exports.CardContainer=li,exports.CardWrapper=di,exports.CheckboxComponent=t=>{var{id:i,name:n,children:a,$flow:o,extendKey:l,extendClass:s,reset:d,setReset:C,isForceUpdate:c,setForceUpdate:p,evChange:h,$isError:g,$iconRight:x}=t,m=D(t,["id","name","children","$flow","extendKey","extendClass","reset","setReset","isForceUpdate","setForceUpdate","evChange","$isError","$iconRight"]);const{disabled:u,defaultChecked:v}=m,[w,f]=r.useState(v||!1),F=r.useRef(null);r.useEffect((()=>{c&&(f(v||!1),p&&p(!1)),d&&(f(!1),C&&C(!1))}),[d,C,c,p,v]);return delete Object.assign({},m).defaultChecked,e.jsxs(St,{$flow:o,$iconRight:x,ref:F,htmlFor:i,disabled:u||!1,children:[e.jsx(Mt,Object.assign({id:i,type:"checkbox",checked:w,name:n,evChange:e=>{f(e.target.checked),h&&h(e)}},s&&{className:s},""!==l&&{"data-key":l},m)),a,e.jsx(Qt,Object.assign({$isError:g},m["data-qa-id"]&&{"data-qa-id":m["data-qa-id"]}))]})},exports.CollapseContainer=Mr,exports.ContentLoaderAccountsList=()=>e.jsxs(vo,{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(vo,{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 t=Oo>=994?Oo>=1031&&Oo>=1031?Oo-100:Oo-60:994;const r=t-777,i=t-665,n=t-555,a=t-405,o=t-230;return e.jsx(Bo,{children:e.jsxs(vo,{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:"38",y:"15",rx:"2",ry:"2",width:"31",height:"61"}),e.jsx("rect",{x:95,y:"15",rx:"2",ry:"2",width:r,height:"61"}),e.jsx("rect",{x:i,y:"15",rx:"2",ry:"2",width:90,height:"61"}),e.jsx("rect",{x:n,y:"15",rx:"2",ry:"2",width:140,height:"61"}),e.jsx("rect",{x:a,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(vo,{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,i=Oo>=1336||Oo>=1112?400:300,n=32+i+12,a=Oo-i-85,o=t?Math.ceil((t-78)/70):0;return e.jsx(yo,{children:e.jsxs(vo,{speed:1,width:Oo,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:i,height:"16"}),e.jsx("rect",{x:n,y:"23",rx:"2",ry:"2",width:a,height:"16"}),Array.apply(0,Array(o)).map(((t,o)=>{const l=70*o+78;return e.jsxs(r.Fragment,{children:[e.jsx("rect",{x:32,y:l,rx:"2",ry:"2",width:i,height:"31"}),e.jsx("rect",{x:n,y:l,rx:"2",ry:"2",width:a,height:"31"})]},o)}))]})})},exports.ContentLoaderChatAccounts=({mode:t})=>{const i=document.querySelector("._refChatContainer"),n=i?i.offsetWidth:0,a="single"===t?65:i&&i.offsetHeight-140>=0?i.offsetHeight:0,o=n-48-88-20,l=o+60+16,s="single"===t?1:Math.floor(a/64);let d=0;return e.jsx(vo,{height:a,width:"100%",speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:Array.apply(0,Array(s)).map(((t,i)=>{const n=14+d,a=32+d,s=64+d;return d=s,e.jsxs(r.Fragment,{children:[e.jsx("rect",{x:"16",y:n,rx:"4",ry:"4",width:"32",height:"32"}),e.jsx("rect",{x:"60",y:n,rx:"0",ry:"0",width:o,height:"14"}),e.jsx("rect",{x:"60",y:a,rx:"0",ry:"0",width:o,height:"14"}),e.jsx("rect",{x:l,y:n,rx:"0",ry:"0",width:"66",height:"14"}),e.jsx("rect",{x:l,y:a,rx:"0",ry:"0",width:"66",height:"14"}),e.jsx("rect",{x:"0",y:s,rx:"0",ry:"0",width:"100%",height:"1"})]},i)}))})},exports.ContentLoaderChatMessages=({mode:t})=>{const r=document.querySelectorAll("._refChatContainer > article"),i=document.querySelector("._refChatContainer");let n=r[0]&&r[0].offsetWidth>=0?r[0].offsetWidth:0;n=n<=0?i&&i.offsetWidth>=0?i.offsetWidth:0:n;const a="single"===t?234:i&&i.offsetHeight>=0?i.offsetHeight:0,o=n-32<=360?n-32:360,l=n-o-16,s=a-145,d="single"===t?1:Math.floor(s/76);let C=0;return e.jsx(vo,{height:s,width:"100%",speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:Array.apply(0,Array(d)).map(((t,r)=>{const i=0===r?s-76:C-76;return C=i,e.jsx("rect",{x:r>=3?"16":l,y:i,rx:"10",ry:"10",width:o,height:"60"},r)}))})},exports.ContentLoaderChatProducts=({mode:t})=>{const i=document.querySelector("._refTabsContent"),n=document.querySelector("._refChatContainer"),a=i&&i.offsetWidth-30>=0?i.offsetWidth-30:0,o="single"===t?65:n&&n.offsetHeight-204>=0?n.offsetHeight-204:0,l=a-48-88,s=l+60+16+22,d="single"===t?1:Math.floor(o/64);let C=0;return!(a<=0)&&e.jsx(vo,{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(d)).map(((t,i)=>{const n=14+C,a=32+C,o=64+C;return C=o,e.jsxs(r.Fragment,{children:[e.jsx("rect",{x:"16",y:n,rx:"4",ry:"4",width:"14",height:"14"}),e.jsx("rect",{x:"38",y:n,rx:"4",ry:"4",width:"32",height:"32"}),e.jsx("rect",{x:"78",y:n,rx:"0",ry:"0",width:l,height:"14"}),e.jsx("rect",{x:"78",y:a,rx:"0",ry:"0",width:l,height:"20"}),e.jsx("rect",{x:s,y:n,rx:"0",ry:"0",width:"20",height:"14"}),e.jsx("rect",{x:s,y:a,rx:"0",ry:"0",width:"20",height:"14"}),e.jsx("rect",{x:"0",y:o,rx:"0",ry:"0",width:"100%",height:"1"})]},i)}))})},exports.ContentLoaderChatStores=()=>e.jsxs(vo,{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(ko,{children:e.jsxs(vo,{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(vo,{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(vo,{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(vo,{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(Do,{className:"_refLoadingList",children:e.jsxs(vo,{speed:1,width:Oo,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:Oo-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:Oo-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:Oo-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:Oo-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:Oo-240,y:"200",rx:"2",ry:"2",width:"200",height:"31"})]})}),exports.ContentLoaderMasterBundleDetail=()=>{const t=Oo>=1336?540:Oo>=1112?320:250,r=t+30,i=150,n=r+i+15,a=80,o=n+a+15,l=150,s=o+l+15;return e.jsx(Ao,{children:e.jsxs(vo,{speed:1,width:Oo,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:r,y:"25",rx:"2",ry:"2",width:i,height:"15"}),e.jsx("rect",{x:n,y:"25",rx:"2",ry:"2",width:a,height:"15"}),e.jsx("rect",{x:o,y:"25",rx:"2",ry:"2",width:l,height:"15"}),e.jsx("rect",{x:s,y:"25",rx:"2",ry:"2",width:80,height:"15"}),e.jsx("rect",{x:"15",y:"60",rx:"2",ry:"2",width:t,height:"30"}),e.jsx("rect",{x:r,y:"60",rx:"2",ry:"2",width:i,height:"30"}),e.jsx("rect",{x:n,y:"60",rx:"2",ry:"2",width:a,height:"30"}),e.jsx("rect",{x:o,y:"60",rx:"2",ry:"2",width:l,height:"30"}),e.jsx("rect",{x:s,y:"60",rx:"2",ry:"2",width:80,height:"30"}),e.jsx("rect",{x:"15",y:"110",rx:"2",ry:"2",width:t,height:"30"}),e.jsx("rect",{x:r,y:"110",rx:"2",ry:"2",width:i,height:"30"}),e.jsx("rect",{x:n,y:"110",rx:"2",ry:"2",width:a,height:"30"}),e.jsx("rect",{x:o,y:"110",rx:"2",ry:"2",width:l,height:"30"}),e.jsx("rect",{x:s,y:"110",rx:"2",ry:"2",width:80,height:"30"}),e.jsx("rect",{x:"15",y:"160",rx:"2",ry:"2",width:t,height:"30"}),e.jsx("rect",{x:r,y:"160",rx:"2",ry:"2",width:i,height:"30"}),e.jsx("rect",{x:n,y:"160",rx:"2",ry:"2",width:a,height:"30"}),e.jsx("rect",{x:o,y:"160",rx:"2",ry:"2",width:l,height:"30"}),e.jsx("rect",{x:s,y:"160",rx:"2",ry:"2",width:80,height:"30"}),e.jsx("rect",{x:"15",y:"210",rx:"2",ry:"2",width:t,height:"30"}),e.jsx("rect",{x:r,y:"210",rx:"2",ry:"2",width:i,height:"30"}),e.jsx("rect",{x:n,y:"210",rx:"2",ry:"2",width:a,height:"30"}),e.jsx("rect",{x:o,y:"210",rx:"2",ry:"2",width:l,height:"30"}),e.jsx("rect",{x:s,y:"210",rx:"2",ry:"2",width:80,height:"30"})]})})},exports.ContentLoaderMasterDetail=()=>{const t=Oo-250,r=Oo-150,i=Oo-80,n=140,a=183,o=200,l=388,s=140,d=533,C=140,c=678,p=140,h=823,g=140;return e.jsx(Eo,{children:e.jsxs(vo,{speed:1,width:Oo,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:t,height:"30"}),e.jsx("rect",{x:r,y:"20",rx:"2",ry:"2",width:60,height:"30"}),e.jsx("rect",{x:i,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:n,height:"31"}),e.jsx("rect",{x:a,y:"320",rx:"2",ry:"2",width:o,height:"31"}),e.jsx("rect",{x:l,y:"320",rx:"2",ry:"2",width:s,height:"31"}),e.jsx("rect",{x:d,y:"320",rx:"2",ry:"2",width:C,height:"31"}),e.jsx("rect",{x:c,y:"320",rx:"2",ry:"2",width:p,height:"31"}),e.jsx("rect",{x:h,y:"320",rx:"2",ry:"2",width:g,height:"31"}),e.jsx("rect",{x:38,y:"370",rx:"2",ry:"2",width:n,height:"31"}),e.jsx("rect",{x:a,y:"370",rx:"2",ry:"2",width:o,height:"31"}),e.jsx("rect",{x:l,y:"370",rx:"2",ry:"2",width:s,height:"31"}),e.jsx("rect",{x:d,y:"370",rx:"2",ry:"2",width:C,height:"31"}),e.jsx("rect",{x:c,y:"370",rx:"2",ry:"2",width:p,height:"31"}),e.jsx("rect",{x:h,y:"370",rx:"2",ry:"2",width:g,height:"31"}),e.jsx("rect",{x:38,y:"420",rx:"2",ry:"2",width:n,height:"31"}),e.jsx("rect",{x:a,y:"420",rx:"2",ry:"2",width:o,height:"31"}),e.jsx("rect",{x:l,y:"420",rx:"2",ry:"2",width:s,height:"31"}),e.jsx("rect",{x:d,y:"420",rx:"2",ry:"2",width:C,height:"31"}),e.jsx("rect",{x:c,y:"420",rx:"2",ry:"2",width:p,height:"31"}),e.jsx("rect",{x:h,y:"420",rx:"2",ry:"2",width:g,height:"31"}),e.jsx("rect",{x:38,y:"470",rx:"2",ry:"2",width:n,height:"31"}),e.jsx("rect",{x:a,y:"470",rx:"2",ry:"2",width:o,height:"31"}),e.jsx("rect",{x:l,y:"470",rx:"2",ry:"2",width:s,height:"31"}),e.jsx("rect",{x:d,y:"470",rx:"2",ry:"2",width:C,height:"31"}),e.jsx("rect",{x:c,y:"470",rx:"2",ry:"2",width:p,height:"31"}),e.jsx("rect",{x:h,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=Mo-286,i=Oo>=1336?370:Oo>=1112?250:150,n=29+i+12,a=Oo>=1336?130:Oo>=1112?110:100,o=n+a+12,l=Oo>=1336?100:95,s=o+l+12,d=Oo>=1336?90:80,C=s+d+12,c=Oo>=1336?85:75,p=C+c+12,h=Oo>=1336?80:70,g=p+h+12,x=Oo>=1336?70:60,m=g+x+12,u=Oo>=1336?95:85,v=Oo-100-24,w=Mo&&Math.ceil((t-78)/70)>0?Math.ceil((t-78)/70):0;let f=m+u+12,F=[];for(let e=0;f+122<v;e++)F.push({x:m+u+12+122*e,w:110}),f=m+u+12+122*e;return e.jsx(yo,{children:e.jsxs(vo,{speed:1,width:Oo,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:i,height:"16"}),e.jsx("rect",{x:n,y:"23",rx:"2",ry:"2",width:a,height:"16"}),e.jsx("rect",{x:o,y:"23",rx:"2",ry:"2",width:l,height:"16"}),e.jsx("rect",{x:s,y:"23",rx:"2",ry:"2",width:d,height:"16"}),e.jsx("rect",{x:C,y:"23",rx:"2",ry:"2",width:c,height:"16"}),e.jsx("rect",{x:p,y:"23",rx:"2",ry:"2",width:h,height:"16"}),e.jsx("rect",{x:g,y:"23",rx:"2",ry:"2",width:x,height:"16"}),e.jsx("rect",{x:m,y:"23",rx:"2",ry:"2",width:u,height:"16"}),F.map(((t,i)=>e.jsx(r.Fragment,{children:e.jsx("rect",{x:t.x,y:"23",rx:"2",ry:"2",width:t.w,height:"16"})},i))),e.jsx("rect",{x:v,y:"23",rx:"2",ry:"2",width:100,height:"16"}),Array.apply(0,Array(w)).map(((t,w)=>{const f=70*w+78;return e.jsxs(r.Fragment,{children:[e.jsx("rect",{x:29,y:f,rx:"2",ry:"2",width:i,height:"31"}),e.jsx("rect",{x:n,y:f,rx:"2",ry:"2",width:a,height:"31"}),e.jsx("rect",{x:o,y:f,rx:"2",ry:"2",width:l,height:"31"}),e.jsx("rect",{x:s,y:f,rx:"2",ry:"2",width:d,height:"31"}),e.jsx("rect",{x:C,y:f,rx:"2",ry:"2",width:c,height:"31"}),e.jsx("rect",{x:p,y:f,rx:"2",ry:"2",width:h,height:"31"}),e.jsx("rect",{x:g,y:f,rx:"2",ry:"2",width:x,height:"31"}),e.jsx("rect",{x:m,y:f,rx:"2",ry:"2",width:u,height:"31"}),F.map(((t,i)=>e.jsx(r.Fragment,{children:e.jsx("rect",{x:t.x,y:f,rx:"2",ry:"2",width:t.w,height:"31"})},i))),e.jsx("rect",{x:v,y:f,rx:"2",ry:"2",width:100,height:"31"})]},w)}))]})})},exports.ContentLoaderMasterListingDetail=()=>{const t=Oo>=1336?645:Oo>=1112?400:300,r=t+45,i=t+90;return e.jsx(Ao,{children:e.jsxs(vo,{speed:1,width:Oo,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:r,height:"15"}),e.jsx("rect",{x:i,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:t,height:"30"}),e.jsx("rect",{x:i,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:t,height:"30"}),e.jsx("rect",{x:i,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:t,height:"30"}),e.jsx("rect",{x:i,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:t,height:"30"}),e.jsx("rect",{x:i,y:"210",rx:"2",ry:"2",width:"250",height:"30"})]})})},exports.ContentLoaderNonOrderList=()=>{const t=window.innerWidth,i=t>=1336?150:t>=1112?110:100,n=29+i+12,a=t>=1336?120:t>=1112?110:100,o=n+a+12,l=t>=1336||t>=1112?110:105,s=o+l+12,d=t>=1336||t>=1112?140:130,C=s+d+12,c=t>=1336?130:t>=1112?120:100,p=C+c+12,h=t>=1336?115:t>=1112?105:100,g=p+h+12,x=t>=1336?150:t>=1112?110:100,m=t-150-24,u=Mo?Math.ceil((Mo-78)/70):0;let v=g+x+12,w=[];for(let e=0;v+122<m;e++)w.push({x:g+x+12+122*e,w:110}),v=g+x+12+122*e;return e.jsx(yo,{className:"_refLoadingList",children:e.jsxs(vo,{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:i,height:"16"}),e.jsx("rect",{x:n,y:"23",rx:"2",ry:"2",width:a,height:"16"}),e.jsx("rect",{x:o,y:"23",rx:"2",ry:"2",width:l,height:"16"}),e.jsx("rect",{x:s,y:"23",rx:"2",ry:"2",width:d,height:"16"}),e.jsx("rect",{x:C,y:"23",rx:"2",ry:"2",width:c,height:"16"}),e.jsx("rect",{x:p,y:"23",rx:"2",ry:"2",width:h,height:"16"}),e.jsx("rect",{x:g,y:"23",rx:"2",ry:"2",width:x,height:"16"}),w.map(((t,i)=>e.jsx(r.Fragment,{children:e.jsx("rect",{x:t.x,y:"23",rx:"2",ry:"2",width:t.w,height:"16"})},i))),e.jsx("rect",{x:m,y:"23",rx:"2",ry:"2",width:100,height:"16"}),Array.apply(0,Array(u)).map(((t,u)=>{const v=70*u+78;return e.jsxs(r.Fragment,{children:[e.jsx("rect",{x:29,y:v,rx:"2",ry:"2",width:i,height:"31"}),e.jsx("rect",{x:n,y:v,rx:"2",ry:"2",width:a,height:"31"}),e.jsx("rect",{x:o,y:v,rx:"2",ry:"2",width:l,height:"31"}),e.jsx("rect",{x:s,y:v,rx:"2",ry:"2",width:d,height:"31"}),e.jsx("rect",{x:C,y:v,rx:"2",ry:"2",width:c,height:"31"}),e.jsx("rect",{x:p,y:v,rx:"2",ry:"2",width:h,height:"31"}),e.jsx("rect",{x:g,y:v,rx:"2",ry:"2",width:x,height:"31"}),w.map(((t,i)=>e.jsx(r.Fragment,{children:e.jsx("rect",{x:t.x,y:v,rx:"2",ry:"2",width:t.w,height:"31"})},i))),e.jsx("rect",{x:m,y:v,rx:"2",ry:"2",width:100,height:"31"})]},u)}))]})})},exports.ContentLoaderNotifUpdate=()=>e.jsx(vo,{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:t,$height:r})=>{const i=t||75,n=r||30;return e.jsx(vo,{height:n,width:i,speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,viewBox:`0 0 ${i} ${n}`,children:e.jsx("rect",{x:"0",y:"0",rx:"0",ry:"0",width:i,height:n})})},exports.ContentLoaderOneLinePromotion=()=>e.jsx(vo,{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(vo,{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 t=window.innerHeight-96,r=Math.floor((Oo-110)/120),i=Math.floor((t-20)/50);return e.jsx(Do,{children:e.jsx(vo,{speed:1,width:Oo,height:t,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:Array.apply(0,Array(i)).map(((t,i)=>{const n=i+50*(i+1)-30;return Array.apply(0,Array(r)).map(((t,r)=>{const i=r+120*(r+1)-65;return e.jsx("rect",{x:i,y:n,rx:"2",ry:"2",width:100,height:"30"},r)}))}))})})},exports.ContentLoaderOnlyHeaderTableList=()=>{const t=Math.floor((Oo-110)/120);return e.jsx(Do,{children:e.jsx(vo,{speed:1,width:Oo,height:100,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:[0].map(((r,i)=>Array.apply(0,Array(t)).map(((t,r)=>{const n=r+120*(r+1)-65;return e.jsx("rect",{x:n,y:20,rx:"2",ry:"2",width:100,height:0===i?16:30},r)}))))})})},exports.ContentLoaderOrderDetail=()=>{const t=Oo-700,r=Oo-432,i=Oo-302,n=Oo-217,a=Oo-72,o=Oo-777,l=Oo-665,s=Oo-625,d=Oo-515,C=Oo-365,c=Oo-190,p=140,h=Oo-777,g=Oo-629,x=Oo-529,m=Oo-389,u=Oo-214;return e.jsx(Eo,{children:e.jsxs(vo,{speed:1,width:Oo,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:t,height:"36"}),e.jsx("rect",{x:r,y:"20",rx:"2",ry:"2",width:120,height:"32"}),e.jsx("rect",{x:i,y:"20",rx:"2",ry:"2",width:80,height:"32"}),e.jsx("rect",{x:n,y:"20",rx:"2",ry:"2",width:140,height:"32"}),e.jsx("rect",{x:a,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:h,height:"61"}),e.jsx("rect",{x:g,y:"150",rx:"2",ry:"2",width:90,height:"61"}),e.jsx("rect",{x:x,y:"150",rx:"2",ry:"2",width:140,height:"61"}),e.jsx("rect",{x:m,y:"150",rx:"2",ry:"2",width:160,height:"61"}),e.jsx("rect",{x:u,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:l,y:"515",rx:"2",ry:"2",width:26,height:"31"}),e.jsx("rect",{x:s,y:"515",rx:"2",ry:"2",width:90,height:"31"}),e.jsx("rect",{x:d,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:c,y:"515",rx:"2",ry:"2",width:p,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:l,y:"555",rx:"2",ry:"2",width:26,height:"31"}),e.jsx("rect",{x:s,y:"555",rx:"2",ry:"2",width:90,height:"31"}),e.jsx("rect",{x:d,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:c,y:"555",rx:"2",ry:"2",width:p,height:"31"}),e.jsx("rect",{x:c,y:"604",rx:"2",ry:"2",width:p,height:"31"}),e.jsx("rect",{x:c,y:"654",rx:"2",ry:"2",width:p,height:"31"}),e.jsx("rect",{x:"38",y:"684",rx:"2",ry:"2",width:t,height:"36"})]})})},exports.ContentLoaderOrderList=()=>{const t=100,r=Oo-600,i=Oo-405,n=120,a=Oo-275,o=Oo-190,l=140,s=Oo-45,d=Oo-18,C=Oo-777,c=Oo-665,p=Oo-625,h=Oo-515,g=140,x=Oo-365,m=160,u=Oo-190,v=140;return e.jsxs(fo,{children:[e.jsx(Fo,{children:e.jsxs(vo,{speed:1,width:Oo,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:t,y:"15",rx:"2",ry:"2",width:r,height:"31"}),e.jsx("rect",{x:i,y:"15",rx:"2",ry:"2",width:n,height:"32"}),e.jsx("rect",{x:a,y:"15",rx:"2",ry:"2",width:80,height:"32"}),e.jsx("rect",{x:o,y:"15",rx:"2",ry:"2",width:l,height:"32"}),e.jsx("rect",{x:s,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:d,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:c,y:"127",rx:"2",ry:"2",width:26,height:"31"}),e.jsx("rect",{x:p,y:"127",rx:"2",ry:"2",width:90,height:"31"}),e.jsx("rect",{x:h,y:"127",rx:"2",ry:"2",width:g,height:"31"}),e.jsx("rect",{x:x,y:"127",rx:"2",ry:"2",width:m,height:"31"}),e.jsx("rect",{x:u,y:"127",rx:"2",ry:"2",width:v,height:"65"})]})}),e.jsx(Fo,{children:e.jsxs(vo,{speed:1,width:Oo,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:t,y:"15",rx:"2",ry:"2",width:r,height:"31"}),e.jsx("rect",{x:i,y:"15",rx:"2",ry:"2",width:n,height:"32"}),e.jsx("rect",{x:a,y:"15",rx:"2",ry:"2",width:80,height:"32"}),e.jsx("rect",{x:o,y:"15",rx:"2",ry:"2",width:l,height:"32"}),e.jsx("rect",{x:s,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:d,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:c,y:"127",rx:"2",ry:"2",width:26,height:"31"}),e.jsx("rect",{x:p,y:"127",rx:"2",ry:"2",width:90,height:"31"}),e.jsx("rect",{x:h,y:"127",rx:"2",ry:"2",width:g,height:"31"}),e.jsx("rect",{x:x,y:"127",rx:"2",ry:"2",width:m,height:"31"}),e.jsx("rect",{x:u,y:"127",rx:"2",ry:"2",width:v,height:"65"})]})}),e.jsx(Fo,{children:e.jsxs(vo,{speed:1,width:Oo,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:t,y:"15",rx:"2",ry:"2",width:r,height:"31"}),e.jsx("rect",{x:i,y:"15",rx:"2",ry:"2",width:n,height:"32"}),e.jsx("rect",{x:a,y:"15",rx:"2",ry:"2",width:80,height:"32"}),e.jsx("rect",{x:o,y:"15",rx:"2",ry:"2",width:l,height:"32"}),e.jsx("rect",{x:s,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:d,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:c,y:"127",rx:"2",ry:"2",width:26,height:"31"}),e.jsx("rect",{x:p,y:"127",rx:"2",ry:"2",width:90,height:"31"}),e.jsx("rect",{x:h,y:"127",rx:"2",ry:"2",width:g,height:"31"}),e.jsx("rect",{x:x,y:"127",rx:"2",ry:"2",width:m,height:"31"}),e.jsx("rect",{x:u,y:"127",rx:"2",ry:"2",width:v,height:"65"})]})}),e.jsx(Fo,{children:e.jsxs(vo,{speed:1,width:Oo,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:t,y:"15",rx:"2",ry:"2",width:r,height:"31"}),e.jsx("rect",{x:i,y:"15",rx:"2",ry:"2",width:n,height:"32"}),e.jsx("rect",{x:a,y:"15",rx:"2",ry:"2",width:80,height:"32"}),e.jsx("rect",{x:o,y:"15",rx:"2",ry:"2",width:l,height:"32"}),e.jsx("rect",{x:s,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:d,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:c,y:"127",rx:"2",ry:"2",width:26,height:"31"}),e.jsx("rect",{x:p,y:"127",rx:"2",ry:"2",width:90,height:"31"}),e.jsx("rect",{x:h,y:"127",rx:"2",ry:"2",width:g,height:"31"}),e.jsx("rect",{x:x,y:"127",rx:"2",ry:"2",width:m,height:"31"}),e.jsx("rect",{x:u,y:"127",rx:"2",ry:"2",width:v,height:"65"})]})}),e.jsx(Fo,{children:e.jsxs(vo,{speed:1,width:Oo,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:t,y:"15",rx:"2",ry:"2",width:r,height:"31"}),e.jsx("rect",{x:i,y:"15",rx:"2",ry:"2",width:n,height:"32"}),e.jsx("rect",{x:a,y:"15",rx:"2",ry:"2",width:80,height:"32"}),e.jsx("rect",{x:o,y:"15",rx:"2",ry:"2",width:l,height:"32"}),e.jsx("rect",{x:s,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:d,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:c,y:"127",rx:"2",ry:"2",width:26,height:"31"}),e.jsx("rect",{x:p,y:"127",rx:"2",ry:"2",width:90,height:"31"}),e.jsx("rect",{x:h,y:"127",rx:"2",ry:"2",width:g,height:"31"}),e.jsx("rect",{x:x,y:"127",rx:"2",ry:"2",width:m,height:"31"}),e.jsx("rect",{x:u,y:"127",rx:"2",ry:"2",width:v,height:"65"})]})})]})},exports.ContentLoaderPOSCategory=()=>{const t=Math.floor(31*Math.random())+50;return e.jsx(vo,{height:30,width:t,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(vo,{height:116,width:"100%",speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:[e.jsx(Lo,{$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(Lo,{$width:"calc(100% - 20px)",x:"10",y:"63",rx:"0",ry:"0",height:"16"}),e.jsx(Lo,{$x:"calc(50% - 30px)",y:"95",rx:"4",ry:"4",width:"60px",height:"16"})]}),exports.ContentLoaderPOSStore=()=>e.jsxs(vo,{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 t=Oo/2,r=t-160,i=t-128,n=t-96,a=t-64,o=t-32,l=t+0,s=t+32,d=t+64,C=t+96,c=t+128;return e.jsx(bo,{className:"_refLoadingPage",children:e.jsxs(vo,{speed:1,width:Oo,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: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:n,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:o,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:d,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:c,y:"23",rx:"2",ry:"2",width:"27",height:"27"}),e.jsx("rect",{x:a,y:"60",rx:"2",ry:"2",width:"128",height:"6"})]})})},exports.ContentLoaderPopupBundle=()=>e.jsxs(vo,{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(vo,{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(vo,{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(jo,{children:e.jsxs(vo,{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(jo,{children:e.jsxs(vo,{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(jo,{children:e.jsxs(vo,{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(jo,{children:e.jsxs(vo,{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(jo,{children:e.jsxs(vo,{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(jo,{children:e.jsx(vo,{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(vo,{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(vo,{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(ko,{children:e.jsxs(vo,{speed:1,width:Oo,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(vo,{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 t=Mo-96,r=Math.floor((Oo-110)/120),i=Math.floor((t-20)/50);return e.jsx(Do,{children:e.jsx(vo,{speed:1,width:Oo,height:t,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:Array.apply(0,Array(i)).map(((t,i)=>{const n=i+50*(i+1)-30;return Array.apply(0,Array(r)).map(((t,r)=>{const a=r+120*(r+1)-65;return e.jsx("rect",{x:a,y:n,rx:"2",ry:"2",width:100,height:0===i?16:30},r)}))}))})})},exports.CreateContainer=wi,exports.CreateHeaderWrapper=fi,exports.CreateToolWrapper=Fi,exports.DateComponent=Ha,exports.DateContainer=za,exports.DateIndicatorContainer=Ia,exports.DatePickerContainer=Pa,exports.DateRangeAside=Ma,exports.DateRangeContainer=Da,exports.DateRangeControl=Aa,exports.DateRangeIconContainer=Sa,exports.DateRangeIndicatorsArrowIconSvg=ja,exports.DateRangeIndicatorsContainer=Ba,exports.DateRangeLabel=Ea,exports.DateRangeLabelContainer=ba,exports.DateRangeMenu=ka,exports.DateRangeMenuContainer=ya,exports.DateRangePortalContainer=Qa,exports.DateRangeSelection=La,exports.DateRefComponent=Ya,exports.DateTimeComponent=({dateTimeData:t})=>{const r=y.default(t,"YYYY-MM-DD HH:mm:ss ZZ").format("D MMM YYYY,"),i=y.default(t,"YYYY-MM-DD HH:mm:ss ZZ").format("hh:mm A");return e.jsx(Xa,{children:t?e.jsxs(e.Fragment,{children:[e.jsx("span",{children:r}),e.jsx("span",{children:i})]}):"-"})},exports.DateWrapper=Zr,exports.DetailItem=gi,exports.DetailItemAction=pi,exports.DetailItemInfo=hi,exports.DetailItemTitle=ci,exports.DetailItemWrapper=xi,exports.DetailList=Ci,exports.DetailPanelWrapper=mi,exports.DetailWrapper=oi,exports.DotIcon=qi,exports.DropDownAction=ca,exports.DropDownBody=Ca,exports.DropDownComponent=ha,exports.DropDownContainer=la,exports.DropDownControl=aa,exports.DropDownOverlayWrapper=na,exports.DropDownSubTitle=da,exports.DropDownTitle=sa,exports.DropDownWrapper=ia,exports.DropdownAction=_r,exports.DropdownControlWrapper=oa,exports.DropdownItem=$r,exports.DropdownList=Jr,exports.DropdownPortalContainer=pa,exports.DropdownTitle=Kr,exports.EmojiComponent=ma,exports.ErrorComponent=t=>{var{children:r,$mode:i}=t,n=D(t,["children","$mode"]);return e.jsxs(Xn,Object.assign({$mode:i,className:"_refErrorContainer"},n,{children:[e.jsx(vn,{$name:"alert",$width:"11px"}),r]}))},exports.FigureWraper=cr,exports.FilterButton=ii,exports.FilterColumnContainer=Xi,exports.FilterContainer=Yr,exports.FilterItem=ti,exports.FilterList=ei,exports.FilterListTitle=ri,exports.FilterStoreContainer=Zi,exports.FilterStoreList=Ki,exports.FilterWrapper=qr,exports.FoContainer=Ut,exports.FormContainer=ho,exports.HeaderContainer=Tt,exports.IconComponent=vn,exports.IconDot=ni,exports.ImageChannelComponent=t=>{var r,i;const{data:n,label:a,size:o,isImageOnly:l,$mode:s,$isPhone:d,labelPhone:C,$url:c}=t,p=o&&parseInt(o)/2>10?parseInt(o)/2:10,h=o||"20px";if(!n)return e.jsx(e.Fragment,{children:!l&&e.jsx("span",{children:a||"-"})});const g=a||(null==n?void 0:n.name)||(null==n?void 0:n.storeName)||(null==n?void 0:n.store_name)||(null==n?void 0:n.accountName)||(null==n?void 0:n.channelName)||(null==n?void 0:n.channel_name)||"No Store",x=(null==n?void 0:n.icon)||(null===(i=null===(r=null==n?void 0:n.account)||void 0===r?void 0:r.channel)||void 0===i?void 0:i.imageUrl)||(null==n?void 0:n.imageUrl)||(null==n?void 0:n.channelImage)||(null==n?void 0:n.channel_image)||"",m=(null==n?void 0:n.color)||(null==n?void 0:n.channelColor)||(null==n?void 0:n.channel_color)||"#ooo",u=(null==n?void 0:n.channelInitials)||(null==n?void 0:n.channelInitial)||(null==n?void 0:n.channel_initials)||(null==n?void 0:n.initials)||"",v=C||(null==n?void 0:n.phone)||(null==n?void 0:n.storeId)||"-",w=null==n?void 0:n.availableAPI;return e.jsxs(e.Fragment,{children:[e.jsx("div",{children:x?e.jsx(Yn,{$mode:s,width:"auto",height:h,src:x||"/",alt:n.channelName||n.channel_name||""}):u?e.jsx(dr,{style:{width:h,height:h,backgroundColor:m,fontSize:p+"px"},children:u}):e.jsx(Yn,{$mode:s,width:"auto",height:h,src:"/"})}),!l&&(d?e.jsxs("div",{children:[c?e.jsx(gt,{mode:"trans",href:c,children:e.jsx("span",{className:"multi-elipsis",title:g,children:g})}):e.jsx("span",{className:"multi-elipsis",title:g,children:g}),e.jsx("aside",{className:"multi-elipsis",title:v,style:{color:"#999999",fontSize:"12px"},children:v})]}):e.jsxs("span",{className:"multi-elipsis",title:g,children:[g,w&&e.jsx(Wi,{className:"_refLabel",children:"API"})]}))]})},exports.ImageComponent=Yn,exports.InfoGroup=nr,exports.InitialContainer=dr,exports.InputComponent=Mt,exports.InputGroup=or,exports.InputOTPComponent=t=>{var{otpLength:r=6,value:i,onChange:n}=t,a=D(t,["otpLength","value","onChange"]);const o=e=>{var t;const a=e.target,o=a.value,l=a.dataset.index?parseInt(a.dataset.index):0;if(""===o||/^\d$/.test(o)){let e=i.split("");e[l]=o;const a=e.join("");n(a),""!==o&&l<r-1&&(null===(t=document.getElementById(`otp-inputbox-${l+1}`))||void 0===t||t.focus())}},l=e=>{var t;const r=e.target,n=r.dataset.index?parseInt(r.dataset.index):0;"Backspace"===e.key&&!i[n]&&n>0&&(null===(t=document.getElementById("otp-inputbox-"+(n-1)))||void 0===t||t.focus())};let s=[];for(let t=0;t<r;t++)s.push(e.jsx(Ot,Object.assign({"data-index":t,id:`otp-inputbox-${t}`,name:`otp-input-${t}`,autoComplete:"one-time-code",inputMode:"numeric",required:!0,value:i[t]||"",onChange:e=>o(e),onKeyDown:e=>l(e),onFocus:e=>{e.target.addEventListener("wheel",(function(e){e.preventDefault()}),{passive:!1}),e.target.select()}},a),t));return e.jsx("div",{onPaste:e=>{e.preventDefault();const t=e.clipboardData.getData("Text").replace(/\D/g,"").slice(0,r);n(t)},children:s})},exports.InputRefComponent=zt,exports.IsNumeric=ut,exports.ItemPriceLabel=yr,exports.ItemQtyLabel=Ui,exports.ItemTable=Wr,exports.LabelComponent=t=>{var{children:r,$mode:i,$position:n}=t,a=D(t,["children","$mode","$position"]);return e.jsx(sn,Object.assign({$mode:i,$position:n},a,{children:r}))},exports.LeftPanelContainer=gr,exports.LinkComponent=gt,exports.LinkContainer=Hr,exports.ListAddItemContainer=Ei,exports.ListComponent=t=>{var{children:r,$mode:i,$selected:n,$type:a}=t,o=D(t,["children","$mode","$selected","$type"]);return e.jsx(Za,Object.assign({$mode:i,$selected:n,$type:a},o,{children:r}))},exports.ListContainer=Nt,exports.ListTable=Gr,exports.ListTableContainer=Ur,exports.LoadingComponent=cn,exports.MasterTableActionWrapper=Cr,exports.MenuList=t=>e.jsx(o.components.MenuList,Object.assign({},t,{children:t.children})),exports.MessageComponent=({timer:t=500,$type:i,message:a,callback:o})=>{const[l,s]=n.useStateWithCallbackLazy(!1),[d,C]=n.useStateWithCallbackLazy(!1),[c,p]=n.useStateWithCallbackLazy(!1),h=r.useCallback((()=>{p(!c,(()=>{document.getElementsByTagName("BODY")[0].classList.remove("is-immuned"),o&&o()}))}),[o,p,c]),g=r.useCallback((()=>{h()}),[h]);return r.useEffect((()=>{const e=t||2e3,r=document.querySelector("._refMessageOverlay");return l||c?l&&c&&(s&&s(!l,(()=>{})),C&&C(!d,(()=>{})),r&&r.removeEventListener("click",g)):s(!l,(()=>{r&&r.addEventListener("click",g),setTimeout((()=>{C(!d,(()=>{setTimeout((()=>!d&&h()),e)}))}),1)})),()=>{r&&r.removeEventListener("click",g)}}),[l,d,t,h,s,C,g,c]),e.jsxs(yn,{$isOpen:l,children:[e.jsx(An,{className:"_refMessageOverlay"}),e.jsx(bn,{children:e.jsx(Dn,{$isOpen:d,children:e.jsxs(En,{$type:i,children:[e.jsx("i",{}),a,e.jsx(an,{$mode:"small-white-round-close",onClick:h})]})})})]})},exports.MessageQuestionComponent=({$type:t,title:i,subtitle:o,callback:l,buttonSubmit:s,cancelCallback:d})=>{const[C,c]=n.useStateWithCallbackLazy(!1),[p,h]=n.useStateWithCallbackLazy(!1),[g,x]=n.useStateWithCallbackLazy(!1),m=r.useCallback((()=>{x(!g,(()=>{d&&d();document.getElementsByTagName("BODY")[0].classList.remove("is-immuned")}))}),[d,g,x]),u=r.useCallback((()=>{m()}),[m]);return r.useEffect((()=>{const e=document.querySelector("._refQuestionMessageOverlay");C||g?C&&g&&(c(!C,(()=>{})),h(!p,(()=>{})),e&&e.removeEventListener("click",u)):c(!C,(()=>{setTimeout((()=>{h(!p,(()=>{})),e&&e.addEventListener("click",u)}),1)}))}),[C,p,c,h,u,g]),e.jsxs(yn,{$isOpen:C,children:[e.jsx(An,{className:"_refQuestionMessageOverlay",$type:t}),e.jsx(bn,{$type:t,children:e.jsx(Dn,{$isOpen:p,children:e.jsxs(En,{$type:t,children:[e.jsx("i",{}),e.jsxs("div",{children:[e.jsx(B,{$elipsis:!1,style:{fontWeight:600,fontSize:"15px"},children:i}),e.jsx(B,{$color:"grey",$elipsis:!1,children:a.htmlToText(o)}),e.jsxs("aside",{children:[e.jsx(an,{$mode:"white",$size:"small",onClick:m,children:"Cancel"}),e.jsx(an,{$mode:"red",$size:"small",onClick:()=>{x(!g,(()=>{document.getElementsByTagName("BODY")[0].classList.remove("is-immuned"),l&&l()}))},children:s||"Confirm"})]})]})]})})})]})},exports.MultiPanelContainer=hr,exports.MuteLabel=ar,exports.NameLabel=Dr,exports.NavChildItem=Ti,exports.NavChildLine=Si,exports.NavContainer=Pi,exports.NavContainerStyles=Ii,exports.NavList=Mi,exports.NavMainItem=Qi,exports.NavMainItemWrapper=Hi,exports.NavMobileHeaderWrapper=zi,exports.NavMobileOverlay=Oi,exports.OptCustomLabel=Wi,exports.PageButton=Pr,exports.PageDot=Sr,exports.PageLabel=Qr,exports.PageWrapper=Ir,exports.PaginationContainer=zr,exports.PanelBody=pr,exports.PanelContainer=Xt,exports.PanelWrapper=Yt,exports.PopupAddProductContainer=ji,exports.PopupBoxWrapper=ui,exports.PopupCard=ki,exports.PopupColumnGroup=er,exports.PopupComponent=t=>{var{children:i,body:a,mode:o,height:l,width:s,isOpen:d,evTooglePopup:C}=t,c=D(t,["children","body","mode","height","width","isOpen","evTooglePopup"]);const[p,h]=n.useStateWithCallbackLazy(!1),g=r.useRef(null),x=r.useCallback((e=>{Sn=setTimeout((()=>{h(e,(()=>{const e=g&&g.current?g.current:null;e&&(e.scrollTop=0)})),clearTimeout(Sn)}),1)}),[h]),m=r.useRef({init:()=>{x(d)}});r.useEffect((()=>{const{init:e}=m.current;return e(),()=>{clearTimeout(Sn)}}),[]),r.useEffect((()=>{x(d)}),[d,x]);let u=[...i];const v=(null==u?void 0:u.filter((e=>r.isValidElement(e)&&"head"===e.props["aria-label"])))||null,w=(null==u?void 0:u.filter((e=>r.isValidElement(e)&&"sub-head"===e.props["aria-label"])))||null,f=(null==u?void 0:u.filter((e=>r.isValidElement(e)&&"body"===e.props["aria-label"])))||null,F=(null==u?void 0:u.filter((e=>r.isValidElement(e)&&"foot"===e.props["aria-label"])))||null,y=(null==u?void 0:u.filter((e=>r.isValidElement(e)&&"left-foot"===e.props["aria-label"])))||null,A=w.length?e.jsx("aside",{children:w[0]&&r.isValidElement(w[0])?w[0].props.children:null}):null,b=v.length&&v[0]&&r.isValidElement(v[0])?v[0].props["data-qa-id"]:"";return e.jsxs(jn,{$isOpen:d,children:[e.jsx(kn,{}),e.jsx(Ln,Object.assign({ref:g},c["data-qa-id"]&&{"data-qa-id":c["data-qa-id"]},{children:"question"===o?e.jsx(On,{$isOpen:p,children:e.jsxs(Qn,{$width:s,children:[e.jsx(vn,{$name:"warning",$width:"30px"}),e.jsxs(Mn,{$mode:o,children:[v.length?e.jsx(zn,{children:v[0]&&r.isValidElement(v[0])?v[0].props.children:null}):null,A,F.length?e.jsx(Pn,{children:F[0]&&r.isValidElement(F[0])?e.jsx("aside",{"data-type":F[0].props.type||"",children:F[0].props.children}):null}):null]})]})}):e.jsxs(e.Fragment,{children:[e.jsx(Mn,{$width:s,$isOpen:p,$mode:o,children:v.length?e.jsxs(e.Fragment,{children:[e.jsx(an,{$mode:"round-close",onClick:C}),e.jsx(zn,{"data-qa-id":b,children:v[0]&&r.isValidElement(v[0])&&v[0].props.children})]}):null}),e.jsxs(On,{$width:s,$isOpen:p,$withHeader:!!v.length,children:[A,f.length?e.jsx(In,{$mode:a,$width:s,$height:l,children:f[0]&&r.isValidElement(f[0])&&f[0].props.children}):null,F.length?e.jsxs(Pn,{$isLeft:!!y.length,children:[e.jsx("aside",{children:y&&y.length&&y[0]&&r.isValidElement(y[0])?y[0].props.children:null}),F[0]&&r.isValidElement(F[0])?e.jsxs("aside",{"data-type":F[0].props.type||"",children:[o&&"info"===o?e.jsx(an,{$mode:"white",$size:"small",onClick:C,children:"Close"}):e.jsx(an,{$mode:"white",$size:"small",onClick:C,"data-qa-id":"popup-button-cancel",children:"Cancel"}),F[0].props.children]}):null]}):null]})]})}))]})},exports.PopupDownloadWrapper=vi,exports.PopupExportCardWrapper=Li,exports.PopupItem=Jt,exports.PopupItemLabel=rr,exports.PopupItemName=tr,exports.PopupList=Kt,exports.PopupRowGroup=_t,exports.PopupTable=Zt,exports.PopupTableBody=Gt,exports.PopupTableHead=Wt,exports.PopupTableItem=Rt,exports.RadioComponent=t=>{var{children:i,$mode:n,evChange:a,reset:o,setReset:l,isForceUpdate:s,setForceUpdate:d}=t,C=D(t,["children","$mode","evChange","reset","setReset","isForceUpdate","setForceUpdate"]);const{id:c,defaultChecked:p}=C,[h,g]=r.useState(p||!1);r.useEffect((()=>{s&&(g(p||!1),d&&d(!1)),o&&(g(!1),l&&l(!1))}),[s,d,o,l,p,g]);let x=Object.assign({},C);return delete x.defaultChecked,e.jsx(Na,{children:e.jsxs("label",{htmlFor:c,children:[e.jsx(qa,Object.assign({type:"radio",id:c,$mode:n,checked:h,onChange:e=>{a&&a(e)}},x)),e.jsx(Va,Object.assign({$mode:n},C["data-qa-id"]&&{"data-qa-id":C["data-qa-id"]},{children:i}))]})})},exports.RangeContainer=Ta,exports.ReactPortalComponent=ra,exports.RightPanelContainer=xr,exports.ScrollArrowContainer=Ni,exports.SearchDropdownContainer=yi,exports.SearchFilterContainer=Xr,exports.SearchFormWrapper=mr,exports.SearchResultItem=bi,exports.SearchResultList=Di,exports.SearchResultWrapper=Ai,exports.SearchWrapper=Nr,exports.SearchWrapperPopup=Bi,exports.SelectAllComponent=t=>{const{isError:i=!1,value:n,options:a,mode:o,evChange:l}=t,s=D(t,["isError","value","options","mode","evChange"]),d=r.useRef(n);d.current=n;const C="store"===o?"Stores":"Categories",c={value:"*",label:"All "+C},p=()=>{var e;return(null===(e=d.current)||void 0===e?void 0:e.length)===(null==a?void 0:a.length)},h={container:e=>Object.assign(Object.assign({},e),{display:"inline-block",minHeight:"1px",textAlign:"left",border:"none"}),control:(e,t)=>Object.assign(Object.assign({},e),{borderRadius:".5rem",cursor:"pointer",minHeight:"store"===o?"30px":"38px",borderWidth:i?"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"!==o&&!i?"var(--pri-clr-ln__fc)":i?"var(--err-clr-ln)":"filter"===o?"#ffffff":" var(--ck-clr-ln)",background:t.isFocused?"rgba(247, 247, 247, 1)":"#ffffff","&:hover":{borderColor:t.isFocused&&"filter"!==o&&!i?"var(--pri-clr-ln__fc)":i?"var(--err-clr-ln)":"filter"===o?"#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"}),indicatorSeparator:e=>Object.assign(Object.assign({},e),{minHeight:"1px",height:"24px",display:"none"}),clearIndicator:e=>Object.assign(Object.assign({},e),{minHeight:"1px",marginRight:"-6px",padding:"0"}),valueContainer:e=>Object.assign(Object.assign({},e),{height:"30px",overflow:"auto",paddingTop:"0",paddingBottom:"0",paddingRight:"2px"}),menuPortal:e=>Object.assign(Object.assign({},e),{zIndex:9999,letterSpacing:"normal",lineHeight:"normal"}),option:(e,t)=>Object.assign(Object.assign(Object.assign(Object.assign({},e),{width:"100%",margin:"0 0 4px",borderRadius:"var(--nav-rd)",cursor:"pointer",overflowWrap:"break-word",wordBreak:"break-all",position:"relative",backgroundColor:t.isSelected||t.isFocused?"var(--nav-clr-bg__hvr)":"transparent","&:last-child":{marginBottom:0}}),!t.isDisabled&&{color:"var(--pri-clr)",fontWeight:t.isSelected?500:"normal","&:hover":{backgroundColor:"var(--nav-clr-bg__hvr)"}}),t.isSelected&&{paddingRight:"1.75em","&:after":{content:'"✔"',position:"absolute",top:"50%",transform:"translateY(-50%)",right:"7px",bottom:"0",width:"12px",height:"20px"}}),menu:e=>Object.assign(Object.assign({},e),{padding:"8px",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"})};return e.jsx("div",Object.assign({className:"_refContainer"},s["data-qa-id"]&&{"data-qa-id":s["data-qa-id"]},{children:e.jsx(w.default,{isOptionSelected:e=>{var t;return(null===(t=d.current)||void 0===t?void 0:t.some((({value:t})=>t===e.value)))||p()},styles:h,menuPortalTarget:document.body,options:a?[c,...a]:[c],value:d.current&&d.current.length>=5?[{value:n,label:`${null===(g=d.current)||void 0===g?void 0:g.length} ${C}`}]:p()?[c]:n,onChange:(e,t)=>{if(!a)return!1;const{action:r,option:i,removedValue:n}=t;let o=e?[...e]:null;const s=e&&e.length&&Array.isArray(e[0].value)?e[0].value:null;let C=[];"select-option"===r&&i.value===c.value?C=a:"deselect-option"===r&&i.value===c.value||"remove-value"===r&&n.value===c.value?C=[]:"deselect-option"===t.action&&p()?C=a.filter((({value:e})=>e!==i.value)):"remove-value"===t.action&&s?(d.current=null,C=[]):"deselect-option"===t.action?(s?(o=s.filter((({value:e})=>e!==i.value)),d.current=o):o=e.filter((({value:e})=>e!==i.value)),C=o||[]):(s&&(o=[...s,e[1]],d.current=o),C=o||[]),l(C,t)},hideSelectedOptions:!1,closeMenuOnSelect:!1,isMulti:!0})}));var g},exports.SelectAsyncPaginateComponent=t=>{var{loadOptions:i}=t,n=D(t,["loadOptions"]);const{isError:a=!1,mode:o,type:l,customOption:d,MenuList:C,defaultValue:c,reset:p,setReset:h,evChange:g,isForceUpdate:x,setForceUpdate:m,loadOptionsOnMenuOpen:u,noOptionsMessage:v,iconLeft:w,isSearchable:f,placeholder:F,isMulti:y,loadedOptions:A,isMenuOpen:b,setMenuIsOpen:E,id:B,evChangeOnMenuClose:j}=n,k=D(n,["isError","mode","type","customOption","MenuList","defaultValue","reset","setReset","evChange","isForceUpdate","setForceUpdate","loadOptionsOnMenuOpen","noOptionsMessage","iconLeft","isSearchable","placeholder","isMulti","loadedOptions","isMenuOpen","setMenuIsOpen","id","evChangeOnMenuClose"]),[L,O]=r.useState(c||null),[M,z]=r.useState(""),[I,P]=r.useState(new Date),Q=r.useRef(null);r.useEffect((()=>{x&&(O(c||null),m&&m(!1))}),[c,x,m,O]);const S={container:e=>Object.assign(Object.assign({},e),{display:"inline-block",width:"100%",minHeight:"1px",textAlign:"left",border:"none"}),control:(e,t)=>Object.assign(Object.assign({},e),{width:"100%",borderRadius:".5rem",minHeight:"1px",height:y?"auto":"small"===o?"30px":"32px",cursor:"pointer",borderWidth:a?"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"!==o&&!a?"var(--pri-clr-ln__fc)":a?"var(--err-clr-ln)":"filter"===o?"#ffffff":" var(--ck-clr-ln)",background:t.isFocused?"rgba(247, 247, 247, 1)":"#ffffff",overflow:"picklist"===o?"hidden":"initial","&:hover":{borderColor:t.isFocused&&"filter"!==o&&!a?"var(--pri-clr-ln__fc)":a?"var(--err-clr-ln)":"filter"===o?"#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"}}),singleValue:e=>Object.assign(Object.assign({},e),{minHeight:"1px",paddingBottom:"2px",color:"initial"}),dropdownIndicator:e=>Object.assign(Object.assign({},e),{minHeight:"1px",paddingTop:"0",paddingBottom:"0",paddingLeft:"2px",paddingRight:"2px",color:"#757575"}),indicatorSeparator:e=>Object.assign(Object.assign({},e),{minHeight:"1px",height:"24px",display:"tag"===l?"block":"none"}),clearIndicator:e=>Object.assign(Object.assign({},e),{minHeight:"1px",marginRight:"-6px",padding:"0"}),valueContainer:e=>Object.assign(Object.assign({},e),{minHeight:"1px",height:"multi-select"===o?"70px":"small"===o?"30px":"32px",paddingTop:y?"4px":"0",paddingBottom:y?"4px":"0",paddingLeft:w?"28px":"8px",paddingRight:"2px",maxHeight:y?"60px":"unset",overflow:y?"auto":"initial",alignContent:y?"flex-start":"initial"}),option:(e,t)=>Object.assign(Object.assign(Object.assign(Object.assign({},e),{width:"100%",margin:"0 0 4px",borderRadius:"var(--nav-rd)",cursor:"pointer",overflowWrap:"break-word",wordBreak:"break-all",position:"relative",backgroundColor:t.isSelected||t.isFocused?"var(--nav-clr-bg__hvr)":"transparent","&:last-child":{marginBottom:0}}),!t.isDisabled&&{color:"var(--pri-clr)",fontWeight:t.isSelected?500:"normal","&:hover":{backgroundColor:"var(--nav-clr-bg__hvr)"}}),t.isSelected&&{paddingRight:"1.75em","&:after":{content:'"✔"',position:"absolute",top:"50%",transform:"translateY(-50%)",right:"7px",bottom:"0",width:"12px",height:"20px"}}),menu:e=>Object.assign(Object.assign({},e),{padding:"8px",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"})},T=r.useCallback((()=>{E&&E(!0)}),[E]),H=r.useCallback((()=>{E&&E(!1)}),[E]),Y=()=>{P(new Date),(()=>{const e=document.getElementsByClassName("_refSelectContainer is-shown");if(e.length)for(let t=0;t<e.length;t++)e[t].classList.remove("is-shown")})()};return e.jsx("div",{className:"_refContainer",children:e.jsx(s.AsyncPaginate,Object.assign({isSearchable:f,placeholder:F,debounceTimeout:500,styles:S,loadOptions:i,menuPortalTarget:document.body,menuPosition:"fixed",menuPlacement:"auto",value:L,onChange:(e,t)=>{var r;const i=e;if(t){const{action:e,option:i}=t;if("select-option"===e&&"*"===(null==i?void 0:i.value)){const e=L;if(null==e?void 0:e.length){let r=A?[...e,...A]:[...e];r=r.filter(((e,t,r)=>t===r.findIndex((t=>t.sku===e.sku)))),O(r),g&&g(r,t)}else A&&(O(A),g&&g(A,t));return null===(r=Q.current)||void 0===r||r.blur(),!1}}O(i),g&&g(i,t)},loadOptionsOnMenuOpen:u,noOptionsMessage:v,menuIsOpen:b},B&&{id:B},"multi-select"===o&&{closeMenuOnSelect:!1,inputValue:M,onInputChange:(e,t)=>{"input-change"===t.action&&(z(e),P(new Date))},onMenuClose:()=>{z(""),null==j||j(L)},onMenuOpen:()=>Y(),cacheUniqs:[I],selectRef:Q},"multi-select"!==o&&{onMenuOpen:T,onMenuClose:H},d&&{components:{Option:d}},C&&{components:{MenuList:C}},y&&{isMulti:!0},k))})},exports.SelectCheckboxContainer=xo,exports.SelectComponent=t=>{var{type:i,isError:n=!1,mode:a,customOption:o,customLabel:l,MenuList:s,isCreateable:d=!1,isClearable:C=!1,selectKey:c,disabled:p,defaultValue:h,width:g,reset:x,setReset:m,isForceUpdate:u,setForceUpdate:v,isCheckAutoCopy:F,evChangeCustom:y,isField:A,evCreate:b,evChange:E,isMinOption:B,isMulti:j=!1,options:k,name:L,placeholder:O,removeMessage:M,evCreateMessageQuestion:z,isLoading:I,height:P,customMenuList:Q,customMultiValueRemove:S}=t,T=D(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[H,Y]=r.useState(h||null);r.useEffect((()=>{if(x&&(Y(null),m&&m(!1)),u){let e=h;if(F&&e){let t=!1;if(j){let r=e;if(Array.isArray(r)&&r.length){let e=[];for(const i of r){const r=null==k?void 0:k.filter((e=>e.label===i.label&&e.value===i.value));(null==r?void 0:r.length)&&Array.isArray(e)?e.push(i):!t&&(t=!0)}e.length&&(r=e)}}else{let r=e;if(r){const i=null==k?void 0:k.filter((e=>r&&e.label===r.label&&e.value===r.value));(null==i?void 0:i.length)&&(e=null,t=!0)}}t&&L&&y&&y(L,e)}Y(e),v&&v(!1)}}),[h,y,F,u,j,L,k,x,v,m]);const X=()=>{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:r,option:i})=>{if(j){const n=e,a=()=>{Y(n),E&&E(n,{action:t,removedValue:r,option:i})};switch(t){case"remove-value":if(B&&"remove-value"===t&&Array.isArray(H)&&1===H.length)return!1;if(r.isFixed)return;break;case"pop-value":if(r.isFixed)return;break;case"clear":e=(null==k?void 0:k.filter((e=>e.isFixed)))||[]}if(M&&"remove-value"===t){const e=wt("confirm",(null==M?void 0:M.title)||"",(null==M?void 0:M.subtitle)||"",a);return z&&z(e),!1}Y(n),E&&E(n,{action:t,removedValue:r,option:i})}else{const n=e;Y("paymentReceiveStore"===a?n?{value:n.value,label:n.label,channel:n.channel}:n:l?n?{value:n.value,label:n.label,name:n.name}:n:n?{value:n.value,label:n.label}:n),E&&E(n,{action:t,removedValue:r,option:i})}!j&&A&&y&&L&&y(L,e)},V=()=>{A&&y&&L&&H&&y(L,H)},q={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"===a?"50px":"picklist"===a?"30px":"1px",height:"multi"===a?"auto":null!=P?P:"orders"===a?"90px":"30px",maxHeight:"multi"===a?"120px":"picklist"===a?"46px":"none",cursor:"pointer",borderWidth:n?"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"!==a&&!n?"var(--pri-clr-ln__fc)":n?"var(--err-clr-ln)":"filter"===a?"#ffffff":" var(--ck-clr-ln)",background:t.isFocused?"rgba(247, 247, 247, 1)":"#ffffff",overflow:"multi"===a?"auto":"picklist"===a?"hidden":"orders"===a?"auto":"initial",alignItems:"orders"===a?"start":"center",padding:"orders"===a?"6px 0":"unset",color:"rgba(74, 74, 74, 1)",opacity:p?".7":1,"&:hover":{borderColor:t.isFocused&&"filter"!==a&&!n?"var(--pri-clr-ln__fc)":n?"var(--err-clr-ln)":"filter"===a?"#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"===a?"start":"unset"}),indicatorSeparator:e=>Object.assign(Object.assign({},e),{minHeight:"1px",height:"24px",display:"tag"===i?"block":"none"}),clearIndicator:e=>Object.assign(Object.assign({},e),{minHeight:"1px",marginRight:"-6px",padding:"0"}),valueContainer:e=>Object.assign(Object.assign({},e),{height:"multi"===a?"auto":"30px",maxHeight:"multi"===a?"114px":"picklist"===a?"46px":"none",minHeight:"multi"===a?"44px":"picklist"===a?"30px":"1px",overflow:"multi"===a||"picklist"===a?"auto":"initial",paddingTop:"0",paddingBottom:"0",paddingRight:"2px"}),singleValue:e=>Object.assign(Object.assign({},e),{minHeight:"1px",paddingBottom:"2px",color:p?"#ADADAD":"form"===a?"#2d3c48":"initial",opacity:p?".7":1}),option:(e,t)=>Object.assign(Object.assign(Object.assign(Object.assign({},e),{width:"100%",margin:"0 0 4px",borderRadius:"var(--nav-rd)",cursor:"pointer",overflowWrap:"break-word",wordBreak:"break-all",position:"relative",backgroundColor:t.isSelected||t.isFocused?"var(--nav-clr-bg__hvr)":"transparent","&:last-child":{marginBottom:0}}),!t.isDisabled&&{color:"var(--pri-clr)",fontWeight:t.isSelected?500:"normal","&:hover":{backgroundColor:"var(--nav-clr-bg__hvr)"}}),t.isSelected&&{paddingRight:"1.75em","&:after":{content:'"✔"',position:"absolute",top:"50%",transform:"translateY(-50%)",right:"7px",bottom:"0",width:"12px",height:"20px"}}),menu:e=>Object.assign(Object.assign({},e),{padding:"8px",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 U=d?e.jsx(f.default,Object.assign({options:k,styles:q,onMenuOpen:X,menuPortalTarget:document.body,menuPosition:"fixed",menuPlacement:"auto",value:H,onChange:N,onCreateOption:e=>{m&&m(!1),j?Array.isArray(H)?Y([...H,{value:e,label:e}]):Y([{value:e,label:e}]):Y({value:e,label:e}),b&&b(e)},isValidNewOption:(e,t)=>!(0===e.trim().length||t.find((t=>t.name===e))),noOptionsMessage:()=>null,isClearable:C?!Array.isArray(H)||!H.length||H.some((e=>!e.isFixed)):C},j&&{isMulti:!0},o&&{components:{Option:o}},Q&&{components:{MenuList:Q}},S&&{components:{MultiValueRemove:S}},s&&{components:{MenuList:s,Option:o}},c&&{key:c},p&&{isDisabled:p},j&&{closeMenuOnSelect:!1},j&&{onBlur:V},O&&{placeholder:O},I&&{isLoading:I},T)):e.jsx(w.default,Object.assign({options:k,styles:q,onMenuOpen:X,menuPortalTarget:document.body,menuPosition:"fixed",menuPlacement:"auto",value:H,onChange:N,noOptionsMessage:()=>null,isClearable:C?!Array.isArray(H)||!H.length||H.some((e=>!e.isFixed)):C},j&&{isMulti:!0},o&&{components:{Option:o}},"paymentReceiveStore"===a&&{components:{Option:o,SingleValue:l}},l&&{components:{SingleValue:l}},Q&&{components:{MenuList:Q}},S&&{components:{MultiValueRemove:S}},s&&{components:{MenuList:s,Option:o}},l&&o&&{components:{SingleValue:l,Option:o}},c&&{key:c},p&&{isDisabled:p},j&&{closeMenuOnSelect:!1},j&&{onBlur:V},O&&{placeholder:O},I&&{isLoading:I},T));return e.jsx("section",Object.assign({className:"_refSelectContainer"},T,{children:U}))},exports.SelectionDate=Oa,exports.SingleFormContainer=go,exports.SortByWrapper=ai,exports.SwitchComponent=t=>{var{isForceUpdate:i,setForceUpdate:n,reset:a,setReset:o,evChange:l}=t,s=D(t,["isForceUpdate","setForceUpdate","reset","setReset","evChange"]);const{id:d,defaultChecked:C}=s,[c,p]=r.useState(C||!1);r.useEffect((()=>{i&&(p(C||!1),n&&n(!1)),a&&(p(!1),o&&o(!1))}),[i,n,a,o,C,p]);let h=Object.assign({},s);return delete h.defaultChecked,e.jsxs(Ua,{children:[e.jsx(Wa,Object.assign({type:"checkbox",checked:c,onChange:e=>{(e=>{const t=e.target.checked;p(t)})(e),l&&l(e)}},h)),e.jsx(Ra,{role:"checkbox-label",htmlFor:d})]})},exports.TableBundleColumn=Gi,exports.TableColumnGroup=Fr,exports.TableComponent=t=>{const{children:i,$mode:n,$name:a=co,$template:o,isForceUpdate:l,setForceUpdate:s}=t;r.useEffect((()=>{l&&s&&s(!1)}),[l,s]);const d=e=>i.filter((t=>r.isValidElement(t)?t.props["aria-label"]===e:null)),C=e=>{let t=[];if(e.length)if(e[0].props.children.length>1){let r=[];e[0].props.children.forEach((e=>{(Array.isArray(e)?e:[].concat(e)).forEach((e=>{r.push(e)}))})),t=r}else t=Array.isArray(e[0].props.children)?e[0].props.children:[].concat(e[0].props.children);return t},c=d("head"),p=c&&r.isValidElement(c[0])?c[0].props.children.filter((e=>null!==e)).map(((t,r)=>e.jsx($a,Object.assign({role:"columnheader"},t.props.style&&{style:t.props.style},t.props.className&&{className:t.props.className},t.props,{children:t.props.children}),r))):null,h=d("body"),g=h.length?C(h):null,x=g?g.map(((t,r)=>{var i,n,a;return e.jsx(_a,Object.assign({role:"row"},(null===(i=t.props)||void 0===i?void 0:i.id)&&{id:t.props.id},(null===(n=t.props)||void 0===n?void 0:n.style)&&{style:t.props.style},(null===(a=t.props)||void 0===a?void 0:a.className)&&{className:t.props.className},t.props,{children:t.props.children.filter((e=>null!==e)).map(((t,r)=>e.jsx(to,Object.assign({},t.props,{children:t.props.children}),r)))}),r)})):null,m=d("foot"),u=m.length?C(m):null,v=u?u.map(((t,r)=>e.jsx(ro,{role:"row",children:t.props.children.filter((e=>null!==e)).map(((t,r)=>e.jsx(io,Object.assign({},t.props,{children:t.props.children}),r)))},r))):null,w=d("boldFoot"),f=w.length?C(w):null,F=f?f.map(((t,r)=>e.jsx(no,{role:"row",children:t.props.children.filter((e=>null!==e)).map(((t,r)=>e.jsx(ao,Object.assign({},t.props,{children:t.props.children}),r)))},r))):null,y=d("final"),A=y.length?C(y):null,D=A?A.map(((t,r)=>e.jsx(oo,{role:"row",children:t.props.children.filter((e=>null!==e)).map(((t,r)=>e.jsx(lo,Object.assign({},t.props,{children:t.props.children}),r)))},r))):null;return e.jsxs(Co,{$mode:n,$name:a,$template:o,role:"table",children:[e.jsx(Ja,{role:"rowheader",children:p}),x,v&&v,F&&F,D&&D]})},exports.TableContentWrapper=Ri,exports.TableHeadLabel=ur,exports.TableHeadWrapper=vr,exports.TableItemColumn=kr,exports.TableItemWrapper=Lr,exports.TableLabel=Ar,exports.TableRightGroup=fr,exports.TableRowGroup=wr,exports.TabsContainer=Vt,exports.TabsContent=qt,exports.TabsHeader=br,exports.TabsItem=Er,exports.TabsList=Br,exports.TabsWrapper=jr,exports.TextAreaComponent=t=>{var i,{$isError:n,reset:a,setReset:o,isForceUpdate:l,setForceUpdate:s,evChange:d,evBlur:C,isField:c,evChangeCustom:p,$isEmoji:h}=t,g=D(t,["$isError","reset","setReset","isForceUpdate","setForceUpdate","evChange","evBlur","isField","evChangeCustom","$isEmoji"]);const x=r.useRef(null),{name:m,defaultValue:u}=g,[v,w]=r.useState(null!==(i=null==u?void 0:u.toString())&&void 0!==i?i:"");r.useEffect((()=>{var e;l&&(w(null!==(e=null==u?void 0:u.toString())&&void 0!==e?e:""),s&&s(!1)),a&&(w(""),o&&o(!1))}),[l,s,a,o,u]);const f=e=>{const t=e.target.value;w(t)};let F=Object.assign({},g);return delete F.defaultValue,e.jsxs("div",{style:{position:"relative"},children:[e.jsx(ua,Object.assign({ref:x,$isError:n,value:v,onChange:e=>{f(e),d&&d(e)},onBlur:e=>{f(e),(e=>{C&&C(e),c&&m&&p&&p(m,e.target.value)})(e)}},F)),h?e.jsx(ma,{$mode:"textarea",evChange:e=>{var t;const r=v+e;if(w(r),m&&(null===(t=document.getElementsByName(m)[0])||void 0===t||t.focus()),x.current){const e={target:x.current,currentTarget:x.current};x.current.value=r,d&&d(e)}}}):null]})},exports.TextAreaRefComponent=va,exports.TextComponent=B,exports.Title=Ht,exports.TotalLabel=Yi,exports.UpdateContainer=Or,exports.UploadComponent=t=>{var{children:r,mode:i}=t,n=D(t,["children","mode"]);const{id:a,width:o}=n;return"image"===i?e.jsxs(e.Fragment,{children:[r,e.jsx(Gn,Object.assign({},"data-idx"in n&&{"data-idx":n["data-idx"]},n["data-detail"]&&{"data-detail":n["data-detail"]},n))]}):e.jsxs(qn,{$width:o,children:[e.jsxs(Un,{htmlFor:a,children:[e.jsx(Rn,{}),e.jsx(Wn,{children:r})]}),e.jsx(Gn,Object.assign({},"data-idx"in n&&{"data-idx":n["data-idx"]},n["data-detail"]&&{"data-detail":n["data-detail"]},n))]})},exports.UploadDragDropComponent=t=>{var{children:i,id:n,name:a,evChange:o,evCreateMessage:l,label:s}=t,d=D(t,["children","id","name","evChange","evCreateMessage","label"]);const{accept:C}=d,[c,p]=r.useState(!1),h=e=>{e.preventDefault(),e.stopPropagation(),"dragenter"===e.type||"dragover"===e.type?p(!0):"dragleave"===e.type&&p(!1)};return e.jsxs(Zn,{onDragEnter:h,className:c?"drag-active":"",children:[e.jsx(Gn,Object.assign({id:n,name:a,onChange:e=>{e.preventDefault();const t=e.target;t.files&&t.files[0]&&o&&o(t.files)}},d)),e.jsx(Kn,{id:"label-file-dragdrop-upload",htmlFor:n,children:e.jsx($n,{children:i?e.jsxs(ea,{children:[e.jsx(ta,{}),e.jsx("span",{children:i})]}):e.jsxs(_n,{children:[null!=s?s:"Drag & Drop file here to upload, or ",e.jsx("span",{children:"browse"}),"."]})})}),c&&e.jsx(Jn,{onDragEnter:h,onDragLeave:h,onDragOver:h,onDrop:e=>{if(e.preventDefault(),e.stopPropagation(),p(!1),e.dataTransfer.files[0]){const t=C?C.split(",").map((e=>e.trim().replace(".",""))):null;for(let r=0;r<e.dataTransfer.files.length;r++){const i=e.dataTransfer.files[r].name.split(".").pop();if((null==t?void 0:t.length)&&i&&!t.includes(i)){const e=vt("failed","File type is not allowed. Please check again");return l&&l(e),!1}}o&&o(e.dataTransfer.files)}}})]})},exports.abbreviateNumber=e=>{let t="";if(void 0!==e&&(t=e.toString(),e>=1e3)){const r=["","k","m","b","t"],i=Math.floor((""+e).length/3);let n;for(let t=2;t>=1;t--){n=parseFloat((0!==i?e/Math.pow(1e3,i):e).toPrecision(t));if((n+"").replace(/[^a-zA-Z 0-9]+/g,"").length<=2)break}t=n+r[i]}return t},exports.buttonActiveShadowStyle=lt,exports.buttonActiveStyle=ot,exports.buttonHoverStyle=at,exports.buttonStyle=nt,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=Ke,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=st,exports.configDateRange=zo,exports.configDateRangeAnt=Io,exports.currencyNumber=ft,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 r;return function(...i){clearTimeout(r),r=setTimeout((()=>e.apply(this,i)),t)}},exports.dropBase=tt,exports.elipsis=$e,exports.errorMessage=e=>"unique"===e?"already exists":"is required",exports.errorTitle=xt,exports.evCheckAllValidation=e=>{let t=!1;for(let r=0;r<e.length;r++){const i=e[r],n=Object.keys(i);for(let e of n){if(Array.isArray(i[e]))for(let r=0;r<i[e].length;r++){const n=i[e][r],a=Object.keys(n);for(let e of a){if(Array.isArray(n[e]))for(let r=0;r<n[e].length;r++){const i=n[e][r],a=Object.keys(i);for(let e of a)if(-1===e.indexOf("_error")||t||(t=!0),t)break;if(t)break}else if(-1===e.indexOf("_error")||t||(t=!0),t)break;if(t)break}if(t)break}else if(-1===e.indexOf("_error")||t||(t=!0),t)break;if(t)break}}return t},exports.evCheckAllValidationByHeader=(e,t)=>{let r=!1;const i=(e,r,i,n=null)=>{const a=t.filter((t=>t.key===e&&t.validations));if(a.length){const e=a[0],t=e.typeData||"String",i=yt(t,r);return At(e,i,n||"")}return{approved:!0}},n=[];for(let t=0;t<e.length;t++){const a=e[t],o=Object.keys(a);for(const e of o){let t={approved:!0};if(Array.isArray(a[e]))for(let n=0;n<a[e].length;n++){const o=a[e][n],l=Object.keys(o);for(const e of l)if(Array.isArray(o[e]))for(let n=0;n<o[e].length;n++){const a=o[e][n],l=Object.keys(a);for(const n of l)t=i(n,a[n]),t.approved||(a[`${e}_error`]=t.errors[0],r||(r=!0)),-1===n.indexOf("_error")||r||(r=!0)}else t=i(e,o[e]),t.approved||(o[`${e}_error`]=t.errors[0],r||(r=!0)),-1===e.indexOf("_error")||r||(r=!0)}else t=i(e,a[e]),t.approved||(a[`${e}_error`]=t.errors[0],r||(r=!0)),-1===e.indexOf("_error")||r||(r=!0)}n.push(a)}return{error:r,data:n}},exports.evCheckAllValidationByHeaderWithVariant=(e,t)=>{let r=!1;const i=(e,r,i,n)=>{const a=t.filter((t=>t.key===e&&t.validations));if(a.length){const e=a[0],t=e.typeData||"String",i=yt(t,r);return At(e,i,void 0,Dt(e.validations,n))}return{approved:!0}};let n=[...e];for(let e=0;e<n.length;e++){let t=n[e],a=Object.keys(t);for(const e of a)if(Array.isArray(t[e])&&t[e].length&&"object"==typeof t[e][0])for(let n=0;n<t[e].length;n++){const a=t[e][n],o=Object.keys(a);for(const t of o)if(!Array.isArray(a[t])){const n=i(`${e}-${t}`,a[t],0,a);n.approved||(a[`${t}_error`]=n.errors[0],r||(r=!0))}}else{const n=i(e,t[e],0,t);n.approved||(t[`${e}_error`]=n.errors[0],r||(r=!0))}n.splice(e,1,t)}return{error:r,data:n}},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 r=e[t].querySelector("._refDropdownOverlay");r&&(r.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 r=t[e].querySelector("._refDropdownOverlay");r&&(r.style.display="none"),t[e].classList.remove("is-shown")}const r=document.querySelector("._refScrollContainer");if(document.getElementsByTagName("BODY")[0].classList.remove("is-immuned"),r){r.style.overflow="auto";r.firstChild.style.overflowY="unset"}}},exports.evExecuteError=e=>{const t=vt("failed","Validation Errors found, Please fix it!");e&&e(t);const r=document.querySelectorAll(".cell-error");r.length&&bt(r[0])},exports.evForceCloseDropdown=Et,exports.evGenerateValueMatch=Dt,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 r=e[t],i=document.querySelector(`#row-${r}`);if(i&&(i.classList.add("is-highlighted"),setTimeout((()=>{i.classList.remove("is-highlighted")}),1888)),t===e.length-1){const t=document.querySelector(`#row-${e[0]}`);t&&bt(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 r=String.fromCharCode(t);switch(e.shiftKey){case!1:r=r.toLowerCase();break;case!0:r=r.toUpperCase()}return r;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=bt,exports.evSetTotal=(e,t,r)=>{e&&t&&(t.innerText=`(${e})`,t.removeAttribute("hidden")),r&&"function"==typeof r&&r()},exports.evToogleSelect=()=>{const e=document.getElementsByClassName("_refContainer is-shown");if(e.length)for(let t=0;t<e.length;t++)e[t].classList.remove("is-shown")},exports.evUpdateInputRc=(e,t)=>{var r;if(!e)return!1;const i=null===(r=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"value"))||void 0===r?void 0:r.set;i&&i.call(e,void 0===t?"":t);const n=new Event("input",{bubbles:!0});e.dispatchEvent(n)},exports.formLabel=it,exports.formatNumber=mt,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=vt,exports.generateMessageQuestion=wt,exports.generateSUM=(e,t,r)=>{let i=0;return t&&e&&(i=t.reduce(((t,i)=>{let n;if(Array.isArray(e)){n=i;for(const t of e)t in n&&(n=n[t])}else n=i[e];return t+("currency"===r?parseInt(n.replace(/,.*|[^0-9]/g,"")):n)}),0)),i},exports.generateValue=yt,exports.generateValueTable=(e,t)=>{let r=e;if(t&&""!==e){const i=t.toLowerCase(),n="string"==typeof e?parseInt(e):e;/price/.test(i)?r=ft(n):/width/.test(i)||/length/.test(i)||/height/.test(i)?r=e+" cm":/weight/.test(i)?r=e+" gr":/discount/.test(i)&&(r=e+" %")}return r},exports.getSizeContainer=Ft,exports.getStorage=(e,t="string",r,i="load")=>{let n;switch(null!==sessionStorage.getItem(i)?n=null!==sessionStorage.getItem(e)?sessionStorage.getItem(e):r:(n=null!==localStorage.getItem(e)?localStorage.getItem(e):r,null!==localStorage.getItem(e)&&sessionStorage.setItem(e,n)),t){case"boolean":n=void 0!==n&&"undefined"!==n&&"true"===n;break;case"number":case"integer":n=void 0!==n&&"undefined"!==n?parseInt(n):0;break;case"object":case"array":n=void 0!==n&&"undefined"!==n?"string"==typeof n?""!==n?JSON.parse(n):void 0:n:void 0;break;default:n=void 0===n||"undefined"===n?"":n}return n},exports.headTable=rt,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=_e,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 r=e.value,i=e.selectionStart;e.value=r.slice(0,i)+t+r.slice(e.selectionEnd),e.selectionEnd=e.selectionStart=i+t.length}else if(void 0!==document.selection){var n=document.selection.createRange();n.text=t,n.collapse(!1),n.select()}},exports.removeStorage=e=>(localStorage.removeItem(e),sessionStorage.removeItem(e),!0),exports.responseWidth=Je,exports.setStorage=(e,t,r)=>{if(null==t)return!1;const i="string"!=typeof t?"object"==typeof t?JSON.stringify(t):t.toString():t;switch(r){case"session":sessionStorage.setItem(e,i);break;case"local":localStorage.setItem(e,i);break;default:sessionStorage.setItem(e,i),localStorage.setItem(e,i)}},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=et,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,r])=>(e[(e=>e.replace(/([a-z][A-Z])/g,(function(e){return e[0]+"_"+e[1].toLowerCase()})))(t)]=r,e)),{}),exports.unescapeHTML=e=>e?e.replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&amp;/g,"&"):e,exports.validateByApproveJs=At;
5107
+ `,Mo=Ft().width,Oo=Ft().height,zo={rangeDate:"lastsecondweek",startDate:y.default().clone().subtract(13,"days").format("YYYY-MM-DD"),endDate:y.default().clone().format("YYYY-MM-DD"),placeholder:"Last 14 days",minDate:y.default().clone().subtract(89,"days").format("YYYY-MM-DD")},Io={startDate:y.default().clone().subtract(13,"days"),endDate:y.default().clone(),minDate:y.default().clone().subtract(89,"days")};Object.defineProperty(exports,"components",{enumerable:!0,get:function(){return o.components}}),Object.defineProperty(exports,"AsyncCreatableSelect",{enumerable:!0,get:function(){return A.default}}),exports.BoxContainer=lr,exports.BreadcrumbContainer=ir,exports.BulkActionWrapper=sr,exports.BulkSelectContainer=Vi,exports.ButtonComponent=an,exports.ButtonGroup=Vr,exports.ButtonLabel=Tr,exports.CardContainer=li,exports.CardWrapper=di,exports.CheckboxComponent=t=>{var{id:i,name:n,children:a,$flow:o,extendKey:l,extendClass:s,reset:d,setReset:C,isForceUpdate:c,setForceUpdate:p,evChange:h,$isError:g,$iconRight:x}=t,m=D(t,["id","name","children","$flow","extendKey","extendClass","reset","setReset","isForceUpdate","setForceUpdate","evChange","$isError","$iconRight"]);const{disabled:u,defaultChecked:v}=m,[w,f]=r.useState(v||!1),F=r.useRef(null);r.useEffect((()=>{c&&(f(v||!1),p&&p(!1)),d&&(f(!1),C&&C(!1))}),[d,C,c,p,v]);return delete Object.assign({},m).defaultChecked,e.jsxs(St,{$flow:o,$iconRight:x,ref:F,htmlFor:i,disabled:u||!1,children:[e.jsx(Ot,Object.assign({id:i,type:"checkbox",checked:w,name:n,evChange:e=>{f(e.target.checked),h&&h(e)}},s&&{className:s},""!==l&&{"data-key":l},m)),a,e.jsx(Qt,Object.assign({$isError:g},m["data-qa-id"]&&{"data-qa-id":m["data-qa-id"]}))]})},exports.CollapseContainer=Or,exports.ContentLoaderAccountsList=()=>e.jsxs(vo,{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(vo,{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 t=Mo>=994?Mo>=1031&&Mo>=1031?Mo-100:Mo-60:994;const r=t-777,i=t-665,n=t-555,a=t-405,o=t-230;return e.jsx(Bo,{children:e.jsxs(vo,{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:"38",y:"15",rx:"2",ry:"2",width:"31",height:"61"}),e.jsx("rect",{x:95,y:"15",rx:"2",ry:"2",width:r,height:"61"}),e.jsx("rect",{x:i,y:"15",rx:"2",ry:"2",width:90,height:"61"}),e.jsx("rect",{x:n,y:"15",rx:"2",ry:"2",width:140,height:"61"}),e.jsx("rect",{x:a,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(vo,{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,i=Mo>=1336||Mo>=1112?400:300,n=32+i+12,a=Mo-i-85,o=t?Math.ceil((t-78)/70):0;return e.jsx(yo,{children:e.jsxs(vo,{speed:1,width:Mo,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:i,height:"16"}),e.jsx("rect",{x:n,y:"23",rx:"2",ry:"2",width:a,height:"16"}),Array.apply(0,Array(o)).map(((t,o)=>{const l=70*o+78;return e.jsxs(r.Fragment,{children:[e.jsx("rect",{x:32,y:l,rx:"2",ry:"2",width:i,height:"31"}),e.jsx("rect",{x:n,y:l,rx:"2",ry:"2",width:a,height:"31"})]},o)}))]})})},exports.ContentLoaderChatAccounts=({mode:t})=>{const i=document.querySelector("._refChatContainer"),n=i?i.offsetWidth:0,a="single"===t?65:i&&i.offsetHeight-140>=0?i.offsetHeight:0,o=n-48-88-20,l=o+60+16,s="single"===t?1:Math.floor(a/64);let d=0;return e.jsx(vo,{height:a,width:"100%",speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:Array.apply(0,Array(s)).map(((t,i)=>{const n=14+d,a=32+d,s=64+d;return d=s,e.jsxs(r.Fragment,{children:[e.jsx("rect",{x:"16",y:n,rx:"4",ry:"4",width:"32",height:"32"}),e.jsx("rect",{x:"60",y:n,rx:"0",ry:"0",width:o,height:"14"}),e.jsx("rect",{x:"60",y:a,rx:"0",ry:"0",width:o,height:"14"}),e.jsx("rect",{x:l,y:n,rx:"0",ry:"0",width:"66",height:"14"}),e.jsx("rect",{x:l,y:a,rx:"0",ry:"0",width:"66",height:"14"}),e.jsx("rect",{x:"0",y:s,rx:"0",ry:"0",width:"100%",height:"1"})]},i)}))})},exports.ContentLoaderChatMessages=({mode:t})=>{const r=document.querySelectorAll("._refChatContainer > article"),i=document.querySelector("._refChatContainer");let n=r[0]&&r[0].offsetWidth>=0?r[0].offsetWidth:0;n=n<=0?i&&i.offsetWidth>=0?i.offsetWidth:0:n;const a="single"===t?234:i&&i.offsetHeight>=0?i.offsetHeight:0,o=n-32<=360?n-32:360,l=n-o-16,s=a-145,d="single"===t?1:Math.floor(s/76);let C=0;return e.jsx(vo,{height:s,width:"100%",speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:Array.apply(0,Array(d)).map(((t,r)=>{const i=0===r?s-76:C-76;return C=i,e.jsx("rect",{x:r>=3?"16":l,y:i,rx:"10",ry:"10",width:o,height:"60"},r)}))})},exports.ContentLoaderChatProducts=({mode:t})=>{const i=document.querySelector("._refTabsContent"),n=document.querySelector("._refChatContainer"),a=i&&i.offsetWidth-30>=0?i.offsetWidth-30:0,o="single"===t?65:n&&n.offsetHeight-204>=0?n.offsetHeight-204:0,l=a-48-88,s=l+60+16+22,d="single"===t?1:Math.floor(o/64);let C=0;return!(a<=0)&&e.jsx(vo,{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(d)).map(((t,i)=>{const n=14+C,a=32+C,o=64+C;return C=o,e.jsxs(r.Fragment,{children:[e.jsx("rect",{x:"16",y:n,rx:"4",ry:"4",width:"14",height:"14"}),e.jsx("rect",{x:"38",y:n,rx:"4",ry:"4",width:"32",height:"32"}),e.jsx("rect",{x:"78",y:n,rx:"0",ry:"0",width:l,height:"14"}),e.jsx("rect",{x:"78",y:a,rx:"0",ry:"0",width:l,height:"20"}),e.jsx("rect",{x:s,y:n,rx:"0",ry:"0",width:"20",height:"14"}),e.jsx("rect",{x:s,y:a,rx:"0",ry:"0",width:"20",height:"14"}),e.jsx("rect",{x:"0",y:o,rx:"0",ry:"0",width:"100%",height:"1"})]},i)}))})},exports.ContentLoaderChatStores=()=>e.jsxs(vo,{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(ko,{children:e.jsxs(vo,{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(vo,{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(vo,{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(vo,{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(Do,{className:"_refLoadingList",children:e.jsxs(vo,{speed:1,width:Mo,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:Mo-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:Mo-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:Mo-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:Mo-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:Mo-240,y:"200",rx:"2",ry:"2",width:"200",height:"31"})]})}),exports.ContentLoaderMasterBundleDetail=()=>{const t=Mo>=1336?540:Mo>=1112?320:250,r=t+30,i=150,n=r+i+15,a=80,o=n+a+15,l=150,s=o+l+15;return e.jsx(Ao,{children:e.jsxs(vo,{speed:1,width:Mo,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:r,y:"25",rx:"2",ry:"2",width:i,height:"15"}),e.jsx("rect",{x:n,y:"25",rx:"2",ry:"2",width:a,height:"15"}),e.jsx("rect",{x:o,y:"25",rx:"2",ry:"2",width:l,height:"15"}),e.jsx("rect",{x:s,y:"25",rx:"2",ry:"2",width:80,height:"15"}),e.jsx("rect",{x:"15",y:"60",rx:"2",ry:"2",width:t,height:"30"}),e.jsx("rect",{x:r,y:"60",rx:"2",ry:"2",width:i,height:"30"}),e.jsx("rect",{x:n,y:"60",rx:"2",ry:"2",width:a,height:"30"}),e.jsx("rect",{x:o,y:"60",rx:"2",ry:"2",width:l,height:"30"}),e.jsx("rect",{x:s,y:"60",rx:"2",ry:"2",width:80,height:"30"}),e.jsx("rect",{x:"15",y:"110",rx:"2",ry:"2",width:t,height:"30"}),e.jsx("rect",{x:r,y:"110",rx:"2",ry:"2",width:i,height:"30"}),e.jsx("rect",{x:n,y:"110",rx:"2",ry:"2",width:a,height:"30"}),e.jsx("rect",{x:o,y:"110",rx:"2",ry:"2",width:l,height:"30"}),e.jsx("rect",{x:s,y:"110",rx:"2",ry:"2",width:80,height:"30"}),e.jsx("rect",{x:"15",y:"160",rx:"2",ry:"2",width:t,height:"30"}),e.jsx("rect",{x:r,y:"160",rx:"2",ry:"2",width:i,height:"30"}),e.jsx("rect",{x:n,y:"160",rx:"2",ry:"2",width:a,height:"30"}),e.jsx("rect",{x:o,y:"160",rx:"2",ry:"2",width:l,height:"30"}),e.jsx("rect",{x:s,y:"160",rx:"2",ry:"2",width:80,height:"30"}),e.jsx("rect",{x:"15",y:"210",rx:"2",ry:"2",width:t,height:"30"}),e.jsx("rect",{x:r,y:"210",rx:"2",ry:"2",width:i,height:"30"}),e.jsx("rect",{x:n,y:"210",rx:"2",ry:"2",width:a,height:"30"}),e.jsx("rect",{x:o,y:"210",rx:"2",ry:"2",width:l,height:"30"}),e.jsx("rect",{x:s,y:"210",rx:"2",ry:"2",width:80,height:"30"})]})})},exports.ContentLoaderMasterDetail=()=>{const t=Mo-250,r=Mo-150,i=Mo-80,n=140,a=183,o=200,l=388,s=140,d=533,C=140,c=678,p=140,h=823,g=140;return e.jsx(Eo,{children:e.jsxs(vo,{speed:1,width:Mo,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:t,height:"30"}),e.jsx("rect",{x:r,y:"20",rx:"2",ry:"2",width:60,height:"30"}),e.jsx("rect",{x:i,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:n,height:"31"}),e.jsx("rect",{x:a,y:"320",rx:"2",ry:"2",width:o,height:"31"}),e.jsx("rect",{x:l,y:"320",rx:"2",ry:"2",width:s,height:"31"}),e.jsx("rect",{x:d,y:"320",rx:"2",ry:"2",width:C,height:"31"}),e.jsx("rect",{x:c,y:"320",rx:"2",ry:"2",width:p,height:"31"}),e.jsx("rect",{x:h,y:"320",rx:"2",ry:"2",width:g,height:"31"}),e.jsx("rect",{x:38,y:"370",rx:"2",ry:"2",width:n,height:"31"}),e.jsx("rect",{x:a,y:"370",rx:"2",ry:"2",width:o,height:"31"}),e.jsx("rect",{x:l,y:"370",rx:"2",ry:"2",width:s,height:"31"}),e.jsx("rect",{x:d,y:"370",rx:"2",ry:"2",width:C,height:"31"}),e.jsx("rect",{x:c,y:"370",rx:"2",ry:"2",width:p,height:"31"}),e.jsx("rect",{x:h,y:"370",rx:"2",ry:"2",width:g,height:"31"}),e.jsx("rect",{x:38,y:"420",rx:"2",ry:"2",width:n,height:"31"}),e.jsx("rect",{x:a,y:"420",rx:"2",ry:"2",width:o,height:"31"}),e.jsx("rect",{x:l,y:"420",rx:"2",ry:"2",width:s,height:"31"}),e.jsx("rect",{x:d,y:"420",rx:"2",ry:"2",width:C,height:"31"}),e.jsx("rect",{x:c,y:"420",rx:"2",ry:"2",width:p,height:"31"}),e.jsx("rect",{x:h,y:"420",rx:"2",ry:"2",width:g,height:"31"}),e.jsx("rect",{x:38,y:"470",rx:"2",ry:"2",width:n,height:"31"}),e.jsx("rect",{x:a,y:"470",rx:"2",ry:"2",width:o,height:"31"}),e.jsx("rect",{x:l,y:"470",rx:"2",ry:"2",width:s,height:"31"}),e.jsx("rect",{x:d,y:"470",rx:"2",ry:"2",width:C,height:"31"}),e.jsx("rect",{x:c,y:"470",rx:"2",ry:"2",width:p,height:"31"}),e.jsx("rect",{x:h,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=Oo-286,i=Mo>=1336?370:Mo>=1112?250:150,n=29+i+12,a=Mo>=1336?130:Mo>=1112?110:100,o=n+a+12,l=Mo>=1336?100:95,s=o+l+12,d=Mo>=1336?90:80,C=s+d+12,c=Mo>=1336?85:75,p=C+c+12,h=Mo>=1336?80:70,g=p+h+12,x=Mo>=1336?70:60,m=g+x+12,u=Mo>=1336?95:85,v=Mo-100-24,w=Oo&&Math.ceil((t-78)/70)>0?Math.ceil((t-78)/70):0;let f=m+u+12,F=[];for(let e=0;f+122<v;e++)F.push({x:m+u+12+122*e,w:110}),f=m+u+12+122*e;return e.jsx(yo,{children:e.jsxs(vo,{speed:1,width:Mo,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:i,height:"16"}),e.jsx("rect",{x:n,y:"23",rx:"2",ry:"2",width:a,height:"16"}),e.jsx("rect",{x:o,y:"23",rx:"2",ry:"2",width:l,height:"16"}),e.jsx("rect",{x:s,y:"23",rx:"2",ry:"2",width:d,height:"16"}),e.jsx("rect",{x:C,y:"23",rx:"2",ry:"2",width:c,height:"16"}),e.jsx("rect",{x:p,y:"23",rx:"2",ry:"2",width:h,height:"16"}),e.jsx("rect",{x:g,y:"23",rx:"2",ry:"2",width:x,height:"16"}),e.jsx("rect",{x:m,y:"23",rx:"2",ry:"2",width:u,height:"16"}),F.map(((t,i)=>e.jsx(r.Fragment,{children:e.jsx("rect",{x:t.x,y:"23",rx:"2",ry:"2",width:t.w,height:"16"})},i))),e.jsx("rect",{x:v,y:"23",rx:"2",ry:"2",width:100,height:"16"}),Array.apply(0,Array(w)).map(((t,w)=>{const f=70*w+78;return e.jsxs(r.Fragment,{children:[e.jsx("rect",{x:29,y:f,rx:"2",ry:"2",width:i,height:"31"}),e.jsx("rect",{x:n,y:f,rx:"2",ry:"2",width:a,height:"31"}),e.jsx("rect",{x:o,y:f,rx:"2",ry:"2",width:l,height:"31"}),e.jsx("rect",{x:s,y:f,rx:"2",ry:"2",width:d,height:"31"}),e.jsx("rect",{x:C,y:f,rx:"2",ry:"2",width:c,height:"31"}),e.jsx("rect",{x:p,y:f,rx:"2",ry:"2",width:h,height:"31"}),e.jsx("rect",{x:g,y:f,rx:"2",ry:"2",width:x,height:"31"}),e.jsx("rect",{x:m,y:f,rx:"2",ry:"2",width:u,height:"31"}),F.map(((t,i)=>e.jsx(r.Fragment,{children:e.jsx("rect",{x:t.x,y:f,rx:"2",ry:"2",width:t.w,height:"31"})},i))),e.jsx("rect",{x:v,y:f,rx:"2",ry:"2",width:100,height:"31"})]},w)}))]})})},exports.ContentLoaderMasterListingDetail=()=>{const t=Mo>=1336?645:Mo>=1112?400:300,r=t+45,i=t+90;return e.jsx(Ao,{children:e.jsxs(vo,{speed:1,width:Mo,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:r,height:"15"}),e.jsx("rect",{x:i,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:t,height:"30"}),e.jsx("rect",{x:i,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:t,height:"30"}),e.jsx("rect",{x:i,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:t,height:"30"}),e.jsx("rect",{x:i,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:t,height:"30"}),e.jsx("rect",{x:i,y:"210",rx:"2",ry:"2",width:"250",height:"30"})]})})},exports.ContentLoaderNonOrderList=()=>{const t=window.innerWidth,i=t>=1336?150:t>=1112?110:100,n=29+i+12,a=t>=1336?120:t>=1112?110:100,o=n+a+12,l=t>=1336||t>=1112?110:105,s=o+l+12,d=t>=1336||t>=1112?140:130,C=s+d+12,c=t>=1336?130:t>=1112?120:100,p=C+c+12,h=t>=1336?115:t>=1112?105:100,g=p+h+12,x=t>=1336?150:t>=1112?110:100,m=t-150-24,u=Oo?Math.ceil((Oo-78)/70):0;let v=g+x+12,w=[];for(let e=0;v+122<m;e++)w.push({x:g+x+12+122*e,w:110}),v=g+x+12+122*e;return e.jsx(yo,{className:"_refLoadingList",children:e.jsxs(vo,{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:i,height:"16"}),e.jsx("rect",{x:n,y:"23",rx:"2",ry:"2",width:a,height:"16"}),e.jsx("rect",{x:o,y:"23",rx:"2",ry:"2",width:l,height:"16"}),e.jsx("rect",{x:s,y:"23",rx:"2",ry:"2",width:d,height:"16"}),e.jsx("rect",{x:C,y:"23",rx:"2",ry:"2",width:c,height:"16"}),e.jsx("rect",{x:p,y:"23",rx:"2",ry:"2",width:h,height:"16"}),e.jsx("rect",{x:g,y:"23",rx:"2",ry:"2",width:x,height:"16"}),w.map(((t,i)=>e.jsx(r.Fragment,{children:e.jsx("rect",{x:t.x,y:"23",rx:"2",ry:"2",width:t.w,height:"16"})},i))),e.jsx("rect",{x:m,y:"23",rx:"2",ry:"2",width:100,height:"16"}),Array.apply(0,Array(u)).map(((t,u)=>{const v=70*u+78;return e.jsxs(r.Fragment,{children:[e.jsx("rect",{x:29,y:v,rx:"2",ry:"2",width:i,height:"31"}),e.jsx("rect",{x:n,y:v,rx:"2",ry:"2",width:a,height:"31"}),e.jsx("rect",{x:o,y:v,rx:"2",ry:"2",width:l,height:"31"}),e.jsx("rect",{x:s,y:v,rx:"2",ry:"2",width:d,height:"31"}),e.jsx("rect",{x:C,y:v,rx:"2",ry:"2",width:c,height:"31"}),e.jsx("rect",{x:p,y:v,rx:"2",ry:"2",width:h,height:"31"}),e.jsx("rect",{x:g,y:v,rx:"2",ry:"2",width:x,height:"31"}),w.map(((t,i)=>e.jsx(r.Fragment,{children:e.jsx("rect",{x:t.x,y:v,rx:"2",ry:"2",width:t.w,height:"31"})},i))),e.jsx("rect",{x:m,y:v,rx:"2",ry:"2",width:100,height:"31"})]},u)}))]})})},exports.ContentLoaderNotifUpdate=()=>e.jsx(vo,{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:t,$height:r})=>{const i=t||75,n=r||30;return e.jsx(vo,{height:n,width:i,speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,viewBox:`0 0 ${i} ${n}`,children:e.jsx("rect",{x:"0",y:"0",rx:"0",ry:"0",width:i,height:n})})},exports.ContentLoaderOneLinePromotion=()=>e.jsx(vo,{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(vo,{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 t=window.innerHeight-96,r=Math.floor((Mo-110)/120),i=Math.floor((t-20)/50);return e.jsx(Do,{children:e.jsx(vo,{speed:1,width:Mo,height:t,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:Array.apply(0,Array(i)).map(((t,i)=>{const n=i+50*(i+1)-30;return Array.apply(0,Array(r)).map(((t,r)=>{const i=r+120*(r+1)-65;return e.jsx("rect",{x:i,y:n,rx:"2",ry:"2",width:100,height:"30"},r)}))}))})})},exports.ContentLoaderOnlyHeaderTableList=()=>{const t=Math.floor((Mo-110)/120);return e.jsx(Do,{children:e.jsx(vo,{speed:1,width:Mo,height:100,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:[0].map(((r,i)=>Array.apply(0,Array(t)).map(((t,r)=>{const n=r+120*(r+1)-65;return e.jsx("rect",{x:n,y:20,rx:"2",ry:"2",width:100,height:0===i?16:30},r)}))))})})},exports.ContentLoaderOrderDetail=()=>{const t=Mo-700,r=Mo-432,i=Mo-302,n=Mo-217,a=Mo-72,o=Mo-777,l=Mo-665,s=Mo-625,d=Mo-515,C=Mo-365,c=Mo-190,p=140,h=Mo-777,g=Mo-629,x=Mo-529,m=Mo-389,u=Mo-214;return e.jsx(Eo,{children:e.jsxs(vo,{speed:1,width:Mo,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:t,height:"36"}),e.jsx("rect",{x:r,y:"20",rx:"2",ry:"2",width:120,height:"32"}),e.jsx("rect",{x:i,y:"20",rx:"2",ry:"2",width:80,height:"32"}),e.jsx("rect",{x:n,y:"20",rx:"2",ry:"2",width:140,height:"32"}),e.jsx("rect",{x:a,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:h,height:"61"}),e.jsx("rect",{x:g,y:"150",rx:"2",ry:"2",width:90,height:"61"}),e.jsx("rect",{x:x,y:"150",rx:"2",ry:"2",width:140,height:"61"}),e.jsx("rect",{x:m,y:"150",rx:"2",ry:"2",width:160,height:"61"}),e.jsx("rect",{x:u,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:l,y:"515",rx:"2",ry:"2",width:26,height:"31"}),e.jsx("rect",{x:s,y:"515",rx:"2",ry:"2",width:90,height:"31"}),e.jsx("rect",{x:d,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:c,y:"515",rx:"2",ry:"2",width:p,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:l,y:"555",rx:"2",ry:"2",width:26,height:"31"}),e.jsx("rect",{x:s,y:"555",rx:"2",ry:"2",width:90,height:"31"}),e.jsx("rect",{x:d,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:c,y:"555",rx:"2",ry:"2",width:p,height:"31"}),e.jsx("rect",{x:c,y:"604",rx:"2",ry:"2",width:p,height:"31"}),e.jsx("rect",{x:c,y:"654",rx:"2",ry:"2",width:p,height:"31"}),e.jsx("rect",{x:"38",y:"684",rx:"2",ry:"2",width:t,height:"36"})]})})},exports.ContentLoaderOrderList=()=>{const t=100,r=Mo-600,i=Mo-405,n=120,a=Mo-275,o=Mo-190,l=140,s=Mo-45,d=Mo-18,C=Mo-777,c=Mo-665,p=Mo-625,h=Mo-515,g=140,x=Mo-365,m=160,u=Mo-190,v=140;return e.jsxs(fo,{children:[e.jsx(Fo,{children:e.jsxs(vo,{speed:1,width:Mo,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:t,y:"15",rx:"2",ry:"2",width:r,height:"31"}),e.jsx("rect",{x:i,y:"15",rx:"2",ry:"2",width:n,height:"32"}),e.jsx("rect",{x:a,y:"15",rx:"2",ry:"2",width:80,height:"32"}),e.jsx("rect",{x:o,y:"15",rx:"2",ry:"2",width:l,height:"32"}),e.jsx("rect",{x:s,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:d,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:c,y:"127",rx:"2",ry:"2",width:26,height:"31"}),e.jsx("rect",{x:p,y:"127",rx:"2",ry:"2",width:90,height:"31"}),e.jsx("rect",{x:h,y:"127",rx:"2",ry:"2",width:g,height:"31"}),e.jsx("rect",{x:x,y:"127",rx:"2",ry:"2",width:m,height:"31"}),e.jsx("rect",{x:u,y:"127",rx:"2",ry:"2",width:v,height:"65"})]})}),e.jsx(Fo,{children:e.jsxs(vo,{speed:1,width:Mo,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:t,y:"15",rx:"2",ry:"2",width:r,height:"31"}),e.jsx("rect",{x:i,y:"15",rx:"2",ry:"2",width:n,height:"32"}),e.jsx("rect",{x:a,y:"15",rx:"2",ry:"2",width:80,height:"32"}),e.jsx("rect",{x:o,y:"15",rx:"2",ry:"2",width:l,height:"32"}),e.jsx("rect",{x:s,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:d,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:c,y:"127",rx:"2",ry:"2",width:26,height:"31"}),e.jsx("rect",{x:p,y:"127",rx:"2",ry:"2",width:90,height:"31"}),e.jsx("rect",{x:h,y:"127",rx:"2",ry:"2",width:g,height:"31"}),e.jsx("rect",{x:x,y:"127",rx:"2",ry:"2",width:m,height:"31"}),e.jsx("rect",{x:u,y:"127",rx:"2",ry:"2",width:v,height:"65"})]})}),e.jsx(Fo,{children:e.jsxs(vo,{speed:1,width:Mo,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:t,y:"15",rx:"2",ry:"2",width:r,height:"31"}),e.jsx("rect",{x:i,y:"15",rx:"2",ry:"2",width:n,height:"32"}),e.jsx("rect",{x:a,y:"15",rx:"2",ry:"2",width:80,height:"32"}),e.jsx("rect",{x:o,y:"15",rx:"2",ry:"2",width:l,height:"32"}),e.jsx("rect",{x:s,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:d,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:c,y:"127",rx:"2",ry:"2",width:26,height:"31"}),e.jsx("rect",{x:p,y:"127",rx:"2",ry:"2",width:90,height:"31"}),e.jsx("rect",{x:h,y:"127",rx:"2",ry:"2",width:g,height:"31"}),e.jsx("rect",{x:x,y:"127",rx:"2",ry:"2",width:m,height:"31"}),e.jsx("rect",{x:u,y:"127",rx:"2",ry:"2",width:v,height:"65"})]})}),e.jsx(Fo,{children:e.jsxs(vo,{speed:1,width:Mo,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:t,y:"15",rx:"2",ry:"2",width:r,height:"31"}),e.jsx("rect",{x:i,y:"15",rx:"2",ry:"2",width:n,height:"32"}),e.jsx("rect",{x:a,y:"15",rx:"2",ry:"2",width:80,height:"32"}),e.jsx("rect",{x:o,y:"15",rx:"2",ry:"2",width:l,height:"32"}),e.jsx("rect",{x:s,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:d,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:c,y:"127",rx:"2",ry:"2",width:26,height:"31"}),e.jsx("rect",{x:p,y:"127",rx:"2",ry:"2",width:90,height:"31"}),e.jsx("rect",{x:h,y:"127",rx:"2",ry:"2",width:g,height:"31"}),e.jsx("rect",{x:x,y:"127",rx:"2",ry:"2",width:m,height:"31"}),e.jsx("rect",{x:u,y:"127",rx:"2",ry:"2",width:v,height:"65"})]})}),e.jsx(Fo,{children:e.jsxs(vo,{speed:1,width:Mo,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:t,y:"15",rx:"2",ry:"2",width:r,height:"31"}),e.jsx("rect",{x:i,y:"15",rx:"2",ry:"2",width:n,height:"32"}),e.jsx("rect",{x:a,y:"15",rx:"2",ry:"2",width:80,height:"32"}),e.jsx("rect",{x:o,y:"15",rx:"2",ry:"2",width:l,height:"32"}),e.jsx("rect",{x:s,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:d,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:c,y:"127",rx:"2",ry:"2",width:26,height:"31"}),e.jsx("rect",{x:p,y:"127",rx:"2",ry:"2",width:90,height:"31"}),e.jsx("rect",{x:h,y:"127",rx:"2",ry:"2",width:g,height:"31"}),e.jsx("rect",{x:x,y:"127",rx:"2",ry:"2",width:m,height:"31"}),e.jsx("rect",{x:u,y:"127",rx:"2",ry:"2",width:v,height:"65"})]})})]})},exports.ContentLoaderPOSCategory=()=>{const t=Math.floor(31*Math.random())+50;return e.jsx(vo,{height:30,width:t,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(vo,{height:116,width:"100%",speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:[e.jsx(Lo,{$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(Lo,{$width:"calc(100% - 20px)",x:"10",y:"63",rx:"0",ry:"0",height:"16"}),e.jsx(Lo,{$x:"calc(50% - 30px)",y:"95",rx:"4",ry:"4",width:"60px",height:"16"})]}),exports.ContentLoaderPOSStore=()=>e.jsxs(vo,{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 t=Mo/2,r=t-160,i=t-128,n=t-96,a=t-64,o=t-32,l=t+0,s=t+32,d=t+64,C=t+96,c=t+128;return e.jsx(bo,{className:"_refLoadingPage",children:e.jsxs(vo,{speed:1,width:Mo,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: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:n,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:o,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:d,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:c,y:"23",rx:"2",ry:"2",width:"27",height:"27"}),e.jsx("rect",{x:a,y:"60",rx:"2",ry:"2",width:"128",height:"6"})]})})},exports.ContentLoaderPopupBundle=()=>e.jsxs(vo,{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(vo,{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(vo,{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(jo,{children:e.jsxs(vo,{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(jo,{children:e.jsxs(vo,{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(jo,{children:e.jsxs(vo,{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(jo,{children:e.jsxs(vo,{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(jo,{children:e.jsxs(vo,{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(jo,{children:e.jsx(vo,{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(vo,{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(vo,{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(ko,{children:e.jsxs(vo,{speed:1,width:Mo,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(vo,{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 t=Oo-96,r=Math.floor((Mo-110)/120),i=Math.floor((t-20)/50);return e.jsx(Do,{children:e.jsx(vo,{speed:1,width:Mo,height:t,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:Array.apply(0,Array(i)).map(((t,i)=>{const n=i+50*(i+1)-30;return Array.apply(0,Array(r)).map(((t,r)=>{const a=r+120*(r+1)-65;return e.jsx("rect",{x:a,y:n,rx:"2",ry:"2",width:100,height:0===i?16:30},r)}))}))})})},exports.CreateContainer=wi,exports.CreateHeaderWrapper=fi,exports.CreateToolWrapper=Fi,exports.DateComponent=Ha,exports.DateContainer=za,exports.DateIndicatorContainer=Ia,exports.DatePickerContainer=Pa,exports.DateRangeAside=Oa,exports.DateRangeContainer=Da,exports.DateRangeControl=Aa,exports.DateRangeIconContainer=Sa,exports.DateRangeIndicatorsArrowIconSvg=ja,exports.DateRangeIndicatorsContainer=Ba,exports.DateRangeLabel=Ea,exports.DateRangeLabelContainer=ba,exports.DateRangeMenu=ka,exports.DateRangeMenuContainer=ya,exports.DateRangePortalContainer=Qa,exports.DateRangeSelection=La,exports.DateRefComponent=Ya,exports.DateTimeComponent=({dateTimeData:t})=>{const r=y.default(t,"YYYY-MM-DD HH:mm:ss ZZ").format("D MMM YYYY,"),i=y.default(t,"YYYY-MM-DD HH:mm:ss ZZ").format("hh:mm A");return e.jsx(Xa,{children:t?e.jsxs(e.Fragment,{children:[e.jsx("span",{children:r}),e.jsx("span",{children:i})]}):"-"})},exports.DateWrapper=Zr,exports.DetailItem=gi,exports.DetailItemAction=pi,exports.DetailItemInfo=hi,exports.DetailItemTitle=ci,exports.DetailItemWrapper=xi,exports.DetailList=Ci,exports.DetailPanelWrapper=mi,exports.DetailWrapper=oi,exports.DotIcon=qi,exports.DropDownAction=ca,exports.DropDownBody=Ca,exports.DropDownComponent=ha,exports.DropDownContainer=la,exports.DropDownControl=aa,exports.DropDownOverlayWrapper=na,exports.DropDownSubTitle=da,exports.DropDownTitle=sa,exports.DropDownWrapper=ia,exports.DropdownAction=_r,exports.DropdownControlWrapper=oa,exports.DropdownItem=$r,exports.DropdownList=Jr,exports.DropdownPortalContainer=pa,exports.DropdownTitle=Kr,exports.EmojiComponent=ma,exports.ErrorComponent=t=>{var{children:r,$mode:i}=t,n=D(t,["children","$mode"]);return e.jsxs(Xn,Object.assign({$mode:i,className:"_refErrorContainer"},n,{children:[e.jsx(vn,{$name:"alert",$width:"11px"}),r]}))},exports.FigureWraper=cr,exports.FilterButton=ii,exports.FilterColumnContainer=Xi,exports.FilterContainer=Yr,exports.FilterItem=ti,exports.FilterList=ei,exports.FilterListTitle=ri,exports.FilterStoreContainer=Zi,exports.FilterStoreList=Ki,exports.FilterWrapper=qr,exports.FoContainer=Ut,exports.FormContainer=ho,exports.HeaderContainer=Tt,exports.IconComponent=vn,exports.IconDot=ni,exports.ImageChannelComponent=t=>{var r,i;const{data:n,label:a,size:o,isImageOnly:l,$mode:s,$isPhone:d,labelPhone:C,$url:c}=t,p=o&&parseInt(o)/2>10?parseInt(o)/2:10,h=o||"20px";if(!n)return e.jsx(e.Fragment,{children:!l&&e.jsx("span",{children:a||"-"})});const g=a||(null==n?void 0:n.name)||(null==n?void 0:n.storeName)||(null==n?void 0:n.store_name)||(null==n?void 0:n.accountName)||(null==n?void 0:n.channelName)||(null==n?void 0:n.channel_name)||"No Store",x=(null==n?void 0:n.icon)||(null===(i=null===(r=null==n?void 0:n.account)||void 0===r?void 0:r.channel)||void 0===i?void 0:i.imageUrl)||(null==n?void 0:n.imageUrl)||(null==n?void 0:n.channelImage)||(null==n?void 0:n.channel_image)||"",m=(null==n?void 0:n.color)||(null==n?void 0:n.channelColor)||(null==n?void 0:n.channel_color)||"#ooo",u=(null==n?void 0:n.channelInitials)||(null==n?void 0:n.channelInitial)||(null==n?void 0:n.channel_initials)||(null==n?void 0:n.initials)||"",v=C||(null==n?void 0:n.phone)||(null==n?void 0:n.storeId)||"-",w=null==n?void 0:n.availableAPI;return e.jsxs(e.Fragment,{children:[e.jsx("div",{children:x?e.jsx(Yn,{$mode:s,width:"auto",height:h,src:x||"/",alt:n.channelName||n.channel_name||""}):u?e.jsx(dr,{style:{width:h,height:h,backgroundColor:m,fontSize:p+"px"},children:u}):e.jsx(Yn,{$mode:s,width:"auto",height:h,src:"/"})}),!l&&(d?e.jsxs("div",{children:[c?e.jsx(gt,{mode:"trans",href:c,children:e.jsx("span",{className:"multi-elipsis",title:g,children:g})}):e.jsx("span",{className:"multi-elipsis",title:g,children:g}),e.jsx("aside",{className:"multi-elipsis",title:v,style:{color:"#999999",fontSize:"12px"},children:v})]}):e.jsxs("span",{className:"multi-elipsis",title:g,children:[g,w&&e.jsx(Wi,{className:"_refLabel",children:"API"})]}))]})},exports.ImageComponent=Yn,exports.InfoGroup=nr,exports.InitialContainer=dr,exports.InputComponent=Ot,exports.InputGroup=or,exports.InputOTPComponent=t=>{var{otpLength:r=6,value:i,onChange:n}=t,a=D(t,["otpLength","value","onChange"]);const o=e=>{var t;const a=e.target,o=a.value,l=a.dataset.index?parseInt(a.dataset.index):0;if(""===o||/^\d$/.test(o)){let e=i.split("");e[l]=o;const a=e.join("");n(a),""!==o&&l<r-1&&(null===(t=document.getElementById(`otp-inputbox-${l+1}`))||void 0===t||t.focus())}},l=e=>{var t;const r=e.target,n=r.dataset.index?parseInt(r.dataset.index):0;"Backspace"===e.key&&!i[n]&&n>0&&(null===(t=document.getElementById("otp-inputbox-"+(n-1)))||void 0===t||t.focus())};let s=[];for(let t=0;t<r;t++)s.push(e.jsx(Mt,Object.assign({"data-index":t,id:`otp-inputbox-${t}`,name:`otp-input-${t}`,autoComplete:"one-time-code",inputMode:"numeric",required:!0,value:i[t]||"",onChange:e=>o(e),onKeyDown:e=>l(e),onFocus:e=>{e.target.addEventListener("wheel",(function(e){e.preventDefault()}),{passive:!1}),e.target.select()}},a),t));return e.jsx("div",{onPaste:e=>{e.preventDefault();const t=e.clipboardData.getData("Text").replace(/\D/g,"").slice(0,r);n(t)},children:s})},exports.InputRefComponent=zt,exports.IsNumeric=ut,exports.ItemPriceLabel=yr,exports.ItemQtyLabel=Ui,exports.ItemTable=Wr,exports.LabelComponent=t=>{var{children:r,$mode:i,$position:n}=t,a=D(t,["children","$mode","$position"]);return e.jsx(sn,Object.assign({$mode:i,$position:n},a,{children:r}))},exports.LeftPanelContainer=gr,exports.LinkComponent=gt,exports.LinkContainer=Hr,exports.ListAddItemContainer=Ei,exports.ListComponent=t=>{var{children:r,$mode:i,$selected:n,$type:a}=t,o=D(t,["children","$mode","$selected","$type"]);return e.jsx(Za,Object.assign({$mode:i,$selected:n,$type:a},o,{children:r}))},exports.ListContainer=Nt,exports.ListTable=Gr,exports.ListTableContainer=Ur,exports.LoadingComponent=cn,exports.MasterTableActionWrapper=Cr,exports.MenuList=t=>e.jsx(o.components.MenuList,Object.assign({},t,{children:t.children})),exports.MessageComponent=({timer:t=500,$type:i,message:a,callback:o})=>{const[l,s]=n.useStateWithCallbackLazy(!1),[d,C]=n.useStateWithCallbackLazy(!1),[c,p]=n.useStateWithCallbackLazy(!1),h=r.useCallback((()=>{p(!c,(()=>{document.getElementsByTagName("BODY")[0].classList.remove("is-immuned"),o&&o()}))}),[o,p,c]),g=r.useCallback((()=>{h()}),[h]);return r.useEffect((()=>{const e=t||2e3,r=document.querySelector("._refMessageOverlay");return l||c?l&&c&&(s&&s(!l,(()=>{})),C&&C(!d,(()=>{})),r&&r.removeEventListener("click",g)):s(!l,(()=>{r&&r.addEventListener("click",g),setTimeout((()=>{C(!d,(()=>{setTimeout((()=>!d&&h()),e)}))}),1)})),()=>{r&&r.removeEventListener("click",g)}}),[l,d,t,h,s,C,g,c]),e.jsxs(yn,{$isOpen:l,children:[e.jsx(An,{className:"_refMessageOverlay"}),e.jsx(bn,{children:e.jsx(Dn,{$isOpen:d,children:e.jsxs(En,{$type:i,children:[e.jsx("i",{}),a,e.jsx(an,{$mode:"small-white-round-close",onClick:h})]})})})]})},exports.MessageQuestionComponent=({$type:t,title:i,subtitle:o,callback:l,buttonSubmit:s,cancelCallback:d})=>{const[C,c]=n.useStateWithCallbackLazy(!1),[p,h]=n.useStateWithCallbackLazy(!1),[g,x]=n.useStateWithCallbackLazy(!1),m=r.useCallback((()=>{x(!g,(()=>{d&&d();document.getElementsByTagName("BODY")[0].classList.remove("is-immuned")}))}),[d,g,x]),u=r.useCallback((()=>{m()}),[m]);return r.useEffect((()=>{const e=document.querySelector("._refQuestionMessageOverlay");C||g?C&&g&&(c(!C,(()=>{})),h(!p,(()=>{})),e&&e.removeEventListener("click",u)):c(!C,(()=>{setTimeout((()=>{h(!p,(()=>{})),e&&e.addEventListener("click",u)}),1)}))}),[C,p,c,h,u,g]),e.jsxs(yn,{$isOpen:C,children:[e.jsx(An,{className:"_refQuestionMessageOverlay",$type:t}),e.jsx(bn,{$type:t,children:e.jsx(Dn,{$isOpen:p,children:e.jsxs(En,{$type:t,children:[e.jsx("i",{}),e.jsxs("div",{children:[e.jsx(B,{$elipsis:!1,style:{fontWeight:600,fontSize:"15px"},children:i}),e.jsx(B,{$color:"grey",$elipsis:!1,children:a.htmlToText(o)}),e.jsxs("aside",{children:[e.jsx(an,{$mode:"white",$size:"small",onClick:m,children:"Cancel"}),e.jsx(an,{$mode:"red",$size:"small",onClick:()=>{x(!g,(()=>{document.getElementsByTagName("BODY")[0].classList.remove("is-immuned"),l&&l()}))},children:s||"Confirm"})]})]})]})})})]})},exports.MultiPanelContainer=hr,exports.MuteLabel=ar,exports.NameLabel=Dr,exports.NavChildItem=Ti,exports.NavChildLine=Si,exports.NavContainer=Pi,exports.NavContainerStyles=Ii,exports.NavList=Oi,exports.NavMainItem=Qi,exports.NavMainItemWrapper=Hi,exports.NavMobileHeaderWrapper=zi,exports.NavMobileOverlay=Mi,exports.OptCustomLabel=Wi,exports.PageButton=Pr,exports.PageDot=Sr,exports.PageLabel=Qr,exports.PageWrapper=Ir,exports.PaginationContainer=zr,exports.PanelBody=pr,exports.PanelContainer=Xt,exports.PanelWrapper=Yt,exports.PopupAddProductContainer=ji,exports.PopupBoxWrapper=ui,exports.PopupCard=ki,exports.PopupColumnGroup=er,exports.PopupComponent=t=>{var{children:i,body:a,mode:o,height:l,width:s,isOpen:d,evTooglePopup:C}=t,c=D(t,["children","body","mode","height","width","isOpen","evTooglePopup"]);const[p,h]=n.useStateWithCallbackLazy(!1),g=r.useRef(null),x=r.useCallback((e=>{Sn=setTimeout((()=>{h(e,(()=>{const e=g&&g.current?g.current:null;e&&(e.scrollTop=0)})),clearTimeout(Sn)}),1)}),[h]),m=r.useRef({init:()=>{x(d)}});r.useEffect((()=>{const{init:e}=m.current;return e(),()=>{clearTimeout(Sn)}}),[]),r.useEffect((()=>{x(d)}),[d,x]);let u=[...i];const v=(null==u?void 0:u.filter((e=>r.isValidElement(e)&&"head"===e.props["aria-label"])))||null,w=(null==u?void 0:u.filter((e=>r.isValidElement(e)&&"sub-head"===e.props["aria-label"])))||null,f=(null==u?void 0:u.filter((e=>r.isValidElement(e)&&"body"===e.props["aria-label"])))||null,F=(null==u?void 0:u.filter((e=>r.isValidElement(e)&&"foot"===e.props["aria-label"])))||null,y=(null==u?void 0:u.filter((e=>r.isValidElement(e)&&"left-foot"===e.props["aria-label"])))||null,A=w.length?e.jsx("aside",{children:w[0]&&r.isValidElement(w[0])?w[0].props.children:null}):null,b=v.length&&v[0]&&r.isValidElement(v[0])?v[0].props["data-qa-id"]:"";return e.jsxs(jn,{$isOpen:d,children:[e.jsx(kn,{}),e.jsx(Ln,Object.assign({ref:g},c["data-qa-id"]&&{"data-qa-id":c["data-qa-id"]},{children:"question"===o?e.jsx(Mn,{$isOpen:p,children:e.jsxs(Qn,{$width:s,children:[e.jsx(vn,{$name:"warning",$width:"30px"}),e.jsxs(On,{$mode:o,children:[v.length?e.jsx(zn,{children:v[0]&&r.isValidElement(v[0])?v[0].props.children:null}):null,A,F.length?e.jsx(Pn,{children:F[0]&&r.isValidElement(F[0])?e.jsx("aside",{"data-type":F[0].props.type||"",children:F[0].props.children}):null}):null]})]})}):e.jsxs(e.Fragment,{children:[e.jsx(On,{$width:s,$isOpen:p,$mode:o,children:v.length?e.jsxs(e.Fragment,{children:[e.jsx(an,{$mode:"round-close",onClick:C}),e.jsx(zn,{"data-qa-id":b,children:v[0]&&r.isValidElement(v[0])&&v[0].props.children})]}):null}),e.jsxs(Mn,{$width:s,$isOpen:p,$withHeader:!!v.length,children:[A,f.length?e.jsx(In,{$mode:a,$width:s,$height:l,children:f[0]&&r.isValidElement(f[0])&&f[0].props.children}):null,F.length?e.jsxs(Pn,{$isLeft:!!y.length,children:[e.jsx("aside",{children:y&&y.length&&y[0]&&r.isValidElement(y[0])?y[0].props.children:null}),F[0]&&r.isValidElement(F[0])?e.jsxs("aside",{"data-type":F[0].props.type||"",children:[o&&"info"===o?e.jsx(an,{$mode:"white",$size:"small",onClick:C,children:"Close"}):e.jsx(an,{$mode:"white",$size:"small",onClick:C,"data-qa-id":"popup-button-cancel",children:"Cancel"}),F[0].props.children]}):null]}):null]})]})}))]})},exports.PopupDownloadWrapper=vi,exports.PopupExportCardWrapper=Li,exports.PopupItem=Jt,exports.PopupItemLabel=rr,exports.PopupItemName=tr,exports.PopupList=Kt,exports.PopupRowGroup=_t,exports.PopupTable=Zt,exports.PopupTableBody=Gt,exports.PopupTableHead=Wt,exports.PopupTableItem=Rt,exports.RadioComponent=t=>{var{children:i,$mode:n,evChange:a,reset:o,setReset:l,isForceUpdate:s,setForceUpdate:d}=t,C=D(t,["children","$mode","evChange","reset","setReset","isForceUpdate","setForceUpdate"]);const{id:c,defaultChecked:p}=C,[h,g]=r.useState(p||!1);r.useEffect((()=>{s&&(g(p||!1),d&&d(!1)),o&&(g(!1),l&&l(!1))}),[s,d,o,l,p,g]);let x=Object.assign({},C);return delete x.defaultChecked,e.jsx(Na,{children:e.jsxs("label",{htmlFor:c,children:[e.jsx(qa,Object.assign({type:"radio",id:c,$mode:n,checked:h,onChange:e=>{a&&a(e)}},x)),e.jsx(Va,Object.assign({$mode:n},C["data-qa-id"]&&{"data-qa-id":C["data-qa-id"]},{children:i}))]})})},exports.RangeContainer=Ta,exports.ReactPortalComponent=ra,exports.RightPanelContainer=xr,exports.ScrollArrowContainer=Ni,exports.SearchDropdownContainer=yi,exports.SearchFilterContainer=Xr,exports.SearchFormWrapper=mr,exports.SearchResultItem=bi,exports.SearchResultList=Di,exports.SearchResultWrapper=Ai,exports.SearchWrapper=Nr,exports.SearchWrapperPopup=Bi,exports.SelectAllComponent=t=>{const{isError:i=!1,value:n,options:a,mode:o,evChange:l}=t,s=D(t,["isError","value","options","mode","evChange"]),d=r.useRef(n);d.current=n;const C="store"===o?"Stores":"Categories",c={value:"*",label:"All "+C},p=()=>{var e;return(null===(e=d.current)||void 0===e?void 0:e.length)===(null==a?void 0:a.length)},h={container:e=>Object.assign(Object.assign({},e),{display:"inline-block",minHeight:"1px",textAlign:"left",border:"none"}),control:(e,t)=>Object.assign(Object.assign({},e),{borderRadius:".5rem",cursor:"pointer",minHeight:"store"===o?"30px":"38px",borderWidth:i?"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"!==o&&!i?"var(--pri-clr-ln__fc)":i?"var(--err-clr-ln)":"filter"===o?"#ffffff":" var(--ck-clr-ln)",background:t.isFocused?"rgba(247, 247, 247, 1)":"#ffffff","&:hover":{borderColor:t.isFocused&&"filter"!==o&&!i?"var(--pri-clr-ln__fc)":i?"var(--err-clr-ln)":"filter"===o?"#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"}),indicatorSeparator:e=>Object.assign(Object.assign({},e),{minHeight:"1px",height:"24px",display:"none"}),clearIndicator:e=>Object.assign(Object.assign({},e),{minHeight:"1px",marginRight:"-6px",padding:"0"}),valueContainer:e=>Object.assign(Object.assign({},e),{height:"30px",overflow:"auto",paddingTop:"0",paddingBottom:"0",paddingRight:"2px"}),menuPortal:e=>Object.assign(Object.assign({},e),{zIndex:9999,letterSpacing:"normal",lineHeight:"normal"}),option:(e,t)=>Object.assign(Object.assign(Object.assign(Object.assign({},e),{width:"100%",margin:"0 0 4px",borderRadius:"var(--nav-rd)",cursor:"pointer",overflowWrap:"break-word",wordBreak:"break-all",position:"relative",backgroundColor:t.isSelected||t.isFocused?"var(--nav-clr-bg__hvr)":"transparent","&:last-child":{marginBottom:0}}),!t.isDisabled&&{color:"var(--pri-clr)",fontWeight:t.isSelected?500:"normal","&:hover":{backgroundColor:"var(--nav-clr-bg__hvr)"}}),t.isSelected&&{paddingRight:"1.75em","&:after":{content:'"✔"',position:"absolute",top:"50%",transform:"translateY(-50%)",right:"7px",bottom:"0",width:"12px",height:"20px"}}),menu:e=>Object.assign(Object.assign({},e),{padding:"8px",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"})};return e.jsx("div",Object.assign({className:"_refContainer"},s["data-qa-id"]&&{"data-qa-id":s["data-qa-id"]},{children:e.jsx(w.default,{isOptionSelected:e=>{var t;return(null===(t=d.current)||void 0===t?void 0:t.some((({value:t})=>t===e.value)))||p()},styles:h,menuPortalTarget:document.body,options:a?[c,...a]:[c],value:d.current&&d.current.length>=5?[{value:n,label:`${null===(g=d.current)||void 0===g?void 0:g.length} ${C}`}]:p()?[c]:n,onChange:(e,t)=>{if(!a)return!1;const{action:r,option:i,removedValue:n}=t;let o=e?[...e]:null;const s=e&&e.length&&Array.isArray(e[0].value)?e[0].value:null;let C=[];"select-option"===r&&i.value===c.value?C=a:"deselect-option"===r&&i.value===c.value||"remove-value"===r&&n.value===c.value?C=[]:"deselect-option"===t.action&&p()?C=a.filter((({value:e})=>e!==i.value)):"remove-value"===t.action&&s?(d.current=null,C=[]):"deselect-option"===t.action?(s?(o=s.filter((({value:e})=>e!==i.value)),d.current=o):o=e.filter((({value:e})=>e!==i.value)),C=o||[]):(s&&(o=[...s,e[1]],d.current=o),C=o||[]),l(C,t)},hideSelectedOptions:!1,closeMenuOnSelect:!1,isMulti:!0})}));var g},exports.SelectAsyncPaginateComponent=t=>{var{loadOptions:i}=t,n=D(t,["loadOptions"]);const{isError:a=!1,mode:o,type:l,customOption:d,MenuList:C,defaultValue:c,reset:p,setReset:h,evChange:g,isForceUpdate:x,setForceUpdate:m,loadOptionsOnMenuOpen:u,noOptionsMessage:v,iconLeft:w,isSearchable:f,placeholder:F,isMulti:y,loadedOptions:A,isMenuOpen:b,setMenuIsOpen:E,id:B,evChangeOnMenuClose:j}=n,k=D(n,["isError","mode","type","customOption","MenuList","defaultValue","reset","setReset","evChange","isForceUpdate","setForceUpdate","loadOptionsOnMenuOpen","noOptionsMessage","iconLeft","isSearchable","placeholder","isMulti","loadedOptions","isMenuOpen","setMenuIsOpen","id","evChangeOnMenuClose"]),[L,M]=r.useState(c||null),[O,z]=r.useState(""),[I,P]=r.useState(new Date),Q=r.useRef(null);r.useEffect((()=>{x&&(M(c||null),m&&m(!1))}),[c,x,m,M]);const S={container:e=>Object.assign(Object.assign({},e),{display:"inline-block",width:"100%",minHeight:"1px",textAlign:"left",border:"none"}),control:(e,t)=>Object.assign(Object.assign({},e),{width:"100%",borderRadius:".5rem",minHeight:"1px",height:y?"auto":"small"===o?"30px":"32px",cursor:"pointer",borderWidth:a?"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"!==o&&!a?"var(--pri-clr-ln__fc)":a?"var(--err-clr-ln)":"filter"===o?"#ffffff":" var(--ck-clr-ln)",background:t.isFocused?"rgba(247, 247, 247, 1)":"#ffffff",overflow:"picklist"===o?"hidden":"initial","&:hover":{borderColor:t.isFocused&&"filter"!==o&&!a?"var(--pri-clr-ln__fc)":a?"var(--err-clr-ln)":"filter"===o?"#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"}}),singleValue:e=>Object.assign(Object.assign({},e),{minHeight:"1px",paddingBottom:"2px",color:"initial"}),dropdownIndicator:e=>Object.assign(Object.assign({},e),{minHeight:"1px",paddingTop:"0",paddingBottom:"0",paddingLeft:"2px",paddingRight:"2px",color:"#757575"}),indicatorSeparator:e=>Object.assign(Object.assign({},e),{minHeight:"1px",height:"24px",display:"tag"===l?"block":"none"}),clearIndicator:e=>Object.assign(Object.assign({},e),{minHeight:"1px",marginRight:"-6px",padding:"0"}),valueContainer:e=>Object.assign(Object.assign({},e),{minHeight:"1px",height:"multi-select"===o?"70px":"small"===o?"30px":"32px",paddingTop:y?"4px":"0",paddingBottom:y?"4px":"0",paddingLeft:w?"28px":"8px",paddingRight:"2px",maxHeight:y?"60px":"unset",overflow:y?"auto":"initial",alignContent:y?"flex-start":"initial"}),option:(e,t)=>Object.assign(Object.assign(Object.assign(Object.assign({},e),{width:"100%",margin:"0 0 4px",borderRadius:"var(--nav-rd)",cursor:"pointer",overflowWrap:"break-word",wordBreak:"break-all",position:"relative",backgroundColor:t.isSelected||t.isFocused?"var(--nav-clr-bg__hvr)":"transparent","&:last-child":{marginBottom:0}}),!t.isDisabled&&{color:"var(--pri-clr)",fontWeight:t.isSelected?500:"normal","&:hover":{backgroundColor:"var(--nav-clr-bg__hvr)"}}),t.isSelected&&{paddingRight:"1.75em","&:after":{content:'"✔"',position:"absolute",top:"50%",transform:"translateY(-50%)",right:"7px",bottom:"0",width:"12px",height:"20px"}}),menu:e=>Object.assign(Object.assign({},e),{padding:"8px",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"})},T=r.useCallback((()=>{E&&E(!0)}),[E]),H=r.useCallback((()=>{E&&E(!1)}),[E]),Y=()=>{P(new Date),(()=>{const e=document.getElementsByClassName("_refSelectContainer is-shown");if(e.length)for(let t=0;t<e.length;t++)e[t].classList.remove("is-shown")})()};return e.jsx("div",{className:"_refContainer",children:e.jsx(s.AsyncPaginate,Object.assign({isSearchable:f,placeholder:F,debounceTimeout:500,styles:S,loadOptions:i,menuPortalTarget:document.body,menuPosition:"fixed",menuPlacement:"auto",value:L,onChange:(e,t)=>{var r;const i=e;if(t){const{action:e,option:i}=t;if("select-option"===e&&"*"===(null==i?void 0:i.value)){const e=L;if(null==e?void 0:e.length){let r=A?[...e,...A]:[...e];r=r.filter(((e,t,r)=>t===r.findIndex((t=>t.sku===e.sku)))),M(r),g&&g(r,t)}else A&&(M(A),g&&g(A,t));return null===(r=Q.current)||void 0===r||r.blur(),!1}}M(i),g&&g(i,t)},loadOptionsOnMenuOpen:u,noOptionsMessage:v,menuIsOpen:b},B&&{id:B},"multi-select"===o&&{closeMenuOnSelect:!1,inputValue:O,onInputChange:(e,t)=>{"input-change"===t.action&&(z(e),P(new Date))},onMenuClose:()=>{z(""),null==j||j(L)},onMenuOpen:()=>Y(),cacheUniqs:[I],selectRef:Q},"multi-select"!==o&&{onMenuOpen:T,onMenuClose:H},d&&{components:{Option:d}},C&&{components:{MenuList:C}},y&&{isMulti:!0},k))})},exports.SelectCheckboxContainer=xo,exports.SelectComponent=t=>{var{type:i,isError:n=!1,mode:a,customOption:o,customLabel:l,MenuList:s,isCreateable:d=!1,isClearable:C=!1,selectKey:c,disabled:p,defaultValue:h,width:g,reset:x,setReset:m,isForceUpdate:u,setForceUpdate:v,isCheckAutoCopy:F,evChangeCustom:y,isField:A,evCreate:b,evChange:E,isMinOption:B,isMulti:j=!1,options:k,name:L,placeholder:M,removeMessage:O,evCreateMessageQuestion:z,isLoading:I,height:P,customMenuList:Q,customMultiValueRemove:S}=t,T=D(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[H,Y]=r.useState(h||null);r.useEffect((()=>{if(x&&(Y(null),m&&m(!1)),u){let e=h;if(F&&e){let t=!1;if(j){let r=e;if(Array.isArray(r)&&r.length){let e=[];for(const i of r){const r=null==k?void 0:k.filter((e=>e.label===i.label&&e.value===i.value));(null==r?void 0:r.length)&&Array.isArray(e)?e.push(i):!t&&(t=!0)}e.length&&(r=e)}}else{let r=e;if(r){const i=null==k?void 0:k.filter((e=>r&&e.label===r.label&&e.value===r.value));(null==i?void 0:i.length)&&(e=null,t=!0)}}t&&L&&y&&y(L,e)}Y(e),v&&v(!1)}}),[h,y,F,u,j,L,k,x,v,m]);const X=()=>{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:r,option:i})=>{if(j){const n=e,a=()=>{Y(n),E&&E(n,{action:t,removedValue:r,option:i})};switch(t){case"remove-value":if(B&&"remove-value"===t&&Array.isArray(H)&&1===H.length)return!1;if(r.isFixed)return;break;case"pop-value":if(r.isFixed)return;break;case"clear":e=(null==k?void 0:k.filter((e=>e.isFixed)))||[]}if(O&&"remove-value"===t){const e=wt("confirm",(null==O?void 0:O.title)||"",(null==O?void 0:O.subtitle)||"",a);return z&&z(e),!1}Y(n),E&&E(n,{action:t,removedValue:r,option:i})}else{const n=e;Y("paymentReceiveStore"===a?n?{value:n.value,label:n.label,channel:n.channel}:n:l?n?{value:n.value,label:n.label,name:n.name}:n:n?{value:n.value,label:n.label}:n),E&&E(n,{action:t,removedValue:r,option:i})}!j&&A&&y&&L&&y(L,e)},V=()=>{A&&y&&L&&H&&y(L,H)},q={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"===a?"50px":"picklist"===a?"30px":"1px",height:"multi"===a?"auto":null!=P?P:"orders"===a?"90px":"30px",maxHeight:"multi"===a?"120px":"picklist"===a?"46px":"none",cursor:"pointer",borderWidth:n?"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"!==a&&!n?"var(--pri-clr-ln__fc)":n?"var(--err-clr-ln)":"filter"===a?"#ffffff":" var(--ck-clr-ln)",background:t.isFocused?"rgba(247, 247, 247, 1)":"#ffffff",overflow:"multi"===a?"auto":"picklist"===a?"hidden":"orders"===a?"auto":"initial",alignItems:"orders"===a?"start":"center",padding:"orders"===a?"6px 0":"unset",color:"rgba(74, 74, 74, 1)",opacity:p?".7":1,"&:hover":{borderColor:t.isFocused&&"filter"!==a&&!n?"var(--pri-clr-ln__fc)":n?"var(--err-clr-ln)":"filter"===a?"#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"===a?"start":"unset"}),indicatorSeparator:e=>Object.assign(Object.assign({},e),{minHeight:"1px",height:"24px",display:"tag"===i?"block":"none"}),clearIndicator:e=>Object.assign(Object.assign({},e),{minHeight:"1px",marginRight:"-6px",padding:"0"}),valueContainer:e=>Object.assign(Object.assign({},e),{height:"multi"===a?"auto":"30px",maxHeight:"multi"===a?"114px":"picklist"===a?"46px":"none",minHeight:"multi"===a?"44px":"picklist"===a?"30px":"1px",overflow:"multi"===a||"picklist"===a?"auto":"initial",paddingTop:"0",paddingBottom:"0",paddingRight:"2px"}),singleValue:e=>Object.assign(Object.assign({},e),{minHeight:"1px",paddingBottom:"2px",color:p?"#ADADAD":"form"===a?"#2d3c48":"initial",opacity:p?".7":1}),option:(e,t)=>Object.assign(Object.assign(Object.assign(Object.assign({},e),{width:"100%",margin:"0 0 4px",borderRadius:"var(--nav-rd)",cursor:"pointer",overflowWrap:"break-word",wordBreak:"break-all",position:"relative",backgroundColor:t.isSelected||t.isFocused?"var(--nav-clr-bg__hvr)":"transparent","&:last-child":{marginBottom:0}}),!t.isDisabled&&{color:"var(--pri-clr)",fontWeight:t.isSelected?500:"normal","&:hover":{backgroundColor:"var(--nav-clr-bg__hvr)"}}),t.isSelected&&{paddingRight:"1.75em","&:after":{content:'"✔"',position:"absolute",top:"50%",transform:"translateY(-50%)",right:"7px",bottom:"0",width:"12px",height:"20px"}}),menu:e=>Object.assign(Object.assign({},e),{padding:"8px",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 U=d?e.jsx(f.default,Object.assign({options:k,styles:q,onMenuOpen:X,menuPortalTarget:document.body,menuPosition:"fixed",menuPlacement:"auto",value:H,onChange:N,onCreateOption:e=>{m&&m(!1),j?Array.isArray(H)?Y([...H,{value:e,label:e}]):Y([{value:e,label:e}]):Y({value:e,label:e}),b&&b(e)},isValidNewOption:(e,t)=>!(0===e.trim().length||t.find((t=>t.name===e))),noOptionsMessage:()=>null,isClearable:C?!Array.isArray(H)||!H.length||H.some((e=>!e.isFixed)):C},j&&{isMulti:!0},o&&{components:{Option:o}},Q&&{components:{MenuList:Q}},S&&{components:{MultiValueRemove:S}},s&&{components:{MenuList:s,Option:o}},c&&{key:c},p&&{isDisabled:p},j&&{closeMenuOnSelect:!1},j&&{onBlur:V},M&&{placeholder:M},I&&{isLoading:I},T)):e.jsx(w.default,Object.assign({options:k,styles:q,onMenuOpen:X,menuPortalTarget:document.body,menuPosition:"fixed",menuPlacement:"auto",value:H,onChange:N,noOptionsMessage:()=>null,isClearable:C?!Array.isArray(H)||!H.length||H.some((e=>!e.isFixed)):C},j&&{isMulti:!0},o&&{components:{Option:o}},"paymentReceiveStore"===a&&{components:{Option:o,SingleValue:l}},l&&{components:{SingleValue:l}},Q&&{components:{MenuList:Q}},S&&{components:{MultiValueRemove:S}},s&&{components:{MenuList:s,Option:o}},l&&o&&{components:{SingleValue:l,Option:o}},c&&{key:c},p&&{isDisabled:p},j&&{closeMenuOnSelect:!1},j&&{onBlur:V},M&&{placeholder:M},I&&{isLoading:I},T));return e.jsx("section",Object.assign({className:"_refSelectContainer"},T,{children:U}))},exports.SelectionDate=Ma,exports.SingleFormContainer=go,exports.SortByWrapper=ai,exports.SwitchComponent=t=>{var{isForceUpdate:i,setForceUpdate:n,reset:a,setReset:o,evChange:l}=t,s=D(t,["isForceUpdate","setForceUpdate","reset","setReset","evChange"]);const{id:d,defaultChecked:C}=s,[c,p]=r.useState(C||!1);r.useEffect((()=>{i&&(p(C||!1),n&&n(!1)),a&&(p(!1),o&&o(!1))}),[i,n,a,o,C,p]);let h=Object.assign({},s);return delete h.defaultChecked,e.jsxs(Ua,{children:[e.jsx(Wa,Object.assign({type:"checkbox",checked:c,onChange:e=>{(e=>{const t=e.target.checked;p(t)})(e),l&&l(e)}},h)),e.jsx(Ra,{role:"checkbox-label",htmlFor:d})]})},exports.TableBundleColumn=Gi,exports.TableColumnGroup=Fr,exports.TableComponent=t=>{const{children:i,$mode:n,$name:a=co,$template:o,isForceUpdate:l,setForceUpdate:s}=t;r.useEffect((()=>{l&&s&&s(!1)}),[l,s]);const d=e=>i.filter((t=>r.isValidElement(t)?t.props["aria-label"]===e:null)),C=e=>{let t=[];if(e.length)if(e[0].props.children.length>1){let r=[];e[0].props.children.forEach((e=>{(Array.isArray(e)?e:[].concat(e)).forEach((e=>{r.push(e)}))})),t=r}else t=Array.isArray(e[0].props.children)?e[0].props.children:[].concat(e[0].props.children);return t},c=d("head"),p=c&&r.isValidElement(c[0])?c[0].props.children.filter((e=>null!==e)).map(((t,r)=>e.jsx($a,Object.assign({role:"columnheader"},t.props.style&&{style:t.props.style},t.props.className&&{className:t.props.className},t.props,{children:t.props.children}),r))):null,h=d("body"),g=h.length?C(h):null,x=g?g.map(((t,r)=>{var i,n,a;return e.jsx(_a,Object.assign({role:"row"},(null===(i=t.props)||void 0===i?void 0:i.id)&&{id:t.props.id},(null===(n=t.props)||void 0===n?void 0:n.style)&&{style:t.props.style},(null===(a=t.props)||void 0===a?void 0:a.className)&&{className:t.props.className},t.props,{children:t.props.children.filter((e=>null!==e)).map(((t,r)=>e.jsx(to,Object.assign({},t.props,{children:t.props.children}),r)))}),r)})):null,m=d("foot"),u=m.length?C(m):null,v=u?u.map(((t,r)=>e.jsx(ro,{role:"row",children:t.props.children.filter((e=>null!==e)).map(((t,r)=>e.jsx(io,Object.assign({},t.props,{children:t.props.children}),r)))},r))):null,w=d("boldFoot"),f=w.length?C(w):null,F=f?f.map(((t,r)=>e.jsx(no,{role:"row",children:t.props.children.filter((e=>null!==e)).map(((t,r)=>e.jsx(ao,Object.assign({},t.props,{children:t.props.children}),r)))},r))):null,y=d("final"),A=y.length?C(y):null,D=A?A.map(((t,r)=>e.jsx(oo,{role:"row",children:t.props.children.filter((e=>null!==e)).map(((t,r)=>e.jsx(lo,Object.assign({},t.props,{children:t.props.children}),r)))},r))):null;return e.jsxs(Co,{$mode:n,$name:a,$template:o,role:"table",children:[e.jsx(Ja,{role:"rowheader",children:p}),x,v&&v,F&&F,D&&D]})},exports.TableContentWrapper=Ri,exports.TableHeadLabel=ur,exports.TableHeadWrapper=vr,exports.TableItemColumn=kr,exports.TableItemWrapper=Lr,exports.TableLabel=Ar,exports.TableRightGroup=fr,exports.TableRowGroup=wr,exports.TabsContainer=Vt,exports.TabsContent=qt,exports.TabsHeader=br,exports.TabsItem=Er,exports.TabsList=Br,exports.TabsWrapper=jr,exports.TextAreaComponent=t=>{var i,{$isError:n,reset:a,setReset:o,isForceUpdate:l,setForceUpdate:s,evChange:d,evBlur:C,isField:c,evChangeCustom:p,$isEmoji:h}=t,g=D(t,["$isError","reset","setReset","isForceUpdate","setForceUpdate","evChange","evBlur","isField","evChangeCustom","$isEmoji"]);const x=r.useRef(null),{name:m,defaultValue:u}=g,[v,w]=r.useState(null!==(i=null==u?void 0:u.toString())&&void 0!==i?i:"");r.useEffect((()=>{var e;l&&(w(null!==(e=null==u?void 0:u.toString())&&void 0!==e?e:""),s&&s(!1)),a&&(w(""),o&&o(!1))}),[l,s,a,o,u]);const f=e=>{const t=e.target.value;w(t)};let F=Object.assign({},g);return delete F.defaultValue,e.jsxs("div",{style:{position:"relative"},children:[e.jsx(ua,Object.assign({ref:x,$isError:n,value:v,onChange:e=>{f(e),d&&d(e)},onBlur:e=>{f(e),(e=>{C&&C(e),c&&m&&p&&p(m,e.target.value)})(e)}},F)),h?e.jsx(ma,{$mode:"textarea",evChange:e=>{var t;const r=v+e;if(w(r),m&&(null===(t=document.getElementsByName(m)[0])||void 0===t||t.focus()),x.current){const e={target:x.current,currentTarget:x.current};x.current.value=r,d&&d(e)}}}):null]})},exports.TextAreaRefComponent=va,exports.TextComponent=B,exports.Title=Ht,exports.TotalLabel=Yi,exports.UpdateContainer=Mr,exports.UploadComponent=t=>{var{children:r,mode:i}=t,n=D(t,["children","mode"]);const{id:a,width:o}=n;return"image"===i?e.jsxs(e.Fragment,{children:[r,e.jsx(Gn,Object.assign({},"data-idx"in n&&{"data-idx":n["data-idx"]},n["data-detail"]&&{"data-detail":n["data-detail"]},n))]}):e.jsxs(qn,{$width:o,children:[e.jsxs(Un,{htmlFor:a,children:[e.jsx(Rn,{}),e.jsx(Wn,{children:r})]}),e.jsx(Gn,Object.assign({},"data-idx"in n&&{"data-idx":n["data-idx"]},n["data-detail"]&&{"data-detail":n["data-detail"]},n))]})},exports.UploadDragDropComponent=t=>{var{children:i,id:n,name:a,evChange:o,evCreateMessage:l,label:s}=t,d=D(t,["children","id","name","evChange","evCreateMessage","label"]);const{accept:C}=d,[c,p]=r.useState(!1),h=e=>{e.preventDefault(),e.stopPropagation(),"dragenter"===e.type||"dragover"===e.type?p(!0):"dragleave"===e.type&&p(!1)};return e.jsxs(Zn,{onDragEnter:h,className:c?"drag-active":"",children:[e.jsx(Gn,Object.assign({id:n,name:a,onChange:e=>{e.preventDefault();const t=e.target;t.files&&t.files[0]&&o&&o(t.files)}},d)),e.jsx(Kn,{id:"label-file-dragdrop-upload",htmlFor:n,children:e.jsx($n,{children:i?e.jsxs(ea,{children:[e.jsx(ta,{}),e.jsx("span",{children:i})]}):e.jsxs(_n,{children:[null!=s?s:"Drag & Drop file here to upload, or ",e.jsx("span",{children:"browse"}),"."]})})}),c&&e.jsx(Jn,{onDragEnter:h,onDragLeave:h,onDragOver:h,onDrop:e=>{if(e.preventDefault(),e.stopPropagation(),p(!1),e.dataTransfer.files[0]){const t=C?C.split(",").map((e=>e.trim().replace(".",""))):null;for(let r=0;r<e.dataTransfer.files.length;r++){const i=e.dataTransfer.files[r].name.split(".").pop();if((null==t?void 0:t.length)&&i&&!t.includes(i)){const e=vt("failed","File type is not allowed. Please check again");return l&&l(e),!1}}o&&o(e.dataTransfer.files)}}})]})},exports.abbreviateNumber=e=>{let t="";if(void 0!==e&&(t=e.toString(),e>=1e3)){const r=["","k","m","b","t"],i=Math.floor((""+e).length/3);let n;for(let t=2;t>=1;t--){n=parseFloat((0!==i?e/Math.pow(1e3,i):e).toPrecision(t));if((n+"").replace(/[^a-zA-Z 0-9]+/g,"").length<=2)break}t=n+r[i]}return t},exports.buttonActiveShadowStyle=lt,exports.buttonActiveStyle=ot,exports.buttonHoverStyle=at,exports.buttonStyle=nt,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=Ke,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=st,exports.configDateRange=zo,exports.configDateRangeAnt=Io,exports.currencyNumber=ft,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 r;return function(...i){clearTimeout(r),r=setTimeout((()=>e.apply(this,i)),t)}},exports.dropBase=tt,exports.elipsis=$e,exports.errorMessage=e=>"unique"===e?"already exists":"is required",exports.errorTitle=xt,exports.evCheckAllValidation=e=>{let t=!1;for(let r=0;r<e.length;r++){const i=e[r],n=Object.keys(i);for(let e of n){if(Array.isArray(i[e]))for(let r=0;r<i[e].length;r++){const n=i[e][r],a=Object.keys(n);for(let e of a){if(Array.isArray(n[e]))for(let r=0;r<n[e].length;r++){const i=n[e][r],a=Object.keys(i);for(let e of a)if(-1===e.indexOf("_error")||t||(t=!0),t)break;if(t)break}else if(-1===e.indexOf("_error")||t||(t=!0),t)break;if(t)break}if(t)break}else if(-1===e.indexOf("_error")||t||(t=!0),t)break;if(t)break}}return t},exports.evCheckAllValidationByHeader=(e,t)=>{let r=!1;const i=(e,r,i,n=null)=>{const a=t.filter((t=>t.key===e&&t.validations));if(a.length){const e=a[0],t=e.typeData||"String",i=yt(t,r);return At(e,i,n||"")}return{approved:!0}},n=[];for(let t=0;t<e.length;t++){const a=e[t],o=Object.keys(a);for(const e of o){let t={approved:!0};if(Array.isArray(a[e]))for(let n=0;n<a[e].length;n++){const o=a[e][n],l=Object.keys(o);for(const e of l)if(Array.isArray(o[e]))for(let n=0;n<o[e].length;n++){const a=o[e][n],l=Object.keys(a);for(const n of l)t=i(n,a[n]),t.approved||(a[`${e}_error`]=t.errors[0],r||(r=!0)),-1===n.indexOf("_error")||r||(r=!0)}else t=i(e,o[e]),t.approved||(o[`${e}_error`]=t.errors[0],r||(r=!0)),-1===e.indexOf("_error")||r||(r=!0)}else t=i(e,a[e]),t.approved||(a[`${e}_error`]=t.errors[0],r||(r=!0)),-1===e.indexOf("_error")||r||(r=!0)}n.push(a)}return{error:r,data:n}},exports.evCheckAllValidationByHeaderWithVariant=(e,t)=>{let r=!1;const i=(e,r,i,n)=>{const a=t.filter((t=>t.key===e&&t.validations));if(a.length){const e=a[0],t=e.typeData||"String",i=yt(t,r);return At(e,i,void 0,Dt(e.validations,n))}return{approved:!0}};let n=[...e];for(let e=0;e<n.length;e++){let t=n[e],a=Object.keys(t);for(const e of a)if(Array.isArray(t[e])&&t[e].length&&"object"==typeof t[e][0])for(let n=0;n<t[e].length;n++){const a=t[e][n],o=Object.keys(a);for(const t of o)if(!Array.isArray(a[t])){const n=i(`${e}-${t}`,a[t],0,a);n.approved||(a[`${t}_error`]=n.errors[0],r||(r=!0))}}else{const n=i(e,t[e],0,t);n.approved||(t[`${e}_error`]=n.errors[0],r||(r=!0))}n.splice(e,1,t)}return{error:r,data:n}},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 r=e[t].querySelector("._refDropdownOverlay");r&&(r.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 r=t[e].querySelector("._refDropdownOverlay");r&&(r.style.display="none"),t[e].classList.remove("is-shown")}const r=document.querySelector("._refScrollContainer");if(document.getElementsByTagName("BODY")[0].classList.remove("is-immuned"),r){r.style.overflow="auto";r.firstChild.style.overflowY="unset"}}},exports.evExecuteError=e=>{const t=vt("failed","Validation Errors found, Please fix it!");e&&e(t);const r=document.querySelectorAll(".cell-error");r.length&&bt(r[0])},exports.evForceCloseDropdown=Et,exports.evGenerateValueMatch=Dt,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 r=e[t],i=document.querySelector(`#row-${r}`);if(i&&(i.classList.add("is-highlighted"),setTimeout((()=>{i.classList.remove("is-highlighted")}),1888)),t===e.length-1){const t=document.querySelector(`#row-${e[0]}`);t&&bt(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 r=String.fromCharCode(t);switch(e.shiftKey){case!1:r=r.toLowerCase();break;case!0:r=r.toUpperCase()}return r;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=bt,exports.evSetTotal=(e,t,r)=>{e&&t&&(t.innerText=`(${e})`,t.removeAttribute("hidden")),r&&"function"==typeof r&&r()},exports.evToogleSelect=()=>{const e=document.getElementsByClassName("_refContainer is-shown");if(e.length)for(let t=0;t<e.length;t++)e[t].classList.remove("is-shown")},exports.evUpdateInputRc=(e,t)=>{var r;if(!e)return!1;const i=null===(r=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"value"))||void 0===r?void 0:r.set;i&&i.call(e,void 0===t?"":t);const n=new Event("input",{bubbles:!0});e.dispatchEvent(n)},exports.formLabel=it,exports.formatNumber=mt,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=vt,exports.generateMessageQuestion=wt,exports.generateSUM=(e,t,r)=>{let i=0;return t&&e&&(i=t.reduce(((t,i)=>{let n;if(Array.isArray(e)){n=i;for(const t of e)t in n&&(n=n[t])}else n=i[e];return t+("currency"===r?parseInt(n.replace(/,.*|[^0-9]/g,"")):n)}),0)),i},exports.generateValue=yt,exports.generateValueTable=(e,t)=>{let r=e;if(t&&""!==e){const i=t.toLowerCase(),n="string"==typeof e?parseInt(e):e;/price/.test(i)?r=ft(n):/width/.test(i)||/length/.test(i)||/height/.test(i)?r=e+" cm":/weight/.test(i)?r=e+" gr":/discount/.test(i)&&(r=e+" %")}return r},exports.getSizeContainer=Ft,exports.getStorage=(e,t="string",r,i="load")=>{let n;switch(null!==sessionStorage.getItem(i)?n=null!==sessionStorage.getItem(e)?sessionStorage.getItem(e):r:(n=null!==localStorage.getItem(e)?localStorage.getItem(e):r,null!==localStorage.getItem(e)&&sessionStorage.setItem(e,n)),t){case"boolean":n=void 0!==n&&"undefined"!==n&&"true"===n;break;case"number":case"integer":n=void 0!==n&&"undefined"!==n?parseInt(n):0;break;case"object":case"array":n=void 0!==n&&"undefined"!==n?"string"==typeof n?""!==n?JSON.parse(n):void 0:n:void 0;break;default:n=void 0===n||"undefined"===n?"":n}return n},exports.headTable=rt,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=_e,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 r=e.value,i=e.selectionStart;e.value=r.slice(0,i)+t+r.slice(e.selectionEnd),e.selectionEnd=e.selectionStart=i+t.length}else if(void 0!==document.selection){var n=document.selection.createRange();n.text=t,n.collapse(!1),n.select()}},exports.removeStorage=e=>(localStorage.removeItem(e),sessionStorage.removeItem(e),!0),exports.responseWidth=Je,exports.setStorage=(e,t,r)=>{if(null==t)return!1;const i="string"!=typeof t?"object"==typeof t?JSON.stringify(t):t.toString():t;switch(r){case"session":sessionStorage.setItem(e,i);break;case"local":localStorage.setItem(e,i);break;default:sessionStorage.setItem(e,i),localStorage.setItem(e,i)}},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=et,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,r])=>(e[(e=>e.replace(/([a-z][A-Z])/g,(function(e){return e[0]+"_"+e[1].toLowerCase()})))(t)]=r,e)),{}),exports.unescapeHTML=e=>e?e.replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&amp;/g,"&"):e,exports.validateByApproveJs=At;
5108
5108
  //# sourceMappingURL=index.js.map