@onemrvapublic/design-system-demos 22.5.0-develop.1 → 22.5.0-develop.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -110,8 +110,8 @@
110
110
  }
111
111
  },
112
112
  "select": {
113
- "select.all": "Select All",
114
- "deselect.all": "Deselect All",
113
+ "select.all": "Alles selecteren",
114
+ "deselect.all": "Alles deselecteren",
115
115
  "search": {
116
116
  "filter": "Zoeken",
117
117
  "notFound": "Geen resultaten",
@@ -1 +1 @@
1
- var o={period:"Periode",month:"Maand",year:"Jaar",years:"Jaar",goToMonth:"Ga naar maand",previousYear:"Ga naar vorig jaar",nextYear:"Ga naar volgend jaar",previousMonth:"Ga naar vorige maand",nextMonth:"Ga naar volgende maand",goTo:"Ga naar {{label}}"},t={"500":{h1:"Oeps...",h2:"Fout 500 - Interne serverfout",p:"Onze excuses, er is iets misgegaan aan onze kant. Probeer het later opnieuw.",ori:"wordless.svg"},"404":{h1:"Oeps...",h2:"Fout 404 - Pagina niet gevonden",p:"Onze excuses, de pagina die u zoekt bestaat niet. Deze is mogelijk verwijderd of tijdelijk niet beschikbaar.",ori:"alone.svg"},"403":{h1:"Toegang geweigerd",h2:"Fout 403 - Verboden",p:"U heeft geen toestemming om deze bron te bekijken. Neem contact op met de ondersteuning als u denkt dat dit een fout is.",ori:"error.svg"},"401":{h1:"Niet geautoriseerd",h2:"Fout 401 - Niet gemachtigde toegang",p:"U moet inloggen om toegang te krijgen tot deze pagina. Gelieve in te loggen en het opnieuw te proberen.",ori:"error.svg"},"400":{h1:"Ongeldige aanvraag",h2:"Fout 400 - Foute aanvraag",p:"De server kon uw verzoek niet begrijpen. Controleer uw invoer en probeer het opnieuw.",ori:"desperate.svg"},"503":{h1:"Dienst niet beschikbaar",h2:"Fout 503 - Dienst niet beschikbaar",p:"Onze servers zijn momenteel in onderhoud of overbelast. Probeer het later opnieuw.",ori:"star-eyes.svg"},"502":{h1:"Ongeldige gateway",h2:"Fout 502 - Ongeldige gateway",p:"De server heeft een ongeldige reactie ontvangen van een upstream server. Probeer het later opnieuw.",ori:"error.svg"},"408":{h1:"Time-out",h2:"Fout 408 - Verzoek time-out",p:"Uw verzoek duurde te lang. Probeer het opnieuw.",ori:"thumb-down.svg"},"429":{h1:"Te veel verzoeken",h2:"Fout 429 - Te veel verzoeken",p:"U heeft te veel verzoeken verstuurd in een korte tijd. Wacht alstublieft en probeer het later opnieuw.",ori:"thumb-down.svg"}},r={Previous:"Vorig",Next:"Next","records.per.page":"Elementen per pagina",outOf:"out of"},a={upload:{download:"Downloaden",view:"Bekijken",retry:"Opnieuw proberen",remove:"Verwijderen","drag.and.drop":"Sleep uw bestanden hierheen","browse.for.file":"Bladeren naar bestanden","type.not.supported":"Bestandstype niet ondersteund","too.big":"Het bestand overschreed de maximale grootte van",maximum:"Maximum",delete:"Delete","error.occurred":"Er is een fout opgetreden, probeer het opnieuw","confirm.delete":"Dit bestand verwijderen?","are.you.sure":"Weet u zeker dat u het bestand wilt verwijderen",cancel:"Annuleren",or:"of","too.many.files":"Limiet van {{limit}} bestand(en) bereikt","total.max.size.exceeded":"De totale bestandsgrootte overschrijdt de toegestane limiet van {{ maxTotalFileSize }}"}},i={"select.all":"Select All","deselect.all":"Deselect All",search:{filter:"Zoeken",notFound:"Geen resultaten","not.found":"Geen resultaten"}},s={mode:{select:"Keuze van modus",dark:"Donkere modus",light:"Lichte modus",system:"Volg systeeminstellingen"},profile:"Profile",login:"Login",logout:"Logout",interface:{trusted:"Vertrouwde persoon-interface",collaborator:"Werknemer interface"}},d={title:"Thermodynamics",introduction:"Introduction",history:"History",etymology:"Etymology",branches:"Branches",classicalThermodynamics:"Classical thermodynamics",statisticalThermodynamics:"Statistical thermodynamics",chemicalThermodynamics:"Chemical thermodynamics",equilibriumThermodynamics:"Equilibrium thermodynamics",nonEquilibriumThermodynamics:"Non-equilibrium thermodynamics"},l={bank:{length:"Onjuist aantal cijfers voor dit land",checksum:"Bankrekeningnummer is ongeldig",invalid:"Veld verplicht"},phone:{required:"Veld vereist",invalid:"Ongeldig veld",notFound:"Niet gevonden","not.found":"Niet gevonden",search:"Zoeken",label:"Telefoonnummer",hint:"Begin met 0 voor Belgische telefoonnummers"}},u="Vandaag",g={length:"Onjuist aantal cijfers voor dit land","wrong-iban-checksum":"Bankrekeningnummer is ongeldig",invalid:"Veld verplicht"},m={timeline:o,"demo.title":"Ontwerpsysteem",error:t,"404":{oops:"Oops",title:"Fout 404 - Pagina niet gevonden!",body:"Het spijt ons, de door u opgevraagde pagina is buitgemaakt door aliens.",actions:"Maar u kunt nog steeds","contact.ons":"Neem contact met ons op.","go.back":"Ga terug naar huis",extra:"of zoek wat u zoekt.","flying.saucer":"Vliegende schotel","tractor.beam":"Tractor beam","scared.page":"Scared page",shadow:"schaduw","search.input.label":"Search"},paginator:r,file:a,select:i,layout:s,thermo:d,input:l,"copied.to.clipboard":"Naar klembord gekopieerd",today:u,bankAccountInput:g};export{g as bankAccountInput,m as default,t as error,a as file,l as input,s as layout,r as paginator,i as select,d as thermo,o as timeline,u as today};
1
+ var o={period:"Periode",month:"Maand",year:"Jaar",years:"Jaar",goToMonth:"Ga naar maand",previousYear:"Ga naar vorig jaar",nextYear:"Ga naar volgend jaar",previousMonth:"Ga naar vorige maand",nextMonth:"Ga naar volgende maand",goTo:"Ga naar {{label}}"},t={"500":{h1:"Oeps...",h2:"Fout 500 - Interne serverfout",p:"Onze excuses, er is iets misgegaan aan onze kant. Probeer het later opnieuw.",ori:"wordless.svg"},"404":{h1:"Oeps...",h2:"Fout 404 - Pagina niet gevonden",p:"Onze excuses, de pagina die u zoekt bestaat niet. Deze is mogelijk verwijderd of tijdelijk niet beschikbaar.",ori:"alone.svg"},"403":{h1:"Toegang geweigerd",h2:"Fout 403 - Verboden",p:"U heeft geen toestemming om deze bron te bekijken. Neem contact op met de ondersteuning als u denkt dat dit een fout is.",ori:"error.svg"},"401":{h1:"Niet geautoriseerd",h2:"Fout 401 - Niet gemachtigde toegang",p:"U moet inloggen om toegang te krijgen tot deze pagina. Gelieve in te loggen en het opnieuw te proberen.",ori:"error.svg"},"400":{h1:"Ongeldige aanvraag",h2:"Fout 400 - Foute aanvraag",p:"De server kon uw verzoek niet begrijpen. Controleer uw invoer en probeer het opnieuw.",ori:"desperate.svg"},"503":{h1:"Dienst niet beschikbaar",h2:"Fout 503 - Dienst niet beschikbaar",p:"Onze servers zijn momenteel in onderhoud of overbelast. Probeer het later opnieuw.",ori:"star-eyes.svg"},"502":{h1:"Ongeldige gateway",h2:"Fout 502 - Ongeldige gateway",p:"De server heeft een ongeldige reactie ontvangen van een upstream server. Probeer het later opnieuw.",ori:"error.svg"},"408":{h1:"Time-out",h2:"Fout 408 - Verzoek time-out",p:"Uw verzoek duurde te lang. Probeer het opnieuw.",ori:"thumb-down.svg"},"429":{h1:"Te veel verzoeken",h2:"Fout 429 - Te veel verzoeken",p:"U heeft te veel verzoeken verstuurd in een korte tijd. Wacht alstublieft en probeer het later opnieuw.",ori:"thumb-down.svg"}},r={Previous:"Vorig",Next:"Next","records.per.page":"Elementen per pagina",outOf:"out of"},a={upload:{download:"Downloaden",view:"Bekijken",retry:"Opnieuw proberen",remove:"Verwijderen","drag.and.drop":"Sleep uw bestanden hierheen","browse.for.file":"Bladeren naar bestanden","type.not.supported":"Bestandstype niet ondersteund","too.big":"Het bestand overschreed de maximale grootte van",maximum:"Maximum",delete:"Delete","error.occurred":"Er is een fout opgetreden, probeer het opnieuw","confirm.delete":"Dit bestand verwijderen?","are.you.sure":"Weet u zeker dat u het bestand wilt verwijderen",cancel:"Annuleren",or:"of","too.many.files":"Limiet van {{limit}} bestand(en) bereikt","total.max.size.exceeded":"De totale bestandsgrootte overschrijdt de toegestane limiet van {{ maxTotalFileSize }}"}},i={"select.all":"Alles selecteren","deselect.all":"Alles deselecteren",search:{filter:"Zoeken",notFound:"Geen resultaten","not.found":"Geen resultaten"}},s={mode:{select:"Keuze van modus",dark:"Donkere modus",light:"Lichte modus",system:"Volg systeeminstellingen"},profile:"Profile",login:"Login",logout:"Logout",interface:{trusted:"Vertrouwde persoon-interface",collaborator:"Werknemer interface"}},d={title:"Thermodynamics",introduction:"Introduction",history:"History",etymology:"Etymology",branches:"Branches",classicalThermodynamics:"Classical thermodynamics",statisticalThermodynamics:"Statistical thermodynamics",chemicalThermodynamics:"Chemical thermodynamics",equilibriumThermodynamics:"Equilibrium thermodynamics",nonEquilibriumThermodynamics:"Non-equilibrium thermodynamics"},l={bank:{length:"Onjuist aantal cijfers voor dit land",checksum:"Bankrekeningnummer is ongeldig",invalid:"Veld verplicht"},phone:{required:"Veld vereist",invalid:"Ongeldig veld",notFound:"Niet gevonden","not.found":"Niet gevonden",search:"Zoeken",label:"Telefoonnummer",hint:"Begin met 0 voor Belgische telefoonnummers"}},u="Vandaag",g={length:"Onjuist aantal cijfers voor dit land","wrong-iban-checksum":"Bankrekeningnummer is ongeldig",invalid:"Veld verplicht"},m={timeline:o,"demo.title":"Ontwerpsysteem",error:t,"404":{oops:"Oops",title:"Fout 404 - Pagina niet gevonden!",body:"Het spijt ons, de door u opgevraagde pagina is buitgemaakt door aliens.",actions:"Maar u kunt nog steeds","contact.ons":"Neem contact met ons op.","go.back":"Ga terug naar huis",extra:"of zoek wat u zoekt.","flying.saucer":"Vliegende schotel","tractor.beam":"Tractor beam","scared.page":"Scared page",shadow:"schaduw","search.input.label":"Search"},paginator:r,file:a,select:i,layout:s,thermo:d,input:l,"copied.to.clipboard":"Naar klembord gekopieerd",today:u,bankAccountInput:g};export{g as bankAccountInput,m as default,t as error,a as file,l as input,s as layout,r as paginator,i as select,d as thermo,o as timeline,u as today};
package/browser/main.js CHANGED
@@ -1648,7 +1648,7 @@ ${t}</tr>
1648
1648
  Please report this to https://github.com/markedjs/marked.`,t){let n="<p>An error occurred:</p><pre>"+Nc(e.message+"",true)+"</pre>";return i?Promise.resolve(n):n}if(i)return Promise.reject(e);throw e}}},Tp=new TBe;function ni(t,i){return Tp.parse(t,i)}ni.options=ni.setOptions=function(t){return Tp.setOptions(t),ni.defaults=Tp.defaults,HJ(ni.defaults),ni};ni.getDefaults=$2;ni.defaults=Dp;ni.use=function(...t){return Tp.use(...t),ni.defaults=Tp.defaults,HJ(ni.defaults),ni};ni.walkTokens=function(t,i){return Tp.walkTokens(t,i)};ni.parseInline=Tp.parseInline;ni.Parser=zl;ni.parser=zl.parse;ni.Renderer=Fu;ni.TextRenderer=Y2;ni.Lexer=Hl;ni.lexer=Hl.lex;ni.Tokenizer=nT;ni.Hooks=Iy;ni.parse=ni;ni.options;ni.setOptions;ni.use;ni.walkTokens;ni.parseInline;zl.parse;Hl.lex;var DBe=["*"],IBe="Copy",kBe="Copied",MBe=(()=>{class t{constructor(){this._buttonClick$=new U,this.copied=Mw(this._buttonClick$.pipe(Lt(()=>Ot(we(true),es(3e3).pipe(tu(false)))),ns(),No(1))),this.copiedText=re(()=>this.copied()?kBe:IBe);}onCopyToClipboardClick(){this._buttonClick$.next();}static{this.\u0275fac=function(n){return new(n||t)};}static{this.\u0275cmp=w({type:t,selectors:[["markdown-clipboard"]],decls:2,vars:3,consts:[[1,"markdown-clipboard-button",3,"click"]],template:function(n,r){n&1&&(ye(0,"button",0),gr("click",function(){return r.onCopyToClipboardClick()}),h(1),be()),n&2&&(H("copied",r.copied()),m(),L(r.copiedText()));},encapsulation:2});}}return t})(),OBe=new B("CLIPBOARD_OPTIONS"),RBe=new B("KATEX_OPTIONS");var ABe=new B("MARKED_EXTENSIONS"),NBe=new B("MARKED_OPTIONS"),PBe=new B("MERMAID_OPTIONS"),LBe=new B("SANITIZE");function FBe(t){return typeof t=="function"}var BBe="[ngx-markdown] When using the `emoji` attribute you *have to* include Emoji-Toolkit files to `angular.json` or use imports. See README for more information";var $Be="[ngx-markdown] When using the `katex` attribute you *have to* include the `marked-katex-extension` package and its dependencies. See README for more information",VBe="[ngx-markdown] When using the `mermaid` attribute you *have to* include Mermaid files to `angular.json` or use imports. See README for more information",UBe="[ngx-markdown] When using the `clipboard` attribute you *have to* include Clipboard files to `angular.json` or use imports. See README for more information",HBe="[ngx-markdown] When using the `clipboard` attribute you *have to* provide the `viewContainerRef` parameter to `MarkdownService.render()` function",zBe="[ngx-markdown] When using the `src` attribute you *have to* pass the `HttpClient` as a parameter of the `forRoot` method. See README for more information";var XJ=(()=>{class t{get options(){return this._options}set options(e){this._options=r(r({},this.DEFAULT_MARKED_OPTIONS),e);}get renderer(){return this.options.renderer}set renderer(e){this.options.renderer=e;}constructor(){this.clipboardOptions=_(OBe,{optional:true}),this.extensions=_(ABe,{optional:true}),this.http=_(mo,{optional:true}),this.mermaidOptions=_(PBe,{optional:true}),this.katexOptions=_(RBe,{optional:true}),this.platform=_(El),this.sanitize=_(LBe,{optional:true}),this.sanitizer=_(fd),this.katexGate={enabled:false},this.markedKatex=null,this.DEFAULT_MARKED_OPTIONS={renderer:new Fu},this.DEFAULT_MERMAID_OPTIONS={startOnLoad:false},this.DEFAULT_CLIPBOARD_OPTIONS={buttonComponent:void 0},this.DEFAULT_PARSE_OPTIONS={decodeHtml:false,inline:false,emoji:false,katex:false,katexOptions:void 0,mermaid:false,markedOptions:void 0,disableSanitizer:false},this.DEFAULT_RENDER_OPTIONS={clipboard:false,clipboardOptions:void 0,mermaid:false,mermaidOptions:void 0},this.DEFAULT_SECURITY_CONTEXT=er.HTML,this._options=null,this._reload$=new U,this.reload$=this._reload$.asObservable(),this.options=_(NBe,{optional:true});}async parse(e,n=this.DEFAULT_PARSE_OPTIONS){let{decodeHtml:r$1,inline:o,emoji:a,katex:s,katexOptions:l,mermaid:c,disableSanitizer:p}=n;this.katexGate={enabled:!!n.katex};let f=r(r({},this.options),n.markedOptions),g=f.renderer||this.renderer||new Fu;this.extensions&&(this.renderer=this.extendsRendererForExtensions(g)),s&&(this.renderer=await this.extendsRendererForKatex(g,l)),c&&(this.renderer=this.extendsRendererForMermaid(g));let v=this.trimIndentation(e),C=r$1?this.decodeHtml(v):v,x=a?this.parseEmoji(C):C,k=this.parseMarked(x,f,o);return p?k:this.sanitizeHtml(k)}render(e,n=this.DEFAULT_RENDER_OPTIONS,r$1){let{clipboard:o,clipboardOptions:a,mermaid:s,mermaidOptions:l}=n;s&&this.renderMermaid(e,r(r(r({},this.DEFAULT_MERMAID_OPTIONS),this.mermaidOptions),l)),o&&this.renderClipboard(e,r$1,r(r(r({},this.DEFAULT_CLIPBOARD_OPTIONS),this.clipboardOptions),a)),this.highlight(e);}reload(){this._reload$.next();}getSource(e){if(!this.http)throw new Error(zBe);return this.http.get(e,{responseType:"text"}).pipe(ce(n=>this.handleExtension(e,n)))}highlight(e){if(!Sc(this.platform)||typeof Prism>"u"||typeof Prism.highlightAllUnder>"u")return;e||(e=document);let n=e.querySelectorAll('pre code:not([class*="language-"])');Array.prototype.forEach.call(n,r=>r.classList.add("language-none")),Prism.highlightAllUnder(e);}decodeHtml(e){if(!Sc(this.platform))return e;let n=document.createElement("textarea");return n.innerHTML=e,n.value}extendsRendererForExtensions(e){let n=e;return n.\u0275NgxMarkdownRendererExtendedForExtensions===true||(this.extensions&&this.extensions.length>0&&ni.use(...this.extensions),n.\u0275NgxMarkdownRendererExtendedForExtensions=true),e}async extendsRendererForKatex(e,n){let r$1=this.katexGate,o=e;if(o.\u0275NgxMarkdownRendererExtendedForKatex===true)return e;if(this.markedKatex??=await import('./chunk-Dg7ojZ4K.js').then(p=>p.default).catch(()=>null),!this.markedKatex)throw new Error($Be);let a=r(r({},this.katexOptions),n),s$1=this.markedKatex(a),l=s$1.extensions?.map(p=>{let g=p.tokenizer;return s(r({},p),{tokenizer(v){if(!(!r$1.enabled||!g))return g.call(this,v,[])}})}),c=s(r({},s$1),{extensions:l});return ni.use(c),o.\u0275NgxMarkdownRendererExtendedForKatex=true,e}extendsRendererForMermaid(e){let n=e;if(n.\u0275NgxMarkdownRendererExtendedForMermaid===true)return e;let r=e.code;return e.code=o=>o.lang==="mermaid"?`<div class="mermaid">${o.text}</div>`:r(o),n.\u0275NgxMarkdownRendererExtendedForMermaid=true,e}handleExtension(e,n){let r=e.lastIndexOf("://"),o=r>-1?e.substring(r+4):e,a=o.lastIndexOf("/"),s=a>-1?o.substring(a+1).split("?")[0]:"",l=s.lastIndexOf("."),c=l>-1?s.substring(l+1):"";return c&&c!=="md"?"```"+c+`
1649
1649
  `+n+"\n```":n}parseMarked(e,n,r$1=false){if(n.renderer){let o=r({},n.renderer);delete o.\u0275NgxMarkdownRendererExtendedForExtensions,delete o.\u0275NgxMarkdownRendererExtendedForKatex,delete o.\u0275NgxMarkdownRendererExtendedForMermaid,delete n.renderer,ni.use({renderer:o});}return r$1?ni.parseInline(e,n):ni.parse(e,n)}parseEmoji(e){if(!Sc(this.platform))return e;if(typeof joypixels>"u"||typeof joypixels.shortnameToUnicode>"u")throw new Error(BBe);return joypixels.shortnameToUnicode(e)}renderClipboard(e,n,r){if(!Sc(this.platform))return;if(typeof ClipboardJS>"u")throw new Error(UBe);if(!n)throw new Error(HBe);let{buttonComponent:o,buttonTemplate:a}=r,s=e.querySelectorAll("pre");for(let l=0;l<s.length;l++){let c=s.item(l),p=document.createElement("div");p.style.position="relative",c.parentNode.insertBefore(p,c),p.appendChild(c);let f=document.createElement("div");f.classList.add("markdown-clipboard-toolbar"),f.style.position="absolute",f.style.top=".5em",f.style.right=".5em",f.style.zIndex="1",p.insertAdjacentElement("beforeend",f),p.onmouseenter=()=>f.classList.add("hover"),p.onmouseleave=()=>f.classList.remove("hover");let g;if(o){let C=n.createComponent(o);g=C.hostView,C.changeDetectorRef.markForCheck();}else if(a)g=n.createEmbeddedView(a);else {let C=n.createComponent(MBe);g=C.hostView,C.changeDetectorRef.markForCheck();}let v;g.rootNodes.forEach(C=>{f.appendChild(C),v=new ClipboardJS(C,{text:()=>c.innerText});}),g.onDestroy(()=>v.destroy());}}renderMermaid(e,n=this.DEFAULT_MERMAID_OPTIONS){if(!Sc(this.platform))return;if(typeof mermaid>"u"||typeof mermaid.initialize>"u")throw new Error(VBe);let r=e.querySelectorAll(".mermaid");r.length!==0&&(mermaid.initialize(n),mermaid.run({nodes:r}));}trimIndentation(e){if(!e)return "";let n;return e.split(`
1650
1650
  `).map(r=>{let o=n;return r.length>0&&(o=isNaN(o)?r.search(/\S|$/):Math.min(r.search(/\S|$/),o)),isNaN(n)&&(n=o),o?r.substring(o):r}).join(`
1651
- `)}async sanitizeHtml(e){return FBe(this.sanitize)?this.sanitize(await e):this.sanitize!==er.NONE?this.sanitizer.sanitize(this.sanitize??this.DEFAULT_SECURITY_CONTEXT,e)??"":e}static{this.\u0275fac=function(n){return new(n||t)};}static{this.\u0275prov=Re({token:t,factory:t.\u0275fac});}}return t})(),W2=(function(t){return t.CommandLine="command-line",t.LineHighlight="line-highlight",t.LineNumbers="line-numbers",t})(W2||{}),JJ=(()=>{class t{constructor(){this.element=_(se),this.markdownService=_(XJ),this.viewContainerRef=_(rn),this.error=new ae,this.load=new ae,this.ready=new ae,this._clipboard=false,this._commandLine=false,this._disableSanitizer=false,this._emoji=false,this._inline=false,this._katex=false,this._lineHighlight=false,this._lineNumbers=false,this._mermaid=false,this.destroyed$=new U;}get disableSanitizer(){return this._disableSanitizer}set disableSanitizer(e){this._disableSanitizer=this.coerceBooleanProperty(e);}get inline(){return this._inline}set inline(e){this._inline=this.coerceBooleanProperty(e);}get clipboard(){return this._clipboard}set clipboard(e){this._clipboard=this.coerceBooleanProperty(e);}get emoji(){return this._emoji}set emoji(e){this._emoji=this.coerceBooleanProperty(e);}get katex(){return this._katex}set katex(e){this._katex=this.coerceBooleanProperty(e);}get mermaid(){return this._mermaid}set mermaid(e){this._mermaid=this.coerceBooleanProperty(e);}get lineHighlight(){return this._lineHighlight}set lineHighlight(e){this._lineHighlight=this.coerceBooleanProperty(e);}get lineNumbers(){return this._lineNumbers}set lineNumbers(e){this._lineNumbers=this.coerceBooleanProperty(e);}get commandLine(){return this._commandLine}set commandLine(e){this._commandLine=this.coerceBooleanProperty(e);}ngOnChanges(){this.loadContent();}loadContent(){if(this.data!=null){this.handleData();return}if(this.src!=null){this.handleSrc();return}}ngAfterViewInit(){!this.data&&!this.src&&this.handleTransclusion(),this.markdownService.reload$.pipe(Ce(this.destroyed$)).subscribe(()=>this.loadContent());}ngOnDestroy(){this.destroyed$.next(),this.destroyed$.complete();}async render(e,n=false){let r={decodeHtml:n,inline:this.inline,emoji:this.emoji,katex:this.katex,katexOptions:this.katexOptions,mermaid:this.mermaid,disableSanitizer:this.disableSanitizer},o={clipboard:this.clipboard,clipboardOptions:this.getClipboardOptions(),mermaid:this.mermaid,mermaidOptions:this.mermaidOptions},a=await this.markdownService.parse(e,r);this.element.nativeElement.innerHTML=a,this.handlePlugins(),this.markdownService.render(this.element.nativeElement,o,this.viewContainerRef),this.ready.emit();}coerceBooleanProperty(e){return e!=null&&`${String(e)}`!="false"}getClipboardOptions(){if(this.clipboardButtonComponent||this.clipboardButtonTemplate)return {buttonComponent:this.clipboardButtonComponent,buttonTemplate:this.clipboardButtonTemplate}}handleData(){this.render(this.data);}handleSrc(){this.markdownService.getSource(this.src).subscribe({next:e=>{this.render(e).then(()=>{this.load.emit(e);});},error:e=>this.error.emit(e)});}handleTransclusion(){this.render(this.element.nativeElement.innerHTML,true);}handlePlugins(){this.commandLine&&(this.setPluginClass(this.element.nativeElement,W2.CommandLine),this.setPluginOptions(this.element.nativeElement,{dataFilterOutput:this.filterOutput,dataHost:this.host,dataPrompt:this.prompt,dataOutput:this.output,dataUser:this.user})),this.lineHighlight&&this.setPluginOptions(this.element.nativeElement,{dataLine:this.line,dataLineOffset:this.lineOffset}),this.lineNumbers&&(this.setPluginClass(this.element.nativeElement,W2.LineNumbers),this.setPluginOptions(this.element.nativeElement,{dataStart:this.start}));}setPluginClass(e,n){let r=e.querySelectorAll("pre");for(let o=0;o<r.length;o++){let a=n instanceof Array?n:[n];r.item(o).classList.add(...a);}}setPluginOptions(e,n){let r=e.querySelectorAll("pre");for(let o=0;o<r.length;o++)Object.keys(n).forEach(a=>{let s=n[a];if(s){let l=this.toLispCase(a);r.item(o).setAttribute(l,s.toString());}});}toLispCase(e){let n=e.match(/([A-Z])/g);if(!n)return e;let r=e.toString();for(let o=0,a=n.length;o<a;o++)r=r.replace(new RegExp(n[o]),"-"+n[o].toLowerCase());return r.slice(0,1)==="-"&&(r=r.slice(1)),r}static{this.\u0275fac=function(n){return new(n||t)};}static{this.\u0275cmp=w({type:t,selectors:[["markdown"],["","markdown",""]],inputs:{data:"data",src:"src",disableSanitizer:"disableSanitizer",inline:"inline",clipboard:"clipboard",clipboardButtonComponent:"clipboardButtonComponent",clipboardButtonTemplate:"clipboardButtonTemplate",emoji:"emoji",katex:"katex",katexOptions:"katexOptions",mermaid:"mermaid",mermaidOptions:"mermaidOptions",lineHighlight:"lineHighlight",line:"line",lineOffset:"lineOffset",lineNumbers:"lineNumbers",start:"start",commandLine:"commandLine",filterOutput:"filterOutput",host:"host",prompt:"prompt",output:"output",user:"user"},outputs:{error:"error",load:"load",ready:"ready"},features:[Tt],ngContentSelectors:DBe,decls:1,vars:0,template:function(n,r){n&1&&(me(),j(0));},encapsulation:2});}}return t})();function eee(t){return [XJ,[],[],[],[],[],[],[]]}var Od=new B("DEMO_BASE_PATH");var tee={[qo.EN]:()=>import('./chunk-C5cNa0Fz.js'),[qo.NL]:()=>import('./chunk-LX8N5-0x.js'),[qo.FR]:()=>import('./chunk-Cakhe2Be.js'),[qo.DE]:()=>import('./chunk-DsS-x2i9.js')},nee=(()=>{class t extends vu{getTranslation(e){let n=tee[e]??tee[qo.NL];return Wn(n().then(r=>r.default))}static{this.\u0275fac=(()=>{let e;return function(r){return (e||(e=V(t)))(r||t)}})();}static{this.\u0275prov=Re({token:t,factory:t.\u0275fac});}}return t})();var iee={providers:[{provide:Od,useFactory:()=>W("/")},{provide:hx,useValue:"http://services/lookupwpptservice/rest/lookup/getLookups?class=be.fgov.onerva.lookup.wppt.persistence.model.common.Country"},_A(I7),VO(),FR(),PJ(),eee(),L7({loader:P7(nee)}),mu(()=>{let t=_(Rn);GQ(t,[qo.FR,qo.NL],qo.NL);}),{provide:Pw,useFactory:()=>{let t=_(Od),i=typeof t=="function"?t():"/";return {fullLibraryLoader:()=>Promise.resolve(PA),themePath:`${i}assets/highlight/stackoverflow-dark.min.css`}}}]};var GBe={schedule(t,i){let e=setTimeout(t,i);return ()=>clearTimeout(e)}};function qBe(t){return t.replace(/[A-Z]/g,i=>`-${i.toLowerCase()}`)}function jBe(t){return !!t&&t.nodeType===Node.ELEMENT_NODE}var K2;function YBe(t,i){if(!K2){let e=Element.prototype;K2=e.matches||e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;}return t.nodeType===Node.ELEMENT_NODE?K2.call(t,i):false}function WBe(t){let i={};return t.forEach(({propName:e,templateName:n,transform:r})=>{i[qBe(n)]=[e,r];}),i}function KBe(t,i){return Zm(t).inputs}function QBe(t,i){let e=t.childNodes,n=i.map(()=>[]),r=-1;i.some((o,a)=>o==="*"?(r=a,true):false);for(let o=0,a=e.length;o<a;++o){let s=e[o],l=ZBe(s,i,r);l!==-1&&n[l].push(s);}return n}function ZBe(t,i,e){let n=e;return jBe(t)&&i.some((r,o)=>r!=="*"&&YBe(t,r)?(n=o,true):false),n}var XBe=10,Q2=class{component;componentMirror;inputMap=new Map;constructor(i){this.component=i,this.componentMirror=Zm(i);for(let e of this.componentMirror.inputs)this.inputMap.set(e.propName,e.templateName);}create(i){return new Z2(this.component,i,this.inputMap)}},Z2=class{component;injector;inputMap;eventEmitters=new xr(1);events=this.eventEmitters.pipe(Lt(i=>Ot(...i)));componentRef=null;scheduledDestroyFn=null;initialInputValues=new Map;ngZone;elementZone;appRef;cdScheduler;constructor(i,e,n){this.component=i,this.injector=e,this.inputMap=n,this.ngZone=this.injector.get($e),this.appRef=this.injector.get(Jr),this.cdScheduler=e.get(Ms),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current);}connect(i){this.runInZone(()=>{if(this.scheduledDestroyFn!==null){this.scheduledDestroyFn(),this.scheduledDestroyFn=null;return}this.componentRef===null&&this.initializeComponent(i);});}disconnect(){this.runInZone(()=>{this.componentRef===null||this.scheduledDestroyFn!==null||(this.scheduledDestroyFn=GBe.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null);},XBe));});}getInputValue(i){return this.runInZone(()=>this.componentRef===null?this.initialInputValues.get(i):this.componentRef.instance[i])}setInputValue(i,e){if(this.componentRef===null){this.initialInputValues.set(i,e);return}this.runInZone(()=>{this.componentRef.setInput(this.inputMap.get(i)??i,e),bO(this.componentRef.hostView)&&(vO(this.componentRef.changeDetectorRef),this.cdScheduler.notify(6));});}initializeComponent(i){let e=He.create({providers:[],parent:this.injector}),n=QBe(i,Zm(this.component).ngContentSelectors);this.componentRef=pu(this.component,{environmentInjector:this.injector,elementInjector:e,hostElement:i,projectableNodes:n}),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.appRef.attachView(this.componentRef.hostView),this.componentRef.hostView.detectChanges();}initializeInputs(){for(let[i,e]of this.initialInputValues)this.setInputValue(i,e);this.initialInputValues.clear();}initializeOutputs(i){let e=Zm(this.component).outputs.map(({propName:n,templateName:r})=>{let o=i.instance[n];return new It(a=>{let s=o.subscribe(l=>a.next({name:r,value:l}));return ()=>s.unsubscribe()})});this.eventEmitters.next(e);}runInZone(i){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(i):i()}},X2=class extends HTMLElement{ngElementEventsSubscription=null};function ree(t,i){let e=KBe(t),n=i.strategyFactory||new Q2(t),r=WBe(e);class o extends X2{injector;static observedAttributes=Object.keys(r);get ngElementStrategy(){if(!this._ngElementStrategy){let s=this._ngElementStrategy=n.create(this.injector||i.injector);e.forEach(({propName:l,transform:c})=>{if(!this.hasOwnProperty(l))return;let p=this[l];delete this[l],s.setInputValue(l,p,c);});}return this._ngElementStrategy}_ngElementStrategy;constructor(s){super(),this.injector=s;}attributeChangedCallback(s,l,c,p){let[f,g]=r[s];this.ngElementStrategy.setInputValue(f,c,g);}connectedCallback(){let s=false;this.ngElementStrategy.events&&(this.subscribeToEvents(),s=true),this.ngElementStrategy.connect(this),s||this.subscribeToEvents();}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null);}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(s=>{let l=new CustomEvent(s.name,{detail:s.value});this.dispatchEvent(l);});}}return e.forEach(({propName:a,transform:s,isSignal:l})=>{Object.defineProperty(o.prototype,a,{get(){let c=this.ngElementStrategy.getInputValue(a);return l&&ka(c)?c():c},set(c){this.ngElementStrategy.setInputValue(a,c,s);},configurable:true,enumerable:true});}),o}var rf=["*"];function JBe(t,i){t&1&&j(0);}var lee=["tabListContainer"],cee=["tabList"],dee=["tabListInner"],uee=["nextPaginator"],mee=["previousPaginator"],e$e=["content"];function t$e(t,i){}var n$e=["tabBodyWrapper"],i$e=["tabHeader"];function r$e(t,i){}function o$e(t,i){if(t&1&&ee(0,r$e,0,0,"ng-template",12),t&2){let e=y().$implicit;b("cdkPortalOutlet",e.templateLabel);}}function a$e(t,i){if(t&1&&h(0),t&2){let e=y().$implicit;L(e.textLabel);}}function s$e(t,i){if(t&1){let e=xe();d(0,"div",7,2),I("click",function(){let r=Z(e),o=r.$implicit,a=r.$index,s=y(),l=Ve(1);return X(s._handleClick(o,l,a))})("cdkFocusChange",function(r){let o=Z(e).$index,a=y();return X(a._tabFocusChanged(r,o))}),O(2,"span",8)(3,"div",9),d(4,"span",10)(5,"span",11),T(6,o$e,1,1,null,12)(7,a$e,1,1),u()()();}if(t&2){let e=i.$implicit,n=i.$index,r=Ve(1),o=y();pt(e.labelClass),H("mdc-tab--active",o.selectedIndex===n),b("id",o._getTabLabelId(e,n))("disabled",e.disabled)("fitInkBarToContent",o.fitInkBarToContent),F("tabIndex",o._getTabIndex(n))("aria-posinset",n+1)("aria-setsize",o._tabs.length)("aria-controls",o._getTabContentId(n))("aria-selected",o.selectedIndex===n)("aria-label",e.ariaLabel||null)("aria-labelledby",!e.ariaLabel&&e.ariaLabelledby?e.ariaLabelledby:null),m(3),b("matRippleTrigger",r)("matRippleDisabled",e.disabled||o.disableRipple),m(3),D(e.templateLabel?6:7);}}function l$e(t,i){t&1&&j(0);}function c$e(t,i){if(t&1){let e=xe();d(0,"mat-tab-body",13),I("_onCentered",function(){Z(e);let r=y();return X(r._removeTabBodyWrapperHeight())})("_onCentering",function(r){Z(e);let o=y();return X(o._setTabBodyWrapperHeight(r))})("_beforeCentering",function(r){Z(e);let o=y();return X(o._bodyCentered(r))}),u();}if(t&2){let e=i.$implicit,n=i.$index,r=y();pt(e.bodyClass),b("id",r._getTabContentId(n))("content",e.content)("position",e.position)("animationDuration",r._bodyAnimationDuration)("preserveContent",r.preserveContent),F("tabindex",r.contentTabIndex!=null&&r.selectedIndex===n?r.contentTabIndex:null)("aria-labelledby",r._getTabLabelId(e,n))("aria-hidden",r.selectedIndex!==n);}}var d$e=new B("MatTabContent"),u$e=(()=>{class t{template=_(Fe);static \u0275fac=function(n){return new(n||t)};static \u0275dir=q({type:t,selectors:[["","matTabContent",""]],features:[he([{provide:d$e,useExisting:t}])]})}return t})(),m$e=new B("MatTabLabel"),pee=new B("MAT_TAB"),p$e=(()=>{class t extends fQ{_closestTab=_(pee,{optional:true});static \u0275fac=(()=>{let e;return function(r){return (e||(e=V(t)))(r||t)}})();static \u0275dir=q({type:t,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[he([{provide:m$e,useExisting:t}]),A]})}return t})(),_ee=new B("MAT_TAB_GROUP"),Ip=(()=>{class t{_viewContainerRef=_(rn);_closestTabGroup=_(_ee,{optional:true});disabled=false;get templateLabel(){return this._templateLabel}set templateLabel(e){this._setTemplateLabelInput(e);}_templateLabel;_explicitContent=void 0;_implicitContent;textLabel="";ariaLabel;ariaLabelledby;labelClass;bodyClass;id=null;_contentPortal=null;get content(){return this._contentPortal}_stateChanges=new U;position=null;origin=null;isActive=false;constructor(){_(an).load(fi);}ngOnChanges(e){(e.hasOwnProperty("textLabel")||e.hasOwnProperty("disabled"))&&this._stateChanges.next();}ngOnDestroy(){this._stateChanges.complete();}ngOnInit(){this._contentPortal=new yr(this._explicitContent||this._implicitContent,this._viewContainerRef);}_setTemplateLabelInput(e){e&&e._closestTab===this&&(this._templateLabel=e);}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=w({type:t,selectors:[["mat-tab"]],contentQueries:function(n,r,o){if(n&1&&dn(o,p$e,5)(o,u$e,7,Fe),n&2){let a;de(a=ue())&&(r.templateLabel=a.first),de(a=ue())&&(r._explicitContent=a.first);}},viewQuery:function(n,r){if(n&1&&Nt(Fe,7),n&2){let o;de(o=ue())&&(r._implicitContent=o.first);}},hostAttrs:["hidden",""],hostVars:1,hostBindings:function(n,r){n&2&&F("id",null);},inputs:{disabled:[2,"disabled","disabled",te],textLabel:[0,"label","textLabel"],ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass",id:"id"},exportAs:["matTab"],features:[he([{provide:pee,useExisting:t}]),Tt],ngContentSelectors:rf,decls:1,vars:0,template:function(n,r){n&1&&(me(),ci(0,JBe,1,0,"ng-template"));},encapsulation:2,changeDetection:1})}return t})(),J2="mdc-tab-indicator--active",oee="mdc-tab-indicator--no-transition",oT=class{_items;_currentItem;constructor(i){this._items=i;}hide(){this._items.forEach(i=>i.deactivateInkBar()),this._currentItem=void 0;}alignToElement(i){let e=this._items.find(r=>r.elementRef.nativeElement===i),n=this._currentItem;if(e!==n&&(n?.deactivateInkBar(),e)){let r=n?.elementRef.nativeElement.getBoundingClientRect?.();e.activateInkBar(r),this._currentItem=e;}}},hee=(()=>{class t{_elementRef=_(se);_inkBarElement=null;_inkBarContentElement=null;_fitToContent=false;get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(e){this._fitToContent!==e&&(this._fitToContent=e,this._inkBarElement&&this._appendInkBarElement());}activateInkBar(e){let n=this._elementRef.nativeElement;if(!e||!n.getBoundingClientRect||!this._inkBarContentElement){n.classList.add(J2);return}let r=n.getBoundingClientRect(),o=e.width/r.width,a=e.left-r.left;n.classList.add(oee),this._inkBarContentElement.style.setProperty("transform",`translateX(${a}px) scaleX(${o})`),n.getBoundingClientRect(),n.classList.remove(oee),n.classList.add(J2),this._inkBarContentElement.style.setProperty("transform","");}deactivateInkBar(){this._elementRef.nativeElement.classList.remove(J2);}ngOnInit(){this._createInkBarElement();}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null;}_createInkBarElement(){let e=this._elementRef.nativeElement.ownerDocument||document,n=this._inkBarElement=e.createElement("span"),r=this._inkBarContentElement=e.createElement("span");n.className="mdc-tab-indicator",r.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline",n.appendChild(this._inkBarContentElement),this._appendInkBarElement();}_appendInkBarElement(){this._inkBarElement;let e=this._fitToContent?this._elementRef.nativeElement.querySelector(".mdc-tab__content"):this._elementRef.nativeElement;e.appendChild(this._inkBarElement);}static \u0275fac=function(n){return new(n||t)};static \u0275dir=q({type:t,inputs:{fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",te]}})}return t})();var fee=(()=>{class t extends hee{elementRef=_(se);disabled=false;focus(){this.elementRef.nativeElement.focus();}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}static \u0275fac=(()=>{let e;return function(r){return (e||(e=V(t)))(r||t)}})();static \u0275dir=q({type:t,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(n,r){n&2&&(F("aria-disabled",!!r.disabled),H("mat-mdc-tab-disabled",r.disabled));},inputs:{disabled:[2,"disabled","disabled",te]},features:[A]})}return t})(),aee={passive:true},_$e=650,h$e=100,gee=(()=>{class t{_elementRef=_(se);_changeDetectorRef=_(ve);_viewportRuler=_(Or);_dir=_(En,{optional:true});_ngZone=_($e);_platform=_($t);_sharedResizeObserver=_(Zx);_injector=_(He);_renderer=_(Et);_animationsDisabled=Ut();_eventCleanups;_scrollDistance=0;_selectedIndexChanged=false;_destroyed=new U;_showPaginationControls=false;_disableScrollAfter=true;_disableScrollBefore=true;_tabLabelCount;_scrollDistanceChanged=false;_keyManager;_currentTextContent;_stopScrolling=new U;disablePagination=false;get selectedIndex(){return this._selectedIndex}set selectedIndex(e){let n=isNaN(e)?0:e;this._selectedIndex!=n&&(this._selectedIndexChanged=true,this._selectedIndex=n,this._keyManager&&this._keyManager.updateActiveItem(n));}_selectedIndex=0;selectFocusedIndex=new ae;indexFocused=new ae;constructor(){this._eventCleanups=this._ngZone.runOutsideAngular(()=>[this._renderer.listen(this._elementRef.nativeElement,"mouseleave",()=>this._stopInterval())]);}ngAfterViewInit(){this._eventCleanups.push(this._renderer.listen(this._previousPaginator.nativeElement,"touchstart",()=>this._handlePaginatorPress("before"),aee),this._renderer.listen(this._nextPaginator.nativeElement,"touchstart",()=>this._handlePaginatorPress("after"),aee));}ngAfterContentInit(){let e=this._dir?this._dir.change:we("ltr"),n=this._sharedResizeObserver.observe(this._elementRef.nativeElement).pipe(xi(32),Ce(this._destroyed)),r=this._viewportRuler.change(150).pipe(Ce(this._destroyed)),o=()=>{this.updatePagination(),this._alignInkBarToSelectedTab();};this._keyManager=new js(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>false),this._keyManager.updateActiveItem(Math.max(this._selectedIndex,0)),mn(o,{injector:this._injector}),Ot(e,r,n,this._items.changes,this._itemsResized()).pipe(Ce(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),o();});}),this._keyManager?.withHorizontalOrientation(this._getLayoutDirection());}),this._keyManager.change.subscribe(a=>{this.indexFocused.emit(a),this._setTabFocus(a);});}_itemsResized(){return typeof ResizeObserver!="function"?Yn:this._items.changes.pipe(Ze(this._items),Lt(e=>new It(n=>this._ngZone.runOutsideAngular(()=>{let r=new ResizeObserver(o=>n.next(o));return e.forEach(o=>r.observe(o.elementRef.nativeElement)),()=>{r.disconnect();}}))),cc(1),dt(e=>e.some(n=>n.contentRect.width>0&&n.contentRect.height>0)))}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=false,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=false,this._changeDetectorRef.markForCheck());}ngOnDestroy(){this._eventCleanups.forEach(e=>e()),this._keyManager?.destroy(),this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete();}_handleKeydown(e){if(!gn(e))switch(e.keyCode){case 13:case 32:if(this.focusIndex!==this.selectedIndex){let n=this._items.get(this.focusIndex);n&&!n.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(e));}break;default:this._keyManager?.onKeydown(e);}}_onContentChanges(){let e=this._elementRef.nativeElement.textContent;e!==this._currentTextContent&&(this._currentTextContent=e||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck();}));}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition();}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(e){!this._isValidIndex(e)||this.focusIndex===e||!this._keyManager||this._keyManager.setActiveItem(e);}_isValidIndex(e){return this._items?!!this._items.toArray()[e]:true}_setTabFocus(e){if(this._showPaginationControls&&this._scrollToLabel(e),this._items&&this._items.length){this._items.toArray()[e].focus();let n=this._tabListContainer.nativeElement;this._getLayoutDirection()=="ltr"?n.scrollLeft=0:n.scrollLeft=n.scrollWidth-n.offsetWidth;}}_getLayoutDirection(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;let e=this.scrollDistance,n=this._getLayoutDirection()==="ltr"?-e:e;this._tabList.nativeElement.style.transform=`translateX(${Math.round(n)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0);}get scrollDistance(){return this._scrollDistance}set scrollDistance(e){this._scrollTo(e);}_scrollHeader(e){let n=this._tabListContainer.nativeElement.offsetWidth,r=(e=="before"?-1:1)*n/3;return this._scrollTo(this._scrollDistance+r)}_handlePaginatorClick(e){this._stopInterval(),this._scrollHeader(e);}_scrollToLabel(e){if(this.disablePagination)return;let n=this._items?this._items.toArray()[e]:null;if(!n)return;let r=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:o,offsetWidth:a}=n.elementRef.nativeElement,s,l;this._getLayoutDirection()=="ltr"?(s=o,l=s+a):(l=this._tabListInner.nativeElement.offsetWidth-o,s=l-a);let c=this.scrollDistance,p=this.scrollDistance+r;s<c?this.scrollDistance-=c-s:l>p&&(this.scrollDistance+=Math.min(l-p,s-c));}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=false;else {let e=this._tabListInner.nativeElement.scrollWidth,n=this._elementRef.nativeElement.offsetWidth,r=e-n>=5;r||(this.scrollDistance=0),r!==this._showPaginationControls&&(this._showPaginationControls=r,this._changeDetectorRef.markForCheck());}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=true:(this._disableScrollBefore=this.scrollDistance==0,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck());}_getMaxScrollDistance(){let e=this._tabListInner.nativeElement.scrollWidth,n=this._tabListContainer.nativeElement.offsetWidth;return e-n||0}_alignInkBarToSelectedTab(){let e=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,n=e?e.elementRef.nativeElement:null;n?this._inkBar.alignToElement(n):this._inkBar.hide();}_stopInterval(){this._stopScrolling.next();}_handlePaginatorPress(e,n){n&&n.button!=null&&n.button!==0||(this._stopInterval(),es(_$e,h$e).pipe(Ce(Ot(this._stopScrolling,this._destroyed))).subscribe(()=>{let{maxScrollDistance:r,distance:o}=this._scrollHeader(e);(o===0||o>=r)&&this._stopInterval();}));}_scrollTo(e){if(this.disablePagination)return {maxScrollDistance:0,distance:0};let n=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(n,e)),this._scrollDistanceChanged=true,this._checkScrollingControls(),{maxScrollDistance:n,distance:this._scrollDistance}}static \u0275fac=function(n){return new(n||t)};static \u0275dir=q({type:t,inputs:{disablePagination:[2,"disablePagination","disablePagination",te],selectedIndex:[2,"selectedIndex","selectedIndex",Cn]},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"}})}return t})(),f$e=(()=>{class t extends gee{_items;_tabListContainer;_tabList;_tabListInner;_nextPaginator;_previousPaginator;_inkBar;ariaLabel;ariaLabelledby;disableRipple=false;ngAfterContentInit(){this._inkBar=new oT(this._items),super.ngAfterContentInit();}_itemSelected(e){e.preventDefault();}static \u0275fac=(()=>{let e;return function(r){return (e||(e=V(t)))(r||t)}})();static \u0275cmp=w({type:t,selectors:[["mat-tab-header"]],contentQueries:function(n,r,o){if(n&1&&dn(o,fee,4),n&2){let a;de(a=ue())&&(r._items=a);}},viewQuery:function(n,r){if(n&1&&Nt(lee,7)(cee,7)(dee,7)(uee,5)(mee,5),n&2){let o;de(o=ue())&&(r._tabListContainer=o.first),de(o=ue())&&(r._tabList=o.first),de(o=ue())&&(r._tabListInner=o.first),de(o=ue())&&(r._nextPaginator=o.first),de(o=ue())&&(r._previousPaginator=o.first);}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(n,r){n&2&&H("mat-mdc-tab-header-pagination-controls-enabled",r._showPaginationControls)("mat-mdc-tab-header-rtl",r._getLayoutDirection()=="rtl");},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],disableRipple:[2,"disableRipple","disableRipple",te]},features:[A],ngContentSelectors:rf,decls:13,vars:10,consts:[["previousPaginator",""],["tabListContainer",""],["tabList",""],["tabListInner",""],["nextPaginator",""],["mat-ripple","",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"click","mousedown","touchend","matRippleDisabled"],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-label-container",3,"keydown"],["role","tablist",1,"mat-mdc-tab-list",3,"cdkObserveContent"],[1,"mat-mdc-tab-labels"],["mat-ripple","",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"mousedown","click","touchend","matRippleDisabled"]],template:function(n,r){n&1&&(me(),d(0,"div",5,0),I("click",function(){return r._handlePaginatorClick("before")})("mousedown",function(a){return r._handlePaginatorPress("before",a)})("touchend",function(){return r._stopInterval()}),O(2,"div",6),u(),d(3,"div",7,1),I("keydown",function(a){return r._handleKeydown(a)}),d(5,"div",8,2),I("cdkObserveContent",function(){return r._onContentChanges()}),d(7,"div",9,3),j(9),u()()(),d(10,"div",10,4),I("mousedown",function(a){return r._handlePaginatorPress("after",a)})("click",function(){return r._handlePaginatorClick("after")})("touchend",function(){return r._stopInterval()}),O(12,"div",6),u()),n&2&&(H("mat-mdc-tab-header-pagination-disabled",r._disableScrollBefore),b("matRippleDisabled",r._disableScrollBefore||r.disableRipple),m(3),H("_mat-animation-noopable",r._animationsDisabled),m(2),F("aria-label",r.ariaLabel||null)("aria-labelledby",r.ariaLabelledby||null),m(5),H("mat-mdc-tab-header-pagination-disabled",r._disableScrollAfter),b("matRippleDisabled",r._disableScrollAfter||r.disableRipple));},dependencies:[tr,Hv],styles:[`.mat-mdc-tab-header {
1651
+ `)}async sanitizeHtml(e){return FBe(this.sanitize)?this.sanitize(await e):this.sanitize!==er.NONE?this.sanitizer.sanitize(this.sanitize??this.DEFAULT_SECURITY_CONTEXT,e)??"":e}static{this.\u0275fac=function(n){return new(n||t)};}static{this.\u0275prov=Re({token:t,factory:t.\u0275fac});}}return t})(),W2=(function(t){return t.CommandLine="command-line",t.LineHighlight="line-highlight",t.LineNumbers="line-numbers",t})(W2||{}),JJ=(()=>{class t{constructor(){this.element=_(se),this.markdownService=_(XJ),this.viewContainerRef=_(rn),this.error=new ae,this.load=new ae,this.ready=new ae,this._clipboard=false,this._commandLine=false,this._disableSanitizer=false,this._emoji=false,this._inline=false,this._katex=false,this._lineHighlight=false,this._lineNumbers=false,this._mermaid=false,this.destroyed$=new U;}get disableSanitizer(){return this._disableSanitizer}set disableSanitizer(e){this._disableSanitizer=this.coerceBooleanProperty(e);}get inline(){return this._inline}set inline(e){this._inline=this.coerceBooleanProperty(e);}get clipboard(){return this._clipboard}set clipboard(e){this._clipboard=this.coerceBooleanProperty(e);}get emoji(){return this._emoji}set emoji(e){this._emoji=this.coerceBooleanProperty(e);}get katex(){return this._katex}set katex(e){this._katex=this.coerceBooleanProperty(e);}get mermaid(){return this._mermaid}set mermaid(e){this._mermaid=this.coerceBooleanProperty(e);}get lineHighlight(){return this._lineHighlight}set lineHighlight(e){this._lineHighlight=this.coerceBooleanProperty(e);}get lineNumbers(){return this._lineNumbers}set lineNumbers(e){this._lineNumbers=this.coerceBooleanProperty(e);}get commandLine(){return this._commandLine}set commandLine(e){this._commandLine=this.coerceBooleanProperty(e);}ngOnChanges(){this.loadContent();}loadContent(){if(this.data!=null){this.handleData();return}if(this.src!=null){this.handleSrc();return}}ngAfterViewInit(){!this.data&&!this.src&&this.handleTransclusion(),this.markdownService.reload$.pipe(Ce(this.destroyed$)).subscribe(()=>this.loadContent());}ngOnDestroy(){this.destroyed$.next(),this.destroyed$.complete();}async render(e,n=false){let r={decodeHtml:n,inline:this.inline,emoji:this.emoji,katex:this.katex,katexOptions:this.katexOptions,mermaid:this.mermaid,disableSanitizer:this.disableSanitizer},o={clipboard:this.clipboard,clipboardOptions:this.getClipboardOptions(),mermaid:this.mermaid,mermaidOptions:this.mermaidOptions},a=await this.markdownService.parse(e,r);this.element.nativeElement.innerHTML=a,this.handlePlugins(),this.markdownService.render(this.element.nativeElement,o,this.viewContainerRef),this.ready.emit();}coerceBooleanProperty(e){return e!=null&&`${String(e)}`!="false"}getClipboardOptions(){if(this.clipboardButtonComponent||this.clipboardButtonTemplate)return {buttonComponent:this.clipboardButtonComponent,buttonTemplate:this.clipboardButtonTemplate}}handleData(){this.render(this.data);}handleSrc(){this.markdownService.getSource(this.src).subscribe({next:e=>{this.render(e).then(()=>{this.load.emit(e);});},error:e=>this.error.emit(e)});}handleTransclusion(){this.render(this.element.nativeElement.innerHTML,true);}handlePlugins(){this.commandLine&&(this.setPluginClass(this.element.nativeElement,W2.CommandLine),this.setPluginOptions(this.element.nativeElement,{dataFilterOutput:this.filterOutput,dataHost:this.host,dataPrompt:this.prompt,dataOutput:this.output,dataUser:this.user})),this.lineHighlight&&this.setPluginOptions(this.element.nativeElement,{dataLine:this.line,dataLineOffset:this.lineOffset}),this.lineNumbers&&(this.setPluginClass(this.element.nativeElement,W2.LineNumbers),this.setPluginOptions(this.element.nativeElement,{dataStart:this.start}));}setPluginClass(e,n){let r=e.querySelectorAll("pre");for(let o=0;o<r.length;o++){let a=n instanceof Array?n:[n];r.item(o).classList.add(...a);}}setPluginOptions(e,n){let r=e.querySelectorAll("pre");for(let o=0;o<r.length;o++)Object.keys(n).forEach(a=>{let s=n[a];if(s){let l=this.toLispCase(a);r.item(o).setAttribute(l,s.toString());}});}toLispCase(e){let n=e.match(/([A-Z])/g);if(!n)return e;let r=e.toString();for(let o=0,a=n.length;o<a;o++)r=r.replace(new RegExp(n[o]),"-"+n[o].toLowerCase());return r.slice(0,1)==="-"&&(r=r.slice(1)),r}static{this.\u0275fac=function(n){return new(n||t)};}static{this.\u0275cmp=w({type:t,selectors:[["markdown"],["","markdown",""]],inputs:{data:"data",src:"src",disableSanitizer:"disableSanitizer",inline:"inline",clipboard:"clipboard",clipboardButtonComponent:"clipboardButtonComponent",clipboardButtonTemplate:"clipboardButtonTemplate",emoji:"emoji",katex:"katex",katexOptions:"katexOptions",mermaid:"mermaid",mermaidOptions:"mermaidOptions",lineHighlight:"lineHighlight",line:"line",lineOffset:"lineOffset",lineNumbers:"lineNumbers",start:"start",commandLine:"commandLine",filterOutput:"filterOutput",host:"host",prompt:"prompt",output:"output",user:"user"},outputs:{error:"error",load:"load",ready:"ready"},features:[Tt],ngContentSelectors:DBe,decls:1,vars:0,template:function(n,r){n&1&&(me(),j(0));},encapsulation:2});}}return t})();function eee(t){return [XJ,[],[],[],[],[],[],[]]}var Od=new B("DEMO_BASE_PATH");var tee={[qo.EN]:()=>import('./chunk-C5cNa0Fz.js'),[qo.NL]:()=>import('./chunk-d4Gk0QO_.js'),[qo.FR]:()=>import('./chunk-Cakhe2Be.js'),[qo.DE]:()=>import('./chunk-DsS-x2i9.js')},nee=(()=>{class t extends vu{getTranslation(e){let n=tee[e]??tee[qo.NL];return Wn(n().then(r=>r.default))}static{this.\u0275fac=(()=>{let e;return function(r){return (e||(e=V(t)))(r||t)}})();}static{this.\u0275prov=Re({token:t,factory:t.\u0275fac});}}return t})();var iee={providers:[{provide:Od,useFactory:()=>W("/")},{provide:hx,useValue:"http://services/lookupwpptservice/rest/lookup/getLookups?class=be.fgov.onerva.lookup.wppt.persistence.model.common.Country"},_A(I7),VO(),FR(),PJ(),eee(),L7({loader:P7(nee)}),mu(()=>{let t=_(Rn);GQ(t,[qo.FR,qo.NL],qo.NL);}),{provide:Pw,useFactory:()=>{let t=_(Od),i=typeof t=="function"?t():"/";return {fullLibraryLoader:()=>Promise.resolve(PA),themePath:`${i}assets/highlight/stackoverflow-dark.min.css`}}}]};var GBe={schedule(t,i){let e=setTimeout(t,i);return ()=>clearTimeout(e)}};function qBe(t){return t.replace(/[A-Z]/g,i=>`-${i.toLowerCase()}`)}function jBe(t){return !!t&&t.nodeType===Node.ELEMENT_NODE}var K2;function YBe(t,i){if(!K2){let e=Element.prototype;K2=e.matches||e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;}return t.nodeType===Node.ELEMENT_NODE?K2.call(t,i):false}function WBe(t){let i={};return t.forEach(({propName:e,templateName:n,transform:r})=>{i[qBe(n)]=[e,r];}),i}function KBe(t,i){return Zm(t).inputs}function QBe(t,i){let e=t.childNodes,n=i.map(()=>[]),r=-1;i.some((o,a)=>o==="*"?(r=a,true):false);for(let o=0,a=e.length;o<a;++o){let s=e[o],l=ZBe(s,i,r);l!==-1&&n[l].push(s);}return n}function ZBe(t,i,e){let n=e;return jBe(t)&&i.some((r,o)=>r!=="*"&&YBe(t,r)?(n=o,true):false),n}var XBe=10,Q2=class{component;componentMirror;inputMap=new Map;constructor(i){this.component=i,this.componentMirror=Zm(i);for(let e of this.componentMirror.inputs)this.inputMap.set(e.propName,e.templateName);}create(i){return new Z2(this.component,i,this.inputMap)}},Z2=class{component;injector;inputMap;eventEmitters=new xr(1);events=this.eventEmitters.pipe(Lt(i=>Ot(...i)));componentRef=null;scheduledDestroyFn=null;initialInputValues=new Map;ngZone;elementZone;appRef;cdScheduler;constructor(i,e,n){this.component=i,this.injector=e,this.inputMap=n,this.ngZone=this.injector.get($e),this.appRef=this.injector.get(Jr),this.cdScheduler=e.get(Ms),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current);}connect(i){this.runInZone(()=>{if(this.scheduledDestroyFn!==null){this.scheduledDestroyFn(),this.scheduledDestroyFn=null;return}this.componentRef===null&&this.initializeComponent(i);});}disconnect(){this.runInZone(()=>{this.componentRef===null||this.scheduledDestroyFn!==null||(this.scheduledDestroyFn=GBe.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null);},XBe));});}getInputValue(i){return this.runInZone(()=>this.componentRef===null?this.initialInputValues.get(i):this.componentRef.instance[i])}setInputValue(i,e){if(this.componentRef===null){this.initialInputValues.set(i,e);return}this.runInZone(()=>{this.componentRef.setInput(this.inputMap.get(i)??i,e),bO(this.componentRef.hostView)&&(vO(this.componentRef.changeDetectorRef),this.cdScheduler.notify(6));});}initializeComponent(i){let e=He.create({providers:[],parent:this.injector}),n=QBe(i,Zm(this.component).ngContentSelectors);this.componentRef=pu(this.component,{environmentInjector:this.injector,elementInjector:e,hostElement:i,projectableNodes:n}),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.appRef.attachView(this.componentRef.hostView),this.componentRef.hostView.detectChanges();}initializeInputs(){for(let[i,e]of this.initialInputValues)this.setInputValue(i,e);this.initialInputValues.clear();}initializeOutputs(i){let e=Zm(this.component).outputs.map(({propName:n,templateName:r})=>{let o=i.instance[n];return new It(a=>{let s=o.subscribe(l=>a.next({name:r,value:l}));return ()=>s.unsubscribe()})});this.eventEmitters.next(e);}runInZone(i){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(i):i()}},X2=class extends HTMLElement{ngElementEventsSubscription=null};function ree(t,i){let e=KBe(t),n=i.strategyFactory||new Q2(t),r=WBe(e);class o extends X2{injector;static observedAttributes=Object.keys(r);get ngElementStrategy(){if(!this._ngElementStrategy){let s=this._ngElementStrategy=n.create(this.injector||i.injector);e.forEach(({propName:l,transform:c})=>{if(!this.hasOwnProperty(l))return;let p=this[l];delete this[l],s.setInputValue(l,p,c);});}return this._ngElementStrategy}_ngElementStrategy;constructor(s){super(),this.injector=s;}attributeChangedCallback(s,l,c,p){let[f,g]=r[s];this.ngElementStrategy.setInputValue(f,c,g);}connectedCallback(){let s=false;this.ngElementStrategy.events&&(this.subscribeToEvents(),s=true),this.ngElementStrategy.connect(this),s||this.subscribeToEvents();}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null);}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(s=>{let l=new CustomEvent(s.name,{detail:s.value});this.dispatchEvent(l);});}}return e.forEach(({propName:a,transform:s,isSignal:l})=>{Object.defineProperty(o.prototype,a,{get(){let c=this.ngElementStrategy.getInputValue(a);return l&&ka(c)?c():c},set(c){this.ngElementStrategy.setInputValue(a,c,s);},configurable:true,enumerable:true});}),o}var rf=["*"];function JBe(t,i){t&1&&j(0);}var lee=["tabListContainer"],cee=["tabList"],dee=["tabListInner"],uee=["nextPaginator"],mee=["previousPaginator"],e$e=["content"];function t$e(t,i){}var n$e=["tabBodyWrapper"],i$e=["tabHeader"];function r$e(t,i){}function o$e(t,i){if(t&1&&ee(0,r$e,0,0,"ng-template",12),t&2){let e=y().$implicit;b("cdkPortalOutlet",e.templateLabel);}}function a$e(t,i){if(t&1&&h(0),t&2){let e=y().$implicit;L(e.textLabel);}}function s$e(t,i){if(t&1){let e=xe();d(0,"div",7,2),I("click",function(){let r=Z(e),o=r.$implicit,a=r.$index,s=y(),l=Ve(1);return X(s._handleClick(o,l,a))})("cdkFocusChange",function(r){let o=Z(e).$index,a=y();return X(a._tabFocusChanged(r,o))}),O(2,"span",8)(3,"div",9),d(4,"span",10)(5,"span",11),T(6,o$e,1,1,null,12)(7,a$e,1,1),u()()();}if(t&2){let e=i.$implicit,n=i.$index,r=Ve(1),o=y();pt(e.labelClass),H("mdc-tab--active",o.selectedIndex===n),b("id",o._getTabLabelId(e,n))("disabled",e.disabled)("fitInkBarToContent",o.fitInkBarToContent),F("tabIndex",o._getTabIndex(n))("aria-posinset",n+1)("aria-setsize",o._tabs.length)("aria-controls",o._getTabContentId(n))("aria-selected",o.selectedIndex===n)("aria-label",e.ariaLabel||null)("aria-labelledby",!e.ariaLabel&&e.ariaLabelledby?e.ariaLabelledby:null),m(3),b("matRippleTrigger",r)("matRippleDisabled",e.disabled||o.disableRipple),m(3),D(e.templateLabel?6:7);}}function l$e(t,i){t&1&&j(0);}function c$e(t,i){if(t&1){let e=xe();d(0,"mat-tab-body",13),I("_onCentered",function(){Z(e);let r=y();return X(r._removeTabBodyWrapperHeight())})("_onCentering",function(r){Z(e);let o=y();return X(o._setTabBodyWrapperHeight(r))})("_beforeCentering",function(r){Z(e);let o=y();return X(o._bodyCentered(r))}),u();}if(t&2){let e=i.$implicit,n=i.$index,r=y();pt(e.bodyClass),b("id",r._getTabContentId(n))("content",e.content)("position",e.position)("animationDuration",r._bodyAnimationDuration)("preserveContent",r.preserveContent),F("tabindex",r.contentTabIndex!=null&&r.selectedIndex===n?r.contentTabIndex:null)("aria-labelledby",r._getTabLabelId(e,n))("aria-hidden",r.selectedIndex!==n);}}var d$e=new B("MatTabContent"),u$e=(()=>{class t{template=_(Fe);static \u0275fac=function(n){return new(n||t)};static \u0275dir=q({type:t,selectors:[["","matTabContent",""]],features:[he([{provide:d$e,useExisting:t}])]})}return t})(),m$e=new B("MatTabLabel"),pee=new B("MAT_TAB"),p$e=(()=>{class t extends fQ{_closestTab=_(pee,{optional:true});static \u0275fac=(()=>{let e;return function(r){return (e||(e=V(t)))(r||t)}})();static \u0275dir=q({type:t,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[he([{provide:m$e,useExisting:t}]),A]})}return t})(),_ee=new B("MAT_TAB_GROUP"),Ip=(()=>{class t{_viewContainerRef=_(rn);_closestTabGroup=_(_ee,{optional:true});disabled=false;get templateLabel(){return this._templateLabel}set templateLabel(e){this._setTemplateLabelInput(e);}_templateLabel;_explicitContent=void 0;_implicitContent;textLabel="";ariaLabel;ariaLabelledby;labelClass;bodyClass;id=null;_contentPortal=null;get content(){return this._contentPortal}_stateChanges=new U;position=null;origin=null;isActive=false;constructor(){_(an).load(fi);}ngOnChanges(e){(e.hasOwnProperty("textLabel")||e.hasOwnProperty("disabled"))&&this._stateChanges.next();}ngOnDestroy(){this._stateChanges.complete();}ngOnInit(){this._contentPortal=new yr(this._explicitContent||this._implicitContent,this._viewContainerRef);}_setTemplateLabelInput(e){e&&e._closestTab===this&&(this._templateLabel=e);}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=w({type:t,selectors:[["mat-tab"]],contentQueries:function(n,r,o){if(n&1&&dn(o,p$e,5)(o,u$e,7,Fe),n&2){let a;de(a=ue())&&(r.templateLabel=a.first),de(a=ue())&&(r._explicitContent=a.first);}},viewQuery:function(n,r){if(n&1&&Nt(Fe,7),n&2){let o;de(o=ue())&&(r._implicitContent=o.first);}},hostAttrs:["hidden",""],hostVars:1,hostBindings:function(n,r){n&2&&F("id",null);},inputs:{disabled:[2,"disabled","disabled",te],textLabel:[0,"label","textLabel"],ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass",id:"id"},exportAs:["matTab"],features:[he([{provide:pee,useExisting:t}]),Tt],ngContentSelectors:rf,decls:1,vars:0,template:function(n,r){n&1&&(me(),ci(0,JBe,1,0,"ng-template"));},encapsulation:2,changeDetection:1})}return t})(),J2="mdc-tab-indicator--active",oee="mdc-tab-indicator--no-transition",oT=class{_items;_currentItem;constructor(i){this._items=i;}hide(){this._items.forEach(i=>i.deactivateInkBar()),this._currentItem=void 0;}alignToElement(i){let e=this._items.find(r=>r.elementRef.nativeElement===i),n=this._currentItem;if(e!==n&&(n?.deactivateInkBar(),e)){let r=n?.elementRef.nativeElement.getBoundingClientRect?.();e.activateInkBar(r),this._currentItem=e;}}},hee=(()=>{class t{_elementRef=_(se);_inkBarElement=null;_inkBarContentElement=null;_fitToContent=false;get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(e){this._fitToContent!==e&&(this._fitToContent=e,this._inkBarElement&&this._appendInkBarElement());}activateInkBar(e){let n=this._elementRef.nativeElement;if(!e||!n.getBoundingClientRect||!this._inkBarContentElement){n.classList.add(J2);return}let r=n.getBoundingClientRect(),o=e.width/r.width,a=e.left-r.left;n.classList.add(oee),this._inkBarContentElement.style.setProperty("transform",`translateX(${a}px) scaleX(${o})`),n.getBoundingClientRect(),n.classList.remove(oee),n.classList.add(J2),this._inkBarContentElement.style.setProperty("transform","");}deactivateInkBar(){this._elementRef.nativeElement.classList.remove(J2);}ngOnInit(){this._createInkBarElement();}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null;}_createInkBarElement(){let e=this._elementRef.nativeElement.ownerDocument||document,n=this._inkBarElement=e.createElement("span"),r=this._inkBarContentElement=e.createElement("span");n.className="mdc-tab-indicator",r.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline",n.appendChild(this._inkBarContentElement),this._appendInkBarElement();}_appendInkBarElement(){this._inkBarElement;let e=this._fitToContent?this._elementRef.nativeElement.querySelector(".mdc-tab__content"):this._elementRef.nativeElement;e.appendChild(this._inkBarElement);}static \u0275fac=function(n){return new(n||t)};static \u0275dir=q({type:t,inputs:{fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",te]}})}return t})();var fee=(()=>{class t extends hee{elementRef=_(se);disabled=false;focus(){this.elementRef.nativeElement.focus();}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}static \u0275fac=(()=>{let e;return function(r){return (e||(e=V(t)))(r||t)}})();static \u0275dir=q({type:t,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(n,r){n&2&&(F("aria-disabled",!!r.disabled),H("mat-mdc-tab-disabled",r.disabled));},inputs:{disabled:[2,"disabled","disabled",te]},features:[A]})}return t})(),aee={passive:true},_$e=650,h$e=100,gee=(()=>{class t{_elementRef=_(se);_changeDetectorRef=_(ve);_viewportRuler=_(Or);_dir=_(En,{optional:true});_ngZone=_($e);_platform=_($t);_sharedResizeObserver=_(Zx);_injector=_(He);_renderer=_(Et);_animationsDisabled=Ut();_eventCleanups;_scrollDistance=0;_selectedIndexChanged=false;_destroyed=new U;_showPaginationControls=false;_disableScrollAfter=true;_disableScrollBefore=true;_tabLabelCount;_scrollDistanceChanged=false;_keyManager;_currentTextContent;_stopScrolling=new U;disablePagination=false;get selectedIndex(){return this._selectedIndex}set selectedIndex(e){let n=isNaN(e)?0:e;this._selectedIndex!=n&&(this._selectedIndexChanged=true,this._selectedIndex=n,this._keyManager&&this._keyManager.updateActiveItem(n));}_selectedIndex=0;selectFocusedIndex=new ae;indexFocused=new ae;constructor(){this._eventCleanups=this._ngZone.runOutsideAngular(()=>[this._renderer.listen(this._elementRef.nativeElement,"mouseleave",()=>this._stopInterval())]);}ngAfterViewInit(){this._eventCleanups.push(this._renderer.listen(this._previousPaginator.nativeElement,"touchstart",()=>this._handlePaginatorPress("before"),aee),this._renderer.listen(this._nextPaginator.nativeElement,"touchstart",()=>this._handlePaginatorPress("after"),aee));}ngAfterContentInit(){let e=this._dir?this._dir.change:we("ltr"),n=this._sharedResizeObserver.observe(this._elementRef.nativeElement).pipe(xi(32),Ce(this._destroyed)),r=this._viewportRuler.change(150).pipe(Ce(this._destroyed)),o=()=>{this.updatePagination(),this._alignInkBarToSelectedTab();};this._keyManager=new js(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>false),this._keyManager.updateActiveItem(Math.max(this._selectedIndex,0)),mn(o,{injector:this._injector}),Ot(e,r,n,this._items.changes,this._itemsResized()).pipe(Ce(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),o();});}),this._keyManager?.withHorizontalOrientation(this._getLayoutDirection());}),this._keyManager.change.subscribe(a=>{this.indexFocused.emit(a),this._setTabFocus(a);});}_itemsResized(){return typeof ResizeObserver!="function"?Yn:this._items.changes.pipe(Ze(this._items),Lt(e=>new It(n=>this._ngZone.runOutsideAngular(()=>{let r=new ResizeObserver(o=>n.next(o));return e.forEach(o=>r.observe(o.elementRef.nativeElement)),()=>{r.disconnect();}}))),cc(1),dt(e=>e.some(n=>n.contentRect.width>0&&n.contentRect.height>0)))}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=false,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=false,this._changeDetectorRef.markForCheck());}ngOnDestroy(){this._eventCleanups.forEach(e=>e()),this._keyManager?.destroy(),this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete();}_handleKeydown(e){if(!gn(e))switch(e.keyCode){case 13:case 32:if(this.focusIndex!==this.selectedIndex){let n=this._items.get(this.focusIndex);n&&!n.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(e));}break;default:this._keyManager?.onKeydown(e);}}_onContentChanges(){let e=this._elementRef.nativeElement.textContent;e!==this._currentTextContent&&(this._currentTextContent=e||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck();}));}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition();}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(e){!this._isValidIndex(e)||this.focusIndex===e||!this._keyManager||this._keyManager.setActiveItem(e);}_isValidIndex(e){return this._items?!!this._items.toArray()[e]:true}_setTabFocus(e){if(this._showPaginationControls&&this._scrollToLabel(e),this._items&&this._items.length){this._items.toArray()[e].focus();let n=this._tabListContainer.nativeElement;this._getLayoutDirection()=="ltr"?n.scrollLeft=0:n.scrollLeft=n.scrollWidth-n.offsetWidth;}}_getLayoutDirection(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;let e=this.scrollDistance,n=this._getLayoutDirection()==="ltr"?-e:e;this._tabList.nativeElement.style.transform=`translateX(${Math.round(n)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0);}get scrollDistance(){return this._scrollDistance}set scrollDistance(e){this._scrollTo(e);}_scrollHeader(e){let n=this._tabListContainer.nativeElement.offsetWidth,r=(e=="before"?-1:1)*n/3;return this._scrollTo(this._scrollDistance+r)}_handlePaginatorClick(e){this._stopInterval(),this._scrollHeader(e);}_scrollToLabel(e){if(this.disablePagination)return;let n=this._items?this._items.toArray()[e]:null;if(!n)return;let r=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:o,offsetWidth:a}=n.elementRef.nativeElement,s,l;this._getLayoutDirection()=="ltr"?(s=o,l=s+a):(l=this._tabListInner.nativeElement.offsetWidth-o,s=l-a);let c=this.scrollDistance,p=this.scrollDistance+r;s<c?this.scrollDistance-=c-s:l>p&&(this.scrollDistance+=Math.min(l-p,s-c));}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=false;else {let e=this._tabListInner.nativeElement.scrollWidth,n=this._elementRef.nativeElement.offsetWidth,r=e-n>=5;r||(this.scrollDistance=0),r!==this._showPaginationControls&&(this._showPaginationControls=r,this._changeDetectorRef.markForCheck());}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=true:(this._disableScrollBefore=this.scrollDistance==0,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck());}_getMaxScrollDistance(){let e=this._tabListInner.nativeElement.scrollWidth,n=this._tabListContainer.nativeElement.offsetWidth;return e-n||0}_alignInkBarToSelectedTab(){let e=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,n=e?e.elementRef.nativeElement:null;n?this._inkBar.alignToElement(n):this._inkBar.hide();}_stopInterval(){this._stopScrolling.next();}_handlePaginatorPress(e,n){n&&n.button!=null&&n.button!==0||(this._stopInterval(),es(_$e,h$e).pipe(Ce(Ot(this._stopScrolling,this._destroyed))).subscribe(()=>{let{maxScrollDistance:r,distance:o}=this._scrollHeader(e);(o===0||o>=r)&&this._stopInterval();}));}_scrollTo(e){if(this.disablePagination)return {maxScrollDistance:0,distance:0};let n=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(n,e)),this._scrollDistanceChanged=true,this._checkScrollingControls(),{maxScrollDistance:n,distance:this._scrollDistance}}static \u0275fac=function(n){return new(n||t)};static \u0275dir=q({type:t,inputs:{disablePagination:[2,"disablePagination","disablePagination",te],selectedIndex:[2,"selectedIndex","selectedIndex",Cn]},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"}})}return t})(),f$e=(()=>{class t extends gee{_items;_tabListContainer;_tabList;_tabListInner;_nextPaginator;_previousPaginator;_inkBar;ariaLabel;ariaLabelledby;disableRipple=false;ngAfterContentInit(){this._inkBar=new oT(this._items),super.ngAfterContentInit();}_itemSelected(e){e.preventDefault();}static \u0275fac=(()=>{let e;return function(r){return (e||(e=V(t)))(r||t)}})();static \u0275cmp=w({type:t,selectors:[["mat-tab-header"]],contentQueries:function(n,r,o){if(n&1&&dn(o,fee,4),n&2){let a;de(a=ue())&&(r._items=a);}},viewQuery:function(n,r){if(n&1&&Nt(lee,7)(cee,7)(dee,7)(uee,5)(mee,5),n&2){let o;de(o=ue())&&(r._tabListContainer=o.first),de(o=ue())&&(r._tabList=o.first),de(o=ue())&&(r._tabListInner=o.first),de(o=ue())&&(r._nextPaginator=o.first),de(o=ue())&&(r._previousPaginator=o.first);}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(n,r){n&2&&H("mat-mdc-tab-header-pagination-controls-enabled",r._showPaginationControls)("mat-mdc-tab-header-rtl",r._getLayoutDirection()=="rtl");},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],disableRipple:[2,"disableRipple","disableRipple",te]},features:[A],ngContentSelectors:rf,decls:13,vars:10,consts:[["previousPaginator",""],["tabListContainer",""],["tabList",""],["tabListInner",""],["nextPaginator",""],["mat-ripple","",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"click","mousedown","touchend","matRippleDisabled"],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-label-container",3,"keydown"],["role","tablist",1,"mat-mdc-tab-list",3,"cdkObserveContent"],[1,"mat-mdc-tab-labels"],["mat-ripple","",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"mousedown","click","touchend","matRippleDisabled"]],template:function(n,r){n&1&&(me(),d(0,"div",5,0),I("click",function(){return r._handlePaginatorClick("before")})("mousedown",function(a){return r._handlePaginatorPress("before",a)})("touchend",function(){return r._stopInterval()}),O(2,"div",6),u(),d(3,"div",7,1),I("keydown",function(a){return r._handleKeydown(a)}),d(5,"div",8,2),I("cdkObserveContent",function(){return r._onContentChanges()}),d(7,"div",9,3),j(9),u()()(),d(10,"div",10,4),I("mousedown",function(a){return r._handlePaginatorPress("after",a)})("click",function(){return r._handlePaginatorClick("after")})("touchend",function(){return r._stopInterval()}),O(12,"div",6),u()),n&2&&(H("mat-mdc-tab-header-pagination-disabled",r._disableScrollBefore),b("matRippleDisabled",r._disableScrollBefore||r.disableRipple),m(3),H("_mat-animation-noopable",r._animationsDisabled),m(2),F("aria-label",r.ariaLabel||null)("aria-labelledby",r.ariaLabelledby||null),m(5),H("mat-mdc-tab-header-pagination-disabled",r._disableScrollAfter),b("matRippleDisabled",r._disableScrollAfter||r.disableRipple));},dependencies:[tr,Hv],styles:[`.mat-mdc-tab-header {
1652
1652
  display: flex;
1653
1653
  overflow: hidden;
1654
1654
  position: relative;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onemrvapublic/design-system-demos",
3
- "version": "v22.5.0-develop.1",
3
+ "version": "v22.5.0-develop.2",
4
4
  "description": "Demos for the Design System Onem/Rva",
5
5
  "publishConfig": {
6
6
  "access": "public"