PageSourceSearch

https://www.tax-free.no/chunk-G7M62GXI.js

js tax-free.no collected 2026-10-06 15:02:43 UTC 4,654 bytes, 1 lines download raw bytes

1import{a as Q}from"./chunk-FOZKSOKQ.js";import"./chunk-QMUYHL4Q.js";import{c as K}from"./chunk-KJM33COJ.js";import{e as H}from"./chunk-AJVH4JSO.js";import{a as J}from"./chunk-BPP3E2TO.js";import"./chunk-6NEIA7KQ.js";import"./chunk-TYQB6DAR.js";import"./chunk-FVZKEHFL.js";import"./chunk-CABTRMED.js";import"./chunk-7EDV3FYO.js";import"./chunk-N4SAKXVX.js";import"./chunk-MOINSKK7.js";import"./chunk-7OWGJP2F.js";import"./chunk-OT5BIL5I.js";import{a as q}from"./chunk-CIDLE6M4.js";import"./chunk-XFNOPY4D.js";import"./chunk-SD2GF6LN.js";import"./chunk-VCI6DQU6.js";import"./chunk-DFKOY57W.js";import"./chunk-3OSB33KW.js";import"./chunk-DL3JVWPO.js";import"./chunk-XERX3YYW.js";import"./chunk-AUTQTPL7.js";import"./chunk-4Z5MUJO3.js";import{a as V}from"./chunk-A3QLZGQA.js";import{Y as G}from"./chunk-LJH5OBMW.js";import{Cb as M,Eb as s,Ec as h,Gb as m,Ge as R,Hb as D,Jb as $,Jc as b,Kb as B,Kc as A,Lb as u,Mb as p,Nb as l,Nc as P,Ob as f,Ub as x,Zb as a,a as w,cb as i,ga as S,hc as E,kc as j,lc as F,mc as g,md as N,nc as v,nd as z,ob as k,pb as I,ra as O,tb as _,u as L,ua as C,vc as T,wc as y,xc as c}from"./chunk-PMSJWPYZ.js";import"./chunk-NIF3MU5U.js";var X=()=>({visibility:"visible-lg",fill:!1}),Y=()=>({visibility:"visible-xs",fill:!0});function Z(t,o){if(t&1&&(p(0,"div",9),f(1,"trn-button",10),l()),t&2){let e=a(),n=e.visibility,d=e.fill;a(2);let r=c(0);F(n),i(),j("outlined"),u("appearance","link")("size","medium")("iconPlacement","icon-right")("icon","arrow_forward")("fill",d)("url",r.externalLink.url)("label",r.externalLink.linkName)("targetBlank",r.externalLink.target==="true")}}function tt(t,o){if(t&1&&s(0,Z,2,12,"div",8),t&2){a(2);let e=c(0);m(e.externalLink!=null&&e.externalLink.url?0:-1)}}function et(t,o){if(t&1&&(p(0,"h2",5),g(1),l()),t&2){a(2);let e=c(0);i(),v(e.title)}}function nt(t,o){if(t&1&&(p(0,"p",6),g(1),l()),t&2){a(2);let e=c(0);i(),v(e.subtitle)}}function it(t,o){t&1&&x(0)}function ot(t,o){if(t&1&&f(0,"trn-article",11),t&2){let e=a().$implicit;u("article",e)}}function at(t,o){if(t&1&&s(0,ot,1,1,"trn-article",11),t&2){let e=o.$implicit;m(e?0:-1)}}function rt(t,o){if(t&1&&(p(0,"trn-carousel"),$(1,at,1,1,null,null,D),l()),t&2){a();let e=c(9);a();let n=c(0);M("aria-label",n.title),i(),B(e)}}function lt(t,o){t&1&&x(0)}function ct(t,o){if(t&1&&(p(0,"section",1),_(1,tt,1,1,"ng-template",null,0,P),p(3,"div",2)(4,"div",3)(5,"div",4),s(6,et,2,1,"h2",5),s(7,nt,2,1,"p",6),l(),_(8,it,1,0,"ng-container",7),l(),T(9),b(10,"async"),s(11,rt,3,1,"trn-carousel"),_(12,lt,1,0,"ng-container",7),l()()),t&2){let e=E(2),n=a(),d=c(0);i(6),m(d.title?6:-1),i(),m(d.subtitle?7:-1),i(),u("ngTemplateOutlet",e)("ngTemplateOutletContext",h(10,X)),i();let r=y(A(10,7,n.articles$));i(2),m(r!=null&&r.length?11:-1),i(),u("ngTemplateOutlet",e)("ngTemplateOutletContext",h(11,Y))}}var U=(()=>{class t{articlesService=C(H);component=C(G);searchInsightService=C(J);componentData$=this.component.data$;articles$=this.componentData$.pipe(L(e=>e?.articles?.trim().split(" ")??[]),S(e=>this.getArticles(e,3)));getArticles(e,n){return this.articlesService.getArticlesByIds(e.slice(0,n))}subs=new w;constructor(){this.subs.add(this.articles$.subscribe(e=>this.searchInsightService.viewedObjectIDs({eventName:"Viewed articles",index:V.algoliaConfig.index.articles.relevance,objectIDs:e.map(n=>n.algoliaObjectId).filter(Boolean)})))}ngOnDestroy(){this.subs.unsubscribe()}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["trn-article-carousel"]],decls:3,vars:4,consts:[["allArticles",""],[1,"trn-showcase-layout"],[1,"container-secondary","trn-showcase-layout-body"],[1,"trn-showcase-layout-header"],[1,"trn-showcase-layout-intro"],[1,"heading-2"],[1,"text-xl-large"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"trn-showcase-layout-actions",3,"class"],[1,"trn-showcase-layout-actions"],[3,"appearance","size","iconPlacement","icon","fill","url","label","targetBlank"],["type","primary","linkLabelSize","medium",3,"article"]],template:function(n,d){if(n&1&&(T(0),b(1,"async"),s(2,ct,13,12,"section",1)),n&2){let r=y(A(1,1,d.componentData$));i(2),m(r?2:-1)}}
1,dependencies:[N,q,K,Q,z],styles:["trn-carousel[_ngcontent-%COMP%]{width:100%}@media all and (min-width:576px){trn-carousel[_ngcontent-%COMP%]{--trn-carousel-slides: 2;--trn-carousel-gap: 74px}}@media all and (min-width:992px){trn-carousel[_ngcontent-%COMP%]{--trn-carousel-slides: 3}}"]})}return t})();var At=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=I({type:t});static \u0275inj=O({providers:[R({cmsComponents:{TrnArticleCarouselComponent:{component:U}}})]})}return t})();export{At as ArticleCarouselModule};

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.