marketplacepos 3.9.2 → 3.9.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (70) hide show
  1. package/Marketplace/{chunk-HTEDNGSI.js → chunk-223IHKLH.js} +1 -1
  2. package/Marketplace/chunk-24E4KX5X.js +1 -0
  3. package/Marketplace/{chunk-42URWJWL.js → chunk-24FH5K25.js} +1 -1
  4. package/Marketplace/{chunk-2GEKKULX.js → chunk-2FPWKSK6.js} +1 -1
  5. package/Marketplace/{chunk-K2D3HYO3.js → chunk-2VBEH64C.js} +1 -1
  6. package/Marketplace/{chunk-USTIBZQZ.js → chunk-3FP6R342.js} +1 -1
  7. package/Marketplace/{chunk-XH2RYIXU.js → chunk-3WYTYS4I.js} +1 -1
  8. package/Marketplace/{chunk-DAOVB2Q7.js → chunk-4X7WAYU2.js} +1 -1
  9. package/Marketplace/{chunk-YMW3PRQO.js → chunk-6EOCCEBR.js} +1 -1
  10. package/Marketplace/{chunk-62YVBX6C.js → chunk-6JIO3MDW.js} +1 -1
  11. package/Marketplace/{chunk-ZOAWBPA4.js → chunk-6P3BIWG5.js} +1 -1
  12. package/Marketplace/{chunk-5MVSVVTZ.js → chunk-75ETOW5V.js} +1 -1
  13. package/Marketplace/{chunk-PTD6INQZ.js → chunk-7CFOLDEA.js} +1 -1
  14. package/Marketplace/{chunk-3MUKJETU.js → chunk-7HNQOPUO.js} +1 -1
  15. package/Marketplace/{chunk-OHUTMYI3.js → chunk-7O7ZV66V.js} +1 -1
  16. package/Marketplace/{chunk-5G6F6KM6.js → chunk-A6ED3RSO.js} +1 -1
  17. package/Marketplace/{chunk-KPVSCTPE.js → chunk-AN2CINQU.js} +1 -1
  18. package/Marketplace/{chunk-MSDWP3Z5.js → chunk-AR5AIUY5.js} +1 -1
  19. package/Marketplace/{chunk-YWSTU35G.js → chunk-BCZIDBRQ.js} +2 -2
  20. package/Marketplace/{chunk-7DWQVDUN.js → chunk-BHYLQ3XF.js} +1 -1
  21. package/Marketplace/{chunk-P5FK7XH7.js → chunk-CMAYHYOO.js} +1 -1
  22. package/Marketplace/{chunk-VK5MBCEQ.js → chunk-D6V2KDUQ.js} +1 -1
  23. package/Marketplace/{chunk-HWGOH7QS.js → chunk-DCYKOVAM.js} +1 -1
  24. package/Marketplace/{chunk-UU4FCLSH.js → chunk-DWNMRBOC.js} +1 -1
  25. package/Marketplace/{chunk-MU6WSNWI.js → chunk-FYZEL73T.js} +1 -1
  26. package/Marketplace/{chunk-QC2RB3LW.js → chunk-GD7CSSWB.js} +1 -1
  27. package/Marketplace/{chunk-RB4PODHN.js → chunk-HAGHCF7F.js} +1 -1
  28. package/Marketplace/{chunk-X7OCPOXW.js → chunk-IWPOHMOJ.js} +1 -1
  29. package/Marketplace/{chunk-DR77LMQ5.js → chunk-J4BS5HHW.js} +1 -1
  30. package/Marketplace/{chunk-XBFPNQRE.js → chunk-J7DEYKP6.js} +1 -1
  31. package/Marketplace/{chunk-PEROEQOW.js → chunk-JBVB4OVI.js} +1 -1
  32. package/Marketplace/{chunk-JZNKYXRR.js → chunk-JLAIVCSP.js} +1 -1
  33. package/Marketplace/{chunk-6GHDH7BV.js → chunk-K7OHC2AW.js} +1 -1
  34. package/Marketplace/{chunk-WDVFAXEE.js → chunk-KFK76TSL.js} +1 -1
  35. package/Marketplace/{chunk-A4NDARMD.js → chunk-KLFNBFWY.js} +1 -1
  36. package/Marketplace/{chunk-MNQTYXTP.js → chunk-LQIHGVQQ.js} +1 -1
  37. package/Marketplace/{chunk-7NUYZDNH.js → chunk-PIHDABAW.js} +1 -1
  38. package/Marketplace/{chunk-GIXQOMAF.js → chunk-PNDM4FNI.js} +1 -1
  39. package/Marketplace/{chunk-T726PSLZ.js → chunk-SG7ZTVRN.js} +1 -1
  40. package/Marketplace/{chunk-6TL753XX.js → chunk-SPVU5YQJ.js} +1 -1
  41. package/Marketplace/{chunk-NUQYRQUS.js → chunk-T5LEJVUT.js} +1 -1
  42. package/Marketplace/{chunk-TEMOBJ6P.js → chunk-TA2OMI4I.js} +1 -1
  43. package/Marketplace/{chunk-TH3YEBZM.js → chunk-TPZUQ3VA.js} +1 -1
  44. package/Marketplace/{chunk-CQDJKHRJ.js → chunk-TQJUXGLM.js} +1 -1
  45. package/Marketplace/{chunk-NDL2OQM7.js → chunk-TUNUG7JP.js} +1 -1
  46. package/Marketplace/{chunk-ZKFCU6QY.js → chunk-TXDNQ6BP.js} +1 -1
  47. package/Marketplace/{chunk-WGRN55OQ.js → chunk-U3XVBY4L.js} +1 -1
  48. package/Marketplace/{chunk-NO7WERYV.js → chunk-USTXSCDN.js} +1 -1
  49. package/Marketplace/{chunk-TTTBABPM.js → chunk-UT3B5YJG.js} +1 -1
  50. package/Marketplace/{chunk-5KWI6CNM.js → chunk-V2ASIO3I.js} +1 -1
  51. package/Marketplace/{chunk-OGZ4S2OZ.js → chunk-V5N4EKHO.js} +1 -1
  52. package/Marketplace/{chunk-LSG32F4X.js → chunk-VBDYQMXW.js} +1 -1
  53. package/Marketplace/{chunk-KES3BFYS.js → chunk-VGSJMM76.js} +1 -1
  54. package/Marketplace/{chunk-WOVAE35N.js → chunk-VM6WJ77V.js} +1 -1
  55. package/Marketplace/{chunk-3ADBD6TU.js → chunk-VSHN3JTN.js} +1 -1
  56. package/Marketplace/{chunk-253CGPDL.js → chunk-VTBELDVB.js} +1 -1
  57. package/Marketplace/chunk-WBV2UEPL.js +1 -0
  58. package/Marketplace/{chunk-LLITFBOE.js → chunk-WKCOG4BN.js} +1 -1
  59. package/Marketplace/{chunk-AYOR2E3R.js → chunk-XRNBSITS.js} +1 -1
  60. package/Marketplace/index.html +2 -2
  61. package/Marketplace/{main-A64TEOJA.js → main-KGKJNXZE.js} +1 -1
  62. package/Marketplace/{styles-XF7HDZPE.css → styles-6PSCDOW2.css} +1 -1
  63. package/package.json +1 -1
  64. package/Marketplace/chunk-JRVVHEWT.js +0 -1
  65. package/Marketplace/chunk-YJA6GNVB.js +0 -1
  66. /package/Marketplace/{chunk-3OPATVPE.js → chunk-AFZN3DRI.js} +0 -0
  67. /package/Marketplace/{chunk-PXXT4AMP.js → chunk-SLQJFLQ4.js} +0 -0
  68. /package/Marketplace/{chunk-CRNJ2Q5T.js → chunk-SVMOHTLO.js} +0 -0
  69. /package/Marketplace/{chunk-FXU7TISG.js → chunk-WGOJPXER.js} +0 -0
  70. /package/Marketplace/{polyfills-JB4R6HHU.js → polyfills-FTWUMK2G.js} +0 -0
@@ -1 +1 @@
1
- import{a as pe}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.9.2/Marketplace/chunk-FXU7TISG.js";import{a as me,f as fe}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.9.2/Marketplace/chunk-YWSTU35G.js";import"https://cdn.jsdelivr.net/npm/marketplacepos@3.9.2/Marketplace/chunk-6TL753XX.js";import{b as X,e as y}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.9.2/Marketplace/chunk-MU6WSNWI.js";import"https://cdn.jsdelivr.net/npm/marketplacepos@3.9.2/Marketplace/chunk-3MUKJETU.js";import{a as ge,c as ue}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.9.2/Marketplace/chunk-OHUTMYI3.js";import{d as he}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.9.2/Marketplace/chunk-WDVFAXEE.js";import{c as Z,h as ee,i as te,j as ne,k as ie,l as oe,o as re,p as ae,q as se,r as ce,u as de}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.9.2/Marketplace/chunk-ZKFCU6QY.js";import{a as w,c as le}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.9.2/Marketplace/chunk-PXXT4AMP.js";import{$ as j,$a as l,$b as Q,Db as q,Eb as H,Fa as d,Ga as m,Hc as S,Ib as $,Jb as Y,Jc as v,Lb as B,Mb as G,Mc as N,Oa as p,Q as D,Ra as V,Ua as f,Yb as W,Za as i,_a as r,_b as A,aa as I,ab as k,bb as E,cc as K,db as T,ea as x,fa as L,gc as J,hb as g,ja as b,jb as u,ka as _,ob as P,pb as a,qb as C,rb as F,sb as R,xb as U,za as M}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.9.2/Marketplace/chunk-WOVAE35N.js";import"https://cdn.jsdelivr.net/npm/marketplacepos@3.9.2/Marketplace/chunk-CRNJ2Q5T.js";var be=(()=>{let t=class t{constructor(n,e,s){this.route=n,this.http=e,this.service=s}ngOnInit(){this.route.queryParams.subscribe(n=>{this.code=n.code})}addChannelLazada(){let n={Code:this.code};this.http.post("/api/ChannelAdd/AddLazada",n).subscribe(e=>{this.service.navigate(["/menu/channel"])})}};t.\u0275fac=function(e){return new(e||t)(m(S),m(y),m(v))},t.\u0275cmp=x({type:t,selectors:[["app-lazada"]],decls:20,vars:1,consts:[[1,"container","h-100"],[1,"row","d-flex","justify-content-center","align-items-center","h-100"],[1,"col-md-4"],[1,"card"],[1,"card-header","text-center"],[1,"far","fa-check-circle","text-success",2,"font-size","115px"],[1,"h3","fw-bold"],[1,"card-body","text-center","py-6"],[1,"text-shopee","fw-bold"],["type","button",1,"btn","btn-success","mt-6",3,"click"],[1,"fas","fa-undo"]],template:function(e,s){e&1&&(i(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4),l(5,"i",5),i(6,"div",6),a(7,"Success !"),r()(),i(8,"div",7)(9,"div"),a(10,"You have successfully authorized "),r(),i(11,"div"),a(12,"DEALPOS to manage your Lazada"),r(),i(13,"div"),a(14," Your Code is "),i(15,"span",8),a(16),r()(),i(17,"button",9),g("click",function(){return s.addChannelLazada()}),l(18,"i",10),a(19," Add to my Channel"),r()()()()()()),e&2&&(d(16),C(s.code))}});let o=t;return o})();var _e=(()=>{let t=class t{constructor(){}getBrowserName(){let n=window.navigator.userAgent.toLowerCase();switch(!0){case(n.indexOf("edge")>-1||n.indexOf("edg")>-1):return"edge";case n.indexOf("opr")>-1:return"opera";case n.indexOf("chrome")>-1:return"chrome";case n.indexOf("trident")>-1:return"ie";case n.indexOf("firefox")>-1:return"firefox";case n.indexOf("safari")>-1:return"safari";default:return"other"}}};t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=j({token:t,factory:t.\u0275fac,providedIn:"root"});let o=t;return o})();function ke(o,t){if(o&1&&(i(0,"swiper-slide")(1,"div")(2,"a",2),l(3,"img",3),r()(),i(4,"a",4),a(5),r(),i(6,"p",5),a(7),r()()),o&2){let c=t.$implicit;d(2),p("href",c.href,M),d(1),p("src",c.imgSrc,M),d(1),p("href",c.href,M),d(1),C(c.title),d(2),C(c.description)}}var Ce=(()=>{let t=class t{constructor(){this.newsList=[]}};t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=x({type:t,selectors:[["POS-news-swiper"]],inputs:{newsList:"newsList"},decls:2,vars:1,consts:[["pagination","true","pagination-clickable","true","autoplay-delay","5000","autoplay-disable-on-interaction","false",2,"margin-top","30px"],[4,"ngFor","ngForOf"],["target","_blank",3,"href"],[1,"border-0","rounded-1","mb-8",2,"width","252px","height","152px",3,"src"],["target","_blank",1,"fw-bold","h5","text-success","header-title","fs-4",3,"href"],[2,"margin-bottom","3rem"]],template:function(e,s){e&1&&(i(0,"swiper-container",0),f(1,ke,8,5,"swiper-slide",1),r()),e&2&&(d(1),p("ngForOf",s.newsList))},dependencies:[A],styles:["swiper-container[_ngcontent-%COMP%]{--swiper-pagination-bullet-inactive-color: #89b03e;--swiper-pagination-color: #89b03e}"]});let o=t;return o})();var Ie=["subdomainEl"];function Le(o,t){if(o&1&&(k(0),i(1,"div",34),l(2,"img",35),r(),E()),o&2){let c=t.$implicit;d(2),p("src",c.img,M)("title",c.title)("alt",c.title)}}function Te(o,t){if(o&1){let c=T();k(0),i(1,"div",14)(2,"h3",15),a(3," DealPOS Omnichannel "),r(),i(4,"small",16),a(5," Multichannel Inventory Management Software "),r()(),i(6,"form",17)(7,"div",18)(8,"div",19)(9,"div",20)(10,"span"),l(11,"i",21),r()(),i(12,"input",22,23),g("ngModelChange",function(e){b(c);let s=u();return _(s.subdomain=e)}),r(),i(14,"div")(15,"select",24),g("ngModelChange",function(e){b(c);let s=u();return _(s.domain=e)}),i(16,"option",25),a(17,".dealpos.co.id"),r(),i(18,"option",26),a(19,".dealpos.net"),r(),i(20,"option",27),a(21,".dealpos.com"),r(),i(22,"option",28),a(23,".dealpos.app"),r()()()(),i(24,"div",29)(25,"button",30),g("click",function(){b(c);let e=u();return _(e.onNextState())}),a(26," Next "),r()(),i(27,"div",31)(28,"div",32),f(29,Le,3,3,"ng-container",33),r()()()(),E()}if(o&2){let c=u();d(12),p("ngModel",c.subdomain),d(3),p("ngModel",c.domain),d(14),p("ngForOf",c.channels)}}function Ae(o,t){o&1&&(i(0,"p"),a(1," Username is required "),r())}function Ne(o,t){if(o&1&&(k(0),i(1,"div",57),l(2,"div",58),i(3,"div",59),f(4,Ae,2,0,"p",46),r()(),E()),o&2){u();let c=P(14);d(4),p("ngIf",c.errors.required)}}function ze(o,t){if(o&1){let c=T();i(0,"i",62),g("click",function(){b(c);let e=u(3);return _(e.hideShowPassword())}),r()}if(o&2){let c=u(3);V("fa "+c.passwordIcon)}}function De(o,t){if(o&1&&(i(0,"span",60),f(1,ze,1,2,"i",61),r()),o&2){let c=u(2);d(1),p("ngIf",c.password)}}function je(o,t){o&1&&(i(0,"p"),a(1," Password is required "),r())}function Ve(o,t){if(o&1&&(k(0),i(1,"div",57),l(2,"div",58),i(3,"div",59),f(4,je,2,0,"p",46),r()(),E()),o&2){u();let c=P(21);d(4),p("ngIf",c.errors.required)}}var Fe=(o,t)=>({"rounded-end":o,"border-end-0":t});function Re(o,t){if(o&1){let c=T();i(0,"div",36)(1,"h3",37),a(2,"Sign in"),r(),i(3,"h3",38),a(4," to "),i(5,"h6",39),a(6),r(),i(7,"i",40),g("click",function(){b(c);let e=u();return _(e.onEditDomain())}),r()()(),i(8,"form",41)(9,"div",42)(10,"div",20)(11,"span"),l(12,"i",43),r()(),i(13,"input",44,45),g("ngModelChange",function(e){b(c);let s=u();return _(s.username=e)}),r()(),f(15,Ne,5,1,"ng-container",46),i(16,"div",19)(17,"div",20)(18,"span"),l(19,"i",47),r()(),i(20,"input",48,49),g("ngModelChange",function(e){b(c);let s=u();return _(s.password=e)}),r(),f(22,De,2,1,"span",50),r(),f(23,Ve,5,1,"ng-container",46),i(24,"div",51)(25,"button",52),g("click",function(){b(c);let e=u();return _(e.onLogin())}),a(26," Log in "),r()(),i(27,"div",53),l(28,"hr"),i(29,"span",54),a(30,"or"),r(),l(31,"hr"),r(),i(32,"div")(33,"button",55),g("click",function(e){b(c);let s=u();return _(s.onLoginByGoogle(e))}),l(34,"i",56),a(35," Sign In with Google "),r()()()}if(o&2){let c=P(14),n=P(21),e=u();d(6),R(" (",e.subdomain,"",e.domain,") "),d(7),p("ngModel",e.username),d(2),p("ngIf",c.invalid&&(c.dirty||c.touched)),d(5),p("type",e.passwordType)("ngClass",U(9,Fe,e.browser=="edge",e.browser!="edge"))("ngModel",e.password),d(2),p("ngIf",e.browser!="edge"),d(1),p("ngIf",n.invalid&&(n.dirty||n.touched))}}var ve=(()=>{let t=class t{constructor(n,e,s,h,Pe){this._router=n,this.toastr=e,this.checkBrowser=s,this.authService=h,this.ngxPermission=Pe,this.domain=".dealpos.co.id",this.loginState="FORM_DOMAIN",this.passwordType="password",this.passwordIcon="fa-eye",this.channels=[{title:"Shopee",img:w.SHOOPE},{title:"Tokopedia",img:w.TOKOPEDIA},{title:"Tiktok",img:w.TIKTOK},{title:"Woocommerce",img:w.WOOCOMMERCE},{title:"Lazada",img:w.LAZADA},{title:"Shopify",img:w.SHOPIFY}],this.version=me.version,this.news$=h.getNews().pipe(D(1))}ngOnInit(){this.initLogin(),this.browser=this.checkBrowser.getBrowserName(),document.body.classList.add("login-body"),this.initChangeLogUrl()}initChangeLogUrl(){let n=`https://changelog.dealpos.com/?categories=cat_nILYcoEQzgGWX&view=complete&v=${this.version}`;this.changelogUrl=n}ngAfterViewInit(){this.setAutoFocusDomain()}initLogin(){let n=JSON.parse(localStorage.getItem("Authorization"));if(n){this.username=n?.username,this.subdomain=n?.Host?.split(".")[0];let e=n?.Host?.split("dealpos");this.domain=`.dealpos${e[1]}`,this.authService.isActiveToken()&&this._router.navigate(["menu"])}}onNextState(){if(le.IsEmpty(this.subdomain)){this.toastr.warning("Account Domain is required","Warning");return}this.parseSubdomain(),this.loginState="FORM_AUTH"}parseSubdomain(){let n=this.subdomain.indexOf(".dealpos");n!=-1&&(this.subdomain=this.subdomain.substring(0,n))}onEditDomain(){this.loginState="FORM_DOMAIN"}onLogin(){let n={Host:`${this.subdomain}${this.domain}`,Username:this.username,Password:this.password};this.authService.login(n).subscribe(e=>{this.onSuccessLogin(e)})}onLoginByGoogle(n){let e=`${this.subdomain}${this.domain}`;this.authService.loginWithGoogle(n,e).subscribe(s=>{this.onSuccessLogin(s)})}onSuccessLogin(n){this.ngxPermission.hasPermission([pe.dashboardView]).then(e=>{e?this._router.navigate(["menu/dashboard"]):n?.TotalChannel<1?this._router.navigate(["menu/channel"]):this._router.navigate(["menu/products"])})}setAutoFocusDomain(){this.subdomainEl.nativeElement.focus()}hideShowPassword(){this.passwordType=this.passwordType==="text"?"password":"text",this.passwordIcon=this.passwordIcon==="fa-eye"?"fa-eye-slash":"fa-eye"}ngOnDestroy(){document.body.classList.remove("login-body")}};t.\u0275fac=function(e){return new(e||t)(m(v),m(X),m(_e),m(fe),m(ge))},t.\u0275cmp=x({type:t,selectors:[["app-login"]],viewQuery:function(e,s){if(e&1&&Y(Ie,5),e&2){let h;$(h=B())&&(s.subdomainEl=h.first)}},decls:19,vars:7,consts:[[1,"container-fluid"],[1,"row","mx-auto","bg-white","login-pane"],[1,"col-md-5","order-md-first","order-last","border-end","features-pane","pt-12","pb-9"],[1,"fw-normal","fs-2","header-title","text-center"],[3,"newsList"],[1,"col-md-7","order-md-last","order-first","py-12","sign-in-pane"],[4,"ngIf","ngIfElse"],["USERNAME_PASSWORD",""],[1,"d-flex","copyright",2,"margin-left","20px"],[1,"align-self-center","me-5"],["target","_blank","href","http://www.dealpos.com"],[1,"version",2,"margin-right","18px"],["target","_blank",1,"text-dark","fst-italic",3,"href"],[1,"fa-solid","fa-circle-exclamation","ms-2",2,"font-size","16px"],[1,"text-md-start","text-center"],[1,"fs-2","header-title","me-2","fw-normal"],[1,"text-secondary-emphasis","fst-italic",2,"font-size","11px"],[2,"margin-top","38px"],[1,"form-block","mt-5"],[1,"input-group","input-group-lg","mt-8"],[1,"input-group-text","rounded-start","border-end-0",2,"width","52px"],[1,"fa-solid","fa-cloud"],["placeholder","Store Address","aria-label","Store Address","aria-describedby","basic-addon1","autofocus","","name","Store Address",1,"form-control","form-control-lg","rounded-end-0","border-start-0","ps-1",2,"height","58px",3,"ngModel","ngModelChange"],["subdomainEl",""],["name","domainOption",1,"form-select","form-control","form-control-lg","border-start-0","border-start","rounded-end","rounded-start-0","domain-option",2,"height","58px",3,"ngModel","ngModelChange"],["selected","","value",".dealpos.co.id"],["value",".dealpos.net"],["value",".dealpos.com"],["value",".dealpos.app"],[1,"w-100",2,"margin-top","1.8rem"],["name","next","data-cy","next","type","submit",1,"btn","btn-xl","btn-success","btn-block","font125rem","robotoslab","w-100",3,"click"],[1,"d-flex","align-items-center","justify-content-center",2,"margin-top","2.1rem"],[1,"d-flex","align-items-center","justify-content-between","w-100"],[4,"ngFor","ngForOf"],[1,""],[1,"border-0",2,"width","34px","height","34px",3,"src","title","alt"],[1,"d-flex","align-items-center","justify-content-start","mb-2"],[1,"robotoslab","fw-normal"],[1,"ms-2","fw-normal"],[1,"me-2","robotoslab","d-inline-block","text-success"],["title","Edit Store Address",1,"fa-solid","fa-edit","link-success","fs-5","pointer",3,"click"],[2,"margin-top","29px"],[1,"input-group","input-group-lg"],[1,"fas","fa-user","fa-lg"],["id","txtUsername","type","text","data-cy","username","required","","placeholder","Username","aria-label","Username","aria-describedby","basic-addon1","autofocus","","name","username",1,"form-control","form-control-lg","rounded-end","border-start-0","ps-1",2,"height","58px",3,"ngModel","ngModelChange"],["usernameCtrl","ngModel"],[4,"ngIf"],[1,"fas","fa-key","fa-lg"],["id","txtPassword","data-cy","password","placeholder","Password","aria-label","Password","aria-describedby","basic-addon1","autofocus","","name","password","required","",1,"form-control","form-control-lg","rounded-end","border-start-0","ps-1",2,"height","58px",3,"type","ngClass","ngModel","ngModelChange"],["passwordCtrl","ngModel"],["class","input-group-text border-start-0 rounded-end",4,"ngIf"],[1,"w-100","mt-8"],["data-cy","login","type","submit",1,"btn","btn-lg","btn-success","btn-block","font125rem","robotoslab","w-100",3,"click"],[1,"divider","d-flex","align-items-center","justify-content-center"],[1,"mx-4","text-muted"],[1,"btn","btn-social-login","text-success","w-100","fw-bold",3,"click"],[1,"fa-brands","fa-google"],[1,"d-flex","justify-content-start","w-50","mb-4",2,"height","16px"],[2,"width","52px"],[1,"text-danger","ps-1"],[1,"input-group-text","border-start-0","rounded-end"],[3,"class","click",4,"ngIf"],[3,"click"]],template:function(e,s){if(e&1&&(i(0,"div",0)(1,"div",1)(2,"div",2)(3,"h3",3),a(4,"New Features"),r(),l(5,"POS-news-swiper",4),q(6,"async"),r(),i(7,"div",5),f(8,Te,30,3,"ng-container",6)(9,Re,36,12,"ng-template",null,7,G),r()(),i(11,"div",8)(12,"span",9),a(13,"powered by :"),r(),l(14,"a",10),r(),i(15,"div",11)(16,"a",12),a(17),l(18,"i",13),r()()()),e&2){let h=P(10);d(5),p("newsList",H(6,5,s.news$)),d(3),p("ngIf",s.loginState=="FORM_DOMAIN")("ngIfElse",h),d(8),p("href",s.changelogUrl,M),d(1),F("version ",s.version,"")}},dependencies:[W,A,Q,oe,ae,se,Z,re,ee,te,ce,ie,ne,Ce,K],styles:[".login-pane[_ngcontent-%COMP%]{max-width:57rem;height:max-content;margin-top:115px}@media (max-width: 768px){.login-pane[_ngcontent-%COMP%]{margin-top:0}}@media only screen and (max-width: 1300px) and (min-width: 1024px){.login-pane[_ngcontent-%COMP%]{margin-top:30px}}.header-title[_ngcontent-%COMP%]{font-family:Roboto Slab}.carousel-inner[_ngcontent-%COMP%]{height:310px}.carousel-inner[_ngcontent-%COMP%] div.carousel-item[_ngcontent-%COMP%]{top:28px}@media (max-width: 820px){.carousel-indicators[_ngcontent-%COMP%]{bottom:-8px}}.carousel-indicators[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{background-color:#ddd;width:1.25rem;height:.375rem;transition:.3s}.carousel-indicators[_ngcontent-%COMP%] button.active[_ngcontent-%COMP%]{background-color:var(--bs-success)}.sign-in-pane[_ngcontent-%COMP%]{padding:0 3rem 0 3.5rem}@media (max-width: 768px){.sign-in-pane[_ngcontent-%COMP%]{padding:24px 12px}.sign-in-pane[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{padding-left:8px!important}}@media (min-width: 1200px){.sign-in-pane[_ngcontent-%COMP%]{border-bottom:1px solid #89b03e;border-right:1px solid #89b03e;border-top:1px solid #89b03e;border-radius:0 10px 10px 0}}.subscription.danger[_ngcontent-%COMP%]{background-color:#f2dede;border-color:#eb415d;color:#a94442}.subscription.warning[_ngcontent-%COMP%]{background-color:#fcf8e3;border-color:#faebcc;color:#8a6d3b}@media (max-width: 768px){.features-pane[_ngcontent-%COMP%]{border-right:0px!important}}@media (min-width: 1200px){.features-pane[_ngcontent-%COMP%]{border-left:1px solid #89b03e;border-bottom:1px solid #89b03e;border-top:1px solid #89b03e;border-radius:10px 0 0 10px}}.copyright[_ngcontent-%COMP%]{position:absolute;bottom:1.25rem;left:1.25rem}.copyright[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{width:8.125rem;height:2.5rem;background-image:url(//res.cloudinary.com/pos/image/upload/POS/Images/Login/dealpos.png);background-position:left top;background-repeat:no-repeat;background-size:contain}.version[_ngcontent-%COMP%]{bottom:1.25rem;right:1.25rem;position:absolute}@media (max-width: 768px){.copyright[_ngcontent-%COMP%], .version[_ngcontent-%COMP%]{position:static;margin-top:10px}.copyright[_ngcontent-%COMP%]{justify-content:center}}div.divider[_ngcontent-%COMP%] > hr[_ngcontent-%COMP%]{margin-top:1.2rem;margin-bottom:1.2rem;border-top:1px solid rgba(0,0,0,.855);width:20%}button.btn-social-login[_ngcontent-%COMP%], .btn-login[_ngcontent-%COMP%]{border:1px solid var(--bs-success)}.fa-google[_ngcontent-%COMP%]{background:conic-gradient(from -45deg,#ea4335 110deg,#4285f4 90deg 180deg,#34a853 180deg 270deg,#fbbc05 270deg) 73% 55%/150% 150% no-repeat;-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent}.version[_ngcontent-%COMP%] a[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:#fe3a00!important}.version[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited i[_ngcontent-%COMP%]{color:#f4f4f4!important}.version[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{margin-left:-10px}.domain-option[_ngcontent-%COMP%]{padding:.75rem;color:#343434;font-size:.875rem;width:8.5rem}"]});let o=t;return o})();var Me=(()=>{let t=class t{constructor(n,e,s){this.route=n,this.http=e,this.service=s}ngOnInit(){this.route.queryParams.subscribe(n=>{this.shopID=n.shop_id,this.code=n.code})}addShopee(){let n={ShopID:Number(this.shopID),Code:this.code},e="/api/ChannelAdd/ShopeeV2";this.http.post(e,n).subscribe(s=>{this.service.navigate(["/menu/channel"])})}};t.\u0275fac=function(e){return new(e||t)(m(S),m(y),m(v))},t.\u0275cmp=x({type:t,selectors:[["shopee-authorized"]],decls:20,vars:1,consts:[[1,"container","h-100"],[1,"row","d-flex","justify-content-center","align-items-center","h-100"],[1,"col-md-4"],[1,"card"],[1,"card-header","text-center"],[1,"far","fa-check-circle","text-success",2,"font-size","115px"],[1,"h3","fw-bold"],[1,"card-body","text-center","py-6"],[1,"text-shopee","fw-bold"],["type","button",1,"btn","btn-success","mt-t",3,"click"],[1,"fas","fa-undo"]],template:function(e,s){e&1&&(i(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4),l(5,"i",5),i(6,"div",6),a(7,"Success !"),r()(),i(8,"div",7)(9,"div"),a(10,"You have successfully authorized "),r(),i(11,"div"),a(12,"DEALPOS to manage your Shopee"),r(),i(13,"div"),a(14," Your shopID is "),i(15,"span",8),a(16),r()(),i(17,"button",9),g("click",function(){return s.addShopee()}),l(18,"i",10),a(19," Add to my Channel"),r()()()()()()),e&2&&(d(16),C(s.shopID))},styles:[".login-pane[_ngcontent-%COMP%]{max-width:57rem;height:max-content;margin-top:115px}@media (max-width: 768px){.login-pane[_ngcontent-%COMP%]{margin-top:0}}@media only screen and (max-width: 1300px) and (min-width: 1024px){.login-pane[_ngcontent-%COMP%]{margin-top:30px}}.header-title[_ngcontent-%COMP%]{font-family:Roboto Slab}.carousel-inner[_ngcontent-%COMP%]{height:310px}.carousel-inner[_ngcontent-%COMP%] div.carousel-item[_ngcontent-%COMP%]{top:28px}@media (max-width: 820px){.carousel-indicators[_ngcontent-%COMP%]{bottom:-8px}}.carousel-indicators[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{background-color:#ddd;width:1.25rem;height:.375rem;transition:.3s}.carousel-indicators[_ngcontent-%COMP%] button.active[_ngcontent-%COMP%]{background-color:var(--bs-success)}.sign-in-pane[_ngcontent-%COMP%]{padding:0 3rem 0 3.5rem}@media (max-width: 768px){.sign-in-pane[_ngcontent-%COMP%]{padding:24px 12px}.sign-in-pane[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{padding-left:8px!important}}@media (min-width: 1200px){.sign-in-pane[_ngcontent-%COMP%]{border-bottom:1px solid #89b03e;border-right:1px solid #89b03e;border-top:1px solid #89b03e;border-radius:0 10px 10px 0}}.subscription.danger[_ngcontent-%COMP%]{background-color:#f2dede;border-color:#eb415d;color:#a94442}.subscription.warning[_ngcontent-%COMP%]{background-color:#fcf8e3;border-color:#faebcc;color:#8a6d3b}@media (max-width: 768px){.features-pane[_ngcontent-%COMP%]{border-right:0px!important}}@media (min-width: 1200px){.features-pane[_ngcontent-%COMP%]{border-left:1px solid #89b03e;border-bottom:1px solid #89b03e;border-top:1px solid #89b03e;border-radius:10px 0 0 10px}}.copyright[_ngcontent-%COMP%]{position:absolute;bottom:1.25rem;left:1.25rem}.copyright[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{width:8.125rem;height:2.5rem;background-image:url(//res.cloudinary.com/pos/image/upload/POS/Images/Login/dealpos.png);background-position:left top;background-repeat:no-repeat;background-size:contain}.version[_ngcontent-%COMP%]{bottom:1.25rem;right:1.25rem;position:absolute}@media (max-width: 768px){.copyright[_ngcontent-%COMP%], .version[_ngcontent-%COMP%]{position:static;margin-top:10px}.copyright[_ngcontent-%COMP%]{justify-content:center}}div.divider[_ngcontent-%COMP%] > hr[_ngcontent-%COMP%]{margin-top:1.2rem;margin-bottom:1.2rem;border-top:1px solid rgba(0,0,0,.855);width:20%}button.btn-social-login[_ngcontent-%COMP%], .btn-login[_ngcontent-%COMP%]{border:1px solid var(--bs-success)}.fa-google[_ngcontent-%COMP%]{background:conic-gradient(from -45deg,#ea4335 110deg,#4285f4 90deg 180deg,#34a853 180deg 270deg,#fbbc05 270deg) 73% 55%/150% 150% no-repeat;-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent}.version[_ngcontent-%COMP%] a[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:#fe3a00!important}.version[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited i[_ngcontent-%COMP%]{color:#f4f4f4!important}.version[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{margin-left:-10px}.domain-option[_ngcontent-%COMP%]{padding:.75rem;color:#343434;font-size:.875rem;width:8.5rem}.form-signin[_ngcontent-%COMP%]{max-width:600px}.card[_ngcontent-%COMP%]{font:100 14px/25px Roboto,Helvetica Neue,sans-serif;border-radius:13px;box-sizing:border-box}.text-shopee[_ngcontent-%COMP%]{color:#f53d2d}"]});let o=t;return o})();var we=(()=>{let t=class t{constructor(n,e,s){this.route=n,this.http=e,this.service=s}ngOnInit(){this.route.queryParams.subscribe(n=>{this.code=n.code,this.state=n.state})}addChannelTiktok(){let n={Code:this.code};this.http.post("/api/ChannelAdd/AddTiktok",n).subscribe(e=>{this.service.navigate(["/menu/channel"])})}};t.\u0275fac=function(e){return new(e||t)(m(S),m(y),m(v))},t.\u0275cmp=x({type:t,selectors:[["app-tiktok"]],decls:24,vars:2,consts:[[1,"container","h-100"],[1,"row","d-flex","justify-content-center","align-items-center","h-100"],[1,"col-md-4"],[1,"card"],[1,"card-header","text-center"],[1,"far","fa-check-circle","text-success",2,"font-size","115px"],[1,"h3","fw-bold"],[1,"card-body","text-center","py-6"],[1,"text-shopee","fw-bold"],["type","button",1,"btn","btn-success","mt-6",3,"click"],[1,"fas","fa-undo"]],template:function(e,s){e&1&&(i(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4),l(5,"i",5),i(6,"div",6),a(7,"Success !"),r()(),i(8,"div",7)(9,"div"),a(10,"You have successfully authorized "),r(),i(11,"div"),a(12,"DEALPOS to manage your Tiktok"),r(),i(13,"div"),a(14," Your Code is "),i(15,"span",8),a(16),r()(),i(17,"div"),a(18," Your State is "),i(19,"span",8),a(20),r()(),i(21,"button",9),g("click",function(){return s.addChannelTiktok()}),l(22,"i",10),a(23," Add to my Channel"),r()()()()()()),e&2&&(d(16),C(s.code),d(4),C(s.state))},styles:[".login-pane[_ngcontent-%COMP%]{max-width:57rem;height:max-content;margin-top:115px}@media (max-width: 768px){.login-pane[_ngcontent-%COMP%]{margin-top:0}}@media only screen and (max-width: 1300px) and (min-width: 1024px){.login-pane[_ngcontent-%COMP%]{margin-top:30px}}.header-title[_ngcontent-%COMP%]{font-family:Roboto Slab}.carousel-inner[_ngcontent-%COMP%]{height:310px}.carousel-inner[_ngcontent-%COMP%] div.carousel-item[_ngcontent-%COMP%]{top:28px}@media (max-width: 820px){.carousel-indicators[_ngcontent-%COMP%]{bottom:-8px}}.carousel-indicators[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{background-color:#ddd;width:1.25rem;height:.375rem;transition:.3s}.carousel-indicators[_ngcontent-%COMP%] button.active[_ngcontent-%COMP%]{background-color:var(--bs-success)}.sign-in-pane[_ngcontent-%COMP%]{padding:0 3rem 0 3.5rem}@media (max-width: 768px){.sign-in-pane[_ngcontent-%COMP%]{padding:24px 12px}.sign-in-pane[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{padding-left:8px!important}}@media (min-width: 1200px){.sign-in-pane[_ngcontent-%COMP%]{border-bottom:1px solid #89b03e;border-right:1px solid #89b03e;border-top:1px solid #89b03e;border-radius:0 10px 10px 0}}.subscription.danger[_ngcontent-%COMP%]{background-color:#f2dede;border-color:#eb415d;color:#a94442}.subscription.warning[_ngcontent-%COMP%]{background-color:#fcf8e3;border-color:#faebcc;color:#8a6d3b}@media (max-width: 768px){.features-pane[_ngcontent-%COMP%]{border-right:0px!important}}@media (min-width: 1200px){.features-pane[_ngcontent-%COMP%]{border-left:1px solid #89b03e;border-bottom:1px solid #89b03e;border-top:1px solid #89b03e;border-radius:10px 0 0 10px}}.copyright[_ngcontent-%COMP%]{position:absolute;bottom:1.25rem;left:1.25rem}.copyright[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{width:8.125rem;height:2.5rem;background-image:url(//res.cloudinary.com/pos/image/upload/POS/Images/Login/dealpos.png);background-position:left top;background-repeat:no-repeat;background-size:contain}.version[_ngcontent-%COMP%]{bottom:1.25rem;right:1.25rem;position:absolute}@media (max-width: 768px){.copyright[_ngcontent-%COMP%], .version[_ngcontent-%COMP%]{position:static;margin-top:10px}.copyright[_ngcontent-%COMP%]{justify-content:center}}div.divider[_ngcontent-%COMP%] > hr[_ngcontent-%COMP%]{margin-top:1.2rem;margin-bottom:1.2rem;border-top:1px solid rgba(0,0,0,.855);width:20%}button.btn-social-login[_ngcontent-%COMP%], .btn-login[_ngcontent-%COMP%]{border:1px solid var(--bs-success)}.fa-google[_ngcontent-%COMP%]{background:conic-gradient(from -45deg,#ea4335 110deg,#4285f4 90deg 180deg,#34a853 180deg 270deg,#fbbc05 270deg) 73% 55%/150% 150% no-repeat;-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent}.version[_ngcontent-%COMP%] a[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:#fe3a00!important}.version[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited i[_ngcontent-%COMP%]{color:#f4f4f4!important}.version[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{margin-left:-10px}.domain-option[_ngcontent-%COMP%]{padding:.75rem;color:#343434;font-size:.875rem;width:8.5rem}.form-signin[_ngcontent-%COMP%]{max-width:600px}.card[_ngcontent-%COMP%]{font:100 14px/25px Roboto,Helvetica Neue,sans-serif;border-radius:13px;box-sizing:border-box}.text-shopee[_ngcontent-%COMP%]{color:#f53d2d}"]});let o=t;return o})();var Ue=[{path:"",component:ve,data:{title:"Dealpos x Marketplace"}},{path:"shopee",component:Me,data:{title:"Success"}},{path:"tiktok",component:we,data:{title:"Success"}},{path:"lazada",component:be,data:{title:"Success"}}],Oe=(()=>{let t=class t{};t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=L({type:t}),t.\u0275inj=I({imports:[N.forChild(Ue),N]});let o=t;return o})();var wt=(()=>{let t=class t{};t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=L({type:t}),t.\u0275inj=I({imports:[J,de,Oe,he,ue]});let o=t;return o})();export{wt as LoginModule};
1
+ import{a as pe}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.9.5/Marketplace/chunk-WGOJPXER.js";import{a as me,f as fe}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.9.5/Marketplace/chunk-BCZIDBRQ.js";import"https://cdn.jsdelivr.net/npm/marketplacepos@3.9.5/Marketplace/chunk-SPVU5YQJ.js";import{b as X,e as y}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.9.5/Marketplace/chunk-FYZEL73T.js";import"https://cdn.jsdelivr.net/npm/marketplacepos@3.9.5/Marketplace/chunk-7HNQOPUO.js";import{a as ge,c as ue}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.9.5/Marketplace/chunk-7O7ZV66V.js";import{d as he}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.9.5/Marketplace/chunk-KFK76TSL.js";import{c as Z,h as ee,i as te,j as ne,k as ie,l as oe,o as re,p as ae,q as se,r as ce,u as de}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.9.5/Marketplace/chunk-TXDNQ6BP.js";import{a as w,c as le}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.9.5/Marketplace/chunk-SLQJFLQ4.js";import{$ as j,$a as l,$b as Q,Db as q,Eb as H,Fa as d,Ga as m,Hc as S,Ib as $,Jb as Y,Jc as v,Lb as B,Mb as G,Mc as N,Oa as p,Q as D,Ra as V,Ua as f,Yb as W,Za as i,_a as r,_b as A,aa as I,ab as k,bb as E,cc as K,db as T,ea as x,fa as L,gc as J,hb as g,ja as b,jb as u,ka as _,ob as P,pb as a,qb as C,rb as F,sb as R,xb as U,za as M}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.9.5/Marketplace/chunk-VM6WJ77V.js";import"https://cdn.jsdelivr.net/npm/marketplacepos@3.9.5/Marketplace/chunk-SVMOHTLO.js";var be=(()=>{let t=class t{constructor(n,e,s){this.route=n,this.http=e,this.service=s}ngOnInit(){this.route.queryParams.subscribe(n=>{this.code=n.code})}addChannelLazada(){let n={Code:this.code};this.http.post("/api/ChannelAdd/AddLazada",n).subscribe(e=>{this.service.navigate(["/menu/channel"])})}};t.\u0275fac=function(e){return new(e||t)(m(S),m(y),m(v))},t.\u0275cmp=x({type:t,selectors:[["app-lazada"]],decls:20,vars:1,consts:[[1,"container","h-100"],[1,"row","d-flex","justify-content-center","align-items-center","h-100"],[1,"col-md-4"],[1,"card"],[1,"card-header","text-center"],[1,"far","fa-check-circle","text-success",2,"font-size","115px"],[1,"h3","fw-bold"],[1,"card-body","text-center","py-6"],[1,"text-shopee","fw-bold"],["type","button",1,"btn","btn-success","mt-6",3,"click"],[1,"fas","fa-undo"]],template:function(e,s){e&1&&(i(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4),l(5,"i",5),i(6,"div",6),a(7,"Success !"),r()(),i(8,"div",7)(9,"div"),a(10,"You have successfully authorized "),r(),i(11,"div"),a(12,"DEALPOS to manage your Lazada"),r(),i(13,"div"),a(14," Your Code is "),i(15,"span",8),a(16),r()(),i(17,"button",9),g("click",function(){return s.addChannelLazada()}),l(18,"i",10),a(19," Add to my Channel"),r()()()()()()),e&2&&(d(16),C(s.code))}});let o=t;return o})();var _e=(()=>{let t=class t{constructor(){}getBrowserName(){let n=window.navigator.userAgent.toLowerCase();switch(!0){case(n.indexOf("edge")>-1||n.indexOf("edg")>-1):return"edge";case n.indexOf("opr")>-1:return"opera";case n.indexOf("chrome")>-1:return"chrome";case n.indexOf("trident")>-1:return"ie";case n.indexOf("firefox")>-1:return"firefox";case n.indexOf("safari")>-1:return"safari";default:return"other"}}};t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=j({token:t,factory:t.\u0275fac,providedIn:"root"});let o=t;return o})();function ke(o,t){if(o&1&&(i(0,"swiper-slide")(1,"div")(2,"a",2),l(3,"img",3),r()(),i(4,"a",4),a(5),r(),i(6,"p",5),a(7),r()()),o&2){let c=t.$implicit;d(2),p("href",c.href,M),d(1),p("src",c.imgSrc,M),d(1),p("href",c.href,M),d(1),C(c.title),d(2),C(c.description)}}var Ce=(()=>{let t=class t{constructor(){this.newsList=[]}};t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=x({type:t,selectors:[["POS-news-swiper"]],inputs:{newsList:"newsList"},decls:2,vars:1,consts:[["pagination","true","pagination-clickable","true","autoplay-delay","5000","autoplay-disable-on-interaction","false",2,"margin-top","30px"],[4,"ngFor","ngForOf"],["target","_blank",3,"href"],[1,"border-0","rounded-1","mb-8",2,"width","252px","height","152px",3,"src"],["target","_blank",1,"fw-bold","h5","text-success","header-title","fs-4",3,"href"],[2,"margin-bottom","3rem"]],template:function(e,s){e&1&&(i(0,"swiper-container",0),f(1,ke,8,5,"swiper-slide",1),r()),e&2&&(d(1),p("ngForOf",s.newsList))},dependencies:[A],styles:["swiper-container[_ngcontent-%COMP%]{--swiper-pagination-bullet-inactive-color: #89b03e;--swiper-pagination-color: #89b03e}"]});let o=t;return o})();var Ie=["subdomainEl"];function Le(o,t){if(o&1&&(k(0),i(1,"div",34),l(2,"img",35),r(),E()),o&2){let c=t.$implicit;d(2),p("src",c.img,M)("title",c.title)("alt",c.title)}}function Te(o,t){if(o&1){let c=T();k(0),i(1,"div",14)(2,"h3",15),a(3," DealPOS Omnichannel "),r(),i(4,"small",16),a(5," Multichannel Inventory Management Software "),r()(),i(6,"form",17)(7,"div",18)(8,"div",19)(9,"div",20)(10,"span"),l(11,"i",21),r()(),i(12,"input",22,23),g("ngModelChange",function(e){b(c);let s=u();return _(s.subdomain=e)}),r(),i(14,"div")(15,"select",24),g("ngModelChange",function(e){b(c);let s=u();return _(s.domain=e)}),i(16,"option",25),a(17,".dealpos.co.id"),r(),i(18,"option",26),a(19,".dealpos.net"),r(),i(20,"option",27),a(21,".dealpos.com"),r(),i(22,"option",28),a(23,".dealpos.app"),r()()()(),i(24,"div",29)(25,"button",30),g("click",function(){b(c);let e=u();return _(e.onNextState())}),a(26," Next "),r()(),i(27,"div",31)(28,"div",32),f(29,Le,3,3,"ng-container",33),r()()()(),E()}if(o&2){let c=u();d(12),p("ngModel",c.subdomain),d(3),p("ngModel",c.domain),d(14),p("ngForOf",c.channels)}}function Ae(o,t){o&1&&(i(0,"p"),a(1," Username is required "),r())}function Ne(o,t){if(o&1&&(k(0),i(1,"div",57),l(2,"div",58),i(3,"div",59),f(4,Ae,2,0,"p",46),r()(),E()),o&2){u();let c=P(14);d(4),p("ngIf",c.errors.required)}}function ze(o,t){if(o&1){let c=T();i(0,"i",62),g("click",function(){b(c);let e=u(3);return _(e.hideShowPassword())}),r()}if(o&2){let c=u(3);V("fa "+c.passwordIcon)}}function De(o,t){if(o&1&&(i(0,"span",60),f(1,ze,1,2,"i",61),r()),o&2){let c=u(2);d(1),p("ngIf",c.password)}}function je(o,t){o&1&&(i(0,"p"),a(1," Password is required "),r())}function Ve(o,t){if(o&1&&(k(0),i(1,"div",57),l(2,"div",58),i(3,"div",59),f(4,je,2,0,"p",46),r()(),E()),o&2){u();let c=P(21);d(4),p("ngIf",c.errors.required)}}var Fe=(o,t)=>({"rounded-end":o,"border-end-0":t});function Re(o,t){if(o&1){let c=T();i(0,"div",36)(1,"h3",37),a(2,"Sign in"),r(),i(3,"h3",38),a(4," to "),i(5,"h6",39),a(6),r(),i(7,"i",40),g("click",function(){b(c);let e=u();return _(e.onEditDomain())}),r()()(),i(8,"form",41)(9,"div",42)(10,"div",20)(11,"span"),l(12,"i",43),r()(),i(13,"input",44,45),g("ngModelChange",function(e){b(c);let s=u();return _(s.username=e)}),r()(),f(15,Ne,5,1,"ng-container",46),i(16,"div",19)(17,"div",20)(18,"span"),l(19,"i",47),r()(),i(20,"input",48,49),g("ngModelChange",function(e){b(c);let s=u();return _(s.password=e)}),r(),f(22,De,2,1,"span",50),r(),f(23,Ve,5,1,"ng-container",46),i(24,"div",51)(25,"button",52),g("click",function(){b(c);let e=u();return _(e.onLogin())}),a(26," Log in "),r()(),i(27,"div",53),l(28,"hr"),i(29,"span",54),a(30,"or"),r(),l(31,"hr"),r(),i(32,"div")(33,"button",55),g("click",function(e){b(c);let s=u();return _(s.onLoginByGoogle(e))}),l(34,"i",56),a(35," Sign In with Google "),r()()()}if(o&2){let c=P(14),n=P(21),e=u();d(6),R(" (",e.subdomain,"",e.domain,") "),d(7),p("ngModel",e.username),d(2),p("ngIf",c.invalid&&(c.dirty||c.touched)),d(5),p("type",e.passwordType)("ngClass",U(9,Fe,e.browser=="edge",e.browser!="edge"))("ngModel",e.password),d(2),p("ngIf",e.browser!="edge"),d(1),p("ngIf",n.invalid&&(n.dirty||n.touched))}}var ve=(()=>{let t=class t{constructor(n,e,s,h,Pe){this._router=n,this.toastr=e,this.checkBrowser=s,this.authService=h,this.ngxPermission=Pe,this.domain=".dealpos.co.id",this.loginState="FORM_DOMAIN",this.passwordType="password",this.passwordIcon="fa-eye",this.channels=[{title:"Shopee",img:w.SHOOPE},{title:"Tokopedia",img:w.TOKOPEDIA},{title:"Tiktok",img:w.TIKTOK},{title:"Woocommerce",img:w.WOOCOMMERCE},{title:"Lazada",img:w.LAZADA},{title:"Shopify",img:w.SHOPIFY}],this.version=me.version,this.news$=h.getNews().pipe(D(1))}ngOnInit(){this.initLogin(),this.browser=this.checkBrowser.getBrowserName(),document.body.classList.add("login-body"),this.initChangeLogUrl()}initChangeLogUrl(){let n=`https://changelog.dealpos.com/?categories=cat_nILYcoEQzgGWX&view=complete&v=${this.version}`;this.changelogUrl=n}ngAfterViewInit(){this.setAutoFocusDomain()}initLogin(){let n=JSON.parse(localStorage.getItem("Authorization"));if(n){this.username=n?.username,this.subdomain=n?.Host?.split(".")[0];let e=n?.Host?.split("dealpos");this.domain=`.dealpos${e[1]}`,this.authService.isActiveToken()&&this._router.navigate(["menu"])}}onNextState(){if(le.IsEmpty(this.subdomain)){this.toastr.warning("Account Domain is required","Warning");return}this.parseSubdomain(),this.loginState="FORM_AUTH"}parseSubdomain(){let n=this.subdomain.indexOf(".dealpos");n!=-1&&(this.subdomain=this.subdomain.substring(0,n))}onEditDomain(){this.loginState="FORM_DOMAIN"}onLogin(){let n={Host:`${this.subdomain}${this.domain}`,Username:this.username,Password:this.password};this.authService.login(n).subscribe(e=>{this.onSuccessLogin(e)})}onLoginByGoogle(n){let e=`${this.subdomain}${this.domain}`;this.authService.loginWithGoogle(n,e).subscribe(s=>{this.onSuccessLogin(s)})}onSuccessLogin(n){this.ngxPermission.hasPermission([pe.dashboardView]).then(e=>{e?this._router.navigate(["menu/dashboard"]):n?.TotalChannel<1?this._router.navigate(["menu/channel"]):this._router.navigate(["menu/products"])})}setAutoFocusDomain(){this.subdomainEl.nativeElement.focus()}hideShowPassword(){this.passwordType=this.passwordType==="text"?"password":"text",this.passwordIcon=this.passwordIcon==="fa-eye"?"fa-eye-slash":"fa-eye"}ngOnDestroy(){document.body.classList.remove("login-body")}};t.\u0275fac=function(e){return new(e||t)(m(v),m(X),m(_e),m(fe),m(ge))},t.\u0275cmp=x({type:t,selectors:[["app-login"]],viewQuery:function(e,s){if(e&1&&Y(Ie,5),e&2){let h;$(h=B())&&(s.subdomainEl=h.first)}},decls:19,vars:7,consts:[[1,"container-fluid"],[1,"row","mx-auto","bg-white","login-pane"],[1,"col-md-5","order-md-first","order-last","border-end","features-pane","pt-12","pb-9"],[1,"fw-normal","fs-2","header-title","text-center"],[3,"newsList"],[1,"col-md-7","order-md-last","order-first","py-12","sign-in-pane"],[4,"ngIf","ngIfElse"],["USERNAME_PASSWORD",""],[1,"d-flex","copyright",2,"margin-left","20px"],[1,"align-self-center","me-5"],["target","_blank","href","http://www.dealpos.com"],[1,"version",2,"margin-right","18px"],["target","_blank",1,"text-dark","fst-italic",3,"href"],[1,"fa-solid","fa-circle-exclamation","ms-2",2,"font-size","16px"],[1,"text-md-start","text-center"],[1,"fs-2","header-title","me-2","fw-normal"],[1,"text-secondary-emphasis","fst-italic",2,"font-size","11px"],[2,"margin-top","38px"],[1,"form-block","mt-5"],[1,"input-group","input-group-lg","mt-8"],[1,"input-group-text","rounded-start","border-end-0",2,"width","52px"],[1,"fa-solid","fa-cloud"],["placeholder","Store Address","aria-label","Store Address","aria-describedby","basic-addon1","autofocus","","name","Store Address",1,"form-control","form-control-lg","rounded-end-0","border-start-0","ps-1",2,"height","58px",3,"ngModel","ngModelChange"],["subdomainEl",""],["name","domainOption",1,"form-select","form-control","form-control-lg","border-start-0","border-start","rounded-end","rounded-start-0","domain-option",2,"height","58px",3,"ngModel","ngModelChange"],["selected","","value",".dealpos.co.id"],["value",".dealpos.net"],["value",".dealpos.com"],["value",".dealpos.app"],[1,"w-100",2,"margin-top","1.8rem"],["name","next","data-cy","next","type","submit",1,"btn","btn-xl","btn-success","btn-block","font125rem","robotoslab","w-100",3,"click"],[1,"d-flex","align-items-center","justify-content-center",2,"margin-top","2.1rem"],[1,"d-flex","align-items-center","justify-content-between","w-100"],[4,"ngFor","ngForOf"],[1,""],[1,"border-0",2,"width","34px","height","34px",3,"src","title","alt"],[1,"d-flex","align-items-center","justify-content-start","mb-2"],[1,"robotoslab","fw-normal"],[1,"ms-2","fw-normal"],[1,"me-2","robotoslab","d-inline-block","text-success"],["title","Edit Store Address",1,"fa-solid","fa-edit","link-success","fs-5","pointer",3,"click"],[2,"margin-top","29px"],[1,"input-group","input-group-lg"],[1,"fas","fa-user","fa-lg"],["id","txtUsername","type","text","data-cy","username","required","","placeholder","Username","aria-label","Username","aria-describedby","basic-addon1","autofocus","","name","username",1,"form-control","form-control-lg","rounded-end","border-start-0","ps-1",2,"height","58px",3,"ngModel","ngModelChange"],["usernameCtrl","ngModel"],[4,"ngIf"],[1,"fas","fa-key","fa-lg"],["id","txtPassword","data-cy","password","placeholder","Password","aria-label","Password","aria-describedby","basic-addon1","autofocus","","name","password","required","",1,"form-control","form-control-lg","rounded-end","border-start-0","ps-1",2,"height","58px",3,"type","ngClass","ngModel","ngModelChange"],["passwordCtrl","ngModel"],["class","input-group-text border-start-0 rounded-end",4,"ngIf"],[1,"w-100","mt-8"],["data-cy","login","type","submit",1,"btn","btn-lg","btn-success","btn-block","font125rem","robotoslab","w-100",3,"click"],[1,"divider","d-flex","align-items-center","justify-content-center"],[1,"mx-4","text-muted"],[1,"btn","btn-social-login","text-success","w-100","fw-bold",3,"click"],[1,"fa-brands","fa-google"],[1,"d-flex","justify-content-start","w-50","mb-4",2,"height","16px"],[2,"width","52px"],[1,"text-danger","ps-1"],[1,"input-group-text","border-start-0","rounded-end"],[3,"class","click",4,"ngIf"],[3,"click"]],template:function(e,s){if(e&1&&(i(0,"div",0)(1,"div",1)(2,"div",2)(3,"h3",3),a(4,"New Features"),r(),l(5,"POS-news-swiper",4),q(6,"async"),r(),i(7,"div",5),f(8,Te,30,3,"ng-container",6)(9,Re,36,12,"ng-template",null,7,G),r()(),i(11,"div",8)(12,"span",9),a(13,"powered by :"),r(),l(14,"a",10),r(),i(15,"div",11)(16,"a",12),a(17),l(18,"i",13),r()()()),e&2){let h=P(10);d(5),p("newsList",H(6,5,s.news$)),d(3),p("ngIf",s.loginState=="FORM_DOMAIN")("ngIfElse",h),d(8),p("href",s.changelogUrl,M),d(1),F("version ",s.version,"")}},dependencies:[W,A,Q,oe,ae,se,Z,re,ee,te,ce,ie,ne,Ce,K],styles:[".login-pane[_ngcontent-%COMP%]{max-width:57rem;height:max-content;margin-top:115px}@media (max-width: 768px){.login-pane[_ngcontent-%COMP%]{margin-top:0}}@media only screen and (max-width: 1300px) and (min-width: 1024px){.login-pane[_ngcontent-%COMP%]{margin-top:30px}}.header-title[_ngcontent-%COMP%]{font-family:Roboto Slab}.carousel-inner[_ngcontent-%COMP%]{height:310px}.carousel-inner[_ngcontent-%COMP%] div.carousel-item[_ngcontent-%COMP%]{top:28px}@media (max-width: 820px){.carousel-indicators[_ngcontent-%COMP%]{bottom:-8px}}.carousel-indicators[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{background-color:#ddd;width:1.25rem;height:.375rem;transition:.3s}.carousel-indicators[_ngcontent-%COMP%] button.active[_ngcontent-%COMP%]{background-color:var(--bs-success)}.sign-in-pane[_ngcontent-%COMP%]{padding:0 3rem 0 3.5rem}@media (max-width: 768px){.sign-in-pane[_ngcontent-%COMP%]{padding:24px 12px}.sign-in-pane[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{padding-left:8px!important}}@media (min-width: 1200px){.sign-in-pane[_ngcontent-%COMP%]{border-bottom:1px solid #89b03e;border-right:1px solid #89b03e;border-top:1px solid #89b03e;border-radius:0 10px 10px 0}}.subscription.danger[_ngcontent-%COMP%]{background-color:#f2dede;border-color:#eb415d;color:#a94442}.subscription.warning[_ngcontent-%COMP%]{background-color:#fcf8e3;border-color:#faebcc;color:#8a6d3b}@media (max-width: 768px){.features-pane[_ngcontent-%COMP%]{border-right:0px!important}}@media (min-width: 1200px){.features-pane[_ngcontent-%COMP%]{border-left:1px solid #89b03e;border-bottom:1px solid #89b03e;border-top:1px solid #89b03e;border-radius:10px 0 0 10px}}.copyright[_ngcontent-%COMP%]{position:absolute;bottom:1.25rem;left:1.25rem}.copyright[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{width:8.125rem;height:2.5rem;background-image:url(//res.cloudinary.com/pos/image/upload/POS/Images/Login/dealpos.png);background-position:left top;background-repeat:no-repeat;background-size:contain}.version[_ngcontent-%COMP%]{bottom:1.25rem;right:1.25rem;position:absolute}@media (max-width: 768px){.copyright[_ngcontent-%COMP%], .version[_ngcontent-%COMP%]{position:static;margin-top:10px}.copyright[_ngcontent-%COMP%]{justify-content:center}}div.divider[_ngcontent-%COMP%] > hr[_ngcontent-%COMP%]{margin-top:1.2rem;margin-bottom:1.2rem;border-top:1px solid rgba(0,0,0,.855);width:20%}button.btn-social-login[_ngcontent-%COMP%], .btn-login[_ngcontent-%COMP%]{border:1px solid var(--bs-success)}.fa-google[_ngcontent-%COMP%]{background:conic-gradient(from -45deg,#ea4335 110deg,#4285f4 90deg 180deg,#34a853 180deg 270deg,#fbbc05 270deg) 73% 55%/150% 150% no-repeat;-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent}.version[_ngcontent-%COMP%] a[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:#fe3a00!important}.version[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited i[_ngcontent-%COMP%]{color:#f4f4f4!important}.version[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{margin-left:-10px}.domain-option[_ngcontent-%COMP%]{padding:.75rem;color:#343434;font-size:.875rem;width:8.5rem}"]});let o=t;return o})();var Me=(()=>{let t=class t{constructor(n,e,s){this.route=n,this.http=e,this.service=s}ngOnInit(){this.route.queryParams.subscribe(n=>{this.shopID=n.shop_id,this.code=n.code})}addShopee(){let n={ShopID:Number(this.shopID),Code:this.code},e="/api/ChannelAdd/ShopeeV2";this.http.post(e,n).subscribe(s=>{this.service.navigate(["/menu/channel"])})}};t.\u0275fac=function(e){return new(e||t)(m(S),m(y),m(v))},t.\u0275cmp=x({type:t,selectors:[["shopee-authorized"]],decls:20,vars:1,consts:[[1,"container","h-100"],[1,"row","d-flex","justify-content-center","align-items-center","h-100"],[1,"col-md-4"],[1,"card"],[1,"card-header","text-center"],[1,"far","fa-check-circle","text-success",2,"font-size","115px"],[1,"h3","fw-bold"],[1,"card-body","text-center","py-6"],[1,"text-shopee","fw-bold"],["type","button",1,"btn","btn-success","mt-t",3,"click"],[1,"fas","fa-undo"]],template:function(e,s){e&1&&(i(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4),l(5,"i",5),i(6,"div",6),a(7,"Success !"),r()(),i(8,"div",7)(9,"div"),a(10,"You have successfully authorized "),r(),i(11,"div"),a(12,"DEALPOS to manage your Shopee"),r(),i(13,"div"),a(14," Your shopID is "),i(15,"span",8),a(16),r()(),i(17,"button",9),g("click",function(){return s.addShopee()}),l(18,"i",10),a(19," Add to my Channel"),r()()()()()()),e&2&&(d(16),C(s.shopID))},styles:[".login-pane[_ngcontent-%COMP%]{max-width:57rem;height:max-content;margin-top:115px}@media (max-width: 768px){.login-pane[_ngcontent-%COMP%]{margin-top:0}}@media only screen and (max-width: 1300px) and (min-width: 1024px){.login-pane[_ngcontent-%COMP%]{margin-top:30px}}.header-title[_ngcontent-%COMP%]{font-family:Roboto Slab}.carousel-inner[_ngcontent-%COMP%]{height:310px}.carousel-inner[_ngcontent-%COMP%] div.carousel-item[_ngcontent-%COMP%]{top:28px}@media (max-width: 820px){.carousel-indicators[_ngcontent-%COMP%]{bottom:-8px}}.carousel-indicators[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{background-color:#ddd;width:1.25rem;height:.375rem;transition:.3s}.carousel-indicators[_ngcontent-%COMP%] button.active[_ngcontent-%COMP%]{background-color:var(--bs-success)}.sign-in-pane[_ngcontent-%COMP%]{padding:0 3rem 0 3.5rem}@media (max-width: 768px){.sign-in-pane[_ngcontent-%COMP%]{padding:24px 12px}.sign-in-pane[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{padding-left:8px!important}}@media (min-width: 1200px){.sign-in-pane[_ngcontent-%COMP%]{border-bottom:1px solid #89b03e;border-right:1px solid #89b03e;border-top:1px solid #89b03e;border-radius:0 10px 10px 0}}.subscription.danger[_ngcontent-%COMP%]{background-color:#f2dede;border-color:#eb415d;color:#a94442}.subscription.warning[_ngcontent-%COMP%]{background-color:#fcf8e3;border-color:#faebcc;color:#8a6d3b}@media (max-width: 768px){.features-pane[_ngcontent-%COMP%]{border-right:0px!important}}@media (min-width: 1200px){.features-pane[_ngcontent-%COMP%]{border-left:1px solid #89b03e;border-bottom:1px solid #89b03e;border-top:1px solid #89b03e;border-radius:10px 0 0 10px}}.copyright[_ngcontent-%COMP%]{position:absolute;bottom:1.25rem;left:1.25rem}.copyright[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{width:8.125rem;height:2.5rem;background-image:url(//res.cloudinary.com/pos/image/upload/POS/Images/Login/dealpos.png);background-position:left top;background-repeat:no-repeat;background-size:contain}.version[_ngcontent-%COMP%]{bottom:1.25rem;right:1.25rem;position:absolute}@media (max-width: 768px){.copyright[_ngcontent-%COMP%], .version[_ngcontent-%COMP%]{position:static;margin-top:10px}.copyright[_ngcontent-%COMP%]{justify-content:center}}div.divider[_ngcontent-%COMP%] > hr[_ngcontent-%COMP%]{margin-top:1.2rem;margin-bottom:1.2rem;border-top:1px solid rgba(0,0,0,.855);width:20%}button.btn-social-login[_ngcontent-%COMP%], .btn-login[_ngcontent-%COMP%]{border:1px solid var(--bs-success)}.fa-google[_ngcontent-%COMP%]{background:conic-gradient(from -45deg,#ea4335 110deg,#4285f4 90deg 180deg,#34a853 180deg 270deg,#fbbc05 270deg) 73% 55%/150% 150% no-repeat;-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent}.version[_ngcontent-%COMP%] a[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:#fe3a00!important}.version[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited i[_ngcontent-%COMP%]{color:#f4f4f4!important}.version[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{margin-left:-10px}.domain-option[_ngcontent-%COMP%]{padding:.75rem;color:#343434;font-size:.875rem;width:8.5rem}.form-signin[_ngcontent-%COMP%]{max-width:600px}.card[_ngcontent-%COMP%]{font:100 14px/25px Roboto,Helvetica Neue,sans-serif;border-radius:13px;box-sizing:border-box}.text-shopee[_ngcontent-%COMP%]{color:#f53d2d}"]});let o=t;return o})();var we=(()=>{let t=class t{constructor(n,e,s){this.route=n,this.http=e,this.service=s}ngOnInit(){this.route.queryParams.subscribe(n=>{this.code=n.code,this.state=n.state})}addChannelTiktok(){let n={Code:this.code};this.http.post("/api/ChannelAdd/AddTiktok",n).subscribe(e=>{this.service.navigate(["/menu/channel"])})}};t.\u0275fac=function(e){return new(e||t)(m(S),m(y),m(v))},t.\u0275cmp=x({type:t,selectors:[["app-tiktok"]],decls:24,vars:2,consts:[[1,"container","h-100"],[1,"row","d-flex","justify-content-center","align-items-center","h-100"],[1,"col-md-4"],[1,"card"],[1,"card-header","text-center"],[1,"far","fa-check-circle","text-success",2,"font-size","115px"],[1,"h3","fw-bold"],[1,"card-body","text-center","py-6"],[1,"text-shopee","fw-bold"],["type","button",1,"btn","btn-success","mt-6",3,"click"],[1,"fas","fa-undo"]],template:function(e,s){e&1&&(i(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4),l(5,"i",5),i(6,"div",6),a(7,"Success !"),r()(),i(8,"div",7)(9,"div"),a(10,"You have successfully authorized "),r(),i(11,"div"),a(12,"DEALPOS to manage your Tiktok"),r(),i(13,"div"),a(14," Your Code is "),i(15,"span",8),a(16),r()(),i(17,"div"),a(18," Your State is "),i(19,"span",8),a(20),r()(),i(21,"button",9),g("click",function(){return s.addChannelTiktok()}),l(22,"i",10),a(23," Add to my Channel"),r()()()()()()),e&2&&(d(16),C(s.code),d(4),C(s.state))},styles:[".login-pane[_ngcontent-%COMP%]{max-width:57rem;height:max-content;margin-top:115px}@media (max-width: 768px){.login-pane[_ngcontent-%COMP%]{margin-top:0}}@media only screen and (max-width: 1300px) and (min-width: 1024px){.login-pane[_ngcontent-%COMP%]{margin-top:30px}}.header-title[_ngcontent-%COMP%]{font-family:Roboto Slab}.carousel-inner[_ngcontent-%COMP%]{height:310px}.carousel-inner[_ngcontent-%COMP%] div.carousel-item[_ngcontent-%COMP%]{top:28px}@media (max-width: 820px){.carousel-indicators[_ngcontent-%COMP%]{bottom:-8px}}.carousel-indicators[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{background-color:#ddd;width:1.25rem;height:.375rem;transition:.3s}.carousel-indicators[_ngcontent-%COMP%] button.active[_ngcontent-%COMP%]{background-color:var(--bs-success)}.sign-in-pane[_ngcontent-%COMP%]{padding:0 3rem 0 3.5rem}@media (max-width: 768px){.sign-in-pane[_ngcontent-%COMP%]{padding:24px 12px}.sign-in-pane[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{padding-left:8px!important}}@media (min-width: 1200px){.sign-in-pane[_ngcontent-%COMP%]{border-bottom:1px solid #89b03e;border-right:1px solid #89b03e;border-top:1px solid #89b03e;border-radius:0 10px 10px 0}}.subscription.danger[_ngcontent-%COMP%]{background-color:#f2dede;border-color:#eb415d;color:#a94442}.subscription.warning[_ngcontent-%COMP%]{background-color:#fcf8e3;border-color:#faebcc;color:#8a6d3b}@media (max-width: 768px){.features-pane[_ngcontent-%COMP%]{border-right:0px!important}}@media (min-width: 1200px){.features-pane[_ngcontent-%COMP%]{border-left:1px solid #89b03e;border-bottom:1px solid #89b03e;border-top:1px solid #89b03e;border-radius:10px 0 0 10px}}.copyright[_ngcontent-%COMP%]{position:absolute;bottom:1.25rem;left:1.25rem}.copyright[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{width:8.125rem;height:2.5rem;background-image:url(//res.cloudinary.com/pos/image/upload/POS/Images/Login/dealpos.png);background-position:left top;background-repeat:no-repeat;background-size:contain}.version[_ngcontent-%COMP%]{bottom:1.25rem;right:1.25rem;position:absolute}@media (max-width: 768px){.copyright[_ngcontent-%COMP%], .version[_ngcontent-%COMP%]{position:static;margin-top:10px}.copyright[_ngcontent-%COMP%]{justify-content:center}}div.divider[_ngcontent-%COMP%] > hr[_ngcontent-%COMP%]{margin-top:1.2rem;margin-bottom:1.2rem;border-top:1px solid rgba(0,0,0,.855);width:20%}button.btn-social-login[_ngcontent-%COMP%], .btn-login[_ngcontent-%COMP%]{border:1px solid var(--bs-success)}.fa-google[_ngcontent-%COMP%]{background:conic-gradient(from -45deg,#ea4335 110deg,#4285f4 90deg 180deg,#34a853 180deg 270deg,#fbbc05 270deg) 73% 55%/150% 150% no-repeat;-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent}.version[_ngcontent-%COMP%] a[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:#fe3a00!important}.version[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited i[_ngcontent-%COMP%]{color:#f4f4f4!important}.version[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{margin-left:-10px}.domain-option[_ngcontent-%COMP%]{padding:.75rem;color:#343434;font-size:.875rem;width:8.5rem}.form-signin[_ngcontent-%COMP%]{max-width:600px}.card[_ngcontent-%COMP%]{font:100 14px/25px Roboto,Helvetica Neue,sans-serif;border-radius:13px;box-sizing:border-box}.text-shopee[_ngcontent-%COMP%]{color:#f53d2d}"]});let o=t;return o})();var Ue=[{path:"",component:ve,data:{title:"Dealpos x Marketplace"}},{path:"shopee",component:Me,data:{title:"Success"}},{path:"tiktok",component:we,data:{title:"Success"}},{path:"lazada",component:be,data:{title:"Success"}}],Oe=(()=>{let t=class t{};t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=L({type:t}),t.\u0275inj=I({imports:[N.forChild(Ue),N]});let o=t;return o})();var wt=(()=>{let t=class t{};t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=L({type:t}),t.\u0275inj=I({imports:[J,de,Oe,he,ue]});let o=t;return o})();export{wt as LoginModule};
@@ -1 +1 @@
1
- import{b as P,c as S}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.9.2/Marketplace/chunk-OHUTMYI3.js";import{r as k}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.9.2/Marketplace/chunk-MSDWP3Z5.js";import{$b as y,Fa as n,Kc as E,Lc as M,Mb as C,Mc as N,Oa as o,Ua as a,Za as s,_a as m,_b as b,aa as v,ab as p,bb as c,ea as g,fa as x,gc as I,jb as l,mb as f,ob as T,pb as u,rb as _}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.9.2/Marketplace/chunk-WOVAE35N.js";function D(e,t){if(e&1&&(p(0),s(1,"a",6),u(2),m(),c()),e&2){let i=l().$implicit;n(1),f("routerLink",i.Url),o("title",i.Description?i.Description:""),n(1),_(" ",i.Title," ")}}function F(e,t){if(e&1&&(s(0,"li",4),a(1,D,3,3,"ng-container",5),m()),e&2){let i=t.$implicit;n(1),o("ngxPermissionsOnly",i.Permissions)}}function L(e,t){if(e&1&&(p(0),a(1,F,2,1,"li",3),c()),e&2){let i=l();n(1),o("ngForOf",i.Tabs)}}function R(e,t){if(e&1&&(s(0,"li",4)(1,"a",6),u(2),m()()),e&2){let i=t.$implicit;n(1),f("routerLink",i.Url),o("title",i.Description?i.Description:""),n(1),_(" ",i.Title," ")}}function w(e,t){if(e&1&&a(0,R,3,3,"li",3),e&2){let i=l();o("ngForOf",i.Tabs)}}var H=(()=>{let t=class t{constructor(){this.usePermissions=!1}};t.\u0275fac=function(r){return new(r||t)},t.\u0275cmp=g({type:t,selectors:[["nav-tab"]],inputs:{Tabs:"Tabs",usePermissions:"usePermissions"},decls:4,vars:2,consts:[[1,"nav","navbar-nav","navbar-left","nav-tab-arrow"],[4,"ngIf","ngIfElse"],["NOT_USE_PERMISSIONS",""],["routerLinkActive","active","class","nav-item me-6",4,"ngFor","ngForOf"],["routerLinkActive","active",1,"nav-item","me-6"],[4,"ngxPermissionsOnly"],[1,"nav-link","nav-link-arrow","mb-0",3,"routerLink","title"]],template:function(r,O){if(r&1&&(s(0,"ul",0),a(1,L,2,1,"ng-container",1)(2,w,1,1,"ng-template",null,2,C),m()),r&2){let h=T(3);n(1),o("ngIf",O.usePermissions)("ngIfElse",h)}},dependencies:[b,y,E,M,P]});let e=t;return e})(),J=(()=>{let t=class t{};t.\u0275fac=function(r){return new(r||t)},t.\u0275mod=x({type:t}),t.\u0275inj=v({imports:[I,N,k,S.forChild()]});let e=t;return e})();export{H as a,J as b};
1
+ import{b as P,c as S}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.9.5/Marketplace/chunk-7O7ZV66V.js";import{r as k}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.9.5/Marketplace/chunk-AR5AIUY5.js";import{$b as y,Fa as n,Kc as E,Lc as M,Mb as C,Mc as N,Oa as o,Ua as a,Za as s,_a as m,_b as b,aa as v,ab as p,bb as c,ea as g,fa as x,gc as I,jb as l,mb as f,ob as T,pb as u,rb as _}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.9.5/Marketplace/chunk-VM6WJ77V.js";function D(e,t){if(e&1&&(p(0),s(1,"a",6),u(2),m(),c()),e&2){let i=l().$implicit;n(1),f("routerLink",i.Url),o("title",i.Description?i.Description:""),n(1),_(" ",i.Title," ")}}function F(e,t){if(e&1&&(s(0,"li",4),a(1,D,3,3,"ng-container",5),m()),e&2){let i=t.$implicit;n(1),o("ngxPermissionsOnly",i.Permissions)}}function L(e,t){if(e&1&&(p(0),a(1,F,2,1,"li",3),c()),e&2){let i=l();n(1),o("ngForOf",i.Tabs)}}function R(e,t){if(e&1&&(s(0,"li",4)(1,"a",6),u(2),m()()),e&2){let i=t.$implicit;n(1),f("routerLink",i.Url),o("title",i.Description?i.Description:""),n(1),_(" ",i.Title," ")}}function w(e,t){if(e&1&&a(0,R,3,3,"li",3),e&2){let i=l();o("ngForOf",i.Tabs)}}var H=(()=>{let t=class t{constructor(){this.usePermissions=!1}};t.\u0275fac=function(r){return new(r||t)},t.\u0275cmp=g({type:t,selectors:[["nav-tab"]],inputs:{Tabs:"Tabs",usePermissions:"usePermissions"},decls:4,vars:2,consts:[[1,"nav","navbar-nav","navbar-left","nav-tab-arrow"],[4,"ngIf","ngIfElse"],["NOT_USE_PERMISSIONS",""],["routerLinkActive","active","class","nav-item me-6",4,"ngFor","ngForOf"],["routerLinkActive","active",1,"nav-item","me-6"],[4,"ngxPermissionsOnly"],[1,"nav-link","nav-link-arrow","mb-0",3,"routerLink","title"]],template:function(r,O){if(r&1&&(s(0,"ul",0),a(1,L,2,1,"ng-container",1)(2,w,1,1,"ng-template",null,2,C),m()),r&2){let h=T(3);n(1),o("ngIf",O.usePermissions)("ngIfElse",h)}},dependencies:[b,y,E,M,P]});let e=t;return e})(),J=(()=>{let t=class t{};t.\u0275fac=function(r){return new(r||t)},t.\u0275mod=x({type:t}),t.\u0275inj=v({imports:[I,N,k,S.forChild()]});let e=t;return e})();export{H as a,J as b};