text: !function(){function e(e,n){for(var t=0;t<n.length;t++){var i=n[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function n(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(window.webpackJsonp=window.webpackJsonp||[]).push([[13],{"7Qxo":function(t,i,r){"use strict";r.r(i),r.d(i,"MapModule",(function(){return z}));var a=r("PCNd"),c=r("iInd"),o=function e(){n(this,e),this.expectedFruits=["apple","apple","banana","banana"],this.code='const fruits = from([\n    "dirty-apple",\n    "apple",\n    "dirty-banana",\n    "banana"]);\n\nfruits.pipe(\n\t\n).subscribe(fruit => toConveyorBelt(fruit));',this.minPositionLineNumber=7,this.positionColumnNumber=2},p=r("8Y7J"),b=r("VIrA"),s=r("TSSN"),u=r("SVse"),d=r("dJsq"),f=r("uzYf");function h(e,n){if(1&e&&(p.Mb(0,"div"),p.Mb(1,"p"),p.pc(2,"In dieser Lieferung sind einige Fr\xfcchte schmutzig."),p.Lb(),p.Mb(3,"p"),p.pc(4,"Der "),p.Mb(5,"code",4),p.pc(6,"map"),p.Lb(),p.pc(7," Operator erm\xf6glicht hier das ver\xe4ndern von Daten. Wasche die Fr\xfcchte, indem du den Schmutz von dreckigen Fr\xfcchten entfernst. "),p.Mb(8,"a",5),p.pc(9,"(Mehr Infos zu map)"),p.Lb(),p.Lb(),p.Lb()),2&e){p.Yb();var t=p.fc(8);p.zb(5),p.dc("appTooltip",t)}}function g(e,n){if(1&e&&(p.Mb(0,"div"),p.Mb(1,"p"),p.pc(2,"Some fruits are dirty in this delivery."),p.Lb(),p.Mb(3,"p"),p.pc(4,"The "),p.Mb(5,"code",4),p.pc(6,"map"),p.Lb(),p.pc(7," operator enables data to be changed here. Wash the fruits by removing the dirt from dirty fruits. "),p.Mb(8,"a",5),p.pc(9,"(Learn more about map)"),p.Lb(),p.Lb(),p.Lb()),2&e){p.Yb();var t=p.fc(8);p.zb(5),p.dc("appTooltip",t)}}function l(e,n){if(1&e&&(p.Mb(0,"div"),p.Mb(1,"p"),p.pc(2,"\u6709\u4e9b\u6c34\u679c\u5728\u8fd0\u9001\u8fc7\u7a0b\u4e2d\u5f04\u810f\u4e86\u3002"),p.Lb(),p.Mb(3,"p"),p.Mb(4,"code",4),p.pc(5,"map"),p.Lb(),p.pc(6," \u64cd\u4f5c\u7b26\u80fd\u591f\u5728\u6570\u636e\u6d41\u4e2d\u66f4\u6539\u6570\u636e\u3002\u4f7f\u7528\u5b83\u6e05\u6d17\u6c34\u679c\uff0c\u9664\u53bb\u6c34\u679c\u4e0a\u7684\u6c61\u57a2\u3002 "),p.Mb(7,"a",5),p.pc(8,"\uff08\u4e86\u89e3\u5173\u4e8e map \u64cd\u4f5c\u7b26\u7684\u66f4\u591a\u4fe1\u606f\uff09"),p.Lb(),p.Lb(),p.Lb()),2&e){p.Yb();var t=p.fc(8);p.zb(4),p.dc("appTooltip",t)}}function m(e,n){if(1&e&&(p.Mb(0,"div"),p.Mb(1,"p"),p.pc(2,"\u041d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0444\u0440\u0443\u043a\u0442\u044b \u0433\u0440\u044f\u0437\u043d\u044b\u0435 \u0432 \u044d\u0442\u043e\u0439 \u0434\u043e\u0441\u0442\u0430\u0432\u043a\u0435."),p.Lb(),p.Mb(3,"p"),p.pc(4,"\u041e\u043f\u0435\u0440\u0430\u0442\u043e\u0440 "),p.Mb(5,"code",4),p.pc(6,"map"),p.Lb(),p.pc(7," \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0438\u0437\u043c\u0435\u043d\u044f\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u0437\u0434\u0435\u0441\u044c. \u0412\u044b\u043c\u043e\u0439\u0442\u0435 \u0444\u0440\u0443\u043a\u0442\u044b, \u0443\u0434\u0430\u043b\u044f\u044f \u0433\u0440\u044f\u0437\u044c \u0441 \u0433\u0440\u044f\u0437\u043d\u044b\u0445 \u0444\u0440\u0443\u043a\u0442\u043e\u0432. "),p.Mb(8,"a",5),p.pc(9,"(\u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435 \u043e map)"),p.Lb(),p.Lb(),p.Lb()),2&e){p.Yb();var t=p.fc(8);p.zb(5),p.dc("appTooltip",t)}}var L,v,M,y=[{path:"",component:(L=function(){function t(e,i){n(this,t),this.exerciseService=e,this.translateService=i,this.task="map",this.mapCode="\n  const source = from([1, 2, 3, 4, 5]);\n  source.pipe(\n    map(data => 'My Number is ' + data)\n  ).subscribe(data => console.log(data));\n\n  // Logs:\n  // My Number is 1\n  // My Number is 2\n  // My Number is 3\n  // My Number is 4\n  // My Number is 5\n  ",this.currentLanguage=""}var i,r,a;return i=t,(r=[{key:"ngOnInit",value:function(){var e=this;this.exerciseService.newExercise(new o),this.currentLanguage=this.translateService.currentLang,this.onLangChangeSubscription=this.translateService.onLangChange.subscribe({next:function(){e.currentLanguage=e.translateService.currentLang}})}},{key:"ngOnDestroy",value:function(){this.onLangChangeSubscription.unsubscribe()}}])&&e(i.prototype,r),a&&e(i,a),t}(),L.\u0275fac=function(e){return new(e||L)(p.Jb(b.a),p.Jb(s.d))},L.\u0275cmp=p.Db({type:L,selectors:[["app-map"]],decls:13,vars:9,consts:[[4,"ngIf"],[1,"tooltip","codeTooltip"],["tooltip",""],[3,"highlight"],[1,"help",3,"appTooltip"],["href","https://rxjs.dev/api/operators/map","target","_blank"]],template:function(e,n){1&e&&(p.Mb(0,"h3"),p.pc(1),p.Zb(2,"translate"),p.Lb(),p.oc(3,h,10,1,"div",0),p.oc(4,g,10,1,"div",0),p.oc(5,l,9,1,"div",0),p.oc(6,m,10,1,"div",0),p.Mb(7,"div",1,2),p.Mb(9,"pre"),p.pc(10,"        "),p.Kb(11,"code",3),p.pc(12,"\n    "),p.Lb(),p.Lb()),2&e&&(p.zb(1),p.sc("",p.ac(2,7,"EXERCISES.EXERCISETITLE"),": ",n.task,""),p.zb(2),p.dc("ngIf","de"===n.currentLanguage),p.zb(1),p.dc("ngIf","en"===n.currentLanguage),p.zb(1),p.dc("ngIf","zh_CN"===n.currentLanguage),p.zb(1),p.dc("ngIf","ru"===n.currentLanguage),p.zb(5),p.dc("highlight",n.mapCode))},directives:[u.j,d.b,f.a],pipes:[s.c],styles:[""]}),L)}],S=((M=function e(){n(this,e)}).\u0275mod=p.Hb({type:M}),M.\u0275inj=p.Gb({factory:function(e){return new(e||M)},imports:[[c.d.forChild(y)],c.d]}),M),z=((v=function e(){n(this,e)}).\u0275mod=p.Hb({type:v}),v.\u0275inj=p.Gb({factory:function(e){return new(e||v)},imports:[[a.a,S]]}),v)}}])}();