marketplacepos 3.7.2 → 3.7.3
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/Marketplace/{chunk-WIPT5BVZ.js → chunk-2T3C7JV2.js} +2 -2
- package/Marketplace/{chunk-VZO27DX6.js → chunk-2TI26R6R.js} +2 -2
- package/Marketplace/{chunk-H65V337R.js → chunk-3FSLTDK2.js} +1 -1
- package/Marketplace/{chunk-T5BNV4KL.js → chunk-3I7X7G5V.js} +1 -1
- package/Marketplace/{chunk-7QK5UPRO.js → chunk-3RHXQKFB.js} +1 -1
- package/Marketplace/chunk-3SG3EKQ3.js +1 -0
- package/Marketplace/{chunk-AE6IHJSI.js → chunk-43GAJ6WD.js} +1 -1
- package/Marketplace/{chunk-EJ4H3OFV.js → chunk-4OCVE5TR.js} +1 -1
- package/Marketplace/{chunk-KOEWWMXB.js → chunk-55IYK2MP.js} +1 -1
- package/Marketplace/{chunk-W5LP6HWA.js → chunk-5GBQIVIY.js} +1 -1
- package/Marketplace/{chunk-ONRH4TTU.js → chunk-5J3KK3OL.js} +1 -1
- package/Marketplace/chunk-5KFJSI3K.js +1 -0
- package/Marketplace/{chunk-CBW7JGFJ.js → chunk-5L5KIUTY.js} +1 -1
- package/Marketplace/{chunk-QHJPUEQJ.js → chunk-6AEIRWBB.js} +1 -1
- package/Marketplace/{chunk-HD4CTBL2.js → chunk-6HBCXTS4.js} +1 -1
- package/Marketplace/{chunk-GSZGHECR.js → chunk-7KEJK435.js} +1 -1
- package/Marketplace/{chunk-RNMZG2RU.js → chunk-7LUEPJ2P.js} +1 -1
- package/Marketplace/{chunk-NY3NDLUY.js → chunk-7WXWLZE6.js} +1 -1
- package/Marketplace/{chunk-ZA6GABVQ.js → chunk-AKFKM77U.js} +1 -1
- package/Marketplace/{chunk-3KV2JLZD.js → chunk-AZBCL75Q.js} +1 -1
- package/Marketplace/{chunk-JEIL7GTU.js → chunk-C2BQDUEV.js} +1 -1
- package/Marketplace/{chunk-4SAZAICQ.js → chunk-C2JFVBCK.js} +1 -1
- package/Marketplace/{chunk-JHT6TPR2.js → chunk-DEWN3AM5.js} +1 -1
- package/Marketplace/{chunk-B2H2LMDP.js → chunk-DXK4LS22.js} +1 -1
- package/Marketplace/{chunk-ULZ3J3BD.js → chunk-DXSLWAQX.js} +1 -1
- package/Marketplace/{chunk-NE4U3Z2F.js → chunk-EAABO2EV.js} +1 -1
- package/Marketplace/{chunk-CQJJCQOZ.js → chunk-FEDAZTKI.js} +1 -1
- package/Marketplace/{chunk-P7MI7GDE.js → chunk-FQHOMORA.js} +1 -1
- package/Marketplace/{chunk-PL4TRYLK.js → chunk-GGNPOSPC.js} +1 -1
- package/Marketplace/{chunk-MCTEEYBG.js → chunk-GLWEQ2ER.js} +1 -1
- package/Marketplace/{chunk-QWKP6LGP.js → chunk-GWVXLAM4.js} +1 -1
- package/Marketplace/{chunk-UUY6BTJU.js → chunk-HQMAKO4U.js} +1 -1
- package/Marketplace/{chunk-N6VKSGEM.js → chunk-IATB7RKG.js} +1 -1
- package/Marketplace/{chunk-JGSLR6Q7.js → chunk-IJNIZXOB.js} +1 -1
- package/Marketplace/{chunk-ZSK75YJW.js → chunk-JVPANFAL.js} +1 -1
- package/Marketplace/{chunk-F2WJC5YO.js → chunk-L7OJXQ77.js} +2 -2
- package/Marketplace/{chunk-H65R6LYY.js → chunk-LRQNHNRY.js} +1 -1
- package/Marketplace/{chunk-LQUPRVED.js → chunk-M5Z572X7.js} +1 -1
- package/Marketplace/{chunk-ZMMTX4YX.js → chunk-MAI7CBHC.js} +1 -1
- package/Marketplace/{chunk-F7PVCSNW.js → chunk-MLVLUUHO.js} +1 -1
- package/Marketplace/{chunk-VM5LF2AQ.js → chunk-N46PJUA5.js} +1 -1
- package/Marketplace/{chunk-LU4CQUNV.js → chunk-NCBXZDJX.js} +1 -1
- package/Marketplace/{chunk-GSZSRSYG.js → chunk-NIBADICW.js} +1 -1
- package/Marketplace/{chunk-LPD77TVJ.js → chunk-NXJ4V4YK.js} +1 -1
- package/Marketplace/{chunk-37MHCWTD.js → chunk-O3LNYZ4M.js} +1 -1
- package/Marketplace/{chunk-MG7FPXZX.js → chunk-PYALJMBO.js} +1 -1
- package/Marketplace/{chunk-MQUFUG4I.js → chunk-QGZX7NE7.js} +1 -1
- package/Marketplace/{chunk-I66FBNYV.js → chunk-QQ47EB3G.js} +1 -1
- package/Marketplace/{chunk-HIX2BUDB.js → chunk-RZS2AMLW.js} +1 -1
- package/Marketplace/{chunk-27IVVEQ5.js → chunk-SEWZHFIK.js} +1 -1
- package/Marketplace/{chunk-QOBUHJEC.js → chunk-T4LIIUEO.js} +1 -1
- package/Marketplace/{chunk-LV7NKX2V.js → chunk-TCPJNRJT.js} +1 -1
- package/Marketplace/{chunk-T4IQWUBV.js → chunk-TEFJMIF6.js} +1 -1
- package/Marketplace/{chunk-RQWHADXY.js → chunk-TFNZ2JVX.js} +1 -1
- package/Marketplace/{chunk-4Z75AP5X.js → chunk-TGUXB6A6.js} +1 -1
- package/Marketplace/{chunk-IANWTXDM.js → chunk-TWKTPY5E.js} +1 -1
- package/Marketplace/{chunk-PSAPUCAJ.js → chunk-TXMYJ7NJ.js} +1 -1
- package/Marketplace/{chunk-JOI2R7DA.js → chunk-UCFGCNLH.js} +1 -1
- package/Marketplace/{chunk-6GVQC3OR.js → chunk-YJLWIQ6B.js} +1 -1
- package/Marketplace/{chunk-2SYJDDTX.js → chunk-Z7LEVL23.js} +1 -1
- package/Marketplace/index.html +2 -2
- package/Marketplace/{main-AUAZAZGD.js → main-FR3NRD5D.js} +1 -1
- package/Marketplace/{styles-DC4DACOA.css → styles-RDEF5CK2.css} +1 -1
- package/package.json +1 -1
- package/Marketplace/chunk-5CBOZ77Z.js +0 -1
- package/Marketplace/chunk-FX4KZMXX.js +0 -1
- /package/Marketplace/{chunk-QYP6WXYL.js → chunk-2XBPNKZX.js} +0 -0
- /package/Marketplace/{chunk-VS4FYYKI.js → chunk-GURYDDY4.js} +0 -0
- /package/Marketplace/{chunk-5DL35YCG.js → chunk-K3WUITRV.js} +0 -0
- /package/Marketplace/{chunk-FG5W5K4B.js → chunk-W3FHD4GW.js} +0 -0
- /package/Marketplace/{polyfills-FXABYPWM.js → polyfills-ROFNJMEJ.js} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
import{J as w,L as q,a as Y}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.7.2/Marketplace/chunk-7QK5UPRO.js";import{$ as M,Ba as j,E as A,Ea as I,Ga as d,I as T,La as z,M as b,Na as H,P as L,Qa as k,Vb as F,X as v,a as y,aa as x,ba as E,ca as g,da as O,ea as P,fa as D,jc as B,kb as W,lb as $,n as f,o as R,oa as U,q as u,qc as V,w as N,xa as m}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.7.2/Marketplace/chunk-CQJJCQOZ.js";var tt=["*"],S;function et(){if(S===void 0&&(S=null,typeof window<"u")){let r=window;r.trustedTypes!==void 0&&(S=r.trustedTypes.createPolicy("angular#components",{createHTML:s=>s}))}return S}function _(r){return et()?.createHTML(r)||r}function G(r){return Error(`Unable to find icon with the name "${r}"`)}function nt(){return Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.")}function J(r){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${r}".`)}function K(r){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${r}".`)}var a=class{constructor(s,Z,t){this.url=s,this.svgText=Z,this.options=t}},it=(()=>{let s=class s{constructor(t,e,n,i){this._httpClient=t,this._sanitizer=e,this._errorHandler=i,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=n}addSvgIcon(t,e,n){return this.addSvgIconInNamespace("",t,e,n)}addSvgIconLiteral(t,e,n){return this.addSvgIconLiteralInNamespace("",t,e,n)}addSvgIconInNamespace(t,e,n,i){return this._addSvgIconConfig(t,e,new a(n,null,i))}addSvgIconResolver(t){return this._resolvers.push(t),this}addSvgIconLiteralInNamespace(t,e,n,i){let o=this._sanitizer.sanitize(m.HTML,n);if(!o)throw K(n);let c=_(o);return this._addSvgIconConfig(t,e,new a("",c,i))}addSvgIconSet(t,e){return this.addSvgIconSetInNamespace("",t,e)}addSvgIconSetLiteral(t,e){return this.addSvgIconSetLiteralInNamespace("",t,e)}addSvgIconSetInNamespace(t,e,n){return this._addSvgIconSetConfig(t,new a(e,null,n))}addSvgIconSetLiteralInNamespace(t,e,n){let i=this._sanitizer.sanitize(m.HTML,e);if(!i)throw K(e);let o=_(i);return this._addSvgIconSetConfig(t,new a("",o,n))}registerFontClassAlias(t,e=t){return this._fontCssClassesByAlias.set(t,e),this}classNameForFontAlias(t){return this._fontCssClassesByAlias.get(t)||t}setDefaultFontSetClass(...t){return this._defaultFontSetClass=t,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(t){let e=this._sanitizer.sanitize(m.RESOURCE_URL,t);if(!e)throw J(t);let n=this._cachedIconsByUrl.get(e);return n?f(C(n)):this._loadSvgIconFromConfig(new a(t,null)).pipe(v(i=>this._cachedIconsByUrl.set(e,i)),u(i=>C(i)))}getNamedSvgIcon(t,e=""){let n=Q(e,t),i=this._svgIconConfigs.get(n);if(i)return this._getSvgFromConfig(i);if(i=this._getIconConfigFromResolvers(e,t),i)return this._svgIconConfigs.set(n,i),this._getSvgFromConfig(i);let o=this._iconSetConfigs.get(e);return o?this._getSvgFromIconSetConfigs(t,o):R(G(n))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(t){return t.svgText?f(C(this._svgElementFromConfig(t))):this._loadSvgIconFromConfig(t).pipe(u(e=>C(e)))}_getSvgFromIconSetConfigs(t,e){let n=this._extractIconWithNameFromAnySet(t,e);if(n)return f(n);let i=e.filter(o=>!o.svgText).map(o=>this._loadSvgIconSetFromConfig(o).pipe(A(c=>{let h=`Loading icon set URL: ${this._sanitizer.sanitize(m.RESOURCE_URL,o.url)} failed: ${c.message}`;return this._errorHandler.handleError(new Error(h)),f(null)})));return N(i).pipe(u(()=>{let o=this._extractIconWithNameFromAnySet(t,e);if(!o)throw G(t);return o}))}_extractIconWithNameFromAnySet(t,e){for(let n=e.length-1;n>=0;n--){let i=e[n];if(i.svgText&&i.svgText.toString().indexOf(t)>-1){let o=this._svgElementFromConfig(i),c=this._extractSvgIconFromSet(o,t,i.options);if(c)return c}}return null}_loadSvgIconFromConfig(t){return this._fetchIcon(t).pipe(v(e=>t.svgText=e),u(()=>this._svgElementFromConfig(t)))}_loadSvgIconSetFromConfig(t){return t.svgText?f(null):this._fetchIcon(t).pipe(v(e=>t.svgText=e))}_extractSvgIconFromSet(t,e,n){let i=t.querySelector(`[id="${e}"]`);if(!i)return null;let o=i.cloneNode(!0);if(o.removeAttribute("id"),o.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(o,n);if(o.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(o),n);let c=this._svgElementFromString(_("<svg></svg>"));return c.appendChild(o),this._setSvgAttributes(c,n)}_svgElementFromString(t){let e=this._document.createElement("DIV");e.innerHTML=t;let n=e.querySelector("svg");if(!n)throw Error("<svg> tag not found");return n}_toSvgElement(t){let e=this._svgElementFromString(_("<svg></svg>")),n=t.attributes;for(let i=0;i<n.length;i++){let{name:o,value:c}=n[i];o!=="id"&&e.setAttribute(o,c)}for(let i=0;i<t.childNodes.length;i++)t.childNodes[i].nodeType===this._document.ELEMENT_NODE&&e.appendChild(t.childNodes[i].cloneNode(!0));return e}_setSvgAttributes(t,e){return t.setAttribute("fit",""),t.setAttribute("height","100%"),t.setAttribute("width","100%"),t.setAttribute("preserveAspectRatio","xMidYMid meet"),t.setAttribute("focusable","false"),e&&e.viewBox&&t.setAttribute("viewBox",e.viewBox),t}_fetchIcon(t){let{url:e,options:n}=t,i=n?.withCredentials??!1;if(!this._httpClient)throw nt();if(e==null)throw Error(`Cannot fetch icon from URL "${e}".`);let o=this._sanitizer.sanitize(m.RESOURCE_URL,e);if(!o)throw J(e);let c=this._inProgressUrlFetches.get(o);if(c)return c;let l=this._httpClient.get(o,{responseType:"text",withCredentials:i}).pipe(u(h=>_(h)),b(()=>this._inProgressUrlFetches.delete(o)),L());return this._inProgressUrlFetches.set(o,l),l}_addSvgIconConfig(t,e,n){return this._svgIconConfigs.set(Q(t,e),n),this}_addSvgIconSetConfig(t,e){let n=this._iconSetConfigs.get(t);return n?n.push(e):this._iconSetConfigs.set(t,[e]),this}_svgElementFromConfig(t){if(!t.svgElement){let e=this._svgElementFromString(t.svgText);this._setSvgAttributes(e,t.options),t.svgElement=e}return t.svgElement}_getIconConfigFromResolvers(t,e){for(let n=0;n<this._resolvers.length;n++){let i=this._resolvers[n](e,t);if(i)return ot(i)?new a(i.url,null,i.options):new a(i,null)}}};s.\u0275fac=function(e){return new(e||s)(g(B,8),g(V),g(F,8),g(I))},s.\u0275prov=M({token:s,factory:s.\u0275fac,providedIn:"root"});let r=s;return r})();function C(r){return r.cloneNode(!0)}function Q(r,s){return r+":"+s}function ot(r){return!!(r.url&&r.options)}var rt=q(class{constructor(r){this._elementRef=r}}),st=new E("MAT_ICON_DEFAULT_OPTIONS"),ct=new E("mat-icon-location",{providedIn:"root",factory:at});function at(){let r=O(F),s=r?r.location:null;return{getPathname:()=>s?s.pathname+s.search:""}}var X=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],lt=X.map(r=>`[${r}]`).join(", "),ht=/^url\(['"]?#(.*?)['"]?\)$/,bt=(()=>{let s=class s extends rt{get inline(){return this._inline}set inline(t){this._inline=Y(t)}get svgIcon(){return this._svgIcon}set svgIcon(t){t!==this._svgIcon&&(t?this._updateSvgIcon(t):this._svgIcon&&this._clearSvgElement(),this._svgIcon=t)}get fontSet(){return this._fontSet}set fontSet(t){let e=this._cleanupFontValue(t);e!==this._fontSet&&(this._fontSet=e,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(t){let e=this._cleanupFontValue(t);e!==this._fontIcon&&(this._fontIcon=e,this._updateFontIconClasses())}constructor(t,e,n,i,o,c){super(t),this._iconRegistry=e,this._location=i,this._errorHandler=o,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=y.EMPTY,c&&(c.color&&(this.color=this.defaultColor=c.color),c.fontSet&&(this.fontSet=c.fontSet)),n||t.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(t){if(!t)return["",""];let e=t.split(":");switch(e.length){case 1:return["",e[0]];case 2:return e;default:throw Error(`Invalid icon name: "${t}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let t=this._elementsWithExternalReferences;if(t&&t.size){let e=this._location.getPathname();e!==this._previousPath&&(this._previousPath=e,this._prependPathToReferences(e))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(t){this._clearSvgElement();let e=this._location.getPathname();this._previousPath=e,this._cacheChildrenWithExternalReferences(t),this._prependPathToReferences(e),this._elementRef.nativeElement.appendChild(t)}_clearSvgElement(){let t=this._elementRef.nativeElement,e=t.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();e--;){let n=t.childNodes[e];(n.nodeType!==1||n.nodeName.toLowerCase()==="svg")&&n.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let t=this._elementRef.nativeElement,e=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(n=>n.length>0);this._previousFontSetClass.forEach(n=>t.classList.remove(n)),e.forEach(n=>t.classList.add(n)),this._previousFontSetClass=e,this.fontIcon!==this._previousFontIconClass&&!e.includes("mat-ligature-font")&&(this._previousFontIconClass&&t.classList.remove(this._previousFontIconClass),this.fontIcon&&t.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(t){return typeof t=="string"?t.trim().split(" ")[0]:t}_prependPathToReferences(t){let e=this._elementsWithExternalReferences;e&&e.forEach((n,i)=>{n.forEach(o=>{i.setAttribute(o.name,`url('${t}#${o.value}')`)})})}_cacheChildrenWithExternalReferences(t){let e=t.querySelectorAll(lt),n=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let i=0;i<e.length;i++)X.forEach(o=>{let c=e[i],l=c.getAttribute(o),h=l?l.match(ht):null;if(h){let p=n.get(c);p||(p=[],n.set(c,p)),p.push({name:o,value:h[1]})}})}_updateSvgIcon(t){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),t){let[e,n]=this._splitIconName(t);e&&(this._svgNamespace=e),n&&(this._svgName=n),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(n,e).pipe(T(1)).subscribe(i=>this._setSvgElement(i),i=>{let o=`Error retrieving icon ${e}:${n}! ${i.message}`;this._errorHandler.handleError(new Error(o))})}}};s.\u0275fac=function(e){return new(e||s)(d(j),d(it),U("aria-hidden"),d(ct),d(I),d(st,8))},s.\u0275cmp=P({type:s,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:8,hostBindings:function(e,n){e&2&&(H("data-mat-icon-type",n._usingFontIcon()?"font":"svg")("data-mat-icon-name",n._svgName||n.fontIcon)("data-mat-icon-namespace",n._svgNamespace||n.fontSet)("fontIcon",n._usingFontIcon()?n.fontIcon:null),k("mat-icon-inline",n.inline)("mat-icon-no-color",n.color!=="primary"&&n.color!=="accent"&&n.color!=="warn"))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[z],ngContentSelectors:tt,decls:1,vars:0,template:function(e,n){e&1&&(W(),$(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0});let r=s;return r})(),Lt=(()=>{let s=class s{};s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=D({type:s}),s.\u0275inj=x({imports:[w,w]});let r=s;return r})();export{bt as a,Lt as b};
|
|
1
|
+
import{J as w,L as q,a as Y}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.7.3/Marketplace/chunk-3RHXQKFB.js";import{$ as M,Ba as j,E as A,Ea as I,Ga as d,I as T,La as z,M as b,Na as H,P as L,Qa as k,Vb as F,X as v,a as y,aa as x,ba as E,ca as g,da as O,ea as P,fa as D,jc as B,kb as W,lb as $,n as f,o as R,oa as U,q as u,qc as V,w as N,xa as m}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.7.3/Marketplace/chunk-FEDAZTKI.js";var tt=["*"],S;function et(){if(S===void 0&&(S=null,typeof window<"u")){let r=window;r.trustedTypes!==void 0&&(S=r.trustedTypes.createPolicy("angular#components",{createHTML:s=>s}))}return S}function _(r){return et()?.createHTML(r)||r}function G(r){return Error(`Unable to find icon with the name "${r}"`)}function nt(){return Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.")}function J(r){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${r}".`)}function K(r){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${r}".`)}var a=class{constructor(s,Z,t){this.url=s,this.svgText=Z,this.options=t}},it=(()=>{let s=class s{constructor(t,e,n,i){this._httpClient=t,this._sanitizer=e,this._errorHandler=i,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=n}addSvgIcon(t,e,n){return this.addSvgIconInNamespace("",t,e,n)}addSvgIconLiteral(t,e,n){return this.addSvgIconLiteralInNamespace("",t,e,n)}addSvgIconInNamespace(t,e,n,i){return this._addSvgIconConfig(t,e,new a(n,null,i))}addSvgIconResolver(t){return this._resolvers.push(t),this}addSvgIconLiteralInNamespace(t,e,n,i){let o=this._sanitizer.sanitize(m.HTML,n);if(!o)throw K(n);let c=_(o);return this._addSvgIconConfig(t,e,new a("",c,i))}addSvgIconSet(t,e){return this.addSvgIconSetInNamespace("",t,e)}addSvgIconSetLiteral(t,e){return this.addSvgIconSetLiteralInNamespace("",t,e)}addSvgIconSetInNamespace(t,e,n){return this._addSvgIconSetConfig(t,new a(e,null,n))}addSvgIconSetLiteralInNamespace(t,e,n){let i=this._sanitizer.sanitize(m.HTML,e);if(!i)throw K(e);let o=_(i);return this._addSvgIconSetConfig(t,new a("",o,n))}registerFontClassAlias(t,e=t){return this._fontCssClassesByAlias.set(t,e),this}classNameForFontAlias(t){return this._fontCssClassesByAlias.get(t)||t}setDefaultFontSetClass(...t){return this._defaultFontSetClass=t,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(t){let e=this._sanitizer.sanitize(m.RESOURCE_URL,t);if(!e)throw J(t);let n=this._cachedIconsByUrl.get(e);return n?f(C(n)):this._loadSvgIconFromConfig(new a(t,null)).pipe(v(i=>this._cachedIconsByUrl.set(e,i)),u(i=>C(i)))}getNamedSvgIcon(t,e=""){let n=Q(e,t),i=this._svgIconConfigs.get(n);if(i)return this._getSvgFromConfig(i);if(i=this._getIconConfigFromResolvers(e,t),i)return this._svgIconConfigs.set(n,i),this._getSvgFromConfig(i);let o=this._iconSetConfigs.get(e);return o?this._getSvgFromIconSetConfigs(t,o):R(G(n))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(t){return t.svgText?f(C(this._svgElementFromConfig(t))):this._loadSvgIconFromConfig(t).pipe(u(e=>C(e)))}_getSvgFromIconSetConfigs(t,e){let n=this._extractIconWithNameFromAnySet(t,e);if(n)return f(n);let i=e.filter(o=>!o.svgText).map(o=>this._loadSvgIconSetFromConfig(o).pipe(A(c=>{let h=`Loading icon set URL: ${this._sanitizer.sanitize(m.RESOURCE_URL,o.url)} failed: ${c.message}`;return this._errorHandler.handleError(new Error(h)),f(null)})));return N(i).pipe(u(()=>{let o=this._extractIconWithNameFromAnySet(t,e);if(!o)throw G(t);return o}))}_extractIconWithNameFromAnySet(t,e){for(let n=e.length-1;n>=0;n--){let i=e[n];if(i.svgText&&i.svgText.toString().indexOf(t)>-1){let o=this._svgElementFromConfig(i),c=this._extractSvgIconFromSet(o,t,i.options);if(c)return c}}return null}_loadSvgIconFromConfig(t){return this._fetchIcon(t).pipe(v(e=>t.svgText=e),u(()=>this._svgElementFromConfig(t)))}_loadSvgIconSetFromConfig(t){return t.svgText?f(null):this._fetchIcon(t).pipe(v(e=>t.svgText=e))}_extractSvgIconFromSet(t,e,n){let i=t.querySelector(`[id="${e}"]`);if(!i)return null;let o=i.cloneNode(!0);if(o.removeAttribute("id"),o.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(o,n);if(o.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(o),n);let c=this._svgElementFromString(_("<svg></svg>"));return c.appendChild(o),this._setSvgAttributes(c,n)}_svgElementFromString(t){let e=this._document.createElement("DIV");e.innerHTML=t;let n=e.querySelector("svg");if(!n)throw Error("<svg> tag not found");return n}_toSvgElement(t){let e=this._svgElementFromString(_("<svg></svg>")),n=t.attributes;for(let i=0;i<n.length;i++){let{name:o,value:c}=n[i];o!=="id"&&e.setAttribute(o,c)}for(let i=0;i<t.childNodes.length;i++)t.childNodes[i].nodeType===this._document.ELEMENT_NODE&&e.appendChild(t.childNodes[i].cloneNode(!0));return e}_setSvgAttributes(t,e){return t.setAttribute("fit",""),t.setAttribute("height","100%"),t.setAttribute("width","100%"),t.setAttribute("preserveAspectRatio","xMidYMid meet"),t.setAttribute("focusable","false"),e&&e.viewBox&&t.setAttribute("viewBox",e.viewBox),t}_fetchIcon(t){let{url:e,options:n}=t,i=n?.withCredentials??!1;if(!this._httpClient)throw nt();if(e==null)throw Error(`Cannot fetch icon from URL "${e}".`);let o=this._sanitizer.sanitize(m.RESOURCE_URL,e);if(!o)throw J(e);let c=this._inProgressUrlFetches.get(o);if(c)return c;let l=this._httpClient.get(o,{responseType:"text",withCredentials:i}).pipe(u(h=>_(h)),b(()=>this._inProgressUrlFetches.delete(o)),L());return this._inProgressUrlFetches.set(o,l),l}_addSvgIconConfig(t,e,n){return this._svgIconConfigs.set(Q(t,e),n),this}_addSvgIconSetConfig(t,e){let n=this._iconSetConfigs.get(t);return n?n.push(e):this._iconSetConfigs.set(t,[e]),this}_svgElementFromConfig(t){if(!t.svgElement){let e=this._svgElementFromString(t.svgText);this._setSvgAttributes(e,t.options),t.svgElement=e}return t.svgElement}_getIconConfigFromResolvers(t,e){for(let n=0;n<this._resolvers.length;n++){let i=this._resolvers[n](e,t);if(i)return ot(i)?new a(i.url,null,i.options):new a(i,null)}}};s.\u0275fac=function(e){return new(e||s)(g(B,8),g(V),g(F,8),g(I))},s.\u0275prov=M({token:s,factory:s.\u0275fac,providedIn:"root"});let r=s;return r})();function C(r){return r.cloneNode(!0)}function Q(r,s){return r+":"+s}function ot(r){return!!(r.url&&r.options)}var rt=q(class{constructor(r){this._elementRef=r}}),st=new E("MAT_ICON_DEFAULT_OPTIONS"),ct=new E("mat-icon-location",{providedIn:"root",factory:at});function at(){let r=O(F),s=r?r.location:null;return{getPathname:()=>s?s.pathname+s.search:""}}var X=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],lt=X.map(r=>`[${r}]`).join(", "),ht=/^url\(['"]?#(.*?)['"]?\)$/,bt=(()=>{let s=class s extends rt{get inline(){return this._inline}set inline(t){this._inline=Y(t)}get svgIcon(){return this._svgIcon}set svgIcon(t){t!==this._svgIcon&&(t?this._updateSvgIcon(t):this._svgIcon&&this._clearSvgElement(),this._svgIcon=t)}get fontSet(){return this._fontSet}set fontSet(t){let e=this._cleanupFontValue(t);e!==this._fontSet&&(this._fontSet=e,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(t){let e=this._cleanupFontValue(t);e!==this._fontIcon&&(this._fontIcon=e,this._updateFontIconClasses())}constructor(t,e,n,i,o,c){super(t),this._iconRegistry=e,this._location=i,this._errorHandler=o,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=y.EMPTY,c&&(c.color&&(this.color=this.defaultColor=c.color),c.fontSet&&(this.fontSet=c.fontSet)),n||t.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(t){if(!t)return["",""];let e=t.split(":");switch(e.length){case 1:return["",e[0]];case 2:return e;default:throw Error(`Invalid icon name: "${t}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let t=this._elementsWithExternalReferences;if(t&&t.size){let e=this._location.getPathname();e!==this._previousPath&&(this._previousPath=e,this._prependPathToReferences(e))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(t){this._clearSvgElement();let e=this._location.getPathname();this._previousPath=e,this._cacheChildrenWithExternalReferences(t),this._prependPathToReferences(e),this._elementRef.nativeElement.appendChild(t)}_clearSvgElement(){let t=this._elementRef.nativeElement,e=t.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();e--;){let n=t.childNodes[e];(n.nodeType!==1||n.nodeName.toLowerCase()==="svg")&&n.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let t=this._elementRef.nativeElement,e=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(n=>n.length>0);this._previousFontSetClass.forEach(n=>t.classList.remove(n)),e.forEach(n=>t.classList.add(n)),this._previousFontSetClass=e,this.fontIcon!==this._previousFontIconClass&&!e.includes("mat-ligature-font")&&(this._previousFontIconClass&&t.classList.remove(this._previousFontIconClass),this.fontIcon&&t.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(t){return typeof t=="string"?t.trim().split(" ")[0]:t}_prependPathToReferences(t){let e=this._elementsWithExternalReferences;e&&e.forEach((n,i)=>{n.forEach(o=>{i.setAttribute(o.name,`url('${t}#${o.value}')`)})})}_cacheChildrenWithExternalReferences(t){let e=t.querySelectorAll(lt),n=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let i=0;i<e.length;i++)X.forEach(o=>{let c=e[i],l=c.getAttribute(o),h=l?l.match(ht):null;if(h){let p=n.get(c);p||(p=[],n.set(c,p)),p.push({name:o,value:h[1]})}})}_updateSvgIcon(t){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),t){let[e,n]=this._splitIconName(t);e&&(this._svgNamespace=e),n&&(this._svgName=n),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(n,e).pipe(T(1)).subscribe(i=>this._setSvgElement(i),i=>{let o=`Error retrieving icon ${e}:${n}! ${i.message}`;this._errorHandler.handleError(new Error(o))})}}};s.\u0275fac=function(e){return new(e||s)(d(j),d(it),U("aria-hidden"),d(ct),d(I),d(st,8))},s.\u0275cmp=P({type:s,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:8,hostBindings:function(e,n){e&2&&(H("data-mat-icon-type",n._usingFontIcon()?"font":"svg")("data-mat-icon-name",n._svgName||n.fontIcon)("data-mat-icon-namespace",n._svgNamespace||n.fontSet)("fontIcon",n._usingFontIcon()?n.fontIcon:null),k("mat-icon-inline",n.inline)("mat-icon-no-color",n.color!=="primary"&&n.color!=="accent"&&n.color!=="warn"))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[z],ngContentSelectors:tt,decls:1,vars:0,template:function(e,n){e&1&&(W(),$(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0});let r=s;return r})(),Lt=(()=>{let s=class s{};s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=D({type:s}),s.\u0275inj=x({imports:[w,w]});let r=s;return r})();export{bt as a,Lt as b};
|
package/Marketplace/index.html
CHANGED
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
<script>
|
|
18
18
|
(function () { var w = window; var ic = w.Intercom; if (typeof ic === "function") { ic('reattach_activator'); ic('update', w.intercomSettings); } else { var d = document; var i = function () { i.c(arguments); }; i.q = []; i.c = function (args) { i.q.push(args); }; w.Intercom = i; var l = function () { var s = d.createElement('script'); s.type = 'text/javascript'; s.async = true; s.src = 'https://widget.intercom.io/widget/xv1oomgl'; var x = d.getElementsByTagName('script')[0]; x.parentNode.insertBefore(s, x); }; if (w.attachEvent) { w.attachEvent('onload', l); } else { w.addEventListener('load', l, false); } } })();
|
|
19
19
|
</script>
|
|
20
|
-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/marketplacepos@3.7.
|
|
20
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/marketplacepos@3.7.3/Marketplace/styles-RDEF5CK2.css"><link rel="modulepreload" href="https://cdn.jsdelivr.net/npm/marketplacepos@3.7.3/Marketplace/chunk-MLVLUUHO.js"><link rel="modulepreload" href="https://cdn.jsdelivr.net/npm/marketplacepos@3.7.3/Marketplace/chunk-2T3C7JV2.js"><link rel="modulepreload" href="https://cdn.jsdelivr.net/npm/marketplacepos@3.7.3/Marketplace/chunk-IJNIZXOB.js"><link rel="modulepreload" href="https://cdn.jsdelivr.net/npm/marketplacepos@3.7.3/Marketplace/chunk-PYALJMBO.js"><link rel="modulepreload" href="https://cdn.jsdelivr.net/npm/marketplacepos@3.7.3/Marketplace/chunk-N46PJUA5.js"><link rel="modulepreload" href="https://cdn.jsdelivr.net/npm/marketplacepos@3.7.3/Marketplace/chunk-JVPANFAL.js"><link rel="modulepreload" href="https://cdn.jsdelivr.net/npm/marketplacepos@3.7.3/Marketplace/chunk-TEFJMIF6.js"><link rel="modulepreload" href="https://cdn.jsdelivr.net/npm/marketplacepos@3.7.3/Marketplace/chunk-3RHXQKFB.js"><link rel="modulepreload" href="https://cdn.jsdelivr.net/npm/marketplacepos@3.7.3/Marketplace/chunk-2XBPNKZX.js"><link rel="modulepreload" href="https://cdn.jsdelivr.net/npm/marketplacepos@3.7.3/Marketplace/chunk-FEDAZTKI.js"><link rel="modulepreload" href="https://cdn.jsdelivr.net/npm/marketplacepos@3.7.3/Marketplace/chunk-W3FHD4GW.js"></head>
|
|
21
21
|
<body>
|
|
22
22
|
<app-root></app-root>
|
|
23
|
-
<script src="https://cdn.jsdelivr.net/npm/marketplacepos@3.7.
|
|
23
|
+
<script src="https://cdn.jsdelivr.net/npm/marketplacepos@3.7.3/Marketplace/polyfills-ROFNJMEJ.js" type="module"></script><script src="https://cdn.jsdelivr.net/npm/marketplacepos@3.7.3/Marketplace/scripts-M46NWPTC.js" defer></script><script src="https://cdn.jsdelivr.net/npm/marketplacepos@3.7.3/Marketplace/main-FR3NRD5D.js" type="module"></script></body>
|
|
24
24
|
</html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as F}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.7.2/Marketplace/chunk-F7PVCSNW.js";import{a as Ie,b as we,c as Fe,e as Be}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.7.2/Marketplace/chunk-WIPT5BVZ.js";import{a as xe}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.7.2/Marketplace/chunk-JGSLR6Q7.js";import{a as _e,b as ve,c as ye,d as Pe,e as Me}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.7.2/Marketplace/chunk-MG7FPXZX.js";import"https://cdn.jsdelivr.net/npm/marketplacepos@3.7.2/Marketplace/chunk-VM5LF2AQ.js";import{c as Te}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.7.2/Marketplace/chunk-ZSK75YJW.js";import{f as He}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.7.2/Marketplace/chunk-T4IQWUBV.js";import{p as Re}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.7.2/Marketplace/chunk-7QK5UPRO.js";import"https://cdn.jsdelivr.net/npm/marketplacepos@3.7.2/Marketplace/chunk-QYP6WXYL.js";import{$ as P,$a as c,$b as pe,A as J,B as N,C as Z,Cb as se,Db as ae,Fa as i,Fc as Oe,G as E,Ga as f,Gc as Se,Hc as De,Ic as T,K,La as m,Lc as Y,M as Q,Na as $,Oa as a,Ob as ce,Pa as s,Qa as b,Ra as D,T as L,Ua as y,X as ee,Xb as le,Yb as de,Za as d,_a as p,_b as I,aa as _,bc as ue,ca as S,cb as oe,db as q,e as B,ea as g,fa as v,fc as ge,ga as te,hb as A,ja as j,jb as l,ka as U,kc as w,lc as me,na as k,nc as fe,oc as ke,pb as M,pc as be,q as R,qb as ie,rb as re,s as X,sc as Ce,tc as V,wb as x,wc as C,xc as he,y as H,ya as ne,yc as W,zc as G}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.7.2/Marketplace/chunk-CQJJCQOZ.js";import"https://cdn.jsdelivr.net/npm/marketplacepos@3.7.2/Marketplace/chunk-FG5W5K4B.js";function ze(e,o){e&1&&oe(0)}function Xe(e,o){if(e&1&&c(0,"sk-cube-grid",4),e&2){let t=l(2);a("backgroundColor",t.backgroundColor)}}function Je(e,o){if(e&1&&c(0,"sk-chasing-dots",4),e&2){let t=l(2);a("backgroundColor",t.backgroundColor)}}function Ze(e,o){if(e&1&&c(0,"sk-double-bounce",4),e&2){let t=l(2);a("backgroundColor",t.backgroundColor)}}function Ke(e,o){if(e&1&&c(0,"sk-rotating-plane",4),e&2){let t=l(2);a("backgroundColor",t.backgroundColor)}}function Qe(e,o){if(e&1&&c(0,"sk-spinner-pulse",4),e&2){let t=l(2);a("backgroundColor",t.backgroundColor)}}function et(e,o){if(e&1&&c(0,"sk-three-bounce",4),e&2){let t=l(2);a("backgroundColor",t.backgroundColor)}}function tt(e,o){if(e&1&&c(0,"sk-wandering-cubes",4),e&2){let t=l(2);a("backgroundColor",t.backgroundColor)}}function nt(e,o){if(e&1&&c(0,"sk-wave",4),e&2){let t=l(2);a("backgroundColor",t.backgroundColor)}}var ot=e=>({"background-color":e});function it(e,o){if(e&1&&(d(0,"div",1),y(1,ze,1,0,"ng-container",2)(2,Xe,1,1,"sk-cube-grid",3)(3,Je,1,1,"sk-chasing-dots",3)(4,Ze,1,1,"sk-double-bounce",3)(5,Ke,1,1,"sk-rotating-plane",3)(6,Qe,1,1,"sk-spinner-pulse",3)(7,et,1,1,"sk-three-bounce",3)(8,tt,1,1,"sk-wandering-cubes",3)(9,nt,1,1,"sk-wave",3),p()),e&2){let t=l();s("opacity",t.opacity),b("backdrop",t.backdrop),a("ngStyle",x(14,ot,t.backdrop?t.backdropBackgroundColor:"transparent")),i(1),a("ngComponentOutlet",t.entryComponent),i(1),a("ngIf",t.spinner===t.spinkit.skCubeGrid),i(1),a("ngIf",t.spinner===t.spinkit.skChasingDots),i(1),a("ngIf",t.spinner===t.spinkit.skDoubleBounce),i(1),a("ngIf",t.spinner===t.spinkit.skRotatingPlane),i(1),a("ngIf",t.spinner===t.spinkit.skSpinnerPulse),i(1),a("ngIf",t.spinner===t.spinkit.skThreeBounce),i(1),a("ngIf",t.spinner===t.spinkit.skWanderingCubes),i(1),a("ngIf",t.spinner===t.spinkit.skWave)}}var h=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=te({type:e,inputs:{backgroundColor:"backgroundColor"}}),e})(),rt=(()=>{class e extends h{}return e.\u0275fac=(()=>{let o;return function(n){return(o||(o=k(e)))(n||e)}})(),e.\u0275cmp=g({type:e,selectors:[["sk-chasing-dots"]],features:[m],decls:3,vars:6,consts:[[1,"sk-chasing-dots"],[1,"sk-child","sk-dot1"],[1,"sk-child","sk-dot2"]],template:function(t,n){t&1&&(d(0,"div",0),c(1,"div",1)(2,"div",2),p()),t&2&&(b("colored",!n.backgroundColor),i(1),s("background-color",n.backgroundColor),i(1),s("background-color",n.backgroundColor))},styles:[".sk-chasing-dots[_ngcontent-%COMP%]{top:50%;margin:auto;width:40px;height:40px;position:relative;text-align:center;animation:_ngcontent-%COMP%_sk-chasingDotsRotate 2s infinite linear}.sk-chasing-dots[_ngcontent-%COMP%] .sk-child[_ngcontent-%COMP%]{width:60%;height:60%;display:inline-block;position:absolute;top:0;border-radius:100%;animation:_ngcontent-%COMP%_sk-chasingDotsBounce 2s infinite ease-in-out}.sk-chasing-dots[_ngcontent-%COMP%] .sk-dot2[_ngcontent-%COMP%]{top:auto;bottom:0;animation-delay:-1s}@keyframes _ngcontent-%COMP%_sk-chasingDotsRotate{to{transform:rotate(360deg)}}@keyframes _ngcontent-%COMP%_sk-chasingDotsBounce{0%,to{transform:scale(0)}50%{transform:scale(1)}}"]}),e})(),st=(()=>{class e extends h{}return e.\u0275fac=(()=>{let o;return function(n){return(o||(o=k(e)))(n||e)}})(),e.\u0275cmp=g({type:e,selectors:[["sk-cube-grid"]],features:[m],decls:10,vars:20,consts:[[1,"sk-cube-grid"],[1,"sk-cube","sk-cube1"],[1,"sk-cube","sk-cube2"],[1,"sk-cube","sk-cube3"],[1,"sk-cube","sk-cube4"],[1,"sk-cube","sk-cube5"],[1,"sk-cube","sk-cube6"],[1,"sk-cube","sk-cube7"],[1,"sk-cube","sk-cube8"],[1,"sk-cube","sk-cube9"]],template:function(t,n){t&1&&(d(0,"div",0),c(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"div",5)(6,"div",6)(7,"div",7)(8,"div",8)(9,"div",9),p()),t&2&&(b("colored",!n.backgroundColor),i(1),s("background-color",n.backgroundColor),i(1),s("background-color",n.backgroundColor),i(1),s("background-color",n.backgroundColor),i(1),s("background-color",n.backgroundColor),i(1),s("background-color",n.backgroundColor),i(1),s("background-color",n.backgroundColor),i(1),s("background-color",n.backgroundColor),i(1),s("background-color",n.backgroundColor),i(1),s("background-color",n.backgroundColor))},styles:[".sk-cube-grid[_ngcontent-%COMP%]{position:relative;top:50%;width:40px;height:40px;margin:auto}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube[_ngcontent-%COMP%]{width:33.33%;height:33.33%;float:left;animation:_ngcontent-%COMP%_sk-cubeGridScaleDelay 1.3s infinite ease-in-out}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube1[_ngcontent-%COMP%]{animation-delay:.2s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube2[_ngcontent-%COMP%]{animation-delay:.3s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube3[_ngcontent-%COMP%]{animation-delay:.4s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube4[_ngcontent-%COMP%]{animation-delay:.1s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube5[_ngcontent-%COMP%]{animation-delay:.2s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube6[_ngcontent-%COMP%]{animation-delay:.3s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube7[_ngcontent-%COMP%]{animation-delay:0s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube8[_ngcontent-%COMP%]{animation-delay:.1s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube9[_ngcontent-%COMP%]{animation-delay:.2s}@keyframes _ngcontent-%COMP%_sk-cubeGridScaleDelay{0%,70%,to{transform:scaleZ(1)}35%{transform:scale3D(0,0,1)}}"]}),e})(),at=(()=>{class e extends h{}return e.\u0275fac=(()=>{let o;return function(n){return(o||(o=k(e)))(n||e)}})(),e.\u0275cmp=g({type:e,selectors:[["sk-double-bounce"]],features:[m],decls:3,vars:6,consts:[[1,"sk-double-bounce"],[1,"sk-child","sk-double-bounce1"],[1,"sk-child","sk-double-bounce2"]],template:function(t,n){t&1&&(d(0,"div",0),c(1,"div",1)(2,"div",2),p()),t&2&&(b("colored",!n.backgroundColor),i(1),s("background-color",n.backgroundColor),i(1),s("background-color",n.backgroundColor))},styles:[".sk-double-bounce[_ngcontent-%COMP%]{top:50%;width:40px;height:40px;position:relative;margin:auto}.sk-double-bounce[_ngcontent-%COMP%] .sk-child[_ngcontent-%COMP%]{width:100%;height:100%;border-radius:50%;background-color:#333;opacity:.6;position:absolute;top:0;left:0;animation:_ngcontent-%COMP%_sk-doubleBounce 2s infinite ease-in-out}.sk-double-bounce[_ngcontent-%COMP%] .sk-double-bounce2[_ngcontent-%COMP%]{animation-delay:-1s}@keyframes _ngcontent-%COMP%_sk-doubleBounce{0%,to{transform:scale(0)}50%{transform:scale(1)}}"]}),e})(),ct=(()=>{class e extends h{}return e.\u0275fac=(()=>{let o;return function(n){return(o||(o=k(e)))(n||e)}})(),e.\u0275cmp=g({type:e,selectors:[["sk-rotating-plane"]],features:[m],decls:1,vars:2,consts:[[1,"sk-rotating-plane","colored-parent"]],template:function(t,n){t&1&&c(0,"div",0),t&2&&s("background-color",n.backgroundColor)},styles:[".sk-rotating-plane[_ngcontent-%COMP%]{position:relative;top:50%;width:40px;height:40px;margin:auto;animation:_ngcontent-%COMP%_sk-rotatePlane 1.2s infinite ease-in-out}@keyframes _ngcontent-%COMP%_sk-rotatePlane{0%{transform:perspective(120px) rotateX(0) rotateY(0)}50%{transform:perspective(120px) rotateX(-180.1deg) rotateY(0)}to{transform:perspective(120px) rotateX(-180deg) rotateY(-179.9deg)}}"]}),e})(),lt=(()=>{class e extends h{}return e.\u0275fac=(()=>{let o;return function(n){return(o||(o=k(e)))(n||e)}})(),e.\u0275cmp=g({type:e,selectors:[["sk-spinner-pulse"]],features:[m],decls:1,vars:2,consts:[[1,"sk-spinner","sk-spinner-pulse","colored-parent"]],template:function(t,n){t&1&&c(0,"div",0),t&2&&s("background-color",n.backgroundColor)},styles:[".sk-spinner-pulse[_ngcontent-%COMP%]{position:relative;top:50%;width:40px;height:40px;margin:auto;border-radius:100%;animation:_ngcontent-%COMP%_sk-pulseScaleOut 1s infinite ease-in-out}@keyframes _ngcontent-%COMP%_sk-pulseScaleOut{0%{transform:scale(0)}to{transform:scale(1);opacity:0}}"]}),e})(),dt=(()=>{class e extends h{}return e.\u0275fac=(()=>{let o;return function(n){return(o||(o=k(e)))(n||e)}})(),e.\u0275cmp=g({type:e,selectors:[["sk-three-bounce"]],features:[m],decls:4,vars:8,consts:[[1,"sk-three-bounce"],[1,"sk-child","sk-bounce1"],[1,"sk-child","sk-bounce2"],[1,"sk-child","sk-bounce3"]],template:function(t,n){t&1&&(d(0,"div",0),c(1,"div",1)(2,"div",2)(3,"div",3),p()),t&2&&(b("colored",!n.backgroundColor),i(1),s("background-color",n.backgroundColor),i(1),s("background-color",n.backgroundColor),i(1),s("background-color",n.backgroundColor))},styles:[".sk-three-bounce[_ngcontent-%COMP%]{top:50%;position:relative;margin:auto;width:80px;text-align:center}.sk-three-bounce[_ngcontent-%COMP%] .sk-child[_ngcontent-%COMP%]{width:20px;height:20px;border-radius:100%;display:inline-block;animation:_ngcontent-%COMP%_sk-three-bounce 1.4s ease-in-out 0s infinite both}.sk-three-bounce[_ngcontent-%COMP%] .sk-bounce1[_ngcontent-%COMP%]{animation-delay:-.32s}.sk-three-bounce[_ngcontent-%COMP%] .sk-bounce2[_ngcontent-%COMP%]{animation-delay:-.16s}@keyframes _ngcontent-%COMP%_sk-three-bounce{0%,80%,to{transform:scale(0)}40%{transform:scale(1)}}"]}),e})(),pt=(()=>{class e extends h{}return e.\u0275fac=(()=>{let o;return function(n){return(o||(o=k(e)))(n||e)}})(),e.\u0275cmp=g({type:e,selectors:[["sk-wandering-cubes"]],features:[m],decls:3,vars:6,consts:[[1,"sk-wandering-cubes"],[1,"sk-cube","sk-cube1"],[1,"sk-cube","sk-cube2"]],template:function(t,n){t&1&&(d(0,"div",0),c(1,"div",1)(2,"div",2),p()),t&2&&(b("colored",!n.backgroundColor),i(1),s("background-color",n.backgroundColor),i(1),s("background-color",n.backgroundColor))},styles:[".sk-wandering-cubes[_ngcontent-%COMP%]{top:50%;margin:auto;width:40px;height:40px;position:relative}.sk-wandering-cubes[_ngcontent-%COMP%] .sk-cube[_ngcontent-%COMP%]{width:10px;height:10px;position:absolute;top:0;left:0;animation:_ngcontent-%COMP%_sk-wanderingCube 1.8s ease-in-out -1.8s infinite both}.sk-wandering-cubes[_ngcontent-%COMP%] .sk-cube2[_ngcontent-%COMP%]{animation-delay:-.9s}@keyframes _ngcontent-%COMP%_sk-wanderingCube{0%{transform:rotate(0)}25%{transform:translate(30px) rotate(-90deg) scale(.5)}50%{transform:translate(30px) translateY(30px) rotate(-179deg)}50.1%{transform:translate(30px) translateY(30px) rotate(-180deg)}75%{transform:translate(0) translateY(30px) rotate(-270deg) scale(.5)}to{transform:rotate(-360deg)}}"]}),e})(),ut=(()=>{class e extends h{}return e.\u0275fac=(()=>{let o;return function(n){return(o||(o=k(e)))(n||e)}})(),e.\u0275cmp=g({type:e,selectors:[["sk-wave"]],features:[m],decls:6,vars:12,consts:[[1,"sk-wave"],[1,"sk-rect","sk-rect1"],[1,"sk-rect","sk-rect2"],[1,"sk-rect","sk-rect3"],[1,"sk-rect","sk-rect4"],[1,"sk-rect","sk-rect5"]],template:function(t,n){t&1&&(d(0,"div",0),c(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"div",5),p()),t&2&&(b("colored",!n.backgroundColor),i(1),s("background-color",n.backgroundColor),i(1),s("background-color",n.backgroundColor),i(1),s("background-color",n.backgroundColor),i(1),s("background-color",n.backgroundColor),i(1),s("background-color",n.backgroundColor))},styles:[".sk-wave[_ngcontent-%COMP%]{position:relative;top:50%;margin:auto;width:50px;height:40px;text-align:center;font-size:10px}.sk-wave[_ngcontent-%COMP%] .sk-rect[_ngcontent-%COMP%]{float:left;margin-right:1px;height:100%;width:6px;display:inline-block;animation:_ngcontent-%COMP%_sk-waveStretchDelay 1.2s infinite ease-in-out}.sk-wave[_ngcontent-%COMP%] .sk-rect1[_ngcontent-%COMP%]{animation-delay:-1.2s}.sk-wave[_ngcontent-%COMP%] .sk-rect2[_ngcontent-%COMP%]{animation-delay:-1.1s}.sk-wave[_ngcontent-%COMP%] .sk-rect3[_ngcontent-%COMP%]{animation-delay:-1s}.sk-wave[_ngcontent-%COMP%] .sk-rect4[_ngcontent-%COMP%]{animation-delay:-.9s}.sk-wave[_ngcontent-%COMP%] .sk-rect5[_ngcontent-%COMP%]{animation-delay:-.8s}@keyframes _ngcontent-%COMP%_sk-waveStretchDelay{0%,40%,to{transform:scaleY(.4)}20%{transform:scaleY(1)}}"]}),e})(),Ne={skChasingDots:"sk-chasing-dots",skCubeGrid:"sk-cube-grid",skDoubleBounce:"sk-double-bounce",skRotatingPlane:"sk-rotationg-plane",skSpinnerPulse:"sk-spinner-pulse",skThreeBounce:"sk-three-bounce",skWanderingCubes:"sk-wandering-cubes",skWave:"sk-wave"};var z=(()=>{class e{constructor(){this._pendingRequests=0,this._pendingRequestsStatus$=new B(1),this._filteredUrlPatterns=[],this._filteredMethods=[],this._filteredHeaders=[],this._forceByPass=!1}get pendingRequestsStatus$(){return this._pendingRequestsStatus$.asObservable()}get pendingRequests(){return this._pendingRequests}get filteredUrlPatterns(){return this._filteredUrlPatterns}set filteredMethods(t){this._filteredMethods=t}set filteredHeaders(t){this._filteredHeaders=t}set forceByPass(t){this._forceByPass=t}shouldBypassUrl(t){return this._filteredUrlPatterns.some(n=>n.test(t))}shouldBypassMethod(t){return this._filteredMethods.some(n=>n.toUpperCase()===t.method.toUpperCase())}shouldBypassHeader(t){return this._filteredHeaders.some(n=>t.headers.has(n))}shouldBypass(t){return this._forceByPass||this.shouldBypassUrl(t.urlWithParams)||this.shouldBypassMethod(t)||this.shouldBypassHeader(t)}intercept(t,n){let r=this.shouldBypass(t);return r||(this._pendingRequests++,this._pendingRequests===1&&this._pendingRequestsStatus$.next(!0)),n.handle(t).pipe(Q(()=>{r||(this._pendingRequests--,this._pendingRequests===0&&this._pendingRequestsStatus$.next(!1))}))}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),gt=[{provide:w,useExisting:z,multi:!0}],mt=(()=>{class e{constructor(t){this.pendingRequestsInterceptor=t,this._visibility$=new B(1)}get visibility$(){return this._visibility$.asObservable()}show(){this.pendingRequestsInterceptor.forceByPass=!0,this._visibility$.next(!0)}hide(){this._visibility$.next(!1),this.pendingRequestsInterceptor.forceByPass=!1}}return e.\u0275fac=function(t){return new(t||e)(S(z))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),Ee=(()=>{class e{constructor(t,n){this.pendingRequestsInterceptor=t,this.spinnerVisibility=n,this.spinkit=Ne,this.visibleUntil=Date.now(),this.backdrop=!0,this.debounceDelay=0,this.entryComponent=null,this.extraDuration=0,this.filteredHeaders=[],this.filteredMethods=[],this.filteredUrlPatterns=[],this.minDuration=0,this.opacity=".7",this.backdropBackgroundColor="#f1f1f1",this.spinner=Ne.skWave}ngOnInit(){this.initIsvisibleObservable(),this.nullifySpinnerIfEntryComponentIsDefined(),this.initFilters()}initIsvisibleObservable(){let[t,n]=Z(this.pendingRequestsInterceptor.pendingRequestsStatus$,r=>r);this.isVisible$=J(this.pendingRequestsInterceptor.pendingRequestsStatus$.pipe(L(()=>t.pipe(E(()=>H(this.debounceDelay))))),t.pipe(L(()=>n.pipe(E(()=>this.getVisibilityTimer$())))),this.spinnerVisibility.visibility$).pipe(K(),ee(r=>this.updateExpirationDelay(r)))}nullifySpinnerIfEntryComponentIsDefined(){this.entryComponent&&(this.spinner=null)}initFilters(){this.initFilteredUrlPatterns(),this.initFilteredMethods(),this.initFilteredHeaders()}initFilteredUrlPatterns(){this.filteredUrlPatterns.length&&this.filteredUrlPatterns.forEach(t=>this.pendingRequestsInterceptor.filteredUrlPatterns.push(new RegExp(t)))}initFilteredMethods(){this.pendingRequestsInterceptor.filteredMethods=this.filteredMethods}initFilteredHeaders(){this.pendingRequestsInterceptor.filteredHeaders=this.filteredHeaders}updateExpirationDelay(t){t&&(this.visibleUntil=Date.now()+this.minDuration)}getVisibilityTimer$(){return H(Math.max(this.extraDuration,this.visibleUntil-Date.now()))}}return e.\u0275fac=function(t){return new(t||e)(f(z),f(mt))},e.\u0275cmp=g({type:e,selectors:[["ng-http-loader"]],inputs:{backdrop:"backdrop",backgroundColor:"backgroundColor",debounceDelay:"debounceDelay",entryComponent:"entryComponent",extraDuration:"extraDuration",filteredHeaders:"filteredHeaders",filteredMethods:"filteredMethods",filteredUrlPatterns:"filteredUrlPatterns",minDuration:"minDuration",opacity:"opacity",backdropBackgroundColor:"backdropBackgroundColor",spinner:"spinner"},decls:2,vars:3,consts:[["id","spinner",3,"backdrop","opacity","ngStyle",4,"ngIf"],["id","spinner",3,"ngStyle"],[4,"ngComponentOutlet"],[3,"backgroundColor",4,"ngIf"],[3,"backgroundColor"]],template:function(t,n){t&1&&(y(0,it,10,16,"div",0),se(1,"async")),t&2&&a("ngIf",ae(1,1,n.isVisible$))},dependencies:[de,I,pe,st,rt,at,ct,lt,dt,pt,ut,ue],styles:["#spinner[_ngcontent-%COMP%]{top:50%;left:50%;transform:translate(-50%,-50%);position:fixed;z-index:9999}#spinner.backdrop[_ngcontent-%COMP%]{top:0;left:0;height:100%;width:100%;display:flex;align-items:center;justify-content:center;transform:none} .colored-parent, .colored>div{background-color:#333}"]}),e})(),Le=(()=>{class e{static forRoot(){return{ngModule:e,providers:[gt]}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=v({type:e}),e.\u0275inj=_({imports:[ge]}),e})();var kt=[{path:"",loadChildren:()=>import("https://cdn.jsdelivr.net/npm/marketplacepos@3.7.2/Marketplace/chunk-LV7NKX2V.js").then(e=>e.LoginModule)},{path:"menu",loadChildren:()=>import("https://cdn.jsdelivr.net/npm/marketplacepos@3.7.2/Marketplace/chunk-CBW7JGFJ.js").then(e=>e.MenuModule)},{path:"**",redirectTo:"",pathMatch:"full"}],je=(()=>{let o=class o{};o.\u0275fac=function(r){return new(r||o)},o.\u0275mod=v({type:o}),o.\u0275inj=_({imports:[Y.forRoot(kt,{}),Y]});let e=o;return e})();var Ue=(()=>{let o=class o{constructor(n,r,u){this._router=n,this.titleService=r,this.activatedRoute=u}ngOnInit(){this.overrideDateToJsonFunction(),this._router.events.pipe(N(n=>n instanceof Oe)).pipe(R(()=>this.activatedRoute),R(n=>{for(;n.firstChild;)n=n.firstChild;return n}),N(n=>n.outlet==="primary"),X(n=>n.data)).subscribe(n=>{let r=" | Marketplace";n.title=="Dealpos x Marketplace"&&(r=""),this.titleService.setTitle(n.title+r)})}overrideDateToJsonFunction(){Date.prototype.toJSON=function(){return this.getFullYear()+"-"+n(this.getMonth()+1)+"-"+n(this.getDate())+"T"+n(this.getHours())+":"+n(this.getMinutes())+":"+n(this.getSeconds())+".000"};function n(r){return r<10?"0"+r:r}}};o.\u0275fac=function(r){return new(r||o)(f(T),f(be),f(Se))},o.\u0275cmp=g({type:o,selectors:[["app-root"]],decls:2,vars:0,template:function(r,u){r&1&&c(0,"ng-http-loader")(1,"router-outlet")},dependencies:[De,Ee]});let e=o;return e})();var $e=(()=>{let o=class o{constructor(n){this._router=n}intercept(n,r){let u=JSON.parse(window.localStorage.getItem("user")),We=new Date;if(u!=null){let Ge=new Date(u.Token.expiredAt);We<Ge?n=n.clone({setHeaders:{"Content-Type":"application/json",Authorization:`Bearer ${u.Token.access_token}`}}):n=n.clone({setHeaders:{"Content-Type":"application/json"}})}else n=n.clone({setHeaders:{"Content-Type":"application/json"}});return r.handle(n)}};o.\u0275fac=function(r){return new(r||o)(S(T))},o.\u0275prov=P({token:o,factory:o.\u0275fac});let e=o;return e})();var ht=["custom-toast-component",""];function _t(e,o){if(e&1){let t=q();d(0,"a",10),A("click",function(){j(t);let r=l(2);return U(r.remove())}),M(1," x "),p()}}function vt(e,o){if(e&1&&(d(0,"div",6)(1,"div",7)(2,"div")(3,"h4"),M(4),p()()(),d(5,"div",8),y(6,_t,2,0,"a",9),p()()),e&2){let t=l();s("display",t.state.value==="inactive"?"none":""),i(2),D(t.options.titleClass),$("aria-label",t.title),i(2),ie(t.title),i(2),a("ngIf",t.options.closeButton)}}var qe=e=>({notitle:e});function yt(e,o){if(e&1&&c(0,"div",11),e&2){let t=l();D(t.options.messageClass),a("ngClass",x(4,qe,t.title==null))("innerHTML",t.message,ne)}}function Pt(e,o){if(e&1&&(d(0,"div",12),M(1),p()),e&2){let t=l();D(t.options.messageClass),a("ngClass",x(5,qe,t.title==null)),$("aria-label",t.message),i(1),re(" ",t.message," ")}}function Mt(e,o){if(e&1){let t=q();d(0,"a",10),A("click",function(){j(t);let r=l();return U(r.remove())}),M(1," x "),p()}}function xt(e,o){if(e&1&&(d(0,"div"),c(1,"div",13),p()),e&2){let t=l();i(1),s("width",t.width+"%")}}var Ae=(()=>{let o=class o extends ye{constructor(n,r){super(n,r),this.toastrService=n,this.toastPackage=r}ngOnInit(){}action(n){return n.stopPropagation(),this.toastPackage.triggerAction(),!1}};o.\u0275fac=function(r){return new(r||o)(f(ve),f(_e))},o.\u0275cmp=g({type:o,selectors:[["","custom-toast-component",""]],features:[m],attrs:ht,decls:6,vars:5,consts:[[1,"toast-case"],["class","row toast-header",3,"display",4,"ngIf"],["class","toast-body","role","alert","aria-live","polite",3,"ngClass","class","innerHTML",4,"ngIf"],["class","toast-body","role","alert","aria-live","polite",3,"ngClass","class",4,"ngIf"],["class","btn toast-close-button btn-sm ",3,"click",4,"ngIf"],[4,"ngIf"],[1,"row","toast-header"],[1,"col-9","g-0"],[1,"col-auto","mt-5","pe-0"],["class","btn toast-close-button btn-sm",3,"click",4,"ngIf"],[1,"btn","toast-close-button","btn-sm",3,"click"],["role","alert","aria-live","polite",1,"toast-body",3,"ngClass","innerHTML"],["role","alert","aria-live","polite",1,"toast-body",3,"ngClass"],[1,"toast-progress"]],template:function(r,u){r&1&&(d(0,"div",0),y(1,vt,7,7,"div",1)(2,yt,1,6,"div",2)(3,Pt,2,7,"div",3)(4,Mt,2,0,"a",4)(5,xt,2,2,"div",5),p()),r&2&&(i(1),a("ngIf",u.title),i(1),a("ngIf",u.message&&u.options.enableHtml),i(1),a("ngIf",u.message&&!u.options.enableHtml),i(1),a("ngIf",u.options.closeButton&&u.title==null),i(1),a("ngIf",u.options.progressBar))},dependencies:[le,I],styles:["[_nghost-%COMP%]{background-color:#fff;position:relative;overflow:hidden;margin:0 0 6px;width:300px;border-radius:3px;color:#141414;pointer-events:all;cursor:pointer}.toast-success[_nghost-%COMP%]{border:1.8px solid rgb(81,163,81)}.toast-info[_nghost-%COMP%]{border:1.8px solid rgb(47,150,180)}.toast-error[_nghost-%COMP%]{border:1.8px solid rgb(189,54,47)}.toast-warning[_nghost-%COMP%]{border:1.8px solid rgb(248,148,6)}.toast-case[_ngcontent-%COMP%]{margin-left:0}.toast-header[_ngcontent-%COMP%]{background-clip:padding-box;border-bottom:solid;border-width:1px;padding-bottom:0rem;padding-top:0rem;padding-right:0;margin-left:0}.toast-title[_ngcontent-%COMP%]{color:#000}.toast-body[_ngcontent-%COMP%]{padding-top:.6rem}.notitle[_ngcontent-%COMP%]{margin-bottom:-1rem}.toast-close-button-custom[_ngcontent-%COMP%]{right:.2em!important;top:-1.3em!important}.toast-close-button-notitle[_ngcontent-%COMP%]{right:.1em!important;top:-1.3em!important}"],data:{animation:[Ce("flyInOut",[he("inactive",C({opacity:0})),G("inactive => active",V("400ms ease-out",W([C({transform:"translate3d(100%, 0, 0) skewX(-30deg)",opacity:0}),C({transform:"skewX(20deg)",opacity:1}),C({transform:"skewX(-5deg)",opacity:1}),C({transform:"none",opacity:1})]))),G("active => removed",V("400ms ease-out",W([C({opacity:1}),C({transform:"translate3d(100%, 0, 0) skewX(30deg)",opacity:0})])))])]}});let e=o;return e})();var Ot={name:"MarketplaceDB",version:1,objectStoresMeta:[{store:"Categories",storeConfig:{keyPath:null,autoIncrement:!1},storeSchema:[]}]},Ve=(()=>{let o=class o{};o.\u0275fac=function(r){return new(r||o)},o.\u0275mod=v({type:o,bootstrap:[Ue]}),o.\u0275inj=_({providers:[{provide:w,useClass:$e,multi:!0},{provide:He,useValue:{subscriptSizing:"dynamic"}},Me,xe,{provide:ce,useFactory:n=>function(){n.loadPermissions()},deps:[Be],multi:!0}],imports:[ke,je,Re,Pe.forRoot({toastComponent:Ae,positionClass:"toast-bottom-right",closeButton:!0}),me,Fe.forRoot(Ot),Le.forRoot(),Ie.initializeApp(F.firebaseConfig),we,Te.forRoot()]});let e=o;return e})();F.production&&void 0;fe().bootstrapModule(Ve).catch(e=>console.error(e));
|
|
1
|
+
import{a as F}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.7.3/Marketplace/chunk-MLVLUUHO.js";import{a as Ie,b as we,c as Fe,e as Be}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.7.3/Marketplace/chunk-2T3C7JV2.js";import{a as xe}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.7.3/Marketplace/chunk-IJNIZXOB.js";import{a as _e,b as ve,c as ye,d as Pe,e as Me}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.7.3/Marketplace/chunk-PYALJMBO.js";import"https://cdn.jsdelivr.net/npm/marketplacepos@3.7.3/Marketplace/chunk-N46PJUA5.js";import{c as Te}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.7.3/Marketplace/chunk-JVPANFAL.js";import{f as He}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.7.3/Marketplace/chunk-TEFJMIF6.js";import{p as Re}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.7.3/Marketplace/chunk-3RHXQKFB.js";import"https://cdn.jsdelivr.net/npm/marketplacepos@3.7.3/Marketplace/chunk-2XBPNKZX.js";import{$ as P,$a as c,$b as pe,A as J,B as N,C as Z,Cb as se,Db as ae,Fa as i,Fc as Oe,G as E,Ga as f,Gc as Se,Hc as De,Ic as T,K,La as m,Lc as Y,M as Q,Na as $,Oa as a,Ob as ce,Pa as s,Qa as b,Ra as D,T as L,Ua as y,X as ee,Xb as le,Yb as de,Za as d,_a as p,_b as I,aa as _,bc as ue,ca as S,cb as oe,db as q,e as B,ea as g,fa as v,fc as ge,ga as te,hb as A,ja as j,jb as l,ka as U,kc as w,lc as me,na as k,nc as fe,oc as ke,pb as M,pc as be,q as R,qb as ie,rb as re,s as X,sc as Ce,tc as V,wb as x,wc as C,xc as he,y as H,ya as ne,yc as W,zc as G}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.7.3/Marketplace/chunk-FEDAZTKI.js";import"https://cdn.jsdelivr.net/npm/marketplacepos@3.7.3/Marketplace/chunk-W3FHD4GW.js";function ze(e,o){e&1&&oe(0)}function Xe(e,o){if(e&1&&c(0,"sk-cube-grid",4),e&2){let t=l(2);a("backgroundColor",t.backgroundColor)}}function Je(e,o){if(e&1&&c(0,"sk-chasing-dots",4),e&2){let t=l(2);a("backgroundColor",t.backgroundColor)}}function Ze(e,o){if(e&1&&c(0,"sk-double-bounce",4),e&2){let t=l(2);a("backgroundColor",t.backgroundColor)}}function Ke(e,o){if(e&1&&c(0,"sk-rotating-plane",4),e&2){let t=l(2);a("backgroundColor",t.backgroundColor)}}function Qe(e,o){if(e&1&&c(0,"sk-spinner-pulse",4),e&2){let t=l(2);a("backgroundColor",t.backgroundColor)}}function et(e,o){if(e&1&&c(0,"sk-three-bounce",4),e&2){let t=l(2);a("backgroundColor",t.backgroundColor)}}function tt(e,o){if(e&1&&c(0,"sk-wandering-cubes",4),e&2){let t=l(2);a("backgroundColor",t.backgroundColor)}}function nt(e,o){if(e&1&&c(0,"sk-wave",4),e&2){let t=l(2);a("backgroundColor",t.backgroundColor)}}var ot=e=>({"background-color":e});function it(e,o){if(e&1&&(d(0,"div",1),y(1,ze,1,0,"ng-container",2)(2,Xe,1,1,"sk-cube-grid",3)(3,Je,1,1,"sk-chasing-dots",3)(4,Ze,1,1,"sk-double-bounce",3)(5,Ke,1,1,"sk-rotating-plane",3)(6,Qe,1,1,"sk-spinner-pulse",3)(7,et,1,1,"sk-three-bounce",3)(8,tt,1,1,"sk-wandering-cubes",3)(9,nt,1,1,"sk-wave",3),p()),e&2){let t=l();s("opacity",t.opacity),b("backdrop",t.backdrop),a("ngStyle",x(14,ot,t.backdrop?t.backdropBackgroundColor:"transparent")),i(1),a("ngComponentOutlet",t.entryComponent),i(1),a("ngIf",t.spinner===t.spinkit.skCubeGrid),i(1),a("ngIf",t.spinner===t.spinkit.skChasingDots),i(1),a("ngIf",t.spinner===t.spinkit.skDoubleBounce),i(1),a("ngIf",t.spinner===t.spinkit.skRotatingPlane),i(1),a("ngIf",t.spinner===t.spinkit.skSpinnerPulse),i(1),a("ngIf",t.spinner===t.spinkit.skThreeBounce),i(1),a("ngIf",t.spinner===t.spinkit.skWanderingCubes),i(1),a("ngIf",t.spinner===t.spinkit.skWave)}}var h=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=te({type:e,inputs:{backgroundColor:"backgroundColor"}}),e})(),rt=(()=>{class e extends h{}return e.\u0275fac=(()=>{let o;return function(n){return(o||(o=k(e)))(n||e)}})(),e.\u0275cmp=g({type:e,selectors:[["sk-chasing-dots"]],features:[m],decls:3,vars:6,consts:[[1,"sk-chasing-dots"],[1,"sk-child","sk-dot1"],[1,"sk-child","sk-dot2"]],template:function(t,n){t&1&&(d(0,"div",0),c(1,"div",1)(2,"div",2),p()),t&2&&(b("colored",!n.backgroundColor),i(1),s("background-color",n.backgroundColor),i(1),s("background-color",n.backgroundColor))},styles:[".sk-chasing-dots[_ngcontent-%COMP%]{top:50%;margin:auto;width:40px;height:40px;position:relative;text-align:center;animation:_ngcontent-%COMP%_sk-chasingDotsRotate 2s infinite linear}.sk-chasing-dots[_ngcontent-%COMP%] .sk-child[_ngcontent-%COMP%]{width:60%;height:60%;display:inline-block;position:absolute;top:0;border-radius:100%;animation:_ngcontent-%COMP%_sk-chasingDotsBounce 2s infinite ease-in-out}.sk-chasing-dots[_ngcontent-%COMP%] .sk-dot2[_ngcontent-%COMP%]{top:auto;bottom:0;animation-delay:-1s}@keyframes _ngcontent-%COMP%_sk-chasingDotsRotate{to{transform:rotate(360deg)}}@keyframes _ngcontent-%COMP%_sk-chasingDotsBounce{0%,to{transform:scale(0)}50%{transform:scale(1)}}"]}),e})(),st=(()=>{class e extends h{}return e.\u0275fac=(()=>{let o;return function(n){return(o||(o=k(e)))(n||e)}})(),e.\u0275cmp=g({type:e,selectors:[["sk-cube-grid"]],features:[m],decls:10,vars:20,consts:[[1,"sk-cube-grid"],[1,"sk-cube","sk-cube1"],[1,"sk-cube","sk-cube2"],[1,"sk-cube","sk-cube3"],[1,"sk-cube","sk-cube4"],[1,"sk-cube","sk-cube5"],[1,"sk-cube","sk-cube6"],[1,"sk-cube","sk-cube7"],[1,"sk-cube","sk-cube8"],[1,"sk-cube","sk-cube9"]],template:function(t,n){t&1&&(d(0,"div",0),c(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"div",5)(6,"div",6)(7,"div",7)(8,"div",8)(9,"div",9),p()),t&2&&(b("colored",!n.backgroundColor),i(1),s("background-color",n.backgroundColor),i(1),s("background-color",n.backgroundColor),i(1),s("background-color",n.backgroundColor),i(1),s("background-color",n.backgroundColor),i(1),s("background-color",n.backgroundColor),i(1),s("background-color",n.backgroundColor),i(1),s("background-color",n.backgroundColor),i(1),s("background-color",n.backgroundColor),i(1),s("background-color",n.backgroundColor))},styles:[".sk-cube-grid[_ngcontent-%COMP%]{position:relative;top:50%;width:40px;height:40px;margin:auto}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube[_ngcontent-%COMP%]{width:33.33%;height:33.33%;float:left;animation:_ngcontent-%COMP%_sk-cubeGridScaleDelay 1.3s infinite ease-in-out}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube1[_ngcontent-%COMP%]{animation-delay:.2s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube2[_ngcontent-%COMP%]{animation-delay:.3s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube3[_ngcontent-%COMP%]{animation-delay:.4s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube4[_ngcontent-%COMP%]{animation-delay:.1s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube5[_ngcontent-%COMP%]{animation-delay:.2s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube6[_ngcontent-%COMP%]{animation-delay:.3s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube7[_ngcontent-%COMP%]{animation-delay:0s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube8[_ngcontent-%COMP%]{animation-delay:.1s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube9[_ngcontent-%COMP%]{animation-delay:.2s}@keyframes _ngcontent-%COMP%_sk-cubeGridScaleDelay{0%,70%,to{transform:scaleZ(1)}35%{transform:scale3D(0,0,1)}}"]}),e})(),at=(()=>{class e extends h{}return e.\u0275fac=(()=>{let o;return function(n){return(o||(o=k(e)))(n||e)}})(),e.\u0275cmp=g({type:e,selectors:[["sk-double-bounce"]],features:[m],decls:3,vars:6,consts:[[1,"sk-double-bounce"],[1,"sk-child","sk-double-bounce1"],[1,"sk-child","sk-double-bounce2"]],template:function(t,n){t&1&&(d(0,"div",0),c(1,"div",1)(2,"div",2),p()),t&2&&(b("colored",!n.backgroundColor),i(1),s("background-color",n.backgroundColor),i(1),s("background-color",n.backgroundColor))},styles:[".sk-double-bounce[_ngcontent-%COMP%]{top:50%;width:40px;height:40px;position:relative;margin:auto}.sk-double-bounce[_ngcontent-%COMP%] .sk-child[_ngcontent-%COMP%]{width:100%;height:100%;border-radius:50%;background-color:#333;opacity:.6;position:absolute;top:0;left:0;animation:_ngcontent-%COMP%_sk-doubleBounce 2s infinite ease-in-out}.sk-double-bounce[_ngcontent-%COMP%] .sk-double-bounce2[_ngcontent-%COMP%]{animation-delay:-1s}@keyframes _ngcontent-%COMP%_sk-doubleBounce{0%,to{transform:scale(0)}50%{transform:scale(1)}}"]}),e})(),ct=(()=>{class e extends h{}return e.\u0275fac=(()=>{let o;return function(n){return(o||(o=k(e)))(n||e)}})(),e.\u0275cmp=g({type:e,selectors:[["sk-rotating-plane"]],features:[m],decls:1,vars:2,consts:[[1,"sk-rotating-plane","colored-parent"]],template:function(t,n){t&1&&c(0,"div",0),t&2&&s("background-color",n.backgroundColor)},styles:[".sk-rotating-plane[_ngcontent-%COMP%]{position:relative;top:50%;width:40px;height:40px;margin:auto;animation:_ngcontent-%COMP%_sk-rotatePlane 1.2s infinite ease-in-out}@keyframes _ngcontent-%COMP%_sk-rotatePlane{0%{transform:perspective(120px) rotateX(0) rotateY(0)}50%{transform:perspective(120px) rotateX(-180.1deg) rotateY(0)}to{transform:perspective(120px) rotateX(-180deg) rotateY(-179.9deg)}}"]}),e})(),lt=(()=>{class e extends h{}return e.\u0275fac=(()=>{let o;return function(n){return(o||(o=k(e)))(n||e)}})(),e.\u0275cmp=g({type:e,selectors:[["sk-spinner-pulse"]],features:[m],decls:1,vars:2,consts:[[1,"sk-spinner","sk-spinner-pulse","colored-parent"]],template:function(t,n){t&1&&c(0,"div",0),t&2&&s("background-color",n.backgroundColor)},styles:[".sk-spinner-pulse[_ngcontent-%COMP%]{position:relative;top:50%;width:40px;height:40px;margin:auto;border-radius:100%;animation:_ngcontent-%COMP%_sk-pulseScaleOut 1s infinite ease-in-out}@keyframes _ngcontent-%COMP%_sk-pulseScaleOut{0%{transform:scale(0)}to{transform:scale(1);opacity:0}}"]}),e})(),dt=(()=>{class e extends h{}return e.\u0275fac=(()=>{let o;return function(n){return(o||(o=k(e)))(n||e)}})(),e.\u0275cmp=g({type:e,selectors:[["sk-three-bounce"]],features:[m],decls:4,vars:8,consts:[[1,"sk-three-bounce"],[1,"sk-child","sk-bounce1"],[1,"sk-child","sk-bounce2"],[1,"sk-child","sk-bounce3"]],template:function(t,n){t&1&&(d(0,"div",0),c(1,"div",1)(2,"div",2)(3,"div",3),p()),t&2&&(b("colored",!n.backgroundColor),i(1),s("background-color",n.backgroundColor),i(1),s("background-color",n.backgroundColor),i(1),s("background-color",n.backgroundColor))},styles:[".sk-three-bounce[_ngcontent-%COMP%]{top:50%;position:relative;margin:auto;width:80px;text-align:center}.sk-three-bounce[_ngcontent-%COMP%] .sk-child[_ngcontent-%COMP%]{width:20px;height:20px;border-radius:100%;display:inline-block;animation:_ngcontent-%COMP%_sk-three-bounce 1.4s ease-in-out 0s infinite both}.sk-three-bounce[_ngcontent-%COMP%] .sk-bounce1[_ngcontent-%COMP%]{animation-delay:-.32s}.sk-three-bounce[_ngcontent-%COMP%] .sk-bounce2[_ngcontent-%COMP%]{animation-delay:-.16s}@keyframes _ngcontent-%COMP%_sk-three-bounce{0%,80%,to{transform:scale(0)}40%{transform:scale(1)}}"]}),e})(),pt=(()=>{class e extends h{}return e.\u0275fac=(()=>{let o;return function(n){return(o||(o=k(e)))(n||e)}})(),e.\u0275cmp=g({type:e,selectors:[["sk-wandering-cubes"]],features:[m],decls:3,vars:6,consts:[[1,"sk-wandering-cubes"],[1,"sk-cube","sk-cube1"],[1,"sk-cube","sk-cube2"]],template:function(t,n){t&1&&(d(0,"div",0),c(1,"div",1)(2,"div",2),p()),t&2&&(b("colored",!n.backgroundColor),i(1),s("background-color",n.backgroundColor),i(1),s("background-color",n.backgroundColor))},styles:[".sk-wandering-cubes[_ngcontent-%COMP%]{top:50%;margin:auto;width:40px;height:40px;position:relative}.sk-wandering-cubes[_ngcontent-%COMP%] .sk-cube[_ngcontent-%COMP%]{width:10px;height:10px;position:absolute;top:0;left:0;animation:_ngcontent-%COMP%_sk-wanderingCube 1.8s ease-in-out -1.8s infinite both}.sk-wandering-cubes[_ngcontent-%COMP%] .sk-cube2[_ngcontent-%COMP%]{animation-delay:-.9s}@keyframes _ngcontent-%COMP%_sk-wanderingCube{0%{transform:rotate(0)}25%{transform:translate(30px) rotate(-90deg) scale(.5)}50%{transform:translate(30px) translateY(30px) rotate(-179deg)}50.1%{transform:translate(30px) translateY(30px) rotate(-180deg)}75%{transform:translate(0) translateY(30px) rotate(-270deg) scale(.5)}to{transform:rotate(-360deg)}}"]}),e})(),ut=(()=>{class e extends h{}return e.\u0275fac=(()=>{let o;return function(n){return(o||(o=k(e)))(n||e)}})(),e.\u0275cmp=g({type:e,selectors:[["sk-wave"]],features:[m],decls:6,vars:12,consts:[[1,"sk-wave"],[1,"sk-rect","sk-rect1"],[1,"sk-rect","sk-rect2"],[1,"sk-rect","sk-rect3"],[1,"sk-rect","sk-rect4"],[1,"sk-rect","sk-rect5"]],template:function(t,n){t&1&&(d(0,"div",0),c(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"div",5),p()),t&2&&(b("colored",!n.backgroundColor),i(1),s("background-color",n.backgroundColor),i(1),s("background-color",n.backgroundColor),i(1),s("background-color",n.backgroundColor),i(1),s("background-color",n.backgroundColor),i(1),s("background-color",n.backgroundColor))},styles:[".sk-wave[_ngcontent-%COMP%]{position:relative;top:50%;margin:auto;width:50px;height:40px;text-align:center;font-size:10px}.sk-wave[_ngcontent-%COMP%] .sk-rect[_ngcontent-%COMP%]{float:left;margin-right:1px;height:100%;width:6px;display:inline-block;animation:_ngcontent-%COMP%_sk-waveStretchDelay 1.2s infinite ease-in-out}.sk-wave[_ngcontent-%COMP%] .sk-rect1[_ngcontent-%COMP%]{animation-delay:-1.2s}.sk-wave[_ngcontent-%COMP%] .sk-rect2[_ngcontent-%COMP%]{animation-delay:-1.1s}.sk-wave[_ngcontent-%COMP%] .sk-rect3[_ngcontent-%COMP%]{animation-delay:-1s}.sk-wave[_ngcontent-%COMP%] .sk-rect4[_ngcontent-%COMP%]{animation-delay:-.9s}.sk-wave[_ngcontent-%COMP%] .sk-rect5[_ngcontent-%COMP%]{animation-delay:-.8s}@keyframes _ngcontent-%COMP%_sk-waveStretchDelay{0%,40%,to{transform:scaleY(.4)}20%{transform:scaleY(1)}}"]}),e})(),Ne={skChasingDots:"sk-chasing-dots",skCubeGrid:"sk-cube-grid",skDoubleBounce:"sk-double-bounce",skRotatingPlane:"sk-rotationg-plane",skSpinnerPulse:"sk-spinner-pulse",skThreeBounce:"sk-three-bounce",skWanderingCubes:"sk-wandering-cubes",skWave:"sk-wave"};var z=(()=>{class e{constructor(){this._pendingRequests=0,this._pendingRequestsStatus$=new B(1),this._filteredUrlPatterns=[],this._filteredMethods=[],this._filteredHeaders=[],this._forceByPass=!1}get pendingRequestsStatus$(){return this._pendingRequestsStatus$.asObservable()}get pendingRequests(){return this._pendingRequests}get filteredUrlPatterns(){return this._filteredUrlPatterns}set filteredMethods(t){this._filteredMethods=t}set filteredHeaders(t){this._filteredHeaders=t}set forceByPass(t){this._forceByPass=t}shouldBypassUrl(t){return this._filteredUrlPatterns.some(n=>n.test(t))}shouldBypassMethod(t){return this._filteredMethods.some(n=>n.toUpperCase()===t.method.toUpperCase())}shouldBypassHeader(t){return this._filteredHeaders.some(n=>t.headers.has(n))}shouldBypass(t){return this._forceByPass||this.shouldBypassUrl(t.urlWithParams)||this.shouldBypassMethod(t)||this.shouldBypassHeader(t)}intercept(t,n){let r=this.shouldBypass(t);return r||(this._pendingRequests++,this._pendingRequests===1&&this._pendingRequestsStatus$.next(!0)),n.handle(t).pipe(Q(()=>{r||(this._pendingRequests--,this._pendingRequests===0&&this._pendingRequestsStatus$.next(!1))}))}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),gt=[{provide:w,useExisting:z,multi:!0}],mt=(()=>{class e{constructor(t){this.pendingRequestsInterceptor=t,this._visibility$=new B(1)}get visibility$(){return this._visibility$.asObservable()}show(){this.pendingRequestsInterceptor.forceByPass=!0,this._visibility$.next(!0)}hide(){this._visibility$.next(!1),this.pendingRequestsInterceptor.forceByPass=!1}}return e.\u0275fac=function(t){return new(t||e)(S(z))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),Ee=(()=>{class e{constructor(t,n){this.pendingRequestsInterceptor=t,this.spinnerVisibility=n,this.spinkit=Ne,this.visibleUntil=Date.now(),this.backdrop=!0,this.debounceDelay=0,this.entryComponent=null,this.extraDuration=0,this.filteredHeaders=[],this.filteredMethods=[],this.filteredUrlPatterns=[],this.minDuration=0,this.opacity=".7",this.backdropBackgroundColor="#f1f1f1",this.spinner=Ne.skWave}ngOnInit(){this.initIsvisibleObservable(),this.nullifySpinnerIfEntryComponentIsDefined(),this.initFilters()}initIsvisibleObservable(){let[t,n]=Z(this.pendingRequestsInterceptor.pendingRequestsStatus$,r=>r);this.isVisible$=J(this.pendingRequestsInterceptor.pendingRequestsStatus$.pipe(L(()=>t.pipe(E(()=>H(this.debounceDelay))))),t.pipe(L(()=>n.pipe(E(()=>this.getVisibilityTimer$())))),this.spinnerVisibility.visibility$).pipe(K(),ee(r=>this.updateExpirationDelay(r)))}nullifySpinnerIfEntryComponentIsDefined(){this.entryComponent&&(this.spinner=null)}initFilters(){this.initFilteredUrlPatterns(),this.initFilteredMethods(),this.initFilteredHeaders()}initFilteredUrlPatterns(){this.filteredUrlPatterns.length&&this.filteredUrlPatterns.forEach(t=>this.pendingRequestsInterceptor.filteredUrlPatterns.push(new RegExp(t)))}initFilteredMethods(){this.pendingRequestsInterceptor.filteredMethods=this.filteredMethods}initFilteredHeaders(){this.pendingRequestsInterceptor.filteredHeaders=this.filteredHeaders}updateExpirationDelay(t){t&&(this.visibleUntil=Date.now()+this.minDuration)}getVisibilityTimer$(){return H(Math.max(this.extraDuration,this.visibleUntil-Date.now()))}}return e.\u0275fac=function(t){return new(t||e)(f(z),f(mt))},e.\u0275cmp=g({type:e,selectors:[["ng-http-loader"]],inputs:{backdrop:"backdrop",backgroundColor:"backgroundColor",debounceDelay:"debounceDelay",entryComponent:"entryComponent",extraDuration:"extraDuration",filteredHeaders:"filteredHeaders",filteredMethods:"filteredMethods",filteredUrlPatterns:"filteredUrlPatterns",minDuration:"minDuration",opacity:"opacity",backdropBackgroundColor:"backdropBackgroundColor",spinner:"spinner"},decls:2,vars:3,consts:[["id","spinner",3,"backdrop","opacity","ngStyle",4,"ngIf"],["id","spinner",3,"ngStyle"],[4,"ngComponentOutlet"],[3,"backgroundColor",4,"ngIf"],[3,"backgroundColor"]],template:function(t,n){t&1&&(y(0,it,10,16,"div",0),se(1,"async")),t&2&&a("ngIf",ae(1,1,n.isVisible$))},dependencies:[de,I,pe,st,rt,at,ct,lt,dt,pt,ut,ue],styles:["#spinner[_ngcontent-%COMP%]{top:50%;left:50%;transform:translate(-50%,-50%);position:fixed;z-index:9999}#spinner.backdrop[_ngcontent-%COMP%]{top:0;left:0;height:100%;width:100%;display:flex;align-items:center;justify-content:center;transform:none} .colored-parent, .colored>div{background-color:#333}"]}),e})(),Le=(()=>{class e{static forRoot(){return{ngModule:e,providers:[gt]}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=v({type:e}),e.\u0275inj=_({imports:[ge]}),e})();var kt=[{path:"",loadChildren:()=>import("https://cdn.jsdelivr.net/npm/marketplacepos@3.7.3/Marketplace/chunk-TCPJNRJT.js").then(e=>e.LoginModule)},{path:"menu",loadChildren:()=>import("https://cdn.jsdelivr.net/npm/marketplacepos@3.7.3/Marketplace/chunk-5L5KIUTY.js").then(e=>e.MenuModule)},{path:"**",redirectTo:"",pathMatch:"full"}],je=(()=>{let o=class o{};o.\u0275fac=function(r){return new(r||o)},o.\u0275mod=v({type:o}),o.\u0275inj=_({imports:[Y.forRoot(kt,{}),Y]});let e=o;return e})();var Ue=(()=>{let o=class o{constructor(n,r,u){this._router=n,this.titleService=r,this.activatedRoute=u}ngOnInit(){this.overrideDateToJsonFunction(),this._router.events.pipe(N(n=>n instanceof Oe)).pipe(R(()=>this.activatedRoute),R(n=>{for(;n.firstChild;)n=n.firstChild;return n}),N(n=>n.outlet==="primary"),X(n=>n.data)).subscribe(n=>{let r=" | Marketplace";n.title=="Dealpos x Marketplace"&&(r=""),this.titleService.setTitle(n.title+r)})}overrideDateToJsonFunction(){Date.prototype.toJSON=function(){return this.getFullYear()+"-"+n(this.getMonth()+1)+"-"+n(this.getDate())+"T"+n(this.getHours())+":"+n(this.getMinutes())+":"+n(this.getSeconds())+".000"};function n(r){return r<10?"0"+r:r}}};o.\u0275fac=function(r){return new(r||o)(f(T),f(be),f(Se))},o.\u0275cmp=g({type:o,selectors:[["app-root"]],decls:2,vars:0,template:function(r,u){r&1&&c(0,"ng-http-loader")(1,"router-outlet")},dependencies:[De,Ee]});let e=o;return e})();var $e=(()=>{let o=class o{constructor(n){this._router=n}intercept(n,r){let u=JSON.parse(window.localStorage.getItem("user")),We=new Date;if(u!=null){let Ge=new Date(u.Token.expiredAt);We<Ge?n=n.clone({setHeaders:{"Content-Type":"application/json",Authorization:`Bearer ${u.Token.access_token}`}}):n=n.clone({setHeaders:{"Content-Type":"application/json"}})}else n=n.clone({setHeaders:{"Content-Type":"application/json"}});return r.handle(n)}};o.\u0275fac=function(r){return new(r||o)(S(T))},o.\u0275prov=P({token:o,factory:o.\u0275fac});let e=o;return e})();var ht=["custom-toast-component",""];function _t(e,o){if(e&1){let t=q();d(0,"a",10),A("click",function(){j(t);let r=l(2);return U(r.remove())}),M(1," x "),p()}}function vt(e,o){if(e&1&&(d(0,"div",6)(1,"div",7)(2,"div")(3,"h4"),M(4),p()()(),d(5,"div",8),y(6,_t,2,0,"a",9),p()()),e&2){let t=l();s("display",t.state.value==="inactive"?"none":""),i(2),D(t.options.titleClass),$("aria-label",t.title),i(2),ie(t.title),i(2),a("ngIf",t.options.closeButton)}}var qe=e=>({notitle:e});function yt(e,o){if(e&1&&c(0,"div",11),e&2){let t=l();D(t.options.messageClass),a("ngClass",x(4,qe,t.title==null))("innerHTML",t.message,ne)}}function Pt(e,o){if(e&1&&(d(0,"div",12),M(1),p()),e&2){let t=l();D(t.options.messageClass),a("ngClass",x(5,qe,t.title==null)),$("aria-label",t.message),i(1),re(" ",t.message," ")}}function Mt(e,o){if(e&1){let t=q();d(0,"a",10),A("click",function(){j(t);let r=l();return U(r.remove())}),M(1," x "),p()}}function xt(e,o){if(e&1&&(d(0,"div"),c(1,"div",13),p()),e&2){let t=l();i(1),s("width",t.width+"%")}}var Ae=(()=>{let o=class o extends ye{constructor(n,r){super(n,r),this.toastrService=n,this.toastPackage=r}ngOnInit(){}action(n){return n.stopPropagation(),this.toastPackage.triggerAction(),!1}};o.\u0275fac=function(r){return new(r||o)(f(ve),f(_e))},o.\u0275cmp=g({type:o,selectors:[["","custom-toast-component",""]],features:[m],attrs:ht,decls:6,vars:5,consts:[[1,"toast-case"],["class","row toast-header",3,"display",4,"ngIf"],["class","toast-body","role","alert","aria-live","polite",3,"ngClass","class","innerHTML",4,"ngIf"],["class","toast-body","role","alert","aria-live","polite",3,"ngClass","class",4,"ngIf"],["class","btn toast-close-button btn-sm ",3,"click",4,"ngIf"],[4,"ngIf"],[1,"row","toast-header"],[1,"col-9","g-0"],[1,"col-auto","mt-5","pe-0"],["class","btn toast-close-button btn-sm",3,"click",4,"ngIf"],[1,"btn","toast-close-button","btn-sm",3,"click"],["role","alert","aria-live","polite",1,"toast-body",3,"ngClass","innerHTML"],["role","alert","aria-live","polite",1,"toast-body",3,"ngClass"],[1,"toast-progress"]],template:function(r,u){r&1&&(d(0,"div",0),y(1,vt,7,7,"div",1)(2,yt,1,6,"div",2)(3,Pt,2,7,"div",3)(4,Mt,2,0,"a",4)(5,xt,2,2,"div",5),p()),r&2&&(i(1),a("ngIf",u.title),i(1),a("ngIf",u.message&&u.options.enableHtml),i(1),a("ngIf",u.message&&!u.options.enableHtml),i(1),a("ngIf",u.options.closeButton&&u.title==null),i(1),a("ngIf",u.options.progressBar))},dependencies:[le,I],styles:["[_nghost-%COMP%]{background-color:#fff;position:relative;overflow:hidden;margin:0 0 6px;width:300px;border-radius:3px;color:#141414;pointer-events:all;cursor:pointer}.toast-success[_nghost-%COMP%]{border:1.8px solid rgb(81,163,81)}.toast-info[_nghost-%COMP%]{border:1.8px solid rgb(47,150,180)}.toast-error[_nghost-%COMP%]{border:1.8px solid rgb(189,54,47)}.toast-warning[_nghost-%COMP%]{border:1.8px solid rgb(248,148,6)}.toast-case[_ngcontent-%COMP%]{margin-left:0}.toast-header[_ngcontent-%COMP%]{background-clip:padding-box;border-bottom:solid;border-width:1px;padding-bottom:0rem;padding-top:0rem;padding-right:0;margin-left:0}.toast-title[_ngcontent-%COMP%]{color:#000}.toast-body[_ngcontent-%COMP%]{padding-top:.6rem}.notitle[_ngcontent-%COMP%]{margin-bottom:-1rem}.toast-close-button-custom[_ngcontent-%COMP%]{right:.2em!important;top:-1.3em!important}.toast-close-button-notitle[_ngcontent-%COMP%]{right:.1em!important;top:-1.3em!important}"],data:{animation:[Ce("flyInOut",[he("inactive",C({opacity:0})),G("inactive => active",V("400ms ease-out",W([C({transform:"translate3d(100%, 0, 0) skewX(-30deg)",opacity:0}),C({transform:"skewX(20deg)",opacity:1}),C({transform:"skewX(-5deg)",opacity:1}),C({transform:"none",opacity:1})]))),G("active => removed",V("400ms ease-out",W([C({opacity:1}),C({transform:"translate3d(100%, 0, 0) skewX(30deg)",opacity:0})])))])]}});let e=o;return e})();var Ot={name:"MarketplaceDB",version:1,objectStoresMeta:[{store:"Categories",storeConfig:{keyPath:null,autoIncrement:!1},storeSchema:[]}]},Ve=(()=>{let o=class o{};o.\u0275fac=function(r){return new(r||o)},o.\u0275mod=v({type:o,bootstrap:[Ue]}),o.\u0275inj=_({providers:[{provide:w,useClass:$e,multi:!0},{provide:He,useValue:{subscriptSizing:"dynamic"}},Me,xe,{provide:ce,useFactory:n=>function(){n.loadPermissions()},deps:[Be],multi:!0}],imports:[ke,je,Re,Pe.forRoot({toastComponent:Ae,positionClass:"toast-bottom-right",closeButton:!0}),me,Fe.forRoot(Ot),Le.forRoot(),Ie.initializeApp(F.firebaseConfig),we,Te.forRoot()]});let e=o;return e})();F.production&&void 0;fe().bootstrapModule(Ve).catch(e=>console.error(e));
|