PageSourceSearch

https://vokabeldojo.firebaseapp.com/266.b357bc7aea14c828.js

js vokabeldojo.firebaseapp.com collected 2026-10-03 14:08:11 UTC 5,467 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkvokabeldojo=self.webpackChunkvokabeldojo||[]).push([[266],{4266:(S,_,r)=>{r.r(_),r.d(_,{GrammarQuickSheetComponent:()=>D});var a=r(4666),g=r(8757),l=r(756),c=r(6720),m=r(9494),n=r(9676),p=r(9114),h=r(2326),u=r(3918);const d=function(t){return{info:t}};function f(t,o){if(1&t&&(n.TgZ(0,"p",6),n._uU(1),n.qZA()),2&t){const e=o.$implicit;n.Q6J("ngClass",n.VKq(2,d,1===e.type)),n.xp6(1),n.hij("",e.text," ")}}const s=function(t,o,e){return{placeholder:t,highlight:o,strikethrough:e}};function C(t,o){if(1&t&&(n._UZ(0,"div",14),n.ALo(1,"onyomi")),2&t){const e=o.$implicit;n.Q6J("ngClass",n.kEZ(6,s,e.placeholders.length,e.highlight,e.strikethrough))("innerHTML",n.Dn7(1,2,e.text,"",e.highlight),n.oJD)}}function O(t,o){if(1&t&&(n._UZ(0,"div",20),n.ALo(1,"onyomi")),2&t){const e=o.$implicit;n.Q6J("innerHTML",n.Dn7(1,1,e.japanese,e.reading,e.highlight),n.oJD)}}function x(t,o){if(1&t&&(n.ynx(0),n.TgZ(1,"div",18),n.YNc(2,O,2,5,"div",19),n.qZA(),n.BQk()),2&t){const e=n.oxw().$implicit;n.xp6(2),n.Q6J("ngForOf",e.placeholders)}}function M(t,o){if(1&t&&(n._UZ(0,"div",20),n.ALo(1,"onyomi")),2&t){const e=n.oxw().$implicit;n.Q6J("innerHTML",n.Dn7(1,1,e.text,"",e.highlight),n.oJD)}}function v(t,o){if(1&t&&(n.TgZ(0,"div",15),n.YNc(1,x,3,1,"ng-container",16),n.YNc(2,M,2,5,"ng-template",null,17,n.W1O),n.qZA()),2&t){const e=o.$implicit,i=n.MAs(3);n.Q6J("ngClass",n.kEZ(3,s,e.placeholders.length,e.highlight,e.strikethrough)),n.xp6(1),n.Q6J("ngIf",e.placeholders.length)("ngIfElse",i)}}const P=function(t,o){return["/","grammar",t,o]};function k(t,o){if(1&t&&(n.ynx(0),n.TgZ(1,"a",21),n._uU(2,"EXERCISES"),n.qZA(),n.BQk()),2&t){const e=n.oxw().index,i=n.oxw(2);n.xp6(1),n.Q6J("routerLink",n.WLB(1,P,i.lession.slug,e))}}function T(t,o){1&t&&n._UZ(0,"hr")}function E(t,o){if(1&t&&(n.ynx(0),n.TgZ(1,"div",7)(2,"p",8),n._uU(3),n.qZA(),n.TgZ(4,"div",9),n.YNc(5,C,2,10,"div",10),n.qZA(),n.TgZ(6,"div",11),n.YNc(7,v,4,7,"div",12),n.qZA()(),n.YNc(8,k,3,4,"ng-container",13),n.YNc(9,T,1,0,"hr",13),n.BQk()),2&t){const e=o.$implicit,i=n.oxw(2);n.xp6(3),n.Oqu(e.explanation),n.xp6(2),n.Q6J("ngForOf",e.grammarpoints),n.xp6(2),n.Q6J("ngForOf",e.grammarpoints),n.xp6(1),n.Q6J("ngIf",e.exercises),n.xp6(1),n.Q6J("ngIf",i.lession.sections.length>1)}}function Q(t,o){if(1&t&&(n.TgZ(0,"div",1)(1,"a",2),n._UZ(2,"i-feather",3),n._uU(3,"Alle Grammatikpunkte "),n.qZA(),n.TgZ(4,"h1"),n._uU(5),n.qZA(),n.YNc(6,f,2,4,"p",4),n.YNc(7,E,10,5,"ng-container",5),n.qZA()),2&t){const e=n.oxw();n.xp6(5),n.Oqu(e.lession.title),n.xp6(1),n.Q6J("ngForOf",e.lession.description),n.xp6(1),n.Q6J("ngForOf",e.lession.sections)}}let D=(()=>{class t{constructor(e,i,Z){this.route=e,this.grammarService=i,this.cdr=Z}ngOnInit(){this.routeSub=this.route.paramMap.subscribe(e=>{console.log("routerSub!"),this.dataSub=this.grammarService.get(e.get("slug")).subscribe({next:i=>{console.log("RESULT",i),this.lession=i[0],this.cdr.markForCheck()}})})}ngOnDestroy(){this.routeSub?.unsubscribe(),this.dataSub?.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(c.gz),n.Y36(p.D),n.Y36(n.sBO))},t.\u0275cmp=n.Xpm({type:t,selectors:[["app-grammar-quick-sheet"]],standalone:!0,features:[n.jDz],decls:2,vars:1,consts:[["class","content",4,"ngIf"],[1,"content"],["routerLink","/grammar",1,"backlink","muted"],["name","chevron-left"],[3,"ngClass",4,"ngFor","ngForOf"],[4,"ngFor","ngForOf"],[3,"ngClass"],[1,"section"],[1,"italic","align-c"],[1,"rule","d-flex","f-nowrap","f-gap-1","ox-auto"],["class","part flex-shrink-0",3,"ngClass","innerHTML",4,"ngFor","ngForOf"],[1,"examples","d-flex","f-nowrap","f-gap-1","ox-auto"],["class","part flex-shrink-0",3,"ngClass",4,"ngFor","ngForOf"],[4,"ngIf"],[1,"part","flex-shrink-0",3,"ngClass","innerHTML"],[1,"part","flex-shrink-0",3,"ngClass"],[4,"ngIf","ngIfElse"],["text",""],[1,"placeholder"],[3,"innerHTML",4,"ngFor","ngForOf"],[3,"innerHTML"],[3,"routerLink"]],template:function(e,i){1&e&&(n.YNc(0,Q,8,3,"div",0),n._UZ(1,"app-menu")),2&e&&n.Q6J("ngIf",i.lession)},dependencies:[a.ez,a.mk,a.sg,a.O5,g.$,h.M,l.y,c.Bz,c.yS,m.p,u.u],styles:["hr[_ngcontent-%COMP%]{margin-bottom:2em}  ruby.empty{margin-top:10px}  .info{display:block;padding:1em;margin-top:1em;margin-bottom:1em;border-radius:10px;background-color:orange}.section[_ngcontent-%COMP%]{display:grid}.section[_ngcontent-%COMP%]   .rule[_ngcontent-%COMP%], .section[_ngcontent-%COMP%]   .examples[_ngcontent-%COMP%]{justify-content:space-between;padding:.5em}.section[_ngcontent-%COMP%]   .rule[_ngcontent-%COMP%]   .part[_ngcontent-%COMP%], .section[_ngcontent-%COMP%]   .examples[_ngcontent-%COMP%]   .part[_ngcontent-%COMP%]{padding:1rem;align-self:center}.section[_ngcontent-%COMP%]   .rule[_ngcontent-%COMP%]   .part.highlight[_ngcontent-%COMP%], .section[_ngcontent-%COMP%]   .examples[_ngcontent-%COMP%]   .part.highlight[_ngcontent-%COMP%]{background-color:orange;color:#fff}.section[_ngcontent-%COMP%]   .rule[_ngcontent-%COMP%]{background-color:#033;color:#fff;margin-bottom:1em}.section[_ngcontent-%COMP%]   .rule[_ngcontent-%COMP%]   .placeholder[_ngcontent-%COMP%]{border:1px dashed var(--grammar-dashed-border-rule)}.section[_ngcontent-%COMP%]   .examples[_ngcontent-%COMP%]   .part.placeholder[_ngcontent-%COMP%]{border:1px dashed var(--grammar-dashed-border)}  .circle{border:1px solid orange;border-radius:5px}  .highlight{color:orange}  .strikethrough{text-decoration:line-through}"],changeDetection:0}),t})()}}]);
2//# sourceMappingURL=266.b357bc7aea14c828.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.