(window.webpackJsonp=window.webpackJsonp||[]).push([[56],{"N/uu":function(n,l,t){"use strict";t.r(l);var u=t("CcnG"),e=t("XC8H"),i=t("2hxB"),o=t("ZZ/e"),r=t("zZ8w"),s=function(){function n(n,l,t){this.settings=n,this.navCtrl=l,this.helper=t,this.urlCentral=""}return n.prototype.ngOnInit=function(){},n.prototype.ionViewWillEnter=function(){var n=this;this.listener=function(l){if(l.data){var t=l.data;if("string"==typeof t){var u=decodeURIComponent(escape(t));u&&(t=u)}n.helper.displayToast(t,3e3)}n.navCtrl.pop(),console.log(l)},window.addEventListener("message",this.listener,!1);var l=this.settings.currentSettings[this.settings.CENTRAL_ORDER_URL]||this.settings.currentSettings[this.settings.API_SERVER_URL];this.urlCentral=l+="/pedidos/ped_man_cen/codi.html?cliente="+this.settings.currentSettings[this.settings.CENTRAL_ORDER_CLIENT_CODE]+"&in_ics_logistics=true&nombre_usuario="+i.a.user.nombre+"&password_usuario="+i.a.user.password},n.prototype.ionViewWillLeave=function(){window.removeEventListener("message",this.listener,!1)},n}(),b=function(){return function(){}}(),a=t("pMnS"),c=t("YYwF"),p=t("ZYjt"),h=t("oBZk"),d=t("A7o+"),v=u.ub({encapsulation:0,styles:[[""]],data:{}});function w(n){return u.Sb(0,[u.Kb(0,c.a,[p.b]),(n()(),u.wb(1,0,null,null,12,"ion-header",[],null,null,null,h.mb,h.p)),u.vb(2,49152,null,0,o.E,[u.h,u.k,u.A],null,null),(n()(),u.wb(3,0,null,0,10,"ion-toolbar",[["class","ion-text-center"],["color","primary"]],null,null,null,h.Tb,h.W)),u.vb(4,49152,null,0,o.Fb,[u.h,u.k,u.A],{color:[0,"color"]},null),(n()(),u.wb(5,0,null,0,4,"ion-buttons",[["slot","start"]],null,null,null,h.ab,h.d)),u.vb(6,49152,null,0,o.o,[u.h,u.k,u.A],null,null),(n()(),u.wb(7,0,null,0,2,"ion-back-button",[],null,[[null,"click"]],(function(n,l,t){var e=!0;return"click"===l&&(e=!1!==u.Ib(n,9).onClick(t)&&e),e}),h.Y,h.b)),u.vb(8,49152,null,0,o.j,[u.h,u.k,u.A],null,null),u.vb(9,16384,null,0,o.k,[[2,o.lb],o.Lb],null,null),(n()(),u.wb(10,0,null,0,3,"ion-title",[],null,null,null,h.Rb,h.U)),u.vb(11,49152,null,0,o.Db,[u.h,u.k,u.A],null,null),(n()(),u.Qb(12,0,["",""])),u.Kb(131072,d.j,[d.k,u.h]),(n()(),u.wb(14,0,null,null,3,"ion-content",[],null,null,null,h.ib,h.l)),u.vb(15,49152,null,0,o.x,[u.h,u.k,u.A],null,null),(n()(),u.wb(16,0,null,0,1,"iframe",[["height","100%"],["width","100%"]],[[8,"src",5]],null,null,null,null)),u.Mb(17,1)],(function(n,l){n(l,4,0,"primary")}),(function(n,l){var t=l.component;n(l,12,0,u.Rb(l,12,0,u.Ib(l,13).transform("PEDIDO_CENTRAL")));var e=u.Rb(l,16,0,n(l,17,0,u.Ib(l,0),t.urlCentral));n(l,16,0,e)}))}function f(n){return u.Sb(0,[(n()(),u.wb(0,0,null,null,1,"app-pedido-a-central",[],null,null,null,w,v)),u.vb(1,114688,null,0,s,[e.a,o.Lb,r.a],null,null)],(function(n,l){n(l,1,0)}),null)}var g=u.sb("app-pedido-a-central",s,f,{},{},[]),C=t("Ip0R"),G=t("gIcY"),R=t("ZYCi"),k=t("iTUp");t.d(l,"PedidoACentralPageModuleNgFactory",(function(){return m}));var m=u.tb(b,[],(function(n){return u.Fb([u.Gb(512,u.j,u.db,[[8,[a.a,g]],[3,u.j],u.y]),u.Gb(4608,C.r,C.q,[u.v,[2,C.L]]),u.Gb(4608,G.p,G.p,[]),u.Gb(4608,o.c,o.c,[u.A,u.g]),u.Gb(4608,o.Kb,o.Kb,[o.c,u.j,u.r]),u.Gb(4608,o.Pb,o.Pb,[o.c,u.j,u.r]),u.Gb(1073742336,C.c,C.c,[]),u.Gb(1073742336,G.o,G.o,[]),u.Gb(1073742336,G.d,G.d,[]),u.Gb(1073742336,o.Hb,o.Hb,[]),u.Gb(1073742336,R.p,R.p,[[2,R.u],[2,R.n]]),u.Gb(1073742336,k.a,k.a,[]),u.Gb(1073742336,d.h,d.h,[]),u.Gb(1073742336,b,b,[]),u.Gb(1024,R.l,(function(){return[[{path:"",component:s}]]}),[])])}))}}]);