PageSourceSearch

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

js tax-free.no collected 2026-10-06 15:02:41 UTC 7,986 bytes, 1 lines download raw bytes

1import{c as W}from"./chunk-KJM33COJ.js";import{d as Y}from"./chunk-PMDFIPZC.js";import{a as J,b as V}from"./chunk-TYQB6DAR.js";import"./chunk-7EDV3FYO.js";import"./chunk-MOINSKK7.js";import{a as R}from"./chunk-XFNOPY4D.js";import"./chunk-SD2GF6LN.js";import"./chunk-VCI6DQU6.js";import"./chunk-DFKOY57W.js";import{g as N}from"./chunk-3OSB33KW.js";import"./chunk-XERX3YYW.js";import"./chunk-AUTQTPL7.js";import"./chunk-4Z5MUJO3.js";import"./chunk-A3QLZGQA.js";import{U as G,Y as K,da as U}from"./chunk-LJH5OBMW.js";import{Eb as c,Gb as p,Ge as H,Hb as P,Jb as q,Jc as C,Kb as O,Kc as g,Lb as x,Mb as r,Mh as Q,Nb as a,Nh as A,Ob as m,Od as j,Tc as F,V as E,Zb as l,ca as I,cb as i,ga as y,j as L,mc as w,nc as T,nd as S,o as k,ob as b,pb as B,ph as $,ra as z,u as s,ua as u,v as M,vc as _,w as D,wc as f,xc as h}from"./chunk-PMSJWPYZ.js";import"./chunk-NIF3MU5U.js";function it(t,o){if(t&1&&(r(0,"div",1)(1,"p",5),w(2),a(),m(3,"trn-icon",6),a()),t&2){let e=l(2);i(2),T(e.quota().title)}}function ot(t,o){if(t&1&&(r(0,"p",2),w(1),a()),t&2){let e=l(2);i(),T(e.quota().subtitle)}}function at(t,o){if(t&1&&(m(0,"trn-link",3),C(1,"cxTranslate")),t&2){let e,n=l(2);x("ariaLabel",g(1,3,"link_labels.read_more_about_quota"))("label",(e=n.quota().link)==null?null:e.linkName)("url",n.quota().link.url)}}function rt(t,o){t&1&&(r(0,"li",10),m(1,"trn-icon",11),a())}function ct(t,o){if(t&1&&c(0,rt,2,0,"li",10),t&2){let e=l().$index;p(e%2===0?0:-1)}}function pt(t,o){t&1&&(r(0,"li",10),m(1,"trn-icon",11),a())}function lt(t,o){if(t&1&&(r(0,"li",7),m(1,"trn-icon",8),r(2,"p",9),w(3),a()(),c(4,ct,1,1)(5,pt,2,0,"li",10)),t&2){let e=o.$implicit,n=o.$index,d=o.$count;l(2);let v=h(7);i(),x("icon",e.iconCode)("iconAlt",""),i(2),T(e.iconText),i(),p(v?4:n!==d-1?5:-1)}}function dt(t,o){if(t&1&&(r(0,"ul",4),q(1,lt,6,4,null,null,P),a()),t&2){l();let e=h(5);i(),O(e)}}function mt(t,o){if(t&1&&(r(0,"div",0)(1,"div"),c(2,it,4,1,"div",1),c(3,ot,2,1,"p",2),c(4,at,2,5,"trn-link",3),a(),_(5),C(6,"async"),_(7),C(8,"async"),c(9,dt,3,0,"ul",4),a()),t&2){let e,n=l();i(2),p(n.quota().title?2:-1),i(),p(n.quota().subtitle?3:-1),i(),p((e=n.quota().link)!=null&&e.url?4:-1),i();let d=f(g(6,4,n.iconComponents$));i(2),f(g(8,7,n.isMobile$)),i(2),p(d!=null&&d.length?9:-1)}}var Z=(()=>{class t{cmsService=u($);breakpointService=u(U);quota=F();iconComponents$=j(this.quota).pipe(s(e=>e?.icons||""),E(),s(e=>e.trim().split(" ")??[]),y(e=>e.length?M(e.map(n=>this.cmsService.getComponentData(n))):k([])));isMobile$=this.breakpointService.isDown(G.md);static \u0275fac=function(n){return new(n||t)};static \u0275cmp=b({type:t,selectors:[["trn-header-quota-carousel-card"]],inputs:{quota:[1,"quota"]},decls:1,vars:1,consts:[[1,"card"],[1,"title-wrapper"],[1,"subtitle"],["iconPlacement","icon-right","icon","open_in_new",3,"ariaLabel","label","url"],[1,"icon-list"],[1,"title"],["icon","info",1,"info-icon"],[1,"icon-list-item"],[1,"quota-icon",3,"icon","iconAlt"],[1,"quota-icon-text"],[1,"separator"],["icon","add",1,"add-icon"]],template:function(n,d){n&1&&c(0,mt,10,10,"div",0),n&2&&p(d.quota()?0:-1)},dependencies:[N,R,A,S,Q],styles:["[_nghost-%COMP%]{display:block;font-size:0}.card[_ngcontent-%COMP%]{border:1px solid rgba(0,0,0,.1);border-radius:12px;background-color:#faf7d2;padding:12px}@media all and (min-width:992px){.card[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 1fr;grid-gap:16px}}.title-wrapper[_ngcontent-%COMP%]{display:flex;justify-content:space-between}.title[_ngcontent-%COMP%]{font-size:14px;line-height:20px;letter-spacing:normal;padding-top:2px;padding-bottom:2px;font-family:Source Sans Pro,sans-serif;font-weight:600;-webkit-font-smoothing:antialiased}.title[_ngcontent-%COMP%]{margin-bottom:4px}.info-icon[_ngcontent-%COMP%]{height:16px;width:auto;font-size:16px}.info-icon[_ngcontent-%COMP%]     img{height:16px;width:auto}.info-icon[_ngcontent-%COMP%]{color:#ded11d;margin-top:4px;margin-left:8px}.subtitle[_ngcontent-%COMP%]{font-size:12px;line-height:14px;letter-spacing:normal;padding-top:1px;padding-bottom:1px}.subtitle[_ngcontent-%COMP%]{margin-bottom:8px}@media all and (max-width:991px){.icon-list[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 16px 1fr;grid-gap:8px;margin-top:16px}}@media all and (min-width:992px){.icon-list[_ngcontent-%COMP%]{display:flex}}.icon-list-item[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:center}
1.separator[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center}@media all and (min-width:992px){.separator[_ngcontent-%COMP%]{width:16px}}.add-icon[_ngcontent-%COMP%]{height:16px;width:auto;font-size:16px}.add-icon[_ngcontent-%COMP%]     img{height:16px;width:auto}.quota-icon[_ngcontent-%COMP%]{height:40px;width:auto;font-size:40px}.quota-icon[_ngcontent-%COMP%]     img{height:40px;width:auto}.quota-icon[_ngcontent-%COMP%]{margin-bottom:4px}@media all and (min-width:992px){.quota-icon[_ngcontent-%COMP%]{height:48px;width:auto;font-size:48px}.quota-icon[_ngcontent-%COMP%]     img{height:48px;width:auto}}.quota-icon-text[_ngcontent-%COMP%]{font-size:10px;line-height:12px;letter-spacing:.02em;padding-top:2px;padding-bottom:2px;text-transform:uppercase}@media all and (min-width:992px){.quota-icon-text[_ngcontent-%COMP%]{font-size:12px;line-height:14px;letter-spacing:.02em;padding-top:1px;padding-bottom:1px}}.quota-icon-text[_ngcontent-%COMP%]{text-align:center}"]})}return t})();function st(t,o){if(t&1&&m(0,"trn-header-quota-carousel-card",2),t&2){let e=o.$implicit;x("quota",e)}}function ut(t,o){if(t&1&&(r(0,"trn-carousel",0),q(1,st,1,1,"trn-header-quota-carousel-card",2,P),a()),t&2){l();let e=h(0);i(),O(e)}}function Ct(t,o){if(t&1&&(r(0,"div",1),m(1,"trn-media",3),a()),t&2){l();let e=h(5);i(),x("container",e)}}var tt=(()=>{class t{component=u(K);cmsService=u($);categoryService=u(Y);mediaService=u(J);componentData$=this.component.data$;quotas$=this.componentData$.pipe(s(e=>e?.quotas?.trim().split(" ")??[]),s(e=>e.map(n=>this.cmsService.getComponentData(n))),y(e=>M(e)));category$=this.cmsService.getCurrentPage().pipe(s(e=>e?.pageContextCode),D(e=>e?this.categoryService.getCategory$(e):L),I({bufferSize:1,refCount:!0}));image$=this.category$.pipe(s(e=>this.mediaService.withFallbackImage(this.mediaService.trnImageToImageGroup(this.mediaService.thumbnailToTrnImage(e?.thumbnail)))));static \u0275fac=function(n){return new(n||t)};static \u0275cmp=b({type:t,selectors:[["trn-header-quota-carousel"]],hostAttrs:[1,"container-secondary"],decls:8,vars:10,consts:[["fade","",1,"quota-carousel"],[1,"image-wrapper"],[3,"quota"],[1,"image",3,"container"]],template:function(n,d){if(n&1&&(_(0),C(1,"async"),c(2,ut,3,0,"trn-carousel",0),_(3),C(4,"async"),_(5),C(6,"async"),c(7,Ct,2,1,"div",1)),n&2){let v=f(g(1,2,d.quotas$));i(2),p(v!=null&&v.length?2:-1);let et=g(4,5,d.category$);i(3);let nt=f(g(6,7,d.image$));i(2),p(et&&nt?7:-1)}},dependencies:[W,Z,V,S],styles:["[_nghost-%COMP%]{padding-top:16px;padding-bottom:32px;display:grid}@media all and (min-width:992px){[_nghost-%COMP%]{padding-top:24px;padding-bottom:48px;grid-template-columns:1fr 274px;grid-column-gap:74px}}.quota-carousel[_ngcontent-%COMP%]{--trn-carousel-gap: 16px;--trn-carousel-fade-size: 0;--trn-carousel-fade-color: #f2f1f0;align-self:start}@media all and (min-width:992px){.quota-carousel[_ngcontent-%COMP%]{--trn-carousel-slides: 1.2;--trn-carousel-fade-size: 48px}}.image-wrapper[_ngcontent-%COMP%]{position:relative;display:none}@media all and (min-width:992px){.image-wrapper[_ngcontent-%COMP%]{display:inline-flex;flex-direction:column;justify-content:flex-end}}.image[_ngcontent-%COMP%]{position:absolute;right:0;bottom:-64px}.image[_ngcontent-%COMP%]     img{border-radius:12px}"],changeDetection:0})}return t})();var At=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=B({type:t});static \u0275inj=z({providers:[H({cmsComponents:{TrnHeaderQuotaCarouselComponent:{component:tt}}})]})}return t})();export{At as TrnHeaderQuotaCarouselModule};

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.