-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.c7dd609ae8f38394f3d6.bundle.js
1 lines (1 loc) · 18.3 KB
/
main.c7dd609ae8f38394f3d6.bundle.js
1
webpackJsonp([1,5],{"/fcW":function(t,e){function n(t){throw new Error("Cannot find module '"+t+"'.")}n.keys=function(){return[]},n.resolve=n,t.exports=n,n.id="/fcW"},0:function(t,e,n){t.exports=n("x35b")},"1A80":function(t,e,n){"use strict";function _(t){return r._24(0,[(t()(),r._25(0,null,null,1,"h1",[],null,null,null,null,null)),(t()(),r._26(null,["\n ","\n"])),(t()(),r._26(null,["\n"])),(t()(),r._25(0,null,null,4,"div",[],null,null,null,null,null)),(t()(),r._26(null,["\n "])),(t()(),r._25(8388608,null,null,1,"router-outlet",[],null,null,null,null,null)),r._27(73728,null,0,o.y,[o.l,r.T,r.U,[8,null]],null,null),(t()(),r._26(null,["\n"])),(t()(),r._26(null,["\n"]))],null,function(t,e){t(e,1,0,e.component.title)})}function l(t){return r._24(0,[(t()(),r._25(0,null,null,1,"app-root",[],null,null,null,_,c)),r._27(24576,null,0,u.a,[a.a],null,null)],null,null)}var i=n("Ni5f"),r=n("3j3K"),o=n("5oXY"),u=n("YWx4"),a=n("dB9I");n.d(e,"a",function(){return h});var s=[i.a],c=r._23({encapsulation:0,styles:s,data:{}}),h=r._28("app-root",u.a,l,{},{},[])},"4Ipn":function(t,e,n){"use strict";function _(t){return i._24(0,[(t()(),i._25(0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i._26(null,["\n Hello from pizzas list :)\n"])),(t()(),i._26(null,["\n"])),(t()(),i._25(0,null,null,13,"li",[],null,null,null,null,null)),(t()(),i._26(null,["\n "])),(t()(),i._25(0,null,null,2,"ul",[],null,null,null,null,null)),(t()(),i._26(null,["Pizza Margherita "])),(t()(),i._25(0,null,null,0,"img",[["height","150"],["src","https://upload.wikimedia.org/wikipedia/commons/a/a3/Eq_it-na_pizza-margherita_sep2005_sml.jpg"],["width","150"]],null,null,null,null,null)),(t()(),i._26(null,["\n "])),(t()(),i._25(0,null,null,2,"ul",[],null,null,null,null,null)),(t()(),i._26(null,["Pizza Capricciosa "])),(t()(),i._25(0,null,null,0,"img",[["height","150"],["src","https://upload.wikimedia.org/wikipedia/commons/4/43/Pizza_al_taglio.jpg"],["width","150"]],null,null,null,null,null)),(t()(),i._26(null,["\n "])),(t()(),i._25(0,null,null,2,"ul",[],null,null,null,null,null)),(t()(),i._26(null,["Pizza Peperoni "])),(t()(),i._25(0,null,null,0,"img",[["height","150"],["src","https://upload.wikimedia.org/wikipedia/commons/a/a6/Pizza_Quattro_Stagioni.jpg"],["width","150"]],null,null,null,null,null)),(t()(),i._26(null,["\n"]))],null,null)}function l(t){return i._24(0,[(t()(),i._25(0,null,null,1,"pizzas-list",[],null,null,null,_,u)),i._27(57344,null,0,r.a,[],null,null)],function(t,e){t(e,1,0)},null)}var i=n("3j3K"),r=n("qIyE");n.d(e,"a",function(){return a});var o=[],u=i._23({encapsulation:2,styles:o,data:{}}),a=i._28("pizzas-list",r.a,l,{},{},[])},Iksp:function(t,e,n){"use strict";n.d(e,"a",function(){return _});var _=function(){function t(){}return t}()},Ni5f:function(t,e,n){"use strict";n.d(e,"a",function(){return _});var _=[""]},Q4XH:function(t,e,n){"use strict";n.d(e,"a",function(){return _});var _=function(){function t(){}return t.prototype.ngOnInit=function(){},t.ctorParameters=function(){return[]},t}()},QXu3:function(t,e,n){"use strict";var _=n("T3y5");n.d(e,"a",function(){return l});var l=function(){function t(t){this.basketService=t,this.currentBasket=t.basket}return t.prototype.ngOnInit=function(){},t.ctorParameters=function(){return[{type:_.a}]},t}()},T3y5:function(t,e,n){"use strict";n.d(e,"a",function(){return _});var _=function(){function t(){this.basket=new Array}return t.prototype.addPizzaToBasket=function(t){this.basket.push(t)},t.ctorParameters=function(){return[]},t}()},YWx4:function(t,e,n){"use strict";var _=n("dB9I");n.d(e,"a",function(){return l});var l=function(){function t(t){this.speechRecognitionService=t,this.title="app works!"}return t.ctorParameters=function(){return[{type:_.a}]},t}()},dB9I:function(t,e,n){"use strict";var _=n("5oXY"),l=n("T3y5");n.d(e,"a",function(){return i});var i=function(){function t(t,e){this.router=t,this.basketService=e,annyang?(annyang.addCommands({start:function(){t.navigate(["/order"])},"(Pizza) Margherita":function(){alert("Pizza Margherita Added!"),e.addPizzaToBasket("Margherita")},"(Pizza) Capricciosa":function(){alert("Pizza Capricciosa Added!"),e.addPizzaToBasket("Capricciosa")},"(Pizza) Peperoni":function(){alert("Pizza Peperoni Added!"),e.addPizzaToBasket("Peperoni")},checkout:function(){t.navigate(["/checkout"])}}),SpeechKITT.annyang(),SpeechKITT.setStylesheet("//cdnjs.cloudflare.com/ajax/libs/SpeechKITT/0.3.0/themes/flat.css"),SpeechKITT.vroom()):alert("annyang not loaded!!!")}return t.ctorParameters=function(){return[{type:_.j},{type:l.a}]},t}()},kZql:function(t,e,n){"use strict";n.d(e,"a",function(){return _});var _={production:!0}},kke6:function(t,e,n){"use strict";var _=n("3j3K"),l=n("Iksp"),i=n("2Je8"),r=n("5oXY"),o=n("Qbdm"),u=n("NVOs"),a=n("Fzro"),s=n("T3y5"),c=n("dB9I"),h=n("wZfO"),p=n("4Ipn"),f=n("x1dX"),d=n("1A80"),g=n("Q4XH"),y=n("qIyE"),b=n("QXu3");n.d(e,"a",function(){return m});var R=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function _(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(_.prototype=n.prototype,new _)}}(),P=function(t){function e(e){return t.call(this,e,[h.a,p.a,f.a,d.a],[d.a])||this}return R(e,t),Object.defineProperty(e.prototype,"_LOCALE_ID_25",{get:function(){return null==this.__LOCALE_ID_25&&(this.__LOCALE_ID_25=_.b(this.parent.get(_.c,null))),this.__LOCALE_ID_25},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_NgLocalization_26",{get:function(){return null==this.__NgLocalization_26&&(this.__NgLocalization_26=new i.a(this._LOCALE_ID_25)),this.__NgLocalization_26},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_APP_ID_27",{get:function(){return null==this.__APP_ID_27&&(this.__APP_ID_27=_.d()),this.__APP_ID_27},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_IterableDiffers_28",{get:function(){return null==this.__IterableDiffers_28&&(this.__IterableDiffers_28=_.e()),this.__IterableDiffers_28},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_KeyValueDiffers_29",{get:function(){return null==this.__KeyValueDiffers_29&&(this.__KeyValueDiffers_29=_.f()),this.__KeyValueDiffers_29},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_DomSanitizer_30",{get:function(){return null==this.__DomSanitizer_30&&(this.__DomSanitizer_30=new o.b(this.parent.get(o.c))),this.__DomSanitizer_30},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_Sanitizer_31",{get:function(){return null==this.__Sanitizer_31&&(this.__Sanitizer_31=this._DomSanitizer_30),this.__Sanitizer_31},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_HAMMER_GESTURE_CONFIG_32",{get:function(){return null==this.__HAMMER_GESTURE_CONFIG_32&&(this.__HAMMER_GESTURE_CONFIG_32=new o.d),this.__HAMMER_GESTURE_CONFIG_32},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_EVENT_MANAGER_PLUGINS_33",{get:function(){return null==this.__EVENT_MANAGER_PLUGINS_33&&(this.__EVENT_MANAGER_PLUGINS_33=[new o.e(this.parent.get(o.c)),new o.f(this.parent.get(o.c)),new o.g(this.parent.get(o.c),this._HAMMER_GESTURE_CONFIG_32)]),this.__EVENT_MANAGER_PLUGINS_33},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_EventManager_34",{get:function(){return null==this.__EventManager_34&&(this.__EventManager_34=new o.h(this._EVENT_MANAGER_PLUGINS_33,this.parent.get(_.g))),this.__EventManager_34},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_ɵDomSharedStylesHost_35",{get:function(){return null==this.__ɵDomSharedStylesHost_35&&(this.__ɵDomSharedStylesHost_35=new o.i(this.parent.get(o.c))),this.__ɵDomSharedStylesHost_35},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_ɵDomRendererFactory2_36",{get:function(){return null==this.__ɵDomRendererFactory2_36&&(this.__ɵDomRendererFactory2_36=new o.j(this._EventManager_34,this._ɵDomSharedStylesHost_35)),this.__ɵDomRendererFactory2_36},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_RendererFactory2_37",{get:function(){return null==this.__RendererFactory2_37&&(this.__RendererFactory2_37=this._ɵDomRendererFactory2_36),this.__RendererFactory2_37},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_ɵSharedStylesHost_38",{get:function(){return null==this.__ɵSharedStylesHost_38&&(this.__ɵSharedStylesHost_38=this._ɵDomSharedStylesHost_35),this.__ɵSharedStylesHost_38},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_Testability_39",{get:function(){return null==this.__Testability_39&&(this.__Testability_39=new _.h(this.parent.get(_.g))),this.__Testability_39},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_Meta_40",{get:function(){return null==this.__Meta_40&&(this.__Meta_40=new o.k(this.parent.get(o.c))),this.__Meta_40},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_Title_41",{get:function(){return null==this.__Title_41&&(this.__Title_41=new o.l(this.parent.get(o.c))),this.__Title_41},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_ɵi_42",{get:function(){return null==this.__ɵi_42&&(this.__ɵi_42=new u.a),this.__ɵi_42},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_BrowserXhr_43",{get:function(){return null==this.__BrowserXhr_43&&(this.__BrowserXhr_43=new a.a),this.__BrowserXhr_43},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_ResponseOptions_44",{get:function(){return null==this.__ResponseOptions_44&&(this.__ResponseOptions_44=new a.b),this.__ResponseOptions_44},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_XSRFStrategy_45",{get:function(){return null==this.__XSRFStrategy_45&&(this.__XSRFStrategy_45=a.c()),this.__XSRFStrategy_45},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_XHRBackend_46",{get:function(){return null==this.__XHRBackend_46&&(this.__XHRBackend_46=new a.d(this._BrowserXhr_43,this._ResponseOptions_44,this._XSRFStrategy_45)),this.__XHRBackend_46},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_RequestOptions_47",{get:function(){return null==this.__RequestOptions_47&&(this.__RequestOptions_47=new a.e),this.__RequestOptions_47},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_Http_48",{get:function(){return null==this.__Http_48&&(this.__Http_48=a.f(this._XHRBackend_46,this._RequestOptions_47)),this.__Http_48},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_ActivatedRoute_49",{get:function(){return null==this.__ActivatedRoute_49&&(this.__ActivatedRoute_49=r.a(this._Router_22)),this.__ActivatedRoute_49},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_NoPreloading_50",{get:function(){return null==this.__NoPreloading_50&&(this.__NoPreloading_50=new r.b),this.__NoPreloading_50},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_PreloadingStrategy_51",{get:function(){return null==this.__PreloadingStrategy_51&&(this.__PreloadingStrategy_51=this._NoPreloading_50),this.__PreloadingStrategy_51},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_RouterPreloader_52",{get:function(){return null==this.__RouterPreloader_52&&(this.__RouterPreloader_52=new r.c(this._Router_22,this._NgModuleFactoryLoader_20,this._Compiler_19,this,this._PreloadingStrategy_51)),this.__RouterPreloader_52},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_PreloadAllModules_53",{get:function(){return null==this.__PreloadAllModules_53&&(this.__PreloadAllModules_53=new r.d),this.__PreloadAllModules_53},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_ROUTER_INITIALIZER_54",{get:function(){return null==this.__ROUTER_INITIALIZER_54&&(this.__ROUTER_INITIALIZER_54=r.e(this._ɵg_3)),this.__ROUTER_INITIALIZER_54},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_APP_BOOTSTRAP_LISTENER_55",{get:function(){return null==this.__APP_BOOTSTRAP_LISTENER_55&&(this.__APP_BOOTSTRAP_LISTENER_55=[this._ROUTER_INITIALIZER_54]),this.__APP_BOOTSTRAP_LISTENER_55},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_BasketService_56",{get:function(){return null==this.__BasketService_56&&(this.__BasketService_56=new s.a),this.__BasketService_56},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_SpeechRecognitionService_57",{get:function(){return null==this.__SpeechRecognitionService_57&&(this.__SpeechRecognitionService_57=new c.a(this._Router_22,this._BasketService_56)),this.__SpeechRecognitionService_57},enumerable:!0,configurable:!0}),e.prototype.createInternal=function(){return this._CommonModule_0=new i.b,this._ErrorHandler_1=o.m(),this._NgProbeToken_2=[r.f()],this._ɵg_3=new r.g(this),this._APP_INITIALIZER_4=[_.i,o.n(this.parent.get(o.o,null),this._NgProbeToken_2),r.h(this._ɵg_3)],this._ApplicationInitStatus_5=new _.j(this._APP_INITIALIZER_4),this._ɵf_6=new _.k(this.parent.get(_.g),this.parent.get(_.l),this,this._ErrorHandler_1,this.componentFactoryResolver,this._ApplicationInitStatus_5),this._ApplicationRef_7=this._ɵf_6,this._ApplicationModule_8=new _.m(this._ApplicationRef_7),this._BrowserModule_9=new o.p(this.parent.get(o.p,null)),this._ɵba_10=new u.b,this._FormsModule_11=new u.c,this._HttpModule_12=new a.g,this._ɵa_13=r.i(this.parent.get(r.j,null)),this._UrlSerializer_14=new r.k,this._RouterOutletMap_15=new r.l,this._ROUTER_CONFIGURATION_16={useHash:!0},this._LocationStrategy_17=r.m(this.parent.get(i.c),this.parent.get(i.d,null),this._ROUTER_CONFIGURATION_16),this._Location_18=new i.e(this._LocationStrategy_17),this._Compiler_19=new _.n,this._NgModuleFactoryLoader_20=new _.o(this._Compiler_19,this.parent.get(_.p,null)),this._ROUTES_21=[[{path:"",redirectTo:"home",pathMatch:"full"},{path:"home",component:g.a},{path:"order",component:y.a},{path:"checkout",component:b.a}]],this._Router_22=r.n(this._ApplicationRef_7,this._UrlSerializer_14,this._RouterOutletMap_15,this._Location_18,this,this._NgModuleFactoryLoader_20,this._Compiler_19,this._ROUTES_21,this._ROUTER_CONFIGURATION_16,this.parent.get(r.o,null),this.parent.get(r.p,null)),this._RouterModule_23=new r.q(this._ɵa_13,this._Router_22),this._AppModule_24=new l.a,this._AppModule_24},e.prototype.getInternal=function(t,e){return t===i.b?this._CommonModule_0:t===_.q?this._ErrorHandler_1:t===_.r?this._NgProbeToken_2:t===r.g?this._ɵg_3:t===_.s?this._APP_INITIALIZER_4:t===_.j?this._ApplicationInitStatus_5:t===_.k?this._ɵf_6:t===_.t?this._ApplicationRef_7:t===_.m?this._ApplicationModule_8:t===o.p?this._BrowserModule_9:t===u.b?this._ɵba_10:t===u.c?this._FormsModule_11:t===a.g?this._HttpModule_12:t===r.r?this._ɵa_13:t===r.s?this._UrlSerializer_14:t===r.l?this._RouterOutletMap_15:t===r.t?this._ROUTER_CONFIGURATION_16:t===i.f?this._LocationStrategy_17:t===i.e?this._Location_18:t===_.n?this._Compiler_19:t===_.u?this._NgModuleFactoryLoader_20:t===r.u?this._ROUTES_21:t===r.j?this._Router_22:t===r.q?this._RouterModule_23:t===l.a?this._AppModule_24:t===_.c?this._LOCALE_ID_25:t===i.g?this._NgLocalization_26:t===_.v?this._APP_ID_27:t===_.w?this._IterableDiffers_28:t===_.x?this._KeyValueDiffers_29:t===o.q?this._DomSanitizer_30:t===_.y?this._Sanitizer_31:t===o.r?this._HAMMER_GESTURE_CONFIG_32:t===o.s?this._EVENT_MANAGER_PLUGINS_33:t===o.h?this._EventManager_34:t===o.i?this._ɵDomSharedStylesHost_35:t===o.j?this._ɵDomRendererFactory2_36:t===_.z?this._RendererFactory2_37:t===o.t?this._ɵSharedStylesHost_38:t===_.h?this._Testability_39:t===o.k?this._Meta_40:t===o.l?this._Title_41:t===u.a?this._ɵi_42:t===a.a?this._BrowserXhr_43:t===a.h?this._ResponseOptions_44:t===a.i?this._XSRFStrategy_45:t===a.d?this._XHRBackend_46:t===a.j?this._RequestOptions_47:t===a.k?this._Http_48:t===r.v?this._ActivatedRoute_49:t===r.b?this._NoPreloading_50:t===r.w?this._PreloadingStrategy_51:t===r.c?this._RouterPreloader_52:t===r.d?this._PreloadAllModules_53:t===r.x?this._ROUTER_INITIALIZER_54:t===_.A?this._APP_BOOTSTRAP_LISTENER_55:t===s.a?this._BasketService_56:t===c.a?this._SpeechRecognitionService_57:e},e.prototype.destroyInternal=function(){this._ɵf_6.ngOnDestroy(),this.__ɵDomSharedStylesHost_35&&this._ɵDomSharedStylesHost_35.ngOnDestroy(),this.__RouterPreloader_52&&this._RouterPreloader_52.ngOnDestroy()},e}(_.B),m=new _.C(P,l.a)},qIyE:function(t,e,n){"use strict";n.d(e,"a",function(){return _});var _=function(){function t(){}return t.prototype.ngOnInit=function(){},t.ctorParameters=function(){return[]},t}()},wZfO:function(t,e,n){"use strict";function _(t){return i._24(0,[(t()(),i._25(0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i._26(null,["\n Hello from home component\n"]))],null,null)}function l(t){return i._24(0,[(t()(),i._25(0,null,null,1,"home",[],null,null,null,_,u)),i._27(57344,null,0,r.a,[],null,null)],function(t,e){t(e,1,0)},null)}var i=n("3j3K"),r=n("Q4XH");n.d(e,"a",function(){return a});var o=[],u=i._23({encapsulation:2,styles:o,data:{}}),a=i._28("home",r.a,l,{},{},[])},x1dX:function(t,e,n){"use strict";function _(t){return o._24(0,[(t()(),o._25(0,null,null,3,"span",[],null,null,null,null,null)),(t()(),o._26(null,["\n -> "," "])),(t()(),o._25(0,null,null,0,"br",[],null,null,null,null,null)),(t()(),o._26(null,["\n "]))],null,function(t,e){t(e,1,0,e.context.$implicit)})}function l(t){return o._24(0,[(t()(),o._25(0,null,null,7,"div",[],null,null,null,null,null)),(t()(),o._26(null,["\n "])),(t()(),o._25(0,null,null,1,"h3",[],null,null,null,null,null)),(t()(),o._26(null,["Your order is: "])),(t()(),o._26(null,["\n "])),(t()(),o._29(8388608,null,null,1,null,_)),o._27(401408,null,0,u.l,[o.T,o._6,o.w],{ngForOf:[0,"ngForOf"]},null),(t()(),o._26(null,["\n"]))],function(t,e){t(e,6,0,e.component.currentBasket)},null)}function i(t){return o._24(0,[(t()(),o._25(0,null,null,1,"div",[],null,null,null,null,null)),(t()(),o._26(null,["\n Hello from checkout component\n"])),(t()(),o._26(null,["\n"])),(t()(),o._29(8388608,null,null,1,null,l)),o._27(8192,null,0,u.m,[o.T,o._6],{ngIf:[0,"ngIf"]},null)],function(t,e){t(e,4,0,!!e.component.currentBasket)},null)}function r(t){return o._24(0,[(t()(),o._25(0,null,null,1,"chekout",[],null,null,null,i,h)),o._27(57344,null,0,a.a,[s.a],null,null)],function(t,e){t(e,1,0)},null)}var o=n("3j3K"),u=n("2Je8"),a=n("QXu3"),s=n("T3y5");n.d(e,"a",function(){return p});var c=[],h=o._23({encapsulation:2,styles:c,data:{}}),p=o._28("chekout",a.a,r,{},{},[])},x35b:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var _=n("3j3K"),l=n("kZql"),i=n("Qbdm"),r=n("kke6");l.a.production&&n.i(_.a)(),n.i(i.a)().bootstrapModuleFactory(r.a)}},[0]);