-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.5d33dd35e61a211666d7.bundle.js
1 lines (1 loc) · 4.56 KB
/
main.5d33dd35e61a211666d7.bundle.js
1
webpackJsonp([1],{0:function(n,l,t){n.exports=t("cDNt")},cDNt:function(n,l,t){"use strict";function u(n){return b._20(0,[(n()(),b._4(0,null,null,1,"li",[],null,null,null,null,null)),(n()(),b._18(null,["\n\t\n\t","\n\t\n\t"]))],null,function(n,l){n(l,1,0,l.context.$implicit.$value)})}function e(n){return b._20(0,[(n()(),b._4(0,null,null,5,"ul",[],null,null,null,null,null)),(n()(),b._18(null,["\n\t"])),(n()(),b.Y(16777216,null,null,2,null,u)),b._2(802816,null,0,g.d,[b.N,b.K,b.t],{ngForOf:[0,"ngForOf"]},null),b._16(131072,g.a,[b.g]),(n()(),b._18(null,["\n"])),(n()(),b._18(null,["\n"])),(n()(),b._4(0,[["message",1]],null,0,"input",[["id","mesages"],["placeholder","Enter Your Message"],["type","text"]],null,null,null,null,null)),(n()(),b._18(null,["\n"])),(n()(),b._4(0,null,null,1,"button",[["class","btn btn-primary"]],null,[[null,"click"]],function(n,l,t){var u=!0,e=n.component;if("click"===l){u=!1!==e.newMessage(b._15(n,7).value)&&u}return u},null,null)),(n()(),b._18(null,["Post Message "]))],function(n,l){var t=l.component;n(l,3,0,b._19(l,3,0,b._15(l,4).transform(t.messages)))},null)}function o(n){return b._20(0,[(n()(),b._4(0,null,null,1,"app-chat",[],null,null,null,e,x)),b._2(114688,null,0,d,[h.a],null,null)],function(n,l){n(l,1,0)},null)}function c(n){return v._20(0,[(n()(),v._18(null,["\n"])),(n()(),v._4(0,null,null,7,"div",[],null,null,null,null,null)),(n()(),v._18(null,["\n "])),(n()(),v._4(0,null,null,1,"h1",[],null,null,null,null,null)),(n()(),v._18(null,["\n Welcome to ","!\n "])),(n()(),v._18(null,["\n "])),(n()(),v._4(0,null,null,1,"app-chat",[],null,null,null,e,x)),v._2(114688,null,0,d,[w.a],null,null),(n()(),v._18(null,["\n"])),(n()(),v._18(null,["\n\n"]))],function(n,l){n(l,7,0)},function(n,l){n(l,4,0,l.component.title)})}function i(n){return v._20(0,[(n()(),v._4(0,null,null,1,"app-root",[],null,null,null,c,M)),v._2(49152,null,0,r,[],null,null)],null,null)}Object.defineProperty(l,"__esModule",{value:!0});var a={production:!0},_=function(){function n(){}return n}(),r=function(){function n(){this.title="ChatApp"}return n}(),s=[""],p=["li[_ngcontent-%COMP%]{list-style:none;width:1000px;height:50px;background-color:#1e90ff;margin:20px 80px;padding:20px;border-radius:8px}button[_ngcontent-%COMP%]{width:200px;background-color:#b8860b;margin-left:50px}button[_ngcontent-%COMP%], input[_ngcontent-%COMP%]{height:70px;border-radius:7px}input[_ngcontent-%COMP%]{width:300px;background-color:azure;margin-left:120px;padding:15px;width:500px;font-size:2em}"],f=t("HAwn"),d=function(){function n(n){this.db=n}return n.prototype.ngOnInit=function(){this.getChatData()},n.prototype.getChatData=function(){this.messages=this.db.list("chat_messages")},n.prototype.newMessage=function(n){this.messages.push(n)},n.ctorParameters=function(){return[{type:f.a}]},n}(),b=t("/oeL"),g=t("qbdv"),h=t("HAwn"),m=[p],x=b._1({encapsulation:0,styles:m,data:{}}),v=(b.Z("app-chat",d,o,{},{},[]),t("/oeL")),w=t("HAwn"),y=[s],M=v._1({encapsulation:0,styles:y,data:{}}),O=v.Z("app-root",r,i,{},{},[]),k=t("/oeL"),C=t("qbdv"),P=t("fc+i"),L=t("13je"),j=t("HAwn"),A=k._0(_,[r],function(n){return k._13([k._14(512,k.i,k.W,[[8,[O]],[3,k.i],k.x]),k._14(5120,k.v,k._12,[[3,k.v]]),k._14(4608,C.f,C.e,[k.v]),k._14(4608,k.h,k.h,[]),k._14(5120,k.a,k._5,[]),k._14(5120,k.t,k._10,[]),k._14(5120,k.u,k._11,[]),k._14(4608,P.b,P.s,[C.c]),k._14(6144,k.H,null,[P.b]),k._14(4608,P.e,P.f,[]),k._14(5120,P.c,function(n,l,t,u){return[new P.k(n),new P.o(l),new P.n(t,u)]},[C.c,C.c,C.c,P.e]),k._14(4608,P.d,P.d,[P.c,k.z]),k._14(135680,P.m,P.m,[C.c]),k._14(4608,P.l,P.l,[P.d,P.m]),k._14(6144,k.F,null,[P.l]),k._14(6144,P.p,null,[P.m]),k._14(4608,k.L,k.L,[k.z]),k._14(4608,P.g,P.g,[C.c]),k._14(4608,P.i,P.i,[C.c]),k._14(5120,L.b,L.f,[L.c,L.d]),k._14(5120,j.a,j.c,[L.b]),k._14(512,C.b,C.b,[]),k._14(1024,k.l,P.q,[]),k._14(1024,k.b,function(n,l){return[P.r(n,l)]},[[2,P.h],[2,k.y]]),k._14(512,k.c,k.c,[[2,k.b]]),k._14(131584,k._3,k._3,[k.z,k.X,k.r,k.l,k.i,k.c]),k._14(2048,k.e,null,[k._3]),k._14(512,k.d,k.d,[k.e]),k._14(512,P.a,P.a,[[3,P.a]]),k._14(512,L.a,L.a,[]),k._14(512,j.b,j.b,[]),k._14(512,_,_,[]),k._14(256,L.c,{apiKey:"AIzaSyAcc-_dhYOvFM91yuvLiab3aopbuTjat7U",authDomain:"textchat-301b5.firebaseapp.com",databaseURL:"https://textchat-301b5.firebaseio.com",projectId:"textchat-301b5",storageBucket:"textchat-301b5.appspot.com",messagingSenderId:"822302345196"},[]),k._14(256,L.d,void 0,[])])}),F=t("/oeL"),z=t("fc+i");a.production&&Object(F.R)(),Object(z.j)().bootstrapModuleFactory(A)},gFIY:function(n,l){function t(n){return new Promise(function(l,t){t(new Error("Cannot find module '"+n+"'."))})}t.keys=function(){return[]},t.resolve=t,n.exports=t,t.id="gFIY"}},[0]);