PageSourceSearch

https://www.iconomix.ch/chunk-PAQWF4UA.js

js iconomix.ch collected 2026-09-24 17:50:59 UTC 5,984 bytes, 1 lines download raw bytes

1import{a as B}from"./chunk-HILOUO3L.js";import{a as T}from"./chunk-IAGFTQZO.js";import{a as N}from"./chunk-JT4MDX35.js";import{a as R}from"./chunk-OMXFITVG.js";import"./chunk-BP5XV45E.js";import{c as L}from"./chunk-OFZ56EOY.js";import"./chunk-ARLBER3F.js";import"./chunk-ELSBIOH2.js";import"./chunk-PRCAIWPZ.js";import"./chunk-XVIOA32S.js";import"./chunk-BFRGQNAG.js";import{Ca as C,Db as _,Eb as E,Fb as M,Jc as d,Kb as u,Lb as s,Mb as p,Nb as k,Ub as O,Wb as H,Yb as c,_a as a,ac as F,bc as h,cc as b,ea as r,fb as x,ic as P,ka as m,la as g,lc as S,mb as D,mc as I,rb as y,rc as A,wa as v,y as f,ya as w}from"./chunk-MFXMOPXL.js";import"./chunk-7BXBZ5JU.js";var q=["content"],Q=["wrapper"];function j(i,t){if(i&1){let e=O();s(0,"div",2)(1,"div",3,0)(3,"div",4),H("click",function(n){m(e);let l=c();return g(l.toggleAccordion(n))})("keydown.enter",function(n){m(e);let l=c();return g(l.toggleAccordion(n))}),s(4,"h3",5),S(5),p()(),s(6,"div",6,1)(8,"div",7),k(9,"editable-area",8),p()()()()}if(i&2){let e=c();u("id",A("id-",e.id)),_("data-id","id-"+e.id),a(),P("sub-open",e.openByDefault()),a(4),I(e.title()),a(4),u("content",e.main())}}var V=class i extends B{title=d.required();main=d.required();openByDefault=d();availableLanguages=[];elementRef=r(C);renderer=r(x);scrollRequestService=r(T);wasLoggedIn=v(!1);content;wrapper;constructor(){super(),this.scrollRequestService.getNextFragment$().pipe(N()).subscribe(t=>this.handleFragment(t,!0)),w(()=>{let t=this.authDataService.isLoggedIn(),e=this.wasLoggedIn();t?this.wasLoggedIn.set(!0):e&&(this.wasLoggedIn.set(!1),setTimeout(()=>{if(this.content.nativeElement.clientHeight!==0){let n=this.content.nativeElement.scrollHeight;this.content.nativeElement.style.maxHeight=n+"px"}}))})}toggleAccordion(t){if(t?.stopPropagation(),this.content.nativeElement){let e=this.content.nativeElement.scrollHeight;this.content.nativeElement.clientHeight===0?(this.content.nativeElement.style.maxHeight=e+"px",this.wrapper.nativeElement.classList.add("sub-open"),setTimeout(()=>{this.content.nativeElement.style.maxHeight=null},250)):(this.content.nativeElement.style.maxHeight=e+"px",this.wrapper.nativeElement.classList.remove("sub-open"),setTimeout(()=>{this.content.nativeElement.style.maxHeight="0px"},20))}}ngOnInit(){let e=this.elementRef.nativeElement.closest("editable-component");e&&this.renderer.addClass(e,"has-sub-accordion"),window.location.hash&&this.handleFragment(window.location.hash.substring(1))}handleFragment(t,e){!(e?this.isOpen:this.openByDefault())&&(t===this.id||R(this.main(),t))&&f(0).subscribe(()=>this.toggleAccordion())}get isOpen(){return(this.content?.nativeElement?.clientHeight||0)!==0}static \u0275fac=function(e){return new(e||i)};static \u0275cmp=D({type:i,selectors:[["app-sub-accordion"]],viewQuery:function(e,o){if(e&1&&F(q,5)(Q,5),e&2){let n;h(n=b())&&(o.content=n.first),h(n=b())&&(o.wrapper=n.first)}},inputs:{title:[1,"title"],main:[1,"main"],openByDefault:[1,"openByDefault"],availableLanguages:"availableLanguages"},features:[y],decls:1,vars:1,consts:[["wrapper",""],["content",""],[1,"sub-accordeon","container-fluid",3,"id"],["data-cy","sub-accordion",1,"sub-accordeon-item"],["tabindex","0","data-cy","sub-accordeon-title",1,"sub-accordeon-header",3,"click","keydown.enter"],[1,"sub-accordeon-title"],[1,"sub-accordeon-content-wrapper"],["data-cy","sub-accordeon-content",1,"sub-accordeon-content"],[3,"content"]],template:function(e,o){e&1&&E(0,j,10,7,"div",2),e&2&&M(o.isVisible?0:-1)},dependencies:[L],styles:['.sub-accordeon-header[_ngcontent-%COMP%]{max-width:51rem;margin-bottom:.75rem;border-radius:1rem;background:var(--iconomix-blue-finest);color:#474428;cursor:pointer;font-size:1.25rem;padding:1.5rem;position:relative}.sub-accordeon-header[_ngcontent-%COMP%]:before{content:"";background-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12%205V19%22%20stroke%3D%22%23474428%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpath%20d%3D%22M5%2012H19%22%20stroke%3D%22%23474428%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E);color:#474428;position:absolute;right:1.375rem;font-size:1.555rem;top:50%;transform:rotate(0) translateY(-50%);transform-origin:top;transition:transform .2s ease-in-out;width:24px;height:24px;background-size:cover;background-position:center}.sub-accordeon-header[_ngcontent-%COMP%]:hover{background:var(--iconomix-blue-finest)}.sub-accordeon-header[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin:0!important}.sub-accordeon-content[_ngcontent-%COMP%]{max-width:51rem;padding-top:1.5rem}.sub-accordeon-content-wrapper[_ngcontent-%COMP%]{height:auto;max-height:0;overflow-y:hidden;overflow-x:visible;transition:max-height .2s ease-in-out}.sub-accordeon-item.sub-open[_ngcontent-%COMP%]   .sub-accordeon-header[_ngcontent-%COMP%]{margin-bottom:0}.sub-accordeon-item.sub-open[_ngcontent-%COMP%]   .sub-accordeon-header[_ngcontent-%COMP%]:before{transform:rotate(-180deg) translateY(-50%);background-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%2012H19%22%20stroke%3D%22%23474428%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E)}
1.sub-accordeon-item.sub-open[_ngcontent-%COMP%]   .sub-accordeon-content-wrapper[_ngcontent-%COMP%]{max-height:none;overflow:visible}.sub-accordeon-header[_ngcontent-%COMP%]{margin-top:-1px;display:flex;align-items:center}.sub-accordeon-header[_ngcontent-%COMP%]   .sub-accordeon-title[_ngcontent-%COMP%]{font-size:1.25rem;padding-right:2rem;font-family:AauxNext-SemiBold,sans-serif;margin:0}'],changeDetection:0})};export{V as SubAccordionComponent};

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.